/* Fonts are bundled locally (Bodoni Moda, Instrument Sans; SIL Open Font License). No external font requests. */
@font-face {
  font-family: 'Bodoni Moda';
  font-style: italic;
  font-weight: 400 800; font-display: swap;
  src: url(../fonts/BodoniModa-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bodoni Moda';
  font-style: italic;
  font-weight: 400 800; font-display: swap;
  src: url(../fonts/BodoniModa-italic-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;
}
@font-face {
  font-family: 'Bodoni Moda';
  font-style: normal;
  font-weight: 400 800; font-display: swap;
  src: url(../fonts/BodoniModa-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bodoni Moda';
  font-style: normal;
  font-weight: 400 800; font-display: swap;
  src: url(../fonts/BodoniModa-normal-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;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%; font-display: swap;
  src: url(../fonts/InstrumentSans-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%; font-display: swap;
  src: url(../fonts/InstrumentSans-normal-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;
}

/* Vietnamese + Russian voice: Bodoni Moda has no Vietnamese tone letters and no Cyrillic, so those two languages use
   Playfair Display (same didone family feel). Only downloaded when the page is in vi / ru (see :root:lang rules). */
@font-face {
  font-family: 'Hansum Display Intl';
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url(../fonts/PlayfairDisplay-italic-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Hansum Display Intl';
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url(../fonts/PlayfairDisplay-italic-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Hansum Display Intl';
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url(../fonts/PlayfairDisplay-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Hansum Display Intl';
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url(../fonts/PlayfairDisplay-italic-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;
}
@font-face {
  font-family: 'Hansum Display Intl';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(../fonts/PlayfairDisplay-normal-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Hansum Display Intl';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(../fonts/PlayfairDisplay-normal-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Hansum Display Intl';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(../fonts/PlayfairDisplay-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Hansum Display Intl';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(../fonts/PlayfairDisplay-normal-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;
}

/* HANSUM ORDER — customer interface (Design V2.1 port)
   Direction: a printed omakase card at midnight. Black and deep navy, a single gold hairline,
   electric cyan for cool, one pink neon glow. Bodoni Moda for the voice, Instrument Sans for the work.
   Photography is the structure: the screens are cropped photographs, not cards. */

:root {
  --ink: #05070d;
  --night: #0a1226;
  --panel: #0d1428;
  --panel2: #131c38;
  --gold: #d8b56a;
  --gold-hi: #f0d99f;
  --gold-lo: #8d7442;
  --cyan: #3fd4ff;
  --pink: #ff4fa0;
  --mint: #79e6c4;
  --tx: #f4efe4;
  --mute: #a7abbc;
  --dim: #6c7188;
  --line: rgba(255, 255, 255, .1);
  --line-gold: rgba(216, 181, 106, .38);
  --serif: 'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, serif;
  --sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --top-h: 60px;
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --pad: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; }
body {
  background: var(--ink); color: var(--tx); font: 400 16px/1.45 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow: hidden;
  font-variant-numeric: lining-nums;
}
[v-cloak] { display: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }
button:disabled { cursor: not-allowed; }
a { color: inherit; }
ul { list-style: none; padding: 0; }
img { display: block; max-width: 100%; }
.num { font-variant-numeric: tabular-nums lining-nums; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
[tabindex="-1"]:focus { outline: none; }
.skip { position: fixed; left: 8px; top: -60px; z-index: 999; background: var(--gold); color: #1a1408; padding: 10px 14px; border-radius: 6px; font-weight: 600; }
.skip:focus { top: 8px; }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- frame ---------- */
#app {
  height: 100dvh; display: flex; justify-content: center; align-items: stretch;
  background: radial-gradient(900px 520px at 78% 6%, rgba(63, 212, 255, .09), transparent 70%),
              radial-gradient(800px 520px at 12% 96%, rgba(255, 79, 160, .09), transparent 70%), var(--ink);
}
.shell {
  position: relative; width: 100%; height: 100dvh; display: flex; flex-direction: column; overflow: hidden;
  background: linear-gradient(180deg, #0a1226 0%, var(--ink) 38%);
  isolation: isolate;
}
@media (min-width: 700px) {
  #app { align-items: center; }
  .shell { width: 520px; height: min(calc(100dvh - 32px), 960px); border: 1px solid var(--line-gold); border-radius: 22px; box-shadow: 0 30px 90px rgba(0, 0, 0, .6); }
}

/* ---------- top rail ---------- */
.pline { position: absolute; z-index: 30; top: 0; left: 0; right: 0; height: 2px; background: rgba(255, 255, 255, .06); }
.pline i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi)); box-shadow: 0 0 12px 1px rgba(255, 79, 160, .6); transition: width .55s var(--ease); }
[data-step="0"] .pline, [data-step="8"] .pline i, [data-step="11"] .pline i { opacity: 1; }
[data-step="0"] .pline i { opacity: 0; }
.top {
  position: absolute; z-index: 20; inset: 0 0 auto 0; height: calc(var(--top-h) + var(--safe-t)); padding: var(--safe-t) 10px 0;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 6px; align-items: center;
  background: linear-gradient(180deg, var(--ink) 92%, rgba(5, 7, 13, 0));
}
.top--clear { background: linear-gradient(180deg, rgba(5, 7, 13, .7), rgba(5, 7, 13, 0)); }
.mono { width: 44px; height: 44px; display: grid; place-items: center; }
.mono__g {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-gold);
  background: #000 url(../images/hansum-logo-gold.jpg) 49.4% 31.5% / 181% auto no-repeat;
  filter: contrast(1.25) brightness(1.05);
}
.top__mid { display: flex; flex-direction: column; align-items: center; line-height: 1.1; min-width: 0; text-align: center; }
.top__name { font-family: var(--serif); font-style: italic; font-size: 19px; }
.top__count { font-size: 11.5px; color: var(--mute); margin-top: 2px; }
.tab-chip {
  justify-self: end; height: 44px; display: inline-flex; align-items: center; gap: 8px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px; font-weight: 500; background: rgba(5, 7, 13, .55);
}
.tab-chip__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--dim); }
.tab-chip__dot.qr { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }

/* ---------- stage ---------- */
.stage { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; position: relative; overscroll-behavior: contain; scrollbar-width: none; }
.stage::-webkit-scrollbar { display: none; }
.scr { min-height: 100%; padding: calc(var(--top-h) + var(--safe-t) + 6px) 0 28px; animation: scr-in .36s var(--ease) backwards; --d: 1; }
[data-dir="back"] .scr { --d: -1; }
@keyframes scr-in { from { opacity: 0; transform: translateX(calc(var(--d) * 22px)); } }

/* ---------- type ---------- */
.display { font-family: var(--serif); font-weight: 400; font-size: clamp(54px, 16vw, 72px); line-height: .94; letter-spacing: -.025em; }
.display em { font-style: italic; }
.display--m { font-size: clamp(34px, 9.6vw, 44px); line-height: 1.02; letter-spacing: -.015em; }
.h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(31px, 9vw, 40px); line-height: 1.04; letter-spacing: -.015em; }
.h1--l { font-size: clamp(40px, 12vw, 52px); }
.h2 { font-family: var(--serif); font-weight: 400; font-size: 23px; line-height: 1.15; padding: 26px var(--pad) 12px; display: flex; align-items: baseline; gap: 12px; }
.h2 small { font-family: var(--sans); font-size: 13.5px; color: var(--mute); }
.h2--flush { padding: 0; }
.sub { margin-top: 10px; color: var(--mute); font-size: 15.5px; line-height: 1.45; max-width: 36ch; }
.sub--tight { margin-top: 6px; }
.lede { color: rgba(244, 239, 228, .82); font-size: 16px; max-width: 32ch; }
.fine { font-size: 13px; color: var(--mute); line-height: 1.5; }
.fine--pad { padding: 18px var(--pad) 0; }
.ph { padding: 12px var(--pad) 16px; }
.link { color: var(--gold-hi); font-weight: 500; font-size: 15px; text-decoration: underline; text-decoration-color: rgba(216, 181, 106, .45); text-underline-offset: 5px; min-height: 44px; padding: 0 8px; }
.link--center { display: block; margin: 4px auto 0; text-align: center; }
.link--inline { display: inline; min-height: 0; padding: 0; font-size: inherit; }
.link--dim { color: var(--mute); text-decoration-color: rgba(255, 255, 255, .2); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 22px; border-radius: 6px;
  font-weight: 600; font-size: 16px; position: relative; overflow: hidden; transition: transform .12s var(--ease), background .2s, color .2s, box-shadow .2s;
}
.btn:active:not(:disabled) { transform: scale(.982); }
.btn--gold { background: linear-gradient(180deg, #f1dba2, #d4b064); color: #1a1408; box-shadow: 0 8px 28px -10px rgba(216, 181, 106, .55); }
.btn--gold:disabled { background: rgba(255, 255, 255, .07); color: var(--dim); box-shadow: none; }
.btn--line { border: 1px solid var(--line-gold); color: var(--tx); background: rgba(5, 7, 13, .4); }
.btn--ghost { color: var(--mute); }
.btn--block { width: 100%; }
.btn--grow { flex: 1; min-width: 0; }
.btn--sm { height: 44px; font-size: 14.5px; padding: 0 16px; }
.btn.busy::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 40%; background: linear-gradient(90deg, transparent, #1a1408); animation: sweep 1.05s linear infinite; }
@keyframes sweep { from { transform: translateX(-100%); } to { transform: translateX(260%); } }

/* ---------- dock (the one place for the primary action) ---------- */
.dock { flex: none; position: relative; z-index: 15; padding: 6px 14px calc(12px + var(--safe-b)); background: var(--ink); border-top: 1px solid var(--line-gold); animation: dock-in .4s var(--ease) both; }
@keyframes dock-in { from { transform: translateY(24px); opacity: 0; } }
.dock__sum { width: 100%; min-height: 46px; display: flex; align-items: center; gap: 12px; padding: 0 4px; animation: fade .3s both; }
.dock__txt { flex: 1; min-width: 0; font-family: var(--serif); font-style: italic; font-size: 16.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock__price { font-size: 14px; color: var(--mute); white-space: nowrap; }
.dock__price b { font-weight: 600; color: var(--gold-hi); }
.dock__sum .ic { width: 18px; height: 18px; color: var(--mute); }
.dock__note { min-height: 46px; display: flex; align-items: center; padding: 0 4px; font-size: 14px; color: var(--mute); }
.dock__row { display: flex; gap: 10px; }
.dock__back { flex: none; width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 6px; color: var(--mute); }
.dock__back:active { background: rgba(255, 255, 255, .05); }
@keyframes fade { from { opacity: 0; } }

/* ---------- 0. welcome ---------- */
.scr--welcome, .scr--sent { padding: 0; position: relative; display: flex; flex-direction: column; justify-content: flex-end; }
.welcome__photo { position: absolute; inset: 0; background: url(../images/hero-smoke.jpeg) 56% 20% / cover no-repeat; animation: settle 1.6s var(--ease) backwards; }
@keyframes settle { from { transform: scale(1.06); } }
.welcome__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 7, 13, .5) 0, rgba(5, 7, 13, 0) 20%, rgba(5, 7, 13, .5) 48%, rgba(5, 7, 13, .95) 74%, var(--ink) 100%); }
.welcome__body { position: relative; padding: 130px var(--pad) 22px; display: flex; flex-direction: column; gap: 14px; }
.where { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--gold-hi); }
.where__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 10px 1px var(--pink); }
.acts { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.onyours { border-top: 1px solid var(--line-gold); padding-top: 12px; }
.onyours__t { font-size: 13px; color: var(--mute); margin-bottom: 4px; }
.onyours li { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 14.5px; }
.onyours__ref { font-family: var(--serif); letter-spacing: .02em; }
.onyours__k { color: var(--mute); }

/* Saigon table chooser */
.scr--table { padding-top: calc(var(--top-h) + var(--safe-t)); }
.table__num { font-family: var(--serif); font-size: min(46vw, 176px); line-height: .95; letter-spacing: -.04em; color: var(--gold); padding: 28px var(--pad) 8px; font-variant-numeric: lining-nums; }
.table__num.empty { color: var(--gold-lo); opacity: .35; }
.table__body { padding: 0 var(--pad); }
.table__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 22px 0 22px; }
.tnum { height: 56px; border: 1px solid var(--line); border-radius: 6px; font-family: var(--serif); font-size: 23px; display: grid; place-items: center; transition: background .18s, color .18s, border-color .18s, transform .12s; }
.tnum:active { transform: scale(.95); }
.tnum.on { background: var(--gold); border-color: var(--gold); color: #1a1408; }

/* ---------- segmented ---------- */
.seg { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 6px; padding: 3px; gap: 3px; }
.seg button { height: 44px; border-radius: 4px; font-weight: 500; color: var(--mute); font-size: 14.5px; text-align: center; transition: background .2s, color .2s, box-shadow .2s; }
.seg button.on { background: rgba(216, 181, 106, .16); color: var(--gold-hi); box-shadow: inset 0 0 0 1px var(--line-gold); }
.seg--sm { margin-top: 0; }
.seg--sm button { height: 44px; }

/* ---------- 1. shisha: photo bands ---------- */
.scr--shisha { display: flex; flex-direction: column; padding-bottom: 0; }
.bands { flex: 1; display: flex; flex-direction: column; min-height: 440px; border-top: 1px solid var(--line-gold); }
.band { position: relative; flex: 1 1 0; min-height: 108px; display: block; width: 100%; overflow: hidden; border-bottom: 1px solid var(--line-gold); isolation: isolate; transition: flex-grow .5s var(--ease); }
.band.on { flex-grow: 2.4; }
.band__img { position: absolute; inset: 0; background-size: cover; background-repeat: no-repeat; filter: brightness(.5) saturate(.85); transform: scale(1.05); transition: filter .5s var(--ease), transform 1s var(--ease); z-index: -2; }
.band.on .band__img { filter: brightness(.92) saturate(1.05); transform: none; }
.band__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 7, 13, .05) 30%, rgba(5, 7, 13, .86) 100%); }
.band__in { position: absolute; inset: 0; padding: 14px var(--pad) 14px; display: flex; flex-direction: column; justify-content: flex-end; }
.band__tier { font-size: 13px; font-weight: 500; color: var(--gold-hi); }
.band__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.band__name { font-family: var(--serif); font-size: clamp(30px, 8.6vw, 38px); line-height: 1.05; letter-spacing: -.01em; }
.band__price { font-size: 13.5px; color: var(--mute); white-space: nowrap; }
.band__price b { font-family: var(--serif); font-weight: 500; font-size: 22px; color: var(--tx); letter-spacing: .01em; }
.band__more { display: flex; flex-direction: column; gap: 8px; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .3s, margin .5s var(--ease); }
.band.on .band__more { max-height: 140px; opacity: 1; margin-top: 10px; transition-delay: 0s, .12s, 0s; }
.band__notes { font-size: 14px; color: rgba(244, 239, 228, .82); line-height: 1.35; }
.band__path { font-size: 13.5px; color: var(--mute); }
.gauge { display: flex; align-items: center; gap: 12px; }
.gauge__t { font-size: 13px; color: var(--mute); }
.gauge__b { display: flex; gap: 3px; }
.gauge__b i { width: 15px; height: 4px; background: rgba(255, 255, 255, .2); }
.gauge__b i.on { background: var(--gold); }
.band__tick { position: absolute; top: 14px; right: 16px; width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: #1a1408; display: grid; place-items: center; transform: scale(0); transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.band__tick .ic { width: 16px; height: 16px; stroke-width: 2.4; }
.band.on .band__tick { transform: scale(1); }
.band:active .band__img { filter: brightness(.7); }

/* ---------- 2. bowl ---------- */
.scr--bowl { padding-bottom: 0; }
.bowls { display: flex; flex-direction: column; border-top: 1px solid var(--line-gold); }
.bowl { position: relative; display: block; width: 100%; aspect-ratio: 390 / 250; max-height: 46vh; overflow: hidden; border-bottom: 1px solid var(--line-gold); isolation: isolate; }
.bowl__img { position: absolute; inset: 0; background-repeat: no-repeat; z-index: -2; filter: brightness(.86); transition: filter .4s, transform .9s var(--ease); }
/* Crops sit above the engraved wordmarks on the original photos. Only the bowl's shape shows. */
.bowl.egy .bowl__img { background-image: url(../images/cosmo-bowl.jpg); background-size: 153.6% auto; background-position: 33.6% 22.7%; }
.bowl.phu .bowl__img { background-image: url(../images/oblako-bowl.jpg); background-size: 142.2% auto; background-position: 48.2% 20.6%; }
.bowl__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 7, 13, 0) 35%, rgba(5, 7, 13, .88) 100%); }
.bowl__cap { position: absolute; left: var(--pad); right: 64px; bottom: 14px; display: flex; flex-direction: column; }
.bowl__name { font-family: var(--serif); font-style: italic; font-size: clamp(28px, 8vw, 34px); line-height: 1.05; }
.bowl__line { font-size: 13.5px; color: var(--mute); margin-top: 2px; }
.bowl__tick { position: absolute; right: 16px; bottom: 16px; width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: #1a1408; display: grid; place-items: center; transform: scale(0); transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.bowl__tick .ic { width: 16px; height: 16px; stroke-width: 2.4; }
.bowl.on .bowl__tick { transform: scale(1); }
.bowl.on::after { content: ""; position: absolute; inset: 0; border: 2px solid var(--gold); pointer-events: none; animation: fade .25s both; }
.bowl.on .bowl__img { transform: scale(1.03); filter: brightness(1); }
.bowls.pick .bowl:not(.on) .bowl__img { filter: brightness(.5); }

/* ---------- 3. flavor ---------- */
.scr--flavor { padding-bottom: 20px; }
.blend { position: sticky; top: calc(var(--top-h) + var(--safe-t)); z-index: 6; margin: 0; padding: 12px var(--pad); display: flex; gap: 14px; align-items: flex-start; background: var(--ink); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line-gold); }
.slot { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 7px; }
.slot__disc { position: relative; width: 60px; height: 60px; border-radius: 50%; border: 1px dashed rgba(216, 181, 106, .5); display: grid; place-items: center; font-family: var(--serif); color: var(--dim); font-size: 21px; background-size: cover; background-position: 92% 50%; }
.slot__disc.filled { border: 1.5px solid var(--gold); animation: pop .4s cubic-bezier(.3, 1.6, .5, 1); }
.slot__x { position: absolute; right: -5px; top: -5px; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); border: 1px solid var(--line-gold); display: grid; place-items: center; color: var(--mute); }
.slot__x .ic { width: 11px; height: 11px; stroke-width: 2.2; }
.slot__name { font-size: 13.5px; font-weight: 500; text-align: center; }
.slot__name.dim { color: var(--dim); font-weight: 400; }
.slot--one { flex-direction: row; align-items: center; gap: 16px; }
.slot__txt { display: flex; flex-direction: column; min-width: 0; }
.slot--one .slot__name { font-family: var(--serif); font-size: 23px; text-align: left; font-weight: 400; line-height: 1.1; overflow-wrap: anywhere; }
.slot__note { font-size: 13.5px; color: var(--mute); }
@keyframes pop { from { transform: scale(.6); opacity: .3; } }
.menu { border-top: 1px solid var(--line); }
.frow { position: relative; display: flex; align-items: center; gap: 14px; width: 100%; min-height: 88px; padding: 0 var(--pad); border-bottom: 1px solid var(--line); overflow: hidden; isolation: isolate; transition: background .25s; }
.frow__img { position: absolute; top: 0; right: 0; bottom: 0; width: 46%; z-index: -1; background-repeat: no-repeat; background-position: right center; background-size: calc(100% / (1 - var(--s))) auto; opacity: .5;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%); transition: opacity .35s; }
.frow.on .frow__img { opacity: 1; }
.frow.on { background: linear-gradient(90deg, rgba(216, 181, 106, .13), transparent 72%); box-shadow: inset 3px 0 0 var(--gold); }
.frow:active .frow__img { opacity: .8; }
.frow__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.frow__name { font-family: var(--serif); font-size: 25px; line-height: 1.1; letter-spacing: -.005em; }
.frow__desc { font-size: 14px; color: var(--mute); }
.frow__mark { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .4); background: rgba(5, 7, 13, .6); transition: background .2s, border-color .2s, transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.frow__mark b { font-family: var(--serif); font-size: 19px; font-weight: 600; }
.frow__mark .ic { width: 18px; height: 18px; }
.frow.on .frow__mark { background: var(--gold); border-color: var(--gold); color: #1a1408; transform: scale(1.06); }
.ring { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .5); }
.reveal { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .38s var(--ease); }
.reveal.open { grid-template-rows: 1fr; }
.reveal__in { overflow: hidden; min-height: 0; }
.field { display: block; width: calc(100% - 2 * var(--pad)); margin: 16px var(--pad); background: rgba(255, 255, 255, .05); border: 1px solid var(--line-gold); border-radius: 6px; padding: 14px; color: var(--tx); font: 400 16px/1.4 var(--sans); resize: none; }
.field::placeholder { color: var(--dim); }
.field:focus-visible { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(63, 212, 255, .18); }

