:root {
  --bg: #081421;
  --panel: rgba(9, 22, 36, 0.84);
  --panel-strong: rgba(13, 29, 46, 0.94);
  --line: rgba(142, 205, 255, 0.22);
  --line-strong: rgba(255, 207, 147, 0.42);
  --text: #eef7ff;
  --muted: #a3bfd8;
  --cyan: #8ce4ff;
  --gold: #ffd487;
  --rose: #ffb2a0;
  --good: #8cffc7;
  --danger: #ff8f8f;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Inter", system-ui, sans-serif;
  background:
    radial-gradient(circle at 10% 20%, rgba(95, 175, 255, 0.2), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(255, 176, 114, 0.18), transparent 26%),
    radial-gradient(circle at 50% 100%, rgba(73, 132, 187, 0.18), transparent 30%),
    linear-gradient(180deg, #07111c 0%, #081421 45%, #0b1827 100%);
}

body[data-board-theme="emerald"] {
  background:
    radial-gradient(circle at 12% 18%, rgba(117, 255, 197, 0.18), transparent 28%),
    radial-gradient(circle at 86% 14%, rgba(255, 220, 148, 0.16), transparent 24%),
    radial-gradient(circle at 50% 100%, rgba(44, 124, 102, 0.2), transparent 30%),
    linear-gradient(180deg, #07150f 0%, #0a1814 45%, #0d1d19 100%);
}

body[data-board-theme="midnight"] {
  background:
    radial-gradient(circle at 12% 18%, rgba(125, 174, 255, 0.18), transparent 28%),
    radial-gradient(circle at 86% 14%, rgba(255, 136, 198, 0.14), transparent 24%),
    radial-gradient(circle at 50% 100%, rgba(80, 100, 182, 0.16), transparent 30%),
    linear-gradient(180deg, #050814 0%, #070b18 45%, #0b1020 100%);
}

body[data-board-theme="ivory"] {
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 220, 162, 0.18), transparent 28%),
    radial-gradient(circle at 86% 14%, rgba(255, 170, 170, 0.14), transparent 24%),
    radial-gradient(circle at 50% 100%, rgba(108, 140, 180, 0.16), transparent 30%),
    linear-gradient(180deg, #17110b 0%, #19130f 45%, #1d1712 100%);
}

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

.page-shell {
  width: min(1520px, calc(100% - 24px));
  margin: 12px auto;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(142, 205, 255, 0.09), transparent 24%),
    radial-gradient(circle at 86% 0%, rgba(255, 212, 135, 0.1), transparent 26%),
    linear-gradient(180deg, rgba(8, 18, 31, 0.82), rgba(5, 12, 22, 0.9));
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.back-link {
  text-decoration: none;
  font-weight: 700;
  color: var(--muted);
}

.topbar-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.ui-toggle {
  padding-inline: 12px;
}

.ui-toggle[data-state="on"] {
  border-color: rgba(140, 255, 199, 0.34);
  background: linear-gradient(135deg, rgba(140, 255, 199, 0.16), rgba(140, 228, 255, 0.08));
  color: #dffff1;
}

.ui-toggle[data-state="off"] {
  color: var(--muted);
}

.topbar-status {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.status-pill {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  font-size: 13px;
  font-weight: 700;
}

.status-pill[data-tone="online"] {
  border-color: rgba(140, 255, 199, 0.45);
  color: var(--good);
}

.status-pill[data-tone="connecting"] {
  border-color: rgba(255, 212, 135, 0.45);
  color: var(--gold);
}

.status-pill[data-tone="error"] {
  border-color: rgba(255, 143, 143, 0.4);
  color: var(--danger);
}

.status-pill.ghost {
  color: var(--muted);
}

.layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1.18fr) 270px;
  gap: 16px;
  align-items: start;
}

.layout.setup-hidden {
  grid-template-columns: minmax(0, 1.22fr) 270px;
}

.layout.info-hidden {
  grid-template-columns: 320px minmax(0, 1.22fr);
}

.layout.setup-hidden.info-hidden {
  grid-template-columns: minmax(0, 1fr);
}

.setup-column.is-collapsed,
.sidebar.is-collapsed {
  display: none;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(14, 29, 45, 0.96), rgba(7, 17, 29, 0.94)),
    var(--panel);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.setup-column,
.sidebar {
  display: grid;
  gap: 16px;
  align-content: start;
}

.hero,
.sidebar-panel,
.board-panel {
  padding: 18px;
}

.style-panel {
  background:
    radial-gradient(circle at top, rgba(255, 228, 181, 0.08), transparent 38%),
    linear-gradient(180deg, rgba(18, 27, 43, 0.96), rgba(8, 18, 30, 0.94));
}

.hero,
.sidebar-panel {
  background:
    radial-gradient(circle at top, rgba(140, 228, 255, 0.08), transparent 40%),
    linear-gradient(180deg, rgba(13, 26, 41, 0.96), rgba(8, 18, 30, 0.94));
}

.board-panel {
  background:
    radial-gradient(circle at top, rgba(255, 221, 173, 0.08), transparent 34%),
    radial-gradient(circle at 50% 120%, rgba(140, 228, 255, 0.06), transparent 30%),
    linear-gradient(180deg, rgba(14, 26, 39, 0.98), rgba(7, 15, 25, 0.96));
  border-color: rgba(255, 214, 153, 0.2);
}

.eyebrow,
.label {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  color: var(--muted);
}

.hero h1,
.sidebar-header h2 {
  margin: 0;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 0.95;
}

.lede {
  margin: 14px 0 0;
  color: #d6e9fa;
  line-height: 1.5;
}

.step-strip,
.guide-list,
.player-cards,
.facts {
  display: grid;
  gap: 10px;
}

.step-card,
.guide-item,
.player-card,
.fact {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
}

.step-card.active {
  border-color: rgba(140, 228, 255, 0.35);
  box-shadow: 0 0 0 1px rgba(140, 228, 255, 0.14) inset;
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  margin-bottom: 10px;
  color: #081421;
  background: linear-gradient(135deg, var(--cyan), var(--gold));
  font-size: 12px;
  font-weight: 800;
}

.field-grid {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.field-grid label,
.advanced-field {
  display: grid;
  gap: 8px;
}

input,
select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(7, 15, 26, 0.76);
  color: var(--text);
}

select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, 0.72) 50%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.72) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 3px),
    calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 34px;
}

