/* Zenvy — dark digital marketplace theme. No external fonts or CDNs. */
:root {
  --bg: #0b0912; --bg-2: #100d17; --surface: #15111d; --surface-2: #1c1726; --surface-3: #251f31;
  --ink: #f1eef6; --ink-2: #c9c2d6; --muted: #8f879e; --line: #2a2333; --line-2: #372e43;
  --accent: #ff7ab6; --accent-2: #ff9ccb; --accent-ink: #0b0912; --accent-soft: rgb(255 122 182 / .12);
  --grad: #f2f3f6;
  --sage: #22d3ee; --sage-soft: rgb(34 211 238 / .12);
  --ok: #4ade80; --ok-soft: rgb(74 222 128 / .12); --warn: #fbbf24; --warn-soft: rgb(251 191 36 / .12);
  --bad: #f87171; --bad-soft: rgb(248 113 113 / .12); --focus: #ffb3d4;
  --radius: 16px; --radius-sm: 10px; --shadow: 0 10px 40px rgb(0 0 0 / .35);
  --serif: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --wrap: 1240px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, .h3, .h4, .brand-name, .footer-brand, .collection-name { font-family: var(--sans); font-weight: 750; line-height: 1.12; letter-spacing: -.025em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); margin: .2em 0 .4em; }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 0 0 .6em; }
h3, .h3 { font-size: 1.25rem; margin: 0 0 .5em; }
.h4 { font-size: 1.05rem; margin: 1em 0 .4em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -4rem; background: var(--ink); color: var(--bg); padding: .6rem 1rem; z-index: 100; border-radius: var(--radius-sm); }
.skip-link:focus { top: 1rem; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }
.narrow { max-width: 760px; }
.section { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.lead { font-size: 1.1rem; color: var(--ink-2); max-width: 60ch; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; color: var(--accent-2); font-weight: 700; margin: 0; font-family: var(--mono); }
.note { font-size: .85rem; color: var(--muted); border-left: 3px solid var(--line); padding-left: .7rem; }
.plain { list-style: none; padding: 0; margin: 0; } .plain li { margin: .45rem 0; }
.site-footer .plain li { display: flex; gap: .5rem; align-items: flex-start; }
mark.placeholder { background: rgb(251 191 36 / .18); color: #fcd34d; outline: 1px dashed rgb(251 191 36 / .5); padding: 0 .25em; border-radius: 3px; font-family: var(--sans); font-size: .9em; }
.icon { flex: none; vertical-align: middle; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Header */
.test-banner { background: repeating-linear-gradient(45deg, #2a2110, #2a2110 12px, #241c0d 12px, #241c0d 24px); color: var(--warn); text-align: center; font-size: .82rem; padding: .45rem 16px; font-family: var(--mono); }
.site-header { background: rgb(10 12 17 / .82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 68px; }
.brand { display: flex; align-items: center; gap: .55rem; color: var(--ink); text-decoration: none; }
.brand-name { font-size: 1.25rem; letter-spacing: -.03em; }
.site-nav ul { list-style: none; display: flex; gap: 1.3rem; margin: 0; padding: 0; }
.site-nav a { color: var(--ink); text-decoration: none; font-size: .95rem; }
.site-nav a:hover { color: var(--accent); }
.search { margin-left: auto; display: flex; align-items: center; background: var(--surface-2); border-radius: 999px; padding: 0 .3rem 0 .9rem; }
.search input { border: 0; background: transparent; padding: .5rem 0; width: 11rem; color: var(--ink); font: inherit; }
.search input:focus { outline: none; } .search:focus-within { outline: 3px solid var(--focus); }
.header-actions { display: flex; gap: .25rem; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 999px; border: 0; background: transparent; color: var(--ink); cursor: pointer; position: relative; text-decoration: none; }
.icon-btn:hover { background: var(--surface-2); }
.badge { position: absolute; top: 2px; right: 0; background: var(--accent); color: var(--accent-ink); font-size: .7rem; font-weight: 700; min-width: 18px; height: 18px; border-radius: 999px; display: grid; place-items: center; padding: 0 4px; }
.nav-toggle { display: none; }
@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--line); display: none; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; padding: .5rem 16px 1rem; }
  .site-nav a { display: block; padding: .7rem 0; border-bottom: 1px solid var(--line); }
  .search input { width: 7rem; }
}
@media (max-width: 520px) { .brand-name { display: none; } .search { flex: 1; } .search input { width: 100%; } }

/* Messages */
.messages { margin-top: 1rem; }
.msg { padding: .8rem 1rem; border-radius: var(--radius-sm); margin: .5rem 0; background: var(--surface-2); border-left: 4px solid var(--sage); }
.msg-success { background: var(--ok-soft); border-color: var(--ok); }
.msg-warning { background: var(--warn-soft); border-color: var(--warn); }
.msg-error { background: var(--bad-soft); border-color: var(--bad); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; padding: .75rem 1.3rem; border-radius: 12px; border: 0; background: var(--grad); color: #fff; font: 650 .95rem/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, filter .15s ease; box-shadow: 0 6px 24px rgb(139 108 255 / .28); }
.btn:hover { filter: brightness(1.08); box-shadow: 0 8px 30px rgb(139 108 255 / .4); }
.btn:hover { transform: translateY(-1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none; }
.btn-secondary { background: var(--surface-2); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-secondary:hover { background: var(--surface-3); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost { background: transparent; color: var(--ink-2); box-shadow: none; text-decoration: underline; text-underline-offset: 3px; }
.btn-ghost:hover { box-shadow: none; color: var(--ink); }
.btn-strong { background: var(--grad); }
.btn-danger { background: #b91c1c; color: #fff; box-shadow: none; }
.btn-small { padding: .45rem .9rem; font-size: .85rem; }
.btn-wide { width: 100%; }
.link { background: none; border: 0; padding: 0; color: var(--accent); text-decoration: underline; font: inherit; cursor: pointer; }
.danger-link { color: var(--bad); }
form.inline { display: inline; }

/* Forms */
.field { margin: 0 0 1rem; }
.field label, legend { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .3rem; }
input:not([type=checkbox]):not([type=radio]), select, textarea {
  width: 100%; padding: .7rem .85rem; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--bg-2); color: var(--ink); font: inherit; }
input:focus, select:focus, textarea:focus { border-color: var(--focus); outline: 2px solid transparent; box-shadow: 0 0 0 3px rgb(31 95 191 / .25); }
.has-error input, .has-error select, .has-error textarea { border-color: var(--bad); }
.help { font-size: .85rem; color: var(--muted); margin: .3rem 0 0; }
.error { color: var(--bad); font-size: .88rem; font-weight: 600; margin: .3rem 0 0; }
.req { font-weight: 400; color: var(--muted); font-size: .85em; }
.check { display: flex !important; gap: .6rem; align-items: flex-start; font-weight: 400 !important; cursor: pointer; }
.check input { width: 1.15rem; height: 1.15rem; margin-top: .2rem; flex: none; accent-color: var(--accent); }
fieldset { border: 0; padding: 0; margin: 0 0 1.5rem; min-width: 0; }
fieldset ul, .field ul { list-style: none; padding: 0; margin: 0; } .field ul li label { font-weight: 400; display: flex; gap: .5rem; }
.field-row { display: grid; grid-template-columns: 1fr 2fr; gap: 1rem; }
.inline-field { display: flex; gap: .5rem; } .inline-field input { flex: 1; }
.radio-card { display: flex; gap: .7rem; padding: .9rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); margin-bottom: .6rem; cursor: pointer; background: var(--surface); }
.radio-card:has(input:checked) { border-color: var(--accent); }
.consent-box { background: var(--surface-2); padding: .9rem 1rem; border-radius: var(--radius-sm); }
.qty { width: 5rem !important; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; gap: 0; } }

/* Hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem; align-items: center; padding-top: 3rem; padding-bottom: 3rem; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin: 1.5rem 0; }
@media (max-width: 820px) { .hero-inner { grid-template-columns: 1fr; } .hero-art { max-width: 340px; margin: 0 auto; } }

/* Sections, grids, cards */
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1rem; }
.category-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.category-tile { display: flex; flex-direction: column; gap: .2rem; padding: 1.4rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .15s; }
.category-tile:hover { border-color: var(--ink); }
.cat-name { font-size: 1.1rem; font-weight: 700; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.4rem; }
@media (max-width: 520px) { .product-grid { grid-template-columns: repeat(2, 1fr); gap: .8rem; } }
.card { background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-3px); border-color: var(--line-2); box-shadow: var(--shadow); }
.card-link { color: inherit; text-decoration: none; display: block; height: 100%; }
.card-media { position: relative; aspect-ratio: 3 / 2; background: var(--surface-2); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card-link:hover .card-media img { transform: scale(1.03); }
.card-body { padding: .9rem 1rem 1.1rem; }
.card-title { font-size: 1rem; font-weight: 650; margin: 0 0 .35rem; line-height: 1.3; }
.card-meta { margin: 0; font-size: .8rem; color: var(--muted); }
.card-price { margin: .4rem 0 0; font-weight: 600; }
.tag { position: absolute; top: .7rem; right: .7rem; background: rgb(10 12 17 / .8); color: var(--ink); font-size: .72rem; font-weight: 650; padding: .25rem .6rem; border-radius: 999px; backdrop-filter: blur(6px); }
.tag-muted { color: var(--muted); }
.collections { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.collection-banner { display: flex; flex-direction: column; gap: .4rem; padding: 2rem 1.6rem; border-radius: var(--radius); text-decoration: none; color: var(--ink); min-height: 220px; justify-content: flex-end; }
.collection-name { font-size: 1.7rem; }
.tone-clay { background: var(--accent-soft); } .tone-sage { background: var(--sage-soft); } .tone-sand { background: var(--surface-2); }
.link-arrow { display: inline-flex; gap: .3rem; align-items: center; font-weight: 600; color: var(--accent); margin-top: .4rem; }
.empty { text-align: center; padding: 2.5rem 1rem; background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: .5rem; }
.empty.big { padding: 4rem 1rem; } .empty h2 { color: var(--ink); }
.support-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; border-top: 1px solid var(--line); }
.support-item { display: flex; gap: .9rem; } .support-item svg { color: var(--sage); margin-top: .2rem; } .support-item p { margin: 0; color: var(--ink-2); font-size: .93rem; }

/* Listing */
.page-head { padding-top: 2rem; }
.breadcrumbs { font-size: .85rem; color: var(--muted); } .breadcrumbs a { color: var(--muted); }
.listing { display: grid; grid-template-columns: 230px 1fr; gap: 2rem; padding-bottom: 3rem; }
.filters { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; align-self: start; position: sticky; top: 90px; }
@media (max-width: 820px) { .listing { grid-template-columns: 1fr; } .filters { position: static; } }
.pagination { display: flex; gap: 1rem; justify-content: center; align-items: center; margin: 2rem 0; }

/* Product page */
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; margin: 1rem 0 2rem; }
.pdp-media { display: grid; gap: 1rem; } .pdp-media figure { margin: 0; } .pdp-media img { border-radius: var(--radius); background: var(--surface-2); }
.pdp-info { align-self: start; position: sticky; top: 90px; }
@media (max-width: 860px) { .pdp { grid-template-columns: 1fr; gap: 1.5rem; } .pdp-info { position: static; } }
.pdp-price { font-size: 1.6rem; font-weight: 600; margin: .8rem 0 .2rem; }
.price-ref { color: var(--muted); font-size: .7em; font-weight: 400; }
.price-now { color: var(--accent-2); }
.stock { font-weight: 600; color: var(--sage); }
.buy-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; margin: 1.2rem 0; }
.buy-row { display: flex; gap: .7rem; } .buy-row .btn { flex: 1; }
.variant-picker { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; }
.variant-picker legend { width: 100%; }
.variant-option input { position: absolute; opacity: 0; }
.variant-option span { display: inline-block; padding: .5rem .9rem; border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; font-size: .9rem; }
.variant-option input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--ink); }
.variant-option input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.pdp-details details { border-top: 1px solid var(--line); padding: .8rem 0; }
.pdp-details summary { cursor: pointer; font-weight: 600; }
.specs { display: grid; grid-template-columns: max-content 1fr; gap: .3rem 1.2rem; margin: .7rem 0; } .specs dt { color: var(--muted); }
.reviews { list-style: none; padding: 0; } .review { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.stars span { color: var(--line); } .stars .on { color: var(--accent); }
.verified { color: var(--ok); font-weight: 600; }
.review-form summary { list-style: none; display: inline-flex; margin: 1rem 0; } .review-form summary::-webkit-details-marker { display: none; }

/* Cart & checkout */
.checkout-grid { display: grid; grid-template-columns: 1fr 380px; gap: 2.5rem; padding-bottom: 3rem; align-items: start; }
@media (max-width: 900px) { .checkout-grid { grid-template-columns: 1fr; } }
.summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; position: sticky; top: 90px; }
@media (max-width: 900px) { .summary { position: static; } }
.totals { margin: 1rem 0; } .totals > div { display: flex; justify-content: space-between; gap: 1rem; padding: .3rem 0; }
.totals dt { color: var(--ink-2); } .totals dd { margin: 0; font-variant-numeric: tabular-nums; }
.totals .grand { border-top: 1px solid var(--line); margin-top: .4rem; padding-top: .7rem; font-size: 1.15rem; font-weight: 700; } .totals .grand dt { color: var(--ink); }
.totals .vat, .totals .vat-row { font-size: .82rem; color: var(--muted); } .totals .discount dd { color: var(--ok); }
.cart-table { width: 100%; border-collapse: collapse; margin-bottom: 1rem; }
.cart-table th { text-align: left; font-size: .8rem; color: var(--muted); font-weight: 600; padding: .5rem; border-bottom: 1px solid var(--line); }
.cart-table td { padding: .9rem .5rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cart-product { display: flex; gap: .8rem; align-items: center; } .cart-product img { border-radius: var(--radius-sm); }
@media (max-width: 640px) {
  .cart-table thead { display: none; } .cart-table tr { display: grid; grid-template-columns: 1fr auto; border-bottom: 1px solid var(--line); padding: .6rem 0; }
  .cart-table td { border: 0; padding: .2rem 0; } .cart-table td[data-label="Product"] { grid-column: 1 / -1; }
  .cart-table td[data-label]:not([data-label="Product"])::before { content: attr(data-label) ": "; color: var(--muted); font-size: .8rem; }
}
.line-items { list-style: none; padding: 0; margin: 0; }
.line { display: flex; gap: .8rem; align-items: center; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.line img { border-radius: var(--radius-sm); } .line-info { flex: 1; display: flex; flex-direction: column; } .line-total { font-weight: 600; }
.steps { display: flex; gap: 1.5rem; list-style: none; padding: 0; margin: .5rem 0 1.5rem; font-size: .9rem; color: var(--muted); }
.steps [aria-current] { color: var(--ink); font-weight: 700; border-bottom: 2px solid var(--accent); }
.steps a { color: inherit; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; margin-bottom: 1.2rem; }
.panel.attention { border-color: var(--warn); background: var(--warn-soft); }
.panel-head { display: flex; justify-content: space-between; align-items: baseline; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: .4rem 1rem; margin: 0; } .kv dt { color: var(--muted); } .kv dd { margin: 0; }
@media (max-width: 520px) { .kv { grid-template-columns: 1fr; } .kv dd { margin-bottom: .5rem; } }
.status-hero { display: flex; align-items: center; gap: 1rem; } .status-hero h1 { margin: 0; }
.status-hero.ok svg { color: var(--ok); } .status-hero.bad svg { color: var(--bad); }
.status-pills { display: flex; gap: .5rem; flex-wrap: wrap; }
.pill { display: inline-block; font-size: .78rem; font-weight: 600; padding: .2rem .65rem; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); }
.pill-paid { background: var(--ok-soft); color: var(--ok); } .pill-failed, .pill-expired { background: var(--bad-soft); color: var(--bad); }
.pill-pending, .pill-processing, .pill-refund_pending { background: var(--warn-soft); color: var(--warn); }
.timeline { list-style: none; padding: 0; margin: 0; font-size: .9rem; } .timeline li { padding: .35rem 0; border-left: 2px solid var(--line); padding-left: .8rem; }
.timeline time { color: var(--muted); margin-right: .5rem; font-variant-numeric: tabular-nums; }

/* Tables */
.data { width: 100%; border-collapse: collapse; font-size: .92rem; margin: .5rem 0 1rem; }
.data th, .data td { text-align: left; padding: .55rem .6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.data th { font-size: .8rem; color: var(--muted); font-weight: 600; } .data .num { text-align: right; font-variant-numeric: tabular-nums; }
.data tfoot th { color: var(--ink-2); text-align: right; } .data .grand { font-weight: 700; }
.panel, .staff-main, .legal .prose { overflow-x: auto; }

/* Legal & prose */
.prose { max-width: 72ch; } .prose h2 { margin-top: 1.8rem; font-size: 1.35rem; } .prose li { margin: .3rem 0; }
.review-flag { background: var(--warn-soft); border-left: 4px solid var(--warn); padding: .8rem 1rem; border-radius: var(--radius-sm); font-size: .9rem; margin-bottom: 1.5rem; }
.model-form { border: 1px solid var(--line); padding: 1rem 1.3rem; border-radius: var(--radius-sm); background: var(--surface); }

/* Account & staff */
.account-nav { display: flex; gap: 1.2rem; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: .6rem; }
.account-nav a { color: var(--ink-2); text-decoration: none; } .account-nav a[aria-current] { color: var(--ink); font-weight: 700; }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.2rem; align-items: start; }
.address-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.staff-layout { display: grid; grid-template-columns: 200px 1fr; gap: 2rem; padding-top: 1.5rem; padding-bottom: 3rem; }
.staff-nav { display: flex; flex-direction: column; gap: .15rem; position: sticky; top: 90px; align-self: start; }
.staff-nav a { color: var(--ink-2); text-decoration: none; padding: .45rem .7rem; border-radius: var(--radius-sm); }
.staff-nav a:hover { background: var(--surface-2); color: var(--ink); }
@media (max-width: 820px) { .staff-layout { grid-template-columns: 1fr; } .staff-nav { flex-direction: row; flex-wrap: wrap; position: static; } }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; margin-bottom: 1.2rem; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; display: flex; flex-direction: column; }
.stat-label { font-size: .8rem; color: var(--muted); } .stat-value { font-size: 1.6rem; font-weight: 750; letter-spacing: -.02em; }
.filter-bar { display: flex; gap: .7rem; flex-wrap: wrap; align-items: flex-end; margin-bottom: 1rem; }
.filter-bar label { font-size: .85rem; } .filter-bar input, .filter-bar select { width: auto; }
.variant-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: .6rem; border-bottom: 1px solid var(--line); padding-bottom: .6rem; }
.thumb-list { list-style: none; padding: 0; display: flex; gap: 1rem; flex-wrap: wrap; } .thumb-list img { border-radius: var(--radius-sm); }

