/* The Holland Daze staff app: the draft's staff phone (Style 107 + rounds 213-253), for real.
   Cream page, white cards with a thin tan line and a peach offset shadow, Holland Daze orange for the one thing to tap.
   The draft's font, Bricolage Grotesque, comes from our own address (fonts/, with its licence): the page's rules allow nothing
   from outside. Futura and the phone's own font stand in until it loads. */

@font-face {
  font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 400 800; font-stretch: 100%; font-display: swap;
  src: url("fonts/bricolage-grotesque-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --cream: #FFF4E8; --ink: #3A2212; --sub: #7A5A44; --kick: #C9520A; --line: #D4A47A; --peach: #FFCF9E;
  --orange: #EC6E10; --amber: #F19001; --rust: #C9520A; --dash: #EBCFB2; --soft: #FFF9F2;
  --head: "Bricolage Grotesque", "Futura PT", Futura, Jost, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --body: var(--head);
  --top: env(safe-area-inset-top, 0px); --bottom: env(safe-area-inset-bottom, 0px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scrollbar-width: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar, .scroll::-webkit-scrollbar { display: none; }
html, body { margin: 0; min-height: 100%; background: var(--cream); color: var(--ink); }
body { font-family: var(--body); font-size: 16px; line-height: 1.35; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; overscroll-behavior-y: none; }
/* the paper grain, very faint */
body::before { content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .09;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .23 0 0 0 0 .13 0 0 0 0 .07 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
button { font: inherit; color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid var(--line); outline-offset: 3px; }
[hidden] { display: none !important; }

.app { position: relative; z-index: 1; max-width: 480px; min-height: 100vh; min-height: 100dvh; margin: 0 auto; }
.screen { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; padding: calc(var(--top) + 22px) 20px calc(var(--bottom) + 22px); }

/* type */
.h { font-family: var(--head); font-weight: 800; letter-spacing: -.01em; margin: 0; }
.kick { font-family: var(--head); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--kick); }
.sub { font-size: 14.5px; font-weight: 600; color: var(--sub); margin: 0; }
.note { font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--sub); margin: 0; }
.err { min-height: 1.4em; margin: 0; font-size: 14.5px; font-weight: 700; color: #B3261E; }
.err:empty { min-height: 0; }

/* buttons: orange for the one thing to tap, white for the rest */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 22px; border: 1.5px solid var(--rust); border-radius: 14px;
  background: var(--orange); color: #FFFFFF; font-family: var(--head); font-size: 17px; font-weight: 800; cursor: pointer; box-shadow: 3px 3px 0 var(--peach);
  transition: transform .12s ease, box-shadow .12s ease; text-decoration: none; }
.btn:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--peach); }
.btn[disabled] { opacity: .5; cursor: default; transform: none; box-shadow: 3px 3px 0 var(--peach); }
.btn.lt { background: #FFFFFF; color: var(--ink); border-color: var(--line); }
.btn.wide { width: 100%; }
.btn.small { position: relative; min-height: 42px; padding: 0 16px; font-size: 15px; }
.btn.small::after { content: ''; position: absolute; inset: -2px; }   /* the draft's 42px, with a fingertip's 44 to touch */
.btn svg { width: 22px; height: 22px; flex: none; }
.link { display: inline-block; padding: 10px 4px; border: 0; background: none; font-family: var(--head); font-size: 15px; font-weight: 700; color: var(--kick); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* the dot icons (Fine line icons, round 245) */
.dot { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; color: #FFFFFF; }
.dot svg, .ic svg { width: 22px; height: 22px; }
.dot.soon, .ic.soon { background: radial-gradient(#E3B184 34%, transparent 36%) 0 0/6px 6px, #FFF6EC; color: #8C6A52; }
.c-amber { background: var(--amber); } .c-orange { background: var(--orange); } .c-rust { background: var(--rust); } .c-ink { background: var(--ink); }
.c-navy { background: #002F49; } .c-brown { background: #7A4A22; }
.tape { position: absolute; top: -9px; left: 50%; width: 58px; height: 18px; margin-left: -29px; display: grid; place-items: center; background: rgba(255, 205, 150, .9);
  color: #7A4A22; font-family: var(--head); font-size: 10px; font-weight: 800; letter-spacing: .1em; transform: rotate(-6deg); pointer-events: none; }

/* ---------- boot and sign-in ---------- */
.center { align-items: center; justify-content: center; text-align: center; gap: 14px; }
.boot .mill-big { width: 120px; height: 138px; }
.signin { gap: 0; }
.si-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; margin: 10px 0 22px; }
.si-head .mill-big { width: 92px; height: 106px; margin-bottom: 4px; }
.si-head .h { font-size: 30px; line-height: 1.05; }
.card { position: relative; padding: 20px 18px; border: 1.5px solid var(--line); border-radius: 20px; background: #FFFFFF; box-shadow: 3px 3px 0 var(--peach); }
.card + .card { margin-top: 16px; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.row2 { display: flex; gap: 10px; }
.row2 > * { flex: 1; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .lbl { font-family: var(--head); font-size: 14px; font-weight: 800; color: var(--ink); }
.in { width: 100%; min-height: 54px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 14px; background: #FFFFFF; color: var(--ink);
  font-family: var(--head); font-size: 22px; font-weight: 700; letter-spacing: .04em; box-shadow: inset 0 2px 0 rgba(58, 34, 18, .04); -webkit-appearance: none; appearance: none; }
.in::placeholder { color: #C9AE96; letter-spacing: 0; font-weight: 600; }
.in:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(236, 110, 16, .18); }
.face-big { min-height: 64px; font-size: 18px; }
.or { display: flex; align-items: center; gap: 10px; margin: 6px 2px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #B9A08A; }
.or::before, .or::after { content: ""; flex: 1; border-top: 2px dotted var(--dash); }
.si-foot { margin-top: auto; padding-top: 18px; text-align: center; }
.install { margin-top: 16px; display: flex; gap: 12px; align-items: flex-start; padding: 14px 14px 14px 16px; border: 1.5px dashed var(--line); border-radius: 16px; background: var(--soft); text-align: left; }
.install b { display: block; font-family: var(--head); font-size: 15px; }
.install p { margin: 2px 0 6px; font-size: 13px; font-weight: 600; color: var(--sub); }
.install .row2 { gap: 6px; }
.install .link { padding: 4px 2px; font-size: 14px; }

/* the PIN pad */
.pin-dots { display: flex; justify-content: center; gap: 12px; margin: 6px 0 4px; min-height: 22px; }
.pin-dots i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line); background: #FFFFFF; transition: background-color .1s ease, border-color .1s ease; }
.pin-dots i.on { background: var(--orange); border-color: var(--rust); }
.pad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 8px; }
.key { min-height: 58px; border: 1.5px solid var(--line); border-radius: 14px; background: #FFFFFF; color: var(--ink); font-family: var(--head); font-size: 26px; font-weight: 700;
  cursor: pointer; box-shadow: 3px 3px 0 var(--peach); transition: transform .08s ease, box-shadow .08s ease; touch-action: manipulation; }
.key:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--peach); background: var(--orange); border-color: var(--rust); color: #FFFFFF; }
.key.go { background: var(--orange); border-color: var(--rust); color: #FFFFFF; font-size: 17px; font-weight: 800; }
.key.go[disabled] { opacity: .45; }
.key.fn { font-size: 15px; font-weight: 800; color: var(--sub); }
.key svg { width: 26px; height: 26px; vertical-align: middle; }

/* ---------- home ---------- */
.home { padding: calc(var(--top) + 18px) 18px 0; gap: 0; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 40px; padding: 0 6px; }   /* the draft's top line and hello sit 24px in */
.top .brand { font-family: var(--head); font-size: 12px; font-weight: 800; letter-spacing: .16em; color: var(--ink); }
.store-btn { border: 0; background: none; padding: 6px 0; cursor: default; font-family: var(--head); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.store-btn.many { cursor: pointer; text-decoration: underline dotted var(--line); text-underline-offset: 4px; }
.menu-btn { width: 44px; height: 44px; flex: none; padding: 0; border: 1.5px solid var(--line); border-radius: 14px; background: #FFFFFF; display: grid; place-items: center; cursor: pointer; box-shadow: 3px 3px 0 var(--peach); }
.menu-btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--peach); }
.menu-btn svg { width: 22px; height: 22px; }
.hello { position: relative; display: flex; align-items: flex-start; gap: 10px; min-height: 108px; margin-top: 6px; padding: 0 6px; }
.hello-tx { flex: 1; min-width: 0; padding-top: 12px; }
.hello .h { font-size: 30px; line-height: 1.05; overflow-wrap: anywhere; }
.hello .sub { margin-top: 8px; font-size: 15px; }
.mill { position: relative; flex: none; width: 104px; height: 120px; margin: -8px -4px 0 0; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; }
.mill svg { width: 104px; height: 120px; display: block; }
.sails { transform-box: fill-box; transform-origin: 50% 50%; animation: spin 9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.fd-pill { position: relative; display: flex; align-items: center; gap: 8px; height: 36px; margin: -6px 118px 18px 5px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 999px;
  background: #FFFFFF; box-shadow: 3px 3px 0 var(--peach); font-family: var(--head); font-size: 14px; font-weight: 700; color: #9A7A62; text-align: left; cursor: pointer; }
.fd-pill svg { flex: none; width: 17px; height: 17px; color: var(--orange); }
.fd-pill .soon-tag { margin-left: auto; font-size: 10px; font-weight: 800; letter-spacing: .1em; color: #B08B6E; }

/* the ticket: a white card with two half-moon notches on its tear line */
.cut { filter: drop-shadow(1.5px 0 0 var(--line)) drop-shadow(-1.5px 0 0 var(--line)) drop-shadow(0 1.5px 0 var(--line)) drop-shadow(0 -1.5px 0 var(--line)) drop-shadow(4px 4px 0 var(--peach)); }
.ticket { --n: 70%; position: relative; display: grid; grid-template-columns: 70% 30%; min-height: 150px; background: #FFFFFF; border-radius: 20px;
  -webkit-mask: radial-gradient(circle 11px at var(--n) 0, #0000 98%, #000) top/100% 51% no-repeat, radial-gradient(circle 11px at var(--n) 100%, #0000 98%, #000) bottom/100% 51% no-repeat;
  mask: radial-gradient(circle 11px at var(--n) 0, #0000 98%, #000) top/100% 51% no-repeat, radial-gradient(circle 11px at var(--n) 100%, #0000 98%, #000) bottom/100% 51% no-repeat; }
.t-main { display: flex; flex-direction: column; gap: 3px; padding: 16px 14px 14px 18px; border-right: 2px dashed var(--dash); min-width: 0; }
.t-main .h { font-size: 22px; line-height: 1.1; }
.t-main .btn { align-self: flex-start; margin-top: 10px; }
.t-side { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 8px 4px 12px; }
.t-big { font-family: var(--head); font-weight: 800; font-size: 50px; line-height: .9; color: var(--orange); font-variant-numeric: tabular-nums; }
.t-unit { font-family: var(--head); font-weight: 800; font-size: 13px; letter-spacing: .12em; }
.print { animation: print .8s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i, 0) * 90ms); }
@keyframes print { from { opacity: 0; transform: translateY(14px); } }
.d1 { --i: 1; } .d2 { --i: 2; } .d3 { --i: 3; } .d4 { --i: 4; } .d5 { --i: 5; } .d6 { --i: 6; } .d7 { --i: 7; } .d8 { --i: 8; }

/* the tiles, three to a row */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 12px; margin-top: 26px; }
.tile { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; padding: 14px 6px 12px; border: 1.5px solid var(--line); border-radius: 14px;
  background: #FFFFFF; font-family: var(--head); font-size: 14px; font-weight: 700; line-height: 1.15; color: var(--ink); text-align: center; cursor: pointer; box-shadow: 3px 3px 0 var(--peach);
  transition: transform .25s cubic-bezier(.3, 1.5, .5, 1), box-shadow .25s ease; touch-action: manipulation; }
.tile:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--peach); }
.tile.soon { color: var(--sub); }
.tile .lbl2 { overflow-wrap: anywhere; }

/* your day: three small counters */
.yd { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.yd-c { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 0; padding: 12px 4px 11px; border: 1.5px solid var(--line); border-radius: 14px;
  background: #FFFFFF; box-shadow: 3px 3px 0 var(--peach); cursor: pointer; }
.yd-c:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--peach); }
.yd-n { font-family: var(--head); font-size: 22px; font-weight: 800; line-height: 1.1; color: #C9AE96; }
.yd-l { display: flex; align-items: center; gap: 4px; max-width: 100%; font-family: var(--head); font-size: 11.5px; font-weight: 800; color: var(--sub); white-space: nowrap; }
.yd-l svg { flex: none; width: 13px; height: 13px; }

.grow { flex: 1 1 auto; min-height: 18px; }
.base { position: relative; margin: 0 -18px; }
.sienna { display: flex; justify-content: flex-end; padding: 0 22px 10px; }
.sx-btn { position: relative; width: 62px; height: 62px; padding: 0; border: 1.5px solid var(--line); border-radius: 50%; background: #FFFFFF; display: grid; place-items: center; cursor: pointer; box-shadow: 3px 3px 0 var(--peach); }
.sx-btn:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--peach); }
.sx-btn .dot { width: 46px; height: 46px; }
.sx-btn .tape { top: -12px; width: 50px; margin-left: -25px; }
.houses { display: block; width: 100%; height: auto; }
.houses-pad { height: var(--bottom); background: #FCE4C8; }
.ripple { animation: sway 6s ease-in-out infinite alternate; }
@keyframes sway { to { transform: translateX(10px); } }

/* ---------- inside pages ---------- */
.page { padding: calc(var(--top) + 28px) 26px calc(var(--bottom) + 24px); gap: 14px; }   /* the draft's pages: 28px down, 26px in */
.p-top { display: flex; align-items: center; gap: 12px; }
.back { width: 44px; height: 44px; flex: none; padding: 0; border: 1.5px solid var(--line); border-radius: 14px; background: #FFFFFF; display: grid; place-items: center; cursor: pointer; box-shadow: 3px 3px 0 var(--peach); }
.back:active { background: var(--orange); border-color: var(--rust); transform: translate(2px, 2px); box-shadow: 0 0 0 var(--peach); }
.back:active path { stroke: #FFFFFF; }
.back svg { width: 22px; height: 22px; }
.p-title { flex: 1; min-width: 0; }
.p-title .kick { font-size: 11px; }
.p-title .h { font-size: 28px; line-height: 1.05; }
.lede { margin: 2px 2px 0; font-size: 15px; font-weight: 700; color: var(--sub); }
.rows { display: flex; flex-direction: column; gap: 12px; }
.r { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 16px; background: #FFFFFF;
  color: var(--ink); text-align: left; cursor: pointer; box-shadow: 3px 3px 0 var(--peach); }
.r:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--peach); }
.r.soon { background: var(--soft); box-shadow: none; }
.r.soon:active { transform: none; }
.ic { width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center; color: #FFFFFF; }
.r-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.r-tx b { font-family: var(--head); font-size: 15.5px; font-weight: 800; line-height: 1.15; }
.r-tx small { font-size: 12.5px; font-weight: 600; line-height: 1.3; color: var(--sub); }
.r .chev { width: 18px; height: 18px; flex: none; }
.r .tag { flex: none; padding: 4px 9px; border-radius: 999px; background: #FFE2C2; font-family: var(--head); font-size: 11px; font-weight: 800; letter-spacing: .04em; color: var(--kick); white-space: nowrap; }
.gh { display: flex; align-items: center; gap: 10px; margin: 6px 4px -4px; font-family: var(--head); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--kick); }
.gh::after { content: ""; flex: 1; border-top: 2px dotted var(--dash); }

/* Sienna inside a page (rounds 249 and 251): bottom right, a slim bar of her own grows out from under her, a soft floor under both */
.page.has-sx { padding-bottom: calc(var(--bottom) + 128px); }
.page.cash-menu.has-sx { padding-bottom: calc(var(--bottom) + 150px); }
/* a tile brought into view (by a scroll to it, or the keyboard) stops above her bar, never under it */
:root:has(.sxp) { scroll-padding-bottom: calc(var(--bottom) + 130px); }
.sxp { position: fixed; left: 0; right: 0; bottom: 0; z-index: 5; max-width: 480px; margin: 0 auto; padding: 38px 22px calc(var(--bottom) + 28px); pointer-events: none;
  background: linear-gradient(rgba(255, 244, 232, 0), var(--cream) 36px); }
.sxp-in { position: relative; display: flex; justify-content: flex-end; }
.sxp-in > * { pointer-events: auto; }
.sxp-bar { position: absolute; left: 4px; right: 31px; top: 5px; height: 52px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 1px; padding: 0 44px 0 18px;
  border: 1.5px solid var(--line); border-radius: 999px; background: #FFFFFF; box-shadow: 3px 3px 0 var(--peach); text-align: left; cursor: pointer; }
.sxp-bar:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--peach); }
.sxp-k { font-family: var(--head); font-size: 10.5px; font-weight: 800; line-height: 1.2; letter-spacing: .12em; text-transform: uppercase; color: var(--kick); }
.sxp-t { max-width: 100%; overflow: hidden; font-size: 14px; font-weight: 700; line-height: 1.25; color: var(--ink); white-space: nowrap; text-overflow: ellipsis; }

/* the Toolbox (round 247): the tools that aren't on the home, and a box to find one */
.tq { display: flex; align-items: center; gap: 9px; flex: none; height: 44px; margin: 0; padding: 0 15px; border: 1.5px solid var(--line); border-radius: 999px; background: #FFFFFF;
  box-shadow: 3px 3px 0 var(--peach); color: var(--orange); cursor: text; }
.tq:focus-within { border-color: var(--orange); }
.tq svg { flex: none; width: 18px; height: 18px; }
/* 16px: smaller and an iPhone zooms in when the box is tapped */
.tq input { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; outline: 0; background: none; font-family: var(--body); font-size: 16px; font-weight: 600; color: var(--ink);
  -webkit-appearance: none; appearance: none; }
.tq input:focus-visible { outline: none; }
.tq input::placeholder { color: #B09580; }
.tq input::-webkit-search-decoration { -webkit-appearance: none; }
.tiles.tb { gap: 16px 12px; margin-top: 4px; }
.t-none { margin: 0 4px; font-size: 13px; font-weight: 600; line-height: 1.4; color: #9A7A62; }
.t-none:empty { display: none; }

/* Cash, the draft's own menu (rounds 99 and 245): Next up, then every cash job as a tile, three to a row, names only */
.cash-menu .ticket { --n: 66%; grid-template-columns: 66% 34%; }
.cash-menu .t-main .h { font-size: 24px; line-height: 1.05; }
.cash-menu .t-main .sub { font-size: 13px; }
.t-dot { width: 58px; height: 58px; }
.t-dot svg { width: 30px; height: 30px; }
.cash-menu .gh { margin: 2px 4px -6px; }
.cash-menu .jobs + .gh { margin-top: 6px; }
.jobs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 10px; }
.jobs .tile { font-size: 13.5px; line-height: 1.2; }
.c-purple { background: #6B4E9B; } .c-green { background: #2F7A46; }
.brinks { position: relative; grid-column: 1 / -1; order: 1; display: flex; align-items: center; justify-content: center; gap: 8px; height: 36px; padding: 0 12px;
  border: 1.5px dashed #E9B98A; border-radius: 12px; background: none; font-family: var(--head); font-size: 13px; font-weight: 800; color: var(--kick); cursor: pointer; }
.brinks::after { content: ''; position: absolute; inset: -4px; }
.brinks:active { background: #FFF1E2; }

/* Cash: HD Central's cash page, inside the app */
.page.cash { height: 100vh; height: 100dvh; padding-bottom: 0; gap: 10px; }
.frame-wrap { position: relative; flex: 1 1 auto; min-height: 0; margin: 0 -26px; border-top: 1.5px solid var(--line); background: #FFFFFF; }
.frame-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #FFFFFF; }
.frame-msg { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px; background: var(--cream); text-align: center; }
.frame-msg .mill-big { width: 76px; height: 88px; }

/* sheets */
.scrim { position: fixed; inset: 0; z-index: 20; background: rgba(58, 34, 18, .32); animation: fade .2s ease both; }
@keyframes fade { from { opacity: 0; } }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 21; max-width: 480px; max-height: 92vh; max-height: 92dvh; margin: 0 auto; overflow-y: auto; scrollbar-width: none;
  padding: 22px 20px calc(var(--bottom) + 22px); border: 1.5px solid var(--line); border-bottom: 0; border-radius: 24px 24px 0 0; background: var(--cream);
  box-shadow: 0 -10px 30px rgba(58, 34, 18, .14); animation: up .3s cubic-bezier(.2, .9, .3, 1) both; }
.sheet::-webkit-scrollbar { display: none; }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }
.sheet .h { font-size: 24px; line-height: 1.1; }
.sheet .stack { margin-top: 14px; }
.sh-top { display: flex; align-items: flex-start; gap: 12px; }
.sh-top > div { flex: 1; min-width: 0; }
.x { width: 40px; height: 40px; flex: none; padding: 0; border: 1.5px solid var(--line); border-radius: 13px; background: #FFFFFF; display: grid; place-items: center; cursor: pointer; }
.x svg { width: 20px; height: 20px; }
/* a fingertip is about 44px: these two look smaller, so they reach a little past their edges (nothing shows) */
.x, .link, .store-btn.many { position: relative; }
.x::after, .fd-pill::after, .link::after { content: ''; position: absolute; inset: -4px; }
.store-btn.many::after { content: ''; position: absolute; inset: -8px -4px; }
.steps { margin: 4px 0 0; padding-left: 22px; font-size: 15px; font-weight: 600; line-height: 1.5; }
.toast { pointer-events: none; position: fixed; left: 50%; bottom: calc(var(--bottom) + 24px); z-index: 30; max-width: calc(100% - 40px); transform: translateX(-50%); padding: 12px 18px; border-radius: 14px;
  background: var(--ink); color: #FFF4E8; font-family: var(--head); font-size: 15px; font-weight: 700; box-shadow: 0 8px 24px rgba(58, 34, 18, .25); animation: up .25s ease both; }

.top-r { display: flex; align-items: center; gap: 10px; }
.screen.center .h { font-size: 26px; line-height: 1.1; }
.screen.center .sub { max-width: 320px; }
.screen.center .btn.wide { max-width: 360px; }
.big-dot { width: 76px; height: 76px; margin-bottom: 4px; }
.big-dot svg { width: 36px; height: 36px; }
.tiles-page { margin-top: 10px; }
.menu-note { margin-top: 16px; text-align: center; }

@media (max-width: 360px) {
  .hello .h { font-size: 26px; }
  .tiles { gap: 14px 9px; }
  .tile { font-size: 13px; }
  .fd-pill { margin-right: 108px; }
  .page { padding-left: 20px; padding-right: 20px; }
  .frame-wrap { margin: 0 -20px; }
}
@media (prefers-reduced-motion: reduce) {
  .sails, .ripple, .print, .sheet, .scrim, .toast { animation: none !important; }
}
