@font-face{font-family:Outfit;src:url('vendor/Outfit-400.ttf')}@font-face{font-family:Outfit;src:url('vendor/Outfit-600.ttf');font-weight:600}@font-face{font-family:'Fusion SC';src:url('vendor/FusionPixel12-zhHans.woff2')}
:root{--ink:#18191b;--paper:#faf9f3;--yellow:#ffe36e;--blue:#c8e4f2;--pink:#f0ccd9;--line:2px solid var(--ink);--shadow:5px 5px 0 var(--ink)}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;background:var(--paper);color:var(--ink);font-family:Outfit,'PingFang SC','Microsoft YaHei',sans-serif;font-size:16px;line-height:1.5}button,input,select{font:inherit;color:inherit}a{color:inherit;text-decoration:none}button,a,input,select{touch-action:manipulation}button,a{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.4}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #3164d5;outline-offset:4px}button,input,select{border-radius:0}svg{display:block;width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;flex-shrink:0}h1,h2,h3,p{margin:0}h1,h2,h3,strong,b{font-weight:600}h1{font-size:clamp(44px,6.2vw,88px);line-height:.98;letter-spacing:-.055em}h2{font-size:clamp(30px,3.6vw,46px);line-height:1.1;letter-spacing:-.04em}h3{font-size:24px;line-height:1.2;letter-spacing:-.025em}.wrap{width:min(1320px,calc(100% - 96px));margin-inline:auto}.skip{position:absolute;top:-80px;left:20px;background:var(--yellow);padding:12px;z-index:9}.skip:focus{top:8px}.topbar{border-bottom:var(--line);background:var(--paper)}.header-inner{min-height:88px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;align-items:center;gap:12px;font-size:27px;font-weight:600;letter-spacing:-1px}.brand-mark{width:38px;height:38px;background:var(--yellow);border:var(--line);display:grid;place-items:center;box-shadow:3px 3px 0 var(--ink)}.brand-mark svg{width:25px;height:25px}.brand-mark img{display:block;width:28px;height:28px}.site-links{display:flex;gap:30px;font-weight:600}.site-links a{min-height:44px;display:flex;align-items:center}.site-links a:hover{text-decoration:underline;text-underline-offset:6px}.languages{display:flex;border:var(--line)}.languages button{min-width:48px;min-height:42px;border:0;background:transparent;padding:6px 10px}.languages button+button{border-left:var(--line)}.languages button[aria-pressed=true]{background:var(--ink);color:white}.eyebrow{font-size:13px;font-weight:600;letter-spacing:.01em;text-transform:none;display:flex;align-items:center;gap:10px}.eyebrow:before{content:'';width:9px;height:9px;background:var(--ink)}.hero{display:grid;grid-template-columns:1.05fr 1fr;gap:55px;padding-block:64px 60px;align-items:center}.hero-copy h1{margin:24px 0}.hero-copy h1 .highlight{background:var(--yellow);box-shadow:8px 0 var(--yellow),-2px 0 var(--yellow);box-decoration-break:clone;-webkit-box-decoration-break:clone}.hero-copy>p{max-width:430px;font-size:19px;line-height:1.6;margin:24px 0 28px}.actions{display:flex;gap:16px;align-items:center;flex-wrap:wrap}.btn{min-height:48px;padding:10px 20px;border:var(--line);display:inline-flex;align-items:center;justify-content:center;gap:14px;background:white;font-weight:600;box-shadow:3px 3px 0 var(--ink);transition:transform .15s,box-shadow .15s}.btn:hover{transform:translate(2px,2px);box-shadow:1px 1px 0 var(--ink)}.btn.primary{background:var(--yellow)}.btn.flat{box-shadow:none}.link-line{min-height:44px;display:inline-flex;align-items:center;gap:8px;text-decoration:underline;text-underline-offset:4px;font-weight:600}.hero-figure{border:var(--line);box-shadow:var(--shadow);background:var(--blue);position:relative;min-width:0}.figure-bar{display:flex;justify-content:space-between;gap:12px;padding:11px 18px;border-bottom:var(--line);background:var(--paper);font-size:13px;font-weight:600}.hero-figure canvas{display:block;width:100%;height:355px;touch-action:none}.figure-bottom{border-top:var(--line);background:var(--yellow);padding:13px 18px;display:flex;justify-content:space-between;align-items:center;font-size:18px;font-weight:600}.figure-bottom:hover{text-decoration:underline}.hero-footnote{font-size:13px;line-height:1.4;padding:8px 18px;background:var(--paper);border-top:var(--line)}.facts-strip{border-top:var(--line);border-bottom:var(--line);background:var(--yellow)}.facts-inner{display:flex;align-items:center;justify-content:space-between;padding-block:15px;font-weight:600;font-size:14px;gap:12px;flex-wrap:wrap}.facts-inner span{display:flex;align-items:center;gap:10px}.facts-inner svg{width:19px;height:19px}.browse{padding-block:66px 48px;scroll-margin-top:0}.section-top{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:30px}.section-top p{max-width:355px;color:#4a4d52;font-size:16px}.search-row{display:flex;gap:16px;margin-bottom:20px}.search{position:relative;flex:1}.search svg{position:absolute;top:15px;left:16px;pointer-events:none}.search input{width:100%;min-height:54px;background:white;border:var(--line);padding:12px 46px}.search label,.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.search-row select{min-height:54px;max-width:220px;background:white;border:var(--line);padding:10px 38px 10px 14px}.filters{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:23px}.filter{background:transparent;border:var(--line);padding:8px 15px;min-height:44px;font-weight:600}.filter[aria-pressed=true]{background:var(--ink);color:white;box-shadow:3px 3px 0 #b4b3ad}.filter:hover:not([aria-pressed=true]){background:var(--yellow)}.result-heading{display:flex;justify-content:space-between;align-items:center;margin:26px 0 18px;gap:20px}.result-heading h3{font-size:22px}.small{font-size:13px;color:#4a4d52}.card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}.build-card{background:white;border:var(--line);box-shadow:4px 4px 0 var(--ink);min-width:0;display:flex;flex-direction:column;transition:transform .18s,box-shadow .18s}.build-card:hover{transform:translateY(-3px);box-shadow:5px 7px 0 var(--ink)}.card-visual{display:block;position:relative;border-bottom:var(--line);overflow:hidden;background:#e8eef1}.card-visual img{display:block;width:100%;height:auto;aspect-ratio:800/560;object-fit:contain}.card-tag{position:absolute;left:13px;top:13px;padding:3px 10px;background:var(--yellow);border:var(--line);font-size:13px;font-weight:600}.card-visual .card-arrow{position:absolute;right:13px;bottom:13px;width:40px;height:40px;display:grid;place-items:center;background:white;border:var(--line)}.card-body{padding:20px;display:flex;flex-direction:column;flex:1}.card-category{font-size:13px;text-transform:none;letter-spacing:0;margin-bottom:6px;color:#53565c;font-weight:600}.card-body h3{font-size:25px;margin-bottom:12px}.card-body>p{color:#53565c;line-height:1.5;font-size:15px;min-height:46px}.card-meta{display:flex;justify-content:space-between;gap:10px;border-top:1px solid #d3d4d1;padding-top:14px;margin-top:18px;font-size:13px;font-weight:600}.external-section{padding-block:45px 16px}.source-grid{display:grid;grid-template-columns:1fr 1fr;border-top:var(--line);border-left:var(--line);background:white}.source-row{display:grid;grid-template-columns:74px 1fr 30px;gap:18px;align-items:center;padding:22px;border-right:var(--line);border-bottom:var(--line);min-width:0}.source-row:hover{background:#f3f2e9}.source-code{width:74px;height:74px;display:grid;place-items:center;background:var(--blue);border:var(--line);font-size:23px;letter-spacing:-1px;font-weight:600}.source-row.yellow .source-code{background:var(--yellow)}.source-row.pink .source-code{background:var(--pink)}.source-row h3{font-size:21px;margin-bottom:5px}.source-row p{font-size:13px;color:#53565c}.source-row .source-type{font-size:13px;font-weight:600;margin-top:5px;color:var(--ink)}.empty{padding:40px;border:var(--line);background:white}.how{margin-block:55px 70px;display:grid;grid-template-columns:.8fr 1.8fr;border:var(--line);box-shadow:var(--shadow)}.how-intro{background:var(--yellow);padding:32px;border-right:var(--line)}.how-intro h2{font-size:36px}.how-steps{display:grid;grid-template-columns:repeat(3,1fr);background:white}.how-step{padding:30px 24px}.how-step+.how-step{border-left:1px solid #d3d4d1}.step-number{display:block;font-size:32px;margin-bottom:25px;font-weight:600}.how-step h3{font-size:20px;margin-bottom:12px}.how-step p{font-size:14px;color:#53565c}.footer{border-top:var(--line);padding-block:28px;font-size:13px}.footer-inner{display:flex;gap:30px;justify-content:space-between;align-items:center}.footer strong{font-size:20px}.footer p{max-width:500px;color:#53565c}.crumb{display:flex;gap:10px;font-size:13px;margin:30px 0 25px;flex-wrap:wrap}.crumb a{text-decoration:underline;text-underline-offset:3px}.build-heading{display:flex;justify-content:space-between;gap:28px;align-items:end;margin-bottom:28px}.build-heading h1{font-size:clamp(38px,4.5vw,64px);margin:13px 0}.build-heading p{max-width:720px;color:#53565c;font-size:17px}.badge{display:inline-flex;gap:8px;padding:4px 11px;border:var(--line);background:var(--yellow);font-size:13px;font-weight:600}.build-author{white-space:nowrap;font-size:13px;line-height:1.8;text-align:right}.build-author b{display:block}.workspace{border:var(--line);box-shadow:var(--shadow);background:white;margin-bottom:45px}.workspace-tabs{display:flex;border-bottom:var(--line);background:var(--yellow)}.workspace-tabs button{flex:1;min-height:56px;border:0;border-right:var(--line);background:transparent;font-weight:600;display:flex;justify-content:center;align-items:center;gap:10px}.workspace-tabs button:last-child{border-right:0}.workspace-tabs button[aria-selected=true]{background:var(--ink);color:white}.workspace-body{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(310px,1fr);min-height:540px}.scene-area{position:relative;display:flex;flex-direction:column;min-width:0;background:var(--blue)}.scene-area>canvas,.scene-area>.viewer-surface{width:100%;height:470px;flex:1;display:block;min-height:0;touch-action:none}.scene-top{display:flex;justify-content:space-between;align-items:center;padding:12px 15px;gap:12px;border-bottom:1px solid #879da8;font-size:13px;font-weight:600;min-height:54px}.scene-controls{display:flex;gap:7px;flex-wrap:wrap}.icon-btn{border:1.5px solid var(--ink);background:var(--paper);min-height:44px;min-width:40px;padding:5px 12px;font-size:13px;font-weight:600}.scene-bottom{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:12px 15px;border-top:var(--line);font-size:13px;background:var(--paper)}.tool-panel{border-left:var(--line);padding:26px;min-width:0;max-height:600px;overflow-y:auto}.tool-panel h2{font-size:27px;margin-bottom:16px}.tool-panel h3{font-size:19px;margin-block:16px 10px}.tool-panel p{font-size:14px;color:#53565c;line-height:1.65}.spec-list{margin:25px 0;display:grid;grid-template-columns:1fr 1fr;gap:22px}.spec-list dt{font-size:13px;color:#53565c}.spec-list dd{margin:3px 0 0;font-size:27px;font-weight:600;line-height:1.1}.selected-block{border-top:1px solid #cbcdd0;margin-top:24px;padding-top:16px;overflow-wrap:anywhere}.selected-block code{font-size:13px;display:block}.layer-navigation{display:flex;justify-content:space-between;gap:14px;align-items:center;margin-block:16px}.layer-navigation button{width:44px;height:44px;border:var(--line);background:var(--paper)}.layer-navigation output{font-size:22px;font-weight:600}.layer-range{width:100%;height:32px;accent-color:var(--ink)}.segmented{display:flex;margin:14px 0;gap:8px}.segmented button{padding:8px;min-height:44px;flex:1;border:var(--line);font-size:13px;background:white}.segmented button[aria-pressed=true]{background:var(--yellow)}#plan{width:100%;height:auto;display:block;margin:10px 0;background:#faf9f3;border:1px solid #afb5bc;touch-action:manipulation}.material-tools{display:flex;gap:8px}.material-tools input{width:100%;min-width:0;border:var(--line);padding:8px 12px;min-height:44px}.material-row{display:grid;grid-template-columns:24px 16px 1fr auto;gap:9px;align-items:center;padding:12px 0;border-bottom:1px solid #d5d5d0;font-size:14px}.material-row input{width:20px;height:20px;accent-color:var(--ink)}.material-row i{width:14px;height:14px;border:1px solid #666}.material-row input:checked~span{text-decoration:line-through;color:#777}.material-row b{text-align:right;white-space:nowrap}.material-row small{display:block;font-size:13px;font-weight:400;color:#53565c}.material-summary{margin:14px 0}.coordinates{display:grid;grid-template-columns:25px 1fr 1fr 1fr;gap:8px;margin-top:14px;align-items:center}.coordinates input{width:100%;min-width:0;min-height:44px;border:var(--line);padding:5px 7px}.coordinates label{font-size:13px}.coordinates label input{display:block}.measure-result{padding:16px;background:var(--yellow);border:var(--line);margin:16px 0}.measure-result strong{display:block;font-size:22px}.error{color:#a32821!important;font-weight:600}.error:empty{display:none}.downloads{padding-block:15px 30px;scroll-margin-top:20px}.downloads .section-top{align-items:start}.download-grid{display:grid;grid-template-columns:repeat(3,1fr);border:var(--line);background:white;margin:25px 0}.download-card{padding:28px;min-width:0}.download-card+.download-card{border-left:var(--line)}.download-card .step-number{margin-bottom:20px;font-size:27px}.download-card h3{font-size:23px;margin-bottom:14px}.download-card p{font-size:14px;color:#53565c;min-height:88px}.download-card .btn{margin-top:20px;gap:9px;padding-inline:12px;font-size:14px}.download-card .link-line{font-size:13px;margin-top:15px}.build-notes{display:grid;grid-template-columns:1.1fr 1fr;gap:50px;padding-block:35px 70px}.build-notes h2{font-size:27px;margin-bottom:16px}.build-notes p{font-size:15px;line-height:1.75;color:#53565c}.build-notes ul{padding-left:20px}.build-notes a{text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}.external-hero{display:grid;grid-template-columns:1.25fr 1fr;gap:60px;padding-block:30px 50px;align-items:center}.external-hero h1{font-size:clamp(42px,5vw,72px);margin:22px 0}.external-hero p{max-width:560px;font-size:19px;line-height:1.6;color:#53565c}.external-art{border:var(--line);box-shadow:var(--shadow);background:var(--blue);min-height:320px;display:flex;flex-direction:column;justify-content:space-between;padding:26px}.external-art.yellow{background:var(--yellow)}.external-art.pink{background:var(--pink)}.external-art b{font-size:105px;letter-spacing:-.06em;line-height:1}.external-art p{font-size:14px;color:var(--ink)}.external-details{display:grid;grid-template-columns:1.3fr 1fr;gap:45px;margin:20px 0 70px}.external-details h2{font-size:30px;margin-bottom:20px}.external-details p{line-height:1.8;color:#53565c;margin-bottom:20px}.source-box{border:var(--line);padding:28px;background:white}.source-box dl{margin:0}.source-box dt{font-size:13px;color:#53565c;margin-top:16px}.source-box dd{margin:4px 0;font-weight:600;overflow-wrap:anywhere}.source-box dt:first-child{margin:0}.source-box .actions{margin-top:26px}.notice{border-left:4px solid var(--ink);padding:12px 18px;background:#f0efdf;margin-top:28px;font-size:14px}.loading{padding:60px;font-size:22px}.fatal{margin-block:60px;padding:40px;border:var(--line)}[hidden]{display:none!important}
@media(min-width:1500px){.hero-copy h1{font-size:96px}.hero-figure canvas{height:380px}}@media(max-width:1100px){.wrap{width:calc(100% - 56px)}.hero{gap:28px}.hero-copy h1{font-size:64px}.site-links{gap:20px}.hero-figure canvas{height:335px}.card-grid{gap:20px}.card-body{padding:17px}.card-body h3{font-size:23px}.source-row{padding:18px;gap:14px;grid-template-columns:60px 1fr 20px}.source-code{width:60px;height:68px;font-size:21px}.how{grid-template-columns:1fr}.how-intro{border-right:0;border-bottom:var(--line)}.how-intro h2{font-size:32px}.tool-panel{padding:20px}.workspace-body{grid-template-columns:minmax(0,1.4fr) minmax(290px,1fr)}.build-heading .build-author{max-width:180px;white-space:normal}.download-card{padding:22px}.download-card p{min-height:110px}}@media(max-width:800px){.wrap{width:calc(100% - 40px)}.header-inner{min-height:76px}.brand{font-size:24px}.site-links{gap:15px;font-size:14px}.site-links a:last-child{display:none}.hero{padding-block:40px;gap:30px;grid-template-columns:1fr 1fr}.hero-copy h1{font-size:48px}.hero-copy>p{font-size:16px}.hero-figure canvas{height:300px}.hero-copy .actions{gap:10px}.hero-copy .btn{font-size:14px;padding-inline:14px}.figure-bottom{font-size:15px}.facts-inner{font-size:13px}.facts-inner span:last-child{display:none}.browse{padding-top:45px}.card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.source-grid{grid-template-columns:1fr}.section-top p{max-width:280px;font-size:14px}.search-row select{max-width:190px;font-size:14px}.workspace-body{grid-template-columns:1fr}.tool-panel{border-left:0;border-top:var(--line);max-height:none;min-height:260px}.scene-area>canvas,.scene-area>.viewer-surface{height:420px;flex:none}.scene-controls button{min-height:44px}.workspace-tabs button{gap:7px;font-size:14px}.workspace-tabs svg{width:19px;height:19px}.spec-list{grid-template-columns:repeat(4,1fr)}#plan{max-width:430px;margin-inline:auto}.download-grid{grid-template-columns:1fr}.download-card+.download-card{border-left:0;border-top:var(--line)}.download-card p{min-height:0}.download-card .step-number{font-size:18px;margin-bottom:14px}.download-card .btn{margin-top:14px}.external-hero{gap:30px}.external-art{min-height:280px}.external-art b{font-size:80px}.external-details{gap:25px}.build-author{display:none}.build-notes{gap:30px}.scene-area{min-height:400px}}
@media(max-width:590px){.wrap{width:calc(100% - 36px)}.site-links{display:none}.header-inner{gap:15px}.hero{grid-template-columns:1fr;gap:32px;padding-block:34px 40px}.hero-copy h1{font-size:clamp(48px,12.5vw,72px);max-width:460px;margin:20px 0}.hero-copy>p{margin:20px 0 24px;font-size:17px;max-width:350px}.hero .eyebrow{font-size:13px}.hero-figure canvas{height:300px}.figure-bottom{font-size:18px}.hero-footnote{font-size:13px}.facts-inner{gap:14px;justify-content:flex-start}.facts-inner span{font-size:13px}.facts-inner span:nth-child(2){display:none}.facts-inner span:last-child{display:flex}.section-top{display:block;margin-bottom:25px}.section-top p{margin-top:14px;max-width:340px}.browse{padding-block:40px 25px}.search-row{flex-wrap:wrap;gap:10px}.search{flex-basis:100%}.search-row select{flex:1;max-width:none;min-width:0;padding-right:25px;min-height:48px}.filters{gap:8px}.filter{font-size:13px;padding-inline:10px}.card-grid{grid-template-columns:1fr;gap:24px}.card-visual img{aspect-ratio:800/510}.card-body{padding:21px}.card-body>p{min-height:0}.card-body h3{font-size:27px}.card-meta{font-size:13px}.result-heading{align-items:start}.result-heading .small{max-width:125px;text-align:right}.source-row{grid-template-columns:55px 1fr 20px;padding:17px 13px;gap:13px}.source-code{width:55px;height:62px;font-size:19px}.source-row h3{font-size:19px}.source-row p{font-size:13px}.how{margin-block:30px 45px}.how-steps{grid-template-columns:1fr}.how-step+.how-step{border-left:0;border-top:1px solid #d3d4d1}.how-step{display:grid;grid-template-columns:32px 1fr;gap:16px;padding:24px}.how-step .step-number{grid-row:span 2;font-size:24px;margin:0}.how-step h3{margin:0}.how-step p{grid-column:2}.how-intro{padding:26px}.footer-inner{display:block}.footer-inner p{margin-top:14px;font-size:13px}.crumb{margin-top:24px;font-size:13px}.build-heading{margin-bottom:22px}.build-heading h1{font-size:43px;line-height:1.05}.build-heading p{font-size:16px}.workspace{box-shadow:4px 4px 0 var(--ink)}.workspace-tabs button{font-size:13px;min-height:53px;gap:0;flex-direction:column}.workspace-tabs svg{display:none}.scene-top{flex-direction:column;align-items:start;padding:10px 12px;gap:8px}.scene-controls{width:100%;gap:7px}.scene-controls button{flex:1;min-height:42px;font-size:13px;padding-inline:4px}.scene-area>canvas,.scene-area>.viewer-surface{height:310px}.scene-area{min-height:400px}.scene-bottom{font-size:13px;padding:9px 12px}.scene-bottom span:first-child{max-width:190px}.tool-panel{padding:22px 18px}.spec-list{grid-template-columns:1fr 1fr}.downloads{padding-top:0}.downloads .section-top h2{font-size:33px}.build-notes{grid-template-columns:1fr;gap:30px;padding-block:20px 45px}.external-hero{grid-template-columns:1fr;padding-top:15px;gap:30px}.external-hero h1{font-size:46px;line-height:1.03}.external-hero p{font-size:17px}.external-art{min-height:220px;padding:22px}.external-art b{font-size:83px}.external-details{grid-template-columns:1fr;gap:25px;margin-bottom:45px}.source-box{padding:24px}.source-box .btn{font-size:14px}.external-details h2{font-size:27px}.coordinates{gap:6px}.coordinates input{padding-inline:5px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}

/* Running instructions stay readable beside the compact model controls. */
.tool-panel p,.download-card p,.how-step p{font-size:16px}.tool-panel .small,.tool-panel .notice,.tool-panel .error{font-size:14px}.card-body>p{font-size:16px}
:root{--header-height:88px}.topbar{position:sticky;top:0;z-index:30}.workspace-tabs{position:sticky;top:var(--header-height);z-index:10}.workspace{scroll-margin-top:100px}.how-intro h2{margin-top:0!important}
@media(max-width:800px){:root{--header-height:76px}}

/* Product brand, 2026-11-01: preserve the selected fresh brutalist layout. */
.brand{flex-shrink:0;letter-spacing:-.6px}.brand-name{display:flex;flex-direction:column;line-height:.98;font-size:22px;gap:1px}.brand-name span{display:block}
@media(max-width:800px){.brand-name{font-size:17px}.brand{gap:8px}}
@media(max-width:800px){:root{--header-height:156px}html{scroll-padding-top:172px}.header-inner{flex-wrap:wrap;padding-block:14px 6px;gap:8px}.languages{margin-left:auto}.site-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));order:3;width:100%;gap:0 16px}.site-links a{min-height:40px;white-space:nowrap}.site-links a:last-child{display:flex}}

/* Local library navigation preview: reuse the selected cream/yellow/blue design. */
.site-links a[aria-current="page"]{text-decoration:underline;text-decoration-thickness:3px;text-underline-offset:8px}
.home-picks{padding-block:64px 32px}.home-picks .section-top,.home-worlds .section-top{align-items:end}.home-picks .section-top p,.home-worlds .section-top p{max-width:620px;margin-top:12px}.home-picks .section-top .link-line,.home-worlds .section-top .link-line{white-space:nowrap}
.category-links{display:flex;flex-wrap:wrap;gap:12px 28px;margin-top:28px}.category-links a{display:inline-flex;align-items:center;gap:10px;min-height:44px;text-decoration:underline;text-underline-offset:5px}.category-links svg{width:18px;height:18px}
.home-worlds{padding-block:32px 24px}.home-picks .card-body>p{min-height:0}
.catalogue-page{padding-bottom:64px}.catalogue-page .crumb{display:flex;flex-wrap:wrap;gap:10px;align-items:center;font-size:14px;margin-top:30px}.crumb a{text-decoration:underline;text-underline-offset:4px}
.catalogue-heading{padding-block:32px 30px}.catalogue-heading h1{font-size:clamp(40px,5vw,64px);line-height:1.08;letter-spacing:-.035em;text-wrap:balance}.catalogue-heading p{max-width:720px;margin-top:18px;font-size:18px;line-height:1.6}
.catalogue-controls .search-row{margin-bottom:20px}.catalogue-controls .filters{margin-bottom:0}.catalogue-count{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:72px}.catalogue-count p{font-weight:600}.catalogue-count button{padding:10px 0;border:0;background:transparent;font-size:14px;text-decoration:underline;text-underline-offset:4px}.catalogue-group .result-heading{margin-top:8px}.catalogue-page .crumb{margin-bottom:0}
.catalogue-group+.catalogue-group{margin-top:48px}.catalogue-group .result-heading h2{font-size:24px;letter-spacing:-.02em}.catalogue-page .empty h2{font-size:26px}.catalogue-page .empty p{margin:14px auto 24px;max-width:560px}.catalogue-page .empty .btn{margin:auto}
@media(max-width:800px){.home-picks{padding-top:40px}.home-picks .section-top,.home-worlds .section-top{display:block}.home-picks .section-top .link-line,.home-worlds .section-top .link-line{margin-top:18px}.catalogue-heading{padding-top:24px}.catalogue-controls .search-row{flex-wrap:wrap}.catalogue-controls .search{flex-basis:100%}.catalogue-controls .search-row select{flex:1;max-width:none}.catalogue-group .result-heading h2{font-size:22px}}
@media(max-width:590px){.catalogue-page .crumb{margin-top:22px}.catalogue-heading{padding-block:24px}.catalogue-heading p{font-size:16px}.catalogue-count{min-height:64px}.catalogue-group .result-heading{gap:12px}.catalogue-group .result-heading .small{max-width:125px}.category-links{gap:6px 22px}.home-worlds{padding-top:20px}.catalogue-page{padding-bottom:40px}}

/* Reading surfaces share the library's existing paper, ink and flat accents. */
.how-intro .link-line{margin-top:24px;font-size:16px}.worlds-credit-note{margin-top:48px;max-width:740px}.worlds-credit-note h2{font-size:28px;margin-bottom:14px}.worlds-credit-note p{line-height:1.75}
.guides-page{padding-bottom:70px}.guides-page .crumb{margin-bottom:0}.guide-hero{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:48px;align-items:center;padding-block:38px 56px}.guide-hero h1{font-size:clamp(44px,5vw,64px);line-height:1.06;letter-spacing:-.035em;text-wrap:balance}.guide-hero>div>p{font-size:18px;line-height:1.65;margin-top:22px;max-width:55ch}.guide-hero .actions{gap:16px 22px;margin-top:28px}.guide-hero .btn{font-size:15px;padding-inline:16px}.guide-hero .link-line{font-size:15px}
.game-proof{margin:0;min-width:0}.game-proof img{display:block;width:100%;height:auto;aspect-ratio:1708/960;object-fit:contain;border:var(--line)}.game-proof figcaption{font-size:14px;line-height:1.6;margin-top:12px;color:#41444a}.game-proof a:focus-visible{display:block}
.guide-layout{display:grid;grid-template-columns:240px minmax(0,820px);gap:64px;align-items:start}.guide-toc{position:sticky;top:calc(var(--header-height) + 24px);display:flex;flex-direction:column;gap:6px}.guide-toc h2{font-size:19px;margin-bottom:12px}.guide-toc a{padding-block:8px;line-height:1.4;font-size:15px;text-decoration:underline;text-underline-offset:4px}.guide-article{min-width:0}.guide-article section{scroll-margin-top:calc(var(--header-height) + 28px)}.guide-article section+section{margin-top:64px}.guide-article h2{font-size:34px;line-height:1.18;letter-spacing:-.025em;margin-bottom:24px;text-wrap:balance}.guide-article h3{font-size:21px;line-height:1.35;letter-spacing:-.01em;margin:28px 0 10px}.guide-article p,.guide-article li{font-size:17px;line-height:1.8}.guide-article p{max-width:72ch}.guide-article a:not(.btn){text-decoration:underline;text-underline-offset:4px}.guide-article a svg{display:inline-block;width:17px;height:17px;vertical-align:middle;margin-left:7px}
.guide-table{overflow-x:auto;margin-block:20px 24px}.guide-table table{width:100%;border-collapse:collapse;background:white;font-size:15px;line-height:1.6;text-align:left}.guide-table th,.guide-table td{padding:15px 16px;border:var(--line);vertical-align:top}.guide-table thead{background:var(--blue)}.guide-table th[scope="row"]{width:23%}.guide-sample{padding:24px;background:var(--yellow);margin-top:28px}.guide-sample h3{margin-top:0}.guide-downloads{display:flex;flex-wrap:wrap;gap:12px 24px;margin-top:18px}.guide-downloads a{min-height:44px;display:inline-flex;align-items:center}
.guide-steps{padding-left:28px;margin:0}.guide-steps li{padding-left:8px;margin-top:26px}.guide-steps li::marker{font-weight:600}.guide-steps li h3{margin-top:0}.guide-steps li:first-child{margin-top:0}.guide-article pre{white-space:pre;overflow-x:auto;background:white;border:var(--line);padding:20px;margin:20px 0 12px;font-size:14px;line-height:1.8;max-width:100%;tab-size:2}.guide-article code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.guide-article .guide-note{padding:18px 22px;background:var(--blue);font-size:15px;line-height:1.75;margin-top:24px}.guide-article .guide-caption{font-size:14px;line-height:1.65}.guide-article .guide-source-line{margin-top:24px;font-size:15px}.material-proof{margin-top:30px}.guide-command{margin-top:20px}.guide-command pre{margin-top:0}.guide-command button{display:block;margin-left:auto;border:var(--line);border-bottom:0;background:var(--yellow);padding:10px 16px;min-height:44px;font-size:14px}.guide-copy-status{font-size:14px!important;min-height:25px}.guide-results{padding-left:24px;margin-block:20px 28px}.guide-results li+li{margin-top:16px}.guide-faq{border-bottom:var(--line);padding-block:18px}.guide-faq summary{font-size:18px;font-weight:600;cursor:pointer;line-height:1.5;padding-block:6px}.guide-faq summary:focus-visible{outline:3px solid #3164d5;outline-offset:4px}.guide-faq p{margin-top:16px}.guide-references{padding-left:24px;margin-top:20px}.guide-references li{margin-top:8px}
@media(max-width:1100px){.guide-hero{gap:28px}.guide-layout{grid-template-columns:200px minmax(0,1fr);gap:36px}}
@media(max-width:800px){.guide-hero{grid-template-columns:1fr;padding-block:30px 40px}.guide-hero>div>p{max-width:65ch}.guide-layout{grid-template-columns:1fr;gap:36px}.guide-toc{position:static;display:grid;grid-template-columns:1fr 1fr;gap:8px 24px;background:var(--blue);padding:24px}.guide-toc h2{grid-column:1/-1;margin:0 0 8px}.guide-article h2{font-size:30px}.guide-article section+section{margin-top:48px}}
@media(max-width:590px){.guide-hero h1{font-size:44px}.guide-hero>div>p{font-size:17px}.guide-hero .actions{align-items:start;gap:20px}.guide-toc{padding:20px;gap:4px 18px}.guide-toc a{font-size:14px}.guide-article h2{font-size:28px}.guide-article h3{font-size:20px}.guide-article p,.guide-article li{font-size:16px}.guide-steps{padding-left:23px}.guide-steps li{padding-left:3px}.guide-table th,.guide-table td{padding:10px;font-size:14px;overflow-wrap:anywhere}.guide-table th[scope="row"]{width:28%;overflow-wrap:normal}.guide-article pre{font-size:12px;padding:14px}.guide-sample{padding:20px}.guide-article .guide-note{padding:16px}.guide-downloads{gap:8px 20px}.game-proof figcaption{font-size:13px}}

/* Referenced creator builds share the same catalogue as original blueprints. */
.creator-card-visual{aspect-ratio:800/560;background:var(--blue)}.creator-card-visual img{aspect-ratio:800/560}.creator-card-visual.yellow{background:var(--yellow)}.creator-card-visual.pink{background:var(--pink)}.creator-card-art{height:100%;min-height:100%;display:flex;flex-direction:column;justify-content:center;padding:36px;gap:18px}.creator-card-art strong{font-size:clamp(25px,2.5vw,38px);line-height:1.14;letter-spacing:-.025em}.creator-card-art>span{font-size:14px;line-height:1.5;max-width:32ch}.card-body .card-author{font-size:13px;line-height:1.6;min-height:0;margin-top:16px}.card-source{display:inline-flex;align-items:center;gap:8px;text-decoration:underline;text-underline-offset:4px;font-size:14px;min-height:44px;margin-top:8px}.card-source svg{width:17px;height:17px}.creator-card .card-meta{flex-wrap:wrap}.card-body{display:flex;flex-direction:column}.card-body .card-meta{margin-top:auto;padding-top:18px}
@media(max-width:590px){.creator-card-art{padding:28px}.creator-card-art strong{font-size:32px}.site-links{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.site-links a{white-space:normal}}

@media(max-width:800px){.site-links{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 16px}.site-links a{white-space:normal}}
.creator-context{display:grid;grid-template-columns:minmax(200px,280px) minmax(0,1fr);gap:12px 32px;padding:16px 0;border-top:1px solid var(--ink);margin-bottom:16px}
.creator-context label{display:grid;gap:8px;font-weight:600;font-size:14px}
.creator-context select{width:100%;min-height:46px;padding:10px;border:2px solid var(--ink);background:var(--paper);font:inherit;color:inherit}
.creator-context h2{margin:0 0 8px;font-size:22px;line-height:1.2}
.creator-context p{margin:8px 0 0;max-width:72ch}
.creator-scope{grid-column:1/-1}
.creator-scope summary{cursor:pointer;text-decoration:underline;text-underline-offset:3px;min-height:32px;padding:6px 0}
.creator-context code{overflow-wrap:anywhere}
.creator-files>p{max-width:70ch;margin:16px 0 24px}
.creator-empty-body{padding:48px 32px;min-height:300px;background:var(--blue)}
.creator-empty-body h2{font-size:24px;line-height:1.3;max-width:40ch;margin:0 0 16px}
.creator-empty-body p{max-width:65ch}
.creator-loading-skeleton{height:130px;margin-top:24px;background:var(--paper);opacity:.55}
@media(max-width:640px){.creator-context{grid-template-columns:1fr;gap:20px}.creator-empty-body{padding:28px 20px}.creator-files .actions{align-items:stretch;flex-direction:column}}
@media(max-width:800px){.creator-page .build-heading{flex-direction:column;align-items:stretch;gap:12px}.creator-page .build-author{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center;text-align:left;max-width:none}.creator-page .build-author b{display:inline}.creator-context h2{display:none}}

/* Two-stage loading for large blueprints: preview and files first, 3D on request. */
.lazy-workspace{margin:34px 0 48px;border:var(--line);box-shadow:var(--shadow);background:white}
.lazy-scene{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(300px,1fr);min-height:480px}
.lazy-preview{display:block;width:100%;height:480px;object-fit:contain;background:#e8eef1;border-right:var(--line)}
.lazy-copy{padding:30px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:16px}
.lazy-copy h2{font-size:clamp(28px,3vw,40px)}
.lazy-copy p{color:#53565c;line-height:1.7}
.lazy-copy .eyebrow:before{background:var(--yellow)}
.lazy-files{display:flex;gap:18px;flex-wrap:wrap;margin-top:4px}
.lazy-files a{font-weight:600;text-decoration:underline;text-underline-offset:4px}
@media(max-width:820px){.lazy-scene{grid-template-columns:1fr}.lazy-preview{height:340px;border-right:0;border-bottom:var(--line)}.lazy-copy{padding:24px}}

.hero-poster{position:relative;background:var(--blue)}
.hero-poster>picture{position:absolute;inset:0}
.hero-poster img{display:block;width:100%;height:355px;object-fit:cover}
.hero-poster .btn{position:absolute;left:16px;bottom:16px;background:var(--paper)}
@media(min-width:1500px){.hero-poster img{height:380px}}
@media(max-width:1100px){.hero-poster img{height:335px}}
@media(max-width:800px){.hero-poster img{height:300px}}
@media(max-width:590px){.hero-poster img{height:300px}}

.build-facts{border:var(--line);background:white;box-shadow:var(--shadow);margin:0 0 45px;padding:30px}
.build-facts .section-top{margin-bottom:20px}
.facts-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:18px;margin:0 0 26px;border-top:1px solid #d3d4d1;padding-top:20px}
.facts-grid dt{font-size:13px;color:#53565c}
.facts-grid dd{margin:4px 0 0;font-size:22px;font-weight:600;line-height:1.15}
.facts-table h3{font-size:20px;margin-bottom:10px}
.facts-table{overflow-x:auto}
.facts-table table{width:100%;border-collapse:collapse;font-size:14px}
.facts-table tr[aria-current="true"] th,.facts-table tr[aria-current="true"] td{background:var(--yellow)}
.facts-table th[scope="row"] a{text-decoration:underline;text-underline-offset:3px}
.facts-table th,.facts-table td{text-align:left;padding:9px 8px;border-bottom:1px solid #d5d5d0}
.facts-table thead th{font-size:12px;color:#53565c;text-transform:uppercase;letter-spacing:.03em}
.facts-table tbody th{font-weight:600}
.facts-table tbody th span{display:inline-flex;align-items:center;gap:8px}
.facts-table tbody th i{width:12px;height:12px;border:1px solid #666;flex:none}
.facts-table td:nth-child(2),.facts-table td:nth-child(3),.facts-table thead th:nth-child(2),.facts-table thead th:nth-child(3){text-align:right;white-space:nowrap}
.facts-table .small{margin-top:12px}
@media(max-width:800px){.build-facts{padding:18px}.facts-table table{min-width:520px}.facts-table th,.facts-table td{padding:7px 6px;font-size:13px}.facts-grid{grid-template-columns:repeat(3,1fr);gap:14px}}
@media(max-width:590px){.facts-grid{grid-template-columns:repeat(2,1fr)}.facts-table th,.facts-table td{padding:8px 5px}.facts-table tbody th span{gap:6px}}

.hub-heading{max-width:940px;padding:6px 0 26px}
.hub-heading h1{font-size:clamp(40px,5vw,66px);margin:16px 0}
.hub-heading p{font-size:17px;line-height:1.75;color:#4a4d52;margin-top:14px;max-width:800px}
.hub-stats{grid-template-columns:repeat(5,minmax(0,1fr))}
.hub-page .browse{padding-block:30px 10px}
.hub-table{margin-bottom:45px}
.hub-table .section-top{margin-bottom:16px}
.hub-table table{min-width:680px}
.hub-table th a{text-decoration:underline;text-underline-offset:3px}
.hub-table td:nth-child(2),.hub-table th:nth-child(2){white-space:nowrap}
.hub-faq{margin:0 0 45px;max-width:900px}
.hub-faq h2{font-size:32px;margin-bottom:12px}
.hub-faq details{border-top:1px solid #d3d4d1;padding:15px 0}
.hub-faq details:last-child{border-bottom:1px solid #d3d4d1}
.hub-faq summary{font-size:18px;font-weight:600;cursor:pointer}
.hub-faq p{margin-top:10px;color:#53565c;line-height:1.7;font-size:15px;max-width:760px}
.hub-guides{margin:0 0 60px}
.hub-guides h2{font-size:32px;margin-bottom:14px}
.hub-guides ul{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.hub-guides a{border:var(--line);background:white;padding:16px 18px;min-height:56px;display:flex;align-items:center;justify-content:space-between;gap:12px;font-weight:600;box-shadow:3px 3px 0 var(--ink)}
.hub-guides a:hover{background:var(--yellow)}
.hub-links{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:-4px 0 22px;font-size:14px}
.hub-links span{color:#53565c}
.hub-links a{font-weight:600;text-decoration:underline;text-underline-offset:4px}
.hub-links a+a{margin-left:2px}
@media(max-width:1100px){.hub-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.hub-guides ul{grid-template-columns:1fr}}
@media(max-width:800px){.hub-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.hub-heading h1{font-size:43px}.hub-faq h2,.hub-guides h2{font-size:27px}}
@media(max-width:590px){
.hub-heading p{font-size:16px}
.hub-faq summary{font-size:16px}
.hub-table table{min-width:0}
.hub-table th:nth-child(4),.hub-table td:nth-child(4),.hub-table th:nth-child(5),.hub-table td:nth-child(5){display:none}
.hub-table th,.hub-table td{padding:8px 4px;font-size:13px}
.hub-table td:nth-child(2){white-space:normal;font-size:12px}
.hub-table th a{display:inline-block}
}

.guide-topics{margin:4px 0 52px}
.guide-topic-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.guide-topic-card{border:var(--line);background:white;box-shadow:3px 3px 0 var(--ink);padding:20px;min-height:170px;display:flex;flex-direction:column;gap:10px;position:relative}
.guide-topic-card:hover{background:var(--yellow)}
.guide-topic-kind{font-size:20px;font-weight:600;line-height:1.2;padding-right:30px}
.guide-topic-desc{font-size:14px;color:#53565c;line-height:1.55}
.guide-topic-arrow{position:absolute;right:14px;top:14px}
.guide-hub-section{margin:0 0 46px;max-width:980px}
.guide-hub-section h2{font-size:32px;margin-bottom:14px}
.guide-topic{max-width:900px}
.guide-topic h1{font-size:clamp(40px,5vw,62px);margin:0 0 22px}
.guide-lede p{font-size:18px;line-height:1.7;color:#3f4247;margin-bottom:14px;max-width:760px}
.guide-topic h2{font-size:27px;margin:34px 0 12px}
.guide-topic p{line-height:1.75;margin-bottom:12px;color:#3f4247}
.guide-topic .guide-steps li{margin-bottom:26px}
.guide-topic .guide-steps h2{margin-top:0}
.guide-related{margin-top:52px;border-top:var(--line);padding-top:24px}
.guide-related ul{list-style:none;padding:0;margin:0 0 18px;display:flex;flex-wrap:wrap;gap:10px}
.guide-related a{border:var(--line);background:white;padding:10px 14px;display:inline-flex;gap:8px;align-items:center;font-weight:600;font-size:14px}
.guide-related a:hover{background:var(--yellow)}
@media(max-width:900px){.guide-topic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:590px){.guide-topic-grid{grid-template-columns:1fr}.guide-topic-card{min-height:0}.guide-topic h1{font-size:40px}.guide-topic h2{font-size:23px}.guide-hub-section h2{font-size:27px}}

.guide-help-links{display:flex;gap:8px 18px;flex-wrap:wrap;margin:18px 0 0;font-size:14px;font-weight:600}
.guide-help-links a{text-decoration:underline;text-underline-offset:4px}

.footer-brand p{max-width:520px;color:#53565c;margin-top:4px}
.footer-links{display:flex;gap:18px;flex-wrap:wrap;font-weight:600}
.footer-links a{text-decoration:underline;text-underline-offset:4px}
.trust-page{padding-bottom:64px}
.trust-heading{max-width:820px;padding:8px 0 26px}
.trust-heading h1{font-size:clamp(40px,5vw,64px);margin-bottom:18px}
.trust-heading p{font-size:19px;line-height:1.65;color:#4a4d52}
.trust-body{max-width:840px}
.trust-body section{margin-bottom:38px}
.trust-body h2{font-size:30px;margin-bottom:12px}
.trust-body p{font-size:16px;line-height:1.75;color:#3f4247;margin-bottom:12px}
.trust-list{padding-left:22px;margin:12px 0 18px;line-height:1.7;color:#3f4247}
.trust-list li{margin-bottom:8px}
.trust-links{display:flex;gap:18px;flex-wrap:wrap;margin-top:8px}
.trust-updated{font-size:13px;color:#6a6c70;border-top:1px solid #d3d4d1;padding-top:18px;margin-top:12px}
.credits-section{margin-bottom:44px}
.credits-section h2{font-size:32px;margin-bottom:12px}
.credits-section>p{max-width:840px;margin-bottom:12px;color:#3f4247;line-height:1.7}
.credits-originals{list-style:none;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0}
.credits-originals a{border:var(--line);background:white;padding:10px 14px;min-height:48px;display:flex;justify-content:space-between;gap:10px;align-items:center;font-weight:600;font-size:14px}
.credits-originals a:hover{background:var(--yellow)}
.credits-section .guide-table table{font-size:14px}
.credits-section .guide-table th,.credits-section .guide-table td{padding:9px 8px}
@media(max-width:800px){.credits-originals{grid-template-columns:repeat(2,minmax(0,1fr))}.footer-links{margin-top:14px}}
@media(max-width:590px){
.credits-originals{grid-template-columns:1fr}
.trust-body h2{font-size:24px}
.trust-heading h1{font-size:40px}
.trust-heading p{font-size:17px}
.credits-section .guide-table table{min-width:0}
.credits-section .guide-table th:nth-child(3),.credits-section .guide-table td:nth-child(3){display:none}
.credits-section .guide-table th,.credits-section .guide-table td{padding:9px 5px;font-size:13px}
.credits-section .guide-table th:nth-child(4),.credits-section .guide-table td:nth-child(4){white-space:normal}
}

.submit-cta{border:var(--line);background:var(--yellow);padding:24px;margin:6px 0 30px;display:flex;gap:18px;align-items:center;flex-wrap:wrap}
.submit-cta p{font-size:14px;line-height:1.6;margin:0;max-width:520px;color:#3f4247}
@media(max-width:590px){.submit-cta{padding:20px}.submit-cta .btn{width:100%}}

.card-visual picture,.hero-poster picture,.game-proof picture{display:block;width:100%}
.lazy-preview img{display:block;width:100%;height:100%;object-fit:contain}

/* Local world import: reuse the cream, yellow and blue workspace system. */
.import-page{padding-bottom:64px}.import-heading{max-width:850px;margin:36px 0}.import-heading h1{font-size:44px;line-height:1.12;letter-spacing:-.035em;margin-bottom:18px}.import-heading>p{max-width:70ch;line-height:1.7}.import-local{display:flex;gap:9px;align-items:center;margin-top:14px;font-size:14px;font-weight:600}.import-local svg{width:20px;height:20px}.import-source{display:grid;grid-template-columns:1fr auto;align-items:center;gap:14px 28px;border:var(--line);padding:26px;background:#fff}.import-source h2,.import-map-panel h2,.import-bounds h2{font-size:25px;line-height:1.2;letter-spacing:-.02em;margin-bottom:10px}.import-source p,.import-map-panel>p,.import-bounds>p{font-size:14px;line-height:1.65;max-width:65ch}.import-picker{position:relative;cursor:pointer}.import-picker input{position:absolute;inset:0;width:100%;opacity:0;cursor:pointer}.import-picker:focus-within{outline:3px solid #3164d5;outline-offset:4px}.import-picker:has(input:disabled){opacity:.5;cursor:wait}.import-filename{grid-column:1/-1;overflow-wrap:anywhere;font-weight:600}.import-status{display:flex;align-items:center;gap:12px;min-height:36px;font-size:14px}.import-status progress{width:160px;accent-color:var(--ink)}.import-error{border:var(--line);padding:18px;background:#f3d0c9;color:#651b17;margin:10px 0 24px;overflow-wrap:anywhere}.import-error p{margin-top:10px;font-size:13px}.import-selection{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(300px,.9fr);border:var(--line);background:#fff;margin:8px 0 38px}.import-map-panel{padding:26px;border-right:var(--line)}.import-bounds{padding:26px;display:flex;flex-direction:column;align-items:flex-start;gap:17px}.import-selectors{display:grid;grid-template-columns:1fr;gap:12px;margin:18px 0}.import-selectors label,.import-bounds>label,.import-coordinate-row label{display:grid;gap:6px;font-size:13px;font-weight:600;min-width:0}.import-selectors select,.import-bounds input{border:var(--line);min-height:44px;padding:8px;width:100%;min-width:0;background:var(--paper)}.import-bounds>label,.import-bounds fieldset{width:100%}.import-bounds fieldset{padding:0;border:0;margin:0}.import-bounds legend{font-size:14px;font-weight:600;margin-bottom:8px}.import-coordinate-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}#world-map{stroke:none;display:block;width:100%;height:auto;max-width:400px;aspect-ratio:1;touch-action:none;border:1px solid #879da8;cursor:crosshair}.import-map-selection{fill:#ffe363;fill-opacity:.12;stroke:#18191b;stroke-width:2;pointer-events:none}.import-empty{padding:44px 0;border-top:1px solid #c7c9c8;max-width:750px}.import-empty>svg{width:34px;height:34px;margin-bottom:16px}.import-empty h2{font-size:28px;letter-spacing:-.025em;margin-bottom:12px}.import-empty p{color:#53565c}.import-result{border:var(--line);background:#fff;margin-top:30px}.import-result>.section-top{padding:24px;margin:0}.import-result h2{font-size:30px;line-height:1.2;letter-spacing:-.025em}.import-result-tabs{display:flex;background:var(--yellow);border-block:var(--line)}.import-result-tabs button{border:0;border-right:var(--line);background:transparent;padding:12px 22px;min-height:48px;font-weight:600}.import-result-tabs [aria-selected=true]{background:var(--ink);color:#fff}.import-result-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr)}.import-result-scene{min-width:0;background:var(--blue)}.import-result-scene>canvas,.import-result-scene>.viewer-surface{display:block;width:100%;height:460px;touch-action:none}.import-result-detail{padding:22px;border-left:var(--line);max-height:460px;overflow:auto;font-size:14px}.import-result-detail h3{font-size:21px;margin-bottom:18px}.import-result-detail table{border-collapse:collapse;width:100%;font-size:13px}.import-result-detail th{font-weight:400;text-align:left}.import-result-detail td{text-align:right;font-variant-numeric:tabular-nums}.import-result-detail th,.import-result-detail td{padding:8px 5px;border-bottom:1px solid #d2d6d8;overflow-wrap:anywhere}.import-result-detail input[type=range]{width:100%;accent-color:var(--ink);margin:12px 0;min-height:30px}.import-checkbox{display:flex;align-items:center;gap:9px}.import-checkbox input{width:18px;height:18px;accent-color:var(--ink)}.import-export{padding:24px;display:flex;gap:14px;flex-wrap:wrap;border-top:var(--line)}.import-result>p{padding:0 24px 24px;max-width:100ch}
@media(max-width:800px){.import-heading h1{font-size:36px}.import-selection,.import-result-grid{grid-template-columns:1fr}.import-map-panel{border-right:0;border-bottom:var(--line)}.import-result-detail{border-left:0;border-top:var(--line);max-height:360px}.import-source{grid-template-columns:1fr}.import-picker{justify-self:start}.import-filename{grid-column:auto}.import-result-scene>canvas,.import-result-scene>.viewer-surface{height:340px}.import-heading{margin-block:28px}.import-heading .import-local{align-items:flex-start}.import-export .btn{font-size:14px;padding-inline:14px}}
@media(max-width:480px){.import-heading h1{font-size:32px}.import-source,.import-map-panel,.import-bounds{padding:20px}.import-selectors{grid-template-columns:1fr}.import-result-tabs button{flex:1;padding-inline:8px}.import-export{padding:18px;gap:12px}.import-export .btn{flex:1 1 135px}.import-result>.section-top{padding:20px}.import-result h2{font-size:26px;overflow-wrap:anywhere}.import-coordinate-row{gap:8px}.import-bounds input{font-size:14px}}

/* World choices and map controls use the existing cream/yellow/blue workspace. */
.import-map-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:14px 0 10px;max-width:400px}.import-map-toolbar button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:44px;min-height:44px;padding:7px;border:var(--line);background:var(--paper);font-size:13px;font-weight:600}.import-map-toolbar button:hover:enabled{background:var(--yellow)}.import-map-toolbar svg{width:20px;height:20px}.import-map-toolbar output{margin-left:auto;font-size:12px;font-variant-numeric:tabular-nums}#world-map:focus-visible{outline:3px solid #3164d5;outline-offset:4px}.import-map-panel>p.small{margin-top:6px}#map-zoom-help{margin-top:10px}
@media(max-width:480px){.import-map-toolbar{gap:6px}.import-map-toolbar output{font-size:11px}}

/* Four equal primary destinations stay visible at desktop, tablet and phone widths. */
@media(max-width:1024px){.header-inner{flex-wrap:wrap;padding-block:14px 6px;gap:8px}.languages{margin-left:auto}.site-links{display:grid;order:3;flex:0 0 100%;width:100%;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px 12px}.site-links a{justify-content:center;min-height:44px;text-align:center;white-space:normal;font-size:14px}html{scroll-padding-top:156px}}
@media(max-width:600px){:root{--header-height:184px}.site-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 12px}.site-links a{min-height:44px;font-size:14px}html{scroll-padding-top:200px}}

.import-map-panel{min-width:0}

.viewer-surface{position:relative;min-width:0;width:100%}.viewer-surface>canvas{display:block;width:100%;height:100%;touch-action:none}.viewer-surface>picture{position:absolute;inset:0}.viewer-surface>picture img{width:100%;height:100%;object-fit:contain}.viewer-status{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:14px;padding:24px;margin:0;text-align:center;background:#faf9f3eb;font-size:14px;line-height:1.6}.viewer-status .notice{margin:0;padding:0;border:0;background:none}.viewer-failed>p{max-width:55ch}.hero-render-error{position:relative;padding:18px;font-size:13px;background:var(--paper)}.hero-render-error .notice{margin:0 0 10px;padding:0;border:0;background:none}.hero-render-error .btn{margin-top:12px}.import-ready{display:flex;align-items:center;gap:7px;margin-bottom:10px;font-size:14px;font-weight:600}.import-ready svg{width:18px;height:18px}.import-result:focus{outline:none}.import-result:focus-visible,.import-error:focus-visible{outline:3px solid #3164d5;outline-offset:4px}

.hero-import{margin-top:18px}.hero-import .btn{background:var(--blue)}.hero-import .btn:active{transform:translate(3px,3px);box-shadow:none}
