/* Detailing Lab — dark premium, one blush-pink accent. */
:root {
  color-scheme: dark;
  --bg: #09090a; --s1: #111113; --s2: #18181b; --s3: #212125;
  --line: rgba(255,255,255,.07); --line2: rgba(255,255,255,.13);
  --text: #f5f1ee; --dim: #a6a09d; --faint: #8c8784; /* 4.5:1+ on cards for small labels */
  --pink: #f2a59c; --pink2: #f8c1ba; --pink-ink: #1d0f0d;
  --pink-soft: rgba(242,165,156,.12); --pink-line: rgba(242,165,156,.38);
  --ok: #88d9aa; --warn: #f2c66c; --blue: #9cc3ff; --violet: #c8a8ff; --bad: #ef7b73;
  --r-xl: 26px; --r-lg: 20px; --r: 16px; --r-sm: 12px;
  --display: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --top: calc(env(safe-area-inset-top, 0px) + 14px);
  --bot: env(safe-area-inset-bottom, 0px);
  --tabs-h: 66px;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; background: #050506; color: var(--text); font: 15px/1.45 var(--body); -webkit-font-smoothing: antialiased; }
body { overscroll-behavior: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.01em; margin: 0; }

/* ---------- Phone stage ---------- */
.stage { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 24px 16px;
  background: radial-gradient(900px 520px at 50% -8%, rgba(242,165,156,.10), transparent 62%), #050506; }
/* vh first: iOS older than 15.4 ignores dvh, and without a fallback the app area had no height at all */
.phone { position: relative; width: 390px; height: min(844px, calc(100vh - 48px)); height: min(844px, calc(100dvh - 48px)); border-radius: 50px; overflow: hidden;
  background: var(--bg); isolation: isolate;
  box-shadow: 0 0 0 10px #161618, 0 0 0 11px #2b2b30, 0 50px 120px rgba(0,0,0,.75); }
@media (min-width: 521px) {
  :root { --top: 56px; }
  .phone::after { content: ''; position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 118px; height: 34px;
    border-radius: 20px; background: #000; z-index: 60; pointer-events: none; }
}
@media (max-width: 520px) {
  .stage { display: block; padding: 0; }
  .phone { width: 100%; height: 100vh; height: 100dvh; border-radius: 0; box-shadow: none; }
}
.app { position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden; scrollbar-width: none;
  padding-bottom: calc(var(--tabs-h) + var(--bot) + 28px); }
.app::-webkit-scrollbar { display: none; }
.app.no-tabs { padding-bottom: 0; }
.screen { min-height: 100%; animation: in .28s ease both; }
@keyframes in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Layout helpers ---------- */
.px { padding-left: 20px; padding-right: 20px; }
.row { display: flex; align-items: center; gap: 12px; }
.between { justify-content: space-between; }
.stack > * + * { margin-top: 12px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.muted { color: var(--dim); } .faint { color: var(--faint); } .pink { color: var(--pink); }
.small { font-size: 13px; } .tiny { font-size: 11.5px; letter-spacing: .02em; }
.eyebrow { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--pink); font-weight: 600; }
.num { font-family: var(--display); font-variant-numeric: tabular-nums; }
.section { margin-top: 26px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin: 0 20px 12px; }
.section-head h2 { font-size: 19px; }
.link { color: var(--pink); font-size: 13.5px; font-weight: 500; }
.divider { height: 1px; background: var(--line); margin: 14px 0; }

/* ---------- Top bars ---------- */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px;
  padding: var(--top) 20px 12px; background: linear-gradient(var(--bg) 72%, rgba(9,9,10,0)); }
.top h1 { font-size: 20px; flex: 1; }
.top .step { font-size: 12.5px; color: var(--dim); }
.icon-btn { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: var(--s2); border: 1px solid var(--line); color: var(--text); }
.icon-btn:active { transform: scale(.94); }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--pink-soft); border: 1px solid var(--pink-line); color: var(--pink); font: 600 14px var(--display); }
.avatar.lg { width: 68px; height: 68px; font-size: 22px; }
.loc-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--dim); max-width: 210px; }
.loc-chip b { color: var(--text); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Buttons ---------- */
.btn { width: 100%; height: 54px; border-radius: var(--r); display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--pink); color: var(--pink-ink); font: 600 16px var(--display); letter-spacing: .01em; transition: transform .12s, opacity .2s; }
.btn:active { transform: scale(.985); }
.btn:disabled { opacity: .4; pointer-events: none; }
.btn.ghost { background: transparent; color: var(--pink); border: 1px solid var(--pink-line); }
.btn.dark { background: var(--s2); color: var(--text); border: 1px solid var(--line); }
.btn.black { background: #000; color: #fff; border: 1px solid var(--line2); }
.btn.sm { height: 42px; font-size: 14px; border-radius: 13px; width: auto; padding: 0 16px; }
.btn .spin { width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Cards, chips ---------- */
.card { background: var(--s1); border: 1px solid var(--line); border-radius: var(--r-lg); }
.card.pad { padding: 16px; }
.chip { height: 36px; padding: 0 14px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  background: var(--s2); border: 1px solid var(--line); color: var(--dim); font-size: 13.5px; font-weight: 500; }
.chip.on { background: var(--pink-soft); border-color: var(--pink-line); color: var(--pink); }
.hscroll { display: flex; gap: 10px; overflow-x: auto; padding: 0 20px 4px; scroll-padding: 0 20px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hscroll::-webkit-scrollbar { display: none; }
.hscroll > * { scroll-snap-align: start; flex: none; }
.badge { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 999px; font-size: 11px; font-weight: 600;
  background: var(--pink); color: var(--pink-ink); letter-spacing: .02em; }
.status { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 600;
  background: color-mix(in srgb, var(--c) 14%, transparent); color: var(--c); border: 1px solid color-mix(in srgb, var(--c) 34%, transparent); }
.status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st-confirmed { --c: var(--pink); } .st-on_the_way { --c: var(--warn); } .st-arrived { --c: var(--blue); }
.st-washing { --c: var(--violet); } .st-completed { --c: var(--ok); }

/* ---------- Forms ---------- */
.field { display: block; }
.field > span { display: block; font-size: 12.5px; color: var(--dim); margin: 0 0 7px 2px; }
.input, select.input, textarea.input { width: 100%; height: 52px; padding: 0 16px; border-radius: 14px; background: var(--s2);
  border: 1px solid var(--line); color: var(--text); font-size: 16px; outline: none; transition: border-color .15s, box-shadow .15s; appearance: none; }
textarea.input { height: auto; min-height: 84px; padding: 14px 16px; resize: none; line-height: 1.4; }
select.input { background-image: linear-gradient(45deg, transparent 50%, var(--dim) 50%), linear-gradient(135deg, var(--dim) 50%, transparent 50%);
  background-position: calc(100% - 20px) 23px, calc(100% - 15px) 23px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.input:focus { border-color: var(--pink-line); box-shadow: 0 0 0 4px var(--pink-soft); }
.input::placeholder { color: var(--faint); }
.input.bad { border-color: rgba(239,123,115,.6); }
.phone-input { display: flex; gap: 8px; }
.phone-input .cc { width: 78px; flex: none; display: grid; place-items: center; border-radius: 14px; background: var(--s2); border: 1px solid var(--line); color: var(--dim); font-size: 15px; }
.err { color: var(--bad); font-size: 12.5px; margin: 6px 2px 0; min-height: 0; }
.opts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.opt { height: 76px; border-radius: 14px; background: var(--s2); border: 1px solid var(--line); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 6px; font-size: 12px; color: var(--dim); }
.opt.on { border-color: var(--pink); background: var(--pink-soft); color: var(--pink); }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 11px; color: var(--dim); width: 52px; }
.swatch i { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--line2); background: var(--sw); display: block; }
.swatch.on i { outline: 2px solid var(--pink); outline-offset: 3px; }
.swatch.on { color: var(--pink); }
.plate { display: grid; grid-template-columns: 1.25fr .85fr 1fr; gap: 8px; }
.plate .input { padding: 0 12px; }
.check { width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--line2); display: grid; place-items: center; flex: none; color: transparent; }
.on .check, .check.on { background: var(--pink); border-color: var(--pink); color: var(--pink-ink); }
.radio { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line2); flex: none; position: relative; }
.on .radio::after { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: var(--pink); }
.on .radio { border-color: var(--pink); }

