/* Game Night Kit. Shared tokens (colors, radius, shadow, fonts) come from /shared/tokens.css */

*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  /* The sticky tab bar sits under the tool-nav */
  --tabs-height: 3.9rem;
}

html {
  /* Focused or scrolled-to elements stay clear of the sticky bars */
  scroll-padding-top: calc(var(--tool-nav-height) + var(--tabs-height) + 0.75rem);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
}

/* Components set display (grid, flex); keep the hidden attribute stronger */
[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.tool {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
}

.game {
  display: grid;
  gap: 1rem;
}

.game-intro {
  display: grid;
  gap: 0.5rem;
}

.game-title {
  margin: 0;
  font-family: var(--font-display);
  text-transform: var(--display-case);
  font-size: clamp(1.5rem, 6vw, 2rem);
  font-weight: 800;
  letter-spacing: var(--tracking-display);
}

.card {
  display: grid;
  gap: 1rem;
  min-width: 0;
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.card-title {
  margin: 0;
  font-family: var(--font-display);
  text-transform: var(--display-case);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: var(--tracking-display);
}

.card-title:focus {
  outline: none;
}

.card-hint {
  margin: 0;
  color: var(--text-muted);
}

.card-hint--small {
  font-size: 0.85rem;
}

.sub-title,
.label-mono {
  margin: 0;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ── controls ─────────────────────────────────────────────────────────────── */

.field {
  display: grid;
  gap: 0.5rem;
  min-width: 0;
}

.field-label {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.input {
  width: 100%;
  min-width: 0;
  min-height: 2.75rem;
  padding: 0.6rem 0.75rem;
  font: inherit;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) - 4px);
}

.input--mono {
  font-family: var(--font-mono);
}

.input:focus-visible,
.btn:focus-visible,
.segmented-btn:focus-visible,
.icon-btn:focus-visible,
.step-btn:focus-visible,
.tab:focus-visible,
.die-btn:focus-visible,
.preset:focus-visible,
.turn-chip:focus-visible,
.round-btn:focus-visible,
.switch-input:focus-visible,
.table-wrap:focus-visible {
  outline: 2px solid var(--accent-text);
  outline-offset: 2px;
}

.panel:focus-visible {
  outline: 2px solid var(--accent-text);
  outline-offset: 4px;
  border-radius: var(--radius);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  padding: 0.55rem 1rem;
  font: 600 0.9rem/1.2 var(--button-font);
  text-transform: var(--button-case);
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) - 4px);
  cursor: pointer;
  touch-action: manipulation;
}

.btn:hover {
  border-color: var(--text-muted);
}

.btn svg {
  width: 1rem;
  height: 1rem;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn--primary {
  color: var(--on-accent);
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
}

.btn--primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.btn--big {
  min-height: 3.5rem;
  padding-inline: 1.5rem;
  font-size: 1.05rem;
}

.btn--small {
  min-height: 2.5rem;
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
}

[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn[aria-disabled="true"]:hover {
  border-color: var(--border);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}

.segmented {
  display: inline-flex;
  padding: 0.2rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) - 2px);
}

