/* Mr. Booth "My Rental": the website's warm-luxe look on a phone.
   Ivory paper, espresso ink, champagne gold details, deep rose as the one action color.
   Bodoni headlines with rose italics, Pinyon Script accents, Figtree for everything you read. */
:root {
  color-scheme: light;
  --paper: #faf6f0; --paper-2: #f2ebe1; --card: #fffdf9; --ink: #1c1714; --soft: #6b6058; --line: #e6dccf;
  --rose: #c2185b; --rose-deep: #a3134c; --rose-wash: #f8e4ea;
  --gold: #b8925a; --gold-ink: #75572c; --gold-wash: #f6eedf; --gold-line: #dcc7a1;
  --night: #1c1714; --night-2: #2a221d; --night-ink: #f6efe6; --night-soft: #b5a898; --night-line: #3a302a;
  --ok: #2e7d4f; --ok-wash: #e3f1e7; --warn: #a5620b; --warn-wash: #fbeed8; --bad: #b3261e; --bad-wash: #fbe3e1;
  --f-display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --f-body: "Figtree", "Helvetica Neue", Arial, system-ui, sans-serif;
  --f-script: "Pinyon Script", "Snell Roundhand", cursive;
  --r: 22px; --r-sm: 14px;
  --shadow: 0 1px 2px rgba(28,23,20,.05), 0 18px 40px -22px rgba(28,23,20,.35);
  --shadow-lg: 0 2px 4px rgba(28,23,20,.06), 0 30px 60px -30px rgba(28,23,20,.45);
  --ease: cubic-bezier(.2,.7,.2,1);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
html, body { margin: 0; color: var(--ink); background: var(--paper); -webkit-text-size-adjust: 100%; }
*, *::before, *::after { touch-action: manipulation; }
body { font: 400 16px/1.55 var(--f-body); -webkit-font-smoothing: antialiased; min-height: 100dvh;
  background: radial-gradient(120% 60% at 100% 0%, var(--rose-wash) 0%, rgba(248,228,234,0) 60%), radial-gradient(90% 50% at 0% 10%, var(--gold-wash) 0%, rgba(246,238,223,0) 55%), var(--paper);
  background-attachment: fixed; }
h1, h2, h3 { margin: 0; font-family: var(--f-display); font-weight: 500; letter-spacing: -.01em; text-wrap: balance; line-height: 1.08; }
h1 { font-size: clamp(30px, 8.6vw, 38px); }
h2 { font-size: 26px; }
h3 { font-family: var(--f-body); font-weight: 700; font-size: 16px; letter-spacing: 0; line-height: 1.3; }
h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--rose); }
p { margin: 0; }
img { max-width: 100%; display: block; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; border-radius: 6px; }
.muted { color: var(--soft); }
.small { font-size: 14.5px; }
.tiny { font-size: 12.5px; }
.num { font-variant-numeric: tabular-nums; }
.center { text-align: center; }
.eyebrow { font: 700 11.5px/1.2 var(--f-body); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-ink); }
.script { font-family: var(--f-script); font-weight: 400; font-size: 30px; line-height: 1; color: var(--gold-ink); }
.row { display: flex; align-items: center; gap: 12px; }
.grow { flex: 1; min-width: 0; }
.stack { display: flex; flex-direction: column; gap: 12px; }