input::placeholder {
  color: #88a5c0;
}

.hero-actions,
.action-bar,
.invite-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.hero-actions .primary {
  box-shadow: 0 10px 24px rgba(255, 212, 135, 0.14);
}

button {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 11px 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, filter 0.18s ease;
}

button:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: rgba(255, 212, 135, 0.36);
  filter: brightness(1.08);
}

button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.primary {
  background: linear-gradient(135deg, rgba(140, 228, 255, 0.28), rgba(255, 212, 135, 0.24));
  border-color: rgba(255, 212, 135, 0.36);
}

#undoBtn:not(:disabled) {
  border-color: rgba(140, 228, 255, 0.34);
  background: linear-gradient(135deg, rgba(140, 228, 255, 0.18), rgba(255, 255, 255, 0.07));
}

.secondary {
  background: rgba(255, 255, 255, 0.08);
}

.invite-panel,
.advanced-panel,
.control-card,
.hud-row {
  margin-top: 16px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
}

.invite-header,
.sidebar-header,
.player-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.invite-help,
.mini-status,
.player-color-label,
.fact p,
.guide-item p,
.status-text,
.engine-status {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.mini-status,
.status-text,
#phaseText,
#diceText {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mini-status,
#phaseText {
  -webkit-line-clamp: 2;
}

.status-text,
#diceText {
  -webkit-line-clamp: 2;
}

.board-column {
  min-width: 0;
}

.board-header,
.score-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
  align-items: stretch;
}

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

.board-header > div,
.score-row > div {
  min-height: 74px;
  display: grid;
  align-content: start;
}

.turn-text,
.room-code {
  margin: 4px 0 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  font-variant-numeric: tabular-nums;
}

#phaseText {
  min-height: 44px;
}

.board-stage {
  position: relative;
  padding: 16px;
  border-radius: 26px;
  border: 1px solid rgba(255, 221, 181, 0.24);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 232, 196, 0.18), transparent 36%),
    radial-gradient(circle at 50% 100%, rgba(90, 176, 220, 0.12), transparent 32%),
    linear-gradient(145deg, rgba(78, 48, 23, 0.94), rgba(21, 14, 8, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 228, 0.16),
    inset 0 -20px 34px rgba(0, 0, 0, 0.24),
    0 30px 64px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  isolation: isolate;
}

