.result-breakdown {
  display:grid;
  gap:6px;
  margin:14px 0;
  text-align:left;
}
.result-breakdown-row {
  display:flex;
  justify-content:space-between;
  gap:16px;
  border-bottom:1px solid #ffffff25;
  padding:5px 0;
  font-size:clamp(13px,1.6cqw,20px);
  font-variant-numeric:tabular-nums;
}
.result-breakdown-row strong { font-weight:500; }
.result-breakdown small { color:#aaa;font-size:11px; }
* {
  box-sizing:border-box
}
 [hidden] {
  display:none!important
}
html,body {
  margin:0;
  width:100%;
  height:100%;
  overflow:hidden;
  background:#090a0b;
  color:#eee;
  font-family:Meiryo,"メイリオ","Noto Sans JP",sans-serif
}
button,input {
  font:inherit
}
button {
  cursor:pointer;
  border:1px solid #454748;
  border-radius:0;
  color:#eee;
  background:#191b1dcc;
  padding:8px;
  touch-action:manipulation
}
button:hover {
  filter:brightness(1.2)
}
button:active {
  transform:translateY(1px)
}
button:focus-visible,input:focus-visible {
  outline:3px solid #c3d825;
  outline-offset:2px
}
button:disabled {
  opacity:.35;
  cursor:default
}
.viewport {
  position:fixed;
  inset:0;
  width:100dvw;
  height:100dvh;
  container-type:size;
  display:grid;
  grid-template-columns:20% minmax(0,1fr) 22%;
  --footer-height:clamp(56px,15cqh,120px);
  grid-template-rows:minmax(0,1fr) var(--footer-height);
  background:radial-gradient(ellipse at 52% 25%,#292b2c,#0b0d0e 65%,#050607)
}
.rail {
  display:flex;
  flex-direction:column;
  min-height:0;
  padding:clamp(6px,1.2cqw,18px);
  border-right:1px solid #ffffff12
}
h1 {
  font-size:clamp(12px,1.8cqw,26px);
  margin:14px 0 3px;
  line-height:1.25
}
.cricket-game #gameTitle {
  white-space:pre-line
}
#ruleLabel {
  font-size:clamp(9px,1cqw,15px);
  color:#aaa;
  line-height:1.6;
  margin:0 0 12px
}
.round-heading {
  font-size:clamp(11px,1.5cqw,23px);
  padding-bottom:8px;
  border-bottom:3px solid #c3d825
}
.history {
  flex:1;
  overflow:auto;
  min-height:0;
  margin-top:5px;
  scrollbar-width:thin
}
.history-row {
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-bottom:1px solid #ffffff25;
  padding:5px 2px;
  font-size:clamp(10px,1.3cqw,20px);
  gap:4px
}
.history-row strong {
  font-size:clamp(14px,2cqw,30px);
  font-weight:400
}
.history-row small {
  color:#aaa;
  font-size:.7em
}
.history-row.current {
  color:#c3d825
}
.rail-actions {
  display:grid;
  gap:5px;
  margin-top:8px
}
.rail-actions button {
  font-size:clamp(9px,1cqw,14px);
  min-height:28px
}
.arena {
  display:flex;
  flex-direction:column;
  align-items:center;
  min-height:0;
  min-width:0;
  padding:clamp(6px,1cqh,14px) 8px
}
.stages {
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:6px;
  flex-shrink:0
}
.stage {
  font-size:clamp(8px,.95cqw,14px);
  color:#81888b;
  padding:4px 7px;
  border-bottom:2px solid #454748
}
.stage.active {
  color:#fff;
  border-color:#c3d825
}
.stage.done {
  color:#c3d825
}
.target-heading {
  display:flex;
  gap:12px;
  align-items:center;
  justify-content:center;
  min-height:clamp(26px,5cqh,54px);
  font-size:clamp(14px,2cqw,30px);
  font-weight:600;
  flex-shrink:0
}
.target-number {
  padding:0 4px
}
.board-wrap {
  flex:1;
  min-height:0;
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden
}
.board-wrap svg {
  display:block;
  width:100%;
  height:100%;
  max-width:100%;
  user-select:none;
  touch-action:manipulation
}
.hit-zone {
  fill:transparent;
  cursor:pointer;
  outline:none
}
.hit-zone:hover,.hit-zone:focus-visible {
  fill:#ffffff44;
  stroke:#fff;
  stroke-width:2
}
.light {
  fill-opacity:.47;
  stroke-width:3;
  stroke-opacity:.8
}
.light-bull {
  fill-opacity:.6;
  stroke-width:2
}
.shoot-game .light,.shoot-game .light-bull {
  stroke-width:12;
  animation:targetGlow 1600ms ease-in-out infinite;
}
@keyframes targetGlow {
  0%,100% { stroke-opacity:.45;filter:drop-shadow(0 0 1px currentColor); }
  50% { stroke-opacity:1;filter:drop-shadow(0 0 14px currentColor); }
}
@media(prefers-reduced-motion:reduce) {
  .shoot-game .light,.shoot-game .light-bull { animation:none;stroke-opacity:1; }
}
.zero-score {
  flex:1;
  min-height:0;
  display:flex;
  flex-direction:column;
  justify-content:center;
  text-align:center
}
.zero-score span {
  color:#aaa;
  font-size:clamp(9px,1cqw,16px)
}
.zero-score strong {
  font-size:min(24cqw,40cqh);
  font-weight:600;
  line-height:1.2;
  letter-spacing:.015em;
  color:#f4f4f0;
  text-shadow:0 3px 6px #aaaaaa3d
}
.feedback {
  font-size:clamp(9px,1cqw,14px);
  color:#bfc5c7;
  min-height:18px;
  margin:6px 0 0;
  text-align:center;
  flex-shrink:0
}
.controls {
  min-height:0;
  overflow:auto;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:clamp(6px,1.2cqw,20px);
  gap:clamp(4px,1cqh,12px)
}
.metric span {
  display:block;
  color:#aaa;
  letter-spacing:.12em;
  font-size:clamp(9px,1cqw,15px)
}
.metric strong {
  font-size:clamp(28px,5cqw,80px);
  line-height:1.15;
  font-weight:500;
  font-variant-numeric:tabular-nums
}
.metric.small strong {
  font-size:clamp(22px,3.3cqw,50px)
}
.goal {
  font-size:clamp(9px,1.1cqw,17px);
  color:#c3d825;
  margin:4px 0 10px;
  line-height:1.5
}
.miss-btn {
  width:100%;
  min-height:clamp(38px,9cqh,84px);
  font-size:clamp(18px,2cqw,30px)
}
.miss-btn span {
  display:block;
  font-size:.5em;
  color:#aaa
}
.bull-buttons {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:5px;
  margin-top:6px
}
.bull-buttons button {
  font-size:clamp(9px,1.1cqw,16px);
  min-height:32px
}
.entry {
  border-bottom:1px solid #888;
  text-align:right;
  font-size:clamp(24px,3cqw,48px);
  min-height:38px;
  margin-bottom:6px
}
.keypad {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:4px
}
.keypad button {
  font-size:clamp(16px,2cqw,30px);
  min-height:clamp(25px,6cqh,58px);
  padding:3px
}
.keypad .accent {
  font-size:clamp(10px,1.2cqw,18px);
  background:#c3d825;
  color:#17252c
}
.finish-buttons {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:4px
}
.finish-buttons button {
  background:#c3d825;
  color:#17252c;
  font-size:clamp(9px,1cqw,14px);
  padding:6px 2px
}
#bustBtn {
  width:100%;
  font-size:clamp(9px,1cqw,14px);
  margin-top:6px
}
.footer {
  grid-column:1/-1;
  display:grid;
  grid-template-columns:minmax(0,1.2fr) 1fr 1fr minmax(0,1.5fr);
  background:#050505;
  min-height:0
}
.player {
  background:#c3d825;
  color:#17252c;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  padding:5px;
  overflow:hidden
}
.player span {
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:clamp(15px,2.5cqw,40px);
  font-weight:600
}
.player small {
  font-size:clamp(8px,1cqw,15px)
}
.footer-cell {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:clamp(5px,1cqw,14px);
  padding:6px;
  border-left:1px solid #ffffff18;
  min-width:0
}
.footer-cell span {
  font-size:clamp(8px,1cqw,15px);
  color:#aaa
}
.footer-cell strong {
  font-size:clamp(20px,3.5cqw,56px);
  font-weight:500;
  white-space:nowrap
}
.goal-cell strong {
  font-size:clamp(17px,2.7cqw,42px);
  color:#c3d825
}
.modal {
  position:absolute;
  inset:0;
  z-index:50;
  display:grid;
  place-items:center;
  padding:12px;
  background:#050709bc;
  backdrop-filter:blur(8px)
}
.setup,.result-card {
  width:min(580px,92%);
  max-height:calc(100cqh - 24px);
  overflow:auto;
  padding:clamp(16px,3cqw,36px);
  background:#343638;
  border:1px solid #6e7478
}
.kicker {
  font-size:11px;
  letter-spacing:.16em;
  color:#c3d825;
  margin:0 0 8px
}
h2 {
  font-size:clamp(22px,3cqw,36px);
  margin:0 0 20px
}
.setup label {
  display:block;
  font-size:12px;
  margin:14px 0 6px;
  color:#ddd
}
.setup input {
  width:100%;
  min-height:44px;
  padding:8px;
  border:1px solid #8a9397;
  border-radius:0;
  background:#474a4d;
  color:#eaf4fc
}
.setup-note {
  color:#aaa;
  font-size:11px;
  line-height:1.7
}
.start-btn {
  width:100%;
  min-height:48px;
  background:#c3d825;
  color:#17252c;
  border-color:#c3d825;
  font-weight:700;
  font-size:16px;
  margin-top:10px
}
.result-card {
  text-align:center
}
.result-card h2 {
  margin-bottom:12px
}
.result-card p {
  line-height:1.7
}
.result-stats {
  padding:14px;
  margin:14px 0;
  background:#ffffff09;
  font-size:22px
}
.result-stats>div {
  line-height:1.7
}
.result-round {
  font-weight:700;
  margin-bottom:16px
}
.result-rating-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:clamp(16px,3cqw,32px)
}
.result-rating-column {
  min-width:0;
  border-bottom:2px solid #929698;
  padding-bottom:10px
}
.result-rating-column h3 {
  margin:0 0 10px;
  padding-bottom:8px;
  border-bottom:2px solid #929698;
  font-size:clamp(13px,1.8cqw,20px);
  white-space:nowrap
}
.result-rating-values {
  display:flex;
  align-items:baseline;
  justify-content:center;
  gap:20px;
  font-size:clamp(22px,3cqw,32px)
}
.result-rating-stat {
  display:flex;
  justify-content:center;
  align-items:baseline;
  gap:12px;
  font-size:clamp(14px,2cqw,22px)
}
#saveResultBtn {
  width:100%;
  margin-top:8px;
  font-weight:700
}
.result-card>button:last-child,.setup>button:last-child:not(.start-btn) {
  width:100%;
  margin-top:8px
}
.result-card.failed h2 {
  color:#ff8898
}
.result-card.passed h2 {
  color:#c3d825
}
@media(orientation:portrait) {
  .viewport {
    inset:auto;
    top:50%;
    left:50%;
    width:100dvh;
    height:100dvw;
    transform:translate(-50%,-50%) rotate(90deg)
  }
  .viewport.setting-up {
    inset:0;
    top:0;
    left:0;
    width:100dvw;
    height:100dvh;
    transform:none
  }
}
@media(max-height:550px),(pointer:coarse) {
  .rail {
    padding:6px 8px
  }
  h1 {
    margin:8px 0 3px
  }
  #ruleLabel {
    margin-bottom:6px
  }
  .round-heading {
    padding-bottom:4px
  }
  .history-row {
    padding:3px 1px
  }
  .rail-actions {
    gap:3px
  }
  .rail-actions button {
    min-height:23px;
    padding:3px
  }
  .arena {
    padding:4px
  }
  .target-heading {
    min-height:25px
  }
  .feedback {
    margin-top:3px;
    min-height:12px
  }
  .controls {
    padding:6px;
    gap:4px
  }
  .goal {
    margin:2px 0 4px
  }
  .metric strong {
    font-size:clamp(24px,4cqw,54px)
  }
  .metric.small strong {
    font-size:clamp(20px,2.7cqw,40px)
  }
  .footer-cell {
    flex-direction:column;
    gap:0
  }
  .viewport { --footer-height:clamp(28px,7.5cqh,60px); }
  .footer-cell,.player { padding:2px; }
  .footer-cell span,.player small { font-size:8px;line-height:1; }
  .footer-cell strong { font-size:clamp(13px,4cqh,22px);line-height:1; }
  .player span { font-size:clamp(12px,3.4cqh,18px);line-height:1; }
  .keypad button {
    min-height:clamp(22px,6cqh,40px)
  }
  .entry {
    min-height:28px;
    font-size:24px
  }
  .bull-buttons button {
    padding:4px;
    min-height:24px
  }
  .setup,.result-card {
    padding:18px
  }
  .stages {
    gap:3px
  }
  .stage {
    padding:2px 4px
  }
  .feedback {
    font-size:10px
  }
}
@media(prefers-reduced-motion:reduce) {
  * {
    scroll-behavior:auto
  }
}
.result-card #resultUndoBtn {
  width:100%;
  margin-top:8px
}
.zero-game .controls {
  justify-content:center
}
.zero-game .controls .metric {
  display:none
}
.zero-game #stages,.zero-game #goalLabel,.zero-game #footerScoreLabel,.zero-game #ruleLabel,.zero-game .avg-cell { display:none !important; }
.zero-rail-avg { display:none; }
.zero-game .zero-rail-avg { display:inline-block;font-size:clamp(10px,1.25cqw,21px);color:#ddd;font-weight:400;white-space:nowrap; }
.zero-game .arena { position:relative;padding-bottom:24cqh; }
.zero-game .feedback { display:none; }
.zero-game .zero-score { position:static; }
.zero-game #targetHeading { position:absolute;left:50%;bottom:calc(50% + 12cqh + min(14cqw,23cqh,220px) + 6px);transform:translateX(-50%);width:80%;min-height:0;font-size:clamp(10px,1.2cqw,16px);font-weight:600;color:#bfc5c7;line-height:1.2;text-align:center;pointer-events:none;z-index:2; }
.zero-game .footer { grid-template-columns:repeat(3,minmax(0,1fr));background:#D20A13;color:#fff; }
.zero-game .footer .player { grid-column:2;background:#D20A13;color:#fff; }
.zero-game #profileLabel,.zero-game .footer-cell:not(.avg-cell) { display:none; }
.checkout-route { position:absolute;left:50%;transform:translateX(-50%);bottom:calc(8px + clamp(50px,10cqh,108px) + 42px);width:92%;z-index:9;margin:0;display:flex;flex-direction:column;align-items:center;gap:3px;line-height:1.2;text-align:center;pointer-events:none; }
.checkout-route span { color:#aaa;font-size:clamp(8px,1cqw,12px);letter-spacing:.1em; }
.checkout-route strong { color:#fff;font-size:clamp(16px,2.6cqw,40px);font-weight:700;white-space:nowrap; }
.microphone-notice { position:fixed;z-index:11;bottom:calc(var(--footer-height) + clamp(50px,10cqh,108px) + 14px);left:50%;transform:translateX(-50%);width:48%;color:#ffe083;font-size:clamp(10px,1.2cqw,17px);text-align:center;line-height:1.4;pointer-events:none;padding:4px 6px;background:#101214f2;border-radius:4px; }
.zero-game .rail { padding:0 clamp(6px,1cqw,14px);border-right:0; }
.zero-game .rail-actions { display:none; }
.zero-game .game-info { margin:0 calc(-1 * clamp(6px,1cqw,14px));padding-inline:clamp(6px,1cqw,14px);background:#4089ee;color:#fff; }
.zero-game .game-info h1 { margin:0;font-size:12px;font-weight:700;line-height:1.5;color:#fff; }
.zero-game .round-heading { display:flex;align-items:baseline;justify-content:space-between;gap:6px;font-size:clamp(13px,1.8cqw,30px);padding:8px 0 5px;border-bottom:3px solid #D20A13;color:#eee; }
.zero-game .history { display:flex;flex-direction:column;margin-top:6px; }
.zero-game .history-row { flex:0 0 auto;min-height:clamp(26px,4.4cqh,44px);font-size:clamp(13px,1.7cqw,28px);padding:2px 4px;color:#eee;border-bottom:1px solid #ffffff20; }
.zero-game .history-row.current { background:#ffffff18;color:#fff; }
.zero-game .history-row strong { font-size:clamp(18px,2.6cqw,42px);font-weight:700;line-height:1.2; }
.zero-game .entry { font-size:clamp(32px,5cqw,72px);min-height:0;line-height:1.2; }
#zeroControls .finish-buttons { margin:6px 0 0; }
#zeroControls #micBtn { display:block;width:100%;margin-top:6px;font-size:clamp(9px,1cqw,14px);min-height:28px; }
@media(max-height:550px),(pointer:coarse) {
  .zero-game .entry { font-size:clamp(30px,9cqh,44px); }
  #zeroControls #micBtn { padding:4px;min-height:24px; }
}
.target-number.cleared {
  text-decoration:line-through;
  opacity:.65
}
.used-mask {
  fill:#71767b;
  fill-opacity:.76
}
.history-row.board-history {
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:5px;
  align-items:center;
  font-size:clamp(9px,1cqw,15px);
  min-height:30px
}
.board-history .history-darts {
  font-size:clamp(9px,.95cqw,14px);
  line-height:1.5;
  overflow-wrap:anywhere;
  text-align:center
}
.history-row.board-history strong {
  font-size:clamp(14px,1.6cqw,25px)
}
.board-history small {
  grid-column:3;
  text-align:right
}
#micBtn.listening,
#micBtn[aria-pressed="true"],
#singleDartMicBtn[aria-pressed="true"] {
  border-color:#c3d825;
  background:#c3d825;
  color:#17252c;
  box-shadow:0 0 12px #c3d82580
}
#keypadToggleBtn {
  display:none
}
.finish-buttons {
  margin-bottom:6px
}
.zero-score {
  position:relative;
  width:100%
}
.voice-score-preview {
  position:absolute;
  left:0;
  right:0;
  bottom:5%;
  text-align:center
}
.zero-score .voice-score-preview span {
  color:#bfc5c7;
  display:block
}
.zero-score .voice-score-preview strong {
  display:block;
  color:#c3d825;
  font-size:clamp(28px,5cqw,80px);
  line-height:1.1;
  text-shadow:none
}
.hit-zone.used {
  pointer-events:auto;
  cursor:pointer
}
.hit-zone.used:hover,.hit-zone.used:focus-visible {
  fill:#bb6c6c66;
  stroke:#ae8585;
  stroke-width:2
}
.used-mask.off-target {
  fill:#a46e73;
  fill-opacity:.76
}
.shoot-game .arena {
  padding:0 4px
}
.shoot-game .arena .stages,.shoot-game .arena .feedback,.shoot-game .controls .metric,.shoot-game .controls .goal,.shoot-game #missBtn {
  display:none
}
.shoot-game .controls {
  justify-content:center;
  align-items:center;
  padding:10px 18px
}
.shoot-game .target-heading {
  min-height:0;
  display:flex;
  flex-direction:column;
  align-items:stretch;
  justify-content:center;
  flex-wrap:nowrap;
  gap:clamp(12px,5cqh,42px);
  margin:0;
  width:min(100%,160px);
  font-size:clamp(28px,5cqw,80px);
  font-weight:500;
  color:#fff
}
.shoot-game .target-number {
  display:block;
  width:100%;
  text-align:center;
  padding:0 2px 5px;
  border-bottom:2px solid #fff;
  line-height:1.15
}
.shoot-game .target-number.cleared {
  text-decoration:none;
  opacity:.35
}
.board-wrap {
  position:relative
}
.board-bull-actions {
  position:absolute;
  bottom:6px;
  left:6px;
  right:6px;
  z-index:2
}
.board-bull-actions .bull-buttons {
  display:flex;
  justify-content:space-between;
  gap:12px;
  margin:0
}
.board-bull-actions button {
  width:clamp(74px,11cqw,150px);
  min-height:clamp(30px,6cqh,48px);
  font-size:clamp(12px,1.4cqw,20px);
  background:#191b1df0
}
.bull-buttons button.used {
  color:#a7a7a7;
  border-color:#696969
}
@media(max-height:550px),(pointer:coarse) {
  .shoot-game .controls {
    justify-content:center
  }
  .shoot-game .target-heading {
    font-size:clamp(24px,4cqw,54px);
    gap:clamp(10px,4cqh,24px)
  }
  .board-bull-actions {
    bottom:4px;
    left:4px;
    right:4px
  }
}
.shoot-game {
  --shoot-side-space:calc(100cqw - 100cqh + var(--footer-height) - 8px);
  grid-template-columns:clamp(120px,calc(var(--shoot-side-space)*.58),20cqw) minmax(0,1fr) clamp(80px,calc(var(--shoot-side-space)*.42),20cqw)
}
.shoot-game .controls {
  padding-inline:8px
}
.shoot-game .target-number.bull-target {
  font-size:.5em
}
.shoot-game .target-heading::before {
  content:"TARGET";
  display:block;
  color:#fff;
  font-size:clamp(11px,1.2cqw,18px);
  letter-spacing:.12em;
  text-align:center;
  line-height:1.2
}
.shoot-multiplier {
  display:grid;
  place-items:center;
  width:min(100%,160px);
  height:clamp(44px,9cqh,80px);
  flex-shrink:0;
  border:2px solid #fff;
  color:#fff;
  font-size:clamp(24px,4cqh,40px);
  line-height:1;
}
.shoot-multiplier strong { display:flex;align-items:baseline;justify-content:center;gap:2px;font-weight:500; }
.shoot-multiplier .multiplier-symbol { font-size:.6em; }
.shoot-game .footer { grid-template-columns:inherit; }
.shoot-game #footerMprCell,.shoot-game #footerScoreLabel { display:none; }
.shoot-game #footerScoreCell { padding:0;overflow:hidden; }
.shoot-game #footerScore { font-weight:900;font-size:var(--footer-height);line-height:1; }
.rail {
  padding-top:0
}
.game-info {
  margin-inline:calc(-1 * clamp(6px,1.2cqw,18px));
  padding:clamp(6px,1.2cqh,14px);
  background:#EB6238;
  color:#fff;
  line-height:1.5
}
.game-info h1 {
  margin:0;
  font-size:clamp(10px,1.2cqw,16px);
  font-weight:900;
  line-height:1.5
}
.game-info #ruleLabel {
  margin:0;
  font-size:clamp(9px,1cqw,14px);
  color:#fff;
  line-height:1.5
}
.round-heading {
  margin-top:clamp(8px,1.2cqh,14px)
}
@media(max-height:550px),(pointer:coarse) {
  .rail {
    padding-top:0
  }
  .game-info {
    margin-inline:-8px;
    padding:3px 6px
  }
  .game-info h1 {
    font-size:clamp(9px,1.15cqw,12px)
  }
  .game-info #ruleLabel {
    font-size:clamp(8px,1cqw,11px)
  }
}
.setup-modal .setup {
  width:min(960px,96%);
  padding:clamp(16px,2.5cqw,32px);
  max-height:calc(100cqh - 24px)
}
.setup-modal .setup h2 {
  margin-bottom:12px
}
.setup-modal .setup label {
  margin-top:0
}
.setup-pages {
  overflow:hidden;
  width:100%;
  margin-top:18px
}
.setup-track {
  display:flex;
  width:100%
}
.setup-track.show-games {
  transform:translateX(-100%)
}
.setup-step {
  flex:0 0 100%;
  width:100%;
  min-width:0;
  padding:2px 0
}
.mode-tiles {
  display:flex;
  gap:14px;
  justify-content:center
}
.setup-tile {
  aspect-ratio:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:12px;
  text-align:center;
  padding:14px;
  background:#474a4d;
  border:1px solid #8a9397;
  color:#fff;
  flex-shrink:0
}
.mode-tile {
  flex:1 1 0;
  width:auto;
  max-width:none;
  aspect-ratio:auto;
  min-height:clamp(140px,22cqw,220px)
}
.setup-tile strong {
  font-size:clamp(19px,2.5cqw,30px);
  font-weight:700;
  line-height:1.25
}
.setup-tile span {
  font-size:clamp(11px,1.3cqw,17px);
  line-height:1.5
}
.setup-tile small {
  font-size:clamp(10px,1.1cqw,14px);
  line-height:1.5;
  color:#d8e0e5
}
.setup-tile:hover {
  border-color:#c3d825
}
.setup-game-heading {
  display:flex;
  gap:12px;
  align-items:center;
  margin-bottom:12px
}
.setup-game-heading h3 {
  margin:0;
  font-size:18px
}
.setup-game-heading button {
  min-height:34px;
  padding:6px 12px
}
.setup-modal .setup-note {
  margin:8px 0 0
}
.setup-modal #closeSetupBtn {
  width:100%;
  margin-top:12px
}
@media(max-height:550px),(pointer:coarse) {
  .setup-modal .setup {
    padding:16px
  }
  .setup-pages {
    margin-top:12px
  }
  .setup-tile {
    gap:8px;
    padding:10px
  }
  .mode-tile {
    width:clamp(130px,20cqw,175px)
  }
  .setup-tile strong {
    font-size:20px
  }
  .setup-tile span {
    font-size:12px
  }
  .setup-tile small {
    font-size:11px
  }
}
.setup-track {
  align-items:flex-start
}
.setup-track:not(.show-games) #gameStep {
  height:0;
  overflow:hidden;
  visibility:hidden
}
.setup-track.show-games #modeStep {
  height:0;
  overflow:hidden;
  visibility:hidden
}
.setup-track.show-arrangement { transform:translateX(-200%); }
.setup-track:not(.show-arrangement) #arrangementStep,.setup-track.show-arrangement #gameStep { height:0;overflow:hidden;visibility:hidden; }
.arrangement-tile { width:clamp(130px,35cqh,260px);max-width:calc((100% - 14px)/2); }
@media(max-height:550px) {
  .setup-modal .setup h2 {
    font-size:20px;
    margin-bottom:8px
  }
  .setup-modal .setup label {
    font-size:10px
  }
  .setup-modal .setup input {
    min-height:36px;
    padding:6px
  }
  .setup-modal .mode-tile {
    width:clamp(130px,36cqh,175px)
  }
  .setup-game-heading {
    margin-bottom:8px
  }
  .setup-game-heading button {
    min-height:28px
  }
  .setup-modal .setup-note {
    font-size:10px
  }
}
.game-tiles {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  overflow:visible;
  padding:3px
}
.setup-modal .game-tile {
  width:100%;
  min-width:0;
  padding:8px;
  gap:7px
}
.setup-modal .game-tile strong {
  font-size:clamp(14px,2cqw,25px)
}
.setup-modal .game-tile span {
  font-size:clamp(10px,1.2cqw,14px)
}
.setup-modal .game-tile small {
  font-size:clamp(9px,1cqw,12px)
}
@media(orientation:portrait) {
  .game-tiles {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px
  }
  .setup-modal .game-tile {
    padding:6px;
    gap:5px
  }
  .setup-modal .game-tile strong {
    font-size:16px
  }
  .setup-modal .game-tile span {
    font-size:11px
  }
  .setup-modal .game-tile small {
    font-size:10px
  }
}
@media(orientation:landscape) and (max-height:550px) {
  .setup-modal .game-tile {
    padding:5px;
    gap:4px
  }
  .setup-modal .game-tile strong {
    font-size:clamp(11px,1.7cqw,16px)
  }
  .setup-modal .game-tile span {
    font-size:clamp(8px,1.1cqw,11px)
  }
  .setup-modal .game-tile small {
    font-size:clamp(7px,1cqw,10px)
  }
}
/* Practice choices share three reserved text rows, including wrapped labels. */
#setupModal #gameTiles.practice-tiles {
  grid-template-columns:repeat(4,minmax(0,1fr));
  grid-template-rows:repeat(2,auto);
  grid-auto-flow:column;
  width:100%;
  gap:8px;
}
#setupModal #gameTiles.practice-tiles .game-tile {
  display:grid;
  grid-template-rows:repeat(3,max-content);
  align-content:center;
  justify-items:center;
  align-items:start;
  aspect-ratio:auto;
  height:clamp(120px,calc((100svh - 430px)/2),200px);
  min-height:120px;
  padding:6px;
  gap:4px;
}
#setupModal #gameTiles.practice-tiles .game-tile > :is(strong,span,small) {
  display:block;
  width:100%;
  min-height:2lh;
  white-space:normal;
  overflow-wrap:normal;
}
#setupModal #gameTiles.practice-tiles .game-tile > strong {
  font-size:clamp(12px,9cqw,18px);
  line-height:1.2;
}
#setupModal #gameTiles.practice-tiles .game-tile > span {
  font-size:clamp(9px,6cqw,11px);
  line-height:1.2;
}
#setupModal #gameTiles.practice-tiles .game-tile > small {
  font-size:clamp(8.5px,5cqw,10px);
  line-height:1.2;
}
@media (max-width:920px),(max-height:550px),(pointer:coarse),(hover:none) {
  #setupModal #gameTiles.practice-tiles { gap:5px; }
  #setupModal #gameTiles.practice-tiles .game-tile {
    height:auto;
    min-height:86px;
    padding:4px;
    gap:3px;
  }
  #setupModal #gameTiles.practice-tiles .game-tile > strong { font-size:10px;line-height:1.25; }
  #setupModal #gameTiles.practice-tiles .game-tile > span { font-size:8px;line-height:1.5; }
  #setupModal #gameTiles.practice-tiles .game-tile > small { font-size:7px;line-height:1.5; }
}