/* ---------- 4. feel: three faders ---------- */
.scr--feel { padding-bottom: 12px; }
.voice { margin-top: 12px; font-family: var(--serif); font-style: italic; font-size: 23px; line-height: 1.22; min-height: 2.5em; color: var(--tx); }
.dials { display: flex; justify-content: space-between; gap: 12px; padding: 8px var(--pad) 0; }
.dials--two { padding-left: 14%; padding-right: 14%; gap: 20px; }
.dial { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; --tone: var(--gold); --tone-hi: var(--gold-hi); }
.tone-gold { --tone: #d8b56a; --tone-hi: #f0d99f; }
.tone-cyan { --tone: #3fd4ff; --tone-hi: #b3f0ff; }
.tone-mint { --tone: #79e6c4; --tone-hi: #c9f7e8; }
.dial__val { height: 54px; display: grid; place-items: center; font-family: var(--serif); font-size: 50px; line-height: 1; color: var(--tone); transition: color .2s, transform .2s var(--ease); }
.dial__val span { display: inline-block; animation: tick .22s var(--ease); }
@keyframes tick { from { transform: translateY(-7px); opacity: .3; } }
.dial.active .dial__val { color: var(--tone-hi); transform: scale(1.1); }
.dial__track { position: relative; width: 100%; max-width: 108px; height: min(300px, 38dvh); min-height: 250px; display: flex; flex-direction: column; gap: 3px; touch-action: none; cursor: pointer; user-select: none; -webkit-user-select: none; outline-offset: 6px; }
.lv { flex: 1; border-radius: 2px; background: rgba(255, 255, 255, .075); display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 10.5px; font-weight: 500; color: rgba(255, 255, 255, .3); transition: background .16s, color .16s, box-shadow .16s; }
.lv.sel { width: 100%; height: 44px; padding: 0 12px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line-gold); border-radius: 6px; color: var(--tx); font: 400 15px var(--sans); }
.lv.on { background: var(--tone); color: rgba(5, 7, 13, .62); }
.lv.tip { background: var(--tone-hi); box-shadow: 0 0 16px 1px var(--tone); color: rgba(5, 7, 13, .8); }
.lv.zero { background: transparent; border: 1px dashed rgba(255, 255, 255, .2); }
.lv.zero.sel { border-color: var(--tone); color: var(--tone); }
.lv.lock { background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .06) 0 3px, transparent 3px 7px); color: rgba(255, 255, 255, .16); }
.dial.active .lv.tip { box-shadow: 0 0 22px 3px var(--tone); }
.dial__name { font-weight: 600; font-size: 15px; margin-top: 4px; }
.dial__band { font-size: 13.5px; color: var(--mute); min-height: 1.4em; }
.capnote { margin: 18px var(--pad) 0; display: flex; gap: 10px; font-size: 13.5px; line-height: 1.45; color: var(--mute); border-top: 1px solid var(--line); padding-top: 14px; }
.capnote .ic { width: 17px; height: 17px; margin-top: 2px; }
.capnote.hit { color: var(--gold-hi); animation: nudge .5s; }
@keyframes nudge { 30% { transform: translateX(-4px); } 60% { transform: translateX(3px); } }