/* ---------- Welcome ---------- */
.welcome { position: relative; min-height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: var(--top) 24px calc(var(--bot) + 30px); overflow: hidden; }
.welcome .bg { position: absolute; inset: 0; background: var(--bg) center/cover no-repeat; transform: scale(1.04); animation: drift 14s ease-in-out infinite alternate; }
.welcome .bg::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(9,9,10,.55) 0%, rgba(9,9,10,.05) 30%, rgba(9,9,10,.35) 55%, var(--bg) 88%); }
@keyframes drift { to { transform: scale(1.1) translateY(-10px); } }
.welcome .logo-wrap { position: absolute; top: calc(var(--top) + 18px); left: 0; right: 0; display: grid; place-items: center; color: var(--pink); }
.welcome .copy { position: relative; }
.welcome h1 { font-size: 38px; line-height: 1.04; font-weight: 600; }
.welcome h1 em { font-style: normal; color: var(--pink); }
.welcome p { color: var(--dim); margin: 12px 0 26px; font-size: 15.5px; }
.welcome .alt { text-align: center; margin-top: 16px; font-size: 14px; color: var(--dim); }
.welcome .alt button { color: var(--pink); font-weight: 600; }

/* ---------- Home ---------- */
.hello { padding: 4px 20px 0; }
.hello h1 { font-size: 27px; line-height: 1.12; }
.hello h1 span { color: var(--pink); }
.hero-card { position: relative; margin: 18px 20px 0; height: 300px; border-radius: var(--r-xl); overflow: hidden; background: var(--s2) center/cover no-repeat;
  border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; }