/* ── frame ── */
.app { max-width: 540px; margin: 0 auto; min-height: 100dvh; display: flex; flex-direction: column; }
.loading { flex: 1; display: grid; place-items: center; }
.loading img { width: 120px; animation: breathe 1.6s var(--ease) infinite; }
@keyframes breathe { 50% { opacity: .45; transform: scale(.97); } }
.bar { position: sticky; top: 0; z-index: 10; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px;
  padding: calc(10px + env(safe-area-inset-top, 0px)) 16px 10px; background: color-mix(in srgb, var(--paper) 84%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.bar .logo { height: 34px; width: auto; justify-self: center; grid-column: 2; }
.bar .back { justify-self: start; display: inline-flex; align-items: center; gap: 4px; border: 0; background: none; padding: 8px 8px 8px 0; color: var(--ink); font-weight: 600; font-size: 15px; }
.bar .back svg { width: 20px; height: 20px; }
.bar .ref { justify-self: end; grid-column: 3; font-size: 12px; font-weight: 600; color: var(--soft); letter-spacing: .04em; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.bar .ttl { grid-column: 2; font-weight: 700; font-size: 15px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.main { flex: 1; padding: 20px 18px 28px; display: flex; flex-direction: column; gap: 18px; }
.main.has-nav { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
.main > * { animation: rise .55s var(--ease) both; animation-delay: calc(var(--i, 0) * 55ms); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.foot { position: sticky; bottom: 0; z-index: 9; padding: 14px 18px calc(14px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(to top, var(--paper) 72%, color-mix(in srgb, var(--paper) 0%, transparent)); display: flex; flex-direction: column; gap: 8px; }

/* bottom navigation */
.tabbar { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 12; display: flex; gap: 4px; padding: 6px; border-radius: 999px;
  background: color-mix(in srgb, var(--night) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: var(--shadow-lg); width: min(360px, calc(100% - 32px)); }
.tabbar a, .tabbar button { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px 7px; border: 0; border-radius: 999px; background: none; color: var(--night-soft); font-size: 11px; font-weight: 600; letter-spacing: .04em; text-decoration: none; }
.tabbar svg { width: 21px; height: 21px; }
.tabbar [aria-current="page"] { background: var(--night-2); color: var(--night-ink); }
.tabbar [aria-current="page"] svg { color: var(--gold); }

/* journey rail */
.rail { display: flex; align-items: flex-start; padding: 2px 0 0; }
.rail .stop { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; position: relative; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); text-align: center; }
.rail .stop::before { content: ""; position: absolute; top: 6px; right: 50%; width: 100%; height: 2px; background: var(--line); z-index: 0; }
.rail .stop:first-child::before { display: none; }
.rail .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 2px solid var(--line); position: relative; z-index: 1; transition: all .3s var(--ease); }
.rail .stop.done .dot { background: var(--gold); border-color: var(--gold); }
.rail .stop.done::before, .rail .stop.now::before { background: var(--gold); }
.rail .stop.now { color: var(--ink); }
.rail .stop.now .dot { background: var(--rose); border-color: var(--rose); box-shadow: 0 0 0 5px var(--rose-wash); }

/* hero */
.hero { display: flex; flex-direction: column; gap: 8px; }
.hero .lede { color: var(--soft); font-size: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: var(--paper-2); color: var(--soft); white-space: nowrap; }
.chip svg { width: 14px; height: 14px; }
.chip.gold { background: var(--gold-wash); color: var(--gold-ink); }
.chip.rose { background: var(--rose-wash); color: var(--rose); }
.chip.ok { background: var(--ok-wash); color: var(--ok); }

/* cards */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow); }
.card.flat { box-shadow: none; }
.card.gold { border-color: var(--gold-line); background: linear-gradient(180deg, var(--gold-wash), var(--card)); }
.card .head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.night { background: var(--night); color: var(--night-ink); border-radius: var(--r); padding: 22px 20px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.night::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(80% 60% at 100% 0%, rgba(184,146,90,.22), rgba(184,146,90,0) 70%); }
.night > * { position: relative; z-index: 1; }
.night .eyebrow { color: var(--gold); }
.night .muted { color: var(--night-soft); }
.night h2 em, .night h1 em { color: #f3a6c3; }
.night .numeral { font-family: var(--f-display); font-style: italic; color: var(--gold); font-size: 44px; line-height: .9; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 9px 14px; margin: 0; font-size: 15px; }
.kv dt { color: var(--soft); }
.kv dd { margin: 0; text-align: right; font-weight: 600; }
.divider { height: 1px; background: var(--line); }
.sec-title { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.sec-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* buttons */
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 8px; border: 1.5px solid var(--line); background: var(--card); padding: 16px 22px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; color: var(--ink); transition: transform .15s var(--ease), box-shadow .15s var(--ease), background .15s; }
.btn:active { transform: scale(.98); }
.btn svg { width: 18px; height: 18px; }
.btn.primary { background: var(--rose); border-color: var(--rose); color: #fff; box-shadow: 0 10px 24px -12px rgba(194,24,91,.7); }
.btn.primary:hover { background: var(--rose-deep); }
.btn.dark { background: var(--ink); border-color: var(--ink); color: var(--night-ink); }
.btn.gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn.ghost-light { background: transparent; border-color: var(--night-line); color: var(--night-ink); }
.btn.block { width: 100%; }
.btn.sm { padding: 10px 16px; font-size: 14px; }
.btn:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; transform: none; }
.btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.linkish { border: 0; background: none; padding: 0; color: var(--rose); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; font-size: inherit; }

/* forms */
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); }
.field input { border: 1.5px solid var(--line); background: #fff; border-radius: 16px; padding: 15px 16px; width: 100%; font-size: 17px; transition: border-color .15s, box-shadow .15s; }
.field input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-wash); }
.field input.code { font-size: 30px; letter-spacing: .45em; text-align: center; font-variant-numeric: tabular-nums; padding-left: 26px; }
.error { background: var(--bad-wash); color: var(--bad); border-radius: 14px; padding: 12px 14px; font-size: 14.5px; font-weight: 600; }
.note { background: var(--paper-2); border-radius: 14px; padding: 12px 14px; font-size: 14.5px; }
.dev { background: var(--warn-wash); color: var(--warn); border-radius: 14px; padding: 12px 14px; font-size: 14px; font-weight: 600; }

/* login */
.welcome { display: flex; flex-direction: column; gap: 20px; }
.polaroids { position: relative; height: 210px; margin: 6px 0 4px; }
.polaroids figure { position: absolute; margin: 0; background: #fff; padding: 7px 7px 26px; border-radius: 4px; box-shadow: var(--shadow-lg); width: 46%; animation: drop .8s var(--ease) both; }
.polaroids figure img { aspect-ratio: 1; object-fit: cover; width: 100%; border-radius: 2px; }
.polaroids figure:nth-child(1) { left: 2%; top: 22px; transform: rotate(-8deg); animation-delay: .05s; }
.polaroids figure:nth-child(2) { left: 27%; top: 0; transform: rotate(3deg); z-index: 2; animation-delay: .18s; }
.polaroids figure:nth-child(3) { right: 2%; top: 30px; transform: rotate(9deg); animation-delay: .3s; }
@keyframes drop { from { opacity: 0; translate: 0 -18px; } }

/* steps (check-in) */
.steps-list { display: flex; flex-direction: column; }
.step { display: flex; align-items: center; gap: 14px; text-align: left; width: 100%; border: 0; border-top: 1px solid var(--line); background: none; padding: 14px 2px; }
.step:first-child { border-top: 0; }
.step .n { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-display); font-style: italic; font-size: 17px; border: 1.5px solid var(--line); color: var(--soft); }
.step .n svg { width: 17px; height: 17px; }
.step.done .n { background: var(--gold); border-color: var(--gold); color: #fff; }
.step.now .n { background: var(--rose); border-color: var(--rose); color: #fff; box-shadow: 0 0 0 5px var(--rose-wash); }
.step .t { flex: 1; min-width: 0; }
.step .t b { display: block; font-size: 15.5px; }
.step .t span { font-size: 13.5px; color: var(--soft); }
.step.done .t b { color: var(--soft); }
.step .go { color: var(--soft); }
.step .go svg { width: 18px; height: 18px; }
.step:disabled { opacity: .5; cursor: default; }
.ring { --p: 0; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 12.5px; font-weight: 700; background: conic-gradient(var(--gold) calc(var(--p) * 1%), var(--paper-2) 0); position: relative; }
.ring::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--card); }
.ring span { position: relative; }

/* tiles (menus) */
.tiles { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.tile { display: flex; align-items: center; gap: 14px; text-align: left; width: 100%; border: 0; border-top: 1px solid var(--line); background: none; padding: 15px 16px; text-decoration: none; }
.tile:first-child { border-top: 0; }
.tile .ico { flex: none; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--gold-wash); color: var(--gold-ink); }
.tile .ico svg { width: 21px; height: 21px; }
.tile.done .ico { background: var(--ok-wash); color: var(--ok); }
.tile .t { flex: 1; min-width: 0; }
.tile .t b { display: block; font-size: 15.5px; }
.tile .t span { font-size: 13.5px; color: var(--soft); }
.tile .go { color: var(--soft); }
.tile .go svg { width: 18px; height: 18px; }
.tile .mini { height: 4px; border-radius: 9px; background: var(--paper-2); margin-top: 7px; overflow: hidden; }
.tile .mini i { display: block; height: 100%; background: var(--gold); border-radius: inherit; }
.fixgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fixtile { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; text-align: left; border: 1px solid var(--line); background: var(--card); border-radius: 18px; padding: 14px; min-height: 104px; box-shadow: var(--shadow); }
.fixtile .ico { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--rose-wash); color: var(--rose); }
.fixtile .ico svg { width: 19px; height: 19px; }
.fixtile b { font-size: 14.5px; line-height: 1.25; }

/* kit */
.kit { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; }
.kit img { width: 96px; height: 128px; object-fit: cover; border-radius: 14px; }
.kit .unit { font-family: var(--f-display); font-size: 24px; line-height: 1.1; }
.kit ul { margin: 6px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 3px; font-size: 14px; color: var(--soft); }
.kit li::before { content: "✦ "; color: var(--gold); font-size: 11px; }

/* pass (pickup / drop-off ticket) */
.pass { position: relative; background: var(--card); border-radius: var(--r); box-shadow: var(--shadow-lg); border: 1px solid var(--gold-line); overflow: hidden; }
.pass::before { content: ""; position: absolute; inset: 7px; border: 1px solid var(--gold-line); border-radius: 16px; pointer-events: none; }
.pass .top { padding: 24px 22px 18px; text-align: center; display: flex; flex-direction: column; gap: 6px; align-items: center; background: radial-gradient(90% 80% at 50% 0%, var(--gold-wash), rgba(246,238,223,0) 70%); }
.pass .when { font-family: var(--f-display); font-size: 46px; line-height: 1; letter-spacing: -.02em; }
.pass .when em { font-style: italic; color: var(--rose); }
.pass .time { font: 700 15px/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); }
.pass .perf { position: relative; height: 22px; }
.pass .perf::before { content: ""; position: absolute; left: 22px; right: 22px; top: 50%; border-top: 2px dashed var(--line); }
.pass .perf i { position: absolute; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--paper); border: 1px solid var(--gold-line); }
.pass .perf i:first-child { left: -12px; } .pass .perf i:last-child { right: -12px; }
.pass .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; padding: 14px 22px 22px; }
.pass .grid div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pass .grid span { font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--soft); }
.pass .grid b { font-size: 14.5px; font-weight: 600; overflow-wrap: anywhere; }
.pass .grid .wide { grid-column: 1 / -1; }

