:root {
  color-scheme: light;
  --bg: #f4efe4;
  --bg-accent: rgba(255, 199, 124, 0.34);
  --surface: rgba(255, 252, 247, 0.9);
  --surface-strong: #fffaf3;
  --surface-soft: rgba(255, 246, 234, 0.82);
  --surface-border: rgba(91, 60, 25, 0.13);
  --text: #22160c;
  --muted: #6f5b49;
  --muted-strong: #4d3a2b;
  --primary: #b44f1e;
  --primary-strong: #7d2f0d;
  --primary-soft: #ffe1c6;
  --danger: #a83232;
  --danger-soft: #ffe0e0;
  --success: #1e7d4f;
  --shadow: 0 24px 60px rgba(61, 36, 13, 0.14);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #14110e;
  --bg-accent: rgba(186, 103, 45, 0.14);
  --surface: rgba(27, 23, 19, 0.88);
  --surface-strong: #1c1713;
  --surface-soft: rgba(43, 36, 30, 0.92);
  --surface-border: rgba(255, 232, 212, 0.12);
  --text: #f6efe7;
  --muted: #c8b8a7;
  --muted-strong: #eadccf;
  --primary: #ff8a48;
  --primary-strong: #ffb07f;
  --primary-soft: rgba(255, 149, 77, 0.16);
  --danger: #ff6a6a;
  --danger-soft: rgba(255, 106, 106, 0.14);
  --success: #65c58d;
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.4);
}

* {
  box-sizing: border-box;
}

html {
  background:
    radial-gradient(circle at top left, var(--bg-accent), transparent 38%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg) 100%);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
select {
  cursor: pointer;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  background: var(--surface-strong);
  color: var(--text);
  padding: 0.95rem 1rem;
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--primary) 28%, transparent);
  outline-offset: 2px;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

.hidden {
  display: none !important;
}

.backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(14, 10, 7, 0.5);
  backdrop-filter: blur(8px);
}

.app-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--surface-border);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: clamp(4.2rem, 18vw, 6.8rem);
  height: auto;
  flex: none;
}

.icon-button {
  min-width: 2.75rem;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--surface-border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  box-shadow: none;
  padding: 0 0.9rem;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 60;
  width: min(86vw, 340px);
  height: 100dvh;
  padding: 1rem;
  background: var(--surface-strong);
  border-left: 1px solid var(--surface-border);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.drawer-link {
  text-align: left;
  min-height: 3rem;
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  background: var(--surface);
  color: var(--text);
  padding: 0.85rem 1rem;
}

.app-shell {
  width: min(100%, 960px);
  margin: 0 auto;
  padding: 1rem;
}

.screen {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.screen + .screen {
  margin-top: 0;
}

.surface-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: 1rem;
  backdrop-filter: blur(14px);
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.stack-tight {
  gap: 0.65rem;
}

.screen-title {
  margin: 0;
  font-size: clamp(1.6rem, 4.5vw, 2.3rem);
  letter-spacing: -0.03em;
}

.screen-lead,
.muted,
.fine-print,
.helper,
.empty-state {
  color: var(--muted);
}

.plain-copy {
  margin-top: 0.5rem;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.eyebrow {
  margin: 0;
  color: var(--primary-strong);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
}

.hero {
  padding: 0.5rem 0 0.75rem;
}

.hero-actions {
  display: grid;
  gap: 0.75rem;
}

.home-history-section {
  display: none;
}

.home-history-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.home-history-item-shell {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--surface-border);
}

.home-history-item-shell:last-child {
  border-bottom: 0;
}

.home-history-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.9rem;
  width: 100%;
  padding: 0.95rem 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  touch-action: pan-y;
  user-select: none;
  will-change: transform, opacity;
  position: relative;
  z-index: 1;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.home-history-item.swiping {
  transition: none;
}

.home-history-item:active {
  opacity: 0.94;
}

.home-history-copy {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.home-history-title {
  font-size: 1rem;
  line-height: 1.25;
}

.home-history-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.home-history-time {
  flex: none;
  color: var(--muted);
  font-size: 0.88rem;
  text-align: right;
}

.home-history-actions {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 96px;
  display: grid;
  place-items: center;
  background: transparent;
  opacity: 0;
  pointer-events: none;
  z-index: 2;
  transition: opacity 180ms ease;
}

.home-history-item-shell.swiping .home-history-actions,
.home-history-item-shell.revealed .home-history-actions {
  opacity: 1;
}

.home-history-item-shell.revealed .home-history-actions {
  pointer-events: auto;
}

.home-history-delete {
  width: calc(100% - 0.6rem);
  min-height: calc(100% - 0.6rem);
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, white 12%, var(--danger));
  background: color-mix(in srgb, var(--danger) 92%, black);
  color: #fff;
  font-weight: 700;
  box-shadow: inset 0 1px 0 color-mix(in srgb, white 18%, transparent);
}

.game-list-item-shell {
  margin: 0;
}

.game-list-item {
  padding-inline-end: 0.4rem;
}

.game-list-copy {
  gap: 0.35rem;
}

.game-list-submeta {
  font-size: 0.84rem;
}

.home-credits {
  margin-top: auto;
  padding-top: 0.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.4;
}

.primary-action,
.secondary-action,
.ghost-action,
.menu-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.9rem 1.1rem;
  font-weight: 700;
  text-align: center;
}

.primary-action {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-strong) 100%);
  color: #fff9f3;
}

