/* Shared exhibition shell. Colour belongs to the artwork. */
:root{--fg:var(--text);--dim:var(--muted);--acid:var(--accent);--orange:var(--accent);font-family:Satoshi,"Helvetica Neue",Arial,sans-serif;background:var(--bg);color:var(--fg)}
body{background:var(--bg);color:var(--fg);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
h1,h2,h3,.thread-section h2,.curated-card h3,.edition-card h3{font-family:Satoshi,"Helvetica Neue",Arial,sans-serif;font-weight:500;letter-spacing:-.05em}
h1 em,h2 em{font-style:normal;color:var(--muted)}
a{color:inherit}button,input,select{font-family:inherit;color:var(--fg);border-color:var(--line-strong);border-radius:5px}
button{background:transparent}button:hover{background:var(--hover);border-color:var(--line-strong)}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--fg);outline-offset:4px}
input,select,.thread-search input{background:var(--panel);border-color:var(--line-strong);color:var(--fg)}
button[aria-pressed=true],.mode-switch button[aria-pressed=true],.gallery-mode button[aria-pressed=true],#follow[aria-pressed=true]{background:var(--accent);color:var(--ink);border-color:var(--accent)}
.top,header,footer,.rule,.abstract,.editions,.thread-section,.thread-results li,.curated-section,details,.record-line,.inspect-line,.work-overview,.day-jump{border-color:var(--line)}
.top{padding-top:24px;padding-bottom:24px}.top nav{font-size:12px}.brand-copy strong{font-weight:600;letter-spacing:-.045em}.brand img{width:36px;height:36px}
.theme-toggle{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:36px;height:36px;min-height:36px;padding:8px;border:1px solid var(--line);background:transparent;color:var(--fg)}
.theme-toggle svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.4}
.introduction{padding-top:96px;padding-bottom:64px}.introduction h1{font-size:clamp(52px,7.8vw,104px);line-height:1.04;letter-spacing:-.06em;max-width:1000px}.intro-bottom{margin-top:36px}
.eyebrow,.live-heading>button{color:var(--muted)}.intro-bottom p,.micro,.record-line,.palette-heading,.palette-axes{color:var(--muted)}
button.contract-box{background:var(--panel);color:var(--fg);border-color:var(--line);min-height:36px}.contract-box:disabled{color:var(--muted);border-color:var(--line)}
.mode-switch,.edition-card,.curated-card,.color-explanation{background:var(--panel);border-color:var(--line);border-radius:6px}.mode-switch button{color:var(--muted)}
.gallery-invite button{background:var(--accent);border-color:var(--accent);color:var(--ink)}.gallery-invite button:hover{background:var(--accent-hover);border-color:var(--accent-hover)}
.quilt-scroll,.gallery-stage{border:1px solid var(--line);border-radius:4px}.quilt-plane,#empty-state,.gallery-stage,.overview-layout canvas{background:var(--panel)}
#gallery,#gallery::backdrop{background:var(--bg);color:var(--fg)}.gallery-header button{border-color:var(--line)}.color-explanation #gallery-rule-result{color:var(--fg)}
.gallery-scrub input,.gallery-mode input,.overview-layout input[type=range]{accent-color:var(--accent)}
.edition-card,.curated-card{padding:28px}.edition-card h3,.curated-card h3{font-size:28px}.quiet{color:var(--muted)}.quiet:hover{color:var(--fg)}
.study-brand img,.player-brand img{border-radius:2px}footer{color:var(--muted)}
@media(max-width:720px){.introduction{padding:52px 0 36px}.introduction h1{font-size:clamp(44px,10vw,70px)}.top{padding:20px}.top nav{align-items:center;gap:12px;font-size:10px}.brand img{width:32px;height:32px}.theme-toggle{width:32px;height:32px;min-height:32px;padding:7px}.edition-card,.curated-card{padding:20px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

.notice,.receipt,.choices button[aria-pressed=true],.canvas-box canvas{background:var(--panel);border-color:var(--line-strong)}.choices button[aria-pressed=true]{color:var(--fg)}.tag,h3,em,dl>div:last-child dd{color:var(--fg)}
#player-source,#player-status,.player-empty p{color:var(--muted)}.art-frame,.player-empty{background:var(--panel);border-color:var(--line)}.player-controls button,.player-controls a{color:var(--fg)}.player-empty em{color:var(--muted)}.script-note{background:var(--bg)}
header .theme-toggle{pointer-events:auto}header strong{font-family:Satoshi,Arial,sans-serif}

.studio-entry{display:flex;align-items:center;justify-content:space-between;gap:2rem;margin-top:2.4rem;padding-top:1.5rem;border-top:1px solid var(--line,rgba(140,140,140,.25))}.studio-entry p{font-size:14px;line-height:1.5;margin:.5rem 0 0;max-width:34rem}.studio-entry>a{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;text-decoration:none;min-height:44px;padding:10px 18px;border:1px solid currentColor;border-radius:3px}.studio-entry>a:focus-visible{outline:2px solid currentColor;outline-offset:4px}@media(max-width:600px){.studio-entry{align-items:flex-start;flex-direction:column;gap:1rem}.studio-entry>a{width:100%;box-sizing:border-box}}
