/* CHECK OUT TRAINING: Base controls, gameplay, rotation, scores, history, route and round animation. */
* { box-sizing: border-box; }
body { margin: 0px; min-height: 100vh; font-weight: 400; }
h1, h2, h3, strong, b { font-weight: inherit; }

input { font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; font-language-override: inherit; }
select { font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; font-language-override: inherit; }
button { font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; font-language-override: inherit; -webkit-tap-highlight-color: transparent; }
.app { margin: 0px auto; }
.btn { min-height: 44px; padding: 9px 10px; font-size: 11px; font-weight: 400; cursor: pointer; transition: filter 100ms, transform 100ms; }
.btn:hover { filter: brightness(1.2); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: rgba(255, 201, 40, 0.45) solid 3px; outline-offset: 2px; }
.btn:disabled { opacity: 0.35; cursor: not-allowed; }
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  ::before { transition: none !important; }
  ::after { transition: none !important; }
}
.score-menu { font-size: 10px; font-weight: 400; letter-spacing: 0.1em; }
.match-leg-title { font-size: 8px; font-weight: 400; letter-spacing: 0.04em; line-height: 1.25; white-space: nowrap; }
.score-player { position: relative; min-width: 0px; border-right-width: 1px; border-right-style: solid; padding: 10px 12px 9px; }
.score-player:last-child { border-right: 0px; }
.score-player.player-one { border-right: 0px; }
.score-player-name { overflow: hidden; font-size: clamp(14px, 2.5vw, 20px); font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }
.score-values { display: grid; grid-template-columns: 0.7fr 1fr; gap: 8px; margin-top: 7px; }
.score-value { min-width: 0px; text-align: right; }
.score-value span { display: block; font-size: 8px; font-weight: 400; letter-spacing: 0.1em; }
.score-value strong { display: block; overflow: hidden; font-size: clamp(25px, 6vw, 42px); text-overflow: ellipsis; white-space: nowrap; }
.score-sheet-wrap { scrollbar-color: rgb(114, 48, 29) transparent; }
@media (max-width: 540px) {
  .score-player { padding-inline: 8px; }
  .score-values { gap: 4px; }
}
:root { color-scheme: light; }
.score-menu { padding: 9px 12px; }
.score-player { opacity: 0.72; }
.score-player.active { opacity: 1; }
.score-player-name { color: rgb(21, 60, 79); }
.match-leg-title { color: rgb(100, 131, 145); }
.score-value span { color: rgb(118, 144, 157); }
.score-value.to-go strong { color: rgb(20, 63, 82); }
.btn { border-width: 1px; border-style: solid; border-image: none; }
.btn.danger { color: rgb(188, 62, 73); }
@media (max-width: 920px) {
  .compact-game { display: flex; flex-direction: column; }
  .compact-game > .scoreboard { order: 1; }
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0px, 0px, 0px, 0px); white-space: nowrap; }
@keyframes cursorBlink { 
  50% { opacity: 0; }
}
.score-sheet-wrap { overscroll-behavior: contain; }
@media (max-width: 540px) {
  .score-menu { font-size: 8px; }
  .match-leg-title { font-size: 6px; letter-spacing: 0px; }
  .compact-game { height: calc(100dvh - 60px); min-height: 0px; grid-template-rows: auto auto; align-content: start; }
}
.score-sheet-wrap { overflow-y: auto; }
.score-player.player-one .score-values { grid-template-columns: minmax(0px, 1fr) minmax(72px, 0.45fr); }
.score-player.player-two .score-values { grid-template-columns: minmax(72px, 0.45fr) minmax(0px, 1fr); }
.score-value.to-go strong { overflow: visible; text-overflow: clip; }
@media (max-width: 540px) {
  .score-head-grid { grid-template-columns: minmax(0px, 1fr) 92px minmax(0px, 1fr); }
  .score-player.player-one .score-values { grid-template-columns: 1fr; gap: 2px; }

  .score-player.player-two .score-values { gap: 2px; grid-template-columns: 1fr; }
  .score-player.player-one .score-value { text-align: center; }
  .score-player.player-two .score-value { text-align: center; }
  .score-player.player-two .score-values .score-value:first-child { order: 2; }
  .score-player.player-two .score-values .score-value.to-go { order: 1; }
  .score-value.to-go strong { white-space: nowrap; }
  .score-value strong { font-size: 20px; }
}
.score-player.player-one .score-values { display: block; margin-top: 3px; }
.score-player.player-two .score-values { display: block; margin-top: 3px; }
.score-player.player-one .score-value { text-align: center; }
.score-player.player-two .score-value { text-align: center; }
.score-value.to-go span { line-height: 1; }
@media (max-width: 540px) {
  .score-player-name { font-size: 12px; }
}
.score-sheet-wrap { height: 236px; max-height: 236px; }
@media (max-width: 540px) {
  .score-sheet-wrap { height: 214px; max-height: 214px; }
}
.score-value strong { font-weight: 400; line-height: 1; letter-spacing: normal; }
.score-value.to-go strong { font-size: clamp(76px, 18vw, 132px); line-height: 1; letter-spacing: normal; white-space: nowrap; }
@media (max-width: 540px) {
  .score-value.to-go strong { font-size: clamp(56px, 21vw, 88px); line-height: 1; letter-spacing: normal; }
}
#playerName0 { font-weight: 950; }
#playerName1 { font-weight: 950; }
.score-value.to-go span { font-weight: 400; }
.scoreboard { border-radius: 0px; }
.btn { border-radius: 0px; }
.score-value.to-go strong { font-weight: 600; }
@keyframes comThrowIn { 
  0% { opacity: 0; transform: translateY(8px) scale(0.98); }
  100% { opacity: 1; transform: translateY(0px) scale(1); }
}
.score-menu { align-items: center; justify-content: space-between; min-width: 0px; }
#gameRule { min-width: 0px; flex: 1 1 0%; overflow: hidden; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 620px) {
  .score-menu { gap: 4px; padding-inline: 5px; }
  #gameRule { font-size: 7px; }
}