/* step flow */
.progress-seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.progress-seg i { height: 4px; border-radius: 9px; background: var(--line); }
.progress-seg i.on { background: var(--rose); }
.progress-seg i.done { background: var(--gold); }
.days { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 6px; scrollbar-width: none; }
.days::-webkit-scrollbar { display: none; }
.day { flex: none; border: 1.5px solid var(--line); background: var(--card); border-radius: 18px; padding: 10px 14px 12px; text-align: center; min-width: 76px; display: flex; flex-direction: column; gap: 2px; transition: all .15s; }
.day span { font-size: 11px; color: var(--soft); font-weight: 700; letter-spacing: .14em; }
.day b { font-family: var(--f-display); font-size: 28px; line-height: 1.05; font-weight: 500; }
.day[aria-pressed="true"] { border-color: var(--rose); background: var(--rose); color: #fff; box-shadow: 0 10px 24px -14px rgba(194,24,91,.8); }
.day[aria-pressed="true"] span { color: #fde5ee; }
.day .pop { font-size: 9.5px; letter-spacing: .1em; color: var(--gold-ink); }
.day[aria-pressed="true"] .pop { color: #fff; }
.slots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.slot { border: 1.5px solid var(--line); background: var(--card); border-radius: 999px; padding: 11px 4px; font-weight: 700; font-size: 14.5px; transition: all .15s; }
.slot[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.slot:disabled { text-decoration: line-through; color: var(--soft); background: var(--paper-2); border-color: transparent; cursor: not-allowed; }
.summary { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.summary div { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 10px 12px; }
.summary span { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--soft); }
.summary b { font-size: 14px; }
.summary .empty b { color: var(--soft); font-weight: 500; }

/* agreement */
.choice { position: relative; display: flex; gap: 14px; text-align: left; width: 100%; border: 1.5px solid var(--line); background: var(--card); border-radius: 20px; padding: 18px 16px; box-shadow: var(--shadow); transition: all .15s; }
.choice .rad { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); margin-top: 3px; transition: all .15s; }
.choice[aria-pressed="true"] { border-color: var(--rose); background: linear-gradient(180deg, #fdf3f6, var(--card)); }
.choice[aria-pressed="true"] .rad { border: 7px solid var(--rose); }
.choice .t { display: flex; flex-direction: column; gap: 4px; }
.choice .t b { font-size: 16.5px; }
.choice .t .price { font-family: var(--f-display); font-size: 22px; }
.choice .t span { font-size: 14px; color: var(--soft); }
.choice .ribbon { position: absolute; top: -10px; right: 16px; background: var(--gold); color: var(--ink); font-size: 10.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.rules { display: flex; flex-direction: column; }
.rule { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; border-top: 1px solid var(--line); padding: 14px 0; cursor: pointer; }
.rule:first-child { border-top: 0; padding-top: 2px; }
.rule input { appearance: none; -webkit-appearance: none; flex: none; width: 24px; height: 24px; margin: 0; border-radius: 8px; border: 1.5px solid var(--gold-line); background: #fff; display: grid; place-items: center; transition: all .15s; }
.rule input:checked { background: var(--gold); border-color: var(--gold); }
.rule input:checked::after { content: ""; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) translate(-1px, -1px); }
.sigbox { background: #fff; border: 1.5px solid var(--line); border-radius: 18px; padding: 8px 16px 12px; }
.sigbox input { border: 0; outline: none; width: 100%; padding: 6px 0; font-family: var(--f-script); font-size: 36px; line-height: 1.3; background: transparent; }
.sigbox input::placeholder { color: #cdbfae; }
.sigbox .line { border-top: 1px solid var(--ink); display: flex; justify-content: space-between; padding-top: 6px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); font-weight: 700; }
.sigbox:focus-within { border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-wash); }

/* id + card */
.badge-ic { width: 76px; height: 76px; border-radius: 24px; display: grid; place-items: center; background: var(--gold-wash); color: var(--gold-ink); margin: 6px auto 0; box-shadow: inset 0 0 0 1px var(--gold-line); }
.badge-ic svg { width: 36px; height: 36px; }
.mini-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; }
.mini-steps div { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 12px 6px; font-size: 13px; font-weight: 600; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.mini-steps i { font-family: var(--f-display); font-style: italic; color: var(--gold-ink); font-size: 20px; line-height: 1; }
.trust { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--soft); }
.trust svg { flex: none; width: 20px; height: 20px; color: var(--gold-ink); margin-top: 1px; }
.money { display: flex; flex-direction: column; }
.money .m { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.money .m:first-child { border-top: 0; padding-top: 0; }
.money .m span { color: var(--soft); font-size: 14.5px; }
.money .m b { font-family: var(--f-display); font-size: 22px; font-weight: 500; }
.money .m b.sm { font-family: var(--f-body); font-size: 15px; font-weight: 600; }
.money .m b small { font-family: var(--f-body); font-size: 13px; color: var(--soft); font-weight: 600; }

/* celebration */
.celebrate { position: relative; display: grid; place-items: center; height: 120px; }
.seal { width: 92px; height: 92px; border-radius: 50%; background: var(--gold); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 8px var(--gold-wash), var(--shadow-lg); animation: pop .6s var(--ease) both; }
.seal svg { width: 42px; height: 42px; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .5s .35s var(--ease) forwards; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.06); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.spark { position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; border-radius: 2px; background: var(--gold); opacity: 0; animation: burst 1.1s .2s var(--ease) forwards; }
@keyframes burst { 0% { opacity: 1; transform: translate(-50%, -50%) rotate(0) scale(1); } 100% { opacity: 0; transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) rotate(220deg) scale(.6); } }

/* guide */
.yt { position: relative; aspect-ratio: 16 / 9; max-width: 100%; border-radius: 16px; overflow: hidden; background: var(--ink); }
.yt iframe, .yt-cover { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; background: none; }
.yt-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s var(--ease); }
.yt-cover:hover img { transform: scale(1.03); }
.yt-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(28,23,20,.55), rgba(28,23,20,0) 55%); }
.yt-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 1; width: 66px; height: 66px; border-radius: 50%; background: rgba(255,253,249,.94); color: var(--rose); display: grid; place-items: center; box-shadow: var(--shadow-lg); }
.yt-play svg { width: 26px; height: 26px; fill: currentColor; margin-left: 4px; }
.yt-cap { position: absolute; left: 14px; bottom: 12px; right: 14px; z-index: 1; color: #fff; font-weight: 700; font-size: 15px; text-align: left; }
.yt-cap small { display: block; font-weight: 500; font-size: 12.5px; opacity: .85; }
.progress { height: 6px; border-radius: 99px; background: var(--paper-2); overflow: hidden; }
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), #d4b27c); border-radius: inherit; transition: width .35s var(--ease); }
.fixes { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); overflow: hidden; box-shadow: var(--shadow); }
.fix { display: flex; align-items: center; gap: 12px; text-align: left; border: 0; border-top: 1px solid var(--line); background: none; padding: 15px 16px; font-weight: 600; font-size: 15px; }
.fix:first-child { border-top: 0; }
.fix span:first-child { flex: 1; min-width: 0; }
.fix .go svg { width: 18px; height: 18px; color: var(--soft); }
.howto { margin: 0; padding: 0; list-style: none; counter-reset: s; display: flex; flex-direction: column; gap: 10px; }
.howto li { counter-increment: s; position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px 16px 16px 60px; display: flex; flex-direction: column; gap: 4px; box-shadow: var(--shadow); }
.howto li::before { content: counter(s); position: absolute; left: 16px; top: 14px; width: 30px; height: 30px; border-radius: 50%; background: var(--night); color: var(--gold); font-family: var(--f-display); font-style: italic; display: grid; place-items: center; font-size: 16px; }
.faq summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.faq summary::after { content: "+"; color: var(--gold-ink); font-size: 20px; line-height: 1; }
.faq[open] summary::after { content: "–"; }
.faq summary::-webkit-details-marker { display: none; }
.venue .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.venue .stats div { background: var(--paper); border-radius: 12px; padding: 8px 10px; }
.venue .stats span { display: block; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); font-weight: 700; }
.venue .stats b { font-size: 14px; }
.list { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; font-size: 15px; }

