/* Shared scene layout and readable paper windows for Collect and Chapter I. */
.world-map-page{--mono:'IBM Plex Mono',monospace;--sans:'DM Sans',system-ui,sans-serif;box-sizing:border-box;height:100dvh;min-height:0;overflow:hidden;display:flex;flex-direction:column;background:#122019}
.world-map-page *{box-sizing:border-box}
.world-map-page .site-header{flex:none;min-height:64px;padding-block:14px}
.world-map-page #main{flex:1;min-height:0;display:flex;flex-direction:column}
.world-map-page .world-carousel{flex:1;min-height:0}
.world-map-page .world-slide{height:100%;min-height:0;width:100%}
.world-map-page .world-controls,.world-map-page .world-topline{display:none}
.world-map-page .world-art{inset:0;width:100%;height:100%;object-fit:cover;object-position:center;opacity:1}
.world-map-page .world-slide:after{background:linear-gradient(90deg,#0a1919b0,transparent 52%),linear-gradient(0deg,#07191470,transparent 30%)}
.world-map-page .map-heading{top:6%;left:4%;max-width:400px}
.world-map-page .map-heading h1{font-size:clamp(38px,4.7vw,68px)}
.world-map-page .world-hotspot{left:var(--map-x);top:var(--map-y);width:max-content;max-width:245px}
.world-map-page .machine-dock{flex:none}
#world-panel{width:min(1200px,94vw);height:85dvh;max-height:calc(100dvh - 30px);max-width:none;padding:0;border:1px solid #b69b77;background:#eee9dc;color:#30291f;box-shadow:0 25px 110px #0009;overflow:hidden}
#world-panel[open]{display:flex;flex-direction:column}#world-panel::backdrop{background:#07120fb8;backdrop-filter:blur(5px)}
#world-panel-content{overflow:auto;overscroll-behavior:contain;flex:1;min-height:0;overflow-x:hidden}
.world-panel-pane[hidden]{display:none!important}
.world-panel-pane>.section,.world-panel-pane>.wrap,.world-panel-pane>.art-section,.world-panel-pane>.twenty-section,.world-panel-pane>.trials-initiation,.world-panel-pane>.mint-section{width:auto;max-width:none;margin:0;padding:28px}
.world-panel-pane .wrap{max-width:none;width:100%}.world-panel-pane > :not(.section) .section{padding:0}
.world-panel-pane h2{font-size:34px;letter-spacing:-.7px}.world-panel-pane h3{font-size:23px}
.world-panel-pane p{font-size:14px;line-height:1.75}.world-panel-pane .section-heading,.world-panel-pane .section-top{gap:20px;margin-bottom:20px}
.world-panel-pane .story{gap:30px}.world-panel-pane .story h2{font-size:38px}.world-panel-pane .signal-shell{max-width:290px;margin:auto}
.world-panel-pane .operator-gallery,.world-panel-pane .specialists{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:18px;overflow:visible}
.world-panel-pane .operator-gallery img,.world-panel-pane .specialists img{height:260px;object-fit:contain;width:100%}
.world-panel-pane .guardian-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.world-panel-pane .guardian-grid img{height:280px;object-fit:contain;width:100%}
.world-panel-pane .guardian{min-width:0}.world-panel-pane .mint-details{padding-top:0}
.world-panel-pane input:not([type=range]):not([type=checkbox]),.world-panel-pane select{min-width:0;max-width:100%;box-sizing:border-box}
.world-panel-pane button{cursor:pointer}.world-panel-pane button:disabled{cursor:not-allowed}
.world-panel-pane .chapter-game .checkout{padding:24px}.world-panel-pane .chapter-game .checkout-intro h1{font-size:34px}.world-panel-pane .chapter-game .checkout-workspace{grid-template-columns:minmax(0,1fr) 285px}
.world-panel-pane .chapter-game .checkout-game iframe{height:650px}.world-panel-pane .chapter-game .mobile-desk-nav{display:none}
.world-panel-pane .chapter-game .checkout-sidebar h2{font-size:25px}
.world-panel-pane .chapter-game .wallet-actions{display:flex;flex-wrap:wrap;gap:8px}
.world-panel-pane #board-lookup input{width:100%}.world-panel-pane #board-lookup button{width:auto;padding:12px}
.ember-profile{display:grid;grid-template-columns:minmax(200px,.8fr) minmax(0,1fr);gap:35px;align-items:center}.ember-profile img{width:100%;max-height:55dvh;object-fit:contain}.ember-profile a,.chapter-access a{color:#924419;text-underline-offset:5px}
.chapter-access .access-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:24px}.chapter-access .access-steps article{padding:18px 0;border-top:2px solid #b65220}
.chapter-map [data-world-open=game].map-hotspot{border:2px solid #b65a26;background:#f5ebd8}.chapter-map [data-world-open=game] strong{font-size:16px}
@media(max-width:900px){.world-panel-pane .chapter-game .checkout-workspace{grid-template-columns:1fr}.world-panel-pane .chapter-game .checkout-sidebar{grid-template-columns:1fr 1fr}.world-panel-pane .guardian-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.world-map-page .site-header{padding:9px 16px;gap:9px;min-height:0}.world-map-page .site-header img{width:112px}.world-map-page .site-header nav{font-size:12px;gap:12px}.world-map-page .site-header .site-buy{font-size:10px;padding:8px 10px}.world-map-page .map-heading{top:4%;max-width:270px}.world-map-page .map-heading h1{font-size:38px}.world-map-page .map-heading .eyebrow{font-size:8px}.world-map-page .map-heading>p:last-child{font-size:12px}.world-map-page .world-art{object-position:62% center}.world-map-page .world-hotspot{left:25%;top:40%;max-width:155px}.world-map-page .world-hotspot:nth-of-type(2){left:75%;top:49%}.world-map-page .world-hotspot:nth-of-type(3){left:25%;top:64%}.world-map-page .world-hotspot:nth-of-type(4){left:75%;top:72%}.world-map-page .world-hotspot:nth-of-type(5){left:25%;top:87%}.world-map-page .world-hotspot:nth-of-type(6){left:75%;top:91%}.chapter-map [data-world-open=game] strong{font-size:11px}#world-panel{width:calc(100vw - 16px);height:91dvh;max-height:calc(100dvh - 16px)}#world-panel .machine-panel-nav{grid-template-columns:repeat(3,minmax(0,1fr))}.world-panel-pane>.section,.world-panel-pane>.wrap,.world-panel-pane>.art-section,.world-panel-pane>.twenty-section,.world-panel-pane>.trials-initiation,.world-panel-pane>.mint-section{padding:20px}.world-panel-pane h2,.world-panel-pane .story h2{font-size:28px}.world-panel-pane .story,.ember-profile,.chapter-access .access-steps{grid-template-columns:1fr}.world-panel-pane .chapter-game .checkout-sidebar{grid-template-columns:1fr}.world-panel-pane .chapter-game .checkout{padding:14px}.world-panel-pane .chapter-game .checkout-intro{display:block}.world-panel-pane .chapter-game .checkout-game iframe{height:760px}.world-panel-pane .guardian-grid,.world-panel-pane .operator-gallery,.world-panel-pane .specialists{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.world-panel-pane .operator-gallery img,.world-panel-pane .specialists img,.world-panel-pane .guardian-grid img{height:210px}.world-panel-pane .chapter-game .wallet-panel{flex-wrap:wrap}.world-panel-pane .section-heading,.world-panel-pane .section-top{display:block}.ember-profile img{max-height:40dvh}}
.world-map-page #main > [hidden]{display:none!important}

/* A single inset keeps content off the dialog edges; card badges follow the actual frame. */
#world-panel .world-panel-pane > .section,#world-panel .world-panel-pane > .wrap{padding:28px}
#world-panel .operator-gallery,#world-panel .guardian-grid.illustrated-guardians{margin:0;padding:0;gap:20px;border:0}
#world-panel .operator-card .art-open{width:min(100%,190px);margin-inline:auto}
#world-panel .guardian-grid .art-open{width:min(100%,205px);margin:0 auto 20px}
#world-panel .operator-card .art-open img,#world-panel .guardian-grid .art-open img{display:block;width:100%;height:auto;max-height:none;aspect-ratio:2/3;object-fit:contain}
#world-panel .guardian-grid .guardian{border:1px solid #b9ae97;border-radius:3px;padding:18px;overflow:visible}
#world-panel .art-open .art-expand{right:6px;bottom:6px;width:26px;height:26px;font-size:17px}
#world-panel .operator-card .card-weight,#world-panel .guardian-grid .card-weight{right:3%;top:1.3%}
#world-panel .operator-card figcaption{margin-top:16px}
#world-panel .story > div{min-width:0}
#world-panel .discovery-flow{flex-wrap:wrap;gap:14px}
@media(max-width:650px){#world-panel .world-panel-pane > .section,#world-panel .world-panel-pane > .wrap{padding:20px}#world-panel .operator-gallery,#world-panel .guardian-grid.illustrated-guardians{gap:12px}#world-panel .guardian-grid .guardian{padding:10px}#world-panel .guardian-grid .guardian h3{font-size:24px}#world-panel .art-open .art-expand{right:4px;bottom:4px;width:22px;height:22px;font-size:14px}}
