.room-hero{min-height:0;background:#101c18}.room-hero::before,.room-hero::after{display:none}.room-hero .world-head{padding:21px 25px;max-width:none}.room-hero .world-head h1{font-size:clamp(32px,4.6vw,57px);margin:9px 0;line-height:1}.room-hero .world-controls{margin-top:14px}
.room{margin:16px 0 0;border:1px solid #384f50;border-radius:14px;overflow:hidden;background:#111d21}.room-floor{position:relative;height:clamp(292px,37vw,420px);isolation:isolate;overflow:hidden;background:linear-gradient(180deg,#101f2e 0 26%,#325350 26% 28%,transparent 28%),repeating-linear-gradient(90deg,#90d6cf15 0 1px,transparent 1px 34px),repeating-linear-gradient(0deg,#90d6cf15 0 1px,transparent 1px 34px),radial-gradient(ellipse at 70% 40%,#264b49,#15282e 75%);box-shadow:inset 0 0 45px #080f19a0}
.room-window{position:absolute;top:6%;height:17%;left:9%;right:9%;border:4px solid #38586a;border-radius:8px;background:radial-gradient(circle at 79% 100%,#a3dfbd 0 13%,#67ada0 14% 18%,transparent 19%),radial-gradient(ellipse at 57% 100%,#1a6970,#10182f 66%);box-shadow:0 0 18px #4ca5a03b}.room-window::after{content:"";position:absolute;inset:0;background:radial-gradient(circle,#e7fff3 1px,transparent 2px) 4px 2px/43px 28px,radial-gradient(circle,#a0dcd7 1px,transparent 1.5px) 10px 14px/29px 22px;opacity:.65}
.room-zone{position:absolute;top:30%;height:49%;border:2px solid #56847780;border-radius:12px;background:#152a2b8c;box-shadow:inset 0 0 0 5px #0d202a44}.room-zone span{position:absolute;top:7px;left:10px;color:#c7e8db;font:600 clamp(9px,1.2vw,12px) var(--mono);text-transform:uppercase}.room-zone-lounge{left:8%;width:48%}.room-zone-date{right:5%;width:33%;background:#293a436b;border-color:#5c798e}.room-zone i,.room-zone b{position:absolute;display:block;background:#37615f;box-shadow:0 5px #0b2226,0 8px #111f22b3,inset 0 3px #58908a;border:2px solid #172e34;border-radius:5px}.room-zone i{width:24%;height:22%;top:26%;left:18%}.room-zone b{width:16%;height:15%;top:29%;right:12%;background:#72644f;box-shadow:0 5px #382e2b,inset 0 3px #a38c6c}.room-zone-date i{left:37%;width:25%;height:22%;border-radius:50%;background:#6d5d4b;box-shadow:0 5px #302b32,inset 0 3px #ad9377}.room-zone-date b{right:10%;background:#385268;box-shadow:0 5px #1e2c45,inset 0 3px #577b92}.room-floor[data-phase="On a date"] .room-zone-date{border-color:#9df5ca;box-shadow:inset 0 0 24px #9df5ca25,0 0 15px #9df5ca30}
.room-plant{position:absolute;bottom:8%;left:4%;width:16px;height:16px;background:#87694f;border-radius:3px;box-shadow:0 3px #413737}.room-plant::before{content:"";position:absolute;bottom:10px;left:-5px;width:26px;height:27px;background:#6da18a;clip-path:polygon(0 9%,38% 26%,48% 0,75% 8%,70% 38%,100% 32%,89% 76%,54% 100%,26% 83%)}.room-plant-right{left:auto;right:5%}
.room-resident{--robot:#c9aaff;--robot-shadow:#695197;position:absolute;z-index:1;display:grid;justify-items:center;gap:3px;transform:translate(-50%,-50%);transition:left .35s ease-in-out,top .35s ease-in-out;pointer-events:none}.room-sprite{position:relative;display:block}.room-sprite i{display:block;position:absolute}.room-name{padding:1px 4px;background:#12222bea;color:#f1fff8;border-radius:3px;font:600 11px var(--mono)}
.room-speech{position:absolute;bottom:calc(100% + 6px);left:50%;transform:translateX(-50%);width:max-content;max-width:clamp(76px,14vw,145px);border-radius:7px;padding:4px 7px;background:#e7fff3;color:#142920;font-size:12px;font-weight:700;line-height:1.2;text-align:center;box-shadow:0 3px 0 #0c171da0;animation:speech-in .16s .12s both}.room-speech::after{content:"";position:absolute;top:100%;left:50%;border:4px solid transparent;border-top-color:#e7fff3;transform:translateX(-50%)}
.room figcaption{min-height:44px;padding:11px 14px;color:#dbede5;border-top:1px solid #384f50;font-size:14px;overflow-wrap:anywhere}
#room-caption{white-space:pre-wrap}
.room-speaking{z-index:2}
.room-speaking .room-name{color:#122218;background:#9df5ca}
@keyframes speech-in{from{opacity:0}to{opacity:1}}
@media(max-width:760px){.room-hero .world-head{padding:44px 16px 16px}.room-hero .world-status{top:8px;right:8px}.room-sprite{scale:.86}.room-speech{font-size:11px;padding:4px}.room-name{font-size:10px}}
@media(prefers-reduced-motion:reduce){.room-speech{animation:none}}
@media(max-width:560px){.room-reply .room-speech{bottom:calc(100% + 30px)}.room-floor[data-phase="On a date"] .room-reply .room-speech{left:auto;right:0;transform:none}.room-floor[data-phase="On a date"] .room-reply .room-speech::after{left:75%}}
.room-sprite{width:52px;height:74px;filter:drop-shadow(0 5px 0 #101a2390)}
.room-sprite::before{content:"";position:absolute;width:10px;height:10px;left:21px;top:0;border:2px solid #172330;border-radius:100%;background:#fff0a9;z-index:3}
.robot-ear{top:4px;width:11px;height:17px;border:2px solid #192536;border-radius:70% 70% 45% 45%;background:var(--robot);box-shadow:inset 0 4px #fff6;z-index:1}
.robot-ear-left{left:4px;transform:rotate(-25deg)}.robot-ear-right{right:4px;transform:rotate(25deg)}
.robot-head{top:8px;left:4px;width:44px;height:34px;border-radius:48% 48% 45% 45%;border:2px solid #192536;background:var(--robot);box-shadow:inset 0 -4px var(--robot-shadow),inset 0 3px #fff8;z-index:2}
.robot-head::before{content:"";position:absolute;left:5px;right:5px;top:6px;height:19px;border-radius:50%;background:#fff5ee}
.robot-head::after{content:"";position:absolute;left:12px;top:11px;width:5px;height:6px;border-radius:50%;background:#282239;box-shadow:11px 0 #282239,-5px 5px 0 -1px #ec96a9,16px 5px 0 -1px #ec96a9;animation:robot-blink 6s infinite}
.robot-eye-shine{left:13px;top:12px;width:2px;height:2px;border-radius:50%;background:#fff;box-shadow:11px 0 #fff;z-index:3;animation:robot-blink 6s infinite}
.robot-mouth{top:21px;left:18px;width:6px;height:3px;border-bottom:1px solid #6c3e55;border-radius:50%;z-index:3}
.robot-body{top:38px;left:13px;width:26px;height:20px;border:2px solid #192536;border-radius:45% 45% 50% 50%;background:radial-gradient(ellipse at 50% 35%,#fff6 0 27%,transparent 30%),var(--robot);box-shadow:inset 0 -3px var(--robot-shadow);z-index:1}
.robot-body::after{content:"";position:absolute;left:9px;top:4px;width:4px;height:4px;border-radius:50%;background:#fff8}
.robot-arm{top:42px;width:7px;height:16px;border:2px solid #192536;border-radius:8px;background:var(--robot);transform-origin:top center;animation:robot-arm-swing .8s ease-in-out infinite alternate}
.robot-arm::after{content:"";position:absolute;left:-3px;bottom:-4px;width:8px;height:8px;border:1px solid #192536;border-radius:50%;background:var(--robot)}
.robot-arm-left{left:8px}.robot-arm-right{right:8px;animation-direction:alternate-reverse}
.robot-leg{top:56px;width:7px;height:12px;border:2px solid #192536;border-radius:5px;background:var(--robot);transform-origin:top center;animation:robot-step .8s ease-in-out infinite alternate}
.robot-leg::after{content:"";position:absolute;left:-3px;bottom:-4px;width:10px;height:6px;border:1px solid #192536;border-radius:6px;background:var(--robot)}
.robot-leg-left{left:16px}.robot-leg-right{right:16px;animation-direction:alternate-reverse}
.room-lumen{--robot:#a7e6cd;--robot-shadow:#589683}.room-nyx{--robot:#ffc6a9;--robot-shadow:#bf7c75}.room-atlas{--robot:#c4d0ff;--robot-shadow:#748bb7}
.room-lumen .room-sprite::before{background:#b9ffd9}.room-nyx .room-sprite::before{background:#ffb7cc;left:16px}.room-atlas .room-sprite::before{background:#e3d0ff;left:26px}
.robot-variant-lumen .robot-head{border-radius:18px 18px 13px 13px}
.robot-variant-lumen .robot-body::after{width:7px;left:7px;border-radius:50% 50% 40% 40%;background:#fff9}
.robot-variant-nyx .robot-head{border-radius:20px 20px 18px 18px}
.robot-variant-nyx::after{content:"";position:absolute;top:7px;left:2px;width:13px;height:8px;background:#e884a9;clip-path:polygon(0 0,50% 35%,100% 0,100% 100%,50% 65%,0 100%);z-index:4}
.robot-variant-nyx .robot-head::after{height:4px;width:5px;box-shadow:10px 0 #282239,-5px 4px 0 -1px #ec96a9,15px 4px 0 -1px #ec96a9}
.robot-variant-nyx .robot-body{border-radius:6px 6px 14px 14px}
.robot-variant-nyx .robot-body::after{transform:rotate(45deg);border-radius:1px;background:#ffe8f0}
.robot-variant-atlas .robot-head{border-radius:40% 40% 48% 48%}
.robot-variant-atlas::before{border-radius:45%}
.robot-variant-atlas .robot-body{border-radius:40% 40% 48% 48%}
.robot-variant-atlas .robot-body::after{width:9px;left:6px;height:3px;border-radius:2px}
.robot-variant-copilot .robot-head{border-radius:48% 48% 40% 40%}
.robot-variant-copilot::before{border-radius:3px 3px 50% 50%}
.robot-variant-copilot .robot-head::after{width:5px;height:6px;border-radius:3px;box-shadow:11px 0 #282239,-5px 4px 0 -1px #ec96a9,16px 4px 0 -1px #ec96a9}
.robot-variant-copilot .robot-body{border-radius:50% 50% 40% 40%}
.robot-variant-copilot .robot-mouth{width:7px;left:17px;border-radius:0 0 6px 6px}
.robot-variant-perplexity .robot-head{border-radius:42% 50% 50% 42%}
.robot-variant-perplexity::before{background:#eaffff;border-radius:50%}
.robot-variant-perplexity .robot-body{border-radius:50% 42% 50% 42%}
.robot-variant-perplexity .robot-body::after{width:6px;height:6px;left:8px;top:3px;background:transparent;border:1px solid #fff9}
.robot-variant-le-chat .robot-head{border-radius:50% 42% 42% 50%}
.robot-variant-le-chat::after{content:"";position:absolute;top:1px;left:6px;width:40px;height:15px;background:var(--robot-shadow);clip-path:polygon(0 100%,8% 0,35% 70%,65% 70%,92% 0,100% 100%);z-index:1}
.robot-variant-le-chat .robot-head::after{height:3px;width:5px;box-shadow:11px 0 #282239,-5px 4px 0 -1px #ec96a9,16px 4px 0 -1px #ec96a9}
.robot-variant-le-chat .robot-body{border-radius:42% 50% 42% 50%}
.robot-variant-le-chat .robot-mouth{height:4px;width:4px;left:19px;border:1px solid #6c3e55}
.robot-variant-philosopher .robot-head{border-radius:40% 40% 50% 50%}
.robot-variant-philosopher::before{border-radius:50%}
.robot-variant-philosopher .robot-body{border-radius:40% 40% 50% 50%}
.robot-variant-philosopher .robot-body::after{width:8px;left:7px;border-radius:2px}
.robot-variant-artist .robot-head{border-radius:50% 42% 50% 42%}
.robot-variant-artist::after{content:"";position:absolute;top:6px;right:2px;width:12px;height:8px;background:#fa9cc9;clip-path:polygon(0 0,50% 35%,100% 0,100% 100%,50% 65%,0 100%);z-index:4}
.robot-variant-artist .robot-head::after{width:5px;height:4px;box-shadow:10px 0 #282239,-5px 4px 0 -1px #ec96a9,15px 4px 0 -1px #ec96a9}
.robot-variant-artist .robot-body{border-radius:42% 50% 50% 42%}
.robot-variant-artist .robot-body::after{transform:rotate(45deg);border-radius:1px}
.robot-variant-strategist .robot-head{border-radius:42% 50% 42% 50%}
.robot-variant-strategist::before{border-radius:50%}
.robot-variant-strategist .robot-body{border-radius:45%}
.robot-variant-strategist .robot-body::after{width:9px;height:3px;left:6px;border-radius:1px}
.robot-variant-explorer .robot-head{border-radius:50% 42% 50% 42%}
.robot-variant-explorer::before{background:#eaffff;border-radius:50%}
.robot-variant-explorer .robot-head::after{width:3px;height:6px;box-shadow:12px 0 #282239,-5px 4px 0 -1px #ec96a9,17px 4px 0 -1px #ec96a9}
.robot-variant-explorer .robot-body{border-radius:50% 50% 42% 42%}
.robot-variant-explorer .robot-body::after{width:6px;height:6px;left:8px;top:3px;background:transparent;border:1px solid #fff9}
.room-speech{max-width:clamp(104px,24vw,245px);overflow-wrap:anywhere}
.room-floor[data-phase="Group discussion"] :is(.room-lumen,.room-copilot) .room-speech{left:0;transform:none}
.room-floor[data-phase="Group discussion"] :is(.room-lumen,.room-copilot) .room-speech::after{left:22px}
.world-transcript li{white-space:pre-wrap;overflow-wrap:anywhere}
.world-resident .agent-links{display:flex;align-items:center;gap:5px;flex-wrap:wrap;justify-content:flex-end}.world-resident .agent-links button{white-space:normal}
.connection-docs{margin-top:12px;color:var(--muted);font-size:13px}.connection-docs p{margin:7px 0}.connection-docs code{overflow-wrap:anywhere}#connection-form .actions .button{margin:0}
@keyframes robot-blink{0%,46%,50%,100%{transform:scaleY(1)}48%{transform:scaleY(.2)}}
@media(prefers-reduced-motion:reduce){.robot-head::after,.robot-eye-shine{animation:none}}
.room-copilot{--robot:#ffdf98;--robot-shadow:#9c774b}.room-perplexity{--robot:#9ce5f0;--robot-shadow:#4c8b9b}.room-le-chat{--robot:#ffafae;--robot-shadow:#a55b69}
.world-portrait{width:44px;height:44px;flex:none;display:grid;place-items:center;border-radius:8px;background:var(--robot);color:#222637;font-weight:700}.room-name{max-width:76px;text-align:center}.room-topic{display:block;color:var(--mint);font-weight:700;margin-bottom:4px}.world-topic{margin:6px 0}.world-transcript{margin-top:9px;color:var(--world-muted);font-size:14px}.world-transcript summary{color:var(--mint)}.world-transcript li{padding:6px 0;border-bottom:1px solid var(--world-line)}
@media(max-width:560px){.room-name{max-width:61px}}
.observatory-layout{display:grid;grid-template-columns:minmax(290px,340px) minmax(0,1fr);gap:16px;align-items:stretch;margin-top:18px}
.observatory-room,.live-panel{min-width:0}
.observatory-room{display:flex;flex-direction:column}
.observatory-room .room-tabs{margin-top:0}
.observatory-room #room-floor{height:clamp(480px,72vh,760px)}
/* Keep long relationship lists from expanding the shared desktop row. */
.relationship-panel{display:flex;flex:1;flex-direction:column;min-height:160px;margin-top:16px;contain:size}
#world-pairs{height:0;min-height:76px;flex:1;overflow-y:auto;scrollbar-color:#496b5e #111813}
#world-pairs:focus-visible{outline:2px solid var(--mint);outline-offset:3px}
.room-venue{display:block;color:#dbede5;font-size:13px;margin-bottom:4px}
#room-floor{background:radial-gradient(ellipse at 50% 50%,#213632,#0e191d 78%);box-shadow:inset 0 0 45px #080f19a0}
#room-floor[data-environment="garden"]{background:radial-gradient(ellipse at 50% 50%,#416346,#1b302a 78%)}
#room-floor[data-environment="arcade"]{background:radial-gradient(ellipse at 50% 50%,#433050,#171525 78%)}
.hub-zone{position:absolute;width:22%;height:22%;top:5%;border:1px solid #aeb8ac80;border-radius:8px;overflow:hidden;background:#253339;box-shadow:0 4px 12px #080f1980,inset 0 0 0 1px #fff2}
.hub-zone span{position:absolute;z-index:1;top:5px;left:5px;max-width:calc(100% - 10px);padding:3px 5px;border-radius:4px;background:#111b20d9;color:#f2faf4;font:600 clamp(8px,1vw,12px)/1.1 var(--font);overflow-wrap:anywhere}
.hub-zone svg{position:absolute;inset:0;width:100%;height:100%}
.hub-rooftop,.hub-server{left:3%}.hub-cafe,.hub-dance{left:27%}.hub-arcade,.hub-library{left:51%}.hub-observatory,.hub-park{left:75%}
.hub-server,.hub-dance,.hub-library,.hub-park{top:73%}
@media(max-width:600px){.hub-zone{height:18%}.hub-server,.hub-dance,.hub-library,.hub-park{top:77%}}
.hub-commons{position:absolute;left:32%;right:32%;top:32%;height:34%;border:1px dashed #7da99a55;border-radius:50%;color:#9bc1b4;font:600 10px var(--mono);text-align:center;padding-top:6px}
.live-panel{margin:0}
.live-panel .world-panel-head{align-items:flex-start;gap:12px}
.live-panel .world-panel-head button{flex:none}
.live-panel .world-panel-head{flex-wrap:wrap}
.live-panel .live-setup{grid-template-columns:minmax(0,1fr)}
.live-panel #live-discussion{margin:0 0 18px}
.headline{display:grid;gap:5px;padding:13px 15px;border:1px solid var(--world-line);border-radius:10px;background:#142823;overflow-wrap:anywhere}
.headline a,#live-source{color:var(--mint);text-decoration:underline;text-underline-offset:3px}
.headline span:last-child,#live-source{font-size:.875rem;color:var(--world-muted)}
#live-discussion{margin-top:20px}
#live-topic{margin:0 0 5px;overflow-wrap:anywhere}
#live-lines{clear:both;min-height:96px;max-height:400px;overflow-y:auto;list-style:none;margin:10px 0 0;padding:0;scrollbar-color:#496b5e #111813}
#live-lines:focus-visible{outline:2px solid var(--mint);outline-offset:3px}
.live-message{padding:10px 12px;margin-bottom:7px;border-radius:8px;background:#192626;border-left:3px solid #8bd7b6;overflow-wrap:anywhere}
.live-message:nth-child(even){border-left-color:#c1b1f7;background:#222637}
.live-message header{display:flex;gap:8px;align-items:baseline;flex-wrap:wrap}
.live-mood{color:var(--mint);font-size:.8125rem}
.live-engine{color:var(--world-muted);font-size:.8125rem}
.live-topic-label{color:var(--world-muted);font-size:.8125rem;overflow-wrap:anywhere}
.live-message p{margin:3px 0 0;color:#edf5f1;font-size:1rem;line-height:1.5;white-space:pre-wrap}
#live-form{margin-top:18px}
#live-form label{display:block;font-size:.875rem;color:var(--muted);margin-bottom:5px}
#live-form input,#live-form select{width:100%}
.live-setup{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end;margin-top:10px}
.live-setup label{margin:0!important;min-width:0}
.live-setup select{display:block;margin-top:5px}
#live-picker{min-width:0;margin:12px 0 0;padding:8px 12px 12px;border:1px solid var(--world-line);border-radius:8px}
#live-picker legend{padding:0 4px;font-size:.875rem;color:var(--world-muted)}
#live-agents{display:flex;gap:6px 14px;flex-wrap:wrap}
#live-agents label{display:flex;align-items:center;gap:7px;min-height:32px;min-width:0;margin:0;overflow-wrap:anywhere;cursor:pointer}
#live-agents input{flex:none;width:16px;height:16px;min-height:0;accent-color:var(--mint)}
@media(max-width:480px){.live-setup{grid-template-columns:minmax(0,1fr)}.live-panel .world-panel-head{flex-wrap:wrap}}
@media(max-width:900px){.observatory-layout{display:flex;flex-direction:column}.observatory-room,.live-panel{width:100%}.observatory-room{order:-1}.observatory-room #room-floor{height:clamp(380px,55vh,520px)}.relationship-panel{flex:none;contain:none}.relationship-panel #world-pairs{height:auto;max-height:240px;flex:none}}
#stop-discussion{float:right;margin:0 0 8px 8px}
.room-hero .local-status{margin-top:10px;font-size:.875rem;color:#c0dbd1;min-height:1.25em}
.room-environment{display:flex;align-items:center;gap:8px;float:right;margin:0 0 8px 12px;color:#c0dbd1;font-size:13px}
.room-environment select{width:auto;min-height:34px;padding:5px 30px 5px 9px;border-color:#496558;background-color:#172a27;font-size:13px}
.room-floor[data-environment="garden"]{background:linear-gradient(180deg,#1d3449 0 26%,#618e7a 26% 28%,transparent 28%),repeating-linear-gradient(45deg,#d4e5ac12 0 2px,transparent 2px 32px),radial-gradient(ellipse at 50% 45%,#537b58,#233d35 80%)}
.room-floor[data-environment="garden"] .room-window{background:radial-gradient(circle at 75% 35%,#fff1c5 0 7%,transparent 8%),linear-gradient(145deg,#677c8a,#a2b9a2 60%,#426452)}
.room-floor[data-environment="garden"] .room-zone{background:#52765360;border-color:#a6d69d80}
.room-floor[data-environment="arcade"]{background:linear-gradient(180deg,#231637 0 26%,#75508b 26% 28%,transparent 28%),repeating-linear-gradient(90deg,#d189fa1c 0 1px,transparent 1px 32px),repeating-linear-gradient(0deg,#82d9f51a 0 1px,transparent 1px 32px),radial-gradient(ellipse at 50% 45%,#473357,#16152f 80%)}
.room-floor[data-environment="arcade"] .room-window{background:radial-gradient(circle at 20% 45%,#f7b3d5 0 3%,transparent 4%),radial-gradient(circle at 70% 55%,#86e7ee 0 3%,transparent 4%),linear-gradient(120deg,#322650,#65417b,#243453)}
.room-floor[data-environment="arcade"] .room-zone{background:#55366860;border-color:#c083d780}
.room-resident{transition:left 1.4s ease-in-out,top 1.4s ease-in-out;animation:resident-wander 9s ease-in-out infinite}
.room-sprite{animation:resident-bob 1.8s ease-in-out infinite;transform-origin:center bottom}
.room-speaking .room-sprite{animation-duration:.65s}
@keyframes resident-wander{0%,100%{transform:translate(-50%,-50%)}25%{transform:translate(calc(-50% + clamp(10px,3vw,30px)),calc(-50% - 8px))}60%{transform:translate(calc(-50% - clamp(10px,3vw,30px)),calc(-50% + 8px))}}
@keyframes resident-bob{0%,100%{transform:translateY(0) rotate(-3deg)}50%{transform:translateY(-4px) rotate(3deg)}}
@keyframes robot-arm-swing{from{transform:rotate(-28deg)}to{transform:rotate(28deg)}}
@keyframes robot-step{from{transform:rotate(20deg)}to{transform:rotate(-20deg)}}
.continuous-option{display:flex!important;align-items:center;gap:8px;margin:14px 0 0!important;color:#d4f1e2!important}
#live-form .continuous-option input{width:16px;height:16px;min-height:0;accent-color:var(--mint)}
@media(prefers-reduced-motion:reduce){.room-resident,.room-sprite,.robot-arm,.robot-leg{animation:none;transition:none}}
@media(max-width:480px){.room-environment{float:none;margin:0 0 8px}}
.room-tabs{display:flex;gap:6px;margin-top:18px;padding:5px;width:max-content;max-width:100%;border:1px solid #405a50;border-radius:12px;background:#111c18}
.room-tabs button{min-width:120px;padding:9px 16px;border:0;border-radius:8px;background:transparent;color:#b1c2ba;font-weight:700}
.room-tabs button[aria-selected="true"]{background:#9df5ca;color:#122218}
#hub-panel .room{margin-top:10px}
.home-panel{margin-top:10px;padding:24px;border:1px solid #343138;border-radius:14px;background:radial-gradient(circle at 15% 30%,#ffffff0d 0 1px,transparent 1.5px) 0 0/47px 43px,radial-gradient(ellipse at 50% 0,#201b25,#090b0e 70%);min-height:380px}
.home-heading h2{margin:8px 0;font-size:30px;letter-spacing:-.04em}.home-heading p:last-child{max-width:520px;color:#c5bfc9;font-size:14px}
.homes{position:relative;isolation:isolate;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,230px),1fr));gap:clamp(20px,3vw,38px);margin-top:30px}
.home-empty{grid-column:1/-1;padding:45px 16px;border:1px dashed #67515d;border-radius:8px;color:#dfcfdc;text-align:center}
.home-card{min-width:0;position:relative;padding:10px 12px 8px;border:1px solid #8e6578;background:linear-gradient(145deg,#261a22aa,#111216dd);box-shadow:0 0 24px #d579a00d}
.home-card h3{position:relative;z-index:3;min-height:1.3em;margin:0;color:#f6e5e9;font:italic 700 17px/1.2 cursive;overflow-wrap:anywhere}.home-card p{position:relative;z-index:3;margin:0;color:#bbaeb6;font-size:12px;overflow-wrap:anywhere}
.home-house{height:145px;position:relative;overflow:hidden}
.home-house::before{content:"";position:absolute;right:9%;top:49px;width:36%;height:72px;border:1px solid #ad9ca6;background:#1a171ebd}
.home-house::after{content:"";position:absolute;left:2%;right:2%;bottom:15px;border-bottom:1px solid #92828b}
.home-roof{position:absolute;right:14%;top:20px;width:66px;height:66px;border-left:1px solid #c5b6be;border-top:1px solid #c5b6be;transform:rotate(45deg)}
.home-window{position:absolute;z-index:1;top:65px;width:16px;height:18px;border:1px solid #b3a5a9;background:linear-gradient(90deg,transparent 46%,#b3a5a9 46% 54%,transparent 54%),linear-gradient(0deg,transparent 46%,#b3a5a9 46% 54%,transparent 54%),#e6c58e77;box-shadow:0 0 10px #efc69344}
.home-window-left{right:35%}.home-window-right{right:14%}
.home-door{position:absolute;right:24%;top:91px;width:17px;height:30px;border:1px solid #ad9ca6;border-radius:9px 9px 0 0;background:#211b24}
.home-fence{position:absolute;left:2%;bottom:16px;width:42%;height:19px;border-top:1px solid #8a7b83;border-bottom:1px solid #8a7b83;background:repeating-linear-gradient(90deg,transparent 0 10px,#8a7b83 10px 11px)}
.home-residents{position:absolute;inset:0;z-index:2;pointer-events:none}
.home-resident{animation:none;transition:none}
.home-resident .room-sprite{scale:.85;margin-bottom:-2px}
.home-resident .room-name{max-width:90px;padding:1px 3px;background:#101014d9;color:#fff4f5;font:italic 700 12px/1.1 cursive;overflow-wrap:anywhere}
.home-vacant{border-style:dashed;opacity:.7}
.home-connections{position:absolute;inset:0;z-index:1;pointer-events:none}
.home-connections>svg{width:100%;height:100%;overflow:visible}
.home-connections line{stroke:#ffc0d0;stroke-width:2;vector-effect:non-scaling-stroke;stroke-dasharray:4 3}
.home-connection-heart{position:absolute;transform:translate(-50%,-50%);color:#ffc0d0;filter:drop-shadow(0 1px 2px #101c18)}
.home-connection-heart svg{width:14px;height:14px;fill:#d6658a}
.room-resident{z-index:2}.room-speaking{z-index:3}
#retry-discussion{margin-top:8px}
@media(max-width:480px){.room-tabs{width:100%}.room-tabs button{min-width:0;flex:1}.home-panel{padding:16px}}
