
.preview-head{padding:52px 0 30px;align-items:center}.preview-head h1{max-width:15ch}.preview-head .lead{max-width:42ch}.launch-3d{margin-top:18px}.viewer-fallback img{object-fit:contain!important;width:100%;height:100%}.viewer-badge{pointer-events:none}.item-card-visual img{object-fit:contain;width:100%;height:100%}.card-cta{display:block;margin-top:18px;font-weight:800;font-size:13px;color:#a44100}.item-card .eyebrow{font-size:10px}.items-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.item-card-visual{height:265px;background:#eef0eb}.side-panel{padding:28px}.stage-count{letter-spacing:.12em}.viewer-tools button{min-width:44px;min-height:44px}.footer a{font-weight:800}.topbar nav a{display:inline!important}.item-page{align-items:start;padding-bottom:48px}.item-copy{padding-top:16px}.viewer-loading{max-width:calc(100% - 24px);white-space:normal}.toy-button{min-height:44px}.viewer{touch-action:none}
@media(max-width:760px){.preview-head{padding-top:30px}.preview-head h1{font-size:42px}.preview-head>.btn{margin:12px 0 18px}.items-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.item-card-visual{height:175px}.side-panel{padding:22px}.topbar nav{gap:12px}.topbar nav a{font-size:11px}.item-copy{padding-top:0}.item-page{padding-bottom:10px}.item-card h3{font-size:19px}}
@media(max-width:370px){.items-grid{grid-template-columns:1fr}.item-card-visual{height:220px}}

.launch-3d[hidden]{display:none!important}
.toy-sound-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:12px 0 0}.toy-sound-toggle{min-height:44px;padding:9px 15px;border:1.5px solid var(--navy);border-radius:99px;background:var(--lime);font:inherit;font-size:12px;font-weight:800;color:var(--navy);cursor:pointer}.toy-sound-toggle[aria-pressed="false"]{background:#fff}.toy-sound-toggle:focus-visible{outline:3px solid var(--orange);outline-offset:3px}.toy-sound-toggle:disabled{cursor:default;opacity:.65}.toy-sound-caption{font-size:11px;color:var(--muted)}
@media(min-width:761px){.stage-layout>div:first-child,.item-page>div:first-child{position:sticky;top:12px;align-self:start}.stage-layout .viewer-shell,.item-page .viewer-shell{min-height:0}.stage-layout .viewer-shell .viewer,.item-page .viewer-shell .viewer{height:min(560px,calc(100vh - 130px));min-height:360px}}

/* Reserve the visible screen for the model, on short laptops as well as phones. */
.topbar{min-height:58px;padding:6px max(16px,calc((100vw - 1320px)/2));border-bottom-width:4px}
.brand img{width:76px;height:42px}
.preview-head{height:112px;padding:14px 0;gap:16px;align-items:center}
.preview-head h1{max-width:none;font-size:clamp(24px,3vw,36px);margin:4px 0}
.preview-head .lead{max-width:none;font-size:14px;margin:4px 0}
.preview-head .eyebrow{font-size:10px}
.preview-head>.btn{font-size:13px;margin:0;flex-shrink:0}
.stage-layout,.item-page{gap:18px}
.stage-layout>*,.item-page>*{min-width:0}
.stage-layout .viewer-shell,.item-page .viewer-shell{min-height:0}
.stage-layout .viewer-shell .viewer{height:calc(100svh - 218px);min-height:160px;max-height:760px}
.stage-layout .side-panel{height:calc(100svh - 218px);min-height:160px;max-height:760px;overflow:auto;padding:18px;gap:12px}
.side-panel h2{font-size:23px}.side-panel p{font-size:13px}
.stage-dot{height:14px;border-block:4px solid white;border-radius:8px}
.viewer-note{margin:7px 0;font-size:11px}
.viewer-loading{left:12px;bottom:10px;font-size:11px;padding:6px 9px;max-width:calc(100% - 24px)}
.viewer-badge{top:12px;left:12px}
.viewer-tools{top:10px;right:10px;gap:5px}
.viewer-tools button{width:38px;height:38px;min-width:38px;min-height:38px}
.toy-shelf{gap:7px}.toy-shelf .toy-button{display:flex;align-items:center;gap:6px;text-decoration:none;border-radius:12px;padding:4px 9px}
.toy-button img{object-fit:contain}
.toy-nav{display:flex;gap:8px;padding:8px 0 4px;overflow-x:auto;max-width:100%;scrollbar-width:thin}
.toy-nav a{display:flex;flex:0 0 64px;flex-direction:column;align-items:center;background:#fff;border:1px solid #d7ddd9;border-radius:10px;font-size:10px;font-weight:800;text-decoration:none;padding:2px}
.toy-nav a:hover{border-color:var(--orange);background:#fff3df}.toy-nav img{object-fit:contain;width:44px;height:42px}
.breadcrumb{padding:7px 0 10px}
.item-page .viewer-shell .viewer{height:calc(100svh - 244px);min-height:180px;max-height:740px}
.item-copy{padding-top:0}.item-copy h1{font-size:clamp(28px,3.2vw,44px);margin:8px 0 12px}
.item-copy .lead{font-size:16px;margin:10px 0}.item-copy h2{font-size:26px}
@media(max-width:760px){
 .topbar nav a{font-size:10px}.topbar nav{gap:9px}.wrap{width:calc(100% - 24px)}
 .preview-head{height:105px;display:block;padding:9px 0}.preview-head h1{font-size:27px}.preview-head .lead{font-size:12px}
 .preview-head>.btn{display:none}
 .stage-layout .viewer-shell .viewer{height:calc(100svh - 218px);min-height:140px;max-height:620px}
 .stage-layout .side-panel{height:auto;max-height:none;min-height:0;padding:15px}
 .stage-layout,.item-page{gap:12px}.stage-controls{display:flex;flex-wrap:wrap;gap:8px}.stage-controls .btn{flex:1;min-width:120px;font-size:12px}
 .stage-controls #next-stage{flex-basis:100%}.side-panel .small{font-size:11px}
 .item-page .viewer-shell .viewer{height:calc(100svh - 252px);min-height:150px;max-height:620px}
 .toy-nav{gap:5px}.toy-nav a{flex-basis:53px;font-size:9px}.toy-nav img{width:40px;height:40px}
 .viewer-note{line-height:1.35}.viewer-badge{font-size:8px;max-width:calc(100% - 148px)}
 .item-page>div:first-child{position:static}
}
@media(max-height:520px) and (min-width:761px){
 .preview-head{height:80px}.preview-head .lead{display:none}
 .stage-layout .viewer-shell .viewer,.stage-layout .side-panel{height:calc(100svh - 178px)}
 .item-page .viewer-shell .viewer{height:calc(100svh - 215px);min-height:130px}
}

.toy-nav{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));max-width:580px;overflow:visible}.toy-nav a{min-width:0}.toy-nav img{max-width:100%}
@media(max-width:430px){.toy-nav{gap:3px}.toy-nav a{font-size:8px}.toy-nav img{height:34px;width:34px}}

#dragon-grab{margin-left:8px;min-height:38px;border:1px solid #b8c6c6;border-radius:8px;background:white;color:var(--navy);padding:5px 9px}

/* Leave room for clicker sound controls and the toy row below the model. */
body[data-item="skull"] .item-page .viewer-shell .viewer,
body[data-item="cauldron"] .item-page .viewer-shell .viewer{height:calc(100svh - 272px)}
.toy-nav a:focus-visible{outline:3px solid var(--orange);outline-offset:2px}
@media(max-width:760px){
 body[data-item="skull"] .item-page .viewer-shell .viewer,
 body[data-item="cauldron"] .item-page .viewer-shell .viewer{height:calc(100svh - 280px)}
}
