@font-face {
  font-family: "Roboto";
  src: url("./assets/fonts/Roboto-VariableFont_wdth-wght.ttf") format("truetype-variations");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("./assets/fonts/Inter-VariableFont_opsz-wght.ttf") format("truetype-variations");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("./assets/fonts/Inter-Italic-VariableFont_opsz-wght.ttf") format("truetype-variations");
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #050505;
  --muted: #6e6e6e;
  --line: #747474;
  --panel: #e9e9e9;
  --surface: #ffffff;
  --danger: #e51c24;
  --font-label: "Roboto", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --action-blue: #287fd3;
  --action-blue-soft: #eef6ff;
  font-family: var(--font-label);
}

* {
  box-sizing: border-box;
  font-style: normal;
}

body {
  margin: 0;
  min-width: 1194px;
  background: #f5f5f5;
  color: var(--ink);
}

body.prototype-page {
  position: relative;
  min-width: 0;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: auto;
  overscroll-behavior: none;
}

.prototype-viewport {
  position: absolute;
  top: 0;
  left: 0;
  width: 1194px;
  height: 834px;
}

.prototype-page .app-shell {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  transform: scale(var(--prototype-scale, 1));
  transform-origin: top left;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
  transition:
    background-color 120ms ease,
    color 120ms ease,
    outline-color 120ms ease,
    box-shadow 120ms ease;
}

button:hover {
  outline: 2px solid var(--action-blue);
  outline-offset: -2px;
}

.app-shell {
  position: relative;
  width: 1194px;
  height: 834px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  transition:
    opacity 180ms ease,
    filter 180ms ease;
}

.app-shell.simulating-game {
  opacity: 0.34;
  filter: blur(1px);
  pointer-events: none;
}

.top-bar {
  position: absolute;
  inset: 0 0 auto 0;
  height: 44px;
  display: flex;
  align-items: center;
  gap: 36px;
  padding: 0 48px;
  border-bottom: 0;
  background: #666;
}

.top-menu-button {
  width: auto;
  min-width: 0;
  height: 44px;
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: #fff;
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 700;
}

.top-menu-button:hover {
  background: rgba(255, 255, 255, 0.14);
  outline: none;
}

.top-menu-button:disabled,
.score-hotzone:disabled,
.history-add-button:disabled {
  cursor: default;
  color: rgba(255, 255, 255, 0.38);
}

.top-menu-button:disabled:hover,
.score-hotzone:disabled:hover,
.history-add-button:disabled:hover {
  outline: none;
  background: transparent;
}

.top-menu-button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -5px;
}

.top-menu-button:active {
  background: rgba(255, 255, 255, 0.22);
}

.new-game-top[aria-disabled="true"] {
  cursor: default;
}

