:root {
  color-scheme: dark;
  --bg: #0e0e11;
  --surface: #17171c;
  --surface-2: #202027;
  --line: #2a2a33;
  --text: #ececf1;
  --muted: #9a9aa6;
  --accent: #ff4d6d;
  --accent-ink: #fff;
  --ok: #4ade80;
  --focus: #8ab4ff;
  --radius: 10px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button { font: inherit; color: inherit; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.muted { color: var(--muted); }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.test-banner {
  padding: 6px 16px;
  background: #3b2a06;
  color: #fbd38d;
  font-size: 12px;
  text-align: center;
}

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover:not(:disabled) { border-color: var(--muted); }
.btn:disabled { opacity: 0.5; cursor: default; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover:not(:disabled) { filter: brightness(1.08); border-color: var(--accent); }
.btn.ghost { background: transparent; }
.btn.small { padding: 6px 14px; font-size: 13px; }

.icon-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.icon-btn:hover { color: var(--text); background: var(--surface-2); }

.pill { padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.pill.ok { background: rgb(74 222 128 / 0.14); color: var(--ok); }

.avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: var(--surface-2);
  font-weight: 700;
  cursor: pointer;
}
.avatar:hover { background: var(--line); }

/* ------------------------------------------------------------ top bar */

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  padding: 14px 24px;
  background: rgb(14 14 17 / 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand h1 { margin: 0; font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.brand h1 a { text-decoration: none; }
.brand p { margin: 0; font-size: 13px; }
.filters { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; justify-content: center; }
.filters::-webkit-scrollbar { display: none; }
.account-area { display: flex; align-items: center; gap: 8px; margin-left: auto; }

.chip {
  flex: none;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
}
.chip:hover { color: var(--text); }
.chip[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--bg); font-weight: 600; }

/* ----------------------------------------------------------- sections */

main { padding: 8px 24px 64px; }
.section { margin-top: 24px; }
.section-head { display: flex; align-items: baseline; gap: 10px; margin: 0 0 12px; }
.section-head h2 { margin: 0; font-size: 16px; font-weight: 650; }
.section-head .count { font-size: 13px; color: var(--muted); }
.section-head .heart { color: var(--accent); width: 16px; height: 16px; fill: currentColor; stroke: none; align-self: center; }

.fav-section {
  padding: 16px;
  margin-left: -16px;
  margin-right: -16px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgb(255 77 109 / 0.08), rgb(255 77 109 / 0.02));
  border: 1px solid rgb(255 77 109 / 0.18);
}
.empty-hint {
  margin: 0;
  padding: 12px 16px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 14px;
}
.empty-hint svg { width: 14px; height: 14px; vertical-align: -2px; color: var(--accent); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }

/* --------------------------------------------------------------- card */

.card { min-width: 0; }
.thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-2);
  cursor: pointer;
}
.thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s ease, filter 0.25s ease; }
.thumb:hover img { transform: scale(1.03); }
.thumb::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.06); pointer-events: none; }
.locked .thumb img { filter: brightness(0.75); }

