.rooms-root {
  --room-ink:#293e35; --room-muted:#596a60; --room-line:#d7d6c6; --room-paper:#fbf7ea; --room-green:#3e5e4e; --room-berry:#935967;
  box-sizing:border-box; width:100%; max-width:400px; min-width:0; margin:auto; padding:17px;
  color:var(--room-ink); background:linear-gradient(137deg,#fffdf1f7,#f3f1dff5);
  font:400 14px/1.45 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; color-scheme:light; text-align:left;
}
.rooms-root *,.rooms-root *::before,.rooms-root *::after { box-sizing:border-box; }
.rooms-root button { color:inherit; font:inherit; cursor:pointer; }
.rooms-root button:disabled { opacity:.5; cursor:default; }
.rooms-root :focus-visible { outline:2px solid #406951; outline-offset:3px; }
.rooms-root h2:focus:not(:focus-visible) { outline:none; }
.rooms-root svg { display:block; width:19px; height:19px; flex:none; fill:none; stroke:currentColor; stroke-width:1.65; stroke-linecap:round; stroke-linejoin:round; }
.room-nav { display:flex; align-items:center; justify-content:space-between; gap:10px; min-width:0; }
.room-nav h2,.room-hero h2,.room-widget-title { margin:0; color:var(--room-ink); font:600 23px/1.13 Georgia,"Times New Roman",serif; letter-spacing:-.035em; }
.room-description { margin:7px 0 10px; color:var(--room-muted); }
.room-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:7px; }
.room-list:empty { display:none; }
.room-house {
  display:flex; flex-direction:column; align-items:center; justify-content:flex-end; gap:1px; min-width:0; padding:6px 4px 8px;
  border:1px solid #dddaca; border-radius:12px; background:linear-gradient(180deg,#e7eddf73,#f7f2e3); line-height:1.25;
}
.room-house:hover,.room-house:focus-visible { border-color:#9aa98d; background:#e8eddf; }
.room-house span { max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:12px; font-weight:600; }
.room-cottage { display:block; width:100%; height:auto; object-fit:contain; pointer-events:none; -webkit-user-select:none; user-select:none; }
.room-house img { width:74px; max-width:100%; height:67px; }
.room-status { margin:12px 0 0; border-left:2px solid #bd8e7e; padding:2px 0 2px 8px; color:#714a4e; font-size:12px; }
.room-status:empty { display:none; }
.room-management { display:flex; justify-content:space-between; align-items:center; gap:6px; margin-top:10px; padding-top:8px; border-top:1px solid var(--room-line); }
.room-management .room-link,.room-nav button {
  display:inline-flex; align-items:center; gap:4px; border:0; background:transparent; border-radius:6px; padding:5px 3px;
  min-width:0; min-height:30px; color:var(--room-green); font-size:13px; font-weight:580;
}
.room-back span { max-width:180px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.room-nav button svg { width:15px; height:15px; }
.room-nav .room-folder { flex:none; padding-inline:7px; background:#e3e9d8; }
.room-management button:hover,.room-nav button:hover:enabled { color:#243e32; background:#dce5d6; }
.room-hero {
  display:flex; align-items:center; gap:9px; margin:9px 0 12px; padding:5px 11px 5px 5px;
  background:radial-gradient(ellipse at 17% 100%,#d4ddc4 0%,#e7ebd875 40%,transparent 68%),linear-gradient(115deg,#e7ece0,#faf6e9);
  border:1px solid #d7dac8; border-radius:14px;
}
.room-hero img { width:92px; height:85px; flex:0 0 auto; }
.room-identity { min-width:0; }
.room-type { color:var(--room-muted); font-size:12px; line-height:1.3; margin:0 0 3px; }
.room-hero h2 { font-size:24px; overflow-wrap:anywhere; }
.room-widgets { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; }
.room-tool { display:flex; align-items:center; gap:7px; min-height:43px; min-width:0; padding:8px; border:1px solid var(--room-line); border-radius:10px; background:#fffbef; text-align:left; }
.room-tool span { font-size:13px; font-weight:570; line-height:1.15; }
.room-tool svg { width:26px; height:26px; padding:4px; color:#486749; background:#e6eddb; border-radius:7px; }
.room-tool[data-widget=guide] svg,.room-tool[data-widget=notes] svg { color:#8d5366; background:#f4e2e2; }
.room-tool[data-widget=radio] svg { color:#87643c; background:#f5e8d0; }
.room-tool[data-widget=settings] { grid-column:1/-1; }
.room-tool:hover,.room-tool:focus-visible { background:#eaf0df; border-color:#a2b49c; }
.room-widget-title { display:flex; align-items:center; gap:9px; font-size:21px; margin:13px 0; }
.room-widget-title svg { color:var(--room-berry); width:20px; height:20px; }
.room-widget .snow-app {
  --sa-ink:#293e35; --sa-secondary:#58675c; --sa-line:#ced2c1; --sa-inset:#f0efde; --sa-fill:#f9f6e9; --sa-blue:#d5e5d1;
  padding:0; background:none; color-scheme:light;
}
.room-widget .snow-app .sa-segment button { color:#425947; }
.room-widget .snow-app button[aria-pressed=true],.room-widget .snow-app button:hover:enabled { color:#274934; background:#dfe9d7; }
.room-widget .snow-app .sa-primary { color:white; background:#43634f; }
.room-widget .snow-app .sa-primary:hover:enabled { color:white; background:#355340; }
.room-widget .sa-editor textarea::placeholder { color:#737e70; }
.room-widget .sa-guide .sa-feedback { color:#805252; }
.room-widget .sa-guide .sa-correct { color:#396243; }
.room-widget .sa-switch-row input { border-color:#b3bba8; background:#cad2c0; }
.room-widget .sa-switch-row input:checked { background:#648261; }
.room-widget .cabin-player { --radio-secondary:#59695e; --radio-text:#2d4236; --radio-accent:#965868; color:#2d4236; padding:0; background:none; }
.room-widget .cabin-player button { color:#45614f; }
.room-widget .cabin-player button:hover { color:#2d4937; background:#e1e9d7; }
.room-widget .cabin-player button[data-radio=toggle] { color:white; background:#496951; }
.room-widget .cabin-player .radio-volume-pop { background:#e9edde; }
.room-widget .radio-progress input::-webkit-slider-runnable-track { background:linear-gradient(to right,#68876a var(--progress,0%),#c5cfbd var(--progress,0%)); }
.room-widget .radio-progress input::-webkit-slider-thumb { background:#46664e; }
.room-widget .radio-progress input::-moz-range-track { background:#c5cfbd; }
.room-widget .radio-progress input::-moz-range-progress,.room-widget .radio-progress input::-moz-range-thumb { background:#46664e; }
@media (max-width:350px) {
  .rooms-root { padding:12px; }
  .room-list { gap:4px; }
  .room-tool { padding-inline:6px; }
}