@media (orientation:landscape) and (max-height:550px), (max-width:360px) {
  #setupModal .setup-note { margin-top:0; }
  #setupModal #gameTiles.practice-tiles .game-tile { min-height:64px; }
  #setupModal #gameTiles.practice-tiles .game-tile > :is(span,small) { min-height:1lh; }
}
@media (max-width:360px) {
  #setupModal .setup-pages { margin-top:4px; }
  #setupModal .setup-game-heading { margin-bottom:6px; }
  #setupModal .settings-controls { padding:8px; }
  #setupModal #gameTiles.practice-tiles {
    grid-template-columns:repeat(2,minmax(0,1fr));
    grid-template-rows:repeat(4,auto);
  }
}

#zeroControls #singleDartMicBtn {display:block;width:100%;margin-top:6px;font-size:clamp(9px,1cqw,14px);min-height:28px;}
#zeroControls #keySettingsBtn {display:block;width:100%;margin-top:6px;font-size:clamp(9px,1cqw,14px);min-height:28px;}
#functionKeyLegend { display:flex; flex-direction:column; gap:3px; padding:4px 0 8px; border-bottom:1px solid #35383a; margin-bottom:4px; }
#functionKeyLegend > div { display:flex; align-items:center; gap:8px; font-size:clamp(11px,1.05cqw,15px); color:#eee; line-height:1.25; }
#functionKeyLegend kbd { min-width:34px; color:#aab2b8; font-family:inherit; }
.key-settings-card { width:min(460px,94vw); text-align:left; }
#keySettingsRows { display:grid; gap:8px; margin:12px 0; }
.key-setting-row { display:grid; grid-template-columns:46px 1fr 84px; align-items:center; gap:8px; }
.key-setting-row select, .key-setting-row input { padding:6px 8px; border:1px solid #4a5053; background:#24282a; color:#eee; font:inherit; }
.key-settings-actions { display:flex; gap:8px; margin-top:12px; }
.key-settings-actions button { flex:1; }
@media (min-width:921px) and (hover:hover) and (pointer:fine) {
  .viewport.zero-game { grid-template-columns:22% minmax(0,1fr) clamp(140px,15cqw,210px); --footer-height:clamp(76px,14cqh,148px); }
  .zero-game .rail { grid-column:1; grid-row:1; }
  .zero-game .arena { position:absolute; inset:0 0 calc(var(--footer-height) + 14cqh); padding:0; pointer-events:none; justify-content:center; }
  .zero-game #targetHeading { bottom:calc(50% + min(15cqw,25cqh,250px) + 8px); width:60%; }
  .zero-game .zero-score { flex:0 0 auto; width:60%; }
  .zero-game .zero-score > strong { font-size:min(33cqw,52cqh,520px); line-height:1.2; }
  .zero-game .checkout-route { position:fixed; bottom:calc(var(--footer-height) + clamp(50px,10cqh,108px) + 56px); width:50cqw; }
  .zero-game .controls { grid-column:3; grid-row:1; justify-content:flex-end; padding:0 clamp(6px,1cqw,18px) 12px 0; max-height:calc(100cqh - var(--footer-height) - 12px); overflow-y:auto; }
  .zero-game .footer { position:absolute; left:0; right:0; bottom:0; height:var(--footer-height); z-index:4; }
  .zero-game #zeroControls { display:flex; flex-direction:column; gap:clamp(4px,.9cqh,10px); width:100%; }
  .zero-game #functionKeyLegend { order:-1; gap:0; padding:0 0 10px; border-bottom:1px solid #555; margin-bottom:0; }
  .zero-game #functionKeyLegend > div { min-height:24px; font-size:clamp(12px,1.15vw,18px); font-weight:700; gap:10px; letter-spacing:0; }
  .zero-game #functionKeyLegend kbd { min-width:36px; }
  .zero-game #zeroControls #entry,
  .zero-game #zeroControls #keypad,
  .zero-game #zeroControls .quick-score,
  .zero-game #zeroControls .finish-buttons,
  .zero-game #zeroControls #bustBtn { display:none; }
  .zero-game #zeroControls button {
    width:100%; min-height:clamp(32px,4.5cqh,44px); margin-top:0; padding:6px;
    border:1px solid #454748; border-radius:0; color:#eee; background:#191b1dcc;
    font-size:clamp(11px,1cqw,14px); font-weight:900; text-align:center;
  }
  .zero-game #zeroControls #micBtn[aria-pressed="true"],
  .zero-game #zeroControls #micBtn.listening,
  .zero-game #zeroControls #singleDartMicBtn[aria-pressed="true"] {
    color:#17252c; background:#c3d825; border-color:#c3d825; box-shadow:0 0 12px #c3d82580;
  }
}
.mobile-br { display:none; }
@media (pointer:coarse), (max-width:920px) {
  .pc-only { display:none !important; }
  .mobile-br { display:inline; }
  .viewport.zero-game {
    --rail-width:20%;
    --footer-height:clamp(56px,18cqh,76px);
    --mobile-button-height:clamp(32px,9.5cqh,40px);
    --mobile-menu-height:calc(2 * var(--mobile-button-height) + 4px);
    --mobile-title-height:clamp(36px,10cqh,48px);
    --mobile-history-row-height:clamp(12px,4.2cqh,24px);
    --score-size:min(25cqw,42cqh,420px);
  }
  .zero-game .rail { grid-column:1; grid-row:1; padding:0; }
  .zero-game .game-info {
    position:absolute; top:0; left:clamp(6px,1cqw,14px); z-index:3;
    width:calc(var(--rail-width) - clamp(12px,2cqw,28px)); height:var(--game-title-height);
    min-height:var(--game-title-height); margin:0; padding:0 6px; overflow:auto;
  }
  .zero-game .game-info h1 { font-size:10px; line-height:1.2; }
  .zero-game .round-heading {
    position:absolute; left:clamp(6px,1cqw,14px); top:calc(var(--mobile-title-height) + 2px);
    width:calc(var(--rail-width) - clamp(12px,2cqw,28px)); height:20px;
    margin:0; padding:0; font-size:clamp(11px,1.35cqw,16px); align-items:center;
  }
  .zero-game .history {
    position:absolute; left:clamp(6px,1cqw,14px);
    width:calc(var(--rail-width) - clamp(12px,2cqw,28px));
    top:calc(var(--mobile-title-height) + 26px);
    bottom:calc(var(--footer-height) + var(--mobile-menu-height) + 12px);
    margin-top:0; overflow:auto;
  }
  .zero-game .history-row {
    height:var(--mobile-history-row-height); min-height:0; padding:0 4px;
    font-size:clamp(11px,1.5cqw,20px); align-items:center;
  }
  .zero-game .history-row strong { font-size:clamp(13px,1.8cqw,25px); line-height:1; }
  .zero-game .arena {
    position:absolute; inset:0 0 calc(var(--footer-height) + 14cqh);
    padding:0; pointer-events:none; justify-content:center;
  }
  .zero-game #targetHeading {
    bottom:calc(50% + min(15cqw,25cqh,250px) + 8px); width:60%; min-height:0;
  }
  .zero-game .zero-score { flex:0 0 auto; width:60%; }
  .zero-game .zero-score > strong { font-size:var(--score-size); line-height:1.2; }
  .zero-game .checkout-route {
    position:fixed; bottom:calc(var(--footer-height) + clamp(50px,10cqh,108px) + 56px); width:50cqw;
  }
  .zero-game .footer { position:absolute; left:0; right:0; bottom:0; height:var(--footer-height); z-index:4; }
  .zero-game .controls {
    position:absolute; right:clamp(6px,1cqw,14px); top:clamp(8px,2cqh,20px);
    bottom:calc(var(--footer-height) + 8px); width:24%; height:auto;
    padding:0; overflow:auto; border:0; background:transparent; z-index:8;
    justify-content:flex-start;
  }
  .zero-game #zeroControls { display:flex; flex-direction:column; gap:0; width:100%; height:100%; }
  .zero-game #zeroControls #entry,
  .zero-game #zeroControls #bustBtn { display:none; }
  .zero-game #zeroControls .finish-buttons { order:0; margin:0 0 6px; gap:4px; flex-shrink:0; }
  .zero-game #zeroControls .finish-buttons button { min-height:28px; padding:3px; font-size:clamp(10px,1.2cqw,15px); }
  .zero-game #zeroControls #keypadToggleBtn { display:none; }
  .zero-game #zeroControls #keypad { order:2; flex:1; min-height:120px; gap:4px; margin:0; width:100%; }
  .zero-game #zeroControls #keypad button {
    min-height:0; padding:3px; color:#eee; background:#24282a;
    border:1px solid #4a5053; font-size:clamp(19px,2.7cqw,34px); touch-action:manipulation;
  }
  .zero-game #zeroControls #keypad .accent { font-size:clamp(10px,1.3cqw,17px); color:#17252c; background:#c3d825; }
  .zero-game #zeroControls .quick-score { order:3; margin-top:6px; padding:0; border:0; background:transparent; flex-shrink:0; }
  .zero-game #zeroControls .quick-score > div { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:4px; }
  .zero-game #zeroControls .quick-score button { min-height:28px; padding:2px; font-size:clamp(11px,1.4cqw,17px); font-weight:900; color:#eee; background:#24282a; border-color:#4a5053; }
  .zero-game #zeroControls #zeroRestartBtn,
  .zero-game #zeroControls #micBtn,
  .zero-game #zeroControls #singleDartMicBtn,
  .zero-game #zeroControls #voiceLogBtn {
    position:fixed; z-index:8; margin:0; min-height:0;
    width:calc((var(--rail-width) - clamp(12px,2cqw,28px) - 3px) / 2);
    height:var(--mobile-button-height); padding:2px;
    font-size:clamp(8.5px,1cqw,11px); line-height:1.15; white-space:normal;
  }
  .zero-game #zeroControls #micBtn { left:clamp(6px,1cqw,14px); bottom:calc(var(--footer-height) + var(--mobile-button-height) + 10px); }
  .zero-game #zeroControls #singleDartMicBtn { left:calc(clamp(6px,1cqw,14px) + (var(--rail-width) - clamp(12px,2cqw,28px) - 3px) / 2 + 3px); bottom:calc(var(--footer-height) + var(--mobile-button-height) + 10px); }
  .zero-game #zeroControls #zeroRestartBtn { left:clamp(6px,1cqw,14px); bottom:calc(var(--footer-height) + 6px); font-size:clamp(7.5px,.85cqw,10px); line-height:1.1; }
  .zero-game #zeroControls #voiceLogBtn { left:calc(clamp(6px,1cqw,14px) + (var(--rail-width) - clamp(12px,2cqw,28px) - 3px) / 2 + 3px); bottom:calc(var(--footer-height) + 6px); font-size:clamp(7.5px,.85cqw,10px); line-height:1.1; }
}
@media (orientation:landscape) and (pointer:coarse), (orientation:landscape) and (hover:none) {
  .viewport.zero-game {
    --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(2 * var(--mobile-button-height) + 4px);
  }
  .zero-game .game-info { padding:3px 4px; overflow:hidden; }
  .zero-game .round-heading { align-items:center; gap:4px; line-height:20px; }
  .zero-game .history { bottom:calc(var(--mobile-menu-height) + 12px); }
  .zero-game #targetHeading { top:8px; bottom:auto; left:var(--rail-width); right:var(--rail-width); width:auto; transform:none; }
  .zero-game .footer { left:var(--rail-width); right:calc(24% + 2 * clamp(6px,1cqw,14px)); }
  .zero-game .controls { bottom:calc(var(--footer-height) + 6px); }
  .zero-game .microphone-notice { bottom:calc(var(--footer-height) + 5px); left:26%; width:46%; transform:none; }
  .zero-game #zeroControls .quick-score { display:none; }
  .zero-game #zeroControls #zeroRestartBtn { left:clamp(6px,1cqw,14px); bottom:calc(var(--mobile-button-height) + 10px); width:calc(var(--rail-width) - clamp(12px,2cqw,28px)); }
  .zero-game #zeroControls #voiceLogBtn { left:clamp(6px,1cqw,14px); bottom:6px; width:calc(var(--rail-width) - clamp(12px,2cqw,28px)); }
  .zero-game #zeroControls #micBtn { left:auto; right:clamp(6px,1cqw,14px); bottom:calc(9px + (var(--footer-height) - 15px) / 2); width:24%; height:calc((var(--footer-height) - 15px) / 2); font-size:clamp(9px,1.15cqw,13px); }
  .zero-game #zeroControls #singleDartMicBtn { left:auto; right:clamp(6px,1cqw,14px); bottom:6px; width:24%; height:calc((var(--footer-height) - 15px) / 2); font-size:clamp(9px,1.15cqw,13px); }
}

