.room-shell { width: min(100%, 1180px); }
.room-home { color: var(--ink); text-decoration: none; font-size: .92rem; font-weight: 650; }
.room-content {
  display: grid;
  grid-template-columns: minmax(250px,.62fr) minmax(0,1.35fr);
  grid-template-rows: 1fr 1fr;
  grid-template-areas: "intro stage" "controls stage";
  align-items: start;
  gap: 38px clamp(30px,6vw,84px);
  padding-block: 42px 34px;
}
.room-intro { grid-area: intro; align-self: end; }
.room-intro h1 { font-size: clamp(3.8rem,7.3vw,6.5rem); line-height: .99; }
.room-intro h1 > .title-dot, .room-intro h1 > .cat-name { display: inline; padding: 0; }
.room-intro p { color: var(--muted); line-height: 1.65; margin: 20px 0 0; }
.room-view { grid-area: stage; min-width: 0; }
.room-stage {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: 22px;
  background: #a8a17b;
  box-shadow: 0 15px 32px #26372225;
}
.room-floor, .room-actor {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.room-stage canvas { opacity: 0; }
.room-stage[data-video="true"] canvas { opacity: 1; }
.room-stage[data-video="true"] #room-poster { opacity: 0; }
.room-controls { grid-area: controls; display: grid; gap: 22px; }
.cat-picker { min-width: 0; margin: 0; border: 0; padding: 0; }
.cat-picker legend { margin-bottom: 10px; padding: 0; font-size: .82rem; color: var(--muted); }
.cat-options { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.cat-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  min-width: 0;
  min-height: 64px;
  padding: 8px 2px 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #faf8ef;
  font-size: .8rem;
  cursor: pointer;
}
.cat-option[aria-pressed="true"] { border-color: #9caf98; background: var(--soft-green); }
.cat-swatch {
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-position: center;
  background-size: cover;
  box-shadow: inset 0 0 0 1px #37281230;
}
.cat-about { min-height: 3em; margin: 10px 0 0; color: var(--muted); font-size: .85rem; line-height: 1.5; }
.room-go {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .4em;
  min-height: 48px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff9ef;
  font-size: .95rem;
  text-decoration: none;
}
@media (hover: hover) {
  .cat-option:hover { border-color: #b9c4b3; }
  .room-go:hover { background: #95492a; }
}
.room-actions button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  border: 1px solid var(--line);
  background: #faf8ef;
  border-radius: 12px;
  cursor: pointer;
  padding: 10px 9px;
  font-size: .9rem;
}
.room-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.room-actions .room-primary { background: var(--green); border-color: var(--green); color: #fff9e9; }
.room-actions button:disabled { cursor: default; opacity: .6; }
.room-shell .site-footer { margin-top: 0; }
@media (max-width: 800px) {
  .room-content { grid-template-columns: minmax(0,1fr); grid-template-rows: auto; grid-template-areas: "intro" "stage" "controls"; gap: 19px; padding-block: 24px; }
  .room-intro h1 { font-size: clamp(2.65rem,10.7vw,4.1rem); }
  .room-intro br { display: none; }
  .room-intro p { margin-top: 10px; font-size: .91rem; }
  .room-stage { border-radius: 17px; }
  .room-controls { gap: 14px; }
  .cat-option { font-size: .75rem; }
}