/* receipt + gallery */
.gallery iframe { width: 100%; height: 72vh; min-height: 440px; border: 0; border-radius: 16px; background: var(--paper-2); }
.statement .line { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; }
.statement .line:first-child { border-top: 0; }
.statement .line.sub { color: var(--soft); font-size: 14px; padding: 6px 0; border-top: 0; }
.statement .line.total { border-top: 1.5px solid var(--ink); font-weight: 700; font-size: 16px; padding-top: 12px; }
.statement .line.total b { font-family: var(--f-display); font-size: 22px; font-weight: 500; }
.damage img { width: 100%; border-radius: 14px; display: block; background: var(--paper-2); min-height: 120px; object-fit: cover; }

.toast { position: fixed; left: 50%; top: calc(16px + env(safe-area-inset-top, 0px)); transform: translateX(-50%); background: var(--night); color: var(--night-ink); padding: 12px 18px; border-radius: 999px; font-weight: 700; z-index: 30; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 8px; animation: toast 2.4s var(--ease) both; white-space: nowrap; }
.toast svg { width: 18px; height: 18px; color: var(--gold); }
@keyframes toast { 0% { opacity: 0; transform: translate(-50%, -12px); } 12%, 85% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; transform: translate(-50%, -8px); } }
.noscript { padding: 24px; text-align: center; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .seal svg { stroke-dashoffset: 0; } }
.btn-row .btn { padding: 14px 12px; white-space: nowrap; font-size: 15px; }

