/* Iki Ramen: "Matsuri at night".
   Dark, warm and lit by lanterns, with washi menu cards glowing inside it.
   Palette from the logo (ink ring, vermilion sun, 夏 seal) and the room (lanterns, noren). */
:root {
  --night: #14181C;
  --night-2: #1E2A2E;        /* logo ink */
  --night-3: #1A2024;
  --cream: #F4EAD8;          /* washi */
  --cream-2: #E7D8BC;
  --muted: #B9AE99;          /* 8:1 on night */
  --ink-soft: #5C5246;       /* 6.4:1 on cream */
  --verm: #D8482A;           /* logo sun: large decorative shapes only */
  --verm-deep: #B8361C;      /* fills with cream/white text, prices on cream (AA) */
  --verm-lit: #E25A3C;       /* red text on night (AA) */
  --gold: #F2C14E;
  --glow: #FFD98A;
  --ochre: #D99A3D;
  --navy: #1F3570;
  --pink: #E8739A;
  --matcha: #7BA05B;
  --m6: #77C695;
  --m13: #98D4E2;

  --display: 'Dela Gothic One', 'Noto Sans SC', 'Hiragino Sans', sans-serif;
  --brush: 'Yuji Syuku', 'Hiragino Mincho ProN', 'Noto Serif SC', serif;
  --body: 'Zen Kaku Gothic New', 'Noto Sans SC', 'Hiragino Sans', system-ui, sans-serif;

  --gutter: clamp(1rem, 4vw, 2.5rem);
  --max: 100%;               /* full window width (minus gutters); text blocks keep their own narrower measure */
  --nav-h: 3.75rem;
  --ease: cubic-bezier(.16, 1, .3, 1);

  /* wavy noodle lines from the logo */
  --waves: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='18' viewBox='0 0 48 18'%3E%3Cpath d='M0 5q6-5 12 0t12 0 12 0 12 0M0 13q6-5 12 0t12 0 12 0 12 0' fill='none' stroke='%23D8482A' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
  --glow-bg: radial-gradient(60rem 30rem at 80% -10%, rgba(255, 217, 138, .10), transparent 60%),
             radial-gradient(40rem 24rem at 0% 40%, rgba(216, 72, 42, .07), transparent 60%);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; } /* otherwise .btn's display: inline-flex beats the hidden attribute */