.secondary-action,
.ghost-action,
.menu-action {
  background: var(--surface-soft);
  color: var(--text);
  border-color: var(--surface-border);
}

.button-secondary {
  background: var(--surface-soft);
  color: var(--text);
  border: 1px solid var(--surface-border);
}

.destructive {
  color: var(--danger);
  border-color: color-mix(in srgb, var(--danger) 24%, transparent);
  background: var(--danger-soft);
}

.cta-grid,
.stat-grid,
.settings-grid {
  display: grid;
  gap: 0.9rem;
}

.cta-card,
.game-card,
.player-chip,
.stat-card,
.settings-card,
.round-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 1rem;
}

.empty-state {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.cta-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cta-card strong,
.game-card strong,
.stat-card strong {
  font-size: 1.05rem;
}

.cta-card small,
.game-card small,
.stat-card small {
  color: var(--muted);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.field-label {
  font-size: 0.92rem;
  color: var(--muted-strong);
  font-weight: 600;
}

.inline-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  align-items: end;
}

.chip-list,
.score-list,
.game-list,
.round-list,
.stats-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.player-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

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

.chip-remove {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid var(--surface-border);
  background: var(--surface-strong);
  color: var(--danger);
}

.segmented {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
}

.segmented option,
.segmented select {
  font-weight: 600;
}

.new-game-mode-toggle {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

.mode-option {
  width: 100%;
  min-height: 3.1rem;
  padding: 0.7rem 0.95rem;
  border-radius: 16px;
  border: 1px solid var(--surface-border);
  background: var(--surface-soft);
  color: var(--text);
  font-weight: 700;
}

.mode-option.is-active {
  background: color-mix(in srgb, var(--primary) 20%, var(--surface));
  border-color: color-mix(in srgb, var(--primary) 30%, var(--surface-border));
  color: var(--text);
  box-shadow: none;
}

.game-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.game-card-active {
  border-color: color-mix(in srgb, var(--primary) 24%, var(--surface-border));
}

.game-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.6rem;
}

.game-card-title {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.game-card-title strong {
  font-size: 1.05rem;
}

.game-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.6rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 1.9rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-strong);
  font-size: 0.8rem;
  font-weight: 700;
}

.pill-success {
  background: color-mix(in srgb, var(--success) 18%, transparent);
  color: var(--success);
}

.pill-muted {
  background: color-mix(in srgb, var(--muted) 16%, transparent);
  color: var(--muted-strong);
}

.game-card-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.menu-trigger {
  min-width: 2.75rem;
  min-height: 2.75rem;
  border-radius: 999px;
  border: 1px solid var(--surface-border);
  background: var(--surface-strong);
  color: var(--text);
}

.menu-popover {
  position: fixed;
  z-index: 80;
  min-width: 220px;
  padding: 0.55rem;
  border-radius: 18px;
  background: var(--surface-strong);
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow);
}