/* ---------- 6. extras ---------- */
.chips { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 6px var(--pad) 0; }
.chip { display: flex; align-items: center; gap: 12px; min-height: 68px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 6px; transition: border-color .2s, background .2s, transform .12s; }
.chip:active { transform: scale(.98); }
.chip__mark { flex: none; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .34); display: grid; place-items: center; color: transparent; transition: background .2s, border-color .2s, color .2s; }
.chip__mark .ic { width: 14px; height: 14px; stroke-width: 2.6; }
.chip__txt { display: flex; flex-direction: column; min-width: 0; }
.chip__name { font-weight: 600; font-size: 15px; line-height: 1.25; }
.chip__price { font-size: 13px; color: var(--mute); }
.chip.on { border-color: var(--gold); background: rgba(216, 181, 106, .12); }
.chip.on .chip__mark { background: var(--gold); border-color: var(--gold); color: #1a1408; animation: pop .35s cubic-bezier(.3, 1.6, .5, 1); }
.chip.on .chip__price { color: var(--gold-hi); }

/* ---------- 7 & 10. the order card ---------- */
.card { position: relative; margin: 0 16px; border: 1px solid var(--line-gold); background: linear-gradient(180deg, rgba(216, 181, 106, .07), transparent 45%), var(--night); }
.card::before { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(216, 181, 106, .16); pointer-events: none; z-index: 2; }
.card__photo { position: relative; height: 128px; background-size: cover; background-repeat: no-repeat; border-bottom: 1px solid var(--line-gold); }
.card__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 7, 13, .1), rgba(5, 7, 13, .6)); }
.card__stamp { position: absolute; z-index: 3; left: 20px; bottom: 14px; padding: 5px 10px; border: 1px solid var(--gold); border-radius: 3px; font-size: 13px; font-weight: 600; color: var(--gold-hi); background: rgba(5, 7, 13, .6); }
.card__body { position: relative; z-index: 3; padding: 20px 22px 20px; }
.card__title { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 9.4vw, 40px); line-height: 1.02; letter-spacing: -.015em; }
.card__on { margin-top: 6px; font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.3; color: rgba(244, 239, 228, .86); }
.card--slim .card__body { padding-top: 24px; }
.lines { margin: 18px 0 8px; }
.line { display: grid; grid-template-columns: 62px 1fr 34px; gap: 6px; align-items: start; padding: 14px 0; border-top: 1px solid var(--line); }
.line dt { font-size: 13.5px; color: var(--mute); padding-top: 3px; }
.line dd { font-size: 16.5px; font-weight: 500; line-height: 1.35; margin: 0; }
.edit { width: 44px; height: 44px; margin: -10px -10px -10px auto; display: grid; place-items: center; color: var(--mute); }
.edit .ic { width: 18px; height: 18px; }
.edit--txt { width: auto; padding: 0 10px; font-size: 14px; color: var(--gold-hi); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(216, 181, 106, .45); margin: 0; }
.line--feel dd { display: flex; flex-direction: column; gap: 2px; margin-top: -2px; }
.mini { display: grid; grid-template-columns: 68px 1fr 18px; align-items: center; gap: 10px; height: 26px; font-size: 14px; font-weight: 400; }
.mini__k { color: var(--tx); }
.mini__bar { display: flex; gap: 2px; }
.mini__bar i { flex: 1; height: 5px; background: rgba(255, 255, 255, .11); }
.mini__bar i.on { background: var(--tone); }
.mini__v { text-align: right; font-weight: 600; color: var(--tone); }
.xline { display: flex; justify-content: space-between; gap: 12px; font-weight: 500; }
.xline + .xline { margin-top: 4px; }
.xline .num { color: var(--gold-hi); font-weight: 500; }
.total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line-gold); padding-top: 16px; margin-top: 4px; font-size: 15px; color: var(--mute); }
.total__n { color: var(--tx); font-size: 14px; }
.total__n b { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 9vw, 36px); letter-spacing: .005em; margin-right: 4px; }
.card .fine { margin-top: 6px; }
.alert { margin: 14px 16px 0; display: flex; gap: 10px; padding: 14px; border: 1px solid rgba(255, 79, 160, .55); background: rgba(255, 79, 160, .09); border-radius: 6px; font-size: 14.5px; line-height: 1.4; }
.alert .ic { color: var(--pink); margin-top: 1px; }
.scr--review, .scr--round { padding-bottom: 20px; }

