/* Approved Studio presentation. Artwork, Canvas and business logic are unchanged. */
html[data-ot-studio-layout]:not([data-ot-music-surface=dedicated]){--studio-bar-height:0px}
html[data-ot-theme=studio]:not([data-ot-music-surface=dedicated]),html[data-ot-theme=studio]:not([data-ot-music-surface=dedicated]) body{
 --ot-ui-surface:#17161e;--ot-ui-inset:#100f17;--ot-ui-ink:#f4f1e6;--ot-ui-muted:#b6b2c4;--ot-ui-line:#494554;--ot-ui-accent:#f3eb36;--ot-ui-danger:#ffadb8;--ot-ui-radius:3px;--ot-ui-shadow:0 16px 50px #0005;
 --site-font-display:'Big Shoulders Display',Impact,sans-serif;--site-font-body:Chivo,Arial,sans-serif;--site-font-ui:Chivo,Arial,sans-serif;--site-font-data:Silkscreen,Consolas,monospace;
 --site-bg:#0c0b12;--site-panel:#17161e;--site-text:#f4f1e6;--site-muted:#b6b2c4;--site-line:#494554;--site-green:#c8f371;
 --bg:#0c0b12;--panel:#17161e;--panel-2:#100f17;--text:#f4f1e6;--muted:#b6b2c4;--line:#494554;--green:#c8f371;--mint:#c8f371;--gold:#f3eb36;--danger:#ffadb8;
 --commission-bg:#0c0b12;--commission-panel:#17161e;--commission-text:#f4f1e6;--commission-muted:#b6b2c4;--commission-line:#494554;--commission-gold:#f3eb36;
 --nav-bg:#0c0b12;--nav-line:#494554;--nav-text:#f4f1e6;--nav-muted:#b6b2c4;--nav-accent:#f3eb36;color-scheme:dark;
}
html[data-ot-theme=studio]:not([data-ot-music-surface=dedicated]) body{background:#0c0b12!important;color:var(--ot-ui-ink)!important;font-family:var(--site-font-body)!important}
html[data-ot-theme=studio]:not([data-ot-music-surface=dedicated]) body :is(h1,h2,h3){color:var(--ot-ui-ink);font-family:var(--site-font-display);letter-spacing:-.025em;overflow-wrap:anywhere;text-shadow:none}
html[data-ot-theme=studio]:not([data-ot-music-surface=dedicated]) body :is(.reveal-head,.commission-hero,.pencil-hero,.upgrade-head,.profile-head,.marketplace-head,.contest-head,.docs-hero,.about-hero){background:transparent!important;border:0;box-shadow:none;padding:24px 0!important;margin:0 0 22px!important}
html[data-ot-theme=studio]:not([data-ot-music-surface=dedicated]) body h1{font-size:clamp(38px,4.6vw,68px)!important;line-height:1.05!important;text-transform:uppercase}
html[data-ot-theme=studio]:not([data-ot-music-surface=dedicated]) body :is(.reveal-head,.commission-hero,.pencil-hero,.upgrade-head,.profile-head,.marketplace-head,.contest-head) p{font:400 14px/1.55 var(--site-font-body)!important;max-width:850px;color:var(--ot-ui-muted)!important}
html[data-ot-theme=studio]:not([data-ot-music-surface=dedicated]) body .eyebrow{font:700 11px/1.5 var(--site-font-data)!important;letter-spacing:.08em;color:#c8f371!important}
html[data-ot-theme=studio]:not([data-ot-music-surface=dedicated]) body :is(.panel,.commission-panel,.commission-notice,.commission-warning,.commission-order,.commission-order-card,.commission-claim-card,.commission-history,.artist-card,.artist-profile,.profile-panel,.profile-setup,.pencil-card,.pencil-panel,.upgrade-card,.upgrade-panel,.marketplace-panel,.contest-panel,.stats-card,.about-card,.docs-card,.trait-rescue-panel,.inventory-modal,.batch-reveal-modal,.nft-detail,.nft-detail-panel,.wallet-safety-panel,.reveal-safety-panel,.site-nav__menu-popover,.site-nav__language-menu,.site-report-panel,.site-dialog,.site-dialog__panel,dialog,.ot-theme-dialog-card,.ot-theme-choice,.mining-panel,.mining-panel-card,.mining-bank-panel,.atelier-panel,.atelier-modal,.bank-panel,.mining-modal,.commission-request-dialog,.commission-delivery-dialog,.commission-artwork-editor-dialog,.commission-progress,.profile-app-dialog-card,.profile-app-device,.token-loading-state,.custom-read-status){background:var(--ot-ui-surface)!important;color:var(--ot-ui-ink)!important;border-color:var(--ot-ui-line)!important;border-radius:var(--ot-ui-radius)!important;box-shadow:none}
html[data-ot-theme=studio]:not([data-ot-music-surface=dedicated]) body :is(.commission-order-header,.commission-order-meta,.commission-order-summary,.commission-info-card,.commission-publication-status,.commission-reference-upload,.commission-claim-meta,.commission-delivery-card,.commission-claim-section,.commission-summary,.build-item,.build-summary,.artist-stats span,.artist-work,.inventory-card,.nft-card,.marketplace-card,.custom-trait-card,.trait-rescue-ticket,.trait-rescue-toggle,.site-nav__menu-item,.site-dialog__body,.ot-theme-dialog-heading,.mining-bank-history-row,.mining-panel-section,.mining-inventory-item,.atelier-catalog-card){background:var(--ot-ui-inset)!important;color:var(--ot-ui-ink)!important;border-color:var(--ot-ui-line)!important}
html[data-ot-theme=studio]:not([data-ot-music-surface=dedicated]) body :is(.commission-panel,.commission-order,.commission-claim-card,.commission-notice,.commission-warning,.artist-card,.artist-profile,.profile-panel,.pencil-card,.upgrade-panel,.marketplace-panel,.contest-panel,.inventory-modal,.mining-panel,.atelier-panel,.profile-app-dialog-card,dialog) :is(p,label,li,strong,b,summary){color:var(--ot-ui-ink)}
html[data-ot-theme=studio]:not([data-ot-music-surface=dedicated]) body :is(.commission-panel,.commission-order,.commission-claim-card,.artist-card,.artist-profile,.profile-panel,.pencil-card,.upgrade-panel,.marketplace-panel,.contest-panel,.inventory-modal,.mining-panel,.atelier-panel,dialog) :is(small,.muted){color:var(--ot-ui-muted)!important}
html[data-ot-theme=studio]:not([data-ot-music-surface=dedicated]) body :is(button,input,select,textarea,.button,.commission-button,.site-nav__button,.site-nav__link,.site-nav__menu-item){font-family:var(--site-font-ui)!important;font-size:13px;border-radius:var(--ot-ui-radius)!important;box-shadow:none}
html[data-ot-theme=studio]:not([data-ot-music-surface=dedicated]) body :is(button,.button,.commission-button,.site-nav__button){background:var(--ot-ui-surface);color:var(--ot-ui-ink);border:1px solid var(--ot-ui-line);min-height:38px}
html[data-ot-theme=studio]:not([data-ot-music-surface=dedicated]) body :is(input:not([type=checkbox]):not([type=radio]):not([type=color]):not([type=range]),select,textarea){background:var(--ot-ui-inset)!important;color:var(--ot-ui-ink)!important;border:1px solid var(--ot-ui-line)!important;min-height:42px}
html[data-ot-theme=studio]:not([data-ot-music-surface=dedicated]) body :is(button.primary,.button.primary,.commission-button.primary,.ot-theme-choice-action,.reveal-save-button){background:#f3eb36!important;color:#12110b!important;border-color:#f3eb36!important;font-weight:800}
html[data-ot-theme=studio]:not([data-ot-music-surface=dedicated]) body :is(button,.button,.commission-button):disabled{opacity:.55;cursor:not-allowed}
html[data-ot-theme=studio]:not([data-ot-music-surface=dedicated]) body :is(button,a,input,select,textarea,summary):focus-visible{outline:3px solid #f3eb36!important;outline-offset:3px}
html[data-ot-theme=studio]:not([data-ot-music-surface=dedicated]) body :is(.error,.is-error,[role=alert],.commission-error,.custom-read-status.is-error){color:#ffadb8!important;border-color:#c57786!important;background:#29151e!important}
html[data-ot-theme=studio]:not([data-ot-music-surface=dedicated]) body :is(.success,.is-success,.artist-verified,.is-pencil-holder .artist-pencil-badge){color:#c8f371!important;background:#19221b!important;border-color:#60834c!important}
html[data-ot-theme=studio]:not([data-ot-music-surface=dedicated]) .ot-theme-preview--studio{display:flex;flex-direction:column;justify-content:center;gap:18px;background:#0c0b12;color:#f3eb36;padding:22px;font:900 50px/.85 'Big Shoulders Display',Impact,sans-serif}
html .ot-theme-preview--studio{background:#0c0b12!important;color:#f3eb36!important;font-family:'Big Shoulders Display',Impact,sans-serif!important;padding:22px;display:flex;flex-direction:column;justify-content:center;gap:18px}
html .ot-theme-preview--studio strong{font:900 50px/.85 'Big Shoulders Display',Impact,sans-serif!important;color:#f3eb36!important}
html .ot-theme-preview--studio span{font:11px/1.5 Silkscreen,monospace!important;color:#f4f1e6!important}
html[data-ot-studio-layout]:not([data-ot-music-surface=dedicated]) .ot-theme-choices{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}
html[data-ot-theme=studio]:not([data-ot-music-surface=dedicated]) body :is(.site-nav,.organization-proof,.site-footer){background:var(--site-bg)!important;color:var(--ot-ui-ink)!important;border-color:var(--ot-ui-line)!important;border-radius:0!important;box-shadow:none!important}
html[data-ot-theme=studio]:not([data-ot-music-surface=dedicated]) .site-nav__brand{font:700 12px/1.5 Silkscreen,monospace!important;letter-spacing:.06em}
html[data-ot-theme=studio]:not([data-ot-music-surface=dedicated]) .site-nav__link.is-active{background:var(--ot-ui-surface)!important;border-bottom:2px solid #f3eb36!important;color:#f3eb36!important}
html[data-ot-theme=studio]:not([data-ot-music-surface=dedicated]) .site-community-switcher{margin:20px 0 0;border-bottom:1px solid var(--ot-ui-line);padding-bottom:10px}
html[data-ot-theme=studio]:not([data-ot-music-surface=dedicated]) .site-community-switcher a{font:600 14px var(--site-font-ui);padding:12px 20px}
html[data-ot-theme=studio]:not([data-ot-music-surface=dedicated]) .site-community-switcher a.is-active{background:#f3eb36;color:#12110b;border-color:#f3eb36}
html[data-ot-studio-layout]:not([data-ot-music-surface=dedicated]):not([data-ot-music-surface=dedicated]) body:not(.reveal-page)>main{max-width:1520px;margin-inline:auto;padding-inline:28px;box-sizing:border-box}
html[data-ot-studio-layout]:not([data-ot-music-surface=dedicated]) body.has-community-footer:not(.reveal-page)>.organization-proof{position:static!important;transform:none!important;width:calc(100% - 56px);max-width:1464px;box-sizing:border-box;margin:28px auto 14px!important}
html[data-ot-studio-layout]:not([data-ot-music-surface=dedicated]) .artists-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:start}
html[data-ot-studio-layout]:not([data-ot-music-surface=dedicated]) .artist-card{min-width:0;padding:22px}
html[data-ot-studio-layout]:not([data-ot-music-surface=dedicated]) .artist-identity{min-width:0}
html[data-ot-studio-layout]:not([data-ot-music-surface=dedicated]) .artist-identity-copy{min-width:0;overflow-wrap:anywhere}
html[data-ot-theme=studio]:not([data-ot-music-surface=dedicated]) .artist-card h2{font-size:32px}
html[data-ot-studio-layout]:not([data-ot-music-surface=dedicated]) .artist-work img{object-fit:contain;height:auto;aspect-ratio:1}
html[data-ot-studio-layout]:not([data-ot-music-surface=dedicated]) .artist-work-meta :is(strong,small){white-space:normal;text-overflow:clip;font-size:12px!important;line-height:1.5}
html[data-ot-theme=studio]:not([data-ot-music-surface=dedicated]) .artist-work-market.is-unavailable{color:#b6b2c4!important}
html[data-ot-theme=studio]:not([data-ot-music-surface=dedicated]) .artist-stats span{font:11px var(--site-font-data);padding:7px 9px}
/* Organization is shared across styles; artwork and existing event-bound nodes remain untouched. */
html[data-ot-studio-layout]:not([data-ot-music-surface=dedicated])[data-ot-theme][data-ot-theme] body.reveal-page>main{max-width:1580px;width:100%;height:calc(100% - var(--studio-bar-height));margin:var(--studio-bar-height) auto 0!important;gap:14px;padding:12px 28px!important;box-sizing:border-box}
html[data-ot-studio-layout]:not([data-ot-music-surface=dedicated])[data-ot-theme][data-ot-theme] body.reveal-page .reveal-head{padding:10px 0!important;margin:0!important}
html[data-ot-studio-layout]:not([data-ot-music-surface=dedicated])[data-ot-theme][data-ot-theme] body.reveal-page .reveal-head h1{font-size:clamp(30px,3.7vw,54px)!important}
html[data-ot-studio-layout]:not([data-ot-music-surface=dedicated])[data-ot-theme][data-ot-theme] body.reveal-page .reveal-head p{font-size:13px!important;line-height:1.45;max-width:850px}
html[data-ot-studio-layout]:not([data-ot-music-surface=dedicated])[data-ot-theme][data-ot-theme] body.reveal-page .reveal-layout{grid-template-columns:minmax(260px,45%) minmax(0,1fr);gap:24px}
html[data-ot-studio-layout]:not([data-ot-music-surface=dedicated])[data-ot-theme][data-ot-theme] body.reveal-page .preview-column{overflow:auto;gap:12px;scrollbar-width:thin;align-self:start}
html[data-ot-studio-layout]:not([data-ot-music-surface=dedicated])[data-ot-theme][data-ot-theme] body.reveal-page .preview-shell{flex:none;border:1px solid var(--ot-ui-line);border-radius:3px}
html[data-ot-studio-layout]:not([data-ot-music-surface=dedicated])[data-ot-theme][data-ot-theme] body.reveal-page :is(.preview-shell svg,.preview-animation-image){max-height:calc(100dvh - 350px);width:100%;object-fit:contain}
html[data-ot-studio-layout]:not([data-ot-music-surface=dedicated])[data-ot-theme][data-ot-theme] body.reveal-page .preview-actions{gap:8px}
html[data-ot-studio-layout]:not([data-ot-music-surface=dedicated])[data-ot-theme][data-ot-theme] body.reveal-page .preview-actions button{min-height:42px;font-size:12px;padding:8px}
html[data-ot-studio-layout]:not([data-ot-music-surface=dedicated])[data-ot-theme][data-ot-theme] body.reveal-page .reveal-workspace{gap:16px;padding-right:10px;scroll-padding-top:12px}
html[data-ot-studio-layout]:not([data-ot-music-surface=dedicated])[data-ot-theme][data-ot-theme] body.reveal-page .reveal-workspace .panel{padding:18px!important}
html[data-ot-studio-layout]:not([data-ot-music-surface=dedicated])[data-ot-theme][data-ot-theme] body.reveal-page :is(.token-panel h2,.section-head h2){font:700 16px/1.3 var(--site-font-ui)!important}
html[data-ot-studio-layout]:not([data-ot-music-surface=dedicated])[data-ot-theme][data-ot-theme] body.reveal-page .token-panel{display:block}
html[data-ot-studio-layout]:not([data-ot-music-surface=dedicated])[data-ot-theme][data-ot-theme] body.reveal-page .token-connect-controls{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
html[data-ot-studio-layout]:not([data-ot-music-surface=dedicated])[data-ot-theme][data-ot-theme] body.reveal-page .token-connect-controls :is(button,select){font-size:12px;min-height:38px}
html[data-ot-studio-layout]:not([data-ot-music-surface=dedicated])[data-ot-theme][data-ot-theme] body.reveal-page .token-connect-controls select{width:100%;flex-basis:100%}
html[data-ot-studio-layout]:not([data-ot-music-surface=dedicated])[data-ot-theme][data-ot-theme] body.reveal-page .trait-pool{--trait-card-size:clamp(100px,12vw,148px)}
html[data-ot-studio-layout]:not([data-ot-music-surface=dedicated])[data-ot-theme][data-ot-theme] body.reveal-page .slot-tab{font-size:12px;padding:12px 8px}
html[data-ot-studio-layout]:not([data-ot-music-surface=dedicated])[data-ot-theme][data-ot-theme] body.reveal-page .organization-proof{font-size:11px}
/* World UI only: preserve scene pixels, palettes, challenge colors and gameplay. */
html[data-ot-theme=studio]:not([data-ot-music-surface=dedicated]) body :is(.mining-access-panel,.mining-console-panel,.mining-guide-panel,.mining-rental-owner-panel,.atelier-editor-panel,.atelier-talk-dialog,.atelier-artist-effects-dialog,.atelier-machine-panel,.atelier-return-dialog,.atelier-update-dialog,.atelier-climate-dialog,.atelier-pvp-window){background:var(--ot-ui-surface)!important;color:var(--ot-ui-ink)!important;border-color:var(--ot-ui-line)!important;border-radius:var(--ot-ui-radius)!important;box-shadow:var(--ot-ui-shadow)}
html[data-ot-theme=studio]:not([data-ot-music-surface=dedicated]) body :is(.mining-access-copy,.mining-access-details>div,.mining-access-details>span,.mining-bank-confirm-summary,.mining-catalog-summary,.mining-claim-history-summary,.mining-reward-locked-summary,.mining-rental-card,.mining-verification-card,.mining-worker-remove-card,.atelier-return-grid section){background:var(--ot-ui-inset)!important;color:var(--ot-ui-ink)!important;border-color:var(--ot-ui-line)!important}
html[data-ot-theme=studio]:not([data-ot-music-surface=dedicated]) body :is(.mining-access-panel,.mining-console-panel,.mining-guide-panel,.mining-rental-owner-panel,.atelier-editor-panel,.atelier-talk-dialog,.atelier-artist-effects-dialog,.atelier-machine-panel,.atelier-return-dialog,.atelier-update-dialog) :is(p,label,strong,small){color:var(--ot-ui-ink)}
html[data-ot-theme=studio]:not([data-ot-music-surface=dedicated]) body :is(.mining-primary,.mining-access-panel .mining-primary){background:#f3eb36!important;color:#12110b!important;border-color:#f3eb36!important}
html[data-ot-theme=studio]:not([data-ot-music-surface=dedicated]) body :is(.mining-panel,.mining-panel-backdrop,.atelier-shell,.mining-app,.hud,.game-hud){--panel-bg:#17161e;--panel-border:#494554;--text-primary:#f4f1e6;--text-secondary:#b6b2c4;font-family:var(--site-font-body)}
html[data-ot-theme=studio]:not([data-ot-music-surface=dedicated]) body :is(.mining-panel-header,.mining-panel-footer,.mining-tabs,.mining-tab,.mining-stat,.mining-bank-summary,.mining-bank-history,.mining-food-panel,.atelier-catalog,.atelier-catalog-header){background:var(--ot-ui-surface);color:var(--ot-ui-ink);border-color:var(--ot-ui-line)}
@media(max-width:1100px){html[data-ot-studio-layout]:not([data-ot-music-surface=dedicated]) .artists-grid{grid-template-columns:repeat(2,minmax(0,1fr))}html[data-ot-studio-layout]:not([data-ot-music-surface=dedicated])[data-ot-theme][data-ot-theme] body.reveal-page .reveal-layout{grid-template-columns:minmax(220px,38%) minmax(0,1fr);gap:16px}}
@media(min-width:721px){
 html[data-ot-studio-layout]:not([data-ot-music-surface=dedicated])[data-ot-theme][data-ot-theme] body.reveal-page .preview-column{display:flex;flex-direction:column;overflow:hidden;height:100%;min-height:0}
 html[data-ot-studio-layout]:not([data-ot-music-surface=dedicated])[data-ot-theme][data-ot-theme] body.reveal-page .preview-shell{flex:1 1 0;min-height:0;aspect-ratio:auto;display:grid;place-items:center}
 html[data-ot-studio-layout]:not([data-ot-music-surface=dedicated])[data-ot-theme][data-ot-theme] body.reveal-page :is(.preview-shell svg,.preview-animation-image){height:100%;max-height:100%;width:100%;min-height:0;object-fit:contain}
 html[data-ot-studio-layout]:not([data-ot-music-surface=dedicated])[data-ot-theme][data-ot-theme] body.reveal-page .preview-actions{flex:0 0 auto}
}
@media(max-width:720px){
 html[data-ot-studio-layout]:not([data-ot-music-surface=dedicated]){--studio-bar-height:0px;overflow:auto!important;height:auto!important}
 html[data-ot-studio-layout]:not([data-ot-music-surface=dedicated])[data-ot-theme][data-ot-theme] body.reveal-page{height:auto!important;min-height:100dvh;overflow:auto!important}

 html[data-ot-studio-layout]:not([data-ot-music-surface=dedicated]):not([data-ot-music-surface=dedicated]) body:not(.reveal-page)>main{padding-inline:16px}
 html[data-ot-studio-layout]:not([data-ot-music-surface=dedicated]) body.has-community-footer:not(.reveal-page)>.organization-proof{width:calc(100% - 32px);margin-bottom:80px!important}
 html[data-ot-studio-layout]:not([data-ot-music-surface=dedicated])[data-ot-theme][data-ot-theme] body.reveal-page>main{height:auto!important;min-height:calc(100dvh - var(--studio-bar-height));overflow:visible!important;padding:6px 10px calc(72px + env(safe-area-inset-bottom,0px))!important;gap:8px}
 html[data-ot-studio-layout]:not([data-ot-music-surface=dedicated])[data-ot-theme][data-ot-theme] body.reveal-page .reveal-head{max-height:24dvh;overflow:auto;padding:6px 0!important}
 html[data-ot-studio-layout]:not([data-ot-music-surface=dedicated])[data-ot-theme][data-ot-theme] body.reveal-page .reveal-head h1{font-size:30px!important}
 html[data-ot-studio-layout]:not([data-ot-music-surface=dedicated])[data-ot-theme][data-ot-theme] body.reveal-page .reveal-head p{font-size:12px!important}
 html[data-ot-studio-layout]:not([data-ot-music-surface=dedicated])[data-ot-theme][data-ot-theme] body.reveal-page .reveal-layout{display:block;overflow:visible;flex:0 0 auto;height:auto;max-height:none}
 html[data-ot-studio-layout]:not([data-ot-music-surface=dedicated])[data-ot-theme][data-ot-theme] body.reveal-page .preview-column{display:grid;grid-template-columns:1fr 1fr;max-height:none;overflow:visible;gap:12px;margin-bottom:16px}
 html[data-ot-studio-layout]:not([data-ot-music-surface=dedicated])[data-ot-theme][data-ot-theme] body.reveal-page :is(.preview-shell svg,.preview-animation-image){max-height:24dvh}
 html[data-ot-studio-layout]:not([data-ot-music-surface=dedicated])[data-ot-theme][data-ot-theme] body.reveal-page .preview-actions{grid-template-columns:1fr;gap:5px}
 html[data-ot-studio-layout]:not([data-ot-music-surface=dedicated])[data-ot-theme][data-ot-theme] body.reveal-page .preview-actions button{padding:5px;min-height:36px}
 html[data-ot-studio-layout]:not([data-ot-music-surface=dedicated])[data-ot-theme][data-ot-theme] body.reveal-page .reveal-workspace{overflow:visible;padding:0}
 html[data-ot-studio-layout]:not([data-ot-music-surface=dedicated])[data-ot-theme][data-ot-theme] body.reveal-page .organization-proof{max-height:none;height:auto;overflow:visible;margin-top:16px}
 html[data-ot-studio-layout]:not([data-ot-music-surface=dedicated])[data-ot-theme][data-ot-theme] body.reveal-page .reveal-workspace .panel{padding:14px!important}
 html[data-ot-studio-layout]:not([data-ot-music-surface=dedicated]) .artists-grid{grid-template-columns:minmax(0,1fr)}html[data-ot-studio-layout]:not([data-ot-music-surface=dedicated]) .artist-card{padding:18px}
 html[data-ot-studio-layout]:not([data-ot-music-surface=dedicated]) .ot-theme-choices{grid-template-columns:minmax(0,1fr)}

}
@media(prefers-reduced-motion:reduce){.ot-theme-preview--studio{animation:none!important}}
