
.debate-head { text-align: center; }
.debate-seg { margin: 0; font-size: var(--apa-text-xl); font-weight: 700; }
.debate-head .hint { margin: 0.25rem 0 0; }
.debate-sides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; width: 100%; }
.debate-side {
  display: grid; justify-items: center; gap: 0.25rem; min-height: 9rem; padding: 1rem 0.5rem; border-radius: var(--apa-r-md);
  border: 1px solid var(--line); background: var(--apa-card); color: var(--muted); font-weight: 600;
}
.debate-side[hidden] { display: none; }
.debate-sides:has(.debate-side[hidden]) { grid-template-columns: minmax(0, 1fr); }
.debate-side-name { font-size: var(--apa-text-md); }
.debate-digits { font-size: clamp(2.6rem, 11vw, 4.5rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1; color: var(--ink); }
.debate-side-status { font-size: var(--apa-text-sm); min-height: 1.25em; }
.debate-side[aria-pressed='true'] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); color: var(--ink); }
.debate[data-free='true'] .debate-side[aria-pressed='false'] .debate-digits { color: var(--muted); }
.debate-side[data-phase='warn'] .debate-digits, .debate-side[data-phase='warn'] .debate-side-status { color: var(--apa-warning); }
.debate-side[data-phase='over'] .debate-digits, .debate-side[data-phase='over'] .debate-side-status { color: var(--apa-red-text); }
.debate-side[data-phase='out'] .debate-digits { color: var(--muted); }
@media (hover: hover) { .debate-side:hover:not(:disabled) { background: var(--apa-card); border-color: var(--apa-line-strong); } .debate-side[aria-pressed='true']:hover { border-color: var(--ink); } }
.full-view { position: fixed; inset: 0; z-index: 100; overflow: hidden; outline: none; }
.full-close {
  position: absolute; top: calc(8px + env(safe-area-inset-top)); right: calc(8px + env(safe-area-inset-right)); z-index: 2;
  width: 44px; height: 44px; min-height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: inherit; opacity: 0.55;
}
.full-close svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
@media (hover: hover) { .full-close:hover:not(:disabled) { background: rgb(127 127 127 / 0.2); color: inherit; opacity: 1; } }
.debate-stage { display: grid; grid-template-rows: auto 1fr; background: #0a0a0a; color: #ededed; cursor: pointer; padding: 3vh 3vw calc(3vh + env(safe-area-inset-bottom)); }
.debate-stage-seg { margin: 0; text-align: center; font-size: clamp(1.1rem, 4vh, 2.4rem); font-weight: 650; color: #a1a1a1; padding-inline: 48px; }
.debate-stage-sides { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); align-items: center; gap: 2vw; min-height: 0; }
.debate-stage[data-layout='column'] .debate-stage-sides { grid-auto-flow: row; }
.debate-stage-side { display: grid; justify-items: center; gap: 1vh; color: #8f8f8f; padding: 2vh 0; border-bottom: 0.6vh solid transparent; }
.debate-stage-side[hidden] { display: none; }
.debate-stage-side.is-speaking { color: #ededed; border-bottom-color: currentColor; }
.debate-stage-name { font-size: clamp(1.2rem, 4.5vh, 3rem); font-weight: 700; }
.debate-stage-digits { font-weight: 700; letter-spacing: -0.03em; line-height: 1; white-space: nowrap; font-variant-numeric: tabular-nums; }
.debate-stage-status { font-size: clamp(1rem, 3vh, 2rem); font-weight: 600; min-height: 1.2em; }
.debate-stage-side[data-phase='warn'] { color: #d6a85a; }
.debate-stage-side[data-phase='over'] { color: #ec9688; }
.debate-stage-side[data-phase='out'] { color: #8f8f8f; }
