/* «Li-On суши» — polar-expedition skin. Light «снег» by default, «полярная ночь» in dark mode. */
:root {
  --snow: #F4F2EC;
  --paper: #FFFDF8;
  --ink: #0F1B2D;
  --ink-2: #4A5568;
  --ink-3: #8A94A6;
  --line: rgba(15, 27, 45, .10);
  --salmon: #F2643D;
  --salmon-2: #FF8A5C;
  --ice: #DDEBEA;
  --aurora-1: #2BB39B;
  --aurora-2: #7BD389;
  --aurora-3: #3C7DD9;
  --gold: #F5B43C;
  --card: var(--paper);
  --shadow: 0 1px 1px rgba(15, 27, 45, .04), 0 6px 14px -8px rgba(15, 27, 45, .10), 0 22px 40px -24px rgba(15, 27, 45, .32);
  --shadow-lift: 0 2px 2px rgba(15, 27, 45, .04), 0 12px 24px -10px rgba(15, 27, 45, .16), 0 34px 60px -30px rgba(15, 27, 45, .42);
  --edge: rgba(15, 27, 45, .05);
  --ease-out: cubic-bezier(.22, 1, .36, 1);      /* expo-out */
  --ease-quart: cubic-bezier(.25, 1, .5, 1);    /* quart-out */
  --ease-in: cubic-bezier(.7, 0, .84, 0);       /* expo-in */
  --ease-io: cubic-bezier(.87, 0, .13, 1);      /* expo-in-out */
  --r: 22px;
  --safe-top: 0px;
  --safe-bottom: 0px;
  --display: "Dela Gothic One", "Onest", system-ui, sans-serif;
  --body: "Onest", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  color-scheme: light;
}
html.night {
  --snow: #0B1320;
  --paper: #131E30;
  --ink: #EEF3F8;
  --ink-2: #B4C0D3;
  --ink-3: #7385A0;
  --line: rgba(238, 243, 248, .10);
  --ice: #1A2A40;
  --card: #121D2E;
  --shadow: 0 1px 0 rgba(255, 255, 255, .03) inset, 0 8px 18px -10px rgba(0, 0, 0, .5), 0 24px 44px -24px rgba(0, 0, 0, .9);
  --shadow-lift: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 14px 28px -12px rgba(0, 0, 0, .6), 0 36px 64px -30px rgba(0, 0, 0, .95);
  --edge: rgba(160, 200, 230, .08);
  color-scheme: dark;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--snow); color: var(--ink); }