.menu-popover .menu-action {
  width: 100%;
  justify-content: flex-start;
  border-radius: 14px;
}

.menu-popover .menu-action + .menu-action {
  margin-top: 0.4rem;
}

.top-summary {
  display: grid;
  gap: 0.75rem;
}

.top-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.75rem;
}

.summary-block {
  border-radius: 18px;
  border: 1px solid var(--surface-border);
  background: var(--surface);
  padding: 0.95rem;
}

.summary-block strong {
  display: block;
  font-size: 1.2rem;
}

.score-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px;
  gap: 0.75rem;
  align-items: center;
}

.score-row .player-name {
  font-weight: 700;
}

.score-row input {
  text-align: right;
  font-size: 1.1rem;
  min-height: 3.25rem;
}

.current-game-header {
  gap: 0.1rem;
}

.current-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.1rem 0.35rem;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.2;
}

.current-meta-line span + span::before {
  content: "•";
  margin-right: 0.35rem;
  color: var(--surface-border);
}

.current-game-header .eyebrow {
  font-size: 0.72rem;
  margin-bottom: 0;
}

.current-game-header .screen-title {
  margin-bottom: 0;
  line-height: 0.98;
  font-size: clamp(1.5rem, 7vw, 2.05rem);
}

.current-score-form {
  gap: 0.75rem;
}

.current-score-header {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.current-order-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.current-order-toggle .primary-action,
.current-order-toggle .secondary-action {
  min-height: 42px;
  padding: 0.5rem 0.8rem;
  font-size: 0.88rem;
  border-radius: 14px;
  box-shadow: none;
}

.current-order-toggle .secondary-action {
  background: transparent;
}

.current-order-toggle .primary-action {
  background: color-mix(in srgb, var(--primary) 18%, var(--surface));
  color: var(--text);
  border-color: color-mix(in srgb, var(--primary) 24%, var(--surface-border));
}

.current-score-form .score-list {
  gap: 0.45rem;
}

.current-score-form .score-row {
  padding: 0.6rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--surface-border) 75%, transparent);
}

.current-score-form .score-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.current-score-form .field {
  gap: 0.25rem;
}

.current-score-form .round-note {
  min-height: 68px;
}

.sticky-actions {
  position: sticky;
  bottom: 0.75rem;
  z-index: 20;
  padding: 0;
}

.current-score-form .sticky-actions {
  margin-top: 0.1rem;
}

.current-score-form .sticky-actions .primary-action {
  width: 100%;
  min-height: 4rem;
  border-radius: 22px;
  font-size: 1.05rem;
}

.round-note {
  min-height: 100px;
}

.state-banner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--surface-border);
  background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 18%, transparent), var(--surface));
  padding: 1rem;
}

.current-details {
  border-top: 1px solid var(--surface-border);
  padding-top: 0;
}

.current-details > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  font-size: 0.92rem;
}

.current-details > summary::-webkit-details-marker {
  display: none;
}

.current-details-caret {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  border: 1px solid var(--surface-border);
  color: var(--muted);
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.current-details[open] .current-details-caret {
  transform: rotate(180deg);
  background: var(--surface);
  color: var(--text);
}

.current-details-body {
  padding-top: 0.45rem;
  gap: 0.55rem;
}

.current-summary-grid {
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.5rem;
}

.current-secondary-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
}

.current-secondary-actions .secondary-action {
  width: 100%;
  flex: none;
  min-height: 3.5rem;
  padding: 0.7rem 0.95rem;
  border-radius: 16px;
  font-size: 0.95rem;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 8, 6, 0.44);
  backdrop-filter: blur(10px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  border-radius: 28px;
  background: var(--surface-strong);
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow);
  padding: 1.1rem;
}

.modal-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.modal-actions > * {
  flex: 1;
}

.celebration {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: grid;
  place-items: center;
  padding: 1rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, color-mix(in srgb, var(--primary) 20%, transparent), transparent 28%),
    radial-gradient(circle at 80% 30%, color-mix(in srgb, var(--success) 22%, transparent), transparent 30%),
    radial-gradient(circle at 50% 80%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 28%),
    rgba(10, 7, 6, 0.72);
  backdrop-filter: blur(10px);
}