.prototype-controls {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.simulate-game-top {
  width: auto;
}

.clock-inline-button {
  position: absolute;
  z-index: 3;
  top: 99px;
  width: 80px;
  height: 44px;
  border: 0;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.clock-stop-button {
  left: 468px;
}

.clock-start-button {
  left: 646px;
}

.clock-inline-button:disabled {
  cursor: default;
  background: #a9a9a9;
  color: #e6e6e6;
}

.clock-inline-button:disabled:hover {
  outline: none;
  background: #a9a9a9;
}

.ad-zone {
  position: absolute;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background:
    linear-gradient(29deg, transparent 48.9%, #aaa 49.5%, #aaa 50.5%, transparent 51.1%) left / 58px 100% no-repeat,
    linear-gradient(151deg, transparent 48.9%, #aaa 49.5%, #aaa 50.5%, transparent 51.1%) right / 58px 100% no-repeat,
    #f4f4f4;
  color: #111;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  opacity: 0.35;
}

.ad-home {
  left: 48px;
  top: 58px;
  width: 330px;
  height: 91px;
}

.ad-visitor {
  left: 807px;
  top: 58px;
  width: 330px;
  height: 91px;
}

.ad-center {
  left: 427px;
  top: 726px;
  width: 330px;
  height: 90px;
}

.team-score-card {
  position: absolute;
  width: 330px;
  height: 260px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.home-card {
  left: 48px;
  top: 154px;
}

.visitor-card {
  left: 807px;
  top: 154px;
}

.shot-step {
  position: absolute;
  border: 0;
  background: var(--action-blue);
  color: #fff;
  font-size: 30px;
  font-weight: 700;
}

.score-hotzone {
  position: absolute;
  left: 0;
  top: 0;
  width: 330px;
  height: 156px;
  border: 0;
  border-bottom: 0;
  background: #f7f7f7;
}

.shot-step:hover {
  background: #176fbd;
  outline: 2px solid #fff;
  outline-offset: -4px;
}

.shot-step:disabled {
  cursor: default;
  background: #a9a9a9;
  color: #e6e6e6;
}

.shot-step:disabled:hover {
  outline: none;
  background: #a9a9a9;
}

.score-hotzone:hover {
  outline: none;
  background: #f7f7f7;
}

.score-hotzone:not(:disabled):focus-visible {
  outline: 3px solid var(--action-blue);
  outline-offset: -8px;
}

.score-hotzone:not(:disabled):active {
  background: var(--action-blue-soft);
  transform: scale(0.992);
}

.score-value {
  display: block;
  font-size: 120px;
  line-height: 1;
  font-weight: 500;
}

.team-name {
  position: absolute;
  left: 0;
  top: 156px;
  width: 330px;
  height: 52px;
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--line);
  background: #f1f1f1;
  font-size: 28px;
  font-weight: 500;
  text-transform: uppercase;
}

.shot-minus {
  left: 0;
  bottom: 0;
  width: 44px;
  height: 52px;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.shot-plus {
  right: 0;
  bottom: 0;
  width: 44px;
  height: 52px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.shot-display {
  position: absolute;
  left: 44px;
  bottom: 0;
  width: 242px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  border-top: 1px solid var(--line);
  font-size: 18px;
  font-weight: 500;
}

.shot-display strong {
  font-size: 28px;
  font-weight: 400;
}

.history-panel {
  position: absolute;
  width: 330px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0;
}

.penalty-home,
.penalty-visitor {
  top: 451px;
  height: 169px;
}

.scoring-home,
.scoring-visitor {
  top: 652px;
  height: 164px;
}

.penalty-home,
.scoring-home {
  left: 48px;
}

.penalty-visitor,
.scoring-visitor {
  left: 807px;
}

.history-panel h2 {
  margin: 0;
  padding: 0 0 4px;
  position: absolute;
  left: 0;
  top: -21px;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
}

.empty-note {
  padding: 10px;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 14px;
  font-style: italic;
}

.history-list {
  max-height: calc(100% - 44px);
  margin: 0;
  padding: 8px 9px;
  overflow: auto;
  display: grid;
  gap: 0;
}

.history-list li {
  min-width: 0;
  list-style: none;
}

.event-row-button {
  width: 100%;
  min-height: 45px;
  display: block;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.9;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
}

.event-row-button:hover {
  background: var(--action-blue-soft);
  outline: 2px solid var(--action-blue);
  outline-offset: -2px;
}

.assist-summary,
.penalty-summary {
  font-style: italic;
}

.penalty-timer {
  font-variant-numeric: tabular-nums;
}

.history-list strong {
  display: inline;
  font-weight: 500;
}

.history-period-tabs {
  height: 44px;
  display: grid;
  grid-template-columns: repeat(5, 1fr) 44px;
  border-bottom: 1px solid var(--line);
  background: #e6e6e6;
}

.history-period-tabs.no-add-action {
  grid-template-columns: repeat(5, 1fr);
}

.history-period-tab {
  border: 0;
  border-right: 1px solid #c8c8c8;
  background: #e6e6e6;
  color: #999;
  font-size: 16px;
  font-weight: 400;
}

.history-period-tab:last-child {
  border-right: 0;
}

.history-add-button {
  border: 0;
  background: var(--action-blue);
  color: #fff;
  font-size: 30px;
  font-weight: 700;
}

.history-add-button:hover,
.game-actions button:hover,
.save-button:hover,
.launch-prototype:hover {
  background: #176fbd;
}

.danger-button:hover {
  background: #b9151c;
}

.history-period-tab:hover {
  background: var(--action-blue-soft);
}

.history-period-tab.non-current-period.deselected {
  background: #e6e6e6;
  color: #999;
  font-weight: 400;
}

.history-period-tab.current-period.selected {
  box-shadow: inset 0 0 0 3px #129f79;
  background: #fff;
  color: #111;
  font-weight: 700;
}

.history-period-tab.current-period.deselected {
  box-shadow: inset 0 0 0 3px #129f79;
  background: #e6e6e6;
  color: #111;
  font-weight: 700;
}

.history-period-tab.non-current-period.selected {
  box-shadow: inset 0 0 0 3px var(--action-blue);
  background: #fff;
  color: #6e6e6e;
  font-weight: 700;
}

.clock-panel {
  position: absolute;
  left: 427px;
  top: 50px;
  width: 330px;
  height: 273px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-top: 0;
  background: var(--panel);
}

.clock-time {
  border: 0;
  background: transparent;
  color: #000;
  font-size: 110px;
  font-weight: 700;
  letter-spacing: 0;
}

.clock-time.final-clock {
  color: #555;
  font-size: 42px;
  font-weight: 500;
}

.clock-time:disabled {
  cursor: default;
}

.clock-time:disabled:hover {
  outline: none;
}

.clock-time:not(:disabled):hover {
  background: var(--action-blue-soft);
}

.period-panel {
  position: absolute;
  left: 562px;
  top: 68px;
  width: 70px;
  height: 68px;
  display: grid;
  grid-template-rows: 24px 44px;
  border: 0;
  background: transparent;
}

.period-label {
  display: grid;
  place-items: center;
  background: transparent;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  color: #999;
}

.period-readout {
  display: grid;
  place-items: center;
  min-width: 70px;
  height: 44px;
  background: #e9e9e9;
  color: #333;
  font-size: 30px;
  font-weight: 700;
}

.period-readout-empty,
.period-readout-complete {
  color: #777;
}

.game-actions {
  position: absolute;
  left: 427px;
  top: 373px;
  width: 330px;
  height: 44px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  background: var(--panel);
}

.game-actions button {
  border: 0;
  border-right: 1px solid var(--line);
  background: var(--action-blue);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
}

.game-actions button:last-child {
  border-right: 0;
}

.game-actions button:disabled {
  cursor: default;
  background: #a9a9a9;
  color: #e6e6e6;
}

.game-actions button:disabled:hover {
  outline: none;
  background: #a9a9a9;
}

.center-panel {
  position: absolute;
  left: 427px;
  top: 430px;
  width: 330px;
  height: 285px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 24px;
}

.center-panel-title {
  position: absolute;
  left: 0;
  top: -21px;
  margin: 0;
  font-family: var(--font-label);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.15;
  text-transform: uppercase;
}

.placement-only {
  width: 210px;
  height: 82px;
  display: grid;
  place-items: center;
  border: 2px dashed #b5b5b5;
  color: #8a8a8a;
  text-align: center;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.35;
}

.center-event {
  align-self: start;
  width: 100%;
  max-height: 237px;
  display: grid;
  gap: 8px;
  border: 0;
  background: transparent;
  padding: 0;
  overflow-y: auto;
}

.center-event-button {
  min-height: 45px;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
}

.center-event-button:hover {
  background: var(--action-blue-soft);
  outline: 2px solid var(--action-blue);
  outline-offset: -2px;
}

.center-event-label {
  margin: 0;
  color: #111;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.center-event-line {
  margin-top: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
}

.official-signoff {
  width: 100%;
  display: grid;
  gap: 14px;
}

.official-signoff-button {
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 8px 14px;
  font-size: 18px;
  font-weight: 700;
}

.official-signoff-check {
  width: 26px;
  height: 26px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 26px;
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
}

.signature-dialog {
  position: absolute;
  z-index: 20;
  width: 890px;
  height: 510px;
  display: grid;
  grid-template-rows: 90px 1fr 94px;
  padding: 0;
  overflow: hidden;
}

.signature-dialog h1 {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0 36px;
  font-size: 24px;
}

.signature-dialog canvas {
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none;
  cursor: crosshair;
}

.signature-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 48px;
  padding: 0 36px;
}

.boxscore-screen {
  position: absolute;
  inset: 0;
  z-index: 8;
  display: block;
  background: #f4f4f1;
  color: #1d1d1d;
  padding: 26px 34px 30px;
  font-family: var(--font-body);
  overflow-y: auto;
}

.boxscore-screen.hidden {
  display: none;
}

.boxscore-top {
  height: 68px;
  display: flex;
  justify-content: space-between;
  align-items: start;
  border-bottom: 1px solid #c7c7c2;
}

.boxscore-top h1 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1;
  font-weight: 700;
}

.boxscore-top p {
  margin: 0;
  color: #555;
  font-size: 13px;
}

.boxscore-actions {
  display: flex;
  gap: 28px;
  align-items: center;
}

.boxscore-print,
.boxscore-upload,
.boxscore-exit {
  min-width: 110px;
  min-height: 40px;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 700;
}

.boxscore-print,
.boxscore-upload {
  border: 1px solid #555;
  background: transparent;
  color: #111;
}

.boxscore-exit {
  border: 0;
  background: var(--action-blue);
  color: #fff;
}

.boxscore-print:hover,
.boxscore-upload:hover {
  background: #fff;
}

.boxscore-exit:hover {
  background: #176fbd;
}

.boxscore-scoreboard {
  width: 720px;
  height: 174px;
  display: grid;
  grid-template-columns: 245px 160px 245px;
  align-items: start;
  column-gap: 35px;
  margin-left: 58px;
  padding: 18px 0 10px;
}

.boxscore-team h2 {
  margin: 2px 0 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 24px;
  line-height: 1.05;
  font-weight: 700;
  text-align: center;
}

.boxscore-team p {
  margin: 0;
  color: #8c8c8c;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
}

.boxscore-visitor {
  transform: translateX(42px);
}

.boxscore-score {
  margin-top: 8px;
  text-align: center;
  font-size: 64px;
  line-height: 1;
  font-weight: 700;
}

.boxscore-status {
  padding-top: 48px;
  display: grid;
  justify-items: center;
  gap: 4px;
  text-transform: uppercase;
}

.boxscore-status strong {
  font-size: 20px;
}

.boxscore-status span {
  color: #555;
  font-size: 13px;
  font-weight: 700;
  text-transform: none;
}

.boxscore-content {
  display: grid;
  grid-template-columns: 720px 320px;
  gap: 52px;
  padding: 0 44px;
}

.boxscore-main {
  min-width: 0;
}

.period-score-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  margin-bottom: 48px;
  background: transparent;
}

.period-score-table th,
.period-score-table td {
  height: 58px;
  border: 1px solid #c7c7c2;
  text-align: center;
  font-size: 16px;
}

.period-score-table th {
  height: 50px;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 700;
}

.period-score-table th:first-child,
.period-score-table td:first-child {
  width: 220px;
  padding-left: 26px;
  text-align: left;
}

.period-score-table td:last-child {
  font-weight: 700;
}

.boxscore-scoring h2,
.boxscore-card h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.boxscore-rule {
  height: 2px;
  margin: 14px 0 18px;
  background: #222;
}

.boxscore-scroll {
  height: auto;
  overflow: visible;
  padding-right: 8px;
  padding-bottom: 80px;
}

.boxscore-penalty-scroll {
  height: auto;
  padding-bottom: 0;
}

.boxscore-period-heading {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.boxscore-period-group {
  margin-bottom: 22px;
}

.boxscore-event-row {
  display: grid;
  grid-template-columns: 54px 1fr 82px;
  gap: 8px;
  align-items: start;
  min-height: 56px;
  padding: 0 0 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid #d1d1cc;
}

.boxscore-event-time {
  color: #555;
  font-size: 13px;
}

.boxscore-event-title {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 700;
}

.boxscore-event-detail {
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 400;
}

.boxscore-player-name {
  font-weight: 700;
}

.boxscore-running-score {
  align-self: center;
  display: grid;
  grid-template-columns: repeat(2, 28px);
  justify-content: end;
  gap: 8px;
}

.boxscore-running-score-team {
  display: grid;
  justify-items: center;
  gap: 2px;
}

.boxscore-running-score-digit {
  color: #1d1d1d;
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
}

.boxscore-running-score-abbreviation {
  color: #959393;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
}

.boxscore-side {
  display: grid;
  align-content: start;
  gap: 34px;
}

.boxscore-card {
  border: 1px solid #c7c7c2;
  padding: 22px 26px 24px;
  background: transparent;
}

.side-table-head {
  display: grid;
  grid-template-columns: 1fr 52px 52px;
  align-items: end;
  padding-bottom: 14px;
  border-bottom: 1px solid #d1d1cc;
}

.side-table-head span {
  color: #666;
  text-align: center;
  font-size: 11px;
  text-transform: uppercase;
}

.side-stat-row {
  display: grid;
  grid-template-columns: 1fr 52px 52px;
  min-height: 48px;
  align-items: center;
  border-bottom: 1px solid #d1d1cc;
  font-size: 16px;
}

.side-stat-row:last-child {
  border-bottom: 0;
}

.side-stat-row strong {
  text-align: center;
  font-size: 14px;
  font-weight: 700;
}

.boxscore-penalty-row {
  padding: 0 0 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid #d1d1cc;
}

.boxscore-penalty-row:last-child {
  margin-bottom: 0;
  border-bottom: 0;
}

.boxscore-penalty-meta {
  display: flex;
  gap: 18px;
  margin-bottom: 8px;
  color: #555;
  font-size: 13px;
}

.boxscore-penalty-team {
  color: #111;
  font-weight: 700;
}

.boxscore-penalty-detail {
  margin: 0;
  font-size: 16px;
  line-height: 1.35;
}

.boxscore-empty {
  color: #555;
  font-size: 14px;
  font-style: italic;
}

.shade {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: auto;
  background: rgba(245, 245, 245, 0.58);
  backdrop-filter: blur(1.5px);
}

.guide-layer {
  position: absolute;
  inset: 0;
  z-index: 60;
  pointer-events: none;
}

.guide-progress {
  position: absolute;
  z-index: 2;
  right: 16px;
  bottom: 12px;
  padding: 7px 10px;
  border: 1px solid #8a8a8a;
  background: rgba(255, 255, 255, 0.94);
  color: #333;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.guide-coachmark {
  position: absolute;
  z-index: 2;
  width: 282px;
  min-height: 138px;
  padding: 15px 16px 14px;
  border: 2px solid #111;
  background: #fff;
  color: #111;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
  pointer-events: auto;
}

.guide-coachmark h2 {
  margin: 0 0 7px;
  font-size: 19px;
  line-height: 1.2;
}

.guide-coachmark p {
  margin: 0;
  font-size: 14px;
  line-height: 1.38;
}

.guide-kicker {
  margin-bottom: 5px !important;
  color: var(--action-blue);
  font-size: 11px !important;
  font-weight: 700;
  text-transform: uppercase;
}

.guide-exit {
  margin-top: 12px;
  border: 0;
  background: transparent;
  color: var(--action-blue);
  padding: 2px 0;
  font-size: 13px;
  font-weight: 700;
}

.guide-next {
  display: block;
  width: 100%;
  margin-top: 14px;
  border: 1px solid var(--action-blue);
  background: var(--action-blue);
  color: #fff;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 700;
}

.guide-next.hidden {
  display: none;
}

.guide-transition {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  visibility: hidden;
  background: rgba(8, 16, 20, 0.76);
  opacity: 0;
  transition:
    opacity 280ms ease,
    visibility 0s linear 280ms;
}

.guide-transition.active {
  visibility: visible;
  opacity: 1;
  transition-delay: 0s;
}

.guide-transition span {
  max-width: 560px;
  border-top: 1px solid rgba(255, 255, 255, 0.45);
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  padding: 18px 28px;
  font-size: 25px;
  font-weight: 700;
  text-align: center;
}

.guide-signature-pointer {
  position: absolute;
  z-index: 3;
  width: 30px;
  height: 30px;
  border: 3px solid rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  background: rgba(18, 159, 121, 0.72);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.32);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: opacity 120ms ease;
}

.guide-signature-pointer.active {
  opacity: 1;
}

.guide-complete {
  text-align: center;
}

.guided-target {
  outline: 4px solid #f2a900 !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 7px rgba(242, 169, 0, 0.22) !important;
}

.guided-mode .app-shell :is(button, a, input, select, textarea, [role="button"]) {
  pointer-events: none;
}

.guided-mode .app-shell .guide-coachmark :is(button, a) {
  pointer-events: auto;
}

.guided-mode.guided-target-enabled .app-shell .guided-target:is(button, a, input, select, textarea, [role="button"]),
.guided-mode.guided-target-enabled .app-shell .guided-target :is(button, a, input, select, textarea, [role="button"]) {
  pointer-events: auto;
}

.goal-dialog {
  position: absolute;
  z-index: 20;
  width: 420px;
  min-height: 500px;
  border: 2px solid var(--action-blue);
  background: #fff;
  padding: 14px 20px 16px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.14);
  --dialog-accent: var(--action-blue);
}

.penalty-dialog {
  position: absolute;
  z-index: 20;
  width: 420px;
  min-height: 460px;
  border: 2px solid var(--action-blue);
  background: #fff;
  padding: 14px 20px 16px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.14);
  --dialog-accent: var(--action-blue);
}

.goal-dialog.dialog-ghosted,
.penalty-dialog.dialog-ghosted {
  opacity: 0.38;
  filter: blur(0.8px);
  pointer-events: none;
}

.config-dialog,
.end-menu-dialog {
  position: absolute;
  z-index: 20;
  border: 2px solid var(--action-blue);
  background: #fff;
  padding: 12px 10px 16px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.14);
  --dialog-accent: var(--action-blue);
}

