#view-stage { background: var(--ink); color: var(--on-ink); }
.stage-frame {
  position: relative;
  flex: 1;
  min-height: 320px;
  overflow: hidden;
}
.led {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.stage-frame .led,
.live-stage .led {
  position: absolute;
  inset: 0;
}
.led.un {
  background-color: #2a3d52;
  background-image: url("../img/bg-un.png");
}
.led.west {
  background-color: #1b2430;
  background-image: url("../img/bg-west.png");
}
.led.civic {
  background-color: #d8c4a4;
  background-image: url("../img/bg-civic.png");
}
.stage-top {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  z-index: 2;
}
.stage-top .rec {
  display: flex;
  gap: 8px;
  align-items: center;
  background: rgba(27, 36, 48, 0.72);
  padding: 4px 8px;
  border-radius: 4px;
}
.point-chip {
  position: absolute;
  top: 42px;
  left: 10px;
  z-index: 2;
  background: rgba(47, 111, 143, 0.92);
  color: #fff;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 4px;
  max-width: 78%;
}
.figure {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 72%;
  z-index: 1;
}
.figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
}
.figure video {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}
.figure video.is-on { display: block; cursor: pointer; }
.avatar-st {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 36px;
  z-index: 3;
  font-size: 11px;
  color: #fff;
  text-align: center;
  text-shadow: 0 1px 2px #000;
  pointer-events: none;
}
.podium {
  position: absolute;
  left: 50%;
  bottom: 6px;
  transform: translateX(-50%);
  z-index: 2;
  background: linear-gradient(#d8b57e, #c4a574);
  color: #2a2114;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 2px;
  letter-spacing: 0.04em;
}
.gallery {
  background: var(--paper);
  color: var(--text);
  border-radius: 16px 16px 0 0;
  padding: 12px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.captions {
  min-height: 64px;
  font-size: 13px;
  line-height: 1.5;
}
.captions .ask { color: var(--muted); }
.captions .ans { color: var(--text); margin-top: 4px; }
.tools {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.tool {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 6px;
  height: 44px;
  font-size: 11px;
  color: var(--text);
  user-select: none;
  -webkit-user-select: none;
}
.mic-row { display: flex; gap: 8px; }
.mic-row .btn { flex: 1; }
.mic-row input { flex: 1.4; height: 44px; border: 1px solid var(--line); border-radius: 6px; padding: 0 10px; }
#btn-mic {
  position: relative;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
#btn-mic .mic-label { pointer-events: none; }
#btn-mic .mic-wave {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 3px;
  position: absolute;
  inset: 8px 10px;
  pointer-events: none;
}
#btn-mic .mic-wave i {
  display: block;
  width: 3px;
  height: 8px;
  border-radius: 1px;
  background: #fff;
}
#btn-mic.is-live {
  background: var(--teal);
  border-color: #fff;
  color: transparent;
}
#btn-mic.is-live .mic-label { visibility: hidden; }
#btn-mic.is-live .mic-wave { display: flex; }
#btn-mic.is-live .mic-wave i {
  animation: mic-wave-bar 0.7s ease-in-out infinite;
}
#btn-mic.is-live .mic-wave i:nth-child(3n) { animation-duration: 0.5s; }
#btn-mic.is-live .mic-wave i:nth-child(3n+1) { animation-duration: 0.86s; animation-delay: 0.1s; }
#btn-mic.is-live .mic-wave i:nth-child(3n+2) { animation-duration: 0.62s; animation-delay: 0.22s; }
@keyframes mic-wave-bar {
  0%, 100% { height: 8px; }
  50% { height: 26px; }
}

.sheet {
  position: absolute;
  inset: 0;
  background: rgba(15, 20, 28, 0.45);
  display: none;
  align-items: flex-end;
  z-index: 8;
}
.sheet.is-on { display: flex; }
.sheet-body {
  width: 100%;
  background: #fff;
  color: var(--text);
  border-radius: 16px 16px 0 0;
  padding: 16px;
  max-height: 78%;
  overflow: auto;
}
.sheet-body h3 { margin: 0 0 12px; font-size: 16px; }
