:root {
  --bg-0: #07141a;
  --bg-1: #0f2530;
  --ink: #d9ece6;
  --muted: #98b9be;
  --accent: #ffd166;
  --accent-2: #7df9d6;
  --panel: rgba(14, 35, 45, 0.82);
  --border: rgba(125, 249, 214, 0.25);
  --bad: #ff6f61;
  --good: #80ed99;
}

* { box-sizing: border-box; }

html {
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Public Sans", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 8% 12%, #153445 0%, transparent 42%),
    radial-gradient(circle at 92% 5%, #3a2b14 0%, transparent 33%),
    linear-gradient(145deg, var(--bg-0), var(--bg-1));
  min-height: 100vh;
  overflow-x: hidden;
}

.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(transparent 95%, rgba(255, 209, 102, 0.12) 96%);
  background-size: 100% 18px;
  opacity: 0.2;
}

header {
  padding: 1rem 1.4rem 0.5rem;
}

h1 {
  margin: 0;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.06em;
  font-size: clamp(2rem, 6vw, 3.1rem);
  color: var(--accent);
}

header p {
  margin: 0.1rem 0 0;
  color: var(--muted);
}

main {
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: 1rem;
  display: grid;
  gap: 1rem;
}

.mode-bar {
  display: flex;
  justify-content: flex-end;
}

.mode-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.38rem 0.65rem;
  border: 1px solid rgba(125, 249, 214, 0.28);
  border-radius: 999px;
  background: rgba(3, 20, 27, 0.78);
  color: var(--ink);
}

.mode-toggle input {
  min-height: 0;
  width: 1.05rem;
  height: 1.05rem;
  padding: 0;
  accent-color: var(--accent-2);
}

.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
  backdrop-filter: blur(4px);
}

h2, h3 { margin-top: 0.2rem; }
.row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin: 0.55rem 0;
}
.row.compact { margin: 0.3rem 0; }
label { font-weight: 700; color: var(--muted); }

input, select, button {
  font: inherit;
  border-radius: 8px;
  border: 1px solid rgba(218, 236, 230, 0.2);
  min-height: 44px;
  max-width: 100%;
  padding: 0.48rem 0.6rem;
  background: #0b1d26;
  color: var(--ink);
}

button {
  cursor: pointer;
  border-color: rgba(255, 209, 102, 0.5);
  touch-action: manipulation;
}
button:hover { filter: brightness(1.1); }

.hint {
  color: var(--muted);
  font-size: 0.9rem;
}

.guide-panel {
  display: grid;
  gap: 0.45rem;
  margin: 0.65rem 0;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(125, 249, 214, 0.32);
  border-left: 4px solid var(--accent-2);
  border-radius: 8px;
  background: rgba(5, 25, 31, 0.84);
}

.guide-panel strong {
  color: var(--accent-2);
}

.guide-panel ul {
  margin: 0;
  padding-left: 1.1rem;
}

.guide-panel li {
  margin: 0.2rem 0;
  color: var(--ink);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hidden { display: none !important; }

.save-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem;
  margin: 0.6rem 0 0.8rem;
  border: 1px solid rgba(125, 249, 214, 0.35);
  border-radius: 10px;
  background: rgba(3, 20, 27, 0.86);
}

.save-panel p {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

.save-actions {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

#playersContainer {
  display: grid;
  gap: 0.75rem;
}

.wizard-shell,
.player-card {
  border: 1px solid rgba(125, 249, 214, 0.25);
  border-radius: 10px;
  padding: 0.75rem;
  background: rgba(3, 20, 27, 0.8);
}

.setup-progress {
  color: var(--accent);
  font-weight: 900;
  margin-bottom: 0.55rem;
  text-transform: uppercase;
}

.centered {
  justify-content: center;
}

.name-lock input {
  min-width: min(100%, 260px);
}

.faction-carousel {
  display: grid;
  grid-template-columns: 44px minmax(220px, 420px) 44px;
  justify-content: center;
  align-items: center;
  gap: 0.65rem;
  margin: 0.75rem 0;
}

.icon-btn {
  width: 44px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 0;
  font-size: 2rem;
  line-height: 1;
}

.faction-display {
  margin: 0;
  display: grid;
  gap: 0.45rem;
}

.faction-card-img {
  width: 100%;
  display: block;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.38);
}

