.room-world{position:absolute;inset:0;z-index:35;background:#08131b;overflow:hidden;isolation:isolate}.room-world[hidden]{display:none}.room-canvas{display:block;width:100%;height:100%;touch-action:none;outline:none}.room-top{position:absolute;left:28px;right:28px;top:23px;display:flex;justify-content:space-between;align-items:flex-start;gap:20px;pointer-events:none;text-shadow:2px 2px #06121b}.room-top small{font-size:9px;letter-spacing:3px;color:#bda77b}.room-top h2{font-size:25px;font-weight:400;letter-spacing:4px;margin:8px 0}.room-house{font-size:11px;color:#d5c494}.room-top button{pointer-events:auto;padding:12px 17px;color:#f0d59b;background:#102330d9;border:8px solid transparent;border-image:url('assets/v4/ui/dialogue-frame.png') 70 100 fill stretch;font:inherit;font-size:11px}.room-objective{position:absolute;top:138px;left:28px;max-width:245px;pointer-events:none;text-shadow:2px 2px #07141c}.room-objective>span{color:#d3b784;font-size:12px;letter-spacing:3px}.room-objective p{font-size:11px;line-height:2;color:#bac7c8;max-width:230px}.room-station-label{position:absolute;transform:translate(-50%,-100%);text-align:center;white-space:nowrap}.room-station-label>span{display:block;font-size:11px;letter-spacing:3px;color:#f6e3b8;margin-bottom:9px;text-shadow:2px 2px #000}.room-station-label button{font:inherit;font-size:14px;color:#f8dda5;background:#122534e8;border:9px solid transparent;border-image:url('assets/v4/ui/dialogue-frame.png') 70 100 fill stretch;padding:7px 12px}.room-station-label button:hover{filter:brightness(1.2)}.room-bottom{position:absolute;bottom:23px;left:28px;right:28px;display:flex;justify-content:space-between;align-items:center;color:#b3bdba;font-size:10px;pointer-events:none;text-shadow:2px 2px #000}.room-instructions{line-height:2}.room-instructions span{color:#8e9d9f}.room-position{color:#e2c890;font-size:12px;letter-spacing:3px}.room-touch{display:none;position:absolute;left:20px;right:20px;bottom:20px;justify-content:space-between;align-items:flex-end;pointer-events:none}.room-touch>div{display:flex;gap:10px}.room-touch button{pointer-events:auto;touch-action:none;width:58px;height:54px;color:#f7daa0;font:inherit;font-size:16px;background:#162739d9;border:8px solid transparent;border-image:url('assets/v4/ui/dialogue-frame.png') 70 100 fill stretch}.room-load{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);padding:25px;background:#0d1d2ced;color:#ead5a6;font-size:15px;line-height:2;cursor:pointer}.room-dialog{position:absolute;inset:0;background:#020a12aa;display:grid;place-items:center;padding:24px;z-index:5}.room-dialog[hidden]{display:none}.room-dialog-inner{max-width:740px;width:min(100%,740px);max-height:90dvh;overflow:auto;background:#10202de8;border:18px solid transparent;border-image:url('assets/v4/ui/dialogue-frame.png') 70 100 fill stretch;padding:24px;color:#c3d0d0}.room-dialog-inner>small{font-size:9px;letter-spacing:3px;color:#baa676}.room-dialog-inner h3{font-size:26px;font-weight:400;letter-spacing:4px;color:#f0d49e;margin:15px 0 22px}.room-dialog-inner p{font-size:14px;line-height:2}.room-dialog-actions{display:flex;justify-content:flex-end;gap:14px;flex-wrap:wrap;margin-top:22px}.room-dialog button{font:inherit;font-size:12px;padding:12px 17px;color:#ebd39d;background:#112534;border:1px solid #a6946566}.room-dialog button:disabled{opacity:.4}.room-furnishings{display:grid;grid-template-columns:1fr 1fr;gap:14px}.room-furnishings article{display:flex;align-items:center;gap:12px;padding:10px;border-bottom:1px solid #9e8a5655}.room-furnishings img{width:65px;height:80px;object-fit:contain;image-rendering:pixelated}.room-furnishings strong{color:#dfc38f;font-weight:400;font-size:14px}.room-furnishings p{font-size:10px;line-height:1.8}.room-furnishings button{padding:8px 12px;font-size:10px}#stage[data-room]>.game-tools{visibility:hidden}#stage[data-panel=room] #title-screen{visibility:hidden}
@media(pointer:coarse){.room-touch{display:flex}.room-bottom{bottom:90px}.room-instructions{display:none}}
@media(max-width:700px){.room-top{top:15px;left:18px;right:18px}.room-top h2{font-size:20px;letter-spacing:2px}.room-top small{font-size:7px;letter-spacing:1px}.room-top button{font-size:10px;padding:7px}.room-objective{top:118px;left:18px;max-width:190px}.room-objective p{font-size:10px}.room-bottom{left:18px;right:18px}.room-dialog{padding:12px}.room-dialog-inner{padding:16px;border-width:10px}.room-dialog-inner h3{font-size:21px}.room-dialog-inner p{font-size:12px}.room-furnishings{grid-template-columns:1fr}.room-station-label button{font-size:12px}.room-position{font-size:10px}.room-instructions span{display:none}}
@media(max-height:500px){.room-objective{display:none}.room-top h2{font-size:17px;margin:5px 0}.room-top small{font-size:7px}.room-bottom{bottom:10px}.room-touch{bottom:12px}.room-dialog-inner{max-height:92dvh;padding:13px}.room-dialog-inner h3{margin:8px 0}.room-dialog-inner p{font-size:11px}.room-dialog-actions{margin-top:10px}}

@media(max-width:700px){.room-touch{display:flex}.room-bottom{bottom:88px}.room-instructions{display:none}}

.room-top-actions{display:flex;gap:8px}.room-top-actions button{white-space:nowrap}@media(max-width:500px){.room-top-actions{gap:3px}.room-top-actions button{font-size:9px;padding:6px;border-width:5px}}

.room-touch button{padding:0;white-space:nowrap;font-size:14px}

/* In-world interaction inventory: the room remains visible beside the generated frame. */
.room-dialog{background:transparent;display:flex;align-items:center;justify-content:flex-end;padding:95px 24px 65px;pointer-events:none}
.room-dialog-inner{pointer-events:auto;width:390px;max-width:42%;max-height:100%;border-width:14px;padding:19px;background:#0b1929f5}
.room-dialog-inner h3{font-size:23px;letter-spacing:2px;margin:10px 0 16px}
.room-dialog-inner h4{font-size:14px;color:#ead19e;font-weight:400;margin:12px 0}
.room-dialog-inner p{font-size:12px;line-height:1.85}
.room-dialog-inner small{font-size:10px;line-height:1.7;color:#aebcb9}
.room-dialog-inner strong{color:#edce96;font-weight:400}
.room-dialog button{cursor:pointer;border:7px solid transparent;border-image:url('assets/v4/ui/button-secondary.png') 25 35 fill stretch;background:transparent;color:#f1d39b;padding:7px 9px;line-height:1.6}
.room-dialog button:hover:not(:disabled){filter:brightness(1.2)}
.room-dialog button:focus-visible{outline:2px solid #ebce8d;outline-offset:3px}
.room-dialog button[aria-pressed=true]{border-image-source:url('assets/v4/ui/button-primary.png')}
.room-dialog-actions{gap:7px;margin-top:15px;justify-content:flex-start}
.room-dialog-actions [data-room-dismiss]{margin-left:auto;color:#aabbbb}
.room-tool-tabs{display:flex;gap:3px;margin:0 0 15px}
.room-tool-tabs button{flex:1;font-size:11px;padding:6px 4px;white-space:nowrap}
.room-tool-intro{margin:10px 0 15px;color:#bac9c9}
.room-materials{display:flex;flex-wrap:wrap;gap:8px 13px;font-size:10px;line-height:1.9;padding:10px 0;margin-top:12px;border-block:1px solid #b69e5d33;color:#9fb3b5}
.room-materials b{color:#ebd8ac;font-weight:400;margin-left:4px}
.room-tool-hero{display:flex;align-items:center;gap:14px}
.room-tool-hero>img{width:92px;height:105px;object-fit:contain;image-rendering:pixelated}
.room-tool-hero>div{flex:1;min-width:0}
.room-tool-hero h4{margin:6px 0}.room-tool-hero p{margin:6px 0}
.room-herbs article,.room-potion-stock article{display:flex;align-items:center;gap:15px;margin-bottom:10px}
.room-herbs article>img,.room-potion-stock article>img{width:65px;height:82px;object-fit:contain;image-rendering:pixelated}
.room-herbs article>div,.room-potion-stock article>div{flex:1}
.room-herbs p,.room-potion-stock p{font-size:10px;margin:4px 0 6px}
.room-herbs button,.room-potion-stock button{font-size:11px;padding:3px 8px}
.room-tool-message{color:#c2dba6;min-height:1em;margin:12px 0 0!important;font-size:11px!important}
.room-recipes{display:flex;flex-direction:column;gap:8px}
.room-recipes button,.room-wands button{display:flex;align-items:center;gap:12px;text-align:left;width:100%}
.room-recipes img{width:46px;height:62px;object-fit:contain;image-rendering:pixelated}
.room-recipes small,.room-wands small{display:block;margin-top:5px;font-size:9px}
.room-recipe-note{font-size:9px!important;color:#91a4ab;line-height:1.8!important;margin:12px 0 0}
.room-outfits,.room-collection-tabs{display:flex;gap:6px;margin-bottom:15px}
.room-outfits button{flex:1;min-width:0;padding:4px;font-size:9px}
.room-outfits img{display:block;width:100%;height:96px;object-fit:contain;image-rendering:pixelated}
.room-wands img{width:48px;height:42px;object-fit:contain;image-rendering:pixelated}
.room-wands button{font-size:11px;margin-bottom:6px}
.room-collection-tabs button{width:25%;padding:3px}
.room-collection-tabs img{width:100%;height:55px;object-fit:contain;image-rendering:pixelated}
.room-placement{display:flex;gap:7px}.room-placement button{flex:1;font-size:10px}
.room-location-controls{display:flex;align-items:center;gap:14px}.room-location-controls button{pointer-events:auto;border:7px solid transparent;border-image:url('assets/v4/ui/button-secondary.png') 25 35 fill stretch;background:#102330;color:#f0d59b;font:inherit;font-size:12px;padding:7px 12px;cursor:pointer}
.room-waypoints{position:absolute;right:28px;bottom:80px;z-index:4;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;max-width:380px;max-height:65%;overflow:auto;padding:14px;border:12px solid transparent;border-image:url('assets/v4/ui/dialogue-frame.png') 70 100 fill stretch;background:#10202df5;pointer-events:auto}
.room-waypoints[hidden]{display:none}.room-waypoints button{min-height:42px;border:7px solid transparent;border-image:url('assets/v4/ui/button-secondary.png') 25 35 fill stretch;background:transparent;color:#f4d698;padding:6px 9px;font:inherit;font-size:12px;line-height:1.5;cursor:pointer;pointer-events:auto}
@media(max-width:700px){.room-waypoints{right:14px;bottom:145px;max-width:calc(100% - 28px);max-height:55%}.room-location-controls{gap:8px}.room-location-controls button{font-size:11px}.room-location-controls .room-position{display:none}}
@media(max-width:900px){.room-dialog-inner{max-width:48%;padding:15px}.room-dialog{padding:90px 16px 60px}}
@media(max-width:700px){.room-dialog{padding:95px 10px 20px;align-items:flex-end}.room-dialog-inner{width:100%;max-width:100%;max-height:72%;padding:15px;border-width:10px}.room-dialog-inner h3{font-size:21px}.room-dialog-inner p{font-size:11px}.room-tool-tabs{margin-bottom:8px}.room-herbs article>img,.room-potion-stock article>img{height:59px;width:51px}.room-tool-hero>img{height:75px;width:72px}.room-dialog-actions{margin-top:10px}.room-tool-tabs button{font-size:10px}.room-dialog button{padding:5px 7px}.room-tool-intro{margin:8px 0}.room-recipe-note{font-size:9px!important}}
@media(max-height:500px){.room-dialog{padding:55px 12px 15px}.room-dialog-inner{max-height:100%;padding:12px;width:350px}.room-dialog-inner h3{font-size:18px;margin:6px 0}.room-herbs article>img,.room-potion-stock article>img{height:45px}.room-dialog-inner p{font-size:10px}.room-tool-hero>img{height:60px}.room-tool-tabs{margin-bottom:6px}}

/* v8: physical furniture placement and work performed inside the room. */
.room-top h2{font-size:22px}.room-top-actions{flex-wrap:wrap;justify-content:flex-end;max-width:60%}
.room-top-actions button[aria-pressed=true]{border-image-source:url('assets/v4/ui/button-primary.png');color:#ffebb3}
.room-objective{max-width:245px}.room-objective p{max-width:245px}
.room-build-bar,.room-work-kit,.room-work-progress,.room-toast{position:absolute;color:#e8d4ac;background:#0b1b29eb;border:10px solid transparent;border-image:url('assets/v4/ui/dialogue-frame.png') 70 100 fill stretch;padding:12px 17px;z-index:3;font-size:12px}
.room-build-bar[hidden],.room-work-kit[hidden],.room-work-progress[hidden],.room-toast[hidden],.room-placement-outline[hidden]{display:none}
.room-build-bar{left:50%;bottom:72px;transform:translateX(-50%);width:min(760px,92%);text-align:center}
.room-build-bar strong{font-size:16px;font-weight:400;color:#f4d393;margin-right:15px}.room-build-note{font-size:11px;color:#b5c5c9}
.room-build-bar>div{display:flex;justify-content:center;gap:5px;margin-top:10px;flex-wrap:wrap}
.room-build-bar button,.room-work-kit button,.room-work-progress button{font:inherit;color:#e9cf9e;background:transparent;border:7px solid transparent;border-image:url('assets/v4/ui/button-secondary.png') 25 35 fill stretch;padding:5px 9px;cursor:pointer;white-space:nowrap}
.room-build-bar button:disabled{opacity:.35;cursor:default}.room-build-bar button[aria-pressed=true],.room-work-kit button[aria-pressed=true]{border-image-source:url('assets/v4/ui/button-primary.png');color:#ffe4a4}
.room-placement-outline{position:absolute;pointer-events:none;border:2px dashed #a4d5b6;z-index:2;box-sizing:border-box}.room-placement-outline[data-valid=false]{border-color:#e59081}.room-placement-outline span{position:absolute;left:50%;top:-30px;transform:translateX(-50%);background:#101f2ce8;color:#ecdbb8;font-size:11px;padding:6px 9px;white-space:nowrap}
.room-work-kit{right:28px;bottom:82px;width:265px;padding:12px;pointer-events:auto}.room-work-kit>small{color:#b9a77f;font-size:9px;letter-spacing:2px}.room-work-kit>div{display:flex;gap:6px;margin:9px 0}.room-work-kit button{flex:1;font-size:11px}.room-work-kit p{white-space:pre-line;line-height:1.9;font-size:10px;color:#bdc9c7;margin:7px 0 0}
.room-work-progress{left:50%;bottom:82px;transform:translateX(-50%);width:min(390px,88%);display:grid;grid-template-columns:1fr auto;gap:9px 12px;align-items:center}.room-work-progress small{grid-column:1/-1;color:#a8babd;font-size:10px;letter-spacing:2px}.room-work-progress strong{font-size:14px;font-weight:400;grid-column:1/-1}.room-work-progress progress{height:7px;width:100%;accent-color:#d5b977}.room-work-progress button{font-size:10px;padding:3px 6px}
.room-toast{left:50%;top:112px;transform:translateX(-50%);width:max-content;max-width:75%;text-align:center;pointer-events:none;font-size:11px;line-height:1.8;padding:8px 14px}
.room-world[data-building=true] .room-objective,.room-world[data-work] .room-objective{display:none}
.room-world[data-building=true] .room-canvas{cursor:grab}.room-world[data-building=true] .room-canvas:active{cursor:grabbing}
.room-collection-tabs{display:grid;grid-template-columns:repeat(3,1fr);max-height:220px;overflow:auto}.room-collection-tabs button{width:100%;font-size:9px}
@media(max-width:700px){.room-top{gap:8px}.room-top h2{font-size:16px}.room-top-actions{max-width:61%;gap:2px}.room-top-actions button{padding:4px;font-size:9px;border-width:5px}.room-objective{top:118px;max-width:180px}.room-objective>span{font-size:10px}.room-objective p{font-size:9px}.room-work-kit{right:12px;bottom:92px;width:205px;padding:7px}.room-work-kit p{font-size:9px}.room-work-kit button{padding:3px}.room-build-bar{bottom:92px;width:94%;padding:9px;border-width:7px}.room-build-bar strong{font-size:13px}.room-build-note{display:block;font-size:10px;margin:6px 0}.room-build-bar>div{gap:3px}.room-build-bar button{font-size:9px;padding:3px 5px;border-width:5px}.room-work-progress{bottom:97px}.room-toast{top:120px;max-width:90%;font-size:10px}.room-placement-outline span{font-size:9px}.room-world[data-building=true] .room-bottom{display:none}}
@media(max-height:500px){.room-top{top:10px}.room-top h2{font-size:15px}.room-build-bar{bottom:14px;left:54%;width:73%;padding:4px 10px}.room-build-note{display:inline;font-size:9px}.room-build-bar>div{margin-top:5px}.room-build-bar button{font-size:9px;padding:2px 5px}.room-work-kit{bottom:30px;right:85px;padding:7px}.room-work-progress{bottom:30px;padding:7px 12px}.room-toast{top:75px}.room-world[data-building=true] .room-instructions{display:none}}
/* Keep action and placement controls clear of the character's hands and feet. */
.room-work-progress{top:135px;bottom:auto;left:28px;transform:none;width:300px}.room-build-bar{top:112px;bottom:auto}.room-world[data-work] .room-bottom{display:none}
@media(max-width:700px){.room-work-progress{top:135px;bottom:auto;left:12px;width:min(300px,92%)}.room-build-bar{top:116px;bottom:auto}}
@media(max-height:500px){.room-work-progress{top:90px;bottom:auto;width:270px}.room-build-bar{top:65px;bottom:auto}}

.room-world[data-building=true] .room-toast{top:auto;bottom:20px}

/* Legible in-world instructions, inventory states and touch targets. */
.room-objective p,.room-bottom{font-size:12px}.room-top-actions button{min-height:44px;font-size:12px}
.room-dialog-inner p{font-size:13px}.room-dialog-inner small,.room-recipe-note{font-size:12px!important}
.room-materials,.room-herbs p,.room-potion-stock p,.room-tool-message{font-size:12px!important}
.room-dialog button{min-height:40px}.room-work-kit p{font-size:12px}.room-work-kit button{min-height:40px;font-size:12px}
.room-dialog button:disabled{opacity:.7}.room-toast{font-size:12px}
@media(max-width:700px){.room-top-actions{max-width:64%;gap:3px}.room-top-actions button{min-height:40px;font-size:11px}.room-objective{top:140px}.room-objective>span,.room-objective p{font-size:11px}.room-dialog-inner p{font-size:13px}.room-dialog-inner small,.room-recipe-note{font-size:11px!important}.room-work-kit{width:220px}.room-work-kit p{font-size:11px}.room-work-kit button{font-size:12px}.room-build-bar{top:140px}.room-build-bar button{min-height:36px;font-size:11px}.room-build-note{font-size:11px}.room-work-progress{top:145px}.room-toast{top:140px;font-size:12px}}
@media(max-height:500px){.room-top-actions button{min-height:34px}.room-dialog-inner p{font-size:12px}.room-build-bar{top:70px}.room-build-bar button{min-height:30px}.room-work-progress{top:90px}.room-toast{top:85px}}

/* Tool titles and actions stay in reach; only the inventory body scrolls. */
.room-dialog[data-tool] .room-dialog-inner{display:flex;flex-direction:column;overflow:hidden;min-height:0;width:440px}
.room-dialog[data-tool] .room-dialog-inner>small,.room-dialog[data-tool] .room-dialog-inner>h3,.room-dialog[data-tool] .room-tool-message,.room-dialog[data-tool] .room-dialog-actions{flex:0 0 auto}
.room-dialog[data-tool] .room-dialog-inner>h3{margin:8px 0 14px}
.room-tool-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:2px 5px 2px 0;scrollbar-width:thin;scrollbar-color:#917342 #10202d}
.room-tool-message:empty{display:none}
.room-dialog[data-tool] .room-dialog-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:12px;padding-top:10px;border-top:1px solid #b69e5d55}
.room-dialog[data-tool] .room-dialog-actions button{margin:0;min-width:0;min-height:42px;padding:5px 6px;font-size:12px;line-height:1.5}
.room-dialog[data-tool] .room-dialog-actions [data-room-dismiss]{margin-left:0}
.room-dialog[data-tool] .room-collection-tabs{grid-template-columns:repeat(5,minmax(0,1fr));grid-auto-rows:52px;gap:5px;max-height:none;overflow:visible;margin-bottom:12px}
.room-dialog[data-tool] .room-collection-tabs button{height:52px;min-height:0;padding:3px;border-width:5px}
.room-dialog[data-tool] .room-collection-tabs img{display:block;height:36px;width:100%}
.room-dialog[data-tool=furniture] .room-tool-hero{gap:10px}
.room-dialog[data-tool=furniture] .room-tool-hero>img{width:70px;height:82px}
.room-dialog[data-tool=furniture] .room-tool-hero h4{margin-top:0}
.room-dialog[data-tool=furniture] .room-tool-body>p{margin:10px 0;line-height:1.7}
@media(max-width:700px){.room-dialog[data-tool] .room-dialog-inner{width:100%;max-height:78%}.room-dialog[data-tool] .room-dialog-actions{margin-top:9px;padding-top:8px}.room-dialog[data-tool] .room-dialog-inner>h3{margin:6px 0 10px}}
@media(max-height:500px){.room-dialog[data-tool] .room-dialog-inner{max-height:100%}.room-dialog[data-tool] .room-dialog-actions{gap:4px;margin-top:7px;padding-top:7px}.room-dialog[data-tool] .room-dialog-actions button{min-height:34px;padding:2px 5px}.room-dialog[data-tool] .room-dialog-inner>h3{margin:4px 0 8px}}

.room-objective button{display:block;padding:9px 14px;margin:9px 0;background:#081521e8;border:1px solid #bda367;color:#f0dba8;font:inherit;font-size:12px;line-height:1.5;text-align:left;cursor:pointer;pointer-events:auto}
.room-objective button[hidden]{display:none}.room-objective [data-room-prepare]{border-color:#788c96;color:#c9d6d8;font-size:11px;padding:7px 12px}
.room-objective>span{display:block;font-size:12px;line-height:1.6}.room-objective p{line-height:1.8}
@media(max-width:600px){.room-objective{max-width:235px}.room-objective [data-room-fieldwork]{font-size:11px;padding:8px 10px}.room-objective p{font-size:10px}}

/* A small diegetic label follows the existing desk/hearth through free furnishing. */
.room-aftermath-mark{position:absolute;transform:translate(-50%,-100%);max-width:240px;text-align:center;pointer-events:none;text-shadow:1px 2px #07121c;background:#081725d9;border-bottom:1px solid #bda16b;padding:8px 12px;color:#f2d89e;line-height:1.6}.room-aftermath-mark[hidden]{display:none}.room-aftermath-mark strong{display:block;font-size:12px;font-weight:400;letter-spacing:2px}.room-aftermath-mark span{display:block;font-size:10px;color:#d2d6c5}.room-world[data-ending] .room-objective>span{letter-spacing:1px}
@media(max-width:700px){.room-aftermath-mark{max-width:180px;padding:5px 8px}.room-aftermath-mark strong{font-size:11px}.room-aftermath-mark span{font-size:9px}}

/* Conversations leave both walking classmates visible in the room. */
.room-dialog[data-companion]{align-items:flex-start;padding-top:132px}
.room-dialog[data-companion] .room-dialog-inner{width:420px;max-width:40%;padding:18px 20px;border-width:12px}
.room-dialog[data-companion] h3{font-size:22px;margin:0 0 10px}
.room-dialog[data-companion] small{display:block;color:#baa877;font-size:11px;letter-spacing:1px}
.room-dialog[data-companion] .room-companion-line{font-size:14px;line-height:1.95;color:#e1dfca;margin:13px 0}
.room-dialog[data-companion] .room-dialog-actions{gap:6px}
.room-dialog[data-companion] button{font-size:12px;min-height:40px}
.room-dialog[data-companion] [data-room-dismiss]{margin-left:0;color:#b5c1be}
.room-dialog[data-companion] button:disabled{color:#c3d7b7;opacity:1}
@media(max-width:700px){.room-dialog[data-companion]{padding:125px 12px 16px}.room-dialog[data-companion] .room-dialog-inner{width:100%;max-width:100%;max-height:49%;padding:12px 15px}.room-dialog[data-companion] h3{font-size:19px}.room-dialog[data-companion] .room-companion-line{font-size:12px;line-height:1.8;margin:8px 0}.room-dialog[data-companion] button{font-size:11px;min-height:36px}}
@media(max-height:500px){.room-dialog[data-companion]{padding-top:68px}.room-dialog[data-companion] .room-dialog-inner{max-height:100%;padding:12px;max-width:43%}.room-dialog[data-companion] h3{font-size:18px}.room-dialog[data-companion] .room-companion-line{font-size:12px;line-height:1.7}.room-dialog[data-companion] button{min-height:32px}}
