:root{--ink:#433d34;--copper:#9a6947;color:var(--ink);background:#f9f7f1}html,body{height:100%;height:100dvh;overflow:hidden}body[data-phase=loading] #stagehost{visibility:hidden}button,input,select{min-height:44px}button{border-radius:0}#chrome{z-index:80;height:64px;border-color:#7e695a24;background:transparent}#chrome:has(~main #studio:not([hidden])){background:#faf8f0e6}#stage-main>section{background:transparent;z-index:5;pointer-events:none}#stage-main>section button,#stage-main>section input,#stage-main>section select{pointer-events:auto}#worlds,#worlds .world,#stagehost,#tour-fragments{position:fixed;inset:0}#worlds{z-index:0;overflow:hidden;background:#f9f7f1;pointer-events:none}#worlds .world{opacity:0;overflow:hidden}.world.japandi{background:#e9e4d7;background-image:repeating-linear-gradient(91deg,#a3937020 0px,transparent 1px,transparent 7px),radial-gradient(ellipse at 80% 20%,#f6efdf 0,transparent 65%)}.world.japandi:after{content:"";position:absolute;inset:0;background:repeating-linear-gradient(0deg,transparent 0,transparent 4px,#b8a7800a 5px);opacity:.8}.world.japandi{background-image:repeating-linear-gradient(91deg,#a3937006 0px,transparent 1px,transparent 7px),radial-gradient(ellipse at 80% 20%,#f6efdf 0,transparent 65%)}.world.japandi:after{opacity:.35}.world #bonsai-shadow{opacity:.5;left:-6%;top:15%;width:31%;height:70%;filter:blur(6px);transform:rotate(-7deg);z-index:0}.world #bonsai-shadow .trunk{opacity:.32;stroke:#514c34}.world #bonsai-shadow .branch{opacity:.36;stroke:#514c34}.world #bonsai-shadow .foliage{opacity:.42;fill:#5f6550}.world.mcm{background:#ead6b7;background-image:radial-gradient(ellipse at 70% 20%,#ffecd0 0%,transparent 75%)}.world.mcm .sun{position:absolute;width:35vw;height:35vw;right:-4vw;top:-12vw;border-radius:50%;background:#c69558;box-shadow:0 0 0 1.8vw #d7b27d}.world.mcm .grid{position:absolute;left:2%;top:19%;width:20%;height:48%;background-image:linear-gradient(#85674721 1px,transparent 1px),linear-gradient(90deg,#85674721 1px,transparent 1px);background-size:22px 22px}.world.mcm .edition{position:absolute;left:5%;right:5%;bottom:11%;height:1px;background:#9d6f4444}.world.dopamine{background:#f3d66e}.world.dopamine .blue{position:absolute;width:42vw;height:42vw;right:-18vw;top:-12vw;background:#385ec5;border-radius:50%}.world.dopamine .pink{position:absolute;width:47vw;height:17vw;right:-7vw;top:12%;background:#efa5b1;transform:rotate(-15deg)}.world.dopamine .dots{position:absolute;width:20%;height:45%;left:1%;top:17%;background:radial-gradient(#3d55aa88 1px,transparent 1.8px) 0 0/10px 10px;opacity:.55}.world.dopamine .slash{position:absolute;right:7%;bottom:13%;height:2px;width:22%;background:#4260be;transform:rotate(-5deg)}#tour-fragments{z-index:1;pointer-events:none;overflow:hidden;opacity:.62}#stagehost{z-index:3;pointer-events:none;min-height:0}#stagehost .room-stage{position:absolute;inset:0;width:100%;height:100%;min-height:0;background:transparent}#stagehost canvas{display:block;width:100%;height:100%;outline:none}body[data-phase=studio] #stagehost{pointer-events:auto}#recovery-status{position:fixed;z-index:70;left:50%;top:45%;transform:translate(-50%,-50%);width:min(88vw,440px);padding:24px;background:#faf7e8ed;border:1px solid #b7a58a;text-align:center;box-shadow:0 14px 50px #4d3c2d14}#recovery-status p{font-size:16px;line-height:1.8}#recovery-status button{display:block;width:100%;margin-top:10px;background:#f7f1e7;border:1px solid #bba78b;padding:8px}.landing-text{left:5.2%;bottom:17%;width:30%;color:#3c493b}body[data-world=mcm] .landing-text{color:#60452e}body[data-world=dopamine] .landing-text{color:#293f87}.landing-text h1{font-size:clamp(44px,4.9vw,92px);line-height:1.12;letter-spacing:-.025em}html[lang=ar] .landing-text h1{font-size:clamp(48px,5.1vw,94px);line-height:1.35}.landing-text .intro-overline{font-size:12px;letter-spacing:.14em;margin-bottom:16px}.landing-text .intro-subline{max-width:28ch;font-size:16px;margin-top:20px;line-height:1.65}.start-btn{background:#765439;min-width:220px;min-height:54px}body[data-world=japandi] .start-btn{background:#4b5844}body[data-world=dopamine] .start-btn{background:#2e4da6}#identity{z-index:10;width:250px;filter:drop-shadow(0 2px 10px #20150b16)}.intro-bottom{bottom:calc(18px + env(safe-area-inset-bottom));font-size:11px}#resume{border-radius:0;width:auto;padding:7px 14px;border:1px solid #a49476;background:#fff7d833}.tour-corner{top:88px;left:5%;color:#3f382d}.tour-bottom{bottom:calc(22px + env(safe-area-inset-bottom))}.tour-bottom button{border-color:#bca485;background:#f9f6e9e8}#studio{color:#493d33;--copper:#9d6c46}#studio:before{content:"";position:absolute;left:4%;top:10.4%;width:47%;height:1px;background:#b17c50;transform-origin:left;animation:rule-in 1.1s cubic-bezier(.2,.8,.2,1) both}#studio:after{content:"";position:absolute;right:4%;top:10.4%;width:34px;height:34px;border-top:2px solid #b17c50;border-right:2px solid #b17c50;animation:controls-in .9s .2s both;pointer-events:none}.studio-head{left:4%;top:12.5%;direction:ltr;max-width:27%;text-align:left}.studio-brand{color:#75533d}.stud-mono{font:600 10px Arial;letter-spacing:.22em;color:#8f7b66}.studio-brand h2{font-size:clamp(22px,2.2vw,34px);line-height:1.2;margin-top:8px}.demo-warning{font-size:10px;color:#8a7c68;line-height:1.6;margin-top:8px}#control-dock{inset:27% auto auto 4%;width:clamp(270px,24vw,345px);max-height:59dvh;overflow-y:auto;border-radius:0;background:#fbf6ecef;border:1px solid #c5ac8e;padding:22px 20px;box-shadow:7px 7px #b89b7020;backdrop-filter:none;animation:panel-in 1.1s cubic-bezier(.22,.8,.2,1) both}#dock-close{position:relative;display:block;top:auto;left:auto;width:100%;height:32px;min-height:32px;line-height:20px;font-size:18px;color:#9b7859;margin:-16px 0 8px}.dock-title{font-size:25px;color:#76533e;line-height:1.35;margin:3px 0 8px}.dock-sub{font-size:12px;color:#8d7b65;line-height:1.75}.field{font-size:11px;color:#806b55;gap:6px}.field input,.field select{height:44px;border-radius:0;border:1px solid #d0bda3;background:#fffdf7;color:#5c4836;font:14px THWQArabic,Arial;direction:ltr}.dock-primary{border-radius:0;background:#8d6547;min-height:46px}.style-card{border-radius:0;border-color:#c7b398}.style-card[aria-pressed=true]{outline-color:#9a6c45}.intensity button[aria-pressed=true],.chip-row button[aria-pressed=true]{background:#906b4b}.object-list button,.chip-row button,.work-actions button{border-radius:0;background:#fffaf0;border-color:#d1bea3;color:#71573e;min-height:44px}.journey-nav{top:18%;right:4%;left:auto;width:170px;display:flex;flex-direction:column;gap:10px;direction:ltr;animation:rail-in 1.1s .18s cubic-bezier(.22,.8,.2,1) both}.step{border-radius:0;padding:12px 14px;border-color:#c9b08d;color:#8b6447;background:#f1dfc7;min-height:49px;justify-content:space-between}.step em{color:inherit}.step[aria-current=step]{border-color:#986c46;background:#dfc39d;color:#5b402f}.room-rail{inset:auto 4% 16% auto;gap:9px;align-items:end;animation:controls-in 1.1s .4s both}.room-indicator{background:transparent;border:0;border-radius:0;padding:0;text-align:right;backdrop-filter:none}.room-indicator span{font:9px Arial;letter-spacing:.16em;color:#a08365}.room-indicator strong{color:#8b6b4f;font-size:13px}.view-actions{flex-direction:row;gap:5px}.view-actions button{border-radius:0;border-color:#c9b89f;background:#fbf8edcc;width:38px;height:44px}.studio-bottom{border-radius:0;box-shadow:none;border:0;background:#f7f2e9e6;bottom:calc(16px + env(safe-area-inset-bottom));padding:4px}.studio-bottom .utility{border-radius:0;min-height:44px;padding:9px 15px;color:#7f6147}.studio-bottom .prominent{background:#8b6344;color:#fff}#toast{background:#745338;border-radius:0;bottom:calc(95px + env(safe-area-inset-bottom))}@keyframes panel-in{0%{opacity:0;transform:translate(-42px,22px) scale(.95)}to{opacity:1;transform:none}}@keyframes rail-in{0%{opacity:0;transform:translate(90px,22px)}to{opacity:1;transform:none}}@keyframes controls-in{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}@keyframes rule-in{0%{transform:scaleX(.05)}to{transform:scaleX(1)}}@media (max-width:700px){#chrome{height:54px;padding:0 16px}.chrome-btn{min-height:36px;min-width:60px;font-size:11px}#worlds .world .sun{width:72vw;height:72vw;right:-31vw;top:10vh;box-shadow:0 0 0 3vw #d9b781}.world.mcm .grid{top:20%;height:25%;width:19%;left:-3%;background-size:17px 17px}.world #bonsai-shadow{width:66%;left:-29%;top:13%;height:54%;filter:blur(5px)}.world.dopamine .blue{width:92vw;height:92vw;right:-63vw;top:15vh}.world.dopamine .pink{width:83vw;height:24vw;right:-40vw;top:23vh}.world.dopamine .dots{top:18%;width:16%;height:34%;background-size:8px 8px}.world.dopamine .slash{bottom:45%;right:4%;width:10%}#tour-fragments{opacity:.32}#identity{width:174px}.landing-text{left:6%;right:6%;bottom:10%;width:auto;pointer-events:none}.landing-text .intro-index{font-size:9px}.landing-text .intro-overline{display:none}.landing-text h1,html[lang=ar] .landing-text h1{font-size:clamp(42px,11.5vw,59px);line-height:1.14}.landing-text h1{flex-direction:row;gap:.18em;flex-wrap:wrap}.title-and-guide{gap:13px}.guide{min-height:55px}.landing-text .intro-subline{font-size:12px;margin:9px 0 15px;max-width:none}.start-btn{min-height:48px;min-width:192px;padding:11px 17px;font-size:14px}.intro-bottom{left:6%;right:6%;bottom:calc(13px + env(safe-area-inset-bottom));font-size:9px;letter-spacing:.04em}#counter{display:none}.intro-bottom button{min-height:38px}.tour-corner{top:75px;font-size:11px}.tour-corner strong{font-size:23px}.tour-bottom{bottom:calc(20px + env(safe-area-inset-bottom));left:6%;right:6%;font-size:10px}.studio-head{left:5%;right:5%;top:75px;max-width:none}.studio-brand h2{font-size:24px;line-height:1.15}.stud-mono{font-size:9px}.demo-warning{font-size:9px;margin-top:5px;max-width:none}#studio:before{top:65px;left:5%;width:58%}#studio:after{top:66px;right:5%;width:22px;height:22px}.journey-nav{top:160px;left:5%;right:5%;width:90%;flex-direction:row;gap:5px}.step{padding:8px 11px;font-size:11px;max-width:none;min-height:44px;flex:1}.room-rail{right:5%;bottom:calc(128px + env(safe-area-inset-bottom));top:auto;left:auto;gap:5px}.room-indicator{display:none}.view-actions{gap:4px}.view-actions button{width:36px;min-height:42px;height:42px}#control-dock{left:4%;right:4%;top:auto;bottom:calc(68px + env(safe-area-inset-bottom));width:92%;max-height:53dvh;padding:14px 16px 21px;border-radius:0;box-shadow:5px 5px #b89b7020;animation:controls-in .8s .1s both;transition:transform .35s cubic-bezier(.2,.8,.2,1)}#control-dock.mobile-collapsed{transform:translateY(calc(100% - 49px));overflow:hidden;animation:none}#dock-close{min-height:40px;height:40px;line-height:24px;margin:-9px 0 7px}.dock-title{font-size:23px}.dock-sub{font-size:11px}.studio-bottom{bottom:calc(9px + env(safe-area-inset-bottom));max-width:96%;width:max-content;gap:0}.studio-bottom .utility{min-height:44px;font-size:11px;padding:8px 12px}.form-grid{gap:10px}.field input,.field select{height:44px;font-size:14px}#toast{bottom:calc(120px + env(safe-area-inset-bottom))}}@media (max-height:560px) and (orientation:landscape){.studio-head{top:68px}.studio-brand h2{font-size:20px}#control-dock{top:26%;max-height:55dvh;width:30%;min-width:235px}.journey-nav{top:22%;width:130px}.step{padding:8px}.landing-text{bottom:12%;width:32%}.landing-text h1{font-size:40px}.intro-subline,.intro-overline{display:none}.start-btn{min-height:44px}}@media (prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}#stagehost,#tour-fragments{filter:none!important}}.landing-text h1{font-size:clamp(38px,4.05vw,74px)}.landing-text h1 span{white-space:nowrap}#control-dock,.step,.studio-bottom,.chrome-btn{font-family:THWQArabic,Arial,sans-serif}html[lang=en] #control-dock,html[lang=en] .step,html[lang=en] .studio-bottom,html[lang=en] .chrome-btn{font-family:Arial,sans-serif}@media (max-width:700px){#control-dock.mobile-collapsed{clip-path:inset(0 0 calc(100% - 49px) 0)}#control-dock.mobile-collapsed #dock-inner{visibility:hidden}#control-dock.mobile-collapsed #dock-close{font:12px THWQArabic,Arial,sans-serif;margin-top:-6px}}body[data-studio-style=japandi]{--studio-accent:#53624a;--studio-line:#aab59d;--studio-wash:#f1f2e6;--studio-step:#e0e5cf}body[data-studio-style=dopamine]{--studio-accent:#3c56ac;--studio-line:#a4afcc;--studio-wash:#f1f1f9;--studio-step:#e0e4f4}body[data-phase=studio][data-studio-style] #studio:before{background:var(--studio-accent,#a77850)}body[data-phase=studio][data-studio-style] #studio:after{border-color:var(--studio-accent,#a77850)}body[data-phase=studio][data-studio-style] .dock-primary,body[data-phase=studio][data-studio-style] .studio-bottom .prominent{background:var(--studio-accent,#8d6547)}body[data-phase=studio][data-studio-style] #control-dock{border-color:var(--studio-line,#c5ac8e);background:var(--studio-wash,#fbf6ec)}body[data-phase=studio][data-studio-style] .step{border-color:var(--studio-line,#c9b08d);background:var(--studio-wash,#f1dfc7)}body[data-phase=studio][data-studio-style] .step[aria-current=step]{color:var(--studio-accent,#5b402f);background:var(--studio-step,#dfc39d)}body[data-phase=studio][data-studio-style] .style-card[aria-pressed=true]{outline-color:var(--studio-accent,#9a6c45)}#tour-fragments{z-index:1!important}#furniture-marks{position:fixed;inset:0;z-index:4;pointer-events:none;overflow:hidden}body:not([data-phase=tour]) #furniture-marks{display:none}#cinema-play{position:fixed;z-index:60;left:50%;top:65%;transform:translate(-50%,-50%);min-height:48px;max-width:85vw;padding:14px 24px;border:1px solid #9d8062;background:#fbf7eadf;color:#684c35;font:16px THWQArabic,Arial,sans-serif;cursor:pointer}#cinema-play[hidden]{display:none}#start:disabled{opacity:var(--cta-in,0);pointer-events:none}body[data-phase=loading] #stagehost,body[data-phase=loading] #tour-fragments{visibility:hidden}#opening-room{position:fixed;inset:0;z-index:4;overflow:hidden;pointer-events:none;filter:blur(2.4px)}#opening-room img{position:absolute;max-width:none;max-height:none}#opening-room[hidden],#opening-note[hidden]{display:none}#opening-note{position:fixed;z-index:65;left:5%;right:5%;bottom:80px;display:flex;gap:12px;justify-content:center;align-items:center;font-size:12px;color:#675a46}#opening-note button{padding:8px 14px;border:1px solid #b7a58a;background:#faf7e8;color:inherit}body[data-phase=loading] .landing-text,body[data-phase=loading] #identity{visibility:hidden}body[data-phase=loading][data-world=japandi] #worlds .world.japandi,body[data-phase=loading][data-world=mcm] #worlds .world.mcm,body[data-phase=loading][data-world=dopamine] #worlds .world.dopamine{opacity:1}@media (max-width:700px){.view-actions button{width:44px;min-width:44px;height:44px;min-height:44px}.chrome-btn{min-height:44px}.intro-bottom button{min-width:44px;min-height:44px}#dock-close{height:44px;min-height:44px;margin-top:-11px}}@media (max-width:700px){html[lang=ar] .landing-text h1{direction:rtl;text-align:right}html[dir=rtl] .journey-nav{direction:rtl}}
