/* Motion Recipes — dark cinematic UI. No build step. */
/* Theme tokens (from Claude Design theme-tokens.json). Dark is the default. */
:root {
    --mr-bg: #08080c;
    --mr-footer: #060609;
    --mr-sunk: #0b0b10;
    --mr-field: #0c0c12;
    --mr-panel: #0e0e14;
    --mr-card: #101017;
    --mr-track: #13131a;
    --mr-active: #15141f;
    --mr-raised: #17171f;
    --mr-line-0: #1a1a22;
    --mr-line-1: #1c1c26;
    --mr-line-2: #20202a;
    --mr-line: #252530;
    --mr-line-3: #2a2a36;
    --mr-line-4: #343442;
    --mr-line-strong: #3a3a48;
    --mr-disabled: #5a5966;
    --mr-fg-dim: #878694;
    --mr-fg-muted: #a7a6b2;
    --mr-fg-soft-1: #cac8d3;
    --mr-fg-soft: #cfcdd8;
    --mr-fg-soft-2: #d7d5e0;
    --mr-fg-soft-3: #e5e3ec;
    --mr-fg: #f2f1f6;
    --mr-fg-strong: #FFFFFF;
    --mr-accent-text: #ff7a5c;
    --mr-accent-text-hover: #ff9a82;
    --mr-danger-text: #ff8aa5;
    --mr-success: #5FD49A;
    --mr-glass: rgba(8,8,12,.7);
    --mr-glass-strong: rgba(8,8,12,.84);
    --mr-reel: rgba(11,11,16,.72);
    --mr-wash: rgba(255,255,255,.04);
    --mr-grid: rgba(255,255,255,.025);
    --mr-embed: #000;
    --mr-nl: #0a0a0f;
    --mr-gtext: linear-gradient(90deg,#ff5a36 10%,#8b6cff 70%);
    --mr-sh-panel: 0 40px 120px -30px rgba(0,0,0,.9);
    --mr-sh-lift: 0 28px 60px -24px rgba(0,0,0,.9);
    --mr-sh-art: 0 40px 120px -40px rgba(0,0,0,.9);
    --mr-chip-l: 75%;
    --mr-ok-ink: #5FD49A;
    --mr-grain: .045;
    color-scheme: dark;
}
:root[data-theme="light"] {
    --mr-bg: #f6f6fa;
    --mr-footer: #efeff5;
    --mr-sunk: #f0f0f6;
    --mr-field: #fbfbfd;
    --mr-panel: #ffffff;
    --mr-card: #ffffff;
    --mr-track: #ececf3;
    --mr-active: #f1edff;
    --mr-raised: #ededf4;
    --mr-line-0: #e6e5ee;
    --mr-line-1: #e4e3ec;
    --mr-line-2: #e2e1ea;
    --mr-line: #dddce6;
    --mr-line-3: #d4d3de;
    --mr-line-4: #c9c8d4;
    --mr-line-strong: #c0bfcb;
    --mr-disabled: #a9a8b4;
    --mr-fg-dim: #676673;
    --mr-fg-muted: #52515d;
    --mr-fg-soft-1: #34333e;
    --mr-fg-soft: #2e2d38;
    --mr-fg-soft-2: #2a2934;
    --mr-fg-soft-3: #1f1e28;
    --mr-fg: #111118;
    --mr-fg-strong: #000000;
    --mr-accent-text: #c43a1c;
    --mr-accent-text-hover: #a82f14;
    --mr-danger-text: #c21f4a;
    --mr-success: #1d8a55;
    --mr-glass: rgba(246,246,250,.8);
    --mr-glass-strong: rgba(246,246,250,.9);
    --mr-reel: rgba(255,255,255,.75);
    --mr-wash: rgba(17,17,24,.04);
    --mr-grid: rgba(17,17,24,.045);
    --mr-embed: #ffffff;
    --mr-nl: #f1f0f7;
    --mr-gtext: linear-gradient(90deg,#e0401c 10%,#6a4cf0 70%);
    --mr-sh-panel: 0 30px 80px -40px rgba(40,25,90,.28);
    --mr-sh-lift: 0 24px 50px -28px rgba(40,25,90,.38);
    --mr-sh-art: 0 30px 80px -40px rgba(40,25,90,.25);
    --mr-chip-l: 25%;
    --mr-ok-ink: #12603a;
    --mr-grain: .03;
    color-scheme: light;
}
@media (prefers-color-scheme: light) {
    :root:not([data-theme]) {
        --mr-bg: #f6f6fa;
        --mr-footer: #efeff5;
        --mr-sunk: #f0f0f6;
        --mr-field: #fbfbfd;
        --mr-panel: #ffffff;
        --mr-card: #ffffff;
        --mr-track: #ececf3;
        --mr-active: #f1edff;
        --mr-raised: #ededf4;
        --mr-line-0: #e6e5ee;
        --mr-line-1: #e4e3ec;
        --mr-line-2: #e2e1ea;
        --mr-line: #dddce6;
        --mr-line-3: #d4d3de;
        --mr-line-4: #c9c8d4;
        --mr-line-strong: #c0bfcb;
        --mr-disabled: #a9a8b4;
        --mr-fg-dim: #676673;
        --mr-fg-muted: #52515d;
        --mr-fg-soft-1: #34333e;
        --mr-fg-soft: #2e2d38;
        --mr-fg-soft-2: #2a2934;
        --mr-fg-soft-3: #1f1e28;
        --mr-fg: #111118;
        --mr-fg-strong: #000000;
        --mr-accent-text: #c43a1c;
        --mr-accent-text-hover: #a82f14;
        --mr-danger-text: #c21f4a;
        --mr-success: #1d8a55;
        --mr-glass: rgba(246,246,250,.8);
        --mr-glass-strong: rgba(246,246,250,.9);
        --mr-reel: rgba(255,255,255,.75);
        --mr-wash: rgba(17,17,24,.04);
        --mr-grid: rgba(17,17,24,.045);
        --mr-embed: #ffffff;
        --mr-nl: #f1f0f7;
        --mr-gtext: linear-gradient(90deg,#e0401c 10%,#6a4cf0 70%);
        --mr-sh-panel: 0 30px 80px -40px rgba(40,25,90,.28);
        --mr-sh-lift: 0 24px 50px -28px rgba(40,25,90,.38);
        --mr-sh-art: 0 30px 80px -40px rgba(40,25,90,.25);
        --mr-chip-l: 25%;
        --mr-ok-ink: #12603a;
        --mr-grain: .03;
        color-scheme: light;
    }
}

:root {
    --bg: var(--mr-bg);
    --bg-2: var(--mr-sunk);
    --surface: var(--mr-card);
    --surface-2: var(--mr-raised);
    --line: var(--mr-line-1);
    --line-2: var(--mr-line-3);
    --text: var(--mr-fg);
    --mute: var(--mr-fg-dim);
    --accent: #ff5a36;
    --accent-2: #8b6cff;
    --ok: #3ddc97;
    --danger: #ff5d73;
    --radius: 16px;
    --radius-sm: 10px;
    --display: "Instrument Serif", Georgia, serif;
    --sans: "Geist", ui-sans-serif, system-ui, -apple-system, sans-serif;
    --mono: "Geist Mono", ui-monospace, Menlo, monospace;
    --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0; background: var(--bg); color: var(--text);
    font: 15px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
[x-cloak] { display: none !important; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--mr-fg); color: var(--mr-bg); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 16px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1240px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.muted { color: var(--mute); }
.small { font-size: 13px; }

.grain {
    position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: var(--mr-grain);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%,100% { transform: translate(0,0) } 20% { transform: translate(-3%,2%) } 40% { transform: translate(2%,-3%) } 60% { transform: translate(-2%,-1%) } 80% { transform: translate(3%,3%) } }

/* Type */
.display { font-family: var(--display); font-weight: 400; letter-spacing: -0.01em; line-height: .98; margin: 0; }
.display em { font-style: italic; background: var(--mr-gtext); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.h1 { font-size: clamp(40px, 6vw, 68px); margin-bottom: 14px; }
.h2 { font-size: clamp(28px, 3.4vw, 40px); }
.eyebrow { font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mr-accent-text); margin: 0 0 18px; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; }

/* Buttons */
.btn {
    --b: var(--line-2);
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--b);
    background: var(--mr-wash); color: var(--text); font: 500 14px var(--sans);
    text-decoration: none; cursor: pointer; white-space: nowrap;
    transition: transform .25s var(--ease), background .25s, border-color .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-1px); background: var(--mr-wash); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-sm { height: 34px; padding: 0 14px; font-size: 13px; }
.btn-lg { height: 52px; padding: 0 26px; font-size: 15px; }
.btn-accent { --b: transparent; background: linear-gradient(135deg, var(--accent), #ff7b4a); color: #fff; box-shadow: 0 8px 30px -8px rgba(255, 90, 54, .6), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-accent:hover { background: linear-gradient(135deg, #ff6a45, #ff8b5c); box-shadow: 0 12px 38px -8px rgba(255, 90, 54, .75), inset 0 1px 0 rgba(255,255,255,.3); }
.btn-ghost { background: transparent; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(16px) saturate(140%); background: var(--mr-glass); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 600 17px var(--sans); letter-spacing: -0.01em; }
.brand em { font: italic 400 21px var(--display); margin-left: 2px; color: var(--mr-accent-text); }
.brand-mark { width: 30px; height: 30px; object-fit: contain; display: block; }
.brand-mark i { width: 10px; height: 10px; background: #fff; transform: rotate(45deg); border-radius: 2px; animation: spinkf 6s var(--ease) infinite; }
@keyframes spinkf { 0%, 70% { transform: rotate(45deg) } 85%, 100% { transform: rotate(225deg) } }
.nav { display: flex; align-items: center; gap: 6px; }
.nav-link { text-decoration: none; color: var(--mute); padding: 8px 12px; border-radius: 999px; font-size: 14px; transition: color .2s, background .2s; }
.theme-btn { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--mr-line-3); background: transparent; color: var(--mr-fg-muted); cursor: pointer; transition: all .2s; }
.theme-btn:hover { color: var(--mr-fg); border-color: var(--mr-line-strong); }
.theme-btn svg { width: 18px; height: 18px; fill: currentColor; }
.nav-link:hover { color: var(--text); background: var(--mr-wash); }

/* Hero */
.aurora { position: absolute; inset: 0; pointer-events: none; filter: blur(70px); opacity: .8; }
.aurora i { position: absolute; border-radius: 50%; mix-blend-mode: screen; animation: drift 18s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { width: 520px; height: 520px; left: -8%; top: -18%; background: radial-gradient(circle, rgba(255, 90, 54, .55), transparent 65%); }
.aurora i:nth-child(2) { width: 600px; height: 600px; right: -12%; top: -10%; background: radial-gradient(circle, rgba(139, 108, 255, .5), transparent 65%); animation-delay: -6s; }
.aurora i:nth-child(3) { width: 420px; height: 420px; left: 38%; top: 38%; background: radial-gradient(circle, rgba(255, 179, 107, .25), transparent 65%); animation-delay: -11s; }
.aurora-soft { opacity: .45; }
@keyframes drift { from { transform: translate(0, 0) scale(1) } to { transform: translate(60px, 40px) scale(1.12) } }

/* ===== Hero + reel — design by Claude Design, ported ===== */
.wrap-wide { width: min(1440px, 100%); margin-inline: auto; padding-inline: 48px; box-sizing: border-box; }
.hero { position: relative; overflow: hidden; background: var(--bg); }
.hero-glow { position: absolute; inset: -25%; pointer-events: none; background:
    radial-gradient(34% 30% at 78% 22%, rgba(139,108,255,.22), transparent 70%),
    radial-gradient(30% 28% at 30% 40%, rgba(255,90,54,.16), transparent 70%),
    radial-gradient(40% 30% at 55% 85%, rgba(139,108,255,.10), transparent 70%);
    animation: mr-drift 22s ease-in-out infinite; }
@keyframes mr-drift { 0%,100% { transform: translate3d(-4%,-2%,0) scale(1) } 50% { transform: translate3d(4%,3%,0) scale(1.08) } }
.hero-lines { position: absolute; inset: 0; pointer-events: none; background-image: repeating-linear-gradient(90deg, var(--mr-grid) 0 1px, transparent 1px 120px); }
.hero-top { position: relative; padding-top: 48px; }
.hero-kicker { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 24px; font: 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mr-fg-dim); }
.rec { display: flex; align-items: center; gap: 10px; }
.rec b { color: var(--mr-fg); font-weight: 400; }
.rec .rule { width: 20px; height: 1px; background: var(--mr-line-strong); }
.rec-dot { width: 8px; height: 8px; border-radius: 4px; background: var(--accent); box-shadow: 0 0 10px rgba(255,90,54,.8); animation: mr-pulse 1.6s ease-in-out infinite; }
@keyframes mr-pulse { 0%,100% { opacity: 1 } 50% { opacity: .25 } }
.hero-h1 { margin: 28px 0 0; font: 400 clamp(60px, 10.8vw, 156px)/.88 var(--display); letter-spacing: -0.03em; text-wrap: balance; }
.hero-h1 em { font-style: italic; padding-right: .08em; background: var(--mr-gtext); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-row { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 72px; align-items: start; margin-top: 40px; }
.hero-form { min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.hero-search { display: flex; align-items: center; gap: 14px; height: 76px; padding: 0 8px 0 18px; border-radius: 18px; border: 1.5px solid transparent;
    background: linear-gradient(var(--mr-panel), var(--mr-panel)) padding-box, linear-gradient(90deg, #ff5a36, #8b6cff) border-box;
    box-shadow: 0 30px 80px -30px rgba(139,108,255,.5), 0 0 0 6px rgba(255,90,54,.05); }
.hero-search:focus-within { box-shadow: 0 30px 80px -30px rgba(139,108,255,.6), 0 0 0 6px rgba(255,90,54,.16); }
.hero-search img { flex: none; width: 36px; height: 36px; object-fit: contain; }
.hero-search input { flex: 1; min-width: 0; height: 100%; padding: 0; background: transparent; border: 0; color: var(--mr-fg); font: 19px var(--sans); }
.hero-search input:focus { outline: none; }
.hero-search input::placeholder { color: var(--mr-fg-dim); }
.hero-search kbd { flex: none; font: 12px var(--mono); color: var(--mr-fg-muted); padding: 4px 8px; border-radius: 6px; border: 1px solid var(--mr-line-3); }
.hero-search button { flex: none; display: inline-flex; align-items: center; justify-content: center; height: 58px; min-width: 58px; padding: 0 24px; border-radius: 12px; border: 0; background: linear-gradient(135deg, #ff5a36, #8b6cff); color: #08080c; font: 600 16px var(--sans); cursor: pointer; transition: filter .2s; }
.hero-search button:hover { filter: brightness(1.12); }
.hero-try { display: flex; align-items: center; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.hero-try::-webkit-scrollbar { display: none; }
.hero-try span { flex: none; font: 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mr-fg-dim); margin-right: 4px; }
.hero-try a { flex: none; height: 36px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 999px; border: 1px solid var(--mr-line-3); background: var(--mr-wash); color: var(--mr-fg-soft); font-size: 14px; text-decoration: none; transition: all .2s; }
.hero-try a:hover { border-color: rgba(255,90,54,.55); color: var(--mr-fg); background: rgba(255,90,54,.08); }
.hero-aside { min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.hero-aside p { margin: 0; font-size: 18px; line-height: 1.5; color: var(--mr-fg-muted); text-wrap: pretty; }
.hero-aside p span { color: var(--mr-fg); }
.hero-stats { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; font: 13px var(--mono); color: var(--mr-fg-muted); font-variant-numeric: tabular-nums; }
.hero-stats b { color: var(--mr-fg); font-weight: 400; }
.hero-stats i { width: 5px; height: 5px; transform: rotate(45deg); }
.d-orange { background: #ff5a36; } .d-violet { background: #8b6cff; }
.hero-links { display: flex; flex-wrap: wrap; gap: 18px; }
.hero-links a { font-size: 15px; font-weight: 500; color: var(--mr-fg); text-decoration: none; }
.hero-links a:hover, .hero-links a.accent { color: var(--mr-accent-text); }
.hero-links a.accent:hover { color: var(--mr-accent-text-hover); }

/* Reel: V1 video track over P1 prompt track, centre playhead */
.reel { position: relative; margin-top: 72px; border-top: 1px solid var(--mr-line-1); border-bottom: 1px solid var(--mr-line-1); background: var(--mr-reel); --gutter: 88px; --col: 332px; }
.reel-gutter { position: absolute; left: 0; top: 0; bottom: 0; width: var(--gutter); z-index: 3; background: var(--mr-sunk); border-right: 1px solid var(--mr-line-1); display: flex; flex-direction: column; font: 10.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mr-fg-dim); }
.reel-gutter span { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding-left: 16px; }
.reel-gutter b { color: var(--mr-fg); font-weight: 400; }
.g-tc { height: 30px; border-bottom: 1px solid var(--mr-line-1); }
.g-v { height: 208px; }
.g-p { height: 130px; border-top: 1px dashed var(--mr-line); }
.reel-view { position: relative; overflow: hidden; margin-left: var(--gutter); -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.reel-track { display: flex; width: max-content; will-change: transform; }
.reel-col { flex: none; width: var(--col); box-sizing: border-box; padding-right: 12px; }
.reel-tc { position: relative; height: 30px; border-bottom: 1px solid var(--mr-line-1); border-left: 1px solid var(--mr-line-strong); background: repeating-linear-gradient(90deg, var(--mr-line-3) 0 1px, transparent 1px 12px) bottom / 100% 6px no-repeat; font: 10.5px var(--mono); color: var(--mr-fg-dim); padding: 5px 0 0 6px; box-sizing: border-box; font-variant-numeric: tabular-nums; }
.reel-clip { padding: 14px 0; }
.reel-clip a { position: relative; display: block; border-radius: 10px; overflow: hidden; border: 1.5px solid rgba(255,255,255,.08); filter: saturate(.55) brightness(.62); transition: filter 420ms var(--ease), border-color 240ms, box-shadow 420ms; }
.reel-col.is-on .reel-clip a { filter: none; border-color: #ff5a36; box-shadow: 0 0 0 3px rgba(255,90,54,.18), 0 18px 50px -12px rgba(139,108,255,.55); }
.reel-clip a:hover { filter: none; }
.reel-clip .poster { aspect-ratio: 16 / 9; }
.reel-tag { position: absolute; left: 8px; top: 8px; font: 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #eae8f0; background: rgba(6,6,10,.62); padding: 4px 7px; border-radius: 4px; }
.reel-prompt-band { padding: 0 0 14px; border-top: 1px dashed var(--mr-line); }
.reel-prompt { margin-top: 12px; height: 104px; box-sizing: border-box; padding: 11px 12px; border-radius: 10px; border: 1px solid var(--mr-line-2); background: var(--mr-panel); display: flex; flex-direction: column; gap: 7px; overflow: hidden; transition: border-color 240ms, background 240ms; }
.reel-col.is-on .reel-prompt { border-color: rgba(139,108,255,.7); background: var(--mr-active); }
.reel-prompt-head { display: flex; align-items: center; gap: 8px; font: 10.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.reel-prompt-head i { flex: none; width: 7px; height: 7px; transform: rotate(45deg); box-sizing: border-box; border: 1px solid var(--mr-fg-dim); }
.reel-prompt.is-creator .reel-prompt-head i { background: linear-gradient(135deg, #ff5a36, #8b6cff); border-color: #ff5a36; }
.reel-prompt-head span { color: var(--mr-fg-muted); white-space: nowrap; }
.reel-prompt.is-creator .reel-prompt-head span { color: var(--mr-accent-text); }
.reel-prompt-head em { margin-left: auto; flex: none; font-style: normal; color: var(--mr-fg-dim); letter-spacing: .04em; text-transform: none; font-size: 11px; max-width: 45%; overflow: hidden; text-overflow: ellipsis; }
.reel-prompt p { margin: 0; font: 12px/1.55 var(--mono); color: var(--mr-fg-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; white-space: pre-line; }
.reel-col.is-on .reel-prompt p { color: var(--mr-fg); }
.playhead { position: absolute; top: 0; bottom: 0; left: calc(50% + var(--gutter) / 2); width: 2px; margin-left: -1px; z-index: 4; background: linear-gradient(180deg, #ff5a36, #8b6cff); box-shadow: 0 0 18px rgba(139,108,255,.7); pointer-events: none; }
.playhead img { position: absolute; top: -26px; left: -21px; width: 44px; height: 44px; max-width: none; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(0,0,0,.45)); }
.playhead span { position: absolute; top: 4px; left: 18px; font: 500 10.5px var(--mono); color: #08080c; background: linear-gradient(135deg, #ff5a36, #8b6cff); padding: 3px 6px; border-radius: 4px; white-space: nowrap; font-variant-numeric: tabular-nums; }

.now { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; padding-top: 18px; padding-bottom: 48px; }
.now-info { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.now-label { font: 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mr-accent-text); }
.now-title { font-size: 16px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.now-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.btn-grad, .btn-line, .btn-sq { height: 44px; border-radius: 10px; font: 500 14px var(--sans); cursor: pointer; white-space: nowrap; color: var(--mr-fg); background: transparent; }
.btn-grad { padding: 0 16px; border: 0; font-weight: 600; color: #08080c; background: linear-gradient(135deg, #ff5a36, #8b6cff); }
.btn-grad:hover { filter: brightness(1.1); }
.btn-line { padding: 0 16px; border: 1px solid var(--mr-line-strong); }
.btn-line:hover, .btn-sq:hover { border-color: var(--mr-line-4); background: var(--mr-wash); }
.btn-sq { width: 44px; border: 1px solid var(--mr-line-3); font-size: 16px; }
.sep { width: 1px; height: 24px; background: var(--mr-line); margin: 0 4px; }
.show-sm { display: none; }

.js .reveal { opacity: 0; transform: translateY(18px); }
.reveal { transition: opacity .9s var(--ease) var(--d, 0ms), transform .9s var(--ease) var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }

/* Filter bar */
.browse { position: relative; z-index: 3; }
.filterbar { position: sticky; top: 64px; z-index: 40; background: var(--mr-glass-strong); backdrop-filter: blur(16px) saturate(140%); border-bottom: 1px solid var(--line); padding: 14px 0 0; }
.filterbar-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.search { position: relative; flex: 1 1 240px; min-width: 200px; }
.search svg { position: absolute; left: 14px; top: 50%; width: 17px; height: 17px; margin-top: -8.5px; fill: var(--mute); }
.search input { width: 100%; height: 42px; padding: 0 16px 0 40px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); font: 14px var(--sans); transition: border-color .2s, box-shadow .2s; }
.search input:focus { outline: none; border-color: rgba(255, 90, 54, .6); box-shadow: 0 0 0 4px rgba(255, 90, 54, .12); }
.select { position: relative; }
.select select {
    appearance: none; height: 42px; padding: 0 36px 0 16px; border-radius: 999px; border: 1px solid var(--line-2);
    background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%238d8da0'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") no-repeat right 12px center / 18px;
    color: var(--text); font: 14px var(--sans); cursor: pointer; transition: border-color .2s, background-color .2s;
}
.select select:hover { border-color: var(--mr-line-strong); }
.select.is-set select { border-color: rgba(255, 90, 54, .55); background-color: rgba(255, 90, 54, .1); }
.select-sort { margin-left: auto; }
.toggle { display: inline-flex; align-items: center; gap: 10px; height: 42px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); cursor: pointer; font-size: 14px; user-select: none; }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle-track { width: 32px; height: 18px; border-radius: 99px; background: var(--mr-line-3); position: relative; transition: background .25s; }
.toggle-track i { position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease); }
.toggle.is-on { border-color: rgba(61, 220, 151, .5); }
.toggle.is-on .toggle-track { background: var(--ok); }
.toggle.is-on .toggle-track i { transform: translateX(14px); }
.toggle:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }

.chiprow { display: flex; gap: 8px; overflow-x: auto; padding: 14px 0; scrollbar-width: none; mask-image: linear-gradient(90deg, #000 92%, transparent); }
.chiprow::-webkit-scrollbar { display: none; }
.pill { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--mr-fg-soft); text-decoration: none; font-size: 13px; transition: all .2s; }
.pill span { font: 11px var(--mono); color: var(--mute); }
.pill:hover { border-color: var(--line-2); color: var(--text); background: var(--mr-wash); }
.pill.is-active { background: var(--text); color: var(--mr-bg); border-color: var(--text); }
.pill.is-active span { color: var(--mr-bg); opacity: .65; }

.results-head { display: flex; justify-content: space-between; align-items: center; padding: 24px 0 18px; }
.results-head p { margin: 0; }
.results-head strong { color: var(--text); }
.clear { margin-left: 10px; color: var(--mr-accent-text); text-decoration: none; font-size: 14px; }
.clear:hover { text-decoration: underline; }

/* Grid + cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.js .card { opacity: 0; transform: translateY(24px); }
.card { transition: opacity .8s var(--ease) var(--d, 0ms), transform .8s var(--ease) var(--d, 0ms); }
.card.is-in { opacity: 1; transform: none; }
.card-link { display: block; text-decoration: none; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: transform .45s var(--ease), border-color .3s, box-shadow .45s var(--ease); }
.card-link:hover { transform: translateY(-6px); border-color: hsla(var(--h), 90%, 65%, .45); box-shadow: 0 24px 60px -24px hsla(var(--h), 90%, 55%, .55); }
.card-media { position: relative; }
.poster { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #111; }
.poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card-link:hover .poster img { transform: scale(1.06); }
.duration { position: absolute; right: 8px; bottom: 8px; z-index: 2; font: 10.5px var(--mono); color: #eae8f0; background: rgba(6,6,10,.62); padding: 3px 6px; border-radius: 4px; font-variant-numeric: tabular-nums; }
.poster-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.55), transparent 55%); }

/* Generated artwork for posts without a poster */
.art { position: absolute; inset: 0; background:
    radial-gradient(120% 90% at 15% 110%, hsla(var(--h), 95%, 60%, .85), transparent 55%),
    radial-gradient(80% 70% at 95% 0%, hsla(calc(var(--h) + 70), 90%, 62%, .7), transparent 60%),
    linear-gradient(135deg, hsl(calc(var(--h) + 200), 45%, 9%), hsl(var(--h), 40%, 14%)); }
.art-orb { position: absolute; width: 34%; aspect-ratio: 1; right: 14%; top: 18%; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #fff, hsla(var(--h), 95%, 70%, .9) 35%, transparent 70%); filter: blur(.5px); transition: transform 1.2s var(--ease); }
.art-ring { position: absolute; width: 52%; aspect-ratio: 1; right: 5%; top: -2%; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); transition: transform 1.4s var(--ease); }
.art-bar { position: absolute; left: 8%; bottom: 22%; height: 4px; width: 26%; border-radius: 4px; background: #fff; box-shadow: 0 0 18px #fff; transition: width 1s var(--ease); }
.art-type { position: absolute; left: 8%; bottom: 30%; font: italic 400 clamp(22px, 3.2vw, 34px)/1 var(--display); color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,.4); max-width: 60%; }
.card-link:hover .art-orb { transform: translate(-30%, 25%) scale(1.15); }
.card-link:hover .art-ring { transform: rotate(90deg) scale(.85); }
.card-link:hover .art-bar { width: 56%; }

.play { position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.14); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.3); opacity: 0; transform: scale(.8); transition: all .35s var(--ease); }
.play svg { width: 22px; height: 22px; fill: #fff; margin-left: 3px; }
.card-link:hover .play { opacity: 1; transform: scale(1); }
.timeline { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.12); }
.timeline i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), hsl(var(--h), 90%, 65%)); }
.card-link:hover .timeline i { width: 100%; transition: width 2.8s linear; }

.badge { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 10px 0 8px; border-radius: 999px; font: 500 11px var(--sans); letter-spacing: .01em; }
.badge svg { width: 13px; height: 13px; fill: currentColor; }
.badge-original { background: rgba(61, 220, 151, .16); color: var(--mr-ok-ink); border: 1px solid rgba(61, 220, 151, .35); backdrop-filter: blur(8px); }
.card-media .badge { position: absolute; top: 12px; left: 12px; background: rgba(8, 20, 14, .72); }

.card-body { padding: 16px 16px 16px; }
.card-title { margin: 0 0 6px; font-size: 16px; font-weight: 600; line-height: 1.35; letter-spacing: -0.005em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; color: var(--mute); font-size: 13px; }
.dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .6; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font: 500 11px var(--mono); padding: 4px 9px; border-radius: 7px; background: var(--mr-wash); border: 1px solid var(--line); color: var(--mr-fg-soft); }
.chip-fw { color: hsl(var(--h), 90%, var(--mr-chip-l)); border-color: hsla(var(--h), 90%, 65%, .3); background: hsla(var(--h), 90%, 60%, .08); }
.prompt-count { display: inline-flex; align-items: center; gap: 5px; font: 12px var(--mono); color: var(--mute); }
.prompt-count svg { width: 14px; height: 14px; fill: currentColor; }

.pager { padding: 44px 0 20px; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.page { min-width: 40px; height: 40px; padding: 0 12px; display: inline-grid; place-items: center; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font: 13px var(--mono); color: var(--mr-fg-soft); transition: all .2s; }
.page:hover { border-color: var(--line-2); background: var(--mr-wash); }
.page.is-current { background: var(--text); color: var(--mr-bg); border-color: var(--text); }
.page.is-disabled { opacity: .35; }

.empty { text-align: center; padding: 80px 20px; border: 1px dashed var(--line-2); border-radius: var(--radius); }
.empty h2, .empty h3 { margin: 18px 0 6px; font-weight: 600; }
.empty .btn { margin-top: 18px; }
.empty-sm { padding: 36px 20px; }
.empty-art { display: inline-flex; gap: 18px; }
.kf { width: 10px; height: 10px; transform: rotate(45deg); border-radius: 2px; }
.empty-art .kf { position: static; margin: 0; animation: bob 1.6s var(--ease) infinite alternate; background: var(--accent); }
.empty-art .kf:nth-child(2) { animation-delay: .2s; background: #ffb36b; } .empty-art .kf:nth-child(3) { animation-delay: .4s; background: var(--accent-2); }
@keyframes bob { to { transform: translateY(-10px) rotate(225deg); } }

/* Detail page */
.detail { position: relative; padding: 28px 0 40px; }
.detail-glow { position: absolute; inset: 0 0 auto; height: 620px; pointer-events: none; background: radial-gradient(60% 60% at 30% 0%, hsla(var(--h), 90%, 55%, .22), transparent 70%), radial-gradient(40% 50% at 90% 10%, rgba(139,108,255,.14), transparent 70%); }
.crumbs { position: relative; display: flex; gap: 8px; font: 12px var(--mono); color: var(--mute); margin-bottom: 20px; letter-spacing: .04em; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--text); }
.detail-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); grid-template-areas: "stage aside" "prompts aside"; column-gap: 40px; row-gap: 0; align-items: start; }
.detail-stage { grid-area: stage; min-width: 0; }
.detail-prompts { grid-area: prompts; min-width: 0; }
.stage-caption { margin: 10px 2px 0; font-size: 12.5px; }
.stage-caption a { color: inherit; }
.stage { border-radius: 20px; overflow: hidden; border: 1px solid var(--line-2); background: #000; box-shadow: 0 40px 100px -40px hsla(var(--h), 90%, 50%, .5); }
.stage-frame { position: relative; }
.poster-lg .art-type { font-size: clamp(30px, 4.5vw, 56px); }
.stage-play { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: transparent; border: 0; color: #fff; font: 500 14px var(--sans); cursor: pointer; }
.play-lg { position: static; margin: 0; width: 76px; height: 76px; opacity: 1; transform: none; }
.play-lg svg { width: 30px; height: 30px; }
.stage-play:hover .play-lg { transform: scale(1.08); background: var(--accent); border-color: transparent; box-shadow: 0 0 40px rgba(255,90,54,.6); }
.stage-note { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 12px 16px; font-size: 12px; color: rgba(255,255,255,.7); display: flex; justify-content: space-between; background: linear-gradient(to top, rgba(0,0,0,.7), transparent); }
.stage-note a { color: #fff; }
.stage-embed { min-height: 420px; display: grid; place-items: center; padding: 12px; background: var(--bg-2); }
.stage-embed .twitter-tweet { margin: 0 auto !important; }

.detail-meta { grid-area: aside; position: sticky; top: 88px; max-height: calc(100vh - 104px); overflow-y: auto; scrollbar-width: thin; padding: 6px 8px 6px 6px; margin: -6px -8px -6px -6px; }
#prompts, #suggest { scroll-margin-top: 88px; }
.detail-summary { margin: 0; line-height: 1.6; }
.detail-summary.is-clamped { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.link-btn { padding: 0; margin: 4px 0 0; border: 0; background: none; color: var(--mr-accent-text); font: 500 13px var(--sans); cursor: pointer; }
.link-btn:hover { text-decoration: underline; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; margin: 20px 0; padding: 14px 16px; border: 1px solid var(--mr-line-1); border-radius: var(--radius-sm); background: var(--mr-card); }
.facts dt { font: 10.5px var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--mr-fg-dim); }
.facts dd { margin: 3px 0 0; font-weight: 500; font-size: 14px; overflow-wrap: anywhere; }
.facts dd a { text-decoration: none; } .facts dd a:hover { color: var(--mr-accent-text); }
.btn-block { width: 100%; height: 48px; font-size: 15px; }
.btn-accent.is-done { background: linear-gradient(135deg, #1d8a55, #3ddc97); }
.detail-actions-row { display: flex; flex-wrap: wrap; gap: 10px; }
.detail-actions-row:empty { display: none; }
.detail-title { font: 600 clamp(26px, 3vw, 36px)/1.15 var(--sans); letter-spacing: -0.02em; margin: 0 0 10px; }
.byline { margin: 0 0 16px; color: var(--mute); }
.byline a { color: var(--text); text-decoration: none; border-bottom: 1px solid var(--line-2); }
.byline a:hover { border-color: var(--accent); }
.spec { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 22px 0; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); background: var(--line); }
.spec div { background: var(--surface); padding: 12px 14px; }
.spec dt { font: 11px var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--mute); }
.spec dd { margin: 3px 0 0; font-weight: 500; }
.spec dd a { text-decoration: none; } .spec dd a:hover { color: var(--mr-accent-text); }
.detail-actions { display: grid; gap: 10px; margin-bottom: 18px; }

.prompts { margin-top: 64px; max-width: 900px; }
.detail-prompts { margin-top: 8px; max-width: none; }
.detail-prompts > .section-head:first-child, .detail-prompts > .notice + .section-head { margin-top: 28px; }
.prompt.prompt-novote { grid-template-columns: minmax(0, 1fr); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin: 40px 0 18px; }
.note { margin: -6px 0 18px; }
.prompt { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); margin-bottom: 14px; transition: border-color .3s; }
.prompt:hover { border-color: var(--line-2); }
.prompt-featured { background: linear-gradient(180deg, rgba(61, 220, 151, .06), transparent 40%), var(--surface); border-color: rgba(61, 220, 151, .3); }
.vote { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.vote-btn { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); background: var(--mr-wash); cursor: pointer; transition: all .2s var(--ease); }
.vote-btn svg { width: 18px; height: 18px; fill: var(--mute); transition: fill .2s; }
.vote-btn:hover { border-color: var(--line-2); transform: translateY(-1px); }
.vote-btn.is-on { background: rgba(255, 90, 54, .16); border-color: rgba(255, 90, 54, .5); }
.vote-btn.is-on svg { fill: var(--accent); }
.vote-down.is-on { background: rgba(139, 108, 255, .16); border-color: rgba(139, 108, 255, .5); }
.vote-down.is-on svg { fill: var(--accent-2); }
.vote-score { font: 600 15px var(--mono); }
.prompt-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 12px; font-size: 14px; }
.prompt-author a { text-decoration: none; font-weight: 600; } .prompt-author a:hover { color: var(--mr-accent-text); }
.proof { font-size: 12px; color: var(--mr-ok-ink); text-decoration: none; border: 1px solid rgba(61, 220, 151, .3); padding: 2px 9px; border-radius: 999px; }
.proof:hover { background: rgba(61, 220, 151, .1); }
.prompt-len { font: 12px var(--mono); }
.btn-copy { margin-left: auto; }
.btn-copy.is-done { border-color: rgba(61, 220, 151, .5); color: var(--mr-ok-ink); }
.prompt-body { position: relative; max-height: 260px; overflow: hidden; border-radius: var(--radius-sm); background: var(--mr-field); border: 1px solid var(--line); transition: max-height .5s var(--ease); }
.prompt-body::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 80px; background: linear-gradient(transparent, var(--mr-field)); pointer-events: none; transition: opacity .3s; }
.prompt-body.is-open { max-height: none; }
.prompt-body.is-open::after { opacity: 0; }
.prompt-body pre { margin: 0; padding: 16px 18px; font: 13px/1.7 var(--mono); color: var(--mr-fg-soft-2); white-space: pre-wrap; word-break: break-word; }
.prompt-more { margin-top: 10px; background: none; border: 0; color: var(--mr-accent-text); font: 500 13px var(--sans); cursor: pointer; padding: 0; }
.prompt-notes { margin: 10px 0 0; font-size: 13px; }
.vote-error { color: var(--mr-danger-text); font-size: 13px; margin: 8px 0 0; }

.suggest { margin-top: 26px; border-radius: var(--radius); border: 1px dashed var(--line-2); background: var(--mr-wash); }
.suggest-toggle { width: 100%; display: flex; align-items: center; gap: 16px; padding: 18px 20px; background: none; border: 0; color: var(--text); font: 15px var(--sans); text-align: left; cursor: pointer; }
.suggest-plus { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; transition: transform .3s var(--ease); }
.suggest-toggle[aria-expanded="true"] .suggest-plus { transform: rotate(45deg); }
.suggest .form { padding: 0 20px 20px; }
.related { margin-top: 72px; }
.grid-related { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }

/* Forms */
.form { display: grid; gap: 18px; }
.form-card { padding: clamp(20px, 4vw, 36px); border-radius: 22px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 64px; }
.field { display: grid; gap: 7px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field > span, .field legend { font-size: 13px; font-weight: 500; color: var(--mr-fg-soft); padding: 0; margin-bottom: 7px; }
.field legend { margin-bottom: 7px; }
.field small { color: var(--mute); font-weight: 400; }
.field input, .field select, .field textarea {
    width: 100%; border-radius: 12px; border: 1px solid var(--line-2); background: var(--mr-field); color: var(--text);
    font: 14px var(--sans); padding: 12px 14px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { font: 13px/1.6 var(--mono); resize: vertical; min-height: 140px; }
.field select { appearance: none; height: 46px; background: var(--mr-field) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%238d8da0'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") no-repeat right 12px center / 18px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: rgba(255, 90, 54, .6); box-shadow: 0 0 0 4px rgba(255, 90, 54, .12); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-error { color: var(--mr-danger-text); font-size: 13px; font-style: normal; }
.radio-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.radio { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13px; cursor: pointer; }
.radio:has(input:checked) { border-color: rgba(255, 90, 54, .6); background: rgba(255, 90, 54, .1); }
.radio input { accent-color: var(--accent); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.form-foot p { margin: 0; max-width: 380px; }
.notice { padding: 14px 18px; border-radius: 12px; margin: 0 0 18px; font-size: 14px; }
.notice a { color: inherit; font-weight: 600; margin-left: 6px; }
.notice-ok { background: rgba(61, 220, 151, .1); border: 1px solid rgba(61, 220, 151, .35); color: var(--mr-success); }

.page-hero { position: relative; overflow: hidden; padding: 72px 0 36px; }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero-center { text-align: center; padding: 120px 0; }
.page-hero-center .btn { margin-top: 20px; }

/* Newsletter */
.newsletter { position: relative; margin-top: 96px; padding: 72px 0; border-top: 1px solid var(--line); overflow: hidden; background: radial-gradient(50% 120% at 85% 100%, rgba(139, 108, 255, .16), transparent 70%), radial-gradient(40% 100% at 10% 0%, rgba(255, 90, 54, .12), transparent 70%); }
.newsletter-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.newsletter h2 { font-size: clamp(36px, 5vw, 60px); margin-bottom: 14px; }
.newsletter-copy p.muted { max-width: 460px; margin: 0; }
.input-row { display: flex; gap: 8px; padding: 6px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); transition: border-color .2s, box-shadow .2s; }
.input-row:focus-within { border-color: rgba(255, 90, 54, .6); box-shadow: 0 0 0 4px rgba(255, 90, 54, .12); }
.input-row input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--text); font: 15px var(--sans); padding: 0 14px; }
.input-row input:focus { outline: none; }
.newsletter-form .cf-turnstile { margin-top: 12px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 44px 0 28px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.footer-inner p { max-width: 420px; font-size: 14px; }
.brand-sm { font-size: 15px; }
.footer-links { display: flex; gap: 22px; font-size: 14px; }
.footer-links a { text-decoration: none; color: var(--mute); } .footer-links a:hover { color: var(--text); }
.fineprint { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12px; color: var(--mr-fg-dim); }


/* ===== Subscribe popup — design by Claude Design, ported ===== */
.sp-backdrop { position: fixed; inset: 0; z-index: 90; background: rgba(4,4,8,.62); backdrop-filter: blur(3px); }
.sp { position: fixed; z-index: 91; right: 24px; bottom: 24px; width: 404px; max-width: calc(100vw - 32px); border-radius: 18px; overflow: hidden;
    background: var(--mr-panel); border: 1px solid var(--mr-line-3); box-shadow: var(--mr-sh-panel); color: var(--mr-fg); outline: none; }
.sp-anim { transition: transform 420ms cubic-bezier(.2,.7,.2,1), opacity 420ms cubic-bezier(.2,.7,.2,1); }
.sp-from { transform: translate3d(0, calc(100% + 40px), 0); opacity: 0; }
.sp-to { transform: none; opacity: 1; }
.sp-bar { height: 3px; background: linear-gradient(90deg, #ff5a36, #8b6cff); }
.sp-handle { display: none; justify-content: center; padding-top: 8px; }
.sp-handle span { width: 40px; height: 4px; border-radius: 2px; background: var(--mr-line-strong); }
.sp-close { position: absolute; top: 16px; right: 12px; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; padding: 0; border-radius: 10px; border: 1px solid var(--mr-line-3); background: transparent; color: var(--mr-fg-muted); cursor: pointer; }
.sp-close:hover { color: var(--mr-fg); border-color: var(--mr-line-strong); }
.sp-body { padding: 22px 24px; display: flex; flex-direction: column; gap: 18px; }
.sp-kf { display: flex; align-items: center; gap: 14px; padding-right: 52px; }
.sp-kf img { width: 40px; height: 40px; object-fit: contain; flex: none; }
.sp-track { flex: 1; position: relative; height: 12px; }
.sp-rail, .sp-fill { position: absolute; left: 0; top: 5.5px; height: 1px; }
.sp-rail { right: 0; background: var(--mr-line-3); }
.sp-fill { background: linear-gradient(90deg, #ff5a36, #8b6cff); transition: width 900ms cubic-bezier(.2,.7,.2,1) 200ms; }
.sp-dots { position: relative; display: flex; justify-content: space-between; align-items: center; height: 12px; }
.sp-dots i { width: 9px; height: 9px; transform: rotate(45deg); box-sizing: border-box; border: 1.5px solid var(--c); background: var(--mr-panel); }
.sp-dots i.on { border: 0; background: linear-gradient(135deg, #ff5a36, #8b6cff); }
.sp-stack { display: flex; flex-direction: column; gap: 12px; }
.sp-copy { display: flex; flex-direction: column; gap: 10px; }
.sp-eyebrow, .sp-form label, .sp-ok { font: 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.sp-eyebrow { color: var(--mr-accent-text); }
.sp-h { margin: 0; font: 400 36px/1 var(--display); letter-spacing: -0.015em; text-wrap: balance; }
.sp-h em { font-style: italic; padding-right: .06em; background: var(--mr-gtext); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sp p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--mr-fg-muted); overflow-wrap: anywhere; }
.sp p b { color: var(--mr-fg); font-weight: 500; }
.sp-form { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.sp-form label { color: var(--mr-fg-muted); }
.sp-row { display: flex; gap: 8px; }
.sp-row input { flex: 1; min-width: 0; height: 48px; box-sizing: border-box; padding: 0 14px; border-radius: 10px; border: 1px solid var(--mr-line-3); background: var(--mr-field); color: var(--mr-fg); font: 15px var(--sans); }
.sp-row input:focus { outline: none; border-color: rgba(255,90,54,.6); box-shadow: 0 0 0 4px rgba(255,90,54,.12); }
.sp-row input.is-bad { border-color: #ff4f79; }
.sp-row button { flex: none; height: 48px; padding: 0 18px; border-radius: 10px; border: 0; background: linear-gradient(135deg, #ff5a36, #8b6cff); color: #08080d; font: 600 15px var(--sans); cursor: pointer; }
.sp-row button:disabled { opacity: .6; cursor: progress; }
.sp-form p { font-size: 13px; line-height: 1.4; color: var(--mr-fg-dim); }
.sp-form p.is-bad { color: var(--mr-danger-text); }
.sp-ok { display: flex; align-items: center; gap: 8px; color: var(--mr-success); }
.sp-ok i { width: 8px; height: 8px; transform: rotate(45deg); background: currentColor; }
.sp-done { align-self: flex-start; height: 48px; padding: 0 20px; border-radius: 10px; border: 1px solid var(--mr-line-strong); background: transparent; color: var(--mr-fg); font: 500 15px var(--sans); cursor: pointer; }
@media (max-width: 759px) {
    .sp { left: 0; right: 0; bottom: 0; width: auto; max-width: none; border-radius: 24px 24px 0 0; border-bottom: 0; }
    .sp-from { transform: translate3d(0, 100%, 0); }
    .sp-handle { display: flex; }
    .sp-close { top: 18px; width: 44px; height: 44px; }
    .sp-body { padding: 10px 20px calc(24px + env(safe-area-inset-bottom)); }
    .sp-row { flex-direction: column; }
    .sp-row input, .sp-row button { flex: none; height: 52px; width: 100%; } /* equal heights (Claude Design's mobile field was squashed) */
}
@media (prefers-reduced-motion: reduce) { .sp-anim { transition: none; } }

.closed { text-align: center; }
.closed p { max-width: 460px; margin: 10px auto 22px; }

.poster-lg .duration { display: none; } /* shown in the facts list instead */
.stage-video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #000; }
.motion-spec { margin: 0 0 8px; border: 1px solid var(--mr-line-1); border-radius: var(--radius-sm); background: var(--mr-card); padding: 14px 16px; }
.spec-title { cursor: pointer; list-style: none; margin: 0; font: 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mr-accent-text); }
.spec-title .muted { text-transform: none; letter-spacing: 0; }
.spec-title::-webkit-details-marker { display: none; }
.spec-title::after { content: "+"; float: right; font-size: 14px; color: var(--mr-fg-dim); }
.motion-spec[open] .spec-title::after { content: "–"; }
.motion-spec[open] .spec-title { margin-bottom: 12px; }
.motion-spec dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; margin: 0; }
.motion-spec dt { font: 10.5px var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--mr-fg-dim); }
.motion-spec dd { margin: 2px 0 0; font: 13px var(--mono); overflow-wrap: anywhere; }
.spec-sig { margin: 12px 0 0; font-size: 13px; line-height: 1.55; color: var(--mr-fg-muted); }
.fineprint a { color: inherit; }

/* Responsive */
@media (max-width: 1120px) {
    .wrap-wide { padding-inline: 32px; }
    .hero-row { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 960px) {
    .detail-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "stage" "aside" "prompts"; }
    .detail-meta { position: static; max-height: none; overflow: visible; padding: 0; margin: 24px 0 0; }
    .newsletter-inner { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    .nav-link { display: none; }
    .filterbar { top: 64px; }
    .filterbar-inner { gap: 8px; }
    .search { flex-basis: 100%; }
    .select, .toggle { flex: 1 1 calc(50% - 4px); }
    .select select { width: 100%; }
    .select-sort { margin-left: 0; }
    .field-row { grid-template-columns: 1fr; }
    .prompt { grid-template-columns: 1fr; }
    .vote { flex-direction: row; justify-content: flex-start; }
    .btn-copy { margin-left: 0; }
    .grid { grid-template-columns: 1fr; }
    .stats dd { font-size: 36px; }
    .wrap-wide { padding-inline: 20px; }
    .hero-top { padding-top: 28px; }
    .hero-h1 { margin-top: 22px; }
    .hero-search { height: 60px; gap: 10px; padding-left: 12px; }
    .hero-search img { width: 28px; height: 28px; }
    .hero-search input { font-size: 16px; }
    .hero-search button { height: 44px; min-width: 44px; padding: 0; }
    .hide-sm { display: none !important; }
    .show-sm { display: inline; }
    .hero-aside p { font-size: 16px; }
    .reel { margin-top: 48px; --gutter: 0px; --col: 250px; }
    .reel-col { padding-right: 10px; }
    .reel-clip { padding: 10px 0 12px; }
    .reel-prompt { height: 112px; }
    .playhead { left: 50%; }
    .now { padding-top: 16px; padding-bottom: 36px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal, .card { opacity: 1; transform: none; }
}
