/* NearbyTop10 — design system */
:root {
  --ink: #17110d; --ink-2: #2b201a; --ink-3: #4a3c33;
  --cream: #fbf6ec; --cream-2: #f3ead9; --paper: #ffffff;
  --muted: #6d6158; --line: rgba(23, 17, 13, .12); --line-2: rgba(23, 17, 13, .2);
  --gold: #f5a800; --gold-2: #ffd25a; --gold-ink: #5a3d00;
  --chili: #d4311f; --chili-2: #ffe6e1; --leaf: #1c8a4b; --leaf-2: #def4e6; --amber: #b86e00; --amber-2: #fff0d4;
  --radius: 16px; --radius-sm: 10px; --shadow: 0 1px 2px rgba(23,17,13,.06), 0 8px 24px -12px rgba(23,17,13,.25);
  --display: 'Bricolage Grotesque', 'DM Sans', system-ui, sans-serif; --body: 'Plus Jakarta Sans', 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1180px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 16px/1.5 var(--body); -webkit-font-smoothing: antialiased; padding-bottom: env(safe-area-inset-bottom); }
h1, h2, h3, h4 { font-family: var(--display); letter-spacing: -.02em; line-height: 1.1; margin: 0; font-weight: 800; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }
.muted { color: var(--muted); } .small { font-size: 13px; } .tiny { font-size: 12px; } .center { text-align: center; }
.row { display: flex; gap: 12px; align-items: center; } .row.wrap-r { flex-wrap: wrap; } .grow { flex: 1; min-width: 0; } .gap-s { gap: 6px; } .between { justify-content: space-between; }
.stack > * + * { margin-top: 12px; }
.hide { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 40; background: rgba(251, 246, 236, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-head .bar { display: flex; align-items: center; gap: 12px; height: 62px; }
.logo { display: inline-flex; align-items: center; gap: 8px; font: 800 21px/1 var(--display); letter-spacing: -.03em; }
.logo-badge { width: 34px; height: 34px; border-radius: 10px; background: var(--gold); color: var(--ink); display: grid; place-items: center; font: 800 16px/1 var(--display); letter-spacing: -.04em; box-shadow: inset 0 -3px 0 rgba(0,0,0,.12); }
.logo b { color: var(--chili); font-weight: 800; } .logo small { font: 500 12px var(--body); color: var(--muted); letter-spacing: 0; margin-left: -4px; }
.head-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.pill-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--paper); font-weight: 600; font-size: 14px; white-space: nowrap; }
.pill-btn:hover { border-color: var(--ink); }
.loc-btn { max-width: 190px; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 560px) { .logo small { display: none; } .hide-m { display: none !important; } }