.settings-dialog {
  width: 600px;
  height: 760px;
  display: flex;
  flex-direction: column;
  padding: 10px 10px 12px;
  overflow: hidden;
}

.settings-dialog.hidden {
  display: none;
}

.new-game-dialog {
  width: 600px;
  height: 790px;
  display: flex;
  flex-direction: column;
  padding: 10px 10px 12px;
  overflow: hidden;
}

.new-game-dialog.hidden {
  display: none;
}

.config-dialog.new-game-dialog > h1 {
  flex: 0 0 auto;
  margin-bottom: 6px;
}

.new-game-scroll-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 0 1px 2px;
  scrollbar-gutter: stable;
}

.new-game-card {
  margin: 0 0 8px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px 24px 14px;
}

.new-game-card:last-child {
  margin-bottom: 0;
}

.new-game-card h2,
.new-game-card h3,
.new-game-card h4 {
  margin: 0;
  font-weight: 700;
}

.new-game-card h2 {
  margin-bottom: 12px;
  font-size: 17px;
}

.new-game-card h3 {
  margin-bottom: 3px;
  font-size: 14px;
}

.new-game-card h4 {
  margin: 12px 0 4px;
  font-size: 13px;
}

.new-game-card p {
  max-width: none;
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.25;
}

.new-game-import-block + .new-game-import-block {
  margin-top: 20px;
}