.segmented--full {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.segmented-btn {
  min-height: 2.5rem;
  padding: 0.3rem 0.8rem;
  font: 600 0.85rem/1.15 var(--button-font);
  text-transform: var(--button-case);
  color: var(--text-muted);
  background: transparent;
  border: 0;
  border-radius: calc(var(--radius) - 5px);
  cursor: pointer;
}

.segmented-btn[aria-pressed="true"] {
  color: var(--on-accent);
  background: var(--accent);
}

.form-error {
  margin: 0;
  font-size: 0.9rem;
  color: var(--danger);
}

.inline-form {
  display: flex;
  gap: 0.5rem;
}

.action-status {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.action-status:empty {
  display: none;
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  flex: none;
  padding: 0;
  color: var(--text-muted);
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.icon-btn:hover {
  color: var(--danger);
  background: rgba(var(--accent-rgb), 0.12);
}

.icon-btn svg,
.step-btn svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

/* Minus / plus / ± buttons */
.step-btn {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  flex: none;
  padding: 0;
  font: 700 1.1rem/1 var(--font-sans);
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) - 4px);
  cursor: pointer;
  touch-action: manipulation;
}

.step-btn:hover {
  border-color: var(--text-muted);
}

.stepper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.stepper-value {
  min-width: 4.5rem;
  font-family: var(--font-display);
  text-transform: var(--display-case);
  font-size: 1.35rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

/* A checkbox drawn as an on/off switch */
.switch {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 2.75rem;
  font-weight: 600;
  cursor: pointer;
}

.switch-input {
  position: relative;
  width: 2.75rem;
  height: 1.6rem;
  flex: none;
  margin: 0;
  appearance: none;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background var(--duration-fast) var(--ease);
}

.switch-input::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0.2rem;
  width: 1.1rem;
  height: 1.1rem;
  background: var(--text-muted);
  border-radius: var(--radius-pill);
  transform: translateY(-50%);
  transition:
    transform var(--duration-fast) var(--ease),
    background var(--duration-fast) var(--ease);
}

.switch-input:checked {
  background: var(--accent);
  border-color: var(--accent);
}

.switch-input:checked::before {
  background: var(--on-accent);
  transform: translate(1.1rem, -50%);
}

.switch-input:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.switch:has(.switch-input:disabled) {
  color: var(--text-muted);
  cursor: not-allowed;
}

.switch-field {
  display: grid;
  gap: 0.15rem;
}

.wake {
  display: grid;
  gap: 0.15rem;
}

.wake-status {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.wake-status:empty {
  display: none;
}

/* ── tabs ─────────────────────────────────────────────────────────────────── */

.tabs {
  position: sticky;
  top: var(--tool-nav-height);
  z-index: 100;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.25rem;
  margin-inline: -0.25rem;
  padding: 0.25rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.tab {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 0.2rem;
  min-width: 0;
  min-height: 3.25rem;
  padding: 0.35rem 0.2rem;
  font: 600 0.78rem/1.1 var(--button-font);
  text-transform: var(--button-case);
  text-align: center;
  overflow-wrap: anywhere;
  color: var(--text-muted);
  background: transparent;
  border: 0;
  border-radius: calc(var(--radius) - 4px);
  cursor: pointer;
  touch-action: manipulation;
}

.tab:hover {
  color: var(--text);
}

.tab[aria-selected="true"] {
  color: var(--on-accent);
  background: var(--accent);
}

.tab svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.panel {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

/* ── players ──────────────────────────────────────────────────────────────── */

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chips:empty {
  display: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.1rem;
  max-width: 100%;
  padding: 0.1rem 0.15rem 0.1rem 0.8rem;
  background: rgba(var(--accent-rgb), 0.12);
  border: 1px solid rgba(var(--accent-rgb), 0.35);
  border-radius: var(--radius-pill);
}

.chip-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── scores ───────────────────────────────────────────────────────────────── */

.standings {
  display: grid;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.standings:empty {
  display: none;
}

.standing {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
  padding: 0.55rem 0.8rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) - 4px);
}

.standing.is-leader {
  background: rgba(var(--accent-rgb), 0.12);
  border-color: rgba(var(--accent-rgb), 0.45);
}

.standing-rank {
  min-width: 1.6rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.standing-name {
  flex: 1;
  min-width: 0;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.standing-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-text);
}

.standing-total {
  font-family: var(--font-display);
  text-transform: var(--display-case);
  font-size: 1.35rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.round-form {
  display: grid;
  gap: 0.75rem;
  scroll-margin-top: calc(var(--tool-nav-height) + var(--tabs-height) + 1rem);
}

.round-fieldset {
  display: grid;
  gap: 0.6rem;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.round-entries {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.entry {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.entry-name {
  flex: 1;
  min-width: 0;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.entry-input {
  width: 6rem;
  flex: none;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.sign-btn {
  font-size: 1.2rem;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) - 4px);
}

.rounds {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.rounds th,
.rounds td {
  padding: 0.45rem 0.6rem;
  text-align: right;
  white-space: nowrap;
  border-bottom: 1px solid var(--border);
}

.rounds thead th {
  max-width: 8rem;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--surface-2);
}

/* The round column stays in view while the players scroll sideways */
.rounds th:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  text-align: left;
  background: var(--surface);
}

.rounds thead th:first-child {
  background: var(--surface-2);
}

.rounds tbody tr.is-editing > * {
  background: rgba(var(--accent-rgb), 0.12);
}

.rounds tbody tr.is-editing th:first-child {
  background: var(--surface-2);
}

.cell-score,
.cell-sum {
  display: block;
}

.cell-score {
  font-weight: 600;
}

.cell-sum {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.rounds tfoot th,
.rounds tfoot td {
  border-bottom: 0;
  font-family: var(--font-display);
  text-transform: var(--display-case);
  font-weight: 700;
}

.rounds tfoot td {
  font-size: 1.1rem;
}

.rounds tfoot td.is-leader {
  color: var(--accent-text);
}

.round-btn {
  min-width: 2.5rem;
  min-height: 2.5rem;
  padding: 0 0.5rem;
  font: 600 0.9rem/1 var(--font-mono);
  color: var(--accent-text);
  background: transparent;
  border: 1px dashed rgba(var(--accent-rgb), 0.45);
  border-radius: calc(var(--radius) - 6px);
  cursor: pointer;
}

.round-btn:hover {
  background: rgba(var(--accent-rgb), 0.12);
}

/* ── timer ────────────────────────────────────────────────────────────────── */

.timer {
  text-align: center;
}

.timer .card-title {
  text-align: left;
}

.timer-now {
  display: grid;
  justify-items: center;
  gap: 0.2rem;
}

.timer-player {
  max-width: 100%;
  font-family: var(--font-display);
  text-transform: var(--display-case);
  font-size: clamp(1.4rem, 7vw, 2rem);
  font-weight: 700;
  letter-spacing: var(--tracking-display);
  overflow-wrap: anywhere;
}

.timer-clock {
  font-family: var(--font-display);
  text-transform: var(--display-case);
  font-size: clamp(4rem, 24vw, 7.5rem);
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  transition: color var(--duration) var(--ease);
}

.clock-digits .digit {
  display: inline-block;
  width: 1ch;
  text-align: center;
}

.timer-bar {
  height: 0.5rem;
  overflow: hidden;
  background: var(--surface-2);
  border-radius: var(--radius-pill);
}

.timer-bar span {
  display: block;
  height: 100%;
  background: var(--accent);
  border-radius: inherit;
  transform-origin: left;
  transition:
    transform 200ms linear,
    background var(--duration) var(--ease);
}

.timer-state {
  min-height: 1.4em;
  margin: 0;
  font-weight: 600;
  color: var(--text-muted);
}

.panel[data-state="warn"] .timer-clock {
  color: var(--warning);
}

.panel[data-state="warn"] .timer-bar span {
  background: var(--warning);
}

.panel[data-state="done"] .timer-clock,
.panel[data-state="done"] .timer-state,
.panel[data-state="over"] .timer-clock,
.panel[data-state="over"] .timer-state {
  color: var(--danger);
}

.panel[data-state="done"] .timer-bar span,
.panel[data-state="over"] .timer-bar span {
  background: var(--danger);
}

@media (prefers-reduced-motion: no-preference) {
  .panel[data-state="done"] .timer-clock {
    animation: pulse 1s var(--ease) 3;
  }
}

@keyframes pulse {
  50% {
    opacity: 0.35;
  }
}

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

.timer-reset {
  justify-self: center;
}

.whose-turn {
  display: grid;
  gap: 0.5rem;
  text-align: left;
}

.turn-players,
.presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.turn-chip,
.preset {
  min-height: 2.5rem;
  max-width: 100%;
  padding: 0.35rem 0.9rem;
  font: 600 0.9rem/1.1 var(--button-font);
  text-transform: var(--button-case);
  overflow-wrap: anywhere;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  cursor: pointer;
  touch-action: manipulation;
}

.turn-chip:hover,
.preset:hover {
  border-color: var(--text-muted);
}

.turn-chip[aria-pressed="true"],
.preset[aria-pressed="true"] {
  color: var(--on-accent);
  background: var(--accent);
  border-color: var(--accent);
}

/* ── dice ─────────────────────────────────────────────────────────────────── */

.result-body {
  display: grid;
  gap: 0.75rem;
}

.result-expr {
  overflow-wrap: anywhere;
}

.dice-tiles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tile {
  display: grid;
  place-items: center;
  min-width: 2.75rem;
  height: 2.75rem;
  padding: 0 0.5rem;
  font-family: var(--font-display);
  text-transform: var(--display-case);
  font-size: 1.1rem;
  font-weight: 700;
  background: var(--bg);
  border: 2px solid rgba(var(--accent-rgb), 0.55);
  border-radius: var(--radius-sm);
}

.tile--minus {
  border-color: var(--border);
  color: var(--text-muted);
}

.tile--modifier {
  border-style: dashed;
  border-color: var(--border);
  color: var(--text-muted);
}

@media (prefers-reduced-motion: no-preference) {
  .dice-tiles.is-rolling .tile {
    animation: tumble var(--duration-slow) var(--ease) both;
  }

  .dice-tiles.is-rolling .tile:nth-child(2n) {
    animation-delay: 40ms;
  }

  .dice-tiles.is-rolling .tile:nth-child(3n) {
    animation-delay: 80ms;
  }
}

@keyframes tumble {
  from {
    opacity: 0;
    transform: rotate(-200deg) scale(0.4);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.result-total {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin: 0;
}

.result-total-value {
  font-family: var(--font-display);
  text-transform: var(--display-case);
  font-size: clamp(2.75rem, 14vw, 4rem);
  font-weight: 800;
  line-height: 1;
  color: var(--accent-text);
  font-variant-numeric: tabular-nums;
}

.dice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(4.5rem, 1fr));
  gap: 0.5rem;
}

.die-btn {
  min-height: 3.5rem;
  padding: 0.4rem;
  font-family: var(--font-display);
  text-transform: var(--display-case);
  font-size: 1.05rem;
  font-weight: 700;
  overflow-wrap: anywhere;
  color: var(--text);
  background: var(--bg);
  border: 2px solid rgba(var(--accent-rgb), 0.45);
  border-radius: var(--radius-sm);
  cursor: pointer;
  touch-action: manipulation;
}

.die-btn:hover {
  background: rgba(var(--accent-rgb), 0.12);
}

.die-btn:active {
  box-shadow: var(--shadow-glow);
}

.die-btn--custom {
  grid-column: span 2;
  font-family: var(--button-font);
  text-transform: var(--button-case);
  font-size: 0.95rem;
  border-style: dashed;
}

.custom-list {
  display: grid;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.custom-list:empty {
  display: none;
}

.custom-die {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.45rem 0.4rem 0.45rem 0.8rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) - 4px);
}

.custom-info {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

.custom-name {
  font-weight: 600;
  overflow-wrap: anywhere;
}

.custom-faces {
  font-size: 0.85rem;
  color: var(--text-muted);
  overflow-wrap: anywhere;
}

.custom-form {
  display: grid;
  gap: 0.75rem;
}

.custom-form .btn {
  justify-self: start;
}

.history {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.history-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.1rem 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

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

.history-expr {
  font-family: var(--font-mono);
  font-weight: 600;
  overflow-wrap: anywhere;
}

.history-time {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: right;
}

.history-rolls {
  font-size: 0.9rem;
  color: var(--text-muted);
  overflow-wrap: anywhere;
}

.history-total {
  font-family: var(--font-display);
  text-transform: var(--display-case);
  font-weight: 700;
  text-align: right;
}

/* ── first player ─────────────────────────────────────────────────────────── */

.picker {
  text-align: center;
}

.picker .card-title,
.picker .card-hint {
  text-align: left;
}

.picker-stage {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.35rem;
  min-height: 9rem;
  padding: 1rem;
  background: var(--bg);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}

.picker-stage.is-picked {
  background: rgba(var(--accent-rgb), 0.12);
  border: 1px solid rgba(var(--accent-rgb), 0.45);
  box-shadow: var(--shadow-glow);
}

.picker-name {
  max-width: 100%;
  margin: 0;
  font-family: var(--font-display);
  text-transform: var(--display-case);
  font-size: clamp(2rem, 10vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: var(--tracking-display);
  overflow-wrap: anywhere;
}

.picker-stage.is-picked .picker-name {
  color: var(--accent-text);
}

.picker-stage.is-spinning .picker-name {
  color: var(--text-muted);
}

@media (prefers-reduced-motion: no-preference) {
  .picker-stage.is-picked .picker-name {
    animation: pop var(--duration-slow) var(--ease);
  }
}

@keyframes pop {
  from {
    transform: scale(0.7);
  }
  to {
    transform: none;
  }
}

.picker .btn {
  justify-self: center;
}

@media (max-width: 400px) {
  .tool {
    padding-inline: 0.75rem;
  }

  .card {
    padding: 1rem;
  }

  .tab {
    font-size: 0.72rem;
  }

  .round-entries {
    grid-template-columns: 1fr;
  }

  .entry-input {
    width: 5rem;
  }

  .timer-buttons .btn--big {
    padding-inline: 0.75rem;
  }
}
