/* BOOK-X BID
   Idea: the roadside motel sign. One loud element, the marquee price board with its ring of
   bulbs, carries the excitement. Everything around it is plain concrete and paper.
   Tokens: asphalt #1B2333, concrete #EEF1F4, pool #0D8A8A, marquee #F6B23C, flamingo #E04E7B, go #2C9A5A */

@font-face { font-family: "Bowlby One"; src: url("../fonts/bowlby-one-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --asphalt: #1B2333;
  --asphalt-2: #252F44;
  --asphalt-3: #36425C;
  --concrete: #EEF1F4;
  --paper: #FFFFFF;
  --line: #D6DCE3;
  --ink: #1B2333;
  --muted: #5A6475;
  --pool: #0D8A8A;
  --pool-deep: #08696A;
  --pool-wash: #E1F2F1;
  --amber: #F6B23C;
  --amber-hot: #FFD27A;
  --amber-wash: #FDF1D9;
  --flamingo: #E04E7B;
  --flamingo-wash: #FBE5EC;
  --go: #2C9A5A;
  --go-wash: #E2F3E8;
  --warn-wash: #FFF4DA;
  --bad: #C2384A;
  --bad-wash: #FBE6E8;
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --display: "Bowlby One", "Arial Black", Impact, sans-serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --shadow: 0 1px 0 rgba(27, 35, 51, .06), 0 8px 24px -16px rgba(27, 35, 51, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--concrete); color: var(--ink);
  font: 400 16px/1.55 var(--sans); font-feature-settings: "tnum" 1;
  min-height: 100vh; display: flex; flex-direction: column;
}
main { flex: 1; }
img, svg { max-width: 100%; }
a { color: var(--pool-deep); text-underline-offset: 2px; }
a:hover { color: var(--pool); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }
code { font-size: .9em; background: var(--concrete); padding: 1px 5px; border-radius: 5px; overflow-wrap: anywhere; word-break: break-word; }
.card { min-width: 0; }
[hidden] { display: none !important; }

/* ---------- Type scale (1.25) ---------- */
.display { font: 400 clamp(2.3rem, 5.2vw, 3.8rem)/1.04 var(--display); letter-spacing: -.01em; margin: 0; }
.h1 { font: 400 clamp(1.7rem, 3.4vw, 2.45rem)/1.1 var(--display); margin: 0; letter-spacing: -.005em; }
.h2 { font: 800 1.56rem/1.2 var(--sans); margin: 0; letter-spacing: -.01em; }
.h3 { font: 700 1.25rem/1.3 var(--sans); margin: 0; display: flex; align-items: center; gap: 8px; }
.h4 { font: 700 1rem/1.4 var(--sans); margin: 0; }
.h-sub { font: 500 1rem var(--sans); }
.lede { font-size: 1.2rem; line-height: 1.55; max-width: 36em; margin: 0; }
.lede-sm { font-size: 1.05rem; max-width: 42em; margin: 0; }
.small { font-size: .875rem; }
.muted { color: var(--muted); }
.muted-inv { color: #AEB8CB; }
.on-dark { color: #fff; }
.on-dark-muted { color: #C5CDDB; }
.ok-text { color: var(--go); font-weight: 700; }
p { margin: 0; }
.display, .h1, .h2 { text-wrap: balance; }
.nw { white-space: nowrap; }
.prose p { margin: 0 0 1em; max-width: 68ch; }
.prose h2 { margin: 1.6em 0 .5em; }

/* ---------- Layout ---------- */
.wrap { width: min(1140px, 100% - 32px); margin-inline: auto; }
.wrap.narrow { width: min(720px, 100% - 32px); }
.page { padding: 28px 0 64px; display: flex; flex-direction: column; gap: 22px; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.stack-sm { display: flex; flex-direction: column; gap: 8px; }
.stack-lg { display: flex; flex-direction: column; gap: 26px; }
.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.between { justify-content: space-between; }
.wrap-row { flex-wrap: wrap; gap: 14px; }
.grid { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.grid.top { align-items: start; }
.grid.center { align-items: center; }
@media (min-width: 720px) { .g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.page-head { display: flex; flex-direction: column; gap: 6px; }
.page-head.row { flex-direction: row; }
.pad { padding: 14px; }
.pad-x { padding: 6px 14px 10px; margin: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--amber); color: var(--ink); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Surfaces ---------- */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; box-shadow: var(--shadow); }
.card > .h3 .i { color: var(--pool); }
.empty { text-align: center; padding: 40px 20px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.alert { padding: 12px 16px; border-radius: var(--r-sm); background: var(--go-wash); border: 1px solid #BFE3CC; margin-top: 14px; }
.alert.bad { background: var(--bad-wash); border-color: #F0C1C7; color: #7D1F2C; }
.alert.warn { background: var(--warn-wash); border-color: #F3D9A0; color: #6B4B05; }
.page > .alert { margin-top: 0; }
.note { background: var(--amber-wash); padding: 12px 14px; border-radius: var(--r-sm); }

/* ---------- Icons ---------- */
.i { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; fill: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 .95rem/1 var(--sans); padding: 11px 16px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); text-decoration: none;
  transition: background .15s, border-color .15s, transform .08s; white-space: nowrap;
}
.btn:hover { border-color: var(--ink); color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.primary { background: var(--pool); border-color: var(--pool); color: #fff; }
.btn.primary:hover { background: var(--pool-deep); border-color: var(--pool-deep); color: #fff; }
.btn.amber { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.btn.amber:hover { background: var(--amber-hot); border-color: var(--amber-hot); }
.btn.pink { background: var(--flamingo); border-color: var(--flamingo); color: #fff; }
.btn.pink:hover { filter: brightness(1.05); color: #fff; }
.btn.go { background: var(--go); border-color: var(--go); color: #fff; }
.btn.go:hover { filter: brightness(1.06); color: #fff; }
.btn.ghost { background: transparent; }
.btn.ghost-inv { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn.ghost-inv:hover { border-color: #fff; color: #fff; }
.btn.danger { color: var(--bad); border-color: #EDB9C0; }
.btn.danger:hover { background: var(--bad-wash); border-color: var(--bad); color: var(--bad); }
.btn.sm { padding: 7px 12px; font-size: .85rem; }
@media (pointer: coarse), (max-width: 700px) { .btn.sm { min-height: 38px; padding: 8px 14px; } .seg-tabs a, .seg-tabs button { min-height: 38px; } }
.btn.lg { padding: 14px 22px; font-size: 1.02rem; }
.btn.block { width: 100%; }
.link { background: none; border: 0; padding: 0; color: var(--pool-deep); font: 600 .85rem var(--sans); cursor: pointer; text-decoration: underline; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 999px; display: inline-grid; place-items: center; position: relative;
  border: 1.5px solid transparent; background: transparent; color: inherit; cursor: pointer; list-style: none;
}
.icon-btn:hover { background: rgba(255,255,255,.1); }
.icon-btn.sm { width: 34px; height: 34px; border-color: var(--line); background: var(--paper); color: var(--ink); }
.icon-btn.sm:hover { border-color: var(--ink); }
.icon-btn::-webkit-details-marker { display: none; }

/* ---------- Forms ---------- */
label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .9rem; }
input, select, textarea {
  font: 500 1rem var(--sans); color: var(--ink); width: 100%;
  padding: 11px 12px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: #fff;
  min-height: 44px;
}
textarea { resize: vertical; min-height: 64px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--pool); box-shadow: 0 0 0 3px var(--pool-wash); }
input:disabled { background: var(--concrete); color: var(--muted); }
input[readonly] { background: var(--concrete); font-size: .85rem; }
label.check { flex-direction: row; align-items: center; gap: 10px; font-weight: 500; }
label.check input { width: 20px; height: 20px; min-height: 0; accent-color: var(--pool); }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-weight: 600; font-size: .9rem; padding: 0; margin-bottom: 6px; }
form.inline { display: inline-flex; gap: 6px; align-items: center; margin: 0; }
.sm-in { min-height: 34px; padding: 6px 8px; font-size: .9rem; width: 120px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; flex-direction: row; cursor: pointer; font-weight: 600; text-decoration: none; color: var(--ink); }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-size: .9rem; transition: background .12s, border-color .12s; }
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span, .chip.on span { background: var(--asphalt); border-color: var(--asphalt); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
.chips.static .chip span { background: var(--paper); }
.chip-mini { display: inline-block; font-size: .78rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--concrete); color: var(--muted); }
.chip-mini.on { background: var(--pool-wash); color: var(--pool-deep); }

.tag { display: inline-block; font: 700 .72rem/1.5 var(--sans); padding: 1px 8px; border-radius: 999px; background: var(--concrete); color: var(--muted); font-style: normal; vertical-align: middle; }
.tag.amber { background: var(--amber); color: var(--ink); }
.tag.pink { background: var(--flamingo-wash); color: #A02653; }
.tag.go { background: var(--go-wash); color: #1E6B3E; }
.pill { display: inline-flex; align-items: center; gap: 6px; font: 700 .8rem/1 var(--sans); padding: 6px 10px; border-radius: 999px; background: var(--concrete); color: var(--muted); white-space: nowrap; }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.ph-bidding { background: var(--amber-wash); color: #8A5A00; }
.ph-choosing { background: var(--flamingo-wash); color: #A02653; }
.ph-booked { background: var(--pool-wash); color: var(--pool-deep); }
.ph-confirmed { background: var(--go-wash); color: #1E6B3E; }
.ph-fail { background: var(--bad-wash); color: var(--bad); }
.ph-expired, .ph-cancelled { background: #ECEEF1; color: #6B7383; }

/* ---------- Top bar ---------- */
.topbar { background: var(--asphalt); color: #fff; position: sticky; top: 0; z-index: 40; }
.bar { display: flex; align-items: center; gap: 18px; min-height: 64px; flex-wrap: wrap; }
.logo { font: 400 1.35rem/1 var(--display); color: #fff; text-decoration: none; letter-spacing: .01em; }
.logo span { color: var(--amber); }
.logo:hover { color: #fff; }
.logo.big { font-size: 2rem; color: var(--ink); }
.logo.sm { font-size: 1rem; color: var(--ink); }
.nav { display: flex; gap: 4px; order: 3; width: 100%; overflow-x: auto; scrollbar-width: none; margin: 0 -6px; padding-bottom: 8px; }
.nav::-webkit-scrollbar { display: none; }
@media (max-width: 899px) { .nav.scrolls { -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); } .nav.scrolls.at-end { -webkit-mask-image: none; mask-image: none; } }
.nav a { color: #C5CDDB; text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 12px; border-radius: 999px; white-space: nowrap; }
.nav a:hover { color: #fff; background: var(--asphalt-2); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--amber); }
.bar-right { margin-left: auto; display: flex; align-items: center; gap: 6px; }
@media (min-width: 900px) {
  .nav { order: 0; width: auto; margin: 0; padding: 0; }
}
.pts { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 10px; border-radius: 999px; background: var(--asphalt-2); color: #fff; text-decoration: none; font-weight: 700; font-size: .9rem; }
.pts .i { color: var(--amber); }
.pts:hover { color: #fff; background: var(--asphalt-3); }
.pts-lvl { color: #AEB8CB; font-weight: 600; font-size: .8rem; display: none; }
@media (min-width: 560px) { .pts-lvl { display: inline; } }
.pts.bump { animation: bump .6s ease; }
@keyframes bump { 30% { transform: scale(1.15); background: var(--amber); color: var(--ink); } }
.dot { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--flamingo); color: #fff; font: 800 .7rem/18px var(--sans); text-align: center; }
.bell-wrap, .menu { position: relative; }
.panel { position: absolute; right: 0; top: calc(100% + 8px); width: min(380px, calc(100vw - 24px)); background: var(--paper); color: var(--ink); border-radius: var(--r); box-shadow: 0 20px 50px -20px rgba(0,0,0,.45); border: 1px solid var(--line); z-index: 50; overflow: hidden; }
.panel-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.notif-list { max-height: 60vh; overflow-y: auto; }
.notif { display: block; padding: 12px 14px; border-bottom: 1px solid var(--concrete); color: var(--ink); text-decoration: none; }
.notif:hover { background: var(--concrete); color: var(--ink); }
.notif.unread { background: #FFFBF1; box-shadow: inset 3px 0 0 var(--amber); }
.notif b { display: block; font-size: .92rem; }
.notif span { display: block; font-size: .84rem; color: var(--muted); }
.menu-panel { width: 240px; padding: 8px 0; }
.menu-panel a { display: block; padding: 10px 14px; color: var(--ink); text-decoration: none; font-weight: 600; }
.menu-panel a:hover { background: var(--concrete); }
.menu summary { color: #fff; }
.topbar .btn.ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.topbar .btn.ghost:hover { border-color: #fff; }

/* ---------- Footer ---------- */
.foot { background: var(--paper); border-top: 1px solid var(--line); padding: 22px 0; }
.foot-in { display: flex; gap: 16px 24px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: .9rem; padding: 8px 0; display: inline-block; }
.foot nav a:hover { color: var(--ink); }

/* ---------- Marquee (the one loud element) ---------- */
.marquee {
  position: relative; border-radius: var(--r-lg); padding: 14px; background: var(--asphalt-2);
  box-shadow: 0 30px 60px -30px rgba(27, 35, 51, .7);
}
.marquee { --bulb: var(--amber-hot); --glow: rgba(246, 178, 60, .35); }
.marquee.won { --bulb: #B8F5CF; --glow: rgba(44, 154, 90, .45); }
.marquee::before, .marquee::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background-size: 28px 28px; background-repeat: round; opacity: .5;
}
.marquee::before {
  background-image: radial-gradient(circle at 25% 25%, var(--bulb) 0 2.4px, var(--glow) 3.4px, transparent 5px),
                    radial-gradient(circle at 75% 75%, var(--bulb) 0 2.4px, var(--glow) 3.4px, transparent 5px);
}
.marquee::after {
  background-image: radial-gradient(circle at 75% 25%, var(--bulb) 0 2.4px, var(--glow) 3.4px, transparent 5px),
                    radial-gradient(circle at 25% 75%, var(--bulb) 0 2.4px, var(--glow) 3.4px, transparent 5px);
}
.marquee.live::before { animation: bulbs 1.2s linear infinite; }
.marquee.live::after { animation: bulbs 1.2s linear infinite reverse; }
.marquee.won::before, .marquee.won::after { opacity: 1; }
@keyframes bulbs { 0%, 49% { opacity: 1; } 50%, 100% { opacity: .15; } }
.marquee-in { position: relative; z-index: 1; background: var(--asphalt); border-radius: 12px; color: #fff; padding: 22px; }
.code { width: fit-content; align-self: flex-start; font: 700 .8rem/1 var(--sans); letter-spacing: .04em; color: var(--amber); background: rgba(246, 178, 60, .12); padding: 5px 8px; border-radius: 6px; display: inline-block; }
.price-xl { font: 400 clamp(3rem, 9vw, 5.2rem)/.95 var(--display); color: var(--amber); letter-spacing: -.02em; display: inline-block; }
.price-xl small { font: 700 1rem var(--sans); color: #AEB8CB; letter-spacing: 0; margin-left: 4px; }
.price-xl.tick { animation: tick .7s ease; }
@keyframes tick { 0% { transform: translateY(-8px); color: #fff; } 100% { transform: none; } }

/* ---------- Home ---------- */
.home { display: block; }
.hero { background: var(--asphalt); color: #fff; padding: 48px 0 64px; overflow: hidden; }
.hero-in { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero-in { grid-template-columns: 1.05fr .95fr; } }
.hero .lede { color: #D3DAE6; }
.hero-meta { color: #AEB8CB; font-size: .95rem; }
.hero-meta b { color: var(--amber); }
.demo-sign { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.demo-sign figcaption { color: #8D98AD; text-align: right; }
.demo-req { display: flex; flex-direction: column; gap: 4px; }
.demo-req > span:nth-child(2) { font-weight: 700; font-size: 1.1rem; }
.demo-price { display: flex; flex-direction: column; margin: 18px 0 8px; }
.demo-feed { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; min-height: 150px; }
.demo-feed li { display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 10px; background: var(--asphalt-2); font-size: .92rem; animation: drop .45s cubic-bezier(.2, .9, .3, 1.2) both; }
.demo-feed li b { color: var(--amber); }
.demo-feed li.you { background: rgba(224, 78, 123, .18); }
.demo-feed li.you b { color: #FF9EBC; }
.demo-feed li.deal { background: rgba(44, 154, 90, .25); }
.demo-feed li.deal b { color: #9BE8B9; }
@keyframes drop { from { transform: translateY(-10px) scale(.98); opacity: 0; } }
.demo-status { margin-top: 14px; font-weight: 700; color: #C5CDDB; }

.ticker { background: var(--amber); color: var(--ink); overflow: hidden; white-space: nowrap; padding: 10px 0; }
.ticker-track { display: inline-flex; gap: 40px; animation: scroll 50s linear infinite; padding-left: 20px; }
.tick { font-weight: 600; }
@keyframes scroll { to { transform: translateX(-50%); } }

.section { padding: 64px 0 8px; display: flex; flex-direction: column; gap: 16px; }
.mode-cards { display: grid; gap: 16px; margin-top: 10px; }
@media (min-width: 860px) { .mode-cards { grid-template-columns: 1.25fr 1fr 1fr; } }
.mode-card { background: var(--paper); border-radius: var(--r); border: 1px solid var(--line); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.mode-card.featured { border: 2px solid var(--asphalt); box-shadow: 8px 8px 0 var(--amber); }
.mode-card .tag { align-self: flex-start; }
.mode-card .example { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); color: var(--muted); font-size: .92rem; }

.flow { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 0; counter-reset: f; }
@media (min-width: 900px) { .flow { grid-template-columns: repeat(5, 1fr); } }
.flow li { counter-increment: f; display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 18px 0; position: relative; border-top: 3px solid var(--asphalt); }
.flow li::before { content: counter(f); font: 400 1.9rem/1 var(--display); color: var(--pool); margin-bottom: 4px; }
.flow li span { color: var(--muted); font-size: .94rem; }

.desk-pitch { background: var(--asphalt); margin-top: 64px; padding: 56px 0; }
.desk-pitch .card { color: var(--ink); }
.pay-strip { padding-bottom: 64px; }

/* ---------- Segmented tabs ---------- */
.seg-tabs { display: inline-flex; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 4px; gap: 2px; flex-wrap: nowrap; max-width: 100%; overflow-x: auto; scrollbar-width: none; align-self: flex-start; }
.seg-tabs::-webkit-scrollbar { display: none; }
.seg-tabs a, .seg-tabs button { white-space: nowrap; flex: none; padding: 8px 14px; border-radius: 999px; text-decoration: none; color: var(--muted); font: 700 .9rem var(--sans); border: 0; background: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.seg-tabs a[aria-selected="true"], .seg-tabs button[aria-selected="true"] { background: var(--asphalt); color: #fff; }
.seg-tabs .count { background: var(--flamingo); color: #fff; border-radius: 999px; padding: 0 7px; font-size: .75rem; line-height: 18px; }
.seg-tabs [aria-selected="true"] .count { background: var(--amber); color: var(--ink); }

/* ---------- Request form ---------- */
.req-form { display: flex; flex-direction: column; gap: 18px; }
.nights-out { display: flex; align-items: baseline; gap: 8px; padding: 10px 14px; border-radius: var(--r-sm); background: var(--concrete); align-self: end; min-height: 44px; font-weight: 600; }
.big-num { font: 400 1.8rem/1 var(--display); color: var(--pool); }
.steppers { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .steppers { grid-template-columns: repeat(4, 1fr); } }
.stepper { border: 1.5px solid var(--line); border-radius: var(--r); padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.stepper-label { font-weight: 700; display: flex; gap: 6px; align-items: center; }
.stepper-ctl { display: flex; align-items: center; gap: 6px; }
.stepper-ctl input { text-align: center; font-weight: 800; font-size: 1.15rem; padding: 6px; min-height: 38px; -moz-appearance: textfield; }
.stepper-ctl input::-webkit-inner-spin-button { -webkit-appearance: none; }
.modes { display: grid; gap: 10px; }
@media (min-width: 760px) { .modes { grid-template-columns: repeat(3, 1fr); } }
.mode-tile { position: relative; border: 2px solid var(--line); border-radius: var(--r); padding: 16px; cursor: pointer; gap: 6px; font-weight: 500; transition: border-color .12s, background .12s; }
.mode-tile input { position: absolute; opacity: 0; }
.mode-tile:hover { border-color: var(--ink); }
.mode-tile:has(input:checked) { border-color: var(--asphalt); background: var(--asphalt); color: #fff; box-shadow: 6px 6px 0 var(--amber); }
.mode-tile:has(input:checked) .mode-desc { color: #C5CDDB; }
.mode-tile:has(input:focus-visible) { outline: 3px solid var(--amber); outline-offset: 2px; }
.mode-tile.is-on { border-color: var(--asphalt); background: var(--asphalt); color: #fff; box-shadow: 6px 6px 0 var(--amber); }
.mode-tile.is-on .mode-desc { color: #C5CDDB; }
.mode-name { font-weight: 800; font-size: 1.05rem; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.mode-desc { color: var(--muted); font-size: .92rem; }
.target-row { display: grid; gap: 10px; align-items: end; }
@media (min-width: 720px) { .target-row { grid-template-columns: 260px 1fr; } }
.money-in { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: #fff; overflow: hidden; }
.money-in:focus-within { border-color: var(--pool); box-shadow: 0 0 0 3px var(--pool-wash); }
.money-in > span { padding: 0 4px 0 14px; font: 400 1.6rem var(--display); color: var(--pool); }
.money-in input { border: 0; box-shadow: none !important; font: 400 1.6rem var(--display); padding: 8px 8px 8px 2px; }
.submit-bar { position: sticky; bottom: 0; z-index: 10; display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--asphalt); color: #fff; padding: 14px 18px; border-radius: var(--r); margin-bottom: 12px; }
.summary { font-weight: 600; color: #D3DAE6; font-size: .95rem; }
.summary b { color: var(--amber); }

/* ---------- Request list ---------- */
.req-list { display: flex; flex-direction: column; gap: 10px; }
.req-row { display: flex; gap: 14px; justify-content: space-between; align-items: center; flex-wrap: wrap; text-decoration: none; color: var(--ink); padding: 16px 18px; }
.req-row:hover { border-color: var(--ink); color: var(--ink); }
.req-row.phase-bidding { box-shadow: inset 4px 0 0 var(--amber), var(--shadow); }
.req-row.phase-choosing { box-shadow: inset 4px 0 0 var(--flamingo), var(--shadow); }
.req-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.req-city { font-size: 1.1rem; }
.req-side { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.req-best b { font: 400 1.3rem var(--display); color: var(--pool); }
.countdown { font-weight: 700; font-variant-numeric: tabular-nums; }

/* ---------- Guest board ---------- */
.board { display: flex; flex-direction: column; gap: 20px; }
.board-top { display: grid; gap: 20px; align-items: start; }
@media (min-width: 900px) { .board-top { grid-template-columns: 1.25fr .75fr; } }
.mq-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: flex-start; }
.mq-trip { display: flex; flex-direction: column; gap: 6px; }
.mq-trip h1 { font: 800 1.45rem/1.2 var(--sans); margin: 0; color: #fff; }
.mq-facts { display: flex; flex-wrap: wrap; gap: 6px 14px; color: #C5CDDB; font-size: .92rem; }
.mq-facts span { display: inline-flex; align-items: center; gap: 5px; }
.mq-facts .i { color: var(--amber); }
.mq-mode { background: rgba(255,255,255,.08); color: #fff; padding: 6px 12px; border-radius: 999px; font-weight: 700; font-size: .85rem; }
.mq-score { display: grid; gap: 18px; margin-top: 22px; align-items: end; }
@media (min-width: 620px) { .mq-score { grid-template-columns: auto 1fr; } }
.mq-best { display: flex; flex-direction: column; gap: 4px; }
.mq-best .lbl { color: #AEB8CB; font-weight: 600; font-size: .9rem; }
.mq-side { display: flex; flex-direction: column; gap: 10px; }
.meter { height: 10px; border-radius: 999px; background: var(--asphalt-3); overflow: hidden; position: relative; }
.meter i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, var(--flamingo), var(--amber)); border-radius: inherit; transition: width .8s cubic-bezier(.2,.8,.2,1); }
.meter-cap { display: flex; justify-content: space-between; font-size: .82rem; color: #AEB8CB; }
.mq-clock { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--asphalt-3); flex-wrap: wrap; }
.clock-big { font: 400 2rem/1 var(--display); color: #fff; font-variant-numeric: tabular-nums; }
.clock-big.hot { color: var(--flamingo); animation: pulse 1s ease infinite; }
@keyframes pulse { 50% { opacity: .55; } }
.mq-clock .what { color: #C5CDDB; font-weight: 600; }

.side-card { display: flex; flex-direction: column; gap: 12px; }
.facts { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.facts li { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px dashed var(--line); padding-bottom: 8px; font-size: .94rem; }
.facts li:last-child { border-bottom: 0; }
.facts li span:first-child { color: var(--muted); }
.facts li span:last-child { text-align: right; font-weight: 600; }

.offers { display: flex; flex-direction: column; gap: 12px; }
.offers-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.offer { background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--r); padding: 18px; display: grid; gap: 14px; position: relative; grid-template-columns: 36px minmax(0, 1fr); align-items: start; }
.offer > .o-price { grid-column: 1 / -1; }
@media (max-width: 759px) { .offer .rank { width: 36px; height: 36px; font-size: 1rem; border-radius: 10px; } }
@media (min-width: 760px) { .offer { grid-template-columns: 44px 1fr auto; } .offer > .o-price { grid-column: auto; } }
.offer.best { border-color: var(--asphalt); box-shadow: 6px 6px 0 var(--amber); }
.offer.won { border-color: var(--go); box-shadow: 6px 6px 0 var(--go); }
.offer.dim { opacity: .62; }
.offer.fresh { animation: land .7s cubic-bezier(.2, .9, .3, 1.25) both; }
@keyframes land { from { transform: translateY(-14px) scale(.97); opacity: 0; } }
.offer.flash { animation: flash 1.2s ease; }
@keyframes flash { 20% { background: var(--amber-wash); } }
.rank { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font: 400 1.15rem var(--display); background: var(--concrete); color: var(--muted); }
.offer.best .rank { background: var(--amber); color: var(--ink); }
.offer.won .rank { background: var(--go); color: #fff; }
.o-main { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.o-hotel { font-weight: 800; font-size: 1.1rem; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.o-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; color: var(--muted); font-size: .88rem; }
.o-meta span { display: inline-flex; gap: 4px; align-items: center; }
.stars { color: var(--amber); display: inline-flex; gap: 1px; }
.stars .i { width: 14px; height: 14px; fill: currentColor; }
.o-room { font-weight: 600; }
.o-msg { font-size: .92rem; color: var(--muted); font-style: italic; }
.o-price { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
@media (min-width: 760px) { .o-price { align-items: flex-end; text-align: right; } }
.o-price .now { font: 400 2.2rem/1 var(--display); color: var(--ink); }
.offer.best .o-price .now { color: var(--pool-deep); }
.o-price .was { text-decoration: line-through; color: var(--muted); font-weight: 600; }
.o-price .save { color: var(--go); font-weight: 700; font-size: .88rem; }
.o-actions { display: flex; gap: 8px; flex-wrap: wrap; grid-column: 1 / -1; align-items: center; padding-top: 12px; border-top: 1px solid var(--concrete); }
.trail { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: .82rem; }
.trail .step { padding: 3px 9px; border-radius: 999px; background: var(--concrete); font-weight: 600; color: var(--muted); }
.trail .step.guest { background: var(--flamingo-wash); color: #A02653; }
.trail .step.hotel { background: var(--pool-wash); color: var(--pool-deep); }
.trail .step.deal { background: var(--go-wash); color: #1E6B3E; }
.trail .arrow { color: #A6AEBB; }
.waiting { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; color: #A02653; background: var(--flamingo-wash); padding: 8px 12px; border-radius: 999px; font-size: .9rem; }

.booking { border-radius: var(--r); padding: 20px; background: var(--paper); border: 2px solid var(--pool); display: flex; flex-direction: column; gap: 14px; }
.booking.confirmed { border-color: var(--go); background: linear-gradient(180deg, var(--go-wash), #fff 60%); }
.booking.overdue { border-color: var(--flamingo); }
.booking-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.booking-steps li { padding-top: 10px; border-top: 4px solid var(--line); font-size: .85rem; font-weight: 700; color: var(--muted); }
.booking-steps li.on { border-color: var(--go); color: var(--ink); }
.booking-steps li.now { border-color: var(--pool); color: var(--ink); }
.conf-no { font: 400 1.6rem var(--display); color: var(--go); }
.contact-row { display: flex; flex-wrap: wrap; gap: 10px; }
.rate-stars { display: flex; gap: 4px; }
.rate-stars button { background: none; border: 0; cursor: pointer; padding: 2px; color: #C9CFD8; }
.rate-stars button .i { width: 30px; height: 30px; }
.rate-stars button.on { color: var(--amber); }
.rate-stars button.on .i { fill: currentColor; }

/* ---------- Desk ---------- */
.desk { display: flex; flex-direction: column; gap: 20px; }
.desk-head { display: grid; gap: 16px; }
@media (min-width: 900px) { .desk-head { grid-template-columns: 1fr auto; align-items: end; } }
.desk-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.desk-stats .dstat:first-child { grid-column: 1 / -1; }
@media (min-width: 640px) { .desk-stats { grid-template-columns: repeat(5, 1fr); } .desk-stats .dstat:first-child { grid-column: auto; } }
.dstat { background: var(--asphalt); color: #fff; border-radius: var(--r); padding: 14px; display: flex; flex-direction: column; gap: 2px; }
.dstat b { font: 400 1.5rem/1.1 var(--display); color: var(--amber); display: flex; align-items: center; gap: 6px; }
.dstat span { font-size: .8rem; color: #AEB8CB; font-weight: 600; }
.dstat .xp { margin-top: 6px; }
.desk-tools { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.reqs { display: grid; gap: 14px; }
@media (min-width: 820px) { .reqs { grid-template-columns: repeat(2, 1fr); } }
.rq { background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--r); padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.rq.fresh { animation: land .7s cubic-bezier(.2, .9, .3, 1.25) both; border-color: var(--amber); }
.rq.urgent { border-color: var(--flamingo); }
.rq-top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.rq-clock { text-align: right; display: flex; flex-direction: column; align-items: flex-end; }
.rq-clock b { font: 400 1.4rem/1 var(--display); font-variant-numeric: tabular-nums; }
.rq-clock b.hot { color: var(--flamingo); }
.rq-title { font-weight: 800; font-size: 1.1rem; }
.rq-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; font-size: .9rem; }
.rq-facts div { background: var(--concrete); border-radius: var(--r-sm); padding: 8px 10px; display: flex; flex-direction: column; }
.rq-facts div span { color: var(--muted); font-size: .78rem; font-weight: 600; }
.rq-target { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; background: var(--asphalt); color: #fff; border-radius: var(--r-sm); padding: 10px 12px; }
.rq-target b { font: 400 1.6rem/1 var(--display); color: var(--amber); }
.rq-target span { color: #C5CDDB; font-size: .9rem; }
.rq-warn { color: #8A5A00; background: var(--warn-wash); padding: 8px 10px; border-radius: var(--r-sm); font-size: .88rem; font-weight: 600; }
.rq-guest { font-size: .88rem; color: var(--muted); }
.rq-guest .i { margin-right: 4px; }
.mine-price { display: flex; flex-direction: column; gap: 2px; }
.mine-price b { font: 400 2.2rem/1 var(--display); }
.mine-rank { font: 400 1.1rem var(--display); }
.mine-rank.lead { color: var(--go); }
.mine-rank.behind { color: var(--flamingo); }
.counter-box { border: 2px solid var(--flamingo); background: var(--flamingo-wash); border-radius: var(--r); padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.counter-box .gc { font: 400 2rem/1 var(--display); color: #A02653; }
.bk { background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--r); padding: 18px; display: grid; gap: 14px; }
.bk.pending, .bk.contacted { border: 2px solid var(--pool); }
.bk.overdue { border-color: var(--flamingo); }
@media (min-width: 820px) { .bk { grid-template-columns: 1.1fr 1fr; } }
.guest-card { background: var(--asphalt); color: #fff; border-radius: var(--r); padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.guest-card a { color: var(--amber); font-weight: 700; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.guest-card a:hover { color: var(--amber-hot); }
.guest-card .gname { font-weight: 800; font-size: 1.2rem; }

/* ---------- Rewards ---------- */
.level-card { background: var(--asphalt); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 22px; align-items: center; }
@media (min-width: 720px) { .level-card { grid-template-columns: 120px 1fr; } }
.level-badge { width: 110px; height: 110px; border-radius: 50%; display: grid; place-items: center; background: var(--amber); box-shadow: 0 0 0 8px rgba(246,178,60,.2), 0 0 0 16px rgba(246,178,60,.08); }
.level-badge span { font: 400 3rem var(--display); color: var(--ink); }
.xp { height: 12px; border-radius: 999px; background: var(--asphalt-3); overflow: hidden; }
.xp i { display: block; height: 100%; background: var(--amber); border-radius: inherit; transition: width 1s ease; }
.ladder { list-style: none; padding: 0; margin: 6px 0 0; display: flex; gap: 6px; flex-wrap: wrap; }
.ladder li { display: flex; flex-direction: column; padding: 6px 10px; border-radius: 10px; background: var(--asphalt-2); color: #8D98AD; font-size: .82rem; font-weight: 700; }
.ladder li small { font-weight: 600; opacity: .8; }
.ladder li.on { background: rgba(246,178,60,.18); color: var(--amber); }
.stats-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 720px) { .stats-row { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); } }
.stat { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: flex; flex-direction: column; gap: 2px; }
.stat b { font: 400 1.6rem/1.1 var(--display); display: flex; gap: 6px; align-items: center; }
.stat b .i { color: var(--flamingo); }
.stat span { color: var(--muted); font-size: .85rem; font-weight: 600; }
.badges { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 720px) { .badges { grid-template-columns: repeat(4, 1fr); } }
.badge-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.badge-card.locked { background: transparent; border-style: dashed; }
.badge-card.locked .medal { background: #E2E6EB; color: #9AA3B1; box-shadow: none; }
.medal { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--amber); color: var(--ink); margin-bottom: 6px; box-shadow: 0 0 0 4px var(--amber-wash); }
.medal .i { width: 22px; height: 22px; }
.ledger { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.ledger li { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--concrete); }
.ledger li:last-child { border-bottom: 0; }
.ledger .pos { color: var(--go); white-space: nowrap; }
.ledger .neg { color: var(--bad); white-space: nowrap; }
.board-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.board-list li { display: grid; grid-template-columns: 36px 1fr auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--concrete); }
.board-list li:last-child { border-bottom: 0; }
.board-list li.me { background: var(--amber-wash); border-radius: 10px; padding-inline: 8px; }
.board-list .who { display: flex; flex-direction: column; min-width: 0; }
.pos-n { font: 400 1.1rem var(--display); color: var(--muted); text-align: center; }
.pos-n .i { color: var(--amber); width: 24px; height: 24px; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; margin: 0 -4px; -webkit-overflow-scrolling: touch; }
@media (max-width: 760px) { .table-wrap .tbl { min-width: 640px; } .table-wrap { box-shadow: inset -12px 0 10px -10px rgba(27, 35, 51, .18); } }
.tbl { width: 100%; border-collapse: collapse; font-size: .92rem; }
.tbl th { text-align: left; font-size: .8rem; color: var(--muted); font-weight: 700; padding: 8px; border-bottom: 2px solid var(--line); white-space: nowrap; }
.tbl td { padding: 10px 8px; border-bottom: 1px solid var(--concrete); vertical-align: top; }
.tbl .trunc { max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; vertical-align: bottom; }
.api-list { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }
.checks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.checks li { display: flex; flex-direction: column; padding-left: 28px; position: relative; }
.checks li::before { position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; font-weight: 800; color: #fff; }
.checks li.ok::before { content: "✓"; background: var(--go); }
.checks li.bad::before { content: "!"; background: var(--bad); }
.steps-list { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
body.plain { background: var(--concrete); }

/* ---------- Auth ---------- */
.auth { max-width: 460px; margin: 20px auto 0; width: 100%; }

/* ---------- Modal ---------- */
dialog.modal { border: 0; padding: 0; border-radius: var(--r-lg); width: min(460px, calc(100% - 24px)); box-shadow: 0 30px 80px -20px rgba(0,0,0,.5); color: var(--ink); }
dialog.modal::backdrop { background: rgba(27, 35, 51, .6); }
.modal-in { padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.quick { display: flex; gap: 6px; flex-wrap: wrap; }
.quick button { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 12px; font: 700 .85rem var(--sans); cursor: pointer; }
.quick button:hover { border-color: var(--ink); }
.modal .hint { font-size: .88rem; color: var(--muted); }

/* ---------- Toasts and effects ---------- */
.toasts { position: fixed; right: 14px; bottom: 14px; z-index: 80; display: flex; flex-direction: column; gap: 8px; max-width: min(380px, calc(100% - 28px)); }
.toast { background: var(--asphalt); color: #fff; padding: 12px 14px; border-radius: 12px; font-weight: 600; font-size: .92rem; box-shadow: 0 16px 40px -16px rgba(0,0,0,.6); animation: rise .3s ease both; border-left: 4px solid var(--amber); cursor: pointer; }
.toast b { display: block; }
.toast span { color: #C5CDDB; font-weight: 500; font-size: .86rem; }
.toast.bad { border-left-color: var(--flamingo); }
.toast.go { border-left-color: var(--go); }
@keyframes rise { from { transform: translateY(12px); opacity: 0; } }
#fx { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 90; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print { .topbar, .foot, .toasts, #fx, .submit-bar { display: none; } }

/* ---------- v1.1: sign-up steps, suggestions, quick start ---------- */
.span2 { grid-column: 1 / -1; }
.mini-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; counter-reset: ms; }
.mini-steps li { counter-increment: ms; padding-top: 8px; border-top: 4px solid var(--line); font-size: .85rem; font-weight: 700; color: var(--muted); }
.mini-steps li::before { content: counter(ms) ". "; }
.mini-steps li.on { border-color: var(--go); color: var(--ink); }
.mini-steps li.now { border-color: var(--pool); color: var(--ink); }
.otp-in { font: 400 2rem/1 var(--display); letter-spacing: .4em; text-align: center; padding: 14px 8px; }
.ac-wrap { position: relative; }
.ac-list { position: absolute; left: 0; right: 0; top: 100%; margin: 4px 0 0; padding: 6px; list-style: none; background: #fff; border: 1.5px solid var(--ink); border-radius: var(--r-sm); box-shadow: 0 18px 40px -18px rgba(27,35,51,.5); z-index: 30; max-height: 280px; overflow-y: auto; }
.ac-list li { padding: 9px 10px; border-radius: 6px; cursor: pointer; font-weight: 500; color: var(--ink); font-size: .95rem; }
.ac-list li span { color: var(--muted); font-size: .85rem; }
.ac-list li:hover, .ac-list li[aria-selected="true"] { background: var(--amber-wash); }
.quick-start { display: grid; gap: 10px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r); padding: 14px; align-items: end; }
@media (min-width: 640px) { .quick-start { grid-template-columns: 1.5fr 1fr 1fr; } .quick-start .btn { grid-column: 1 / -1; } }
@media (min-width: 1180px) { .quick-start { grid-template-columns: 1.6fr 1fr 1fr auto; } .quick-start .btn { grid-column: auto; } }
.quick-start label { color: #D3DAE6; font-size: .85rem; }
.quick-start input { background: #fff; }
.hero-meta a.on-amber { color: var(--amber); font-weight: 700; }
.active-block { border: 2px solid var(--asphalt); box-shadow: 8px 8px 0 var(--amber); }

/* ---------- v1.1: maps ---------- */
.offers-zone { display: grid; gap: 20px; align-items: start; }
@media (min-width: 1000px) { .offers-zone.with-map { grid-template-columns: minmax(0, 1fr) 420px; } .map-panel { position: sticky; top: 84px; } }
@media (max-width: 999px) { .offers-zone.with-map .map-panel { order: -1; } }
.map-panel { display: flex; flex-direction: column; gap: 10px; padding: 16px; }
.gmap { width: 100%; border-radius: var(--r-sm); background: #DDE3E9; overflow: hidden; }
.board-map { height: 340px; }
@media (min-width: 1000px) { .board-map { height: 460px; } }
.pin-map { height: 280px; }
.pin-map.tall { height: 380px; }
.map-failed { display: none; }
.map-legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--muted); }
.map-legend li { display: inline-flex; align-items: center; gap: 6px; }
.lgd { width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid var(--ink); display: inline-block; }
.lgd.best { background: var(--amber); } .lgd.live { background: var(--asphalt); } .lgd.hot { background: var(--flamingo); } .lgd.won { background: var(--go); } .lgd.you { background: var(--pool); }
.map-pin { font: 400 .95rem/1 var(--display); padding: 6px 10px; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--asphalt); color: #fff; box-shadow: 0 6px 14px -6px rgba(0,0,0,.5); position: relative; white-space: nowrap; }
.map-pin::after { content: ""; position: absolute; left: 50%; bottom: -7px; width: 10px; height: 10px; background: inherit; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: translateX(-50%) rotate(45deg); }
.map-pin.tone-best { background: var(--amber); color: var(--ink); }
.map-pin.tone-hot { background: var(--flamingo); }
.map-pin.tone-won { background: var(--go); }
.map-pin.tone-dim { background: #C9CFD8; color: var(--asphalt-3); }
.map-pin.tone-you { background: var(--pool); font: 700 .8rem/1 var(--sans); }
.iw { font-family: var(--sans); color: var(--ink); max-width: 290px; }
.iw-in { display: flex; flex-direction: column; gap: 6px; }
.iw-head { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 1rem; }
.iw-price .now { font: 400 1.7rem/1 var(--display); }
.iw-price .was { text-decoration: line-through; color: var(--muted); font-weight: 600; }
.iw-acts { display: flex; flex-direction: column; gap: 6px; align-items: stretch; margin-top: 4px; }
.iw-acts .btn { width: 100%; }
.iw-acts .waiting { border-radius: 10px; }
.iw-acts .small { text-align: center; }

/* ---------- v1.1: admin email ---------- */
.ev-grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .ev-grid { grid-template-columns: 1fr 1fr; } }
.ev-grid label.check { font-size: .88rem; }
.howto summary { cursor: pointer; font-weight: 700; color: var(--pool-deep); }
.howto[open] summary { margin-bottom: 8px; }
.smtp-log { background: var(--asphalt); color: #C5CDDB; padding: 12px; border-radius: var(--r-sm); font-size: .78rem; max-height: 240px; overflow: auto; white-space: pre-wrap; }

/* ---------- v1.2: alerts, notes ---------- */
.alerts-bar { background: var(--amber); color: var(--ink); }
.alerts-in { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding: 10px 0; }
.alerts-in p { flex: 1; min-width: 240px; font-size: .92rem; }
.alerts-ic { width: 34px; height: 34px; border-radius: 50%; background: var(--asphalt); color: var(--amber); display: grid; place-items: center; flex: none; animation: ring 2.4s ease-in-out infinite; }
@keyframes ring { 0%, 70%, 100% { transform: rotate(0); } 75% { transform: rotate(14deg); } 80% { transform: rotate(-12deg); } 85% { transform: rotate(8deg); } 90% { transform: rotate(-5deg); } }
.alerts-note { display: block; font-weight: 600; margin-top: 2px; }
.alerts-note:empty { display: none; }
.alerts-bar .btn.ghost-inv { color: var(--ink); border-color: rgba(27,35,51,.35); }
.alerts-bar .btn.ghost-inv:hover { border-color: var(--ink); color: var(--ink); }
.menu-btn { display: flex; gap: 8px; align-items: center; width: 100%; padding: 10px 14px; background: none; border: 0; font: 600 1rem var(--sans); color: var(--ink); cursor: pointer; text-align: left; }
.menu-btn:hover { background: var(--concrete); }
.o-note { font-size: .92rem; background: var(--pool-wash); color: var(--ink); border-radius: var(--r-sm); padding: 8px 10px; }
.o-note .i { color: var(--pool-deep); }
.counter-box .o-note { background: #fff; }
.trail .step .i { width: 12px; height: 12px; vertical-align: -1px; }

/* ---------- v1.3: rooms, photos, online reservations ---------- */
.ready-list .checks li span { display: block; }
.ph-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.ph-grid li { position: relative; border-radius: var(--r-sm); overflow: hidden; background: var(--concrete); aspect-ratio: 4 / 3; }
.ph-grid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph-cover { position: absolute; top: 6px; left: 6px; }
.ph-acts { position: absolute; inset: auto 6px 6px 6px; display: flex; justify-content: space-between; gap: 6px; }
.ph-acts form { margin: 0; }
.ph-acts .btn { background: rgba(255,255,255,.92); }
.up-form { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.drop { position: relative; flex-direction: row; align-items: center; gap: 12px; flex: 1 1 240px; min-width: 0; border: 2px dashed var(--line); border-radius: var(--r); padding: 14px 16px; cursor: pointer; font-weight: 600; background: var(--paper); }
.drop:hover, .drop.over { border-color: var(--pool); background: #F2FAFA; }
.drop:focus-within { outline: 3px solid var(--pool); outline-offset: 2px; }
.drop > .i { flex: none; width: 22px; height: 22px; color: var(--pool); }
.drop-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-weight: 500; }
.drop-txt b { color: var(--pool-deep); }
.drop-files { color: var(--ink); font-weight: 700; overflow-wrap: anywhere; }
.drop input[type=file] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; border: 0; padding: 0; min-height: 0; }
.up-form .btn { flex: none; }
.room-card.dim { opacity: .7; }
.room-form { padding-top: 10px; }

.o-photos { display: flex; gap: 4px; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--r-sm); overflow: hidden; position: relative; margin-bottom: 4px; }
.o-photos { height: clamp(104px, 19vw, 176px); width: 100%; }
.o-photos img { height: 100%; width: auto; object-fit: cover; display: block; flex: 1 1 0; min-width: 0; }
.o-photos[data-n="1"] img { flex: 0 1 300px; border-radius: var(--r-sm); }
.o-photos .more { position: absolute; right: 8px; bottom: 8px; background: rgba(27,35,51,.82); color: #fff; font-weight: 700; font-size: .8rem; padding: 3px 8px; border-radius: 999px; }
.o-main .save { color: var(--go); font-weight: 700; font-size: .85rem; }
.iw-photo { border: 0; padding: 0; background: none; cursor: zoom-in; border-radius: 8px; overflow: hidden; }
.iw-photo img { width: 100%; height: 120px; object-fit: cover; display: block; }

dialog.gallery { width: min(1080px, calc(100% - 20px)); max-height: calc(100vh - 20px); background: var(--asphalt); color: #fff; }
dialog.gallery .gal-in { display: grid; }
@media (min-width: 860px) { dialog.gallery .gal-in { grid-template-columns: 1fr 320px; } }
.gal-stage { position: relative; background: #0f1520; display: grid; place-items: center; min-height: 260px; }
.gal-stage img { max-width: 100%; max-height: 72vh; display: block; object-fit: contain; }
.gal-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.88); color: var(--ink); font: 700 1.6rem/1 var(--sans); cursor: pointer; }
.gal-nav.prev { left: 10px; } .gal-nav.next { right: 10px; }
.gal-cap { position: absolute; left: 12px; bottom: 10px; margin: 0; background: rgba(15,21,32,.75); padding: 4px 10px; border-radius: 999px; font-size: .85rem; }
.gal-x { position: absolute; top: 10px; right: 10px; }
.gal-side { background: var(--paper); color: var(--ink); padding: 18px; display: flex; flex-direction: column; gap: 8px; overflow-y: auto; max-height: 80vh; }
.gal-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 6px; }
.gal-thumbs button { padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; cursor: pointer; background: none; }
.gal-thumbs button.on { border-color: var(--amber); }
.gal-thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }

.reserve-cta { display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--asphalt); color: #fff; border-radius: var(--r); padding: 16px; }
.reserve-cta p { color: #C5CDDB; }
.wait-online { background: var(--warn-wash); border-radius: var(--r-sm); padding: 10px 12px; font-size: .92rem; }
.bk.online { border: 2px solid var(--go); }

.res-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; flex-wrap: wrap; }
.res-photos { display: grid; gap: 6px; grid-template-columns: repeat(2, 1fr); border-radius: var(--r); overflow: hidden; }
@media (min-width: 760px) { .res-photos { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 160px 160px; } .res-photos .rp.big { grid-row: span 2; } }
.rp { position: relative; padding: 0; border: 0; background: var(--concrete); cursor: zoom-in; overflow: hidden; }
.rp img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 4 / 3; }
@media (min-width: 760px) { .rp img { aspect-ratio: auto; } }
.rp .more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(27,35,51,.6); color: #fff; font-weight: 700; }
.res-grid { display: grid; gap: 20px; align-items: start; }
@media (min-width: 960px) { .res-grid { grid-template-columns: minmax(0, 1fr) 360px; } .res-sum { position: sticky; top: 84px; } }
.res-bar { position: sticky; bottom: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 16px -16px 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: var(--asphalt); color: #fff; box-shadow: 0 -10px 24px -12px rgba(27, 35, 51, .6); }
.res-bar b { font-size: 1.15rem; } .res-bar .small { color: #AEB8CB; }
.stack-xs { display: flex; flex-direction: column; gap: 2px; }
@media (min-width: 960px) { .res-bar { display: none; } }
.stay-dates > div { display: flex; flex-direction: column; gap: 2px; background: var(--concrete); border-radius: var(--r-sm); padding: 12px; }
.stay-dates b { font-size: 1.05rem; }
.steppers:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 520px) { .steppers:has(> :nth-child(3):last-child) { grid-template-columns: repeat(2, 1fr); } }
.sum-lines { list-style: none; margin: 10px 0; padding: 0; display: flex; flex-direction: column; gap: 6px; color: #D3DAE6; font-size: .95rem; }
.sum-lines li { display: flex; justify-content: space-between; gap: 10px; }
.sum-lines .tot { border-top: 1px solid var(--asphalt-3); padding-top: 8px; color: #fff; font-weight: 800; font-size: 1.1rem; }
.save-inv { color: #9BE8B9; font-weight: 700; }
.policy-text { background: var(--concrete); border-radius: var(--r-sm); padding: 10px 12px; }
.conf-no.big { font-size: 2.4rem; }
.receipt .facts li span:last-child { white-space: normal; }
@media print {
  .no-print, .alerts-bar, .res-photos { display: none !important; }
  body { background: #fff; }
  .receipt { box-shadow: none; border: 1px solid #999; }
}

/* ======================= Game layer (v1.4) ======================= */
.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; }
/* Header: streak flame and prize box */
.streak-chip { display: inline-flex; align-items: center; gap: 4px; padding: 6px 10px; border-radius: 999px; background: var(--asphalt-2); color: var(--amber); text-decoration: none; font-weight: 800; font-size: .9rem; }
.streak-chip .i { width: 17px; height: 17px; fill: currentColor; }
.streak-chip.cold { color: #8D98AD; }
.streak-chip.cold .i { fill: none; }
.streak-chip.bump, .gift-btn.bump { animation: bump .7s ease; }
.gift-btn { position: relative; display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--amber); color: var(--ink); cursor: pointer; animation: wiggle 2.6s ease-in-out infinite; }
.gift-btn .i { width: 20px; height: 20px; }
.gift-btn .dot { top: -4px; right: -4px; }
@keyframes wiggle { 0%, 80%, 100% { transform: rotate(0); } 84% { transform: rotate(-12deg); } 88% { transform: rotate(10deg); } 92% { transform: rotate(-6deg); } }
@media (max-width: 520px) { .pts .pts-lvl { display: none; } .streak-chip { padding: 6px 8px; } }
/* +XP bubble */
.xp-float { position: fixed; z-index: 90; width: 220px; text-align: center; pointer-events: none; display: flex; flex-direction: column; align-items: center; gap: 2px; animation: xpup 2.3s ease forwards; }
.xp-float b { font: 400 1.6rem/1 var(--display); color: var(--amber); text-shadow: 0 2px 0 var(--asphalt), 0 0 18px rgba(246, 178, 60, .55); }
.xp-float span { font: 700 .78rem/1.2 var(--sans); color: #fff; background: var(--asphalt); padding: 3px 9px; border-radius: 999px; max-width: 220px; }
@keyframes xpup { 0% { transform: translateY(14px) scale(.6); opacity: 0; } 15% { transform: translateY(0) scale(1.08); opacity: 1; } 70% { opacity: 1; } 100% { transform: translateY(-34px); opacity: 0; } }
/* Celebrations: level up, badge, grade, streak, prize */
dialog.celebrate { width: min(380px, calc(100% - 24px)); text-align: center; background: var(--asphalt); color: #fff; border: 3px solid var(--amber); }
dialog.celebrate::backdrop { background: rgba(14, 19, 29, .72); }
.cel-in { padding: 28px 22px 24px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.cel-in .h2 { color: #fff; }
.cel-in p { color: #C5CDDB; margin: 0; }
.cel-in b { color: #fff; }
.cel-big { width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, var(--amber-hot), var(--amber) 60%, #C98612); color: var(--ink);
  font: 400 3.2rem/1 var(--display); box-shadow: 0 0 0 8px rgba(246, 178, 60, .18), 0 0 40px rgba(246, 178, 60, .5); animation: pop .6s cubic-bezier(.2, 1.6, .4, 1); }
.cel-big .i { width: 56px; height: 56px; }
.streak .cel-big { display: flex; flex-direction: column; gap: 0; font-size: 2.2rem; background: radial-gradient(circle at 35% 30%, #FFB27A, #F2702E 60%, #B8461A); color: #fff; }
.streak .cel-big .i { width: 44px; height: 44px; fill: #FFD27A; stroke: #FFD27A; }
.cel-big.rare { background: radial-gradient(circle at 35% 30%, #9FE7E4, var(--pool) 65%); color: #fff; }
.cel-big.epic { background: radial-gradient(circle at 35% 30%, #F7B0C7, var(--flamingo) 65%); color: #fff; }
.cel-big.jackpot { background: conic-gradient(from 0deg, var(--amber), var(--flamingo), var(--pool), var(--amber)); color: #fff; animation: pop .6s cubic-bezier(.2, 1.6, .4, 1), spin 6s linear infinite; }
@keyframes pop { from { transform: scale(.3); opacity: 0; } }
@keyframes spin { to { filter: hue-rotate(360deg); } }
.prize-box { width: 130px; height: 130px; border-radius: 28px; border: 0; background: var(--amber); color: var(--ink); cursor: pointer; display: grid; place-items: center; box-shadow: 0 10px 0 #C98612; animation: wiggle 1.8s ease-in-out infinite; }
.prize-box .i { width: 70px; height: 70px; }
.prize-box.shake { animation: shake .7s ease; }
@keyframes shake { 10%, 50%, 90% { transform: translateX(-6px) rotate(-6deg); } 30%, 70% { transform: translateX(6px) rotate(6deg); } 100% { transform: scale(1.15); opacity: .4; } }
/* Deal grades */
.grade { display: inline-flex; align-items: center; gap: 6px; align-self: flex-end; padding: 3px 10px 3px 4px; border-radius: 999px; background: var(--concrete); }
.grade b { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 400 .95rem/1 var(--display); color: #fff; background: var(--muted); }
.grade small { font: 700 .7rem/1 var(--sans); color: var(--muted); }
.grade.g-S b, .grade-xl.g-S { background: linear-gradient(135deg, var(--amber), var(--flamingo)); }
.grade.g-A b, .grade-xl.g-A { background: var(--go); }
.grade.g-B b, .grade-xl.g-B { background: var(--pool); }
.grade.g-C b, .grade-xl.g-C { background: var(--muted); }
.grade.g-S { background: var(--amber-wash); }
.grade-xl { width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.win-extras { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.win-extras .grade { align-self: center; }
.tag.diamond { background: linear-gradient(135deg, #DDF3FF, #F6E6FF); color: #3B3F99; }
.tag.boost { background: var(--flamingo); color: #fff; }
.tag.first { background: var(--asphalt); color: var(--amber); }
.tag .i { width: 12px; height: 12px; vertical-align: -2px; }
/* Guest: missions and last call */
.missions { border-top: 1px dashed var(--line); padding-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.missions ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.missions li { display: grid; grid-template-columns: 22px 1fr auto; gap: 8px; align-items: center; font-size: .9rem; }
.m-check { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; }
.missions li.done .m-check { background: var(--go); border-color: var(--go); color: #fff; }
.m-check .i { width: 13px; height: 13px; }
.missions li.done .m-txt { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(90, 100, 117, .5); }
.m-txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.m-bar, .g-bar { display: block; height: 6px; border-radius: 999px; background: var(--concrete); overflow: hidden; }
.m-bar i, .g-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--pool), var(--amber)); border-radius: inherit; transition: width .6s ease; }
.m-xp { font-weight: 800; font-size: .82rem; color: var(--pool-deep); }
.missions li.done .m-xp { color: var(--go); }
.lastcall-btn { display: flex; gap: 12px; align-items: center; text-align: left; width: 100%; border: 2px solid var(--amber); background: var(--amber-wash); border-radius: var(--r); padding: 12px 14px; cursor: pointer; color: var(--ink); font: inherit; }
.lastcall-btn:hover { background: #FBE6B8; }
.lastcall-btn > .i { width: 30px; height: 30px; flex: none; color: #B06F00; }
.lastcall-btn > span { display: flex; flex-direction: column; gap: 2px; }
.lastcall-btn b { font-size: 1rem; }
.lastcall { display: flex; gap: 10px; align-items: center; border-radius: var(--r); padding: 10px 12px; background: var(--asphalt); color: #fff; }
.lastcall > .i { width: 26px; height: 26px; flex: none; color: var(--amber); animation: ring 1.6s ease-in-out infinite; }
.lastcall > div { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.lastcall .small { color: #C5CDDB; }
.lastcall b { color: #fff; }
.lastcall .btn { flex: none; }
.rq.lastcalled { border-color: var(--amber); box-shadow: 0 0 0 3px rgba(246, 178, 60, .35); }
/* Hotel: desk goals and league */
.game-row { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .game-row { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); } }
.goals, .league { display: flex; flex-direction: column; gap: 10px; }
.goal-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 620px) { .goal-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.goal { display: flex; gap: 10px; align-items: center; justify-content: space-between; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px 12px; background: var(--paper); }
.goal.ready { border-color: var(--amber); background: var(--amber-wash); animation: glow 1.8s ease-in-out infinite; }
.goal.claimed { opacity: .7; }
@keyframes glow { 50% { box-shadow: 0 0 0 4px rgba(246, 178, 60, .3); } }
.g-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.g-main b { font-size: .92rem; }
.g-span { font: 700 .7rem/1 var(--sans); color: var(--pool-deep); }
.g-xp { font-weight: 800; color: var(--pool-deep); white-space: nowrap; }
.g-done { font-weight: 800; color: var(--go); white-space: nowrap; display: inline-flex; gap: 4px; align-items: center; }
.g-done .i { width: 14px; height: 14px; }
.lg-rank { margin: 0; font-size: .95rem; }
.lg-rank b { font: 400 2rem/1 var(--display); margin-right: 4px; }
.lg-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: .88rem; }
.lg-list li { display: flex; justify-content: space-between; gap: 10px; padding: 4px 8px; border-radius: 6px; }
.lg-list li.me { background: var(--amber-wash); font-weight: 700; }
.gtags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.rq.boosted { border-color: var(--flamingo); box-shadow: 0 0 0 3px rgba(224, 78, 123, .18); }
/* Rewards page extras */
.streak-card { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 720px) { .streak-card { grid-template-columns: auto minmax(0, 1fr); } }
.streak-big { display: flex; align-items: center; gap: 10px; font: 400 2.6rem/1 var(--display); color: #F2702E; }
.streak-big .i { width: 44px; height: 44px; fill: #F2702E; stroke: #F2702E; }
.streak-days { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.streak-days li { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 700 .72rem/1 var(--sans); background: var(--concrete); color: var(--muted); }
.streak-days li.on { background: #F2702E; color: #fff; }
.streak-days li.today { box-shadow: 0 0 0 3px #FFD27A; }
.perks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.perks li { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border-radius: var(--r-sm); background: var(--concrete); }
.perks li.on { background: var(--go-wash); }
.perks li .tag { flex: none; }
@media (prefers-reduced-motion: reduce) { .gift-btn, .prize-box, .goal.ready, .lastcall > .i, .cel-big, .xp-float { animation: none !important; } }
/* Header fits one row on phones with the streak, prize and points chips */
@media (max-width: 480px) {
  .bar { gap: 10px; }
  .logo { font-size: 1.1rem; }
  .bar-right { gap: 2px; }
  .bar-right .icon-btn { width: 36px; height: 36px; }
  .pts { padding: 5px 9px 5px 7px; gap: 4px; font-size: .85rem; }
  .streak-chip { padding: 5px 7px; font-size: .85rem; }
  .gift-btn { width: 34px; height: 34px; }
}
@media (max-width: 389px) { .logo { font-size: .98rem; } .pts .i { display: none; } .pts { padding: 5px 8px; } .bar { gap: 6px; } .gift-btn { width: 30px; height: 30px; } .bar-right .icon-btn { width: 32px; height: 32px; } .streak-chip .i { width: 14px; height: 14px; } }
@media (max-width: 339px) { .logo { font-size: .85rem; } .streak-chip { padding: 4px 5px; } }

/* ---------- v1.5 AI assistant ----------
   The assistant is the motel's night clerk on the intercom: an asphalt header with one marquee bulb that
   glows amber when idle and turns flamingo while it listens. Steps it wants to take arrive as paper
   tickets with a perforated edge, so "the AI suggests" and "you approve" look different from chat. */
.ai-fab { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 85; display: inline-flex; align-items: center; gap: 8px;
  background: var(--asphalt); color: #fff; border: 2px solid var(--asphalt); border-radius: 999px; padding: 11px 18px 11px 14px; font: 700 .95rem/1 var(--sans);
  box-shadow: 0 14px 30px -12px rgba(27, 35, 51, .6); cursor: pointer; }
.ai-fab .i { width: 20px; height: 20px; color: var(--amber); }
.ai-fab:hover { background: var(--asphalt-2); }
.ai-fab.raised { bottom: calc(92px + env(safe-area-inset-bottom)); }
body.ai-open .ai-fab { display: none; }
body.has-ai .toasts { bottom: calc(76px + env(safe-area-inset-bottom)); }
.ai-panel { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 85; width: min(410px, calc(100vw - 32px)); height: min(660px, calc(100vh - 32px));
  background: var(--paper); border-radius: var(--r-lg); box-shadow: 0 30px 70px -24px rgba(27, 35, 51, .6); display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--asphalt-3); }
.ai-panel[hidden] { display: none; }
.ai-head { background: var(--asphalt); color: #fff; display: flex; align-items: center; gap: 10px; padding: 12px 8px 12px 16px; }
.ai-bulb { width: 12px; height: 12px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 3px rgba(246, 178, 60, .25), 0 0 14px var(--amber); flex: none; }
.ai-panel.listening .ai-bulb { background: var(--flamingo); box-shadow: 0 0 0 3px rgba(224, 78, 123, .3), 0 0 16px var(--flamingo); animation: aibulb 1.1s ease-in-out infinite; }
.ai-panel.busy .ai-bulb { animation: aibulb 1.6s ease-in-out infinite; }
@keyframes aibulb { 50% { opacity: .45; } }
.ai-title { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.ai-title b { font: 400 1.05rem/1.2 var(--display); letter-spacing: .02em; }
.ai-title span { font-size: .8rem; opacity: .75; }
.ai-ib { width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 10px; background: transparent; color: #fff; cursor: pointer; flex: none; }
.ai-ib:hover, .ai-ib[aria-expanded="true"] { background: var(--asphalt-3); }
.ai-ib .i { width: 19px; height: 19px; }
.ai-menu { background: var(--asphalt-2); color: #fff; padding: 12px 16px 14px; display: flex; flex-direction: column; gap: 12px; }
.ai-menu[hidden] { display: none; }
.ai-sw { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; cursor: pointer; font-size: .92rem; }
.ai-sw input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--amber); }
.ai-sw small { display: block; opacity: .75; font-size: .8rem; line-height: 1.35; margin-top: 2px; }
.ai-menu-foot { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ai-menu-foot .small { opacity: .7; flex: 1; min-width: 180px; }
.ai-menu .btn.ghost { color: #fff; border-color: rgba(255, 255, 255, .4); }
.ai-log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: var(--concrete); overscroll-behavior: contain; }
.ai-msg { max-width: 88%; padding: 9px 13px; border-radius: 16px; font-size: .95rem; line-height: 1.45; overflow-wrap: anywhere; }
.ai-msg p { margin: 0; }
.ai-msg.bot { align-self: flex-start; background: var(--paper); border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.ai-msg.me { align-self: flex-end; background: var(--pool); color: #fff; border-bottom-right-radius: 5px; }
.ai-msg.err { align-self: flex-start; background: var(--bad-wash); color: var(--bad); border-bottom-left-radius: 5px; }
.ai-msg.act { align-self: flex-start; display: flex; gap: 8px; align-items: flex-start; background: var(--go-wash); color: #1E6B3E; border-radius: 12px; font-weight: 600; font-size: .9rem; }
.ai-msg.act.fail { background: var(--bad-wash); color: var(--bad); }
.ai-msg.act a { color: inherit; font-weight: 800; }
.ai-act-ic { flex: none; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--go); color: #fff; margin-top: 1px; }
.ai-msg.act.fail .ai-act-ic { background: var(--bad); }
.ai-act-ic .i { width: 13px; height: 13px; stroke-width: 3; }
.ai-tkt { align-self: stretch; background: var(--paper); border-radius: 12px; border: 1px solid var(--line); border-left: 7px solid var(--amber); box-shadow: 0 6px 18px -14px rgba(27, 35, 51, .6); }
.ai-tkt.danger { border-left-color: var(--flamingo); }
.ai-tkt.closed { border-left-color: var(--line); box-shadow: none; }
.ai-tkt-in { margin-left: 7px; border-left: 2px dashed var(--line); padding: 12px 14px 12px 14px; }
.ai-tkt-title { display: block; font-weight: 800; line-height: 1.3; }
.ai-tkt ul { margin: 6px 0 10px; padding-left: 18px; font-size: .9rem; color: var(--ink); }
.ai-tkt li + li { margin-top: 3px; }
.ai-tkt.closed ul { color: var(--muted); margin-bottom: 6px; }
.ai-tkt-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.ai-tkt-st { margin: 0; font-size: .85rem; font-weight: 700; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.ai-tkt-st.st-done { color: var(--go); }
.ai-tkt-st.st-failed { color: var(--bad); }
.ai-tkt-st .i { width: 15px; height: 15px; stroke-width: 3; }
.ai-typing { align-self: flex-start; display: inline-flex; gap: 5px; padding: 12px 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; border-bottom-left-radius: 5px; }
.ai-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: aidot 1.2s infinite ease-in-out; }
.ai-typing i:nth-child(2) { animation-delay: .15s; }
.ai-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes aidot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.ai-chips { display: flex; gap: 6px; padding: 10px 12px 0; overflow-x: auto; background: var(--paper); border-top: 1px solid var(--line); scrollbar-width: none; }
.ai-chips::-webkit-scrollbar { display: none; }
.ai-chips[hidden] { display: none; }
.ai-chip { flex: none; white-space: nowrap; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); border-radius: 999px; padding: 6px 12px; font: 600 .84rem/1.2 var(--sans); cursor: pointer; }
.ai-chip:hover { border-color: var(--pool); color: var(--pool-deep); }
.ai-form { display: flex; gap: 8px; align-items: flex-end; padding: 10px 12px 12px; background: var(--paper); }
.ai-chips[hidden] + .ai-form { border-top: 1px solid var(--line); }
.ai-form textarea { flex: 1; min-width: 0; resize: none; min-height: 44px; max-height: 120px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 14px; font: 400 .95rem/1.4 var(--sans); color: var(--ink); background: var(--paper); }
.ai-form textarea:focus { border-color: var(--pool); outline: none; box-shadow: 0 0 0 3px var(--pool-wash); }
.ai-mic, .ai-send { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; }
.ai-mic { background: var(--amber); color: var(--ink); }
.ai-mic[aria-pressed="true"] { background: var(--flamingo); color: #fff; box-shadow: 0 0 0 0 rgba(224, 78, 123, .5); animation: aimic 1.4s ease-out infinite; }
@keyframes aimic { 0% { box-shadow: 0 0 0 0 rgba(224, 78, 123, .55); } 100% { box-shadow: 0 0 0 14px rgba(224, 78, 123, 0); } }
.ai-send { background: var(--pool); color: #fff; }
.ai-send:disabled { opacity: .5; cursor: default; }
.ai-mic .i, .ai-send .i { width: 20px; height: 20px; }
.ai-left { margin: 0; padding: 0 14px 10px; background: var(--paper); color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .ai-panel.listening .ai-bulb, .ai-panel.busy .ai-bulb, .ai-typing i, .ai-mic[aria-pressed="true"] { animation: none; } }
@media (max-width: 600px) {
  .ai-panel { inset: 0; width: 100%; height: 100%; height: 100dvh; border-radius: 0; border: 0; }
  .ai-fab { right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); padding: 10px 14px 10px 12px; }
  body.ai-open { overflow: hidden; }
}
@media print { .ai-fab, .ai-panel { display: none !important; } }

/* Autopilot (guest board) and autobid (front desk) */
.autopilot { border: 1.5px dashed var(--pool); background: var(--pool-wash); border-radius: var(--r); padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.autopilot.on { border-style: solid; background: #fff; box-shadow: inset 5px 0 0 var(--pool); }
.autopilot .ap-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.autopilot .ap-head b { display: inline-flex; align-items: center; gap: 6px; }
.autopilot .ap-head .i { width: 18px; height: 18px; color: var(--pool-deep); }
.autopilot p { margin: 0; font-size: .88rem; }
.autopilot .row { gap: 8px; }
.ap-state { font: 700 .72rem/1.5 var(--sans); padding: 1px 8px; border-radius: 999px; background: var(--concrete); color: var(--muted); }
.autopilot.on .ap-state { background: var(--pool); color: #fff; }
.autobid-bar { flex-direction: row; align-items: center; gap: 10px 18px; flex-wrap: wrap; justify-content: space-between; margin: 0 0 16px; }
.autobid-bar .ap-head { justify-content: flex-start; margin-bottom: 4px; }
.autobid-bar .ap-text p { max-width: 75ch; }
.autobid-bar .ap-text { flex: 1; min-width: 240px; }
.tag.auto { background: var(--asphalt); color: var(--amber); }
.tag.auto .i { width: 12px; height: 12px; vertical-align: -2px; }
.ap-form .money-in input { width: 100%; }
.ap-form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 420px) { .ap-form .two { grid-template-columns: 1fr; } }
.ul-plain { list-style: none; padding: 0; margin: 0; }
.kv { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.kv li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--concrete); padding-bottom: 6px; }
.err-list { padding-left: 18px; margin: 0; overflow-wrap: anywhere; }
.ai-admin .howto { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px 12px; }
.stack.tight { gap: 8px; }
.h4 { font-size: 1rem; margin: 6px 0 0; }

.ai-pitch { display: flex; gap: 12px; align-items: flex-start; margin: 22px 0 0; padding: 14px 16px; background: var(--asphalt); color: #fff; border-radius: var(--r); max-width: 760px; }
.ai-pitch .i { flex: none; width: 22px; height: 22px; color: var(--amber); margin-top: 2px; }
.ai-pitch b { color: var(--amber); }

/* Signed-in devices (profile) */
.dev-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.dev-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--concrete); }
.dev-list li > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dev-list .pill { align-self: flex-start; }