/* video fallback link */
.yt-alt { display: inline-block; margin-top: 8px; text-decoration: underline; text-underline-offset: 3px; }

/* Ask (AI assistant) */
.thread { display: flex; flex-direction: column; gap: 12px; }
.msg { display: flex; gap: 10px; align-items: flex-end; max-width: 100%; animation: rise .35s var(--ease) both; }
.msg.me { justify-content: flex-end; }
.msg.me p { background: var(--rose); color: #fff; padding: 11px 15px; border-radius: 20px 20px 6px 20px; max-width: 82%; font-size: 15.5px; white-space: pre-wrap; overflow-wrap: anywhere; box-shadow: 0 10px 22px -16px rgba(194,24,91,.9); }
.msg.bot .av { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--night); color: var(--gold); font-family: var(--f-display); font-size: 16px; font-weight: 600; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--gold-wash); }
.msg.bot .body { background: var(--card); border: 1px solid var(--line); border-radius: 20px 20px 20px 6px; padding: 12px 15px; max-width: 86%; box-shadow: var(--shadow); font-size: 15.5px; min-width: 0; }
.md { display: flex; flex-direction: column; gap: 8px; overflow-wrap: anywhere; }
.md ol, .md ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 5px; }
.md ol li::marker { color: var(--gold-ink); font-weight: 700; }
.typing { display: flex; gap: 5px; padding: 15px 16px !important; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); animation: blink 1.2s infinite both; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.sugg { padding-left: 42px; }
.sugg .chip { border: 1px solid var(--gold-line); cursor: pointer; white-space: normal; text-align: left; padding: 8px 13px; font-size: 13.5px; }
.composer { display: flex; gap: 8px; align-items: flex-end; background: var(--card); border: 1.5px solid var(--line); border-radius: 26px; padding: 6px 6px 6px 16px; box-shadow: var(--shadow); margin-bottom: 70px; }
.composer:focus-within { border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-wash); }
.composer textarea { flex: 1; min-width: 0; border: 0; outline: none; resize: none; background: transparent; font: inherit; font-size: 16px; padding: 9px 0; max-height: 120px; }
.composer .send { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--rose); color: #fff; display: grid; place-items: center; }
.composer .send svg { width: 20px; height: 20px; }
.composer .send:disabled { opacity: .4; }

/* offline */
.offline-pill { position: fixed; left: 50%; transform: translateX(-50%); top: calc(58px + env(safe-area-inset-top, 0px)); z-index: 25; display: flex; align-items: center; gap: 8px; background: var(--night); color: var(--night-ink); font-size: 12.5px; font-weight: 700; letter-spacing: .02em; padding: 7px 14px; border-radius: 999px; box-shadow: var(--shadow-lg); white-space: nowrap; animation: rise .35s var(--ease) both; }
.offline-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--warn); box-shadow: 0 0 0 3px rgba(165,98,11,.25); }
