/* The room surrounds the playable table; all controls stay on readable surfaces. */
body{isolation:isolate;background:#0d1113;min-height:100svh}
.dice-ambience{position:fixed;inset:0;z-index:-2;overflow:hidden;pointer-events:none;background:#0d1113;contain:strict}
.ambience-layer{position:absolute;inset:0;background-size:cover;background-position:center;opacity:0;transition:opacity 240ms ease-out;will-change:opacity}
.ambience-layer.is-visible{opacity:1}
.dice-ambience::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#080d1270 0%,#080d1220 24%,#080d1240 100%);pointer-events:none}
.ambience-still .ambience-layer{transition:none}
.app-shell{max-width:1460px;padding:0 clamp(18px,4vw,58px);background:linear-gradient(90deg,transparent,#0b121329 15%,#0b121329 85%,transparent)}
.masthead{background:#0c1315dc;border-bottom:1px solid #d2b98b2e;padding-inline:20px;margin-inline:-20px;backdrop-filter:blur(12px)}
.sanctuary-hero{margin-top:46px;margin-bottom:30px;gap:28px;overflow:visible;border:0;min-height:340px}
.hero-copy{padding:30px;border:1px solid #d8c19b25;border-radius:12px;background:linear-gradient(110deg,#0c1315f0,#0c1315b8);box-shadow:0 14px 44px #0003}
.hero-copy .intro{color:#d3dcd5}.hero-footnote{color:#bccbc3}.collection-hero-art{min-height:340px;border-radius:12px;overflow:hidden;box-shadow:0 18px 48px #0008}.collection-hero-art::after{background:linear-gradient(0deg,#090f13e8,transparent 52%)}
.context-bar{padding:20px 24px;border:1px solid #bba77f30;border-radius:10px;background:#0c1416e8;box-shadow:0 12px 35px #0003;gap:20px}
.workspace-tabs{background:#0b1416ee;margin:28px 0;padding:0 20px;border-radius:8px;gap:24px}
.workbench{gap:30px}.tray-heading{background:#0c1416eb;border-radius:7px 7px 0 0;padding:9px 14px;min-height:45px}.tray[data-world]{box-shadow:0 0 0 1px #dbbb7038,0 25px 70px #000b!important}
.console{background:#0d1719f2;border-radius:10px;box-shadow:0 15px 50px #0007;border:1px solid #b8c2b936}.result-strip{background:#0c1719f2}.material-feedback,.visual-note{background:#0b1415e8;padding:9px 14px;margin:0}.visual-note:empty,.material-feedback:has(span:empty):has(button[hidden]){display:none}
.recent-section,.gallery-toolbar,.studio-layout,.page-footer{background:#0c1517ee;border:1px solid #bac7bb26;border-radius:10px;padding:24px}.page-footer{margin-top:44px;margin-bottom:24px}.collection-card{background:#101a1ded}.section-heading{background:#0c1517ec;border-radius:8px;padding:20px}
@media(min-width:1700px){.app-shell{margin-inline:auto}.dice-ambience::after{background:linear-gradient(90deg,#05090d22,#05090d15 20%,#05090d3d 50%,#05090d15 80%,#05090d22)}}
@media(max-width:900px){.sanctuary-hero{gap:16px}.hero-copy{padding:24px}.context-bar{flex-wrap:wrap}.context-copy{flex-basis:100%}.workbench{gap:20px}.masthead{padding-inline:12px;margin-inline:-12px}.ambience-layer{background-position:55% center}}
@media(max-width:620px){.app-shell{padding-inline:14px}.sanctuary-hero{margin-top:25px}.hero-copy{padding:24px 20px}.collection-hero-art{min-height:280px}.collection-hero-art canvas{mask-image:none}.context-bar{padding:16px;gap:14px}.workspace-tabs{padding-inline:12px;gap:17px}.recent-section,.studio-layout{padding:16px}.ambience-layer{background-position:60% center}}
@media(prefers-reduced-motion:reduce){.ambience-layer{transition:none}}
