:root {
  color-scheme: dark;
  --bg: #070a0e;
  --surface: #10161d;
  --surface-2: #151d26;
  --surface-3: #1b2631;
  --text: #f5f7f8;
  --muted: #8b98a5;
  --green: #12b5ff;
  --green-dark: #062f44;
  --accent-rgb: 18, 181, 255;
  --accent-bright: #58c9ff;
  --accent-ink: #041b27;
  --toast-bg: #e6f7ff;
  --toast-ink: #062c3d;
  --amber: #ffb02e;
  --red: #ff626b;
  --shadow: 0 18px 45px rgba(0, 0, 0, .28);
  --nav-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  overflow-x: hidden;
  padding-bottom: calc(var(--nav-height) + env(safe-area-inset-bottom) + 12px);
  background:
    radial-gradient(circle at 50% -18rem, rgba(var(--accent-rgb), .13), transparent 36rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.overlayOpen {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(100, 196, 255, .48);
}

button:disabled {
  cursor: default;
  opacity: .42;
}

.sInput:focus-visible,
.sheetInput:focus-visible {
  box-shadow: none;
}

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.hidden,
.seo-h1 {
  display: none !important;
}

.appTop {
  position: sticky;
  z-index: 40;
  top: 0;
  width: 100%;
  padding: calc(8px + env(safe-area-inset-top)) 10px 8px;
  background: rgba(7, 10, 14, .93);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .22);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.searchRow {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 5px;
  align-items: center;
  width: 100%;
}

.backBtn {
  display: grid;
  width: 40px;
  height: 46px;
  padding: 0;
  place-items: center;
  background: transparent;
  color: #d7dde1;
}

.backBtn svg {
  width: 25px;
  height: 25px;
  stroke-width: 2.3;
}

.searchField {
  position: relative;
  display: flex;
  height: 46px;
  align-items: center;
  overflow: hidden;
  border-radius: 17px;
  background: #f4f6f7;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .2);
}

.searchIcon {
  width: 21px;
  height: 21px;
  margin: 0 11px 0 14px;
  flex: 0 0 auto;
  color: #697582;
  stroke-width: 2.4;
}

.sInput {
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0 43px 0 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #111820;
  font-size: 15px;
  font-weight: 750;
}

.sInput::placeholder {
  color: #7b8793;
  opacity: 1;
}

.sInput::-webkit-search-cancel-button {
  display: none;
}

.clearBtn {
  position: absolute;
  top: 7px;
  right: 7px;
  display: grid;
  width: 32px;
  height: 32px;
  padding: 0;
  place-items: center;
  border-radius: 11px;
  background: #e3e7ea;
  color: #596572;
  font-size: 22px;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: scale(.82);
  transition: opacity .16s ease, transform .16s ease;
}

.clearBtn.visible {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.quickRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  height: 42px;
  padding: 6px 1px 0;
}

.cityButton,
.filterTrigger {
  display: inline-flex;
  min-width: 0;
  height: 36px;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
}

.cityButton {
  max-width: 62%;
  padding: 0 10px 0 8px;
  background: transparent;
}

.cityButton strong {
  overflow: hidden;
  min-width: 0;
  font-size: 13px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cityButton svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  color: #768491;
}

.cityDot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(var(--accent-rgb), .12);
}

.filterTrigger {
  flex: 0 0 auto;
  padding: 0 11px;
  background: #151c24;
  color: #d5dbe0;
  font-size: 11px;
  font-weight: 850;
}

.filterTrigger svg {
  width: 17px;
  height: 17px;
  color: var(--accent-bright);
}

.filterTrigger b {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: var(--accent-ink);
  font-size: 9px;
}

.appMain {
  width: 100%;
}

.listHeading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  padding: 17px 14px 11px;
}

.listHeading > div {
  min-width: 0;
}