.faction-display figcaption,
.mini-card figcaption {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.86rem;
  overflow-wrap: anywhere;
}

.locked-choice {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.7rem;
  color: var(--muted);
}

.locked-choice strong {
  color: var(--ink);
}

.player-area-layout {
  display: grid;
  grid-template-columns: minmax(120px, 0.55fr) minmax(260px, 1.7fr) minmax(96px, 0.35fr);
  gap: 0.8rem;
  align-items: start;
}

.chosen-descriptions,
.description-picker,
.hand-row,
.review-grid {
  display: grid;
  gap: 0.5rem;
}

.chosen-descriptions {
  align-self: center;
}

.description-card {
  position: relative;
  min-height: 0;
  padding: 0;
  border: 1px solid rgba(255, 209, 102, 0.32);
  border-radius: 6px;
  background: #060a1a;
  color: #fff9d8;
  font-weight: 900;
  text-align: center;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  aspect-ratio: 618 / 983;
}

.description-card.selected,
.description-card.locked {
  border-color: var(--accent-2);
  box-shadow: 0 0 0 2px rgba(125, 249, 214, 0.18), 0 8px 16px rgba(0, 0, 0, 0.28);
}

.description-card.locked {
  display: block;
}

.description-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.description-picker {
  grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
  margin-top: 0.75rem;
}

.empty-slot {
  min-height: 58px;
  border: 1px dashed rgba(218, 236, 230, 0.28);
  border-radius: 6px;
  color: var(--muted);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 0.45rem;
}

.faction-zone {
  display: grid;
  gap: 0.7rem;
}

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

.mini-card {
  margin: 0;
}

.mini-card img {
  width: 100%;
  display: block;
  border-radius: 8px;
}

.mini-card figcaption {
  display: block;
  margin-top: 0.25rem;
  min-height: 2.5rem;
}

.reserve-pile {
  position: relative;
  align-self: center;
  width: min(100%, 112px);
  justify-self: center;
}

.reserve-pile::before,
.reserve-pile::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background: #142436;
  border: 1px solid rgba(255, 209, 102, 0.35);
  transform: translate(7px, -7px);
  z-index: 0;
}

.reserve-pile::after {
  transform: translate(14px, -14px);
  opacity: 0.65;
}

.reserve-pile img {
  position: relative;
  z-index: 1;
  width: 100%;
  display: block;
  transform: rotate(180deg);
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.34);
}

.reserve-pile span {
  position: absolute;
  z-index: 2;
  right: -0.25rem;
  bottom: -0.25rem;
  width: 1.8rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--accent);
  color: #10212a;
  font-weight: 900;
}

.review-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.review-player {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 0.65rem;
  align-items: center;
  padding: 0.55rem;
  border: 1px solid rgba(125, 249, 214, 0.2);
  border-radius: 8px;
  background: rgba(5, 25, 31, 0.75);
}

.review-player img {
  width: 100%;
  border-radius: 6px;
}

.review-player div {
  display: grid;
  gap: 0.2rem;
}

.review-player span,
.review-player small {
  color: var(--muted);
}