.new-game-attachment {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
}

.new-game-attachment .outline-action {
  max-width: 390px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.attachment-remove {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--action-blue);
  color: #fff;
  padding: 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.attachment-remove.hidden {
  display: none;
}

.attachment-remove span {
  display: block;
  transform: translateY(-1px);
}

.new-game-dialog .settings-player-grid {
  margin-top: 6px;
}

.new-game-dialog .config-check,
.new-game-dialog .config-radio {
  min-height: 26px;
  margin: 1px 0;
}

.new-game-dialog .config-check input,
.new-game-dialog .config-radio input,
.new-game-dialog .settings-check-row input {
  width: 22px;
  height: 22px;
  margin: 0;
  flex: 0 0 auto;
  accent-color: var(--action-blue);
}

.new-game-dialog :disabled {
  cursor: default;
}

.new-game-dialog label:has(input:disabled),
.new-game-dialog .config-select-row:has(select:disabled) {
  color: #999;
}

.new-game-dialog button:disabled {
  border-color: #cfcfcf;
  background: #f4f4f4;
  color: #999;
}

.new-game-customization-card {
  padding: 0;
}

.new-game-expander {
  width: 100%;
  min-height: 72px;
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: start;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 12px 24px;
  text-align: left;
}

.new-game-expander:hover {
  outline: 0;
}

.new-game-expander > span:last-child {
  display: grid;
  gap: 4px;
}

.new-game-expander strong {
  font-size: 17px;
}

.new-game-expander small {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.25;
}

.new-game-disclosure {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  overflow: visible;
  color: var(--action-blue);
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  transform-origin: center;
  transition: transform 130ms ease;
}

.new-game-expander[aria-expanded="true"] .new-game-disclosure {
  transform: rotate(90deg);
}

.new-game-customization {
  padding: 0 52px 16px;
}

.new-game-customization.hidden {
  display: none;
}

.new-game-rule-heading,
.new-game-clock-heading {
  margin: 6px 0 8px;
}

.new-game-clock-heading {
  margin-top: 28px;
}

.new-game-imported-copy p {
  margin: 2px 0;
}

.new-game-imported-copy p:last-child {
  font-weight: 700;
  font-style: italic;
}

.new-game-dialog .settings-clock-grid {
  grid-template-columns: 1.35fr 1fr 0.72fr;
  column-gap: 24px;
}

.new-game-dialog .config-actions {
  position: static;
  flex: 0 0 58px;
  justify-content: flex-end;
  padding: 8px 70px 0;
}

.config-dialog.settings-dialog > h1 {
  flex: 0 0 auto;
  margin-bottom: 6px;
}

.settings-scroll-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 0 1px 2px;
  scrollbar-gutter: stable;
}