.badge-center {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgb(0 0 0 / 0.55);
  transform: translate(-50%, -50%) scale(0.9);
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: none;
}
.badge-center svg { width: 20px; height: 20px; }
.thumb:hover .badge-center, .locked .badge-center { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.card:not(.locked) .badge-center svg { fill: currentColor; stroke: none; }
.locked .badge-center svg { fill: none; }

.dur {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 2px 6px;
  border-radius: 5px;
  background: rgb(0 0 0 / 0.72);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}

.meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 2px 0; }
.title { min-width: 0; font-size: 14px; font-weight: 550; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.title small { color: var(--muted); font-weight: 400; font-size: 13px; }

.fav {
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.15s, background 0.15s, transform 0.15s;
}
.fav:hover { color: var(--text); background: var(--surface-2); }
.fav:active { transform: scale(0.88); }
.fav[aria-pressed="true"] { color: var(--accent); }
.fav[aria-pressed="true"] svg { fill: currentColor; }
.fav.big { width: 40px; height: 40px; }
.fav.big svg { width: 24px; height: 24px; }

.error { margin-top: 32px; color: var(--accent); }

/* ------------------------------------------------------------ dialogs */

dialog {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  color: var(--text);
}
dialog::backdrop { background: rgb(0 0 0 / 0.78); }
#age-gate::backdrop { background: rgb(8 8 10 / 0.97); backdrop-filter: blur(24px); }

.sheet.narrow { width: min(420px, 100vw - 32px); }
.sheet-body { display: flex; flex-direction: column; gap: 16px; padding: 20px; }
.sheet-body.center { align-items: center; text-align: center; }
.sheet-body h2 { margin: 0; font-size: 19px; font-weight: 700; }
.sheet-body p { margin: 0; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; margin: -6px -8px 0 0; }
.stack { display: flex; flex-direction: column; gap: 8px; width: 100%; }

.age-badge {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  font-size: 20px;
  font-weight: 800;
}

.tabs { display: flex; padding: 3px; border-radius: 999px; background: var(--bg); }
.tabs button {
  flex: 1;
  padding: 7px 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.tabs button[aria-selected="true"] { background: var(--surface-2); color: var(--text); }

.form { display: flex; flex-direction: column; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; }
.field input {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-weight: 400;
  font-size: 15px;
}
.field input:focus { outline: none; border-color: var(--focus); }
.field input:disabled { opacity: 0.4; }
.field small { font-weight: 400; font-size: 12px; }
.form-error { margin: 0; padding: 10px 12px; border-radius: 8px; background: rgb(255 77 109 / 0.12); color: #ff8fa3; font-size: 13px; }

.plan { padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.plan-price { font-size: 32px; font-weight: 800; letter-spacing: -0.02em; }
.plan-price small { margin-left: 4px; color: var(--muted); font-size: 15px; font-weight: 500; }
.plan-perks { margin: 10px 0 0; padding-left: 18px; color: var(--muted); font-size: 14px; }
.plan-perks li { margin: 4px 0; }
.fine { font-size: 12px; }

.facts { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0; font-size: 14px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; overflow-wrap: anywhere; }

.test-tools { padding: 12px; border: 1px dashed #5c4613; border-radius: 10px; font-size: 13px; }
.test-tools summary { color: #fbd38d; cursor: pointer; font-weight: 600; }
.test-tools p { margin: 8px 0; }

/* ------------------------------------------------------------- player */

dialog#player { width: min(1100px, 100vw - 32px); max-height: calc(100vh - 32px); }
.player-shell { display: flex; flex-direction: column; gap: 12px; padding: 16px; }
.player-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.player-head h2 { margin: 0; font-size: 17px; font-weight: 650; }
.player-head p { margin: 0; font-size: 13px; }
.player-actions { display: flex; align-items: center; gap: 4px; }

.stage { position: relative; border-radius: var(--radius); overflow: hidden; background: #000; }
.stage video { display: block; width: 100%; max-height: calc(100vh - 220px); aspect-ratio: 16 / 9; background: #000; }
.stage:fullscreen { display: grid; place-items: center; border-radius: 0; }
.stage:fullscreen video { max-height: 100vh; height: 100vh; }

.watermark {
  position: absolute;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgb(0 0 0 / 0.18);
  color: rgb(255 255 255 / 0.42);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  transition: left 1.5s ease, top 1.5s ease;
}

.player-msg {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 12px;
  padding: 24px;
  background: rgb(0 0 0 / 0.82);
  text-align: center;
}
.player-msg p { margin: 0; max-width: 36ch; }

.fs-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: rgb(0 0 0 / 0.5);
  color: #fff;
  cursor: pointer;
  opacity: 0.7;
}
.fs-btn:hover { opacity: 1; }

.player-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
  cursor: pointer;
}
.nav-btn:hover:not(:disabled) { border-color: var(--muted); }
.nav-btn:disabled { opacity: 0.35; cursor: default; }
.nav-btn svg { width: 16px; height: 16px; }
.toggle { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); cursor: pointer; }
.toggle input { accent-color: var(--accent); width: 16px; height: 16px; margin: 0; }

/* ----------------------------------------------------------- checkout */

.checkout-page { display: grid; place-items: center; min-height: 100vh; padding: 16px; }
.checkout-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: min(420px, 100%);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}
.checkout-card h1 { margin: 0; font-size: 22px; }
.checkout-card p { margin: 0; }
.test-pill { align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: #3b2a06; color: #fbd38d; font-size: 12px; font-weight: 600; }
.plan.compact .plan-price { font-size: 28px; }

/* ---------------------------------------------------- views, previews */

.views { display: flex; gap: 4px; padding: 3px; border-radius: 999px; background: var(--surface); }
.views a {
  padding: 6px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.views a:hover { color: var(--text); }
.views a[aria-current="page"] { background: var(--surface-2); color: var(--text); }

.thumb video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.pgrid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.pvideo {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-2);
  cursor: pointer;
}
.pvideo video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pmeta { display: flex; flex-direction: column; gap: 8px; padding: 10px 2px 0; }
.pmeta .title { font-size: 14px; }
.pmeta .btn { width: 100%; }

/* ---------------------------------------------------------- price tags */

.tag {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 7px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  pointer-events: none;
}
.tag svg { width: 12px; height: 12px; fill: currentColor; stroke: none; }
.tag.price { left: 8px; bottom: 8px; background: var(--accent); color: var(--accent-ink); }
.tag.owned { left: 8px; bottom: 8px; background: rgb(74 222 128 / 0.9); color: #05230f; }

.tag.draft { left: 8px; top: 8px; background: rgb(251 211 141 / 0.95); color: #3b2a06; }
.tag.free { left: 8px; bottom: 8px; background: var(--ok); color: #05230f; }
.tag.dl { right: 8px; top: 8px; padding: 3px 5px; background: rgb(0 0 0 / 0.65); color: #fff; }
.tag.dl svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; }

/* ---------------------------------------------------------- buy dialog */

.sheet.medium { width: min(560px, 100vw - 32px); }
.buy-media { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; }
.buy-media video, .buy-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.sheet-body .buy-meta { margin-top: -6px; font-size: 13px; }
.buy-desc { max-height: 30vh; overflow-y: auto; white-space: pre-line; color: #cfcfd8; font-size: 14px; }

/* ------------------------------------------------------ forms (extra) */

.check { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--muted); cursor: pointer; }
.check input { flex: none; width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--accent); }
.check a, .fine a, .form-note a { color: var(--text); }
.form-note { margin: 0; padding: 10px 12px; border-radius: 8px; background: var(--surface-2); font-size: 13px; }

/* ------------------------------------------------------------- footer */

.site-footer {
  padding: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-bottom: 10px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); text-decoration: underline; }
.site-footer p { margin: 0; }

/* -------------------------------------------------------- legal pages */

.legal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  border-bottom: 1px solid var(--line);
}
.legal-brand { font-size: 18px; font-weight: 700; text-decoration: none; }
.legal-body { max-width: 760px; margin: 0 auto; padding: 32px 24px 64px; line-height: 1.6; }
.legal-body h1 { margin: 0 0 4px; font-size: 28px; letter-spacing: -0.01em; }
.legal-body h2 { margin: 32px 0 8px; font-size: 17px; }
.legal-body p, .legal-body li { color: #cfcfd8; }
.legal-body a { color: var(--text); }
.legal-body ul, .legal-body ol { padding-left: 22px; }
.legal-body address.records { margin: 12px 0; padding: 12px 16px; border-left: 3px solid var(--line); font-style: normal; }
.template-notice {
  margin: 0 0 24px;
  padding: 10px 14px;
  border: 1px dashed #5c4613;
  border-radius: 10px;
  background: #2a1f05;
  color: #fbd38d !important;
  font-size: 13px;
}
mark.todo { padding: 0 4px; border-radius: 4px; background: #fbd38d; color: #3b2a06; font-weight: 600; }

/* --------------------------------------------------------- small screens */

@media (max-width: 720px) {
  .topbar { padding: 12px 16px; }
  .filters { order: 3; flex-basis: 100%; justify-content: flex-start; }
  main { padding: 4px 16px 48px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .fav-section { padding: 12px; margin-left: -8px; margin-right: -8px; }
  .player-shell { padding: 12px; }
  .nav-btn span { display: none; }
  .toggle span { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .thumb img, .fav, .badge-center, .watermark { transition: none; }
}

/* ----------------------------------------------------------- live soon */

.soon-page {
  --pink: #ff4d6d;
  --coral: #ff8a5b;
  --violet: #8b5cf6;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  background: #09090c;
}

/* Backdrop */
.soon-bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.68; will-change: transform; }
.glow-a { width: 60vmax; height: 60vmax; left: -18vmax; top: -22vmax; background: radial-gradient(circle, var(--pink), transparent 65%); animation: drift-a 22s ease-in-out infinite alternate; }
.glow-b { width: 55vmax; height: 55vmax; right: -20vmax; bottom: -24vmax; background: radial-gradient(circle, var(--violet), transparent 65%); opacity: 0.6; animation: drift-b 26s ease-in-out infinite alternate; }
.glow-c { width: 30vmax; height: 30vmax; right: 8vmax; top: 4vmax; background: radial-gradient(circle, var(--coral), transparent 65%); opacity: 0.22; animation: drift-a 30s ease-in-out infinite alternate-reverse; }
@keyframes drift-a { to { transform: translate(8vmax, 6vmax) scale(1.1); } }
@keyframes drift-b { to { transform: translate(-7vmax, -5vmax) scale(1.05); } }

/* Stiletto prints appear one after another, as if someone walks across the page */
.trail { position: absolute; inset: 0; width: 100%; height: 100%; }
.trail .step { fill: #fff; opacity: 0; animation: step 9.8s linear infinite; }
@keyframes step {
  0% { opacity: 0; }
  2% { opacity: 0.22; }
  45% { opacity: 0.1; }
  75%, 100% { opacity: 0; }
}
.trail .step:nth-child(2) { animation-delay: 0.45s; }
.trail .step:nth-child(3) { animation-delay: 0.9s; }
.trail .step:nth-child(4) { animation-delay: 1.35s; }
.trail .step:nth-child(5) { animation-delay: 1.8s; }
.trail .step:nth-child(6) { animation-delay: 2.25s; }
.trail .step:nth-child(7) { animation-delay: 2.7s; }
.trail .step:nth-child(8) { animation-delay: 3.15s; }
.trail .step:nth-child(9) { animation-delay: 3.6s; }
.trail .step:nth-child(10) { animation-delay: 4.05s; }
.trail .step:nth-child(11) { animation-delay: 4.5s; }
.trail .step:nth-child(12) { animation-delay: 4.95s; }
.trail .step:nth-child(13) { animation-delay: 5.4s; }
.trail .step:nth-child(14) { animation-delay: 5.85s; }

.grain {
  position: absolute;
  inset: -50%;
  opacity: 0.07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* A soft vignette keeps the edges dark and the text readable */
.soon-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 45%, transparent 40%, rgb(9 9 12 / 0.6) 100%); }

/* Header and footer */
.soon-top, .soon-foot, .soon, .marquee { position: relative; z-index: 1; }
.soon-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: max(18px, env(safe-area-inset-top)) 24px 0;
}
.soon-mark { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 750; letter-spacing: 0.14em; text-transform: uppercase; }
.soon-mark svg { width: 16px; height: 16px; fill: var(--pink); stroke: none; }
.soon-age { padding: 3px 9px; border: 1px solid rgb(255 255 255 / 0.25); border-radius: 999px; color: rgb(255 255 255 / 0.75); font-size: 12px; font-weight: 700; }

/* Hero */
.soon {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: min(640px, 100%);
  margin: 0 auto;
  padding: 56px 16px 40px;
  text-align: center;
}
.soon-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 6px 14px;
  border: 1px solid rgb(255 77 109 / 0.35);
  border-radius: 999px;
  background: rgb(255 77 109 / 0.1);
  color: #ff8fa3;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.pulse { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--pink); }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--pink); animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { to { transform: scale(3.2); opacity: 0; } }

.soon-brand {
  margin: 0;
  padding: 0 0.04em 0.08em;
  font-size: clamp(56px, 15vw, 128px);
  font-weight: 850;
  letter-spacing: -0.045em;
  line-height: 0.95;
  color: #fff;
  background: linear-gradient(180deg, #fff 30%, #ffc2cd 70%, var(--pink) 115%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 10px 40px rgb(255 77 109 / 0.25));
}
.soon-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: -2px 0 0; padding: 0; list-style: none; }
.soon-tags li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.05);
  color: rgb(236 236 241 / 0.9);
  font-size: 14px;
  font-weight: 650;
}
.soon-tags li.vr { border-color: rgb(255 77 109 / 0.45); background: linear-gradient(135deg, rgb(255 77 109 / 0.22), rgb(139 92 246 / 0.22)); color: #fff; }
.soon-tags svg { width: 18px; height: 18px; }
/* text-wrap: balance avoids a lone last word; browsers without it (Safari < 17.5) wrap normally */
.soon-lead { margin: 0; max-width: 36ch; color: rgb(236 236 241 / 0.78); font-size: clamp(16px, 2.4vw, 19px); line-height: 1.5; text-wrap: balance; }

/* The form card */
.soon-card {
  width: 100%;
  margin-top: 10px;
  padding: 18px;
  border: 1px solid rgb(255 255 255 / 0.09);
  border-radius: 22px;
  background: linear-gradient(180deg, rgb(255 255 255 / 0.07), rgb(255 255 255 / 0.03));
  box-shadow: 0 30px 80px -30px rgb(0 0 0 / 0.8), inset 0 1px 0 rgb(255 255 255 / 0.06);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  backdrop-filter: blur(18px) saturate(1.3);
}
.soon-form { display: flex; flex-direction: column; gap: 14px; text-align: left; }
.soon-row { display: flex; gap: 8px; padding: 6px; border: 1px solid rgb(255 255 255 / 0.1); border-radius: 999px; background: rgb(9 9 12 / 0.6); transition: border-color 0.2s, box-shadow 0.2s; }
.soon-row:focus-within { border-color: rgb(255 77 109 / 0.6); box-shadow: 0 0 0 4px rgb(255 77 109 / 0.15); }
.soon-row input {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 16px;
}
.soon-row input:focus { outline: none; }
.soon-row input::placeholder { color: rgb(236 236 241 / 0.4); }
.soon-btn {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pink), var(--coral));
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 24px -8px rgb(255 77 109 / 0.7);
  transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
}
.soon-btn svg { width: 18px; height: 18px; transition: transform 0.2s; }
.soon-btn:hover { filter: brightness(1.06); box-shadow: 0 10px 30px -8px rgb(255 77 109 / 0.85); }
.soon-btn:hover svg { transform: translateX(3px); }
.soon-btn:active { transform: scale(0.98); }
.soon-btn:disabled { opacity: 0.6; cursor: default; }
.soon-btn.ghost { background: rgb(255 255 255 / 0.08); box-shadow: none; border: 1px solid rgb(255 255 255 / 0.14); }
.soon-check { padding: 0 6px; color: rgb(236 236 241 / 0.62); font-size: 13px; }
.soon-form .form-error { margin: 0 6px; }

.soon-done { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 10px 6px 6px; }
.soon-done h2 { margin: 6px 0 0; font-size: 22px; letter-spacing: -0.01em; }
.soon-done p { margin: 0 0 10px; color: rgb(236 236 241 / 0.7); }
.tick { width: 56px; height: 56px; fill: none; stroke: var(--ok); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.tick circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw 0.6s ease-out forwards; }
.tick path { stroke-dasharray: 36; stroke-dashoffset: 36; animation: draw 0.35s 0.5s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Reasons to join */
.soon-perks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  text-align: left;
}
.soon-perks li { display: flex; flex-direction: column; gap: 4px; padding: 14px; border: 1px solid rgb(255 255 255 / 0.06); border-radius: 16px; background: rgb(255 255 255 / 0.025); }
.soon-perks svg { width: 22px; height: 22px; margin-bottom: 6px; color: #ff8fa3; }
.soon-perks strong { font-size: 14px; }
.soon-perks span { color: rgb(236 236 241 / 0.6); font-size: 13px; line-height: 1.45; }

/* Scrolling band */
.marquee {
  overflow: hidden;
  padding: 14px 0;
  border-block: 1px solid rgb(255 255 255 / 0.06);
  background: rgb(9 9 12 / 0.4);
}
.marquee-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 32s linear infinite; }
.marquee span {
  font-size: clamp(22px, 4vw, 34px);
  font-weight: 850;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgb(255 255 255 / 0.28);
}
.marquee span:nth-of-type(even) { color: rgb(255 77 109 / 0.85); -webkit-text-stroke: 0; }
.marquee i { color: rgb(255 255 255 / 0.3); font-style: normal; font-size: 18px; }
@keyframes marquee { to { transform: translateX(-50%); } }

.soon-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 22px;
  padding: 20px 16px max(20px, env(safe-area-inset-bottom));
  color: rgb(236 236 241 / 0.5);
  font-size: 12px;
}
.soon-foot a { color: rgb(236 236 241 / 0.7); }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; opacity: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@media (max-width: 640px) {
  .soon { padding-top: 40px; gap: 16px; }
  .soon-card { padding: 12px; border-radius: 20px; }
  .soon-row { flex-direction: column; border-radius: 16px; }
  .soon-btn { padding: 13px 20px; border-radius: 12px; }
  .soon-perks { grid-template-columns: minmax(0, 1fr); }
  .soon-perks li { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; }
  .soon-perks svg { grid-row: span 2; margin: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .glow, .marquee-track, .pulse::after { animation: none; }
  .trail .step { animation: none; opacity: 0.08; }
  .tick circle, .tick path { animation: none; stroke-dashoffset: 0; }
}

/* -------------------------------------------------------------- studio */

.studio-label { margin-left: 6px; padding: 2px 8px; border-radius: 6px; background: var(--surface-2); color: var(--muted); font-size: 12px; font-weight: 600; vertical-align: 2px; }
.studio main { max-width: 1100px; margin: 0 auto; }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.stat { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.stat span { font-size: 12px; }
.stat strong { font-size: 22px; font-weight: 750; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.stat small { font-size: 12px; }

.drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 28px 16px;
  border: 2px dashed var(--line);
  border-radius: 14px;
  background: var(--surface);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.drop:hover, .drop.over { border-color: var(--accent); background: rgb(255 77 109 / 0.06); }
.drop svg { width: 28px; height: 28px; color: var(--accent); }
.drop small { max-width: 60ch; font-size: 13px; }
.drop .link-btn { color: var(--accent); }
.section > .form-error { margin-top: 12px; }

.vlist { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.vrow {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}
.vthumb {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface-2);
  color: var(--muted);
  font-weight: 700;
  cursor: pointer;
}
.vthumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vinfo { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.vtitle { display: flex; align-items: center; gap: 10px; min-width: 0; }
.vtitle .title { font-size: 15px; }
.vfacts { margin: 0; font-size: 13px; }
.vnote { margin: 0; font-size: 13px; color: #fbd38d; }
.vactions { display: flex; gap: 6px; }

.chip-status { flex: none; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 650; white-space: nowrap; }
.chip-status.live { background: rgb(74 222 128 / 0.15); color: var(--ok); }
.chip-status.draft { background: var(--surface-2); color: var(--muted); }
.chip-status.busy { background: rgb(138 180 255 / 0.15); color: var(--focus); }
.chip-status.paused { background: rgb(251 211 141 / 0.15); color: #fbd38d; }
.chip-status.failed { background: rgb(255 77 109 / 0.15); color: #ff8fa3; }

.bar { height: 4px; border-radius: 2px; background: var(--surface-2); overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--focus); transition: width 0.3s; }

.sheet.wide { width: min(980px, 100vw - 32px); }
.edit-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 20px; }
.edit-media, .edit-fields { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.edit-cover { aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; }
.edit-cover img { width: 100%; height: 100%; object-fit: contain; }
.field-label { margin: 0 0 6px !important; font-size: 13px; font-weight: 600; }
.frames { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.frame {
  position: relative;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  background: var(--surface-2);
  cursor: pointer;
}
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame span { position: absolute; right: 3px; bottom: 3px; padding: 0 4px; border-radius: 3px; background: rgb(0 0 0 / 0.7); font-size: 10px; }
.frame:hover { border-color: var(--muted); }
.frame[aria-pressed="true"] { border-color: var(--accent); }
.teaser-box { display: flex; flex-direction: column; gap: 10px; }
.teaser-box video { width: 100%; aspect-ratio: 16 / 9; border-radius: 8px; background: #000; }
.field textarea {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 15px;
  font-weight: 400;
  resize: vertical;
}
.field textarea:focus { outline: none; border-color: var(--focus); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check.records { padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); }
.check strong { color: var(--text); }
.edit-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 4px; border-top: 1px solid var(--line); }
.edit-actions .spacer { flex: 1; }
.btn.danger { color: #ff8fa3; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table th { color: var(--muted); font-size: 12px; font-weight: 600; }
.table tr:last-child td { border-bottom: 0; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.table tr.refunded td { color: var(--muted); text-decoration: line-through; }
.table tr.refunded td:last-child { text-decoration: none; }
.section-head .spacer { flex: 1; }
.waitlist-note { margin: -4px 0 12px; max-width: 70ch; }
#waitlist-tab-count:not(:empty) { margin-left: 4px; padding: 1px 6px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 11px; }

@media (max-width: 720px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vrow { grid-template-columns: 112px minmax(0, 1fr); }
  .vactions { grid-column: 1 / -1; }
  .vactions .btn { flex: 1; }
  .vtitle { flex-wrap: wrap; gap: 4px 10px; }
  .edit-grid, .row2 { grid-template-columns: minmax(0, 1fr); }
}
