/* Home v2: hero photo + galaxy mark, Fresh rides strip, before/after, card photos, like-burst. Accent from --lmv-accent. */
.h2-hero { position: relative; margin: 0; isolation: isolate; overflow-x: clip; }
.h2-hero::before { content: ""; position: absolute; inset: 20% -6% -18%; z-index: -1; pointer-events: none;
  background: radial-gradient(45% 55% at 25% 50%, color-mix(in srgb, var(--lmv-accent) 45%, transparent), transparent 70%),
              radial-gradient(40% 50% at 78% 62%, color-mix(in srgb, var(--lmv-accent) 30%, transparent), transparent 70%);
  filter: blur(30px); opacity: .7; }
.h2-photo { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
@media (min-width: 700px) { .h2-photo { aspect-ratio: 16 / 9; max-height: 70vh; width: 100%; } }
.h2-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; display: block; }
/* accent tint over the photo + fade into the page */
.h2-photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--lmv-accent); mix-blend-mode: color; opacity: .38; }
.h2-photo::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, transparent 38%, transparent 62%, var(--bg) 100%); }
.h2-over { position: absolute; z-index: 2; left: 0; right: 0; top: 4%; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.h2-logo { width: min(82%, 520px); aspect-ratio: 790 / 256; filter: drop-shadow(0 4px 14px rgba(0,0,0,.45)); }
.th-light .h2-logo .lmv-logo { --n-word: #F7F1E6; --n-word-shadow: #1f2329; } /* script stays light over the photo */
.h2-pill { font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #fff; padding: 4px 12px; border-radius: 999px;
  background: rgba(0,0,0,.55); border: 1px solid color-mix(in srgb, var(--lmv-accent) 60%, transparent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.h2-top { position: relative; z-index: 3; margin-top: -34px; display: grid; gap: 12px; }
/* frosted see-through cards with a thin accent border (light frosted in light mode) */
.fcard, .card, .card-choice.mode, .post, .tile-x, .v2-ask { background: color-mix(in srgb, var(--surface) 62%, transparent) !important;
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid color-mix(in srgb, var(--lmv-accent) 32%, transparent) !important; border-radius: var(--lmv-radius, 16px); }
.th-light :is(.fcard, .card, .card-choice.mode, .post, .tile-x, .v2-ask) { background: rgba(255, 255, 255, .66) !important; }
.card-choice.mode { border-top: 3px solid var(--lmv-accent) !important; }
.h2-cardhead { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 14px 8px; }
.h2-svcs { display: grid; gap: 10px; }
.h2-svc { padding: 12px 14px; }
.h2-svc-top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.h2-svc-top b { color: var(--silver-bright); }
.h2-price { font-weight: 800; color: var(--silver-bright); white-space: nowrap; }
.h2-svc p { margin: 4px 0 8px; font-size: .84rem; color: var(--silver-dim); }
.h2-svc-bot { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.h2-stars { color: var(--lmv-accent); letter-spacing: 1px; }
.h2-book { background: var(--lmv-accent); color: var(--lmv-on-accent); font-weight: 700; font-size: .82rem; padding: 7px 14px; border-radius: 999px; white-space: nowrap; }
.h2-sample { margin: 0; text-align: center; }
/* hide the long intro line; photos do the talking (kept for screen readers) */
.h2-top ~ .hero h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.h2-top ~ .hero { padding-top: 10px; }
.h2-top ~ .hero .card-choice.mode p { font-size: .9rem; }
/* tighter gap between hero lines and the question */
.hero h1 { margin-bottom: 0; }
.hero .choice-q { margin-top: 2px; margin-bottom: 18px; }
/* card photo headers */
.card-choice { overflow: hidden; }
.card-choice .cc-photo { margin: -22px -22px 6px; aspect-ratio: 16 / 7; overflow: hidden; background: var(--surface-2); }
@media (min-width: 601px) { .card-choice .cc-photo { margin: -26px -26px 8px; } }
.card-choice .cc-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-choice.lover .cc-photo { margin-top: -25px; } /* card has a 3px accent top edge */
/* fresh rides + before/after */
.h2-more { padding: 6px 0 30px; }
.h2-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 18px 0 10px; }
.h2-head h2.script { margin: 0; font-size: 1.9rem; }
.h2-strip { display: grid; grid-auto-flow: column; grid-auto-columns: 46%; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
@media (min-width: 700px) { .h2-strip { grid-auto-columns: 23%; } }
.h2-strip::-webkit-scrollbar { display: none; }
.h2-card { margin: 0; scroll-snap-align: start; position: relative; aspect-ratio: 4 / 5; border-radius: var(--lmv-radius, 16px); overflow: hidden; background: var(--surface-2); }
.h2-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.h2-card figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 10px 8px; font-size: .78rem; font-weight: 600; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); }
.h2-ba { padding: 0; overflow: hidden; }
.h2-ba .cmp, .h2-ba .ba { aspect-ratio: 16 / 10; }
.h2-ba .post-body { padding: 10px 14px 14px; } .h2-ba .post-body p { margin: 0; font-size: .85rem; color: var(--silver-dim); }
/* like-heart burst into tiny stars */
.likebtn { position: relative; }
.lmv-burst { position: absolute; left: 50%; top: 50%; width: 0; height: 0; pointer-events: none; }
.lmv-burst i { position: absolute; left: -3px; top: -3px; width: 6px; height: 6px; background: var(--lmv-accent);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); animation: lmv-burst .7s ease-out forwards; }
.lmv-burst i:nth-child(odd) { background: #fff; }
@keyframes lmv-burst { from { transform: rotate(var(--a)) translateY(0) scale(1); opacity: 1; } to { transform: rotate(var(--a)) translateY(-26px) scale(.4); opacity: 0; } }
.likebtn.lmv-pop { animation: lmv-pop .35s ease-out; }
@keyframes lmv-pop { 50% { transform: scale(1.25); } }
@media (prefers-reduced-motion: reduce) { .lmv-burst { display: none; } .likebtn.lmv-pop { animation: none; } }
/* 3 modes on the signed-out home */
.choice-3 { display: grid; grid-template-columns: 1fr; gap: 16px; text-align: left; }
@media (min-width: 800px) { .choice-3 { grid-template-columns: repeat(3, 1fr); } }
.card-choice.mode { background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--lmv-accent); box-shadow: var(--lmv-elev); min-height: 0; color: var(--silver); }
.card-choice.mode .cc-photo { margin-top: -25px; }
.card-choice.mode h3 { font-family: "Dancing Script", cursive; font-weight: 700; font-size: 2.4rem; line-height: 1; margin: 0; color: var(--silver-bright); text-shadow: 3px 3px 0 var(--heading-shadow); }
.card-choice.mode p { margin: 0; color: var(--silver); }
.card-choice.mode .kicker { color: var(--lmv-link); }
.card-choice .cc-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 4px; }
.card-choice .cc-actions .btn { margin: 0; }
/* bottom nav like the mockup: frosted floating bar, accent active item. Same links (Home, Search, Profile, Messages, Book). */
@media (max-width: 760px) {
  .tabbar { left: 10px !important; right: 10px !important; bottom: calc(8px + env(safe-area-inset-bottom)) !important; border-radius: 20px;
    background: color-mix(in srgb, var(--surface) 70%, transparent) !important; -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
    border: 1px solid color-mix(in srgb, var(--lmv-accent) 28%, transparent) !important; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); padding: 6px 4px !important; }
  .th-light .tabbar { background: rgba(255, 255, 255, .72) !important; box-shadow: 0 8px 24px rgba(0, 0, 0, .12); }
  .tabbar a.on { color: var(--lmv-link) !important; }
  .tabbar a.on::before { content: ""; position: absolute; top: 4px; left: 50%; width: 38px; height: 30px; transform: translateX(-50%); border-radius: 12px; background: color-mix(in srgb, var(--lmv-accent) 16%, transparent); z-index: -1; }
  body.has-tabs { padding-bottom: calc(86px + env(safe-area-inset-bottom)); }
}
.th-light .test-banner, .test-banner { color: var(--silver-dim) !important; }
.post[data-ptype="detailer"] { border-top: 3px solid var(--lmv-accent) !important; } /* detailer posts keep their distinct look */
/* ---- minimal star speckle in the site palette: sparse 1px dots, low opacity, accent-tinted + white. Decorative only, behind text. ---- */
:root { --lmv-star-w: rgba(255, 255, 255, .55); --lmv-star-a: color-mix(in srgb, var(--lmv-accent) 70%, #fff); }
.th-light { --lmv-star-w: rgba(31, 35, 41, .28); --lmv-star-a: color-mix(in srgb, var(--lmv-accent) 75%, #000); }
.lmv-specks, header.nav::after, .h2-hero::after, .fcard::after, .card-choice.mode::after {
  background-image:
    radial-gradient(1px 1px at 7% 22%, var(--lmv-star-w) 99%, transparent), radial-gradient(1px 1px at 19% 71%, var(--lmv-star-a) 99%, transparent),
    radial-gradient(1px 1px at 33% 38%, var(--lmv-star-w) 99%, transparent), radial-gradient(1.5px 1.5px at 52% 14%, var(--lmv-star-a) 99%, transparent),
    radial-gradient(1px 1px at 64% 83%, var(--lmv-star-w) 99%, transparent), radial-gradient(1px 1px at 78% 47%, var(--lmv-star-a) 99%, transparent),
    radial-gradient(1px 1px at 91% 19%, var(--lmv-star-w) 99%, transparent), radial-gradient(1px 1px at 86% 76%, var(--lmv-star-w) 99%, transparent);
  background-repeat: no-repeat; }
header.nav::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55; z-index: 0; }
header.nav > * { position: relative; z-index: 1; }
.h2-hero::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 60%; pointer-events: none; z-index: 2; opacity: .8; }
/* card corners: a tiny cluster in the top-right corner only */
.fcard, .card-choice.mode { position: relative; }
.fcard::after, .card-choice.mode::after { content: ""; position: absolute; top: 0; right: 0; width: 90px; height: 60px; pointer-events: none; opacity: .6; border-top-right-radius: inherit; }
.card-choice.mode::after { top: auto; bottom: 0; } /* photo header sits on top; put the cluster bottom-right */
/* ---- sign-up: 3 modes + Business sub-choice. Neutral tiles; text always uses page text colours (never --on-accent on a neutral tile). ---- */
.su-modes { border: 0; padding: 0; margin: 0 0 6px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.su-modes > input { position: absolute; opacity: 0; pointer-events: none; }
.su-tile { margin: 0 !important; cursor: pointer; display: flex; flex-direction: column; gap: 4px; justify-content: flex-end; min-height: 92px; padding: 12px 10px; border-radius: 14px;
  background: color-mix(in srgb, var(--surface-2) 80%, transparent); border: 1.5px solid var(--border-strong); color: var(--silver) !important; }
.su-tile b { font-size: .95rem; font-weight: 800; color: var(--silver-bright); line-height: 1.2; }
.su-tile small { font-size: .74rem; color: var(--silver-dim); font-weight: 500; }
.su-modes > input:checked + .su-tile, .su-modes:has(#g-fleet:checked) .su-biz { border-color: var(--lmv-accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--lmv-accent) 40%, transparent);
  background: color-mix(in srgb, var(--lmv-accent) 12%, var(--surface)); }
.su-modes > input:checked + .su-tile b, .su-modes:has(#g-fleet:checked) .su-biz b { color: var(--silver-bright); }
.su-modes > input:focus-visible + .su-tile { outline: 2px solid var(--lmv-link); outline-offset: 2px; }
.su-sub { grid-column: 1 / -1; display: none; gap: 8px; align-items: center; }
.su-modes:has(#g-grow:checked) .su-sub, .su-modes:has(#g-fleet:checked) .su-sub { display: flex; }
.su-sub input { position: absolute; opacity: 0; pointer-events: none; }
.su-chip { margin: 0 !important; cursor: pointer; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--border-strong); color: var(--silver-bright) !important; font-size: .85rem; font-weight: 700; background: var(--surface-2); }
.su-modes:has(#g-grow:checked) .su-chip[for="g-grow"], .su-modes:has(#g-fleet:checked) .su-chip[for="g-fleet"] { background: var(--lmv-accent); border-color: var(--lmv-accent); color: var(--lmv-on-accent) !important; }
.su-more { margin-top: 10px; }
@media (max-width: 380px) { .su-modes { grid-template-columns: 1fr 1fr; } }
/* old 2-tile picker (Settings > add profile): keep text readable on every preset */
.typepick .t-lover { background: color-mix(in srgb, var(--lmv-accent) 14%, var(--surface)) !important; border: 1.5px solid color-mix(in srgb, var(--lmv-accent) 45%, transparent); color: var(--silver) !important; }
.typepick .t-lover b { color: var(--silver-bright); text-shadow: 2px 2px 0 var(--heading-shadow); }
.typepick .t-pro { background: var(--surface-2) !important; color: var(--silver) !important; }
.typepick input:checked + label { border-color: var(--lmv-accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--lmv-accent) 45%, transparent); }
/* sign-up: compact optional phone */
.su-phone { margin-top: 12px; } .su-phone > summary { cursor: pointer; font-weight: 600; font-size: .9rem; color: var(--lmv-link); list-style: none; }
.su-phone > summary::-webkit-details-marker { display: none; } .su-phone[open] > summary { margin-bottom: 6px; }
.su-phone .dim { color: var(--silver-dim); font-weight: 500; }