html { -webkit-text-size-adjust: 100%; font-synthesis: none; scroll-padding-top: calc(var(--nav-h) + 4.5rem); scrollbar-color: var(--verm-deep) var(--night); }
body { font-family: var(--body); font-size: 1rem; background-color: var(--night); background-image: var(--glow-bg); background-repeat: no-repeat; color: var(--cream); line-height: 1.65; overflow-x: hidden; }
html:lang(ja) body, html:lang(zh-Hans) body { line-height: 1.85; }
/* The display and body faces are Japanese: per-glyph fallback would mix Japanese and simplified forms in one line */
html:lang(zh-Hans) { --body: 'Noto Sans SC', sans-serif; --display: 'Noto Sans SC', sans-serif; }
html:lang(zh-Hans) :is(.hero h1, .sec-head h2, .page-head h1, .cat-title h2, .visit h3, .nf h1, .brand) { font-weight: 900; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, select { font: inherit; color: inherit; }
::selection { background: var(--verm-deep); color: #fff; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.num { font-variant-numeric: tabular-nums; }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 99; background: var(--gold); color: var(--night); padding: .6rem 1rem; font-weight: 700; }
.skip:focus { top: 1rem; }

.waves { height: 18px; background: var(--waves) repeat-x center / 48px 18px; opacity: .85; }

/* ---------- buttons, hanko ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 3rem; padding: .75rem 1.4rem; text-decoration: none; font-weight: 700; letter-spacing: .02em; border-radius: 3px; cursor: pointer; transition: background-color .2s, color .2s, transform .1s; }
.btn:active { transform: scale(.98); }
.btn--red { background: var(--verm-deep); color: #fff; }
.btn--red:hover { background: #a02e17; }
.btn--line { border: 2px solid var(--cream); color: var(--cream); background: none; } /* <button> gets a light UA background otherwise */
.btn--line:hover { background: var(--cream); color: var(--night); }

/* a stamped seal: slight tilt, inner rule like a hanko */
.hanko { display: inline-flex; align-items: center; font-weight: 700; font-size: .78rem; line-height: 1.2; padding: .22rem .5rem; border-radius: 4px; transform: rotate(-3deg); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .35); white-space: nowrap; }
.hanko--veg { background: none; color: #4A6A2E; box-shadow: inset 0 0 0 1.5px rgba(74, 106, 46, .55); }
.hanko--sig { background: var(--verm-deep); color: #fff; }

.status { display: inline-flex; align-items: center; gap: .6rem; padding: .35rem .8rem .35rem .4rem; border-radius: 999px; background: rgba(244, 234, 216, .1); color: var(--cream); font-size: .92rem; }
.status .mark { font-family: var(--brush); font-size: .85rem; padding: .1rem .45rem; border-radius: 3px; background: var(--muted); color: var(--night); transform: rotate(-3deg); white-space: nowrap; }
.status[data-open="true"] .mark { background: var(--gold); }

/* ---------- nav ---------- */
main { display: block; min-height: 100svh; }
.nav { min-height: var(--nav-h); position: sticky; top: 0; z-index: 30; background: rgba(20, 24, 28, .94); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(244, 234, 216, .1); }
.nav .wrap { display: flex; align-items: center; gap: .75rem; height: var(--nav-h); }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; margin-right: auto; font-family: var(--display); font-size: 1.05rem; letter-spacing: .04em; }
.brand img { height: 2.6rem; width: auto; }
.links { display: none; gap: .25rem; }
@media (min-width: 720px) { .links { display: flex; } } /* page links stay visible on mid-size windows */
.links a { text-decoration: none; font-weight: 700; padding: .55rem .85rem; border-radius: 3px; }
.links a:hover { background: rgba(244, 234, 216, .08); }
.links a[aria-current="page"] { color: var(--gold); box-shadow: inset 0 -3px 0 var(--verm); }
.lang-select { appearance: none; min-height: 2.75rem; font-weight: 700; font-size: .9rem; background: var(--cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%2314181C' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right .65rem center / .6rem; color: var(--night); border: 0; border-radius: 3px; padding: .4rem 1.8rem .4rem .75rem; cursor: pointer; }
.call { display: none; align-items: center; gap: .45rem; min-height: 2.75rem; text-decoration: none; font-weight: 700; background: var(--verm-deep); color: #fff; padding: .4rem .9rem; border-radius: 3px; }
.call:hover { background: #a02e17; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero > .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(70% 60% at 75% 35%, rgba(255, 217, 138, .16), transparent 70%),
              linear-gradient(180deg, rgba(20, 24, 28, .72) 0%, rgba(20, 24, 28, .9) 55%, var(--night) 100%); }
.hero-grid { display: grid; gap: 1.5rem; padding-block: 1.5rem 3rem; }
.hero .logo { width: 7rem; }
.hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 7.5vw, 3.9rem); line-height: 1.15; margin: 1rem 0 .8rem; text-wrap: balance; }
.hero-lede { color: var(--muted); max-width: 33rem; font-size: 1.05rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }
.hero-actions .btn { flex: 1 1 auto; white-space: nowrap; }

/* the bowl, framed by the logo's dry-brush ink ring */
.hero-bowl { position: relative; width: min(24rem, 78vw); justify-self: center; aspect-ratio: 1; }
.hero-bowl > img { position: absolute; inset: 10%; width: 80%; height: 80%; border-radius: 50%; object-fit: cover; box-shadow: 0 0 4rem rgba(255, 217, 138, .22), 0 2rem 3rem rgba(0, 0, 0, .55); }
.ink-ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.steam { position: absolute; left: 28%; right: 28%; top: -6%; height: 34%; pointer-events: none; }
.steam i { position: absolute; bottom: 0; width: 22%; height: 100%; border-radius: 50%; background: radial-gradient(closest-side, rgba(244, 234, 216, .3), transparent); filter: blur(6px); opacity: 0; animation: steam 5.5s ease-in-out infinite; }
.steam i:nth-child(1) { left: 6%; }
.steam i:nth-child(2) { left: 40%; animation-delay: 1.8s; }
.steam i:nth-child(3) { left: 72%; animation-delay: 3.6s; }
@keyframes steam { 0% { opacity: 0; transform: translateY(20%) scaleX(.8); } 35% { opacity: 1; } 100% { opacity: 0; transform: translateY(-60%) scaleX(1.4); } }

/* paper lanterns */
.lanterns { position: absolute; top: 0; right: var(--gutter); display: flex; gap: 1.4rem; z-index: -1; pointer-events: none; }
.lantern { position: relative; width: 3.4rem; padding-top: 2.4rem; transform-origin: 50% 0; animation: sway 8s ease-in-out infinite; }
.lantern:nth-child(2) { padding-top: 4.2rem; animation-delay: -2.5s; animation-duration: 7s; }
.lantern::before { content: ""; position: absolute; top: 0; left: 50%; width: 1px; height: 100%; background: rgba(244, 234, 216, .35); }
.lantern b { position: relative; display: grid; place-items: center; height: 4.4rem; border-radius: 45%; font-family: var(--brush); font-weight: 400; font-size: 1.5rem; color: var(--verm-deep);
  background: repeating-linear-gradient(180deg, transparent 0 .62rem, rgba(140, 90, 20, .25) .62rem .7rem), radial-gradient(circle at 50% 40%, #fff3c9, var(--gold) 60%, var(--ochre));
  box-shadow: 0 0 2.5rem rgba(255, 217, 138, .55); border-top: .35rem solid var(--night-2); border-bottom: .35rem solid var(--night-2); }
@keyframes sway { 0%, 100% { transform: rotate(-1.5deg); } 50% { transform: rotate(1.5deg); } }

/* ---------- sections ---------- */
.section { position: relative; padding-block: clamp(3.5rem, 8vw, 6rem); overflow: hidden; }
.section--alt { background: var(--night-3); }
.watermark { position: absolute; right: -1rem; top: 1rem; font-family: var(--brush); font-size: clamp(8rem, 26vw, 18rem); line-height: 1; color: rgba(244, 234, 216, .045); pointer-events: none; user-select: none; white-space: nowrap; }
.sec-head { position: relative; margin-bottom: 2rem; max-width: 40rem; }
.sec-head .sub { display: block; font-family: var(--brush); color: var(--gold); font-size: 1.05rem; letter-spacing: .05em; }
.sec-head h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.7rem, 4.5vw, 2.7rem); line-height: 1.25; margin-top: .2rem; text-wrap: balance; }
.sec-head p { color: var(--muted); margin-top: .6rem; }
.more { margin-top: 2rem; }

/* ---------- dish cards: washi paper glowing in the dark ---------- */
.dishes { list-style: none; display: grid; gap: 1rem; }
.dish { position: relative; display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: .9rem; height: 100%; background: var(--cream); color: var(--night); border-radius: 6px; padding: .75rem; box-shadow: 0 .6rem 1.4rem rgba(0, 0, 0, .35); }
.dish-pic { border-radius: 4px; overflow: hidden; align-self: start; background: var(--cream-2); aspect-ratio: 1; }
.dish-pic img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.dish--noimg { grid-template-columns: 1fr; }
.dish-kanji { font-family: var(--brush); color: var(--verm-deep); font-size: 1.1rem; line-height: 1.3; }
.dish-name { font-size: 1.08rem; font-weight: 700; line-height: 1.3; }
.dish-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .35rem; }
.dish-desc { font-size: .9rem; color: var(--ink-soft); margin-top: .35rem; }
.prices { display: grid; gap: .15rem; margin-top: .55rem; }
.prices div { display: flex; justify-content: space-between; align-items: baseline; gap: .8rem; border-bottom: 1px dotted rgba(92, 82, 70, .45); padding-bottom: .1rem; }
.prices dt { font-size: .85rem; color: var(--ink-soft); }
.prices dd { font-weight: 700; color: var(--verm-deep); white-space: nowrap; }
.prices .sp dt { font-weight: 700; color: var(--night); }
.extra { font-size: .8rem; color: var(--ink-soft); margin-top: .2rem; }
.allergens { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem .7rem; margin-top: .55rem; font-size: .8rem; color: var(--ink-soft); }
.allergens li { display: inline-flex; align-items: center; gap: .25rem; }
.allergens .icon { width: 1.05rem; height: 1.05rem; color: var(--night-2); }

/* street-food strip */
.strip-scroll { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(9.5rem, 11rem); gap: .9rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .8rem; scrollbar-width: thin;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 4rem), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 4rem), transparent); }
.strip-scroll li { scroll-snap-align: start; }
.street { display: block; height: 100%; text-decoration: none; background: var(--cream); color: var(--night); border-radius: 6px; padding: .55rem; transition: background-color .2s; }
.street:hover { background: #fffaf0; }
.street img { border-radius: 4px; aspect-ratio: 1; object-fit: cover; mix-blend-mode: multiply; }
.street .k { display: block; font-family: var(--brush); color: var(--verm-deep); margin-top: .4rem; font-size: .95rem; }
.street .n { display: block; font-weight: 700; line-height: 1.3; }
.street .p { display: block; color: var(--verm-deep); font-weight: 700; font-size: .92rem; }

/* the room */
.room { position: relative; display: grid; gap: 2rem; align-items: center; }
.room img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, .45); }