.statusbar {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.privacy-panel {
  margin-bottom: 0.75rem;
}

.privacy-shell {
  display: grid;
  gap: 0.75rem;
  padding: 0.75rem;
  border: 1px solid rgba(125, 249, 214, 0.28);
  border-radius: 8px;
  background: rgba(3, 20, 27, 0.78);
}

.privacy-shell p,
.privacy-shell h4 {
  margin: 0.25rem 0 0;
}

.private-actions {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.privacy-heading {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: start;
  flex-wrap: wrap;
}

.private-grid {
  display: grid;
  grid-template-columns: minmax(160px, 0.7fr) minmax(260px, 1.4fr) minmax(150px, 0.55fr);
  gap: 0.75rem;
  align-items: start;
}

.private-descriptions,
.private-hand-grid {
  display: grid;
  gap: 0.5rem;
}

.private-descriptions {
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

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

.privacy-note,
.private-turn-lock {
  padding: 0.55rem 0.65rem;
  border: 1px solid rgba(255, 209, 102, 0.28);
  border-radius: 8px;
  background: rgba(255, 209, 102, 0.08);
  color: #f3df9d;
}

.private-turn-lock {
  display: grid;
  gap: 0.2rem;
}

.private-turn-lock span {
  color: var(--muted);
}

.mini-card.is-placed {
  opacity: 0.62;
}

.mini-card.is-placed figcaption span {
  display: block;
  color: var(--accent-2);
  font-weight: 700;
}

.storyline-board {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.7rem;
}

.story-card {
  display: grid;
  gap: 0.5rem;
  min-width: 0;
  border: 1px solid rgba(255, 209, 102, 0.35);
  border-radius: 12px;
  padding: 0.5rem;
  background: rgba(5, 25, 31, 0.75);
}

.story-card img, .faction-thumb, .influencer-thumb {
  width: 100%;
  border-radius: 8px;
  display: block;
}

.story-meta {
  font-size: 0.88rem;
  color: var(--muted);
}

.story-placement-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
}

.story-placement-side {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
  padding: 0.4rem;
  border: 1px solid rgba(218, 236, 230, 0.14);
  border-radius: 8px;
  background: rgba(3, 20, 27, 0.58);
}

.story-placement-side h4 {
  margin: 0;
  color: var(--accent);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.story-placement-stack {
  display: grid;
  gap: 0.35rem;
}

.story-placement-card {
  display: grid;
  grid-template-columns: minmax(42px, 0.38fr) minmax(0, 1fr);
  gap: 0.35rem;
  align-items: start;
  margin: 0;
  min-width: 0;
  padding: 0.35rem;
  border: 1px solid rgba(125, 249, 214, 0.18);
  border-radius: 8px;
  background: rgba(7, 25, 31, 0.72);
}

.story-placement-card img {
  width: 100%;
  border-radius: 5px;
  display: block;
}

.story-placement-card figcaption {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.25;
}

.story-placement-card strong,
.story-placement-card span {
  overflow-wrap: anywhere;
}

.story-placement-card strong {
  color: var(--ink);
  font-size: 0.8rem;
}

.story-placement-card em {
  color: var(--bad);
  font-style: normal;
  font-weight: 700;
}

.story-placement-card.is-canceled {
  opacity: 0.68;
  border-color: rgba(255, 111, 97, 0.36);
}

.story-placement-card.is-illegal-kept {
  border-color: rgba(255, 209, 102, 0.46);
  box-shadow: 0 0 0 1px rgba(255, 209, 102, 0.12);
}

.story-placement-empty {
  min-height: 62px;
  display: grid;
  place-items: center;
  padding: 0.35rem;
  border: 1px dashed rgba(218, 236, 230, 0.18);
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}

.turn-order {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.turn-chip {
  padding: 0.22rem 0.5rem;
  border: 1px solid rgba(125, 249, 214, 0.35);
  border-radius: 999px;
  font-size: 0.82rem;
  overflow-wrap: anywhere;
}

.turn-prompt {
  margin: 0.5rem 0;
  font-weight: 700;
}

.play-controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.5rem;
  align-items: end;
}

.play-controls label {
  display: grid;
  gap: 0.3rem;
}

.placed-list {
  margin-top: 0.6rem;
  display: grid;
  gap: 0.3rem;
}

.placed-item {
  border-left: 3px solid var(--accent-2);
  padding: 0.22rem 0.55rem;
  background: rgba(7, 25, 31, 0.7);
  border-radius: 6px;
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}

.ruling-panel,
.support-ruling-log {
  display: grid;
  gap: 0.45rem;
  grid-column: 1 / -1;
  padding: 0.65rem;
  border: 1px solid rgba(255, 209, 102, 0.38);
  border-radius: 8px;
  background: rgba(32, 27, 12, 0.72);
}

.ruling-panel p {
  margin: 0;
}

.ruling-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.ruling-item,
.ruling-note {
  color: #f3df9d;
  font-size: 0.86rem;
}

.ruling-note {
  display: block;
  margin-top: 0.12rem;
  font-weight: 700;
}

.res-block {
  border: 1px solid rgba(255, 209, 102, 0.35);
  border-radius: 12px;
  padding: 0.6rem;
  margin: 0.55rem 0;
  background: rgba(8, 23, 29, 0.8);
}

.res-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.45rem;
}

.resolution-form {
  border: 1px solid rgba(125, 249, 214, 0.35);
  border-radius: 12px;
  padding: 0.75rem;
  margin: 0.55rem 0;
  background: rgba(3, 20, 27, 0.86);
  display: grid;
  gap: 0.75rem;
}

.resolution-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(110px, 180px);
  gap: 0.75rem;
  align-items: start;
}

.resolution-heading h4,
.resolution-section h5 {
  margin: 0;
}

.resolution-heading img {
  width: 100%;
  border-radius: 8px;
}

.resolution-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
  gap: 0.6rem;
}