/* Same dart/total presentation as 01, anchored below the remaining score. */
.com-throw-overlay {
  position: fixed;
  inset: 0px;
  z-index: 95;
  display: grid;
  place-items: center;
  padding: 14px;
  pointer-events: none;
  background: transparent;
}

.com-throw-overlay[hidden] {
  display: none;
}

.com-throw-card {
  width: min(460px, 100%);
  border-width: 2px;
  border-style: solid;
  border-image: none;
  border-radius: 0px;
  padding: 14px;
  animation: 140ms ease-out 0s 1 normal none running comThrowIn;
}

@keyframes comThrowIn { 
  0% { opacity: 0; transform: translateY(8px) scale(0.98); }
  100% { opacity: 1; transform: translateY(0px) scale(1); }
}

.com-throw-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgb(199, 223, 232);
  padding: 0px 2px 9px;
}

.com-throw-heading span {
  color: rgb(102, 131, 146);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.com-throw-heading strong {
  overflow: hidden;
  color: rgb(8, 126, 174);
  font-size: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.com-throw-darts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 10px;
}

.com-throw-dart {
  min-width: 0px;
  border: 1px solid rgb(203, 223, 232);
  padding: 8px 4px;
  background: rgb(243, 249, 252);
  text-align: center;
}

.com-throw-dart span {
  display: block;
  color: rgb(113, 139, 151);
  font-size: 9px;
}

.com-throw-dart strong {
  display: block;
  margin-top: 3px;
  color: rgb(21, 62, 81);
  font-family: Arial, sans-serif;
  font-size: clamp(30px, 9vw, 48px);
  line-height: 1;
  font-weight: 400;
}

.com-throw-dart small {
  display: block;
  min-height: 14px;
  margin-top: 4px;
  color: rgb(8, 126, 174);
  font-size: 10px;
}

.com-throw-total {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 9px;
  border-top: 1px solid rgb(199, 223, 232);
  padding-top: 8px;
}

.com-throw-total span {
  color: rgb(113, 139, 151);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.com-throw-total strong {
  color: rgb(8, 126, 174);
  font-family: Arial, sans-serif;
  font-size: 34px;
  line-height: 1;
  font-weight: 400;
}


.com-throw-card { display: flex; align-items: stretch; gap: 10px; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; background: transparent; animation: none; }
.com-throw-heading { display: none; }
.com-throw-darts, .com-throw-darts[data-visible] { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); flex: 3; min-width: 0; margin: 0; gap: 8px; }
.com-throw-dart { position: relative; height: 100%; min-width: 0; border: 0; border-bottom: 2px solid #888; padding: 0; background: transparent; }
.com-throw-dart.step-hidden { display: block; }
.com-throw-dart.step-hidden > * { visibility: hidden; }
.com-throw-dart.step-show { animation: none; }
.com-throw-dart strong, .com-throw-total strong { color: #fff; font-size: clamp(22px,3.6cqw,58px); }
.com-throw-dart span, .com-throw-dart small, .com-throw-total span { color: #bfc5c7; font-size: clamp(8px,.8cqw,12px); }
.com-throw-dart small { min-height: 0; margin-top: 0; }
.com-throw-total { display: flex; flex: 1; min-width: 0; flex-direction: column; align-items: center; justify-content: center; margin: 0; padding: 0; border: 0; border-bottom: 2px solid #ddd; gap: 2px; }
.com-throw-total.step-hidden { visibility: visible; }
.com-throw-total.step-hidden > * { visibility: hidden; }

#zeroScore{position:relative;}
#comThrowOverlay{position:fixed;inset:auto auto calc(var(--footer-height) + 8px) 50%;width:48%;height:clamp(50px,10cqh,108px);padding:0;transform:translateX(-50%);z-index:10;}
#comThrowOverlay[hidden]{display:none;}
#comThrowOverlay .com-throw-dart small{display:none;}
#comThrowOverlay .com-throw-card{animation:none;}
.arena{position:relative;}

.voice-dart-active .feedback{visibility:hidden;}


/* Merged cricket-display.css */
/* Dedicated to CRICKET COUNT-UP / HALF-IT. */
.viewport.cricket-game>.rail{grid-column:1;grid-row:1;min-width:0}.viewport.cricket-game>.arena{grid-column:2;grid-row:1;min-width:0}.viewport.cricket-game>.practice-score-controls{grid-column:3;grid-row:1;min-width:0}.viewport.cricket-game>.footer{grid-column:1/-1;grid-row:2}
.practice-score-controls{justify-content:flex-start;gap:clamp(4px,1cqh,12px);padding:clamp(6px,1.2cqw,20px);overflow:auto}
.practice-score-controls>.metric,.practice-score-controls>.goal,.practice-score-controls>#zeroControls,.practice-score-controls>#boardControls,.practice-score-controls>.shoot-multiplier{display:none}
.practice-dart-panel{display:grid;grid-template-rows:repeat(4,minmax(0,1fr));width:100%;flex:1;min-height:0;gap:clamp(4px,1cqh,10px)}
.practice-dart{min-height:0;text-align:center;border-bottom:2px solid #888;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px}
.practice-dart span{color:#bfc5c7;font-size:clamp(8px,.8cqw,12px)}
.practice-dart strong{color:#fff;font-family:Arial,sans-serif;font-size:clamp(22px,3.6cqw,58px);font-weight:400;line-height:1}
.practice-dart-total{border-bottom-color:#ddd}
.practice-voice-buttons{display:grid;width:100%;gap:6px;flex-shrink:0}
.practice-voice-buttons button{width:100%;min-width:0;font-size:clamp(9px,1cqw,14px);min-height:28px;padding:4px 2px}
.half-it-game .input-area{min-width:0;overflow:hidden}
.half-it-game.ring-round .input-area{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:clamp(4px,.6cqw,10px)}
.half-it-game.ring-round .board-wrap{height:100%;width:100%;min-width:0}
@media(max-height:550px),(pointer:coarse){.practice-voice-buttons{gap:3px}.practice-voice-buttons button{min-height:23px;padding:3px 1px}.practice-score-controls{gap:4px;padding:4px 6px}}

.controls>.practice-dart-panel,.controls>#cricketVoiceButtons{display:none}.cricket-game .controls>.practice-dart-panel{display:grid}.cricket-game .controls>#cricketVoiceButtons{display:grid}.cricket-game #ruleLabel,.cricket-game #stages{display:none}

.cricket-game #cricketMicBtn[aria-pressed="true"]{color:#fff;border-color:#ffad55;background:#d96700;box-shadow:0 0 12px #ff8b27b3;}


/* Merged round-start.css */
.round-start-overlay { position: absolute; inset: 0; z-index: 40; overflow: hidden; pointer-events: none; }
.round-start-overlay[hidden] { display: none; }
.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: #fff; font-family: Arial, Helvetica, sans-serif; font-weight: 900; line-height: 1.1; letter-spacing: .06em; white-space: nowrap; text-shadow: 0 2px 18px #000, 0 0 40px #000; animation: iwashi-round-pass 1.3s ease-in-out both; }
@keyframes iwashi-round-pass {
  0% { transform: translateX(-150%); opacity: 0; }
  24%, 70% { transform: translateX(0); opacity: 1; }
  100% { transform: translateX(150%); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .round-start-overlay .round-start-text { animation: none; } }

