/* V85 · three tangible spaces, one Chaya visual language. */
.cx-hub-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:8px}
.home-world .cw-focus .cx-hub-actions>button{min-height:34px;border:1px solid #e9bdd5a0;border-radius:9px;padding:7px 9px;color:#f9e2ed;background:linear-gradient(120deg,#a7677a77,#61334280);font:900 10px/1.2 'Tour Condensed',sans-serif;letter-spacing:.5px;margin:0}
.home-world .cw-focus .cx-hub-actions>.cw-collection-open{margin:0;min-height:34px;font-size:8px;background:#3c202a66}
.home-world .chaya-world.cw-focus.cw-in-station>.cx-station{display:flex;flex-direction:column;flex:1;gap:9px;min-height:0;padding:10px;overflow:hidden;background:radial-gradient(ellipse at 25% 0,#9555683d,transparent 65%),linear-gradient(140deg,#42232e,#221b2c)}
.cx-options{display:flex;gap:6px;flex:none;min-width:0}
.home-world .cw-focus .cx-options>button,.home-world .cw-focus .cx-secondary,.home-world .cw-focus .cx-file{display:flex;align-items:center;justify-content:center;flex:1;gap:5px;min-width:0;min-height:38px;padding:7px 5px;border:1px solid #c69ca87d;border-radius:10px;background:linear-gradient(120deg,#6e3f4e55,#391e28);color:#e9d1d8;font:900 11px/1.2 'Tour Condensed',sans-serif;text-align:center;letter-spacing:.4px;touch-action:manipulation;cursor:pointer}
.home-world .cw-focus .cx-options>button[aria-pressed=true]{border-color:#ffe0ef;background:linear-gradient(120deg,#edc9db,#bb8898);box-shadow:inset 0 1px 0 #fff6;color:#3c1f29}
.home-world .cw-focus .cx-caption{font:11px/1.3 Arial,sans-serif;letter-spacing:0;text-align:center;color:#d0aeb8;margin:0}
.cx-control-space{display:flex;flex-direction:column;justify-content:center;flex:none;gap:8px;min-height:123px;min-width:0}
.cx-actions{display:flex;gap:7px;flex:none;margin-top:auto}
.home-world .cw-focus .cx-actions>.cw-primary{flex:1;margin:0;min-height:45px;width:auto;font-size:13px}
.home-world .cw-focus .cx-actions>.cx-secondary{flex:0 0 37%;font-size:10px}
.cx-field{display:flex;flex-direction:column;gap:6px;color:#d5b4be;font:900 10px/1.2 'Tour Condensed',sans-serif;letter-spacing:1px}
.home-world .cw-focus .cx-field input{min-width:0;width:100%;height:42px;padding:9px 10px;border:1px solid #c497a5;border-radius:10px;background:#251b2f;color:#fae4ef;font:16px/1.2 Arial,sans-serif}
.cx-file{position:relative;overflow:hidden}
.cx-file input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}
.cx-file:focus-within{outline:2px solid #fdf2f6;outline-offset:2px}
.cx-look-strip{display:flex;gap:6px;overflow-x:auto;padding:3px;scroll-snap-type:x proximity;scrollbar-width:none}
.cx-look-strip::-webkit-scrollbar{display:none}
.home-world .cw-focus .cx-look-strip>button{display:flex;align-items:center;flex-direction:column;gap:3px;flex:0 0 50px;min-width:0;border:1px solid #a8687b;border-radius:9px;padding:4px;background:#542d3a;color:#e6c8d1;scroll-snap-align:start;font-size:10px}
.cx-look-strip img{height:50px;width:40px;object-fit:contain;pointer-events:none}
.home-world .cw-focus .cx-look-strip>button[aria-pressed=true]{border-color:#fff0f7;background:#ae7284;box-shadow:0 0 0 1px #fae2e9}
.cx-photo-preview{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:center;flex:1 1 0;min-height:125px;overflow:hidden;border:1px solid #e9c1d778;border-radius:14px;padding:9px 7px 30px;background:radial-gradient(ellipse,#a05c7066,transparent 75%),#251b2e}
.cx-photo-preview>svg{width:100%;height:100%;display:block;max-height:100%;filter:drop-shadow(0 4px 8px #10081a55)}
.cx-photo-preview:after{content:'';position:absolute;inset:0;pointer-events:none;background:white;opacity:0}
.cx-photo-preview.cx-flash:after{opacity:.92}
.cx-count{position:absolute;z-index:3;left:0;right:0;top:38%;text-align:center;font:900 56px/1 'Tour Condensed',sans-serif;color:white;text-shadow:0 2px 15px #321a23}
.home-world .cw-focus .cx-preview-toggle{position:absolute;bottom:5px;right:7px;min-height:24px;padding:4px 7px;border:1px solid #d5b1bc6b;border-radius:6px;background:#391e28cf;color:#edd5dc;font:900 8px/1.2 'Tour Condensed',sans-serif;letter-spacing:.8px}
.cx-palette{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:6px;padding:3px;flex:none}
.home-world .cw-focus .cx-palette>button{min-width:0;min-height:32px;height:32px;padding:0;border:2px solid #3a1e28;border-radius:9px;background:linear-gradient(120deg,#fff6,transparent 45%,#0003),var(--cx-color);box-shadow:0 0 0 1px #d5b2bd5c;touch-action:manipulation}
.home-world .cw-focus .cx-palette>button[aria-pressed=true]{border-color:#fdf7f9;box-shadow:0 0 0 2px #d4efa0}
.cx-wall-stage{display:flex;align-items:center;justify-content:center;flex:1 1 0;min-height:160px;border:1px solid #cda9b488;border-radius:14px;overflow:hidden;background:#3c202b}
.cx-wall-art{display:block;width:100%;height:100%;touch-action:none;user-select:none;-webkit-user-select:none;cursor:crosshair}
.cx-wall-art text{pointer-events:none}
.home-world .cw-focus .cx-graffiti-station .cx-control-space{min-height:158px}
.cx-room-frame{display:flex;align-items:center;justify-content:center;flex:1 1 0;min-height:200px;container-type:size;overflow:hidden;border-radius:14px;background:radial-gradient(ellipse at 50% 40%,#b7849b33,#29151d);border:1px solid #d1a5bd88}
.cx-room-scene{position:relative;isolation:isolate;width:100%;aspect-ratio:4/5;overflow:hidden;border-radius:12px}
@supports(width:1cqh){.cx-room-scene{width:min(100cqw,80cqh)}}
.cx-room-bg{display:block;width:100%;height:100%;object-fit:cover;pointer-events:none}
.cx-room-glow{position:absolute;z-index:1;inset:0;pointer-events:none;background:linear-gradient(130deg,#ffb85311,transparent 50%,#e974a222);transition:background .5s}
.cx-light-pink .cx-room-glow{background:linear-gradient(130deg,#dc467346,#8c54c433 60%,#f382af44);mix-blend-mode:color}
.cx-light-night .cx-room-glow{background:linear-gradient(130deg,#23114688,#291c4055 60%,#ec4d9b33);mix-blend-mode:multiply}
.cx-room-host{position:absolute;z-index:3;height:53%;width:42%;object-fit:contain;left:39%;bottom:12.5%;pointer-events:none;filter:drop-shadow(3px 4px 3px #25142655)}
.cx-room-shadow{position:absolute;left:43%;bottom:12%;width:30%;height:2%;border-radius:50%;z-index:2;background:#28111a5c;filter:blur(3px);pointer-events:none}
.cx-room-oracle{position:absolute;left:35%;top:9%;width:14%;height:17%;transform:rotate(-7deg);filter:drop-shadow(2px 4px 3px #20152c77);pointer-events:none}
.cx-room-oracle svg{width:100%;height:100%}
.home-world .cw-focus .cx-hotspot{position:absolute;z-index:5;left:var(--x);top:var(--y);transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;gap:5px;min-height:44px;min-width:44px;padding:6px;border:0;background:transparent;color:#fff2f9;touch-action:manipulation}
.cx-hotspot i{display:block;flex:none;width:8px;height:8px;border-radius:50%;background:#fff2d3;box-shadow:0 0 0 5px #ffdbb944,0 0 13px #ffd7a8;animation:cxHotspotGlow 3s ease-in-out infinite}
.cx-hotspot span{padding:5px 6px;border:1px solid #f7d5e776;border-radius:6px;background:#361d25c7;backdrop-filter:blur(7px);font:900 9px/1.1 'Tour Condensed',sans-serif;letter-spacing:.8px}
.cx-hotspot:nth-of-type(even) i{animation-delay:1.5s}
.cx-room-label{position:absolute;z-index:4;bottom:3%;left:6%;pointer-events:none;color:#fff1f7;text-shadow:0 2px 10px #231319}
.cx-room-label small{display:block;font:900 6px/1.2 'Tour Condensed',sans-serif;letter-spacing:2px}
.cx-room-label strong{display:block;font:900 26px/1 'Tour Condensed',sans-serif;margin-top:4px}
.cx-room-controls{display:flex;flex-direction:column;gap:6px;flex:none}
.cx-room-shortcuts{padding-top:3px}
.cx-room-shortcuts>button{font-size:10px!important}
@keyframes cxHotspotGlow{0%,100%{box-shadow:0 0 0 4px #ffdbb933,0 0 10px #ffd7a8}50%{box-shadow:0 0 0 7px #ffdbb922,0 0 17px #ffd7a8}}
@media(max-width:600px) and (max-height:640px){
 .home-world .chaya-world.cw-focus.cw-in-station>.cx-station{gap:6px;padding:8px}
 .cx-control-space{min-height:108px;gap:6px}
 .home-world .cw-focus .cx-graffiti-station .cx-control-space{min-height:140px;gap:5px}
 .home-world .cw-focus .cx-options>button,.home-world .cw-focus .cx-secondary,.home-world .cw-focus .cx-file{min-height:32px;font-size:10px}
 .home-world .cw-focus .cx-actions>.cw-primary{min-height:40px;font-size:11px}
 .cx-look-strip img{height:40px}
 .cx-look-strip{gap:4px}
 .home-world .cw-focus .cx-palette>button{height:28px;min-height:28px}
 .cx-wall-stage{min-height:100px}
 .cx-room-frame{min-height:170px}
 .cx-caption{font-size:10px!important}
}
@media(min-width:601px){
 .home-world .cw-focus .cx-station{height:min(820px,80dvh);min-height:580px}
 .cx-photo-preview{min-height:250px}
 .cx-wall-stage{min-height:260px}
}
@media(max-height:450px){
 .home-world .cw-focus .cx-station{overflow:visible!important;flex:none!important;min-height:580px}
 .cx-photo-preview,.cx-wall-stage,.cx-room-frame{height:300px;min-height:300px;flex:none}
}
@media(prefers-reduced-motion:reduce){.cx-hotspot i{animation:none}.cx-room-glow{transition:none}.cx-photo-preview.cx-flash:after{opacity:.25}}

.cx-wall-stage{position:relative}
.cx-wall-hint{position:absolute;left:8px;right:8px;bottom:6px;text-align:center;pointer-events:none;font:9px/1.3 Arial,sans-serif;color:#efd4e2;text-shadow:0 1px 5px #1c1128;background:#371d2755;border-radius:4px;padding:3px}
@media(max-width:600px){
 .home-world .cw-focus .cx-graffiti-station .cx-control-space{min-height:0;gap:8px}
 .cx-graffiti-station .cx-wall-stage{min-height:110px}
}
@media(max-width:600px) and (min-height:451px) and (max-height:720px){
 .home-world .chaya-world.cw-focus.cw-in-station>.cx-graffiti-station{gap:6px;padding:8px}
 .home-world .cw-focus .cx-graffiti-station .cx-control-space{min-height:0;gap:6px}
 .home-world .cw-focus .cx-graffiti-station .cx-options>button{min-height:32px;font-size:10px}
 .home-world .cw-focus .cx-graffiti-station .cx-field input{height:38px}
 .home-world .cw-focus .cx-graffiti-station .cx-palette>button{height:30px;min-height:30px}
 .home-world .cw-focus .cx-graffiti-station .cx-actions>.cw-primary{min-height:42px}
 .cx-graffiti-station .cx-wall-stage{min-height:100px}
}

/* V87 · the canvas occupies the viewport; controls float over it only when needed. */
#overlay.home-graffiti{padding:0!important;overflow:hidden}
#overlay.home-graffiti #card{width:100%;max-width:none;padding:0;margin:0;transform:none;overflow:visible}
#overlay.home-graffiti .home-shell{height:100dvh;min-height:0;padding:0}
#overlay.home-graffiti{--cx-nav-height:calc(60px + env(safe-area-inset-bottom))}
#overlay.home-graffiti .home-tabs{display:flex;position:fixed;top:auto;bottom:0;left:0;transform:none;width:100%;max-width:none;z-index:50;box-sizing:border-box;min-height:var(--cx-nav-height);padding:6px 46px calc(6px + env(safe-area-inset-bottom)) 5px;border-top:1px solid #aa78945c;border-radius:17px 17px 0 0;background:#26141bf5}
#overlay.home-graffiti .utility-pocket{z-index:55;top:auto;bottom:calc(var(--cx-nav-height) + 8px)}
#overlay.home-graffiti #homeContent{height:100dvh;min-height:0;padding:0;overflow:hidden}
.home-world #homeContent>.chaya-world.cx-graffiti-root{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;min-height:0;margin:0;padding:0!important;display:block;z-index:30}
.home-world .chaya-world.cw-focus.cw-in-station>.cx-wall-fullscreen{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;min-height:0!important;padding:0!important;margin:0;display:block;border:0;border-radius:0;overflow:hidden;background:#381d27;z-index:31}
.home-world .cx-wall-fullscreen>.cx-wall-stage{position:absolute;inset:0;height:100%;width:100%;min-height:0!important;max-height:none;border:0;border-radius:0;overflow:hidden}
.cx-wall-fullscreen .cx-wall-art{height:100%;width:100%;outline-offset:-4px}
.cx-wall-topbar{position:absolute;z-index:3;top:calc(12px + env(safe-area-inset-top));left:12px;right:12px;display:flex;justify-content:flex-end;gap:8px;pointer-events:none}
.cx-wall-toolbar{position:absolute;z-index:5;bottom:calc(14px + env(safe-area-inset-bottom));left:12px;right:12px;display:flex;justify-content:space-between;gap:8px;pointer-events:none}
.home-world .cw-focus .cx-wall-float{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;min-width:44px;padding:10px 13px;border:1px solid #edc9dd87;border-radius:13px;background:#331b24d6;color:#ffe3ef;backdrop-filter:blur(14px);box-shadow:0 4px 12px #170d2640;font:900 11px/1.2 'Tour Condensed',sans-serif;letter-spacing:.5px;pointer-events:auto;touch-action:manipulation}
.cx-wall-float i{display:block;height:16px;width:16px;border:1px solid #fff8;border-radius:50%;box-shadow:inset 0 1px 0 #fff5}
.cx-wall-fullscreen .cx-wall-float:disabled{opacity:.4}
.home-world .cx-wall-fullscreen .cx-wall-drawer{position:absolute;z-index:4;left:12px;bottom:calc(72px + env(safe-area-inset-bottom));width:min(365px,calc(100% - 24px));max-height:calc(100% - 155px - env(safe-area-inset-top) - env(safe-area-inset-bottom));overflow-y:auto;display:flex;flex-direction:column;gap:10px;padding:13px;border:1px solid #e4bbc7ad;border-radius:18px;background:linear-gradient(135deg,#592f3ceF,#261c31f5);backdrop-filter:blur(20px);box-shadow:0 8px 28px #140b2855}
.cx-wall-drawer[hidden]{display:none!important}
.cx-wall-drawer>header{display:flex;align-items:center;justify-content:space-between;gap:8px}
.cx-wall-drawer>header strong{font:900 26px/1 'Tour Condensed',sans-serif;color:#fbdbe9}
.home-world .cx-wall-drawer>header>button{min-height:36px;padding:7px 9px;border:1px solid #d3aab67a;border-radius:9px;background:#251a2f70;color:#eccbd5;font:900 10px/1.1 'Tour Condensed',sans-serif}
.home-world .cw-focus .cx-wall-drawer .cx-options>button{min-height:40px;font-size:11px}
.home-world .cw-focus .cx-wall-drawer .cx-palette>button{height:36px;min-height:36px}
.cx-graffiti-root>#cwStatus{position:fixed;z-index:40;top:calc(66px + env(safe-area-inset-top));left:18px;right:18px;padding:7px!important;border-radius:9px;background:#2b2036b8;backdrop-filter:blur(12px);color:#ffe1ee!important;text-align:center;pointer-events:none;font:11px/1.35 Arial,sans-serif!important}
.cx-graffiti-root>#cwStatus:empty{display:none!important}
@media(min-width:601px){.home-world .cx-wall-fullscreen .cx-wall-drawer{max-width:365px}.home-world .cw-focus .cx-wall-float{font-size:12px}}
@media(max-height:500px){.home-world .cx-wall-fullscreen .cx-wall-drawer{max-height:calc(100% - 110px);bottom:64px}.cx-wall-topbar{top:8px}.cx-wall-toolbar{bottom:8px}}

/* V89 · reserve the main navigation below the full-width paint canvas. */
#overlay.home-graffiti #homeContent>.cx-graffiti-root,
#overlay.home-graffiti .cw-in-station>.cx-wall-fullscreen{height:calc(100dvh - var(--cx-nav-height));bottom:auto}