/* Footer & cookie banner */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); margin-top: 4rem; padding-top: 3rem; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { font-size: 1.3rem; margin: 0; } .footer-title { font-weight: 700; margin: 0 0 .5rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; } .site-footer li { margin: .35rem 0; } .site-footer nav a { color: var(--ink-2); }
.newsletter label { font-weight: 600; display: block; margin: 1rem 0 .3rem; } .newsletter .check { font-size: .8rem; margin-top: .5rem; color: var(--muted); }
.footer-base { border-top: 1px solid var(--line); margin-top: 2rem; padding-top: 1rem; padding-bottom: 1.5rem; color: var(--muted); font-size: .82rem; }
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -8px 30px rgb(0 0 0 / .1); z-index: 50; padding: 1rem 0; }
.cookie-inner { display: flex; gap: 1.5rem; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cookie-inner h2 { font-size: 1.1rem; margin: 0 0 .2rem; } .cookie-inner p { margin: 0; max-width: 70ch; font-size: .9rem; }
.cookie-actions { display: flex; gap: .6rem; flex-wrap: wrap; }

/* Invoice / print */
.invoice-head { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
@media print { .no-print, .site-header, .site-footer, .test-banner { display: none; } body { background: #fff; color: #000; } }
.invoice-page { background: #fff; color: #111; --ink: #111; --ink-2: #333; --muted: #555; --line: #ddd; --surface: #fff; }

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

/* Header search sits inside its own pill: undo the generic input styling. */
.site-header .search input:not([type=checkbox]) { border: 0; background: transparent; padding: .5rem 0; box-shadow: none; }

/* Two-factor authentication */
.steps-list { padding-left: 1.2rem; } .steps-list > li { margin-bottom: 1.5rem; }
.qr { background: #fff; padding: 12px; border-radius: var(--radius-sm); width: 232px; margin: .8rem 0; }
.qr svg { width: 208px; height: 208px; display: block; }
.secret code { font-size: 1.05rem; letter-spacing: .05em; word-break: break-all; }
.backup-codes { list-style: none; padding: 1rem; margin: 1rem 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.backup-codes code { font-size: 1.1rem; letter-spacing: .08em; }

/* ---- Marketplace components ---- */
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgb(255 255 255 / .035) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .035) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%); pointer-events: none; }
.hero-inner { position: relative; padding-top: 4rem; padding-bottom: 4rem; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-search { display: flex; gap: .5rem; background: var(--surface); border: 1px solid var(--line-2); border-radius: 14px; padding: .4rem; max-width: 560px; margin: 1.4rem 0 1rem; box-shadow: var(--shadow); }
.hero-search input:not([type=checkbox]) { border: 0; background: transparent; font-size: 1.05rem; }
.hero-search input:focus { box-shadow: none; }
.hero-search:focus-within { outline: 2px solid var(--focus); outline-offset: 2px; }
.trust-row { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; color: var(--ink-2); font-size: .88rem; margin-top: 1rem; }
.trust-row span { display: inline-flex; gap: .4rem; align-items: center; } .trust-row svg { color: var(--accent-2); }
.hero-art img { filter: drop-shadow(0 30px 60px rgb(139 108 255 / .25)); }
.category-tile { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--surface-2), var(--surface)); }
.category-tile::after { content: ""; position: absolute; inset: auto -30% -60% auto; width: 160px; height: 160px; border-radius: 50%; background: var(--grad); opacity: .12; filter: blur(10px); transition: opacity .2s; }
.category-tile:hover { border-color: var(--accent); } .category-tile:hover::after { opacity: .3; }
.category-tile .icon { color: var(--accent-2); margin-bottom: .6rem; }
.chips { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0 0 .5rem; padding: 0; list-style: none; }
.chip { display: inline-flex; align-items: center; gap: .3rem; font-size: .72rem; font-weight: 600; padding: .2rem .55rem; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line); white-space: nowrap; }
.chip-accent { background: var(--accent-soft); color: #c8bcff; border-color: rgb(139 108 255 / .3); }
.chip-ok { background: var(--ok-soft); color: var(--ok); border-color: rgb(74 222 128 / .25); }
.chip-warn { background: var(--warn-soft); color: var(--warn); border-color: rgb(251 191 36 / .25); }
.card-foot { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; margin-top: .6rem; }
.card-price { font-size: 1.15rem; font-weight: 750; margin: 0; }
.card-price s { color: var(--muted); font-weight: 400; font-size: .8rem; margin-left: .3rem; }
.stock-dot { font-size: .75rem; color: var(--muted); display: inline-flex; align-items: center; gap: .3rem; }
.stock-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.stock-dot.out::before { background: var(--bad); box-shadow: none; }
.steps-flow { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; counter-reset: step; list-style: none; padding: 0; }
.steps-flow li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; position: relative; }
.steps-flow li::before { counter-increment: step; content: "0" counter(step); font-family: var(--mono); font-size: .8rem; color: var(--accent-2); display: block; margin-bottom: .5rem; }
.steps-flow h3 { font-size: 1.05rem; margin-bottom: .3rem; } .steps-flow p { margin: 0; color: var(--ink-2); font-size: .92rem; }
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; margin: 1rem 0; }
.info-grid div { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .7rem .85rem; }
.info-grid dt { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-family: var(--mono); }
.info-grid dd { margin: .15rem 0 0; font-weight: 600; font-size: .92rem; }
@media (max-width: 520px) { .info-grid { grid-template-columns: 1fr; } }
.code-box { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; background: var(--bg-2); border: 1px dashed var(--line-2); border-radius: var(--radius-sm); padding: .7rem .9rem; margin: .4rem 0; }
.code-box code { font-family: var(--mono); font-size: 1.1rem; letter-spacing: .08em; color: var(--accent-2); user-select: all; word-break: break-all; }
.code-masked { font-family: var(--mono); color: var(--muted); letter-spacing: .2em; }
.delivery-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; margin-bottom: .8rem; background: var(--bg-2); }
.delivery-card h3 { font-size: 1rem; margin: 0 0 .4rem; }
.notice { display: flex; gap: .7rem; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; }
.notice svg { color: var(--accent-2); flex: none; margin-top: .15rem; }
.compliance-list { list-style: none; padding: 0; } .compliance-list li { padding: .3rem 0; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.hero-copy > * { animation: rise .5s ease both; } .hero-copy > *:nth-child(2) { animation-delay: .05s; } .hero-copy > *:nth-child(3) { animation-delay: .1s; } .hero-copy > *:nth-child(4) { animation-delay: .15s; }

.filters summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.filters summary::-webkit-details-marker { display: none; }
.filters summary::after { content: "+"; font-size: 1.3rem; color: var(--muted); }
.filters details[open] summary::after { content: "–"; }
.filters summary h2 { margin: 0; }
.filters details[open] summary { margin-bottom: .8rem; }

/* ---- Zenvy marketplace: games, offers, sellers ---- */
.sell-link { padding: .45rem .9rem; margin-right: .2rem; }
@media (max-width: 520px) { .sell-link { display: none; } }
.game-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .9rem; }
.game-tile { --game: var(--accent); position: relative; display: flex; flex-direction: column; gap: .25rem; padding: 1rem; min-height: 150px; justify-content: flex-end; border-radius: var(--radius); text-decoration: none; color: var(--ink); overflow: hidden; border: 1px solid var(--line); background: linear-gradient(160deg, color-mix(in srgb, var(--game) 32%, var(--surface)) 0%, var(--surface) 70%); transition: transform .2s ease, border-color .2s ease; }
.game-tile:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--game) 60%, var(--line)); }
.game-initials { position: absolute; top: .7rem; left: .8rem; font-weight: 900; font-size: 2.2rem; letter-spacing: -.05em; color: color-mix(in srgb, var(--game) 75%, #fff); opacity: .9; line-height: 1; }
.game-initials.big { position: static; font-size: 3.4rem; width: 96px; height: 96px; display: grid; place-items: center; border-radius: 22px; background: color-mix(in srgb, var(--game) 25%, var(--surface)); border: 1px solid color-mix(in srgb, var(--game) 50%, var(--line)); flex: none; }
.game-name { font-weight: 750; font-size: 1.02rem; line-height: 1.2; }
.game-hero { --game: var(--accent); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, color-mix(in srgb, var(--game) 18%, transparent), transparent); padding: 1.5rem 0 2rem; }
.game-hero-inner { display: flex; gap: 1.2rem; align-items: center; margin-top: 1rem; } .game-hero h1 { margin: 0 0 .2rem; }
.games-search { max-width: 420px; margin-top: 1rem; }
.tabs { display: flex; gap: .4rem; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: .8rem; margin-bottom: 1rem; }
.tabs a { padding: .45rem .9rem; border-radius: 999px; color: var(--ink-2); text-decoration: none; font-size: .9rem; background: var(--surface); border: 1px solid var(--line); }
.tabs a[aria-current] { background: var(--accent-soft); color: var(--ink); border-color: var(--accent); }
.offer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.offer { display: grid; grid-template-columns: 1fr 170px 170px 130px auto; gap: 1rem; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem 1.1rem; transition: border-color .15s; }
.offer:hover { border-color: var(--line-2); }
.offer-main { color: var(--ink); text-decoration: none; display: flex; flex-direction: column; gap: .4rem; } .offer-title { font-weight: 650; }
.offer-main .chips { margin: 0; }
.offer-price { display: flex; flex-direction: column; align-items: flex-end; gap: .1rem; } .offer-price strong { font-size: 1.15rem; }
@media (max-width: 900px) { .offer { grid-template-columns: 1fr auto; } .offer-seller, .offer-delivery { grid-column: 1; } .offer-price { grid-column: 2; grid-row: 1; } .offer .btn { grid-column: 2; } }
.card-game { margin: 0 0 .15rem; font-size: .75rem; color: var(--accent-2); font-weight: 650; text-transform: uppercase; letter-spacing: .06em; }
.card-seller { margin: 0; color: var(--muted); display: flex; gap: .3rem; align-items: center; }
.verified-dot { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--ok); color: #06210f; font-size: .65rem; font-weight: 900; }
.seller-box { display: flex; gap: .9rem; align-items: flex-start; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem 1rem; margin: 1rem 0; }
.seller-avatar { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; background: var(--grad); color: #fff; flex: none; text-transform: uppercase; }
.sell-banner { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; padding: 2rem; border-radius: var(--radius); border: 1px solid rgb(139 108 255 / .35); background: radial-gradient(600px 200px at 0% 0%, rgb(139 108 255 / .22), transparent), radial-gradient(500px 200px at 100% 100%, rgb(34 211 238 / .15), transparent), var(--surface); }
.sell-banner h2 { margin: .3rem 0; }
.step-list { list-style: none; padding: 0; counter-reset: s; display: grid; gap: .7rem; }
.step-list li { display: flex; gap: .9rem; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; }
.step-list .num { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--surface-3); flex: none; }
.step-list .done .num { background: var(--ok); color: #06210f; } .step-list .current { border-color: var(--accent); }
.step-list .step-body { flex: 1; } .step-list h3 { margin: 0; font-size: 1rem; } .step-list p { margin: .1rem 0 0; font-size: .88rem; color: var(--muted); }
.perk-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.perk { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; } .perk svg { color: var(--accent-2); } .perk h3 { font-size: 1.02rem; margin: .5rem 0 .3rem; } .perk p { margin: 0; color: var(--ink-2); font-size: .92rem; }

@media (max-width: 920px) and (min-width: 521px) { .brand-name { display: none; } }

.site-nav a { white-space: nowrap; }
@media (max-width: 1180px) and (min-width: 921px) { .site-nav li:nth-child(n+4) { display: none; } }

/* =========================================================================
   Polish pass (Zenvy) — forms, header, messages, footer, auth
   ========================================================================= */
/* Forms */
.field label, legend { font-weight: 600; font-size: .86rem; color: var(--ink-2); letter-spacing: .01em; }
.req-dot { color: var(--accent); }
input:not([type=checkbox]):not([type=radio]), select, textarea {
  min-height: 46px; padding: .7rem .9rem; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg-2);
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease; }
textarea { min-height: 0; line-height: 1.5; }
input:not([type=checkbox]):not([type=radio]):hover, select:hover, textarea:hover { border-color: #3d4660; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgb(139 108 255 / .18); background: #0f131c; }
input::placeholder, textarea::placeholder { color: #5d667c; }
select { appearance: none; -webkit-appearance: none; padding-right: 2.4rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%238b92a5' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .95rem center; }
.has-error input, .has-error select, .has-error textarea, input[aria-invalid="true"] { border-color: var(--bad); box-shadow: 0 0 0 4px rgb(248 113 113 / .12); }
.error { font-weight: 550; display: flex; gap: .35rem; align-items: center; }
.error::before { content: "!"; display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--bad); color: #1a0606; font-size: .7rem; font-weight: 900; flex: none; }
.check input { width: 1.2rem; height: 1.2rem; accent-color: var(--accent); }
.field-check { background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: .75rem .9rem; }
.btn { min-height: 44px; }
.btn-lg { min-height: 52px; font-size: 1rem; border-radius: 14px; }
.btn-small { min-height: 34px; }
.btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.btn:active { transform: translateY(0) scale(.99); }

/* Header */
.site-nav a { padding: .4rem .7rem; border-radius: 10px; color: var(--ink-2); transition: background .15s, color .15s; }
.site-nav a:hover { background: var(--surface-2); color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); background: var(--accent-soft); }
.site-nav ul { gap: .2rem; }
.header-inner { min-height: 64px; }
.brand-name { font-weight: 800; }

/* Messages → toasts */
.messages { position: relative; z-index: 5; }
.msg { display: flex; gap: .7rem; align-items: flex-start; border: 1px solid var(--line); border-left-width: 4px; background: var(--surface); box-shadow: var(--shadow); animation: rise .3s ease both; }
.msg::before { content: "i"; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--surface-3); font-weight: 800; font-size: .75rem; flex: none; margin-top: .1rem; }
.msg-success { border-color: rgb(74 222 128 / .35); border-left-color: var(--ok); background: linear-gradient(90deg, var(--ok-soft), var(--surface) 60%); } .msg-success::before { content: "✓"; background: var(--ok); color: #06210f; }
.msg-warning { border-color: rgb(251 191 36 / .3); border-left-color: var(--warn); background: linear-gradient(90deg, var(--warn-soft), var(--surface) 60%); } .msg-warning::before { content: "!"; background: var(--warn); color: #241a02; }
.msg-error { border-color: rgb(248 113 113 / .35); border-left-color: var(--bad); background: linear-gradient(90deg, var(--bad-soft), var(--surface) 60%); } .msg-error::before { content: "!"; background: var(--bad); color: #1a0606; }

/* Sections & cards */
.section-head h2 { position: relative; padding-left: .85rem; }
.section-head h2::before { content: ""; position: absolute; left: 0; top: .2em; bottom: .2em; width: 4px; border-radius: 4px; background: var(--grad); }
.card-media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(to top, rgb(10 12 17 / .55), transparent); pointer-events: none; }
.card-price { font-size: 1.2rem; }
.panel { border-radius: 18px; background: linear-gradient(180deg, var(--surface), color-mix(in srgb, var(--surface) 85%, var(--bg))); }
.empty { border-style: solid; background: linear-gradient(180deg, var(--surface), var(--bg-2)); }
.empty svg { color: var(--accent); opacity: .85; }
.data th { text-transform: uppercase; letter-spacing: .06em; font-size: .72rem; }
.data tbody tr:hover td { background: rgb(255 255 255 / .02); }

/* Footer */
.site-footer { background: linear-gradient(180deg, var(--bg-2), #07090d); }
.footer-brand { display: flex; align-items: center; gap: .5rem; font-weight: 800; }
.footer-title { text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; color: var(--muted); font-family: var(--mono); }
.site-footer nav a { text-decoration: none; } .site-footer nav a:hover { color: var(--ink); text-decoration: underline; }
.newsletter .inline-field input { min-height: 42px; }

/* Auth pages */
.auth-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); min-height: calc(100vh - 140px); max-width: 1100px; margin: 2.5rem auto; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: var(--surface); box-shadow: 0 30px 80px rgb(0 0 0 / .45); }
.auth-aside { position: relative; padding: 3rem; background: radial-gradient(500px 300px at 10% 0%, rgb(139 108 255 / .35), transparent), radial-gradient(400px 300px at 100% 100%, rgb(34 211 238 / .22), transparent), #0d1018; border-right: 1px solid var(--line); display: flex; align-items: flex-end; }
.auth-aside::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgb(255 255 255 / .04) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .04) 1px, transparent 1px); background-size: 40px 40px; mask-image: linear-gradient(to bottom, #000, transparent 85%); }
.auth-aside-inner { position: relative; }
.auth-aside-title { font-size: 1.7rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; margin: 1.2rem 0 1.4rem; max-width: 20ch; }
.auth-points { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; color: var(--ink-2); }
.auth-points li { display: flex; gap: .6rem; align-items: center; } .auth-points svg { color: var(--accent-2); }
.auth-card { padding: 3rem clamp(1.5rem, 4vw, 3rem); display: flex; flex-direction: column; justify-content: center; }
.auth-card h1 { font-size: clamp(1.8rem, 3vw, 2.2rem); margin: .3rem 0 .5rem; }
.auth-form { margin-top: 1.4rem; display: grid; gap: .2rem; }
.auth-row { display: flex; justify-content: space-between; align-items: center; gap: .5rem; flex-wrap: wrap; margin: .3rem 0 1rem; }
.auth-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); border: 1px solid rgb(139 108 255 / .35); margin-bottom: .6rem; }
.code-input input:not([type=checkbox]) { font-family: var(--mono); font-size: 2rem; font-weight: 700; letter-spacing: .6em; text-align: center; padding-left: .6em; min-height: 72px; border-radius: 16px; background: #0b0e15; }
.code-input input::placeholder { color: #384055; letter-spacing: .6em; }
.dev-box { margin: 1rem 0 0; padding: .9rem 1rem; border-radius: 12px; border: 1px dashed rgb(251 191 36 / .5); background: var(--warn-soft); color: #fde68a; font-size: .9rem; }
.dev-box code { font-family: var(--mono); font-size: 1.15rem; letter-spacing: .2em; color: #fff; background: rgb(0 0 0 / .35); padding: .1rem .45rem; border-radius: 6px; }
@media (max-width: 860px) { .auth-wrap { grid-template-columns: 1fr; margin: 1rem 16px; min-height: 0; } .auth-aside { display: none; } .auth-card { padding: 2rem 1.3rem; } }

/* Account head */
.page-head h1 { margin-bottom: .4rem; }
.account-nav { gap: .3rem; border-bottom: 0; padding: .35rem; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; width: fit-content; max-width: 100%; }
.account-nav a, .account-nav .link { padding: .45rem .8rem; border-radius: 10px; text-decoration: none; }
.account-nav a[aria-current] { background: var(--accent-soft); }
.account-nav form { margin: 0; }

/* Coming-soon landing (COMING_SOON) */
.soon-page { min-height: 100vh; background: radial-gradient(700px 420px at 15% -5%, rgb(139 108 255 / .28), transparent), radial-gradient(600px 400px at 100% 100%, rgb(34 211 238 / .16), transparent), var(--bg); }
.soon { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2rem 16px; }
.soon-card { width: 100%; max-width: 640px; }
.soon-brand { display: flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.25rem; margin: 0 0 2.2rem; }
.soon h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.08; letter-spacing: -.035em; margin: .4rem 0 1rem; }
.soon-lead { color: var(--ink-2); font-size: 1.08rem; line-height: 1.6; margin: 0 0 1.8rem; }
.soon-form { display: grid; gap: .8rem; margin-bottom: 2.4rem; }
.soon-form .inline-field input { flex: 1; min-width: 0; }
.soon .messages { margin: 0 0 1rem; padding: 0; }
.soon-points { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.soon-points li { border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius-sm); padding: .9rem 1rem; display: grid; gap: .25rem; }
.soon-points span { color: var(--muted); font-size: .9rem; }
.soon-footer { display: flex; flex-wrap: wrap; gap: 1.2rem; justify-content: center; margin-top: 3rem; }
.soon-footer a { color: var(--muted); }
@media (max-width: 640px) { .soon-points { grid-template-columns: 1fr; } .soon-form .inline-field { flex-direction: column; } .soon-form .btn { width: 100%; } }

/* ---- Zenvy bio: editor ---- */
.bio-actions { margin-left: auto; }
.bio-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; }
.bio-head h1 { margin: .2rem 0 0; overflow-wrap: anywhere; } .bio-head-link { text-decoration: none; color: var(--ink); }
.bio-tabs { display: flex; gap: .3rem; overflow-x: auto; border-bottom: 1px solid var(--line); padding-bottom: 0; }
.bio-tabs a { padding: .7rem 1rem; white-space: nowrap; text-decoration: none; color: var(--muted); border-bottom: 2px solid transparent; font-weight: 600; }
.bio-tabs a:hover { color: var(--ink); } .bio-tabs a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
.bio-editor { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.bio-editor fieldset { margin: 0; min-width: 0; } .bio-editor legend { padding: 0; margin-bottom: .8rem; }
.bio-save { grid-column: 1 / -1; display: flex; gap: .8rem; align-items: center; position: sticky; bottom: 0; padding: .9rem 0; background: linear-gradient(transparent, var(--bg) 35%); }
.color-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.color-row input[type="color"] { width: 100%; height: 44px; padding: 3px; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--line-2); cursor: pointer; }
.slider-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }
input[type="range"] { width: calc(100% - 3rem); accent-color: var(--accent); vertical-align: middle; padding: 0; border: 0; background: none; box-shadow: none; }
.range-value { display: inline-block; width: 2.6rem; text-align: right; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.media-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1rem; }
.media-preview { display: block; width: 100%; max-height: 180px; object-fit: cover; border-radius: var(--radius-sm); margin-bottom: .6rem; background: var(--surface-2); }
.media-avatar { width: 120px; height: 120px; border-radius: 50%; }
.media-audio { width: 100%; margin-bottom: .6rem; }
.link-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.link-list li { display: flex; align-items: center; gap: .6rem; padding: .7rem .8rem; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--line); }
.link-list-title { flex: 1; min-width: 0; display: grid; } .link-list-title span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.link-list-actions { display: flex; gap: .2rem; } .link-list-actions .icon-btn:disabled { opacity: .3; }
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1rem; }
.stat { padding: 1.1rem 1.2rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.stat-label { margin: 0; color: var(--muted); font-size: .85rem; } .stat-value { margin: .3rem 0 0; font-size: 1.9rem; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.bars { display: flex; align-items: flex-end; gap: 3px; height: 160px; margin-top: .6rem; }
.bar { flex: 1; height: 100%; display: flex; align-items: flex-end; } .bar span { display: block; width: 100%; height: 2%; border-radius: 3px 3px 0 0; background: rgb(143 180 255 / .55); }
.bar:hover span { background: var(--accent-2); }
.bars-axis { display: flex; justify-content: space-between; margin: .4rem 0 .8rem; }
.table { width: 100%; border-collapse: collapse; margin: .6rem 0; } .table th, .table td { text-align: left; padding: .5rem .4rem; border-bottom: 1px solid var(--line); } .table th { color: var(--muted); font-weight: 600; font-size: .85rem; }
@media (max-width: 860px) { .bio-editor, .media-grid, .slider-grid { grid-template-columns: 1fr; } .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .color-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---- Zenvy calm theme (overrides the older shop styling): flat colours, white pills, no gradients ---- */
:root { --bg: #07080c; --bg-2: #0b0c11; --surface: #0f1015; --surface-2: #15161c; --surface-3: #1c1d24; --line: #1f2028; --line-2: #2a2b34; --ink: #eceef3; --ink-2: #b9bcc6; --muted: #868a97; }
.btn { background: #f2f3f6; color: #07080c; border-radius: 999px; box-shadow: none; font-weight: 600; }
.btn:hover { filter: none; background: #fff; box-shadow: none; transform: none; }
.btn-strong { background: #f2f3f6; }
.btn-secondary { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-secondary:hover { background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost { background: transparent; color: var(--ink-2); text-decoration: none; }
.btn-ghost:hover { color: var(--ink); background: transparent; }
.grad-text { background: none; color: var(--accent); -webkit-background-clip: border-box; background-clip: border-box; }
.eyebrow { font-family: var(--sans); text-transform: none; letter-spacing: 0; font-size: .85rem; font-weight: 500; color: var(--muted); }
h1, h2, h3, .h3, .h4 { font-weight: 650; letter-spacing: -.02em; }
.site-header { background: rgb(7 8 12 / .8); }
.panel, .stat { background: var(--surface); border-color: var(--line); box-shadow: none; }
.auth-aside { background: #0b0c11; }
.auth-aside::before { display: none; }
.soon-page { background: var(--bg); }
input:focus, select:focus, textarea:focus { border-color: #ff7ab6; box-shadow: 0 0 0 3px rgb(255 122 182 / .18); }
.bio-tabs a[aria-current="page"] { border-bottom-color: var(--ink); }
input[type="range"] { accent-color: #eceef3; }
.msg { box-shadow: none; }

/* landing */
.landing-page .site-header { background: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; position: absolute; left: 0; right: 0; }
.lp-stars { position: fixed; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.lp-hero { min-height: 92vh; display: grid; place-items: center; text-align: center; padding: 7rem 16px 4rem; }
.lp-mark { display: inline-flex; align-items: center; gap: .6rem; font-size: 1.05rem; font-weight: 600; color: var(--ink-2); margin: 0 0 2.2rem; }
.lp-hero h1 { font-size: clamp(2.2rem, 6.5vw, 4rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.08; margin: 0 0 .9rem; }
.lp-hero h1 em, .lp-blue { font-style: normal; color: var(--accent); }
.lp-lead { font-size: clamp(1.05rem, 2.4vw, 1.3rem); color: var(--ink-2); margin: 0 auto 2.4rem; max-width: 34ch; }
.lp-claim { width: 100%; max-width: 460px; margin: 0 auto .9rem; }
.lp-claim-field { display: flex; align-items: center; padding: .35rem .35rem .35rem 1.1rem; border-radius: 999px; background: rgb(255 255 255 / .04); border: 1px solid var(--line-2); }
.lp-claim-field:focus-within { border-color: #4a5a80; }
.lp-claim-field.has-error { border-color: var(--bad); }
.lp-claim-prefix { color: var(--muted); white-space: nowrap; }
.lp-claim-field input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink); font: 500 1rem var(--sans); padding: .6rem .1rem; outline: none; box-shadow: none; }
.lp-claim-field input:focus { box-shadow: none; }
.lp-claim .error { text-align: left; padding-left: 1.1rem; }
.lp-note { font-size: .85rem; color: var(--muted); }
.lp-scroll { margin-top: 3.5rem; font-size: .78rem; color: var(--muted); opacity: .6; }
.lp-section { max-width: 980px; margin: 0 auto; padding: 4rem 16px; }
.lp-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 3rem; align-items: center; padding: 3rem 0; border-top: 1px solid var(--line); }
.lp-feature:nth-child(even) .lp-feature-text { order: 2; }
.lp-feature h2 { font-size: 1.5rem; font-weight: 600; margin: 0 0 .5rem; display: flex; align-items: center; gap: .5rem; }
.lp-feature p { color: var(--muted); margin: 0; line-height: 1.6; max-width: 38ch; }
.lp-spark { color: var(--ink-2); flex: none; }
.lp-demo { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; display: grid; place-items: center; padding: 1.2rem; }
.lp-demo-bg { position: absolute; inset: 0; }
.lp-demo-night { background: radial-gradient(120% 80% at 20% 110%, #18306b 0%, transparent 60%), radial-gradient(80% 60% at 90% 0%, #121a33 0%, transparent 70%), #05060a; }
.lp-demo-forest { background: radial-gradient(100% 70% at 70% 100%, #0f3b33 0%, transparent 65%), linear-gradient(#0a1614, #050908); }
.lp-demo-ember { background: radial-gradient(60% 50% at 25% 30%, rgb(196 86 52 / .5), transparent 70%), radial-gradient(50% 40% at 75% 25%, rgb(214 140 60 / .35), transparent 70%), #0b0807; }
.lp-demo-dusk { background: radial-gradient(90% 70% at 50% 120%, #3a1d4a 0%, transparent 60%), #08070c; }
.lp-card { position: relative; width: 100%; max-width: 380px; padding: .9rem 1rem 1rem; border-radius: 14px; text-align: left; background: rgb(14 15 20 / .35); border: 1px solid rgb(255 255 255 / .09); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font-size: .8rem; }
.lp-card-top { display: flex; justify-content: space-between; color: var(--muted); font-size: .68rem; margin-bottom: .8rem; }
.lp-card-top b { color: var(--ink); font-weight: 600; background: rgb(255 255 255 / .06); padding: .1rem .45rem; border-radius: 6px; }
.lp-card-id { display: flex; gap: .7rem; align-items: center; }
.lp-ava { width: 46px; height: 46px; border-radius: 50%; flex: none; background: #1a1c24; border: 1px solid rgb(255 255 255 / .1); display: grid; place-items: center; font-weight: 600; }
.lp-card-name { font-size: 1.05rem; font-weight: 700; margin: 0; }
.lp-card-meta { margin: .15rem 0 0; color: var(--muted); font-size: .7rem; }
.lp-card-bio { margin: .7rem 0; color: var(--ink-2); }
.lp-dots { display: flex; gap: .3rem; margin-bottom: .8rem; } .lp-dots span { width: 20px; height: 20px; border-radius: 50%; background: rgb(255 255 255 / .07); border: 1px solid rgb(255 255 255 / .08); }
.lp-np { border-top: 1px solid rgb(255 255 255 / .08); padding-top: .6rem; display: flex; align-items: center; gap: .55rem; }
.lp-np i { width: 26px; height: 26px; border-radius: 6px; background: #22252f; flex: none; }
.lp-np span { flex: 1; } .lp-np small { display: block; color: var(--muted); font-size: .66rem; }
.lp-np b { width: 22px; height: 22px; border-radius: 50%; background: #f2f3f6; flex: none; }
.font-hand-demo { font-family: "Bradley Hand", "Segoe Print", "Comic Neue", cursive; }
.font-serif-demo { font-family: "Iowan Old Style", Palatino, Georgia, serif; }
.lp-trail { position: absolute; inset: 0; width: 100%; height: 100%; }
.lp-final { text-align: center; padding: 6rem 16px 7rem; }
.lp-final h2 { font-size: clamp(1.8rem, 4.5vw, 2.8rem); font-weight: 600; margin: 0 0 .4rem; }
.lp-final p { color: var(--ink-2); font-size: 1.15rem; margin: 0 0 2rem; }
@media (max-width: 760px) { .lp-feature { grid-template-columns: 1fr; gap: 1.4rem; } .lp-feature:nth-child(even) .lp-feature-text { order: 0; } }
.lp-np-gap { margin-top: .9rem; } .lp-dots-gap { margin: .8rem 0 0; }
.brand-name, .footer-brand { text-transform: lowercase; }
.media-cover { width: 88px; height: 88px; border-radius: 8px; }
/* auth */
.auth-simple { min-height: calc(100vh - 140px); display: grid; place-items: center; padding: 3rem 16px; }
.auth-simple .auth-card { width: 100%; max-width: 420px; padding: 2rem 1.8rem; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.auth-logo { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; text-decoration: none; color: var(--ink); margin-bottom: 1.6rem; }
.auth-simple h1 { font-size: 1.7rem; margin: 0 0 .3rem; }
.auth-alt { margin-top: 1.2rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.auth-alt summary { cursor: pointer; color: var(--muted); font-size: .9rem; }
.auth-alt[open] summary { margin-bottom: .8rem; }
.auth-switch { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); display: grid; gap: .6rem; text-align: center; color: var(--muted); font-size: .9rem; }
/* ---- dashboard shell ---- */
.dash-page .site-footer { display: none; }
.dash { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 0; min-height: calc(100vh - 64px); }
.dash-side { position: sticky; top: 64px; align-self: start; height: calc(100vh - 64px); display: flex; flex-direction: column; justify-content: space-between; padding: 1.2rem .9rem; border-right: 1px solid var(--line); }
.dash-nav { display: grid; gap: .15rem; }
.dash-nav a { display: flex; align-items: center; gap: .65rem; padding: .55rem .8rem; border-radius: 10px; color: var(--ink-2); text-decoration: none; font-size: .93rem; }
.dash-nav a.sub { padding-left: 2.3rem; font-size: .88rem; }
.dash-nav a:hover { background: var(--surface-2); color: var(--ink); }
.dash-nav a[aria-current="page"] { background: var(--surface-2); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.dash-group { margin: .9rem 0 .2rem .8rem; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.dash-share { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .7rem .8rem; border-radius: 12px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: .85rem; overflow: hidden; }
.dash-share small { display: block; color: var(--muted); font-size: .7rem; } .dash-share span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-main { padding: 1.6rem 2rem 4rem; min-width: 0; }
.dash-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1.4rem; }
.dash-head h1 { margin: .15rem 0 .2rem; font-size: 1.8rem; } .dash-head .muted { margin: 0; }
.dash-crumb { margin: 0; font-size: .82rem; color: var(--muted); }
.dash-form { display: grid; gap: 1rem; }
.dash-section { margin: 0; } .dash-section > legend { float: left; width: 100%; margin: 0; padding: 0; } .dash-section > p { clear: both; margin: .25rem 0 1rem; }
.dash-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .2rem 1rem; }
.dash-cell.wide { grid-column: 1 / -1; }
.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem .9rem; margin: .3rem 0; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-2); cursor: pointer; position: relative; }
.toggle-row strong { display: block; font-size: .92rem; font-weight: 600; } .toggle-row small { display: block; color: var(--muted); font-size: .8rem; }
.toggle-row input[type="checkbox"] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch { flex: none; width: 40px; height: 22px; border-radius: 999px; background: var(--surface-3); border: 1px solid var(--line-2); position: relative; transition: background .15s; }
.switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #9a9eaa; transition: transform .15s, background .15s; }
.toggle-row input:checked + .switch { background: #2c3a5c; border-color: #4a5a80; }
.toggle-row input:checked + .switch::after { transform: translateX(18px); background: var(--accent); }
.toggle-row input:focus-visible + .switch { outline: 2px solid var(--accent); outline-offset: 2px; }
.pills, ul.pills { list-style: none; padding: 0; margin: .3rem 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.pills li { margin: 0; } .pills label { display: inline-flex; align-items: center; padding: .5rem 1rem; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg-2); cursor: pointer; font-size: .9rem; }
.pills input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pills label:has(input:checked) { background: var(--surface-3); border-color: var(--accent); color: var(--ink); }
.pills label:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.checklist { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .4rem; }
.checklist li { padding-left: 1.6rem; position: relative; } .checklist li::before { content: ""; position: absolute; left: 0; top: .3em; width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--line-2); }
.checklist li.done::before { background: var(--accent); border-color: var(--accent); } .checklist li.done a { color: var(--muted); text-decoration: line-through; }
.media-track { display: flex; gap: .8rem; align-items: center; margin-bottom: .6rem; }
.media-cursor { width: 32px; height: 32px; image-rendering: auto; margin-bottom: .6rem; display: block; }
.media-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.link-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--surface-3); flex: none; }
.badge-grid { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: .7rem; }
.badge-tile { display: flex; align-items: center; gap: .8rem; padding: .9rem 1rem; border-radius: 14px; border: 1px solid var(--line); background: var(--bg-2); }
.badge-tile.is-owned { border-color: #3c4a6c; }
.badge-ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--surface-2); flex: none; }
.badge-ico svg { width: 20px; height: 20px; }
.badge-txt { flex: 1; min-width: 0; } .badge-txt strong { display: block; } .badge-txt small { color: var(--muted); }
.badge-state { flex: none; font-size: .75rem; padding: .25rem .6rem; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); white-space: nowrap; }
.is-owned .badge-state { color: var(--accent); border-color: #3c4a6c; }
.copy-row { display: flex; gap: .5rem; margin-bottom: 1.2rem; } .copy-row input { flex: 1; font-family: var(--mono); font-size: .85rem; }
.tpl-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; margin-bottom: 1.2rem; }
.seg { display: inline-flex; gap: .2rem; padding: .25rem; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.seg a { padding: .45rem .9rem; border-radius: 9px; text-decoration: none; color: var(--ink-2); font-size: .9rem; }
.seg a[aria-current="page"] { background: var(--surface-3); color: var(--ink); } .seg .count { font-size: .75rem; color: var(--muted); margin-left: .3rem; }
.tpl-search { display: flex; gap: .5rem; flex: 1; min-width: 240px; } .tpl-search input { flex: 1; } .tpl-search select { width: auto; }
.tpl-new { position: relative; } .tpl-new summary { list-style: none; } .tpl-new summary::-webkit-details-marker { display: none; }
.tpl-new[open] .panel { position: absolute; right: 0; top: calc(100% + .5rem); z-index: 10; width: 320px; box-shadow: 0 20px 60px rgb(0 0 0 / .5); }
.tpl-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.tpl-card { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.tpl-preview { aspect-ratio: 16 / 10; display: grid; place-items: center; background: #0b0c11; }
.tpl-mini { display: flex; gap: .55rem; align-items: center; width: 70%; padding: .7rem; border-radius: 10px; background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .1); color: #eceef3; }
.tpl-ava { width: 26px; height: 26px; border-radius: 50%; background: var(--accent); flex: none; }
.tpl-lines { display: grid; gap: .25rem; flex: 1; font-size: .78rem; } .tpl-lines i { display: block; height: 4px; border-radius: 4px; background: currentColor; opacity: .25; } .tpl-lines i + i { width: 60%; }
.tpl-body { padding: .9rem 1rem 1rem; } .tpl-name { margin: 0; font-weight: 650; } .tpl-body .small { margin: .15rem 0 .5rem; }
.tpl-tags { display: flex; flex-wrap: wrap; gap: .3rem; margin: 0 0 .7rem; } .tpl-tags span { font-size: .72rem; padding: .15rem .55rem; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); }
.tpl-actions { display: flex; gap: .4rem; align-items: center; } .tpl-actions .btn { flex: 1; }
.tpl-actions [aria-pressed="true"] { color: #f5c26b; }
.empty { text-align: center; color: var(--muted); }
@media (max-width: 900px) { .dash { grid-template-columns: minmax(0, 1fr); } .dash-side { min-width: 0; } .dash-side { position: static; height: auto; border-right: 0; border-bottom: 1px solid var(--line); } .dash-nav { grid-auto-flow: column; overflow-x: auto; grid-template-rows: auto; } .dash-nav a.sub { padding-left: .8rem; } .dash-group, .dash-share { display: none; } .dash-main { padding: 1.2rem 16px 3rem; } }
.pill-field { border: 0; padding: 0; margin: .4rem 0 .8rem; } .pill-field legend { font-size: .9rem; font-weight: 600; margin-bottom: .4rem; padding: 0; }
.pills > div { display: flex; flex-wrap: wrap; gap: .4rem; } .pills > div > div { margin: 0; }
/* ---- landing v3: floating nav, fire headline, aurora ---- */
.lp-links { display: none; }
.landing-page { background: #0a0710; }
.landing-page .site-header { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: min(1080px, calc(100% - 32px)); border-radius: 18px; background: rgb(18 13 26 / .72); border: 1px solid rgb(255 255 255 / .07); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.landing-page .header-inner { padding-inline: 1rem; }
.landing-page .lp-links { display: flex; gap: 1.6rem; margin-left: 2rem; }
.landing-page .lp-links a { color: #b9b2c6; text-decoration: none; font-size: .95rem; } .landing-page .lp-links a:hover { color: #fff; }
.lp-aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.lp-aurora span { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; animation: drift 22s ease-in-out infinite alternate; }
.lp-aurora span:nth-child(1) { width: 60vw; height: 50vh; left: -10vw; top: 10vh; background: #3b1a5c; }
.lp-aurora span:nth-child(2) { width: 50vw; height: 60vh; right: -15vw; top: -10vh; background: #2a1450; animation-duration: 28s; }
.lp-aurora span:nth-child(3) { width: 40vw; height: 40vh; left: 30vw; bottom: -15vh; background: #4a1640; animation-duration: 34s; opacity: .4; }
@keyframes drift { to { transform: translate(6vw, -4vh) rotate(25deg) scale(1.1); } }
.lp-hero2 { max-width: 1240px; margin: 0 auto; min-height: 100vh; padding: 8rem 24px 4rem; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 3.5rem; align-items: center; }
.lp-hero2 h1 { margin: 0 0 1.6rem; font-size: clamp(3.2rem, 8.5vw, 6.6rem); font-weight: 800; letter-spacing: -.06em; line-height: .9; }
.lp-hero2 h1 span { display: block; }
.fire-text { background: linear-gradient(100deg, #ff4f8b 0%, #ff8a3d 20%, #ffd166 35%, #ff4f8b 50%, #c74bff 68%, #ff4f8b 85%, #ff8a3d 100%); background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: fire 7s linear infinite; padding-bottom: .08em; filter: drop-shadow(0 6px 30px rgb(255 79 139 / .25)); }
@keyframes fire { to { background-position: -300% 0; } }
.lp-lead2 { font-size: 1.12rem; line-height: 1.65; color: #b9b2c6; max-width: 46ch; margin: 0 0 2rem; }
.lp-lead2 strong { color: #fff; font-weight: 600; }
.lp-claim2 { max-width: 480px; margin-bottom: .9rem; }
.lp-claim2-field { display: flex; align-items: center; padding: 6px 6px 6px 1.1rem; border-radius: 14px; background: rgb(255 255 255 / .04); border: 1px solid rgb(255 255 255 / .1); font-family: var(--mono); font-size: .95rem; color: #8d859c; transition: border-color .2s, background .2s; }
.lp-claim2-field:focus-within { border-color: rgb(255 255 255 / .28); background: rgb(255 255 255 / .06); } .lp-claim2-field.has-error { border-color: var(--bad); }
.lp-claim2-field input, .lp-claim2-field input:focus { flex: 1; min-width: 0; border: 0 !important; background: transparent !important; color: #fff; font: inherit; padding: .7rem .1rem; outline: none; box-shadow: none; }
.lp-claim2-field input:focus { box-shadow: none; }
.lp-claim2-btn { flex: none; border: 0; border-radius: 10px; padding: 0 1.25rem; min-height: 44px; font: 600 .95rem var(--sans); color: #0b0a10; background: #f4f2f8; cursor: pointer; transition: background .15s, transform .15s; }
.lp-claim2-btn:hover { background: #fff; } .lp-claim2-btn:active { transform: scale(.97); }
.lp-claim2 .error { margin: .5rem 0 0; }
.lp-preview { position: relative; aspect-ratio: 16 / 10.5; border-radius: 18px; overflow: hidden; border: 1px solid rgb(255 255 255 / .1); box-shadow: 0 40px 120px rgb(0 0 0 / .6), 0 0 0 1px rgb(0 0 0 / .4); display: grid; place-items: center; transform: perspective(1400px) rotateY(var(--ry, -6deg)) rotateX(var(--rx, 2deg)); transition: transform .5s cubic-bezier(.2, .8, .2, 1); will-change: transform; }
.lp-preview.is-tracking { transition: transform .12s ease-out; }
.lp-preview-card, .lp-preview-cta { transition: translate .5s cubic-bezier(.2, .8, .2, 1); translate: var(--px, 0) var(--py, 0); }
.lp-preview-cta { translate: calc(var(--px, 0px) * 1.6) calc(var(--py, 0px) * 1.6); }
.lp-preview-bg { position: absolute; inset: 0; background: #08070b; overflow: hidden; }
.lp-preview-bg i { position: absolute; border-radius: 50%; filter: blur(50px); animation: drift 16s ease-in-out infinite alternate; }
.lp-preview-bg i:nth-child(1) { width: 70%; height: 60%; left: -10%; bottom: -20%; background: #1c2b6b; }
.lp-preview-bg i:nth-child(2) { width: 50%; height: 50%; right: -10%; top: -15%; background: #4a1a52; animation-duration: 20s; }
.lp-preview-bg i:nth-child(3) { width: 30%; height: 30%; left: 40%; top: 40%; background: #ff4f8b; opacity: .25; animation-duration: 12s; }
.lp-preview-card { position: relative; width: 74%; padding: 1rem 1.1rem 1.1rem; border-radius: 16px; background: rgb(14 15 20 / .35); border: 1px solid rgb(255 255 255 / .12); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); font-size: .82rem; color: #eceef3; }
.lp-pc-top { display: flex; justify-content: space-between; font-size: .7rem; color: #9a9eaa; margin-bottom: .9rem; } .lp-pc-top b { color: #fff; background: rgb(255 255 255 / .08); padding: .1rem .5rem; border-radius: 6px; margin-right: .5rem; font-weight: 600; }
.lp-pc-id { display: flex; gap: .8rem; align-items: center; } .lp-pc-ava img { display: block; width: 56px; height: 56px; border-radius: 50%; }
.lp-pc-name { margin: 0; font-size: 1.25rem; font-weight: 700; } .lp-pc-name em { font-style: normal; font-size: .7rem; color: #8fb4ff; margin-left: .3rem; }
.lp-pc-meta { margin: .1rem 0 0; color: #9a9eaa; font-size: .72rem; } .lp-pc-bio { margin: .8rem 0; }
.lp-pc-icons { display: flex; gap: .35rem; margin-bottom: .9rem; } .lp-pc-icons span { width: 24px; height: 24px; border-radius: 50%; background: rgb(255 255 255 / .08); border: 1px solid rgb(255 255 255 / .1); }
.lp-pc-np { display: flex; align-items: center; gap: .6rem; border-top: 1px solid rgb(255 255 255 / .1); padding-top: .7rem; }
.lp-pc-np i { width: 30px; height: 30px; border-radius: 7px; background: linear-gradient(135deg, #ff4f8b, #6b3bff); } .lp-pc-np span { flex: 1; } .lp-pc-np small { display: block; color: #9a9eaa; font-size: .68rem; }
.lp-pc-np b { width: 24px; height: 24px; border-radius: 50%; background: #f2f3f6; }
.lp-preview-cta { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: .7rem; align-items: center; padding: .45rem .5rem .45rem .9rem; border-radius: 12px; background: rgb(12 13 18 / .85); border: 1px solid rgb(255 255 255 / .1); font-size: .72rem; color: #cfd2da; white-space: nowrap; }
.lp-preview-cta b { padding: .3rem .7rem; border-radius: 999px; background: #f2f3f6; color: #07080c; }
@media (max-width: 960px) { .lp-hero2 { grid-template-columns: 1fr; padding-top: 7rem; min-height: 0; } .lp-preview { transform: none; } .landing-page .lp-links { display: none; } }
@media (prefers-reduced-motion: reduce) { .fire-text, .lp-aurora span, .lp-preview-bg i { animation: none; } }
.pills label { white-space: nowrap; } .pill-field legend { float: none; width: auto; }
.dash-cell .field { margin-bottom: .6rem; }
/* leaderboard */
.lb { max-width: 760px; } .lb h1 { font-size: 2.2rem; margin: 0 0 .3rem; } .lb .seg { margin: 1rem 0 1.2rem; }
.lb-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.lb-list li { display: flex; align-items: center; gap: .9rem; padding: .7rem 1rem; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.lb-rank { width: 2rem; text-align: center; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; } .lb-rank.top { color: #ffd166; }
.lb-ava { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; } .lb-ava-empty { display: grid; place-items: center; background: var(--surface-3); font-weight: 600; }
.lb-name { flex: 1; min-width: 0; text-decoration: none; color: var(--ink); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .lb-name span { color: var(--muted); font-weight: 400; font-size: .88rem; }
.lb-stat { color: var(--ink-2); font-size: .9rem; font-variant-numeric: tabular-nums; }
/* customize: live preview, hex inputs, swatches */
.customize { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 1.2rem; align-items: start; }
.preview-pane { position: sticky; top: 80px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-2); background: #000; }
.preview-bar { display: flex; justify-content: space-between; padding: .55rem .8rem; font-size: .78rem; color: var(--muted); background: var(--surface); border-bottom: 1px solid var(--line); }
.preview-bar a { color: var(--ink-2); text-decoration: none; }
.preview-frame { display: block; width: 100%; height: calc(100vh - 150px); min-height: 520px; border: 0; background: #000; }
.sec-ico { display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: .55rem; border-radius: 8px; background: var(--surface-3); color: var(--accent); vertical-align: -6px; }
.color-row input[type="color"], .dash-cell input[type="color"] { width: 44px; height: 40px; padding: 3px; border-radius: 10px; vertical-align: middle; cursor: pointer; background: var(--surface-2); border: 1px solid var(--line-2); }
.hex-input { width: calc(100% - 54px); margin-left: 8px; font-family: var(--mono); font-size: .9rem; text-transform: lowercase; vertical-align: middle; }
.save-state { margin-left: .4rem; }
/* background swatches */
label:has(> input[name="background_preset"]) { flex-direction: column; gap: .35rem; padding: .45rem; font-size: .8rem; }
label:has(> input[name="background_preset"])::before { content: ""; display: block; width: 88px; height: 54px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--surface-3); }
label:has(> input[value="aurora"][name="background_preset"])::before { background: radial-gradient(60% 50% at 30% 40%, #12a37c, transparent), radial-gradient(50% 60% at 75% 60%, #3a5bd9, transparent), #040610; }
label:has(> input[value="ocean"][name="background_preset"])::before { background: radial-gradient(80% 60% at 30% 100%, #0b3d91, transparent), radial-gradient(50% 50% at 90% 10%, #0f6e8c, transparent), #02070f; }
label:has(> input[value="sunset"][name="background_preset"])::before { background: radial-gradient(70% 50% at 40% 100%, #ff6b3d, transparent), radial-gradient(50% 50% at 90% 70%, #e0336f, transparent), linear-gradient(#4a1e78, #120610); }
label:has(> input[value="nebula"][name="background_preset"])::before { background: radial-gradient(45% 50% at 35% 40%, #8a2be2, transparent), radial-gradient(35% 40% at 80% 80%, #ff3d9a, transparent), #06040d; }
label:has(> input[value="forest"][name="background_preset"])::before { background: radial-gradient(80% 50% at 40% 110%, #0f5a43, transparent), linear-gradient(#030806, #071510); }
label:has(> input[value="grid"][name="background_preset"])::before { background: linear-gradient(transparent 55%, rgb(255 70 200 / .4) 56%, transparent 58%), repeating-linear-gradient(90deg, transparent 0 10px, rgb(255 70 200 / .35) 10px 11px), radial-gradient(30% 40% at 50% 35%, #ff6a3d, transparent), linear-gradient(#0a0414 40%, #1a0630); }
label:has(> input[value="ember"][name="background_preset"])::before { background: radial-gradient(70% 50% at 50% 110%, #d4421f, transparent), radial-gradient(40% 30% at 15% 100%, #ff8a2a, transparent), #0a0504; }
label:has(> input[value="noir"][name="background_preset"])::before { background: radial-gradient(120% 90% at 50% 0%, #2a2a30, #050506 70%); }
@media (max-width: 1200px) { .customize { grid-template-columns: 1fr; } .preview-pane { position: static; } .preview-frame { height: 560px; } }
.quick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: .8rem; margin-bottom: 1rem; }
.quick { display: grid; gap: .25rem; padding: 1rem 1.1rem; border-radius: 14px; text-decoration: none; color: var(--ink); background: linear-gradient(135deg, rgb(143 180 255 / .08), transparent 60%), var(--surface); border: 1px solid var(--line); transition: border-color .15s, transform .15s; }
.quick:hover { border-color: #3c4a6c; transform: translateY(-1px); } .quick span { color: var(--muted); font-size: .85rem; }
.session-list { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .5rem; } .session-list li { display: flex; flex-wrap: wrap; gap: .3rem .6rem; align-items: center; padding: .7rem .9rem; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); } .session-list .small { width: 100%; }
.badge-pill { font-size: .72rem; padding: .1rem .5rem; border-radius: 999px; background: #22314f; color: var(--accent); }
.three-col { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1rem; }
.bd-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.bd-list li { display: grid; grid-template-columns: minmax(0, 1fr) 80px 2.5rem; gap: .6rem; align-items: center; font-size: .88rem; }
.bd-list li > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .bd-list b { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.bd-bar { height: 6px; border-radius: 6px; background: var(--surface-3); overflow: hidden; display: flex; align-items: stretch; }
.bd-fill { display: block; width: 0; background: var(--accent); border-radius: 6px; }
.inline-form { display: inline; }
@media (max-width: 900px) { .three-col { grid-template-columns: 1fr; } }
/* Spotify search dropdown */
.sp-search { position: relative; margin-bottom: 1rem; }
.sp-field { display: flex; align-items: center; gap: .6rem; padding: 0 .9rem; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line-2); transition: border-color .15s, box-shadow .15s; }
.sp-field:focus-within { border-color: #1ed760; box-shadow: 0 0 0 3px rgb(30 215 96 / .15); }
.sp-field input { flex: 1; border: 0; background: transparent; padding: .8rem 0; box-shadow: none; outline: none; }
.sp-field input:focus { box-shadow: none; }
.is-loading .sp-field::after { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line-2); border-top-color: #1ed760; animation: sp-spin .7s linear infinite; }
@keyframes sp-spin { to { transform: rotate(360deg); } }
.sp-list { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% - .6rem); margin: 0; padding: .35rem; list-style: none; border-radius: 14px; background: #121318; border: 1px solid var(--line-2); box-shadow: 0 24px 60px rgb(0 0 0 / .55);
  max-height: 0; overflow: hidden; opacity: 0; transform: translateY(-6px) scale(.98); transform-origin: top; pointer-events: none;
  transition: max-height .32s cubic-bezier(.2, .8, .2, 1), opacity .2s ease, transform .25s cubic-bezier(.2, .8, .2, 1); }
.sp-search.is-open .sp-list { max-height: 440px; overflow-y: auto; opacity: 1; transform: none; pointer-events: auto; }
.sp-item { display: flex; align-items: center; gap: .75rem; padding: .5rem .55rem; border-radius: 10px; cursor: pointer; animation: sp-in .3s ease both; }
.sp-item:hover, .sp-item.is-active { background: var(--surface-3); }
.sp-item img { width: 44px; height: 44px; border-radius: 6px; object-fit: cover; flex: none; }
.sp-item span { min-width: 0; display: grid; } .sp-item b, .sp-item small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sp-item b { font-weight: 600; } .sp-item small { color: var(--muted); }
.sp-item span { flex: 1; }
.sp-src { flex: none; font-style: normal; font-size: .7rem; font-weight: 600; padding: .15rem .45rem; border-radius: 99px; background: var(--surface-3); color: var(--muted); }
.sp-src-spotify { color: #1ed760; } .sp-src-apple { color: #fa5a6e; } .sp-src-deezer { color: #a238ff; }
.sp-field:focus-within { border-color: var(--accent, #8b5cf6); box-shadow: 0 0 0 3px rgb(139 92 246 / .15); }
.sp-empty { padding: .8rem; color: var(--muted); text-align: center; }
@keyframes sp-in { from { opacity: 0; transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) { .sp-list, .sp-item { transition: none; animation: none; } }
.btn-discord { background: #5865f2; color: #fff; gap: .6rem; } .btn-discord:hover { background: #4752c4; color: #fff; }
.auth-or { display: flex; align-items: center; gap: .8rem; margin: 1.1rem 0; color: var(--muted); font-size: .85rem; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }

/* cursor picker: a tile per cursor, animated previews for the moving ones */
.cursor-field { border: 0; padding: 0; margin: 0; }
.cursor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: .6rem; margin-top: .4rem; }
.cursor-tile { position: relative; display: grid; gap: .35rem; padding: .4rem; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg-2); cursor: pointer; font-size: .8rem; text-align: center; transition: border-color .15s, transform .15s; }
.cursor-tile:hover { transform: translateY(-2px); }
.cursor-tile input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cursor-tile img { width: 100%; height: auto; border-radius: 8px; }
.cursor-tile em { font-style: normal; font-size: .65rem; padding: .05rem .35rem; border-radius: 99px; background: rgb(139 92 246 / .2); color: #c4b5fd; }
.cursor-tile:has(input:checked) { border-color: #8b5cf6; box-shadow: 0 0 0 2px rgb(139 92 246 / .35); }
.cursor-tile:has(input:focus-visible) { outline: 2px solid #8b5cf6; outline-offset: 2px; }

/* rotating headline word */
.lp-rotate { display: block; height: 1.12em; overflow: hidden; color: #c9b8ff; margin-bottom: -.12em; }
.lp-rotate-word { display: block; white-space: nowrap; }
.lp-rotate-word.is-out { animation: lp-out .35s cubic-bezier(.4, 0, 1, 1) forwards; }
.lp-rotate-word.is-in { animation: lp-in .45s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes lp-out { to { transform: translateY(-105%); opacity: 0; } }
@keyframes lp-in { from { transform: translateY(105%); opacity: 0; } }
.lp-num { font: 500 .8rem var(--mono); color: #7d7590; margin: 0 0 .6rem !important; letter-spacing: .08em; }
.lp-note { letter-spacing: .01em; }
@media (prefers-reduced-motion: reduce) { .lp-rotate-word.is-out, .lp-rotate-word.is-in { animation: none; } }

/* staff overview: sign-ups per day */
.growth-bars { display: flex; align-items: flex-end; gap: 6px; height: 140px; margin: 1rem 0 .4rem; }
.growth-bar { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; }
.growth-bar i { display: block; width: 100%; min-height: 3px; border-radius: 6px 6px 2px 2px; background: linear-gradient(#b9a4ff, #6f5bd6); }
.growth-bar small { font-size: .7rem; opacity: .6; }
.lp-try { margin: .6rem 0 0; font-size: .9rem; }
.lp-try a { color: inherit; opacity: .8; text-underline-offset: 3px; }
.lp-try a:hover { opacity: 1; }
.share-panel .copy-row { margin: .4rem 0; }
/* share: story card + milestones */
.story-row { display: flex; gap: 1rem; align-items: center; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.story-thumb { width: 90px; height: 160px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); flex: none; background: var(--surface); }
.story-title { margin: 0 0 .2rem; font-weight: 700; }
.story-row .small { margin: 0 0 .6rem; }
.milestone-head { margin: 0 0 .6rem; }
.milestone-bar { height: 10px; border-radius: 99px; background: var(--line); overflow: hidden; margin-bottom: .6rem; }
.milestone-bar span { display: block; height: 100%; width: 2%; border-radius: inherit; background: var(--accent); }
/* explore */
.ex { max-width: 980px; } .ex h1 { font-size: 2.2rem; margin: 0 0 .3rem; }
.ex-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 1rem; margin-top: 1.4rem; }
.ex-card { display: block; border-radius: 16px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: inherit; transition: transform .2s, border-color .2s; }
.ex-card:hover, .ex-card:focus-visible { transform: translateY(-3px); border-color: var(--accent); }
.ex-card img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; }
.ex-card p { margin: 0; padding: .7rem .9rem; font-weight: 600; } .ex-card p span { opacity: .6; font-weight: 400; }
@media (prefers-reduced-motion: reduce) { .ex-card { transition: none; } .ex-card:hover { transform: none; } }

/* ===== landing v4: hero + phone, vibes, steps, bento ===== */
.landing-page { background: #0b0912; color-scheme: dark; }
.lv-glow { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.lv-glow span { position: absolute; border-radius: 50%; filter: blur(110px); opacity: .5; will-change: transform; }
.lv-glow span:nth-child(1) { width: 55vw; height: 55vw; left: -15vw; top: -10vw; background: radial-gradient(circle, #6d28d9, transparent 70%); }
.lv-glow span:nth-child(2) { width: 45vw; height: 45vw; right: -12vw; top: 20vh; background: radial-gradient(circle, #db2777, transparent 70%); opacity: .32; }
.lv-glow span:nth-child(3) { width: 40vw; height: 40vw; left: 25vw; bottom: -20vw; background: radial-gradient(circle, #0891b2, transparent 70%); opacity: .28; }
.lv-hero { max-width: 1200px; margin: 0 auto; min-height: 100vh; min-height: 100svh; padding: 7.5rem 24px 3rem; display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.lv-kicker { display: inline-flex; align-items: center; gap: .55rem; margin: 0 0 1.4rem; padding: .4rem .85rem; border-radius: 999px; background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .09); color: #c9c2d6; font-size: .85rem; font-weight: 600; }
.lv-dot { width: 8px; height: 8px; border-radius: 50%; background: #ff7ab6; box-shadow: 0 0 12px #ff7ab6; }
.lv-hero h1 { margin: 0 0 1.3rem; font-size: clamp(2.6rem, 6.4vw, 5rem); font-weight: 800; letter-spacing: -.045em; line-height: .98; color: #f1eef6; }
.lv-hl { color: #ff7ab6; }
.lv-lead { font-size: 1.1rem; line-height: 1.6; color: #a9a2b8; max-width: 44ch; margin: 0 0 1.8rem; }
.lv-lead strong { color: #f1eef6; }
.lv-claim { max-width: 500px; margin-bottom: 1.1rem; }
.lv-claim-field { display: flex; align-items: center; padding: 6px 6px 6px 1.1rem; border-radius: 16px; background: #15111d; border: 1px solid rgb(255 255 255 / .1); font-family: var(--mono); font-size: .95rem; color: #857d95; transition: border-color .2s; }
.lv-claim-field:focus-within { border-color: #ff7ab6; } .lv-claim-field.has-error { border-color: var(--bad); }
.lv-claim-field input, .lv-claim-field input:focus { flex: 1; min-width: 0; border: 0 !important; background: transparent !important; color: #fff; font: inherit; padding: .75rem .1rem; outline: none; box-shadow: none; }
.lv-claim-btn { min-height: 48px; padding: 0 1.3rem; border: 0; border-radius: 12px; background: #ff7ab6; color: #0b0912; font: 700 1rem var(--sans); cursor: pointer; transition: transform .15s ease-out, filter .15s; white-space: nowrap; }
.lv-claim-btn:hover { filter: brightness(1.08); } .lv-claim-btn:active { transform: scale(.97); }
.lv-claim-btn:focus-visible, .lv-vibes a:focus-visible, .lv-btn:focus-visible, .lv-sticky:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.lv-vibes { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; max-width: 520px; }
.lv-vibes span { color: #857d95; font-size: .88rem; margin-right: .2rem; }
.lv-vibes a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 .85rem; border-radius: 999px; font-size: .88rem; font-weight: 600; color: #f1eef6; text-decoration: none; border: 1px solid rgb(255 255 255 / .12); background: rgb(255 255 255 / .04); transition: transform .15s ease-out, border-color .15s; }
.lv-vibes a:hover { transform: translateY(-2px); border-color: rgb(255 255 255 / .35); }
.lv-vibes .v-y2k { box-shadow: inset 0 0 0 1px #ff5fd255; } .lv-vibes .v-da { box-shadow: inset 0 0 0 1px #c9a86a55; } .lv-vibes .v-phonk { box-shadow: inset 0 0 0 1px #ff335555; }
.lv-vibes .v-cottage { box-shadow: inset 0 0 0 1px #a8d67255; } .lv-vibes .v-kpop { box-shadow: inset 0 0 0 1px #ff5fd255; } .lv-vibes .v-lofi { box-shadow: inset 0 0 0 1px #9ad0ff55; }

/* phone mockup cycling through four pages */
.lv-stage { position: relative; display: grid; place-items: center; }
.lv-phone { width: min(320px, 78vw); aspect-ratio: 9 / 19; border-radius: 46px; padding: 12px; background: #111015; border: 1px solid rgb(255 255 255 / .12); box-shadow: 0 40px 90px -20px rgb(120 60 220 / .45), 0 0 0 6px #1b1922; transform: rotate(-4deg); }
.lv-screen { position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: #08070c; }
.lv-slide { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; padding: 3.2rem 1.2rem 1rem; text-align: center; opacity: 0; animation: lv-cycle 16s infinite; }
.lv-slide.s1 { background: radial-gradient(120% 60% at 20% 15%, #12a37c, transparent 60%), radial-gradient(90% 60% at 90% 55%, #7b3fd1, transparent 60%), #040610; animation-delay: 0s; }
.lv-slide.s2 { background: radial-gradient(120% 60% at 15% 20%, #ff6b3d, transparent 60%), radial-gradient(90% 60% at 90% 60%, #e0336f, transparent 60%), #120610; animation-delay: 4s; }
.lv-slide.s3 { background: repeating-linear-gradient(0deg, rgb(255 70 200 / .18) 0 1px, transparent 1px 22px), repeating-linear-gradient(90deg, rgb(255 70 200 / .18) 0 1px, transparent 1px 22px), radial-gradient(100% 50% at 50% 100%, #ff6a3d, transparent 70%), #0a0414; animation-delay: 8s; }
.lv-slide.s4 { background: radial-gradient(120% 60% at 20% 15%, #0f5a43, transparent 60%), radial-gradient(90% 60% at 85% 70%, #6fd3a8, transparent 65%), #030806; animation-delay: 12s; }
@keyframes lv-cycle { 0% { opacity: 0; transform: scale(1.04); } 4%, 25% { opacity: 1; transform: scale(1); } 29%, 100% { opacity: 0; } }
.lv-slide .ava { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; font: 800 1.8rem var(--sans); font-style: normal; color: #fff; background: rgb(0 0 0 / .35); border: 3px solid #fff; margin-bottom: .8rem; }
.s1 .ava { border-color: #6ef0d0; } .s2 .ava { border-color: #ff5fd2; } .s3 .ava { border-color: #39ff14; } .s4 .ava { border-color: #a8d672; }
.lv-slide b { font-size: 1.4rem; color: #fff; } .lv-slide em { font-style: normal; font-size: .82rem; color: rgb(255 255 255 / .8); margin-top: .2rem; }
.lv-slide u { text-decoration: none; font-size: .72rem; color: rgb(255 255 255 / .55); margin-top: .4rem; font-family: var(--mono); }
.lv-slide p { width: 100%; margin: 1.1rem 0 0; display: grid; gap: 8px; }
.lv-slide p span { height: 38px; border-radius: 12px; background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .14); }
.lv-slide q { quotes: none; margin-top: auto; width: 100%; display: flex; align-items: center; gap: .5rem; padding: .6rem .8rem; border-radius: 14px; background: rgb(0 0 0 / .35); font-size: .72rem; color: #fff; text-align: left; }
.lv-slide q i { width: 8px; height: 8px; border-radius: 50%; background: #ff7ab6; flex: none; }
.lv-chip { position: absolute; padding: .5rem .85rem; border-radius: 999px; background: #17131f; border: 1px solid rgb(255 255 255 / .12); color: #f1eef6; font-size: .82rem; font-weight: 700; box-shadow: 0 10px 30px rgb(0 0 0 / .4); }
.lv-chip.c1 { left: 4%; top: 22%; } .lv-chip.c2 { right: 4%; bottom: 20%; color: #ffb86b; }

/* steps */
.lv-h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); letter-spacing: -.03em; line-height: 1.08; color: #f1eef6; margin: 0 0 2rem; max-width: 22ch; }
.lv-steps, .lv-bento { max-width: 1200px; margin: 0 auto; padding: 4rem 24px; }
.lv-steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lv-steps li { padding: 1.4rem; border-radius: 22px; background: #13101a; border: 1px solid rgb(255 255 255 / .07); }
.lv-steps li b { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: #ff7ab6; color: #0b0912; font-weight: 800; }
.lv-steps h3 { margin: 1rem 0 .3rem; font-size: 1.15rem; color: #f1eef6; } .lv-steps p { margin: 0; color: #a9a2b8; }

/* bento */
.lv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; grid-auto-flow: dense; }
.lv-cell { position: relative; overflow: hidden; padding: 1.4rem; border-radius: 22px; background: #13101a; border: 1px solid rgb(255 255 255 / .07); transition: transform .2s ease-out, border-color .2s; }
.lv-cell:hover { transform: translateY(-3px); border-color: rgb(255 255 255 / .16); }
.lv-cell h3 { margin: 0 0 .4rem; font-size: 1.12rem; color: #f1eef6; letter-spacing: -.01em; } .lv-cell p { margin: 0; color: #a9a2b8; font-size: .95rem; line-height: 1.5; }
.lv-cell.big { grid-column: span 2; grid-row: span 2; background: radial-gradient(100% 70% at 100% 100%, rgb(123 63 209 / .35), transparent 60%), #13101a; }
.lv-cell.wide { grid-column: span 2; } .lv-cell.full { grid-column: 1 / -1; }
.lv-fonts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1rem; }
.lv-fonts span { padding: .5rem .9rem; border-radius: 12px; background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .08); color: #f1eef6; }
.lv-fonts .f-serif { font-family: Georgia, serif; font-style: italic; } .lv-fonts .f-mono { font-family: var(--mono); }
.lv-fonts .f-round { font-family: ui-rounded, "SF Pro Rounded", var(--sans); } .lv-fonts .f-glow { color: #ffd1f0; text-shadow: 0 0 12px #ff5fd2; }
.lv-cell.music { grid-column: span 2; background: radial-gradient(90% 90% at 100% 0%, rgb(255 122 182 / .16), transparent 60%), #13101a; }
.lv-swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 1.4rem; }
.lv-swatches i { aspect-ratio: 1; border-radius: 16px; border: 1px solid rgb(255 255 255 / .1); }
.w1 { background: radial-gradient(circle at 25% 25%, #12a37c, transparent 60%), radial-gradient(circle at 80% 80%, #7b3fd1, transparent 60%), #040610; }
.w2 { background: radial-gradient(circle at 30% 30%, #0f6e8c, transparent 60%), radial-gradient(circle at 80% 70%, #1d9bb8, transparent 60%), #02070f; }
.w3 { background: radial-gradient(circle at 25% 30%, #ff6b3d, transparent 60%), radial-gradient(circle at 80% 70%, #e0336f, transparent 60%), #120610; }
.w4 { background: radial-gradient(circle at 25% 30%, #8a2be2, transparent 60%), radial-gradient(circle at 80% 70%, #ff3d9a, transparent 60%), #06040d; }
.w5 { background: radial-gradient(circle at 30% 30%, #0f5a43, transparent 60%), radial-gradient(circle at 80% 80%, #6fd3a8, transparent 65%), #030806; }
.w6 { background: repeating-linear-gradient(0deg, rgb(255 70 200 / .3) 0 1px, transparent 1px 12px), repeating-linear-gradient(90deg, rgb(255 70 200 / .3) 0 1px, transparent 1px 12px), #0a0414; }
.w7 { background: radial-gradient(circle at 30% 70%, #d4421f, transparent 60%), radial-gradient(circle at 75% 30%, #ff8a2a, transparent 55%), #0a0504; }
.w8 { background: radial-gradient(circle at 40% 40%, #3c3c3c, transparent 60%), #050505; }
.lv-eq { display: flex; align-items: flex-end; gap: 5px; height: 46px; margin-top: 1.2rem; }
.lv-eq i { width: 8px; height: 100%; border-radius: 4px; background: #ff7ab6; transform-origin: bottom; animation: lv-eq 1.1s ease-in-out infinite alternate; }
.lv-eq i:nth-child(2) { animation-delay: -.3s; } .lv-eq i:nth-child(3) { animation-delay: -.7s; } .lv-eq i:nth-child(4) { animation-delay: -.1s; }
.lv-eq i:nth-child(5) { animation-delay: -.5s; } .lv-eq i:nth-child(6) { animation-delay: -.9s; } .lv-eq i:nth-child(7) { animation-delay: -.2s; }
@keyframes lv-eq { from { transform: scaleY(.2); } to { transform: scaleY(1); } }
.lv-bars { display: flex; align-items: flex-end; gap: 6px; height: 60px; margin-top: 1.2rem; }
.lv-bars i { flex: 1; border-radius: 5px 5px 2px 2px; background: linear-gradient(#ff7ab6, #b99bff); opacity: .85; }
.lv-bars i:nth-child(1) { height: 20%; } .lv-bars i:nth-child(2) { height: 35%; } .lv-bars i:nth-child(3) { height: 28%; } .lv-bars i:nth-child(4) { height: 50%; }
.lv-bars i:nth-child(5) { height: 42%; } .lv-bars i:nth-child(6) { height: 60%; } .lv-bars i:nth-child(7) { height: 55%; } .lv-bars i:nth-child(8) { height: 72%; }
.lv-bars i:nth-child(9) { height: 66%; } .lv-bars i:nth-child(10) { height: 84%; } .lv-bars i:nth-child(11) { height: 78%; } .lv-bars i:nth-child(12) { height: 100%; }
.lv-trust { margin: 2rem 0 0; color: #857d95; font-size: .95rem; }
.lv-final { padding-bottom: 7rem; } .lv-btn { background: #ff7ab6; color: #0b0912; border: 0; min-height: 52px; }
.lv-sub { margin-top: 1rem; } .lv-sub a { color: #a9a2b8; }
.lv-sticky { display: none; }

@media (max-width: 960px) {
  .lv-hero { grid-template-columns: 1fr; padding-top: 6.5rem; gap: 2.5rem; text-align: left; }
  .lv-stage { order: 2; } .lv-phone { width: min(270px, 70vw); }
  .lv-grid { grid-template-columns: repeat(2, 1fr); }
  .lv-steps ol { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .lv-claim-field { flex-wrap: wrap; padding: 6px; } .lv-claim-field > span { padding-left: .6rem; }
  .lv-claim-btn { width: 100%; margin-top: 6px; }
  .lv-grid { grid-template-columns: 1fr; } .lv-cell.big, .lv-cell.wide, .lv-cell.music, .lv-cell.full { grid-column: auto; grid-row: auto; }
  .lv-chip { display: none; }
  .lv-sticky { display: flex; justify-content: center; align-items: center; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 40; min-height: 52px; border-radius: 16px; background: #ff7ab6; color: #0b0912; font-weight: 800; text-decoration: none; box-shadow: 0 12px 30px rgb(0 0 0 / .5); }
}
@media (prefers-reduced-motion: reduce) {
  .lv-slide { animation: none; } .lv-slide.s1 { opacity: 1; }
  .lv-eq i { animation: none; transform: scaleY(.6); }
  .lv-cell, .lv-vibes a, .lv-claim-btn { transition: none; }
}

/* bio-mode mobile menu */
.bio-nav-toggle { display: none; }
@media (max-width: 960px) {
  .site-header { position: relative; }
  .bio-nav-toggle { display: inline-flex; order: 3; margin-left: .3rem; }
  .lp-links.open, .landing-page .lp-links.open { display: flex; flex-direction: column; gap: 0; position: absolute; top: calc(100% + 8px); left: 0; right: 0; margin: 0; padding: .4rem 1rem;
    background: #15111d; border: 1px solid rgb(255 255 255 / .1); border-radius: 16px; box-shadow: 0 20px 40px rgb(0 0 0 / .5); z-index: 50; }
  .lp-links.open a, .landing-page .lp-links.open a { display: flex; align-items: center; min-height: 48px; color: #f1eef6; text-decoration: none; border-bottom: 1px solid rgb(255 255 255 / .07); font-size: 1rem; }
  .lp-links.open a:last-child { border-bottom: 0; }
}

/* hero dashboard card */
.lv-dash { position: absolute; left: -10%; top: 30%; width: 190px; padding: .9rem 1rem; border-radius: 18px; background: #16121e; border: 1px solid rgb(255 255 255 / .1); box-shadow: 0 24px 50px rgb(0 0 0 / .5); transform: rotate(3deg); }
.lv-dash p { margin: 0; }
.lv-dash-top { display: flex; justify-content: space-between; font-size: .72rem; color: #857d95; } .lv-dash-top b { color: #ff7ab6; }
.lv-dash-num { font-size: 1.7rem; font-weight: 800; color: #f1eef6; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.lv-dash-bars { display: flex; align-items: flex-end; gap: 5px; height: 42px; margin: .4rem 0 .6rem; }
.lv-dash-bars i { flex: 1; border-radius: 4px 4px 1px 1px; background: #ff7ab6; opacity: .85; }
.lv-dash-bars i:nth-child(1) { height: 30%; } .lv-dash-bars i:nth-child(2) { height: 45%; } .lv-dash-bars i:nth-child(3) { height: 38%; } .lv-dash-bars i:nth-child(4) { height: 62%; }
.lv-dash-bars i:nth-child(5) { height: 55%; } .lv-dash-bars i:nth-child(6) { height: 80%; } .lv-dash-bars i:nth-child(7) { height: 100%; }
.lv-dash-row { display: flex; justify-content: space-between; font-size: .75rem; color: #a9a2b8; padding-top: .3rem; border-top: 1px solid rgb(255 255 255 / .06); margin-top: .3rem !important; }
/* faq */
.lv-faq { max-width: 820px; margin: 0 auto; padding: 4rem 24px 2rem; }
.lv-faq details { border-radius: 16px; background: #13101a; border: 1px solid rgb(255 255 255 / .07); margin-bottom: 10px; }
.lv-faq details[open] { border-color: rgb(255 122 182 / .4); }
.lv-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 56px; padding: 0 1.2rem; cursor: pointer; list-style: none; font-weight: 700; color: #f1eef6; }
.lv-faq summary::-webkit-details-marker { display: none; }
.lv-faq summary::after { content: "+"; font-size: 1.4rem; color: #ff7ab6; transition: transform .2s ease-out; }
.lv-faq details[open] summary::after { transform: rotate(45deg); }
.lv-faq summary:focus-visible { outline: 3px solid #fff; outline-offset: 2px; border-radius: 16px; }
.lv-faq details p { margin: 0; padding: 0 1.2rem 1.1rem; color: #a9a2b8; line-height: 1.6; }
/* leaderboard top 3 */
.lb-list li.lb-top { border-width: 1px; }
.lb-list li.lb-1 { background: linear-gradient(90deg, rgb(255 209 102 / .14), transparent 60%), var(--surface); border-color: rgb(255 209 102 / .45); }
.lb-list li.lb-2 { background: linear-gradient(90deg, rgb(200 210 230 / .12), transparent 60%), var(--surface); border-color: rgb(200 210 230 / .35); }
.lb-list li.lb-3 { background: linear-gradient(90deg, rgb(214 140 90 / .14), transparent 60%), var(--surface); border-color: rgb(214 140 90 / .4); }
.lb-2 .lb-rank { color: #d4dbe8; } .lb-3 .lb-rank { color: #e0a070; }
.lb-badge { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; font-style: normal; font-size: .62rem; font-weight: 800; vertical-align: 2px; }
.lb-badge-verified { background: #5fb3ff; color: #06121f; } .lb-badge-og { background: #ffb86b; color: #1b0f02; }
@media (max-width: 560px) { .lv-dash { display: none; } }

/* hero phone shows a real page */
.lv-phone { display: block; }
.lv-phone:focus-visible { outline: 3px solid #ff7ab6; outline-offset: 6px; }
.lv-screen img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* narrow phones: keep header buttons on one line */
.bio-actions .btn { white-space: nowrap; }
.lp-links .nav-login, .lp-links.open .nav-login, .landing-page .lp-links.open .nav-login { display: none; }
@media (max-width: 400px) {
  .bio-actions .btn-ghost { display: none; }
  .lp-links.open .nav-login, .landing-page .lp-links.open .nav-login { display: flex; }
}

/* site-wide: soft pink/purple glow behind every page (the homepage has its own) */
body:not(.landing-page):not(.bio-page) { background: radial-gradient(60vw 50vh at 10% -10%, rgb(109 40 217 / .22), transparent 70%),
  radial-gradient(50vw 45vh at 100% 10%, rgb(219 39 119 / .12), transparent 70%), var(--bg); background-attachment: fixed; }
.site-header { background: rgb(18 13 26 / .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }

/* explore: wall of phone previews */
.ex-kicker { margin: 0 0 .3rem; color: var(--accent); font: 600 .8rem var(--mono); letter-spacing: .04em; }
.ex-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(46%, 190px), 1fr)); gap: 22px 18px; margin-top: 1.6rem; }
.ex-phone { display: block; text-decoration: none; color: inherit; }
.ex-frame { position: relative; display: block; aspect-ratio: 9 / 16; padding: 6px; border-radius: 26px; background: #111015; border: 1px solid rgb(255 255 255 / .12);
  box-shadow: 0 18px 40px -16px rgb(0 0 0 / .7); transition: transform .2s ease-out, border-color .2s, box-shadow .2s; overflow: hidden; }
.ex-frame img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; background: var(--surface-2); }
.ex-phone:hover .ex-frame, .ex-phone:focus-visible .ex-frame { transform: translateY(-4px) rotate(-1deg); border-color: var(--accent); box-shadow: 0 24px 50px -16px rgb(255 122 182 / .35); }
.ex-phone:focus-visible { outline: none; } .ex-phone:focus-visible .ex-frame { outline: 3px solid var(--focus); outline-offset: 3px; }
.ex-pick { position: absolute; top: 14px; left: 14px; padding: .2rem .55rem; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: .7rem; }
.ex-meta { display: grid; gap: .1rem; padding: .6rem .3rem 0; } .ex-meta b { font-size: .98rem; } .ex-meta small { color: var(--muted); font-size: .8rem; }
.ex-yours .ex-frame { display: grid; place-content: center; justify-items: center; gap: .3rem; text-align: center; background: repeating-linear-gradient(135deg, rgb(255 122 182 / .05) 0 12px, transparent 12px 24px), var(--surface);
  border: 2px dashed rgb(255 122 182 / .45); color: var(--ink); font-weight: 700; }
.ex-yours .ex-frame small { color: var(--muted); font-weight: 400; }
.ex-plus { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: 1.8rem; font-weight: 800; margin-bottom: .3rem; }
@media (prefers-reduced-motion: reduce) { .ex-frame { transition: none; } .ex-phone:hover .ex-frame { transform: none; } }

/* signup / login: pink card + phone preview of your page */
.auth-simple .auth-card { box-shadow: 0 30px 80px -30px rgb(0 0 0 / .8), 0 0 0 1px rgb(255 122 182 / .06); }
.auth-split { grid-template-columns: auto minmax(0, 420px); gap: 56px; justify-content: center; align-items: start; }
.auth-split .ap { position: sticky; top: 110px; margin-top: 1.5rem; }
.ap { display: grid; justify-items: center; gap: .6rem; }
.ap-phone { position: relative; display: flex; flex-direction: column; align-items: center; width: 250px; aspect-ratio: 9 / 18; padding: 3.2rem 1rem 1rem; border-radius: 38px;
  border: 8px solid #111015; box-shadow: 0 0 0 1px rgb(255 255 255 / .1), 0 40px 80px -24px rgb(0 0 0 / .8); transform: rotate(-3deg); text-align: center; overflow: hidden; }
.ap-aurora { background: radial-gradient(120% 60% at 20% 15%, #12a37c, transparent 60%), radial-gradient(90% 60% at 90% 55%, #7b3fd1, transparent 60%), #040610; }
.ap-ocean { background: radial-gradient(120% 60% at 20% 20%, #0f6e8c, transparent 60%), radial-gradient(90% 60% at 85% 70%, #1d9bb8, transparent 60%), #02070f; }
.ap-sunset { background: radial-gradient(120% 60% at 15% 20%, #ff6b3d, transparent 60%), radial-gradient(90% 60% at 90% 60%, #e0336f, transparent 60%), #120610; }
.ap-nebula { background: radial-gradient(120% 60% at 20% 20%, #8a2be2, transparent 60%), radial-gradient(90% 60% at 85% 70%, #ff3d9a, transparent 60%), #06040d; }
.ap-forest { background: radial-gradient(120% 60% at 20% 15%, #0f5a43, transparent 60%), radial-gradient(90% 60% at 85% 70%, #6fd3a8, transparent 65%), #030806; }
.ap-grid { background: repeating-linear-gradient(0deg, rgb(255 70 200 / .2) 0 1px, transparent 1px 20px), repeating-linear-gradient(90deg, rgb(255 70 200 / .2) 0 1px, transparent 1px 20px), radial-gradient(100% 50% at 50% 100%, #ff6a3d, transparent 70%), #0a0414; }
.ap-ember { background: radial-gradient(120% 60% at 25% 70%, #d4421f, transparent 60%), radial-gradient(90% 60% at 75% 25%, #ff8a2a, transparent 55%), #0a0504; }
.ap-noir { background: radial-gradient(120% 70% at 40% 30%, #3c3c3c, transparent 60%), #050505; }
.ap-ava { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; border: 3px solid #fff; background: rgb(0 0 0 / .35); color: #fff; font: 800 1.6rem var(--sans); margin-bottom: .7rem; }
.ap-name { color: #fff; font-size: 1.25rem; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ap-bio { color: rgb(255 255 255 / .8); font-size: .78rem; margin-top: .2rem; }
.ap-links { display: grid; gap: 8px; width: 100%; margin-top: 1.2rem; } .ap-links i { height: 34px; border-radius: 11px; background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .14); }
.ap-url { margin: .6rem 0 0; font: 600 1rem var(--mono); color: var(--muted); } .ap-url b { color: var(--accent); }
.ap-note { margin: 0; color: var(--muted); font-size: .88rem; }
@media (max-width: 860px) { .auth-split { grid-template-columns: 1fr; } .ap { display: none; } }

/* dashboard hero */
.dash-hero { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 28px; align-items: center; padding: 1.6rem;
  background: radial-gradient(70% 90% at 0% 0%, rgb(255 122 182 / .12), transparent 60%), var(--surface); }
.dh-phone { display: block; padding: 6px; border-radius: 28px; background: #111015; border: 1px solid rgb(255 255 255 / .12); box-shadow: 0 24px 50px -18px rgb(0 0 0 / .8); transform: rotate(-3deg); transition: transform .2s ease-out; }
.dh-phone:hover { transform: rotate(0deg) translateY(-3px); }
.dh-phone img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 22px; }
.dh-kicker { margin: 0; color: var(--accent); font: 600 .8rem var(--mono); }
.dh-url { margin: .2rem 0 .8rem; font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: -.02em; overflow-wrap: anywhere; } .dh-url b { color: var(--accent); }
.dh-goal { margin: 1rem 0; padding: 1rem; border-radius: 14px; background: rgb(255 255 255 / .03); border: 1px solid var(--line); }
.dh-big { font-size: 1.7rem; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.dh-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.milestone-bar { height: 10px; } .milestone-bar span { background: linear-gradient(90deg, #ff7ab6, #b99bff); }
@media (max-width: 640px) { .dash-hero { grid-template-columns: 1fr; } .dh-phone { width: 150px; margin: 0 auto; } }
@media (prefers-reduced-motion: reduce) { .dh-phone { transition: none; } }

/* leaderboard podium */
.podium { display: grid; grid-template-columns: 1fr 1.15fr 1fr; align-items: end; gap: 14px; max-width: 720px; margin: 1.6rem auto 1.4rem; }
.pod { position: relative; display: grid; justify-items: center; gap: .15rem; text-decoration: none; color: inherit; text-align: center; min-width: 0; }
.pod-1 { order: 2; } .pod-2 { order: 1; } .pod-3 { order: 3; }
.pod-ava { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; border: 3px solid var(--line-2); margin-bottom: .4rem; }
.pod-1 .pod-ava { width: 96px; height: 96px; border-color: #ffd166; box-shadow: 0 0 30px rgb(255 209 102 / .35); }
.pod-2 .pod-ava { border-color: #d4dbe8; } .pod-3 .pod-ava { border-color: #e0a070; }
.pod-ava-empty { display: grid; place-items: center; background: var(--surface-3); font: 800 1.6rem var(--sans); color: var(--ink); }
.pod-rank { position: absolute; top: -6px; left: 50%; transform: translateX(-50%); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--surface-3); font-weight: 800; font-size: .8rem; z-index: 1; }
.pod-1 .pod-rank { background: #ffd166; color: #1b1200; } .pod-2 .pod-rank { background: #d4dbe8; color: #10141c; } .pod-3 .pod-rank { background: #e0a070; color: #1b0e04; }
.pod-name { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .pod small { color: var(--muted); font-size: .8rem; }
.pod-stat { margin-top: .3rem; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.pod-step { width: 100%; margin-top: .7rem; border-radius: 14px 14px 4px 4px; background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); }
.pod-1 .pod-step { height: 110px; background: linear-gradient(180deg, rgb(255 209 102 / .22), var(--surface)); border-color: rgb(255 209 102 / .4); }
.pod-2 .pod-step { height: 80px; } .pod-3 .pod-step { height: 56px; }
.pod:hover .pod-name { color: var(--accent); }
@media (max-width: 480px) { .podium { gap: 8px; } .pod-ava { width: 58px; height: 58px; } .pod-1 .pod-ava { width: 72px; height: 72px; } .pod-step { display: none; } }

.ex-search { display: flex; align-items: center; gap: 8px; max-width: 520px; margin-top: 1rem; }
.ex-search input { flex: 1; min-width: 0; }
.lv-discord { margin-top: 1.4rem; } .lv-final .lv-discord + .small { margin-top: .5rem; }
.dh-discord { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: .6rem 0 0; }
.edit-jump { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; padding: .8rem 1rem; margin-bottom: 1rem; }
.edit-jump > span { flex-basis: 100%; }
@media (min-width: 640px) { .edit-jump > span { flex-basis: auto; margin-right: .25rem; } }
#music { scroll-margin-top: 90px; }
@media (max-width: 900px) { .dash-nav a { white-space: nowrap; } }
.pl-panel { margin-top: 1rem; }
.pl-list { list-style: none; margin: .8rem 0; padding: 0; display: grid; gap: .4rem; counter-reset: pl; }
.pl-list li { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .55rem .8rem; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); counter-increment: pl; }
.pl-list li > span { display: grid; min-width: 0; } .pl-list li > span::before { content: counter(pl) " · after your main song"; color: var(--muted); font-size: .72rem; }
.pl-list b, .pl-list small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .pl-list small { color: var(--muted); }
.pl-list form { margin: 0; }
#playlist { scroll-margin-top: 90px; }
.fl-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .7rem; }
.fl-card { display: flex; align-items: center; gap: .8rem; padding: .8rem 1rem; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.fl-card:hover { border-color: var(--line-2); }
.fl-card img, .fl-ava { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; }
.fl-ava { display: grid; place-items: center; background: var(--surface-2); font-weight: 700; }
.fl-card > span { display: grid; min-width: 0; } .fl-card small { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fl-tick { color: #3ba7ff; }
/* zenvy Pro */
.pro-hero { max-width: 640px; margin-bottom: 1.6rem; }
.pro-kicker { color: #ff7ab6; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; margin: 0 0 .4rem; }
.pro-hero h1, .pro-thanks h1 { font-size: clamp(2rem, 6vw, 3.2rem); line-height: 1.05; margin: 0 0 .6rem; }
.pro-hero h1 span { color: #ff7ab6; }
.pro-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.2rem; align-items: start; }
@media (min-width: 860px) { .pro-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); } }
.pro-perks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .7rem; }
.pro-perks li { display: flex; gap: .7rem; padding: 1rem; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.pro-perks li > span:last-child { display: grid; gap: .2rem; } .pro-perks small { color: var(--muted); }
.pro-ico { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 10px; background: rgb(255 122 182 / .14); color: #ff7ab6; }
.pro-buy { position: sticky; top: 90px; display: grid; gap: .7rem; }
.pro-price { margin: 0; font-size: 2.6rem; line-height: 1; } .pro-price b { color: #ff7ab6; } .pro-price s { font-size: 1.1rem; color: var(--muted); }
.pro-have { font-weight: 700; color: #7ee08a; margin: 0; } .pro-soon { font-weight: 600; margin: 0; }
.pro-form { display: grid; gap: .8rem; } .pro-fine { margin: 0; }
.pro-next { line-height: 2; padding-left: 1.2rem; }
@media (max-width: 859px) { .pro-buy { order: -1; position: static; } }