.platformLabel {
  display: block;
  margin-bottom: 4px;
  color: var(--green);
  font-size: 9px;
  font-weight: 950;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.listHeading h2 {
  margin: 0;
  color: #f6f8f8;
  font-size: 20px;
  font-weight: 950;
  letter-spacing: -.035em;
  line-height: 1.05;
}

.listHeading p {
  max-width: 600px;
  margin: 5px 0 0;
  overflow: hidden;
  color: #7f8c98;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.resultCount {
  flex: 0 0 auto;
  padding-bottom: 2px;
  color: #95a1ac;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.monthlyGlobalStats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  margin: 0 0 9px;
  padding: 12px 8px 9px;
  background: linear-gradient(100deg, #0d1b16, #0d1319);
}

.globalStat {
  min-width: 0;
  padding: 2px 7px;
}

.globalStat span {
  display: block;
  overflow: hidden;
  color: #77867f;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .04em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.globalStat strong {
  display: block;
  overflow: hidden;
  margin-top: 4px;
  color: #f0f4f2;
  font-size: 18px;
  font-weight: 950;
  letter-spacing: -.04em;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.globalStatAccent strong {
  color: var(--accent-bright);
  font-size: 15px;
}

.resetLine {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  padding: 4px 7px 0;
  color: #74847c;
  font-size: 8px;
}

.resetLine strong {
  color: #c8d2cd;
}

.restaurantGrid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  width: 100%;
  padding: 0 10px 10px;
}

.venueCard {
  --accent: var(--green);
  --accent-soft: rgba(var(--accent-rgb), .13);
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .18);
  content-visibility: auto;
  contain-intrinsic-size: 126px;
}

.venueCard.medium {
  --accent: var(--amber);
  --accent-soft: rgba(255, 176, 46, .13);
}

.venueCard.slow {
  --accent: var(--red);
  --accent-soft: rgba(255, 98, 107, .13);
}

.venueCard.none {
  --accent: #82909c;
  --accent-soft: rgba(130, 144, 156, .12);
}

.venueTop {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) minmax(64px, auto);
  gap: 10px;
  min-height: 79px;
  align-items: center;
  padding: 12px 14px 8px;
}

.rankNumber {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 11px;
  font-weight: 950;
}

.venueIdentity {
  min-width: 0;
}

.venueIdentity small {
  display: block;
  overflow: hidden;
  margin-bottom: 4px;
  color: var(--accent-bright);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .065em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.venueIdentity h3 {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #f3f6f7;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.13;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.waitValue {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 3px;
  min-width: 0;
  color: #fff;
  text-align: right;
  white-space: nowrap;
}

.waitValue strong {
  color: #fff;
  font-size: 31px;
  font-weight: 950;
  letter-spacing: -.065em;
  line-height: 1;
}

.waitValue span {
  color: #7f8b96;
  font-size: 9px;
  font-weight: 850;
}

.waitValue.noData {
  max-width: 68px;
  white-space: normal;
}

.waitValue.noData strong {
  color: #8c98a3;
  font-size: 10px;
  letter-spacing: 0;
  line-height: 1.2;
}

.venueFooter {
  display: flex;
  height: 30px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 14px 7px 58px;
}

.waitStatus,
.deliveryCount {
  font-size: 9px;
  font-weight: 850;
}

.waitStatus {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
}

.waitStatus i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 5px var(--accent-soft);
}

.deliveryCount {
  color: #7e8a95;
}

.waitTrack {
  height: 3px;
  margin: 0 14px 11px 58px;
  overflow: hidden;
  border-radius: 999px;
  background: #1e2832;
}

.waitTrack i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

.venueHero {
  position: relative;
  height: 158px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(var(--accent-rgb), .2), transparent 42%),
    #152019;
}

.venueHero::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, .04) 25%, rgba(0, 0, 0, .9) 100%);
}