/* order list (sheet + round) */
.round li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.round__t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.round__name { font-weight: 500; line-height: 1.3; }
.round__sum { font-size: 14px; color: var(--gold-hi); }
.round__empty { color: var(--mute); display: block; padding: 14px 0; }
.round { margin: 14px 0 8px; }

/* ---------- 8/11. sent + order more ---------- */
.scr--sent { min-height: 100%; }
.sent__photo { position: absolute; inset: 0 0 auto 0; height: 70%; background: url(../images/gallery-02.jpeg) 50% 28% / cover no-repeat; filter: brightness(1.02) saturate(1.1); animation: settle 1.8s var(--ease) backwards; }
.sent__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 7, 13, .5) 0, rgba(5, 7, 13, .1) 18%, rgba(5, 7, 13, .62) 32%, rgba(5, 7, 13, .95) 46%, var(--ink) 66%); }
.sent__body { position: relative; padding: 110px var(--pad) 26px; display: flex; flex-direction: column; gap: 14px; }
.tickring { width: 74px; height: 74px; fill: none; stroke: var(--gold); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 12px rgba(216, 181, 106, .55)); }
.tickring circle { stroke-dasharray: 227; stroke-dashoffset: 227; animation: draw .85s .1s var(--ease) forwards; }
.tickring path { stroke-dasharray: 52; stroke-dashoffset: 52; animation: draw .5s .75s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.sent__body .display, .sent__body .lede, .stub, .more, .sent__body > .link { animation: rise .6s var(--ease) backwards; }
.sent__body .display { animation-delay: .55s; }
.sent__body .lede { animation-delay: .65s; }
.stub { animation-delay: .8s; }
.more { animation-delay: .95s; }
.sent__body > .link { animation-delay: 1.1s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.stub { margin: 8px 0 14px; display: flex; align-items: stretch; border: 1px solid var(--line-gold); border-radius: 6px; background: rgba(5, 7, 13, .72); }
.stub__main { flex: 1; min-width: 0; padding: 13px 16px; display: flex; flex-direction: column; }
.stub__k { font-size: 13px; color: var(--mute); }
.stub__ref { font-family: var(--serif); font-size: clamp(19px, 5.5vw, 23px); letter-spacing: .01em; line-height: 1.25; overflow-wrap: anywhere; }
.stub__copy { flex: none; display: flex; align-items: center; gap: 8px; padding: 0 16px; border-left: 1px dashed var(--line-gold); color: var(--gold-hi); font-size: 14px; font-weight: 600; min-width: 96px; justify-content: center; }
.more { border-top: 1px solid var(--line); padding-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.more .sub { margin-bottom: 8px; }

/* ---------- 9. drinks ---------- */
/* Bottom padding: the last drink always scrolls fully clear of the dock with room to spare. */
.scr--drinks { padding-top: 0; padding-bottom: 48px; }
.dhead { position: relative; min-height: 236px; display: flex; align-items: flex-end; overflow: hidden; }
.dhead__photo { position: absolute; inset: 0; background-size: 122% auto; background-repeat: no-repeat; filter: brightness(.8) saturate(1.1); animation: settle 1.4s var(--ease) backwards; }
.dhead__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 7, 13, .6) 0, rgba(5, 7, 13, .1) 30%, rgba(5, 7, 13, .92) 100%); }
.dhead__in { position: relative; padding: 0 var(--pad) 18px; }
.dhead__ref { margin-top: 4px; font-style: italic; }
.cats { border-top: 1px solid var(--line-gold); }
.cat { border-bottom: 1px solid var(--line); }
.cat__h { font: inherit; }
.cat__btn { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 60px; padding: 10px var(--pad); }
.cat__title { flex: 1; min-width: 0; font-family: var(--serif); font-size: 22px; line-height: 1.12; text-wrap: balance; }
.cat__meta { font-size: 13px; color: var(--mute); text-align: right; white-space: nowrap; }
.cat__chev { color: var(--mute); transition: transform .35s var(--ease); }
.cat.open .cat__chev { transform: rotate(180deg); color: var(--gold-hi); }
.cat.open { background: linear-gradient(180deg, rgba(216, 181, 106, .05), transparent 200px); }
.cat__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.cat.open .cat__body { grid-template-rows: 1fr; }
.cat__in { overflow: hidden; min-height: 0; }
.item { display: flex; align-items: center; gap: 12px; padding: 12px var(--pad); min-height: 66px; border-top: 1px solid rgba(255, 255, 255, .06); }
.item__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.item__name { font-weight: 500; font-size: 16px; line-height: 1.3; }
.item__note { font-size: 13px; color: var(--mute); line-height: 1.35; }
.item__price { font-size: 14px; color: var(--gold-hi); margin-top: 2px; }
/* Optional drink photo: only rendered when the item has img; rows without one keep the text-only layout.
   Photo rows share one grid: [photo] [name / note / price] [+]; every photo row is the same height (--drink-img + 2 x 10px),
   the text block and + are centred on the photo. A name/price block always fits inside the photo height, so those rows never
   differ; only an item with a long ingredient note (cocktails) may grow, rather than hide text. */