.hero-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 12%, rgba(9,9,10,.72) 48%, rgba(9,9,10,.95) 88%); }
.hero-card > * { position: relative; }
.hero-card h2 { font-size: 26px; line-height: 1.08; }
.hero-card p { color: var(--dim); font-size: 13.5px; margin: 6px 0 16px; }
.live-card { margin: 16px 20px 0; padding: 16px; border-radius: var(--r-lg); background: linear-gradient(135deg, rgba(242,165,156,.16), rgba(242,165,156,.04));
  border: 1px solid var(--pink-line); }
.progress { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; margin-top: 12px; }
.progress i { height: 4px; border-radius: 4px; background: var(--s3); }
.progress i.done { background: var(--pink); }
.progress i.now { background: linear-gradient(90deg, var(--pink), var(--s3)); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .45; } }
.svc-tile { width: 168px; border-radius: var(--r-lg); overflow: hidden; background: var(--s1); border: 1px solid var(--line); text-align: left; }
.svc-tile .ph { height: 112px; background: var(--s2) center/cover no-repeat; }
.svc-tile .tx { padding: 12px 12px 14px; }
.svc-tile b { display: block; font: 600 15px var(--display); }
.svc-tile span { font-size: 12.5px; color: var(--dim); }
.feat { padding: 14px; border-radius: var(--r); background: var(--s1); border: 1px solid var(--line); }
.feat svg { color: var(--pink); margin-bottom: 8px; }
.feat b { display: block; font: 600 14px var(--display); }
.feat span { font-size: 12px; color: var(--dim); }
.contact-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.contact-row a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 6px; border-radius: var(--r);
  background: var(--s1); border: 1px solid var(--line); font-size: 12px; color: var(--dim); }
.contact-row a svg { color: var(--pink); }

