.scene-model-stage{width:100%;min-height:300px;aspect-ratio:1}
.scene-model-stage .pet-model-artwork img{width:85%;height:85%;object-fit:contain}
.scene-model-placeholder{padding:2rem;color:var(--muted,#a4a4af);text-align:center}
body.egg-refined #egg-detail-page .egg-detail-art[data-egg-model]{display:block;padding:0;overflow:visible;min-width:0}
.scene-model-variants{display:flex;gap:6px;margin:8px 0}
.scene-model-variants button{font:inherit;font-size:.8rem;min-height:36px;border:1px solid var(--border,#303039);background:var(--surface,#17171d);color:inherit;padding:6px 12px;border-radius:6px}
.scene-model-variants button[aria-pressed="true"]{border-color:var(--accent,#f04462);color:var(--accent,#f04462)}
.scene-model-variants button:focus-visible{outline:2px solid var(--accent,#f04462);outline-offset:3px}
.worlds-body{margin:0;background:#0d0d10;color:#eeeef2;font-family:Lexend,system-ui,sans-serif}
.worlds-wrap{width:min(1440px,100%);margin:0 auto;padding:24px 32px 40px;box-sizing:border-box}
.worlds-nav{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #29292f;padding-bottom:20px}
.worlds-nav a{color:inherit;text-decoration:none;font-size:.9rem}
.worlds-nav .worlds-brand{font-size:1.3rem;font-weight:750;letter-spacing:-.04em}
.worlds-brand span{color:#f04462}
.worlds-heading{margin:30px 0 24px}
.worlds-heading h1{font-size:1.8rem;letter-spacing:-.04em;margin:0 0 8px}
.worlds-heading p{color:#aaaab5;margin:0;font-size:.9rem}
.worlds-layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:28px;align-items:start}
.worlds-library{min-width:0}
.worlds-search{width:100%;box-sizing:border-box;border:1px solid #393941;border-radius:7px;background:#17171c;color:inherit;font:inherit;font-size:16px;min-height:44px;padding:10px 12px;margin-bottom:18px}
.worlds-list{max-height:70vh;overflow-y:auto;scrollbar-width:thin}
.worlds-group{margin-bottom:22px}
.worlds-group h2{font-size:.75rem;color:#a9a9b4;text-transform:uppercase;letter-spacing:.06em;margin:0;padding:0 10px 10px}
.worlds-row{display:block;width:100%;text-align:left;border:0;border-bottom:1px solid #25252d;background:transparent;color:inherit;min-height:48px;padding:11px 10px;font:inherit;font-size:.85rem;cursor:pointer;transition:background .16s ease,color .16s ease}
.worlds-row small{display:block;margin-top:4px;color:#a9a9b4;font-size:.7rem}
.worlds-row:hover,.worlds-row[aria-pressed="true"]{background:#21151c;color:#ff8197}
.worlds-row:focus-visible,.worlds-search:focus-visible,.worlds-nav a:focus-visible{outline:2px solid #f04462;outline-offset:2px}
.worlds-preview{min-width:0;position:sticky;top:20px}
.worlds-preview h2{margin:0 0 8px;font-size:1.2rem}
.worlds-preview p{color:#aaaab5;font-size:.8rem;margin:0 0 18px}
.worlds-preview .scene-model-stage{aspect-ratio:1.25;min-height:340px;max-height:74vh}
.worlds-empty{padding:40px 16px;color:#aaaab5;border:1px dashed #393941;font-size:.9rem;line-height:1.7}
.worlds-list .worlds-empty{padding:20px 12px}
@media(max-width:760px){.worlds-wrap{padding:18px 16px 28px}.worlds-layout{grid-template-columns:1fr;gap:22px}.worlds-list{max-height:230px}.worlds-preview{position:static}.worlds-preview .scene-model-stage{aspect-ratio:1;min-height:280px}.worlds-heading{margin:24px 0 20px}}
@media(prefers-reduced-motion:reduce){.worlds-row{transition:none}}


body.egg-refined #egg-detail-page .egg-detail-art[data-egg-model]:has(.scene-model-stage){height:auto;aspect-ratio:auto;background:transparent;border:0;border-radius:0}
body.egg-refined #egg-detail-page .egg-detail-art[data-egg-model]>div:first-child{width:100%;min-width:0;justify-self:stretch}
body.egg-refined #egg-detail-page .egg-detail-art[data-egg-model] .scene-model-stage:not(.pet-model-editor-stage){box-sizing:border-box;width:100%;height:auto;min-height:0;max-height:none;aspect-ratio:1;border-radius:7px}
body.egg-refined #egg-detail-page .egg-detail-art[data-egg-model] .scene-model-stage:not(.pet-model-editor-stage) .pet-model-artwork{inset:46px 16px 20px}
body.egg-refined #egg-detail-page .egg-detail-art[data-egg-model] .pet-model-artwork img{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;transform:none}
body.egg-refined #egg-detail-page .egg-detail-art[data-egg-model] .scene-model-stage:not(.pet-model-editor-stage) .pet-model-stage-header{inset:10px 10px auto;gap:8px}
body.egg-refined #egg-detail-page .egg-detail-art[data-egg-model] .scene-model-stage:not(.pet-model-editor-stage) .pet-model-footer{left:10px;right:10px;bottom:10px;justify-content:flex-end}
body.egg-refined #egg-detail-page .egg-detail-art[data-egg-model] .scene-model-stage:not(.pet-model-editor-stage) .pet-model-hint{display:none}
body.egg-refined #egg-detail-page .egg-detail-art[data-egg-model] .scene-model-stage:not(.pet-model-editor-stage) .pet-model-download{top:10px;left:10px}
body.egg-refined #egg-detail-page .egg-detail-art[data-egg-model] .scene-model-stage:not(.pet-model-editor-stage) .pet-model-status{visibility:hidden}
body.egg-refined #egg-detail-page .egg-detail-art[data-egg-model] .scene-model-variants{margin:8px 0 0;flex-wrap:wrap}

body.egg-refined #egg-detail-page .egg-detail-art[data-egg-model]:not(:has(.scene-model-stage)){display:grid;aspect-ratio:1;overflow:hidden}

body.egg-refined #egg-detail-page .egg-detail-art[data-egg-model]:has(.scene-model-stage)::after{display:none}

@media(max-width:600px){body.egg-refined #egg-detail-page .egg-detail-summary{grid-template-columns:minmax(0,1fr)}body.egg-refined #egg-detail-page .egg-detail-art[data-egg-model]{width:100%;max-width:none}}
