/* Goal100 · Reaction Lab hero + Reaction Theater styles (job rlab2, Nov 14, 2026). Our own code. */
/* hub hero stage */
.rl-hero .rl-herostage{position:relative;margin:14px 0 8px;border-radius:20px;overflow:hidden;background:radial-gradient(110% 120% at 50% 0%,#2E3A86 0%,#141A3A 75%);min-height:220px}
.rl-hero .rl-herostage .rl-stage{margin:0;border-radius:20px;background:transparent}
.rl-hcap{position:absolute;left:14px;top:12px;z-index:3;margin:0;padding:6px 14px;border-radius:999px;background:rgba(10,10,40,.62);color:#fff;font-weight:700;font-size:clamp(.95rem,2.8vw,1.15rem);pointer-events:none;max-width:calc(100% - 28px)}
.rl-hcap-in{animation:rlCapIn .45s ease-out}
@keyframes rlCapIn{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
.rl-heq{position:absolute;right:14px;bottom:12px;z-index:3;margin:0;color:#fff;font-weight:700;font-size:1rem;opacity:.9;pointer-events:none}
.rl-hplay{position:absolute;left:12px;bottom:10px;z-index:4}
.rl-hero .rl-hplay.rl-btn{background:rgba(10,10,40,.55);color:#fff;border-color:#fff}
.rl-herorow{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px}
.rl-btn.big{font-size:1.15rem;min-height:56px;padding:10px 24px}
@media (prefers-reduced-motion:reduce){.rl-hcap-in{animation:none}}

/* theater */
.th-h{margin:18px 0 8px;font-size:1.25rem}
.th-picks{display:flex;gap:10px;overflow-x:auto;padding:4px 2px 12px;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;max-width:100%}
.th-pick{flex:0 0 auto;scroll-snap-align:start;position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:4px;width:172px;min-height:120px;padding:12px;border-radius:18px;border:2px solid #E0E2F2;background:var(--card,#fff);color:inherit;text-align:left;font:inherit;cursor:pointer}
.th-pick .ico{font-size:1.9rem;line-height:1}
.th-pick b{font-size:.98rem;line-height:1.25}
.th-pick .rl-tag{font-size:.74rem;margin-top:auto}
.th-pick[aria-pressed=true]{border-color:var(--rl-teal,#0E7C66);box-shadow:0 0 0 3px rgba(14,124,102,.25)}
.th-pick:focus-visible{outline:3px solid var(--rl-gold,#F2A93B);outline-offset:2px}
.th-star{position:absolute;right:8px;top:8px}
.th-card{border:2px solid #E0E2F2;border-radius:22px;padding:16px;margin:6px 0 16px;background:var(--card,#fff)}
.th-top{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-start;justify-content:space-between}
.th-top h2{margin:0 0 4px;font-size:clamp(1.3rem,4.6vw,1.8rem)}
.th-badges{margin:4px 0}
.th-real{font-size:.92rem;opacity:.85}
.th-tools{display:flex;flex-wrap:wrap;gap:8px}
.th-idea{font-size:1.15rem;font-weight:700;margin:10px 0 4px}
.th-hook{margin:0 0 6px;opacity:.9}
.th-predict{border:2px dashed #B9B3F5;border-radius:18px;padding:12px;margin:10px 0;background:rgba(107,79,216,.06)}
.th-q{margin:0 0 8px}
.th-opts{display:flex;flex-wrap:wrap;gap:8px}
.th-opt{text-align:left}
.th-opt.th-right{border-color:#0E7C66;background:#DFF7EE;color:#0B4F41}
.th-viewtabs{display:flex;flex-wrap:wrap;gap:8px;margin:6px 0 10px}
.th-views{display:grid;grid-template-columns:1fr;gap:12px}
@media (min-width:900px){.th-views[data-view=both]{grid-template-columns:1fr 1fr}}
.th-views[data-view=beaker] .th-fm,.th-views[data-view=mol] .th-fb{display:none}
.th-fig{margin:0;min-width:0}
.th-fig figcaption{font-size:.92rem;margin-top:4px;opacity:.85}
.th-beaker{border-radius:20px;overflow:hidden;background:#141A3A;min-height:230px}
.th-bcv{display:block;width:100%}
.th-mol{border-radius:20px;outline:none}
.th-mol .rl-stage{margin:0}
.th-mol:focus-visible{outline:3px solid var(--rl-gold,#F2A93B);outline-offset:3px}
.th-stagecap{margin:10px 0;padding:10px 14px;border-radius:14px;background:#EEF0FF;color:#16163A;min-height:44px;line-height:1.45}
.th-ctrl{display:flex;flex-direction:column;gap:10px;margin:8px 0 12px}
.th-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.th-main .th-play{min-width:150px;font-size:1.1rem}
.th-lab{font-weight:700;margin-right:4px}
.th-speed .rl-btn{min-width:56px;padding:8px 12px}
.th-scrub{display:flex;flex-direction:column;gap:6px}
.th-scrub input[type=range]{width:100%;min-height:44px;font-size:16px;accent-color:#6B4FD8;margin:0}
.th-marks{display:flex;flex-wrap:wrap;gap:4px;align-items:center}
.th-arr{opacity:.5}
.th-mark{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:4px 10px;border-radius:999px;border:2px solid #E0E2F2;background:var(--card,#fff);color:inherit;font:inherit;font-size:.92rem;cursor:pointer}
.th-mark.on{border-color:#6B4FD8;background:#EEEAFF;color:#2B2A8C;font-weight:700}
.th-mark[disabled]{opacity:.5;cursor:default}
.th-dot{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;background:#2B2A8C;color:#fff;font-size:.8rem;font-weight:700}
.th-panels{display:grid;grid-template-columns:1fr;gap:12px}
@media (min-width:900px){.th-panels{grid-template-columns:1fr 1fr}}
.th-panel{border:2px solid #E0E2F2;border-radius:18px;padding:12px;min-width:0}
.th-panel h3{margin:0 0 8px}
.th-esvg{width:100%;height:auto;max-height:220px;display:block;color:inherit}
.th-enote{margin:6px 0 0;font-weight:700}
.th-eq{display:flex;flex-wrap:wrap;align-items:flex-start;gap:6px 10px;font-size:1.15rem;margin:0 0 10px}
.th-term{display:inline-flex;flex-direction:column;align-items:center;text-align:center;max-width:12ch}
.th-term small{font-size:.72rem;opacity:.8;line-height:1.2}
.th-plus,.th-eq .rl-arrow{align-self:flex-start;font-weight:700}
.th-tab{width:100%;border-collapse:collapse;font-size:.95rem}
.th-tab th,.th-tab td{padding:6px 4px;border-bottom:1px solid #E0E2F2;text-align:left;vertical-align:middle}
.th-tab td{text-align:center}
.th-tab small{opacity:.75}
.th-ball{display:inline-block;width:14px;height:14px;border-radius:50%;margin-right:6px;vertical-align:-2px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.25)}
.th-moved{display:inline-block;min-width:3ch;font-weight:700}
.th-bar{display:block;height:6px;border-radius:3px;background:#E0E2F2;margin-top:3px;overflow:hidden}
.th-bar i{display:block;height:100%;width:0;background:#0E7C66}
.th-bal{margin:8px 0 0;font-weight:700;color:#0B6A57}
.th-text h3{margin:14px 0 4px}
.th-text p{margin:0 0 6px;line-height:1.5}
.th-safe{margin-top:10px}
.rl-board .th-pick b,.rl-board .th-stagecap{font-size:1.2rem}
html.dark .th-stagecap,body.dark .th-stagecap{background:#23264F;color:#fff}
.rl-tag.school{background:#E3EEFF;color:#1F4A9A}
.rl-hsub{align-self:center;opacity:.9}
.th-f{white-space:nowrap}