/* ---------- Services ---------- */
.svc-row { display: flex; gap: 14px; padding: 12px; align-items: stretch; width: 100%; text-align: left; }
.svc-row .ph { width: 96px; min-height: 96px; border-radius: 14px; flex: none; background: var(--s2) center/cover no-repeat; }
.svc-row .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.svc-row h3 { font-size: 16.5px; }
.svc-row p { margin: 3px 0 8px; font-size: 13px; color: var(--dim); }
.svc-row .meta { margin-top: auto; display: flex; align-items: center; justify-content: space-between; }
.price { font: 600 16px var(--display); color: var(--pink); font-variant-numeric: tabular-nums; }
.dur { font-size: 12px; color: var(--faint); display: inline-flex; align-items: center; gap: 4px; }
.detail-hero { height: 290px; background: var(--s2) center/cover no-repeat; position: relative; }
.detail-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9,9,10,.4), rgba(9,9,10,0) 35%, var(--bg)); }
.detail-hero .icon-btn { position: absolute; top: var(--top); left: 20px; z-index: 2; background: rgba(0,0,0,.45); backdrop-filter: blur(10px); }
.incl { list-style: none; margin: 0; padding: 0; }
.incl li { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.incl li:last-child { border-bottom: 0; }
.incl svg { color: var(--pink); flex: none; margin-top: 2px; }

/* ---------- Booking flow ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; padding: 0 20px; margin-bottom: 6px; }
.steps i { height: 3px; border-radius: 3px; background: var(--s3); }
.steps i.done { background: var(--pink); }
.flow-title { padding: 10px 20px 4px; }
.flow-title h1 { font-size: 25px; }
.flow-title p { color: var(--dim); margin: 4px 0 0; font-size: 14px; }
.pick { display: flex; align-items: center; gap: 14px; padding: 14px; width: 100%; text-align: left; border-radius: var(--r); background: var(--s1); border: 1px solid var(--line); }
.pick.on { border-color: var(--pink); background: linear-gradient(0deg, var(--pink-soft), var(--pink-soft)), var(--s1); }
.pick .ph { width: 58px; height: 58px; border-radius: 12px; flex: none; background: var(--s2) center/cover no-repeat; }
.pick .tx { flex: 1; min-width: 0; }
.pick b { display: block; font: 600 15px var(--display); }
.pick span { font-size: 12.5px; color: var(--dim); }
.footer-bar { position: sticky; bottom: 0; z-index: 15; padding: 26px 20px calc(var(--bot) + 16px); margin-top: 18px;
  background: linear-gradient(rgba(9,9,10,0), var(--bg) 22px); }
.total-line { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; font-size: 13.5px; color: var(--dim); }
.total-line b { font: 600 20px var(--display); color: var(--text); }
.map-box { position: relative; height: 250px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: #0e0e10; }
.map-box .map { position: absolute; inset: 0; }
.map-pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%); z-index: 500; pointer-events: none; color: var(--pink);
  filter: drop-shadow(0 6px 10px rgba(0,0,0,.6)); transition: transform .15s; }
.map-box.moving .map-pin { transform: translate(-50%, -112%); }
.map-pin::after { content: ''; position: absolute; left: 50%; bottom: -3px; width: 10px; height: 4px; margin-left: -5px; border-radius: 50%; background: rgba(0,0,0,.55); }
.map-tools { position: absolute; right: 10px; bottom: 10px; z-index: 600; }
.map-fallback { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 20px; color: var(--dim); font-size: 13px; }
.suggest { margin-top: 6px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--s1); }
.suggest button { display: block; width: 100%; text-align: left; padding: 11px 14px; font-size: 13.5px; border-bottom: 1px solid var(--line); color: var(--dim); }
.suggest button:last-child { border-bottom: 0; }
.date-chip { width: 62px; height: 78px; border-radius: 16px; background: var(--s1); border: 1px solid var(--line); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 2px; }
.date-chip small { font-size: 11.5px; color: var(--dim); }
.date-chip b { font: 600 21px var(--display); }
.date-chip.on { background: var(--pink); border-color: var(--pink); color: var(--pink-ink); }
.date-chip.on small { color: var(--pink-ink); opacity: .75; }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.slot { height: 46px; border-radius: 13px; background: var(--s1); border: 1px solid var(--line); font-size: 14px; font-weight: 500; }
.slot.on { background: var(--pink); color: var(--pink-ink); border-color: var(--pink); }
.slot:disabled { color: var(--faint); text-decoration: line-through; opacity: .5; }
.sum-row { display: flex; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.sum-row:last-child { border-bottom: 0; }
.sum-row > svg { color: var(--pink); flex: none; margin-top: 2px; }
.sum-row .tx { flex: 1; min-width: 0; }
.sum-row small { display: block; color: var(--faint); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; }
.sum-row b { font-weight: 500; font-size: 14.5px; }
.sum-row .edit { color: var(--pink); font-size: 13px; align-self: center; }
.lines { font-size: 14px; }
.lines .l { display: flex; justify-content: space-between; padding: 5px 0; color: var(--dim); }
.lines .l.t { color: var(--text); font: 600 18px var(--display); padding-top: 10px; margin-top: 6px; border-top: 1px solid var(--line); }
.pay-opt { display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px; border-radius: var(--r); background: var(--s1); border: 1px solid var(--line); text-align: left; }
.pay-opt.on { border-color: var(--pink); }
.pay-opt .logo { width: 52px; height: 34px; border-radius: 8px; display: grid; place-items: center; flex: none; background: #000; border: 1px solid var(--line2); color: #fff; }
.pay-opt .logo.visa { background: #f5f5f7; color: #1a1f71; font: italic 800 14px var(--body); }
.demo-note { display: flex; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--s1); border: 1px dashed var(--line2); font-size: 12.5px; color: var(--dim); }
.demo-note svg { color: var(--pink); flex: none; }

/* ---------- Confirmation ---------- */
.confirm { text-align: center; padding: calc(var(--top) + 20px) 24px 0; }
.done-mark { width: 92px; height: 92px; margin: 0 auto 18px; border-radius: 50%; background: var(--pink); color: var(--pink-ink); display: grid; place-items: center;
  box-shadow: 0 0 0 12px var(--pink-soft), 0 0 60px rgba(242,165,156,.35); animation: pop .5s cubic-bezier(.2,1.4,.4,1) both; }
.done-mark path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .5s .3s ease forwards; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.confirm h1 { font-size: 28px; }
.code-pill { display: inline-flex; gap: 8px; align-items: center; margin-top: 10px; padding: 7px 14px; border-radius: 999px; background: var(--s2); border: 1px solid var(--line); font: 600 14px var(--display); letter-spacing: .06em; }
.notice { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 14px; background: rgba(136,217,170,.08); border: 1px solid rgba(136,217,170,.25); color: var(--ok); font-size: 13px; text-align: left; }

/* ---------- Bookings ---------- */
.seg { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 14px; background: var(--s1); border: 1px solid var(--line); }
.seg button { height: 38px; border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--dim); }
.seg button.on { background: var(--pink); color: var(--pink-ink); }
.bk { display: block; width: 100%; text-align: left; padding: 14px; }
.bk .ph { width: 64px; height: 64px; border-radius: 12px; flex: none; background: var(--s2) center/cover no-repeat; }
.bk h3 { font-size: 16px; }
.empty { text-align: center; padding: 50px 30px; color: var(--dim); }
.empty svg { color: var(--faint); margin-bottom: 12px; }
.track { list-style: none; margin: 0; padding: 0; }
.track li { position: relative; display: flex; gap: 14px; padding-bottom: 20px; }
.track li:last-child { padding-bottom: 0; }
.track li::before { content: ''; position: absolute; left: 11px; top: 26px; bottom: 2px; width: 2px; background: var(--s3); }
.track li:last-child::before { display: none; }
.track li.done::before { background: var(--pink); }
.track .dot { width: 24px; height: 24px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--s2); border: 2px solid var(--s3); color: var(--pink-ink); }
.track li.done .dot { background: var(--pink); border-color: var(--pink); }
.track li.now .dot { box-shadow: 0 0 0 6px var(--pink-soft); animation: pulse 1.6s ease-in-out infinite; }
.track b { display: block; font: 600 15px var(--display); }
.track li:not(.done) b { color: var(--faint); }
.track span { font-size: 12.5px; color: var(--dim); }