/* ---------- visit ---------- */
.visit { position: relative; display: grid; gap: 2.5rem; }
.visit h3 { font-family: var(--display); font-weight: 400; font-size: 1.25rem; margin-bottom: .9rem; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { padding: .65rem .4rem; border-bottom: 1px solid rgba(244, 234, 216, .14); text-align: left; font-weight: 400; vertical-align: top; }
.hours td { text-align: right; }
.hours tr[data-today] { background: rgba(242, 193, 78, .1); }
.hours tr[data-today] th, .hours tr[data-today] td { color: var(--gold); font-weight: 700; }
.hours .today { margin-left: .5rem; font-size: .75rem; padding: .05rem .4rem; border-radius: 3px; background: var(--gold); color: var(--night); }
.note { margin-top: 1rem; color: var(--muted); font-size: .92rem; }
.contact { list-style: none; display: grid; gap: .9rem; }
.contact li { display: flex; gap: .75rem; align-items: flex-start; }
.contact .icon { color: var(--gold); margin-top: .25rem; }
.contact a { text-underline-offset: .2em; }
.line { display: inline-grid; place-items: center; min-width: 1.6rem; height: 1.6rem; padding-inline: .3rem; border-radius: 50%; font-weight: 700; font-size: .85rem; line-height: 1; color: var(--night); margin-right: .3rem; }
.line--6 { background: var(--m6); }
.line--13 { background: var(--m13); }
.map { display: block; width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: 6px; filter: grayscale(.4) contrast(1.05); background: var(--night-2); margin-top: 1.4rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.4rem; }

/* ---------- page head (menu, infos) ---------- */
.page-head { position: relative; padding-block: clamp(1.5rem, 3vw, 2.5rem) 1.2rem; overflow: hidden; }
.page-head .sub { font-family: var(--brush); color: var(--gold); letter-spacing: .05em; }
.page-head h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2.1rem, 6vw, 3.2rem); line-height: 1.15; margin: .1rem 0 .5rem; }
.page-head p { color: var(--muted); max-width: 38rem; }
.page-head .status { margin-top: .7rem; }