:root { --drink-img: 84px; }
@media (min-width: 600px) { :root { --drink-img: 92px; } }
.item--img { display: grid; grid-template-columns: var(--drink-img) minmax(0, 1fr) auto; align-items: center; column-gap: 14px; min-height: calc(var(--drink-img) + 20px); padding-top: 10px; padding-bottom: 10px; }
.item__img { flex: none; width: var(--drink-img); height: var(--drink-img); object-fit: cover; border-radius: 10px; background: #15130f; border: 1px solid var(--line-gold); }
.item--img .add, .item--img .qty { justify-self: end; }
.add { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-gold); display: grid; place-items: center; color: var(--gold-hi); transition: background .18s, transform .12s; }
.add:active { transform: scale(.9); background: rgba(216, 181, 106, .2); }
.qty { flex: none; display: inline-flex; align-items: center; height: 44px; border-radius: 999px; background: var(--gold); color: #1a1408; animation: pop .3s cubic-bezier(.3, 1.6, .5, 1); }
.qty button { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; }
.qty button:active { background: rgba(0, 0, 0, .12); }
.qty .ic { width: 18px; height: 18px; stroke-width: 2.2; }
.qty__n { min-width: 20px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.qty--s { height: 44px; }
.qty--s button { width: 44px; height: 44px; }

/* ---------- sheets ---------- */
.scrim { position: absolute; inset: 0; z-index: 40; background: rgba(2, 3, 8, .66); animation: fade .25s both; }
.sheet { position: absolute; z-index: 50; left: 0; right: 0; bottom: 0; max-height: 88%; overflow-y: auto; background: var(--panel); border-top: 1px solid var(--line-gold); border-radius: 18px 18px 0 0; transform: translateY(104%); visibility: hidden; transition: transform .34s var(--ease), visibility 0s .34s; padding-bottom: calc(20px + var(--safe-b)); }
.sheet.open { transform: none; visibility: visible; transition: transform .34s var(--ease), visibility 0s 0s; }
.sheet__grab { display: flex; justify-content: flex-end; padding: 8px 10px 0; }
.sheet__grab button { width: 44px; height: 44px; display: grid; place-items: center; color: var(--mute); }
.sheet__in { padding: 0 var(--pad); }
.sheet__h { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.1; margin-top: -8px; }
.sheet__sub { color: var(--mute); font-size: 14.5px; margin-top: 4px; }
.rows { margin: 14px 0 6px; }
.rows li { display: grid; grid-template-columns: 62px 1fr auto; gap: 8px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); min-height: 52px; }
.rows__k { font-size: 13.5px; color: var(--mute); }
.rows__v { font-weight: 500; line-height: 1.35; }
.wifi { margin: 18px 0 14px; padding: 16px; border: 1px solid var(--line-gold); border-radius: 6px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.wifi__k { display: block; font-size: 13px; color: var(--mute); }
.wifi__v { font-family: var(--serif); font-size: 24px; letter-spacing: .02em; }
.wifi .btn { grid-column: 1 / -1; }
.links a { display: flex; align-items: center; gap: 14px; min-height: 68px; padding: 8px 0; border-top: 1px solid var(--line); text-decoration: none; }
.links a span { flex: 1; font-weight: 500; display: flex; flex-direction: column; }
.links small { font-size: 13px; color: var(--mute); font-weight: 400; }
.links img { width: 52px; height: 52px; border-radius: 4px; background: #fff; padding: 3px; }
.links .ic { color: var(--mute); width: 18px; height: 18px; }
.links__web { font-family: var(--serif); font-size: 20px; font-weight: 400 !important; }

/* ---------- sending (the Confirm moment) ---------- */
.sending { position: absolute; inset: 0; z-index: 70; display: grid; place-items: center; padding: 24px; background: radial-gradient(520px 320px at 50% 40%, rgba(255, 79, 160, .14), transparent 70%), rgba(5, 7, 13, .985); animation: fade .25s both; }
.sending__in { width: 100%; max-width: 340px; text-align: left; }
.sending__k { font-family: var(--serif); font-style: italic; font-size: 30px; line-height: 1.1; }
.sending__t { margin-top: 12px; color: rgba(244, 239, 228, .86); font-size: 15.5px; line-height: 1.45; }
.sending__bar { margin-top: 22px; height: 2px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.sending__bar i { display: block; width: 38%; height: 100%; background: linear-gradient(90deg, transparent, var(--gold-hi), var(--pink)); animation: sweep2 1.1s linear infinite; }
@keyframes sweep2 { from { transform: translateX(-100%); } to { transform: translateX(270%); } }
.sending__s { margin-top: 12px; font-size: 13px; color: var(--mute); }
.toast { position: absolute; z-index: 60; left: 16px; right: 16px; bottom: 150px; padding: 12px 14px; border: 1px solid var(--line-gold); border-radius: 6px; background: var(--panel2); font-size: 14px; line-height: 1.4; animation: rise .25s var(--ease) both; box-shadow: 0 12px 40px rgba(0, 0, 0, .5); }

/* ---------- short / narrow phones ---------- */
@media (max-height: 720px) {
  .dial__track { min-height: 200px; }
  .dial__val { font-size: 40px; height: 44px; }
  .slot__disc { width: 50px; height: 50px; }
  .welcome__body { padding-top: 60px; }
  .dhead { min-height: 190px; }
  .card__photo { height: 96px; }
}
@media (max-width: 360px) {
  :root { --pad: 16px; }
  .chips { grid-template-columns: 1fr; }
}
@media (min-width: 700px) {
  .dial__track { max-width: 120px; }
  .band__name { font-size: 40px; }
}

/* ---------- reduced motion: no movement, states still visible ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .sending__bar i { animation: none; width: 60%; }
  .btn.busy::after { animation: none; width: 100%; opacity: .35; }
  .tickring circle, .tickring path { stroke-dashoffset: 0; }
}

/* =====================================================================
   V2.1 — focused polish. Four fixes only; everything above is V2, frozen.
   ===================================================================== */

/* 1. Flavor density: same four groups, tighter rhythm (about 1.4 screens). */
.sub--one { max-width: none; }
.scr--flavor .ph { padding-bottom: 12px; }
.scr--flavor .blend { padding: 10px var(--pad); }
.scr--flavor .slot { gap: 5px; }
.scr--flavor .slot__disc { width: 52px; height: 52px; font-size: 19px; }
.scr--flavor .slot__x { width: 20px; height: 20px; right: -4px; top: -4px; }
.scr--flavor .h2 { padding: 20px var(--pad) 8px; }
.scr--flavor .frow { min-height: 74px; }
.scr--flavor .frow--tight { min-height: 64px; }
.scr--flavor .frow__mark { width: 36px; height: 36px; }

/* 2. Tap-to-advance variant: with no expansion step, every leaf shows its details up front. */
.bands--tap { min-height: 0; }
.bands--tap .band { min-height: 168px; }
.bands--tap .band__in { padding-top: 10px; padding-bottom: 12px; }
.bands--tap .band.on { flex-grow: 1; }
.bands--tap .band__img { filter: brightness(.62) saturate(.92); transform: none; }
.bands--tap .band.on .band__img { filter: brightness(.92) saturate(1.05); }
.bands--tap .band__more { max-height: none; opacity: 1; overflow: visible; margin-top: 6px; gap: 5px; }
.dock__hint { flex: 1; min-width: 0; height: 54px; display: grid; place-items: center; color: var(--mute); font-size: 15px; text-align: center; }

/* 3. Running summary: compact parts, wraps only at the dots, never truncates. */
.dock__txt { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.2; font-size: 16px; }

/* 4. Order sent: photograph confined to a controlled band, headline sits on near-solid ink. */
.sent__photo { height: 300px; background-position: 50% 84%; filter: brightness(1.05) saturate(1.1); }
.sent__shade { inset: 0 0 auto 0; height: 300px; background: linear-gradient(180deg, rgba(5, 7, 13, .55) 0, rgba(5, 7, 13, .1) 22%, rgba(5, 7, 13, .55) 46%, rgba(5, 7, 13, .94) 72%, var(--ink) 94%); }
.sent__body { padding-top: 96px; }
.tickring { width: 64px; height: 64px; }
.sent__body .display { text-shadow: 0 2px 20px rgba(5, 7, 13, .85); }

/* Port addition: inline text links (cap note, empty round) get a 44px hit area; padding on an inline box adds clickable area, not line height. */
.link--inline { padding: 12px 6px; margin: 0 -6px; }

/* Port addition: language selector in the table sheet (production feature) reuses the .seg component with three columns. */
.seg--3 { grid-template-columns: repeat(3, 1fr); margin: 0 0 14px; }

/* Hansum Signature: 8 house blends as full-width photo cards (16:9 source photos, object-fit: cover), same size as the leaf bands
   (height set by --menu-card-h below). Caption sits lower-left on a bottom/left shade. */
.scr--sig { padding-bottom: 20px; }
.sigs { display: flex; flex-direction: column; border-top: 1px solid var(--line-gold); }
.sig { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid var(--line-gold); isolation: isolate; background: var(--night); }
.sig__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; z-index: -2; filter: brightness(.9) saturate(1); transition: filter .4s, transform .9s var(--ease); }
.sig__shade { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(5, 7, 13, .62) 0%, rgba(5, 7, 13, .22) 46%, rgba(5, 7, 13, 0) 70%),
  linear-gradient(180deg, rgba(5, 7, 13, 0) 40%, rgba(5, 7, 13, .78) 100%); }
.sig__cap { position: absolute; left: var(--pad); bottom: 14px; max-width: 64%; display: flex; flex-direction: column; align-items: flex-start; text-shadow: 0 1px 14px rgba(5, 7, 13, .8); }
.sig__name { font-family: var(--serif); font-style: italic; font-size: clamp(24px, 7vw, 32px); line-height: 1.05; color: var(--tx); }
.sig__rule { width: 34px; height: 1px; margin: 8px 0 7px; background: linear-gradient(90deg, var(--gold), rgba(216, 181, 106, 0)); }
.sig__desc { font-size: 13.5px; line-height: 1.35; color: var(--gold-hi); letter-spacing: .01em; }
.sig__tick { position: absolute; right: 16px; top: 14px; width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: #1a1408; display: grid; place-items: center; transform: scale(0); transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.sig__tick .ic { width: 16px; height: 16px; stroke-width: 2.4; }
.sig.on .sig__tick { transform: scale(1); }
.sig.on::after { content: ""; position: absolute; inset: 0; border: 2px solid var(--gold); pointer-events: none; animation: fade .25s both; }
.sig.on .sig__img { transform: scale(1.03); filter: brightness(1); }
.sigs.pick .sig:not(.on) .sig__img { filter: brightness(.55); }
.sig:active .sig__img { filter: brightness(.72); }
@media (max-width: 360px) { .sig__cap { max-width: 72%; bottom: 10px; } .sig__desc { font-size: 12.5px; } }
/* One card size for the whole shisha menu: the 4 leaf bands and the 8 Signature blends share --menu-card-h.
   Sized for the tallest content (Hansum Signature: two-line title + notes + gauge + helper), so no card clips text;
   fixed height (not flex-grow), so every card is identical whatever the viewport height. */
:root { --menu-card-h: 208px; }
.bands--tap .band, .bands--tap .band.on { flex: 0 0 var(--menu-card-h); height: var(--menu-card-h); min-height: 0; }
.sig { aspect-ratio: auto; height: var(--menu-card-h); }
/* Signature blend captions use the leaf band's type scale and insets. */
.sig__cap { bottom: 12px; max-width: 72%; }
.sig__name { font-size: clamp(30px, 8.6vw, 38px); }
.sig__desc { font-size: 14px; }
.sig__shade { background:
  linear-gradient(90deg, rgba(5, 7, 13, .55) 0%, rgba(5, 7, 13, .18) 50%, rgba(5, 7, 13, 0) 72%),
  linear-gradient(180deg, rgba(5, 7, 13, .05) 30%, rgba(5, 7, 13, .86) 100%); }
@media (max-width: 360px) { .sig__cap { max-width: 80%; } .sig__desc { font-size: 13px; } }
@media (min-width: 700px) { .sig__name { font-size: 40px; } }
/* Tasting line under the ingredients: third in the hierarchy (name > ingredients > tasting), muted gold-grey. */
.sig__note { margin-top: 3px; font-size: 12px; line-height: 1.25; font-style: italic; letter-spacing: .015em; color: rgba(222, 208, 178, .72); }
@media (max-width: 360px) { .sig__note { font-size: 11.5px; margin-top: 2px; } }

/* ===== Languages (js/order-i18n.js) =====
   English keeps Bodoni Moda + Instrument Sans exactly as before. Other scripts switch the two font variables:
   vi / ru → Playfair Display (has Vietnamese + Cyrillic) for the voice, the phone's UI font for the work;
   ko / zh → Latin words (product names, Hansum) keep Bodoni / Instrument; Hangul / CJK fall back to the phone's own
   fonts (no web font download). */
:root:lang(vi), :root:lang(ru) {
  --serif: 'Hansum Display Intl', 'Playfair Display', 'Times New Roman', serif;
  --sans: system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans', 'Helvetica Neue', Arial, sans-serif;
}
:root:lang(ko) {
  --serif: 'Bodoni Moda', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', 'Nanum Gothic', sans-serif;
  --sans: 'Instrument Sans', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', system-ui, sans-serif;
}
:root:lang(zh) {
  --serif: 'Bodoni Moda', 'PingFang TC', 'Noto Sans TC', 'Microsoft JhengHei', 'Heiti TC', sans-serif;
  --sans: 'Instrument Sans', 'PingFang TC', 'Noto Sans TC', 'Microsoft JhengHei', system-ui, sans-serif;
}
/* Hangul / CJK have no italic and no tight display spacing: keep them upright and let them breathe */
:root:lang(ko) *, :root:lang(zh) * { font-style: normal !important; letter-spacing: 0 !important; }
:root:lang(ko) .display, :root:lang(zh) .display { font-weight: 600; line-height: 1.12; font-size: clamp(42px, 12.5vw, 60px); }
:root:lang(ko) .h1, :root:lang(zh) .h1 { font-weight: 600; line-height: 1.25; }
:root:lang(ko) body, :root:lang(ko) .shell { word-break: keep-all; overflow-wrap: break-word; }
/* prices / numbers never break inside (longer labels next to them wrap instead) */
:root:not(:lang(en)) .num, :root:not(:lang(en)) .total__n, :root:not(:lang(en)) .band__price, :root:not(:lang(en)) .cat__meta { white-space: nowrap; }
/* Longer Russian / Vietnamese words: wrap instead of overflowing, never shrink below the normal sizes */
:root:lang(ru) .shell, :root:lang(vi) .shell { overflow-wrap: break-word; hyphens: auto; }
:root:lang(ru) .display, :root:lang(vi) .display { font-size: clamp(44px, 13vw, 64px); line-height: 1; }
.btn > span, .dock__hint { overflow-wrap: anywhere; }

.top__end { display: flex; align-items: center; gap: 6px; justify-self: end; min-width: 0; }
.top__end .tab-chip { white-space: nowrap; }
.lang-chip {
  height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 0 11px;
  border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: .04em; background: rgba(5, 7, 13, .55); color: var(--tx);
}
.lang-chip .ic { width: 16px; height: 16px; color: var(--gold); }
@media (max-width: 374px) { .lang-chip .ic { display: none; } .lang-chip { padding: 0 10px; } .tab-chip { padding: 0 12px; } }
.lang-row { width: 100%; display: flex; align-items: center; gap: 12px; min-height: 56px; margin: 0 0 6px; padding: 0 2px; border-top: 1px solid var(--line); text-align: left; }
.lang-row .ic { width: 18px; height: 18px; color: var(--mute); }
.lang-row .ic:first-child { color: var(--gold); }
.lang-row__k { flex: 1; font-weight: 500; }
.lang-row__v { color: var(--mute); font-size: 14.5px; }
.langs { display: grid; gap: 8px; margin: 18px 0 8px; }
.langs__opt {
  display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding: 0 18px; border: 1px solid var(--line); border-radius: 6px;
  font-size: 18px; text-align: left; transition: background .2s, border-color .2s, color .2s;
}
.langs__opt.on { background: rgba(216, 181, 106, .14); border-color: var(--line-gold); color: var(--gold-hi); }
.langs__opt .ic { width: 20px; height: 20px; color: var(--gold); }