/* ---------- buttons & inputs ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border-radius: 12px; border: 0; background: var(--ink); color: #fff; font-weight: 700; font-size: 15px; line-height: 1.1; transition: transform .08s, background .15s; text-align: center; }
.btn:hover { background: var(--ink-2); } .btn:active { transform: translateY(1px); }
.btn.gold { background: var(--gold); color: var(--ink); } .btn.gold:hover { background: var(--gold-2); }
.btn.chili { background: var(--chili); } .btn.leaf { background: var(--leaf); }
.btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line-2); } .btn.ghost:hover { border-color: var(--ink); background: transparent; }
.btn.sm { padding: 7px 12px; font-size: 13px; border-radius: 9px; } .btn.block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.link { color: var(--chili); font-weight: 700; } .link:hover { text-decoration: underline; }
label.fld { display: block; font-size: 13px; font-weight: 600; color: var(--ink-3); margin-bottom: 14px; }
label.fld > span { display: block; margin-bottom: 5px; }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], input[type=date], input[type=time], input[type=search], select, textarea {
  width: 100%; padding: 11px 13px; border-radius: 11px; border: 1.5px solid var(--line-2); background: var(--paper); font-size: 15px; }
textarea { resize: vertical; min-height: 84px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--gold-2); }
.help { font-size: 12px; color: var(--muted); font-weight: 400; margin-top: 4px; }
.check { display: flex; gap: 8px; align-items: center; font-size: 14px; font-weight: 600; margin-bottom: 14px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--ink); }
.form-grid { display: grid; gap: 0 14px; grid-template-columns: 1fr; } @media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.msg { padding: 10px 14px; border-radius: 10px; font-size: 14px; margin: 10px 0; } .msg.err { background: var(--chili-2); color: #8a1d11; } .msg.ok { background: var(--leaf-2); color: #0d5a2d; } .msg.info { background: var(--amber-2); color: #6b4200; }

/* ---------- hero ---------- */
.hero { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.hero::before { content: '10'; position: absolute; right: -2%; top: -14%; font: 800 clamp(280px, 46vw, 560px)/1 var(--display); color: transparent; -webkit-text-stroke: 2px rgba(245, 168, 0, .28); letter-spacing: -.08em; pointer-events: none; }
.hero .wrap { position: relative; padding-top: 44px; padding-bottom: 40px; }
.hero h1 { font-size: clamp(34px, 6vw, 62px); max-width: 15ch; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p.sub { margin-top: 14px; max-width: 52ch; color: rgba(255,255,255,.78); font-size: clamp(16px, 2vw, 19px); }
.search-box { margin-top: 26px; display: flex; gap: 8px; max-width: 640px; background: #fff; border-radius: 16px; padding: 6px; box-shadow: 0 18px 40px -18px rgba(0,0,0,.6); }
.search-box input { border: 0; box-shadow: none !important; background: transparent; color: var(--ink); padding: 12px 14px; font-size: 16px; }
.hero-chips { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-chips button { border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.08); color: #fff; padding: 7px 14px; border-radius: 999px; font-weight: 600; font-size: 14px; }
.hero-chips button:hover { background: rgba(255,255,255,.18); }
.demo-strip { background: var(--gold); color: var(--ink); text-align: center; font-size: 13px; font-weight: 700; padding: 6px 12px; }

/* ---------- sections ---------- */
section.block { padding: 34px 0 6px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.sec-head h2 { font-size: clamp(22px, 3vw, 30px); }
.sec-head h2 span { color: var(--chili); }
.sec-head a { font-weight: 700; font-size: 14px; color: var(--chili); white-space: nowrap; }
.cat-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); }
.cat-tile { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 3px; transition: transform .12s, box-shadow .12s, border-color .12s; }
.cat-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--ink); }
.cat-tile .emo { width: 46px; height: 46px; border-radius: 13px; background: var(--cream-2); display: grid; place-items: center; font-size: 26px; margin-bottom: 6px; }
.cat-tile small { color: var(--chili); font-weight: 800; text-transform: uppercase; font-size: 11px; letter-spacing: .06em; }
.cat-tile strong { font: 700 16px/1.2 var(--display); } .cat-tile span.n { color: var(--muted); font-size: 12px; }

/* ---------- rails with big rank numerals ---------- */
.rail { display: flex; gap: 6px; overflow-x: auto; scroll-snap-type: x proximity; padding: 4px 16px 16px; margin: 0 -16px; scrollbar-width: thin; }
@media (min-width: 720px) { .rail { margin: 0 -28px; padding: 4px 28px 16px; } }
.rail-item { flex: 0 0 auto; display: flex; align-items: flex-end; scroll-snap-align: start; }
.rank-num { font: 800 124px/.8 var(--display); letter-spacing: -.09em; color: transparent; -webkit-text-stroke: 3px var(--ink); margin-right: -26px; margin-bottom: 4px; position: relative; z-index: 0; user-select: none; }
.rank-num.two { margin-right: -34px; font-size: 104px; }
.rank-num.gold { -webkit-text-stroke-color: var(--gold); }
.card { position: relative; z-index: 1; width: 214px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: block; transition: transform .12s, box-shadow .12s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card .ph { aspect-ratio: 4 / 3; position: relative; }
.card .body { padding: 11px 12px 13px; }
.card h3 { font-size: 16px; line-height: 1.2; letter-spacing: -.01em; }
.card .meta { font-size: 13px; color: var(--muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .row { margin-top: 8px; gap: 6px; flex-wrap: wrap; }
.ph { background-size: cover; background-position: center; display: grid; place-items: center; overflow: hidden; }
.ph .glyph { font-size: 54px; filter: drop-shadow(0 6px 10px rgba(0,0,0,.3)); opacity: .95; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.rating { display: inline-flex; align-items: center; gap: 3px; padding: 3px 8px; border-radius: 8px; color: #fff; font-weight: 800; font-size: 13px; background: var(--leaf); }
.rating.mid { background: #5aa02c; } .rating.ok { background: var(--amber); } .rating.low { background: var(--chili); } .rating.none { background: var(--ink-3); font-weight: 700; }
.tag { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 7px; background: var(--cream-2); color: var(--ink-3); white-space: nowrap; }
.tag.leaf { background: var(--leaf-2); color: #0d5a2d; } .tag.gold { background: var(--gold-2); color: var(--gold-ink); } .tag.red { background: var(--chili-2); color: #8a1d11; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); display: inline-block; } .dot.off { background: #aaa; }

/* ---------- Top 10 page ---------- */
.page-head { background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%); color: #fff; padding: 30px 0 26px; }
.page-head .eyebrow { color: var(--gold); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: 12px; }
.page-head h1 { font-size: clamp(30px, 5vw, 52px); margin-top: 6px; }
.page-head p { color: rgba(255,255,255,.75); margin-top: 8px; max-width: 60ch; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.chip { padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--paper); font-weight: 600; font-size: 14px; }
.chip[aria-pressed=true], .chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.list { display: grid; gap: 14px; }
.row-card { position: relative; display: grid; grid-template-columns: auto 124px 1fr; gap: 14px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px 14px 10px; }
.row-card .rank-num { font-size: 88px; margin-right: -4px; -webkit-text-stroke-width: 2.5px; }
.row-card:nth-child(-n+3) .rank-num { -webkit-text-stroke-color: var(--gold); }
.row-card .ph { width: 124px; height: 124px; border-radius: 13px; }
.row-card h2 { font-size: 21px; } .row-card .actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.why { font-size: 13px; color: var(--muted); margin-top: 4px; }
@media (max-width: 640px) {
  .row-card { grid-template-columns: auto 1fr; padding: 12px; } .row-card .rank-num { font-size: 64px; grid-row: 1 / span 1; }
  .row-card .ph { display: none; } .row-card .info { grid-column: 1 / -1; } .row-card h2 { font-size: 19px; }
}
.empty { text-align: center; padding: 44px 16px; background: var(--paper); border: 1.5px dashed var(--line-2); border-radius: var(--radius); }
.empty .big { font-size: 44px; }

/* ---------- restaurant page ---------- */
.cover { height: clamp(160px, 26vw, 280px); position: relative; background: var(--ink-2); }
.cover .ph { position: absolute; inset: 0; } .cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 30%, rgba(0,0,0,.55)); }
.r-head { position: relative; margin-top: -48px; z-index: 2; }
.r-head .logo-box { width: 92px; height: 92px; border-radius: 22px; background: #fff; border: 3px solid #fff; box-shadow: var(--shadow); overflow: hidden; flex: none; display: grid; place-items: center; font: 800 36px var(--display); }
.r-head .logo-box img { width: 100%; height: 100%; object-fit: contain; }
.r-title { font-size: clamp(26px, 4vw, 40px); }
.stat-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; align-items: center; }
.rank-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 4px; }
.rank-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--gold); color: var(--ink); font-weight: 800; padding: 7px 14px 7px 8px; border-radius: 999px; font-size: 14px; }
.rank-badge b { background: var(--ink); color: var(--gold); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 800 14px var(--display); }
.action-bar { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 6px; }
.tabs { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--line); position: sticky; top: 62px; background: var(--cream); z-index: 20; margin-top: 18px; scrollbar-width: none; }
.tabs button { background: none; border: 0; padding: 13px 16px; font-weight: 700; color: var(--muted); border-bottom: 3px solid transparent; white-space: nowrap; }
.tabs button[aria-selected=true] { color: var(--ink); border-bottom-color: var(--chili); }
.panel { padding: 22px 0 90px; }
.grid-2 { display: grid; gap: 18px; grid-template-columns: 1fr; } @media (min-width: 900px) { .grid-2 { grid-template-columns: 1.55fr 1fr; align-items: start; } }
.box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; } .box + .box { margin-top: 14px; }
.box h3 { font-size: 19px; margin-bottom: 10px; }
.chef { display: grid; gap: 14px; } .chef-photos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.chef-photos img, .chef-photos .ph { aspect-ratio: 1; width: 100%; object-fit: cover; border-radius: 12px; }
.chef-photos .big { grid-column: span 2; grid-row: span 2; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; cursor: zoom-in; }
.menu-cat { font: 800 20px var(--display); margin: 22px 0 8px; } .menu-cat:first-child { margin-top: 0; }
.dish { display: flex; gap: 12px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); }
.dish:last-child { border-bottom: 0; } .dish .nm { font-weight: 700; } .dish .ds { font-size: 13px; color: var(--muted); }
.veg-mark { width: 16px; height: 16px; border: 1.5px solid var(--leaf); display: inline-grid; place-items: center; border-radius: 3px; flex: none; margin-right: 6px; vertical-align: -2px; } .veg-mark::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); } .veg-mark.nv { border-color: var(--chili); } .veg-mark.nv::after { background: var(--chili); }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--leaf); border-radius: 10px; overflow: hidden; color: var(--leaf); font-weight: 800; }
.qty button { background: none; border: 0; width: 32px; height: 34px; color: inherit; font-size: 18px; } .qty span { min-width: 22px; text-align: center; }
.add-btn { border: 1.5px solid var(--leaf); color: var(--leaf); background: var(--paper); font-weight: 800; border-radius: 10px; padding: 7px 18px; }
.cart-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: var(--leaf); color: #fff; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 700; box-shadow: 0 -8px 24px -10px rgba(0,0,0,.4); }
.review { padding: 14px 0; border-bottom: 1px solid var(--line); } .review:last-child { border: 0; }
.review .reply { margin-top: 8px; padding: 9px 12px; border-left: 3px solid var(--gold); background: var(--cream-2); border-radius: 0 10px 10px 0; font-size: 14px; }
.stars { color: var(--gold); letter-spacing: 1px; }
.celeb { display: inline-block; min-width: 200px; max-width: 260px; margin: 0 10px 10px 0; padding: 14px; border-radius: 14px; color: #fff; vertical-align: top; }
.celeb.birthday { background: linear-gradient(135deg, #f5a800, #c2410c); } .celeb.anniversary { background: linear-gradient(135deg, #b3221e, #5c1210); }
.post { padding: 14px 0; border-bottom: 1px solid var(--line); } .post summary { cursor: pointer; font: 700 17px var(--display); list-style: none; } .post summary::-webkit-details-marker { display: none; } .post .txt { margin-top: 10px; white-space: pre-line; color: var(--ink-3); }

/* ---------- modal & toast ---------- */
.overlay { position: fixed; inset: 0; background: rgba(23, 17, 13, .6); z-index: 80; display: flex; align-items: flex-end; justify-content: center; overflow-y: auto; }
@media (min-width: 640px) { .overlay { align-items: center; padding: 24px; } }
.modal { background: var(--cream); width: 100%; max-width: 520px; border-radius: 22px 22px 0 0; padding: 22px 20px calc(24px + env(safe-area-inset-bottom)); max-height: 94vh; overflow-y: auto; animation: rise .22s ease; }
@media (min-width: 640px) { .modal { border-radius: 22px; } } .modal.wide { max-width: 760px; }
@keyframes rise { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal h2 { font-size: 24px; margin-bottom: 4px; } .modal .x { float: right; background: var(--cream-2); border: 0; width: 34px; height: 34px; border-radius: 50%; font-size: 18px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 24px); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; z-index: 120; opacity: 0; pointer-events: none; transition: all .25s; max-width: calc(100vw - 32px); font-size: 14px; font-weight: 600; }
.toast.show { opacity: 1; transform: translate(-50%, 0); } .toast.err { background: var(--chili); }
.bill { border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; background: var(--paper); } .bill div { display: flex; justify-content: space-between; padding: 4px 0; font-size: 14px; color: var(--muted); } .bill .tot { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 8px; font-weight: 800; color: var(--ink); font-size: 16px; }
.success { text-align: center; } .success .badge { width: 66px; height: 66px; border-radius: 50%; background: var(--leaf); color: #fff; display: grid; place-items: center; font-size: 32px; margin: 4px auto 12px; }
.codebox { margin: 16px 0; padding: 14px; background: var(--paper); border-radius: 12px; border: 1.5px dashed var(--line-2); } .codebox b { display: block; font: 800 24px var(--display); letter-spacing: .05em; }
.stepper { display: inline-flex; align-items: center; gap: 12px; } .stepper button { width: 38px; height: 38px; border-radius: 10px; border: 1.5px solid var(--line-2); background: var(--paper); font-size: 20px; } .stepper b { min-width: 28px; text-align: center; font-size: 18px; }
.slots { display: flex; flex-wrap: wrap; gap: 8px; }
.starpick { display: flex; gap: 4px; font-size: 32px; } .starpick button { background: none; border: 0; color: #d6cbb9; padding: 0 2px; line-height: 1; } .starpick button.on { color: var(--gold); }

/* ---------- content bands ---------- */
.band { background: var(--gold); border-radius: 22px; padding: 28px; margin: 36px 0 0; display: grid; gap: 14px; }
.band h2 { font-size: clamp(24px, 3.4vw, 36px); max-width: 22ch; }
.how { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.how .box { margin: 0 !important; } .how .n { font: 800 38px var(--display); color: var(--chili); line-height: 1; margin-bottom: 8px; }
.site-foot { margin-top: 56px; background: var(--ink); color: rgba(255,255,255,.75); padding: 36px 0 44px; font-size: 14px; }
.site-foot a:hover { color: var(--gold); } .foot-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); } .site-foot h4 { color: #fff; font-size: 15px; margin-bottom: 10px; } .site-foot li { margin-bottom: 6px; list-style: none; } .site-foot ul { padding: 0; margin: 0; }
.skel { background: linear-gradient(90deg, #eadfca 25%, #f4ecdc 37%, #eadfca 63%); background-size: 400% 100%; animation: sh 1.3s infinite; border-radius: 12px; } @keyframes sh { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
.lightbox { background: rgba(0,0,0,.9); } .lightbox img { max-height: 88vh; border-radius: 12px; margin: auto; }

/* ---------- vendor / platform portals ---------- */
.portal { display: grid; gap: 22px; padding: 22px 0 70px; } @media (min-width: 900px) { .portal { grid-template-columns: 230px 1fr; align-items: start; } }
.side { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; display: flex; gap: 4px; overflow-x: auto; } @media (min-width: 900px) { .side { flex-direction: column; position: sticky; top: 78px; overflow: visible; } }
.side button { background: none; border: 0; text-align: left; padding: 10px 12px; border-radius: 10px; font-weight: 600; white-space: nowrap; color: var(--ink-3); display: flex; gap: 8px; align-items: center; justify-content: space-between; } .side button:hover { background: var(--cream-2); } .side button[aria-current=page] { background: var(--ink); color: #fff; }
.side .badge-n { background: var(--chili); color: #fff; border-radius: 999px; font-size: 11px; padding: 1px 7px; }
.kpis { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin-bottom: 16px; } .kpi { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; } .kpi b { display: block; font: 800 28px var(--display); margin-top: 2px; } .kpi span { font-size: 13px; color: var(--muted); }
table.t { width: 100%; border-collapse: collapse; font-size: 14px; } table.t th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--line); } table.t td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; } table.t tr:last-child td { border-bottom: 0; }
.scroll-x { overflow-x: auto; }
.status { font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 999px; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; } .status.good { background: var(--leaf-2); color: #0d5a2d; } .status.warn { background: var(--amber-2); color: #6b4200; } .status.bad { background: var(--chili-2); color: #8a1d11; }
.checklist li { list-style: none; padding: 6px 0; display: flex; gap: 10px; } .checklist { padding: 0; margin: 0; } .checklist .ck { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; background: var(--cream-2); flex: none; } .checklist .done .ck { background: var(--leaf); color: #fff; } .checklist .done { color: var(--muted); }
.photo-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); } .photo-grid figure { margin: 0; position: relative; } .photo-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; } .photo-grid button { position: absolute; top: 6px; right: 6px; background: rgba(0,0,0,.7); color: #fff; border: 0; border-radius: 50%; width: 26px; height: 26px; }
.drop { border: 2px dashed var(--line-2); border-radius: 14px; padding: 18px; text-align: center; color: var(--muted); background: var(--paper); }
.cats-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.login-card { max-width: 460px; margin: 40px auto; }
.seg { display: inline-flex; background: var(--cream-2); border-radius: 12px; padding: 4px; margin-bottom: 16px; } .seg button { border: 0; background: none; padding: 8px 16px; border-radius: 9px; font-weight: 700; color: var(--muted); } .seg button[aria-pressed=true] { background: var(--ink); color: #fff; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
input[type=url] { width: 100%; padding: 11px 13px; border-radius: 11px; border: 1.5px solid var(--line-2); background: var(--paper); font-size: 15px; }
.chip input[type=checkbox] { width: auto; }
.row-card .rank-num { min-width: 70px; text-align: center; }
@media (max-width: 560px) { .loc-btn { max-width: 120px; } .head-actions { gap: 6px; } .head-actions .pill-btn { padding: 7px 10px; font-size: 13px; } .row-card .rank-num { min-width: 0; text-align: left; } }

/* ---------- v2: food-discovery layout (header search, banners, round categories, offer strips, photo mosaic) ---------- */
.head-search { display: none; flex: 1; max-width: 460px; margin: 0 8px; position: relative; }
.head-search input { padding: 10px 14px 10px 38px; border-radius: 12px; background: var(--paper); font-size: 14px; }
.head-search::before { content: '🔍'; position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-size: 14px; pointer-events: none; }
@media (min-width: 820px) { .head-search { display: block; } .show-m { display: none !important; } }
.hero .wrap { padding-top: 34px; padding-bottom: 30px; }
.banners { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 16px 10px; margin: 0 -16px; scrollbar-width: none; }
@media (min-width: 720px) { .banners { margin: 0 -28px; padding: 4px 28px 10px; } }
.banner { flex: 0 0 min(86%, 440px); scroll-snap-align: start; border-radius: 20px; padding: 20px 22px; min-height: 150px; color: #fff; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; transition: transform .12s; }
a.banner:hover { transform: translateY(-2px); }
.banner .big-emo { position: absolute; right: 12px; top: 4px; font-size: 84px; opacity: .92; filter: drop-shadow(0 8px 12px rgba(0,0,0,.3)); transform: rotate(-8deg); }
.banner h3 { font-size: 22px; max-width: 14ch; line-height: 1.1; } .banner p { font-size: 14px; opacity: .92; max-width: 28ch; }
.banner .lbl { position: absolute; left: 18px; top: 14px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: rgba(255,255,255,.22); padding: 3px 9px; border-radius: 999px; }
.t0 { background: linear-gradient(135deg, #17110d, #4a3c33); } .t1 { background: linear-gradient(135deg, #f5a800, #c2410c); }
.t2 { background: linear-gradient(135deg, #d4311f, #6b1410); } .t3 { background: linear-gradient(135deg, #1c8a4b, #0d3b22); }
.t4 { background: linear-gradient(135deg, #7c3aed, #2e1065); } .t5 { background: linear-gradient(135deg, #0e7490, #082f49); }
.cat-row { display: flex; gap: 18px; overflow-x: auto; padding: 4px 16px 14px; margin: 0 -16px; scrollbar-width: none; }
@media (min-width: 720px) { .cat-row { margin: 0 -28px; padding: 4px 28px 14px; gap: 26px; } }
.cat-round { flex: 0 0 auto; width: 84px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.cat-round .circle { width: 76px; height: 76px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); display: grid; place-items: center; font-size: 38px; box-shadow: var(--shadow); transition: transform .12s, border-color .12s; }
.cat-round:hover .circle { transform: translateY(-3px) scale(1.04); border-color: var(--gold); }
.cat-round b { font: 700 13px/1.2 var(--body); } .cat-round small { color: var(--muted); font-size: 11px; margin-top: -6px; }
.ph { position: relative; }
.offer-strip { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 10px 7px; background: linear-gradient(180deg, transparent, rgba(0,0,0,.78)); color: #fff; font: 800 13px/1.2 var(--body); letter-spacing: .01em; text-align: left; }
.mosaic { display: grid; gap: 8px; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); height: clamp(220px, 34vw, 380px); border-radius: 20px; overflow: hidden; margin-top: 16px; position: relative; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; display: block; } .mosaic .m0 { grid-column: 1 / 3; grid-row: 1 / 3; }
.mosaic .more { position: absolute; right: 12px; bottom: 12px; background: #fff; border: 0; border-radius: 10px; padding: 8px 14px; font-weight: 700; box-shadow: var(--shadow); }
@media (max-width: 640px) { .mosaic { grid-template-columns: repeat(2, 1fr); grid-template-rows: 1fr; height: 220px; } .mosaic .m0 { grid-column: 1 / 2; grid-row: 1; } .mosaic .m2, .mosaic .m3, .mosaic .m4 { display: none; } }
.r-head.nocover { margin-top: 14px; }
.chip-links { display: flex; flex-wrap: wrap; gap: 8px; } .chip-links a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--paper); font-weight: 600; font-size: 14px; } .chip-links a:hover { border-color: var(--ink); }
.foot-grid ul.two { columns: 2; column-gap: 18px; }
@media (max-width: 520px) { .site-head .join-btn { display: none; } .logo small { display: none; } }
.alert-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 14px 0 0; padding: 10px 14px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line-2); font-size: 14px; }
.alert-bar span { flex: 1 1 260px; }
.inbox-row.late { border-left: 4px solid var(--chili); padding-left: 10px; }
.late-txt { color: var(--chili); font-weight: 600; }
.inbox-actions { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.side .badge-n[hidden] { display: none; }
.steps { display: flex; list-style: none; margin: 12px 0 4px; padding: 0; gap: 4px; }
.steps li { flex: 1; font-size: 12px; color: var(--muted, #6b6258); text-align: center; position: relative; padding-top: 18px; }
.steps li span { position: absolute; top: 0; left: 0; right: 0; height: 6px; border-radius: 3px; background: var(--line-2); }
.steps li.done span { background: #1f8a4c; } .steps li.now span { background: var(--gold); } .steps li.now, .steps li.done { color: var(--ink); font-weight: 600; }
.rider-card { display: flex; gap: 12px; align-items: center; padding: 10px 12px; margin: 10px 0; border: 1px solid var(--line-2); border-radius: 12px; background: var(--paper); }
.route { width: 100%; max-width: 420px; height: auto; display: block; margin: 8px 0; border-radius: 12px; background: var(--paper); border: 1px solid var(--line-2); color: var(--ink); }
.rider-page { max-width: 520px; margin: 0 auto; padding: 16px; }
.rider-page .big-btn { width: 100%; padding: 16px; font-size: 18px; margin-top: 10px; }
.linkbox { word-break: break-all; padding: 10px 12px; border-radius: 10px; background: var(--paper); border: 1px dashed var(--line-2); font-size: 13px; user-select: all; }
.avatar { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--gold); color: var(--ink); font-weight: 700; overflow: hidden; flex: none; }
.avatar.big { width: 72px; height: 72px; font-size: 28px; } .avatar img { width: 100%; height: 100%; object-fit: cover; }
.foodie-head { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.like { border: 1px solid var(--line-2); background: var(--paper); border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 600; cursor: pointer; color: var(--ink); }
.like.on { background: #fde8e6; border-color: #e9a29a; color: #b3261e; }
.rphotos { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.rph { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; } .rph img { width: 120px; height: 120px; object-fit: cover; border-radius: 12px; cursor: zoom-in; }
.chart { margin: 0; color: var(--ink); } .chart svg { width: 100%; height: auto; display: block; }
.chart .key { display: inline-flex; align-items: center; gap: 6px; margin-right: 14px; } .chart .key i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.hbars { display: grid; gap: 8px; } .hb { display: grid; grid-template-columns: 110px 1fr 56px; gap: 10px; align-items: center; font-size: 14px; }
.hb .bar { height: 12px; border-radius: 6px; background: var(--line-2); overflow: hidden; } .hb .bar i { display: block; height: 100%; background: var(--gold); border-radius: 6px; } .hb b { text-align: right; }
.reel-link { margin: 0 0 10px; }
@media (max-width: 520px) { .hb { grid-template-columns: 84px 1fr 44px; } .rph img { width: 96px; height: 96px; } }

.loc-list{max-height:46vh;overflow:auto;margin-top:8px;border:1px solid var(--line,#e5e5e5);border-radius:12px}
.loc-h{position:sticky;top:0;margin:0;padding:6px 12px;background:#f6f3ee;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#777}
.loc-row{display:flex;justify-content:space-between;align-items:center;width:100%;padding:10px 12px;border:0;border-bottom:1px solid #eee;background:#fff;text-align:left;font:inherit;cursor:pointer}
.loc-row:hover,.loc-row[aria-pressed=true]{background:#fff7e0}
.loc-row[hidden],.loc-h[hidden],[data-st][hidden]{display:none}

.banner.has-img { padding: 0; justify-content: flex-end; }
.banner .b-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner.has-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.65), rgba(0,0,0,0) 60%); }
.banner.has-img h3, .banner.has-img p { position: relative; z-index: 1; margin-left: 22px; margin-right: 22px; max-width: 24ch; }
.banner.has-img p { margin-bottom: 18px; } .banner.has-img h3:last-child { margin-bottom: 18px; }
.banner .lbl { z-index: 2; }
.dots { display: flex; justify-content: center; gap: 6px; margin-top: 2px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: #d8cfc2; transition: all .2s; }
.dots i.on { width: 20px; border-radius: 4px; background: var(--gold, #f5a800); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; } @media (max-width: 800px) { .grid2 { grid-template-columns: 1fr; } }

.ev-rail { gap: 14px; } .ev-rail .ev-card { flex: 0 0 min(80%, 300px); }
.ev-card { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid #ece4d8; border-radius: 16px; padding: 12px; text-decoration: none; color: inherit; transition: transform .12s, box-shadow .12s; }
.ev-card:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.ev-date { flex: 0 0 56px; height: 62px; border-radius: 12px; background: #17110d; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.ev-date b { font-size: 24px; } .ev-date small { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--gold, #f5a800); margin-top: 3px; }
.ev-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; } .ev-title { font-weight: 800; font-size: 16px; line-height: 1.2; } .ev-meta { font-size: 13px; color: #6b6259; }
.ev-layout { display: grid; grid-template-columns: 320px 1fr; gap: 24px; align-items: start; } @media (max-width: 800px) { .ev-layout { grid-template-columns: 1fr; } }
.ev-day { margin: 18px 0 8px; font-size: 15px; } .ev-list { display: grid; gap: 10px; }
.cal { background: #fff; border: 1px solid #ece4d8; border-radius: 16px; padding: 12px; }
.cal-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.cal-g { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; } .cal-g small { color: #8a8076; font-size: 11px; padding: 4px 0; }
.cal-d { position: relative; aspect-ratio: 1; border: 0; border-radius: 10px; background: transparent; font: inherit; color: #b9afa3; cursor: default; }
.cal-d.has { background: #fff3d1; color: #17110d; font-weight: 700; cursor: pointer; } .cal-d.has:hover { background: #ffe9a8; }
.cal-d.today { outline: 2px solid #17110d; } .cal-d.sel { background: #17110d; color: #fff; }
.cal-d i { position: absolute; right: 4px; bottom: 2px; font-size: 9px; font-style: normal; opacity: .8; }

.heart { border: 1px solid #e3d9ca; background: #fff; border-radius: 999px; min-width: 38px; height: 38px; padding: 0 10px; font-size: 18px; line-height: 1; cursor: pointer; color: #8a8076; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.heart.on { color: #d4311f; border-color: #f2b8b0; background: #fff1ef; } .heart span { font-size: 14px; font-weight: 700; }
.heart.big { height: 40px; }
.legal h2 { margin: 26px 0 8px; font-size: 20px; } .legal h3 { margin: 16px 0 6px; font-size: 16px; } .legal p, .legal li { line-height: 1.6; } .legal ul { padding-left: 20px; margin: 8px 0; }

/* package fee / refund notice, shown at restaurant sign-up and in the Package & receipts page */
.fee-note{margin:12px 0;padding:11px 13px;border-radius:10px;background:#fff6dd;border:1px solid #f0d98a;color:#4a3b05;font-size:14px;line-height:1.45}
.fee-note b{color:#2c2200}
.portal > * { min-width: 0; }   /* wide tables scroll inside their box instead of stretching the page on phones */
[hidden] { display: none !important; }

.cat-round .circle, .cat-tile .emo { overflow: hidden; }
.cat-round .circle img, .cat-tile .emo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.chips-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 4px 14px; margin-top: 6px; }
.stay-rooms { display: grid; gap: 12px; margin: 12px 0; }
.stay-room { display: grid; grid-template-columns: 150px 1fr; gap: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.stay-room img, .stay-room .noimg { width: 150px; height: 108px; object-fit: cover; border-radius: 10px; background: var(--cream-2); display: grid; place-items: center; font-size: 34px; }
.stay-room h4 { margin: 0 0 2px; font: 700 17px/1.2 var(--display); } .stay-room .rate { font-weight: 800; }
@media (max-width: 560px) { .stay-room { grid-template-columns: 1fr; } .stay-room img, .stay-room .noimg { width: 100%; height: 160px; } }

/* highlighted (special) category: spotlight band on the home page, flagged icon, header button */
.spot { background: linear-gradient(135deg, #1b1712, #3a2a12); color: #fff; padding: 22px 0 6px; margin-top: 0; }
.spot .sec-head h2 { color: #fff; } .spot .sec-head h2 span { color: var(--gold); } .spot .sec-head a { color: var(--gold); }
.spot-sub { color: rgba(255,255,255,.75); margin: -4px 0 8px; font-size: 14px; }
.cat-round.special .circle { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(245,166,0,.35), var(--shadow); } .cat-round { position: relative; }
.sp-flag { position: absolute; top: -6px; right: 2px; background: var(--chili); color: #fff; font: 800 10px/1 var(--body); letter-spacing: .04em; text-transform: uppercase; padding: 4px 6px; border-radius: 999px; font-style: normal; }
.stay-pill { background: var(--gold); border-color: var(--gold); color: #1a1a1a; font-weight: 800; }
@media (max-width: 560px) { .stay-pill .stay-txt { display: none; } .stay-pill { padding-left: 11px; padding-right: 11px; } }
.spot .card, .spot .card h3 { color: #1a1a1a; } .spot .card .meta { color: #6b6257; }