.venueHero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.venueHero.imageFailed {
  background:
    radial-gradient(circle at 75% 22%, rgba(var(--accent-rgb), .22), transparent 35%),
    linear-gradient(135deg, #18241f, #10171e);
}

.heroRank {
  position: absolute;
  z-index: 2;
  top: 11px;
  left: 11px;
  background: rgba(5, 10, 8, .75);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
}

.venueHeroBottom {
  position: absolute;
  z-index: 2;
  right: 13px;
  bottom: 12px;
  left: 13px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.venueHero .venueIdentity small {
  color: #76e5aa;
}

.venueHero .venueIdentity h3 {
  color: #fff;
  font-size: 20px;
  text-shadow: 0 3px 12px rgba(0, 0, 0, .5);
}

.venueHero .waitValue span {
  color: rgba(255, 255, 255, .7);
}

.venueHero .waitValue.noData strong {
  color: rgba(255, 255, 255, .78);
}

.photoVenue .venueFooter {
  height: 39px;
  padding: 7px 14px 5px;
}

.photoVenue .waitTrack {
  margin-left: 14px;
}

.deliveryHistoryPreview {
  margin: 2px 10px 10px;
  padding: 7px;
  border-radius: 13px;
  background: #0c1117;
}

.deliveryHistoryHead {
  display: flex;
  min-height: 30px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 4px;
  color: #83909b;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.deliveryHistoryHead button {
  padding: 7px 8px;
  border-radius: 999px;
  background: #17212b;
  color: #5add9b;
  font-size: 9px;
  font-weight: 900;
  text-transform: none;
}

.deliveryRows,
.historyList {
  display: grid;
  gap: 3px;
}

.deliveryRow,
.historyItem {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 9px;
  border-radius: 9px;
  background: #121a22;
  color: #81909b;
  font-size: 9px;
}

.deliveryRow:nth-child(even),
.historyItem:nth-child(even) {
  background: #151f28;
}

.deliveryRow strong,
.historyItem strong {
  flex: 0 0 auto;
  color: #dce3e0;
  font-size: 10px;
}

.deliveryEmpty,
.historyEmpty {
  padding: 13px 8px;
  color: #73808b;
  font-size: 10px;
  text-align: center;
}

.emptyState {
  grid-column: 1 / -1;
  display: flex;
  min-height: 190px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 28px 18px;
  border-radius: 18px;
  background: #0d131a;
  text-align: center;
}

.emptyState strong {
  font-size: 18px;
}

.emptyState span {
  max-width: 420px;
  color: #7d8995;
  font-size: 11px;
  line-height: 1.45;
}

.skeletonCard {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 70px;
  gap: 11px;
  min-height: 118px;
  align-items: center;
  padding: 18px 14px;
  content-visibility: visible;
}

.skeletonCircle,
.skeletonLines i,
.skeletonValue {
  display: block;
  border-radius: 9px;
  background: linear-gradient(100deg, #17202a 25%, #22303b 45%, #17202a 65%);
  background-size: 240% 100%;
  animation: shimmer 1s linear infinite;
}

.skeletonCircle {
  width: 31px;
  height: 31px;
  border-radius: 50%;
}

.skeletonLines {
  display: grid;
  gap: 8px;
}

.skeletonLines i {
  width: 88%;
  height: 12px;
}

.skeletonLines i:last-child {
  width: 55%;
  height: 8px;
}

.skeletonValue {
  width: 62px;
  height: 28px;
}

@keyframes shimmer {
  to { background-position: -240% 0; }
}

.moreWrap {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 2px 12px 17px;
}

.moreBtn {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 999px;
  background: #161f28;
  color: #c9d0d5;
  font-size: 11px;
  font-weight: 900;
}

.foldArea {
  display: grid;
  gap: 5px;
  width: 100%;
  padding: 2px 10px 18px;
}

.foldSection {
  overflow: hidden;
  border-radius: 14px;
  background: #0d131a;
}

.foldSection > summary {
  display: flex;
  min-height: 49px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 12px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.foldSection > summary::-webkit-details-marker,
.faqItem > summary::-webkit-details-marker {
  display: none;
}

.foldSection > summary span {
  min-width: 0;
}

.foldSection > summary small {
  display: block;
  margin-bottom: 2px;
  color: var(--green);
  font-size: 7px;
  font-weight: 950;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.foldSection > summary strong {
  display: block;
  overflow: hidden;
  color: #dfe5e8;
  font-size: 11px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.foldSection > summary b {
  display: grid;
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 9px;
  background: #17212b;
  color: #81909c;
  font-size: 17px;
  font-weight: 500;
  transition: transform .18s ease, color .18s ease, background .18s ease;
}

.foldSection[open] > summary b {
  background: #123222;
  color: #5add9b;
  transform: rotate(45deg);
}

.foldBody {
  padding: 0 8px 9px;
}

.infoGrid,
.seoContentGrid,
.seoLinksGrid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 5px;
}

.infoCard,
.seoInfoBox,
.seoLinksBox {
  padding: 12px;
  border-radius: 11px;
  background: #121a22;
}

.infoCardTitle,
.seoInfoBox h3,
.seoLinksBox h3 {
  margin: 0;
  color: #e0e6e8;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.3;
}

.infoCardText,
.seoInfoBox p,
.seoContentHead p {
  margin: 5px 0 0;
  color: #86939e;
  font-size: 10px;
  line-height: 1.55;
}

.faqList {
  display: grid;
  gap: 4px;
}

.faqItem {
  overflow: hidden;
  border-radius: 10px;
  background: #121a22;
}

.faqItem > summary {
  position: relative;
  padding: 12px 34px 12px 12px;
  color: #dce2e5;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}

.faqItem > summary::after {
  position: absolute;
  top: 50%;
  right: 12px;
  color: #74828e;
  content: "+";
  font-size: 15px;
  transform: translateY(-50%);
}

.faqItem[open] > summary::after {
  color: var(--green);
  content: "−";
}

.faqBody {
  padding: 0 12px 12px;
  color: #85919c;
  font-size: 10px;
  line-height: 1.55;
}

.seoContentBody {
  display: grid;
  gap: 7px;
}

.seoContentHead {
  padding: 3px 2px 5px;
}

.seoContentHead > span {
  display: none;
}

.seoContentHead h2 {
  margin: 0;
  color: #e8edef;
  font-size: 17px;
  line-height: 1.2;
}

.seoLinksGrid {
  margin-top: 8px;
}

.seoLinksGrid a {
  overflow: hidden;
  padding: 9px 10px;
  border-radius: 8px;
  background: #18222c;
  color: #62dc9e;
  font-size: 9px;
  font-weight: 800;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bottomNavigation {
  position: fixed;
  z-index: 80;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  height: calc(var(--nav-height) + env(safe-area-inset-bottom));
  padding: 6px 7px calc(6px + env(safe-area-inset-bottom));
  background: rgba(8, 12, 17, .95);
  box-shadow: 0 -18px 40px rgba(0, 0, 0, .3);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.navItem {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 5px 3px;
  border-radius: 16px;
  background: transparent;
  color: #7d8996;
  transition: color .16s ease, background .16s ease, transform .16s ease;
}

.navItem svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.9;
}

.navItem span {
  overflow: hidden;
  max-width: 100%;
  font-size: 9px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.navItem.active {
  background: var(--green);
  color: #03140a;
  box-shadow: 0 9px 25px rgba(var(--accent-rgb), .25);
}

.navItem:active {
  transform: scale(.97);
}

.modal,
.sheet {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  align-items: end;
  padding: 0;
}

.modalBackdrop,
.sheetBack {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

.sheetCard,
.modalBox {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: min(790px, 90dvh);
  overflow: auto;
  border-radius: 24px 24px 0 0;
  background: #10171f;
  box-shadow: 0 -28px 70px rgba(0, 0, 0, .48);
  animation: sheetIn .2s ease-out both;
}

@keyframes sheetIn {
  from { transform: translateY(24px); opacity: .7; }
  to { transform: translateY(0); opacity: 1; }
}

.sheetGrab {
  width: 38px;
  height: 4px;
  margin: 8px auto -2px;
  border-radius: 999px;
  background: #34414d;
}

.sheetHead,
.historyHead {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 17px 16px 13px;
}

.sheetTitle,
.mTitle {
  color: #f2f5f6;
  font-size: 19px;
  font-weight: 950;
  letter-spacing: -.035em;
}

.sheetSub,
.mText {
  margin-top: 4px;
  color: #82909b;
  font-size: 10px;
  line-height: 1.45;
}

.sheetX {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  padding: 0;
  place-items: center;
  border-radius: 13px;
  background: #1a2430;
  color: #95a1ab;
  font-size: 21px;
}

.sheetBody {
  padding: 0 16px calc(16px + env(safe-area-inset-bottom));
}

.filterBody {
  display: grid;
  gap: 9px;
}

.filterSection {
  padding: 12px;
  border-radius: 16px;
  background: #151d26;
}

.filterSectionLabel {
  margin: 0 0 9px 2px;
  color: #85929d;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.choiceRow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  border-radius: 14px;
  background: #0d131a;
}

.choiceBtn,
.sampleChoices button {
  min-height: 42px;
  padding: 6px 7px;
  border-radius: 11px;
  background: transparent;
  color: #85929d;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.2;
}

.choiceBtn.active,
.sampleChoices button.active {
  background: var(--green);
  color: var(--accent-ink);
  box-shadow: 0 8px 20px rgba(var(--accent-rgb), .18);
}

.sampleChoices {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.switchRow {
  display: flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0;
  background: transparent;
  text-align: left;
}

.switchRow > span:first-child {
  min-width: 0;
}

.switchRow strong,
.switchRow small {
  display: block;
}

.switchRow strong {
  color: #e5e9eb;
  font-size: 12px;
  font-weight: 900;
}

.switchRow small {
  margin-top: 3px;
  color: #7e8b96;
  font-size: 9px;
}

.switchTrack {
  position: relative;
  width: 49px;
  height: 28px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #2a3641;
  transition: background .18s ease;
}

.switchTrack i {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #e9edef;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .28);
  transition: transform .18s ease;
}

.switchRow[aria-pressed="true"] .switchTrack {
  background: var(--green);
}

.switchRow[aria-pressed="true"] .switchTrack i {
  transform: translateX(21px);
}

.filterActions,
.mActions,
.sheetFoot {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  gap: 7px;
  margin-top: 2px;
}

.primaryBtn,
.ghostBtn {
  min-height: 45px;
  padding: 0 14px;
  border-radius: 14px;
  font-size: 11px;
  font-weight: 950;
}

.primaryBtn {
  background: var(--green);
  color: var(--accent-ink);
}

.ghostBtn {
  background: #1a2430;
  color: #bdc6cd;
}

.sheetInputWrap {
  display: flex;
  height: 52px;
  align-items: center;
  overflow: hidden;
  border-radius: 18px;
  background: #171e26;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .025);
  transition: background .16s ease;
}

.sheetInputWrap:focus-within {
  background: #202832;
}

.sheetIco {
  display: grid;
  width: 44px;
  place-items: center;
  color: #788691;
}

.sheetIco svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.sheetInput {
  width: 100%;
  height: 100%;
  padding: 0 12px 0 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  caret-color: #c8d0d6;
}

.sugs {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 5px;
  max-height: min(410px, 50dvh);
  margin-top: 12px;
  overflow: auto;
  overscroll-behavior: contain;
}

.sug {
  display: grid;
  grid-template-columns: 13px minmax(0, 1fr) auto;
  min-height: 51px;
  align-items: center;
  gap: 9px;
  padding: 9px 11px;
  border-radius: 14px;
  background: #141b22;
  text-align: left;
  transition: transform .14s ease, background .14s ease;
}

.sug.active {
  background: rgba(var(--accent-rgb), .16);
}

.sug:active {
  transform: scale(.975);
}

.cityMark {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #60707c;
  box-shadow: 0 0 0 5px rgba(96, 112, 124, .11);
}

.sug.active .cityMark {
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(var(--accent-rgb), .13);
}

.sug strong {
  overflow: hidden;
  color: #eef3f5;
  font-size: 11px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: normal;
}

.kbd {
  color: var(--accent-bright);
  font-size: 17px;
}

.sugEmpty {
  grid-column: 1 / -1;
  padding: 22px 10px;
  color: #77848f;
  font-size: 10px;
  text-align: center;
}

.cityPickerCard {
  max-height: min(660px, 82dvh);
  background: #0d131a;
}

.modal {
  align-items: end;
}

.modalBox {
  padding: 19px 16px calc(18px + env(safe-area-inset-bottom));
}

.modalBoxWide {
  width: 100%;
}

.historyHead {
  padding: 0 0 14px;
}

.historyList {
  max-height: 60dvh;
  overflow: auto;
}

.saveToast {
  position: fixed;
  z-index: 1300;
  right: 8px;
  bottom: calc(var(--nav-height) + env(safe-area-inset-bottom) + 9px);
  max-width: calc(100vw - 16px);
  padding: 10px 13px;
  border-radius: 12px;
  background: var(--toast-bg);
  color: var(--toast-ink);
  box-shadow: 0 17px 42px rgba(0, 0, 0, .35);
  font-size: 10px;
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .18s ease, transform .18s ease;
}

.saveToast.show {
  opacity: 1;
  transform: translateY(0);
}

#silktide-cookie-icon,
[class*="silktide" i][class*="cookie-icon" i] {
  z-index: 75 !important;
  bottom: calc(var(--nav-height) + 10px) !important;
}

@media (min-width: 720px) {
  :root {
    --nav-height: 70px;
  }

  body {
    padding-bottom: 106px;
  }

  .appTop {
    padding-right: 22px;
    padding-left: 22px;
  }

  .searchRow,
  .quickRow {
    max-width: 820px;
    margin-right: auto;
    margin-left: auto;
  }

  .searchRow {
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .backBtn {
    width: 46px;
  }

  .quickRow {
    padding-right: 4px;
    padding-left: 50px;
  }

  .listHeading {
    padding: 22px 22px 15px;
  }

  .listHeading h2 {
    font-size: 25px;
  }

  .listHeading p {
    font-size: 12px;
  }

  .monthlyGlobalStats {
    margin-bottom: 14px;
    padding: 16px 18px 13px;
  }

  .globalStat span {
    font-size: 9px;
  }

  .globalStat strong {
    font-size: 24px;
  }

  .globalStatAccent strong {
    font-size: 21px;
  }

  .restaurantGrid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 14px;
    padding: 0 22px 16px;
  }

  .venueCard {
    box-shadow: var(--shadow);
    transition: transform .18s ease, box-shadow .18s ease;
  }

  .venueCard:hover {
    transform: translateY(-2px);
    box-shadow: 0 23px 55px rgba(0, 0, 0, .33);
  }

  .venueTop {
    min-height: 88px;
  }

  .venueIdentity h3 {
    font-size: 17px;
  }

  .venueHero {
    height: 190px;
  }

  .foldArea {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 5px 22px 22px;
  }

  .foldSection[open] {
    grid-column: 1 / -1;
  }

  .infoGrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .seoContentGrid,
  .seoLinksGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bottomNavigation {
    right: auto;
    bottom: 17px;
    left: 50%;
    width: min(610px, calc(100vw - 34px));
    height: var(--nav-height);
    padding: 6px;
    border-radius: 21px;
    transform: translateX(-50%);
    box-shadow: 0 20px 65px rgba(0, 0, 0, .46);
  }

  .navItem {
    flex-direction: row;
    gap: 8px;
  }

  .navItem span {
    font-size: 11px;
  }

  .sheet,
  .modal {
    place-items: center;
    padding: 18px;
  }

  .sheetCard,
  .modalBox {
    width: min(100%, 520px);
    max-height: min(790px, calc(100dvh - 36px));
    border-radius: 24px;
  }

  .modalBoxWide {
    width: min(100%, 580px);
  }
}

@media (min-width: 960px) {
  .appTop {
    display: grid;
    grid-template-columns: minmax(460px, 720px) minmax(280px, 390px);
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 14px 28px;
  }

  .searchRow,
  .quickRow {
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .quickRow {
    height: 46px;
    padding: 0;
  }

  .appMain {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
  }

  .listHeading {
    padding-right: 0;
    padding-left: 0;
  }

  .monthlyGlobalStats {
    border-radius: 20px;
  }

  .restaurantGrid {
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    padding-right: 0;
    padding-left: 0;
  }

  .foldArea {
    padding-right: 0;
    padding-left: 0;
  }

  .cityPickerCard {
    width: min(100%, 500px);
  }

  .sug:hover {
    background: #1b242d;
  }

  .sug.active:hover {
    background: rgba(var(--accent-rgb), .2);
  }
}

@media (max-width: 360px) {
  .listHeading p {
    max-width: 225px;
  }

  .venueTop {
    grid-template-columns: 31px minmax(0, 1fr) minmax(57px, auto);
    gap: 7px;
    padding-right: 11px;
    padding-left: 11px;
  }

  .venueIdentity h3 {
    font-size: 13px;
  }

  .waitValue strong {
    font-size: 27px;
  }

  .venueFooter {
    padding-left: 49px;
  }

  .waitTrack {
    margin-left: 49px;
  }

  .navItem span {
    font-size: 8px;
  }
}

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