:root {
  --orange: #dc542b;
  --orange-dark: #b93b18;
  --orange-soft: #fff0e9;
  --ink: #17181c;
  --ink-2: #23252b;
  --paper: #f7f5f1;
  --white: #fff;
  --muted: #6f7178;
  --line: #e6e1da;
  --green: #217a55;
  --shadow: 0 22px 60px rgba(21, 22, 26, .12);
  --radius: 24px;
  --max: 1180px;
}
.restaurant-details { padding-top: 24px; padding-bottom: 0; }
.restaurant-details a { display: inline-block; margin: 0 20px 12px 0; font-weight: 700; }
.demo-notice { font-size: .85rem; color: var(--muted); }
.modal.menu-modal { width: min(960px, 96vw); max-width: 96vw; max-height: 90dvh; padding: 20px; overflow-y: auto; }
.menu-modal-header > button { position: sticky; top: 0; z-index: 2; }
.modal .menu-modal-header h2 { font-size: clamp(1.3rem, 4vw, 2rem); }
.menu-source-note { color: var(--muted); font-size: .8rem; }
#menuPages figure { margin: 24px 0; }
#menuPages figcaption { font-weight: 700; padding: 8px 0; }
.menu-image-viewport { overflow: auto; max-width: 100%; border: 1px solid var(--line); background: white; }
.menu-image-button { display: block; width: 100%; border: 0; padding: 0; background: white; cursor: zoom-in; }
.menu-image-button img { display: block; width: 100%; height: auto; }
.menu-image-button.zoomed { width: 1400px; max-width: none; cursor: zoom-out; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
[hidden] { display: none !important; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.skip-link { position: fixed; z-index: 1000; top: 8px; left: 8px; padding: 10px 14px; background: #fff; color: #000; border-radius: 8px; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.app-shell { min-height: 100vh; overflow: clip; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 86px;
  padding: 8px max(22px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid rgba(255,255,255,.1);
  background: rgba(23, 24, 28, .96);
  color: #fff;
  backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; width: 130px; }
.brand img { display: block; width: 96px; height: 68px; object-fit: contain; }
.restaurant-picker {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 330px;
  margin-left: 14px;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 13px;
  background: rgba(255,255,255,.06);
  color: #fff;
  text-align: left;
  cursor: pointer;
}
.restaurant-picker small { display: block; margin-bottom: 1px; color: #a9abb1; font-size: .63rem; font-weight: 800; letter-spacing: .12em; }
.restaurant-picker strong { display: block; overflow: hidden; max-width: 230px; font-size: .9rem; text-overflow: ellipsis; white-space: nowrap; }
.restaurant-picker svg { width: 18px; }
.topbar-actions { display: flex; gap: 8px; }
.icon-btn {
  position: relative;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.icon-btn:hover { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.06); }
.notification-badge { position: absolute; top: -3px; right: -3px; min-width: 19px; height: 19px; padding: 0 5px; border: 2px solid var(--ink); border-radius: 99px; background: var(--orange); color: #fff; font-size: .67rem; font-weight: 900; line-height: 15px; }
.account-dot { position: absolute; right: 3px; bottom: 3px; width: 11px; height: 11px; border: 2px solid var(--ink); border-radius: 50%; background: #4fc17c; }

.hero {
  position: relative;
  min-height: 610px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  padding: 82px max(24px, calc((100vw - var(--max)) / 2)) 100px;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}
.hero::before { content: ""; position: absolute; inset: 0; opacity: .15; background-image: radial-gradient(circle at 20% 10%, transparent 0 7px, #fff 7px 8px, transparent 8px 100%), linear-gradient(120deg, transparent 48%, rgba(255,255,255,.08) 49%, transparent 50%); background-size: 42px 42px, 260px 260px; mask-image: linear-gradient(to right, #000, transparent 75%); }
.hero-copy { position: relative; z-index: 2; max-width: 690px; }
.eyebrow { margin: 0 0 14px; color: var(--orange); font-size: .75rem; font-weight: 900; letter-spacing: .18em; }
.eyebrow.light { color: #ffd1c2; }
h1, h2, h3 { margin: 0; line-height: 1.04; letter-spacing: -.045em; }
.hero h1 { max-width: 780px; font-size: clamp(3rem, 6vw, 5.5rem); }
.hero h1 span { color: var(--orange); }
.hero-lede { max-width: 620px; margin: 28px 0 34px; color: #c7c9cf; font-size: clamp(1rem, 1.7vw, 1.22rem); }
.hero-lede span { color: #fff; font-weight: 800; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 13px 22px; border: 1px solid transparent; border-radius: 99px; font-weight: 850; text-decoration: none; cursor: pointer; transition: transform .2s, background .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: #ed653d; }
.btn-install { background: #fff; color: #17181c; border: 2px solid #fff; box-shadow: 0 5px 18px rgba(0,0,0,.25); }
.btn-install:hover { background: #f0f0f0; color: #17181c; }
.btn-install:focus-visible { outline: 3px solid #fff; outline-offset: 5px; }
.btn-install svg { flex: 0 0 24px; }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-light { background: #fff; color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-ghost-dark { border-color: var(--line); background: #fff; color: var(--ink); }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }
.btn.full { width: 100%; }
.hero-art { position: relative; height: 440px; }
.hero-orbit { position: absolute; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; }
.orbit-one { inset: 8% 2% 8% 4%; transform: rotate(-12deg); }
.orbit-two { inset: 19% -10% 0 20%; border-color: rgba(220,84,43,.5); transform: rotate(19deg); }
.phone-card { position: absolute; top: 5%; left: 27%; width: 250px; height: 390px; padding: 22px; border: 8px solid #090a0d; border-radius: 38px; background: linear-gradient(145deg, #303238, #17181c 70%); box-shadow: 0 45px 80px rgba(0,0,0,.55); transform: rotate(8deg); }
.phone-card::before { content: ""; position: absolute; inset: -45px -70px auto auto; z-index: -1; width: 260px; height: 260px; border-radius: 44% 56% 65% 35%; background: var(--orange); transform: rotate(24deg); }
.phone-card-top { display: flex; justify-content: space-between; }
.phone-card-top span:first-child { width: 55px; height: 7px; border-radius: 99px; background: #08090c; }
.phone-card-top span:last-child { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.phone-card-logo { width: 76px; height: 76px; display: grid; place-items: center; margin: 62px auto 40px; border: 3px solid var(--orange); border-radius: 26px 26px 11px 11px; color: var(--orange); font-size: 3rem; font-weight: 950; }
.phone-card-line { width: 70%; height: 8px; margin: 12px auto; border-radius: 99px; background: #4a4c54; }
.phone-card-line.long { width: 88%; }
.phone-card-chip { width: max-content; margin: 44px auto 0; padding: 8px 14px; border-radius: 99px; background: var(--orange); font-size: .72rem; font-weight: 900; }

.quick-grid { position: relative; z-index: 4; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; width: min(calc(100% - 48px), var(--max)); margin: -50px auto 0; }
.quick-card { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; min-height: 112px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: 0 16px 40px rgba(20,21,25,.09); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.quick-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.quick-icon { width: 55px; height: 55px; display: grid; place-items: center; border-radius: 17px; background: var(--orange-soft); color: var(--orange); }
.quick-card strong, .quick-card small { display: block; }
.quick-card strong { font-size: 1.1rem; }
.quick-card small { margin-top: 3px; color: var(--muted); }
.arrow { font-size: 1.35rem; color: var(--orange); }

.section { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; padding: 105px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.section h2 { font-size: clamp(2.25rem, 4vw, 4rem); }
.filter-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { padding: 9px 15px; border: 1px solid var(--line); border-radius: 99px; background: transparent; color: var(--muted); font-size: .85rem; font-weight: 800; cursor: pointer; }
.pill.active { border-color: var(--ink); background: var(--ink); color: #fff; }
.feed-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.feed-card { grid-column: span 6; display: flex; min-height: 390px; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 10px 36px rgba(29,30,34,.06); }
.feed-card:nth-child(3n+1) { grid-column: span 7; }
.feed-card:nth-child(3n+2) { grid-column: span 5; }
.feed-image { position: relative; min-height: 210px; display: flex; align-items: end; padding: 22px; overflow: hidden; background: linear-gradient(135deg, #27292f, #444750); color: #fff; }
.feed-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.6), transparent 65%); }
.feed-image.has-image { background-size: cover; background-position: center; }
.feed-image.has-image::before { content: ""; position: absolute; inset: 0; background: rgba(14,15,18,.22); }
.feed-visual-mark { position: absolute; top: 20px; right: 22px; color: rgba(255,255,255,.12); font-size: 8rem; font-weight: 950; line-height: 1; }
.feed-tag { position: relative; z-index: 2; padding: 7px 10px; border-radius: 99px; background: var(--orange); font-size: .68rem; font-weight: 900; letter-spacing: .1em; }
.feed-tag.promotion { background: #ffd76b; color: #372800; }
.feed-content { display: flex; flex: 1; flex-direction: column; padding: 24px; }
.feed-date { margin: 0 0 9px; color: var(--muted); font-size: .76rem; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.feed-content h3 { font-size: 1.55rem; }
.feed-content p { color: var(--muted); }
.feed-link { margin-top: auto; color: var(--orange); font-weight: 850; text-decoration: none; }
.empty-state { grid-column: 1/-1; padding: 55px; border: 1px dashed #ccc5bc; border-radius: 24px; text-align: center; color: var(--muted); }
.skeleton-card { padding: 20px; animation: pulse 1.3s infinite alternate; }
.skeleton-card div { height: 210px; border-radius: 18px; background: #e8e4de; }
.skeleton-card span { width: 80%; height: 18px; margin-top: 18px; border-radius: 8px; background: #e8e4de; }
.skeleton-card span:last-child { width: 54%; }
@keyframes pulse { to { opacity: .55; } }

.loyalty-section { width: 100%; padding: 0; }
.loyalty-card { display: grid; grid-template-columns: 1fr .82fr; gap: 60px; align-items: center; width: min(calc(100% - 48px), var(--max)); margin: 0 auto; padding: 64px; overflow: hidden; border-radius: 34px; background: var(--orange); color: #fff; box-shadow: 0 30px 70px rgba(174,55,21,.24); }
.loyalty-copy h2 { max-width: 570px; font-size: clamp(2.4rem, 4.8vw, 4.5rem); }
.loyalty-copy > p:not(.eyebrow) { max-width: 520px; margin: 24px 0 30px; color: #ffe0d6; }
.loyalty-copy .loyalty-account-note { max-width: 450px; margin: 14px 0 0; color: #fff0eb; font-size: .78rem; line-height: 1.45; }
.points-card { position: relative; padding: 30px; border: 1px solid rgba(255,255,255,.18); border-radius: 26px; background: rgba(23,24,28,.94); box-shadow: 0 30px 60px rgba(79,16,0,.3); }
.points-card::before { content: "R"; position: absolute; top: 6px; right: 20px; color: rgba(255,255,255,.035); font-size: 10rem; font-weight: 950; line-height: 1; }
.points-top { display: flex; justify-content: space-between; color: #9da0aa; font-size: .67rem; font-weight: 850; letter-spacing: .12em; }
.points-number { position: relative; margin: 22px 0 12px; }
.points-number strong { font-size: 5rem; line-height: 1; }
.points-number span { margin-left: 5px; color: #c4c6cc; font-weight: 800; }
.progress-track { height: 9px; overflow: hidden; border-radius: 99px; background: #41434a; }
.progress-track span { display: block; height: 100%; border-radius: inherit; background: var(--orange); transition: width .5s; }
.points-card > p { color: #c3c5cc; font-size: .85rem; }
.stamp-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.stamp { width: 31px; height: 31px; display: grid; place-items: center; border: 1px solid #555861; border-radius: 50%; color: #71747e; font-size: .7rem; font-weight: 900; }
.stamp.earned { border-color: var(--orange); background: var(--orange); color: #fff; }

.preferences-section { display: grid; grid-template-columns: 1fr .92fr; gap: 70px; align-items: center; }
.preferences-copy > p:last-child { max-width: 520px; color: var(--muted); }
.preferences-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.preference-row { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 15px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.preference-row:first-child { padding-top: 4px; }
.preference-symbol { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 14px; font-size: 1.2rem; font-weight: 950; }
.preference-symbol.event { background: #f1edff; color: #664ac5; }
.preference-symbol.promotion { background: #fff2cc; color: #906800; }
.preference-row strong, .preference-row small { display: block; }
.preference-row small { margin-top: 2px; color: var(--muted); }
.preference-row input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.toggle { position: relative; width: 46px; height: 27px; border-radius: 99px; background: #d7d5d1; transition: background .2s; }
.toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 21px; height: 21px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(0,0,0,.2); transition: transform .2s; }
.preference-row input:checked + .toggle { background: var(--orange); }
.preference-row input:checked + .toggle::after { transform: translateX(19px); }
.preference-row input:focus-visible + .toggle { outline: 3px solid rgba(220,84,43,.25); outline-offset: 3px; }
.preferences-card .btn { margin-top: 22px; }
.form-status { min-height: 21px; margin: 10px 0 0; color: var(--green); font-size: .82rem; text-align: center; }

footer { display: flex; align-items: center; gap: 22px; padding: 35px max(24px, calc((100vw - var(--max)) / 2)); background: var(--ink); color: #aeb0b7; }
footer img { object-fit: contain; }
footer p { margin-right: auto; }
footer a { color: #fff; }
.admin-link { color: #83858d; font-size: .75rem; text-decoration: none; }
.mobile-nav { display: none; }

.modal { width: min(92vw, 510px); max-height: 90vh; padding: 34px; border: 0; border-radius: 28px; background: #fff; color: var(--ink); box-shadow: 0 35px 100px rgba(0,0,0,.4); }
.modal::backdrop { background: rgba(9,10,12,.72); backdrop-filter: blur(5px); }
.modal h2 { font-size: 2.3rem; }
.modal > p:not(.eyebrow) { color: var(--muted); }
.modal-close { position: absolute; top: 18px; right: 18px; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); font-size: 1.55rem; line-height: 1; cursor: pointer; }
.qr-frame { display: grid; place-items: center; min-height: 180px; margin: 25px 0 18px; padding: 16px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.qr-frame canvas { width: 100%; height: auto; max-height: 180px; image-rendering: pixelated; }
.member-code { display: block; font-size: 1.25rem; letter-spacing: .2em; text-align: center; }
.privacy-note { font-size: .76rem; text-align: center; }
.drawer { margin-right: 18px; }
.notification-list { display: grid; gap: 10px; margin-top: 24px; }
.notification-item { display: grid; grid-template-columns: auto 1fr; gap: 12px; padding: 14px; border-radius: 16px; background: #f6f3ee; text-decoration: none; }
.notification-item .dot { width: 10px; height: 10px; margin-top: 6px; border-radius: 50%; background: var(--orange); }
.notification-item strong, .notification-item small { display: block; }
.notification-item small { margin-top: 3px; color: var(--muted); }
.install-steps { padding-left: 20px; color: var(--muted); }
.install-steps li { margin: 11px 0; }
.restaurant-modal { width: min(92vw, 650px); }
.restaurant-list { display: grid; gap: 10px; margin-top: 22px; }
.restaurant-option { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; width: 100%; padding: 15px; border: 1px solid var(--line); border-radius: 17px; background: #fff; color: var(--ink); text-align: left; cursor: pointer; }
.restaurant-option:hover, .restaurant-option.selected { border-color: var(--orange); background: var(--orange-soft); }
.restaurant-avatar { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--ink); color: #fff; font-weight: 950; }
.restaurant-option strong, .restaurant-option small { display: block; }
.restaurant-option small { color: var(--muted); }
.restaurant-option .check { color: var(--orange); font-weight: 950; }
.account-modal { width: min(92vw, 560px); }
.account-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin: 24px 0 20px; padding: 5px; border-radius: 14px; background: #f0ece6; }
.account-tabs button { padding: 10px 12px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font-weight: 850; cursor: pointer; }
.account-tabs button.active { background: #fff; color: var(--ink); box-shadow: 0 3px 12px rgba(23,24,28,.1); }
.account-form { display: grid; gap: 14px; }
.account-form label { display: grid; gap: 6px; color: var(--ink); font-size: .82rem; font-weight: 850; }
.account-form input { width: 100%; padding: 13px 14px; border: 1px solid #cbc6be; border-radius: 12px; background: #fff; color: var(--ink); outline: none; }
.account-form input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(217,78,38,.14); }
.account-form label small { color: var(--muted); font-size: .7rem; font-weight: 500; }
.account-form .btn { margin-top: 4px; }
.account-status { min-height: 22px; margin: 12px 0 0; color: #a93c21 !important; font-size: .82rem; text-align: center; }
.account-connected { text-align: center; }
.account-avatar { display: grid; width: 78px; height: 78px; margin: 12px auto 18px; place-items: center; border-radius: 24px; background: var(--orange); color: #fff; font-size: 2rem; font-weight: 950; }
.account-connected > p { margin-top: 8px; }
.account-explainer { display: grid; gap: 6px; margin: 25px 0; padding: 18px; border-radius: 16px; background: #f6f3ee; text-align: left; }
.account-explainer span { color: var(--muted); font-size: .84rem; }
.toast { position: fixed; z-index: 100; right: 22px; bottom: 22px; max-width: min(390px, calc(100vw - 44px)); padding: 14px 18px; border-radius: 13px; background: var(--ink); color: #fff; box-shadow: var(--shadow); opacity: 0; transform: translateY(15px); pointer-events: none; transition: .25s; }
.toast.show { opacity: 1; transform: none; }
.noscript { position: fixed; z-index: 1000; inset: 0 0 auto; padding: 12px; background: #ffd768; color: #221b00; text-align: center; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 68px; }
  .hero-copy { max-width: 760px; }
  .hero-art { position: absolute; right: -110px; bottom: -100px; width: 470px; opacity: .42; }
  .phone-card { transform: rotate(12deg) scale(.86); }
  .quick-grid { grid-template-columns: 1fr; max-width: 660px; }
  .feed-card, .feed-card:nth-child(n) { grid-column: span 6; }
  .loyalty-card, .preferences-section { grid-template-columns: 1fr; }
  .loyalty-card { gap: 42px; padding: 48px; }
}

@media (max-width: 640px) {
  body { padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
  .topbar { min-height: 70px; grid-template-columns: auto 1fr auto; padding: 6px 14px; }
  .brand { width: 66px; }
  .brand img { width: 62px; height: 49px; }
  .restaurant-picker { max-width: calc(100vw - 180px); margin-left: 0; padding: 8px 10px; }
  .restaurant-picker small { font-size: .53rem; }
  .restaurant-picker strong { max-width: calc(100vw - 230px); font-size: .78rem; }
  .topbar-actions { gap: 5px; }
  .icon-btn { width: 39px; height: 39px; }
  .icon-btn svg { width: 20px; }
  .hero { min-height: 650px; padding: 58px 22px 180px; align-items: start; }
  .hero h1 { font-size: clamp(2.7rem, 14vw, 4rem); }
  .hero-lede { margin: 22px 0 28px; }
  .hero-actions .btn { width: 100%; }
  .hero-art { right: -175px; bottom: -170px; transform: scale(.78); }
  .quick-grid { width: calc(100% - 30px); margin-top: -66px; gap: 10px; }
  .quick-card { min-height: 94px; padding: 16px; border-radius: 18px; }
  .quick-icon { width: 48px; height: 48px; }
  .section { width: calc(100% - 32px); padding: 75px 0; }
  .section-heading { align-items: start; flex-direction: column; }
  .section h2 { font-size: 2.55rem; }
  .filter-pills { overflow-x: auto; width: 100%; flex-wrap: nowrap; padding-bottom: 4px; }
  .feed-grid { display: block; }
  .feed-card { min-height: 365px; margin-bottom: 14px; }
  .loyalty-card { width: calc(100% - 24px); padding: 35px 24px; border-radius: 27px; }
  .points-card { padding: 24px; }
  .preferences-section { gap: 35px; }
  .preferences-card { padding: 20px; }
  .preference-row { grid-template-columns: auto 1fr auto; gap: 10px; }
  .preference-symbol { width: 40px; height: 40px; }
  footer { display: block; padding: 36px 24px; text-align: center; }
  footer p { margin: 10px 0 20px; }
  .mobile-nav { position: fixed; z-index: 25; inset: auto 0 0; display: grid; grid-template-columns: repeat(4, 1fr); padding: 7px 8px calc(7px + env(safe-area-inset-bottom)); border-top: 1px solid #33353b; background: rgba(23,24,28,.97); backdrop-filter: blur(16px); }
  .mobile-nav a { display: grid; place-items: center; gap: 2px; color: #8d9098; font-size: .62rem; font-weight: 750; text-decoration: none; }
  .mobile-nav a.active { color: var(--orange); }
  .mobile-nav svg { width: 21px; height: 21px; }
  .modal { padding: 30px 22px; }
  .drawer { margin: auto auto 10px; border-radius: 27px 27px 16px 16px; }
  .toast { bottom: calc(84px + env(safe-area-inset-bottom)); }
}

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

@media (display-mode: standalone) {
  #installButton { display: none !important; }
  .topbar { padding-top: calc(8px + env(safe-area-inset-top)); }
}