.settings-dialog .settings-card {
  margin: 0 0 8px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 7px 24px 8px;
}

.settings-dialog .settings-card:last-child {
  margin-bottom: 0;
}

.settings-dialog .settings-card h2 {
  margin-bottom: 2px;
  font-size: 17px;
}

.settings-dialog .settings-card p {
  max-width: none;
  margin-bottom: 6px;
  font-size: 13px;
  line-height: 1.25;
}

.settings-player-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 32px;
}

.settings-dialog .config-check,
.settings-dialog .config-radio {
  min-height: 26px;
  margin: 1px 0;
}

.settings-dialog .config-check input,
.settings-dialog .config-radio input,
.settings-dialog .settings-check-row input {
  width: 22px;
  height: 22px;
  margin: 0;
  flex: 0 0 auto;
  accent-color: var(--action-blue);
}

.settings-rule-note {
  font-weight: 700;
  font-style: italic !important;
}

.game-rule-fields {
  display: grid;
  gap: 2px;
  margin-top: 2px;
}

.settings-field-row {
  display: grid;
  grid-template-columns: 160px max-content;
  align-items: center;
  min-height: 28px;
  font-size: 13px;
  font-weight: 700;
}

.settings-field-row select,
.settings-time-button {
  min-width: 70px;
  min-height: 30px;
  border: 2px solid var(--action-blue);
  border-radius: 2px;
  background: #fff;
  color: #111;
  padding: 2px 8px;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
}

