/* NimReview: editorial food-guide look. Warm paper, ink, Nimiq gold, paprika; receipts as the recurring motif. */
:root {
  --paper: #f5f0e6;
  --paper-2: #efe8da;
  --card: #fffdf8;
  --ink: #1a1c3a;
  --ink-2: #47496a;
  --muted: #8b8577;
  --line: #e6ddcc;
  --gold: #e9b213;
  --gold-deep: #b98500;
  --gold-soft: #fbefc8;
  --paprika: #e2552d;
  --paprika-soft: #fbe3d9;
  --sage: #2f8a6c;
  --sage-soft: #dcefe5;
  --sky: #2b78b0;
  --sky-soft: #dfedf7;
  --plum: #6a4fc8;
  --plum-soft: #ebe5fa;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --r-xl: 28px;
  --r-lg: 22px;
  --r-md: 16px;
  --sh-1: 0 1px 0 rgba(26, 28, 58, 0.04), 0 8px 24px -12px rgba(26, 28, 58, 0.18);
  --sh-2: 0 24px 60px -20px rgba(26, 28, 58, 0.45);
  --star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.8l2.85 5.9 6.45.85-4.72 4.48 1.18 6.4L12 17.3l-5.76 3.13 1.18-6.4L2.7 9.55l6.45-.85z'/%3E%3C/svg%3E");
  --hex: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  --gutter: 18px;
  --safe-b: env(safe-area-inset-bottom);
  --safe-t: env(safe-area-inset-top);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100dvh; position: relative; font-family: var(--sans); font-size: 15px; line-height: 1.45; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::before { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.55; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .28 0 0 0 0 .18 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.tiny { font-size: 11.5px; }
.grow { flex: 1; min-width: 0; }
.row { display: flex; align-items: center; gap: 10px; }
.ellipsis { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.divider { border-top: 1.5px dashed var(--line); margin: 16px 0; }
.d-only { display: none !important; }

/* ---------- layout ---------- */
#view { outline: none; padding-bottom: calc(118px + var(--safe-b)); min-height: 100dvh; }
#view.no-tabs { padding-bottom: calc(150px + var(--safe-b)); }
.page { width: 100%; max-width: 1180px; margin: 0 auto; }
.section { margin-top: 30px; }
.section-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 0 var(--gutter); margin-bottom: 14px; }
.section-h h2 { font-family: var(--serif); font-size: 23px; font-weight: 600; letter-spacing: -0.015em; }
.section-h h2 em { font-style: italic; color: var(--paprika); font-weight: 500; }
.eyebrow { font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }
.card { background: var(--card); border-radius: var(--r-lg); box-shadow: var(--sh-1); }

.sitebar { display: none; }

/* ---------- mobile tab bar ---------- */
.tabbar { position: fixed; left: 12px; right: 12px; bottom: calc(10px + var(--safe-b)); height: 66px; z-index: 30; max-width: 520px; margin: 0 auto; display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; background: rgba(26, 28, 58, 0.95); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-radius: 24px; box-shadow: var(--sh-2); transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.2, 1), opacity 0.3s; }
.tabbar.hidden { transform: translateY(140%); opacity: 0; pointer-events: none; }
.tabbar a { position: relative; display: grid; justify-items: center; gap: 3px; padding: 8px 0; font-size: 10.5px; font-weight: 700; letter-spacing: 0.02em; color: rgba(245, 240, 230, 0.55); }
.tabbar a .i { width: 22px; height: 22px; }
.tabbar a.on { color: #fff; }
.tabbar a.on::after { content: ''; position: absolute; top: 1px; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }
.tabbar .fab { width: 58px; height: 66px; margin: -30px auto 0; display: grid; place-items: center; background: linear-gradient(150deg, #ffd65a, var(--gold) 50%, var(--gold-deep)); color: var(--ink); clip-path: var(--hex); transition: transform 0.15s; }
.tabbar .fab .i { width: 26px; height: 26px; stroke-width: 2.6; }
.tabbar .fab:active { transform: scale(0.9); }

/* ---------- atoms ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 54px; padding: 0 22px; border-radius: 17px; font-weight: 800; font-size: 15px; background: var(--ink); color: var(--paper); transition: transform 0.12s, opacity 0.2s; white-space: nowrap; }
.btn:active { transform: scale(0.98); }
.btn[disabled] { opacity: 0.3; pointer-events: none; }
.btn.block { width: 100%; }
.btn.gold { background: linear-gradient(160deg, #ffd65a, var(--gold) 55%, #dca50c); color: var(--ink); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.soft { background: var(--paper-2); color: var(--ink); }
.btn.sm { height: 40px; padding: 0 15px; border-radius: 13px; font-size: 13.5px; }
.btn .i { width: 18px; height: 18px; }
.icon-btn { width: 44px; height: 44px; border-radius: 15px; display: grid; place-items: center; background: var(--card); box-shadow: var(--sh-1); flex: none; }
.icon-btn.glass { background: rgba(255, 253, 248, 0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: none; }
.icon-btn.on .i { fill: var(--gold); stroke: var(--gold-deep); }

.pill { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px; border-radius: 99px; font-size: 12.5px; font-weight: 700; background: var(--card); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; }
.pill .i { width: 15px; height: 15px; }
.pill.demo { background: var(--plum-soft); color: var(--plum); box-shadow: none; }
.pill.gold { background: var(--gold-soft); color: #7b5900; box-shadow: none; }
.pill.green { background: var(--sage-soft); color: var(--sage); box-shadow: none; }
.pill.red { background: var(--paprika-soft); color: var(--paprika); box-shadow: none; }
.dot-live { width: 7px; height: 7px; border-radius: 50%; background: var(--sage); box-shadow: 0 0 0 3px rgba(47, 138, 108, 0.18); }

.nim { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; }
.nim .i { width: 16px; height: 16px; }
.nim-chip { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px 0 10px; border-radius: 14px; background: var(--ink); color: var(--paper); font-weight: 800; font-size: 14px; font-variant-numeric: tabular-nums; }
.nim-chip .i { width: 19px; height: 19px; }

.stars { display: inline-block; height: var(--h); width: calc(var(--h) * 5); background: linear-gradient(90deg, var(--gold) var(--p), #ddd4c2 var(--p)); -webkit-mask: var(--star) 0 0 / var(--h) var(--h) repeat-x; mask: var(--star) 0 0 / var(--h) var(--h) repeat-x; vertical-align: -2px; flex: none; }
.stars-sm { --h: 13px; }
.stars-md { --h: 17px; }
.stars-lg { --h: 22px; }
.avatar { width: var(--s); height: var(--s); border-radius: 50%; display: grid; place-items: center; flex: none; font-family: var(--serif); font-weight: 600; font-size: calc(var(--s) * 0.4); color: var(--ink); background: var(--c); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.5); }

.badge { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 8px 0 6px; border-radius: 7px; font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap; }
.badge .i { width: 13px; height: 13px; stroke-width: 2.3; }
.m-pay { background: var(--gold-soft); color: #7b5900; }
.m-receipt { background: var(--sage-soft); color: var(--sage); }
.m-checkin { background: var(--sky-soft); color: var(--sky); }
.m-none { background: var(--paper-2); color: var(--muted); }
.tier { font-size: 9.5px; font-weight: 900; padding: 2px 6px; border-radius: 5px; text-transform: uppercase; letter-spacing: 0.08em; vertical-align: 2px; margin-left: 4px; }
.tier.trusted { background: var(--ink); color: var(--gold); }
.tier.regular { background: var(--paper-2); color: var(--ink-2); }
.tier.new { background: var(--sky-soft); color: var(--sky); }

.chips { display: flex; gap: 8px; padding: 0 var(--gutter); overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 42px; padding: 0 17px; border-radius: 99px; font-weight: 700; font-size: 14px; color: var(--ink-2); box-shadow: inset 0 0 0 1.5px var(--line); transition: background 0.2s, color 0.2s; }
.chip .i { width: 17px; height: 17px; }
.chip.on { background: var(--ink); color: var(--paper); box-shadow: none; }
.chip.sm { height: 34px; padding: 0 13px; font-size: 12.5px; }
.empty { text-align: center; padding: 36px 26px; color: var(--muted); font-size: 14px; }
.empty .i { width: 38px; height: 38px; color: #cfc5b2; margin: 0 auto 8px; display: block; }
.link { font-size: 13.5px; font-weight: 800; color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* ---------- headers ---------- */
.topbar { display: flex; align-items: center; justify-content: space-between; padding: calc(14px + var(--safe-t)) var(--gutter) 4px; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-family: var(--serif); font-weight: 700; font-size: 21px; letter-spacing: -0.02em; }
.logo .i { width: 26px; height: 26px; }
.logo em { font-style: italic; font-weight: 500; color: var(--paprika); }
.titlebar { position: sticky; top: 0; z-index: 10; display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 8px; padding: calc(10px + var(--safe-t)) 14px 10px; background: rgba(245, 240, 230, 0.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.titlebar h1 { font-family: var(--serif); font-size: 19px; font-weight: 600; text-align: center; letter-spacing: -0.01em; }
.titlebar > :last-child { justify-self: end; }
.page-head { padding: 12px var(--gutter) 0; }
.page-head h2 { font-family: var(--serif); font-size: 31px; line-height: 1.06; font-weight: 600; letter-spacing: -0.025em; }
.page-head h2 em { font-style: italic; font-weight: 500; color: var(--paprika); }
.page-head p { color: var(--ink-2); margin-top: 10px; font-size: 15px; max-width: 60ch; }

/* ---------- explore ---------- */
.hero { padding: 16px var(--gutter) 0; }
.loc { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px 0 9px; border-radius: 99px; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line); font-size: 13px; font-weight: 700; }
.loc .i { width: 16px; height: 16px; color: var(--paprika); }
.loc .chev { width: 14px; height: 14px; color: var(--muted); }
.hero h1 { margin-top: 16px; font-family: var(--serif); font-weight: 600; font-size: clamp(40px, 11.5vw, 76px); line-height: 0.98; letter-spacing: -0.035em; }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--paprika); }
.hero p { margin-top: 12px; color: var(--ink-2); font-size: 15px; max-width: 46ch; }
.hero-stats { display: flex; gap: 22px; margin-top: 16px; }
.hero-stats div { font-size: 12px; color: var(--muted); font-weight: 700; line-height: 1.25; }
.hero-stats b { display: block; font-family: var(--serif); font-size: 24px; color: var(--ink); font-weight: 600; }
.search { display: flex; align-items: center; gap: 10px; height: 58px; padding: 0 7px 0 18px; margin-top: 20px; border-radius: 20px; background: var(--card); box-shadow: var(--sh-1), inset 0 0 0 1.5px var(--line); }
.search:focus-within { box-shadow: var(--sh-1), inset 0 0 0 2px var(--ink); }
.search > .i { color: var(--muted); }
.search input { flex: 1; min-width: 0; border: 0; outline: none; background: none; font-size: 16px; font-weight: 600; }
.search input::placeholder { color: var(--muted); font-weight: 500; }
.search input::-webkit-search-cancel-button { display: none; }
.search .go { width: 44px; height: 44px; border-radius: 14px; background: var(--ink); color: var(--paper); display: grid; place-items: center; flex: none; }
.cats { margin-top: 18px; }

.rail { display: flex; gap: 12px; overflow-x: auto; padding: 2px var(--gutter) 10px; scroll-snap-type: x mandatory; scroll-padding: var(--gutter); scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.pcard { position: relative; flex: none; width: 70vw; max-width: 260px; aspect-ratio: 3 / 4; border-radius: 24px; overflow: hidden; scroll-snap-align: start; background: #cbbfa8 center / cover; color: #fff; box-shadow: var(--sh-1); transition: transform 0.25s; isolation: isolate; }
.pcard:active { transform: scale(0.98); }
.pcard::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 15, 34, 0.08) 0%, rgba(14, 15, 34, 0) 35%, rgba(14, 15, 34, 0.85) 100%); }
.pcard .score { position: absolute; top: 12px; right: 12px; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; align-content: center; background: var(--card); color: var(--ink); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2); }
.pcard .score b { font-family: var(--serif); font-size: 20px; font-weight: 700; line-height: 1; }
.pcard .score span { font-size: 8px; font-weight: 800; letter-spacing: 0.08em; color: var(--muted); margin-top: 2px; }
.pcard .cap { position: absolute; left: 16px; right: 16px; bottom: 16px; }
.pcard .kind { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.85; }
.pcard h3 { font-family: var(--serif); font-size: 26px; font-weight: 600; line-height: 1.02; letter-spacing: -0.02em; margin-top: 5px; }
.pcard .earn { display: inline-flex; align-items: center; gap: 5px; margin-top: 10px; height: 27px; padding: 0 10px 0 7px; border-radius: 8px; background: rgba(255, 253, 248, 0.18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 12px; font-weight: 800; }
.pcard .earn .i { width: 15px; height: 15px; }

.list { display: grid; grid-template-columns: minmax(0, 1fr); padding: 0 var(--gutter); }
.lrow { display: flex; align-items: center; gap: 13px; padding: 14px 2px; border-bottom: 1.5px dashed var(--line); }
.lrow .num { font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--muted); width: 22px; flex: none; }
.lrow .thumb { width: 72px; height: 72px; border-radius: 18px; background: #cbbfa8 center / cover; flex: none; }
.lrow h3 { font-family: var(--serif); font-size: 19px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.15; }
.lrow .meta { font-size: 12.5px; color: var(--muted); font-weight: 600; margin-top: 2px; }
.lrow .sc { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 12px; color: var(--ink-2); font-weight: 700; }
.lrow .sc b { font-family: var(--serif); font-size: 15px; color: var(--ink); }
.lrow .dist { align-self: flex-start; margin-top: 4px; font-size: 12px; font-weight: 800; color: var(--ink-2); white-space: nowrap; }

.promo { margin: 30px var(--gutter) 0; padding: 24px 22px; border-radius: var(--r-xl); background: var(--ink); color: var(--paper); display: grid; gap: 10px; position: relative; overflow: hidden; isolation: isolate; }
.promo::before { content: ''; position: absolute; right: -40px; top: -34px; width: 150px; height: 172px; z-index: -1; background: linear-gradient(150deg, #ffd65a, var(--gold) 50%, var(--gold-deep)); clip-path: var(--hex); }
.promo .eyebrow { color: var(--gold); }
.promo b { font-family: var(--serif); font-size: 25px; font-weight: 600; line-height: 1.08; letter-spacing: -0.02em; max-width: 14ch; }
.promo .sub { font-size: 13.5px; color: rgba(245, 240, 230, 0.72); max-width: 36ch; }
.promo .link { color: var(--paper); margin-top: 4px; justify-self: start; }

/* ---------- venue ---------- */
.v-hero { position: relative; height: 58vh; min-height: 360px; max-height: 540px; background: #cbbfa8 center / cover; color: #fff; isolation: isolate; }
.v-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 15, 34, 0.42) 0%, rgba(14, 15, 34, 0) 24%, rgba(14, 15, 34, 0) 42%, rgba(14, 15, 34, 0.88) 100%); }
.v-hero .bar { position: absolute; top: calc(12px + var(--safe-t)); left: 14px; right: 14px; display: flex; justify-content: space-between; color: var(--ink); }
.v-hero .bar .row { gap: 8px; }
.v-title { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 48px; }
.v-title .kind { font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; opacity: 0.85; }
.v-title h1 { font-family: var(--serif); font-size: clamp(38px, 10.5vw, 64px); font-weight: 600; line-height: 0.98; letter-spacing: -0.03em; margin-top: 6px; }
.v-title .sub { margin-top: 9px; font-size: 14px; font-weight: 600; opacity: 0.88; }
.v-layout { position: relative; margin-top: -26px; background: var(--paper); border-radius: 28px 28px 0 0; padding-top: 18px; }
.facts { display: flex; gap: 8px; overflow-x: auto; padding: 0 var(--gutter); scrollbar-width: none; }
.facts::-webkit-scrollbar { display: none; }
.facts .pill { flex: none; }

.scorecard { margin: 16px var(--gutter) 0; padding: 22px 20px 20px; }
.sc-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sc-num b { font-family: var(--serif); font-size: 72px; font-weight: 600; line-height: 0.85; letter-spacing: -0.05em; }
.sc-num span { display: block; margin-top: 10px; font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.sc-num .stars { display: block; margin-top: 10px; }
.stamp { width: 106px; height: 106px; border-radius: 50%; display: grid; place-items: center; align-content: center; text-align: center; color: var(--sage); border: 2px solid currentColor; outline: 1.5px dashed currentColor; outline-offset: -9px; transform: rotate(-9deg); flex: none; }
.stamp b { font-family: var(--serif); font-size: 34px; font-weight: 700; line-height: 1; }
.stamp small { font-size: 8.5px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.14em; line-height: 1.3; margin-top: 3px; }
.bars { display: grid; gap: 9px; margin-top: 22px; }
.bar-row { display: grid; grid-template-columns: 30px 1fr 38px; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 700; color: var(--ink-2); }
.bar-row .lbl { display: flex; align-items: center; gap: 3px; }
.bar-row .lbl .i { width: 12px; height: 12px; color: var(--gold); stroke: none; }
.bar-row .pct { text-align: right; font-variant-numeric: tabular-nums; }
.track { display: block; height: 7px; border-radius: 7px; background: var(--paper-2); overflow: hidden; }
.track > i { display: block; height: 100%; border-radius: 7px; background: var(--ink); transform-origin: left; animation: grow 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes grow { from { transform: scaleX(0); } }
.aspects { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; margin-top: 20px; padding-top: 18px; border-top: 1.5px dashed var(--line); }
.aspect { font-size: 12.5px; font-weight: 700; color: var(--ink-2); }
.aspect .row { justify-content: space-between; margin-bottom: 6px; }
.aspect .row b { font-family: var(--serif); font-size: 15px; color: var(--ink); }
.aspect .track > i { background: var(--paprika); }
.trust-note { display: flex; gap: 9px; align-items: flex-start; margin-top: 18px; padding: 12px 13px; border-radius: 14px; background: var(--sage-soft); color: #1f6a52; font-size: 12.5px; font-weight: 600; line-height: 1.4; }
.trust-note .i { width: 17px; height: 17px; margin-top: 1px; }
.perk-strip { margin: 14px var(--gutter) 0; padding: 14px 16px; display: flex; align-items: center; gap: 14px; border-radius: var(--r-lg); background: var(--gold-soft); border: 1.5px dashed #e7c55c; }
.perk-strip .ic { width: 44px; height: 44px; border-radius: 14px; background: var(--card); display: grid; place-items: center; flex: none; color: var(--gold-deep); }
.perk-strip b { display: block; font-size: 14px; font-weight: 800; }
.perk-strip span { font-size: 12.5px; color: #7b5900; font-weight: 600; }

.rv-head { display: flex; align-items: baseline; justify-content: space-between; padding: 30px var(--gutter) 12px; }
.rv-head h2 { font-family: var(--serif); font-size: 27px; font-weight: 600; letter-spacing: -0.02em; }
.rv-head h2 em { font-style: italic; font-weight: 500; color: var(--paprika); }
.rv-list { padding: 14px var(--gutter) 0; display: grid; gap: 12px; }
.review { padding: 18px; }
.review .who { display: flex; gap: 12px; align-items: center; }
.review .who b { font-size: 15px; font-weight: 800; }
.review .who .sub { display: flex; align-items: center; gap: 8px; margin-top: 3px; font-size: 12px; color: var(--muted); font-weight: 600; }
.review .text { margin-top: 12px; font-size: 15px; line-height: 1.58; }
.review.unverified { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); }
.review.unverified .text { color: var(--ink-2); }
.review .photos { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; }
.review .photos span { width: 96px; height: 96px; border-radius: 16px; background: #cbbfa8 center / cover; flex: none; }
.proof-line { display: flex; align-items: center; gap: 7px; margin-top: 14px; padding-top: 12px; border-top: 1.5px dashed var(--line); font-size: 12px; font-weight: 800; background: none !important; }
.proof-line .i { width: 16px; height: 16px; }
.proof-line.m-pay { color: var(--gold-deep); }
.review .foot { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.review .actions { display: flex; gap: 6px; }
.act { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 11px; font-size: 12.5px; font-weight: 800; color: var(--ink-2); background: var(--paper-2); }
.act .i { width: 15px; height: 15px; }
.act.on { background: var(--ink); color: var(--paper); }
.act[disabled] { opacity: 0.5; }
.owner-reply { margin-top: 12px; padding: 12px 14px; border-radius: 0 14px 14px 0; background: var(--paper); border-left: 3px solid var(--gold); font-size: 13.5px; color: var(--ink-2); }
.owner-reply b { display: flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 900; color: var(--ink); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }
.owner-reply b .i { width: 14px; height: 14px; }

/* fixed bottom action (mobile) */
.cta-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; padding: 22px var(--gutter) calc(14px + var(--safe-b)); background: linear-gradient(rgba(245, 240, 230, 0), var(--paper) 36%); }
.cta-bar .btn { box-shadow: 0 14px 30px -10px rgba(26, 28, 58, 0.55); }
.cta-bar .inner { max-width: 680px; margin: 0 auto; display: grid; gap: 10px; }
.mini-meter { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 9px 14px; border-radius: 14px; background: var(--card); box-shadow: var(--sh-1); font-size: 12.5px; font-weight: 700; color: var(--ink-2); }
.mini-meter b { font-family: var(--serif); font-size: 18px; color: var(--ink); }
.mm-track { position: relative; height: 6px; border-radius: 6px; background: var(--paper-2); }
.mm-track i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 6px; transition: width 0.4s, background 0.3s; }
.mm-track .th { position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--ink); border-radius: 2px; }

/* ---------- write ---------- */
.steps { display: flex; gap: 6px; padding: 2px var(--gutter) 0; }
.steps i { flex: 1; height: 4px; border-radius: 4px; background: var(--line); transition: background 0.3s; }
.steps i.on { background: var(--ink); }
.w-venue { display: flex; gap: 12px; align-items: center; margin: 16px var(--gutter) 0; padding: 10px; border-radius: 18px; box-shadow: inset 0 0 0 1.5px var(--line); }
.w-venue .thumb { width: 50px; height: 50px; border-radius: 13px; background: #cbbfa8 center / cover; flex: none; }
.w-venue b { font-family: var(--serif); font-size: 17px; font-weight: 600; display: block; }
.proofs { display: grid; gap: 10px; padding: 18px var(--gutter) 0; }
.proof { display: flex; gap: 14px; align-items: flex-start; width: 100%; padding: 16px; border-radius: var(--r-lg); background: var(--card); box-shadow: var(--sh-1); text-align: left; border: 2px solid transparent; transition: border-color 0.2s; cursor: pointer; }
.proof.on { border-color: var(--ink); }
.proof .ic { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; flex: none; }
.proof .ic .i { width: 23px; height: 23px; }
.proof b { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 15.5px; font-weight: 800; }
.proof p { font-size: 13px; color: var(--muted); font-weight: 600; margin-top: 3px; }
.proof .strength { font-size: 9.5px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.1em; padding: 3px 6px; border-radius: 5px; }
.proof .form { margin-top: 14px; display: grid; gap: 9px; cursor: auto; }
.proof.skip { box-shadow: none; background: transparent; border: 1.5px dashed #d6cbb6; }
.proof.skip.on { border: 2px solid var(--ink); }
.field { display: flex; align-items: center; gap: 9px; min-width: 0; height: 52px; padding: 0 14px; border-radius: 15px; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow 0.2s; }
.field:focus-within { box-shadow: inset 0 0 0 2px var(--ink); background: var(--card); }
.field .i { color: var(--muted); }
.field input { flex: 1; min-width: 0; border: 0; outline: none; background: none; font-family: var(--mono); font-weight: 700; font-size: 16px; letter-spacing: 0.05em; }
.field input::placeholder { font-family: var(--sans); letter-spacing: 0; font-weight: 500; font-size: 14.5px; color: var(--muted); }
.field input.plain { font-family: var(--sans); letter-spacing: 0; }
.hint { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.hint button { color: var(--ink); font-weight: 800; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 2px; }
.verdict { display: flex; gap: 8px; align-items: flex-start; padding: 11px 13px; border-radius: 13px; font-size: 13px; font-weight: 700; line-height: 1.35; }
.verdict .i { width: 17px; height: 17px; }
.verdict.ok { background: var(--sage-soft); color: #1f6a52; }
.verdict.warn { background: var(--gold-soft); color: #7b5900; }
.verdict.bad { background: var(--paprika-soft); color: #b13a17; }

.rate-card { margin: 16px var(--gutter) 0; padding: 22px 18px 16px; }
.rate-big { display: flex; justify-content: center; gap: 4px; }
.rate-big button { width: 54px; height: 54px; display: grid; place-items: center; color: #ddd4c2; transition: transform 0.18s cubic-bezier(0.3, 1.6, 0.5, 1), color 0.15s; }
.rate-big button .i { width: 46px; height: 46px; stroke: none; }
.rate-big button.on { color: var(--gold); }
.rate-big button:active { transform: scale(0.8) rotate(-8deg); }
.rate-label { text-align: center; font-family: var(--serif); font-style: italic; font-size: 21px; color: var(--ink-2); min-height: 30px; margin-top: 6px; }
.aspect-rate { display: grid; gap: 4px; margin-top: 16px; padding-top: 14px; border-top: 1.5px dashed var(--line); }
.aspect-rate .row { justify-content: space-between; font-size: 14px; font-weight: 700; }
.mini-stars { display: flex; }
.mini-stars button { width: 36px; height: 36px; display: grid; place-items: center; color: #ddd4c2; }
.mini-stars button .i { width: 24px; height: 24px; stroke: none; }
.mini-stars button.on { color: var(--gold); }

.compose { margin: 14px var(--gutter) 0; padding: 18px; }
.compose label { font-family: var(--serif); font-size: 20px; font-weight: 600; display: block; margin-bottom: 10px; letter-spacing: -0.01em; }
.compose textarea { width: 100%; min-height: 170px; resize: vertical; border: 0; border-radius: 16px; padding: 14px; outline: none; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); font-size: 16px; line-height: 1.55; transition: box-shadow 0.2s; }
.compose textarea:focus { box-shadow: inset 0 0 0 2px var(--ink); background: #fff; }
.compose .counter { display: flex; justify-content: space-between; margin-top: 7px; font-size: 12px; color: var(--muted); font-weight: 700; }
.prompts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.prompts .lbl { width: 100%; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 2px; }
.prompts span:not(.lbl) { font-size: 12.5px; font-weight: 700; padding: 5px 10px; border-radius: 99px; box-shadow: inset 0 0 0 1.5px var(--line); color: var(--ink-2); }
.prompts span.hit { background: var(--sage-soft); color: var(--sage); box-shadow: none; }
.photos-add { display: flex; gap: 10px; margin-top: 16px; overflow-x: auto; padding-top: 6px; }
.photos-add .add { width: 88px; height: 88px; border-radius: 18px; border: 1.5px dashed #cdbfa5; display: grid; place-items: center; align-content: center; gap: 4px; color: var(--ink-2); font-size: 11.5px; font-weight: 800; flex: none; cursor: pointer; }
.photos-add .ph { position: relative; width: 88px; height: 88px; border-radius: 18px; background: #cbbfa8 center / cover; flex: none; }
.photos-add .ph button { position: absolute; top: -6px; right: -6px; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; }
.photos-add .ph button .i { width: 14px; height: 14px; }

.meter { margin: 14px var(--gutter) 0; padding: 18px; }
.meter .head { display: flex; align-items: center; justify-content: space-between; }
.meter .head b { font-family: var(--serif); font-size: 20px; font-weight: 600; }
.meter .val { font-family: var(--serif); font-size: 32px; font-weight: 600; line-height: 1; }
.meter .val small { font-size: 13px; color: var(--muted); font-family: var(--sans); font-weight: 700; }
.gauge { height: 10px; border-radius: 10px; background: var(--paper-2); margin: 12px 0 6px; position: relative; }
.gauge > i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 10px; transition: width 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.3s; }
.gauge .th { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--ink); border-radius: 2px; }
.gauge-legend { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted); font-weight: 700; }
.checks { display: grid; gap: 11px; margin-top: 16px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; }
.check .dot { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.check .dot .i { width: 13px; height: 13px; stroke-width: 3; }
.check.pass .dot { background: var(--sage-soft); color: var(--sage); }
.check.warn .dot { background: var(--gold-soft); color: var(--gold-deep); }
.check.fail .dot { background: var(--paprika-soft); color: var(--paprika); }
.check b { font-weight: 800; display: block; }
.check span { color: var(--muted); font-weight: 600; font-size: 12.5px; }
.check .pts { margin-left: auto; font-weight: 800; color: var(--ink-2); font-size: 12.5px; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ---------- receipt motif ---------- */
.receipt-wrap { filter: drop-shadow(0 18px 24px rgba(26, 28, 58, 0.16)); margin: 22px var(--gutter) 0; }
.receipt { --z: 9px; position: relative; background: #fffef9; padding: 30px 22px; font-family: var(--mono); font-size: 13px; color: var(--ink); -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / calc(2 * var(--z)) 51% repeat-x, conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / calc(2 * var(--z)) 51% repeat-x; mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / calc(2 * var(--z)) 51% repeat-x, conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / calc(2 * var(--z)) 51% repeat-x; }
.receipt .r-head { text-align: center; }
.receipt .r-head .logo { font-size: 21px; justify-content: center; }
.receipt .r-head small { display: block; font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }
.receipt .r-rule { border-top: 1.5px dashed #cfc4ae; margin: 16px 0; }
.receipt .r-line { display: flex; align-items: baseline; gap: 6px; margin: 8px 0; }
.receipt .r-line .lead { flex: 1; border-bottom: 2px dotted #d5cab4; transform: translateY(-4px); min-width: 10px; }
.receipt .r-line .v { font-weight: 800; white-space: nowrap; }
.receipt .r-line.fail .v { color: var(--paprika); }
.receipt .r-line.warn .v { color: var(--gold-deep); }
.receipt .r-total { position: relative; display: flex; justify-content: space-between; align-items: baseline; font-weight: 800; letter-spacing: 0.1em; }
.receipt .r-total b { font-size: 34px; font-family: var(--serif); letter-spacing: -0.02em; font-weight: 600; }
.receipt .r-reward { margin-top: 14px; padding: 13px; border-radius: 10px; background: var(--ink); color: var(--paper); display: flex; align-items: center; gap: 11px; font-family: var(--sans); font-weight: 600; font-size: 12.5px; line-height: 1.35; }
.receipt .r-reward .i { width: 34px; height: 34px; }
.receipt .r-reward b { font-family: var(--serif); font-size: 24px; display: block; font-weight: 600; }
.receipt .r-reward.zero { background: var(--paper-2); color: var(--ink-2); }
.receipt .r-stamp { position: absolute; left: 50%; top: -6px; padding: 6px 10px; border: 2.5px solid currentColor; border-radius: 8px; font-family: var(--sans); font-weight: 900; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; transform: translateX(-40%) rotate(-8deg); opacity: 0.9; animation: stamp 0.5s 0.35s cubic-bezier(0.3, 1.6, 0.5, 1) both; background: rgba(255, 254, 249, 0.85); }
.receipt .r-stamp.ok { color: var(--sage); }
.receipt .r-stamp.warn { color: var(--gold-deep); }
.receipt .r-stamp.bad { color: var(--paprika); }
@keyframes stamp { from { scale: 2.4; opacity: 0; } }
.barcode { height: 44px; margin-top: 18px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px, var(--ink) 8px 11px, transparent 11px 12px, var(--ink) 12px 13px, transparent 13px 16px); }
.receipt .r-foot { text-align: center; font-size: 10px; letter-spacing: 0.2em; color: var(--muted); margin-top: 6px; }

.result-head { text-align: center; padding: 22px var(--gutter) 0; }
.result-head h2 { font-family: var(--serif); font-size: 34px; font-weight: 600; line-height: 1.04; letter-spacing: -0.025em; }
.result-head h2 em { font-style: italic; font-weight: 500; color: var(--paprika); }
.result-head p { color: var(--ink-2); font-size: 14.5px; margin: 8px auto 0; max-width: 40ch; }
.blockers { margin: 18px var(--gutter) 0; padding: 18px; }
.blockers h3 { font-family: var(--serif); font-size: 19px; font-weight: 600; margin-bottom: 6px; }
.blockers ul { margin: 0; padding-left: 18px; }
.blockers li { font-size: 13.5px; color: var(--ink-2); margin: 5px 0; }
.stack-actions { display: grid; gap: 10px; padding: 20px var(--gutter) 0; }

/* ---------- wallet ---------- */
.balance { margin: 8px var(--gutter) 0; padding: 24px 22px 22px; border-radius: var(--r-xl); color: var(--paper); position: relative; overflow: hidden; isolation: isolate; background: radial-gradient(420px 220px at 110% -10%, rgba(233, 178, 19, 0.38), transparent 60%), linear-gradient(160deg, #262a58, #15172f); box-shadow: var(--sh-2); }
.balance::after { content: ''; position: absolute; right: -30px; bottom: -40px; width: 170px; height: 196px; z-index: -1; background: linear-gradient(150deg, #ffe08a, var(--gold) 45%, var(--gold-deep)); clip-path: var(--hex); opacity: 0.16; }
.balance .eyebrow { color: rgba(245, 240, 230, 0.6); }
.balance .amt { display: flex; align-items: baseline; gap: 10px; margin-top: 8px; }
.balance .amt b { font-family: var(--serif); font-size: 60px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.balance .amt span { font-size: 14px; font-weight: 800; color: var(--gold); letter-spacing: 0.1em; }
.balance .sub { display: flex; gap: 26px; margin-top: 18px; font-size: 12px; color: rgba(245, 240, 230, 0.65); font-weight: 600; }
.balance .sub b { display: block; font-family: var(--serif); font-size: 21px; color: var(--paper); font-weight: 600; }
.balance .acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.balance .acts .btn { height: 48px; }
.balance .acts .btn.ghost { color: var(--paper); box-shadow: inset 0 0 0 1.5px rgba(245, 240, 230, 0.25); }
.vest { display: grid; gap: 10px; padding: 0 var(--gutter); }
.vest .card { padding: 16px; }
.vest .row b { font-size: 15px; font-weight: 800; }
.vest .track { margin-top: 12px; }
.vest .track > i { background: repeating-linear-gradient(-45deg, var(--gold) 0 8px, #f3cd55 8px 16px); }
.vest .foot { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12px; color: var(--muted); font-weight: 600; }
.vest .foot span { display: inline-flex; align-items: center; gap: 5px; }
.vest .foot .i { width: 13px; height: 13px; }
.ledger { margin: 0 var(--gutter); padding: 4px 18px; }
.tx { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1.5px dashed var(--line); }
.tx:last-child { border-bottom: 0; }
.tx .ic { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.tx .ic .i { width: 19px; height: 19px; }
.tx b { font-size: 14px; font-weight: 700; display: block; }
.tx .amt { font-family: var(--serif); font-weight: 600; font-size: 17px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tx .amt.plus { color: var(--sage); }
.tx .amt.void { color: var(--muted); text-decoration: line-through; }

/* ---------- perks ---------- */
.perk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 var(--gutter); }
.perk { display: flex; flex-direction: column; border-radius: var(--r-lg); background: var(--card); box-shadow: var(--sh-1); overflow: hidden; }
.perk .media { height: 104px; background: #cbbfa8 center / cover; }
.perk .tear { position: relative; border-top: 2px dashed var(--line); margin: 0 12px; }
.perk .tear::before, .perk .tear::after { content: ''; position: absolute; top: -11px; width: 20px; height: 20px; border-radius: 50%; background: var(--paper); }
.perk .tear::before { left: -24px; }
.perk .tear::after { right: -24px; }
.perk .body { padding: 12px 13px 13px; flex: 1; display: flex; flex-direction: column; }
.perk .venue { font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.perk h3 { font-family: var(--serif); font-size: 17px; font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; margin-top: 4px; }
.perk p { font-size: 12px; color: var(--muted); font-weight: 600; margin-top: 4px; flex: 1; }
.perk .btn { margin-top: 12px; height: 40px; border-radius: 12px; font-size: 14px; }
.mine { display: flex; gap: 12px; overflow-x: auto; padding: 0 var(--gutter) 8px; scrollbar-width: none; }
.mine::-webkit-scrollbar { display: none; }
.ticket { flex: none; width: 250px; display: flex; text-align: left; border-radius: 18px; background: var(--card); box-shadow: var(--sh-1); overflow: hidden; }
.ticket .l { width: 70px; display: grid; place-items: center; background: linear-gradient(160deg, #ffd65a, var(--gold) 60%, #d79f08); color: var(--ink); position: relative; }
.ticket .l .i { width: 26px; height: 26px; }
.ticket .l::after { content: ''; position: absolute; right: -1px; top: 6px; bottom: 6px; border-right: 2px dashed rgba(255, 253, 248, 0.9); }
.ticket .r { padding: 12px 14px; min-width: 0; }
.ticket b { font-size: 14px; font-weight: 800; display: block; }
.ticket code { display: inline-block; margin-top: 6px; font-family: var(--mono); font-weight: 800; font-size: 13px; letter-spacing: 0.08em; }
.ticket.used { opacity: 0.5; }
.ticket.used .l { background: var(--paper-2); }

/* ---------- profile ---------- */
.profile { display: flex; gap: 16px; align-items: center; padding: 10px var(--gutter) 0; }
.profile h1 { font-family: var(--serif); font-size: 30px; font-weight: 600; letter-spacing: -0.025em; line-height: 1.05; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 20px var(--gutter) 0; }
.stat { padding: 14px; border-radius: var(--r-md); background: var(--card); box-shadow: var(--sh-1); }
.stat b { font-family: var(--serif); font-size: 28px; font-weight: 600; display: block; letter-spacing: -0.03em; line-height: 1.1; }
.stat span { font-size: 11.5px; color: var(--muted); font-weight: 700; }
.trustbar { margin: 12px var(--gutter) 0; padding: 18px; }
.trustbar .track { height: 9px; margin-top: 12px; }
.trustbar .track > i { background: linear-gradient(90deg, var(--sage), #5cc19c); }
.menu { margin: 0 var(--gutter); padding: 4px 0; }
.menu a, .menu button { display: flex; align-items: center; gap: 12px; padding: 14px 16px; width: 100%; text-align: left; font-weight: 700; font-size: 15px; }
.menu > * + * { border-top: 1.5px dashed var(--line); }
.menu .ic { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: var(--paper-2); flex: none; }
.menu .chev { width: 18px; height: 18px; color: var(--muted); margin-left: auto; }
.myrev { display: flex; align-items: center; gap: 10px; padding: 14px 16px; }
.myrev + .myrev { border-top: 1.5px dashed var(--line); }
.myrev b { font-family: var(--serif); font-size: 16px; font-weight: 600; display: block; }

/* ---------- owner ---------- */
.owner-top { margin: 6px var(--gutter) 0; padding: 16px; display: flex; gap: 14px; align-items: center; }
.owner-top .thumb { width: 60px; height: 60px; border-radius: 18px; background: #cbbfa8 center / cover; flex: none; }
.owner-top b { font-family: var(--serif); font-size: 21px; font-weight: 600; display: block; letter-spacing: -0.015em; }
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px var(--gutter) 0; }
.kpi { padding: 15px 16px; border-radius: var(--r-md); background: var(--card); box-shadow: var(--sh-1); }
.kpi span { font-size: 12px; color: var(--muted); font-weight: 700; display: flex; align-items: center; gap: 6px; }
.kpi span .i { width: 15px; height: 15px; }
.kpi b { font-family: var(--serif); font-size: 34px; font-weight: 600; display: block; margin-top: 2px; letter-spacing: -0.03em; line-height: 1.1; }
.issue { margin: 14px var(--gutter) 0; padding: 20px 18px; }
.issue h3 { font-family: var(--serif); font-size: 22px; font-weight: 600; letter-spacing: -0.015em; }
.issue p { font-size: 13px; color: var(--muted); font-weight: 600; margin-top: 4px; }
.issue .form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; margin-top: 14px; }
.issue .receipt-wrap { margin: 18px 0 0; }
.issue .receipt { text-align: center; padding: 26px 18px; }
.issue .code { font-family: var(--mono); font-size: clamp(24px, 8vw, 32px); font-weight: 800; letter-spacing: 0.1em; margin: 10px 0 4px; }
.rc { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1.5px dashed var(--line); font-size: 13px; }
.rc:last-child { border-bottom: 0; }
.rc code { font-family: var(--mono); font-weight: 800; letter-spacing: 0.06em; }
.alert { margin: 14px var(--gutter) 0; padding: 14px 16px; border-radius: var(--r-md); display: flex; gap: 10px; font-size: 13.5px; font-weight: 600; line-height: 1.4; }
.alert .i { flex: none; margin-top: 1px; }
.alert.info { background: var(--sky-soft); color: #1d5a86; }
.alert.warn { background: var(--paprika-soft); color: #b13a17; }

/* ---------- trust ---------- */
.layers { display: grid; gap: 12px; padding: 20px var(--gutter) 0; }
.layer { padding: 22px 22px 22px 18px; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; }
.layer .n { font-family: var(--serif); font-style: italic; font-size: 46px; line-height: 0.9; font-weight: 500; color: var(--paprika); text-align: center; }
.layer .body { min-width: 0; }
.layer h3 { font-family: var(--serif); font-size: 21px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.15; }
.layer p { margin-top: 6px; font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.layer ul { margin: 8px 0 0; padding-left: 18px; font-size: 14.5px; color: var(--ink-2); line-height: 1.45; }
.layer li { margin: 5px 0; }
.layer li::marker { color: var(--paprika); }
.layer.dark { background: var(--ink); color: var(--paper); }
.layer.dark .n { color: var(--gold); }
.layer.dark p { color: rgba(245, 240, 230, 0.75); }

/* ---------- sheet & toast ---------- */
.sheet { position: fixed; inset: 0; z-index: 50; pointer-events: none; }
.sheet.open { pointer-events: auto; }
.sheet-scrim { position: absolute; inset: 0; background: rgba(14, 15, 34, 0.5); opacity: 0; transition: opacity 0.25s; }
.sheet.open .sheet-scrim { opacity: 1; }
.sheet-panel { position: absolute; left: 0; right: 0; bottom: 0; max-height: 90dvh; overflow-y: auto; background: var(--card); border-radius: 28px 28px 0 0; padding: 10px 20px calc(22px + var(--safe-b)); transform: translateY(105%); transition: transform 0.32s cubic-bezier(0.2, 0.9, 0.2, 1); }
.sheet.open .sheet-panel { transform: none; }
.sheet-grip { width: 42px; height: 5px; border-radius: 5px; background: var(--line); margin: 0 auto 16px; }
.sheet h2 { font-family: var(--serif); font-size: 27px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.sheet p.lead { color: var(--ink-2); font-size: 14.5px; margin-top: 6px; }
.sheet .stack { display: grid; gap: 10px; margin-top: 16px; }
.sheet textarea { width: 100%; min-height: 120px; border: 0; border-radius: 15px; padding: 13px; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); outline: none; resize: vertical; font-size: 16px; }
.sheet textarea:focus { box-shadow: inset 0 0 0 2px var(--ink); }
.radio { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 700; font-size: 14.5px; cursor: pointer; }
.radio:has(input:checked) { box-shadow: inset 0 0 0 2px var(--ink); }
.radio input { accent-color: var(--ink); width: 18px; height: 18px; margin: 0; }
.coupon-big { margin-top: 16px; padding: 24px; border-radius: 20px; text-align: center; background: var(--gold-soft); border: 2px dashed var(--gold); }
.coupon-big code { display: block; font-family: var(--mono); font-size: 32px; font-weight: 800; letter-spacing: 0.1em; margin: 8px 0; word-break: break-all; }

.toast { position: fixed; left: 50%; top: calc(14px + var(--safe-t)); transform: translate(-50%, -160%); visibility: hidden; z-index: 60; background: var(--ink); color: var(--paper); padding: 12px 17px; border-radius: 15px; font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 8px; box-shadow: var(--sh-2); transition: transform 0.35s cubic-bezier(0.2, 1.3, 0.4, 1), visibility 0.35s; width: max-content; max-width: calc(100vw - 32px); }
.toast.show { transform: translate(-50%, 0); visibility: visible; }
.toast .i { width: 18px; height: 18px; color: var(--gold); }

/* ---------- motion ---------- */
.view-enter > .page > * { animation: rise 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.view-enter > .page > *:nth-child(2) { animation-delay: 0.04s; }
.view-enter > .page > *:nth-child(3) { animation-delay: 0.08s; }
.view-enter > .page > *:nth-child(4) { animation-delay: 0.12s; }
.view-enter > .page > *:nth-child(n + 5) { animation-delay: 0.16s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
:focus-visible { outline: 2.5px solid var(--sky); outline-offset: 2px; border-radius: 8px; }

/* ===================== tablet (640+) ===================== */
@media (min-width: 640px) {
  :root { --gutter: 28px; }
  .perk-grid { grid-template-columns: repeat(3, 1fr); }
  .pcard { width: 260px; }
  .list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
  .sheet-panel { left: 50%; right: auto; top: 50%; bottom: auto; width: min(500px, calc(100vw - 40px)); max-height: 86dvh; border-radius: 28px; padding-bottom: 24px; transform: translate(-50%, calc(-50% + 30px)) scale(0.97); opacity: 0; transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.2, 1), opacity 0.25s; }
  .sheet.open .sheet-panel { transform: translate(-50%, -50%); opacity: 1; }
  .sheet-grip { display: none; }
  .write-col, .narrow { max-width: 680px; margin: 0 auto; }
}

/* ===================== desktop (960+) ===================== */
@media (min-width: 960px) {
  :root { --gutter: 32px; }
  .m-only { display: none !important; }
  .d-only { display: revert !important; }
  .tabbar { display: none; }
  #view, #view.no-tabs { padding-bottom: 90px; }

  .sitebar { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 24px; height: 72px; padding: 0 max(40px, calc((100vw - 1180px) / 2 + 32px)); background: rgba(245, 240, 230, 0.88); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); border-bottom: 1.5px solid var(--line); }
  .sitebar nav { display: flex; gap: 4px; flex: 1; }
  .sitebar nav a { position: relative; padding: 10px 14px; border-radius: 12px; font-weight: 700; font-size: 14.5px; color: var(--ink-2); transition: background 0.2s, color 0.2s; }
  .sitebar nav a:hover { background: var(--paper-2); color: var(--ink); }
  .sitebar nav a.on { color: var(--ink); }
  .sitebar nav a.on::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 3px; border-radius: 3px; background: var(--gold); }
  .sitebar .logo { font-size: 24px; }

  .titlebar { position: static; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; padding: 30px var(--gutter) 4px; grid-template-columns: auto 1fr auto; gap: 16px; }
  .titlebar h1 { text-align: left; font-size: 38px; letter-spacing: -0.03em; }
  .titlebar > span:first-child:empty { display: none; }
  .page-head h2 { font-size: 46px; max-width: 24ch; }

  .explore .hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 0 60px; align-items: end; padding-top: 40px; }
  .explore .hero .search { margin: 0 0 8px; }
  .rail { display: grid; grid-template-columns: repeat(4, 1fr); overflow: visible; gap: 18px; }
  .pcard { width: auto; max-width: none; }
  .pcard:hover { transform: translateY(-5px); }
  .list { column-gap: 48px; }
  .lrow { padding-left: 10px; padding-right: 10px; border-radius: 16px; transition: background 0.2s; }
  .lrow:hover { background: var(--card); }
  .promo { grid-template-columns: 1fr auto; align-items: center; padding: 36px 44px; }
  .promo b { font-size: 36px; max-width: 20ch; }
  .promo .link { grid-column: 2; grid-row: 1 / span 3; font-size: 15px; margin-right: 120px; }

  .venue .v-hero { margin: 24px var(--gutter) 0; border-radius: 32px; overflow: hidden; height: 480px; max-height: none; }
  .venue .v-hero .bar { top: 18px; left: 18px; right: 18px; }
  .venue .v-title { bottom: 36px; left: 40px; }
  .v-layout { margin: 0; background: none; border-radius: 0; padding: 26px 0 0; display: grid; grid-template-columns: 420px minmax(0, 1fr); align-items: start; }
  .v-side { position: sticky; top: 90px; }
  .v-side .facts { flex-wrap: wrap; }
  .v-main .rv-head { padding-top: 0; }
  .v-side .cta-bar { position: static; background: none; padding: 16px var(--gutter) 0; }
  .v-side .cta-bar .btn { box-shadow: none; }

  .write-col .cta-bar { left: 50%; right: auto; width: 744px; transform: translateX(-50%); }

  .two-col { display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
  .two-col > .col > .section:first-child { margin-top: 18px; }
  .perk-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .perk .media { height: 150px; }
  .layers { grid-template-columns: 1fr 1fr; }
  .layers .layer.dark { grid-column: 1 / -1; }
}

/* ---------- accounts: sign-in, wallet, listing, role isolation ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
body:not([data-role='customer']) [data-for='customer'],
body:not([data-role='venue']) [data-for='venue'],
body[data-role='none'] [data-for='signed-in'],
body:not([data-mode='live']) [data-live-only] { display: none !important; }
body[data-role='none'] .sitebar { display: none; }
.auth { display: grid; gap: 22px; padding: calc(22px + var(--safe-t)) var(--gutter) 40px; max-width: 1080px; margin: 0 auto; }
.auth-hero .logo { font-size: 24px; }
.auth-hero h1 { font-family: var(--serif); font-size: clamp(32px, 7vw, 54px); line-height: 1.02; letter-spacing: -0.02em; margin-top: 22px; }
.auth-hero h1 em { color: var(--paprika); }
.auth-hero > p { margin-top: 14px; color: var(--ink-2); font-size: 15.5px; line-height: 1.5; max-width: 46ch; }
.demo-box { margin-top: 22px; padding: 18px; display: grid; gap: 8px; border: 1.5px dashed #e7c55c; background: var(--gold-soft); box-shadow: none; }
.demo-btns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; margin-top: 4px; }
.auth-card { padding: 18px; display: grid; gap: 14px; align-self: start; }
.auth-tabs { padding: 0; }
.auth-form, .listing-form, .connect-card { display: grid; gap: 10px; }
.listing-form, .connect-card { margin: 16px var(--gutter) 0; padding: 18px; }
.listing-form .chip { cursor: pointer; }
.form-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.field select { flex: 1; min-width: 0; border: 0; outline: none; background: none; font: inherit; font-weight: 700; }
.reward-set { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; margin-top: 12px; }
.demo-switch { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 0; padding: 0 var(--gutter); }
@media (max-width: 380px) { .demo-btns, .form-2 { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 960px) {
  .auth { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; padding-top: 64px; align-items: start; }
  .auth-card { padding: 26px; }
}

/* venue reward fund */
.fund-top { display: flex; align-items: flex-end; gap: 12px; margin-top: 12px; }
.fund-amt { display: flex; align-items: baseline; gap: 6px; margin-top: 4px; }
.fund-amt .i { width: 22px; height: 22px; align-self: center; }
.fund-amt b { font-family: var(--serif); font-size: 34px; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
.fund-amt span { font-weight: 700; color: var(--muted); }
.fund-sub { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 10px; }
.fund-sub b { color: var(--ink); font-variant-numeric: tabular-nums; }
.fund-hist { margin-top: 10px; border-top: 1.5px dashed var(--line); }

/* log out button, owner pages, payouts */
.titlebar { grid-template-columns: minmax(44px, auto) 1fr minmax(44px, auto); }
.logout-btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px 0 10px; border-radius: 14px; background: var(--card); box-shadow: var(--sh-1); font-weight: 700; font-size: 13px; color: var(--ink); white-space: nowrap; }
.logout-btn .i { width: 17px; height: 17px; }
.sitebar .btn .i { width: 16px; height: 16px; margin-right: 6px; }
.dot-badge { position: absolute; top: 2px; margin-left: 14px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--paprika); color: #fff; font: 700 10px/16px var(--sans, inherit); font-style: normal; text-align: center; }
.dot-badge[hidden] { display: none; }
.sitebar nav a { position: relative; }
.sitebar .dot-badge { position: static; margin-left: 6px; display: inline-block; vertical-align: middle; }
.demo-bar { display: flex; gap: 8px; align-items: center; margin: 4px var(--gutter) 0; padding: 10px 14px; border-radius: var(--r-md); background: var(--plum-soft); color: var(--plum); font-size: 12.5px; font-weight: 700; }
.demo-bar .i { width: 16px; height: 16px; flex: none; }
.section.tight { margin-top: 18px; }
.col.full { grid-column: 1 / -1; }
.owed { display: grid; gap: 10px; padding: 12px var(--gutter) 0; }
.owed-row { display: flex; align-items: center; gap: 10px; padding: 14px 16px; }
.owed-row .nim { font-family: var(--serif); font-weight: 600; font-size: 18px; }
.attn-list { display: grid; gap: 10px; padding: 12px var(--gutter) 0; }
.attn { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--r-md); background: var(--card); box-shadow: var(--sh-1); font-size: 14px; }
.attn > .i:first-child { width: 20px; height: 20px; flex: none; color: var(--gold-deep); }
.attn .chev { width: 18px; height: 18px; margin-left: auto; color: var(--muted); flex: none; }
.attn.urgent { background: var(--gold-soft); box-shadow: inset 0 0 0 1.5px #e7c55c; }
.attn.warn { background: var(--paprika-soft); color: #b13a17; font-weight: 600; }
.owed-mini { display: block; margin: 14px var(--gutter) 0; padding: 16px; }
.mini-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.mini-row b { display: block; font-family: var(--serif); font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.mini-row div { font-size: 11.5px; color: var(--muted); font-weight: 700; }
.kpi.hot { background: var(--gold-soft); box-shadow: inset 0 0 0 1.5px #e7c55c; }
.pay-list { display: grid; gap: 12px; padding: 0 var(--gutter); }
.pay-req { padding: 16px; display: grid; gap: 6px; }
.pay-req .nim { font-family: var(--serif); font-size: 20px; font-weight: 600; }
.pay-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.pay-acts .btn { flex: 1 1 auto; }
.link-btn { color: var(--paprika); font-weight: 700; text-decoration: underline; font-size: inherit; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin-top: 10px; }
.img-check { display: grid; gap: 8px; }
.img-check .verdict { margin: 0; }
.img-prev { height: 120px; border-radius: var(--r-md); background: #cbbfa8 center / cover; }
.vtabbar .dot-badge { margin-left: 10px; top: 4px; }
.auth-h { font-family: var(--serif); font-size: 26px; font-weight: 600; letter-spacing: -0.02em; }
.auth-h em { color: var(--paprika); font-weight: 500; }
@media (min-width: 960px) { .demo-bar { margin-top: 18px; } }
