:root {
  --paper: #f5f0e6;
  --card: #ffffff;
  --tint: #efe8da;
  --ink: #1d1a36;
  --muted: #6a6582;
  --faint: #a29db5;
  --line: #e4dccb;
  --sun: #ffc23a;
  --cobalt: #3e63f2;
  --violet: #7a5af8;
  --cash: #2fb36b;
  --red: #f03e5e;
  --pink: #ff7eb0;
  --bw: 2px;
  --radius: 14px;
  --display: 'Bowlby One', 'Space Grotesk', system-ui, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--sun); }

#app { position: relative; height: 100%; }
.screen { position: absolute; inset: 0; display: none; flex-direction: column; }
.screen.active { display: flex; animation: fadeIn .2s; }
.scroll { flex: 1; overflow: auto; padding: 24px 16px 48px; }

/* ---------- Buttons ---------- */
button { font: inherit; color: inherit; }
.btn {
  --c: var(--card); --fg: var(--ink);
  cursor: pointer; border-radius: 10px; padding: 9px 16px; font-weight: 700;
  background: var(--c); color: var(--fg); border: var(--bw) solid var(--ink);
  box-shadow: 0 3px 0 var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: transform .06s, box-shadow .06s, filter .15s;
}
.btn:hover { filter: brightness(.96); }
.btn:active { transform: translateY(3px); box-shadow: 0 0 0 var(--ink); }
.btn:disabled { opacity: .4; cursor: default; transform: none; box-shadow: 0 3px 0 var(--ink); }
.btn:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.btn.primary { --c: var(--sun); }
.btn.blue { --c: var(--cobalt); --fg: #fff; }
.btn.violet { --c: var(--violet); --fg: #fff; }
.btn.green { --c: var(--cash); --fg: #fff; }
.btn.ghost { background: transparent; border-color: transparent; box-shadow: none; }
.btn.ghost:hover { background: rgba(29, 26, 54, .06); filter: none; }
.btn.ghost:active { transform: none; }
.btn.back { width: 40px; height: 40px; padding: 0; font-size: 1.2rem; flex: none; }
.btn.big { font-size: 1.15rem; padding: 10px 18px 10px 10px; min-width: 260px; justify-content: flex-start; gap: 12px; border-radius: 12px; }
.btn.big .ico { width: 36px; height: 36px; flex: none; background-size: contain; background-repeat: no-repeat; background-position: center; }
.btn.sm { padding: 5px 10px; font-size: .86rem; border-radius: 8px; box-shadow: 0 2px 0 var(--ink); }
.btn.sm:active { transform: translateY(2px); box-shadow: none; }
.btn.sm.ghost { box-shadow: none; }
.btn.on { --c: var(--sun); --fg: var(--ink); }
.link { background: none; border: 0; color: var(--muted); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; font-size: .9rem; font-weight: 500; }
.link:hover { color: var(--ink); }

input, select {
  font: inherit; font-weight: 500; color: var(--ink); background: var(--card); border: var(--bw) solid var(--line);
  border-radius: 10px; padding: 9px 12px; min-width: 0; transition: border-color .15s;
}
input::placeholder { color: var(--faint); }
input:hover, select:hover { border-color: var(--faint); }
input:focus, select:focus { outline: none; border-color: var(--ink); }
select {
  appearance: none; -webkit-appearance: none; padding-right: 34px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 18px) 55%, calc(100% - 12px) 55%;
  background-size: 6px 6px; background-repeat: no-repeat;
}

.panel { background: var(--card); border: var(--bw) solid var(--line); border-radius: var(--radius); padding: 18px; }
.panel h3 { margin: 0 0 14px; font-size: 1.05rem; font-weight: 700; display: flex; align-items: center; }
.muted { color: var(--muted); }
.row { display: flex; gap: 8px; align-items: center; }
.field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .92rem; }
.lbl { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: 1.2px; font-weight: 700; }

/* ---------- Menu ---------- */
#scr-menu { overflow: auto; }
.menu { margin: auto; display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 32px 16px; max-width: 460px; width: 100%; }
.logo { margin: 0; text-align: center; font-family: var(--display); font-weight: 400; line-height: .95; }
.logo span { display: block; }
.logo-a { font-size: clamp(2.4rem, 10vw, 3.6rem); }
.logo-b { font-size: clamp(3rem, 13vw, 4.8rem); color: var(--sun); -webkit-text-stroke: 2.5px var(--ink); paint-order: stroke fill; }
.tagline { margin: 0; text-align: center; color: var(--muted); max-width: 360px; line-height: 1.45; }
.parade { width: 100%; height: 68px; display: block; }
.menu-btns { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.menu-btns .btn.big { width: 100%; }
.menu-card { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 14px; }
.lang { padding: 5px 32px 5px 10px; font-size: .88rem; }
#in-code { text-transform: uppercase; letter-spacing: 4px; flex: 1; font-weight: 700; text-align: center; width: 100%; }

/* ---------- Top bar ---------- */
.topbar { display: flex; align-items: center; gap: 12px; padding: 10px 16px; background: var(--card); border-bottom: 1px solid var(--line); }
.topbar h2 { margin: 0; flex: 1; font-size: 1.25rem; font-weight: 700; }
.progress { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.progress-bar { width: 140px; height: 8px; border-radius: 99px; background: var(--tint); overflow: hidden; }
.progress-bar span { display: block; height: 100%; width: 0; border-radius: 99px; background: var(--cash); transition: width .6s; }

/* ---------- Levels ---------- */
.level-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; max-width: 1060px; margin: 0 auto; }
.level {
  text-align: left; border: var(--bw) solid var(--line); background: var(--card); border-radius: var(--radius); color: var(--ink);
  padding: 8px; cursor: pointer; display: flex; flex-direction: column; gap: 6px; position: relative;
  transition: border-color .12s, transform .12s;
}
.level:hover { border-color: var(--ink); transform: translateY(-2px); }
.level .thumb { height: 116px; display: flex; align-items: center; justify-content: center; border-radius: 9px; background: var(--tint); }
.level .n {
  position: absolute; top: 14px; left: 14px; z-index: 1; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 8px;
  display: grid; place-items: center; font-size: .85rem; font-weight: 700; background: var(--ink); color: #fff;
}
.level .t { font-weight: 700; padding: 0 4px; }
.level .meta { display: flex; gap: 5px; flex-wrap: wrap; padding: 0 4px 2px; }
.pill { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px 2px 3px; border-radius: 99px; background: var(--tint); font-size: .8rem; font-weight: 600; }
.pill img { width: 18px; height: 18px; }
.mini-tile { width: 18px; height: 18px; flex: none; border-radius: 5px; padding: 2px; background: var(--cobalt); display: inline-block; }
.rules .mini-tile { width: 24px; height: 24px; border-radius: 6px; padding: 3px; }
.level.done { border-color: var(--cash); }
.level.done .n { background: var(--cash); }
.level.done::after {
  content: '✓'; position: absolute; top: 14px; right: 14px; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; background: var(--cash); color: #fff; font-weight: 700; font-size: .8rem;
}
.section-title { max-width: 1060px; margin: 36px auto 12px; font-size: 1.1rem; font-weight: 700; }
.mine-list { max-width: 1060px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.mine { display: flex; align-items: center; gap: 10px; background: var(--card); border: var(--bw) solid var(--line); border-radius: 12px; padding: 8px 10px; flex-wrap: wrap; }
.mine canvas { border-radius: 6px; }
.mine .t { flex: 1; min-width: 120px; font-weight: 600; }
.empty { text-align: center; padding: 24px 16px; border: 2px dashed var(--line); border-radius: var(--radius); color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 4px; }

/* ---------- Daily ---------- */
.daily { max-width: 460px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.daily-card { display: flex; flex-direction: column; gap: 14px; }
.daily-nav { display: flex; align-items: center; gap: 10px; }
.daily-nav .btn { width: 38px; height: 38px; padding: 0; flex: none; }
.daily-date { flex: 1; text-align: center; display: flex; flex-direction: column; gap: 2px; }
.daily-date b { font-size: 1.2rem; }
.daily-date b::first-letter { text-transform: uppercase; }
.daily-date .muted { font-size: .85rem; }
.daily-thumb { height: 230px; display: grid; place-items: center; background: var(--tint); border-radius: 10px; }
.daily-card .meta { display: flex; gap: 6px; justify-content: center; min-height: 24px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-head b::first-letter { text-transform: uppercase; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-grid .wd { text-align: center; font-size: .7rem; font-weight: 700; color: var(--muted); padding-bottom: 2px; }
.cal-day { aspect-ratio: 1; border: 2px solid transparent; border-radius: 8px; background: var(--paper); font: inherit; font-weight: 600; font-size: .9rem; cursor: pointer; padding: 0; }
.cal-day:hover { border-color: var(--faint); }
.cal-day.done { background: var(--cash); color: #fff; }
.cal-day.today { border-color: var(--ink); }
.cal-day.sel { background: var(--sun); color: var(--ink); border-color: var(--ink); }
.cal-day:disabled { background: transparent; color: var(--faint); cursor: default; border-color: transparent; }
.cal-legend { margin: 10px 0 0; font-size: .8rem; text-align: center; }
@media (min-width: 860px) {
  .daily { max-width: 900px; display: grid; grid-template-columns: 1.1fr 1fr; align-items: start; }
  .daily-thumb { height: 280px; }
}

/* ---------- Lobby ---------- */
.lobby { max-width: 620px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.slots { display: flex; flex-direction: column; gap: 8px; }
.slot { display: flex; align-items: center; gap: 12px; padding: 6px 10px 6px 6px; border-radius: 12px; background: var(--paper); border-left: 6px solid var(--pc); }
.slot .av { width: 42px; height: 42px; flex: none; }
.slot .av.empty { border-radius: 50%; border: 2px dashed var(--faint); width: 36px; height: 36px; margin: 3px; }
.slot .nm { flex: 1; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.slot select.nm { font-weight: 500; }
.add-ai { width: 100%; justify-content: space-between; background: transparent; border-style: dashed; border-color: var(--faint); box-shadow: none; }
.add-ai:hover { border-color: var(--ink); }
.add-ai:active { transform: none; }
.badge { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; padding: 3px 9px; border-radius: 99px; background: var(--tint); color: var(--muted); }
.badge.me { background: var(--ink); color: #fff; }
.settings { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.code-box { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.code { font-family: var(--display); font-size: 2.2rem; letter-spacing: 8px; padding: 2px 4px 2px 14px; border-radius: 10px; background: var(--tint); }
.online-grid { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; }
.online-info { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.qr { border: var(--bw) solid var(--line); background: #fff; border-radius: 12px; padding: 6px 6px 4px; cursor: zoom-in; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.qr:hover { border-color: var(--ink); }
.qr canvas { border-radius: 6px; display: block; }
.qr span { font-size: .72rem; font-weight: 600; color: var(--muted); }
.qr-modal { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; padding: 16px; cursor: zoom-out; background: rgba(29, 26, 54, .55); animation: fadeIn .2s; }
.qr-modal[hidden] { display: none; }
.qr-big { background: #fff; border-radius: 20px; padding: 20px; display: flex; flex-direction: column; align-items: center; gap: 10px; animation: popIn .25s ease-out; }
.qr-big canvas { border-radius: 10px; }
.qr-big .code { font-size: 1.9rem; }
.qr-big p { margin: 0; font-weight: 600; }
.lobby-actions { display: flex; justify-content: center; }
.lobby-actions .btn.big { min-width: 0; width: 100%; justify-content: center; }
.pulse-dot { display: inline-block; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--cash); margin-right: 10px; animation: ping 1.4s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(47, 179, 107, .6); } 70%, 100% { box-shadow: 0 0 0 8px rgba(47, 179, 107, 0); } }

/* ---------- Game ---------- */
.game-bar { padding: 8px 12px; gap: 10px; }
.hud { flex: 1; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-width: 0; }
.hud .title { font-size: 1.1rem; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.hud .title small { color: var(--muted); font-size: .85rem; font-weight: 600; margin-right: 6px; }
.chip { display: flex; align-items: center; gap: 6px; padding: 2px 12px 2px 2px; border-radius: 999px; background: var(--paper); border: var(--bw) solid transparent; font-weight: 600; }
.chip img { width: 30px; height: 30px; }
.chip .nm { max-width: 96px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chip .sc { font-weight: 700; font-size: 1.1rem; min-width: 2ch; text-align: right; font-variant-numeric: tabular-nums; display: inline-block; }
.chip.me { border-color: var(--pc); }
.sc.bump { animation: bump .3s ease-out; }
.sc.drop { animation: drop .5s; }
@keyframes bump { 40% { transform: scale(1.4); } }
@keyframes drop { 25%, 75% { transform: translateX(-3px); color: var(--red); } 50% { transform: translateX(3px); color: var(--red); } }
.timer { margin-left: auto; display: flex; align-items: center; gap: 6px; padding: 3px 12px 3px 6px; border-radius: 999px; background: var(--paper); font-weight: 700; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.timer img { width: 24px; height: 24px; }
.timer.warn { background: var(--red); color: #fff; }
.game-body { flex: 1; display: flex; min-height: 0; }
.board-wrap { flex: 1; position: relative; min-width: 0; min-height: 0; }
#cv { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: crosshair; }
.side { width: 290px; flex: none; overflow: auto; padding: 16px; display: flex; flex-direction: column; gap: 16px; background: var(--card); border-left: 1px solid var(--line); }
.side h3 { margin: 0; font-size: 1.15rem; font-weight: 700; }
.side p { margin: 0; }
.side .hint { color: var(--muted); font-size: .86rem; line-height: 1.45; }
.side .group { display: flex; flex-direction: column; gap: 8px; }
.side .rules { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 12px; background: var(--paper); }
.side .rules div { display: flex; gap: 10px; align-items: center; font-size: .85rem; line-height: 1.35; }
.side .rules img { width: 24px; height: 24px; flex: none; }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; }
.btn-row .btn { flex: 1; }
.kbd { display: inline-block; padding: 0 5px; border-radius: 5px; border: 1px solid var(--faint); border-bottom-width: 2px; background: var(--card); font-size: .8em; font-weight: 600; }

.arrow-ico { width: 100%; height: 100%; display: block; }
.inv { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.inv button { position: relative; border: var(--bw) solid var(--line); background: var(--card); border-radius: 12px; padding: 6px; cursor: pointer; aspect-ratio: 1; transition: border-color .12s; }
.inv button:hover { border-color: var(--faint); }
.inv button .tile { display: block; width: 100%; height: 100%; border-radius: 8px; padding: 16%; background: var(--cobalt); }
.inv button .ct {
  position: absolute; top: -7px; right: -7px; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 99px;
  display: grid; place-items: center; font-size: .78rem; font-weight: 700; background: var(--ink); color: #fff;
}
.inv button.sel { border-color: var(--ink); background: var(--sun); }
.inv button.empty .tile { opacity: .3; }
.inv button.empty .ct { background: var(--tint); color: var(--muted); }
.inv button:disabled { opacity: .3; cursor: default; }

.tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tools .btn { flex-direction: column; gap: 2px; padding: 7px 4px 6px; font-size: .78rem; }
.tools .btn img { width: 32px; height: 32px; }
.stepper { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.stepper > div { display: flex; flex-direction: column; align-items: center; gap: 4px; background: var(--paper); border-radius: 10px; padding: 8px 4px 6px; }
.stepper .tile { width: 28px; height: 28px; border-radius: 7px; padding: 4px; background: var(--cobalt); }
.stepper .v { font-weight: 700; font-size: 1.1rem; line-height: 1; }
.stepper .pm { display: flex; gap: 4px; }
.stepper .pm button { border: 1px solid var(--line); background: var(--card); border-radius: 6px; width: 26px; height: 24px; cursor: pointer; font-weight: 700; }
.stepper .pm button:hover { border-color: var(--ink); }
.size-row { display: flex; gap: 8px; align-items: center; }
.size-row input { width: 66px; text-align: center; }
.msg { padding: 10px 12px; border-radius: 10px; background: var(--paper); font-size: .88rem; line-height: 1.4; }
.msg:empty { display: none; }
.msg a { color: var(--cobalt); font-weight: 600; }

.dpad { display: grid; grid-template-columns: repeat(3, 56px); grid-template-rows: repeat(3, 56px); gap: 6px; justify-content: center; }
.dpad button { border: var(--bw) solid var(--line); background: var(--card); border-radius: 12px; cursor: pointer; padding: 6px; }
.dpad button .tile { display: block; width: 100%; height: 100%; border-radius: 8px; padding: 16%; background: var(--pc); }
.dpad button.sel { border-color: var(--ink); background: var(--sun); }
.dpad .u { grid-column: 2; grid-row: 1; } .dpad .l { grid-column: 1; grid-row: 2; }
.dpad .r { grid-column: 3; grid-row: 2; } .dpad .d { grid-column: 2; grid-row: 3; }
.dpad .c { grid-column: 2; grid-row: 2; width: 100%; }

/* ---------- Overlay / banner / toast ---------- */
.overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 3; background: rgba(245, 240, 230, .75); padding: 16px; animation: fadeIn .2s; }
.overlay[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes popIn { from { opacity: 0; transform: scale(.92); } }
.overlay .panel { max-width: 400px; width: 100%; text-align: center; display: flex; flex-direction: column; gap: 14px; border-color: var(--ink); box-shadow: 0 6px 0 var(--ink); animation: popIn .25s ease-out; }
.overlay h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 2.2rem; line-height: 1; }
.overlay .win { color: var(--cash); }
.overlay .lose { color: var(--red); }
.overlay .neutral { color: var(--ink); }
.overlay .sub { margin: 0; color: var(--muted); }
.overlay .hero-ico { width: 72px; height: 72px; margin: -50px auto 0; }
.rank { display: flex; flex-direction: column; gap: 6px; text-align: left; }
.rank div { display: flex; gap: 10px; align-items: center; padding: 6px 12px 6px 6px; border-radius: 10px; background: var(--paper); border-left: 5px solid var(--pc); }
.rank div:first-child { background: color-mix(in srgb, var(--pc) 20%, var(--card)); }
.rank img { width: 34px; height: 34px; }
.rank .pos { font-size: 1.2rem; width: 1.6em; text-align: center; }
.rank .nm { flex: 1; font-weight: 600; }
.rank .sc { font-weight: 700; font-size: 1.2rem; }

.banner {
  --ev: var(--sun);
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%); pointer-events: none; z-index: 2;
  padding: 8px 18px; border-radius: 999px; font-weight: 700; font-size: 1.05rem;
  background: var(--ink); color: var(--ev); white-space: nowrap; animation: bannerIn .25s ease-out;
}
.banner.count { top: 50%; transform: translate(-50%, -50%); font-family: var(--display); font-size: 4.2rem; padding: 4px 36px; border-radius: 20px; animation: countIn .3s ease-out; }
.banner[hidden] { display: none; }
@keyframes bannerIn { from { transform: translate(-50%, -12px); opacity: 0; } }
@keyframes countIn { from { transform: translate(-50%, -50%) scale(1.5); opacity: 0; } }

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 10;
  background: var(--ink); color: #fff; padding: 11px 18px; border-radius: 12px; max-width: calc(100% - 32px); font-weight: 500;
  animation: toastIn .2s ease-out;
}
.toast[hidden] { display: none; }
@keyframes toastIn { from { transform: translate(-50%, 10px); opacity: 0; } }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .game-body { flex-direction: column; }
  .side { width: auto; max-height: 36vh; border-left: 0; border-top: 1px solid var(--line); padding: 12px; gap: 12px; }
  .side .desk, .side .rules, .side .hint, .side h3 { display: none; }
  .settings { grid-template-columns: 1fr; }
  .game-bar { padding: 6px 8px; gap: 6px; }
  .btn.back { width: 36px; height: 36px; }
  .hud { flex-wrap: nowrap; gap: 5px; overflow-x: auto; scrollbar-width: none; }
  .chip { flex: none; gap: 4px; padding: 2px 8px 2px 2px; }
  .chip img { width: 24px; height: 24px; }
  .chip .nm { display: none; }
  .chip .sc { font-size: 1rem; }
  .timer { flex: none; gap: 4px; padding: 2px 9px 2px 4px; font-size: 1rem; }
  .timer img { width: 18px; height: 18px; }
  .inv { grid-template-columns: repeat(4, 58px); justify-content: center; }
  .hud .title { font-size: 1rem; }
  .progress-bar { width: 70px; }
  .dpad { grid-template-columns: repeat(3, 44px); grid-template-rows: repeat(3, 44px); }
  .level-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
  .level .thumb { height: 96px; }
}
@media (max-width: 480px) {
  .chip img, .timer img { display: none; }
  .chip { padding: 2px 9px; }
  .online-grid { grid-template-columns: 1fr; justify-items: center; }
  .btn.big { min-width: 0; }
  .menu-card { grid-template-columns: 1fr; }
  .banner { font-size: .95rem; padding: 7px 14px; }
  .banner.count { font-size: 3.2rem; }
  .menu { gap: 16px; }
  .parade { height: 60px; }
}
@media (hover: none) { .desk { display: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
