/* MY EPK v2 — warm paper, ink type, one signal accent. No build step. */
:root {
  --paper: #F4F2EE;
  --paper-2: #EFEAE1;
  --paper-3: #E5DED2;
  --ink: #121212;
  --ink-2: #4E493F;
  --ink-3: #8A8375;
  --line: #DDD5C7;
  --accent: #D2601A;
  --accent-2: #E8772F;
  --accent-soft: #F8E4D6;
  --accent-ink: #FFFFFF;
  --ok: #1E8E5A;
  --ok-soft: #DDF3E6;
  --danger: #C6311B;
  --danger-soft: #FBE3DE;
  --radius: 18px;
  --radius-sm: 11px;
  --shadow: 0 12px 40px rgba(21, 19, 15, .09);
  --shadow-sm: 0 3px 12px rgba(21, 19, 15, .07);
  --font-display: "Syne", "Inter", system-ui, sans-serif;
  --font-brand: "Archivo Black", "Syne", "Inter", system-ui, sans-serif;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); background: var(--paper); color: var(--ink);
  line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.02; margin: 0 0 .5rem; letter-spacing: -0.02em; font-weight: 800; }
h1 { font-size: clamp(2.4rem, 6vw, 4.8rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }
p { margin: 0 0 1rem; }
img { max-width: 100%; display: block; }
button { font: inherit; }
.muted { color: var(--ink-3); }
.ink2 { color: var(--ink-2); }
.small { font-size: .92rem; }
.tiny { font-size: .8rem; }
.center { text-align: center; }
.inline { display: inline; }
.eyebrow { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; font-weight: 700; color: var(--accent); margin: 0 0 .8rem; }

/* ---------- top bar ---------- */
.topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 3rem); position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--paper) 82%, transparent); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.topbar.scrolled { border-bottom-color: var(--line); }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-brand); font-weight: 400; letter-spacing: .01em; font-size: 1.05rem; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand .mark { width: 28px; height: 28px; display: block; background: none; padding: 0; }   /* the logo image; never inherit a text-highlight style */
.topnav { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 1.25rem; font-size: .95rem; }
.topnav a:not(.btn) { color: var(--ink-2); }
.topnav .hide-sm { display: inline-flex; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .7rem 1.15rem; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--ink); color: var(--paper);
  font-weight: 600; cursor: pointer; line-height: 1.1; white-space: nowrap;
  transition: transform .18s var(--ease), background .18s, color .18s, border-color .18s, box-shadow .18s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(0) scale(.98); }