.settings-field-row select {
  width: 70px;
}

.settings-check-row {
  cursor: pointer;
}

.settings-check-row input {
  justify-self: start;
}

.penalty-rules-action {
  min-width: 104px;
  min-height: 30px;
  padding-inline: 8px;
}

.game-clock-card {
  min-height: 214px;
}

.settings-control-group {
  min-width: 0;
  margin: 0;
  border: 0;
  padding: 0;
}

.settings-control-group legend {
  margin: 0 0 3px;
  padding: 0;
  font-size: 13px;
  font-weight: 700;
}

.settings-dialog .config-select-row {
  margin: 2px 0 5px 30px;
}

.settings-dialog .config-select-row select {
  min-height: 30px;
}

.settings-dialog .config-actions {
  position: static;
  flex: 0 0 52px;
  justify-content: center;
  padding-top: 6px;
}

.settings-dialog :disabled {
  cursor: default;
}

.settings-dialog label:has(input:disabled),
.settings-dialog .config-select-row:has(select:disabled) {
  color: #999;
}

.settings-dialog button:disabled {
  border-color: #cfcfcf;
  background: #f4f4f4;
  color: #999;
}

.import-dialog {
  width: 420px;
  min-height: 480px;
}

.upload-dialog {
  width: 420px;
  min-height: 400px;
}

.end-menu-dialog {
  width: 420px;
  min-height: 326px;
}

.goal-dialog h1,
.penalty-dialog h1,
.config-dialog h1,
.end-menu-dialog h1 {
  margin: 0 0 22px;
  font-size: 24px;
  font-weight: 700;
}

.config-section {
  margin: 0 0 24px;
}

.config-section h2,
.upload-option h2 {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 700;
}

.config-section p,
.upload-option p {
  margin: 0 0 12px;
  max-width: 330px;
  font-size: 13px;
  line-height: 1.25;
}

.config-check,
.config-radio {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 9px 0;
  font-size: 13px;
  font-weight: 700;
}

.config-radio {
  font-weight: 500;
}

.config-select-row {
  display: grid;
  gap: 7px;
  margin: 6px 0 10px 30px;
  font-size: 12px;
  font-weight: 700;
}

.config-select-row select {
  width: 154px;
  min-height: 32px;
  border: 2px solid var(--action-blue);
  border-radius: 3px;
  background: #fff;
  color: #666;
  padding: 4px 8px;
  font: inherit;
  font-weight: 500;
}

.config-select-row select:disabled {
  border-color: #cfcfcf;
  color: #999;
  background: #f4f4f4;
}

.config-check input,
.config-radio input {
  width: 24px;
  height: 24px;
  accent-color: var(--action-blue);
}

.clock-setup-action {
  margin-left: 30px;
}

.settings-clock-grid {
  display: grid;
  grid-template-columns: 1.38fr 0.72fr 1fr;
  column-gap: 24px;
}

.outline-action,
.filled-location,
.end-menu-option {
  min-width: 96px;
  min-height: 30px;
  border: 2px solid var(--action-blue);
  border-radius: 5px;
  background: #fff;
  color: var(--action-blue);
  padding: 4px 18px;
  font-size: 13px;
  font-weight: 700;
}

.outline-action:hover,
.end-menu-option:hover {
  background: var(--action-blue-soft);
}

.filled-location {
  min-width: 255px;
  border-color: #777;
  background: #f5f5f5;
  color: #777;
}

.import-team-section h2 {
  margin-top: 16px;
}

.upload-option {
  margin: 0 0 26px;
}

.upload-dialog .upload-option {
  margin-bottom: 12px;
}

.upload-dialog .config-check {
  margin: 4px 0;
}

.upload-dialog .upload-option p {
  margin-bottom: 8px;
}