/* ---------- Profile ---------- */
.list { border-radius: var(--r-lg); background: var(--s1); border: 1px solid var(--line); overflow: hidden; }
.list .li { display: flex; align-items: center; gap: 14px; padding: 15px 16px; border-bottom: 1px solid var(--line); width: 100%; text-align: left; }
.list .li:last-child { border-bottom: 0; }
.list .li > svg:first-child { color: var(--pink); flex: none; }
.list .li .tx { flex: 1; min-width: 0; }
.list .li .tx b { display: block; font-weight: 500; font-size: 14.5px; }
.list .li .tx span { font-size: 12.5px; color: var(--dim); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.list .li .end { color: var(--faint); flex: none; }

/* ---------- Tabs ---------- */
.tabs { position: absolute; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: repeat(4, 1fr);
  height: calc(var(--tabs-h) + var(--bot)); padding-bottom: var(--bot); background: rgba(12,12,13,.9); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid var(--line); }
.tabs a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 11px; color: var(--faint); font-weight: 500; }
.tabs a.on { color: var(--pink); }

/* ---------- Sheet, toast ---------- */
.sheet-backdrop { position: absolute; inset: 0; z-index: 80; background: rgba(0,0,0,.62); animation: fade .2s ease both; }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 81; max-height: 90%; overflow-y: auto; background: var(--s1);
  border-radius: 26px 26px 0 0; border-top: 1px solid var(--line2); padding: 10px 20px calc(var(--bot) + 22px); animation: up .3s cubic-bezier(.2,.9,.3,1) both; }