.board-stage::before,
.board-stage::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.board-stage::before {
  inset: 8px;
  border-radius: 22px;
  border: 1px solid rgba(255, 239, 213, 0.14);
  box-shadow:
    inset 0 0 0 1px rgba(255, 218, 170, 0.08),
    inset 0 24px 34px rgba(255, 239, 208, 0.04);
  z-index: 0;
}

.board-stage::after {
  inset: 22px 34px auto;
  height: 90px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 241, 201, 0.12), rgba(255, 241, 201, 0));
  filter: blur(16px);
  opacity: 0.72;
  z-index: 0;
}

.board-stage.ready-to-roll .die-shell {
  pointer-events: auto;
  cursor: grab;
}

.board-stage.throwing .die-shell {
  cursor: grabbing;
}

#board {
  width: 100%;
  display: block;
  border-radius: 20px;
  border: 1px solid rgba(255, 238, 208, 0.12);
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 244, 206, 0.08), transparent 38%),
    linear-gradient(130deg, #17384f, #102838 30%, #1f3942);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    0 20px 40px rgba(0, 0, 0, 0.22);
  touch-action: none;
  position: relative;
  z-index: 1;
  transition: filter 0.22s ease, transform 0.22s ease;
}

.board-overlay {
  position: absolute;
  inset: 12px;
  pointer-events: none;
  z-index: 2;
}

.start-overlay {
  position: absolute;
  inset: 22px;
  display: grid;
  place-items: center;
  padding: 22px;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.board-stage.show-start-overlay .start-overlay {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.board-stage.show-start-overlay #board {
  filter: saturate(0.82) brightness(0.8);
}

.start-card {
  width: min(560px, 100%);
  padding: 24px;
  border-radius: 24px;
  border: 1px solid rgba(255, 233, 200, 0.18);
  background:
    radial-gradient(circle at top, rgba(255, 234, 202, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(12, 23, 35, 0.9), rgba(7, 15, 25, 0.94));
  box-shadow:
    0 28px 50px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  text-align: center;
}

.start-kicker,
.start-note {
  margin: 0;
}

.start-kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
}

.start-card h2 {
  margin: 12px 0 0;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 0.95;
}

.start-copy {
  margin: 14px auto 0;
  max-width: 44ch;
  color: #d8e8f8;
  line-height: 1.55;
}

.start-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.start-primary {
  min-width: 250px;
  padding-inline: 20px;
  font-weight: 800;
}

.start-note {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.45;
}

.roll-track {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 238px;
  height: 118px;
  transform: translate(-50%, -50%) scale(0.9);
  border-radius: 999px;
  opacity: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 243, 196, 0.16), rgba(113, 217, 255, 0.09) 42%, rgba(113, 217, 255, 0.02) 62%, transparent 78%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 34px rgba(113, 217, 255, 0.08);
  filter: blur(1.2px);
  transition: opacity 0.25s ease, transform 0.35s ease;
}

.board-stage.ready-to-roll .roll-track {
  opacity: 0.22;
  transform: translate(-50%, -50%) scale(0.98);
}

.board-stage.throwing .roll-track {
  opacity: 0.36;
  transform: translate(-50%, -50%) scale(1.02);
}

.board-stage.is-rolling .roll-track {
  opacity: 0.76;
  transform: translate(-50%, -50%) scale(1.06);
}

.board-footer {
  margin-top: 14px;
}

.dice-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 240px);
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(140, 228, 255, 0.06), rgba(255, 212, 135, 0.08)),
    rgba(255, 255, 255, 0.035);
  min-height: 112px;
}

.dice-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.dice-note {
  display: grid;
  gap: 6px;
  justify-items: end;
  text-align: right;
}

.dice-value {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  min-height: 44px;
  max-height: 44px;
  display: flex;
  align-items: center;
  color: #fff6d8;
  text-wrap: balance;
  font-variant-numeric: tabular-nums;
}

.dice-visuals {
  position: absolute;
  inset: 0;
}

.board-dice {
  opacity: 0.98;
}

.die-shell {
  position: absolute;
  left: 0;
  top: 0;
  width: 64px;
  height: 64px;
  transform: translate3d(var(--end-x, 0px), var(--end-y, 0px), 0) rotate(var(--end-rot, 0deg));
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.28)) drop-shadow(0 0 14px rgba(255, 214, 141, 0.08));
  will-change: transform, filter;
  transition: transform 0.08s linear, filter 0.18s ease;
}