body { font-family: var(--body); font-size: 15px; line-height: 1.4; overflow-x: hidden; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-feature-settings: "ss01", "cv11"; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
input, textarea { font: inherit; font-size: 16px; color: var(--ink); }
.hidden { display: none !important; }

/* ------------------------------------------------------------------ sky */
.sky { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.aurora { position: absolute; width: 90vw; height: 46vw; min-height: 240px; border-radius: 50%;
  filter: blur(48px); opacity: .42; animation: drift 23.4s ease-in-out infinite alternate; }
html.night .aurora { opacity: .5; }
.a1 { background: var(--aurora-1); top: -12vw; left: -20vw; }
.a2 { background: var(--aurora-2); top: -4vw; right: -30vw; animation-duration: 29.9s; animation-delay: -6s; }
.a3 { background: var(--aurora-3); top: 10vw; left: 20vw; opacity: .22; animation-duration: 37.7s; }
@keyframes drift {
  0% { transform: translate3d(0, 0, 0) rotate(-8deg) scaleX(1); }
  50% { transform: translate3d(8vw, 3vw, 0) rotate(4deg) scaleX(1.25); }
  100% { transform: translate3d(-6vw, 6vw, 0) rotate(-2deg) scaleX(.9); }
}
.contours { position: absolute; left: 0; right: 0; top: 60px; width: 100%; height: 520px; color: var(--ink); opacity: .07; }
.snow { position: absolute; inset: 0; opacity: 0; transition: opacity 1.45s; }
html.night .snow { opacity: 1; background-image:
  radial-gradient(1.5px 1.5px at 20% 30%, #fff 50%, transparent 51%),
  radial-gradient(1px 1px at 70% 20%, #fff 50%, transparent 51%),
  radial-gradient(1.2px 1.2px at 40% 70%, #fff 50%, transparent 51%),
  radial-gradient(1px 1px at 85% 60%, #fff 50%, transparent 51%),
  radial-gradient(1.4px 1.4px at 10% 85%, #fff 50%, transparent 51%);
  background-size: 260px 260px; animation: fall 39.0s linear infinite; }
@keyframes fall { to { background-position: 40px 520px, -30px 520px, 20px 520px, -10px 520px, 30px 520px; } }

#app { position: relative; z-index: 1; padding: calc(var(--safe-top) + 10px) 16px calc(var(--safe-bottom) + 110px); max-width: 560px; margin: 0 auto; }

/* ------------------------------------------------------------------ header */
.top { display: flex; align-items: center; justify-content: space-between; padding: 4px 2px 8px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark { position: relative; width: 44px; height: 44px; flex: none; display: grid; place-items: center; margin: -3px -2px -3px -4px; }
.logo-mark::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(255, 168, 80, .55), rgba(242, 100, 61, 0) 70%); filter: blur(6px); opacity: .55;
  animation: lmHalo 7.15s ease-in-out 2.03s infinite; }
.logo-mark svg { width: 100%; height: 100%; overflow: visible; }
.lm-mane, .lm-face, .lm-volcano, .ray, .lm-sun, .lm-aur, .lm-aur2 { transform-box: view-box; transform-origin: 32px 32px; }
.lm-mane { animation: lmBreathe 9.1s ease-in-out 2.17s infinite; }
.ray { animation: lmRay 1.3s var(--ease-out) both; animation-delay: calc(348ms + var(--i) * 34ms); }
.lm-face { animation: lmFace 1.16s var(--ease-out) .05s both; }
.lm-volcano { transform-origin: 32px 52px; animation: lmRise 1.45s var(--ease-out) 0.51s both; }
.lm-sun { transform-origin: 32px 35px; animation: lmSunUp 1.59s var(--ease-out) 1.01s both, lmSunPulse 4.68s ease-in-out 2.61s infinite; }
.lm-aur { stroke-dasharray: 60; animation: lmDraw 2.03s var(--ease-out) 0.87s both, lmAur 7.8s ease-in-out 2.6s infinite; }
.lm-aur2 { stroke-dasharray: 60; animation: lmDraw 2.32s var(--ease-out) 1.16s both, lmAur 9.75s ease-in-out 3.38s infinite reverse; }
.lm-lava { animation: lmLava 3.12s ease-in-out infinite; }
@keyframes lmRay { from { transform: scale(.7) rotate(-14deg); opacity: 0; } }
@keyframes lmFace { from { transform: scale(.2); opacity: 0; } }
@keyframes lmRise { from { transform: translateY(14px); } }
@keyframes lmSunUp { from { transform: translateY(8px); opacity: 0; } }
@keyframes lmSunPulse { 50% { transform: scale(1.18); } }
@keyframes lmDraw { from { stroke-dashoffset: 60; } }
@keyframes lmAur { 50% { transform: translateY(-1.4px) scaleX(1.06); opacity: .65; } }
@keyframes lmLava { 50% { opacity: .45; } }
@keyframes lmBreathe { 0%, 100% { transform: rotate(0) scale(1); } 50% { transform: rotate(11.25deg) scale(1.045); } }
@keyframes lmHalo { 50% { opacity: .95; transform: scale(1.15); } }
.logo-word { font-family: var(--display); font-size: 22px; letter-spacing: .02em; line-height: 1; display: flex; flex-direction: column; }
.lw { display: inline-flex; align-items: center; overflow: hidden; padding: 2px 0 1px; }
.lw i { font-style: normal; display: inline-block; animation: lwIn 1.16s var(--ease-out) both; animation-delay: calc(551ms + var(--i) * 55ms); }
.lw-dot { width: 7px; height: 7px; margin: 0 3px 0 4px; border-radius: 2px; transform: rotate(45deg); flex: none;
  background: linear-gradient(135deg, var(--gold), var(--salmon)); box-shadow: 0 0 10px rgba(242, 100, 61, .55);
  animation: lwDot 1.3s var(--ease-out) 0.72s both; }
@keyframes lwIn { from { transform: translateY(105%); opacity: 0; } }
@keyframes lwDot { from { transform: rotate(-135deg) scale(0); } }
.logo-word small { font-family: var(--body); font-size: 10.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); margin-top: 4px;
  animation: fadeUp 1.16s var(--ease-out) 1.01s both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } }
.aurora-chip { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; gap: 6px;
  padding: 9px 14px; border-radius: 999px; background: var(--ink); color: var(--snow); font-weight: 600; }
.aurora-chip b { font-family: var(--mono); }
.ac-glow { position: absolute; z-index: -1; inset: -60%; opacity: .75;
  background: conic-gradient(from 0deg, transparent 0 40%, var(--aurora-1), var(--aurora-2), transparent 80%); animation: spin 5.2s linear infinite; }
.aurora-chip::after { content: ""; position: absolute; z-index: -1; inset: 2px; border-radius: 999px; background: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }
.aurora-chip.bump { animation: bump 0.87s cubic-bezier(.16, 1, .3, 1); }
@keyframes bump { 40% { transform: scale(1.15); } }

/* ------------------------------------------------------------------ hero */
.hero { --p: 0; position: relative; isolation: isolate; margin-top: 10px; min-height: 330px; border-radius: 32px; padding: 24px 20px;
  background: linear-gradient(162deg, #16304A 0%, #0F1B2D 52%, #173847 100%); color: #F4F2EC; overflow: hidden;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 34px 60px -32px rgba(15, 27, 45, .7); animation: heroIn 1.59s var(--ease-out) .1s both; }
html.night .hero { box-shadow: 0 0 0 1px rgba(160, 200, 230, .08) inset, 0 34px 70px -30px rgba(0, 0, 0, .95); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(120% 60% at 80% 0%, rgba(43, 179, 155, .5), transparent 60%),
  radial-gradient(80% 50% at 15% 0%, rgba(123, 211, 137, .3), transparent 60%),
  radial-gradient(70% 50% at 90% 100%, rgba(242, 100, 61, .22), transparent 70%);
  animation: shimmer 11.7s ease-in-out infinite alternate; }
@keyframes shimmer { to { opacity: .6; transform: translateX(-5%); } }
@keyframes heroIn { from { opacity: 0; transform: translateY(22px) scale(.97); clip-path: inset(8% 4% 0 4% round 32px); } }
/* aurora ribbons: three blurred bands that drift and breathe */
.hero-aurora { position: absolute; inset: -20% -30% 30%; z-index: -1; filter: blur(22px); mix-blend-mode: screen; opacity: .85;
  transform: translate3d(0, calc(var(--p) * 40px), 0); }
.hero-aurora i { position: absolute; left: 0; right: 0; height: 34%; border-radius: 50%;
  background: linear-gradient(90deg, transparent, rgba(123, 211, 137, .55) 30%, rgba(43, 179, 155, .7) 55%, rgba(60, 125, 217, .5) 80%, transparent);
  animation: ribbon 18.2s ease-in-out infinite alternate; }
.hero-aurora i:nth-child(1) { top: 18%; transform: rotate(-9deg); }
.hero-aurora i:nth-child(2) { top: 34%; opacity: .55; animation-duration: 24.7s; animation-delay: -5s; }
.hero-aurora i:nth-child(3) { top: 8%; opacity: .4; height: 22%; animation-duration: 29.9s; animation-delay: -11s;
  background: linear-gradient(90deg, transparent, rgba(255, 138, 92, .35) 40%, rgba(245, 180, 60, .25) 60%, transparent); }
@keyframes ribbon {
  0% { transform: translate3d(-12%, 0, 0) rotate(-10deg) scaleY(.8); }
  50% { transform: translate3d(6%, 10%, 0) rotate(-3deg) scaleY(1.3); }
  100% { transform: translate3d(14%, -4%, 0) rotate(-12deg) scaleY(.9); }
}
.hero-stars { position: absolute; inset: 0 0 40%; z-index: -1; opacity: .7; transform: translate3d(0, calc(var(--p) * 18px), 0); background-image:
  radial-gradient(1.2px 1.2px at 12% 22%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 34% 12%, #fff 50%, transparent 51%),
  radial-gradient(1.4px 1.4px at 58% 30%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 72% 8%, #fff 50%, transparent 51%),
  radial-gradient(1px 1px at 90% 26%, #fff 50%, transparent 51%), radial-gradient(1.3px 1.3px at 46% 46%, #fff 50%, transparent 51%);
  animation: twinkle 5.2s ease-in-out infinite alternate; }
@keyframes twinkle { to { opacity: .3; } }
.hero-ridge { position: absolute; left: -2px; right: -2px; bottom: -1px; width: calc(100% + 4px); height: 78px; z-index: 2; pointer-events: none; }
.hero-ridge.r1 { z-index: 1; height: 96px; bottom: 6px; fill: rgba(221, 235, 234, .12); transform: translate3d(0, calc(var(--p) * -14px), 0); }
.hero-ridge.r2 { fill: var(--snow); filter: drop-shadow(0 -6px 12px rgba(15, 27, 45, .18)); }
.hero-text { position: relative; z-index: 2; max-width: 80%; transform: translate3d(0, calc(var(--p) * 26px), 0); opacity: calc(1 - var(--p) * .7); }
.hero-text > * { animation: fadeUp 1.3s var(--ease-out) both; }
.hero-text .eyebrow { animation-delay: 0.51s; } .hero-text h1 { animation-delay: 0.65s; } .hero-text .hero-sub { animation-delay: 0.87s; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--aurora-2); }
.eyebrow::before { content: ""; width: 18px; height: 1.5px; border-radius: 2px; background: currentColor; opacity: .8; }
.hero h1 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 31px; text-shadow: 0 2px 18px rgba(15, 27, 45, .6); line-height: 1.02; letter-spacing: .005em; }
.hero h1 em { font-style: normal; color: var(--salmon-2); }
.hero-sub { margin: 14px 0 0; font-size: 13px; line-height: 1.45; color: rgba(244, 242, 236, .74); max-width: 54%; }
.hero-art { position: absolute; z-index: 3; right: -16px; bottom: 18px; width: 184px; height: 184px;
  translate: 0 calc(var(--p) * -30px); transition: transform 0.87s var(--ease-out); will-change: transform; filter: drop-shadow(0 22px 22px rgba(0, 0, 0, .45)); }
.hero-art svg { width: 100%; height: 100%; animation: artIn 1.74s var(--ease-out) 0.72s both, floaty 9.1s ease-in-out 2.46s infinite; }
@keyframes artIn { from { transform: translateY(18px) rotate(-8deg) scale(.88); opacity: 0; } }
@keyframes floaty { 50% { transform: translateY(-8px) rotate(3deg); } }
.hero-stamp { position: absolute; z-index: 2; right: 14px; top: 14px; width: 74px; height: 74px; display: grid; place-items: center; opacity: .85; animation: fadeIn 1.45s ease 1.45s both; }
.hero-stamp svg { position: absolute; inset: 0; animation: spin 31.2s linear infinite; }
.hero-stamp text { font-family: var(--mono); font-size: 9.5px; font-weight: 700; letter-spacing: .12em; fill: #F4F2EC; }
.hero-stamp span { font-size: 22px; }
@keyframes rise { from { opacity: 0; transform: translateY(18px) scale(.98); } }

/* ------------------------------------------------------------------ banners */
.banner { margin-top: 14px; border-radius: var(--r); padding: 14px 16px; background: var(--card); box-shadow: var(--shadow), 0 0 0 1px var(--edge) inset;
  display: flex; align-items: center; gap: 12px; animation: rise 1.01s var(--ease-out) both; }
.banner .b-ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; background: var(--ice); flex: none; }
.banner .b-txt { flex: 1; min-width: 0; }
.banner .b-txt b { display: block; }
.banner .b-txt small { color: var(--ink-3); }
.banner .b-btn { padding: 9px 14px; border-radius: 12px; background: var(--ink); color: var(--snow); font-weight: 600; font-size: 13px; }
.banner.group { background: linear-gradient(120deg, rgba(43, 179, 155, .16), rgba(60, 125, 217, .12)), var(--card); flex-wrap: wrap; }
.members { display: flex; gap: 6px; flex-wrap: wrap; width: 100%; }
.member { display: flex; align-items: center; gap: 6px; padding: 5px 10px 5px 5px; border-radius: 999px; background: var(--paper); font-size: 12px; border: 1px solid var(--line); }
.member i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 700; color: #fff; font-size: 11px; }

/* ------------------------------------------------------------------ shake */
.shake-card { width: 100%; margin-top: 16px; display: flex; align-items: center; gap: 14px; text-align: left;
  padding: 14px 16px; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow); border: 1.5px dashed var(--line);
  animation: rise 1.16s var(--ease-out) 0.8s both; transition: transform 0.72s var(--ease-out), box-shadow 0.72s var(--ease-out); }
.shake-card:active { transform: scale(.98); transition-duration: .12s; }
@media (hover: hover) { .shake-card:hover .shake-go { transform: translateX(4px); } }
.shake-card small { color: var(--ink-3); }
.shake-icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 22px;
  background: linear-gradient(135deg, var(--salmon), var(--gold)); animation: wiggle 3.64s ease-in-out infinite; flex: none; }
@keyframes wiggle { 0%, 70%, 100% { transform: rotate(0); } 75% { transform: rotate(-14deg); } 80% { transform: rotate(12deg); } 85% { transform: rotate(-8deg); } 90% { transform: rotate(6deg); } }
.shake-go { margin-left: auto; font-size: 20px; color: var(--salmon); transition: transform 0.72s var(--ease-out); }

/* ------------------------------------------------------------------ chips */
.chips { position: sticky; top: calc(var(--safe-top)); z-index: 5; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none;
  margin: 20px -16px 6px; padding: 10px 16px; background: color-mix(in srgb, var(--snow) 82%, transparent);
  backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); }
.chips::-webkit-scrollbar { display: none; }
.chip { position: relative; z-index: 1; flex: none; padding: 9px 15px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--ink-2);
  transition: color 0.65s var(--ease-out), transform 0.65s var(--ease-out); white-space: nowrap; }
.chip:active { transform: scale(.94); transition-duration: .1s; }
.chip.on { color: var(--snow); }
/* The pill is a full-width strip revealed by clip-path: no width/left animation, no layout work per frame. */
.chip-ink { position: absolute; z-index: 0; left: 0; top: 10px; height: 38px; width: 100%; background: var(--ink);
  clip-path: inset(0 100% 0 0 round 999px); transition: clip-path 0.87s var(--ease-out); overflow: hidden; pointer-events: none; }
.chip-ink::after { content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(100deg, transparent 30%, rgba(123, 211, 137, .45) 50%, transparent 70%); background-size: 250% 100%; background-position: 120% 0; }
.chip-ink.moved::after { animation: inkSheen 1.3s var(--ease-out); }
@keyframes inkSheen { from { background-position: 120% 0; } to { background-position: -40% 0; } }
html.night .chip-ink { background: linear-gradient(135deg, #EEF3F8, #CFE6E2); }

/* ------------------------------------------------------------------ menu */
.sec { scroll-margin-top: calc(var(--safe-top) + 64px); padding-top: 18px; }
.sec-h { display: flex; align-items: center; gap: 10px; margin: 6px 2px 14px; }
.sec-h h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 25px; letter-spacing: .005em; line-height: 1; }
.sec-h span { font-family: var(--mono); font-size: 11px; font-weight: 700; color: var(--ink-3); padding: 3px 8px; border-radius: 999px; border: 1px solid var(--line); }
.sec-h::after { content: ""; flex: 1; height: 1px; margin-left: 4px; background: linear-gradient(90deg, var(--line), transparent);
  transform-origin: left; transform: scaleX(0); transition: transform 1.74s var(--ease-out) .15s; }
.sec.seen .sec-h::after { transform: scaleX(1); }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* card reveal: transition-based so :active still works after the entrance */
.card { --d: 0ms; position: relative; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow), 0 0 0 1px var(--edge) inset; padding: 10px 10px 12px;
  display: flex; flex-direction: column; text-align: left; overflow: hidden; cursor: pointer;
  opacity: 0; transform: translateY(14px) scale(.985);
  transition: opacity 1.01s var(--ease-out) var(--d), transform 1.3s var(--ease-out) var(--d), box-shadow 0.72s var(--ease-out); }
.card.in { opacity: 1; transform: none; }
.card.in:active { transform: scale(.975); transition-delay: 0s; transition-duration: .15s; }
@media (hover: hover) { .card.in:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift), 0 0 0 1px var(--edge) inset; transition-delay: 0s; } }

.card .art { position: relative; aspect-ratio: 1; margin: 0 0 6px; border-radius: 16px; overflow: hidden;
  background: radial-gradient(circle at 50% 58%, var(--ice) 0 50%, transparent 51%); }
.card .art svg { width: 100%; height: 100%; display: block; transform: scale(.94); transition: transform 1.16s var(--ease-out); }
.card.in .art svg { animation: artPop 1.45s var(--ease-out) both; animation-delay: calc(var(--d) + 120ms); }
@keyframes artPop { from { transform: scale(.7) rotate(-14deg); opacity: 0; } to { transform: scale(.94); } }
@media (hover: hover) { .card:hover .art svg { transform: rotate(-6deg) scale(1); } }

/* real square photos (image_url): full-bleed tile, skeleton shimmer while loading, fade-in */
.art:has(> img) { background: linear-gradient(110deg, var(--ice) 30%, color-mix(in srgb, var(--ice) 50%, var(--paper)) 50%, var(--ice) 70%) 0 0 / 250% 100%;
  animation: skel 2.03s linear infinite; box-shadow: 0 0 0 1px var(--edge) inset; }
.art:has(> img.loaded) { animation: none; background: var(--ice); }
.art > img { width: 100%; height: 100%; display: block; object-fit: cover; border-radius: inherit;
  opacity: 0; transform: scale(1.06); filter: saturate(.8);
  transition: opacity 1.01s var(--ease-out), transform 1.59s var(--ease-out), filter 1.3s var(--ease-out); }
.art > img.loaded { opacity: 1; transform: none; filter: none; }
@media (hover: hover) { .card:hover .art > img.loaded { transform: scale(1.05); } }
.card .art:has(> img)::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .10), transparent 30%, transparent 70%, rgba(15, 27, 45, .14)); }
@keyframes skel { to { background-position: -150% 0; } }

