/* Bedroom inherits the living-room palette and four-period time logic from home.css. */
.bedroom-shell{padding-bottom:18px}
.bedroom-stage{background:var(--w0)}
.bedroom-back-door{position:absolute;z-index:8;left:4.2%;top:32.2%;width:10.8%;height:38.2%;text-decoration:none}
.bedroom-back-door i{position:absolute;right:10%;top:6%;width:4px;height:88%;background:var(--accent);opacity:.58}
.bedroom-back-door b{position:absolute;right:26%;top:47%;width:7px;height:7px;background:var(--accent2)}
.bedroom-back-door:hover i{opacity:1;transform:translateX(2px);filter:drop-shadow(0 0 4px var(--accent))}
.bedroom-back-door:hover b{transform:translateX(1px)}
.bathroom-door-link{position:absolute;z-index:8;right:0;top:32.5%;width:5.7%;height:38%;text-decoration:none}
.bathroom-door-link i{position:absolute;left:8%;top:6%;width:4px;height:88%;background:var(--accent2);opacity:.58}
.bathroom-door-link b{position:absolute;left:34%;top:47%;width:7px;height:7px;background:var(--accent)}
.bathroom-door-link:hover i{opacity:1;transform:translateX(-2px);filter:drop-shadow(0 0 4px var(--accent2))}
.bathroom-door-link:hover b{transform:translateX(-1px)}

.bed-base,.bed-frame{fill:var(--w2)}
.bed-sheet{fill:var(--w1)}
.pillow{fill:var(--w0);stroke:var(--w1);stroke-width:6px}
.pillow-b{fill:color-mix(in srgb,var(--w0) 82%,var(--accent) 18%)}
.blanket{fill:var(--w1)}
.rug{fill:color-mix(in srgb,var(--w1) 76%,var(--accent) 24%)}
.rug-line{fill:var(--accent2);opacity:.55}
.cabinet-body,.cabinet-top{fill:var(--w2)}
.cabinet-drawer{fill:var(--w1)}
.cabinet-handle{fill:var(--accent2)}
.cabinet-mark{fill:var(--accent)}

.bed-object{left:49%;top:59%}
.lamp-object{left:63.6%;top:45%}
.window-object{left:87%;top:27%}
.cabinet-object{left:80.5%;top:61%}
.cabinet-object i{width:10px;height:10px;box-shadow:0 0 0 3px color-mix(in srgb,var(--accent2) 28%,transparent)}
.cabinet-object:hover i{filter:drop-shadow(0 0 5px var(--accent2))}

.bedroom-card .card-action{
  display:inline-block;margin-top:14px;padding:8px 10px;border:1px solid var(--accent2);
  color:var(--accent2);text-decoration:none;font-size:9px;letter-spacing:.11em;
}
.bedroom-card .card-action[hidden]{display:none}
.bedroom-card .card-action:hover{background:color-mix(in srgb,var(--accent2) 12%,transparent)}
.bedroom-note{
  display:flex;justify-content:space-between;gap:18px;align-items:center;margin-top:12px;padding:12px 14px;
  border:1px solid var(--line);background:var(--panel);
}
.bedroom-note span{color:var(--muted);font-size:9px;letter-spacing:.11em}
.bedroom-note strong{color:var(--text);font:600 .82rem/1.6 "PingFang SC","Noto Sans CJK SC",sans-serif;text-align:right}

.lamp-halo{
  fill:#f4d28a;opacity:0;pointer-events:none;
  transform-box:fill-box;transform-origin:center;
  filter:blur(15px);transition:opacity .2s steps(4);
}
body.bedroom-lamp-on .bedroom-lamp{filter:drop-shadow(0 0 10px rgba(244,210,138,.85));fill:#f4d28a}
body.morning.bedroom-lamp-on .lamp-halo{opacity:.12}
body.day.bedroom-lamp-on .lamp-halo{opacity:.09}
body.dusk.bedroom-lamp-on .lamp-halo{opacity:.2}
body.night.bedroom-lamp-on .lamp-halo{opacity:.34}
body.night.bedroom-lamp-on .bedroom-stage{box-shadow:inset 0 0 110px rgba(244,210,138,.055)}
body.night .cabinet-handle{fill:#79b9df}
body.night .cabinet-mark{fill:#e376af}

@media(max-width:760px){
  .bedroom-note{align-items:flex-start;flex-direction:column}
  .bedroom-note strong{text-align:left}
}
