.movement-feature-copy .text-link{display:inline-block;margin-left:.2em;white-space:normal}.movement-feature-copy{flex:1 1 0;min-width:0}.ready-controls{flex-wrap:wrap;gap:8px 16px;line-height:1.45;margin-bottom:14px}.ready-mouse-row{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:4px 13px;margin:8px auto 16px;color:#d5d9de;font-size:13px;line-height:1.5}.ready-mouse-edit{border:0;background:transparent;padding:4px 0;color:#ffd093;font-family:inherit;font-size:13px;font-weight:600;text-decoration:underline;text-underline-offset:3px;cursor:pointer}.ready-mouse-edit:focus-visible{outline:2px solid #ffd093;outline-offset:4px}.hud-left .hud-input{font-size:11px;line-height:1.2;letter-spacing:0;color:#ded5c5}.result-mouse-actions{margin-top:10px}.game-overlay>.ready-content,.game-overlay>.pause-content,.game-overlay>.results-content{margin:auto}.pause-option{min-height:40px}.pause-caption:empty{display:none}
@media(max-width:840px){.scenario-toolbar{flex-wrap:wrap;gap:12px}.scenario-utilities{flex-wrap:wrap}.ready-controls{gap:5px 12px}}
@media(max-height:640px){.ready-screen,.pause-screen,.results-screen{align-items:flex-start;padding-block:14px}.pause-menu{margin-top:14px;gap:5px}.pause-option{padding:9px 16px}.ready-mouse-row{margin-block:5px 10px}.mouse-lock-note{margin-top:7px}}
.game-shell.reference-view .range-frame{background:#080a0c}.game-shell.reference-view #range-canvas{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(100%,calc(100dvh * 16 / 9));height:min(100%,calc(100vw * 9 / 16))}
.movement-feature-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;flex:0 0 min(48%,480px);width:min(48%,480px)}
.movement-feature-actions button{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;min-width:0;padding:0;gap:0;border:1px solid #64503a;border-radius:5px;overflow:hidden;background:#211e1b;color:#f7e9d7;text-align:left}
.movement-feature-actions button img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;background:#242729}
.movement-feature-actions button span{display:flex;align-items:center;flex:1;min-height:34px;padding:7px 6px;font-size:13px;line-height:1.28;font-weight:650;color:inherit}
.movement-feature-actions button:focus-visible{outline:2px solid #ffd18d;outline-offset:3px}
@media(max-width:1100px){.movement-feature-copy,.movement-feature-actions{flex:0 1 auto}.movement-feature-actions{width:100%;max-width:565px}}
@media(max-width:560px){.movement-feature-actions{grid-template-columns:1fr;gap:6px}.movement-feature-actions button{flex-direction:row;align-items:center;min-height:44px}.movement-feature-actions button img{align-self:stretch;width:78px;height:44px;flex:none}.movement-feature-actions button span{min-height:0;padding:6px 12px;font-size:14px}}
@media(max-width:340px){.movement-feature-actions button img{width:66px}.movement-feature-actions button span{padding-inline:9px}}

.relay-feature {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  align-items: center;
  gap: 20px;
  margin: 0 0 16px;
  padding: 12px 18px 12px 12px;
  border: 1px solid #465552;
  border-radius: 8px;
  background: #1b2222;
}
.relay-feature img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 4px;
}
.relay-feature .relay-kicker {
  margin: 0 0 4px;
  color: #b4d7cf;
  font-size: 12px;
  font-weight: 650;
}
.relay-feature h2 {
  margin: 0;
  color: #f1f0e9;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -.025em;
}
.relay-feature h2 + p { margin: 5px 0 0; color: #bcc5c1; font-size: 14px; line-height: 1.5; }
.relay-feature .button { min-height: 44px; white-space: nowrap; }
.relay-feature .button:focus-visible { outline: 2px solid #f4eee6; outline-offset: 4px; }
.game-shell[data-scenario="sixpoint-relay"] .game-hud {
  inset: 12px auto auto 50%;
  transform: translateX(-50%);
  display: flex;
  width: max-content;
  gap: 18px;
  align-items: center;
  padding: 7px 15px;
  border: 1px solid #e6ecd92e;
  border-radius: 5px;
  background: #172029ee;
  text-shadow: none;
}
.game-shell[data-scenario="sixpoint-relay"] .hud-right { align-items: center; gap: 18px; }
.game-shell[data-scenario="sixpoint-relay"] :is(.hud-left, .crosshair i, .hit-marker, .game-shade) { display: none; }
.game-shell[data-scenario="sixpoint-relay"] :is(.hud-timer, .hud-stat) { min-width: 55px; text-align: center; }
.game-shell[data-scenario="sixpoint-relay"] :is(.hud-timer, .hud-stat) > span { color: #cbd3d2; letter-spacing: 0; font-size: 11px; }
.game-shell[data-scenario="sixpoint-relay"] :is(.hud-timer, .hud-stat) > strong { font-size: 18px; letter-spacing: -.03em; line-height: 1.25; }
.game-shell[data-scenario="sixpoint-relay"] .crosshair { filter: none; }
.game-shell[data-scenario="sixpoint-relay"] .crosshair > span { box-shadow: 0 0 0 1px #162026c9; }
.game-shell[data-scenario="sixpoint-relay"] #hud-counter {
  padding: 5px 9px;
  border-radius: 4px;
  background: #172029e8;
  color: #e3eae5;
}
@media (max-width: 700px) {
  .relay-feature { grid-template-columns: 84px 1fr; gap: 10px 14px; padding: 13px; }
  .relay-feature h2 { font-size: 20px; }
  .relay-feature .button { grid-column: 1/-1; justify-self: stretch; }
}
@media (max-width: 360px) {
  .relay-feature { grid-template-columns: 62px 1fr; gap: 10px; }
}

.results-screen {
  display: grid;
  justify-items: center;
  align-items: safe center;
  grid-template-columns: minmax(0, 1fr);
  scrollbar-gutter: stable both-edges;
  padding-inline: clamp(14px, 4vw, 24px);
}
.game-overlay > .results-content {
  width: min(620px, 100%);
  min-width: 0;
  margin: 0;
}
.results-content .result-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}
.results-content .result-stats > div {
  padding-inline: 6px;
  overflow-wrap: anywhere;
}
.results-content .result-actions {
  width: min(100%, 510px);
  margin-inline: auto;
  gap: 10px;
}
.results-content .result-actions > .button {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 1 116px;
  min-width: 0;
  min-height: 46px;
  padding: 9px 8px;
  white-space: normal;
  text-align: center;
  text-wrap: balance;
}
@media (min-width: 601px) {
  .results-content .result-actions:not(:has(> .button:nth-child(4 of :not([hidden])))) > .button {
    flex-basis: 148px;
  }
}
@media (max-width: 360px) {
  .results-content .result-actions > .button {
    flex-basis: min(116px, calc((100% - 10px) / 2));
  }
}
@media (361px <= width <= 600px) {
  .results-content .result-actions > .button {
    flex-basis: min(116px, calc((100% - 20px) / 3));
  }
}

.ready-coach-focus{max-width:42ch;margin:12px auto 0;padding:9px 12px;border:1px solid #756041;border-radius:8px;background:#26221e;color:#f5efe5;text-align:start;line-height:1.45}.ready-coach-focus strong{font-size:.84rem;color:#ffd298}.ready-coach-focus p{margin:3px 0 0;font-size:.9rem}.ready-coach-focus[hidden]{display:none}

.result-recording{display:flex;justify-content:center;flex-wrap:wrap;gap:8px}
.result-recording .lab-button{color:#efeee9;background:#23252a;border:1px solid #4a4a52;border-radius:6px;padding:.65rem;cursor:pointer}
#recording-practice{color:#fba38e}
#recording-status:empty{display:none}

.ready-screen .ready-content{width:min(100%,920px);text-align:start}
.ready-nav{display:flex;align-items:center;justify-content:space-between;gap:10px 16px;flex-wrap:wrap;margin-bottom:12px}
.ready-nav .ready-score-links{display:flex;gap:8px;flex-wrap:wrap;margin:0}
.ready-nav-button,.ready-score-links a{display:inline-flex;align-items:center;gap:8px;min-height:36px;padding:6px 11px;background:#151a21;border:1px solid #414750;border-radius:6px;color:#ecebe7;font-size:.85rem;font-weight:650;text-decoration:none}
.ready-nav-button[hidden]{display:none}
.ready-nav-button .icon{width:17px;height:17px}
.ready-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(14rem,17rem);gap:12px;align-items:start}
.ready-stage,.ready-tools{min-width:0;border:1px solid #45454a;border-radius:12px;background:#171a20f2;padding:clamp(16px,3vw,30px)}
.ready-stage{text-align:center}
.ready-stage>.eyebrow{margin:0 0 10px}
.ready-stage .ready-environment{margin-block:10px}
.ready-stage #ready-description{max-width:45ch;margin:14px auto 0;line-height:1.55;font-size:.95rem;color:#e1e2e6}
.ready-stage #start-game{display:flex;width:min(100%,280px);justify-content:center;margin:22px auto 0}
.ready-stage #start-error:empty{display:none}
.ready-tools{display:grid;gap:10px;padding:16px}
.ready-tools h3{margin:0;font-size:.95rem}
.ready-tool{display:grid;grid-template-columns:20px minmax(0,1fr);align-items:center;gap:8px;width:100%;min-height:48px;text-align:start;padding:9px 10px;color:#fff5e8;border:1px solid #5b5a60;border-radius:6px;background:#282b32;font-weight:700}
.ready-tool .icon{width:18px;height:18px;color:#ffd093}
.ready-tool small{display:block;color:#c3c6ce;font-size:.76rem;font-weight:500;overflow-wrap:anywhere}
.ready-record-dot{width:10px;height:10px;margin:auto;border-radius:50%;background:#f47e74}
.ready-tool[aria-pressed=true]{border-color:#f47e74;background:#3e282b}
.ready-tool:disabled{opacity:.6;cursor:default}
.ready-tool:not(:disabled):hover,.ready-nav-button:hover,.ready-score-links a:hover{border-color:#f7bd73}
.ready-tools details{color:#d8dbe2;border-top:1px solid #393c45;padding-top:8px;font-size:.83rem}
.ready-tools summary{color:#f6eee3;font-weight:650;cursor:pointer}
.ready-tools .fn-rank-opt,.ready-tools #ready-controls{display:block;text-align:start;margin:7px 0 0;font-size:.82rem;line-height:1.45}
.ready-tools .fn-rank-opt[hidden]{display:none}
.ready-keys{display:flex;flex-wrap:wrap;gap:6px 10px;margin-top:8px}
.ready-keys kbd{border:1px solid #535761;padding:1px 4px;border-radius:3px;color:#fff5e8}
@media(max-width:720px){.ready-grid{grid-template-columns:minmax(0,1fr)}.ready-stage #start-game{margin-top:16px}}

.scenario-skill{display:inline-flex;align-items:center;gap:8px;font-size:.875rem;color:#d6d6d2}
.scenario-skill select{min-height:38px;padding:5px 8px;background:#191b1e;border:1px solid #414750;border-radius:6px;color:#f1f0e9}
#no-scenario-matches{margin:18px 0;color:#bfc4cb}

.recorded-round-preview{display:block;width:100%;max-width:52rem;max-height:55vh;object-fit:contain;background:#101113;border-radius:6px}

.ready-sensitivity{display:grid;grid-template-columns:minmax(0,1fr) minmax(5.5rem,7.5rem);align-items:center;text-align:start;gap:5px 12px;width:min(100%,24rem);margin:8px auto 14px;padding:10px 12px;border:1px solid #49464a;border-radius:7px;background:#111319;color:#f6efe6}
.ready-sensitivity[hidden]{display:none}.ready-sensitivity label{font-size:.86rem;font-weight:650}.ready-sensitivity input{min-width:0;width:100%;min-height:36px;padding:4px 8px;border:1px solid #66616a;border-radius:4px;background:#23242c;color:#fff4e6;font:inherit;font-variant-numeric:tabular-nums}.ready-sensitivity small{grid-column:1/-1;color:#bfc1ca;font-size:.76rem;line-height:1.35}