.resolution-fields label {
  display: grid;
  gap: 0.3rem;
}

.resolution-section {
  display: grid;
  gap: 0.45rem;
}

.override-section {
  border: 1px solid rgba(255, 209, 102, 0.28);
  border-radius: 8px;
  padding: 0.6rem;
  background: rgba(255, 209, 102, 0.06);
}

.xp-choice-section {
  border: 1px solid rgba(128, 237, 153, 0.3);
  border-radius: 8px;
  padding: 0.6rem;
  background: rgba(128, 237, 153, 0.07);
}

.xp-choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.6rem;
}

.xp-choice-grid label {
  display: grid;
  gap: 0.3rem;
}

.wide-field {
  grid-column: 1 / -1;
}

.realm-checklist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.35rem;
}

.realm-checklist label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.35rem;
  padding: 0.35rem 0.45rem;
  border: 1px solid rgba(218, 236, 230, 0.16);
  border-radius: 8px;
  background: rgba(7, 25, 31, 0.66);
  color: var(--ink);
  font-weight: 600;
}

.realm-checklist input {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
}

.compact-checklist {
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
}

.form-error {
  border: 1px solid rgba(255, 111, 97, 0.55);
  border-radius: 8px;
  padding: 0.5rem 0.65rem;
  background: rgba(255, 111, 97, 0.12);
  color: #ffd6d1;
  font-weight: 700;
}

.score-good { color: var(--good); font-weight: 700; }
.score-bad { color: var(--bad); font-weight: 700; }

.override-pill {
  display: inline-block;
  margin-top: 0.2rem;
  padding: 0.12rem 0.35rem;
  border: 1px solid rgba(255, 209, 102, 0.45);
  border-radius: 999px;
  background: rgba(255, 209, 102, 0.12);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
}

.audit-log {
  display: grid;
  gap: 0.45rem;
  margin: 0.55rem 0;
  padding: 0.65rem;
  border: 1px solid rgba(255, 209, 102, 0.35);
  border-radius: 10px;
  background: rgba(32, 27, 12, 0.72);
}

.audit-log h4 {
  margin: 0;
}

.audit-item {
  display: grid;
  gap: 0.2rem;
  padding: 0.45rem 0.5rem;
  border: 1px solid rgba(218, 236, 230, 0.14);
  border-radius: 8px;
  background: rgba(7, 25, 31, 0.54);
}

.final-summary {
  display: grid;
  gap: 0.75rem;
  margin: 0.55rem 0;
  padding: 0.75rem;
  border: 1px solid rgba(128, 237, 153, 0.36);
  border-radius: 10px;
  background: rgba(13, 38, 24, 0.66);
}

