:root {
  color-scheme: light;
  --page: #f7f3ee;
  --paper: #fcf9f4;
  --white: #fffdfa;
  --ink: #251e2a;
  --muted: #615561;
  --line: #ded5d9;
  --plum: #492d51;
  --plum-hover: #35213e;
  --plum-pale: #efe5f0;
  --deep: #25192d;
  --amber: #f2c593;
  --green: #255240;
  --green-hover: #183e30;
  --green-pale: #e9f0e9;
  --warm: #fff1d9;
  --serif: 'Iowan Old Style', 'Palatino Linotype', 'Book Antiqua', Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font: 1rem/1.55 var(--sans);
  color: var(--ink);
  background: var(--page);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
button, textarea { font: inherit; }
p, h1, h2, h3, dl, dd { margin: 0; }
a { color: var(--green); text-decoration-thickness: .09em; text-underline-offset: .19em; }
a:hover { color: var(--green-hover); }
:focus-visible { outline: 3px solid #815390; outline-offset: 4px; }

.sr-only, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link:focus {
  position: fixed;
  z-index: 2;
  inset: .75rem auto auto .75rem;
  padding: .625rem 1rem;
  border-radius: .5rem;
  background: var(--white);
}

.shell { width: min(100% - 3rem, 71rem); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.header-inner, .header-controls, .wordmark { display: flex; align-items: center; }
.header-inner { min-height: 4.125rem; justify-content: space-between; gap: 1rem; }
.header-controls { gap: .75rem; justify-content: flex-end; }
.wordmark { gap: .64rem; color: var(--deep); white-space: nowrap; font: 600 1.4rem/1 var(--serif); letter-spacing: -.045em; }

.wordmark-symbol {
  position: relative;
  display: grid;
  flex: 0 0 2.125rem;
  place-items: center;
  width: 2.125rem;
  height: 2.125rem;
  border-radius: .625rem;
  transform: rotate(-7deg);
  background: var(--deep);
}

.wordmark-symbol i {
  position: absolute;
  width: .77rem;
  height: .59rem;
  border: 1.5px solid #f5e7f5;
  border-radius: .17rem .17rem .17rem .02rem;
  transform: translate(-.18rem, -.16rem);
}

.wordmark-symbol i + i {
  border-color: var(--amber);
  border-radius: .17rem .17rem .02rem .17rem;
  transform: translate(.18rem, .16rem);
}

.mode {
  display: inline-flex;
  align-items: center;
  gap: .44rem;
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.25;
}

.mode::before { content: ''; flex: 0 0 .46rem; width: .46rem; height: .46rem; border-radius: 50%; background: #828f85; }
.mode[data-mode='live']::before { background: #29774b; }
.mode[data-mode='guided']::before { background: #a46b2e; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 2.875rem;
  padding: .625rem 1.05rem;
  border: 1px solid transparent;
  border-radius: .65rem;
  font-weight: 660;
  line-height: 1.32;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

.button:disabled { cursor: default; }
.voice-toggle { min-height: 2.75rem; white-space: nowrap; border-color: var(--line); font-size: .875rem; }
.voice-toggle:hover:enabled, .secondary-button:hover:enabled { background: var(--green-pale); border-color: #aec8b4; }
.voice-toggle:disabled, .secondary-button:disabled { color: #69756c; background: #edf0e9; }
.sound-icon { display: inline-flex; align-items: center; gap: 2px; height: .9rem; color: var(--green); }
.sound-icon i { width: 2px; height: .43rem; border-radius: 2px; background: currentColor; }
.sound-icon i:nth-child(2) { height: .78rem; }
.sound-icon i:nth-child(3) { height: .59rem; }
.voice-toggle[aria-pressed='false'] .sound-icon { color: #758278; }
.voice-toggle[aria-pressed='false'] .sound-icon i { height: 2px; }

.main { padding-block: clamp(1.25rem, 3.5vw, 2.25rem) 3rem; }
.main:focus, h1[tabindex='-1']:focus { outline: none; }
.setup-hero {
  isolation: isolate;
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  min-height: 23rem;
  border-radius: 1.35rem;
  background: radial-gradient(ellipse at 82% 28%, #593742, var(--deep) 58%);
  color: #fff7ec;
}
.setup-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 22%;
  background: linear-gradient(90deg, var(--deep), #25192d75 31%, #25192d0d 68%),
    url('/polemix-room.webp') 70% 54% / cover no-repeat;
  content: '';
}
.setup-copy { padding: clamp(1.9rem, 3.65vw, 3.15rem) clamp(2.2rem, 5.2vw, 4.45rem); }
.setup-controls { margin-top: clamp(1.25rem, 3vw, 2.15rem); }
.eyebrow { display: flex; align-items: center; gap: .6rem; color: var(--plum); font-size: .8125rem; font-weight: 690; letter-spacing: .02em; }
.rule { width: 1.4rem; height: 1px; background: currentColor; opacity: .55; }
.setup-copy .eyebrow { color: var(--amber); }

h1 {
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 5.75rem);
  font-weight: 500;
  letter-spacing: -.068em;
  line-height: 1.02;
  overflow-wrap: anywhere;
}

.setup-copy h1 { max-width: 36rem; margin-top: .7rem; font-size: clamp(3.75rem, 7.1vw, 6rem); line-height: .94; }
.setup-copy em { display: block; color: var(--amber); font-weight: inherit; }
.setup-description { max-width: 28rem; margin-top: 1.05rem; color: #f4e6e9; font-size: clamp(.9375rem, 1.5vw, 1.0625rem); }
.debate-picker, .interaction-picker { min-inline-size: 0; margin: 0; padding: 0; border: 0; }
.debate-picker legend { padding: 0; font: 520 clamp(1.45rem, 2.1vw, 2rem)/1.15 var(--serif); letter-spacing: -.045em; }
.debate-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .72rem; margin-top: .75rem; }
.debate-option {
  display: grid;
  grid-template-columns: 1.12rem minmax(0, 1fr);
  align-content: start;
  gap: .75rem;
  padding: .9rem 1.08rem 1rem;
  border: 1px solid var(--line);
  border-radius: .8rem;
  background: var(--white);
  cursor: pointer;
  overflow-wrap: anywhere;
  transition: background-color 140ms ease, border-color 140ms ease;
}
.debate-option:hover { border-color: #a582ae; }
.debate-option:has(input:checked) { border-color: #936a9b; background: var(--plum-pale); }
.debate-option:has(input:focus-visible), .practice-option:has(input:focus-visible) { outline: 3px solid #815390; outline-offset: 2px; }
.debate-option input { width: 1.08rem; height: 1.08rem; margin: .28rem 0 0; accent-color: var(--plum); }
.debate-option-text { display: grid; gap: .16rem; }
.debate-option-title { font: 560 clamp(1.24rem, 2.35vw, 1.62rem)/1.16 var(--serif); letter-spacing: -.035em; }
.debate-option-partner { color: var(--plum); font-size: .875rem; font-weight: 660; }
.debate-option-description { color: var(--muted); font-size: .875rem; line-height: 1.35; }
.setup-toolbar { display: flex; align-items: end; justify-content: space-between; gap: .75rem 1.2rem; margin-top: .95rem; }
.setup-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem .75rem; }
.setup-actions .primary-button { min-height: 3rem; padding-inline: 1.12rem; }
.setup-actions .primary-button [aria-hidden] { font-size: 1.15rem; }
.setup-time { color: var(--muted); font-size: .8125rem; white-space: nowrap; }
.primary-button { color: #fffaf4; background: var(--plum); }
.primary-button:hover:enabled { background: var(--plum-hover); }
.primary-button:disabled { background: #e8e0e7; color: #65586a; }

.interaction-picker legend { padding: 0; font-size: .875rem; font-weight: 680; }
.interaction-options { display: flex; flex-wrap: wrap; gap: .25rem; min-height: 2.85rem; margin-top: .3rem; }
.practice-option {
  display: flex;
  align-items: center;
  gap: .42rem;
  min-height: 2.75rem;
  padding: .45rem .72rem;
  border: 1px solid var(--line);
  border-radius: .55rem;
  background: var(--white);
  cursor: pointer;
  overflow-wrap: anywhere;
}
.practice-option:has(input:checked) { border-color: #936a9b; background: var(--plum-pale); }
fieldset:disabled :is(.practice-option, .debate-option) { cursor: default; }
.practice-option input { flex: 0 0 auto; margin: 0; accent-color: var(--plum); }

.round-header, .debrief-header { display: flex; justify-content: space-between; align-items: end; gap: 1.25rem; }
.round-header h1, .debrief-header h1 { margin: .4rem 0 .25rem; }
.round-header h1 { font-size: clamp(2.25rem, 5.8vw, 4.65rem); }
.round-partner { color: var(--muted); }
.round-time { display: grid; flex: 0 0 auto; justify-items: end; gap: .18rem; color: var(--green); text-align: right; }
#round-phase { font-size: .875rem; font-weight: 630; }
#round-clock { font: 630 clamp(2.55rem, 6vw, 4.75rem)/.98 var(--sans); letter-spacing: -.08em; font-variant-numeric: tabular-nums; }
.round-progress { width: 100%; height: .38rem; margin-top: 1.35rem; overflow: hidden; border: 0; border-radius: 1rem; color: #5d9579; background: #e1e8de; }
.round-progress::-webkit-progress-bar { background: #e1e8de; }
.round-progress::-webkit-progress-value { background: currentColor; border-radius: 1rem; }
.round-progress::-moz-progress-bar { background: currentColor; border-radius: 1rem; }
[data-phase='closing'] .round-time { color: #80501e; }
[data-phase='closing'] .round-progress { color: #ac713b; }

.notice { margin-top: 1rem; padding: .78rem 1rem; border: 1px solid #e2ca9f; border-radius: .65rem; background: var(--warm); color: #684720; }
.notice:empty, .status:empty { display: none; }
.voice-key { display: grid; gap: .4rem; max-width: 26rem; margin-top: .8rem; }
.voice-key label { font-size: .9375rem; font-weight: 670; }
.voice-key input { width: 100%; min-height: 2.75rem; padding: .55rem .7rem; border: 1px solid var(--line); border-radius: .55rem; background: var(--white); color: var(--ink); font: inherit; }
.voice-key p { color: var(--muted); font-size: .875rem; }
.practice-grid { display: grid; grid-template-columns: minmax(0, 1.28fr) minmax(0, 1fr); grid-template-areas: "transcript tools"; align-items: start; gap: 1rem; margin-top: 1.4rem; }
.composer-panel { grid-area: tools; }
.transcript-panel { grid-area: transcript; }
#round-view[data-interaction='chat'] { max-width: 48rem; margin-inline: auto; }
#round-view[data-interaction='chat'] .practice-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "transcript"; }
.panel { min-width: 0; border: 1px solid var(--line); border-radius: .95rem; background: var(--white); }
.panel-heading { padding: .95rem 1.15rem; border-bottom: 1px solid var(--line); }
h2 { font-size: 1.1rem; line-height: 1.3; font-weight: 680; letter-spacing: -.015em; }
h3 { color: var(--green); font-size: .9375rem; font-weight: 670; }

.transcript { display: flex; flex-direction: column; gap: .8rem; min-height: 15rem; max-height: min(48vh, 32rem); overflow: auto; overscroll-behavior: contain; scrollbar-color: #afc3b3 transparent; padding: 1rem; }
.transcript:focus-visible { outline-offset: -3px; }
.transcript-empty { display: grid; place-items: center; padding: 1.35rem; color: var(--muted); text-align: center; }
.transcript-entry { align-self: flex-start; max-width: min(100%, 30rem); padding: .72rem .9rem .8rem; border: 1px solid #dfe5da; border-radius: .15rem .8rem .8rem; background: #f3f6ee; overflow-wrap: anywhere; }
.transcript-entry--user { align-self: flex-end; border-color: #d4e4d9; border-radius: .8rem .15rem .8rem .8rem; background: var(--green-pale); }
.transcript-entry--note { max-width: 100%; padding: .2rem .1rem; border: 0; background: none; color: var(--muted); font-size: .875rem; }
.transcript-speaker { display: block; margin-bottom: .25rem; color: var(--green); font-size: .875rem; font-weight: 690; }
.transcript-text { white-space: pre-wrap; }

.conversation-controls { padding: 1.05rem 1.15rem; }
.audio-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .7rem 1rem;
  padding: .8rem;
  border: 1px solid #d5e4d9;
  border-radius: .8rem;
  background: #edf4ec;
}
.audio-status { display: flex; align-items: center; gap: .65rem; color: var(--green); }
#mic-indicator { font-size: .9375rem; font-weight: 660; }
.audio-meter { display: flex; flex: 0 0 2.625rem; width: 2.625rem; height: 2.625rem; align-items: center; justify-content: center; gap: 2px; border-radius: 50%; background: #d8e8db; color: #367357; }
.audio-meter i { width: 2px; height: .35rem; border-radius: 1rem; background: currentColor; }
.audio-meter i:nth-child(2), .audio-meter i:nth-child(4) { height: .65rem; }
.audio-meter i:nth-child(3) { height: .95rem; }
[data-audio-state='speaking'] .audio-meter { color: #fffef8; background: var(--green); }
[data-audio-state='user-speaking'] .audio-meter { color: #fffef8; background: #287c5b; }
[data-audio-state='speaking'] .audio-meter i, [data-audio-state='user-speaking'] .audio-meter i { animation: speaking-meter 800ms ease-in-out infinite alternate; }
.audio-meter i:nth-child(2n) { animation-delay: -350ms; }
.audio-meter i:nth-child(3) { animation-delay: -140ms; }
[data-audio-state='muted'] .audio-meter, [data-audio-state='unavailable'] .audio-meter { color: #6a776d; background: #e1e7dd; }
[data-audio-state='muted'] .audio-meter i, [data-audio-state='unavailable'] .audio-meter i { height: 2px; }

@keyframes speaking-meter {
  from { transform: scaleY(.45); }
  to { transform: scaleY(1.22); }
}

.microphone-button { border-color: #bccfbe; color: var(--green); background: var(--white); font-size: .875rem; }
.microphone-button:hover:enabled { border-color: #88ad95; background: #f9fcf8; }
.microphone-button:disabled { color: #5b685e; background: #edf0e9; }
.microphone-button[aria-pressed='true'] { border-color: #bc7c71; background: #fbece8; color: #843c35; }
.mic-icon { position: relative; display: inline-block; width: .82rem; height: 1rem; }
.mic-icon::before { content: ''; position: absolute; inset: 0 .2rem .38rem; border: 1.5px solid currentColor; border-radius: 4px; }
.mic-icon::after { content: ''; position: absolute; inset: .24rem .04rem .21rem; border: 1.5px solid currentColor; border-top: 0; border-radius: 0 0 5px 5px; }
.microphone-button[aria-pressed='true'] .mic-icon::after { inset: 50% -.08rem auto; height: 1px; border: 0; border-radius: 0; transform: rotate(-48deg); background: currentColor; }

.typed-fallback { margin-top: .85rem; }
.typed-fallback > summary { padding: .3rem .15rem; border-radius: .3rem; color: var(--green); font-size: .9375rem; font-weight: 650; cursor: pointer; }
.typed-fallback > summary:hover { text-decoration: underline; text-underline-offset: .18em; }
.typed-fallback > summary::marker { color: #508366; }
.composer { display: grid; justify-items: end; gap: .6rem; margin-top: .6rem; }
.composer textarea { display: block; width: 100%; min-height: 6rem; padding: .75rem .8rem; resize: vertical; border: 1px solid #bccbbd; border-radius: .62rem; color: var(--ink); background: var(--paper); }
.composer textarea::placeholder { color: #56685c; }
.composer textarea:disabled { background: #eff1eb; }
.chat-composer { border-top: 1px solid var(--line); }
.chat-composer .composer { margin-top: 0; }
.secondary-button { border-color: #bbcbbc; background: var(--white); }
.status { margin-top: .65rem; font-size: .9375rem; color: var(--muted); overflow-wrap: anywhere; }
.round-footer { display: flex; justify-content: end; margin-top: 1rem; }
.text-button { color: var(--green); border-color: #c5d3c7; }
.text-button:hover:enabled { background: var(--green-pale); }
.text-button:disabled { color: #6e7a71; }

.debrief-header .secondary-button { align-self: end; margin-bottom: .15rem; }
.debrief-overview { display: grid; gap: 1rem; margin-top: 1.1rem; }
.debrief-grade {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  align-items: stretch;
  gap: clamp(1.2rem, 3vw, 2.8rem);
  padding: clamp(1.35rem, 4.2vw, 2.6rem);
  border-color: transparent;
  border-radius: 1.05rem;
  color: #fff7ec;
  background: radial-gradient(ellipse at 85% 0%, #563553, transparent 62%), var(--deep);
}
.debrief-grade h2 { color: #f6e4ed; font-size: .875rem; letter-spacing: .015em; }
.debrief-grade[data-provisional] h2 { color: var(--amber); }
.grade-value { margin-top: .2rem; color: #fff7ec; font-size: clamp(1.5rem, 3vw, 2.4rem); font-weight: 640; overflow-wrap: anywhere; }
.debrief-grade[data-graded='true'] .grade-value { display: flex; flex-wrap: wrap; gap: .18rem .82rem; align-items: baseline; }
.debrief-grade[data-graded='true'] #debrief-letter { font: 500 clamp(3.6rem, 10vw, 7rem)/1 var(--serif); letter-spacing: -.085em; }
#debrief-percent { color: var(--amber); font-size: clamp(1.12rem, 3.4vw, 2rem); font-weight: 570; font-variant-numeric: tabular-nums; white-space: nowrap; }
.grade-coverage { margin-top: .55rem; color: #e3cfde; font-size: .875rem; }
.grade-coaching { display: grid; gap: .75rem; align-content: center; justify-items: start; padding-inline-start: clamp(1.2rem, 3vw, 2.8rem); border-inline-start: 1px solid #886780; }
.grade-coaching:empty, .grade-coaching:not(:has(.grade-summary:not([hidden]), .grade-download:not([hidden]))) { display: none; }
.grade-summary { max-width: 41ch; font-size: clamp(1rem, 2.1vw, 1.25rem); line-height: 1.4; overflow-wrap: anywhere; }
.grade-download { border-color: #936e89; color: #fff5ed; background: #38263d; font-size: .875rem; }
.grade-download:hover:enabled { border-color: var(--amber); background: #49304b; }
.grade-download:focus-visible { outline-color: var(--amber); }
.grade-export-status { margin-top: 0; color: #f2d9e5; }
.debrief-outcome { min-width: 0; }
.debrief-outcome[data-win] h2 { color: var(--green); font: clamp(1.5rem, 3vw, 2.15rem)/1.1 var(--serif); }
.debrief-outcome p { max-width: 44rem; margin-top: .3rem; color: var(--muted); overflow-wrap: anywhere; }
.debrief-header + .status { margin-top: 1.3rem; }
#retry-review { margin-top: .75rem; }
.review-panel { padding: 1.15rem; }
.review-panel p { overflow-wrap: anywhere; white-space: pre-wrap; }
.challenge-ruling { margin-top: 1.15rem; }
.challenge-ruling-header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .22rem .85rem; }
.challenge-ruling-header h2 { overflow-wrap: anywhere; }
#challenge-ruling-status { color: var(--muted); font-size: .9375rem; font-weight: 680; }
.challenge-ruling[data-status='answered'] #challenge-ruling-status { color: var(--green); }
.challenge-ruling[data-status='partial'] #challenge-ruling-status { color: #684720; }
#challenge-ruling-reason { margin-top: .3rem; }
.debrief-feedback { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.15rem; }
.feedback-list { display: grid; gap: 1rem; margin: .55rem 0 0; padding: 0; list-style: none; }
.feedback-list > li + li { padding-top: .85rem; border-top: 1px solid var(--line); }
.feedback-empty { margin-top: .35rem; color: var(--muted); }
.feedback-quote { margin: .3rem 0 0; padding-inline-start: .65rem; border-inline-start: 2px solid #b9cbbd; color: var(--muted); overflow-wrap: anywhere; white-space: pre-wrap; }
.next-moves { display: grid; gap: .6rem; margin-top: .72rem; }
.next-move { padding: .7rem .8rem; border-inline-start: 2px solid #a480ae; border-radius: .12rem .58rem .58rem .12rem; background: #f5edf5; }
.next-move h3 { color: var(--plum); }
.next-move > p { margin-top: .25rem; }
.debrief-fallacies, .debrief-details { margin-top: 1rem; }
.fallacy-list { display: grid; gap: .7rem; margin: .55rem 0 0; padding: 0; list-style: none; }
.fallacy-list li { padding: .75rem .9rem; border-inline-start: 2px solid #bd8e53; border-radius: 0 .55rem .55rem 0; background: var(--warm); }
.fallacy-list h3 { color: #684720; overflow-wrap: anywhere; }
.fallacy-speaker { margin-top: .16rem; color: var(--muted); font-size: .875rem; font-weight: 660; }
.fallacy-list .feedback-quote { margin-block: .14rem .35rem; border-color: #cdb590; }
.debrief-details summary { cursor: pointer; font-weight: 660; }
.grading-note { margin-top: .55rem; color: var(--muted); font-size: .9375rem; }
.debrief-details section { margin-top: .85rem; }
.review-transcript { display: flex; flex-direction: column; gap: .65rem; margin-top: .55rem; }
.sample-answer { margin-top: 1rem; border-inline-start: 3px solid #5b9979; border-radius: 0 .7rem .7rem 0; background: var(--green-pale); }
.sample-answer > p { margin-top: .3rem; }
.sample-materials { margin-top: .85rem; padding-top: .7rem; border-top: 1px solid #b9cbbd; }
.material-list { display: grid; gap: .7rem; margin: .42rem 0 0; padding: 0; list-style: none; }
.next-move .material-list { margin-top: .65rem; padding-top: .52rem; border-top: 1px solid #d7c3d9; }
.sample-source { font-size: .9375rem; font-weight: 650; }
.sample-attribution { color: var(--muted); font-size: .8125rem; }
.sample-excerpt { margin: .22rem 0 0; overflow-wrap: anywhere; white-space: pre-wrap; font-size: .9375rem; }
.sources { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: .65rem 1rem; margin: .65rem 0 0; padding-inline-start: 1.1rem; }
.sources li { overflow-wrap: anywhere; }
.source-note { margin-top: .2rem; color: var(--muted); font-size: .9375rem; }

@media (max-width: 48rem) {
  .shell { width: min(100% - 2.25rem, 44rem); }
  .header-inner { min-height: 3.75rem; }
  .practice-grid, .debrief-feedback { grid-template-columns: minmax(0, 1fr); }
  .practice-grid { grid-template-areas: "tools" "transcript"; }
  .setup-hero { min-height: 19rem; }
  .setup-hero::before { inset-inline-start: 0; }
  .setup-copy h1 { font-size: clamp(3.25rem, 10.55vw, 5rem); }
  .setup-description { max-width: 27ch; }
  .transcript { min-height: 9rem; max-height: min(36vh, 19rem); }
}

@media (max-width: 34rem) {
  .setup-hero { min-height: 0; align-items: start; border-radius: 1rem; }
  .setup-copy { padding: 1.4rem 1.3rem 1.8rem; }
  .setup-hero::before {
    inset: 0;
    background: linear-gradient(90deg, #25192df5, #25192dbb 60%, #25192d80),
      url('/polemix-room.webp') 69% 47% / cover no-repeat;
  }
  .setup-description { max-width: 32ch; }
  .debate-options { grid-template-columns: minmax(0, 1fr); gap: .45rem; margin-top: .55rem; }
  .debate-option { gap: .58rem; padding: .62rem .7rem; }
  .debate-option input { margin-top: .16rem; }
  .setup-toolbar { flex-wrap: wrap; }
  .debrief-grade { grid-template-columns: minmax(0, 1fr); gap: .9rem; }
  .grade-coaching { padding: .85rem 0 0; border: 0; border-top: 1px solid #886780; }
}

@media (max-width: 28rem) {
  .shell { width: calc(100% - 1.5rem); }
  .wordmark { gap: .42rem; font-size: 1.14rem; }
  .wordmark-symbol { flex-basis: 1.69rem; width: 1.69rem; height: 1.69rem; border-radius: .46rem; }
  .header-inner { gap: .5rem; }
  .header-controls { gap: .5rem; }
  .mode { font-size: .8rem; }
  .voice-toggle { padding-inline: .55rem; font-size: .8rem; }
  .voice-toggle .sound-icon { display: none; }
  .round-partner { font-size: .875rem; }
  .round-header, .debrief-header { gap: .6rem; }
  .debrief-header { flex-wrap: wrap; }
  .conversation-controls { padding: .85rem; }
}

@media (prefers-reduced-motion: reduce) {
  .button, .debate-option { transition: none; }
  [data-audio-state] .audio-meter i { animation: none; }
}
