/* Tampa Tastings shared styles: guest app, redemption page, owner dashboard */
:root {
  --navy: #1f2a44;
  --navy-2: #2c3a5c;
  --gold: #c8963e;
  --gold-soft: #f3e3c3;
  --cream: #f6f2ea;
  --ink: #1f2a44;
  --muted: #5f6b7a;
  --line: #e4dccd;
  --ok: #157f3b;
  --ok-bg: #e5f6ea;
  --bad: #b42318;
  --bad-bg: #fde8e6;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(31, 42, 68, .06), 0 6px 20px rgba(31, 42, 68, .06);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--cream);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.45;
  -webkit-text-size-adjust: 100%;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}
a { color: var(--navy); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5rem; }
h2 { font-size: 1.15rem; }
.wrap { max-width: 560px; margin: 0 auto; padding: 16px 16px 48px; }
.wide { max-width: 1200px; }
.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  margin: 0 0 14px;
}
.card.dark { background: var(--navy); color: #fff; }
.card.dark a { color: var(--gold-soft); }
.brand { display: flex; align-items: center; gap: 12px; margin: 4px 0 16px; }
.brand img { width: 52px; height: 52px; border-radius: 50%; background: #fff; }
.brand .t { font-weight: 700; font-size: 1.1rem; }
.brand .s { color: var(--muted); font-size: .9rem; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.stack > * + * { margin-top: 10px; }
.hidden { display: none !important; }

label { display: block; font-weight: 600; margin: 0 0 6px; }
input, select, textarea {
  width: 100%;
  font: inherit;
  font-size: 17px; /* 16px+ stops iPhone zooming in */
  padding: 13px 14px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.code-input { text-transform: uppercase; letter-spacing: 2px; font-weight: 700; text-align: center; font-size: 22px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 700; font-size: 17px;
  min-height: 50px; padding: 12px 18px;
  border-radius: 12px; border: 0; cursor: pointer;
  background: var(--gold); color: var(--navy); text-decoration: none;
}
.btn.block { width: 100%; }
.btn.navy { background: var(--navy); color: #fff; }
.btn.ghost { background: transparent; color: var(--navy); border: 1.5px solid var(--line); }
.btn.white { background: #fff; color: var(--navy); border: 1.5px solid var(--line); }
.btn.danger { background: var(--bad); color: #fff; }
.btn.okay { background: var(--ok); color: #fff; }
.btn.sm { min-height: 38px; font-size: 15px; padding: 7px 12px; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.linkbtn { background: none; border: 0; color: var(--navy); text-decoration: underline; font: inherit; cursor: pointer; padding: 6px; }

.notice { border-radius: 12px; padding: 12px 14px; margin: 0 0 14px; font-weight: 600; }
.notice.ok { background: var(--ok-bg); color: var(--ok); }
.notice.bad { background: var(--bad-bg); color: var(--bad); }
.notice.info { background: var(--gold-soft); color: var(--navy); }

.big-number { font-size: 64px; font-weight: 800; line-height: 1; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .8rem; font-weight: 700; background: var(--gold-soft); color: var(--navy); }
.pill.ok { background: var(--ok-bg); color: var(--ok); }
.pill.bad { background: var(--bad-bg); color: var(--bad); }

.stepper { display: flex; align-items: center; gap: 12px; justify-content: center; }
.stepper button { width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; font-size: 28px; font-weight: 700; color: var(--navy); cursor: pointer; }
.stepper .n { font-size: 40px; font-weight: 800; min-width: 70px; text-align: center; }

.list { list-style: none; margin: 0; padding: 0; }
.list li { padding: 12px 0; border-top: 1px solid var(--line); }
.list li:first-child { border-top: 0; }

.sheet-backdrop { position: fixed; inset: 0; background: rgba(15, 20, 35, .45); z-index: 50; }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 51;
  background: #fff; border-radius: 20px 20px 0 0; padding: 18px 18px calc(22px + env(safe-area-inset-bottom));
  max-height: 92vh; overflow: auto; max-width: 560px; margin: 0 auto;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, .15);
}
.sheet .grab { width: 44px; height: 5px; border-radius: 3px; background: var(--line); margin: 0 auto 12px; }

table.data { width: 100%; border-collapse: collapse; font-size: .92rem; }
table.data th, table.data td { text-align: left; padding: 8px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data th { background: #faf7f1; position: sticky; top: 0; font-size: .8rem; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); }
table.data td.num, table.data th.num { text-align: right; font-variant-numeric: tabular-nums; }
.scroll-x { overflow-x: auto; }

/* ---------- Guest app: bottom tab bar (only on pages with body.has-tabbar) ---------- */
:root { --tabbar-h: 64px; }
body.has-tabbar .wrap { padding-bottom: calc(var(--tabbar-h) + 28px); }
body.has-tabbar .tab-page { animation: tab-in .18s ease-out; }
@keyframes tab-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: flex; justify-content: center;
  background: rgba(255, 255, 255, .97);
  -webkit-backdrop-filter: saturate(180%) blur(12px); backdrop-filter: saturate(180%) blur(12px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 18px rgba(31, 42, 68, .06);
  padding: 0 env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}
.tabbar .tab {
  flex: 1 1 0; max-width: 140px; min-width: 0;
  min-height: var(--tabbar-h); padding: 7px 2px 6px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  color: var(--muted); text-decoration: none;
  font-size: 11.5px; font-weight: 600; line-height: 1.1; letter-spacing: .1px;
  -webkit-tap-highlight-color: transparent; user-select: none; -webkit-user-select: none;
}
.tabbar .tab svg {
  box-sizing: content-box; border-radius: 999px;
  fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round;
  transition: background-color .15s;
  width: 24px; height: 24px; padding: 4px 12px;
}
.tabbar .tab span { white-space: nowrap; }
.tabbar .tab.active { color: var(--navy); }
.tabbar .tab.active svg { background: var(--gold-soft); stroke: var(--navy); stroke-width: 2.1; }
.tabbar .tab:focus-visible { outline: 2px solid var(--gold); outline-offset: -4px; border-radius: 12px; }
.rewards-icon { width: 44px; height: 44px; padding: 10px; box-sizing: content-box; border-radius: 50%; background: var(--gold-soft); fill: none; stroke: var(--navy); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin: 4px auto 10px; display: block; }

/* Netlify free-plan badge sits fixed at bottom-right; on *.netlify.app lift the tab bar above it. */
html.nf-host .tabbar { padding-bottom: max(env(safe-area-inset-bottom), 60px); }
html.nf-host body.has-tabbar .wrap { padding-bottom: calc(var(--tabbar-h) + 88px); }

/* Zelle step and pending purchase note (Nov 15, 2026) */
.zelle-note { margin: 4px 0 0; text-align: center; }
.pending-note { font-weight: 600; color: var(--navy); background: var(--gold-soft); border-radius: 8px; padding: 6px 10px; margin: 6px 0; }

/* buy sheet price lines */
.price-table { width: 100%; border-collapse: collapse; margin: 8px 0 6px; font-size: 15px; }
.price-table td { padding: 3px 0; }
.price-table td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.price-table tr.total td { border-top: 1px solid var(--line); padding-top: 6px; font-weight: 800; }

/* "On sale soon" mode (config SALES_OPEN: false) */
body.sales-closed .signed-in-only, body.sales-closed .signed-out-only, body.sales-closed #buy-sheet,
body.sales-closed #tab-code, body.sales-closed #tab-account { display: none !important; }
body.sales-closed .sales-closed-only { display: block !important; }
/* sales closed: the Account page is only for signing in and the one-time setup (to suggest a restaurant) */
body.sales-closed #view-account > :not(#name-card):not(#signout) { display: none !important; }

/* still map of participating restaurants (Restaurants tab) */
.rest-map { position: relative; height: 300px; margin: 4px 0 12px; border-radius: 14px; overflow: hidden; background: #e8e4dc; pointer-events: none; user-select: none; }
.rest-map img.tile { position: absolute; width: 256px; height: 256px; max-width: none; }
.rest-map .pin { position: absolute; width: 24px; height: 24px; margin: -12px 0 0 -12px; border-radius: 50%; background: var(--navy); border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.45); }
.rest-map .pin span { display: block; color: #fff; font: 700 12px/20px system-ui, sans-serif; text-align: center; }
.rest-map .attr { position: absolute; right: 0; bottom: 0; padding: 1px 5px; font-size: 10px; background: rgba(255,255,255,.8); color: #555; }
.pin-num { display: inline-block; min-width: 24px; height: 24px; margin-right: 8px; border-radius: 12px; background: var(--navy); color: #fff; font-size: 13px; line-height: 24px; text-align: center; vertical-align: 3px; }
.hours-note { margin-top: 2px; font-weight: 700; color: #8a5a00; }

/* sponsors */
.sponsor-strip { display: flex; align-items: center; gap: 12px; padding: 10px 14px; margin: 0 0 14px; background: var(--navy); color: #fff; border-radius: var(--radius); box-shadow: var(--shadow); text-decoration: none; }
.sponsor-strip img { width: 46px; height: 46px; object-fit: contain; background: #000; border-radius: 8px; }
.sponsor-strip .small { line-height: 1.35; }
.sponsor-strip .muted { color: var(--gold-soft); }

/* ---------- Nov 18, 2026: Home links, gift, passport, suggest, save my code ---------- */
.quick-links { padding: 4px 0; }
.quick-links .ql { display: flex; align-items: center; gap: 12px; padding: 12px 16px; text-decoration: none; color: var(--navy); border-top: 1px solid var(--line); min-height: 60px; }
.quick-links .ql:first-child { border-top: 0; }
.quick-links .ql > svg:first-child { flex: 0 0 auto; width: 22px; height: 22px; padding: 8px; box-sizing: content-box; border-radius: 50%; background: var(--gold-soft); fill: none; stroke: var(--navy); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.quick-links .ql span { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.quick-links .ql small { color: var(--muted); font-size: .85rem; }
.quick-links .chev { flex: 0 0 auto; width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.backlink { background: none; border: 0; font: inherit; font-weight: 700; color: var(--navy); padding: 6px 2px 10px; cursor: pointer; min-height: 44px; }
.right { text-align: right; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
textarea { resize: vertical; line-height: 1.4; }

/* passport */
.passport-count { margin-top: 10px; font-weight: 800; color: var(--navy); }
.stamp-card { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: start; }
.stamp { width: 96px; height: 96px; display: flex; align-items: center; justify-content: center; }
.stamp svg { display: block; overflow: visible; }
.stamp-card h3 { margin: 2px 0 2px; font-size: 1.05rem; overflow-wrap: anywhere; }
.stars { display: flex; gap: 2px; margin: 8px 0 6px; }
.stars button { background: none; border: 0; padding: 0; width: 40px; height: 40px; font-size: 30px; line-height: 40px; color: #d6cdb8; cursor: pointer; }
.stars button.on { color: var(--gold); }
.passport-empty .stamp { margin: 6px auto 12px; }
/* passport paper: a map of Tampa Bay behind the passport page (Census Bureau shoreline + roads, public domain).
   Nov 18, 2026: made clearly visible (was 26%); cards are see-through so the map shows behind them. */
#page-passport { position: relative; isolation: isolate; }
#page-passport::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: url("icons/tampa-bay-map.svg") center 55% / contain no-repeat;
  opacity: .7;
}
#page-passport .card { background: rgba(255, 252, 245, .7); border: 1px solid rgba(201, 180, 140, .5); box-shadow: 0 1px 3px rgba(31, 42, 68, .12); margin-bottom: 22px; }
#page-passport .passport-head { margin-top: 18px; }
#page-passport .card .muted { color: #4a5566; }
#page-passport .card textarea { background: rgba(255, 255, 255, .9); }
#page-passport .passport-head h2 { font-family: Georgia, "Times New Roman", serif; letter-spacing: .5px; }

/* suggest */
.suggest-list { margin-top: 10px; max-height: 420px; overflow: auto; -webkit-overflow-scrolling: touch; }
.suggest-list li { padding: 0; }
.suggest-list button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 10px; text-align: left; background: none; border: 0; font: inherit; color: var(--navy); padding: 12px 2px; cursor: pointer; min-height: 48px; }
.suggest-list button b { overflow-wrap: anywhere; }
.area-chip { flex: 0 0 auto; font-size: .78rem; font-weight: 700; background: var(--gold-soft); color: var(--navy); border-radius: 999px; padding: 2px 9px; white-space: nowrap; }
.draft-to { background: #faf7f1; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; margin: 0 0 10px; overflow-wrap: anywhere; }

/* save my code */
.code-pic-img { width: min(80vw, 360px); height: auto; border-radius: 12px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.thanks-notice { display: flex; gap: 10px; align-items: flex-start; background: var(--ok-bg); color: #0f5a2a; border-radius: 12px; padding: 12px 12px 12px 14px; margin: 0 0 14px; font-weight: 600; line-height: 1.4; }
.thanks-notice span { flex: 1 1 auto; }
.thanks-notice button { flex: 0 0 auto; background: none; border: 0; font-size: 22px; line-height: 1; color: #0f5a2a; cursor: pointer; width: 36px; height: 36px; margin: -6px -4px 0 0; }

/* Nov 18, 2026: Rewards tab, gift bonus progress */
.bonus-bar { height: 12px; border-radius: 999px; background: var(--gold-soft); overflow: hidden; margin-top: 8px; }
.bonus-bar span { display: block; height: 100%; width: 0; background: var(--gold); border-radius: 999px; transition: width .3s; }

/* Nov 18, 2026: Add to calendar, Questions, I'm going picture */
.cal-btn { margin-top: 12px; background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.55); }
.cal-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.faq details { border-top: 1px solid var(--line); }
.faq details:first-child { border-top: 0; }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; padding: 14px 28px 14px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 10px; font-size: 1.4rem; color: var(--muted); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 12px; line-height: 1.5; }
.going-pic-img { width: min(78vw, 340px); }

/* Nov 18, 2026: Games (Spin the Wheel, trivia) and wheel discounts */
#games-card .trivia-link { display: flex; align-items: center; gap: 12px; padding: 12px 0 2px; margin-top: 12px; border-top: 1px solid var(--line); text-decoration: none; color: var(--navy); min-height: 56px; }
#games-card .trivia-link > svg:first-child { flex: 0 0 auto; width: 22px; height: 22px; padding: 8px; box-sizing: content-box; border-radius: 50%; background: var(--gold-soft); fill: none; stroke: var(--navy); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#games-card .trivia-link span { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
#games-card .trivia-link small { color: var(--muted); font-size: .85rem; }
#games-card .trivia-link .chev { flex: 0 0 auto; width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
#games-card > #wheel-block + .trivia-link { margin-top: 14px; }
#games-card > #wheel-block.hidden + .trivia-link { border-top: 0; margin-top: 0; padding-top: 4px; }
.wheel-wrap { position: relative; width: min(100%, 300px); margin: 6px auto 14px; aspect-ratio: 1; overflow: hidden; border-radius: 50%; }   /* clip: a turned square is wider than the page */
.wheel-wrap canvas { width: 100%; height: 100%; display: block; border-radius: 50%; box-shadow: 0 6px 20px rgba(31,42,68,.18); transition: transform 4.2s cubic-bezier(.17,.67,.12,1); }
.wheel-pointer { position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 0; height: 0; border-left: 14px solid transparent; border-right: 14px solid transparent; border-top: 26px solid var(--bad); z-index: 2; filter: drop-shadow(0 2px 2px rgba(0,0,0,.25)); }
.spin-result { margin: 12px 0 0; padding: 14px; border-radius: 12px; text-align: center; background: var(--gold-soft); }
.spin-result.win { background: var(--ok-bg); color: var(--ok); }
.spin-result b.big { display: block; font-size: 1.25rem; margin-bottom: 4px; }
.spin-result .fact { color: var(--ink); font-weight: 400; margin: 8px 0 0; text-align: left; }
.wheel-rules { margin-top: 12px; }
.wheel-rules summary { cursor: pointer; font-weight: 700; color: var(--navy); font-size: .95rem; }
.wheel-rules ul { margin: 8px 0 0; padding-left: 20px; font-size: .9rem; line-height: 1.5; }
.trivia-list { padding-left: 20px; margin: 10px 0 14px; }
.trivia-list > li { margin: 0 0 16px; }
.trivia-list .tq { font-weight: 700; margin-bottom: 6px; }
.trivia-list label { display: flex; gap: 10px; align-items: center; padding: 9px 10px; border: 1.5px solid var(--line); border-radius: 10px; margin: 6px 0; background: #fff; }
.trivia-list label input { width: 20px; height: 20px; margin: 0; flex: 0 0 20px; }
.trivia-list label.right { border-color: var(--ok); background: var(--ok-bg); }
.trivia-list label.wrong { border-color: var(--bad); background: var(--bad-bg); }
.trivia-list .why { font-size: .88rem; color: var(--muted); margin-top: 4px; }
.trivia-score { text-align: center; font-size: 1.15rem; font-weight: 800; margin: 0 0 12px; padding: 12px; border-radius: 12px; background: var(--gold-soft); }
.disc-offer { background: var(--ok-bg); color: var(--ok); border-radius: 10px; padding: 10px 12px; margin: 8px 0 0; font-weight: 700; }
.disc-line td { color: var(--ok); font-weight: 700; }

/* Nov 18, 2026 (rewards 2): early bird banner, invite link, drawing steps */
.early-bird { display: flex; align-items: center; gap: 12px; background: var(--gold-soft); border: 1px solid var(--gold); }
.early-bird .eb-icon { width: 34px; height: 34px; flex: 0 0 34px; fill: var(--gold); stroke: var(--navy); stroke-width: 1.2; }
.early-bird b { font-size: 17px; }
.invite-link { background: var(--cream); border: 1px dashed var(--gold); border-radius: 10px; padding: 10px 12px; margin: 0 0 12px;
  font-weight: 700; word-break: break-all; text-align: center; }
.steps { margin: 0 0 12px; padding-left: 20px; }
.steps li { margin: 0 0 6px; }
.steps .linkbtn { padding: 0 2px; }
.drawing-done { background: var(--ok-bg); color: var(--ok); border-radius: 10px; padding: 10px 12px; font-weight: 600; word-break: break-word; }
.drawing-done .small { color: var(--ink); font-weight: 400; margin-top: 4px; }

/* Share App button, bottom of Home (Nov 20, 2026) */
.share-app { text-align: center; margin: 18px 0 8px; }
.share-app-btn { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--navy); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.share-app-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.share-app-label { font-size: 12px; color: var(--navy); margin-top: 4px; }

/* Nov 20, 2026 (draft): restaurant sold-out labels, Guests' Choice badge, guest survey */
.rest.sold-out { opacity: .55; }
.rest.sold-out h3 { text-decoration: none; }
.rest-status { display: inline-block; margin: 4px 0 2px; padding: 3px 10px; border-radius: 12px; font-size: .85rem; font-weight: 700; }
.rest-status.sold_out { background: #e7e7e7; color: #444; border: 1px solid #bbb; }
.rest-status.temp_sold_out { background: #fff4d6; color: #5a3d00; border: 1px solid #c98a00; }
.rest-status .when { font-weight: 400; }
.rest-map .pin.sold_out { background: #9a9a9a; opacity: .75; }
.rest-map .pin.temp_sold_out { background: #c98a00; }
.gc-badge { display: inline-flex; align-items: center; gap: 5px; margin: 2px 0 4px; padding: 3px 10px 3px 7px; border-radius: 999px; background: var(--navy); color: var(--gold-soft); font-size: .8rem; font-weight: 700; border: 1px solid var(--gold); }
.gc-badge svg { width: 14px; height: 14px; fill: var(--gold); flex: none; }
.survey-prompt { display: block; text-decoration: none; color: var(--navy); border: 2px solid var(--gold); background: #fffaf0; }
.survey-prompt b { display: block; font-size: 1.05rem; }
.survey-q { margin: 0 0 18px; border: 0; padding: 0; min-width: 0; }
.survey-q legend { font-weight: 700; margin: 0 0 8px; padding: 0; font-size: 1rem; }
.survey-q .opt { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; margin: 0 0 8px; background: #fff; cursor: pointer; font-weight: 600; overflow-wrap: anywhere; }
.survey-q .opt input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--navy); }
.survey-q .opt:has(input:checked) { border-color: var(--navy); background: var(--gold-soft); }
.survey-row { display: flex; gap: 8px; }
.survey-row .opt { flex: 1; justify-content: center; }
.stars { display: flex; gap: 6px; }
.stars button { flex: 1; min-width: 0; height: 52px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; font-size: 26px; line-height: 1; color: #c9c2b3; cursor: pointer; padding: 0; }
.stars button.on { color: var(--gold); border-color: var(--gold); background: #fffaf0; }
.stars-label { font-size: .9rem; color: var(--muted); margin-top: 6px; min-height: 1.2em; }
.rest-map .pin { z-index: 2; } .rest-map .pin.sold_out { z-index: 1; }   /* sold-out pins sit under the others */
.survey-row .opt { padding: 10px 6px; gap: 6px; overflow-wrap: normal; word-break: keep-all; }
