:root {
  color-scheme: light;
  --paper: #f6f1e8;
  --paper-deep: #ebe3d4;
  --ink: #172724;
  --ink-soft: #42524d;
  --line: #c9c9b7;
  --acid: #e3ee72;
  --coral: #e86b4d;
  --blue: #a7ced0;
  --green: #b9d4ab;
  --body-font: "Avenir Next", "Trebuchet MS", sans-serif;
  --display-font: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body-font);
  font-size: 16px;
  line-height: 1.5;
}

button,
input {
  font: inherit;
}

button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid #c14d31;
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.topbar {
  min-height: 74px;
  padding: 0 clamp(20px, 5vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.045em;
}

.brand-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: var(--paper);
  background: var(--ink);
  border-radius: 50% 50% 50% 7px;
  font-family: var(--display-font);
  font-size: 19px;
  font-weight: 700;
}

.mode-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mode-link {
  padding: 9px 15px;
  border-radius: 999px;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition: background-color 140ms ease, color 140ms ease;
}

.mode-link:hover {
  background: rgba(23, 39, 36, 0.08);
}

.mode-link.is-active {
  color: var(--paper);
  background: var(--ink);
}

.page {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.hero {
  min-height: 287px;
  padding: 56px 0 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.live-dot {
  width: 8px;
  height: 8px;
  margin: 0 7px 1px 0;
  display: inline-block;
  background: #c94e34;
  border-radius: 50%;
  vertical-align: middle;
}

.hero h1 {
  margin: 0;
  font-family: var(--display-font);
  font-size: clamp(44px, 6.1vw, 76px);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.97;
}

.hero-deck {
  max-width: 570px;
  margin: 19px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.55;
}

.hero-stamp {
  width: 152px;
  height: 152px;
  margin: 12px 33px 0 30px;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  transform: rotate(9deg);
}

.stamp-top,
.stamp-bottom {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.stamp-glyph {
  margin: -1px 0 -7px;
  color: var(--coral);
  font-size: 65px;
  font-weight: 300;
  line-height: 1.1;
}

.start-strip {
  min-height: 150px;
  padding: 28px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--acid);
}

.start-strip .eyebrow {
  margin-bottom: 6px;
}

.start-strip h2,
.workbench-heading h2 {
  margin: 0;
  font-family: var(--display-font);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.1;
}

.start-strip p:last-child {
  max-width: 570px;
  margin: 8px 0 0;
  color: #37453b;
  font-size: 14px;
}

.button {
  min-height: 44px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 3px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 140ms ease, background-color 140ms ease, border-color 140ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(0);
}

.button-dark {
  color: #fffef7;
  background: var(--ink);
}

.button-dark:hover {
  background: #293d38;
}

.button-large {
  min-width: 174px;
  min-height: 54px;
  font-size: 15px;
}

.button-light {
  min-height: 38px;
  border-color: #a4aa98;
  color: var(--ink);
  background: #fffdf6;
}

.button-light:hover {
  background: var(--paper);
}

.button-outline {
  border-color: #9da89e;
  color: var(--ink);
  background: transparent;
}

.button-outline:hover {
  background: rgba(23, 39, 36, 0.06);
}

.button-wide {
  width: 100%;
}

.workbench {
  margin-top: 27px;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.78fr);
  border: 1px solid var(--line);
  background: #fffdf7;
  animation: enter 240ms ease both;
}

.coach-work {
  min-width: 0;
  padding: 28px 30px 30px;
}

.workbench-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.workbench-heading .eyebrow {
  margin-bottom: 7px;
}

.connection-status {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.connection-status.is-live .live-dot {
  background: #308b5c;
}

.connection-status.is-error {
  color: #a63c2a;
}

.connection-status.is-error .live-dot {
  background: #c94e34;
}

.room-band {
  min-height: 84px;
  margin-top: 23px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--paper);
  border-left: 4px solid var(--coral);
}

.room-number-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.micro-label {
  color: #67736c;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.17em;
}

.room-code {
  margin-top: 1px;
  font-family: var(--display-font);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.1;
}

.room-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.cue-section {
  margin-top: 27px;
}

.section-heading,
.preview-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 15px;
}