body { color: rgb(234, 244, 252); }
body::before { display: none; }
.score-player { color: rgb(234, 244, 252); background: rgb(71, 74, 77); border-color: rgb(234, 244, 252); box-shadow: none; }
input { color: rgb(234, 244, 252); background: rgb(71, 74, 77); border-color: rgb(234, 244, 252); box-shadow: none; }
select { color: rgb(234, 244, 252); background: rgb(71, 74, 77); border-color: rgb(234, 244, 252); box-shadow: none; }
.btn { color: rgb(234, 244, 252); background: rgb(71, 74, 77); border-color: rgb(234, 244, 252); box-shadow: none; }
.btn.primary { color: rgb(56, 60, 60); background: rgb(195, 216, 37); border-color: rgb(195, 216, 37); box-shadow: none; }

.score-value strong { color: rgb(195, 216, 37); text-shadow: none; }
#gameRule { color: rgb(234, 244, 252); }
.score-player.active { color: rgb(56, 60, 60); border-color: rgb(195, 216, 37); box-shadow: none; background: rgb(224, 235, 175); }
#newGameBtn { color: rgb(234, 244, 252); }
.scoreboard { color: rgb(23, 37, 44); box-shadow: none; }

.score-menu { color: rgb(23, 37, 44); background: rgb(255, 255, 255); border-color: rgb(213, 221, 225); box-shadow: none; flex-wrap: wrap; gap: 8px; }
.score-menu #gameRule { color: rgb(82, 99, 107); letter-spacing: 0px; }
.score-menu .btn { color: rgb(23, 37, 44); background: rgb(255, 255, 255); border-color: rgb(199, 209, 215); }
.match-heading { display: grid; align-items: center; }
.match-player-heading:last-child { text-align: right; }
.match-heading .match-leg-title { text-align: center; }
.match-heading .match-leg-count { font-style: normal; font-variant: normal; font-size-adjust: none; font-language-override: normal; font-kerning: auto; font-optical-sizing: auto; font-feature-settings: normal; font-variation-settings: normal; font-weight: normal; font-stretch: normal; line-height: 1; text-align: center; }
.score-head-grid { color: rgb(23, 37, 44); border-color: rgb(213, 221, 225); box-shadow: none; grid-template-columns: repeat(2, minmax(0px, 1fr)); }
.score-head-grid .score-player { color: rgb(23, 37, 44); opacity: 1; filter: none; box-shadow: none; }
.score-head-grid .score-player::after { display: none; }
.score-player .score-values { margin: 0px; }
.score-value.to-go span { color: rgb(82, 99, 107); font-size: 10px; }
.score-player .score-value.to-go strong { color: rgb(23, 37, 44); font-size: clamp(64px, 17vw, 112px); line-height: 1.05; letter-spacing: -0.03em; text-shadow: none; opacity: 1; }
.score-player.active .score-value.to-go strong { color: rgb(23, 37, 44); font-size: clamp(64px, 17vw, 112px); line-height: 1.05; letter-spacing: -0.03em; text-shadow: none; opacity: 1; }
.history-panel { --history-heading-height: 38px; --history-row-height: 48px; }
.history-checkout { position: absolute; top: var(--history-heading-height); left: 0px; right: 0px; z-index: 4; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; height: calc(2 * var(--history-row-height)); padding: 8px; border-block: 1px solid rgb(199, 209, 215); color: rgb(23, 37, 44); background: rgba(255, 255, 255, 0.78); backdrop-filter: blur(4px); pointer-events: none; }
.history-checkout[hidden] { display: none; }
.history-checkout span { letter-spacing: 0.1em; }
.history-checkout strong { line-height: 1.2; white-space: nowrap; font-weight: 700; }
@media (max-width: 540px) {
  html { min-width: 0px; }
  .app { padding: 6px; }
  .compact-game { gap: 8px; }
  .score-menu { padding: 7px; }
  .score-menu #gameRule { flex-basis: 100%; font-size: 8px; }
  .score-menu .btn { min-height: 34px; padding: 5px 7px; font-size: 10px; }
  .match-heading { grid-template-columns: minmax(0px, 1fr) 22px auto 22px minmax(0px, 1fr); gap: 4px; padding: 10px 7px; }
  .match-heading .score-player-name { font-size: clamp(10px, 3vw, 15px); }
  .match-heading .match-leg-title { font-size: 9px; }
  .match-heading .match-leg-count { font-size: 20px; }
  .score-head-grid .score-player { padding: 10px 6px; }
  .score-player .score-value.to-go strong { font-size: clamp(48px, 17vw, 88px); }
  .score-player.active .score-value.to-go strong { font-size: clamp(48px, 17vw, 88px); }
  .history-panel { --history-heading-height: 32px; --history-row-height: 36px; }
}
.player-history h3 { margin: 8px 0px; font-size: 18px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.player-history-row { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid rgba(119, 119, 119, 0.4); }
#scoreSheet { display: grid; grid-template-columns: minmax(0px, 1fr); gap: 16px; }
.desktop-round { justify-content: space-between; }
#editHistoryBtn { border: 1px solid rgb(136, 136, 136); color: inherit; background: transparent; cursor: pointer; }
html { min-width: 0px; width: 100%; height: 100%; overflow: hidden; background: rgb(9, 10, 11); }
body { min-width: 0px; width: 100%; height: 100%; overflow: hidden; background: rgb(9, 10, 11); }
.game-viewport { position: fixed; inset: 0px; width: 100dvw; height: 100dvh; container-type: size; background: rgb(9, 10, 11); --footer-height: clamp(76px, 14cqh, 148px); --score-size: min(25cqw, 42cqh, 420px); --rail-width: 20%; }
@media (orientation: portrait) {
  .game-viewport { inset: 50% auto auto 50%; width: 100dvh; height: 100dvw; transform: translate(-50%, -50%) rotate(90deg); }
}
body { font-family: Meiryo, メイリオ, "Noto Sans JP", sans-serif; }
button { font-family: Meiryo, メイリオ, "Noto Sans JP", sans-serif; }
input { font-family: Meiryo, メイリオ, "Noto Sans JP", sans-serif; }
select { font-family: Meiryo, メイリオ, "Noto Sans JP", sans-serif; }
textarea { font-family: Meiryo, メイリオ, "Noto Sans JP", sans-serif; }
.score-value strong { font-family: Meiryo, メイリオ, "Noto Sans JP", sans-serif; }
.score-value.to-go strong { font-family: Meiryo, メイリオ, "Noto Sans JP", sans-serif; }

.app { width: 100%; max-width: none; height: 100%; padding: 0px; }
.compact-game { position: relative; display: block; width: 100%; max-width: none; height: 100%; min-height: 0px; margin: 0px; gap: 0px; background: radial-gradient(at 52% 25%, rgb(41, 43, 44), rgb(11, 13, 14) 65%, rgb(5, 6, 7)); }
.scoreboard { position: static; display: block; height: 100%; overflow: visible; border: 0px; background: transparent; }
.score-menu { display: contents; }
.score-menu .game-title { position: absolute; top: 0px; left: 0px; z-index: 3; width: var(--rail-width); padding: clamp(6px, 1.2cqh, 14px); white-space: normal; color: rgb(255, 255, 255); background: rgb(64, 137, 238); font-size: 12px; font-weight: 400; line-height: 1.5; }
.desktop-round { position: absolute; display: flex; top: clamp(62px, 10cqh, 96px); left: 0px; width: var(--rail-width); padding: 0px clamp(6px, 1cqw, 14px); color: rgb(238, 238, 238); gap: 4px; }
#editHistoryBtn { font-size: clamp(11px, 1.2cqw, 16px); padding: 5px 8px; }
.history-panel { width: var(--rail-width); left: 0px; top: clamp(98px, 16cqh, 158px); bottom: calc(var(--footer-height) + 8px); padding-inline: clamp(6px, 1cqw, 14px); background: transparent; overflow: visible; isolation: auto; }
.history-panel .score-sheet-wrap { max-height: none; overflow: auto; }
.player-history { min-width: 0px; color: rgb(238, 238, 238); }
.player-history-heading { display: flex; align-items: baseline; gap: 6px; justify-content: space-between; border-bottom: 3px solid rgb(210, 10, 19); padding-bottom: 5px; }
.player-history[data-player="1"] .player-history-heading { border-color: rgb(24, 83, 181); }
.player-history .player-history-heading h3 { flex: 1 1 0%; min-width: 0px; margin: 0px; padding: 0px; border: 0px; font-size: clamp(12px, 1.5cqw, 24px); }
.history-average { display: block; flex-shrink: 0; font-size: clamp(10px, 1.25cqw, 21px); color: rgb(221, 221, 221); white-space: nowrap; }
.player-history-row { min-height: clamp(26px, 4.4cqh, 44px); font-size: clamp(13px, 1.7cqw, 28px); padding: 2px 4px; }
.player-history-row strong { font-size: clamp(18px, 2.6cqw, 42px); }
.score-head-grid { position: absolute; inset: 0 0 calc(var(--footer-height) + 14cqh); display: flex; align-items: center; justify-content: center; padding: 0px; background: transparent; pointer-events: none; }
.score-head-grid #gameRule { position: absolute; z-index: 2; min-width: 0px; height: auto; flex: 0 0 auto; overflow: visible; text-overflow: clip; color: rgb(191, 197, 199); font-size: clamp(10px, 1.2cqw, 16px); font-weight: 400; line-height: 1.2; text-align: center; white-space: normal; }
.score-head-grid .score-player { flex: 0 0 52%; padding: 0px; border: 0px; background: transparent; }
.score-head-grid .score-player.active { flex: 0 0 52%; padding: 0px; border: 0px; background: transparent; }
.score-head-grid .score-player.player-one { flex: 0 0 52%; padding: 0px; border: 0px; background: transparent; }
.score-head-grid .score-player:not(.active) { display: none; }
.score-head-grid .score-player .score-values { display: block; width: 100%; margin: 0px; }
.score-head-grid .score-value.to-go { width: 100%; text-align: center; }
.score-head-grid .score-value.to-go span { display: none; }
.score-head-grid .score-player .score-value.to-go strong { font-family: Meiryo, メイリオ, "Noto Sans JP", sans-serif; font-size: var(--score-size); line-height: 1.2; color: rgb(244, 244, 240); letter-spacing: 0.015em; text-indent: 0.015em; font-variant-numeric: tabular-nums; text-shadow: rgba(170, 170, 170, 0.24) 0px 3px 6px; font-weight: 600; }
.score-head-grid .score-player.active .score-value.to-go strong { font-family: Meiryo, メイリオ, "Noto Sans JP", sans-serif; font-size: var(--score-size); line-height: 1.2; color: rgb(244, 244, 240); letter-spacing: 0.015em; text-indent: 0.015em; font-variant-numeric: tabular-nums; text-shadow: rgba(170, 170, 170, 0.24) 0px 3px 6px; font-weight: 600; }
.match-heading { position: absolute; bottom: 0px; height: var(--footer-height); padding: 0px clamp(4px, 1cqw, 20px); gap: clamp(3px, 0.6cqw, 12px); border: 0px; background: rgb(5, 5, 5); color: rgb(255, 255, 255); }
.match-player-heading { display: flex; align-items: center; justify-content: space-between; align-self: stretch; min-width: 0px; padding: clamp(4px, 1cqw, 14px); gap: clamp(4px, 1cqw, 16px); background: rgb(5, 5, 5); }
#playerHeading0.throwing { background: rgb(210, 10, 19); }
#playerHeading1.throwing { background: rgb(24, 83, 181); }
.match-heading .score-player-name { flex: 1 1 0%; min-width: 0px; color: rgb(255, 255, 255); text-align: center; font-size: clamp(14px, 2.6cqw, 44px); }
.match-heading .match-leg-count { font-family: Meiryo, メイリオ, "Noto Sans JP", sans-serif; color: rgb(255, 255, 255); font-size: clamp(22px, 3.6cqw, 60px); }
.match-heading .match-leg-title { color: rgb(255, 255, 255); font-size: clamp(10px, 1.5cqw, 24px); }
.score-menu #newGameBtn { color: rgb(238, 238, 238); }
.live-history { color: rgb(255, 255, 255); background: rgba(255, 255, 255, 0.094); }
.history-panel .history-checkout { height: auto; padding: 0px; z-index: 3; border: 0px; background: transparent; backdrop-filter: none; }
.history-checkout span { color: rgb(170, 170, 170); font-size: clamp(8px, 1cqw, 12px); }
.history-checkout strong { color: rgb(255, 255, 255); font-size: clamp(16px, 2.6cqw, 40px); }
@media (pointer: coarse), (max-width: 920px) {
  .game-viewport { --footer-height: clamp(56px,18cqh,76px); --mobile-button-height: clamp(18px,6cqh,26px); --mobile-menu-height: calc(5 * var(--mobile-button-height) + 12px); --mobile-title-height: clamp(36px,10cqh,48px); --mobile-history-row-height: clamp(12px,4.2cqh,24px); --mobile-history-heading-height: 18px; }
  .score-menu .game-title { height: var(--mobile-title-height); overflow: auto; padding: 3px 6px; font-size: 10px; line-height: 1.2; }
  .desktop-round { top: calc(var(--mobile-title-height) + 2px); height: 20px; font-size: clamp(11px, 1.35cqw, 16px); padding-inline: 6px; }
  #editHistoryBtn { min-height: 20px; height: 20px; padding: 1px 6px; font-size: clamp(10px, 1.2cqw, 13px); }
  .history-panel { top: calc(var(--mobile-title-height) + 26px); bottom: auto; height: calc(var(--mobile-history-heading-height) + 5 * var(--mobile-history-row-height)); }
  .player-history-heading { position: sticky; top: 0px; z-index: 2; height: var(--mobile-history-heading-height); box-sizing: border-box; background: rgb(18, 20, 21); padding-bottom: 2px; }
  .player-history-row { height: var(--mobile-history-row-height); min-height: 0px; padding: 0px 4px; font-size: clamp(11px, 1.5cqw, 20px); align-items: center; }
  .player-history-row strong { font-size: clamp(13px, 1.8cqw, 25px); line-height: 1; }
}
@media (orientation: landscape) and (pointer: coarse), (orientation: landscape) and (hover: none) {
  .game-viewport { --rail-width: calc(24cqw + 2 * clamp(6px,1cqw,14px)); --footer-height: max(clamp(48px,15cqh,64px), calc(clamp(30px,6cqw,110px) + clamp(4px,1cqw,14px) * 2 + 1px)); --mobile-title-height: 20px; --mobile-menu-height: calc(3 * var(--mobile-button-height) + 6px); }
  .score-menu .game-title { left: clamp(6px, 1cqw, 14px); width: calc(var(--rail-width) - clamp(12px,2cqw,28px)); padding: 3px 4px; overflow: hidden; }
  .desktop-round { padding: 0px clamp(6px, 1cqw, 14px); align-items: center; gap: 4px; line-height: 20px; }
  #editHistoryBtn { display: grid; place-items: center; flex-shrink: 0; line-height: 1; white-space: nowrap; }
  .history-panel { width: var(--rail-width); height: auto; bottom: calc(var(--mobile-menu-height) + 12px); }
  .score-head-grid #gameRule { top: 8px; bottom: auto; left: var(--rail-width); right: var(--rail-width); width: auto; transform: none; }
  .match-heading { padding-inline: 0px; grid-template-columns: repeat(2, minmax(0px, 1fr)); }
  .match-player-heading { grid-template-columns: minmax(max-content, 1fr) auto minmax(0px, 1fr); }
  #playerHeading1 { grid-template-columns: minmax(0px, 1fr) auto minmax(max-content, 1fr); }
  #playerHeading0 .score-player-name { grid-column: 1; text-align: left; }
  #playerHeading1 .score-player-name { grid-column: 3; text-align: right; }
  .match-heading .score-player-name { grid-row: 1; font-size: clamp(10px, 1.6cqw, 14px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
.score-head-grid .score-values { position: relative; }
button.round-history-score { display: flex; justify-content: space-between; align-items: center; width: 100%; border: 0px; border-radius: 4px; background: transparent; color: inherit; font-family: inherit; text-align: left; cursor: pointer; }
button.round-history-score:hover { background: rgba(255, 255, 255, 0.125); outline: rgb(255, 224, 131) solid 2px; outline-offset: -2px; }
button.round-history-score:focus-visible { background: rgba(255, 255, 255, 0.125); outline: rgb(255, 224, 131) solid 2px; outline-offset: -2px; }
button.round-history-score:disabled { cursor: default; opacity: 0.65; }
#comThrowOverlay[data-mode="voice"] { pointer-events: none; }
.round-start-overlay { position: absolute; inset: 0px; z-index: 40; overflow: hidden; pointer-events: none; }
.round-start-overlay[hidden] { display: none !important; }
.round-start-position { position: absolute; text-align: center; transform: translate(-50%, -50%); }
.round-start-position[data-placement="below"] { transform: translateX(-50%); }
.round-start-overlay .round-start-text { display: block; color: rgb(255, 255, 255); font-family: Arial, Helvetica, sans-serif; line-height: 1.1; letter-spacing: 0.06em; white-space: nowrap; text-shadow: rgb(0, 0, 0) 0px 2px 18px, rgb(0, 0, 0) 0px 0px 40px; animation: 1.3s ease-in-out 0s 1 normal both running iwashi-round-pass; font-weight: 900; }
@keyframes iwashi-round-pass { 
  0% { transform: translateX(-150%); opacity: 0; }
  24%, 70% { transform: translateX(0px); opacity: 1; }
  100% { transform: translateX(150%); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .round-start-overlay .round-start-text { animation: auto ease 0s 1 normal none running none; }
}
#matchLegPanel .match-player-heading[hidden] { display: none !important; }
.desktop-round { align-items: center; flex-wrap: nowrap; font-size: clamp(11px, 1.35cqw, 20px); }
#roundLabel { white-space: nowrap; }
#editHistoryBtn { flex-shrink: 0; white-space: nowrap; }
.score-head-grid #gameRule { top: 8px; bottom: auto; left: var(--rail-width); right: var(--rail-width); width: auto; transform: none; }
.history-panel .history-checkout { position: absolute; inset: 36px auto auto 50cqw; width: 48cqw; min-height: 0px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.history-panel .history-checkout[hidden] { display: none; }
.history-panel { position: static; }
.history-panel .score-sheet-wrap { position: absolute; left: 0px; top: clamp(98px, 16cqh, 158px); bottom: calc(var(--footer-height) + 8px); width: var(--rail-width); height: auto; padding-inline: clamp(6px, 1cqw, 14px); box-sizing: border-box; }
.match-heading { left: 0px; right: 0px; grid-template-columns: minmax(0px, 1fr); }
.match-player-heading { overflow: hidden; }
.match-heading .score-player-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (pointer: coarse), (max-width: 920px) {
  .game-viewport { --score-size: min(25cqw, 42cqh, calc((100cqh - var(--footer-height) - 118px) / 1.2)); }
  .score-head-grid { top: 88px; bottom: calc(var(--footer-height) + 30px); }
  .score-head-grid #gameRule { top: -80px; }
  .history-panel .score-sheet-wrap { top: calc(var(--mobile-title-height) + 26px); bottom: calc(var(--footer-height) + var(--mobile-menu-height) + 12px); }
  .history-panel .history-checkout { top: 34px; }
}
@media (orientation: landscape) and (pointer: coarse), (orientation: landscape) and (hover: none) {
  .match-heading { left: var(--rail-width); right: calc(24% + (2 * clamp(6px, 1cqw, 14px))); }
  .match-player-heading { display: flex; align-items: center; justify-content: space-between; gap: 4px; padding: 4px; }
  #playerHeading1 { display: flex; align-items: center; justify-content: space-between; gap: 4px; padding: 4px; }
}
#matchLegPanel .footer-remaining { display: none !important; }
#matchLegPanel .match-leg-summary { display: none !important; }
#matchLegPanel .match-player-heading:not(.current-player) { display: none !important; }
#matchLegPanel .match-player-heading.current-player { display: flex; justify-content: center; align-items: center; width: 100%; box-sizing: border-box; }
#matchLegPanel .match-player-heading.current-player .score-player-name { flex: 0 0 auto; width: auto; max-width: 100%; text-align: center; }
#matchLegPanel #playerHeading0.current-player { background: rgb(210, 10, 19); }
#matchLegPanel #playerHeading1.current-player { background: rgb(24, 83, 181); }
#matchLegPanel #playerHeading2.current-player { background: rgb(35, 134, 54); }
#matchLegPanel #playerHeading3.current-player { background: rgb(126, 63, 178); }
.voice-help-copy { font: 400 13px / 1.65 Arial, Meiryo, sans-serif; overflow: auto; max-height: 70dvh; overflow-wrap: anywhere; }
.voice-help-copy h3 { font-size: 14px; margin: 0px 0px 8px; }
.voice-help-copy p { margin: 0px 0px 14px; }

.voice-help-copy ul { margin: 0px 0px 14px; padding-left: 20px; }
@media (max-width: 920px), (pointer: coarse), (hover: none) {
  body .voice-help-columns .voice-help-copy { font-size: 13px; line-height: 1.65; }
}
:root { --game-title-height: calc(clamp(10px,1.2dvmax,16px) * 1.5 + clamp(6px,1.2dvmin,14px) + clamp(6px,1.2dvmin,14px)); }
body :is(.game-info, .score-menu .game-title, .game-badge, .rail > h1, #game .countUpTitle) { box-sizing: border-box; height: var(--game-title-height); min-height: var(--game-title-height); flex-shrink: 0; display: flex; align-items: center; padding-block: 0px; }
@media (max-height: 550px), (pointer: coarse) {
  :root { --game-title-height: calc(clamp(9px,1.15dvmax,12px) * 1.5 + 6px); }
}
