/* Relax Car Spa — night-garage palette from the brand poster: black, brand gold, a touch of red. */
:root {
  --bg: #000;
  --s1: #0e0e10;
  --s2: #17171a;
  --s3: #232327;
  --line: rgba(255, 255, 255, .09);
  --line2: rgba(255, 255, 255, .18);
  --text: #f5f5f7;
  --muted: #8d8d93;
  --gold: #ffc62a;
  --gold-2: #ffdb6e;
  --gold-ink: #1a1400;
  --red: #e3262e;
  --ok: #32d74b;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.47; letter-spacing: -.01em; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 10px; }
.ico svg, .tile svg, .go svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: 52px; background: rgba(0, 0, 0, .62); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--line); }
.nav-in { max-width: 1080px; height: 100%; margin: 0 auto; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; }
.logo { font-weight: 900; font-style: italic; font-size: 17px; letter-spacing: -.02em; color: var(--gold); }
.logo span { color: var(--text); }
.nav nav { display: flex; align-items: center; gap: 22px; font-size: 14px; color: #c7c7cc; }
.nav nav a { transition: color .2s; }
.nav nav a:hover, .nav nav a[aria-current] { color: var(--text); }
.nav .pill { background: var(--gold); color: var(--gold-ink); padding: 5px 14px; border-radius: 99px; font-weight: 600; }
.nav .pill:hover { color: var(--gold-ink); background: var(--gold-2); }
.me-link { display: flex; align-items: center; gap: 7px; }
.me-link i { width: 24px; height: 24px; border-radius: 50%; background: var(--gold); color: var(--gold-ink); font-style: normal; font-size: 12px; font-weight: 700; display: grid; place-items: center; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 28px; border: 0; border-radius: 99px; background: var(--gold); color: var(--gold-ink); font-size: 17px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: transform .3s var(--ease), background .25s, opacity .25s; }
.btn:hover { background: var(--gold-2); }
.btn:active { transform: scale(.96); }
.btn[disabled] { opacity: .28; cursor: not-allowed; transform: none; background: var(--gold); }
.btn.ghost { background: var(--s3); color: var(--text); }
.btn.ghost:hover { background: #2e2e33; }
.btn.block { width: 100%; }
.link { color: var(--gold); background: none; border: 0; cursor: pointer; font-size: 17px; }
.link:hover { text-decoration: underline; }
.spin { width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid rgba(0, 0, 0, .2); border-top-color: var(--gold-ink); animation: spin .8s linear infinite; }

/* ---------- shared type ---------- */
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.h2 { font-size: clamp(34px, 5.6vw, 56px); font-weight: 700; line-height: 1.07; letter-spacing: -.035em; text-wrap: balance; }
.muted { color: var(--muted); }

/* ---------- motion ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(50, 215, 75, .55); } 100% { box-shadow: 0 0 0 10px rgba(50, 215, 75, 0); } }
@keyframes shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }

/* ---------- home: hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; padding: 96px 16px 56px; text-align: center; overflow: hidden; }
#rain { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero::before { content: ""; position: absolute; left: 50%; bottom: 8%; width: 120vw; height: 60vh; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(255, 198, 42, .14), transparent); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 30%; background: linear-gradient(transparent, #000); pointer-events: none; }
.hero-in { position: relative; z-index: 1; display: grid; justify-items: center; gap: 14px; }
.hero .eyebrow { opacity: 0; animation: rise 1s var(--ease) .1s forwards; transform: translateY(12px); }
.hero h1 { font-size: clamp(52px, 11.5vw, 132px); font-weight: 700; line-height: 1; letter-spacing: -.05em; }
.hero h1 span { display: block; opacity: 0; transform: translateY(34px); animation: rise 1.2s var(--ease) .2s forwards; }
.hero h1 span + span { animation-delay: .38s; background: linear-gradient(180deg, #fff 10%, #8d8d93); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.car { width: min(640px, 92vw); height: auto; margin: 6px 0 4px; overflow: visible; }
.car .stroke { fill: none; stroke: url(#goldLine); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.6s var(--ease) .6s forwards; }
.car .stroke.thin { stroke-width: 1.2; animation-delay: 1.2s; }
.car .beam, .car .floor { opacity: 0; animation: fade 1.4s var(--ease) 2.6s forwards; }
.car .lamp { opacity: 0; animation: fade .5s ease 2.5s forwards; }
.hero .cta-row { display: flex; align-items: center; gap: 24px; opacity: 0; transform: translateY(14px); animation: rise 1s var(--ease) 1.6s forwards; }
.notice { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #c7c7cc; padding: 6px 14px; border: 1px solid var(--line2); border-radius: 99px; opacity: 0; animation: fade 1s ease 2.2s forwards; }
.notice b { color: var(--gold); font-weight: 600; }

/* ---------- home: statement ---------- */
.statement { position: relative; height: 230vh; }
.statement .stick { position: sticky; top: 0; height: 100svh; display: grid; place-items: center; padding: 0 16px; }
.statement p { max-width: 12ch; font-size: clamp(40px, 8vw, 96px); font-weight: 700; line-height: 1.1; letter-spacing: -.04em; text-align: center; }
.statement .ch { color: #26262a; transition: color .45s var(--ease); }
.statement .ch.on { color: var(--text); }
.statement .ch.gold.on { color: var(--gold); }

/* ---------- home: sections ---------- */
.sec { max-width: 1080px; margin: 0 auto; padding: 120px 16px; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.rail-nav { display: flex; gap: 10px; }
.rail-nav button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--s3); color: var(--text); font-size: 20px; cursor: pointer; transition: background .2s, opacity .2s; }
.rail-nav button:hover { background: #333338; }
/* full-bleed rail: cards start on the column edge but scroll out to the screen edge */
.rail { --bleed: calc((100vw - min(1080px, 100vw)) / 2 + 16px); display: grid; grid-auto-flow: column; grid-auto-columns: min(76vw, 300px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--bleed); padding: 6px var(--bleed) 28px; margin: 0 calc(-1 * var(--bleed)); scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.svc { scroll-snap-align: start; min-height: 380px; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(180deg, var(--s2), var(--s1)); border: 1px solid var(--line); border-radius: 28px; transition: transform .6s var(--ease), border-color .4s, opacity 1s var(--ease); }
.svc:hover { transform: translateY(-6px); border-color: rgba(255, 198, 42, .35); }
.svc .ico { width: 44px; height: 44px; color: var(--gold); margin-bottom: 26px; }
.svc h3 { font-size: 28px; font-weight: 700; letter-spacing: -.025em; }
.svc .en { color: var(--muted); font-size: 15px; margin-top: 2px; }
.svc-foot { display: flex; align-items: end; justify-content: space-between; }
.svc .price { font-size: 46px; font-weight: 700; letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.svc .price small { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; margin: 0 4px; }
.go { width: 38px; height: 38px; padding: 10px; border-radius: 50%; background: var(--s3); color: var(--text); transition: background .3s, color .3s; }
.svc:hover .go { background: var(--gold); color: var(--gold-ink); }

.hours { text-align: center; display: grid; justify-items: center; gap: 18px; }
.big-time { display: flex; align-items: center; gap: .18em; font-size: clamp(50px, 11.5vw, 148px); font-weight: 800; line-height: 1; letter-spacing: -.05em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.big-time span { padding-bottom: .04em; background: linear-gradient(180deg, #fff3bf 0%, var(--gold) 50%, #a87400 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.big-time i { width: .4em; height: 3px; border-radius: 2px; background: var(--muted); opacity: .6; }
.status { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; color: #c7c7cc; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); animation: pulse 2s infinite; }
.dot.off { background: var(--muted); animation: none; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-top: 36px; }
.stp { padding: 28px; border-radius: 24px; background: var(--s1); border: 1px solid var(--line); display: grid; gap: 10px; }
.stp b { font-size: 15px; color: var(--gold); font-variant-numeric: tabular-nums; }
.stp h3 { font-size: 24px; letter-spacing: -.02em; }

.band { margin: 0 16px 100px; max-width: 1048px; padding: 88px 24px; border-radius: 36px; text-align: center; display: grid; justify-items: center; gap: 22px; background: radial-gradient(120% 120% at 50% 120%, rgba(255, 198, 42, .28), transparent 60%), var(--s1); border: 1px solid var(--line); }
@media (min-width: 1081px) { .band { margin: 0 auto 100px; } }
.foot { border-top: 1px solid var(--line); padding: 28px 16px 40px; font-size: 13px; color: var(--muted); }
.foot-in { max-width: 1080px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

/* ---------- forms ---------- */
.field { display: grid; gap: 8px; margin-top: 20px; }
.field > label, .label { font-size: 14px; color: var(--muted); }
.input { width: 100%; height: 54px; padding: 0 18px; background: var(--s1); border: 1.5px solid var(--line); border-radius: 14px; outline: none; transition: border-color .2s, background .2s; }
.input:focus { border-color: var(--gold); background: var(--s2); }
.input::placeholder { color: #55555b; }
textarea.input { height: auto; min-height: 96px; padding: 14px 18px; resize: vertical; line-height: 1.45; }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 22px) 24px, calc(100% - 17px) 24px; background-size: 5px 5px; background-repeat: no-repeat; }

/* ---------- booking flow ---------- */
.flow { max-width: 720px; min-height: 100svh; margin: 0 auto; padding: 92px 16px 150px; }
.progress { position: fixed; top: 52px; left: 0; right: 0; z-index: 40; height: 2px; background: var(--line); }
.progress i { display: block; width: 0; height: 100%; background: var(--gold); transition: width .7s var(--ease); }
.step { display: none; }
.step.active { display: block; animation: stepIn .6s var(--ease); }
.step.active.from-left { animation-name: stepBack; }
@keyframes stepIn { from { opacity: 0; transform: translateX(44px); } }
@keyframes stepBack { from { opacity: 0; transform: translateX(-44px); } }
.step-k { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.step h1 { margin: 6px 0 28px; font-size: clamp(34px, 6.4vw, 50px); line-height: 1.07; letter-spacing: -.04em; }
.step h2 { margin: 36px 0 14px; font-size: 20px; letter-spacing: -.015em; }

.choices { display: grid; gap: 12px; }
.choice { width: 100%; display: flex; align-items: center; gap: 16px; padding: 18px 20px; text-align: left; background: var(--s1); border: 1.5px solid var(--line); border-radius: 18px; cursor: pointer; transition: border-color .25s, background .25s, transform .2s var(--ease); }
.choice:hover { border-color: var(--line2); }
.choice:active { transform: scale(.985); }
.choice[aria-checked="true"] { border-color: var(--gold); background: linear-gradient(90deg, rgba(255, 198, 42, .09), transparent 70%), var(--s1); }
.choice .ico { flex: none; width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--s3); color: var(--gold); }
.choice .t { display: block; font-weight: 600; }
.choice .s { display: block; font-size: 14px; color: var(--muted); }
.choice .p { margin-left: auto; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }

.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.tile { aspect-ratio: 1 / .9; display: grid; place-items: center; align-content: center; gap: 8px; padding: 12px; background: var(--s1); border: 1.5px solid var(--line); border-radius: 18px; cursor: pointer; transition: border-color .25s, color .25s, transform .2s var(--ease); color: #c7c7cc; }
.tile:active { transform: scale(.97); }
.tile svg { width: 64%; height: auto; stroke-width: 1.3; }
.tile b { font-size: 15px; font-weight: 600; color: var(--text); }
.tile small { font-size: 12px; color: var(--muted); margin-top: -6px; }
.tile[aria-checked="true"] { border-color: var(--gold); color: var(--gold); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-btn { padding: 8px 14px; background: var(--s2); border: 1px solid var(--line); border-radius: 99px; font-size: 14px; cursor: pointer; transition: border-color .2s; }
.chip-btn:hover { border-color: var(--gold); }
.plate { text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.plate::placeholder { text-transform: none; letter-spacing: 0; font-weight: 400; }

.dates { display: grid; grid-auto-flow: column; grid-auto-columns: 70px; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding: 0 16px; padding: 2px 16px 8px; margin: 0 -16px; scrollbar-width: none; }
.dates::-webkit-scrollbar { display: none; }
.date { scroll-snap-align: start; height: 90px; display: grid; place-content: center; gap: 2px; text-align: center; background: var(--s1); border: 1.5px solid var(--line); border-radius: 18px; cursor: pointer; transition: background .25s, border-color .25s, transform .2s var(--ease); }
.date:active { transform: scale(.96); }
.date small { font-size: 12px; color: var(--muted); }
.date b { font-size: 24px; font-weight: 600; font-variant-numeric: tabular-nums; }
.date[aria-checked="true"] { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }
.date[aria-checked="true"] small { color: #5c4500; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.slot { height: 50px; display: grid; place-items: center; line-height: 1.1; background: var(--s1); border: 1.5px solid var(--line); border-radius: 14px; font-variant-numeric: tabular-nums; font-weight: 500; cursor: pointer; transition: border-color .2s, background .2s; }
.slot small { font-size: 11px; color: var(--muted); font-weight: 400; }
.slot:hover:not(:disabled) { border-color: var(--line2); }
.slot[aria-checked="true"] { border-color: var(--gold); background: rgba(255, 198, 42, .1); color: var(--gold); }
.slot:disabled { opacity: .3; cursor: not-allowed; text-decoration: line-through; }

.place { padding: 20px; margin-top: 14px; display: flex; gap: 14px; align-items: flex-start; background: var(--s1); border: 1px solid var(--line); border-radius: 18px; }
.place .ico { flex: none; width: 22px; height: 22px; color: var(--gold); margin-top: 2px; }
.place b { display: block; }
.place p { font-size: 15px; color: var(--muted); }
.hide { display: none !important; }

.summary { padding: 6px 20px; background: var(--s1); border: 1px solid var(--line); border-radius: 22px; }
.row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.row:last-child { border-bottom: 0; }
.row span { color: var(--muted); white-space: nowrap; }
.row b { font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; }
.row.big b { font-size: 26px; font-weight: 700; color: var(--gold); letter-spacing: -.02em; }
.pays { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pays .tile { aspect-ratio: auto; height: 64px; }
.fine { margin-top: 14px; font-size: 13px; color: var(--muted); }

.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(12, 12, 14, .74); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-top: 1px solid var(--line); transition: transform .5s var(--ease); }
.bar.gone { transform: translateY(110%); }
.bar-in { max-width: 720px; margin: 0 auto; display: flex; align-items: center; gap: 12px; }
.sum { margin-right: auto; display: grid; line-height: 1.2; }
.sum small { font-size: 12px; color: var(--muted); }
.sum b { font-size: 21px; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.iconbtn { flex: none; width: 50px; height: 50px; border: 0; border-radius: 50%; background: var(--s3); font-size: 22px; cursor: pointer; transition: background .2s; }
.iconbtn:hover { background: #333338; }

.done { padding-top: 6vh; text-align: center; display: grid; justify-items: center; gap: 14px; }
.check { width: 96px; height: 96px; }
.check circle, .check path { fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.step.active .check circle { animation: draw .9s var(--ease) .1s forwards; }
.step.active .check path { animation: draw .6s var(--ease) .8s forwards; }
.code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 30px; letter-spacing: .16em; color: var(--gold); }
.done .summary { width: 100%; text-align: left; margin-top: 10px; }
.done-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 14px; }

/* ---------- auth ---------- */
.auth { position: relative; min-height: 100svh; display: grid; place-items: center; padding: 88px 16px 40px; overflow: hidden; }
.auth::before { content: ""; position: absolute; top: 18%; left: 50%; width: 640px; height: 640px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(255, 198, 42, .18), transparent); pointer-events: none; }
.card { position: relative; width: min(420px, 100%); padding: 40px 28px 32px; background: rgba(23, 23, 26, .72); backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px); border: 1px solid var(--line); border-radius: 30px; animation: rise .9s var(--ease) forwards; opacity: 0; transform: translateY(24px); }
.card h1 { font-size: 34px; letter-spacing: -.035em; line-height: 1.1; }
.card .sub { color: var(--muted); margin: 6px 0 26px; }
.stage { display: none; }
.stage.active { display: block; animation: stepIn .5s var(--ease); }
.phone { display: flex; align-items: center; height: 58px; background: var(--s1); border: 1.5px solid var(--line); border-radius: 16px; transition: border-color .2s; }
.phone:focus-within { border-color: var(--gold); }
.phone .cc { padding: 0 14px 0 18px; color: var(--muted); border-right: 1px solid var(--line); line-height: 26px; font-variant-numeric: tabular-nums; }
.phone input { flex: 1; min-width: 0; height: 100%; padding: 0 16px; background: none; border: 0; outline: none; font-size: 19px; letter-spacing: .03em; font-variant-numeric: tabular-nums; }
.otp { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.otp input { width: 100%; height: 60px; text-align: center; font-size: 26px; font-weight: 600; background: var(--s1); border: 1.5px solid var(--line); border-radius: 14px; outline: none; transition: border-color .2s; caret-color: var(--gold); }
.otp input:focus { border-color: var(--gold); }
.otp.bad { animation: shake .4s; }
.otp.bad input { border-color: var(--red); }
.card .btn { margin-top: 22px; }
.card .alt { margin-top: 18px; text-align: center; font-size: 15px; color: var(--muted); }
.card .alt .link { font-size: 15px; }
.card .link[disabled] { color: var(--muted); cursor: default; text-decoration: none; }

/* ---------- profile ---------- */
.me { max-width: 880px; margin: 0 auto; padding: 100px 16px 80px; }
.me-head { display: flex; align-items: center; gap: 20px; }
.avatar { flex: none; width: 84px; height: 84px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(140deg, var(--gold-2), var(--gold) 45%, #b47c00); color: var(--gold-ink); font-size: 36px; font-weight: 700; box-shadow: 0 10px 40px rgba(255, 198, 42, .25); }
.me-head h1 { font-size: clamp(30px, 5vw, 40px); letter-spacing: -.035em; line-height: 1.1; }
.me-head p { color: var(--muted); font-variant-numeric: tabular-nums; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 32px 0 36px; }
.stat { padding: 18px 20px; background: var(--s1); border: 1px solid var(--line); border-radius: 20px; }
.stat b { display: block; font-size: 30px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat small { font-size: 13px; color: var(--muted); }
.seg { position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 3px; margin-bottom: 26px; background: var(--s2); border-radius: 12px; }
.seg button { position: relative; z-index: 1; padding: 8px 22px; background: none; border: 0; border-radius: 9px; font-size: 14px; font-weight: 500; color: var(--muted); cursor: pointer; transition: color .3s; }
.seg button[aria-selected="true"] { color: var(--text); }
.seg i { position: absolute; top: 3px; bottom: 3px; left: 3px; border-radius: 9px; background: var(--s3); box-shadow: 0 2px 8px rgba(0, 0, 0, .4); transition: transform .45s var(--ease); }
.pane { display: none; }
.pane.active { display: grid; gap: 14px; animation: rise .5s var(--ease) forwards; opacity: 0; transform: translateY(12px); }
.list-title { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 14px; }
.bk { padding: 22px; display: grid; gap: 14px; background: var(--s1); border: 1px solid var(--line); border-radius: 22px; }
.bk.dim { opacity: .62; }
.bk-top { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.bk-when { font-size: 22px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.bk-when small { display: block; font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.bk-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 15px; color: #c7c7cc; }
.bk-meta span { white-space: nowrap; }
.bk-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.bk-foot code { font-family: ui-monospace, "SF Mono", Menlo, monospace; color: var(--text); letter-spacing: .08em; }
.chip { flex: none; display: inline-flex; padding: 4px 10px; border-radius: 99px; font-size: 12px; font-weight: 600; background: rgba(50, 215, 75, .14); color: var(--ok); white-space: nowrap; }
.chip.off { background: var(--s3); color: var(--muted); }
.chip.red { background: rgba(227, 38, 46, .15); color: #ff6b70; }
.small-btn { padding: 7px 14px; border-radius: 99px; border: 1px solid var(--line2); background: none; font-size: 13px; cursor: pointer; transition: border-color .2s, color .2s; }
.small-btn:hover { border-color: var(--gold); color: var(--gold); }
.small-btn.danger:hover { border-color: var(--red); color: #ff6b70; }
.car-row { display: flex; align-items: center; gap: 16px; padding: 16px 20px; background: var(--s1); border: 1px solid var(--line); border-radius: 18px; }
.car-row .ico { width: 54px; height: 28px; color: var(--gold); flex: none; }
.car-row b { display: block; letter-spacing: .06em; }
.car-row span { font-size: 14px; color: var(--muted); }
.car-row .small-btn { margin-left: auto; }
.add-car { display: grid; grid-template-columns: 1fr 1fr 140px auto; gap: 10px; align-items: end; padding: 20px; background: var(--s1); border: 1px dashed var(--line2); border-radius: 18px; }
.add-car .field { margin: 0; }
.add-car .btn { height: 54px; }
.empty { padding: 56px 20px; text-align: center; color: var(--muted); display: grid; justify-items: center; gap: 16px; background: var(--s1); border-radius: 22px; }
.acct { padding: 24px; background: var(--s1); border: 1px solid var(--line); border-radius: 22px; }
.acct .row b { font-weight: 500; }

.toast { position: fixed; top: 66px; left: 50%; z-index: 100; max-width: calc(100vw - 32px); padding: 12px 20px; background: rgba(44, 44, 48, .92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid var(--line); border-radius: 99px; font-size: 15px; opacity: 0; transform: translate(-50%, -16px); transition: opacity .45s var(--ease), transform .45s var(--ease); pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 640px) {
  .nav nav { gap: 16px; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .tile { aspect-ratio: auto; height: 104px; }
  .sec { padding: 88px 16px; }
  .sec-head .rail-nav { display: none; }
  .add-car { grid-template-columns: 1fr 1fr; }
  .add-car .btn { grid-column: 1 / -1; }
  .stat { padding: 14px 16px; }
  .stat b { font-size: 24px; }
  .hero .cta-row { flex-direction: column; gap: 14px; }
  .pays { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- member home + wash tracker ---------- */
.home { max-width: 880px; margin: 0 auto; padding: 100px 16px 80px; display: grid; gap: 22px; }
.hello { margin-bottom: 10px; }
.hello p { color: var(--muted); font-size: 15px; }
.hello h1 { font-size: clamp(38px, 7vw, 64px); line-height: 1.05; letter-spacing: -.045em; text-wrap: balance; }
.trk { padding: 28px; display: grid; gap: 30px; background: linear-gradient(180deg, var(--s2), var(--s1)); border: 1px solid var(--line); border-radius: 30px; }
.trk.is-done { border-color: rgba(50, 215, 75, .3); }
.trk-head { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.trk-k { font-size: 14px; color: var(--muted); }
.trk-title { margin: 4px 0 6px; font-size: clamp(30px, 5.4vw, 46px); line-height: 1.08; letter-spacing: -.04em; }
.trk-eta { font-size: 17px; color: #c7c7cc; }
.trk-eta b { color: var(--gold); font-weight: 600; }
.trk-code { flex: none; padding: 6px 11px; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12px; letter-spacing: .08em; color: var(--muted); border: 1px solid var(--line); border-radius: 99px; }
.trk-track { --p: 0; position: relative; padding-top: 34px; }
.trk-line { position: absolute; top: 39px; left: 10%; right: 10%; height: 2px; background: var(--s3); border-radius: 2px; }
.trk-line i { display: block; width: calc(var(--p) * 100%); height: 100%; background: var(--gold); border-radius: 2px; box-shadow: 0 0 14px rgba(255, 198, 42, .55); transition: width 1.6s var(--ease); }
.trk-car { position: absolute; top: 0; left: calc(10% + var(--p) * 80%); width: 48px; height: 24px; color: var(--gold); transform: translateX(-50%); transition: left 1.6s var(--ease); }
.trk-car svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.trk-car.busy { animation: bob 1.1s ease-in-out infinite; }
.trk-car.busy::after { content: ""; position: absolute; inset: -10px -8px; border-radius: 50%; background: radial-gradient(closest-side, rgba(150, 200, 255, .22), transparent); animation: fade 1s ease forwards; }
@keyframes bob { 50% { transform: translate(-50%, -3px); } }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(255, 198, 42, .55); } 100% { box-shadow: 0 0 0 9px rgba(255, 198, 42, 0); } }
.trk-steps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); text-align: center; }
.trk-steps li { display: grid; justify-items: center; gap: 3px; font-size: 13px; color: var(--muted); transition: color .6s; }
.trk-steps b { position: relative; z-index: 1; width: 12px; height: 12px; margin-bottom: 9px; border-radius: 50%; background: var(--s3); transition: background .6s; }
.trk-steps li.s-done, .trk-steps li.s-now { color: var(--text); }
.trk-steps li.s-done b, .trk-steps li.s-now b { background: var(--gold); }
.trk-steps li.s-now b { animation: ring 1.8s infinite; }
.trk-steps small { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.trk-steps li.s-todo small::before { content: "约 "; }
.trk-act { display: flex; flex-wrap: wrap; gap: 10px; }
.trk-act .btn { height: 44px; padding: 0 22px; font-size: 15px; }
.idle { padding: 44px 28px; display: grid; justify-items: start; gap: 18px; background: radial-gradient(100% 140% at 100% 100%, rgba(255, 198, 42, .16), transparent 55%), var(--s1); border: 1px solid var(--line); border-radius: 30px; }
.idle .ico { width: 96px; height: 48px; color: var(--gold); }
.idle h2 { font-size: clamp(28px, 5vw, 40px); letter-spacing: -.035em; line-height: 1.1; }
.quick { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 12px; }
.qt { min-height: 150px; padding: 22px; display: grid; align-content: space-between; gap: 20px; background: var(--s1); border: 1px solid var(--line); border-radius: 24px; transition: transform .45s var(--ease), border-color .3s; }
.qt:hover { transform: translateY(-3px); border-color: var(--line2); }
.qt .ico { width: 28px; height: 28px; color: var(--gold); }
.qt b { display: block; font-size: 22px; letter-spacing: -.02em; }
.qt small { font-size: 14px; color: var(--muted); }
.qt.main { background: var(--gold); color: var(--gold-ink); border-color: transparent; }
.qt.main .ico { color: var(--gold-ink); }
.qt.main small { color: #5c4500; }
.again { display: grid; gap: 12px; }
.again-row { display: flex; align-items: center; gap: 16px; padding: 16px 20px; background: var(--s1); border: 1px solid var(--line); border-radius: 18px; }
.again-row .ico { flex: none; width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: var(--s3); color: var(--gold); }
.again-row div { flex: 1; min-width: 0; }
.again-row b { display: block; }
.again-row span { font-size: 14px; color: var(--muted); }

/* ---------- login extras ---------- */
.auth-tabs { display: grid; margin-bottom: 26px; }
.reg-only { display: none; }
.is-register .reg-only { display: block; }
.or { display: flex; align-items: center; gap: 12px; margin: 22px 0; font-size: 13px; color: var(--muted); }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.gbtn { width: 100%; height: 50px; display: flex; align-items: center; justify-content: center; gap: 12px; background: #131314; color: #e3e3e3; border: 1px solid #8e918f; border-radius: 99px; font-size: 16px; font-weight: 500; cursor: pointer; transition: background .2s, transform .3s var(--ease); }
.gbtn:hover { background: #1e1f20; }
.gbtn:active { transform: scale(.97); }
.gbtn svg { width: 20px; height: 20px; }
#gWrap > div { display: flex; justify-content: center; }
.gchip { display: flex; align-items: center; gap: 12px; padding: 10px 14px; margin-bottom: 20px; background: var(--s1); border: 1px solid var(--line); border-radius: 16px; font-size: 14px; }
.gchip svg { width: 18px; height: 18px; flex: none; }
.gchip b { display: block; font-size: 15px; }
.gchip span { color: var(--muted); }
.card .field:first-of-type { margin-top: 0; }
.card .phone { margin-top: 12px; }
dialog.sheet { margin: auto; width: min(400px, calc(100vw - 32px)); padding: 30px 26px 24px; color: var(--text); background: var(--s2); border: 1px solid var(--line2); border-radius: 26px; }
dialog.sheet::backdrop { background: rgba(0, 0, 0, .6); backdrop-filter: blur(6px); }
dialog.sheet[open] { animation: rise .45s var(--ease) forwards; opacity: 0; transform: translateY(16px); }
dialog.sheet h2 { display: flex; align-items: center; gap: 10px; font-size: 22px; letter-spacing: -.02em; }
dialog.sheet h2 svg { width: 22px; height: 22px; }
dialog.sheet .row-btns { display: flex; gap: 10px; margin-top: 22px; }
dialog.sheet .row-btns .btn { flex: 1; }

@media (max-width: 640px) {
  .trk { padding: 22px 18px; gap: 26px; }
  .trk-head { flex-direction: column-reverse; gap: 10px; }
  .trk-steps li { font-size: 12px; }
  .trk-steps small { font-size: 11px; }
  .quick { grid-template-columns: 1fr 1fr; }
  .qt.main { grid-column: 1 / -1; min-height: 120px; }
}
.gicon { display: inline-flex; flex: none; }
