/* Only the artwork hero: one celestial switch, stable controls in both scenes. */
.art-hero .scene-controls,.art-hero #ai-detail,.art-hero .demo-note{display:none!important}
.art-hero .copy{padding-top:clamp(130px,16vh,180px)}
.art-hero .copy h1{font-weight:400;line-height:1.05;letter-spacing:-1.5px;margin-bottom:24px;font-size:clamp(52px,4.5vw,78px)}
.art-hero .copy>p:not(.demo-note){font-size:15px;line-height:1.8;max-width:390px;margin-bottom:0}
.art-hero .actions{margin:28px 0 14px;gap:24px;font-size:13px}
.art-hero #art-motion{display:block;min-height:44px;font-size:12px;margin-top:8px}
.art-hero .hero-code{margin-top:18px;border-top:1px solid #344d7040;padding-top:12px;max-width:530px}
.hero-code summary{font-size:12px;color:#243e67;cursor:pointer;min-height:36px;display:list-item;list-style-position:inside;padding:8px 0}
.hero-code .code{margin-top:8px}.hero-code summary:focus-visible{outline:2px solid #2448bf;outline-offset:4px}
.art-hero .art-switch{min-width:224px;gap:15px;min-height:72px;border-radius:40px;padding:10px 19px 10px 12px;background:#102545df;border:1px solid #dfebff80;box-shadow:inset 0 1px 0 #ffffff35,0 8px 24px #06152e30}
body[data-theme=tree] .art-hero .art-switch{background:#173d32e8;border-color:#f3df9e99}
.art-switch .palette-icon{width:48px;height:48px;flex-shrink:0;border:1px solid #b8c9ef80;background:linear-gradient(145deg,#6a88c844,#152947);overflow:hidden;box-shadow:inset 0 0 10px #081c39a0}
.palette-icon i{display:block!important;width:22px!important;height:22px!important;left:11px!important;top:11px!important;background:#f8ebbc!important;box-shadow:6px -4px 0 0 #233e68;border-radius:50%;transition:box-shadow .8s,background .8s,transform .8s}
body[data-theme=tree] .palette-icon{background:linear-gradient(145deg,#f5db8c50,#506d4e)}
body[data-theme=tree] .palette-icon i{background:#ffe18b!important;box-shadow:0 0 13px 4px #ffeab16b;transform:rotate(180deg)}
.art-switch small{font-size:10px;letter-spacing:.3px;color:#e0e7f2}.art-switch strong{font-size:14px;font-weight:600}.art-switch .switch-arrow{font-size:21px;color:#ffe49a;margin-left:0}
@media(max-width:1100px) and (min-width:701px){.art-hero .copy{padding-top:130px}.art-hero .art-switch{margin-top:-84px}}
@media(max-width:700px){.art-hero .copy{padding:30px 24px 38px}.art-hero .copy h1{font-size:52px;letter-spacing:-1px}.art-hero .art-switch{min-width:206px;min-height:62px;padding:8px 14px 8px 9px;margin-top:-65px;margin-left:16px;gap:10px}.art-switch .palette-icon{width:40px;height:40px}.palette-icon i{left:8px!important;top:8px!important}.art-hero .art-switch small{display:block}.hero-code{max-width:100%}}
@media(prefers-reduced-motion:reduce){.palette-icon i{transition:none}.art-hero .art-switch:hover{transform:none}}
.palette-icon i::after{content:'';position:absolute;width:20px;height:20px;right:-5px;top:-5px;border-radius:50%;background:#263c5d;opacity:1;transition:opacity .6s}
body[data-theme=tree] .palette-icon i::after{opacity:0}
@media(prefers-reduced-motion:reduce){.palette-icon i::after{transition:none}}