.section-heading .eyebrow,
.preview-head .eyebrow {
  margin-bottom: 4px;
}

.section-heading h3 {
  margin: 0;
  font-family: var(--display-font);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.035em;
}

.soft-note {
  margin-bottom: 2px;
  color: #69766e;
  font-size: 11px;
}

.cue-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.cue-button {
  min-height: 60px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid rgba(23, 39, 36, 0.19);
  border-radius: 3px;
  cursor: pointer;
  text-align: left;
  font-size: 13px;
  font-weight: 800;
  transition: transform 130ms ease, filter 130ms ease;
}

.cue-button:hover {
  filter: saturate(1.1);
  transform: translateY(-2px);
}

.cue-button:disabled,
.button:disabled {
  cursor: wait;
  opacity: 0.6;
  transform: none;
}

.cue-yellow { background: #e8eb9a; }
.cue-blue { background: #c7e0df; }
.cue-green { background: #d4e3c1; }
.cue-red { background: #f0c4b6; }

.cue-symbol {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(23, 39, 36, 0.35);
  border-radius: 50%;
  font-size: 17px;
  font-weight: 700;
}

.custom-cue-form {
  margin-top: 22px;
}

.custom-cue-form label,
.join-form label {
  display: block;
  margin-bottom: 7px;
  font-size: 12px;
  font-weight: 800;
}

.custom-cue-row,
.join-row {
  display: flex;
  gap: 8px;
}

.custom-cue-row input,
.join-row input {
  min-width: 0;
  min-height: 46px;
  padding: 0 13px;
  flex: 1 1 auto;
  border: 1px solid #9ea99f;
  border-radius: 3px;
  color: var(--ink);
  background: #fff;
  font-size: 14px;
}

.custom-cue-row input::placeholder,
.join-row input::placeholder {
  color: #758078;
}

.field-hint {
  margin: 7px 0 0;
  color: #657169;
  font-size: 11px;
}

.message-line {
  min-height: 20px;
  margin: 8px 0 0;
  color: #345c43;
  font-size: 12px;
  font-weight: 700;
}

.message-line.is-error {
  color: #a63c2a;
}

.preview-column {
  min-width: 0;
  padding: 23px 22px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  border-left: 1px solid var(--line);
  background: #f0eee4;
}

.preview-head {
  align-items: center;
  min-height: 23px;
}

.text-link {
  color: #34554c;
  font-size: 11px;
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.preview-column iframe {
  width: 100%;
  height: 354px;
  margin-top: 11px;
  border: 1px solid #57615a;
  border-radius: 2px;
  background: #172724;
}

.preview-caption {
  margin: 7px 0 16px;
  color: #667269;
  font-size: 10px;
  line-height: 1.4;
}

.delivery-note {
  margin-top: auto;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.note-mark {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--acid);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 900;
}

.delivery-note p {
  margin: 0;
  color: #5b685f;
  font-size: 11px;
}

.delivery-note strong {
  color: var(--ink);
}

.principle-row {
  padding: 27px 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}

.principle-row > div {
  padding: 0 24px;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  border-right: 1px solid var(--line);
}

.principle-row > div:first-child {
  padding-left: 0;
}

.principle-row > div:last-child {
  padding-right: 0;
  border: 0;
}

.principle-index {
  color: #b84c34;
  font-family: var(--display-font);
  font-size: 20px;
  line-height: 1;
}

.principle-row p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.5;
}

.principle-row strong {
  color: var(--ink);
  font-size: 12px;
}

.site-footer {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #69746d;
  font-size: 10px;
}

/* Athlete display */
.topbar-dark {
  color: #eef1dd;
  background: #162322;
  border-color: #33443f;
}

.brand-light {
  color: #eef1dd;
}

.brand-light .brand-mark {
  color: #172724;
  background: var(--acid);
}

.topbar-dark .mode-link {
  color: #c1cdc1;
}

.topbar-dark .mode-link:hover {
  background: rgba(255, 255, 255, 0.1);
}

.topbar-dark .mode-link.is-active {
  color: #172724;
  background: var(--acid);
}

.athlete-page {
  min-height: calc(100vh - 74px);
  padding: clamp(22px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  color: #eef1dd;
  background: #162322;
}

.join-panel {
  width: min(900px, 100%);
  margin: auto;
  padding: clamp(25px, 5vw, 58px);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: clamp(28px, 6vw, 90px);
  border: 1px solid #40514a;
  background:
    radial-gradient(ellipse at 5% 110%, rgba(227, 238, 114, 0.1), transparent 40%),
    #1c2c28;
  animation: enter 250ms ease both;
}

.eyebrow-bright {
  color: #d7e37c;
}

.eyebrow-bright .live-dot,
.display-pulse .live-dot {
  background: var(--acid);
}

.join-copy h1 {
  margin: 0;
  font-family: var(--display-font);
  font-size: clamp(42px, 6vw, 68px);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 1;
}

.join-copy > p:last-child {
  max-width: 390px;
  margin: 17px 0 0;
  color: #bdc9bb;
  font-size: 15px;
}

.join-form {
  padding-top: 8px;
}

.join-form label {
  color: #dbe3ce;
}

.join-row input {
  min-height: 52px;
  color: #172724;
  font-family: var(--display-font);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.button-bright {
  min-width: 86px;
  color: #172724;
  background: var(--acid);
}

.button-bright:hover {
  background: #ebf49b;
}

.join-form .message-line {
  color: #d6e183;
}

.join-form .message-line.is-error {
  color: #ffb5a0;
}

.display-panel {
  min-height: min(740px, calc(100vh - 166px));
  padding: clamp(13px, 2vw, 24px);
  display: flex;
  flex-direction: column;
  border: 1px solid #40514a;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(83, 113, 97, 0.14), transparent 54%),
    #1b2a27;
  transition: background-color 160ms ease;
  animation: enter 180ms ease both;
}

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

.display-session {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.display-pulse {
  color: #d7e37c;
}

.display-pulse.is-ended {
  color: var(--muted);
}

.display-room {
  color: #abb9ad;
}

.display-tools {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.display-tool {
  min-width: 44px;
  min-height: 44px;
  padding: 0 10px;
  border: 1px solid #687a70;
  border-radius: 2px;
  color: #eff2e4;
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
}

.display-tool:hover,
.display-tool[aria-pressed="true"] {
  color: #172724;
  background: var(--acid);
  border-color: var(--acid);
}

.cue-region {
  position: relative;
  min-height: 350px;
  margin: clamp(22px, 6vh, 58px) 0;
  flex: 1 1 auto;
  display: flex;
}

.cue-stage {
  min-height: 350px;
  padding: clamp(24px, 5vw, 58px);
  flex: 1 1 auto;
  display: grid;
  place-items: center;
  color: #172724;
  background: var(--acid);
  border-radius: 2px;
  text-align: center;
  transition: background-color 160ms ease, color 160ms ease;
}

.cue-stage.is-stale {
  opacity: 0.16;
  filter: grayscale(1);
}

.connection-warning {
  position: absolute;
  z-index: 2;
  inset: 0;
  padding: clamp(22px, 4vw, 48px);
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 14px;
  color: #fff;
  background: rgba(135, 43, 29, 0.96);
  border: 3px solid #fff;
  text-align: center;
}

.connection-warning span {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.connection-warning strong {
  max-width: 720px;
  font-family: var(--display-font);
  font-size: clamp(23px, 4vw, 40px);
  line-height: 1.08;
}

.empty-cue {
  max-width: 620px;
}

.empty-symbol {
  display: block;
  margin-bottom: 6px;
  font-family: var(--display-font);
  font-size: 35px;
  line-height: 1;
}

.eyebrow-muted {
  margin-bottom: 12px;
  color: #435044;
}

.empty-cue h1 {
  margin: 0;
  font-family: var(--display-font);
  font-size: clamp(42px, 8vw, 84px);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.ended-cue h1 {
  font-size: clamp(34px, 6vw, 64px);
  line-height: 1;
}

.empty-cue > p:last-child {
  max-width: 420px;
  margin: 17px auto 0;
  color: #33433a;
  font-size: 14px;
}

.cue-live {
  width: min(100%, 920px);
}

.cue-kicker {
  margin: 0 0 11px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.cue-copy {
  margin: 0;
  font-family: var(--display-font);
  font-size: var(--cue-size, clamp(42px, 8.5vw, 96px));
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.95;
  overflow-wrap: anywhere;
}

.cue-timestamp {
  margin: 20px 0 0;
  color: #33433a;
  font-size: 12px;
  font-weight: 700;
}

.cue-stage.is-pause {
  color: #fff9ed;
  background: #b74830;
}

.cue-stage.is-pause .cue-timestamp {
  color: #f9d8cc;
}

.cue-stage.is-contrast {
  color: #fff;
  background: #050606;
  border: 2px solid #fff;
}

.cue-stage.is-contrast .cue-timestamp {
  color: #e4e4e4;
}

.display-bottom {
  min-height: 28px;
  color: #aeb9ae;
  font-size: 10px;
}

.display-separator {
  margin: 0 5px;
  color: #d7e37c;
}

.display-message {
  min-height: 0;
  margin: 0;
  color: #d7e37c;
}

.display-message.is-error {
  color: #ffb5a0;
}

.response-tools {
  margin: 18px 0 10px;
  padding: 18px;
  border: 1px solid var(--line, #cbd0c2);
  border-radius: 18px;
  background: var(--cream, #fcfaf4);
}
.response-tools h2 { margin: 0 0 4px; font-size: 1.15rem; }
.response-tools > p { margin: 0 0 12px; color: var(--muted, #64716a); }
.response-choices { display: flex; flex-wrap: wrap; gap: 9px; }
.response-choice {
  min-height: 48px; padding: 10px 16px; border: 1px solid var(--ink, #1d312b);
  border-radius: 999px; background: white; color: var(--ink, #1d312b); font: inherit; font-weight: 700;
}
.response-choice:not(:disabled) { cursor: pointer; }
.response-choice:disabled { opacity: .55; }
.reply-status { min-height: 1.4em; margin: 12px 0 0; font-weight: 700; }
.participant-replies { margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--line, #cbd0c2); }
.reply-list { display: grid; gap: 8px; }
.participant-reply-row { display: flex; align-items: center; gap: 12px; padding: 10px; background: var(--cream, #fcfaf4); border: 1px solid var(--line, #cbd0c2); border-radius: 12px; }
.participant-reply-row strong { flex: 1; }
.participant-reply-row span { color: var(--muted, #64716a); font-size: .85rem; }
.participant-reply-row .button { min-height: 44px; }

@media (max-width: 640px) {
  .response-choices { display: grid; grid-template-columns: 1fr; }
  .response-choice { width: 100%; }
  .participant-reply-row { flex-wrap: wrap; }
  .participant-reply-row .button { width: 100%; }
}

.athlete-footer {
  margin-top: auto;
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #9ba99f;
  font-size: 10px;
}

.athlete-footer a {
  color: #dce68c;
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.contrast-mode .display-panel {
  background: #000;
  border-color: #fff;
}

.contrast-mode .cue-stage {
  color: #fff;
  background: #000;
  border: 2px solid #fff;
}

.contrast-mode .cue-stage.is-pause {
  color: #fff;
  background: #000;
  outline: 5px solid #ff624b;
  outline-offset: -9px;
}

.contrast-mode .cue-timestamp {
  color: #eee;
}

.contrast-mode .eyebrow-muted {
  color: #eee;
}

.contrast-mode .empty-cue > p:last-child {
  color: #eee;
}

.contrast-mode .display-tool {
  border-color: #fff;
}

.contrast-mode .display-tool:hover,
.contrast-mode .display-tool[aria-pressed="true"] {
  color: #000;
  background: #fff;
}

body.embedded-mode .topbar,
body.embedded-mode .athlete-footer {
  display: none;
}

body.embedded-mode .athlete-page {
  min-height: 0;
  padding: 0;
}

body.embedded-mode .display-panel {
  min-height: 0;
  height: 100%;
  padding: 10px;
  border: 0;
}

body.embedded-mode .display-top {
  align-items: center;
  gap: 6px;
}

body.embedded-mode .display-session {
  gap: 7px;
  font-size: 8px;
}

body.embedded-mode .display-tools {
  gap: 3px;
}

body.embedded-mode .display-tool {
  min-width: 35px;
  min-height: 35px;
  padding: 0 5px;
  font-size: 8px;
}

body.embedded-mode .cue-stage {
  min-height: 0;
  height: 100%;
  padding: 10px;
}

body.embedded-mode .cue-region {
  min-height: 0;
  height: 225px;
  margin: 10px 0;
  flex: none;
}

body.embedded-mode .connection-warning {
  padding: 8px;
  gap: 6px;
}

body.embedded-mode .connection-warning span {
  font-size: 7px;
}

body.embedded-mode .connection-warning strong {
  font-size: 15px;
}

body.embedded-mode .empty-cue h1 {
  font-size: clamp(30px, 8vw, 39px);
}

body.embedded-mode .empty-cue > p:last-child {
  max-width: 280px;
  margin-top: 8px;
  font-size: 9px;
}

body.embedded-mode .empty-symbol {
  font-size: 23px;
}

body.embedded-mode .eyebrow-muted {
  margin-bottom: 7px;
  font-size: 8px;
}

body.embedded-mode .cue-kicker {
  margin-bottom: 5px;
  font-size: 8px;
}

body.embedded-mode .cue-copy {
  font-size: clamp(28px, 7vw, 42px);
  line-height: 1;
}

body.embedded-mode .cue-timestamp {
  margin-top: 8px;
  font-size: 9px;
}

body.embedded-mode .display-bottom,
body.embedded-mode .display-message {
  display: none;
}

@keyframes enter {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 840px) {
  .workbench {
    grid-template-columns: 1fr;
  }

  .preview-column {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .preview-column iframe {
    height: 390px;
  }

  .delivery-note {
    margin-top: 0;
  }
}

@media (max-width: 600px) {
  .topbar {
    min-height: 63px;
    padding: 0 16px;
  }

  .page {
    width: min(100% - 32px, 540px);
  }

  .hero {
    min-height: 255px;
    padding: 39px 0 31px;
  }

  .hero h1 {
    font-size: clamp(39px, 12vw, 58px);
  }

  .hero-deck {
    max-width: 400px;
    font-size: 15px;
  }

  .hero-stamp {
    width: 84px;
    height: 84px;
    margin: 54px 0 0 10px;
  }

  .stamp-top,
  .stamp-bottom {
    font-size: 6px;
  }

  .stamp-glyph {
    margin: -4px 0 -5px;
    font-size: 38px;
  }

  .start-strip {
    min-height: unset;
    padding: 23px 19px;
    align-items: flex-start;
    flex-direction: column;
  }

  .start-strip h2 {
    font-size: 28px;
  }

  .button-large {
    width: 100%;
  }

  .coach-work {
    padding: 22px 18px 24px;
  }

  .workbench-heading {
    flex-direction: column;
    gap: 8px;
  }

  .workbench-heading h2 {
    font-size: 29px;
  }

  .room-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .room-actions {
    justify-content: flex-start;
  }

  .cue-grid {
    gap: 7px;
  }

  .cue-button {
    min-height: 67px;
    padding: 8px;
    gap: 8px;
    font-size: 12px;
  }

  .cue-symbol {
    width: 27px;
    height: 27px;
    flex: 0 0 auto;
  }

  .custom-cue-row {
    flex-direction: column;
  }

  .principle-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .principle-row > div,
  .principle-row > div:first-child,
  .principle-row > div:last-child {
    padding: 0;
    border: 0;
  }

  .site-footer {
    padding: 12px 0 20px;
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .join-panel {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .display-panel {
    min-height: calc(100vh - 146px);
    padding: 12px;
  }

  .display-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .display-tools {
    justify-content: flex-start;
  }

  .cue-stage {
    min-height: 360px;
    padding: 23px 15px;
  }

  .cue-region {
    min-height: 360px;
    margin: 22px 0;
  }

  .display-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .athlete-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