.config-actions {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.config-actions.centered {
  justify-content: center;
}

.save-button:disabled {
  cursor: default;
  background: #e4e4e4;
  color: #999;
}

.save-button:disabled:hover {
  background: #e4e4e4;
  outline: none;
}

.end-menu-option {
  display: block;
  width: 368px;
  min-height: 64px;
  margin: 0 auto 36px;
  border-color: #444;
  color: #111;
  font-size: 24px;
  font-weight: 500;
  text-transform: uppercase;
}

.top-fields {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 54px;
  margin-bottom: 26px;
}

.compact-field {
  display: grid;
  justify-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  padding: 0;
}

.compact-field:hover strong,
.wide-field:hover strong {
  background: var(--action-blue-soft);
}

.compact-field span {
  font-size: 14px;
  font-weight: 500;
}

.compact-field strong {
  min-width: 54px;
  min-height: 28px;
  display: grid;
  place-items: center;
  border: 2px solid var(--dialog-accent);
  background: #fff;
  font-size: 14px;
  font-weight: 700;
}

.penalty-top-fields {
  grid-template-columns: repeat(2, 1fr);
  width: 250px;
  margin-bottom: 28px;
}

.penalty-fields {
  display: grid;
  gap: 24px;
  max-width: none;
}

.wide-field {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: center;
  gap: 14px;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
}

.wide-field span {
  font-size: 14px;
  font-weight: 500;
}

.wide-field strong {
  min-height: 28px;
  display: grid;
  align-items: center;
  border: 2px solid var(--dialog-accent);
  background: #fff;
  padding: 0 8px;
  font-size: 14px;
  font-weight: 700;
}

.player-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.player-control {
  display: grid;
  grid-template-columns: 24px 1fr;
  grid-template-areas:
    "label label"
    "check button";
  gap: 5px 8px;
  align-items: center;
}

.player-control input {
  grid-area: check;
  width: 24px;
  height: 24px;
  accent-color: var(--dialog-accent);
}

.player-control-label {
  grid-area: label;
  font-size: 14px;
  font-weight: 700;
}

.player-button {
  grid-area: button;
  height: 28px;
  border: 2px solid var(--dialog-accent);
  background: #fff;
  color: var(--dialog-accent);
  padding: 0 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
}

.player-button:hover,
.time-part:hover {
  background: var(--action-blue-soft);
}

.penalty-player-control {
  max-width: none;
}

.dialog-actions {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 16px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 20px;
}

.dialog-actions .edit-action {
  grid-column: 1;
  justify-self: start;
}

.dialog-actions .text-button {
  grid-column: 2;
}

.dialog-actions .save-button {
  grid-column: 3;
}

.text-button {
  border: 0;
  background: transparent;
  color: var(--dialog-accent, var(--action-blue));
  padding: 8px 14px;
  font-size: 16px;
  font-weight: 500;
}

.text-button:hover {
  background: var(--action-blue-soft);
}

.save-button {
  min-width: 66px;
  border: 0;
  border-radius: 6px;
  background: var(--dialog-accent, var(--action-blue));
  color: #fff;
  padding: 9px 16px;
  font-size: 16px;
  font-weight: 700;
}

.danger-button {
  border: 0;
  border-radius: 6px;
  background: var(--danger);
  color: #fff;
  padding: 9px 16px;
  font-size: 16px;
  font-weight: 700;
}

.picker {
  position: absolute;
  z-index: 30;
  border: 2px solid var(--action-blue);
  background: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  --picker-accent: var(--action-blue);
}

.clock-dialog {
  position: absolute;
  z-index: 30;
  width: 300px;
  border: 2px solid var(--action-blue);
  background: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  --picker-accent: var(--action-blue);
}

.clock-dialog h1 {
  min-height: 44px;
  display: grid;
  place-items: center;
  margin: 0;
  border-bottom: 2px solid var(--picker-accent);
  font-size: 18px;
  font-weight: 700;
}

.event-menu {
  position: absolute;
  z-index: 35;
  width: 160px;
  border: 2px solid var(--action-blue);
  background: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.event-menu-option {
  width: 100%;
  min-height: 45px;
  border: 0;
  border-bottom: 2px solid var(--action-blue);
  background: #fff;
  color: #111;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
}

.event-menu-option:last-child {
  border-bottom: 0;
}

.event-menu-option:hover {
  background: var(--action-blue-soft);
}

.announce-dialog {
  position: absolute;
  left: 347px;
  top: 214px;
  z-index: 45;
  width: 500px;
  min-height: 350px;
  border: 2px solid var(--action-blue);
  background: #fff;
  padding: 12px 10px 18px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
}

.announce-dialog h1 {
  margin: 0 0 20px;
  font-size: 24px;
  line-height: 1;
  font-weight: 700;
}

.announce-copy {
  min-height: 154px;
  max-width: 430px;
  display: grid;
  gap: 18px;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.3;
  font-weight: 700;
}

.announce-copy p {
  margin: 0;
}

.announce-speaker {
  margin-top: 22px;
}

.announce-speaker p {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
}

.announce-button {
  min-width: 118px;
  min-height: 30px;
  border: 2px solid var(--action-blue);
  border-radius: 5px;
  background: #fff;
  color: var(--action-blue);
  font-size: 13px;
  font-weight: 700;
}

.announce-button:hover {
  background: var(--action-blue-soft);
}

.announce-ok {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  min-width: 84px;
}

.picker .save-button {
  background: var(--picker-accent);
  color: #fff;
}

.picker .text-button {
  color: var(--picker-accent);
}

.picker-title {
  min-height: 44px;
  display: grid;
  place-items: center;
  border-bottom: 2px solid var(--picker-accent);
  font-weight: 700;
  font-size: 18px;
}

.choice-list {
  display: grid;
}

.choice-button {
  min-width: 244px;
  min-height: 50px;
  border: 0;
  border-bottom: 2px solid var(--picker-accent);
  background: #fff;
  font-size: 18px;
  font-weight: 700;
}

.choice-button:last-child {
  border-bottom: 0;
}

.choice-button:hover,
.choice-button.selected {
  background: var(--action-blue-soft);
}

.time-picker {
  width: 270px;
  overflow: visible;
}

.time-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.time-part {
  min-height: 54px;
  border: 0;
  border-right: 2px solid var(--picker-accent);
  border-bottom: 2px solid var(--picker-accent);
  background: #fff;
  font-size: 16px;
  font-weight: 500;
}

.time-part:last-child {
  border-right: 0;
}

.picker-actions,
.picker-footer {
  display: flex;
  justify-content: space-between;
  padding: 14px 16px;
}

.time-wheel-overlay {
  position: absolute;
  z-index: 2;
  top: 8px;
  width: 150px;
  border: 2px solid var(--picker-accent);
  background: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.time-wheel-overlay .choice-list {
  max-height: 264px;
  overflow-y: auto;
}

.time-wheel-overlay .picker-title {
  min-height: 30px;
  font-size: 13px;
}

.time-wheel-overlay .choice-button {
  min-width: 146px;
  min-height: 38px;
  font-size: 14px;
  font-weight: 500;
}

.time-wheel-overlay .selected {
  background: #21d0a0;
  color: #fff;
  font-size: 28px;
  font-weight: 700;
}

.player-picker {
  width: 250px;
}

.player-picker .choice-list {
  max-height: 273px;
  overflow-y: auto;
}

.player-picker .choice-button {
  min-width: 246px;
  min-height: 39px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
}

.picker-footer {
  border-top: 2px solid var(--picker-accent);
}

.confirm-dialog {
  position: absolute;
  left: 397px;
  top: 274px;
  z-index: 40;
  width: 400px;
  min-height: 210px;
  border: 2px solid #222;
  background: #fff;
  padding: 22px 24px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
}

.confirm-dialog h1 {
  margin: 0 0 12px;
  font-size: 24px;
}

.confirm-dialog p {
  margin: 0 0 24px;
  line-height: 1.4;
}

.next-period-confirm {
  box-sizing: border-box;
  width: 420px;
  min-height: 224px;
  border-color: var(--action-blue);
  padding: 18px;
}

.next-period-confirm h1 {
  margin-bottom: 24px;
  font-size: 18px;
}

.next-period-confirm p {
  margin-bottom: 22px;
  font-size: 16px;
  line-height: 1.25;
}

.confirm-actions,
.assist-actions {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}

.assist-dialog {
  width: 470px;
  left: 362px;
}

.hidden {
  display: none !important;
}

.launch-page {
  min-width: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: #ececea;
}

.launch-card {
  width: min(520px, calc(100vw - 40px));
  border: 1px solid #777;
  background: #fff;
  padding: 42px;
  text-align: center;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.12);
}

.launch-card h1 {
  margin: 0 0 12px;
  font-size: 30px;
}

.launch-card p {
  margin: 0 0 28px;
  color: var(--muted);
  line-height: 1.45;
}

.launch-prototype {
  border: 0;
  border-radius: 6px;
  background: var(--action-blue);
  color: #fff;
  padding: 14px 22px;
  font-size: 18px;
  font-weight: 700;
}

.launch-actions {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.launch-secondary {
  border: 2px solid var(--action-blue);
  border-radius: 6px;
  background: #fff;
  color: var(--action-blue);
  padding: 12px 20px;
  font-size: 17px;
  font-weight: 700;
}

.launch-secondary:hover {
  background: var(--action-blue-soft);
}

.fallback-link {
  margin: 8px 0 0 !important;
  font-size: 13px;
}

@media print {
  body {
    min-width: 0;
    background: #fff;
  }

  body.prototype-page {
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    overflow: visible;
  }

  .prototype-viewport {
    position: static;
    width: auto !important;
    height: auto !important;
  }

  .prototype-page .app-shell {
    position: relative;
    transform: none !important;
  }

  .app-shell {
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    border: 0;
  }

  .app-shell > :not(.boxscore-screen) {
    display: none !important;
  }

  .boxscore-screen {
    position: static;
    display: block !important;
    overflow: visible;
    padding: 0;
    background: #fff;
  }

  .boxscore-actions {
    display: none;
  }

  .boxscore-content {
    break-inside: auto;
  }

  .boxscore-card,
  .boxscore-event-row,
  .boxscore-penalty-row {
    break-inside: avoid;
  }

  .boxscore-scroll,
  .boxscore-penalty-scroll {
    height: auto;
    overflow: visible;
    padding-bottom: 0;
  }
}