.sheet-grab { width: 40px; height: 5px; border-radius: 5px; background: var(--s3); margin: 0 auto 14px; }
.sheet h2 { font-size: 21px; margin-bottom: 4px; }
@keyframes fade { from { opacity: 0; } }
@keyframes up { from { transform: translateY(100%); } }
.toast { position: absolute; left: 50%; top: calc(var(--top) + 4px); transform: translateX(-50%); z-index: 90; max-width: 86%; padding: 11px 16px; border-radius: 14px;
  background: #f5f1ee; color: #141414; font-size: 13.5px; font-weight: 500; box-shadow: 0 12px 30px rgba(0,0,0,.5); animation: drop .25s ease both; text-align: center; }
.toast.bad { background: var(--bad); color: #1b0706; }
@keyframes drop { from { opacity: 0; transform: translate(-50%, -8px); } }
.applepay { text-align: center; }
.applepay .ap-logo { display: inline-flex; align-items: center; gap: 4px; font: 600 22px -apple-system, system-ui, sans-serif; margin: 6px 0 14px; }
.applepay .ap-card { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 14px; background: var(--s2); text-align: left; margin-bottom: 10px; }
.faceid { width: 64px; height: 64px; margin: 14px auto 8px; color: var(--pink); }
.faceid.ok { color: var(--ok); }

/* ---------- MapLibre (dark style comes from OpenFreeMap) ---------- */
.map .maplibregl-map { font-family: var(--body); }
.maplibregl-ctrl-attrib { background: rgba(0,0,0,.6) !important; color: #8a8583 !important; font-size: 9px !important; }
.maplibregl-ctrl-attrib a { color: #b5b0ad !important; }
.maplibregl-ctrl-attrib-button { filter: invert(1); opacity: .7; }

/* ---------- Status, ratings, photos, focus ---------- */
.st-cancelled { --c: #a49d99; }
.card.is-cancelled { opacity: .62; }
.notice.warn { background: rgba(242,198,108,.08); border-color: rgba(242,198,108,.3); color: var(--warn); }
.stars { display: flex; gap: 6px; }
.stars .star, .stars span { color: var(--s3); display: grid; place-items: center; }
.stars .star { width: 44px; height: 44px; border-radius: 12px; }
.stars .star.on, .stars span.on { color: var(--pink); }
.stars.read span svg { width: 22px; height: 22px; }
.photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.photo { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--s2); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo span { position: absolute; left: 6px; bottom: 6px; padding: 2px 7px; border-radius: 999px; background: rgba(0,0,0,.65); font-size: 11px; font-weight: 600; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }
.sheet:focus { outline: none; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