.die-shell.launch {
  animation: dice-flight var(--flight-duration, 920ms) cubic-bezier(.18, .88, .22, 1) both;
  transition: none;
}

.board-stage.is-rolling .die-shell {
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.34)) drop-shadow(0 0 18px rgba(255, 214, 141, 0.14));
}

.die-shell .die {
  width: 100%;
  height: 100%;
}

.die {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.86) 20%, rgba(222, 233, 244, 0.82) 48%, rgba(160, 182, 210, 0.88) 100%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(180, 205, 228, 0.7));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  padding: 9px;
  box-shadow:
    0 10px 18px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    inset 0 -10px 16px rgba(77, 98, 128, 0.18);
}

.die::before,
.die::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.die::before {
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.55), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 40%);
}

.die::after {
  inset: 4px;
  border-radius: 14px;
  border: 1px solid rgba(20, 39, 64, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.die.rolling {
  animation: die-shake 0.24s linear infinite, die-spin 0.42s linear infinite;
}

.pip {
  width: 11px;
  height: 11px;
  background: radial-gradient(circle at 30% 30%, #36566e, #152939 72%);
  border-radius: 50%;
  opacity: 0;
  place-self: center;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 1px 2px rgba(0, 0, 0, 0.22);
}

.inline-chip {
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.inline-chip.empty-chip {
  color: var(--muted);
}

.inline-chip.ready-chip {
  color: var(--good);
}

.status-text {
  min-height: 44px;
  max-height: 44px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(16px);
  opacity: 0;
  pointer-events: none;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(8, 20, 33, 0.92);
  color: var(--text);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@keyframes die-shake {
  0% { transform: rotate(0deg) translateY(0) scale(1); }
  25% { transform: rotate(-10deg) translateY(-3px) scale(1.04); }
  50% { transform: rotate(8deg) translateY(4px) scale(1.02); }
  75% { transform: rotate(-7deg) translateY(-2px) scale(1.05); }
  100% { transform: rotate(0deg) translateY(0) scale(1); }
}

@keyframes die-spin {
  0% { filter: brightness(1.02) saturate(1); }
  50% { filter: brightness(1.18) saturate(1.08); }
  100% { filter: brightness(1.02) saturate(1); }
}

@keyframes dice-flight {
  0% {
    transform: translate3d(var(--start-x), var(--start-y), 0) rotate(var(--start-rot)) scale(0.96);
  }
  16% {
    transform: translate3d(calc(var(--mid-x) - 8px), calc(var(--mid-y) - 38px), 0) rotate(calc(var(--start-rot) + 280deg)) scale(1.06);
  }
  38% {
    transform: translate3d(var(--late-x), calc(var(--late-y) - 8px), 0) rotate(calc(var(--start-rot) + 620deg)) scale(1.02);
  }
  62% {
    transform: translate3d(calc(var(--end-x) - 12px), calc(var(--end-y) - 14px), 0) rotate(calc(var(--start-rot) + 890deg)) scale(1.05);
  }
  80% {
    transform: translate3d(calc(var(--end-x) + 6px), calc(var(--end-y) + 6px), 0) rotate(calc(var(--end-rot) + 20deg)) scale(0.98);
  }
  100% {
    transform: translate3d(var(--end-x), var(--end-y), 0) rotate(var(--end-rot)) scale(1);
  }
}

@media (max-width: 1200px) {
  .layout {
    grid-template-columns: 320px minmax(0, 1fr);
  }

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

  .layout.setup-hidden,
  .layout.info-hidden,
  .layout.setup-hidden.info-hidden {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .page-shell {
    width: 100%;
    margin: 0;
    border-radius: 0;
    padding: 12px;
  }

  .layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    grid-template-columns: 1fr;
  }

  .board-header,
  .score-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dice-panel {
    grid-template-columns: 1fr;
  }

  .dice-note {
    justify-items: start;
    text-align: left;
  }

  .start-overlay {
    inset: 14px;
    padding: 12px;
  }

  .start-card {
    padding: 18px;
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding: 10px;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero h1,
  .sidebar-header h2 {
    font-size: 28px;
  }

  .board-header,
  .score-row {
    grid-template-columns: 1fr;
  }

  .die {
    width: 52px;
    height: 52px;
  }

  .start-actions {
    flex-direction: column;
  }

  .start-primary {
    min-width: 0;
  }
}