/* ---------- noren tabs ---------- */
.noren { position: sticky; top: var(--nav-h); z-index: 20; background: rgba(20, 24, 28, .96); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(244, 234, 216, .08); }
.noren ul { list-style: none; display: flex; gap: .35rem; overflow-x: auto; scrollbar-width: none; }
.noren ul::-webkit-scrollbar { display: none; }
.noren a { display: flex; align-items: flex-start; justify-content: center; min-height: 3.3rem; min-width: 5.5rem; padding: .55rem .9rem 1.1rem; text-decoration: none; font-weight: 700; font-size: .92rem; white-space: nowrap;
  background: var(--cream); color: var(--night); border-top: .3rem solid var(--navy);
  /* the slit of a noren curtain */
  clip-path: polygon(0 0, 100% 0, 100% 100%, 51.5% 100%, 51.5% 74%, 48.5% 74%, 48.5% 100%, 0 100%); transition: background-color .2s, color .2s; }
.noren a:hover { background: #fff; }
.noren a:focus-visible { outline-offset: -4px; outline-color: var(--navy); }
.noren a[aria-current="true"] { background: var(--verm-deep); color: #fff; border-top-color: var(--gold); }
.cat { scroll-margin-top: calc(var(--nav-h) + 4.5rem); padding-top: 2.5rem; }
.cat:first-child { padding-top: 1.4rem; }
.cat-title { display: flex; align-items: baseline; gap: .8rem; margin-bottom: 1rem; }
.cat-title h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.5rem, 4vw, 2.1rem); line-height: 1.25; }
.cat-title .ja { font-family: var(--brush); color: var(--gold); font-size: 1.2rem; }
.menu-note { color: var(--muted); font-size: .9rem; margin-top: 2.5rem; }

/* ---------- footer ---------- */
.footer { padding-block: 2.4rem 2.8rem; border-top: 1px solid rgba(244, 234, 216, .08); }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 1.2rem 3rem; align-items: center; }
.footer img { height: 5rem; width: auto; }
.footer p { color: var(--muted); font-size: .92rem; }
.footer .right { margin-left: auto; }