.celebration-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.celebration-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.3rem;
  justify-items: center;
  max-width: 22rem;
  padding: 1.15rem 1.2rem 1rem;
  text-align: center;
  border-radius: 26px;
  border: 1px solid color-mix(in srgb, var(--primary) 26%, var(--surface-border));
  background: color-mix(in srgb, var(--surface-strong) 96%, #000 4%);
  box-shadow: var(--shadow);
}

.celebration-panel .eyebrow {
  opacity: 0.95;
}

.celebration-panel h2 {
  color: var(--text);
}

.celebration-name {
  font-size: clamp(1.9rem, 6vw, 2.65rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: #fff9f2;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

.celebration-pulse {
  animation: celebrationPulse 2400ms ease-out forwards;
}

@keyframes celebrationPulse {
  0% {
    transform: scale(0.96);
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  70% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.03);
    opacity: 0;
  }
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  z-index: 100;
  width: min(92vw, 360px);
  padding: 0.85rem 1rem;
  border-radius: 16px;
  background: var(--surface-strong);
  color: var(--text);
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow);
}

.settings-fieldset {
  display: grid;
  gap: 0.45rem;
  border: 0;
  margin: 0;
  padding: 0;
}

.settings-fieldset legend {
  padding: 0;
  margin-bottom: 0.1rem;
  font-weight: 700;
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 3.4rem;
  padding: 0.1rem 0;
}

.toggle-row span:first-child {
  min-width: 0;
}

.toggle-row input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  width: 3.25rem;
  height: 1.9rem;
  border: 1px solid var(--surface-border);
  border-radius: 999px;
  background: var(--surface-strong);
  padding: 0.2rem;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--surface-border) 70%, transparent);
  position: relative;
  transition:
    background 140ms ease,
    border-color 140ms ease,
    box-shadow 140ms ease;
}

.toggle-row input[type="checkbox"]::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0.2rem;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 50%;
  background: var(--muted);
  transform: translateY(-50%);
  transition: transform 140ms ease, background 140ms ease;
}

.toggle-row input[type="checkbox"]:checked {
  background: color-mix(in srgb, var(--primary) 80%, var(--surface-strong));
  border-color: color-mix(in srgb, var(--primary) 45%, var(--surface-border));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--primary) 30%, transparent);
}

.toggle-row input[type="checkbox"]:checked::after {
  transform: translate(1.3rem, -50%);
  background: #fff;
}

.toggle-row input[type="checkbox"]:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--primary) 28%, transparent);
  outline-offset: 2px;
}

.footer-note {
  padding: 0.5rem 0.2rem 1rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (min-width: 720px) {
  .app-shell {
    padding: 1.25rem;
  }

  .hero-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-grid,
  .stat-grid,
  .settings-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .segmented {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .new-game-mode-toggle {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .modal-panel {
    padding: 1.4rem;
  }

  .score-row {
    grid-template-columns: minmax(0, 1fr) 140px;
  }
}

@media (max-width: 719px) {
  .home-secondary-action,
  .home-current-game {
    display: none;
  }

  .home-history-section {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  .home-history-item {
    padding-right: 0.2rem;
  }

  .current-game-view {
    gap: 0.65rem;
  }

  .current-game-header .screen-title {
    font-size: clamp(1.5rem, 7vw, 2.05rem);
  }

  .current-game-view .top-summary-grid {
    gap: 0.55rem;
  }

  .current-game-view .summary-block {
    padding: 0.72rem 0.8rem;
  }

  .current-game-view .summary-block strong {
    font-size: 1.05rem;
  }

  .current-game-view .state-banner {
    padding: 0.8rem;
  }

  .current-details .summary-block {
    padding: 0.72rem 0.8rem;
  }

  .current-details {
    margin-top: 0.15rem;
  }

  .current-secondary-actions {
    grid-template-columns: 1fr;
  }

  .current-secondary-actions .secondary-action {
    min-height: 4rem;
  }
}

@media (min-width: 720px) {
  .current-secondary-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