.card h3 { margin: 4px 2px 3px; font-size: 15px; font-weight: 700; line-height: 1.18; letter-spacing: -.01em; text-wrap: balance; }
.card .meta { margin: 0 2px; font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.card .row { margin-top: auto; padding: 10px 0 0 2px; display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.price { font-family: var(--mono); font-weight: 700; font-size: 15px; letter-spacing: -.02em; font-variant-numeric: tabular-nums;
  color: var(--ink); }

@keyframes priceSheen { from { background-position: 120% 0; } to { background-position: -30% 0; } }
.card.wide { grid-column: span 2; flex-direction: row; align-items: center; gap: 14px; padding: 12px; }
.card.wide .art { width: 46%; flex: none; margin: 0; }
.card.wide .art:has(> img) { border-radius: 18px; box-shadow: 0 14px 26px -16px rgba(15, 27, 45, .5), 0 0 0 1px var(--edge) inset; }
.card.wide .info { position: relative; display: flex; flex-direction: column; flex: 1; align-self: stretch; padding: 4px 0; min-width: 0; }
.card.wide h3 { font-family: var(--display); font-weight: 400; font-size: 21px; letter-spacing: 0; line-height: 1.05; margin-top: 2px; }
.card.wide .desc { font-size: 13px; line-height: 1.4; color: var(--ink-2); margin: 6px 0 0; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.card.wide::before { content: ""; position: absolute; right: -30%; top: -40%; width: 70%; height: 90%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(43, 179, 155, .14), transparent 70%); }
.stamps { position: absolute; z-index: 2; top: 14px; left: 14px; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.stamp { position: relative; overflow: hidden; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .08em; padding: 3px 7px; border-radius: 6px;
  border: 1.5px solid currentColor; transform: rotate(-6deg); background: var(--paper); box-shadow: 0 4px 10px -6px rgba(15, 27, 45, .4); }
.stamp::after { content: ""; position: absolute; inset: -2px; transform: translateX(-120%) skewX(-20deg);
  background: linear-gradient(90deg, transparent, color-mix(in srgb, currentColor 30%, transparent), transparent); animation: stampSheen 7.15s var(--ease-io) infinite; }
.stamps .stamp:nth-child(2)::after { animation-delay: 0.36s; }
@keyframes stampSheen { 0%, 70% { transform: translateX(-120%) skewX(-20deg); } 100% { transform: translateX(120%) skewX(-20deg); } }
.card.in .stamp { animation: stampIn 1.01s var(--ease-out) both; animation-delay: calc(var(--d) + 551ms); }
@keyframes stampIn { from { transform: rotate(-10deg) scale(1.15); opacity: 0; } }
.stamp.hit { color: var(--salmon); } .stamp.new { color: var(--aurora-1); } .stamp.hot { color: #D9412B; } .stamp.veg { color: #4E9A4A; }
.stamp.top { color: var(--snow); background: var(--salmon); border-color: var(--salmon); }
.stamp.chef { color: var(--ink); }

/* Round "price tag" sticker for sets that are really cheaper per piece */
.sticker-value { position: absolute; z-index: 2; right: 6px; top: 6px; width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-content: center; text-align: center; line-height: 1; color: var(--ink);
  background: #FFC15A; box-shadow: 0 6px 14px -6px rgba(15, 27, 45, .55), inset 0 0 0 2px rgba(255, 255, 255, .55);
  transform: rotate(12deg); }
.sticker-value b { font-family: var(--display); font-weight: 400; font-size: 15px; letter-spacing: -.01em; }
.sticker-value small { font-size: 9px; font-weight: 700; letter-spacing: .04em; margin-top: 2px; opacity: .75; }
.card.in .sticker-value { animation: stickIn .9s var(--ease-out) both; animation-delay: calc(var(--d) + 700ms); }
@keyframes stickIn { from { transform: rotate(-25deg) scale(.4); opacity: 0; } }
.card.wide .sticker-value { width: 62px; height: 62px; }
.card.wide .sticker-value b { font-size: 18px; }
.people { display: inline-block; margin: 5px 2px 0; padding: 2px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 600;
  color: var(--ink-2); background: var(--ice); width: fit-content; }
.perks { list-style: none; margin: 10px 0 4px; padding: 0; display: grid; gap: 6px; }
.perks li { padding: 8px 12px; border-radius: 12px; background: var(--ice); font-size: 13px; line-height: 1.35; color: var(--ink-2); }

.add { position: relative; overflow: hidden; min-width: 38px; height: 38px; border-radius: 13px; background: var(--ink); color: var(--snow);
  display: inline-flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 500;
  transition: transform 0.65s var(--ease-out), background 0.43s, box-shadow 0.65s var(--ease-out);
  box-shadow: 0 8px 16px -10px color-mix(in srgb, var(--ink) 80%, transparent); }
.add.back { animation: pop 0.72s var(--ease-out); }
.add:active { transform: scale(.86) rotate(90deg); transition-duration: .12s; }
@media (hover: hover) { .add:hover { transform: rotate(90deg); background: var(--salmon); color: #fff; } }
.qty { display: inline-flex; align-items: center; gap: 2px; background: linear-gradient(135deg, var(--salmon-2), var(--salmon)); color: #fff; border-radius: 13px; height: 38px; padding: 0 3px;
  box-shadow: 0 10px 18px -10px rgba(242, 100, 61, .9); }
.qty.fresh { animation: qtyIn 0.8s var(--ease-out); }
.qty button { width: 30px; height: 32px; font-size: 18px; font-weight: 700; color: #fff; border-radius: 10px; transition: transform 0.58s var(--ease-out), background .2s; }
.qty button:active { transform: scale(.78); background: rgba(255, 255, 255, .18); transition-duration: .1s; }
.qty b { font-family: var(--mono); min-width: 18px; text-align: center; display: inline-block; font-variant-numeric: tabular-nums; }
.qty b.up { animation: rollUp 0.65s var(--ease-out); }
.qty b.down { animation: rollDown 0.65s var(--ease-out); }
@keyframes rollUp { from { transform: translateY(80%); opacity: 0; filter: blur(2px); } }
@keyframes rollDown { from { transform: translateY(-80%); opacity: 0; filter: blur(2px); } }
@keyframes qtyIn { from { clip-path: inset(0 0 0 55% round 13px); opacity: .5; } to { clip-path: inset(0 0 0 0 round 13px); opacity: 1; } }
@keyframes pop { from { transform: scale(.6); opacity: .3; } }

/* ------------------------------------------------------------------ sheet */
.scrim { position: fixed; inset: 0; z-index: 20; background: rgba(8, 14, 24, .5); opacity: 0; pointer-events: none; transition: opacity 0.43s; backdrop-filter: blur(2px); }
.scrim.on { opacity: 1; pointer-events: auto; }
.sheet { position: fixed; z-index: 21; left: 0; right: 0; bottom: 0; max-height: 92vh; max-width: 560px; margin: 0 auto;
  background: var(--snow); border-radius: 28px 28px 0 0; transform: translateY(105%); transition: transform 0.65s cubic-bezier(.2, .9, .2, 1);
  display: flex; flex-direction: column; box-shadow: 0 -20px 60px -20px rgba(0, 0, 0, .45); }
.sheet.on { transform: none; }
.grab { width: 44px; height: 5px; border-radius: 9px; background: var(--line); margin: 10px auto 2px; flex: none; }
.sheet-body { overflow-y: auto; padding: 6px 18px calc(var(--safe-bottom) + 110px); overscroll-behavior: contain; }
.dish-art { width: 78%; max-width: 300px; margin: 0 auto; aspect-ratio: 1; animation: spinIn 1.01s cubic-bezier(.2, .9, .2, 1); }
.dish-art svg, .dish-art img { width: 100%; height: 100%; }
@keyframes spinIn { from { transform: rotate(-12deg) scale(.85); opacity: 0; } }
.dish h2 { font-family: var(--display); font-weight: 400; font-size: 28px; margin: 4px 0 6px; line-height: 1.05; }
.dish p { color: var(--ink-2); margin: 0 0 12px; }
.facts { display: flex; gap: 8px; margin: 12px 0 16px; }
.fact { flex: 1; padding: 10px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); text-align: center; }
.fact b { display: block; font-family: var(--mono); font-size: 16px; }
.fact small { color: var(--ink-3); font-size: 11px; }
.dish-actions { display: flex; gap: 10px; align-items: center; }
.ghost { padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line); font-weight: 600; font-size: 14px; }

/* cart */
.cart h2 { font-family: var(--display); font-weight: 400; font-size: 26px; margin: 6px 0 12px; }
.line { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.line .mini { width: 52px; height: 52px; flex: none; }
.line .mini svg, .line .mini img { width: 100%; height: 100%; }
.line .ln { flex: 1; min-width: 0; }
.line .ln b { display: block; font-size: 14px; }
.line .ln small { color: var(--ink-3); font-family: var(--mono); font-size: 12px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 16px; background: var(--ice); margin: 14px 0; position: relative; }
.seg button { position: relative; z-index: 1; padding: 11px; border-radius: 12px; font-weight: 600; transition: color 0.36s; }
.seg .seg-ink { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 12px; background: var(--paper); box-shadow: var(--shadow); transition: transform 0.51s cubic-bezier(.16, 1, .3, 1); }
.seg.right .seg-ink { transform: translateX(100%); }
.floe { margin: 4px 0 14px; padding: 12px 14px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); font-size: 13px; }
.floe-bar { height: 8px; border-radius: 9px; background: var(--ice); overflow: hidden; margin-top: 8px; }
.floe-bar i { display: block; height: 100%; border-radius: 9px; background: linear-gradient(90deg, var(--aurora-1), var(--aurora-2)); }
.field { display: block; margin: 10px 0; }
.field span { display: block; font-size: 12px; font-weight: 600; color: var(--ink-3); margin: 0 0 5px 4px; text-transform: uppercase; letter-spacing: .06em; }
.field input, .field textarea { width: 100%; padding: 13px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--paper); outline: none; transition: border-color .2s; }
.field input:focus, .field textarea:focus { border-color: var(--aurora-1); }
.field.err input { border-color: var(--salmon); animation: shake 0.51s; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); margin: 10px 0; }
.toggle-row small { color: var(--ink-3); display: block; }
.sw { width: 50px; height: 30px; border-radius: 99px; background: var(--ice); position: relative; flex: none; transition: background 0.36s; }
.sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); transition: transform 0.43s cubic-bezier(.16, 1, .3, 1); }
.sw.on { background: var(--aurora-1); } .sw.on::after { transform: translateX(20px); }
.sticks { display: flex; align-items: center; gap: 12px; }
.sticks button { width: 36px; height: 36px; border-radius: 12px; background: var(--ice); font-size: 18px; font-weight: 700; }
.sticks b { font-family: var(--mono); font-size: 18px; min-width: 22px; text-align: center; }
.sum { margin-top: 14px; padding: 14px; border-radius: 18px; background: var(--ink); color: var(--snow); font-size: 14px; }
.sum div { display: flex; justify-content: space-between; padding: 3px 0; }
.sum span:last-child { font-family: var(--mono); }
.sum .tot { font-size: 18px; font-weight: 700; padding-top: 8px; margin-top: 6px; border-top: 1px dashed rgba(244, 242, 236, .25); }
.sum .good { color: var(--aurora-2); }
.promo-tag { display: inline-flex; gap: 6px; align-items: center; padding: 6px 10px; border-radius: 10px; background: rgba(43, 179, 155, .15); color: var(--aurora-1); font-weight: 600; font-size: 13px; font-family: var(--mono); }
.warn { color: var(--salmon); font-size: 13px; font-weight: 600; margin: 8px 0; }

/* ------------------------------------------------------------------ screens (success / track / shake) */
.screen { position: fixed; inset: 0; z-index: 30; background: var(--snow); display: none; flex-direction: column; overflow-y: auto;
  padding: calc(var(--safe-top) + 18px) 18px calc(var(--safe-bottom) + 110px); }
.screen.on { display: flex; animation: fadeIn 0.51s both; }
@keyframes fadeIn { from { opacity: 0; } }
.screen h2 { font-family: var(--display); font-weight: 400; font-size: 30px; margin: 10px 0 6px; line-height: 1.04; }
.screen p { color: var(--ink-2); margin: 0 0 14px; }
.map { position: relative; border-radius: 26px; overflow: hidden; background: linear-gradient(180deg, #13233B, #1C3A4A); aspect-ratio: 1.25; margin: 10px 0 16px; box-shadow: var(--shadow); }
.map svg { width: 100%; height: 100%; display: block; }
.map .route-done { stroke-dasharray: 1000; transition: stroke-dashoffset 2.03s cubic-bezier(.2, .9, .2, 1); }
.eta { position: absolute; left: 14px; top: 14px; padding: 8px 12px; border-radius: 14px; background: rgba(244, 242, 236, .95); color: #0F1B2D; font-weight: 700; font-family: var(--mono); font-size: 14px; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: flex; align-items: center; gap: 12px; padding: 10px 0; color: var(--ink-3); position: relative; }
.steps li .dot { width: 34px; height: 34px; border-radius: 12px; display: grid; place-items: center; background: var(--ice); flex: none; font-size: 16px; filter: grayscale(1); opacity: .6; transition: all 0.58s; }
.steps li.done { color: var(--ink); } .steps li.done .dot { filter: none; opacity: 1; }
.steps li.cur { color: var(--ink); font-weight: 700; } .steps li.cur .dot { filter: none; opacity: 1; background: var(--salmon); box-shadow: 0 0 0 6px rgba(242, 100, 61, .18); animation: pulse 2.32s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 11px rgba(242, 100, 61, 0); } }
.big-emoji { font-size: 74px; text-align: center; margin-top: 8vh; animation: spinIn 1.16s cubic-bezier(.2, .9, .2, 1); }
.roulette { width: 240px; height: 240px; margin: 4vh auto 0; }
.roulette svg, .roulette img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 32px; }
.roulette.spin svg, .roulette.spin img { animation: whirl 1.59s var(--ease-out); }
@keyframes whirl { from { transform: rotate(-200deg) scale(.7); opacity: 0; } }
.btn { display: block; width: 100%; padding: 15px; border-radius: 16px; background: var(--ink); color: var(--snow); font-weight: 700; font-size: 16px; margin-top: 10px; text-align: center; }
.btn.salmon { background: var(--salmon); color: #fff; }

/* ------------------------------------------------------------------ bar, toast, confetti */
.bar { position: fixed; z-index: 25; left: 0; right: 0; bottom: 0; padding: 10px 16px calc(var(--safe-bottom) + 14px);
  background: linear-gradient(transparent, var(--snow) 35%); }
.bar-btn { display: block; width: 100%; max-width: 528px; margin: 0 auto; padding: 16px; border-radius: 18px; background: var(--salmon); color: #fff; font-weight: 700; font-size: 16px; box-shadow: 0 14px 30px -12px rgba(242, 100, 61, .7); }
.bar-btn:disabled { opacity: .5; }
.bar.on-screen { z-index: 40; }
.toast { position: fixed; z-index: 50; left: 50%; top: calc(var(--safe-top) + 14px); transform: translate(-50%, -150%); padding: 11px 16px; border-radius: 14px; background: var(--ink); color: var(--snow); font-weight: 600; font-size: 14px; transition: transform 0.58s cubic-bezier(.16, 1, .3, 1); max-width: 90vw; text-align: center; }
.toast.on { transform: translate(-50%, 0); }
#confetti { position: fixed; inset: 0; z-index: 60; pointer-events: none; width: 100vw; height: 100vh; }
.flyer { position: fixed; z-index: 55; width: 64px; height: 64px; pointer-events: none; }
.flyer svg, .flyer img { width: 100%; height: 100%; }
.foot { text-align: center; color: var(--ink-3); font-size: 12px; margin-top: 28px; }
.foot-small { opacity: .7; }

/* ------------------------------------------------------------------ v4 motion layer: sheet, cart, screens, flyer */
.scrim { transition: opacity 0.72s var(--ease-out), backdrop-filter 0.72s var(--ease-out); backdrop-filter: blur(0); -webkit-backdrop-filter: blur(0); }
.scrim.on { backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.sheet { transition: transform 0.87s var(--ease-out); border-radius: 30px 30px 0 0; box-shadow: 0 -24px 70px -24px rgba(0, 0, 0, .5), 0 -1px 0 var(--edge); }
.sheet:not(.on) { transition-duration: 0.58s; transition-timing-function: cubic-bezier(.5, 0, .75, 0); }
.grab { width: 40px; background: color-mix(in srgb, var(--ink) 18%, transparent); }
/* stagger the sheet content in */
.sheet.on .dish > *, .sheet.on .cart > * { animation: sheetItem 1.01s var(--ease-out) both; }
.sheet.on .dish > :nth-child(2), .sheet.on .cart > :nth-child(2) { animation-delay: .06s; }
.sheet.on .dish > :nth-child(3), .sheet.on .cart > :nth-child(3) { animation-delay: .1s; }
.sheet.on .dish > :nth-child(4), .sheet.on .cart > :nth-child(4) { animation-delay: .14s; }
.sheet.on .dish > :nth-child(5), .sheet.on .cart > :nth-child(5) { animation-delay: .18s; }
.sheet.on .dish > :nth-child(6), .sheet.on .cart > :nth-child(6) { animation-delay: 0.32s; }
.sheet.on .dish > :nth-child(n+7), .sheet.on .cart > :nth-child(n+7) { animation-delay: 0.38s; }
.cart.static > * { animation: none !important; }
@keyframes sheetItem { from { opacity: 0; transform: translateY(14px); } }
.sheet.on .dish > .dish-art { animation: spinIn 1.3s var(--ease-out) both; }
@keyframes spinIn { from { transform: rotate(-12deg) scale(.85); opacity: 0; } }
.dish { position: relative; }
.dish .stamps { top: 4px; left: 0; }
.dish-art { position: relative; width: 80%; max-width: 300px; margin: 4px auto 10px; }
.dish-art:has(> img) { width: 100%; max-width: 420px; border-radius: 26px; overflow: hidden; box-shadow: 0 24px 40px -24px rgba(15, 27, 45, .55), 0 0 0 1px var(--edge) inset; }
.dish h2 { letter-spacing: 0; }
.fact { border-radius: 16px; box-shadow: 0 0 0 1px var(--edge) inset; border-color: transparent; }

/* cart lines: photo / svg thumbs */
.cart h2 { display: flex; align-items: center; gap: 10px; }
.line { padding: 10px 0; }
.line .mini { position: relative; width: 56px; height: 56px; border-radius: 16px; overflow: hidden; background: radial-gradient(circle at 50% 58%, var(--ice) 0 52%, transparent 53%); }
.line .mini:has(> img) { box-shadow: 0 8px 16px -10px rgba(15, 27, 45, .5), 0 0 0 1px var(--edge) inset; }
.line .mini > img { border-radius: 16px; }
.line .ln b { letter-spacing: -.01em; }
.sum { border-radius: 20px; padding: 16px; background: linear-gradient(160deg, color-mix(in srgb, var(--ink) 92%, #1C3A4A), var(--ink)); box-shadow: 0 18px 36px -22px rgba(15, 27, 45, .7); }
.sum .tot span:last-child { font-size: 20px; }
html.night .sum { background: linear-gradient(160deg, #1A2D45, #13233B); color: var(--ink); box-shadow: 0 0 0 1px var(--edge) inset, 0 18px 36px -22px rgba(0, 0, 0, .9); }
.seg .seg-ink { transition: transform 0.8s var(--ease-out); }
.floe-bar i { position: relative; overflow: hidden; }
.floe-bar i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent); transform: translateX(-100%); animation: floeShine 3.38s var(--ease-io) infinite; }
@keyframes floeShine { 60%, 100% { transform: translateX(100%); } }
.field input, .field textarea { transition: border-color 0.43s, box-shadow 0.58s var(--ease-out); }
.field input:focus, .field textarea:focus { box-shadow: 0 0 0 4px color-mix(in srgb, var(--aurora-1) 18%, transparent); }
.sw::after { transition: transform 0.65s var(--ease-out); }
.sticks button { transition: transform 0.51s var(--ease-out); }
.sticks button:active { transform: scale(.85); transition-duration: .1s; }

/* screens: slide-up in, fade-down out */
.screen.on { animation: screenIn 0.87s var(--ease-out) both; }
.screen.leaving { animation: screenOut 0.46s cubic-bezier(.5, 0, .75, 0) both; pointer-events: none; }
@keyframes screenIn { from { opacity: 0; transform: translateY(26px) scale(.985); } }
@keyframes screenOut { to { opacity: 0; transform: translateY(18px) scale(.985); } }
.screen.on > * { animation: sheetItem 1.16s var(--ease-out) both; }
.screen.on > :nth-child(2) { animation-delay: .08s; } .screen.on > :nth-child(3) { animation-delay: .16s; }
.screen.on > :nth-child(4) { animation-delay: 0.35s; } .screen.on > :nth-child(n+5) { animation-delay: 0.43s; }
.screen.on > .roulette { animation: none; }
.btn { transition: transform 0.58s var(--ease-out), box-shadow 0.58s var(--ease-out); }
.btn:active { transform: scale(.97); transition-duration: .1s; }
.btn.salmon { background: linear-gradient(135deg, var(--salmon-2), var(--salmon)); box-shadow: 0 14px 28px -14px rgba(242, 100, 61, .8); }

/* success: the Li-On mark bursts open */
.success-mark { position: relative; width: 150px; height: 150px; margin: 7vh auto 6px; display: grid; place-items: center; }
.success-mark svg { width: 100%; height: 100%; overflow: visible; }
.success-mark .ray { animation-duration: 1.59s; animation-delay: calc(150ms + var(--i) * 40ms); }
.success-mark::before, .success-mark::after { content: ""; position: absolute; inset: 14%; border-radius: 50%; border: 2px solid var(--salmon); opacity: 0;
  animation: ring 2.32s var(--ease-out) 0.72s; }
.success-mark::after { border-color: var(--aurora-1); animation-delay: 1.09s; }
@keyframes ring { from { opacity: .8; transform: scale(.6); } to { opacity: 0; transform: scale(1.9); } }

/* bar + cart bump + flyer */
.bar { background: linear-gradient(transparent, var(--snow) 40%); }
.bar:not(.hidden) .bar-btn { animation: barIn 0.87s var(--ease-out); }
.bar-btn { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--salmon-2), var(--salmon) 60%); transition: transform 0.58s var(--ease-out), opacity 0.43s; }
.bar-btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 35%, rgba(255, 255, 255, .35) 50%, transparent 65%); transform: translateX(-100%); animation: barShine 5.85s var(--ease-io) 1.45s infinite; }
@keyframes barShine { 70%, 100% { transform: translateX(100%); } }
@keyframes barIn { from { transform: translateY(120%); } }
.bar-btn:active { transform: scale(.98); }
.bar-btn.bump, .aurora-chip.bump { animation: cartBump 0.87s var(--ease-out); }
@keyframes cartBump { 0% { transform: scale(1); } 30% { transform: scale(1.06, .94); } 55% { transform: scale(.98, 1.03); } 100% { transform: scale(1); } }
.flyer { position: fixed; z-index: 55; left: 0; top: 0; width: 72px; height: 72px; pointer-events: none; border-radius: 22px; will-change: transform, opacity; }
.flyer > img { border-radius: 18px; box-shadow: 0 14px 26px -10px rgba(15, 27, 45, .55); opacity: 1; transform: none; filter: none; }
.flyer > svg { filter: drop-shadow(0 12px 14px rgba(15, 27, 45, .4)); }
.flyer svg, .flyer img { width: 100%; height: 100%; object-fit: cover; }
.spark { position: fixed; z-index: 54; left: 0; top: 0; width: 8px; height: 8px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, #FFC15A, var(--salmon) 60%, transparent 70%); }
.catch { position: fixed; z-index: 54; left: 0; top: 0; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%; pointer-events: none;
  border: 2px solid var(--salmon); animation: catch 0.87s var(--ease-out) forwards; }
@keyframes catch { from { transform: scale(.5); opacity: .8; } to { transform: scale(1.3); opacity: 0; } }
.toast { transition: transform 0.8s var(--ease-out); box-shadow: 0 16px 34px -16px rgba(15, 27, 45, .6); border-radius: 16px; }
.aurora-chip { transition: transform 0.58s var(--ease-out); }
.aurora-chip:active { transform: scale(.94); }
.foot { margin-top: 36px; letter-spacing: .01em; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .card { opacity: 1; transform: none; filter: none; }
  .hero-text, .hero-aurora, .hero-stars, .hero-ridge, .hero-art { transform: none !important; translate: none !important; opacity: 1; }
  .art > img { opacity: 1; transform: none; filter: none; }
}
@media (min-width: 520px) { .grid { grid-template-columns: repeat(3, 1fr); } .card.wide { grid-column: span 3; } }

/* производительность: под открытым экраном/шторкой фон замирает; на слабых устройствах — lite без тяжёлых блюров */
body.covered #app *, body.covered .sky * { animation-play-state: paused !important; }
html.lite .aurora, html.lite .hero-aurora { display: none; }
html.lite .chips, html.lite .scrim { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
html.lite .chips { background: var(--snow); }