/* ---------- 404: a lantern gone out ---------- */
/* ---------- gachapon ---------- */
.g-grid { display: grid; gap: 2.5rem; align-items: start; }
.g-stage { position: relative; width: min(22rem, 78vw); justify-self: center; }
.g-machine { display: block; width: 100%; height: auto; filter: drop-shadow(0 1.5rem 2rem rgba(0, 0, 0, .5)); }
.g-drop { position: absolute; left: 56%; top: 76.5%; width: 18.6%; pointer-events: none; } /* sits on the chute of the SVG (x168–224, y322 of 300×420) */
.g-ball { display: block; width: 100%; height: auto; }
.g-stage.is-3d { width: min(30rem, 92vw); }
.g-stage.is-3d > .g-machine, .g-stage.is-3d > .g-drop { display: none; }
.g-canvas { display: block; touch-action: pan-y; }
.g-stage.is-3d .g-canvas { /* only the outer edges fade into the page, no vignette */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent), linear-gradient(transparent, #000 8%, #000 88%, transparent); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent), linear-gradient(transparent, #000 8%, #000 88%, transparent); mask-composite: intersect; }
.g-side { display: grid; gap: 1.1rem; max-width: 34rem; }
.g-form { display: grid; gap: .7rem; }
.g-form > label { font-weight: 700; }
.g-form input[type="email"] { min-height: 3rem; padding: .6rem .8rem; font: inherit; color: var(--cream); background: var(--night-2); border: 2px solid var(--muted); border-radius: 3px; }
.g-form input[type="email"]:focus-visible { border-color: var(--gold); }
.g-form > .g-consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; font-weight: 400; color: var(--muted); cursor: pointer; }
.g-consent input { flex: none; width: 1.3rem; height: 1.3rem; margin-top: .15rem; accent-color: var(--gold); }
.g-error { min-height: 1.3em; color: var(--verm-lit); font-weight: 700; font-size: .92rem; }
.g-spin { justify-self: start; }
.g-spin:disabled { opacity: .7; cursor: progress; }
.g-note { color: var(--gold); font-weight: 700; }
/* game picker (gacha.html) */
.g-games { display: grid; gap: .6rem; margin-bottom: 1.6rem; }
.g-games-h { margin: 0; font-weight: 700; }
.g-game { display: grid; gap: .15rem; text-align: left; padding: .8rem 1rem; border: 1px solid rgba(244, 234, 216, .25); border-radius: 6px; background: none; color: inherit; font: inherit; cursor: pointer; }
.g-game span { font-size: .9rem; opacity: .75; }
.g-game[aria-pressed="true"] { border-color: var(--gold); background: rgba(242, 193, 78, .1); }
.g-game:disabled { cursor: default; opacity: .6; }
.g-game:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.g-dev { margin-top: 1rem; }
.g-ticket { display: grid; gap: .35rem; background: var(--cream); color: var(--night); padding: 1.3rem 1.3rem 1.7rem; border-top: .6rem solid var(--cap, var(--gold)); border-radius: 4px 4px 0 0;
  -webkit-mask: radial-gradient(circle at 50% 100%, transparent .35rem, #000 .37rem) bottom / 1rem 100% repeat-x; mask: radial-gradient(circle at 50% 100%, transparent .35rem, #000 .37rem) bottom / 1rem 100% repeat-x; }
.g-ticket--lost { border-top-color: var(--muted); }
.g-big { font-family: var(--display); font-size: 1.9rem; line-height: 1.2; }
.g-prize { font-size: 1.2rem; font-weight: 700; }
.g-code-l { margin-top: .5rem; font-size: .85rem; color: var(--ink-soft); }
.g-code { font-size: 1.7rem; font-weight: 700; letter-spacing: .12em; color: var(--verm-deep); }
.g-small { font-size: .85rem; color: var(--ink-soft); }
.g-rules { font-size: .82rem; color: var(--muted); }
.g-lots { margin-bottom: .4rem; }
.g-lots ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.g-lots li { display: flex; align-items: center; gap: .65rem; line-height: 1.35; }
.g-dot { flex: none; width: 1.05rem; height: 1.05rem; border-radius: 50%; border: 2px solid rgba(244, 234, 216, .7); background: linear-gradient(var(--c) 50%, #FFF8EC 50%); } /* a capsule in the prize's colour */
.g-review { font-size: .9rem; color: var(--muted); }
.g-review { display: grid; gap: .5rem; justify-items: start; margin-top: 1.2rem; padding: 1.1rem 1.2rem; border: 1px solid rgba(244, 234, 216, .18); border-radius: 4px; }
.g-review-h { font-weight: 700; color: var(--cream); font-size: 1.05rem; }
.g-dialog { width: min(26rem, calc(100vw - 2rem)); margin: auto; padding: 1.5rem; border: 0; border-radius: 6px; background: var(--night-2); color: var(--cream); box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, .6); }
.g-dialog::backdrop { background: rgba(10, 12, 14, .99); }
.g-dialog p { color: var(--muted); margin-top: .4rem; }
.g-dialog .g-review-h { margin-top: 0; font-family: var(--display); font-weight: 400; font-size: 1.5rem; line-height: 1.25; color: var(--cream); }
.g-dialog-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.2rem; }
.g-qr { width: min(13rem, 70%); margin: .6rem 0 .2rem; padding: .5rem; background: #fff; border-radius: 4px; }
.g-qr svg { display: block; width: 100%; height: auto; }
/* loyalty card (fidelite.html) */
.f-wrap { display: grid; gap: 1.6rem; max-width: 62rem; }
/* inventory of cards: a swipeable strip on phones, a column left of the card on wide screens */
.f-layout { display: grid; gap: 1.4rem; }
.f-main { display: grid; gap: 1.6rem; min-width: 0; }
.f-inv { min-width: 0; }
.f-inv ul { list-style: none; margin: 0; padding: 0 0 .4rem; display: flex; gap: .7rem; overflow-x: auto; scroll-snap-type: x mandatory; }
.f-inv li { flex: 0 0 9.5rem; scroll-snap-align: start; }
.f-pick { width: 100%; display: grid; gap: .3rem; padding: .6rem; border: 2px solid transparent; border-radius: 6px; background: var(--cream); color: var(--night); font: inherit; text-align: left; cursor: pointer; opacity: .72; transition: opacity .15s, border-color .15s; }
.f-pick:hover, .f-pick[aria-pressed="true"] { opacity: 1; }
.f-pick[aria-pressed="true"] { border-color: var(--gold); }
.f-pick:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.f-pick-t { font-weight: 700; font-size: .9rem; }
.f-pick small { color: var(--ink-soft); font-size: .78rem; }
.f-stamps.f-mini { gap: 2px; }
@media (min-width: 900px) {
  .f-layout { grid-template-columns: 12rem minmax(0, 1fr); align-items: start; }
  .f-inv ul { flex-direction: column; overflow: visible; max-height: calc(100vh - 9rem); overflow-y: auto; }
  .f-inv li { flex: none; }
}
.f-body { display: grid; gap: 1.6rem; }
.f-body:empty { display: none; }
.f-card { display: grid; gap: 1rem; padding: clamp(.8rem, 3vw, 1.6rem); background: var(--cream); color: var(--night); border-top: .6rem solid var(--verm-deep); border-radius: 6px; }
.f-card-top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-size: .9rem; color: var(--ink-soft); }
.f-brand { font-family: var(--display); color: var(--night); letter-spacing: .04em; }
.f-stamps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(.4rem, 2vw, 1rem) clamp(.15rem, 1.2vw, .8rem); }
.f-stamp { display: grid; justify-items: center; align-content: start; gap: .25rem; }
.f-ink { display: block; width: 100%; height: auto; aspect-ratio: 1; mix-blend-mode: multiply; }
.f-ghost { filter: grayscale(1); opacity: .16; }
.f-stamp.is-gift .f-ghost { opacity: .32; }
.f-season { font-weight: 700; white-space: nowrap; }
.f-gift { font-size: .72rem; font-weight: 700; color: var(--verm-deep); }
.f-count { margin: 0; }
.f-qr-row { display: flex; align-items: center; gap: 1rem; }
.f-qr-row .g-qr { flex: none; width: 7.5rem; margin: 0; padding: .35rem; }
.f-h2 { margin: 0 0 .5rem; font-family: var(--display); font-weight: 400; font-size: 1.35rem; line-height: 1.25; }
.f-hist ul { margin: .3rem 0 .5rem; padding-left: 1.2rem; display: grid; gap: .25rem; }
.f-muted { color: var(--muted); font-size: .92rem; }
.f-steps { margin: 0; padding-left: 1.3rem; display: grid; gap: .35rem; }
.f-done { font-weight: 700; color: var(--gold); }
.f-link { padding: 0; border: 0; background: none; color: var(--muted); font: inherit; font-size: .9rem; text-decoration: underline; cursor: pointer; }
.f-flash { margin: 0; font-weight: 700; color: #9BC27A; }
.f-flash:empty { display: none; }
/* staff validation page */
.v-wrap { max-width: 34rem; }
.v-h1 { font-family: var(--display); font-weight: 400; font-size: clamp(1.8rem, 6vw, 2.6rem); line-height: 1.2; margin: .2rem 0 1.2rem; }
.v-card { display: grid; gap: .5rem; padding: 1.4rem; border-radius: 6px; background: var(--night-2); border-left: .5rem solid var(--muted); }
.v-ok { border-left-color: var(--matcha); } .v-bad { border-left-color: var(--verm-lit); }
.v-big { font-family: var(--display); font-size: 2rem; line-height: 1.2; }
.v-ok .v-big { color: #9BC27A; } .v-bad .v-big { color: var(--verm-lit); }
.v-prize { font-size: 1.2rem; font-weight: 700; }
.v-form { display: grid; gap: .6rem; margin-top: 1rem; }
.v-card, .v-form { grid-template-columns: minmax(0, 1fr); } /* a long e-mail must not widen the PIN field and button past the screen */
.v-card p { overflow-wrap: anywhere; }
.v-form input { min-height: 3rem; padding: .6rem .8rem; font: inherit; font-size: 1.2rem; letter-spacing: .3em; color: var(--cream); background: var(--night); border: 2px solid var(--muted); border-radius: 3px; }
/* customer search with suggestions: till (caisse.html) and admin Clients tab */
.c-wrap { max-width: 40rem; }
.c-search { display: grid; gap: .4rem; margin-bottom: 1.2rem; }
.c-search label { font-weight: 700; }
.c-combo { position: relative; }
.c-combo input { width: 100%; min-height: 3rem; padding: .6rem .8rem; font: inherit; font-size: 1.1rem; color: var(--cream); background: var(--night); border: 2px solid var(--muted); border-radius: 3px; }
.c-combo input:focus-visible { outline: 3px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
.c-list { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + .3rem); max-height: 21rem; overflow-y: auto; margin: 0; padding: .3rem; list-style: none; background: var(--night-2); border: 1px solid rgba(244, 234, 216, .25); border-radius: 6px; box-shadow: 0 .8rem 2rem rgba(0, 0, 0, .5); }
.c-list li { display: grid; gap: .15rem; padding: .65rem .75rem; border-radius: 4px; cursor: pointer; overflow-wrap: anywhere; }
.c-list li:hover, .c-list li[aria-selected="true"] { background: rgba(242, 193, 78, .16); }
.c-list mark { background: none; color: var(--gold); }
.c-list span { font-size: .82rem; color: var(--muted); }
.c-hint { margin: 0; min-height: 1.3em; font-size: .85rem; color: var(--muted); }
.c-client { gap: .6rem; overflow-wrap: anywhere; }
.c-h { margin: .7rem 0 0; font-size: 1rem; font-weight: 700; color: var(--gold); }
.c-acts { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem; }
.c-coupons { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.c-cp { display: grid; gap: .35rem; padding: .7rem .85rem; border-left: .3rem solid var(--muted); border-radius: 3px; background: var(--night); }
.c-cp.is-valide { border-left-color: var(--matcha); }
.c-cp:not(.is-valide) { opacity: .72; }
.c-cp .btn { justify-self: start; }
/* admin: prizes editor */
.a-wrap { max-width: 56rem; }
.a-login { max-width: 26rem; }
.a-login input, .a-lot input[type="text"], .a-lot input[type="number"] { min-height: 2.75rem; padding: .5rem .7rem; font: inherit; color: var(--cream); background: var(--night); border: 2px solid var(--muted); border-radius: 3px; width: 100%; }
.a-games { display: grid; gap: .5rem; margin: 0 0 1.4rem; padding: 1rem 1.2rem; border: 1px solid rgba(244, 234, 216, .25); border-radius: 6px; }
.a-games legend { font-weight: 700; padding: 0 .4rem; }
.a-env { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.2rem; }
.a-env .is-on { background: var(--cream); color: var(--night); }
.a-total { font-weight: 700; color: #9BC27A; margin-bottom: 1rem; }
.a-total.is-bad { color: var(--verm-lit); }
.a-ok { padding: .7rem 1rem; margin-bottom: 1rem; border-left: .4rem solid var(--matcha); background: var(--night-2); }
.a-lots { display: grid; gap: 1rem; }
.a-lot { display: grid; gap: .8rem; padding: 1rem 1.1rem 1.2rem; border: 1px solid rgba(244, 234, 216, .18); border-radius: 6px; background: var(--night-2); }
.a-lot.is-off { opacity: .55; }
.a-lot legend { display: flex; align-items: center; gap: .6rem; padding: 0 .4rem; font-weight: 700; }
.a-lot legend code { font-size: .8rem; color: var(--muted); }
.a-cap { width: 1.1rem; height: 1.1rem; border-radius: 50%; border: 2px solid var(--cream); flex: none; }
.a-lot label { display: grid; gap: .25rem; font-size: .88rem; color: var(--muted); }
.a-row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: end; }
.a-row label { flex: 1 1 9rem; }
.a-check { display: flex !important; grid-auto-flow: column; align-items: center; gap: .5rem; color: var(--cream) !important; font-weight: 700; }
.a-check input { width: 1.3rem; height: 1.3rem; accent-color: var(--gold); }
.a-lot input[type="color"] { width: 100%; min-height: 2.75rem; padding: .2rem; background: var(--night); border: 2px solid var(--muted); border-radius: 3px; }
.a-labels { display: grid; gap: .7rem; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); }
.a-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.2rem; }
.a-help { margin-top: 1rem; font-size: .88rem; color: var(--muted); }
@media (min-width: 900px) { .g-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 4rem; } .g-stage { justify-self: end; } }

.nf { min-height: 65svh; display: grid; place-items: center; text-align: center; padding: 3rem 1rem; }
.nf .lantern { display: block; animation: none; margin: 0 auto 1.5rem; width: 4.5rem; padding-top: 2rem; transform: rotate(8deg); }
.nf .lantern b { height: 5.8rem; font-size: 2rem; color: #8a8070; background: repeating-linear-gradient(180deg, transparent 0 .8rem, rgba(0, 0, 0, .25) .8rem .9rem), radial-gradient(circle at 50% 40%, #5a564d, #3a3833); box-shadow: none; }
.nf h1 { font-family: var(--display); font-weight: 400; font-size: clamp(1.6rem, 5vw, 2.4rem); margin-bottom: 1.6rem; }
.nf .k { font-family: var(--brush); color: var(--muted); font-size: 1.2rem; letter-spacing: .05em; }

/* ---------- mobile bottom bar: Carte · Horaires · Itinéraire · Appeler ---------- */
.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: repeat(4, 1fr); background: rgba(30, 42, 46, .97); backdrop-filter: blur(8px); padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid rgba(244, 234, 216, .12); }
.bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem; min-height: 3.6rem; text-decoration: none; font-size: .74rem; font-weight: 700; line-height: 1.2; text-align: center; padding: .3rem .2rem; }
.bar a[aria-current="page"] { color: var(--gold); }
.bar .call-cta { background: var(--verm-deep); color: #fff; }
.bar .icon { width: 1.35rem; height: 1.35rem; }
body { padding-bottom: calc(3.6rem + env(safe-area-inset-bottom)); }

/* ---------- larger screens ---------- */
@media (min-width: 640px) {
  .dishes { grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: 1.2rem; }
  .dish { grid-template-columns: 1fr; align-content: start; padding: .8rem .8rem 1rem; }
  .dishes--drinks { grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); }
  .visit { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .hero-actions .btn { flex: 0 0 auto; }
}
@media (min-width: 900px) {
  .links, .call { display: flex; }
  .bar { display: none; }
  body { padding-bottom: 0; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; min-height: min(46rem, calc(100svh - var(--nav-h))); padding-block: 3rem; }
  .hero .logo { width: 9rem; }
  .hero-bowl { width: min(30rem, 42vw); }
  .room { grid-template-columns: 1.2fr 1fr; gap: 4rem; }
  .visit { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .dishes--sig { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 899px) {
  .hero-bowl { order: -1; width: min(19rem, 72vw); }
  .hero .logo, .lanterns { display: none; }
  .hero h1 { margin-top: 0; }
  .footer .right { margin-left: 0; }
}
@media (max-width: 420px) { .brand span { display: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .steam { display: none; }
}

/* legal.html */
.legal .wrap { max-width: 46rem; }
.legal h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.4rem, 4vw, 1.8rem); margin: 2.2rem 0 .6rem; }
.legal h3 { font-size: 1.05rem; margin: 1.3rem 0 .3rem; }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 1.2rem; display: grid; gap: .35rem; }
.page-head .g-slogan { color: var(--gold); font-weight: 700; font-size: 1.15rem; margin-bottom: .3rem; }
