/* v46/style.css */
:root{--ink:#101728;--ink2:#19233c;--paper:#f8f3e9;--text:#ecf3fa;--muted:#bdc9da;--coral:#fb937d;--mint:#a6dfc4;--pink:#fd90bd;--stroke:#39435b;--font:Tahoma,'Vazirmatn','Segoe UI',sans-serif;scroll-behavior:smooth}*{box-sizing:border-box}html{scroll-padding-top:82px}body{margin:0;background:var(--ink);font:15px/1.8 var(--font);color:var(--text);overflow-x:hidden}button,input,textarea,select{font:inherit}a{text-decoration:none;color:inherit}button,a{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid #a0f4de;outline-offset:3px}button:hover,.primary:hover,.secondary:hover{filter:brightness(1.13)}button:disabled{opacity:.5;cursor:not-allowed}[hidden]{display:none!important}.skip{position:fixed;top:-80px;right:20px;z-index:100;color:#101728;background:#e9fbef;padding:10px 16px}.skip:focus{top:6px}
.nav{height:72px;position:sticky;top:0;z-index:30;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:0 clamp(16px,4vw,62px);background:#101728f2;border-bottom:1px solid #495068;backdrop-filter:blur(16px)}.brand{display:flex;gap:12px;align-items:center;font-size:15px;font-weight:900;white-space:nowrap}.brand-mark{border-radius:11px;background:#f3eae0;color:#111627;font:900 24px/1.5 Arial;padding:3px 12px;transform:rotate(-4deg)}.brand-mark .dot{color:#fc7f9f}.brand small{display:block;color:#a9b9c7;letter-spacing:.12em;direction:ltr;font:700 9px/1.5 Arial}.links{display:flex;align-items:center;gap:clamp(8px,1.8vw,28px)}.links a{font-size:13px;color:#c8cde4;white-space:nowrap}.links a:hover{color:#ffe0bc}.nav-acts{display:flex;gap:9px;align-items:center;white-space:nowrap}.nav-acts button{border:1px solid #525b70;background:#202b42;color:#faf1e5;border-radius:9px;padding:6px 12px}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;border-radius:11px;padding:12px 21px;font-weight:800;font-size:13px;border:1px solid transparent;cursor:pointer}.primary{background:#f79b80;color:#1b1830}.secondary{border-color:#b1b8ce;background:#121a2ab0;color:#fff0e2}.primary.small{padding:8px 14px}.world-scroll{position:relative;min-height:660vh}.world-sticky{height:calc(100dvh - 72px);min-height:560px;position:sticky;top:72px;overflow:hidden;isolation:isolate;background:#111831}#world{display:block;width:100%;height:100%;image-rendering:pixelated;touch-action:pan-y;cursor:crosshair}.lighting{pointer-events:none;position:absolute;inset:0;background:linear-gradient(90deg,#060e2055,transparent 22%,transparent 78%,#060d1f55),linear-gradient(0deg,#10172880,transparent 16%,transparent 85%,#10172845)}.scroll-length{height:565vh}.hero{position:absolute;top:clamp(20px,7vh,70px);right:clamp(15px,4vw,72px);width:min(390px,37vw);padding:25px 25px 20px;background:linear-gradient(130deg,#11192cf2,#11192bdc);border:1px solid #7e7194;border-radius:18px;box-shadow:0 22px 70px #0a10249e;transition:opacity .35s,transform .35s;backdrop-filter:blur(12px)}.hero.hide{opacity:0;transform:translateY(-20px);pointer-events:none}.kicker,.eyebrow{font:800 11px/1.5 Arial,sans-serif;letter-spacing:.14em;color:#f6a79a}.kicker{font-family:var(--font);letter-spacing:0}.live{width:7px;height:7px;border-radius:50%;background:#baf5c5;display:inline-block;box-shadow:0 0 0 5px #a6e9b01a;margin-left:7px}.hero h1{font-size:clamp(27px,2.9vw,42px);line-height:1.38;letter-spacing:-.04em;margin:17px 0 12px}.hero h1 em,.section h2 i,.last-cta h2 i{font-style:normal;color:#ffac94}.hero p{color:#d2dced;font-size:13px;line-height:2;max-width:35ch}.hero-buttons{display:flex;gap:8px;flex-wrap:wrap;margin-top:17px}.hero-buttons>*{font-size:12px;padding:10px 12px}.hero-hint{color:#a5b6c7;font-size:11px;margin-top:15px}.context{position:absolute;right:clamp(14px,4vw,72px);bottom:72px;width:min(340px,calc(100% - 30px));display:flex;align-items:center;gap:10px;padding:11px 14px;background:#192136e9;border:1px solid #56677b;border-radius:13px;box-shadow:0 10px 38px #0007;transition:opacity .25s}.context-tag{font:800 10px/1.3 Arial;color:#9be9cc;writing-mode:vertical-rl;transform:rotate(180deg)}.context p{margin:0;font-size:12px;line-height:1.75;flex:1}.context button{background:transparent;color:#dae6ef;font-size:22px;border:0}.context.dismissed{display:none}.world-tools{position:absolute;left:clamp(12px,2vw,28px);bottom:30px;display:flex;gap:6px;flex-wrap:wrap;max-width:60%}.world-tools button,.world-objects button,.interact{background:#121b2fe5;border:1px solid #73849f;color:#f2f4f7;border-radius:9px;font-size:12px;font-weight:700;padding:8px 12px;box-shadow:0 6px 18px #0005}.world-tools button[aria-pressed=true]{background:#f7a487;color:#17172b}.world-objects{position:absolute;inset:0;pointer-events:none}.world-objects button{pointer-events:auto;position:absolute;transform:translate(-50%,-115%);font-size:11px;min-width:66px;text-align:center;white-space:nowrap;background:#132339eb;border-color:#94bfbf;padding:7px 10px;transition:transform .16s,background .16s}.world-objects button::after{content:'';position:absolute;border-left:5px solid transparent;border-right:5px solid transparent;border-top:6px solid #94bfbf;top:100%;left:calc(50% - 5px)}.world-objects button:hover{background:#293e59;transform:translate(-50%,-120%)}.interact{position:absolute;bottom:87px;left:50%;transform:translateX(-50%);z-index:4;color:#17213a;background:#b5edcb}.city-map{position:absolute;left:16px;top:17px;width:min(330px,calc(100vw - 32px));z-index:9;background:#131e33f7;border:1px solid #8099a9;border-radius:15px;padding:13px;box-shadow:0 24px 70px #000b}.map-head{display:flex;justify-content:space-between;align-items:center;padding:2px 5px 12px}.map-head button{border:0;background:#3a475d;color:white;border-radius:7px;font-size:19px;width:32px;height:32px}.city-map #districtLinks{display:grid;gap:7px}.city-map #districtLinks button{display:flex;gap:8px;align-items:center;text-align:right;padding:9px 12px;background:#243048;color:#edf3f8;border:1px solid #495e74;border-radius:9px;font-size:12px}.city-map #districtLinks button:hover{background:#3b536d}.progress-hud{position:absolute;top:17px;right:16px;background:#111b30c9;border:1px solid #6e8590;border-radius:12px;padding:10px 14px;min-width:170px;max-width:250px;display:flex;gap:7px;align-items:center;flex-wrap:wrap;backdrop-filter:blur(7px)}.progress-hud span{font-size:12px;font-weight:700}.progress-hud span+span{margin-inline-start:auto;color:#96e0d5;direction:ltr}.progress-track{height:3px;width:100%;border-radius:5px;background:#34425e;overflow:hidden}.progress-track div{height:100%;width:0;background:#b2e5c7}.section{padding:clamp(65px,9vw,125px) clamp(18px,4vw,60px)}.section-inner{max-width:1170px;margin:auto}.light-section{background:#f7f2e9;color:#172035}.midnight-section{background:#16203a;color:#f8f4ee}.section-intro{display:flex;align-items:end;justify-content:space-between;gap:25px;margin-bottom:30px}.section h2,.last-cta h2{font-size:clamp(29px,4vw,56px);letter-spacing:-.04em;line-height:1.4;max-width:680px;margin:12px 0 13px}.section-intro p{max-width:630px;line-height:2.2;color:#56647c;margin:0}.midnight-section .section-intro p{color:#c5d0e2}.section .eyebrow{color:#be6876}.text-link{font-weight:800;white-space:nowrap;border-bottom:2px solid;padding:8px 0}.work-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.work-card{border-radius:16px;overflow:hidden;border:1px solid #ddd4c7;background:#fffefa;transition:transform .2s,box-shadow .2s}.work-card:hover{transform:translateY(-5px);box-shadow:0 18px 30px #25304a20}.work-art{height:220px;overflow:hidden;background:#c6bbc9}.work-art img{width:100%;height:100%;object-fit:cover;image-rendering:auto;transition:transform .3s}.work-card:hover img{transform:scale(1.04)}.work-body{padding:18px}.work-body span{font:800 10px Arial;letter-spacing:.08em;color:#98626e}.work-body h3{margin:3px 0;font:900 28px/1.4 Arial}.work-body h3 b{float:left;font-size:21px}.work-body p{font-size:12px;margin:8px 0 5px;color:#485872;line-height:1.9}.pricing{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.price{border-radius:17px;padding:27px 23px;border:1px solid #51617b;background:#1e2a42;display:flex;flex-direction:column;min-height:310px}.price.featured{border-color:#f7a58f;background:#303149;box-shadow:inset 0 4px 0 #ffab94}.price>span{font:800 10px Arial;letter-spacing:.14em;color:#95d9ca}.price h3{font-size:25px;margin:12px 0 0}.price-number{font-size:32px;font-weight:900;color:#ffb6a0;margin:7px 0 11px}.price-number small{font-size:12px;color:#bfcbe2}.price>p:not(.price-number){font-size:13px;line-height:2;color:#bdc9d8;flex:1}.price a{font-weight:800;color:#a7eed2;border-top:1px solid #58637b;padding-top:14px}.disclaimer{color:#acbacf;font-size:11px;margin-top:22px}.story{display:grid;grid-template-columns:1.2fr .8fr;gap:7%;align-items:center}.story>div>p{line-height:2.3;color:#536175;max-width:640px}.story-actions{display:flex;gap:11px;flex-wrap:wrap;margin-top:24px}.story-actions .secondary{color:#1c2945;background:transparent;border-color:#71809b}.story-visual{background:radial-gradient(ellipse at center,#414b7f,#182441 72%);height:350px;border-radius:22px;border:7px solid #272f4f;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;overflow:hidden}.story-visual img{height:245px;width:245px;object-fit:cover;object-position:0 0;image-rendering:pixelated;filter:drop-shadow(0 20px 12px #080d2070)}.story-visual span{font:800 11px Arial;color:#e9b7ac;letter-spacing:.1em}.last-cta{background:linear-gradient(130deg,#283854,#101829);padding:90px 24px;text-align:center}.last-cta>div{max-width:800px;margin:auto}.last-cta h2{max-width:none}.last-cta p{color:#d7dfeb;margin:10px 0 27px}footer{padding:23px clamp(18px,4vw,60px);display:flex;justify-content:space-between;gap:16px;align-items:center;flex-wrap:wrap;font:700 11px Arial;color:#a8b7cf}footer a{color:#f2cfb2}
.room,.game-panel{position:fixed;z-index:60;inset:0;background:#101728;display:flex;flex-direction:column}.room-top,.game-bar{display:flex;align-items:center;justify-content:space-between;padding:11px 22px;gap:15px;background:#141f32;border-bottom:1px solid #4b5670;font-size:13px}.room-top-actions{display:flex;align-items:center;gap:15px;color:#a7b7cf;font-size:11px}.room-top button,.game-bar button{border:1px solid #9baac5;color:#f7e8df;background:#293852;border-radius:9px;padding:7px 13px}.room-layout{flex:1;display:grid;grid-template-columns:minmax(0,1.7fr) minmax(285px,.8fr);overflow:hidden;min-height:0}.room-scene{position:relative;display:flex;align-items:center;justify-content:center;background:#171e37;min-height:0}.room-scene canvas{width:100%;height:100%;display:block;image-rendering:pixelated;cursor:crosshair}.room-info{padding:25px;overflow:auto;background:#202941;border-right:1px solid #58617b}.room-info h2{font-size:31px;margin:7px 0 12px}.room-info p{color:#c2d2e6;line-height:2.2}.room-object-list{display:grid;gap:8px;margin:20px 0}.room-object-list button{padding:11px;border-radius:10px;border:1px solid #546987;color:#f6f3f1;background:#293b57;text-align:right;font-weight:700}.room-object-list button:focus-visible,.room-object-list button:hover{background:#425d70}.room-object-list button.found{border-color:#9ee7c5}.room-info .primary{width:100%}#roomResponse{background:#12253b;border:1px solid #435d71;border-radius:9px;padding:10px;margin-bottom:15px;font-size:12px;min-height:45px;color:#b9f2dc}.room-pad{position:absolute;bottom:14px;left:14px;display:grid;gap:4px;direction:ltr;user-select:none}.room-pad>button{justify-self:center}.room-pad button{background:#27334de3;color:#fafafa;border:1px solid #7d8ba6;border-radius:9px;min-width:45px;min-height:45px;font-weight:bold;touch-action:none}.room-pad>div{display:flex;gap:4px}.game-panel iframe{width:100%;flex:1;border:0;background:#111827}
@media(max-width:980px){.links{gap:11px}.links a{font-size:11px}.brand small{font-size:8px}.hero{width:min(360px,49vw)}.work-art{height:185px}.world-tools{max-width:75%}}@media(max-width:720px){.nav{height:60px;padding:0 12px}.nav .links{display:none}.nav .brand{font-size:12px}.brand-mark{font-size:20px}.nav .primary.small{font-size:10px;padding:7px 11px}.world-sticky{top:60px;height:calc(100dvh - 60px);min-height:440px}.world-scroll{min-height:510vh}.scroll-length{height:430vh}.hero{right:12px;top:12px;width:min(315px,calc(100% - 24px));padding:13px 15px;max-height:60%;overflow:auto;border-radius:13px}.hero h1{font-size:clamp(22px,7vw,31px);margin:7px 0}.hero p{font-size:11px;line-height:1.9;margin:5px 0}.hero-buttons{margin-top:9px}.hero-buttons>*{font-size:11px;padding:8px}.hero-hint{margin-top:8px;font-size:10px}.progress-hud{top:auto;bottom:15px;right:12px;padding:8px 9px;min-width:150px;max-width:180px}.world-tools{bottom:72px;left:10px;max-width:95%;right:10px;justify-content:flex-start}.world-tools button{font-size:10px;padding:7px 8px}.context{right:12px;bottom:122px;max-width:calc(100% - 24px);width:300px}.world-objects button{font-size:10px;padding:6px 7px}.interact{bottom:180px}.section-intro{display:block}.section-intro .text-link{display:inline-block;margin-top:15px}.work-grid,.pricing,.story{grid-template-columns:1fr}.work-art{height:210px}.price{min-height:0}.room-layout{display:flex;flex-direction:column}.room-scene{height:50%;min-height:250px;flex:none}.room-info{border-right:0;flex:1;padding:16px}.room-info h2{font-size:22px}.room-object-list{grid-template-columns:repeat(2,1fr)}.room-top{padding:10px 12px}.room-top-actions span{display:none}.room-pad{bottom:9px;left:7px}.room-pad button{min-width:42px;min-height:42px}.game-bar{padding:7px 12px}}@media(max-width:370px){.brand small{display:none}.hero{max-height:64%}.hero h1{font-size:22px}.world-tools button{padding:6px 7px}.room-scene{height:44%}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition-duration:0ms!important}}

#mobileNavBtn{display:none}.mobile-nav{position:fixed;top:60px;left:10px;right:10px;z-index:45;padding:13px;background:#162139f7;border:1px solid #78869c;border-radius:12px;box-shadow:0 20px 45px #000a;gap:5px;grid-template-columns:repeat(2,1fr)}.mobile-nav:not([hidden]){display:grid}.mobile-nav a{padding:11px;background:#25334c;border-radius:8px;text-align:center;font-size:13px}.mobile-nav a:focus-visible{outline:2px solid #a6eecf}@media(max-width:720px){#mobileNavBtn{display:inline-flex}.nav-acts{gap:6px}.nav-acts button{padding:6px 10px}.nav-acts .primary.small{padding:7px}.hero{max-height:270px;overflow:auto}.hero p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.world-tools{left:8px;right:auto;bottom:16px;max-width:calc(100% - 178px);gap:4px}.world-tools button{padding:6px 7px;font-size:10px}#motionBtn,#soundBtn{display:none}.progress-hud{bottom:16px;max-width:155px;min-width:145px}.context{bottom:98px;max-height:90px;overflow:auto;width:min(300px,calc(100vw - 24px))}.interact{bottom:150px}.world-objects button{font-size:10px;padding:5px 6px}}
@media(max-width:720px){.brand small{display:none}.nav{gap:7px}}
@media(max-width:370px){.nav-acts .primary.small{display:none}}

/* v465/portfolio.css */
/* V46.5 – evidence-led editorial layer; preserves the working pixel city */
:root{--v465-ink:#101729;--v465-paper:#fffaf2;--v465-mint:#a5e4cf;--v465-pink:#ff9eaf;--v465-line:#4a5976}
.v465-eyebrow{display:block;color:#9de6d1;font:800 11px/1.6 ui-monospace,Consolas,monospace;letter-spacing:.12em;direction:ltr;unicode-bidi:isolate;text-align:start}
.v465-action{display:inline-flex;justify-content:center;align-items:center;gap:8px;background:#a6e6cc;color:#102238!important;border:1px solid #a6e6cc;border-radius:10px;padding:12px 18px;font-weight:900;font-size:13px;min-height:46px;text-align:center;transition:transform .2s,box-shadow .2s}
.v465-action:hover{transform:translateY(-2px);box-shadow:0 10px 22px #0003}
.v465-action.alt{background:transparent;color:#f7ece7!important;border-color:#7286a3}
.v465-status{display:inline-flex;margin-top:18px;border:1px solid #8bbcaf88;border-radius:9px;padding:7px 11px;font-size:12px;color:#c3eddf;background:#203345}
.v465-tagline{display:flex;flex-wrap:wrap;gap:7px;margin:20px 0}.v465-tagline span{border:1px solid #61718c;background:#142540;color:#e4eaf2;border-radius:7px;padding:7px 9px;font:700 11px/1.4 ui-monospace,Consolas,monospace;direction:ltr;unicode-bidi:isolate}
/* Project detail upgrade */
.v465-case-feature{margin:32px 0 48px;border:1px solid #59677c;border-radius:20px;background:radial-gradient(ellipse at 95% 0,#283450,#111b30 60%);padding:clamp(18px,3vw,38px);color:#f7f0ea;box-shadow:0 20px 60px #0003}
.v465-case-intro{max-width:920px}.v465-case-feature h2{font-size:clamp(25px,3.7vw,45px)!important;line-height:1.5;margin:12px 0}.v465-case-intro>p{font-size:clamp(15px,1.6vw,19px);max-width:72ch;line-height:2.15;color:#d9e4f0}
.v465-realproof{background:#0d1627;padding:clamp(10px,2vw,20px);border:1px solid #415978;border-radius:15px;display:grid;gap:13px;margin-top:23px}
.v465-realproof>a:first-child{display:block;overflow:hidden;border-radius:12px;background:#eedfd7}.v465-realproof>a img{width:100%;height:auto;max-height:570px;object-fit:contain;display:block;transition:transform .25s}
.v465-realproof>a:hover img{transform:scale(1.015)}.v465-realproof>p{font-size:12px;color:#b7c9da;margin:2px 0;line-height:1.9}
.v465-shot-mini{width:min(45%,320px);display:block;border-radius:11px;overflow:hidden}.v465-shot-mini img{width:100%;height:auto;display:block}
.v465-case-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:26px 0}.v465-case-facts article{border:1px solid #4b637f;border-radius:13px;padding:clamp(16px,2vw,24px);background:#202b44}
.v465-case-facts article>span{display:block;color:#9ee7d0;font:800 11px ui-monospace,Consolas,monospace;letter-spacing:.08em;direction:ltr;text-align:right}.v465-case-facts h3{font-size:18px;margin:10px 0}.v465-case-facts p{font-size:13px;color:#cdd9e9;line-height:2;margin:0}
.v465-case-ctas{display:flex;gap:10px;flex-wrap:wrap;margin-top:25px}
.v465-legacy-notes{margin-top:36px;opacity:.88}.v465-legacy-notes .v455-illustration{max-width:680px}
.v465-legacy-notes>.v455-case-proof-head{opacity:.85}
/* Portfolio overview */
.v465-intro{font-size:15px;color:#b8d0e1;max-width:74ch;line-height:2.2;margin:18px 0}
.v465-filter-row{display:flex;gap:9px;flex-wrap:wrap;margin:22px 0}.v465-filter-row button{background:#202d47;border:1px solid #60708b;border-radius:999px;color:#f0f2f5;padding:10px 17px;min-height:44px;font-weight:800}
.v465-filter-row button.active,.v465-filter-row button[aria-pressed=true]{background:#ffe2ce;border-color:#ffe2ce;color:#172039}
.v465-project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:24px 0 50px}
.v465-project-card{border:1px solid #455b79;border-radius:16px;background:#19263f;overflow:hidden;box-shadow:0 12px 35px #0002;transition:transform .25s,border-color .25s}
.v465-project-card:hover{transform:translateY(-5px);border-color:#9de6d3}.v465-project-image{aspect-ratio:1.78;position:relative;background:#cfc8c8;overflow:hidden}
.v465-project-image img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s}.v465-project-card:hover .v465-project-image img{transform:scale(1.025)}
.v465-project-image>span{position:absolute;bottom:11px;right:12px;background:#0d172edc;color:#cbf5e7;font:700 10px ui-monospace,Consolas,monospace;padding:5px 8px;border-radius:5px;direction:ltr}
.v465-project-caption{padding:20px}.v465-project-caption>span{color:#90dec9;font:700 11px ui-monospace,Consolas,monospace;direction:ltr;display:block;text-align:right}
.v465-project-caption h2{font-size:clamp(22px,2.8vw,30px);margin:8px 0 5px;color:#fff6ed}.v465-project-caption h2 b{color:#f7b4a9;float:left}
.v465-project-caption p{color:#bfcdde;font-size:13px;line-height:2;margin:10px 0;min-height:52px}
.v465-project-caption small{color:#edc9b8;line-height:1.7;display:block;font-size:11px}
.v465-project-card[hidden]{display:none!important}.v465-archive-title{font-size:clamp(23px,3vw,34px);margin:36px 0 6px}.v465-archive-desc{color:#bccadd;margin:0 0 28px}
.v465-work-plugin-cta,.v465-endcap{background:#24324d;border:1px solid #657794;border-radius:18px;padding:clamp(20px,3vw,35px);display:flex;align-items:center;justify-content:space-between;gap:25px;margin:50px 0 20px;flex-wrap:wrap}
.v465-work-plugin-cta h2,.v465-endcap h2{font-size:clamp(23px,3vw,34px);margin:7px 0;line-height:1.5}.v465-work-plugin-cta p,.v465-endcap p{margin:7px 0;color:#c9d7e8;line-height:2}.v465-work-plugin-cta>div,.v465-endcap>div{flex:1 1 350px}
/* Featured area on scroll-city homepage */
.v465-home-more{margin-top:25px;border-top:1px solid #dbcfbf;padding:17px 0;display:flex;gap:20px;flex-wrap:wrap;align-items:center;justify-content:space-between}
.v465-home-more a{font-weight:900;color:#294467;border-bottom:2px solid #294467}.v465-home-more span{color:#606e7e;font-size:12px}
.v465-home-plugins{display:grid;grid-template-columns:1fr 1fr;gap:36px;align-items:center;background:#101a30;color:#f8f2ea;padding:clamp(60px,7vw,100px) clamp(18px,6vw,85px)}
.v465-home-plugins>div:first-child{max-width:650px}.v465-home-plugins h2{font-size:clamp(29px,4vw,54px);line-height:1.46;margin:15px 0}.v465-home-plugins h2 em{font-style:normal;color:#ffb29e}.v465-home-plugins p{font-size:15px;line-height:2.2;color:#c4d2e2;margin-bottom:22px}
.v465-mini-modules{display:grid;gap:14px}.v465-mini-modules>div{padding:21px 22px;border:1px solid #445c7a;border-right:5px solid #b9e8d1;border-radius:11px;background:linear-gradient(110deg,#202b48,#122139)}
.v465-mini-modules b{color:#9de6d1;font:800 11px ui-monospace,Consolas,monospace;display:block;direction:ltr;text-align:right}.v465-mini-modules strong{display:block;font-size:21px;margin:7px 0}.v465-mini-modules small{color:#c5cddd;direction:ltr;display:block;text-align:right}
/* New standalone plugins + newly documented projects */
.v465-newpage{background:#0f182a;color:#f4f2ed;font-family:Tahoma,'Vazirmatn','Segoe UI',sans-serif;line-height:1.85;margin:0}
.v465-newpage *{box-sizing:border-box}.v465-newpage a{text-decoration:none;color:inherit}.v465-newpage a:focus-visible,.v465-newpage button:focus-visible{outline:3px solid #a6f1d2;outline-offset:3px}
.v465-skip{position:fixed;top:-100px;right:10px;background:white;color:#111;padding:9px;z-index:999}.v465-skip:focus{top:10px}
.v465-nav{padding:14px clamp(17px,4vw,64px);display:flex;align-items:center;justify-content:space-between;gap:24px;position:sticky;top:0;z-index:100;border-bottom:1px solid #50637d;background:#131d31ee;backdrop-filter:blur(14px)}
.v465-logo{font-weight:900;white-space:nowrap;color:#f6ded5!important}.v465-logo span{color:#fcf3e8}.v465-nav nav{display:flex;gap:clamp(10px,2.2vw,30px);flex-wrap:wrap}.v465-nav nav a{font-size:13px;color:#d3e1ec}.v465-nav nav a:hover{color:#9fe9d1}
.v465-main{max-width:1220px;margin:auto;padding:0 25px 75px;min-height:80vh}.v465-hero{padding:clamp(50px,7vw,100px) 0 35px;max-width:1100px}
.v465-hero h1{font-size:clamp(35px,6vw,78px);line-height:1.36;letter-spacing:-.04em;margin:15px 0}.v465-hero h1 em{font-style:normal;color:#f5a79f}.v465-hero p{font-size:clamp(16px,2vw,21px);line-height:2;max-width:70ch;color:#c9d9e8}
.v465-plugin-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:22px 0 55px}.v465-plugin-card{display:block;padding:27px 24px;border:1px solid #617797;border-radius:14px;background:#1c2a44;transition:transform .2s,border .2s}
.v465-plugin-card:hover{transform:translateY(-5px);border-color:#a6edcd}.v465-plugin-glyph{font-size:35px;color:#adf0d8}.v465-plugin-card h2{font-size:24px;margin:14px 0}.v465-plugin-card p{color:#c5d4e5;font-size:13px;line-height:2.1;min-height:120px}.v465-plugin-card small{font-size:12px;color:#f4bba5}
.v465-end{border-top:1px solid #3e5072;padding:30px clamp(20px,4vw,65px);display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;color:#adbed4}.v465-note{color:#e4c9b9;line-height:2.2;font-size:13px;margin:20px 0}
/* Additional consistent RTL typographic rhythm */
[dir=rtl] .v465-case-feature,[dir=rtl] .v465-newpage,[dir=rtl] .v465-work-plugin-cta{text-align:right}
@media(max-width:980px){.v465-plugin-grid{grid-template-columns:1fr 1fr}.v465-home-plugins{grid-template-columns:1fr;gap:30px}.v465-nav{flex-direction:column;gap:10px}.v465-nav nav{justify-content:center}}
@media(max-width:680px){.v465-project-grid,.v465-case-facts,.v465-plugin-grid{grid-template-columns:1fr}.v465-realproof{margin-top:12px}.v465-project-caption p{min-height:0}.v465-case-feature{padding:16px}.v465-case-feature h2{font-size:25px!important}.v465-nav nav{gap:12px}.v465-nav nav a{font-size:11px}.v465-work-plugin-cta,.v465-endcap{align-items:stretch}.v465-work-plugin-cta .v465-action,.v465-endcap .v465-action{width:100%}.v465-shot-mini{width:80%}}
@media(prefers-reduced-motion:reduce){.v465-project-card,.v465-action,.v465-project-image img,.v465-plugin-card{transition:none!important}}

.v465-room-proof{border:1px solid #667c97;border-radius:13px;overflow:hidden;background:#17243e;margin:15px 0 6px}.v465-room-proof img{display:block;width:100%;max-height:215px;object-fit:cover}.v465-room-proof figcaption{padding:8px 12px;font-size:11px;color:#cfdded}.room-info .room-object-list{gap:9px}.room-info #roomDescription{font-size:14px;line-height:2}

.v465-archive-panel{border:1px solid #556985;border-radius:13px;background:#16233b;margin:18px 0 38px;padding:15px}.v465-archive-panel summary{cursor:pointer;font-weight:900;color:#dff1eb;padding:12px;min-height:44px}.v465-archive-panel[open] summary{margin-bottom:16px;border-bottom:1px solid #586981}.v465-archive-panel .card-grid{margin:8px 0 15px}

.v465-technical-notes{border:1px solid #435a7a;border-radius:13px;margin:30px 0;padding:14px;background:#16243e}.v465-technical-notes summary{cursor:pointer;font-weight:800;color:#d7e8e8;padding:9px 5px}.v465-technical-notes[open] summary{border-bottom:1px solid #536682;margin-bottom:22px}.v465-technical-notes .v455-case-proof{margin-top:20px}

/* v466/style.css */
/* V46.6 — bespoke scene-art, warm cinematic restraint, readable RTL */
:root{--v466-gold:#f7c68a;--v466-mint:#b9ebd4;--v466-bg:#111a2c}
.world-sticky{background:linear-gradient(140deg,#142641,#0f172a)}
.hero{background:linear-gradient(140deg,rgba(15,23,43,.96),rgba(18,32,53,.9));border:1px solid #5f7791;box-shadow:0 25px 65px #07101ab5;backdrop-filter:blur(8px)}
.hero h1{font-size:clamp(29px,3vw,48px);line-height:1.52}
.hero p{line-height:2.05;max-width:39ch;font-size:clamp(12px,1.1vw,15px)}
.world-tools{gap:7px}.world-tools button,.progress-hud,.context{backdrop-filter:blur(8px);background:#0b1728da}
.building-button{border:1px solid #afdbd1;box-shadow:0 6px 0 #071321,0 0 22px #081522a8;transition:transform .2s,background .2s}
.building-button:hover,.building-button:focus-visible{transform:translate(-50%,-3px);background:#ebd3bd;color:#17243d}
.room{background:linear-gradient(125deg,#101a30,#273950)}
.room-scene{background:#101b30}.room-info{background:linear-gradient(160deg,#15253e,#111a2c)}
.room-objects button,.room-object-list button{min-height:42px}
.room-top strong{letter-spacing:.035em}
.v466-casestudy{margin:28px 0;padding:clamp(16px,3vw,33px);border:1px solid #607891;border-radius:16px;background:#192944;color:#f1f0ec}
.v466-casestudy h2{font-size:clamp(23px,3vw,35px);margin:4px 0 15px;line-height:1.6}
.v466-casestudy p{font-size:14px;line-height:2.1;color:#d6e0e9}
.v466-case-flow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0}
.v466-case-flow article{padding:18px 12px;border:1px solid #6a7d97;background:#243653;border-radius:12px;min-height:112px}
.v466-case-flow b{display:block;color:#b9f4d9;font:800 12px ui-monospace,monospace;margin-bottom:12px}
.v466-case-flow strong{font-size:14px;line-height:1.7}
.v466-case-note{border-right:3px solid #f4bd9a;padding:12px 16px;background:#15243d;color:#f1dccb!important}
.v466-access{font-size:12px;color:#b9f4d9}
@media(max-width:900px){.v466-case-flow{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.hero{max-width:min(94vw,410px);padding:19px 18px}.hero h1{font-size:clamp(25px,8vw,35px)}.hero p{font-size:12px}.v466-case-flow{grid-template-columns:1fr 1fr}.v466-casestudy{margin:14px 0}.world-tools button{min-height:40px}}
@media(prefers-reduced-motion:reduce){.building-button{transition:none}.hero{backdrop-filter:none}}
/* Mobile art-first composition: prevent intro and controls from hiding the game. */
@media(max-width:720px){
 .hero{top:11px;right:10px;width:min(284px,calc(100vw - 20px));max-height:225px;overflow:hidden;padding:12px 15px 13px;border-radius:13px}
 .hero h1{font-size:clamp(22px,6.8vw,28px);line-height:1.46;margin:3px 0 5px}
 .hero p{font-size:11px;line-height:1.75;margin:3px 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
 .hero .hero-hint,.hero .hero-buttons .secondary{display:none}
 .hero .hero-buttons{margin-top:7px;gap:4px}.hero .hero-buttons .primary{font-size:11px;padding:7px 11px;min-height:34px}
 .context{right:9px;bottom:116px;width:min(245px,calc(100vw - 100px));max-height:65px;padding:7px 9px;overflow:hidden}
 .context p{font-size:10px;line-height:1.45}
 .world-tools{left:8px;bottom:15px;gap:4px;max-width:calc(100% - 177px)}
 .world-tools button{font-size:9px;min-height:34px;padding:5px 6px}
 .progress-hud{bottom:14px;max-width:148px;min-width:138px}
}
@media(max-width:370px){.hero{max-width:260px;max-height:213px}.hero h1{font-size:22px}.hero .hero-buttons .primary{font-size:10px}.context{width:210px}}

/* v467/style.css */
/* V46.7: art-directed interface + educational demos. Never hide actual professional content. */
:root{--v467-ink:#0d162a;--v467-muted:#bac9dc;--v467-coral:#ffc3a4;--v467-mint:#a4efdc}
.hero{border-color:#7c96a7;box-shadow:0 24px 80px #071122ad;background:linear-gradient(125deg,rgba(11,22,39,.95),rgba(21,37,58,.87))}
.hero h1{letter-spacing:-.012em}.hero p{color:#e3eaf4}
.room-info{scrollbar-color:#82b6ba #15243b}.room-info h2{line-height:1.55}
.room-object-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.room-object-list button{padding:10px;border-radius:8px}
.v467-room-experience{direction:rtl;border:1px solid #536c86;border-radius:14px;padding:14px;margin:16px 0;background:#0d1930;color:#f6f0e8}
.v467-room-experience h3{font-size:16px;line-height:1.6;margin:0 0 5px;color:#f9e2c4}.v467-room-experience p{line-height:1.8}
.v467-sub{font-size:12px;color:#c6d9e8;margin:0 0 14px}.v467-actions{display:flex;gap:6px;flex-wrap:wrap;margin:9px 0}
.v467-button{font:inherit;font-size:12px;line-height:1.5;background:#273952;color:#eaf2ff;border:1px solid #7892a9;padding:8px 11px;border-radius:8px;cursor:pointer;min-height:40px}
.v467-button:hover,.v467-button:focus-visible{border-color:#afe9d3;background:#35516a;outline-offset:3px}.v467-button.primary{background:#b4efd2;color:#132c30;font-weight:800}
.v467-button.selected{background:#fac8a8;color:#1b293a;border-color:#fac8a8}
.v467-steps{display:grid;grid-template-columns:1fr;gap:5px}.v467-step{display:flex;align-items:center;justify-content:space-between;border:1px solid #465a75;border-radius:6px;padding:8px 10px;font-size:12px;color:#becce0}.v467-step.active{color:#fff2e2;border-color:#ffcf9d}.v467-step.done{color:#baf4d8;border-color:#52967e}
.v467-feedback{border-right:3px solid #8fb2cd;background:#223149;padding:10px;margin:9px 0;border-radius:5px;font-size:12px;line-height:1.9}.v467-feedback[data-status=success]{border-color:#8aebba}.v467-feedback[data-status=warning]{border-color:#f7ba8b}
.v467-projects{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.v467-projects.timeline{grid-template-columns:1fr}
.v467-project{min-height:75px;border-radius:8px;border:1px solid #607c94;background:#202f48;padding:8px;display:grid;gap:3px;font-size:12px}.v467-project span{color:#f6cb9c}.v467-project small{color:#bdd2d9}
.v467-route{padding:14px;margin:12px 0;color:#c0f6eb;direction:ltr;text-align:center;font:700 11px/1.9 ui-monospace,monospace;border:1px dashed #73a5b0;background:#12283c;border-radius:8px}
.v467-disclaimer{font-size:10px;color:#9db2c8;margin:16px 0 0;line-height:1.7}
@media(max-width:900px){.room-object-list{grid-template-columns:1fr}}
@media(max-width:700px){.room-info{padding:13px}.v467-room-experience{padding:10px;margin:8px 0}.v467-room-experience h3{font-size:14px}.v467-button{min-height:38px;font-size:11px}.hero{max-width:min(95vw,420px)}}
@media(prefers-reduced-motion:reduce){.v467-button{transition:none}}

/* Arcade Pro — strong visual hierarchy, readable keyboard/touch hints and restrained motion */
.arcade-tabs{gap:9px;flex-wrap:wrap}.arcade-tabs [role=tab][aria-selected=true]{box-shadow:0 5px 0 #082334,0 0 0 2px #99eedf inset}
.tile-grid{border:5px solid #1d3552;border-radius:12px;padding:9px;background:#16243f!important;box-shadow:0 20px 45px #070e27a8}
.tile-grid .tile.filled{box-shadow:inset 0 -5px #10273d66;animation:v467-arrive .15s ease-out both}
@keyframes v467-arrive{from{transform:scale(.94);opacity:.65}to{transform:scale(1);opacity:1}}
.bug-grid button.v467-scanned{outline:3px solid #f3dc82;outline-offset:-4px;background:#495c75;color:#fff6ca}
.v467-scan-status{font-size:12px;color:#c6def0;line-height:1.9;margin:10px 0 14px}
.v467-scan{border-color:#f8d493!important;color:#ffe8b2!important}
.memory-card.open{background:#ae9de4!important;color:#172038!important}.memory-card.matched{background:#9ee4c3!important;color:#14273b!important}
.ship-garage{border-color:#95acc0;box-shadow:0 25px 80px #10172a91}.ship-progress{gap:7px}.ship-milestone.current{background:#262c51;border-radius:9px 9px 0 0}
@media(prefers-reduced-motion:reduce){.tile-grid .tile.filled{animation:none!important}}
/* Keep the city, rather than the intro card, the first thing people see on phones. */
@media(max-width:720px){
  .hero{top:9px!important;right:9px!important;left:auto!important;width:min(250px,calc(100vw - 18px))!important;max-height:194px!important;padding:11px 13px!important;overflow:hidden}
  .hero h1{font-size:clamp(21px,6vw,25px)!important;line-height:1.35!important;margin:3px 0 5px!important}
  .hero p{font-size:10.5px!important;line-height:1.65!important;margin:4px 0!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .hero .hero-buttons{margin-top:5px!important}
  .hero .hero-buttons a,.hero .hero-buttons button{min-height:32px!important;font-size:10px!important;padding:6px 9px!important}
  .hero .hero-hint{display:none!important}
}

/* v468/style.css */
/* V46.8: calmer readability; richer room UI. All copy remains real DOM text. */
:root{--v468-sand:#f5e8cf;--v468-ink:#0d1d33;--v468-turquoise:#9bf1df;--v468-coral:#f5a8ae}
.room-info{background:linear-gradient(170deg,#13243b,#0e182e);padding:clamp(16px,2vw,28px)!important;scrollbar-color:#86b9b2 #172940}
.room-info>h2{font-size:clamp(23px,2.1vw,31px);line-height:1.55;color:#fff3df;margin:8px 0 7px}
.room-info>p{font-size:14px;line-height:2.05;color:#d6e3ed}
.room-layout{grid-template-columns:minmax(0,1.55fr) minmax(340px,1fr)}
.room-scene{background:#0d182b}.room-scene canvas{image-rendering:pixelated}
.room-object-list button{transition:background .17s ease,transform .17s ease;border-color:#678092!important;font-size:12px;line-height:1.7}
.room-object-list button:hover{transform:translateY(-2px);background:#34516b}
.v468-room-quest{margin:17px 0;padding:18px;background:#10263c;border:1px solid #6a929a;border-radius:14px;color:#e9f6f3}
.v468-q-kicker{color:#a1efdd;font-size:10px;font-weight:800;letter-spacing:1px}
.v468-q-header h3{font-size:19px;color:#ffeaca;line-height:1.55;margin:7px 0 5px}
.v468-q-header p{font-size:12px;color:#c7dbe5;line-height:1.9;margin:3px 0 13px}
.v468-q-meter{height:6px;border-radius:10px;background:#2c4860;overflow:hidden;margin:12px 0 15px}.v468-q-meter span{display:block;height:100%;background:linear-gradient(90deg,#a2f2d2,#f2bd93);transition:width .2s ease}
.v468-q-cards{display:grid;grid-template-columns:1fr;gap:9px}.v468-q-card{background:#1e344c;border-radius:10px;padding:12px;border:1px solid #536e83;display:grid;gap:6px}.v468-q-card.completed{border-color:#83ceb4;background:#183f48}
.v468-q-step{display:flex;justify-content:space-between;align-items:center;gap:8px}.v468-q-step span{font:700 11px ui-monospace,monospace;color:#a7efe2}.v468-q-step strong{flex:1;font-size:13px;color:#fff0d7}.v468-q-step b{color:#a1ecce}
.v468-q-card p{font-size:12px;line-height:1.85;color:#d3e2ec;margin:0}
.v468-q-action{justify-self:start;background:#a4efdb;border:1px solid #d5f7e4;color:#152b37;padding:8px 14px;border-radius:7px;cursor:pointer;font-size:12px;font-weight:700;font-family:inherit;min-height:42px}
.v468-q-action:hover,.v468-q-action:focus-visible{background:#e7f7d4;outline:2px solid #fce5af;outline-offset:2px}
.v468-q-bottom{margin-top:13px;display:grid;gap:10px}.v468-q-feedback{font-size:12px;color:#d8ebed;line-height:1.9;margin:0}
.v468-q-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;background:#f5b9a0;border-radius:8px;padding:10px 13px;color:#2b2638!important;font-weight:800;text-decoration:none;font-size:13px}
.v468-game-links{display:flex;flex-wrap:wrap;gap:8px}.v468-game-links a{border:1px solid #6a98ab;padding:8px 12px;border-radius:7px;color:#c9f1f0;text-decoration:none}
#roomEvidence img{max-height:150px;object-fit:cover;object-position:top;max-width:100%}
@media(max-width:1050px){.room-layout{grid-template-columns:1fr}.room-info{max-height:none!important}.room-scene{min-height:310px}}
@media(max-width:700px){.room-scene{min-height:250px}.room-info{padding:13px!important}.v468-room-quest{padding:12px;margin:10px 0}.room-pad{max-width:100%}.v468-q-card{padding:11px}.room-info>h2{font-size:21px}}
@media(prefers-reduced-motion:reduce){.v468-q-meter span,.room-object-list button{transition:none!important}}

/* Ship It! Bonus incident response, remains optional after main game */
.ship-incident-lab{margin:22px 0 12px;padding:18px;border:1px solid #7196a1;background:linear-gradient(145deg,#12283d,#202c4b);border-radius:13px;display:grid;gap:11px}
.ship-incident-kicker{color:#a8f0d4;font:800 11px ui-monospace,monospace;letter-spacing:1px}
.ship-incident-lab h4{font-size:19px;color:#ffe6ba;margin:0}.ship-incident-lab>p{font-size:12px;line-height:1.9;color:#d3e6ef;margin:0}
.ship-incident-card{border:1px solid #506b86;background:#1c314a;padding:13px;border-radius:9px}
.ship-incident-card>strong{font-size:14px;color:#fff0db}.ship-incident-card>p{color:#d5e0eb;font-size:12px;line-height:1.9}
.ship-incident-choices{display:flex;flex-wrap:wrap;gap:7px}.ship-incident-choices button{white-space:normal;min-height:42px;padding:8px 12px;border:1px solid #83a6bc;background:#243f58;color:#f7f0df;border-radius:6px;cursor:pointer}
.ship-incident-choices button.selected{background:#e6c79e;color:#232d3c}
.ship-incident-card .ship-incident-correct{color:#a0f3c7}.ship-incident-card .ship-incident-wrong{color:#ffb2a2}
.ship-incident-score{font-weight:800;color:#b8f4dc!important}

/* Custom functional stations for the fourteen interiors */
.v468-interactive{border-radius:14px;border:1px solid #6688a2;background:#1b2c45;padding:16px;margin:16px 0;display:grid;gap:10px;color:#eef6f6}
.v468-interactive[hidden]{display:none!important}
.v468-lab-header h3{font-size:18px;line-height:1.6;margin:5px 0;color:#ffdec4}.v468-lab-header p{line-height:1.8;font-size:12px;color:#c4dfe7;margin:5px 0}
.v468-lab-button,.v468-lab-link{min-height:43px;display:inline-flex;align-items:center;justify-content:center;background:#2b4860;color:#f0fbf9;border:1px solid #8ac4c6;padding:9px 13px;border-radius:7px;cursor:pointer;text-align:center;text-decoration:none;font-size:12px;line-height:1.6}
.v468-lab-link{background:#fad0a8;color:#14263a!important;border-color:#ffdcb8;font-weight:800}
.v468-lab-button:hover,.v468-lab-button:focus-visible,.v468-lab-link:focus-visible{outline:2px solid #f5d0a7;outline-offset:3px;background:#3e6479}
.v468-lab-choices{display:flex;flex-wrap:wrap;gap:7px}.v468-lab-button[aria-pressed=true]{background:#a9eed6;color:#102637}
.v468-lab-output{padding:13px;background:#253e57;border-radius:7px;color:#dff2f3;font-size:12px;line-height:1.9;border-right:3px solid #b2f0cf;margin:0}
.v468-architecture{direction:ltr;text-align:left;overflow-wrap:anywhere;padding:15px;border:1px dashed #80c0c5;font:700 11px/2 ui-monospace,monospace;color:#a7efe2;background:#12273d;border-radius:9px}
.v468-lab-select,.v468-lab-textarea{width:100%;background:#e9f2ec;color:#173044;padding:12px;border:1px solid #6ca6af;border-radius:7px;font:inherit;font-size:13px}.v468-lab-textarea{min-height:90px}
.v468-ui-preview{background:#f6f1e8;color:#172944;padding:20px;border-radius:9px;display:grid;gap:8px}.v468-ui-preview>p{margin:0!important;color:#283d52!important}.v468-ui-preview>span{background:#1c4264;color:#fff;padding:10px;justify-self:start;border-radius:5px}.v468-ui-preview.low-contrast{background:#e0e1e1;color:#b1b5b8}.v468-ui-preview.low-contrast>p{color:#b3b6b9!important}.v468-ui-preview.low-contrast>span{background:#c1c8ce;color:#b4b9bd}
@media(max-width:700px){.room-scene{height:calc(100vw * .63 + 40px);min-height:0!important;max-height:34dvh}.v468-interactive{padding:12px}.v468-lab-header h3{font-size:16px}}

/* Entering the city: story card politely clears the scene, while the primary nav remains available. */
.world-sticky .hero{transition:opacity .35s ease,transform .35s ease}
.world-sticky.v468-exploring .hero{opacity:0;transform:translate3d(30px,-8px,0) scale(.96);pointer-events:none}
@media(min-width:1100px){.world-sticky .hero{width:min(370px,30vw)!important}}
@media(prefers-reduced-motion:reduce){.world-sticky .hero{transition:none!important}}

/* v469/style.css */
/* V46.9: editorial layer over pixel world; three-mode rooms; explicit interaction feedback. */
:root{--v469-paper:#fff0dc;--v469-turquoise:#99ead9;--v469-dusty:#f5aaad;--v469-ink:#0e1b2f}
.nav .brand small{letter-spacing:.08em}
.room-info{box-shadow:inset 3px 0 0 #718da0;scrollbar-width:thin}
.room-top{background:linear-gradient(90deg,#101b34,#263a57);border-bottom:1px solid #6b879b}
.room-info>h2{margin-bottom:6px!important}
.v469-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:16px 0 12px;padding:5px;background:#0c172c;border-radius:11px;border:1px solid #527083}
.v469-tabs button{font:700 13px/1.8 inherit;cursor:pointer;padding:9px 7px;min-height:43px;border:1px solid transparent;border-radius:8px;color:#c7d7e7;background:transparent}
.v469-tabs button[aria-selected=true]{background:#a5e6d5;color:#12263a;border-color:#bdf6e6;box-shadow:0 3px 0 #335d65}
.v469-tabs button:focus-visible{outline:2px solid #f7cb9e;outline-offset:2px}
.v469-tab-hidden{display:none!important}
.v469-signature{color:#e9f0f7;border:1px solid #587a89;border-radius:12px;background:linear-gradient(160deg,#182f46,#12243a);padding:17px;display:grid;gap:12px;margin:0 0 14px}
.v469-signature[hidden]{display:none!important}
.v469-signature h3{font-size:18px;line-height:1.6;margin:0;color:#f8dabb}
.v469-signature h4{font-size:12px;color:#b5e2dc;margin:6px 0 0}
.v469-kicker{font:800 10px ui-monospace,monospace;color:#a4ede0;letter-spacing:1px}
.v469-lead{font-size:12px;line-height:1.95;color:#c6dce8;margin:0}
.v469-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.v469-btn{border:1px solid #708da0;border-radius:8px;background:#213b55;color:#f9f1e4;min-height:43px;padding:9px 10px;cursor:pointer;font:700 12px/1.5 inherit;transition:transform .15s ease,background .15s ease}
.v469-btn:hover{background:#345874;transform:translateY(-1px)}.v469-btn:focus-visible{outline:2px solid #ffcf92;outline-offset:2px}
.v469-btn:disabled{opacity:.45;cursor:not-allowed;transform:none}.v469-btn.v469-primary{background:#a8eadb;color:#143143;border-color:#cef5e6}
.v469-item{display:flex;align-items:center;justify-content:center;gap:4px;text-align:center;min-height:64px}
.v469-checkpoints{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;direction:rtl}
.v469-checkpoints span{padding:7px 4px;font-size:11px;text-align:center;color:#99aebf;border-bottom:3px solid #40536a}
.v469-checkpoints .done{color:#b7f5df;border-color:#9fedda}.v469-checkpoints .current{color:#fbe0b3;border-color:#f2c68c}
.v469-actions{display:flex;flex-wrap:wrap;gap:7px}.v469-response{margin:0!important;padding:10px;border:1px solid #52768a;background:#233d56;border-radius:8px;color:#d7e6f0;font-size:12px;line-height:1.7}
.v469-log{margin:0;padding:12px 23px 12px 10px;background:#0e1d33;border-radius:9px;border:1px solid #38586d;max-height:160px;overflow:auto;color:#cce4e6;display:grid;gap:5px;font:12px/1.8 inherit}
.v469-signature-links{display:flex;flex-wrap:wrap;gap:8px}
.v469-signature-links a{display:inline-flex;padding:9px 12px;min-height:43px;align-items:center;background:#f2b9a4;color:#172437;text-decoration:none;border-radius:7px;font-weight:800;font-size:12px}
.v469-filter-bar{display:flex;gap:8px}.v469-filter-bar input,.v469-filter-bar select{width:50%;min-width:0;background:#f6f0e6;color:#1e3144;border:1px solid #91b4ba;border-radius:8px;padding:10px;font:inherit;font-size:12px}
.v469-filter-count{color:#bbebdd;font-size:11px}.v469-architecture-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:330px;overflow:auto}
.v469-arch-card{min-height:90px;padding:12px;display:flex;flex-direction:column;gap:10px;justify-content:space-between;background:#f1ebdf;color:#1d2d3b;border:1px solid #a5b8b6;border-radius:4px;direction:ltr;text-align:left}
.v469-arch-card strong{font:800 12px/1.35 ui-sans-serif,Arial;overflow-wrap:anywhere}.v469-arch-card span,.v469-arch-card small{font:9px ui-monospace,monospace;color:#6b7a7b}
.v469-choice-grid{display:flex;flex-wrap:wrap;gap:7px}.v469-choice-grid .selected,.v469-choice-grid [aria-pressed=true]{background:#b7f0df;color:#163047}
.v469-router-result{background:#0e283d;border-right:3px solid #87ded4;color:#a5f4df;padding:12px;font:800 12px ui-monospace,monospace;overflow-wrap:anywhere}
/* Reduce visual clutter; only one panel receives the user's focus at once. */
.room-info .v467-room-experience,.room-info .v468-interactive,.room-info .v468-room-quest{margin-top:8px}
.room-info>.v465-room-proof{max-width:100%}
@media(max-width:800px){.v469-signature{padding:12px}.v469-tabs{margin:10px 0}.v469-tabs button{font-size:12px;padding:7px 4px}.v469-products{grid-template-columns:1fr}.v469-architecture-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.v469-btn{transition:none!important}}
/* Letterboxed room art now extends the corresponding interior under a gentle vignette. */
.room-scene{background:linear-gradient(180deg,#253952,#112138)}
.v469-tabs button:hover:not([aria-selected=true]){background:#223b56}
@media(max-width:700px){
 .room-info>h2{font-size:20px}
 #v469Tabs{position:sticky;top:0;z-index:2}
 .v469-signature{gap:10px}
}

/* v47/signature.css */
/* V47 — cinematography and cleaner narration, layered over existing world. */
:root{--v47-cream:#f8e9d8;--v47-turquoise:#a7f5d8;--v47-blush:#f7a6b3}
#v47-ambience{position:absolute;inset:0;width:100%;height:100%;z-index:1;pointer-events:none;opacity:.85;mix-blend-mode:screen}
.world-sticky>.lighting{z-index:2;opacity:.84}
.world-sticky>.hero,.world-sticky>.world-tools,.world-sticky>.context,.world-sticky>.world-objects,.world-sticky>.progress-hud,.world-sticky>.city-map,.world-sticky>.interact{z-index:4}
.world-sticky>.world-objects{z-index:3}
.v47-story{position:absolute;z-index:6;left:clamp(16px,4vw,64px);top:66px;display:flex;align-items:flex-start;gap:13px;background:linear-gradient(132deg,#0e2037f2,#1b2c44f0);border:1px solid #7ba3ae;border-right:3px solid var(--v47-turquoise);border-radius:14px;padding:15px;width:min(332px,calc(100vw - 30px));box-shadow:0 16px 42px #030b1e91;backdrop-filter:blur(12px);transition:transform .35s ease,opacity .3s ease}
.v47-story-index{display:flex;flex-direction:column;align-items:center;line-height:1.2;color:#a7eedb;min-width:30px;font-family:ui-monospace,monospace}
.v47-story-index span:first-child{font-weight:900;font-size:25px;color:#f9dcc0}.v47-story-index span:last-child{font-size:10px;color:#a2b5c4}
.v47-story-content{flex:1;min-width:0}.v47-story-eyebrow{color:#b1d8df;letter-spacing:.06em;font:800 9px Arial,sans-serif}.v47-story-content p{color:#f2f2f1;font-size:12px;line-height:1.95;margin:7px 0 8px}
.v47-story-actions{display:flex;gap:7px;flex-wrap:wrap}.v47-story-actions button,.v47-story-actions a{font-size:11px;border-radius:7px;border:1px solid #738f9e;padding:6px 10px;color:#e8f8f7;background:#2a455e;min-height:33px;font-weight:800}.v47-story-actions a{background:#b7f2db;color:#18283b;border-color:#b7f2db}
.v47-story-close{border:none;background:transparent;color:#e5e6e5;font-size:21px;padding:0 2px;line-height:1.2}
.v47-story-collapsed,.v47-story-dismissed{opacity:0;transform:translateY(-12px) scale(.97);pointer-events:none}
.v47-chapter{position:absolute;z-index:5;left:50%;top:28%;transform:translate(-50%,20px);pointer-events:none;opacity:0;display:flex;align-items:center;gap:17px;border-top:1px solid #b2f9db;border-bottom:1px solid #b2f9db;padding:16px 24px;background:#0a182cc2;box-shadow:0 14px 40px #0009;transition:transform .5s ease,opacity .4s ease;white-space:nowrap}
.v47-chapter-visible{opacity:1;transform:translate(-50%,0)}#v47-chapter-mark{font:900 35px ui-monospace,monospace;color:#f6baad}
.v47-chapter strong{display:block;font-size:20px;color:#fff1e4}.v47-chapter small{font:700 10px ui-monospace,monospace;letter-spacing:2px;color:#9ee6d8}
.v47-director{position:absolute;z-index:40;inset:0;pointer-events:none;overflow:hidden;opacity:0}.v47-director-iris{position:absolute;inset:0;background:radial-gradient(ellipse at 50% 52%,transparent 25%,#061125c4 78%);transform:scale(1.12)}.v47-director strong{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font-size:clamp(17px,2.4vw,30px);white-space:nowrap;max-width:90vw;overflow:hidden;text-overflow:ellipsis;color:#fff4e4;text-shadow:0 4px 15px #000;font-weight:900;letter-spacing:.03em}
.v47-director-active{animation:v47Curtain .82s ease-out both}@keyframes v47Curtain{0%{opacity:0}20%{opacity:.94}64%{opacity:.84}100%{opacity:0}}
.v47-help-btn{position:absolute;right:15px;top:84px;z-index:7;background:#253b52e8;color:#f1f8f1;border:1px solid #8ab5b7;border-radius:8px;font-size:11px;font-weight:800;padding:7px 11px;min-height:36px}
.v47-help{position:absolute;right:15px;top:127px;z-index:12;width:min(360px,calc(100vw - 30px));background:#0e1b30f7;border:1px solid #afd6cb;border-radius:13px;padding:17px;box-shadow:0 30px 65px #000b;color:#eef6f2}
.v47-help-head{display:flex;gap:12px;align-items:center;justify-content:space-between}.v47-help-head strong{font-size:12px;color:#aee7d7}.v47-help-head button{color:#fff;background:#2d3d55;border:1px solid #73849f;border-radius:6px;padding:2px 10px;font-size:22px}
.v47-help p{font-size:12px;line-height:2;color:#d9e5e9}
/* give the world space to breathe; decrease the always-on labels */
.world-objects button{background:#14233edc!important;border-color:#8ac9bc!important;box-shadow:0 4px 16px #07112588!important}
.world-objects button:hover{background:#c6f3e1!important;color:#101c30!important}
.world-tools button{backdrop-filter:blur(10px)}
.progress-hud{box-shadow:0 8px 30px #07112580}
@media(max-width:1100px){.v47-story{top:65px;max-width:290px}.v47-help-btn{top:66px}}
@media(max-width:720px){
 .v47-story{right:10px;left:auto;top:190px;max-width:calc(100vw - 20px);padding:10px 11px;gap:8px}
 .v47-story-index span:first-child{font-size:19px}.v47-story-content p{font-size:10px;line-height:1.6;margin:4px 0}.v47-story-actions a,.v47-story-actions button{font-size:10px;padding:5px 7px;min-height:31px}
 .v47-chapter{top:39%;max-width:90vw;white-space:normal;padding:11px 14px}.v47-chapter strong{font-size:14px}.v47-chapter small{font-size:8px}#v47-chapter-mark{font-size:24px}
 .v47-help-btn{right:auto;left:9px;top:68px;padding:6px 9px;font-size:10px}
 .v47-help{top:109px;right:8px}
 .world-objects button{font-size:10px!important;padding:6px 7px!important;min-width:50px!important}
 #v47-ambience{opacity:.47}
}
@media(prefers-reduced-motion:reduce){.v47-story,.v47-chapter{transition:none!important}.v47-director-active{animation:none!important;opacity:0!important}}

/* Chapter-specific atmosphere, staged like a dusk-to-dawn visual story. */
.world-sticky[data-v47-chapter="0"]>.lighting{background:linear-gradient(180deg,#0d13331a 0%,#121a3433 100%),linear-gradient(90deg,#111c3555,transparent 28%,transparent 70%,#111c3555)}
.world-sticky[data-v47-chapter="1"]>.lighting{background:linear-gradient(180deg,#4d224526,transparent 52%,#181a393b),linear-gradient(90deg,#150d2959,transparent 24%,transparent 74%,#150d2959)}
.world-sticky[data-v47-chapter="3"]>.lighting{background:linear-gradient(180deg,#1c607f16,#081d322f),linear-gradient(90deg,#0525346e,transparent 26%,transparent 72%,#0525346e)}
.world-sticky[data-v47-chapter="5"]>.lighting{background:linear-gradient(180deg,#5d164d20,#10152f46),linear-gradient(90deg,#2b0d366b,transparent 23%,transparent 77%,#2b0d366b)}
@media(max-width:720px){.v47-story{top:145px;max-width:calc(100vw - 20px)}.v47-chapter{top:44%}}
/* The independent room keeps keyboard focus and page semantics while entering. */
#room:not([hidden]){animation:v47RoomEnter .48s cubic-bezier(.22,1,.36,1) both}
@keyframes v47RoomEnter{from{opacity:0;transform:translateY(12px) scale(.994)}to{opacity:1;transform:translateY(0) scale(1)}}
#room .room-scene{box-shadow:inset 0 0 45px #060e1b55}
@media(prefers-reduced-motion:reduce){#room:not([hidden]){animation:none!important}}

/* v471/style.css */
/* V47.1: the world is the hero. Tools are quiet, NPC conversation is purposeful. */
.v471-npc{position:absolute;z-index:8;bottom:110px;left:clamp(14px,5vw,75px);width:min(435px,calc(100vw - 32px));background:#122940f5;border:1px solid #80d4cf;border-radius:14px;padding:14px;display:flex;gap:13px;box-shadow:0 19px 55px #020d21b0;color:#f9f0e5;direction:rtl;backdrop-filter:blur(13px)}
.v471-npc[hidden]{display:none}.v471-portrait{width:52px;min-width:52px;height:56px;border-radius:9px;background:linear-gradient(160deg,#edb18e,#bd78a8);color:#19243a;font-size:29px;display:grid;place-items:center;border:2px solid #e9d7c2}
.v471-dialogue{flex:1;min-width:0}.v471-dialogue strong{display:block;font-size:13px;color:#9df2db}.v471-dialogue p{font-size:12px;line-height:2;margin:4px 0 9px;color:#f5f2e9}.v471-dialogue a{color:#112337;background:#b2edd5;padding:7px 12px;border-radius:7px;font-weight:800;font-size:11px;display:inline-flex}
#v471-close{align-self:start;min-width:32px;height:32px;border:1px solid #879aaa;background:#243b52;color:#fff;border-radius:6px;font-size:19px}
.world-sticky .hero{max-width:390px;box-shadow:0 18px 58px #05112780}
.world-sticky .world-tools{background:#0f2039bb;backdrop-filter:blur(14px)}
#room .room-top-actions button,#room .room-controls button{min-height:40px}
#room .v469-tabs button:focus-visible,.v471-npc a:focus-visible{outline:3px solid #f2c78a;outline-offset:3px}
@media(max-width:720px){
 .v471-npc{left:8px;right:8px;bottom:118px;width:auto;padding:10px;gap:8px}.v471-portrait{width:35px;min-width:35px;height:40px;font-size:21px}.v471-dialogue p{font-size:11px;line-height:1.7}.v471-dialogue a{font-size:10px;padding:6px 9px}
 .world-sticky .hero{max-width:calc(100vw - 22px)}
 #room .room-top{padding:9px 11px}
 #room .room-top-actions button{font-size:11px}
}
@media(prefers-reduced-motion:reduce){.v471-npc{transition:none!important;animation:none!important}}

.v471-room-guide{margin:8px 0 12px;border-inline-start:3px solid #f5b8a9;border-radius:8px;background:#152c42;padding:10px 12px;color:#f4f0e8;display:grid;gap:7px}
.v471-room-guide[hidden]{display:none}.v471-room-guide p{margin:0;font-size:12px;line-height:1.7}.v471-room-guide>div{display:flex;gap:8px;flex-wrap:wrap}
.v471-room-guide button,.v471-room-guide a{min-height:37px;display:inline-flex;align-items:center;justify-content:center;border-radius:6px;border:1px solid #91b8b6;background:#a9ead6;color:#173448;padding:7px 10px;font-size:11px;font-weight:800;cursor:pointer}
.v471-room-guide a{background:transparent;color:#e9f5f1}.v471-room-guide :is(a,button):focus-visible{outline:3px solid #ffcd8d;outline-offset:2px}

.v471-portrait{overflow:hidden}.v471-portrait svg{image-rendering:pixelated}.v471-eye{animation:v471blink 4.8s steps(1,end) infinite}@keyframes v471blink{0%,91%,95%,100%{opacity:1}92%,94%{opacity:0}}
html[lang=en] .v471-npc{direction:ltr}html[lang=en] .v471-dialogue{text-align:left}
@media(prefers-reduced-motion:reduce){.v471-eye{animation:none}}

/* v472/polish.css */
/* V47.2: a calmer, legible presentation layer around the playable city. */
.v472-guide{color:#f8eee5;background:linear-gradient(145deg,#17283f,#0c2435);border:1px solid #6db2ac80;border-radius:13px;margin:12px 0;padding:13px;box-shadow:0 8px 26px #08152455;display:grid;gap:9px;direction:rtl}
.v472-guide[hidden]{display:none}.v472-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}
.v472-heading strong{font-size:13px;font-weight:850}.v472-heading button{min-width:32px;min-height:32px;border-radius:6px;background:#253f56;border:1px solid #527b84;color:#ecf1e8;cursor:pointer;font-size:19px}
.v472-guide>p{font-size:12px;line-height:1.9;margin:0;color:#d3e5df}
.v472-guide small{color:#a2bcb7;font-size:10px;line-height:1.7}
.v472-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.v472-step{display:flex;align-items:center;justify-content:center;gap:6px;flex-wrap:wrap;min-height:54px;border:1px solid #527e89;background:#1e3b4d;border-radius:8px;color:#f9efe6;font-size:11px;cursor:pointer;padding:7px 5px;line-height:1.55;text-align:center}
.v472-step:hover,.v472-step:focus-visible,.v472-step.current{border-color:#f4c58e;background:#34556a;outline-offset:2px}
.v472-step-number{color:#ffcc93;font-weight:900;direction:ltr}
.v472-case-link{background:#eec197;color:#13253a;padding:9px 13px;border-radius:8px;font-size:12px;font-weight:800;text-align:center}
.v472-condensed>p,.v472-condensed .v472-steps,.v472-condensed small,.v472-condensed .v472-case-link{display:none!important}
.v472-perf{position:fixed;z-index:999999;top:75px;left:12px;padding:8px 12px;color:#effff1;background:#123543f0;border:1px solid #7bdbd0;border-radius:8px;font:12px/1.4 monospace;direction:ltr}
.v472-perf[hidden]{display:none}
/* Reduce competing effects while reading text; do not hide actual navigation. */
.room .room-info{scrollbar-gutter:stable}.room .room-info p{line-height:1.85}.room .room-object-list button{min-height:38px}
html[lang=en] .v472-guide{direction:ltr}
@media(max-width:740px){.v472-guide{padding:10px;margin:8px 0}.v472-steps{grid-template-columns:1fr}.v472-step{min-height:38px;justify-content:flex-start;padding:5px 10px}.v472-guide>p{font-size:11px}.v472-perf{top:55px;left:8px}}
@media(prefers-reduced-motion:reduce){.v472-guide *,.v472-perf{animation:none!important;transition:none!important}}

/* Opening scene: more real city and less hero-card obstruction. */
@media(min-width:900px){.world-sticky .hero{width:clamp(280px,23vw,335px);padding:17px 20px 16px;top:clamp(18px,5vh,46px);right:clamp(16px,3vw,54px);border-color:#7395a59a;background:#102137e8;box-shadow:0 12px 45px #09122688}.world-sticky .hero h1{font-size:clamp(26px,2.5vw,34px);line-height:1.38;margin:8px 0}.world-sticky .hero p{font-size:12px;line-height:1.85}.world-sticky .hero .hero-hint{font-size:10px;margin-top:10px}}
@media(max-width:720px){.world-sticky .hero{width:min(292px,calc(100vw - 22px));top:9px;right:9px;max-height:244px;box-shadow:0 11px 32px #081324b0}.world-sticky .hero h1{font-size:21px;line-height:1.38}}
/* City progress stays outside the intro card on desktop. */
@media(min-width:900px){.world-sticky .progress-hud{top:18px;right:auto;left:20px;bottom:auto}}

/* v473/style.css */
/* V47.3 — Pixel Cinema: quieter UI, hero that does not obscure the game world. */
.world-sticky #world{cursor:crosshair;outline-offset:-4px}
.world-sticky #world:focus-visible{outline:3px solid #f5ca95}
@media(min-width:900px){.world-sticky .hero{max-width:320px;right:clamp(16px,2.8vw,42px);top:30px;padding:18px 19px;background:linear-gradient(145deg,#101c30f0,#15253be8);border:1px solid #9ba9ab70;border-radius:15px}.world-sticky .hero h1{font-size:clamp(25px,2.5vw,33px);line-height:1.4}.world-sticky .hero p{font-size:12px;line-height:1.9}.world-sticky .hero .hero-actions{gap:8px}}
/* Make optional guidance look like a small game hint rather than another dialog. */
.v473-guide{position:absolute;z-index:22;left:20px;bottom:120px;max-width:235px;pointer-events:none;display:flex;align-items:center;gap:9px;border:1px solid #a8c4bc68;border-radius:10px;background:#0b1b31e8;color:#f6ecdf;padding:9px 11px;box-shadow:0 9px 30px #08102070;font-size:11px;line-height:1.75;backdrop-filter:blur(8px)}
.v473-guide[hidden]{display:none}
.v473-guide kbd{border:1px solid #9cafa9a3;background:#2c4855;border-radius:4px;padding:3px 5px;color:#ffdcab;font-family:monospace;direction:ltr;font-size:10px}
.v473-guide strong{font-size:11px}
.v473-guide small{display:block;color:#bccecc;font-size:10px}
.v473-waypoint{position:absolute;z-index:25;left:20px;bottom:170px;max-width:250px;padding:11px 14px;border:1px solid #f2c58a69;background:#111f36ed;border-radius:11px;color:#ffeacb;font-size:12px;line-height:1.7;pointer-events:none;animation:v473-pulse .3s ease-out}
.v473-waypoint[hidden]{display:none}
@keyframes v473-pulse{from{transform:translateY(8px);opacity:0}to{transform:translateY(0);opacity:1}}
/* Deepen the room entrance without dimming or blocking the real content. */
.room.v473-arriving .room-visual{animation:v473-enter .48s cubic-bezier(.2,.8,.15,1) both;transform-origin:50% 85%}
@keyframes v473-enter{from{transform:scale(.965);filter:brightness(.58) saturate(.75);opacity:.6}to{transform:scale(1);filter:brightness(1) saturate(1);opacity:1}}
.room:focus-within .v472-guide,.room:focus-within .v469-tabs{scroll-margin-top:22px}
.room .room-info p{line-height:1.95}
.room :is(button,a):focus-visible,.world-sticky :is(button,a):focus-visible{outline:2px solid #ffe0a1;outline-offset:3px}
@media(max-width:760px){.world-sticky .hero{width:min(262px,calc(100vw - 28px));right:11px;top:10px;max-height:230px}.world-sticky .hero h1{font-size:20px}.v473-guide{left:8px;bottom:132px;max-width:168px;padding:6px 8px;font-size:10px}.v473-guide small{font-size:9px}.v473-waypoint{left:9px;bottom:172px;max-width:180px;font-size:10px;padding:8px 10px}}
@media(prefers-reduced-motion:reduce){.v473-waypoint,.room.v473-arriving .room-visual{animation:none!important;transition:none!important}}
/* Small screens: one concise world hint is enough; don't stack a second tutorial on the street. */
@media(max-width:760px){.v473-guide{display:none!important}.v473-waypoint{top:65px;bottom:auto;left:8px;right:auto;max-width:175px}}
/* Mobile editorial pass: never stack chapter title, story card and context over the playable street. */
@media(max-width:760px){
 .v47-chapter{display:none!important}
 .v47-story{top:118px;right:9px;left:auto;max-width:min(285px,calc(100vw - 18px));padding:9px 10px}
 .world-sticky:has(.v47-story:not(.v47-story-collapsed):not(.v47-story-dismissed)) .context{opacity:0;pointer-events:none}
 .v473-waypoint{display:none!important}
}

/* v476/style.css */
/* V47.6 — a tactile interface that doesn't obscure the world or hide professional content. */
.room-scene{position:relative;isolation:isolate}
#roomCanvas{touch-action:manipulation;cursor:crosshair;outline-offset:-4px}
#roomCanvas:focus-visible{outline:3px solid #ffe3ac}
.v476-target{pointer-events:none;position:absolute;width:32px;height:32px;border:3px dashed #ffe8ac;box-shadow:0 0 0 3px #0b223b66,0 0 20px #ffe0a466;border-radius:50%;opacity:0;transform:translate(-50%,-50%) scale(.5);z-index:6}
.v476-target.v476-active{animation:v476-target .54s cubic-bezier(.17,.83,.26,1) forwards}
@keyframes v476-target{0%{opacity:1;transform:translate(-50%,-50%) scale(.4)}65%{opacity:.7;transform:translate(-50%,-50%) scale(1.2)}100%{opacity:0;transform:translate(-50%,-50%) scale(.92)}}
.v476-scene-guide{position:absolute;top:10px;inset-inline-start:12px;max-width:min(75%,350px);border:1px solid #9ebfc544;background:#112339df;border-radius:9px;padding:8px 11px;color:#eaf2ed;font-size:11px;line-height:1.5;pointer-events:none;z-index:5}
.v476-sr{position:absolute!important;clip-path:inset(50%);height:1px;width:1px;overflow:hidden;white-space:nowrap}
.room-pad button{touch-action:none;user-select:none;-webkit-user-select:none;transition:transform .12s,background-color .12s}
.room-pad button.v476-pressed{background:#b7f3e0!important;color:#162b41!important;transform:translateY(2px) scale(.96)}
.room-pad button:focus-visible{outline:3px solid #f8d39d;outline-offset:2px}
.v476-city-status{position:absolute;top:85px;left:50%;transform:translate(-50%,-8px);padding:9px 13px;border:1px solid #98d2ce90;background:#0b2337eb;color:#eff8e8;border-radius:9px;opacity:0;pointer-events:none;transition:opacity .22s,transform .22s;font-size:12px;z-index:19;max-width:230px;text-align:center}
.v476-city-status.v476-show{opacity:1;transform:translate(-50%,0)}
@media(max-width:720px){.v476-scene-guide{font-size:10px;top:5px;inset-inline-start:6px;max-width:225px;padding:5px 7px;background:#14283bd0}.v476-city-status{top:65px;max-width:175px;font-size:10px}.room-pad button{min-height:39px;min-width:39px}}
@media(prefers-reduced-motion:reduce){.v476-target.v476-active{animation:none;opacity:1;transform:translate(-50%,-50%)}.room-pad button,.v476-city-status{transition:none!important}}
/* Direct arcade page: accessible controls and instructions for each real minigame. */
.v476-arcade-guide{display:flex;align-items:center;gap:12px;padding:12px 16px;margin:11px 0 18px;border:1px solid #647f96;border-radius:12px;background:#162c43;color:#dcedf6;font-size:13px;line-height:1.75}
.v476-guide-symbol{font-size:20px;color:#ffc8a2}.v476-arcade-guide p{margin:0}
.arcade-tabs button:focus-visible,.game-controls button:focus-visible{outline:3px solid #f4d8a7;outline-offset:3px}
.game-controls [data-move]{min-height:44px;min-width:44px;touch-action:manipulation}
@media(max-width:720px){.v476-arcade-guide{padding:10px 12px;font-size:11px}}

/* v474/style.css */
/* V47.4 Visual and usability polish. The city canvas remains the star. */
:root{--v474-cream:#f8efdd;--v474-mint:#a7ebd5;--v474-gold:#f4d3a1;--v474-ink:#101d34}
.v474-skip{position:fixed;z-index:999999;top:12px;left:12px;transform:translateY(-160%);padding:11px 16px;border:2px solid var(--v474-gold);border-radius:8px;background:#101d34;color:#fff5df;text-decoration:none;font-weight:850;box-shadow:0 6px 20px #0008}
.v474-skip:focus{transform:translateY(0);outline:3px solid #8dd6c3}
.room-info .v474-journal{display:flex;align-items:center;gap:8px;flex-wrap:wrap;background:#132c40;border:1px solid #587f8b;border-radius:10px;padding:10px 12px;margin:14px 0;color:#f6e9d4}
.room-info .v474-journal[hidden]{display:none}
.v474-journal strong{font-size:12px;line-height:1.5}
.v474-journal small{font-size:11px;line-height:1.6;color:#c4dedb;flex:1 1 130px}
.v474-journal>span{font:800 12px ui-monospace,monospace;color:#183444;background:#b9f1dd;padding:5px 8px;border-radius:5px;direction:ltr}
.room-info :is(button,a,input,select):focus-visible,.world-sticky :is(button,a):focus-visible{outline:3px solid #ffd7a2;outline-offset:2px}
/* Less transparent body copy + more readable Persian microcopy */
.room-info :is(p,small,.v469-lead){line-height:1.9}
.room-info #roomDescription{color:#e0e7ed;font-size:13px}
.world-sticky .progress-hud{backdrop-filter:blur(7px)}
.world-sticky .hero p{color:#d4dee5}
.room .v469-signature{border-color:#6997a3}
.room .v469-btn{min-height:44px}
@keyframes v474-breathe{0%{filter:brightness(.92)}55%{filter:brightness(1.045)}100%{filter:brightness(1)}}
.world-sticky.v474-chapter-breathe #world{animation:v474-breathe .7s ease-out}
@media(max-width:760px){
 .room-info .v474-journal{padding:8px;gap:5px;margin:9px 0}
 .v474-journal strong{font-size:11px}
 .v474-journal small{flex-basis:95px;font-size:10px}
 .world-sticky.v474-chapter-breathe #world{animation-duration:.3s}
}
@media(prefers-reduced-motion:reduce){.world-sticky.v474-chapter-breathe #world{animation:none!important}.v474-skip{transition:none!important}}

/* v475/experience.css */
/* The signature route stays subordinate to the world. No extra blocking modal. */
.v475-quest{position:absolute;z-index:19;bottom:95px;right:24px;width:min(312px,calc(100vw - 40px));background:rgba(13,24,42,.96);border:1px solid #647b92;border-radius:14px;padding:12px 14px;color:#f7ecdf;box-shadow:0 18px 56px #070d1b8a;backdrop-filter:blur(10px);transition:opacity .25s ease,transform .25s ease;pointer-events:auto;direction:rtl}
.v475-quest-off{opacity:0;transform:translateY(12px);visibility:hidden;pointer-events:none}
.v475-quest-top{display:flex;align-items:center;gap:7px;font-size:12px}.v475-quest-top strong{flex:1}.v475-spark{color:#ffac86;font-size:19px}.v475-quest-top>span:nth-of-type(2){color:#a9d9c8;font:600 11px/1.2 monospace}
#v475Dismiss{display:grid;place-items:center;background:transparent;color:#d8e7f1;border:0;width:27px;height:27px;cursor:pointer;font-size:20px}
#v475Dismiss:focus-visible,.v475-quest a:focus-visible,.v475-quest button:focus-visible{outline:3px solid #ffd697;outline-offset:2px}
#v475Text{font-size:12px;line-height:1.8;margin:7px 0 11px;color:#d4e0eb}
.v475-quest-actions{display:flex;align-items:center;gap:9px}.v475-quest-actions button{font:inherit;font-size:12px;font-weight:700;min-height:37px;padding:7px 12px;border-radius:8px;border:0;background:#f6b08f;color:#18213b;cursor:pointer}.v475-quest-actions a{color:#dfebf5;font-size:11px;text-decoration:underline}
.v475-progress{height:3px;margin-top:12px;overflow:hidden;background:#405267;border-radius:6px}.v475-progress span{display:block;background:linear-gradient(90deg,#f6b08f,#88dcc6);height:100%;width:0;transition:width .3s ease}
@media(min-width:1024px){.v475-quest{bottom:94px;right:24px}}
@media(max-width:720px){.v475-quest{position:absolute;right:10px;left:10px;bottom:102px;width:auto;padding:10px 12px;max-width:340px;margin-right:auto}.v475-quest:not(.v475-quest-off){box-shadow:0 6px 18px #070d1b88}.v475-quest-top{font-size:11px}#v475Text{font-size:11px;line-height:1.55;margin:5px 0 6px}.v475-quest-actions button{min-height:34px;font-size:11px}.v475-progress{margin-top:7px}}
@media(prefers-reduced-motion:reduce){.v475-quest,.v475-progress span{transition:none!important}}

/* One guide at a time: previous chapter hint/prompt yield to the route card. */
.world-sticky.v475-guided #worldPrompt,.world-sticky.v475-guided #v47-story{opacity:0!important;visibility:hidden!important;pointer-events:none!important}
.world-sticky.v475-guided #v47-help-btn{opacity:.6}
/* On narrow devices, leave the street visible; status announcements remain in the accessibility tree. */
@media (max-width:720px){
 #worldPrompt{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;border:0!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important}
}

/* v477/style.css */
/* V47.7 — quieter, accessible UI with more space for the actual city. */
.v477-note{position:absolute;z-index:25;bottom:112px;left:clamp(12px,3vw,34px);width:min(328px,calc(100vw - 24px));background:#13263ef2;border:1px solid #8ed1ca;border-radius:13px;padding:15px;color:#f9f0e6;box-shadow:0 18px 45px #0209129c;direction:rtl;backdrop-filter:blur(10px)}
.v477-note[hidden]{display:none!important}.v477-note-head{display:flex;gap:10px;align-items:center}.v477-note-head span{color:#ffd29d;font-size:23px}.v477-note-head strong{font-size:13px;flex:1}.v477-note-head button{min-width:33px;min-height:33px;border:1px solid #627e8c;border-radius:6px;background:#233e51;color:#fff;font:700 21px/1 sans-serif;cursor:pointer}
.v477-note p{font-size:12px;line-height:2;margin:8px 0 13px}.v477-note a{display:inline-flex;padding:8px 12px;background:#b6ead7;color:#172e40;border-radius:7px;font-size:12px;font-weight:800;text-decoration:none}.v477-note small{display:block;margin-top:10px;color:#c6d9dd;font-size:10px}.v477-note :is(button,a):focus-visible{outline:3px solid #ffd29d;outline-offset:3px}
.v477-stack{display:block;font:600 10px/1.6 ui-monospace,SFMono-Regular,monospace;direction:ltr;text-align:start;letter-spacing:.015em;margin-top:11px;color:#56647a}
.world-sticky .hero h1{text-wrap:balance}.room-info :is(h2,p){overflow-wrap:anywhere}.room-info #roomResponse{line-height:1.8}
@media(max-width:720px){.v477-note{bottom:88px;left:10px;padding:11px 12px;width:calc(100vw - 20px);max-width:345px}.v477-note p{line-height:1.75;margin:7px 0}.v477-note small{display:none}}
@media(prefers-reduced-motion:reduce){.v477-note{transition:none!important;animation:none!important}.v477-note *{animation:none!important}}

/* v478/style.css */
/* V47.8: art direction and responsive legibility. No interface saturation. */
#room[data-signature="livora"] .room-info{background:linear-gradient(165deg,#3b243e,#271d35 62%);border-inline-start:3px solid #eeb2c3}
#room[data-signature="caat"] .room-info{background:linear-gradient(155deg,#183a4b,#172d3a 70%);border-inline-start:3px solid #9bccd6}
#room[data-signature="belsino"] .room-info{background:linear-gradient(155deg,#3b2b32,#2b2632 70%);border-inline-start:3px solid #e2b783}
#room[data-signature="lab"] .room-info{background:linear-gradient(155deg,#143342,#122b3a 70%);border-inline-start:3px solid #79dacd}
#room[data-signature] .room-info a.primary:focus-visible,
#room[data-signature] .room-info button:focus-visible{outline:3px solid #ffe1a8;outline-offset:3px}
#room.v478-enter .room-scene{animation:v478-reveal .48s steps(8,end) both}
@keyframes v478-reveal{from{opacity:.3;filter:brightness(.35);transform:scale(1.014)}to{opacity:1;filter:none;transform:scale(1)}}
#room .room-info{scrollbar-width:thin;scrollbar-color:#7595a1 transparent}
#room .room-top-actions button{min-height:42px}
#room .room-pad button{touch-action:none}
@media(max-width:720px){
 #room .room-info{border-inline-start:0!important;border-top:2px solid #9ca6bd}
 #room .room-top-actions button{min-height:44px}
 #room .room-info h2{font-size:clamp(20px,5vw,25px);line-height:1.35}
}
@media(prefers-reduced-motion:reduce){#room.v478-enter .room-scene{animation:none!important}}

/* v479/style.css */
/* V47.9 visual finish — readable labels, restrained ambient emphasis. */
.v479-room-context{max-width:100%;border-inline-start:3px solid #acd9c3;padding:8px 12px;margin:10px 0 12px;color:#e4ede9;background:#ffffff0b;font-size:12px;line-height:1.75;letter-spacing:0}
.v479-room-context[hidden]{display:none!important}
#room .room-info :is(.v469-tabs,.v471-room-guide){position:relative}
#room .room-info .v469-tabs button{min-height:40px}
#room .room-info .v469-tabs button[aria-selected="true"]{box-shadow:inset 0 -3px 0 #d2edbb}
#room .room-scene canvas{image-rendering:pixelated}
#room .room-info :is(button,a,input,select):focus-visible{outline:3px solid #ffdc9b;outline-offset:3px}
.world-sticky .world-tools button:focus-visible{outline:3px solid #ffdc9b;outline-offset:3px}
@media(max-width:720px){.v479-room-context{margin:5px 0 9px;padding:7px 10px;font-size:11px}#room .room-info .v469-tabs button{min-height:44px}}
@media(prefers-reduced-motion:reduce){#room .room-info *{scroll-behavior:auto!important}}

/* v48/style.css */
/* V48 – Award Candidate: visual rhythm, editorial proof, accessible overlay */
.world-sticky .hero{box-shadow:0 18px 55px #02071666;backdrop-filter:blur(9px)}
.world-sticky .hero .kicker{letter-spacing:.12em}
.world-sticky .hero h1 em{color:#f9b6a5;font-style:normal}
.world-tools #v48CasesBtn{border-color:#a7dfd5;color:#f3f3e6;background:linear-gradient(135deg,#24465a,#1a3244);font-weight:700}
.v48-spotlight{position:fixed;inset:0;width:min(1130px,calc(100vw - 24px));max-width:1130px;max-height:min(92dvh,950px);margin:auto;padding:0;color:#f8f1e9;background:#101b2c;border:1px solid #8db4bb;border-radius:18px;box-shadow:0 30px 130px #020817a6;overflow:auto;direction:rtl}
.v48-spotlight::backdrop{background:#050b18cf;backdrop-filter:blur(5px)}
.v48-spotlight-header{position:sticky;top:0;z-index:1;display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:23px 27px 18px;background:linear-gradient(120deg,#182b40,#101b2cf5);border-bottom:1px solid #455d69}
.v48-spotlight-header h2{font-size:clamp(24px,3.4vw,40px);margin:8px 0 6px;line-height:1.35}
.v48-spotlight-header p{margin:0;color:#c9d7da;font-size:14px}
.v48-kicker{font-size:10px;font-weight:800;letter-spacing:.12em;color:#9ee3d9}
#v48SpotlightClose{min-height:45px;min-width:45px;flex-shrink:0;border:1px solid #76919d;border-radius:10px;background:#203448;color:#fff;font-size:27px;cursor:pointer}
.v48-spotlight-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:21px}
.v48-case{min-width:0;background:#17283b;border:1px solid #436072;border-radius:13px;overflow:hidden;display:flex;flex-direction:column}
.v48-case-image{aspect-ratio:16/11;position:relative;overflow:hidden;background:#27364a}
.v48-case-image img{width:100%;height:100%;object-fit:cover;object-position:top;display:block}
.v48-proof{position:absolute;bottom:9px;right:9px;padding:5px 9px;background:#071624eb;color:#fff;border:1px solid #84b9bb;border-radius:5px;font-size:11px}
.v48-case-body{padding:17px;display:flex;flex-direction:column;align-items:flex-start;gap:8px;flex:1}
.v48-case-body h3{margin:0;font:800 clamp(21px,2.3vw,28px)/1.3 system-ui,sans-serif;color:#fff7ec;direction:ltr}
.v48-case-body p{font-size:13px;color:#d3dce2;line-height:1.9;margin:0}
.v48-tech{color:#a5e0cf;line-height:1.8;direction:ltr;display:block;text-align:left;align-self:stretch}
.v48-case-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:auto;padding-top:10px}
.v48-action,.v48-action-secondary{display:inline-flex;align-items:center;justify-content:center;min-height:42px;border-radius:8px;font-size:12px;font-weight:800;text-decoration:none;padding:8px 11px;cursor:pointer;line-height:1.5}
.v48-action{background:#f8d1aa;color:#1b2431}.v48-action-secondary{background:#233c4d;color:#f6ede6;border:1px solid #75a6af}
.v48-spotlight-footer{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:12px 24px 22px;color:#b3c8cf;font-size:12px}.v48-spotlight-footer a{color:#fcd6ad;font-weight:700}
.v48-spotlight :is(a,button):focus-visible{outline:3px solid #ffd49a;outline-offset:3px}
@media(max-width:800px){.v48-spotlight-grid{grid-template-columns:1fr;gap:12px;padding:12px}.v48-case{display:grid;grid-template-columns:minmax(115px,35%) 1fr}.v48-case-image{height:100%;min-height:200px;aspect-ratio:auto}.v48-spotlight-header{padding:15px}.v48-case-body{padding:14px}}
@media(max-width:520px){.v48-spotlight{width:calc(100vw - 12px);max-height:94dvh;border-radius:13px}.v48-case{display:block}.v48-case-image{height:150px;min-height:0}.v48-case-body{padding:13px}.v48-case-actions{width:100%}.v48-action,.v48-action-secondary{flex:1}.v48-spotlight-footer{flex-direction:column;align-items:start}}
@media(prefers-reduced-motion:reduce){.v48-spotlight::backdrop{backdrop-filter:none}.world-sticky .hero{backdrop-filter:none}}

/* v481/experience.css */
/* V48.1 recovery: compact story UI, no overlays on pixel canvas. */
#v475Quest{display:none!important}
.v481-guide{position:absolute;z-index:44;left:16px;bottom:80px;width:min(340px,calc(100% - 32px));background:#121c32f2;color:#f9f3e9;border:1px solid #7daeb0;border-radius:14px;box-shadow:0 12px 50px #0008;padding:14px;direction:rtl;line-height:1.85}
.v481-guide[hidden]{display:none!important}
.v481-guide.room-guide{position:relative;z-index:1;left:auto;bottom:auto;width:100%;box-sizing:border-box;box-shadow:none;margin:4px 0 18px;background:#14273c;border:1px solid #729bb1}
.v481-guide-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.v481-guide-head strong{font-size:14px}.v481-guide-head button{border:1px solid #80929e;border-radius:7px;background:transparent;color:inherit;width:33px;height:33px;cursor:pointer}
.v481-guide p{font-size:13px;margin:8px 0 12px;color:#e1eaf0;line-height:1.9}.v481-controls{display:flex;gap:8px;flex-wrap:wrap}.v481-controls button,.v481-controls a,.v481-tour-trigger{background:#f4bc8d;color:#1c2740;border:0;border-radius:9px;font-size:12px;font-weight:800;padding:9px 12px;min-height:41px;cursor:pointer;text-decoration:none}.v481-controls a{background:#283e50;color:#fff}.v481-guide :is(button,a):focus-visible,.v481-tour-trigger:focus-visible{outline:3px solid #85f7d6;outline-offset:2px}
.v481-progress{height:4px;background:#344660;border-radius:9px;margin-top:12px;overflow:hidden}.v481-progress span{display:block;height:100%;background:#80dac6;transition:width .25s}.v481-tour-trigger{margin-inline:6px;background:#f2bc8b;white-space:nowrap}
.v481-tour-trigger.in-tools{padding:7px 10px;background:#2c405c;color:#fff;border:1px solid #739db9}
@media(max-width:720px){.v481-guide{left:10px;bottom:83px;width:min(316px,calc(100% - 20px));padding:10px 12px}.v481-guide p{font-size:12px;margin:4px 0 7px}.v481-guide-head strong{font-size:12px}.v481-guide.room-guide{margin:0 0 12px}.v481-tour-trigger.in-tools{font-size:10px;padding:6px 8px}}
@media(prefers-reduced-motion:reduce){.v481-progress span{transition:none}}

/* v482/style.css */
/* V48.2 — warmer environment, cleaner overlays, readable editorial evidence */
.world-sticky .hero{max-width:min(445px,calc(100vw - 28px));border:1px solid #b3a99d44;box-shadow:0 24px 68px #090c1d9a}
.world-sticky .hero p{line-height:1.95}
.world-sticky .hero h1{line-height:1.27}
.v482-help-trigger,.v482-room-help-trigger{min-height:39px;border:1px solid #7dabb0;border-radius:9px;background:#234056;color:#f2efe8;padding:8px 11px;cursor:pointer;font:700 12px/1.3 inherit;white-space:nowrap}
.v482-room-help-trigger{background:#314258;color:#fef6e9}
.v482-help-trigger:focus-visible,.v482-room-help-trigger:focus-visible{outline:3px solid #f7ce97;outline-offset:3px}
.v482-help{border:1px solid #b2c8c4;background:#101c2f;color:#fdf1e4;width:min(760px,calc(100vw - 20px));max-height:90dvh;border-radius:16px;padding:25px;box-shadow:0 24px 110px #050a16c5;direction:rtl;overflow:auto}
.v482-help::backdrop{background:#061022c9;backdrop-filter:blur(3px)}
.v482-help-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.v482-eyebrow{font-size:10px;color:#a9dad1;letter-spacing:.16em;font-weight:800}
#v482CloseHelp{width:40px;height:40px;flex-shrink:0;border:1px solid #849eaa;border-radius:9px;background:#23384b;color:#fff;font:700 23px sans-serif;cursor:pointer}
.v482-help h2{font-size:clamp(24px,3vw,34px);margin:8px 0 8px;line-height:1.4;color:#fff5e8}.v482-help>p{font-size:14px;line-height:1.9;color:#cdd9df;max-width:600px}
.v482-help-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0}
.v482-help-grid section{background:#1a3045;border:1px solid #4c6574;border-radius:12px;padding:16px}
.v482-help-grid b{font-size:13px;color:#ffd9ae}.v482-help-grid p{font-size:12px;color:#d1dfe2;line-height:1.9;margin:6px 0 0}
.v482-help-actions{display:flex;gap:10px;flex-wrap:wrap}.v482-help-actions a{display:inline-flex;padding:12px 16px;text-decoration:none;background:#f5cba3;border-radius:9px;color:#202938;font-size:13px;font-weight:800;min-height:44px;align-items:center}.v482-help-actions a+ a{background:#294a5c;color:#fff}
.v482-help :is(button,a):focus-visible{outline:3px solid #8ce8d5;outline-offset:3px}
.v482-proof{margin:16px 0 13px;border-radius:12px;border:1px solid #738b9b;background:#192c40;color:#fdf4e8;padding:0;line-height:1.9;overflow:hidden}
.v482-proof[hidden]{display:none!important}.v482-proof summary{cursor:pointer;display:flex;gap:9px;align-items:center;min-height:52px;padding:10px 13px;list-style:none}.v482-proof summary::-webkit-details-marker{display:none}
.v482-proof summary:after{content:'+';margin-inline-start:auto;color:#ffd29e;font-weight:bold;font-size:18px}.v482-proof[open] summary:after{content:'−'}
.v482-proof summary strong{font-size:12px;flex:1}.v482-proof summary small{font-size:10px;color:#c2d7d5;white-space:normal}.v482-proof-icon{font-size:12px;color:#ffd19e}
.v482-proof p{border-top:1px solid #3c596d;padding:10px 14px;margin:0;font-size:12px;line-height:2;color:#d8e6e6}.v482-proof a{display:inline-flex;margin:0 14px 14px;font-weight:800;color:#facda5;text-decoration:none;font-size:12px}
.v482-proof summary:focus-visible,.v482-proof a:focus-visible{outline:3px solid #9ceadd;outline-offset:-2px}
@media (max-width:720px){.v482-help{padding:15px}.v482-help-grid{grid-template-columns:1fr;gap:8px}.v482-help-grid section{padding:11px 13px}.v482-help-grid p{margin:2px 0}.v482-help-trigger{font-size:11px;padding:8px 9px}.v482-proof summary{flex-wrap:wrap}.v482-proof summary small{flex-basis:100%;margin-inline-start:20px}.v482-room-help-trigger{min-height:36px;padding:7px 8px}}
@media(prefers-reduced-motion:reduce){.v482-help::backdrop{backdrop-filter:none}.v482-help *,.v482-proof *{transition:none!important;animation:none!important}}
/* One help entry-point, not two overlapping tutorials from legacy versions. */
#v47-help-btn{display:none!important}
@media(min-width:900px){.world-sticky .hero{max-width:340px;right:24px;top:32px;padding:17px 18px}.world-sticky .hero h1{font-size:29px}}
.world-sticky:has(.hero:not(.hide)) .v473-guide{display:none!important}
.world-sticky:has(.hero:not(.hide)) #worldPrompt{opacity:0;pointer-events:none}
@media(max-width:760px){.world-sticky .hero{max-width:min(270px,calc(100vw - 24px));top:9px;right:9px;padding:12px}.world-sticky .hero h1{font-size:20px}.v482-help-trigger{min-width:44px}}

/* v483/style.css */
/* V48.3 — optional low-power rendering; high legibility without another permanent HUD. */
.v483-quality{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:8px 11px;border:1px solid #7397a5;border-radius:9px;background:#263c53;color:#f6eddf;font-size:11px;font-weight:800;cursor:pointer;white-space:nowrap}
.v483-quality[aria-pressed="true"]{background:#cbe8d9;color:#123144;border-color:#bfe8d5}
.v483-quality:focus-visible{outline:3px solid #ffd3a0;outline-offset:3px}
.v483-status{position:absolute;z-index:38;left:50%;bottom:83px;transform:translateX(-50%) translateY(8px);background:#12253bea;border:1px solid #81b3b5;border-radius:10px;max-width:min(380px,calc(100% - 18px));padding:8px 12px;color:#fff0dc;font-size:12px;text-align:center;line-height:1.65;opacity:0;pointer-events:none;transition:opacity .18s,transform .18s}
.v483-status.show{opacity:1;transform:translateX(-50%) translateY(0)}
/* Avoid occluding dialogue and mission panels; notifications do not draw over the street on small screens. */
@media(max-width:720px){.v483-quality{min-height:36px;padding:6px 8px;font-size:10px}.v483-status{left:8px;right:8px;bottom:98px;max-width:none;transform:translateY(7px)}.v483-status.show{transform:translateY(0)}.world-sticky:has(.v481-guide:not([hidden])) .v483-status{display:none}}
@media(prefers-reduced-motion:reduce){.v483-status{transition:none}}

/* One message at a time: don't obscure the map with overlapping chapter, story and tour cards. */
.world-sticky:has(#v47-story:not(.v47-story-collapsed):not(.v47-story-dismissed)) #worldPrompt{opacity:0!important;pointer-events:none!important}
.world-sticky:has(#v47-story:not(.v47-story-collapsed):not(.v47-story-dismissed)) #v47-chapter{opacity:0!important}
.world-sticky:has(.v481-guide:not([hidden])) #v47-story{opacity:0!important;pointer-events:none!important}
.v482-help-actions .v483-quality{min-height:44px;background:#29465a;color:#fff3df;border:1px solid #7bb6b6}
.v482-help-actions .v483-quality[aria-pressed="true"]{background:#cbe8d9;color:#123144}

/* v484/style.css */
/* V48.4 — professional accessibility and quiet settings, hidden until the visitor opens Help */
.v484-preferences{display:flex;align-items:center;gap:16px;justify-content:space-between;background:#182e42;border:1px solid #5c90a4;border-radius:12px;padding:12px 14px;margin:12px 0;color:#fff1e3;line-height:1.55}
.v484-pref-copy{flex:1;min-width:0}
.v484-pref-copy strong{font-size:13px;display:block}
.v484-pref-copy p{font-size:11px;line-height:1.65;color:#c8dbde;margin:4px 0 0}
#v484MotionBtn{flex:none;min-height:44px;padding:10px 14px;border:1px solid #82b5b4;border-radius:9px;color:#fff0da;background:#284e63;font-weight:700;cursor:pointer;font-size:12px}
#v484MotionBtn[aria-pressed="true"]{background:#d6ebde;color:#153748}
#v484MotionBtn:focus-visible{outline:3px solid #ffd08d;outline-offset:2px}
#world:focus-visible,.room-pad button:focus-visible{outline:3px solid #ffe19b;outline-offset:3px}
@media(max-width:580px){.v484-preferences{flex-direction:column;align-items:stretch;gap:10px}#v484MotionBtn{width:100%}}
@media(prefers-reduced-motion:reduce){.v484-preferences *{animation:none!important;transition:none!important}}

/* v485/style.css */
/* V48.5 / one coherent HUD, better focus, editorial case presentation. */
.world-sticky .world-tools{display:flex;align-items:center;gap:7px;padding:7px;background:#0b1c30e8;border:1px solid #7897a888;border-radius:14px;box-shadow:0 12px 45px #030d1c91;max-width:min(520px,calc(100vw - 38px));flex-wrap:nowrap;z-index:22}
.world-sticky .world-tools button,.world-sticky .world-tools a{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;min-height:43px;border-radius:10px;padding:9px 13px;font-size:12px;font-weight:800}
.world-sticky .world-tools #mapBtn{background:#244057}
.world-sticky .world-tools #v482HelpBtn{background:#283851}
.world-sticky .world-tools .v485-more{background:#9ee2cd;color:#132a36;border:1px solid #b6f6df}
.world-sticky .v485-fast-work{text-decoration:none;background:#f8b49b;color:#17283a;border:1px solid #ffcbb6;transition:transform .2s}
.world-sticky .v485-fast-work:hover{transform:translateY(-2px)}
.v485-control-panel[hidden]{display:none!important}
.v485-control-panel{position:absolute;left:18px;bottom:102px;z-index:24;width:min(388px,calc(100vw - 36px));background:linear-gradient(145deg,#152a43f8,#152035fc);border:1px solid #8cbbbc;border-radius:17px;padding:16px;box-shadow:0 24px 64px #020916bf;backdrop-filter:blur(18px)}
.v485-control-heading{display:flex;align-items:center;justify-content:space-between;gap:9px;margin-bottom:12px;color:#fff3e7}
.v485-control-heading strong{font-size:15px}
#v485ControlClose{width:42px;height:42px;border-radius:10px;border:1px solid #87a7b8;background:#263f58;color:white;font-size:22px}
.v485-control-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.v485-control-grid button{min-height:45px;width:100%;text-align:center;white-space:normal;line-height:1.5;font-size:11px;border:1px solid #65859d;background:#233b52;color:#fff5e8;border-radius:10px}
.v485-control-grid button[aria-pressed=true]{background:#b9edda;color:#142a36}
.world-sticky :is(.v485-control-panel button,.world-tools button,.world-tools a):focus-visible{outline:3px solid #ffdaa9;outline-offset:3px}
.world-sticky .progress-hud{z-index:8}
.world-sticky .hero{border-radius:19px;box-shadow:0 30px 80px #060f26ba;background:linear-gradient(140deg,#12253ef2,#122035f4)}
.world-sticky .hero .kicker{color:#acebd7}
.world-sticky .hero h1{text-wrap:balance}
.light-section .work-card{border-radius:19px;border-color:#d0beb9;box-shadow:0 8px 20px #1222380b;position:relative}
.light-section .work-card .work-art{height:235px}
.light-section .work-card .work-body{padding:20px 22px}
.light-section .work-card .work-body h3{letter-spacing:-.025em}
.light-section .work-grid{gap:21px}
@media(max-width:720px){
 .world-sticky .world-tools{left:9px;right:auto;bottom:12px;padding:5px;gap:5px;width:auto;max-width:calc(100vw - 158px)}
 .world-sticky .world-tools button,.world-sticky .world-tools a{font-size:10px;min-height:42px;padding:7px 9px}
 .world-sticky .world-tools #v482HelpBtn{min-width:42px;padding:6px}
 .world-sticky .world-tools #mapBtn span{display:none}
 .world-sticky .v485-fast-work{display:none!important}
 .v485-control-panel{bottom:76px;left:9px;padding:12px;width:min(340px,calc(100vw - 18px))}
 .world-sticky .progress-hud{bottom:15px;right:9px;left:auto;min-width:136px;max-width:144px;padding:8px 9px}
 .light-section .work-card .work-art{height:225px}
 .light-section .work-grid{gap:15px}
}
@media(max-width:390px){.world-sticky .world-tools{max-width:calc(100vw - 151px)}.world-sticky .world-tools button{font-size:10px;min-height:40px;padding:6px 8px}}
@media(prefers-reduced-motion:reduce){.v485-control-panel,.v485-fast-work{transition:none!important;animation:none!important}}

/* Editor's pick: technical work is a first-class part of the portfolio */
.v485-engineering{padding:clamp(55px,7vw,95px) clamp(18px,5vw,70px);background:linear-gradient(135deg,#131c34,#162c40);color:#fff1e7}
.v485-engineering-head{max-width:1130px;margin:0 auto 27px}
.v485-engineering .v485-kicker{font:800 11px ui-monospace,monospace;letter-spacing:.14em;color:#9fe3cd}
.v485-engineering h2{font-size:clamp(27px,4vw,48px);margin:11px 0;line-height:1.45;letter-spacing:-.03em}
.v485-engineering-head p{font-size:14px;max-width:670px;color:#c9d7e7;line-height:2}
.v485-engineering-grid{max-width:1130px;margin:0 auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}
.v485-engineering-grid a{display:flex;flex-direction:column;gap:17px;min-height:234px;border:1px solid #58738f;border-radius:18px;padding:24px;background:linear-gradient(160deg,#1d374b,#192c48);color:#f8f2e7;text-decoration:none;transition:transform .2s,border-color .2s}
.v485-engineering-grid a:hover{transform:translateY(-4px);border-color:#99e3cb}
.v485-engineering-grid span{font:800 10px ui-monospace,monospace;letter-spacing:.12em;color:#90dacc}
.v485-engineering-grid strong{font-size:clamp(20px,2vw,27px);line-height:1.25}
.v485-engineering-grid small{font-size:11px;color:#cad5e6;direction:ltr;text-align:left;line-height:1.7}
.v485-engineering-grid em{margin-top:auto;font-style:normal;font-size:12px;font-weight:800;color:#f6af9d}
.v485-engineering-disclaimer{max-width:1130px;margin:17px auto 0;font-size:11px;color:#b8cad8;line-height:1.8}
@media(max-width:720px){.v485-engineering-grid{grid-template-columns:1fr}.v485-engineering-grid a{min-height:173px;padding:18px;gap:11px}}
/* Explicitly override V46 mobile hiding rules when those controls are inside the opt-in tray. */
@media(max-width:720px){#v485ControlPanel #motionBtn,#v485ControlPanel #soundBtn{display:inline-flex!important}}
/* Map must stay in front of the progress badge and disclosure; avoids an obscured close button. */
.world-sticky .city-map{z-index:35!important}

/* v490/style.css */
/* V49.0 / opt-in character studio; inherits the V48.5 reduced-clutter HUD. */
.v490-studio-launch{width:100%;min-height:44px;background:linear-gradient(120deg,#253e5b,#433c62);border:1px solid #89c7cb80;color:#f1e9e3;border-radius:12px;margin-top:10px;cursor:pointer;font:inherit}
.v490-avatar-modal{inset:0;margin:auto;border:1px solid #91b9c266;border-radius:20px;max-width:min(94vw,660px);width:100%;max-height:min(92dvh,850px);padding:0;background:#17263f;color:#f1e9e3;box-shadow:0 24px 80px #07111edb}
.v490-avatar-modal::backdrop{background:#060f1dd1;backdrop-filter:blur(5px)}
.v490-avatar-frame{padding:clamp(16px,3vw,30px);display:grid;justify-items:center;gap:14px;text-align:center;position:relative}
.v490-avatar-frame h2{font-size:clamp(20px,3vw,29px);margin:0;line-height:1.35}
.v490-avatar-frame p{margin:0;color:#d3dce6;line-height:1.9;font-size:14px;max-width:510px}
.v490-avatar-frame img{display:block;width:min(100%,540px);height:auto;image-rendering:pixelated;border:1px solid #819cba44;background:#18263c;border-radius:12px}
.v490-image-evidence{font:700 10px/1.3 monospace;letter-spacing:.12em;color:#9bcabc}
.v490-avatar-choices{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;width:100%}
.v490-avatar-choices button{font:inherit;min-height:46px;min-width:155px;border:1px solid #97adbc70;border-radius:10px;color:#f7eff0;background:#293b56;cursor:pointer;padding:10px 16px}
.v490-avatar-choices button.selected{background:#a7dfd1;color:#132e3e;border-color:#a7dfd1;font-weight:700}
.v490-avatar-choices button:focus-visible,.v490-close:focus-visible,.v490-studio-launch:focus-visible{outline:3px solid #ffce9a;outline-offset:2px}
.v490-avatar-note{color:#c0c9d8;font-size:12px;line-height:1.7}
.v490-close{position:absolute;top:10px;inset-inline-end:12px;width:44px;height:44px;border-radius:12px;border:1px solid #96aabc55;background:#263950;color:#fff;font-size:26px;cursor:pointer}
@media(max-width:480px){.v490-avatar-frame{gap:10px;padding:15px 10px 20px}.v490-avatar-frame h2{padding:0 35px}.v490-avatar-choices button{flex:1 1 140px;min-width:0}.v490-avatar-modal{max-height:93dvh;overflow:auto}}
@media(prefers-reduced-motion:reduce){.v490-avatar-modal::backdrop{backdrop-filter:none}}

/* v491/style.css */
/* V49.1 / compact discovery UI, integrated into the existing world tools. */
.v491-journey-btn{width:100%;min-height:44px;background:linear-gradient(125deg,#24394d,#314c55);color:#e3f1e7;border:1px solid #95d9bc78;border-radius:12px;margin-top:10px;cursor:pointer;font:inherit}
.v491-journey-btn:hover{border-color:#c3f3db;background:#34495b}
.v491-journey-modal{max-width:min(94vw,620px);width:100%;max-height:90dvh;overflow:auto;margin:auto;inset:0;padding:0;border-radius:18px;border:1px solid #8ab9c76d;background:#15253d;color:#f7eddf;box-shadow:0 22px 75px #08101fdb}
.v491-journey-modal::backdrop{background:#050d19c9;backdrop-filter:blur(4px)}
.v491-journey-box{display:flex;flex-direction:column;gap:14px;position:relative;padding:clamp(18px,4vw,32px)}
.v491-journey-kicker{font:700 11px/1.5 monospace;color:#9de3c8;letter-spacing:.12em;direction:ltr;text-align:start}
.v491-journey-box h2{font-size:clamp(19px,3vw,28px);line-height:1.5;margin:0;padding-inline-end:42px;color:#fff1dc}
.v491-journey-intro{color:#c5d8e0;font-size:14px;line-height:1.9;margin:0}
.v491-journey-list{list-style:none;display:grid;gap:9px;padding:0;margin:3px 0}
.v491-journey-list li{display:flex;align-items:center;gap:12px;padding:12px 14px;background:#21354d;border:1px solid #90b2c242;border-radius:12px;font-size:14px;line-height:1.6}
.v491-journey-list li.complete{background:#25443e;border-color:#98deb678}
.v491-journey-check{font-size:19px;font-weight:800;color:#a5ebc3;min-width:23px;text-align:center}
.v491-journey-actions{display:flex;gap:9px;flex-wrap:wrap}
.v491-journey-actions button,.v491-journey-actions a{border:1px solid #88c7c477;background:#29495c;color:#e0f8ec;border-radius:10px;padding:11px 13px;min-height:44px;line-height:1.5;font:inherit;font-size:13px;cursor:pointer;text-decoration:none}
.v491-journey-close{position:absolute;inset-inline-end:12px;top:12px;width:44px;height:44px;border-radius:11px;border:1px solid #7b9eae65;background:#22364f;color:#fff;font-size:27px;cursor:pointer}
.v491-discovery-toast{position:fixed;bottom:88px;left:50%;transform:translateX(-50%);z-index:105;padding:12px 20px;border-radius:999px;background:#172d45;color:#d9fff0;border:1px solid #96dbbc;box-shadow:0 5px 24px #081321b8;font-size:13px;pointer-events:none}
.v491-discovery-toast[hidden]{display:none}
.v491-journey-btn:focus-visible,.v491-journey-box button:focus-visible,.v491-journey-box a:focus-visible{outline:3px solid #ffda9b;outline-offset:3px}
.v490-avatar-frame img{width:min(100%,590px);max-height:265px;object-fit:contain}
@media(max-width:500px){.v491-journey-box{padding:20px 14px}.v491-discovery-toast{bottom:70px;width:max-content;max-width:92vw}.v491-journey-actions>*{flex:1 1 190px}}
@media(prefers-reduced-motion:reduce){.v491-journey-modal::backdrop{backdrop-filter:none}.v491-discovery-toast{transition:none;animation:none}}

/* v50/polish.css */
/* V50 RC / finishing pass: focus, safe area, purposeful movement. No change to city engine. */
:root{scroll-behavior:smooth}
:where(button,a,[role="button"],summary):focus-visible{outline:3px solid #ffe0a6!important;outline-offset:4px!important}
:where(.v492-casebook,.v485-engineering,.v465-home-plugins) :is(h2,h3){text-wrap:balance}
:where(.v492-casebook,.v485-engineering) :is(p){overflow-wrap:anywhere}
:where(.work-card,.v485-engineering-grid>a,.v492-casebook .v492-cta){-webkit-tap-highlight-color:transparent}
.v485-engineering-grid>a,.work-card{transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
@media(hover:hover){.v485-engineering-grid>a:hover,.work-card:hover{transform:translateY(-3px)}}
:where(.v492-casebook,.v485-engineering,.v465-home-plugins) img{max-width:100%}
@media(max-width:600px){
 .v491-discovery-toast{bottom:calc(73px + env(safe-area-inset-bottom,0px))}
 .v492-casebook .v492-tablist{gap:5px}
 .v492-casebook .v492-cta{min-width:0}
}
@media(prefers-reduced-motion:reduce){:root{scroll-behavior:auto!important}.v485-engineering-grid>a,.work-card{transform:none!important;transition:none!important}}
@media(forced-colors:active){.v492-casebook .v492-tab[aria-selected="true"]{outline:2px solid Highlight}.v492-casebook .v492-status{border:1px solid CanvasText}}
