.room-builder{max-width:1200px}.room-builder .workbench{margin-block:1.5rem}.room-toolbar,.room-actions{display:flex;align-items:center;gap:.65rem;flex-wrap:wrap}.room-toolbar{justify-content:space-between}.room-actions{margin-block:1rem}.room-builder button,.room-builder select,.room-builder input,.room-builder textarea,#room-confirm button{font:inherit;min-height:44px;border:1px solid #c4d2cc;border-radius:12px;background:#fff;color:#173e32;padding:.65rem .85rem}.room-builder button,#room-confirm button{cursor:pointer;font-weight:700}.room-builder button:disabled{opacity:.5;cursor:not-allowed}.room-builder .room-primary{background:#174f3e;color:#fff;border-color:#174f3e}.room-builder :focus-visible,#room-confirm :focus-visible{outline:3px solid #c87728;outline-offset:3px}.room-field{display:grid;gap:.4rem;font-weight:700;min-width:0;margin-block:.75rem}.room-field input,.room-field select,.room-field textarea{width:100%;min-width:0;box-sizing:border-box}.room-note{font-size:.9rem;line-height:1.6;color:#53675f;font-weight:400}.room-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:1.5rem;margin-top:1rem}.room-map{border-right:1px solid #dce4df;padding-right:1.25rem}.room-map ol{list-style:none;padding:0;display:grid;gap:.5rem}.room-map button{width:100%;text-align:left;overflow-wrap:anywhere}.room-map button[aria-current=true]{background:#e1eee4;border-color:#306548;box-shadow:inset 4px 0 #306548}.room-detail h4{margin-bottom:.5rem}.room-puzzles{padding-left:1.5rem}.room-puzzles>li{padding:.5rem 0 .9rem;border-bottom:1px solid #e0e7e2}.room-puzzle-line{display:flex;align-items:end;gap:.5rem}.room-puzzle-line .room-field{flex:1;margin-bottom:0}.room-pickers{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:.65rem;align-items:end}.room-pickers>button{margin-bottom:.75rem}.room-doors{margin-top:1.5rem;border:1px solid #d3dfd7;border-radius:14px;padding:1rem;min-width:0}.room-doors legend{font-weight:800;padding-inline:.4rem}.room-door-option{display:flex;gap:.6rem;align-items:center;min-height:44px;overflow-wrap:anywhere}.room-door-option input{flex:none;width:20px;height:20px;min-height:20px;accent-color:#245940}.room-door-option span{min-width:0}.room-door-option small{display:block;color:#53675f}.room-builder [role=alert]{color:#963a29;overflow-wrap:anywhere}.room-builder [role=status]{overflow-wrap:anywhere}.room-builder [hidden]{display:none!important}.room-preview{min-width:0}#room-confirm{max-width:min(440px,calc(100vw - 4rem));border:1px solid #cbd8cf;border-radius:20px;padding:1.5rem;color:#173e32;background:#fffdf8;overflow-wrap:anywhere}#room-confirm::backdrop{background:#10251db3}#room-playing{min-width:0}@media(max-width:760px){.room-layout{grid-template-columns:1fr}.room-map{border:0;border-bottom:1px solid #dce4df;padding:0 0 1rem}.room-map ol{grid-template-columns:repeat(2,minmax(0,1fr))}.room-pickers{grid-template-columns:1fr}.room-pickers>button{margin:0}.room-puzzle-line{flex-wrap:wrap}.room-puzzle-line .room-field{flex-basis:100%}.room-builder .workbench{padding:1rem}.room-toolbar{align-items:flex-start}.room-doors{padding:.75rem}}

/* Presentation only changes visibility; the mounted game and author draft stay intact. */
.is-presenting .room-builder > :not(.room-preview),.is-presenting .kludle-header nav,.is-presenting .experience-title{display:none!important}
.is-presenting .room-builder{max-width:1100px}.is-presenting .room-preview{margin-top:1rem}.is-presenting #room-play-title{font-size:clamp(1.6rem,4vw,2.5rem);line-height:1.15;letter-spacing:-.04em;margin:.25rem 0;overflow-wrap:anywhere}.is-presenting .room-toolbar{align-items:center;margin-bottom:1rem}.is-presenting #room-back{margin-left:auto}