.final-summary h4 {
  margin: 0;
}

.final-storylines,
.final-standings {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.5rem;
}

.final-storyline,
.final-standing {
  display: grid;
  gap: 0.2rem;
  padding: 0.5rem;
  border: 1px solid rgba(218, 236, 230, 0.14);
  border-radius: 8px;
  background: rgba(7, 25, 31, 0.58);
}

.final-storyline small,
.final-standing small {
  color: var(--muted);
}

.leaderboard {
  display: grid;
  gap: 0.25rem;
}
.lb-item {
  padding: 0.35rem 0.45rem;
  border: 1px solid rgba(125, 249, 214, 0.2);
  border-radius: 8px;
}

@media (max-width: 980px) {
  .private-grid {
    grid-template-columns: minmax(140px, 0.55fr) minmax(260px, 1fr);
  }

  .private-grid > :last-child {
    grid-column: 1 / -1;
  }

  .player-area-layout {
    grid-template-columns: minmax(116px, 0.45fr) minmax(260px, 1fr);
  }

  .reserve-pile {
    grid-column: 1 / -1;
    justify-self: start;
    width: min(112px, 42vw);
  }
}

@media (max-width: 780px) {
  header {
    padding: 0.85rem 1rem 0.35rem;
  }

  main {
    padding: 0.75rem;
  }

  .mode-bar {
    justify-content: stretch;
  }

  .mode-toggle {
    width: 100%;
    justify-content: center;
  }

  .panel {
    border-radius: 10px;
    padding: 0.85rem;
  }

  .statusbar,
  .privacy-heading {
    display: grid;
    grid-template-columns: 1fr;
  }

  .actions,
  .private-actions,
  .ruling-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }

  .actions button,
  .private-actions button,
  .ruling-actions button {
    width: 100%;
  }

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

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

  .description-picker {
    grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  }

  .reserve-pile {
    grid-column: auto;
    justify-self: start;
  }

  .resolution-heading {
    grid-template-columns: 1fr;
  }

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

  .private-grid > :last-child {
    grid-column: auto;
  }

  .resolution-heading img {
    max-width: 220px;
  }

  .play-controls,
  .resolution-fields,
  .xp-choice-grid {
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: 2rem;
  }

  h2, h3 {
    line-height: 1.15;
  }

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

  .save-actions {
    justify-content: stretch;
  }

  .save-actions button {
    flex: 1 1 130px;
  }

  .faction-carousel {
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    gap: 0.4rem;
  }

  .icon-btn {
    width: 38px;
    font-size: 1.65rem;
  }

  .hand-row,
  .chosen-descriptions,
  .private-hand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .storyline-board {
    grid-template-columns: 1fr;
  }

  .story-placement-board {
    grid-template-columns: 1fr;
  }

  .play-controls,
  .resolution-fields,
  .xp-choice-grid,
  .realm-checklist,
  .compact-checklist {
    grid-template-columns: 1fr;
  }

  .resolution-form,
  .res-block,
  .privacy-shell,
  .wizard-shell,
  .player-card {
    padding: 0.65rem;
  }

  .resolution-heading img {
    max-width: 180px;
  }

  .review-player {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  header {
    padding-inline: 0.75rem;
  }

  main {
    padding: 0.55rem;
  }

  .panel {
    padding: 0.7rem;
    border-radius: 8px;
  }

  .row {
    align-items: stretch;
  }

  .row > input,
  .row > select,
  .row > button,
  .name-lock input,
  #buildPlayersBtn,
  #startGameBtn {
    width: 100%;
  }

  .chosen-descriptions,
  .description-picker,
  .private-descriptions,
  .hand-row,
  .private-hand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .description-picker {
    gap: 0.42rem;
  }

  .story-placement-card {
    grid-template-columns: minmax(50px, 0.32fr) minmax(0, 1fr);
  }

  .turn-chip {
    flex: 1 1 100%;
  }
}