.btn:disabled { opacity: .45; cursor: default; transform: none; box-shadow: none; }
.btn-accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: #ff3d0d; border-color: #ff3d0d; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .42); }
.btn-light:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn-soft { background: var(--paper-2); color: var(--ink); border-color: var(--paper-2); }
.btn-soft:hover { background: var(--paper-3); border-color: var(--paper-3); }
.btn-danger { background: transparent; color: var(--danger); border-color: var(--danger-soft); }
.btn-danger:hover { background: var(--danger-soft); }
.btn-sm { padding: .42rem .8rem; font-size: .86rem; }
.btn-lg { padding: .95rem 1.6rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn .arrow { transition: transform .18s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.linklike { background: none; border: 0; padding: 0; color: var(--ink-2); cursor: pointer; }
.linklike:hover { color: var(--ink); text-decoration: underline; }
.google-btn { display: inline-flex; align-items: center; gap: .6rem; width: 100%; justify-content: center; }
.google-btn svg { width: 18px; height: 18px; }
.social-stack { display: flex; flex-direction: column; gap: .5rem; }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.1rem; }
.field > label, .label { font-weight: 600; font-size: .9rem; color: var(--ink); }
.field .hint { font-weight: 400; color: var(--ink-3); font-size: .8rem; margin-left: .4rem; }
.field .help { color: var(--ink-3); font-size: .82rem; margin: .1rem 0 0; }
.field .err { color: var(--danger); font-size: .82rem; margin: .1rem 0 0; }
input, select, textarea {
  font: inherit; color: var(--ink); background: #fff; border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); padding: .72rem .9rem; width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
input::placeholder, textarea::placeholder { color: #B3AB9C; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(21, 19, 15, .08); }
input.invalid, textarea.invalid, select.invalid { border-color: var(--danger); }
input[type="color"] { padding: .25rem; height: 2.75rem; width: 4.5rem; cursor: pointer; }
textarea { resize: vertical; min-height: 6rem; }
.input-prefix { display: flex; align-items: center; background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding-left: .9rem; transition: border-color .15s, box-shadow .15s; }
.input-prefix:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(21, 19, 15, .08); }
.input-prefix > span { color: var(--ink-3); white-space: nowrap; font-size: .95rem; }
.input-prefix input { border: 0; background: transparent; padding-left: .15rem; box-shadow: none; }
.input-prefix input:focus { box-shadow: none; }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 4.2rem; }
.pw-wrap .pw-toggle { position: absolute; right: .6rem; top: 50%; transform: translateY(-50%); font-size: .8rem; font-weight: 600; color: var(--ink-3); background: none; border: 0; cursor: pointer; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }

.flash { padding: .8rem 1rem; border-radius: var(--radius-sm); margin-bottom: 1rem; font-size: .93rem; display: flex; gap: .6rem; align-items: flex-start; }
.flash-ok { background: var(--ok-soft); color: #14603C; }
.flash-error { background: var(--danger-soft); color: #8E2210; }
.flash-info { background: var(--paper-2); color: var(--ink-2); }

.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.chip { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .75rem; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-size: .86rem; font-weight: 500; cursor: pointer; transition: all .15s; }
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip .x { opacity: .6; }
.chip .x:hover { opacity: 1; }
.pill { display: inline-flex; align-items: center; gap: .35rem; padding: .22rem .7rem; border-radius: 999px; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--paper-2); color: var(--ink-2); }
.pill-live { background: var(--ok-soft); color: #14603C; }
.pill-accent { background: var(--accent-soft); color: #B0300E; }

/* ---------- cards / layout ---------- */
.narrow { max-width: 760px; margin: 0 auto; padding: 3rem clamp(1rem, 4vw, 2rem); }
.prose h2 { margin-top: 2rem; font-size: 1.25rem; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 1.2rem; }
.footer { display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; justify-content: space-between; align-items: center; padding: 2.5rem clamp(1rem, 4vw, 3rem); color: var(--ink-3); font-size: .88rem; border-top: 1px solid var(--line); margin-top: 4rem; }
.footer nav { display: flex; flex-wrap: wrap; gap: .55rem 1.15rem; min-width: 0; max-width: 100%; }
.footer > nav:not(.tabbar) { flex: 1 1 14rem; }

/* ---------- motion ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-14px) rotate(-.5deg); } }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 33% { transform: translate(40px, -30px) scale(1.08); } 66% { transform: translate(-30px, 20px) scale(.95); } 100% { transform: translate(0, 0) scale(1); } }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@keyframes pop { 0% { transform: scale(.96); opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes rise { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- landing ---------- */
.landing { overflow-x: clip; }
.landing main { overflow-x: clip; }
.landing .start-build { display: none; }   /* hero already has Build my EPK */
.hero { position: relative; max-width: 1180px; margin: 0 auto; padding: clamp(3rem, 9vh, 7rem) clamp(1rem, 4vw, 3rem) 3rem; display: grid; grid-template-columns: 1.25fr .75fr; gap: 3rem; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); margin-bottom: 1.2rem; max-width: 14ch; }
.hero h1 .accent { color: var(--accent); }
.hero h1 .nowrap-lg { white-space: nowrap; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-2); max-width: 540px; }
.cta-row { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.6rem; align-items: center; }
.cta-note { font-size: .85rem; color: var(--ink-3); width: 100%; margin: .9rem 0 0; }
.cta-link { font-weight: 600; color: var(--ink); padding: .95rem .6rem; border-radius: 999px; white-space: nowrap; }
.cta-link:hover { text-decoration: none; color: var(--accent); }
.landing .eyebrow { color: var(--ink-3); }
.landing .step-card::before { color: var(--ink-3); }
.orbs { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; animation: drift 18s ease-in-out infinite; }
.orb-a { width: 420px; height: 420px; background: #FFB59F; top: -120px; right: 5%; }
.orb-b { width: 320px; height: 320px; background: #F2C4A6; bottom: -80px; left: 8%; animation-delay: -6s; animation-duration: 22s; }
.orb-c { width: 240px; height: 240px; background: #FFD9CC; top: 40%; left: 40%; animation-delay: -11s; }
/* the hero has no orbs any more: one quiet warm wash behind the card */
.hero::before { content: ""; position: absolute; inset: -10% -10% auto; height: 110%; z-index: -1; pointer-events: none; background: radial-gradient(48% 46% at 78% 34%, rgba(210, 96, 26, .13), transparent 72%); }

/* the floating mock EPK card */
.mock { position: relative; animation: float 7s ease-in-out infinite; }
.mock-card { background: #111; color: #fff; border-radius: 22px; padding: 1.4rem; box-shadow: 0 30px 80px rgba(21, 19, 15, .25); width: min(100%, 420px); margin-left: auto; overflow: hidden; }
.mock-photo { height: 230px; border-radius: 14px; background: radial-gradient(120% 90% at 20% 10%, #FF6A3D 0%, #6B1E10 45%, #111 100%); position: relative; }
.mock-photo::after { content: ""; position: absolute; inset: auto 0 0 0; height: 60%; background: linear-gradient(transparent, rgba(17, 17, 17, .9)); }
.mock-photo.has-img { overflow: hidden; }
.mock-photo.has-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mock-link { display: block; color: inherit; }
.mock-link:hover { text-decoration: none; }
.mock-link .mock-card { transition: transform .3s var(--ease), box-shadow .3s; }
.mock-link:hover .mock-card { transform: translateY(-4px); box-shadow: 0 40px 90px rgba(21, 19, 15, .3); }
.mock-name { font-family: var(--font-display); font-size: clamp(1.4rem, 2.3vw, 1.9rem); line-height: 1; font-weight: 800; margin: -2.2rem 0 0 1rem; position: relative; letter-spacing: -.02em; overflow-wrap: break-word; }
.mock-sub { color: #bbb; font-size: .85rem; margin: .1rem 0 .9rem 1rem; position: relative; }
.mock-row { display: flex; gap: .4rem; flex-wrap: wrap; }
.mock-chip { border: 1px solid #333; border-radius: 999px; padding: .3rem .7rem; font-size: .75rem; color: #ddd; }
.mock-chip.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.mock-name { text-transform: uppercase; }
.mock-stat { display: flex; justify-content: space-between; gap: .8rem; margin-top: 1rem; padding-top: .9rem; border-top: 1px solid #262626; font-size: .72rem; color: #aaa; }
.mock-stat > span { min-width: 0; }
.mock-stat > span > span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-stat b { color: #fff; font-size: 1rem; display: block; }
.mock-badge { position: absolute; top: -14px; left: -14px; background: var(--ink); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: .8rem; padding: .5rem .8rem; border-radius: 999px; transform: rotate(-6deg); box-shadow: var(--shadow-sm); }


.section { max-width: 1180px; margin: 0 auto; padding: clamp(3rem, 8vh, 6rem) clamp(1rem, 4vw, 3rem); }
.section-head { max-width: 640px; margin-bottom: 2.5rem; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; counter-reset: step; }
.step-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; position: relative; transition: transform .25s var(--ease), box-shadow .25s; }
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step-card::before { counter-increment: step; content: "0" counter(step); font-family: var(--font-display); font-weight: 800; font-size: 2rem; color: var(--accent); display: block; margin-bottom: .6rem; }
.step-card p { color: var(--ink-2); margin: 0; }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.feature { padding: 1.4rem; border-radius: var(--radius); background: var(--paper-2); }
.feature h3 { margin-bottom: .4rem; }
.feature p { color: var(--ink-2); margin: 0; font-size: .95rem; }
.big-cta { background: var(--ink); color: var(--paper); border-radius: 28px; padding: clamp(2rem, 6vw, 4.5rem); text-align: center; position: relative; overflow: hidden; }
.big-cta h2 { font-size: clamp(2rem, 4.5vw, 3.6rem); color: #fff; }
.big-cta p { color: #bcb6aa; max-width: 520px; margin: 0 auto 1.6rem; }
.big-cta .btn-accent { border-color: var(--accent); }

/* ---------- auth ---------- */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-side { background: var(--ink); color: var(--paper); padding: clamp(2rem, 5vw, 4rem); display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.auth-side .orb { opacity: .35; }
.auth-side h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 3rem); max-width: 480px; }
.auth-side p { color: #bcb6aa; max-width: 420px; }
.auth-side .brand { color: #fff; }
/* the sign-in screen opens like an app: the brand pops, then each line rises in turn */
.auth-brand { animation: pop-in .55s var(--ease) both; }
.auth-line { animation: rise .6s var(--ease) both; }
.auth-copy h2.auth-line span { display: block; animation: rise .6s var(--ease) both; }
.auth-copy h2.auth-line span:nth-child(1) { animation-delay: .15s; }
.auth-copy h2.auth-line span:nth-child(2) { animation-delay: .25s; }
.auth-copy h2.auth-line span:nth-child(3) { animation-delay: .35s; }
.auth-copy p.auth-line { animation-delay: .5s; }
.auth-copy .auth-quote { animation-delay: .62s; }
.auth-side .tiny.auth-line { animation-delay: .7s; }
.auth-phone-line { display: none; }
.auth-page .auth-card { animation-delay: .3s; animation-fill-mode: both; }
@keyframes pop-in { from { transform: scale(.6); opacity: 0; } 60% { transform: scale(1.06); opacity: 1; } to { transform: scale(1); opacity: 1; } }

.auth-quote { border-left: 3px solid var(--accent); padding-left: 1rem; color: #ddd; font-style: italic; }
.auth-main { display: flex; align-items: center; justify-content: center; padding: clamp(1.5rem, 5vw, 4rem) clamp(1rem, 5vw, 3rem); }
.auth-card { width: min(100%, 440px); animation: rise .6s var(--ease); }
.auth-card h1 { font-size: 2rem; margin-bottom: .35rem; }
.auth-card .sub { color: var(--ink-3); margin-bottom: 1.6rem; }
.auth-card .alt { text-align: center; color: var(--ink-3); font-size: .92rem; margin-top: 1.4rem; }
.auth-card .alt a { color: var(--ink); font-weight: 600; }
.divider { display: flex; align-items: center; gap: .8rem; color: var(--ink-3); font-size: .8rem; margin: 1.2rem 0; text-transform: uppercase; letter-spacing: .1em; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.draft-note { display: flex; gap: .7rem; align-items: center; background: var(--accent-soft); border-radius: var(--radius-sm); padding: .75rem .9rem; font-size: .9rem; color: #7A2A14; margin-bottom: 1.2rem; }
.code-inputs { display: flex; gap: .5rem; justify-content: space-between; margin-bottom: 1.2rem; }
.code-inputs input { text-align: center; font-size: 1.5rem; font-family: var(--font-display); font-weight: 700; padding: .7rem 0; width: 100%; caret-color: var(--accent); }

/* ---------- builder ---------- */
.builder { min-height: 100vh; display: grid; grid-template-rows: auto 1fr; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem clamp(1rem, 3vw, 2rem); border-bottom: 1px solid var(--line); background: var(--paper); position: sticky; top: 0; z-index: 20; }
.bar-right { display: flex; align-items: center; gap: .6rem; }
.save-state { font-size: .82rem; color: var(--ink-3); display: inline-flex; align-items: center; gap: .4rem; min-width: 5.5rem; }
.save-state .dotp { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.save-state.saving .dotp { background: var(--accent); animation: pulse 1s infinite; }
.save-state.error .dotp { background: var(--danger); }
.build-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr) 360px; gap: 1.5rem; max-width: 1440px; width: 100%; margin: 0 auto; padding: 1.5rem clamp(1rem, 3vw, 2rem) 5rem; align-items: start; }
.panel-foot .foot-right { display: flex; align-items: center; gap: 1rem; }
.panel-foot .skip { font-size: .9rem; }

/* ---------- live preview panel ---------- */
.preview { position: sticky; top: 4.6rem; }
.pv-bar { display: flex; align-items: center; gap: .4rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .35rem .4rem .35rem .8rem; margin-bottom: .6rem; font-size: .82rem; }
.pv-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ink-3); flex-shrink: 0; }
.pv-dot.live { background: var(--ok); box-shadow: 0 0 0 3px var(--ok-soft); }
.pv-url { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.icon-btn.pv-close { display: none; }
.pv { border-radius: 18px; overflow: hidden auto; border: 1px solid var(--line); box-shadow: var(--shadow); max-height: calc(100vh - 8.5rem); font-size: 12px; transition: background .3s, color .3s; }
.pv-hero { position: relative; min-height: 210px; display: flex; align-items: flex-end; overflow: hidden; background: radial-gradient(420px 260px at 15% 0%, color-mix(in srgb, var(--accent) 40%, transparent), transparent 62%), var(--bg); }
.pv-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.pv-hero.has-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 0%, color-mix(in srgb, var(--bg) 70%, transparent) 60%, var(--bg) 100%); }
.pv-hero-body { position: relative; z-index: 1; padding: 2.2rem .9rem .8rem; width: 100%; }
.pv-meta { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .12em; font-size: .58rem; font-weight: 700; color: var(--mute); margin: 0 0 .25rem; }
.pv-name { font-family: var(--font-display); font-size: 1.85rem; line-height: 1; margin: 0 0 .25rem; letter-spacing: -.02em; overflow-wrap: break-word; }
.pv-tagline { font-size: .8rem; margin: 0 0 .5rem; opacity: .9; }
.pv-chips { display: flex; flex-wrap: wrap; gap: .3rem; margin-bottom: .55rem; }
.pv-chip { border: 1px solid color-mix(in srgb, var(--fg) 18%, transparent); background: color-mix(in srgb, var(--fg) 8%, transparent); border-radius: 999px; padding: .12rem .5rem; font-size: .62rem; font-weight: 500; }
.pv-actions { display: flex; flex-wrap: wrap; gap: .35rem; }
.pv-btn { border-radius: 999px; padding: .3rem .65rem; font-size: .66rem; font-weight: 600; border: 1px solid var(--line); background: var(--panel); color: var(--fg); }
.pv-btn.accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.pv-btn small { opacity: .7; font-weight: 500; margin-left: .2rem; }
.pv .ph { opacity: .45; }
.pv-btn.ph, .pv-chip.ph { border-style: dashed; background: transparent; }
.pv-stats { display: flex; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--panel) 70%, transparent); }
.pv-stats > div { flex: 1; padding: .55rem .8rem; border-right: 1px solid var(--line); min-width: 0; }
.pv-stats > div:last-child { border-right: 0; }
.pv-stats b { display: block; font-family: var(--font-display); font-size: 1rem; letter-spacing: -.02em; }
.pv-stats span { font-size: .55rem; text-transform: uppercase; letter-spacing: .1em; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.pv-body { padding: .1rem .9rem .6rem; }
.pv-section { padding: .7rem 0; border-top: 1px solid var(--line); }
.pv-section:first-child { border-top: 0; }
.pv-section h4 { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .14em; font-size: .58rem; color: var(--accent); margin: 0 0 .4rem; }
.pv-section.empty p { margin: 0; border: 1px dashed color-mix(in srgb, var(--fg) 22%, transparent); border-radius: 8px; padding: .45rem .6rem; font-size: .68rem; color: var(--mute); font-style: italic; }
.pv-p { margin: 0; font-size: .74rem; line-height: 1.5; opacity: .92; }
.pv-link { color: var(--accent); font-weight: 600; }
.pv-player { height: 52px; border-radius: 10px; background: var(--panel); border: 1px solid var(--line); display: flex; align-items: center; gap: .6rem; padding: 0 .8rem; font-size: .7rem; color: var(--mute); }
.pv-play { width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: .6rem; padding-left: 2px; }
.pv-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: .3rem; }
.pv-photos img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; }
.pv-row { display: flex; justify-content: space-between; gap: .6rem; font-size: .7rem; padding: .3rem 0; border-bottom: 1px dashed color-mix(in srgb, var(--fg) 15%, transparent); }
.pv-row:last-child { border-bottom: 0; }
.pv-row span { color: var(--mute); white-space: nowrap; }
.pv-quote { font-style: italic; font-size: .74rem; border-left: 2px solid var(--accent); padding-left: .6rem; margin: .5rem 0; line-height: 1.45; }
.pv-src { color: var(--mute); font-style: normal; font-size: .66rem; }
.pv-foot { text-align: center; font-size: .6rem; color: var(--mute); padding: .6rem; border-top: 1px solid var(--line); }
.steps-nav { position: sticky; top: 4.6rem; display: flex; flex-direction: column; gap: .15rem; }
.steps-nav button { display: flex; align-items: center; gap: .7rem; width: 100%; text-align: left; background: none; border: 0; padding: .6rem .7rem; border-radius: var(--radius-sm); color: var(--ink-2); cursor: pointer; transition: background .15s; }
.steps-nav button:hover { background: var(--paper-2); }
.steps-nav button.active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); font-weight: 600; }
.steps-nav .num { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; font-size: .75rem; font-weight: 700; flex-shrink: 0; transition: all .2s; }
.steps-nav button.done .num { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.steps-nav button.active .num { border-color: var(--accent); color: var(--accent); }
.progress { margin: 1rem .7rem 0; }
.progress .track { height: 6px; background: var(--paper-3); border-radius: 999px; overflow: hidden; }
.progress .fill { height: 100%; background: var(--accent); border-radius: 999px; transition: width .6s var(--ease); }
.progress small { display: block; margin-top: .4rem; color: var(--ink-3); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2.2rem); animation: rise .35s var(--ease); }
.panel-head { margin-bottom: 1.5rem; }
.panel-head h2 { margin-bottom: .3rem; }
.panel-head p { color: var(--ink-3); margin: 0; }
.panel-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.type-grid { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.2rem; }
.type-card { border: 1.5px solid var(--line); border-radius: 999px; padding: .55rem .95rem; background: #fff; cursor: pointer; font-weight: 600; font-size: .92rem; transition: all .15s; }
.type-card:hover { border-color: var(--ink); transform: translateY(-1px); }
.type-card.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip-input { display: flex; flex-wrap: wrap; gap: .4rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: .45rem; background: #fff; }
.chip-input:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(21, 19, 15, .08); }
.chip-input input { border: 0; flex: 1; min-width: 140px; padding: .4rem .5rem; box-shadow: none; }
.chip-input input:focus { box-shadow: none; }
.suggest { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .6rem; }
.suggest .chip { font-size: .8rem; padding: .28rem .65rem; }
.rows { display: flex; flex-direction: column; gap: .6rem; }
.row { display: grid; gap: .5rem; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .6rem; animation: pop .25s var(--ease); }
.row input, .row select { background: #fff; }
.row-link { grid-template-columns: 150px minmax(0, 1fr) 150px 110px auto; }
.row-release { grid-template-columns: minmax(0, 1.3fr) 120px minmax(0, 1fr) 110px minmax(0, 1fr) auto; }
.row-quote { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) auto; }
.row-event { grid-template-columns: minmax(0, 1.4fr) 120px minmax(0, 1.4fr) auto; }
.row .rm { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; color: var(--ink-3); display: grid; place-items: center; }
.row .rm:hover { color: var(--danger); border-color: var(--danger); }
.add-row { margin-top: .6rem; }
.sub-h { font-family: var(--font-display); font-weight: 700; font-size: .95rem; margin: 1.4rem 0 .6rem; }
.sub-h .hint { font-family: var(--font); font-weight: 400; color: var(--ink-3); font-size: .8rem; margin-left: .4rem; }
.dropzone { border: 2px dashed var(--line); border-radius: var(--radius); padding: 1.6rem 1rem; text-align: center; color: var(--ink-3); background: var(--paper); transition: all .2s; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: .25rem; }
.dropzone b { color: var(--ink); font-size: 1.05rem; }
.dropzone.over, .dropzone:hover { border-color: var(--accent); background: var(--accent-soft); color: #7A2A14; }
.dropzone.full { cursor: default; border-style: solid; }
.dropzone.full:hover { border-color: var(--line); background: var(--paper); color: var(--ink-3); }
/* photo workspace: big tiles, drag to reorder, first = cover */
.photo-board { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: .9rem; }
.ptile { position: relative; margin: 0; border-radius: var(--radius-sm); overflow: hidden; background: var(--paper-2); border: 1.5px solid var(--line); animation: pop .3s var(--ease); cursor: grab; transition: transform .2s var(--ease), box-shadow .2s, border-color .2s, opacity .2s; }
.ptile:hover { box-shadow: var(--shadow); }
.ptile:active { cursor: grabbing; }
.ptile.is-cover { border-color: var(--accent); grid-column: span 2; grid-row: span 1; }
.ptile.is-cover img { aspect-ratio: 16 / 9; }
.ptile img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; display: block; pointer-events: none; user-select: none; }
.ptile.dragging { opacity: .35; transform: scale(.97); }
.ptile.target { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(21, 19, 15, .12); transform: translateY(-2px); }
.ptile .cover-tag { position: absolute; top: .55rem; left: .55rem; box-shadow: var(--shadow-sm); }
.ptile figcaption { padding: .5rem; display: flex; flex-direction: column; gap: .4rem; background: #fff; border-top: 1px solid var(--line); }
.ptile figcaption input { font-size: .8rem; padding: .35rem .5rem; }
.ptile-actions { display: flex; align-items: center; gap: .3rem; }
.ptile-actions .tiny { font-size: .72rem; }
.spacer { flex: 1; }
.icon-btn { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; font-size: .85rem; color: var(--ink-2); flex-shrink: 0; text-decoration: none; }
.icon-btn:hover { border-color: var(--ink); color: var(--ink); text-decoration: none; }
.icon-btn:disabled { opacity: .3; cursor: default; }
.icon-btn.danger:hover { border-color: var(--danger); color: var(--danger); }
/* cover picker on step 1 */
.step-cols { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(260px, .9fr); gap: 1.6rem; align-items: start; }
.big-input { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; padding: .7rem .9rem; letter-spacing: -.01em; }
.cover-box { position: relative; aspect-ratio: 4 / 5; border: 2px dashed var(--line); border-radius: var(--radius); background: var(--paper); overflow: hidden; cursor: pointer; display: grid; place-items: center; transition: all .2s; }
.cover-box.over, .cover-box:hover { border-color: var(--accent); background: var(--accent-soft); }
.cover-box.has { border-style: solid; border-color: var(--line); background: var(--ink); }
.cover-box img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover-label { position: relative; z-index: 1; text-align: center; color: var(--ink-3); padding: 1rem; display: flex; flex-direction: column; gap: .25rem; align-items: center; }
.cover-label b { color: var(--ink); font-size: 1.05rem; }
.cover-label span { font-size: .85rem; }
.cover-box.has .cover-label { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(transparent, rgba(0, 0, 0, .75)); color: #fff; padding: 2rem 1rem .9rem; font-weight: 600; font-size: .9rem; opacity: 0; transition: opacity .2s; }
.cover-box.has:hover .cover-label { opacity: 1; }
/* tips */
.tips-inline { display: none; }
.tips-inline .tips { margin: 1.4rem 0 0; background: var(--paper); }
.tips { margin: 1.2rem .3rem 0; padding: .9rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: .84rem; color: var(--ink-2); animation: rise .35s var(--ease); }
.tips b { display: block; font-family: var(--font-display); font-size: .8rem; margin-bottom: .45rem; color: var(--ink); }
.tips ul { margin: 0; padding-left: 1.05rem; display: flex; flex-direction: column; gap: .4rem; line-height: 1.45; }
/* choice cards (theme, cover, gallery) */
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; margin-bottom: 1.2rem; }
.choice-grid.stack { grid-template-columns: 1fr; gap: .5rem; }
.choice { border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; padding: .8rem .9rem; text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: .2rem; transition: all .15s; }
.choice:hover { border-color: var(--ink); transform: translateY(-1px); }
.choice.on { outline: 3px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.choice b { font-family: var(--font-display); }
.choice small { color: var(--ink-3); font-size: .8rem; }
.choice.theme-noir, .choice.theme-paper, .choice.theme-neon { min-height: 120px; justify-content: flex-end; }
.choice.theme-noir { background: #0B0B0C; color: #F4F2EE; border-color: #0B0B0C; }
.choice.theme-noir small { color: #A9A49A; }
.choice.theme-paper { background: #F4F2EE; color: #121212; }
.choice.theme-neon { background: #070B1F; color: #EAF0FF; border-color: #070B1F; }
.choice.theme-neon small { color: #93A0C7; }
/* "More" accordion */
.extras { margin-top: 1.6rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); }
.extras summary { cursor: pointer; padding: .9rem 1.1rem; list-style: none; display: flex; align-items: center; gap: .6rem; }
.extras summary::-webkit-details-marker { display: none; }
.extras summary::before { content: "+"; font-weight: 700; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; background: #fff; font-size: .9rem; }
.extras[open] summary::before { content: "–"; }
.extras summary .hint { font-weight: 400; color: var(--ink-3); font-size: .85rem; }
.extras-body { padding: .4rem 1.1rem 1.2rem; border-top: 1px solid var(--line); background: #fff; border-radius: 0 0 var(--radius-sm) var(--radius-sm); }
/* desktop preview overlay */
.desk-overlay { position: fixed; inset: 0; z-index: 60; background: rgba(21, 19, 15, .7); padding: 2vh 2vw; animation: fade .2s ease; display: flex; }
.desk-panel { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: 100%; display: flex; flex-direction: column; overflow: hidden; animation: rise .3s var(--ease); }
.desk-bar { display: flex; align-items: center; gap: .8rem; padding: .7rem 1rem; border-bottom: 1px solid var(--line); background: #fff; }
.desk-frame { flex: 1; min-height: 0; overflow: hidden; background: #1a1917; padding: 4px; }
.desk-frame iframe { border: 0; transform-origin: 0 0; background: #fff; display: block; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.swatches { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.swatch { width: 30px; height: 30px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); cursor: pointer; transition: transform .15s; }
.swatch:hover { transform: scale(1.12); }
.swatch.on { box-shadow: 0 0 0 2px var(--ink); }
.swatches input[type="color"] { -webkit-appearance: none; appearance: none; width: 30px; height: 30px; padding: 0; border: 2px solid #fff; border-radius: 50%; box-shadow: 0 0 0 1px var(--line); cursor: pointer; overflow: hidden; }
.swatches input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; }
.swatches input[type="color"]::-webkit-color-swatch { border: 0; border-radius: 50%; }
.publish-box { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.2rem; border-radius: var(--radius-sm); background: var(--paper); border: 1px solid var(--line); margin-top: 1rem; flex-wrap: wrap; }
.publish-box p { margin: 0; }
.guest-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: var(--ink); color: var(--paper); border-radius: var(--radius); padding: .9rem 1.2rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
.guest-bar p { margin: 0; color: #d6d0c4; font-size: .93rem; }
.guest-bar b { color: #fff; }
.toast-wrap { position: fixed; left: 50%; bottom: 1.5rem; transform: translateX(-50%); z-index: 50; display: flex; flex-direction: column; gap: .5rem; align-items: center; pointer-events: none; }
.toast { background: var(--ink); color: var(--paper); padding: .7rem 1.1rem; border-radius: 999px; font-size: .9rem; box-shadow: var(--shadow); animation: rise .3s var(--ease); pointer-events: auto; }
.toast.error { background: var(--danger); color: #fff; }
.toast.out { opacity: 0; transition: opacity .3s; }
.hide-m { display: initial; }
.hide-m + .cap { display: inline-block; }
@media (max-width: 720px) { .bar-right .cap { text-transform: capitalize; } }
.label-row { margin-bottom: .5rem; }
.handle-row { display: flex; gap: .5rem; align-items: stretch; }
.handle-row .input-prefix { flex: 1; }
.publish-url { margin-top: .4rem; }
.publish-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.publish-note { margin-top: .8rem; }
.board-help { margin: .6rem 0 .4rem; }
.cards-help { margin: 0 0 .6rem; }
.bar-left { display: flex; align-items: center; gap: 1rem; }
.guest-actions { display: flex; gap: .5rem; }
.guest-ghost { border-color: #444; color: #fff; }
.btn-danger-solid { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn-danger-solid:hover { background: #a8250f; border-color: #a8250f; }
/* custom dialogs (no native alert/confirm/prompt anywhere) */
.dlg-backdrop { position: fixed; inset: 0; z-index: 90; background: rgba(21, 19, 15, .55); display: flex; align-items: center; justify-content: center; padding: 1rem; animation: fade .15s ease; }
.dlg-backdrop.out { opacity: 0; transition: opacity .15s; }
.dlg { width: min(100%, 420px); background: #fff; color: var(--ink); border-radius: var(--radius); padding: 1.4rem 1.4rem 1.2rem; box-shadow: 0 24px 70px rgba(0, 0, 0, .35); animation: rise .22s var(--ease); font-family: var(--font); }
.dlg h3 { font-size: 1.2rem; margin: 0 0 .4rem; }
.dlg-msg { color: var(--ink-2); margin: 0 0 1rem; line-height: 1.5; }
.dlg-input { display: flex; gap: .5rem; margin-bottom: 1rem; }
.dlg-input input { font-size: .95rem; }
.dlg-actions { display: flex; justify-content: flex-end; gap: .6rem; }
.rel-art { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; flex-shrink: 0; display: grid; place-items: center; background: var(--paper-2); color: var(--ink-3); }
.rel-art.big { width: 96px; height: 96px; border-radius: 12px; }
.rel-art.tiny { width: 26px; height: 26px; border-radius: 5px; }
.rel-art .bi { width: 1.2rem; height: 1.2rem; }
.rel-draft-top { display: flex; gap: .9rem; align-items: center; margin-bottom: .9rem; }
.rel-draft-src { display: flex; flex-direction: column; gap: .4rem; align-items: flex-start; min-width: 0; }
.rel-audio { width: 100%; height: 36px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: .6rem; }
.tabs-row .plat .bi { width: 1rem; height: 1rem; }
.src-chips { margin: .6rem 0 .2rem; }
.chip.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.rel-drop { padding: 2rem 1rem; }
.bar-track { display: block; height: 6px; border-radius: 999px; background: var(--paper-3); margin-top: .6rem; overflow: hidden; }
.bar-fill { display: block; height: 100%; background: var(--accent); transition: width .2s; }
.rel-card { flex-wrap: wrap; }
.hit.picked { border-color: var(--ink); background: var(--paper-2); }
.hit.dup { opacity: .45; cursor: default; }
.tick { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--paper-3); display: grid; place-items: center; font-size: .75rem; flex-shrink: 0; }
.tick.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.art-row { display: flex; gap: .45rem; align-items: center; }
.art-row input { flex: 1; min-width: 0; }
.music-look { margin-top: .9rem; align-items: start; }
.rel-edit { flex-basis: 100%; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: .45rem; padding-top: .6rem; border-top: 1px dashed var(--paper-3); margin-top: .2rem; }
.rel-edit .wide { grid-column: 1 / -1; }
.rel-edit input, .rel-edit select { font-size: .9rem; padding: .5rem .65rem; }
.pv-rel { display: flex; align-items: center; gap: .45rem; }
.pv-rel-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.pv-rel-text b, .pv-rel-text span { display: block; }
.pv-play-sm { width: 20px; height: 20px; border-radius: 50%; background: var(--accent); color: #fff; font-size: .55rem; display: grid; place-items: center; flex-shrink: 0; }
.hl-when { font-family: var(--font-display); font-weight: 700; font-size: .78rem; color: var(--ink-3); width: 68px; flex-shrink: 0; }
.hl-card .card-text { cursor: pointer; }
.chip-sm { font-size: .68rem; padding: .1rem .5rem; margin-left: .3rem; vertical-align: middle; }
.pv-tag { font-size: .55rem; text-transform: uppercase; letter-spacing: .06em; color: var(--mute); margin-left: .25rem; }
.pill-soft { background: var(--paper-2); color: var(--ink-2); }
.sections-editor { margin: 1.1rem 0 .4rem; }
.sec-list { display: flex; flex-direction: column; gap: .35rem; }
.sec-row { display: flex; align-items: center; gap: .6rem; padding: .45rem .6rem; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; }
.sec-row b { flex: 1; font-size: .92rem; }
.sec-row.off b { color: var(--ink-3); text-decoration: line-through; }
.stats-editor { margin: 1.1rem 0 .4rem; }
.stat-row { display: grid; grid-template-columns: 110px 1fr auto; gap: .5rem; align-items: center; margin-bottom: .5rem; }
.stat-row input { min-width: 0; }
.stat-value { font-weight: 700; }
.stats-auto { margin: .1rem 0 .6rem; }
.stat-tools { display: flex; gap: .5rem; flex-wrap: wrap; margin: .2rem 0 .5rem; }
.stat-ideas { display: flex; gap: .4rem; flex-wrap: wrap; }
.stat-ideas .chip { cursor: pointer; }
.stat-templates { margin-top: .4rem; }
.chip-ghost { background: transparent; border-style: dashed; color: var(--ink-3); }
.error-text { color: var(--danger); font-size: .85rem; margin: .1rem 0 .5rem; }
.tips-inline summary { cursor: pointer; font-weight: 600; font-size: .9rem; color: var(--ink-2); padding: .6rem 0 .2rem; list-style: none; }
.tips-inline summary::-webkit-details-marker { display: none; }
.tips-inline summary::before { content: "💡 "; }
.tips-inline[open] summary { color: var(--ink); }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--accent); animation: spin .8s linear infinite; display: inline-block; }
.skeleton { height: 12px; border-radius: 6px; background: linear-gradient(90deg, var(--paper-2), var(--paper-3), var(--paper-2)); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; margin: .6rem 0; }

/* ---------- link picker ---------- */
.pmark { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: .72rem; letter-spacing: -.02em; flex-shrink: 0; object-fit: cover; }
.bi { width: 1.2em; height: 1.2em; fill: currentColor; display: inline-block; vertical-align: middle; flex-shrink: 0; }
.pmark .bi { width: 60%; height: 60%; }
.pv-btn .bi { width: .9rem; height: .9rem; margin-right: .1rem; }
.pv-btn.pv-round { width: 28px; height: 28px; padding: 0; display: inline-grid; place-items: center; }
.pv-btn.pv-round .bi { width: 1rem; height: 1rem; margin: 0; }
.announce { background: var(--ink); color: var(--paper); text-align: center; padding: .6rem 1rem; font-size: .9rem; font-weight: 600; }
.admin-link { font-weight: 700; }
/* phone-only / phone-hide: which side of 720px an element belongs to */
@media (min-width: 721px) { .phone-only { display: none !important; } }
@media (max-width: 720px) { .phone-hide { display: none !important; } }
.linkcards { margin-bottom: .4rem; }
.cards { display: flex; flex-direction: column; gap: .5rem; margin-bottom: .7rem; }
.card { display: flex; align-items: center; gap: .75rem; padding: .6rem .7rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; animation: pop .25s var(--ease); }
.card.invalid { border-color: var(--danger); }
.card-order { display: flex; flex-direction: column; gap: 2px; }
.card-order .icon-btn { width: 22px; height: 18px; font-size: .55rem; border-radius: 6px; }
.card-text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.card-text b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-text span { color: var(--ink-3); font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-text em { font-style: normal; font-size: .78rem; }
.card-followers { display: flex; flex-direction: column; gap: .1rem; font-size: .68rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; }
.card-followers input { width: 6.5rem; padding: .35rem .5rem; font-size: .9rem; -moz-appearance: textfield; }
.card-followers input::-webkit-outer-spin-button, .card-followers input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.add-link { width: 100%; justify-content: center; border-style: dashed; border-color: var(--line); background: var(--paper); }
.add-link:hover { border-color: var(--ink); background: #fff; }
.no-scroll { overflow: hidden; }
.sheet-backdrop { position: fixed; inset: 0; z-index: 70; background: rgba(21, 19, 15, .55); display: flex; align-items: center; justify-content: center; padding: 1rem; animation: fade .18s ease; }
.sheet-backdrop[hidden] { display: none; }              /* [hidden] must beat the backdrop's display:flex (fifth time this bit) */
.sheet { width: min(100%, 580px); max-height: min(88vh, 88dvh); background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); display: flex; flex-direction: column; overflow: hidden; animation: rise .28s var(--ease); }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: .9rem 1.1rem .6rem; font-family: var(--font-display); font-size: 1.05rem; }
.plat-row { display: flex; gap: .4rem; overflow-x: auto; padding: .2rem 1.1rem .7rem; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.plat-row::-webkit-scrollbar { display: none; }
.plat { display: inline-flex; align-items: center; gap: .45rem; padding: .3rem .7rem .3rem .3rem; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-size: .84rem; font-weight: 600; white-space: nowrap; cursor: pointer; flex-shrink: 0; }
.plat .pmark { width: 26px; height: 26px; font-size: .6rem; }
.plat.on { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.sheet-body { padding: 0 1.1rem 1rem; overflow: auto; flex: 1; min-height: 0; }
.sheet-input { font-size: 1.05rem; padding: .85rem 1rem; }
.sheet-note { margin: .6rem 0 0; line-height: 1.45; }
.sheet-note .spinner { vertical-align: middle; margin-right: .4rem; width: 14px; height: 14px; }
.sheet-note a { font-weight: 600; color: var(--ink); text-decoration: underline; }
.hits { display: flex; flex-direction: column; gap: .4rem; margin-top: .7rem; }
.hit { display: flex; align-items: center; gap: .75rem; width: 100%; text-align: left; padding: .55rem .6rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; cursor: pointer; font: inherit; color: inherit; transition: border-color .15s, transform .15s; }
.hit:hover { border-color: var(--ink); transform: translateY(-1px); }
.hit .pmark { width: 42px; height: 42px; font-size: .8rem; }
.hit-text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.hit-text b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hit-text span { color: var(--ink-3); font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hit-add { font-weight: 700; font-size: .85rem; color: var(--accent); }
.hit-preview { margin-top: .7rem; border-color: var(--ink); cursor: default; }
.hit-preview:hover { transform: none; }
.sheet-followers { margin-top: .8rem; display: flex; flex-direction: column; gap: .35rem; }
.sheet-followers label { font-weight: 600; font-size: .9rem; }
.sheet-followers input { max-width: 14rem; }
.sheet-foot { display: flex; justify-content: flex-end; gap: .6rem; padding: .8rem 1.1rem; border-top: 1px solid var(--line); background: #fff; }
/* photo grip (touch reorder) */
.ptile .grip { position: absolute; top: .5rem; right: .5rem; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: 1rem; cursor: grab; touch-action: none; box-shadow: var(--shadow-sm); display: grid; place-items: center; }
.ptile .grip:active { cursor: grabbing; }
.hide-xs { display: inline; }

/* ---------- my kits ---------- */
.kits { max-width: 1100px; margin: 0 auto; padding: 1.5rem clamp(1rem, 4vw, 2rem) 4rem; }
.kits-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.kits-head h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin: 0 0 .3rem; }
.kits-head p { margin: 0; }
.kits-empty { text-align: center; padding: 3rem 1rem; background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); }
.kits-empty p { color: var(--ink-3); margin-bottom: 1.2rem; }
.kit-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
.kit-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s var(--ease), box-shadow .2s; }
.kit-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.kit-cover { position: relative; display: block; aspect-ratio: 16 / 9; background: radial-gradient(120% 90% at 20% 10%, color-mix(in srgb, var(--accent) 75%, #000) 0%, #121212 100%); }
.kit-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kit-initial { position: absolute; left: 1rem; bottom: .6rem; font-family: var(--font-display); font-size: 3rem; font-weight: 800; color: #fff; opacity: .9; }
.kit-status { position: absolute; top: .7rem; right: .7rem; background: rgba(255, 255, 255, .92); }
.kit-body { padding: 1rem 1.1rem 1.1rem; display: flex; flex-direction: column; gap: .35rem; }
.kit-body h2 { font-size: 1.25rem; margin: 0; }
.kit-link { margin: 0; font-size: .86rem; color: var(--ink-3); }
.kit-meter { height: 5px; background: var(--paper-2); border-radius: 999px; overflow: hidden; margin-top: .3rem; }
.kit-meter .fill { height: 100%; background: var(--accent); border-radius: 999px; }
.kit-actions { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; margin-top: .6rem; }
.danger-link { color: var(--danger); margin-left: auto; }
.danger-link:hover { color: var(--danger); }

/* ---------- admin ---------- */
.admin { max-width: 1100px; margin: 0 auto; padding: 1.5rem clamp(1rem, 4vw, 2rem) 4rem; display: flex; flex-direction: column; gap: 1.25rem; }
.admin-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.admin-head h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0; }
.admin-nav { display: flex; gap: .3rem; background: var(--paper-2); padding: .3rem; border-radius: 999px; }
.admin-nav a { padding: .5rem .95rem; border-radius: 999px; font-weight: 600; font-size: .9rem; color: var(--ink-2); }
.admin-nav a:hover { text-decoration: none; color: var(--ink); }
.admin-nav a.on { background: var(--ink); color: var(--paper); }
.stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: .9rem; }
.stat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .2rem; }
.stat-card .stat-label { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .12em; font-size: .68rem; color: var(--ink-3); font-weight: 700; }
.stat-card .stat-value { font-family: var(--font-display); font-size: 2.2rem; letter-spacing: -.03em; line-height: 1; }
.stat-card small { color: var(--ink-3); }
.admin-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.4rem; }
.admin-card h2 { font-size: 1.15rem; margin-bottom: .8rem; }
.admin-card-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .8rem; }
.admin-card-head h2 { margin: 0; }
.legend { font-size: .8rem; color: var(--ink-3); display: inline-flex; align-items: center; gap: .4rem; }
.legend .sw { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.sw.a, .seg.a { background: var(--accent); }
.sw.b, .seg.b { background: var(--ink); }
.bars { display: flex; align-items: flex-end; gap: 4px; height: 160px; padding-top: .5rem; border-bottom: 1px solid var(--line); }
.bar-col { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; position: relative; min-width: 0; }
.chart-bar { display: flex; flex-direction: column; justify-content: flex-end; min-height: 2px; border-radius: 4px 4px 0 0; overflow: hidden; background: var(--paper-2); transition: height .6s var(--ease); }
.chart-bar .seg { display: block; min-height: 3px; width: 100%; align-self: stretch; }
.bar-col small { position: absolute; top: 100%; left: 0; font-size: .62rem; color: var(--ink-3); margin-top: .25rem; white-space: nowrap; }
.table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.admin-table th { text-align: left; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .1em; font-size: .66rem; color: var(--ink-3); padding: .5rem .6rem; border-bottom: 1px solid var(--line); }
.admin-table td { padding: .65rem .6rem; border-bottom: 1px solid var(--paper-2); vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table .actions { display: flex; gap: .35rem; flex-wrap: wrap; }
.admin-search { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.admin-search input { max-width: 380px; }
.admin-search .admin-sort { width: auto; padding: .5rem 2rem .5rem .8rem; font-size: .9rem; }
.admin-chips .chip small { opacity: .65; font-weight: 600; }
.admin-note { margin: -.4rem 0 0; }
.admin-note .inline button { font: inherit; color: var(--ink); text-decoration: underline; }
.batch-bar { position: sticky; top: .75rem; z-index: 5; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; padding: .55rem .9rem; border-radius: 999px; background: var(--ink); color: var(--paper); box-shadow: 0 10px 30px rgba(18, 18, 18, .25); }
.batch-bar[hidden] { display: none; }
.batch-bar b { margin-right: .25rem; }
.batch-bar .btn-soft { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.batch-bar .btn-ghost { color: var(--paper); border-color: rgba(244, 242, 238, .4); }
.batch-bar .btn-ghost:hover { border-color: var(--paper); }
.batch-bar .btn-danger { color: #FFB4A6; border-color: rgba(255, 180, 166, .5); }
.batch-bar .btn-danger:hover { background: rgba(255, 180, 166, .15); }
.batch-bar .linklike { color: var(--paper); opacity: .8; margin-left: auto; }
.admin-table .pick-col { width: 2rem; padding-right: 0; }
.admin-table .pick-col input { width: 1.05rem; height: 1.05rem; accent-color: var(--accent); cursor: pointer; }
.admin-table .row-empty td { color: var(--ink-3); }
/* social approvals */
.social-list { display: flex; flex-direction: column; gap: 1rem; }
.social-card { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 1.1rem; padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.social-media video { width: 100%; aspect-ratio: 9 / 16; border-radius: 14px; background: #000; object-fit: cover; }
.social-slides { display: grid; grid-template-columns: 1fr 1fr; gap: .35rem; }
.social-slides img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; background: #fff; }
.social-slides img:first-child { grid-column: 1 / -1; }
.social-body { display: flex; flex-direction: column; gap: .55rem; min-width: 0; }
.social-note { font-size: .9rem; color: var(--ink-2); margin: 0; }
.social-approve { display: flex; flex-direction: column; gap: .35rem; }
.social-approve textarea, .social-changes textarea { width: 100%; font: inherit; font-size: .95rem; line-height: 1.45; }
.social-approve input[type=datetime-local] { width: auto; max-width: 260px; }
.social-actions { display: flex; gap: .5rem; align-items: center; margin-top: .35rem; }
.social-changes { display: flex; flex-direction: column; gap: .35rem; margin-top: .6rem; padding-top: .7rem; border-top: 1px dashed var(--line); }
.social-audio { margin-top: .6rem; padding-top: .7rem; border-top: 1px dashed var(--line); }
.social-audio .label { margin: 0 0 .25rem; }
.social-audio-now { margin: 0 0 .4rem; font-size: .95rem; }
.social-audio-search { display: flex; gap: .4rem; flex-wrap: wrap; align-items: center; }
.social-audio-search input[type=search] { flex: 1 1 220px; font: inherit; font-size: .95rem; padding: .45rem .6rem; }
.social-audio-list { list-style: none; margin: .5rem 0 0; padding: 0; display: flex; flex-direction: column; gap: .3rem; }
.social-audio-list li form { display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding: .35rem .5rem; background: var(--paper-2, #f4f2ee); border-radius: 8px; }
.social-caption { white-space: pre-wrap; font-size: .93rem; color: var(--ink-2); margin: 0; line-height: 1.45; }
.social-feedback { font-size: .92rem; color: var(--ink); margin: 0; padding: .55rem .8rem; background: var(--accent-soft); border-radius: 10px; }
.social-posting .admin-card-head h2 { display: inline-flex; align-items: center; gap: .5rem; }
.social-queue .queue-day { margin-top: .9rem; }
.social-queue .queue-day h3 { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-2); margin: 0 0 .4rem; }
.social-queue .queue-day h3.is-today { color: var(--accent); }
.queue-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: .7rem; align-items: center; padding: .5rem .6rem; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); margin-bottom: .4rem; }
.queue-row.is-published { opacity: .72; }
.queue-thumb { display: block; width: 44px; height: 55px; border-radius: 8px; overflow: hidden; background: var(--paper-2); }
.queue-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.queue-thumb-video { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; color: var(--ink-2); font-size: .8rem; }
.queue-main { min-width: 0; }
.queue-meta { margin: 0; font-size: .82rem; color: var(--ink-2); display: flex; gap: .3rem; align-items: center; flex-wrap: wrap; }
.queue-meta b { color: var(--ink); }
.queue-line { margin: .1rem 0 0; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.queue-actions { display: flex; gap: .4rem; align-items: center; }
@media (max-width: 720px) { .queue-row { grid-template-columns: 44px minmax(0, 1fr); } .queue-actions { grid-column: 2; } }
/* marketing ROI */
.mkt-budget-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.mkt-budget-num { font-size: 1.15rem; } .mkt-budget-num b { font-family: var(--font-display); font-size: 1.6rem; letter-spacing: -.02em; }
.mkt-budget-form { display: flex; align-items: center; gap: .5rem; } .mkt-budget-form .label { margin: 0; } .mkt-budget-form input { width: 6rem; }
.mkt-bar { height: 10px; border-radius: 999px; background: var(--paper-2); overflow: hidden; margin-top: .7rem; }
.mkt-bar-fill { height: 100%; background: var(--accent); border-radius: 999px; transition: width .3s; } .mkt-bar-fill.over { background: #B0300E; }
.mkt-funnel { grid-template-columns: repeat(4, 1fr); }
.mkt-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.mkt-table th, .mkt-table td { text-align: left; padding: .5rem .5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.mkt-table th { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .1em; font-size: .66rem; color: var(--ink-3); }
.mkt-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mkt-post { display: flex; gap: .6rem; align-items: flex-start; } .mkt-thumb { width: 40px; height: 50px; object-fit: cover; border-radius: 6px; flex: none; background: var(--paper-2); }
.mkt-meta { margin: 0 0 1rem; padding: .8rem 1rem; border: 1px dashed var(--line); border-radius: 12px; } .mkt-inline { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; margin: .4rem 0; } .mkt-inline .label { margin: 0; }
.mkt-days { display: flex; gap: .4rem; flex-wrap: wrap; } .mkt-day { display: flex; flex-direction: column; align-items: center; padding: .4rem .6rem; border: 1px solid var(--line); border-radius: 10px; min-width: 56px; } .mkt-day b { font-family: var(--font-display); font-size: 1.1rem; } .mkt-day span { font-size: .7rem; color: var(--ink-3); }
.mkt-spend-form { display: flex; gap: .7rem; align-items: flex-end; flex-wrap: wrap; margin-bottom: 1rem; } .mkt-spend-form .grow { flex: 1 1 220px; } .mkt-spend-form input, .mkt-spend-form select { width: 100%; }
@media (max-width: 720px) { .mkt-funnel { grid-template-columns: 1fr 1fr; } .mkt-table { display: block; overflow-x: auto; } }
/* Admin → Money */
.fin-big { display: flex; gap: 2.2rem; flex-wrap: wrap; margin: .2rem 0 .4rem; } .fin-big > div { display: flex; flex-direction: column; gap: .15rem; }
.fin-big b { font-family: var(--font-display); font-size: 2rem; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.fin-take { margin: 1rem 0 0; padding: .8rem 1rem; border-left: 3px solid var(--accent); background: var(--paper-2); border-radius: 0 12px 12px 0; font-size: 1rem; line-height: 1.5; }
.fin-stats { margin: 1rem 0; } .fin-aws { margin-bottom: 1rem; }
.neg { color: #B0300E; } .pos { color: #1F7A3A; }
.fin-table tr.now td { background: var(--paper-2); } .fin-table td b { font-weight: 700; }
.fin-kind { display: inline-block; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .1em; font-size: .62rem; font-weight: 700; padding: .15rem .45rem; border-radius: 999px; background: var(--paper-2); color: var(--ink-3); }
.fin-kind.in { background: #E3F4E8; color: #1F7A3A; }
.fin-price { margin-bottom: .6rem; } .fin-price input { width: 5rem; }
@media (max-width: 720px) { .fin-big { gap: 1.2rem; } .fin-big b { font-size: 1.6rem; } }
.social-plumbing { margin-top: .8rem; display: flex; flex-direction: column; gap: .5rem; }
.social-key { display: inline-block; padding: .35rem .6rem; background: var(--paper-2); border-radius: 8px; font-size: .85rem; word-break: break-all; }
@media (max-width: 720px) { .social-card { grid-template-columns: 1fr; } .social-media video { max-width: 200px; margin: 0 auto; display: block; } .admin-page .admin-card-head { flex-wrap: wrap; } .admin-page .admin-card-head h2 { white-space: nowrap; } }
.admin-table .row-empty b { font-weight: 500; }
.admin-form .field { max-width: 560px; }
.status-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .55rem; }
.status-list li { display: flex; align-items: center; gap: .55rem; flex-wrap: wrap; }
.status-list small { color: var(--ink-3); }
.status-list .dotp { width: 10px; height: 10px; border-radius: 50%; background: var(--paper-3); display: inline-block; }
.status-list .dotp.on { background: var(--ok); box-shadow: 0 0 0 3px var(--ok-soft); }

/* ---------- responsive ---------- */
@media (max-width: 1240px) {
  .build-layout { grid-template-columns: minmax(0, 1fr) 340px; }
  .steps-nav { grid-column: 1 / -1; position: static; flex-direction: row; overflow-x: auto; gap: .3rem; padding-bottom: .3rem; }
  .steps-nav button { width: auto; white-space: nowrap; }
  .progress { display: none; }
  .steps-nav .tips { display: none; }
  .tips-inline { display: block; }
}
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .mock-card { margin: 0 auto; }
  .steps, .features { grid-template-columns: 1fr 1fr; }
  .build-layout { grid-template-columns: 1fr; }
  .steps-nav { gap: .25rem; margin: 0 0 .25rem; }
  .steps-nav button { flex: 1; justify-content: center; padding: .5rem .4rem; font-size: .85rem; border: 1.5px solid var(--line); background: #fff; }
  .steps-nav button.active { border-color: var(--ink); }
  .steps-nav .num { width: 22px; height: 22px; font-size: .7rem; }
  .panel { padding: 1.1rem 1rem; border-radius: var(--radius-sm); }
  .builder-page .panel { padding-bottom: 0; }   /* its sticky step bar is the bottom edge */
  .panel-foot { position: sticky; bottom: 0; z-index: 30; background: #fff; margin: 1.25rem -1rem 0; padding: .75rem 1rem calc(.75rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); border-radius: 0 0 var(--radius-sm) var(--radius-sm); box-shadow: 0 -8px 24px rgba(21, 19, 15, .06); }
  .panel-foot .foot-right { flex: 1; justify-content: flex-end; gap: .8rem; }
  .panel-foot .foot-next { flex: 1; max-width: 320px; justify-content: center; }
  .guest-bar { padding: .75rem .9rem; border-radius: var(--radius-sm); gap: .6rem; }
  .guest-bar p { font-size: .86rem; }
  .cards .card { flex-wrap: wrap; }
  .card-followers { order: 3; flex-direction: row; align-items: center; gap: .5rem; width: 100%; padding-top: .3rem; border-top: 1px dashed var(--line); }
  .card-followers input { width: 8rem; font-size: 16px; }
  .preview { display: none; position: fixed; inset: 0; z-index: 45; background: rgba(21, 19, 15, .55); padding: 1rem; overflow: auto; }
  .preview.open { display: block; animation: rise .25s var(--ease); }
  .preview.open .pv-bar { max-width: 460px; margin: 0 auto .6rem; }
  .preview.open .pv { max-width: 460px; margin: 0 auto; max-height: none; }
  .icon-btn.pv-close { display: grid; }
  .step-cols { grid-template-columns: 1fr; }
  .cover-box { aspect-ratio: 16 / 10; }
  .row-link, .row-release, .row-quote, .row-event { grid-template-columns: 1fr 1fr; }
  .row-link input[type="url"], .row-release input.wide, .row-quote textarea, .row-quote input.wide { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  input, select, textarea, .sheet-input { font-size: 16px; }   /* iOS zooms into anything smaller */
  .hide-m { display: none !important; }
  .grid-3 { grid-template-columns: 1fr; }
  .rel-edit { grid-template-columns: 1fr 1fr; }
  .bar { padding: .55rem .8rem; gap: .5rem; }
  .bar-left { gap: .5rem; }
  .bar-right { gap: .4rem; }
  .bar .brand .mark { width: 24px; height: 24px; }
  .bar-left:has(.btn) .brand span { display: none; }   /* edit mode: the mark + "← My kits" fit; the wordmark would overlap */
  .guest-bar { padding: .5rem .7rem .5rem .9rem; flex-wrap: nowrap; align-items: center; }
  .guest-bar p { font-size: .84rem; }
  .guest-bar .btn-sm { padding: .38rem .7rem; font-size: .8rem; }
  .panel-head { margin-bottom: .9rem; }
  .panel-head h2 { font-size: 1.55rem; }
  .panel-head p { font-size: .92rem; }
  .panel-head .eyebrow { margin-bottom: .4rem; }
  .type-grid { gap: .45rem; margin-bottom: 1rem; }
  .type-card { padding: .5rem .85rem; font-size: .9rem; }
  .choice-grid { grid-template-columns: repeat(3, 1fr); gap: .45rem; }
  .choice.theme-noir, .choice.theme-paper, .choice.theme-neon { min-height: 72px; padding: .6rem .7rem; }
  .choice small { display: none; }
  .choice b { font-size: .88rem; }
  .choice-grid.stack { display: flex; flex-wrap: wrap; }
  .choice-grid.stack .choice { flex: 1 1 auto; padding: .55rem .8rem; border-radius: 999px; }
  .choice-grid.stack .choice.on, .choice-grid.stack.role-pick .choice:has(input:checked) { outline: none; background: var(--ink); color: var(--paper); border-color: var(--ink); }
  .choice-grid.stack.role-pick .choice:has(input:checked) small { color: var(--paper); opacity: .75; }
  .sub-h { margin: 1.1rem 0 .5rem; }
  .sub-h .hint { display: block; margin: .1rem 0 0; }
  .big-input { font-size: 1.35rem; }
  .step-cols { gap: 1.1rem; }
  .cover-box { aspect-ratio: 16 / 9; }
  .photo-board { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .ptile.is-cover { grid-column: 1 / -1; }
  .ptile.is-cover img { aspect-ratio: 16 / 10; }
  .ptile figcaption { padding: .4rem; }
  .ptile-actions .tiny { display: none; }
  .panel-head h2 { font-size: 1.7rem; }
  .panel-head { margin-bottom: 1.1rem; }
  .field { margin-bottom: .9rem; }
  .hide-xs { display: none; }
  /* the builder's step bar follows the app's bottom-bar metrics: 64px, even gaps, one wide primary action */
  .panel-foot { min-height: calc(var(--bottombar-h) + env(safe-area-inset-bottom)); padding: .5rem .75rem calc(.5rem + env(safe-area-inset-bottom)); gap: .6rem; }
  .foot-back { width: 48px; height: 48px; padding: 0; justify-content: center; border-radius: 12px; flex-shrink: 0; }
  .panel-foot .foot-right { gap: .6rem; }
  .panel-foot .skip { font-size: .85rem; padding: .7rem .8rem; border: 1px solid var(--line); border-radius: 12px; color: var(--ink-2); text-decoration: none; }
  .panel-foot .foot-next { max-width: none; height: 48px; }
  /* phones: sheets go full screen so the keyboard never hides the buttons; the body is the only thing that scrolls */
  .sheet-backdrop { padding: 0; align-items: stretch; }
  .sheet { width: 100%; height: 100dvh; max-height: 100dvh; border-radius: 0; animation: none; }
  .sheet-head { padding-top: calc(.9rem + env(safe-area-inset-top)); }
  .sheet-body { -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
  .sheet-foot { padding-bottom: calc(.8rem + env(safe-area-inset-bottom)); }
  .sheet-foot .btn { flex: 1; justify-content: center; }
  .save-state { display: inline-flex !important; align-items: center; gap: .3rem; font-size: .78rem; padding: .25rem .55rem; border-radius: 999px; background: var(--paper-2); }
  .save-state span:last-child { display: inline; }
  .publish-box { flex-direction: column; align-items: stretch; }
  .publish-box .btn { flex: 1; justify-content: center; }
  .extras summary { padding: .8rem .9rem; }
  .extras-body { padding: .3rem .9rem 1rem; }
  .auth { grid-template-columns: 1fr; }
  .auth-side { min-height: 0; padding: calc(1.5rem + env(safe-area-inset-top)) 1.5rem 1.5rem; gap: .6rem; }
  .auth-side .auth-copy { display: none; }
  .auth-side .brand .mark { width: 40px; height: 40px; }
  .auth-side .brand { font-size: 1.3rem; }
  .auth-phone-line { display: block; margin: .2rem 0 0; color: #F4F2EE; font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; line-height: 1.2; animation-delay: .35s; }
  .auth-side .tiny { margin: 0; animation-delay: .5s; }
  .auth-main { padding: 1.4rem 1rem calc(2rem + env(safe-area-inset-bottom)); }
  .steps, .features, .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .topnav .hide-sm { display: none; }
  .topnav .find-link:not(.in-tabs) { font-weight: 600; color: var(--ink); }
  .topnav .find-link:not(.in-tabs) { margin-right: -.2rem; }
  .topbar { padding: .7rem 1rem; }
  .hero { padding-top: 1.5rem; }
  .hero::before { display: none; }   /* the warm wash reads as a smudge on a phone */
  .hero { padding-top: 1.25rem; padding-bottom: 2rem; gap: 1.5rem; }
  .hero h1 { font-size: clamp(2rem, 9.2vw, 2.8rem); line-height: 1.02; letter-spacing: -.02em; margin-bottom: .9rem; max-width: none; }
  .hero h1 .nowrap-lg { white-space: normal; }
  .lede { font-size: .98rem; line-height: 1.5; }
  .cta-row { flex-direction: column; align-items: stretch; gap: .55rem; margin-top: 1.2rem; }
  .cta-row .btn-lg { padding: .85rem 1.2rem; font-size: 1rem; }
  .cta-row .btn { justify-content: center; }
  .cta-row .cta-link { text-align: center; padding: .5rem; }
  .cta-note { text-align: center; }
  .mock { margin-top: 1.5rem; animation: none; }   /* no tilt on a phone */
  .mock-badge { left: 6px; top: -12px; }
  .mock-card { padding: 1rem; }
  .mock-photo { height: 190px; }
  .section { padding: 2.5rem 1rem; }
  .big-cta { padding: 2.2rem 1.25rem; }
  .big-cta h2 { font-size: 1.7rem; }
  .ptile.is-cover { grid-column: span 1; }
  .ptile.is-cover img { aspect-ratio: 4 / 5; }
  .row-link, .row-release, .row-quote, .row-event { grid-template-columns: 1fr; }
}

@media (max-width: 400px) {
  .brand span:last-child { font-size: .95rem; }
  .bar-right .btn { padding: .4rem .65rem; font-size: .8rem; }
  .steps-nav .label-text { font-size: .78rem; }
  .plat { font-size: .78rem; }
}

/* ---------- the network: discover, saved, inbox, profiles ---------- */
.discover-form { margin-bottom: 1rem; }
.discover-row { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.discover-row .discover-q { flex: 2 1 220px; }
.discover-row select, .discover-row input[type="text"] { flex: 1 1 150px; width: auto; }
.genre-chips { margin-top: .7rem; }
.genre-chips .chip small { color: var(--ink-3); font-weight: 500; margin-left: .2rem; }
.chip.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip.on small { color: var(--paper-3); }
.results-line { margin: .2rem 0 1rem; }
.artist-card h2 a { color: inherit; text-decoration: none; }
.artist-card .kit-status { font-size: .68rem; }
.card-stats { display: flex; gap: .9rem; margin: .4rem 0 0; font-size: .82rem; color: var(--ink-3); }
.card-stats b { color: var(--ink); font-family: var(--font-display); font-size: .95rem; margin-right: .2rem; }
.network .chips { margin: .3rem 0 0; }
/* inbox */
.inbox-page .kits-head { margin-bottom: 1rem; }
.inbox-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .5rem; }
.inbox-row { display: flex; gap: .9rem; align-items: center; padding: .85rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: inherit; transition: transform .15s var(--ease), box-shadow .15s; }
.inbox-row:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); text-decoration: none; }
.inbox-list li.unread .inbox-row { border-color: var(--accent); }
.inbox-list li.unread .inbox-preview { color: var(--ink); font-weight: 600; }
.inbox-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .15rem; }
.inbox-text b { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.inbox-text .inbox-preview { color: var(--ink-3); font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }   /* not ".preview": that is the builder's preview panel */
.inbox-when { color: var(--ink-3); font-size: .78rem; white-space: nowrap; }
.avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; flex-shrink: 0; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.big { width: 84px; height: 84px; font-size: 2rem; }
.nav-badge { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 .35rem; border-radius: 999px; background: var(--accent); color: #fff; font-size: .68rem; font-weight: 700; margin-left: .3rem; vertical-align: middle; }
.nav-badge[hidden] { display: none; }
/* One bottom bar for phones. The members' tab bar here, the kit page's owner bar (epk.css) and the builder's
   step bar share the same metrics: 64px tall, items spread evenly, icon over label, safe-area padding. */
:root { --bottombar-h: 64px; }
nav.tabbar { display: none; }
@media (max-width: 720px) {
  /* nav.tabbar, not .tabbar: the footer's "nav { display: flex; gap }" rule outranked it and packed the tabs to the left */
  nav.tabbar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 0; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; height: calc(var(--bottombar-h) + env(safe-area-inset-bottom));
            padding: 0 .25rem env(safe-area-inset-bottom); background: color-mix(in srgb, var(--paper) 94%, transparent); backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
  .tabbar a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .2rem; font-size: .66rem; font-weight: 600; letter-spacing: .01em; color: var(--ink-3); text-decoration: none; }
  .tabbar a svg { width: 23px; height: 23px; }
  .tabbar a.on { color: var(--ink); }
  .tabbar a.on svg { stroke-width: 2.3; }
  .tabbar .nav-badge { position: absolute; top: 9px; left: calc(50% + 6px); margin: 0; min-width: 16px; height: 16px; font-size: .62rem; }
  body:has(.tabbar) { padding-bottom: calc(var(--bottombar-h) + env(safe-area-inset-bottom)); }
  body:has(.tabbar) .composer { bottom: calc(var(--bottombar-h) + env(safe-area-inset-bottom)); }
  .topnav.member .in-tabs { display: none; }
  .topnav { gap: .7rem; font-size: .9rem; }
  /* page headers on phones: one size smaller, the head's action goes full width under the text */
  .kits-head { margin-bottom: 1rem; }
  .kits-head h1 { font-size: clamp(1.9rem, 8.5vw, 2.4rem); }
  .kits-head .muted { font-size: .95rem; }
  .kits-head > .btn, .kits-head > form, .kits-head > form > .btn { width: 100%; justify-content: center; }
  .kits-empty { padding: 2.2rem 1rem; }
  .kits-empty h2 { font-size: 1.5rem; }
  /* inbox rows: the time sits top-right so the preview gets the full width */
  .inbox-row { position: relative; align-items: flex-start; padding-right: .9rem; }
  .inbox-text b { padding-right: 5.6rem; }
  .inbox-when { position: absolute; right: .9rem; top: .95rem; font-size: .72rem; }
}
/* thread */
.thread { max-width: 760px; display: flex; flex-direction: column; min-height: calc(100vh - 140px); }
.thread-head { display: flex; align-items: center; gap: 1rem; padding-bottom: .8rem; border-bottom: 1px solid var(--line); margin-bottom: .6rem; flex-wrap: wrap; }
.thread-who { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.thread-name { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: inherit; text-decoration: none; }
.messages { flex: 1; display: flex; flex-direction: column; gap: .5rem; padding: .5rem 0 1rem; }
.msg { display: flex; flex-direction: column; align-items: flex-start; max-width: 78%; }
.msg.mine { align-self: flex-end; align-items: flex-end; }
.bubble { padding: .6rem .85rem; border-radius: 16px 16px 16px 4px; background: #fff; border: 1px solid var(--line); white-space: pre-wrap; overflow-wrap: break-word; line-height: 1.45; }
.msg.mine .bubble { background: var(--ink); color: var(--paper); border-color: var(--ink); border-radius: 16px 16px 4px 16px; }
.msg-meta { font-size: .68rem; color: var(--ink-3); margin: .2rem .3rem 0; }
.composer { position: sticky; bottom: 0; display: flex; gap: .5rem; align-items: flex-end; padding: .6rem 0 max(.6rem, env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line); }
.composer textarea { flex: 1; resize: none; min-height: 44px; max-height: 160px; }
/* account + member */
.account-form { max-width: 760px; }
.account-email { margin: 0 0 1rem; }
.account-email b { font-weight: 600; color: var(--ink-2); }
.account-signout { max-width: 760px; margin-top: 1rem; }
.account-signout .btn { width: 100%; justify-content: center; }
/* the artist's kit on the profile page */
.kit-row { display: flex; align-items: center; gap: .9rem; max-width: 760px; margin: 0 0 1rem; padding: .75rem .9rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: inherit; text-decoration: none; transition: box-shadow .15s; }
.kit-row:hover { text-decoration: none; box-shadow: var(--shadow-sm); }
.kit-row .avatar.sq { border-radius: 12px; font-size: 1.2rem; }
.kit-row-empty .avatar.sq { background: var(--paper-2); color: var(--ink-2); }
.kit-row-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .1rem; }
.kit-row-text b { font-family: var(--font-display); font-size: 1.05rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kit-row-text span { color: var(--ink-3); font-size: .85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.role-pick { margin-bottom: 1rem; }
.role-pick .choice input { position: absolute; opacity: 0; pointer-events: none; }
.role-pick .choice { position: relative; cursor: pointer; }
.member-card { display: flex; gap: 1.2rem; align-items: flex-start; max-width: 760px; }
.member-body { flex: 1; min-width: 0; }
.member-body h1 { margin: 0 0 .3rem; font-size: clamp(1.6rem, 4vw, 2.2rem); }
.member-body > .muted { margin: 0 0 .5rem; }
.member-body > p:not(.muted):not(.eyebrow) { margin: .7rem 0 0; line-height: 1.55; }
.member-actions { margin-top: 1.1rem; display: flex; gap: .5rem; flex-wrap: wrap; }
@media (max-width: 720px) {
  /* a grid, not a column flex: flex-basis would otherwise become the fields' height */
  .discover-row { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
  .discover-row > * { flex: none; width: 100%; min-width: 0; }
  .discover-row .discover-q, .discover-row select[name="sort"], .discover-row .btn, .discover-row .linklike { grid-column: 1 / -1; }
  .discover-row .linklike { text-align: center; }
  .msg { max-width: 90%; }
  main.thread { min-height: calc(100dvh - 52px); padding-bottom: 0; }    /* fills the phone screen under the top bar; the composer sits on the bottom edge */
  .thread-head { gap: .6rem; }
  .member-card { flex-direction: column; gap: .8rem; }
  .member-body h1 { font-size: 1.7rem; }
}
.role-pick .choice:has(input:checked) { outline: 2px solid var(--ink); outline-offset: -2px; background: var(--paper-2); }

.card-play { background: var(--accent); border-color: var(--accent); color: #fff; }
.card-play.on { background: var(--ink); border-color: var(--ink); }
.card-play .bi { width: .9rem; height: .9rem; fill: currentColor; }
.card-play audio { display: none; }
/* ---------- feedback & issues ---------- */
.help-btn { width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--line); display: inline-grid; place-items: center; font: 700 .95rem var(--font-display); color: var(--ink-2) !important; text-decoration: none; background: #fff; flex-shrink: 0; }
.help-btn:hover { border-color: var(--ink); color: var(--ink) !important; text-decoration: none; }
.bar .help-btn { width: 30px; height: 30px; }
.fb-backdrop[hidden] { display: none; }
.fb-sheet .sheet-head { font-family: var(--font-display); font-size: 1.15rem; padding: 1rem 1.1rem .4rem; }
.fb-x { font-size: 1.3rem; line-height: 1; }
.fb-form textarea { width: 100%; margin: .2rem 0 .6rem; }
.fb-form input[type="email"] { width: 100%; margin-bottom: .6rem; }
.fb-kinds { display: flex; gap: .4rem; flex-wrap: wrap; margin: .4rem 0 .7rem; }
.fb-kind { padding: .45rem .8rem; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink-2); font: 600 .84rem var(--font); cursor: pointer; }
.fb-kind.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.fb-shot { display: flex; align-items: center; gap: .6rem; cursor: pointer; margin-bottom: .9rem; }
.fb-shot input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.fb-actions { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; padding-bottom: .4rem; }
.fb-actions p { margin: 0; flex: 1; min-width: 160px; }
.fb-page { max-width: 760px; }
.danger-text { color: var(--danger); }
.fb-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }   /* the honeypot: bots fill it, people never see it */
.fb-page-kinds { margin-bottom: 1rem; }
.fb-admin-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: .8rem; }
.fb-msg { max-width: 420px; white-space: pre-wrap; overflow-wrap: break-word; }
.nowrap { white-space: nowrap; }

/* ---------- app shell: the animated open, the installed app, page transitions ---------- */
html.intro-pending::before { content: ""; position: fixed; inset: 0; z-index: 999; background: var(--ink); }   /* up before first paint */
.intro { position: fixed; inset: 0; z-index: 1000; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.1rem; background: var(--ink); color: var(--paper); transition: opacity .4s var(--ease), visibility .4s; }
.intro.out { opacity: 0; visibility: hidden; pointer-events: none; }
.intro-mark { display: grid; grid-template-columns: 34px 34px; gap: 4px; }
.intro-mark .tile { width: 34px; height: 34px; border-radius: 5px; background: var(--paper); color: var(--ink); display: grid; place-items: center; font-family: var(--font-brand); font-size: 17px; line-height: 1; animation: tile-in .55s cubic-bezier(.2, 1.4, .4, 1) both; }
.intro-mark .t2 { animation-delay: .09s; }
.intro-mark .t4 { animation-delay: .18s; }
.intro-mark .t3 { background: var(--accent); animation-delay: .3s; }
.intro-word { font-family: var(--font-brand); font-size: 1.15rem; letter-spacing: .02em; animation: rise .5s var(--ease) both; animation-delay: .5s; }
@keyframes tile-in { from { transform: scale(0) rotate(-8deg); opacity: 0; } to { transform: none; opacity: 1; } }
body.intro-on { overflow: hidden; }

/* installed on a home screen: the status bar sits over the page, so the bars keep clear of it */
html.standalone body { overscroll-behavior-y: none; -webkit-tap-highlight-color: transparent; }
html.standalone .topbar { padding-top: calc(.7rem + env(safe-area-inset-top)); }
html.standalone .bar { padding-top: calc(.55rem + env(safe-area-inset-top)); }
html.standalone .steps-nav { top: calc(4.6rem + env(safe-area-inset-top)); }
html.standalone .preview-banner { padding-top: calc(.6rem + env(safe-area-inset-top)); }
html.standalone .footer nav a[target="_blank"] { display: none; }

/* one page flows into the next; the bars stay put */
@view-transition { navigation: auto; }
.topbar { view-transition-name: topbar; }
.tabbar { view-transition-name: tabbar; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .22s; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } .intro { display: none; } }

/* press feedback on the things a thumb taps */
.btn, .tabbar a, .obtn, .inbox-row, .kit-card, .artist-card, .chip, .choice, .card, .fab { -webkit-tap-highlight-color: transparent; }
@media (hover: none) {
  .btn:active, .fab:active, .icon-btn:active { transform: scale(.97); transition: transform .08s; }
  .inbox-row:active, .kit-row:active, .artist-card:active { transform: scale(.985); transition: transform .08s; }
  .tabbar a:active svg, .obtn:active .bi { transform: scale(.88); transition: transform .08s; }
}

/* ---------- the network: open dates (the swipe deck lives in swipe.css) ---------- */
.open-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); margin-right: .35rem; vertical-align: middle; }
.card-dates { margin: .35rem 0 0; font-size: .82rem; color: var(--ink-2); }
.card-dates b { font-weight: 700; }
.dates-ico { background: var(--paper-2) !important; color: var(--ink-2) !important; }
.dates-ico .bi { width: 20px; height: 20px; fill: currentColor; }
.dates-kit { display: flex; gap: .4rem; align-items: center; flex-wrap: wrap; margin-bottom: .8rem; }
.dates-panel { max-width: 760px; }
.dates-tools { display: flex; justify-content: space-between; align-items: center; gap: .8rem; flex-wrap: wrap; margin-bottom: .8rem; }
.dates-quick { display: flex; gap: .35rem; align-items: center; flex-wrap: wrap; }
.dates-state { min-width: 0; }
.months { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.2rem 1.6rem; }
.month h3 { font-family: var(--font-display); font-size: .95rem; margin: 0 0 .4rem; display: flex; justify-content: space-between; align-items: baseline; }
.month-count { font: 600 .68rem var(--font); color: var(--ok); text-transform: uppercase; letter-spacing: .06em; }
.dow, .days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.dow span { text-align: center; font-size: .66rem; color: var(--ink-3); text-transform: uppercase; }
.days .day { aspect-ratio: 1; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); font: 600 .82rem var(--font); cursor: pointer; padding: 0; }
.days .day.wk { color: var(--ink); }
.days .day.today { border-color: var(--ink); }
.days .day.open { background: var(--ok); border-color: var(--ok); color: #fff; }
.days .day.past { opacity: .3; cursor: default; }
.dates-legend { margin: .9rem 0 0; }
.dates-key { display: inline-block; width: 12px; height: 12px; border-radius: 4px; vertical-align: middle; margin-right: .2rem; }
.dates-key.open { background: var(--ok); }
.dates-foot { max-width: 760px; margin-top: .8rem; }
.dates-help { margin: -.3rem 0 .9rem; }
.dates-help a { font-weight: 600; color: var(--ink); }
/* landing: the network pitch */
.network-pitch { background: var(--ink); color: var(--paper); }
.network-pitch .section-head h2, .network-pitch .eyebrow { color: #fff; }
.network-pitch .eyebrow { color: #E9873F; }
.pitch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; max-width: 1100px; margin: 0 auto; }
.pitch-card { background: #1a1a1a; border: 1px solid #2a2a2a; border-radius: var(--radius); padding: 1.4rem; }
.pitch-who { margin: 0 0 .5rem; font-family: var(--font-display); font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: #E9873F; }
.pitch-card h3 { color: #fff; margin: 0 0 .5rem; }
.pitch-card p { color: #bcb6aa; margin: 0 0 1rem; }
.pitch-foot { text-align: center; color: #bcb6aa; margin: 2rem 0 0; font-size: .95rem; }
.pitch-foot a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 720px) {
  .pitch-grid { grid-template-columns: 1fr; }
  .months { grid-template-columns: 1fr 1fr; gap: 1rem .8rem; }
  .days { gap: 3px; }
  .days .day { border-radius: 8px; font-size: .78rem; }
}
@media (max-width: 480px) { .months { grid-template-columns: 1fr; } .days .day { font-size: .9rem; } }

/* ---------- admin: the Improve board (Operation MY EPK) ---------- */
.ops-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.ops-status { margin: 0; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.ops-dot { width: 10px; height: 10px; border-radius: 50%; background: #2F9E5F; box-shadow: 0 0 0 3px rgba(47, 158, 95, .18); }
.ops-dot.off { background: var(--ink-3); box-shadow: none; }
.ops-idea { display: flex; flex-direction: column; gap: .6rem; }
.ops-idea label { display: block; }
.ops-idea textarea { width: 100%; font: inherit; font-size: 1rem; line-height: 1.45; resize: vertical; }
.ops-idea .btn { align-self: flex-start; }
.ops-block { display: flex; flex-direction: column; gap: .8rem; }
.ops-block h2 { font-size: 1.05rem; margin: 0; display: flex; align-items: center; gap: .5rem; }
.ops-count { font-size: .75rem; background: var(--paper-2); border-radius: 999px; padding: .15rem .55rem; color: var(--ink-2); }
.ops-card { display: flex; flex-direction: column; gap: .5rem; }
.ops-card-head { display: flex; justify-content: space-between; gap: .8rem; align-items: baseline; }
.ops-card h3 { margin: 0; font-size: 1.05rem; }
.ops-card h3 a { color: inherit; }
.ops-what, .ops-why { margin: 0; }
.ops-meta { margin: 0; display: flex; gap: .4rem; flex-wrap: wrap; align-items: center; }
.ops-meta .pill { text-transform: none; letter-spacing: 0; font-weight: 600; }
.ops-actions { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; margin-top: .3rem; }
.ops-no summary { list-style: none; cursor: pointer; }
.ops-no summary::-webkit-details-marker { display: none; }
.ops-no[open] { flex-basis: 100%; }
.ops-no-form { display: flex; gap: .5rem; margin-top: .5rem; width: 100%; }
.ops-no-form input { flex: 1; min-width: 0; }
.ci-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); margin-right: .2rem; }
.ci-dot.green { background: #2F9E5F; }
.ci-dot.red { background: var(--danger); }
.ci-dot.running { background: #D9A400; }
.pill.st-review { background: var(--accent); color: #fff; }
.pill.st-stuck { background: var(--danger); color: #fff; }
.ops-thread { list-style: none; margin: .2rem 0 0; padding: .6rem .8rem; background: var(--paper-2); border-radius: 12px; display: flex; flex-direction: column; gap: .35rem; font-size: .92rem; }
.ops-thread li b { font-weight: 700; margin-right: .3rem; }
.ops-thread li.me b { color: var(--accent); }
.ops-thread li small { color: var(--ink-3); margin-left: .3rem; }
.ops-changes { margin: 0; color: var(--accent); font-weight: 600; }
.ops-note { display: flex; flex-direction: column; gap: .4rem; margin-top: .2rem; }
.ops-note textarea { width: 100%; font: inherit; font-size: .95rem; line-height: 1.4; resize: vertical; }
.ops-note-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.ops-shipped { list-style: none; margin: 0; padding: 0 1.2rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.ops-shipped li { display: flex; align-items: center; gap: .7rem; padding: .65rem 0; border-bottom: 1px solid var(--paper-2); }
.ops-shipped li:last-child { border-bottom: 0; }
.ops-day { font-size: .78rem; color: var(--ink-3); min-width: 3.2rem; }
.ops-shipped a { flex: 1; min-width: 0; color: inherit; }
.ops-undo { margin-left: auto; }
.ops-foot { margin: .25rem 0 0; }

.account-delete { margin-top: 1rem; border-color: var(--danger-soft); }
.account-delete summary { cursor: pointer; list-style: none; display: flex; gap: .5rem; align-items: baseline; }
.account-delete summary::-webkit-details-marker { display: none; }
.account-delete summary b { color: var(--danger); }
.account-delete-form { display: flex; flex-direction: column; gap: .5rem; max-width: 420px; margin-top: .6rem; }
.account-delete-form input { width: 100%; }
.account-delete-form .btn { align-self: flex-start; }
/* admin on a phone: the tab row scrolls, cards stack, buttons are thumb-sized */
@media (max-width: 720px) {
  .admin { padding-top: 1rem; gap: 1rem; }
  .admin-head { flex-direction: column; align-items: stretch; gap: .6rem; }
  .admin-head h1 { font-size: 1.6rem; }
  .admin-nav { width: 100%; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .admin-nav::-webkit-scrollbar { display: none; }
  .admin-nav a { white-space: nowrap; padding: .5rem .8rem; }
  .stat-cards { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .stat-card { padding: .9rem 1rem; }
  .stat-card .stat-value { font-size: 1.7rem; }
  .admin-card { padding: 1rem; }
  .admin-search input { max-width: none; width: 100%; }
  .ops-card-head { flex-direction: column; gap: .15rem; }
  .ops-actions form { flex: 1 1 30%; display: flex; }
  .ops-actions .btn { width: 100%; min-height: 42px; justify-content: center; }
  .ops-actions .ops-no { flex: 1 1 30%; }
  .ops-actions .ops-no summary { display: flex; width: 100%; min-height: 42px; justify-content: center; align-items: center; }
  .ops-idea .btn { align-self: stretch; justify-content: center; min-height: 44px; }
  .ops-shipped li { flex-wrap: wrap; }
  .ops-top { flex-wrap: nowrap; align-items: flex-start; }
  .ops-status { flex: 1; min-width: 0; display: block; }
  .ops-status .muted { display: block; margin-top: .15rem; }
  .ops-status .ops-dot { display: inline-block; margin-right: .35rem; vertical-align: middle; }
  .admin-page .admin { padding-bottom: calc(var(--bottombar-h, 64px) + 1.5rem); }
}

/* ---------- the network: trust (the deck itself lives in swipe.css) ---------- */
.pill-verified { background: var(--ink); color: var(--paper); text-transform: none; letter-spacing: 0; font-size: .7rem; padding: .18rem .55rem; gap: .25rem; vertical-align: middle; }
.kit-interest { margin: .2rem 0 0; color: var(--ink-2); }
.kit-interest b { color: var(--ink); }
.kit-nudge { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin: .5rem 0 0; padding: .55rem .75rem; border-radius: 12px; background: var(--accent-soft); font-size: .88rem; }
.kit-nudge .btn { flex: 0 0 auto; }
@media (max-width: 720px) {
  .kit-nudge { flex-direction: column; align-items: stretch; }
  .kit-nudge .btn { justify-content: center; }
}
/* ---------- admin: telemetry ---------- */
.tele-bar { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.tele-bar .chips { margin: 0; }
.tele-stats { grid-template-columns: repeat(3, 1fr); }
.tele-stats .stat-card { color: inherit; }
.tele-stats .stat-card:hover { text-decoration: none; border-color: var(--ink); }
.sw.c, .seg.c { background: #2F9E5F; }
.sw.d, .seg.d { background: #D9A400; }
a.chart-bar:hover { filter: brightness(.9); }
.tele-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.tele-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .3rem; }
.tele-list li { display: flex; justify-content: space-between; gap: .8rem; padding: .35rem 0; border-bottom: 1px solid var(--paper-2); font-size: .92rem; }
.tele-list li:last-child { border-bottom: 0; }
.tele-list li a, .tele-list li span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tele-list li b { color: var(--ink); }
.tele-h2 { margin-top: 1rem; }
.tele-filters { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; margin-bottom: .8rem; }
.tele-filters input { max-width: 180px; }
.tele-table td { font-size: .86rem; }
.tele-table .nowrap { white-space: nowrap; }
.tele-props { color: var(--ink-3); word-break: break-all; }
.row-mine td { opacity: .55; }
.pill.k-sign_up, .pill.k-publish, .pill.k-book { background: var(--accent); color: #fff; }
.pill.k-share, .pill.k-track_play { background: var(--ink); color: var(--paper); }
@media (max-width: 720px) {
  .tele-stats { grid-template-columns: 1fr 1fr; }
  .tele-grid { grid-template-columns: 1fr; }
}

/* Error pages: land a mistyped link back in the funnel */
.error-page { padding: 4rem 1rem; max-width: 560px; }
.error-page h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); margin: .2rem 0 .6rem; }
.error-search { display: flex; gap: .5rem; margin: 1.4rem 0 1rem; }
.error-search input { flex: 1; min-width: 0; }
.error-actions { display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap; }
@media (max-width: 520px) { .error-search { flex-direction: column; } }

/* Simplified artist profile: the kit is the profile, so just the account basics */
.account-role-line { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; margin: 1rem 0 0; }
.account-role-line .inline { display: inline-flex; }
.account-form > .btn-accent { margin-top: .3rem; }

/* ---------- landing v3 (2026-09-18): two doors, one section per side ---------- */
.doors .btn-lg { min-width: 180px; }
.doors .btn:not(.btn-accent):not(.btn-light) { background: var(--ink); color: var(--paper); }
.hero .lede { max-width: 560px; }
.side-artists .section-head { max-width: 720px; }
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.why-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; position: relative; transition: transform .25s var(--ease), box-shadow .25s; }
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.why-n { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: var(--ink-3); margin-bottom: .5rem; letter-spacing: -.02em; }
.why-card h3 { margin: 0 0 .4rem; font-size: 1.2rem; }
.why-card p { color: var(--ink-2); margin: 0; }
.side-foot { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; margin: 1.8rem 0 0; }
/* the bookers' side: a look at the deck next to three lines */
.side-bookers .pitch-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; max-width: 1100px; margin: 0 auto; }
.side-bookers .section-head, .pitch-copy h2 { margin: 0 0 1.2rem; color: #fff; font-size: clamp(2rem, 4vw, 3.2rem); }
.pitch-roster { color: #bcb6aa; margin: 0 0 1.2rem; line-height: 1.55; max-width: 560px; }
.pitch-roster b { color: #fff; }
.pitch-list { list-style: none; margin: 0 0 1.6rem; padding: 0; display: flex; flex-direction: column; gap: 1rem; counter-reset: pitch; }
.pitch-list li { position: relative; padding-left: 2.6rem; color: #bcb6aa; line-height: 1.5; font-size: 1.02rem; }
.pitch-list li b { color: #fff; display: block; font-size: 1.1rem; margin-bottom: .1rem; }
.pitch-list li::before { counter-increment: pitch; content: "0" counter(pitch); position: absolute; left: 0; top: .1rem; font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: #E9873F; }
.side-bookers .pitch-foot { text-align: left; margin: 1rem 0 0; font-size: .9rem; }
.side-bookers .cta-row { margin-top: 0; }
.pitch-deck { position: relative; width: min(100%, 320px); aspect-ratio: 3 / 4.2; margin: 0 auto; }
.pd-card { position: absolute; inset: 0 0 62px 0; border-radius: 24px; background: #1f1e1c; box-shadow: 0 24px 60px rgba(0, 0, 0, .45); overflow: hidden; }
.pd-2 { transform: translateY(12px) scale(.955); background: #26241f; }
.pd-3 { transform: translateY(24px) scale(.91); background: #2d2a25; }
.pd-1 { display: block; color: #fff; transform: rotate(-2deg); transition: transform .3s var(--ease); }
.pd-1:hover { transform: rotate(0) translateY(-4px); text-decoration: none; }
.pd-photo { position: absolute; inset: 0; background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 55%, #111) 0%, #121212 100%); }
.pd-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.pd-photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 62%; background: linear-gradient(to top, rgba(10, 9, 8, .96), rgba(10, 9, 8, .5) 55%, transparent); }
.pd-stamp { position: absolute; top: 1.1rem; left: .9rem; padding: .25rem .6rem; border: 3px solid #6EE7A0; color: #6EE7A0; border-radius: 8px; font: 800 .95rem var(--font-display); letter-spacing: .12em; transform: rotate(-12deg); opacity: .9; }
.pd-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 1.1rem 1.1rem; }
.pd-kicker { margin: 0 0 .2rem; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .14em; font-size: .62rem; font-weight: 700; color: #E9873F; }
.pd-name { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; line-height: 1; letter-spacing: -.02em; color: #fff; overflow-wrap: break-word; }
.pd-open { margin: .5rem 0 0; font-size: .8rem; color: #fff; display: flex; align-items: center; }
.pd-open .open-dot { background: #6EE7A0; }
.pd-actions { position: absolute; left: 0; right: 0; bottom: 0; height: 52px; display: flex; align-items: center; justify-content: center; gap: .7rem; }
.pd-btn { width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; font-weight: 800; font-size: 1.1rem; box-shadow: 0 6px 18px rgba(0, 0, 0, .35); }
.pd-btn.no { color: var(--danger); }
.pd-btn.yes { color: var(--ok); }
.pd-btn.book { width: auto; padding: 0 1rem; border-radius: 999px; background: var(--accent); color: #fff; font-size: .9rem; }
.big-cta .doors { justify-content: center; margin-top: 0; }
.from-blog-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; max-width: none; }
.from-blog-head .cta-link { padding: 0; }
.from-blog-head .eyebrow { margin: 0; }
.from-blog-list { display: flex; flex-direction: column; gap: .7rem; }
.from-blog-row { display: flex; flex-direction: column; gap: .25rem; padding: 1rem 1.1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.from-blog-row:hover { text-decoration: none; border-color: var(--ink); }
.from-blog-row b { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.15; letter-spacing: -.01em; }
.from-blog-row .blog-excerpt { -webkit-line-clamp: 2; }
@media (max-width: 1000px) {
  .why { grid-template-columns: 1fr 1fr; }
  .side-bookers .pitch-wrap { grid-template-columns: 1fr; }
  .pitch-deck { display: none; }                                   /* on narrow screens the three lines say it; the deck is one tap away */
}
@media (max-width: 720px) {
  .why { grid-template-columns: 1fr; gap: .8rem; }
  .why-card { padding: 1.2rem; }
  .doors { flex-direction: row; }
  .doors .btn-lg { min-width: 0; flex: 1 1 0; padding: .85rem .6rem; font-size: .95rem; }
  .side-foot .btn { width: 100%; justify-content: center; }
  .side-foot .cta-link { width: 100%; text-align: center; padding: .4rem; }
  .pitch-copy h2 { font-size: 2rem; }
  .side-bookers .cta-row { flex-direction: column; }
  .big-cta .doors { flex-direction: column; }
}
@media (max-width: 420px) {
  .topbar:has(.find-link:not(.in-tabs)) .brand span { display: none; }   /* visitors on a small phone: the mark alone, room for Find a DJ + Sign in + Blog */
}

/* ---------- blog: the index, one post, /featured, the admin editor ---------- */
.blog { max-width: 1080px; margin: 0 auto; padding: 3rem clamp(1rem, 4vw, 2rem) 2rem; }
.blog-head { max-width: 640px; margin-bottom: 2.4rem; }
.blog-head h1 { font-size: clamp(2rem, 5vw, 3.6rem); }
.blog-head .lede a { color: var(--accent); font-weight: 600; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.4rem; }
.blog-index { display: flex; flex-direction: column; gap: .8rem; }
.blog-index .blog-card { flex-direction: row; align-items: stretch; }
.blog-index .blog-cover { width: 180px; flex-shrink: 0; aspect-ratio: 16 / 10; }
.blog-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.blog-card:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow); }
.blog-cover { display: block; aspect-ratio: 16 / 10; background: var(--paper-2); overflow: hidden; }
.blog-cover.blank { background: linear-gradient(135deg, var(--paper-3), var(--paper-2)); }
.blog-cover img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-text { display: flex; flex-direction: column; gap: .35rem; padding: 1rem 1.1rem 1.2rem; }
.blog-card-text b { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.15; letter-spacing: -0.01em; }
.blog-excerpt { color: var(--ink-2); font-size: .93rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-meta { display: flex; align-items: center; gap: .5rem; color: var(--ink-3); font-size: .82rem; margin: 0 0 .2rem; }
.blog-meta a { color: var(--ink-2); font-weight: 600; }
.blog-empty { padding: 3rem 1rem; text-align: center; border: 1.5px dashed var(--line); border-radius: var(--radius); }
.blog-foot { margin: 2rem 0 0; }
.blog-draft { background: var(--accent); color: #fff; text-align: center; padding: .6rem 1rem; font-size: .9rem; }
.blog-draft a { color: #fff; text-decoration: underline; }

.blog-post { max-width: 720px; margin: 0 auto; padding: 2.6rem clamp(1rem, 4vw, 2rem) 2rem; }
.post-head h1 { font-size: clamp(1.9rem, 4.6vw, 3.2rem); margin-bottom: .8rem; }
.post-head .lede { max-width: none; }
.post-cover { margin: 1.6rem 0; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.post-cover img { width: 100%; max-height: 520px; object-fit: cover; }
.post-artist { display: flex; align-items: center; gap: .8rem; padding: .7rem .9rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; margin: 1.2rem 0 1.8rem; }
.post-artist:hover { text-decoration: none; border-color: var(--ink); }
.post-artist-text { display: flex; flex-direction: column; line-height: 1.25; flex: 1; min-width: 0; }
.post-artist-text b { font-family: var(--font-display); }
.post-artist-text span { color: var(--ink-3); font-size: .85rem; }
.post-body { font-size: 1.08rem; }
.post-body p, .post-body li { color: var(--ink); }
.post-body h2 { font-size: 1.45rem; margin-top: 2.2rem; }
.post-body h3 { margin-top: 1.6rem; }
.post-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.post-body img { border-radius: var(--radius-sm); margin: 1.2rem 0; }
.post-body blockquote { margin: 1.4rem 0; padding: .2rem 0 .2rem 1.1rem; border-left: 3px solid var(--accent); color: var(--ink-2); font-size: 1.15rem; }
.post-body hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
.post-body code { background: var(--paper-2); padding: .1rem .35rem; border-radius: 6px; font-size: .92em; }
.post-foot { margin-top: 2.4rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.post-share { display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: 1rem; }
.post-more { margin-top: 3rem; }
.post-more-row { display: flex; align-items: center; gap: .9rem; padding: .7rem 0; border-top: 1px solid var(--paper-2); }
.post-more-row:hover { text-decoration: none; }
.post-more-row:hover b { text-decoration: underline; }
.post-more-row > span:last-child { display: flex; flex-direction: column; }
.post-more-cover { width: 84px; aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; background: var(--paper-2); flex-shrink: 0; }
.post-more-cover img { width: 100%; height: 100%; object-fit: cover; }

.featured h1 { font-size: clamp(1.9rem, 4.6vw, 3rem); }
.featured-door { padding: 1.4rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-top: 1.6rem; }
.featured-door .cta-row { margin-top: 1rem; }
.featured-form { margin-top: 1.6rem; }
.featured-form .btn-lg { margin-top: .4rem; }
.featured-kit { margin-bottom: 1.4rem; }
.featured-live { margin-top: 1.6rem; }
.featured-live h2 { font-size: 1.3rem; }

.blog-edit { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 1.2rem; align-items: start; }
.blog-side { display: flex; flex-direction: column; gap: 1.2rem; }
.blog-side .admin-card h2 { font-size: 1rem; }
.blog-side .post-artist { margin: 0; }
.blog-edit-cover { width: 100%; max-height: 220px; object-fit: cover; border-radius: var(--radius-sm); margin-bottom: .5rem; }
.blog-editor textarea[name="body"] { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .92rem; line-height: 1.5; }
.blog-answers { margin: 0; }
.blog-answers dt { font-weight: 600; font-size: .85rem; margin-top: .8rem; }
.blog-answers dd { margin: .2rem 0 0; color: var(--ink-2); font-size: .92rem; white-space: pre-line; }
.blog-answers dt:first-child { margin-top: 0; }
@media (max-width: 900px) { .blog-edit { grid-template-columns: 1fr; } }
@media (max-width: 720px) {
  .blog { padding-top: 2rem; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-index .blog-card { flex-direction: column; }
  .blog-index .blog-cover { width: 100%; }
  .post-share .btn { flex: 1; text-align: center; }
}

/* ---------- product updates (/updates) and the newsletter (/newsletter) ---------- */
.upd-list { display: flex; flex-direction: column; gap: 1.2rem; max-width: 760px; }
.upd { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.6rem 1.5rem; }
.upd-meta { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; margin-bottom: .4rem; }
.upd-version { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: var(--accent); }
.upd-version:hover { text-decoration: none; }
.upd h2 { font-size: 1.5rem; margin: 0 0 .6rem; }
.upd h2 a { color: inherit; }
.upd h2 a:hover { text-decoration: none; color: var(--accent); }
.upd-notes h2, .upd-notes h3 { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; color: var(--ink-3); margin: 1.2rem 0 .4rem; }
.upd-notes ul { margin: 0; padding-left: 1.15rem; }
.upd-notes li { margin: .25rem 0; line-height: 1.5; }
.upd-notes li::marker { color: var(--accent); }
.upd-next { margin-top: 1.2rem; padding: .9rem 1.1rem; background: var(--paper-2); border-radius: var(--radius-sm); }
.upd-next .eyebrow { margin-bottom: .3rem; }
.upd-next ul { margin: 0; padding-left: 1.15rem; }
.upd-next li { margin: .2rem 0; }
.updates .pr-back { display: inline-block; font-size: .9rem; font-weight: 600; color: var(--ink-2); margin-bottom: .8rem; }
.nl-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.4rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.nl-card p { margin: 0; }
.nl-form { display: flex; flex-direction: column; gap: .9rem; max-width: 460px; margin-top: .4rem; }
.nl-form label { display: flex; flex-direction: column; gap: .3rem; font-weight: 600; }
.nl-form label .muted { font-weight: 400; }
.nl-form input { font: inherit; font-size: 1rem; }
.nl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.account-newsletter { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.account-switch { display: flex; align-items: center; gap: .8rem; cursor: pointer; }
.account-switch input { width: 1.2rem; height: 1.2rem; accent-color: var(--accent); flex: 0 0 auto; }
.account-switch .hint { display: block; font-weight: 400; color: var(--ink-3); font-size: .85rem; }
.account-switch-save[hidden] { display: none; }
@media (max-width: 720px) {
  .upd { padding: 1.1rem 1.1rem 1.2rem; }
  .upd h2 { font-size: 1.25rem; }
  .nl-card { flex-direction: column; align-items: stretch; }
}

/* a visitor's shortlist (/saved without an account): the keep-it banner */
.guest-keep { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; background: var(--paper-2); border-radius: var(--radius); padding: .9rem 1.1rem; margin-bottom: 1.2rem; }
.guest-keep p { margin: 0; color: var(--ink-2); max-width: 560px; }
.guest-keep-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
@media (max-width: 720px) { .guest-keep { flex-direction: column; align-items: stretch; } .guest-keep-actions .btn { flex: 1; justify-content: center; } }
