/* Use the existing SHOOT OUT title rail height on each gameplay surface. */
: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:0;
}
body .game-info { flex-direction:column;align-items:stretch;justify-content:center; }
body .game-info h1 { margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }
.game-rule-caption { margin:0 calc(-1 * clamp(6px,1.2cqw,18px));padding-inline:clamp(6px,1.2cqh,14px);background:#EB6238;color:#fff;font-size:clamp(9px,1cqw,14px);line-height:1.5; }
body #game .mobileGameHeader { display:block;position:absolute;top:0;left:0;width:20%; }
body #game .countUpTitle { background:#007BBB;color:#fff;padding-inline:clamp(6px,1.2cqh,14px);text-align:left;font-weight:700;white-space:nowrap; }
body #game { --rail-title-height:var(--game-title-height); }
body[data-setup-fit-game="choquiz"]:not([data-iwashi-header-screen]) .app::before { box-sizing:border-box;height:var(--game-title-height);min-height:var(--game-title-height);display:flex;align-items:center;padding-block:0;line-height:1;font-size:clamp(12px,2vw,24px); }
body[data-setup-fit-game="choquiz"]:not([data-iwashi-header-screen]) .app::after { top:calc(18px + var(--game-title-height)); }
body[data-setup-fit-game="choquiz"] #micBtn { min-width:100px;white-space:nowrap;font-size:16px; }
body button[data-mic-active] { color:#fff!important; }
body button[data-mic-active="true"] {
  background:#EB6238!important;
  border-color:#EB6238!important;
  color:#fff!important;
  box-shadow:none!important;
}
body button[data-mic-active="true"] * { color:#fff!important; }
body button[data-mic-active="true"] .mic-dot { background:#fff!important;box-shadow:none!important;animation:none!important; }
body[data-setup-fit-game="countup"] #game .micButtons #voiceLogBtn { grid-column:1 / -1;width:100%;height:auto;min-height:28px;aspect-ratio:auto; }
body[data-setup-fit-game="countup"] #game:not(.dartMode) .micButtons { grid-template-rows:minmax(0,1fr) minmax(0,1fr); }
body[data-setup-fit-game="countup"] #game .micButtons .mic { white-space:nowrap;font-size:clamp(8px,.75cqw,11px)!important; }
@media (min-width:921px) and (hover:hover) and (pointer:fine) {
  body #game .mobileGameHeader > :is(.mobileRoundHeading,.mobilePlayerHeading) { display:none; }
  body #game .scoreHead { margin-top:var(--game-title-height); }
}
@media(max-height:550px),(pointer:coarse) {
  :root { --game-title-height:calc(clamp(9px,1.15dvmax,12px) * 1.5 + 6px); }
}
