/* Responsive layout: room artwork keeps its own coordinate system; UI stays readable. */
@media(max-width:1366px){
 body{overflow-x:hidden}
 body .viewport{min-width:0;min-height:0;width:100%;height:100dvh}
 body .canvas{inset:0;width:100%;height:100dvh;transform:none!important;mask:none!important;overflow:hidden}
 body .canvas .header{position:absolute;inset:0 0 auto;width:100%;height:118px;transform:none!important;transform-origin:0 0;display:flex;flex-wrap:wrap;gap:8px 16px;align-content:flex-start;padding:12px max(16px,env(safe-area-inset-right)) 6px max(16px,env(safe-area-inset-left));background:linear-gradient(#100a17fa,#100a17f2);z-index:40!important;isolation:isolate}
 body .canvas .header::before{display:none}
 body .canvas .header .logo{width:110px;height:45px;flex:none}
 body .canvas .header .contact{margin:4px 0 0 auto;padding:9px 12px;font-size:11px;min-height:40px;line-height:20px}
 body .canvas .header .contact span{font-size:16px;margin-left:6px}
 body .canvas .header nav{order:3;margin:0;width:100%;gap:22px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;align-items:center}
 body .canvas .header nav button{font-size:12px;letter-spacing:0;flex:none;min-height:44px;padding:10px 0;white-space:nowrap}
 body .canvas:not(.in-scene) #world{inset:118px auto auto 0;width:1536px;height:1024px;transform:scale(var(--mobile-room-scale))!important;transform-origin:0 0}
 body .canvas:not(.in-scene){overflow-y:auto;overscroll-behavior-y:contain}
 body .canvas:not(.in-scene) .intro{position:relative;top:auto;left:auto;width:auto;margin:calc(118px + 100vw * 2 / 3) 20px 20px;padding-top:22px}
 body .canvas:not(.in-scene) .intro h1{display:flex;align-items:center;gap:12px;width:100%;height:auto;margin:0 0 16px}
 body .canvas:not(.in-scene) .intro h1 img{position:static;width:auto;height:58px;max-width:65%;object-fit:contain;transform:none}
 body .canvas:not(.in-scene) .intro p{font-size:16px;line-height:1.6;max-width:500px;margin-bottom:18px}
 body .canvas:not(.in-scene) .intro p br{display:none}
 body .canvas:not(.in-scene) .explore{min-height:48px;font-size:13px}
 body .canvas:not(.in-scene) .explore-hint{display:none}
 body .canvas:not(.in-scene) .hotspots{position:relative;inset:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:20px}
 body .canvas:not(.in-scene) .hotspots .hotspot{position:relative;inset:auto;width:100%;min-height:76px;font-size:12px;padding:10px;transform:none}
 body .canvas:not(.in-scene) .hotspot small{font-size:11px;line-height:1.4;white-space:normal}
 body .canvas:not(.in-scene) .hotspot .icon{width:32px;height:32px;flex-shrink:0}
 body .canvas:not(.in-scene) #vibes{position:relative;inset:auto;margin:24px 20px;width:min(340px,calc(100% - 40px));height:145px}
 body .canvas:not(.in-scene) .chats{position:relative;inset:auto;width:auto;margin:24px 20px 40px;display:grid;gap:12px}
 body .canvas:not(.in-scene) .chats .chat{max-width:420px}.chats .chat p{white-space:normal}
 body .canvas:not(.in-scene) #restore-vibes{position:relative;inset:auto;margin:20px;min-height:44px}
 body .canvas .global-sound{right:14px;top:130px;width:44px;height:44px;font-size:20px;z-index:25}
 body .canvas .toast{position:fixed;left:16px;right:16px;bottom:20px;max-width:none;transform:none;font-size:14px}
 body .canvas.in-scene:not(.archive-active) #world{zoom:var(--mobile-room-scale)}
 body .canvas .scene-controls #back{top:128px;left:16px;right:auto;bottom:auto;font-size:13px;min-height:44px;padding:10px 14px;z-index:30}
 body .canvas .scene-controls #back span{display:none}
 body .canvas .scene-caption{left:16px;right:16px;bottom:20px;max-width:none;padding:16px}
 body .canvas .scene-caption h2{font-size:20px}
 .window-view .window-state-control{left:0!important;top:0!important;width:100%;max-width:100%;height:auto;min-height:70px;transform:none!important;flex-wrap:wrap;background:#110b18ef;padding:12px;gap:8px;z-index:30}
 .window-state-control #back{position:static!important;font-size:13px;min-height:44px;flex-shrink:0}
 .window-state-control .atmosphere-options{overflow-x:auto;max-width:100%;gap:12px}.atmosphere-options button{min-height:44px;flex-shrink:0}
 .window-view .hands-container{width:min(760px,100vw);height:auto;aspect-ratio:760/507;left:50%;translate:-50% 0;bottom:0}
 .window-view .city-master{object-fit:contain}
 body .canvas.archive-active{overflow:hidden}
 .archive-room{overflow-y:auto;padding:130px 16px 75px}
 .archive-room .archive-ui{position:relative;inset:auto;width:100%}
 .archive-ui h1{margin:0 0 12px}.archive-title-art{max-width:160px!important;height:auto!important}
 .archive-room .archive-ui nav{width:100%;flex-direction:row;overflow-x:auto;gap:8px;margin-bottom:16px}
 .archive-room .archive-ui nav button{flex:none;min-height:44px;padding:10px 13px;font-size:12px}
 .archive-room .archive-ui nav .category-title{font-size:12px}.archive-ui nav .category-plus{font-size:16px!important}
 .archive-press-link{display:none}
 .archive-room .archive-stage{position:relative;inset:auto;width:100%;height:auto;zoom:1;transform:none!important;margin-top:125px}
 .archive-stage .archive-environment{object-fit:cover;opacity:.25}.archive-stage .archive-displays{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
 .archive-displays .archive-screen-wrap{position:relative;min-width:0}.archive-screen-glow{display:none}
 .archive-displays .archive-screen{position:relative;inset:auto;width:100%!important;height:auto!important;aspect-ratio:16/10;transform:none!important;border:1px solid #795065;border-radius:8px;box-shadow:none!important}
 .archive-displays .archive-screen img{object-fit:contain}.archive-screen-label{display:none}
 .archive-room .archive-stage+.archive-ui{position:absolute;left:16px;right:16px;top:130px;width:auto}
 .archive-room[data-state=archive-filtered] .archive-stage{display:none}
 .archive-room .archive-category-view{position:relative;inset:auto;padding:0;margin-top:130px;border-radius:0;overflow:visible;background:transparent}
 .archive-category-view>header{display:block;padding-bottom:65px;margin-bottom:18px;min-height:0}
 .archive-category-view h2{font-size:24px}.archive-category-view header p{font-size:13px}
 .archive-category-view .archive-search{position:relative;inset:auto;width:100%;font-size:16px;min-height:44px;margin-top:12px}
 .archive-category-view .archive-project-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-height:none;overflow:visible;gap:14px}
 .archive-project-cards .archive-project-card{grid-column:auto!important;grid-row:auto!important;min-width:0}
 .archive-project-card .case-card-copy strong{font-size:13px}.archive-project-card .case-card-copy small{font-size:12px}
 .archive-project-card .case-card-visual img{object-fit:contain!important}
 .archive-room .archive-case-page{position:fixed;inset:118px 0 0;overflow:auto;padding:70px 20px 90px;z-index:10}
 .archive-case-page .case-hero-copy{position:relative;inset:auto;width:100%;margin:20px 0}.archive-case-page .case-hero-copy h2{font-size:28px}
 .archive-case-page .case-hero-media{position:relative;inset:auto;height:auto}.case-hero-media img{height:auto;object-fit:contain}
 .archive-case-page>.archive-project-back{top:12px!important;left:16px!important;font-size:13px;min-height:44px}
 .archive-case-page .case-extra-media img{max-width:100%;height:auto;object-fit:contain}
 .archive-case-page.neon-viewer{padding:70px 60px 80px 16px}
 .neon-content{gap:26px 16px}.neon-content>*{grid-column:1/-1!important}.neon-intro{padding:0}
 .neon-rail{top:190px;right:8px;width:36px}.neon-art img{max-width:100%;height:auto;object-fit:contain}
 body .canvas.archive-active #back{position:fixed;top:auto;bottom:14px;right:16px;left:auto;background:#140b1bef}
 .studio-body{padding-top:138px}.studio-filters{overflow-x:auto}.studio-filters button{flex:none;min-height:44px}
 .studio-arrows button{min-width:44px;min-height:44px}
 .journal-shell{padding-top:140px}.journal-tabs button{min-height:44px;font-size:12px}
 .ideas-welcome{top:140px}.ideas-dossier{top:135px;max-height:calc(100dvh - 155px)}
 .ideas-chapters button,.ideas-actions a,.ideas-actions button,.ideas-story-footer button{min-height:44px}
 .ideas-film button{min-width:44px}.ideas-close{min-width:44px;min-height:44px}
 .yard-panel{bottom:max(12px,env(safe-area-inset-bottom));left:12px;right:12px}.yard-panel button{min-height:44px}.yard-tools label{font-size:12px}
 .contact-panel{width:min(520px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;padding:30px 20px}
 .contact-panel input,.contact-panel textarea{font-size:16px}
 .shelf-large{left:5%;top:180px;width:40%;height:40vh}.shelf-info{left:48%;top:190px;width:48%;padding:16px}.shelf-info h2{font-size:20px}.shelf-info p{font-size:14px}.shelf-caption{left:16px;top:180px}.shelf-return{left:16px;top:128px;min-height:44px}
}
@media(max-width:600px){
 .archive-category-view .archive-project-cards{grid-template-columns:1fr}
 .journal-top{flex-wrap:wrap}.journal-book{height:auto}.journal-index{min-width:0}.journal-card{flex:0 0 180px}
 .yard-title{top:135px!important;left:6%!important;width:78%!important}
 .yard-scene canvas{left:8%!important;top:32%!important;width:84%!important;height:auto!important;aspect-ratio:1200/620}
 .yard-tools{max-height:180px;overflow:auto;padding:8px;background:#100b17e8;border-radius:12px}
 .shelf-large{left:15%;top:180px;width:70%;height:32vh}.shelf-info{left:16px;top:calc(190px + 32vh);width:calc(100% - 32px);max-height:36vh;overflow:auto}
}
@media(max-width:1366px) and (max-height:600px){
 .ideas-welcome{top:130px;bottom:12px;overflow:auto}.ideas-welcome h1{font-size:26px}.ideas-dossier{top:125px;max-height:calc(100dvh - 135px)}
 .yard-title{top:122px!important;width:30%!important}.yard-scene canvas{left:35%!important;top:128px!important;width:55%!important;height:auto!important;aspect-ratio:1200/620}.yard-tools{max-height:100px;overflow:auto}
}
@media(pointer:coarse){.dd-cursor{display:none!important}button,a{touch-action:manipulation}.yard-scene canvas{touch-action:none}.studio-film:hover{transform:none}}
@media(max-width:1366px){
 .archive-category-view .archive-project-cards{height:auto;grid-auto-rows:auto;grid-auto-flow:row;scrollbar-gutter:auto}
 .archive-project-cards .archive-project-card{width:100%!important;height:auto!important;max-width:100%}
 .archive-project-card .case-card-visual{height:auto!important;min-height:200px;aspect-ratio:auto}
 .archive-project-card .case-card-visual img{position:relative;width:100%;height:auto!important;display:block}
 .archive-case-page .case-extra-media{position:relative;inset:auto;width:100%;margin:20px 0}
 .archive-case-page .case-gallery-picker{position:relative;inset:auto;width:100%;height:auto;display:flex;overflow-x:auto;margin-top:20px}
 .case-gallery-picker button{flex:0 0 75px;height:90px;min-height:44px}.case-hero-media video{max-width:100%;height:auto}
 .window-view{overflow:hidden}.window-view .window-extensions{left:0;width:100%}.window-extensions img{height:100%;width:auto}
 .sofa-greeting{left:20px;top:190px;font-size:25px}
 .pet-layer,.social-phone-layer{position:fixed;inset:118px 0 0;z-index:45;overflow:auto;background:#08050de6}
 .pet-panel{position:relative;inset:auto;width:min(510px,calc(100% - 24px));height:auto;min-height:500px;margin:18px auto;padding:20px}
 .pet-ring,.pet-projection{display:none}.pet-close{min-width:44px;min-height:44px}
 .social-phone-object{left:50%;top:55px;width:min(624px,100vw);height:auto;aspect-ratio:624/936;translate:-50% 0}
 .social-phone-close{right:12px;top:4px;min-height:44px}.social-phone-close span{display:none}
 body .canvas:not(.in-scene) .pet-egg{left:auto;right:20px;top:calc(118px + 100vw * .5);width:55px;height:65px}
 body .canvas:not(.in-scene) .social-phone-trigger{left:calc(100vw * .358);top:calc(118px + 100vw * .297);width:44px;height:44px}
 body .canvas:not(.in-scene) .social-phone-hotspot{display:none}
 .ideas-welcome{max-height:calc(100dvh - 220px);overflow-y:auto}
}

/* Mobile home: one camera, one room. Never layer a scaled room over another room. */
@media(max-width:1366px){
 body .viewport::before{display:none!important}
 body .canvas{background:#08070a}
 body .canvas:not(.in-scene){overflow:hidden}
 body .canvas:not(.in-scene) #world,
 body .canvas.in-scene[data-mode=sofa] #world,
 body .canvas.in-scene[data-mode=window] #world{
  position:absolute;inset:auto!important;left:var(--home-camera-x)!important;top:var(--home-camera-y)!important;
  width:1536px;height:1024px;zoom:1!important;transform:scale(var(--home-camera-scale))!important;transform-origin:0 0;transition:none!important;
  mask-image:linear-gradient(to bottom,transparent,#000 65px,#000 86%,transparent);
 }
 body .canvas:not(.in-scene) .intro{position:absolute;left:22px;right:72px;top:138px;width:auto;margin:0;padding:0;pointer-events:none;z-index:3}
 body .canvas:not(.in-scene) .intro h1{height:50px;gap:8px;margin:0;filter:drop-shadow(0 2px 8px #08070a)}
 body .canvas:not(.in-scene) .intro h1 img{height:44px;max-width:60%}
 body .canvas:not(.in-scene) .intro p,
 body .canvas:not(.in-scene) .intro .explore,
 body .canvas:not(.in-scene) .chats,
 body .canvas:not(.in-scene) #restore-vibes{display:none}
 body .canvas:not(.in-scene) .hotspots{position:absolute;left:0;right:0;top:auto;bottom:0;margin:0;padding:40px 14px max(20px,env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;background:linear-gradient(transparent,#08070a 35%);z-index:5}
 body .canvas:not(.in-scene) .hotspots .hotspot{display:flex;flex-direction:column;justify-content:center;gap:8px;min-height:74px;padding:9px 3px;border:1px solid #9b67863d;border-radius:13px;background:#1a101bdd;box-shadow:none;text-align:center;font-size:10px;line-height:1.3}
 body .canvas:not(.in-scene) .hotspot small{display:none}
 body .canvas:not(.in-scene) .hotspot .icon{width:27px;height:27px;background:none;box-shadow:none;color:#ec9bcc}
 body .canvas:not(.in-scene) .hotspot .icon svg{width:22px;height:22px;filter:none}
 body .canvas:not(.in-scene) #vibes{position:absolute;inset:auto 14px 125px auto;margin:0;width:44px;height:44px;padding:0;background:#180f1bbd;border:1px solid #82536b55;border-radius:50%;z-index:6}
 body .canvas:not(.in-scene) #vibes>*{display:none}
 body .canvas:not(.in-scene) #vibes .playback{display:block;position:absolute;inset:0}
 body .canvas:not(.in-scene) #vibes .playback button{display:none}
 body .canvas:not(.in-scene) #vibes #music-toggle{display:block;width:44px;height:44px;font-size:16px;color:#f3b2db}
 body .canvas:not(.in-scene) .pet-egg,
 body .canvas:not(.in-scene) .social-phone-trigger{display:none}
 body .canvas #world .character-surface,body .canvas #world .rig-chest,body .canvas #world .hair-detail{animation:none!important}
 body .canvas #world .room{transition:none!important}
 .window-glass-bridge,.archive-doorway{display:none!important}
 .home-ui{transition:opacity .2s ease!important}
 body .canvas .window-view{transition:opacity .25s ease,visibility .25s ease}
 body .canvas:not(.in-scene) .global-sound{top:132px;background:#170d19b3;border:1px solid #81526b44}
}
@media(max-width:1366px) and (max-height:740px){
 body .canvas:not(.in-scene) .intro{display:none}
}
@media(min-width:601px) and (max-width:1366px){
 body .canvas:not(.in-scene) .hotspots{left:50%;right:auto;translate:-50% 0;width:min(560px,100%)}
}
@media(max-width:1366px) and (orientation:landscape){
 body .canvas:not(.in-scene) .hotspots{left:auto;right:14px;bottom:10px;width:180px;translate:none;grid-template-columns:repeat(2,1fr);padding:10px;background:none}
 body .canvas:not(.in-scene) #vibes{left:16px;right:auto;bottom:18px}
}

/* Audit fixes: mobile controls, scene geometry and secondary interactions. */
.mobile-menu,.mobile-more{display:none}
.mobile-room-sheet{width:min(460px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:auto;border:1px solid #895873;border-radius:20px;padding:24px;background:#160f1d;color:#eee4ed}
.mobile-room-sheet::backdrop{background:#08060bba}.mobile-room-sheet h2{font-size:22px;margin:0 45px 22px 0}.mobile-room-sheet h3{font-size:14px;margin:24px 0 14px;color:#d7bfd0}
.mobile-sheet-close{position:absolute;right:10px;top:10px;width:44px;height:44px;font-size:26px}.mobile-room-actions{display:grid;gap:10px}.mobile-room-actions button{text-align:left;padding:14px;border:1px solid #774961;border-radius:10px;min-height:48px;font-size:14px}
.mobile-player-slot #vibes{position:relative;inset:auto;width:100%;height:154px;margin:0;padding:12px}.mobile-player-slot #minimize{display:none}.mobile-player-slot .playback{top:67px;left:95px;right:18px}.mobile-player-slot .playback button{min-width:44px;min-height:44px}.mobile-player-slot .volume-control{top:112px}.mobile-player-slot .timeline{bottom:8px}.mobile-player-slot .timeline input{min-height:24px}
@media(max-width:1366px){
 body .canvas .header{height:84px;padding-top:max(10px,env(safe-area-inset-top));align-items:center;flex-wrap:nowrap;gap:8px}
 body .canvas .header .logo{width:86px;height:40px}
 body .canvas .header .contact{font-size:10px;min-height:44px;padding:8px;margin:0 0 0 auto;gap:5px;letter-spacing:0}
 body .canvas .header .mobile-menu{display:block;flex:none;padding:8px 10px;border:1px solid #83536d;border-radius:9px;min-height:44px;font-size:12px}
 body .canvas .header nav{display:none}
 body .canvas .header.mobile-nav-open nav{display:grid;position:absolute;top:100%;left:0;width:100%;grid-template-columns:1fr 1fr;gap:4px 16px;padding:12px 18px 20px;background:#100a17fa;border-bottom:1px solid #71445e;max-height:calc(100dvh - 84px);overflow:auto}
 body .canvas .header nav button{font-size:14px;text-align:left;min-height:48px}
 body .canvas:not(.in-scene) .hotspots .exit{display:none}
 body .canvas:not(.in-scene) .hotspots .mobile-more{display:flex}
 body .canvas:not(.in-scene) #vibes{display:none}
 body .canvas:not(.in-scene) .hotspots .hotspot{font-size:11px}
 body .canvas:not(.in-scene) .global-sound{top:96px}
 /* One wide original fills the window; no second differently scaled city on top. */
 .window-view .city-frames{display:none}
 .window-view .window-extensions{inset:0;width:100%;height:100%}
 .window-view .window-extensions img{width:100%;height:100%;object-fit:cover;object-position:center;left:0;top:0;transform:none}
 .window-view .hands-container{aspect-ratio:var(--hands-ratio,2247 / 1024);width:min(100vw,760px);left:50%;bottom:0}
 .window-view .window-state-control{max-width:100%!important;padding:10px 12px;background:linear-gradient(#100b18f5,#100b18da);gap:6px}
 .window-state-control .atmosphere-label{display:none}
 .window-state-control .atmosphere-options{display:flex;flex:1 0 100%;width:100%;max-width:100%;overflow-x:auto;white-space:nowrap;scrollbar-width:thin}
 .atmosphere-options button{font-size:13px;min-height:44px;padding:8px 12px;flex:none}
 body .canvas[data-mode=window] .global-sound{top:auto;bottom:max(14px,env(safe-area-inset-bottom));right:14px;z-index:35}
 .window-loading{left:16px;right:16px;bottom:68px;font-size:14px;background:#110a18d9;border-radius:10px}.window-loading:empty{display:none}
 .canvas[data-mode=window] .scene-caption{display:none}
 /* Sofa stories become a readable tray, instead of a 935px desktop row. */
 .sofa-intro{inset:auto 12px 12px;height:auto;max-height:48dvh;overflow:auto;padding:22px 18px;background:#160e1bf5;border:1px solid #694256;border-radius:18px;pointer-events:auto;overscroll-behavior:contain}
 .sofa-greeting{position:static;font-size:22px;transform:none;line-height:1.3;margin:0 0 12px}.sofa-greeting br{display:none}
 .sofa-copy{position:static;width:auto}.sofa-motto{font-size:16px;transform:none}.sofa-motto br{display:none}.sofa-description{font-size:14px;padding:0;background:none;border:0;box-shadow:none}.sofa-description br{display:none}
 .polaroids{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:20px}
 .polaroid,.polaroid:nth-child(n){width:100%;padding:8px;transform:none;margin:0}.polaroid-photo{width:100%;height:auto;aspect-ratio:189/157}.polaroid-label{font-size:13px;white-space:normal}.polaroid-note{position:static;width:auto;font-size:14px;margin-top:16px;padding:14px}
 /* Shelf overview: real selectable figures, without perspective-flight coordinates. */
 .shelf-ui>.shelf-collection{position:absolute;inset:240px 18px 24px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;pointer-events:auto;overflow:auto;background:#100b15b3;border-radius:14px;padding:14px}
 .shelf-ui .shelf-figure{position:relative!important;inset:auto!important;width:100%;height:190px;min-height:140px;padding-bottom:30px}
 .shelf-ui .shelf-label{opacity:1;position:absolute;top:auto;bottom:0;left:0;width:100%;transform:none;font-size:13px;border:0;text-align:center}.shelf-label small{font-size:11px}
 .shelf-mystery,.shelf-focus-glow{display:none}
 .canvas[data-collection=figure-focus] .shelf-ui>.shelf-collection{display:none}
 .shelf-dots{gap:2px}.shelf-dots button{width:44px;height:44px;border:0;background:radial-gradient(circle,#855471 4px,transparent 5px)}.shelf-dots button[aria-pressed=true]{background:radial-gradient(circle,#f078c5 5px,transparent 6px)}
 .shelf-info nav button{min-width:44px;min-height:44px}.shelf-caption{font-size:17px}
 /* TV gets a normal player surface; channel buttons never leave the viewport. */
 body .canvas .mobile-tv{position:absolute;left:12px;top:190px;width:calc(100% - 24px);height:auto;aspect-ratio:16/9;clip-path:none;transform:none;z-index:10;background:#08060c;border:3px solid #342835;border-radius:10px;overflow:hidden}
 .mobile-tv .tv-display{transform:none;inset:0;width:100%;height:100%}.mobile-tv .tv-power-control{height:44px!important;min-height:44px;width:54px!important}.mobile-tv .tv-hint{display:none}
 .tv-channels{left:12px;right:12px;bottom:20px;transform:none;display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:10px}.tv-channels button{min-width:0;min-height:56px;font-size:12px;padding:10px}.tv-channels small{font-size:10px;letter-spacing:.5px}
 .social-phone-object{width:min(480px,96vw);aspect-ratio:951/1654;height:auto}.social-phone-annotation{display:none}.social-phone-close{min-width:44px}.master-back{min-height:44px}
 .pet-close small,.pet-panel footer{display:none}
 .studio-controls button{min-width:44px;min-height:44px}.studio-controls .studio-sound{font-size:12px}.studio-controls input{height:44px}.studio-bottom{flex-wrap:wrap}.studio-invite{max-width:none}
 .archive-room .archive-ui{position:absolute!important;left:16px!important;right:16px!important;top:110px!important;width:auto!important}
 .archive-room .archive-stage{margin-top:112px}.archive-room .archive-category-view{margin-top:112px}
 .archive-category-view>header{padding-bottom:12px}.archive-category-view .archive-catalog-link{position:static;display:inline-flex;align-items:center;min-height:44px;margin-top:8px;font-size:12px}
 .gallery-scroll-hint,.category-index,.category-plus{display:none!important}
 .archive-room .category-heading{flex-wrap:wrap;gap:8px}.archive-room .category-total{font-size:14px}.category-reset{min-height:44px}
 .archive-displays .archive-screen{aspect-ratio:auto!important;min-height:140px}.archive-displays .archive-screen img{position:relative;width:100%;height:auto;object-fit:contain}
 .archive-category-view .archive-project-card .case-card-copy{position:relative;inset:auto;background:#130e19;padding:14px 54px 16px 14px;min-height:80px}
 .archive-project-card .case-card-copy strong{font-size:14px}.archive-project-card .case-card-copy small{font-size:12px;line-height:1.5}.archive-project-card .case-card-copy::before{display:none}
 .archive-project-card .case-card-visual{min-height:0}.archive-project-card .case-card-visual::after{display:none}.archive-project-card .case-card-number{display:none}
 .archive-case-page.neon-viewer{padding:65px 16px 110px}.neon-rail{top:auto;bottom:12px;left:12px;right:12px;width:auto;max-height:68px;display:flex;gap:10px;overflow-x:auto;background:#100b17ed;border-radius:12px;padding:8px;z-index:15}.neon-rail button{flex:0 0 48px;width:48px;min-height:44px}
 .canvas:has(.neon-viewer:not([hidden])) #back{display:none}
 .archive-room .archive-case-page{inset:84px 0 0}.archive-case-page>.archive-project-back{min-height:44px}
 .ideas-dossier{left:12px;width:calc(100% - 24px);top:100px;max-height:calc(100dvh - 112px)}.ideas-dossier .ideas-close{min-height:44px;min-width:44px}
 .ideas-story-footer{flex-wrap:wrap}.ideas-film button{opacity:.65}.ideas-room.has-dossier .ideas-board{pointer-events:none}.ideas-room.has-dossier .ideas-zone{pointer-events:none}
 .journal-meta{font-size:11px;letter-spacing:.4px}.journal-card small{font-size:10px}.journal-entry figcaption{font-size:11px}.journal-demo{font-size:10px}.journal-top h1 span{font-family:inherit;transform:none;font-size:14px}
 .contact-panel{max-height:min(calc(100dvh - 24px),var(--contact-available-height,100dvh))}
 .contact-panel .contact-close{width:44px;height:44px}.contact-types button{min-height:44px;font-size:12px}.contact-label-row{flex-wrap:wrap}.contact-panel .contact-lead{font-size:14px}.contact-panel .contact-submit{width:100%;font-size:13px}.contact-direct a{display:inline-flex;align-items:center;min-height:44px}
 .yard-panel{bottom:max(10px,env(safe-area-inset-bottom));gap:6px}.yard-status{font-size:12px;margin:0}.yard-local{font-size:11px;line-height:1.4;max-width:400px;text-align:center}.yard-tools label{min-height:44px}.yard-tools input{height:44px}.yard-colors button{width:44px;min-width:44px;min-height:44px;padding:0}
 .yard-scene canvas{outline-offset:2px!important}.yard-confirm{background:#150e1bef;border-radius:12px;padding:10px;font-size:12px}.yard-doodles{opacity:.4}
}
@media(max-width:1366px) and (max-height:600px){
 .shelf-ui>.shelf-collection{inset:195px 16px 12px;grid-template-columns:repeat(4,1fr)}.shelf-ui .shelf-figure{height:160px}
 body .canvas .mobile-tv{left:15%;top:90px;width:70%;max-height:calc(100dvh - 190px);aspect-ratio:16/9}.tv-channels{bottom:8px;grid-template-columns:repeat(4,1fr)}
 .yard-tools{max-height:120px}.yard-local{font-size:10px}.yard-title{display:none}
}
@media(max-width:1366px) and (orientation:landscape){
 .world-lab[data-mode=draw] .yard-scene canvas,.world-lab[data-mode=preview] .yard-scene canvas{left:16px!important;top:100px!important;width:calc(100% - 300px)!important;height:auto!important;max-height:calc(100dvh - 116px);aspect-ratio:1200/620}
 .world-lab[data-mode=draw] .yard-panel,.world-lab[data-mode=preview] .yard-panel{left:auto;right:12px;top:100px;bottom:12px;width:260px;overflow:auto;justify-content:flex-start;background:#130c19ed;border-radius:12px;padding:10px}
 .world-lab[data-mode=draw] .yard-tools{max-height:none;overflow:visible}.yard-colors{flex-wrap:wrap}
}

/* Mobile/tablet QA: shared geometry and touch controls. */
@media(max-width:1366px){
 .neon-rail{position:fixed;flex-direction:row;align-items:center;overflow-y:hidden;max-height:76px;bottom:max(12px,env(safe-area-inset-bottom))}
 .neon-rail button{height:52px}.neon-rail img{height:100%;object-fit:contain}
 .archive-case-page.neon-viewer>.archive-project-back{top:16px;left:16px}
 .journal-book{display:block;height:auto;min-height:0}
 .journal-index{padding:18px;border-right:0;border-bottom:1px solid #584352}
 .journal-label,.journal-scribble,.journal-index-note{display:none}
 .journal-tabs{margin:0 0 12px}.journal-list{display:flex;overflow-x:auto;gap:8px}
 .journal-card{flex:0 0 200px;min-width:0}.journal-entry{padding:24px;overflow:visible}
 .journal-meta,.journal-card small,.journal-entry figcaption,.journal-demo,.journal-copy footer,.journal-copy footer span{font-size:12px;line-height:1.5}
 .journal-card>span{font-size:12px}.journal-meta{flex-wrap:wrap;gap:8px}
 .contact-panel input,.contact-panel textarea{scroll-margin-block:24px}
 .window-view .window-extensions img{object-fit:contain}
 .window-view{background:#080b16}
}
.mobile-player-slot #vibes{height:240px}
.mobile-player-slot .volume-control{left:12px;right:12px;top:124px;height:44px}
.mobile-player-slot .volume-control #music-mute{width:44px;height:44px}
.mobile-player-slot .volume-control input{height:44px}
.mobile-player-slot .volume-control input::-webkit-slider-thumb{width:20px;height:20px;margin-top:-8.5px}
.mobile-player-slot .volume-control input::-moz-range-thumb{width:20px;height:20px}
.mobile-player-slot .timeline{bottom:12px;height:44px;gap:10px}
.mobile-player-slot .timeline input{height:44px;min-width:0;flex:1}
@media(max-width:1366px) and (orientation:landscape){
 .world-lab[data-mode=draw] .yard-scene canvas,.world-lab[data-mode=preview] .yard-scene canvas{width:min(calc(100% - 300px),calc((100dvh - 116px) * 1200 / 620))!important;height:auto!important;max-height:none}
}

@media(max-width:1366px){
 /* Pan across the original scene rather than cropping or squeezing it. */
 .window-view .window-extensions{top:150px;bottom:0;height:auto;overflow-x:auto;overflow-y:hidden;pointer-events:auto;overscroll-behavior-x:contain;touch-action:pan-x}
 .window-view .window-extensions img{width:auto;min-width:100%;height:100%;max-width:none;object-fit:contain;user-select:none}
 .window-pan-hint{position:absolute;top:128px;left:16px;right:16px;text-align:center;font-size:12px;color:#c8bdcf;pointer-events:none}
 .window-view .hands-container{pointer-events:none;width:min(90vw,600px)}
}
@media(min-width:1367px){.window-pan-hint{display:none}}

@media(max-width:1366px) and (max-height:600px){
 body .canvas .mobile-tv{width:min(70%,calc((100dvh - 190px) * 16 / 9));max-height:none;left:50%;translate:-50% 0}
}

/* Navigation retains the native pointer and a stable hit area. */
body.custom-cursor.native-ui-cursor{cursor:auto}
body.custom-cursor .header,body.custom-cursor .header nav{cursor:auto}
body.custom-cursor button,body.custom-cursor a{cursor:pointer}
body.native-ui-cursor .dd-cursor{display:none!important}
.header nav button{min-height:44px;transition:color .18s ease,background-color .18s ease}
.header nav button:hover,.header nav button:active{transform:none;translate:none}


/* Preserve the proportions of the supplied white wordmark. */
.header .logo img{object-fit:contain}

