:root {
  --bg: #141210;
  --bg-raise: #1c1916;
  --ink: #f4efe6;
  --muted: #b7aea3;
  --line: rgba(244, 239, 230, 0.16);
  --live: #d4533c;
  --stage: 440px;
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  min-height: 100dvh;
  background:
    radial-gradient(ellipse 80% 40% at 50% -10%, rgba(212, 83, 60, 0.16), transparent 55%),
    var(--bg);
  color: var(--ink);
  font-family: "Hiragino Sans", "Yu Gothic", "PingFang SC", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

.page {
  width: min(100%, var(--stage));
  margin: 0 auto;
  padding: calc(14px + env(safe-area-inset-top)) 16px calc(28px + env(safe-area-inset-bottom));
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.live,
.brand {
  margin: 0;
}

.live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px 5px 8px;
  border-radius: 999px;
  background: rgba(212, 83, 60, 0.16);
  color: #ffd7cf;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 0 rgba(212, 83, 60, 0.7);
  animation: pulse 1.6s ease-out infinite;
}

.brand {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.stage {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 14;
  border-radius: 22px;
  background: #0c0b0a;
}

.stage-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stage-shade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 46%;
  background: linear-gradient(transparent, rgba(12, 10, 8, 0.88));
  pointer-events: none;
}

.stage-copy {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
}

.kicker {
  margin: 0 0 4px;
  color: #f0c2b6;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.14em;
}

h1 {
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Iowan Old Style", serif;
  font-size: clamp(32px, 8vw, 44px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.lead {
  margin: 8px 0 0;
  max-width: 22em;
  color: rgba(244, 239, 230, 0.86);
  font-size: 14px;
  line-height: 1.55;
}

.sound {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(20, 18, 16, 0.55);
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
}

.sound:active { transform: scale(0.98); }

.sound:focus-visible,
.room:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.rooms { margin-top: 22px; }

.rooms h2 {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.room-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.room {
  position: relative;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-raise);
  color: var(--ink);
  cursor: pointer;
}

.room img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 13;
  object-fit: cover;
}

.room::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 46%;
  background: linear-gradient(transparent, rgba(12, 10, 8, 0.88));
  pointer-events: none;
}

.room.is-on {
  border-color: var(--live);
}

.room-live {
  position: absolute;
  z-index: 1;
  top: 8px;
  left: 8px;
  padding: 2px 6px;
  border-radius: 999px;
  background: var(--live);
  color: #fff;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.room-name {
  position: absolute;
  z-index: 1;
  left: 8px;
  bottom: 8px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 18px;
}

.note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 7px rgba(212, 83, 60, 0); }
  100% { box-shadow: 0 0 0 0 rgba(212, 83, 60, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .dot { animation: none; }
}
