:root {
  color-scheme: light;
  --felt: #17624d;
  --felt-dark: #0d3f34;
  --ink: #17201d;
  --muted: #61706b;
  --panel: #fffaf0;
  --line: #d8d0bf;
  --accent: #bd3f32;
  --accent-2: #2367a5;
  --legal: #1f7a55;
  --disabled: #b4aa99;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
  pointer-events: none !important;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(135deg, var(--felt-dark), var(--felt));
  color: var(--ink);
  overflow-x: hidden;
}

button,
select,
a.button-link {
  font: inherit;
}

.shell {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 24px 0;
}

.topbar,
.scoreband,
.status,
.panel {
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: var(--panel);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
}

.topbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  border-radius: 8px;
}

.eyebrow {
  margin: 0 0 4px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
}

h2 {
  margin-bottom: 0;
  font-size: 1rem;
}

h3 {
  margin-bottom: 8px;
  font-size: 0.94rem;
}

.controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

label {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.9rem;
}

select,
input,
button {
  min-height: 40px;
  border-radius: 6px;
  border: 1px solid var(--line);
}

select {
  padding: 0 10px;
  background: white;
}

input {
  padding: 0 10px;
  min-width: 120px;
  background: white;
  text-transform: uppercase;
  font-weight: 800;
}

button {
  padding: 0 14px;
  background: var(--accent-2);
  color: white;
  cursor: pointer;
  font-weight: 800;
}

a.button-link {
  display: inline-grid;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--accent-2);
  color: white;
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
}

button.secondary {
  background: white;
  color: var(--accent-2);
}

.secondary-link {
  background: white;
  color: var(--accent-2);
}

button:disabled {
  background: var(--disabled);
  color: #fff;
  cursor: not-allowed;
}

.scoreband {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 16px;
  overflow: hidden;
  border-radius: 8px;
}

.room-band {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr)) auto;
  gap: 1px;
  margin-top: 16px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: var(--panel);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
}

.room-band div {
  display: grid;
  align-content: center;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.55);
}

.room-band span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.room-band strong {
  display: block;
  font-size: 1.08rem;
  overflow-wrap: anywhere;
}

.share-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
}

.invite-panel {
  padding: 10px 12px;
}

.share-panel span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.share-panel strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: 0.92rem;
}

.share-panel p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.ready-panel {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.ready-panel span {
  flex: 1 1 180px;
}

.coin-modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(13, 63, 52, 0.55);
}

.coin-card {
  display: grid;
  gap: 12px;
  width: min(420px, 100%);
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.28);
  text-align: center;
}

.coin-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 800;
}

.coin-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.pregame-panel {
  margin-top: 16px;
}

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

.pregame-grid div {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.56);
}

.pregame-grid span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.scoreband div {
  padding: 14px;
  text-align: center;
  background: rgba(255, 255, 255, 0.55);
}

.scoreband span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.scoreband strong {
  display: block;
  font-size: 2rem;
}

.status {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 8px;
}

.status p {
  margin: 0;
  font-weight: 800;
}

.table-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr) minmax(0, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.panel {
  min-width: 0;
  padding: 16px;
  border-radius: 8px;
}

.panel-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.panel-heading span {
  color: var(--muted);
  font-weight: 800;
  font-size: 0.86rem;
}

.hand {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(86px, 1fr));
  gap: 10px;
}

.card,
.upcard-card {
  position: relative;
  min-height: 118px;
  border: 2px solid rgba(18, 17, 14, 0.78);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(239, 183, 42, 0.16), transparent 32%),
    linear-gradient(180deg, #fffdf5, #f7ecd4);
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--ink);
  font-weight: 900;
  box-shadow:
    inset 0 0 0 3px rgba(255, 255, 255, 0.74),
    inset 0 0 0 6px rgba(239, 183, 42, 0.2),
    0 6px 14px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

.card {
  width: 100%;
}

.card.black {
  color: var(--ink);
}

.card-face-inner {
  position: relative;
  width: 100%;
  min-height: inherit;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  align-items: center;
  padding: 8px;
}

.card-face-inner::before {
  content: "1v1";
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%) rotate(-16deg);
  color: rgba(189, 142, 25, 0.15);
  font-size: 1.15rem;
  letter-spacing: 0;
  pointer-events: none;
}

.card-corner {
  display: grid;
  justify-items: center;
  justify-self: start;
  line-height: 0.95;
  z-index: 2;
}

.card-corner-bottom {
  justify-self: end;
  transform: rotate(180deg);
}

.card .rank,
.upcard-card .rank {
  display: block;
  font-size: 1.08rem;
}

.card .suit,
.upcard-card .suit {
  display: block;
  font-size: 1.35rem;
}

.card-center {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 2px;
}

.rank-large {
  display: block;
  font-size: clamp(1.85rem, 8vw, 3.15rem);
  line-height: 0.92;
}

.suit-large {
  font-size: clamp(2.05rem, 9vw, 3.6rem) !important;
  line-height: 0.92;
}

.card.red {
  color: #b32925;
}

.card:disabled {
  color: var(--ink);
}

.card.red:disabled {
  color: #b32925;
}

.card.legal {
  border-color: var(--legal);
}

.card.current-player {
  outline: 3px solid rgba(35, 103, 165, 0.25);
}

.face-jack {
  border-color: var(--gold);
  box-shadow:
    inset 0 0 0 3px rgba(255, 255, 255, 0.78),
    inset 0 0 0 7px rgba(239, 183, 42, 0.24),
    0 0 0 2px rgba(239, 183, 42, 0.32),
    0 8px 18px rgba(0, 0, 0, 0.16);
}

.face-jack .card-face-inner::before {
  color: rgba(239, 183, 42, 0.22);
}

.card-back {
  position: relative;
  color: transparent;
  background:
    linear-gradient(135deg, rgba(239, 183, 42, 0.18) 25%, transparent 25%) 0 0 / 16px 16px,
    linear-gradient(135deg, transparent 75%, rgba(239, 183, 42, 0.18) 75%) 0 0 / 16px 16px,
    linear-gradient(160deg, #12100c, #2b2415);
  border-color: rgba(239, 183, 42, 0.68);
}

.card-back::after {
  content: "1v1";
  color: var(--master-gold);
  font-size: 1rem;
  letter-spacing: 0;
}

.upcard {
  width: min(118px, 100%);
  min-height: 152px;
  margin-bottom: 16px;
  display: grid;
  place-items: center;
  justify-self: center;
  position: relative;
}

.upcard.empty {
  width: 100%;
  min-height: 118px;
  border: 2px dashed var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.62);
  color: var(--muted);
}

.kitty-card-back {
  position: absolute;
  width: 92%;
  min-height: 138px;
  border: 2px solid rgba(239, 183, 42, 0.58);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(239, 183, 42, 0.18) 25%, transparent 25%) 0 0 / 16px 16px,
    linear-gradient(135deg, transparent 75%, rgba(239, 183, 42, 0.18) 75%) 0 0 / 16px 16px,
    linear-gradient(160deg, #12100c, #2b2415);
  box-shadow: 0 8px 14px rgba(0, 0, 0, 0.2);
}

.kitty-card-back::after {
  content: "1v1";
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  color: var(--master-gold);
  font-weight: 900;
  letter-spacing: 0;
}

.kitty-card-back-bottom {
  transform: translate(8px, 8px) rotate(2deg);
}

.kitty-card-back-top {
  transform: translate(4px, 4px) rotate(-1deg);
}

.upcard-card {
  width: 92%;
  min-height: 138px;
  z-index: 2;
}

.kitty-trump-badge {
  position: absolute;
  left: 50%;
  bottom: 8px;
  z-index: 4;
  display: inline-grid;
  grid-template-columns: auto auto;
  gap: 5px;
  align-items: center;
  min-height: 30px;
  padding: 3px 9px;
  border: 2px solid currentColor;
  border-radius: 999px;
  background: #fff8e8;
  color: var(--ink);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.24);
  line-height: 1;
  pointer-events: none;
  transform: translateX(-50%);
}

.kitty-trump-badge.red {
  color: #b32925;
}

.kitty-trump-badge span {
  font-size: 0.54rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.kitty-trump-badge strong {
  font-size: 1.18rem;
}

.trump-panel {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.56);
}

.trump-panel p {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.trump-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 8px;
}

.trick-area,
.last-trick-area,
.history {
  margin-top: 16px;
}

.current-trick,
.last-trick {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  min-height: 118px;
}

.last-trick-area {
  padding: 10px;
  border: 1px solid rgba(239, 183, 42, 0.36);
  border-radius: 8px;
  background: rgba(239, 183, 42, 0.07);
}

.last-trick-heading {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.last-trick-heading h3 {
  margin: 0;
}

.last-trick-heading span {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.current-trick-card,
.last-trick-card {
  align-content: stretch;
}

.trick-card-player {
  display: block;
  width: 100%;
  padding: 6px 8px 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.last-trick-card {
  opacity: 0.94;
  outline: 2px solid rgba(239, 183, 42, 0.22);
}

.last-trick-card.winning-card {
  opacity: 1;
  outline: 3px solid rgba(239, 183, 42, 0.84);
  box-shadow:
    inset 0 0 0 3px rgba(255, 255, 255, 0.78),
    inset 0 0 0 7px rgba(239, 183, 42, 0.28),
    0 0 0 2px rgba(239, 183, 42, 0.4),
    0 10px 22px rgba(0, 0, 0, 0.2);
}

.winning-card-badge {
  position: absolute;
  right: 6px;
  bottom: 6px;
  z-index: 3;
  padding: 3px 6px;
  border-radius: 999px;
  background: var(--gold);
  color: #111;
  font-size: 0.52rem;
  font-weight: 1000;
  letter-spacing: 0.05em;
  line-height: 1;
  text-transform: uppercase;
}

.play-slot {
  min-height: 118px;
  border: 2px dashed var(--line);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 800;
}

ol {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.muted-note {
  color: var(--muted);
  font-weight: 700;
}

.home-shell {
  min-height: 100vh;
  display: grid;
  align-content: center;
  gap: 16px;
}

.home-hero,
.home-player-panel,
.home-settings-panel,
.home-action-panel,
.home-admin-panel,
.rules-panel,
.info-panel {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
}

.home-hero h1 {
  font-size: clamp(2rem, 7vw, 4rem);
}

.home-copy,
.home-disclaimer,
.home-status {
  color: var(--muted);
  font-weight: 800;
}

.home-disclaimer {
  margin-bottom: 0;
}

.home-player-panel {
  display: grid;
  grid-template-columns: minmax(130px, auto) minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 18px 20px;
}

.name-input {
  width: 100%;
  text-transform: none;
}

.home-settings-panel {
  display: grid;
  gap: 16px;
}

.settings-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}

.settings-heading span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.settings-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.6fr);
  gap: 12px;
}

.setting-control,
.setting-toggle {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.56);
}

.setting-toggle {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  align-content: center;
}

.setting-toggle input {
  min-width: 0;
  width: 20px;
  min-height: 20px;
}

.rules-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.45;
}

.home-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  align-items: stretch;
}

.home-action-panel {
  display: grid;
  gap: 10px;
  padding: 20px;
}

.home-join-control {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.home-join-control span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
}

.home-join-control input {
  width: 100%;
}

.home-info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.info-panel {
  padding: 18px;
}

.info-panel p {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.5;
}

.text-link,
.disabled-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--accent-2);
  font-weight: 900;
}

.disabled-link {
  color: var(--muted);
}

.home-admin-panel {
  justify-self: stretch;
  padding: 8px 10px;
  opacity: 0.8;
}

.home-admin-panel summary {
  color: var(--muted);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 900;
}

.admin-code-row {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 8px;
}

.admin-code-input {
  min-height: 30px;
  max-width: 128px;
  text-transform: uppercase;
}

.admin-status {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.homepage-admin-controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.rules-panel {
  margin-top: 16px;
}

.rules-list {
  margin: 16px 0 0;
  padding-left: 22px;
  line-height: 1.7;
}

.tournament-controls,
.tournament-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.tournament-controls .panel {
  display: grid;
  gap: 10px;
  align-content: start;
}

.admin-key-reveal {
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
}

.admin-key-reveal span,
.admin-key-reveal small {
  color: var(--muted);
  font-weight: 800;
}

.admin-key-reveal strong {
  font-size: 1.2rem;
  overflow-wrap: anywhere;
}

.admin-panel {
  margin-top: 16px;
}

.admin-verify,
.host-controls,
.match-admin-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.host-controls {
  margin-top: 12px;
}

.player-list {
  margin: 0;
  padding-left: 22px;
  line-height: 1.9;
}

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

.bracket-panel {
  overflow: hidden;
}

.bracket-view {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
}

.bracket-round {
  display: grid;
  gap: 10px;
  align-content: start;
}

.match-card {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
}

.match-card span,
.match-card small {
  overflow-wrap: anywhere;
}

.match-link {
  margin-top: 4px;
}

.compact-button {
  min-height: 34px;
  padding: 0 10px;
  font-size: 0.82rem;
}

li + li {
  margin-top: 6px;
}

@media (max-width: 860px) {
  .topbar {
    align-items: stretch;
    flex-direction: column;
  }

  .controls {
    justify-content: stretch;
  }

  .controls > * {
    flex: 1 1 160px;
  }

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

  .room-band {
    grid-template-columns: 1fr 1fr;
  }

  .share-panel,
  .home-actions,
  .home-info-grid,
  .home-player-panel,
  .settings-grid,
  .rules-summary,
  .tournament-controls,
  .tournament-grid,
  .admin-verify,
  .host-controls,
  .match-admin-actions {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  button,
  input,
  select,
  a.button-link {
    height: 48px;
    min-height: 48px;
    width: 100%;
  }

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

  .card,
  .upcard,
  .play-slot {
    min-height: 96px;
  }
}

@media (max-width: 520px) {
  .shell {
    width: min(100vw - 20px, 1180px);
    padding: 10px 0;
  }

  .scoreband strong {
    font-size: 1.45rem;
  }

  .room-band {
    grid-template-columns: 1fr;
  }

  .panel {
    padding: 12px;
  }
}

/* Master tournament layout */
:root {
  --master-panel: #161512;
  --master-line: rgba(234, 178, 28, 0.48);
  --master-line-soft: rgba(234, 178, 28, 0.24);
  --master-gold: #efb72a;
  --master-gold-hot: #f5bd2d;
  --master-text: #f2eee5;
  --master-muted: #aaa297;
}

body {
  background:
    radial-gradient(circle at 50% 8%, rgba(239, 183, 42, 0.1), transparent 30%),
    linear-gradient(90deg, #0b0c0a 0%, #1b1710 30%, #0f0f0d 50%, #1b1710 70%, #0b0c0a 100%);
  color: var(--master-text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, transparent calc(50% - 430px), rgba(239, 183, 42, 0.36) calc(50% - 429px), transparent calc(50% - 428px)),
    linear-gradient(90deg, transparent calc(50% + 428px), rgba(239, 183, 42, 0.36) calc(50% + 429px), transparent calc(50% + 430px));
  opacity: 0.8;
}

.master-shell {
  width: min(860px, 100vw - 28px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 24px 0 calc(42px + env(safe-area-inset-bottom));
}

.master-panel {
  border: 1px solid var(--master-line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(22, 21, 18, 0.96), rgba(12, 12, 10, 0.98));
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.46);
}

.info-button,
.online-pill {
  position: fixed;
  top: 16px;
  z-index: 5;
  min-height: 32px;
  border: 1px solid var(--master-line);
  border-radius: 8px;
  background: rgba(22, 21, 18, 0.86);
  color: var(--master-text);
  font-weight: 900;
}

.info-button {
  left: 16px;
  width: auto;
}

.info-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.72);
}

.info-panel-drawer {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  width: min(760px, 100%);
  max-height: min(760px, calc(100vh - 36px));
  overflow: hidden;
  border: 1px solid var(--master-line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(22, 21, 18, 0.98), rgba(5, 5, 5, 0.98));
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.6);
  color: var(--master-text);
}

.info-panel-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px 16px;
  border-bottom: 1px solid var(--master-line-soft);
}

.info-panel-header h2 {
  margin: 0;
  color: var(--master-gold);
  font-size: 1.45rem;
}

.info-close-button {
  min-height: 38px;
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.04);
  color: var(--master-text);
}

.info-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 14px 24px;
  border-bottom: 1px solid var(--master-line-soft);
}

.info-tabs button {
  flex: 0 0 auto;
  min-height: 38px;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  color: var(--master-muted);
  white-space: nowrap;
}

.info-tabs button.active {
  border-color: var(--master-gold-hot);
  background: rgba(239, 183, 42, 0.16);
  color: var(--master-gold);
}

.info-page {
  overflow-y: auto;
  padding: 24px;
}

.info-page h3 {
  margin-bottom: 14px;
  color: var(--master-text);
  font-size: 1.24rem;
}

.info-page p {
  color: var(--master-muted);
  font-weight: 800;
  line-height: 1.55;
}

.discord-action {
  margin-top: 10px;
  width: fit-content;
}

.online-pill {
  right: 16px;
  display: inline-grid;
  align-items: center;
  padding: 0 14px;
  border-color: rgba(10, 163, 111, 0.8);
  color: #5ff1bd;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  pointer-events: none;
}

.home-shell {
  display: grid;
  align-content: start;
  padding-top: 28px;
}

.home-master-panel {
  display: grid;
  gap: 28px;
  padding: 28px 34px 34px;
}

.home-master-panel h1 {
  margin: 0;
  color: var(--master-gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 9vw, 5.5rem);
  text-align: center;
  letter-spacing: 0.08em;
}

.home-copy,
.home-subcopy,
.home-status,
.master-section p {
  color: var(--master-muted);
  font-weight: 800;
  line-height: 1.45;
  text-align: center;
}

.home-copy {
  margin-bottom: -16px;
  color: var(--master-text);
  font-size: 1.12rem;
}

.home-subcopy {
  margin-bottom: 0;
}

.eyebrow {
  color: var(--master-gold);
  text-align: center;
  letter-spacing: 0.16em;
}

.master-field,
.master-section {
  display: grid;
  gap: 10px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.master-field span,
.master-section h2 {
  color: var(--master-text);
  font-size: 1.1rem;
  letter-spacing: 0;
  text-transform: none;
}

.master-field span,
.master-section h2,
.section-label,
.invite-link-row span,
.player-slot span,
.match-settings-grid span {
  font-weight: 900;
}

.section-label,
.invite-link-row span,
.player-slot span,
.match-settings-grid span {
  color: var(--master-muted);
  font-size: 0.86rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.name-input,
.home-join-control input,
.target-select {
  min-height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: #171511;
  color: var(--master-text);
  font-size: 1.1rem;
  font-weight: 800;
}

.mode-grid,
.home-actions,
.share-actions,
.player-slots,
.match-settings-grid {
  display: grid;
  gap: 12px;
}

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

.mode-option {
  display: grid;
  gap: 4px;
  min-height: 74px;
  align-content: center;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.mode-option.selected {
  border-color: var(--master-gold-hot);
  background: rgba(239, 183, 42, 0.18);
  box-shadow: inset 0 0 0 1px rgba(239, 183, 42, 0.45);
}

.mode-option strong {
  color: var(--master-gold);
  font-size: 1.1rem;
}

.mode-option span {
  color: var(--master-muted);
  font-weight: 800;
}

.home-action-panel {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

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

.home-join-control,
.join-action {
  grid-column: 2;
}

.join-action {
  min-height: 74px;
}

.primary-action,
.join-action,
.ghost-action,
#readyButton,
.share-actions button,
.coin-actions button {
  min-height: 68px;
  border-radius: 8px;
  font-size: 1.12rem;
  font-weight: 1000;
}

.primary-action,
#readyButton,
.coin-actions button:first-child {
  border-color: var(--master-gold-hot);
  background: var(--master-gold-hot);
  color: #11100d;
}

.secondary,
.secondary-link,
.ghost-action,
.share-actions button {
  border-color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.03);
  color: var(--master-text);
}

.ghost-action,
.rules-link {
  justify-self: center;
}

.home-admin-panel {
  padding: 8px 0 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.room-topbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.room-topbar .info-button,
.room-topbar .online-pill {
  position: static;
}

.room-topbar .online-pill {
  min-height: 26px;
  margin-left: auto;
  padding: 0 10px;
  font-size: 0.78rem;
}

.compact-status {
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
}

.compact-status p {
  color: var(--master-muted);
}

.game-shell {
  padding-bottom: calc(110px + env(safe-area-inset-bottom));
}

.trump-action-bar {
  display: grid;
  gap: 16px;
  margin: 0 0 14px;
  padding: 18px;
  border: 1px solid var(--master-line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(22, 21, 18, 0.96), rgba(5, 5, 5, 0.98));
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.35);
}

.trump-action-copy {
  display: grid;
  gap: 6px;
  text-align: center;
}

.trump-action-copy h2,
.trump-action-copy p {
  margin: 0;
}

.trump-action-copy h2 {
  color: var(--master-gold);
  font-size: 1.2rem;
}

.trump-action-copy p:not(.eyebrow) {
  color: var(--master-text);
  font-weight: 900;
}

.trump-action-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(140px, 0.42fr);
  gap: 10px;
}

.trump-action-bar .trump-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
  margin: 0;
}

.trump-action-bar button {
  min-height: 56px;
  width: 100%;
  border-radius: 8px;
  font-size: 1rem;
}

.lobby-panel {
  display: grid;
  gap: 28px;
  padding: 28px;
}

.room-code-label {
  margin-bottom: -18px;
}

.room-code-display {
  display: block;
  padding: 26px 18px;
  border: 3px solid var(--master-line);
  border-radius: 8px;
  background: #050505;
  color: var(--master-gold);
  font-size: clamp(3.4rem, 11vw, 5.2rem);
  letter-spacing: 0.2em;
  line-height: 1;
  text-align: center;
}

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

.players-section {
  display: grid;
  gap: 16px;
  padding-top: 26px;
  border-top: 1px solid var(--master-line-soft);
}

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

.player-slot {
  min-height: 160px;
  padding: 22px;
  border: 1px solid var(--master-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
}

.player-slot strong {
  display: block;
  margin-top: 42px;
  color: var(--master-gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
  overflow-wrap: anywhere;
}

.slot-player-name,
.slot-ready-state {
  display: block;
}

.slot-ready-state {
  margin-top: 10px;
  color: var(--master-muted);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 1000;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.slot-ready-state.ready {
  color: #5ff1bd;
}

.slot-ready-state.not-ready {
  color: var(--master-muted);
}

.empty-slot-card {
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.18);
}

.empty-slot-card strong {
  color: var(--master-muted);
  font-family: inherit;
  font-size: 1.05rem;
  font-style: italic;
}

.match-settings-panel {
  display: grid;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--master-line);
  border-radius: 8px;
  background: #050505;
}

.match-settings-panel h2 {
  margin: 0;
  color: var(--master-gold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

.match-settings-grid strong {
  display: block;
  margin-top: 4px;
  color: var(--master-text);
}

.invite-panel {
  display: grid;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--master-line-soft);
  background: transparent;
  box-shadow: none;
}

.invite-link-row {
  display: grid;
  gap: 6px;
  user-select: text;
}

.invite-panel p {
  margin: 0;
  color: var(--master-text);
  font-size: 1.12rem;
  font-weight: 900;
  text-align: center;
}

#readyButton {
  width: 100%;
}

#readyButton:not(:disabled) {
  box-shadow: 0 0 24px rgba(239, 183, 42, 0.22);
}

#readyButton:disabled {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.42);
}

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

.coin-modal {
  background: rgba(0, 0, 0, 0.72);
}

.coin-card {
  border-color: var(--master-line);
  background: linear-gradient(180deg, #181611, #050505);
  color: var(--master-text);
}

.coin-card h2 {
  color: var(--master-gold);
  font-size: 2rem;
}

.coin-card p {
  color: var(--master-muted);
}

.scoreband,
.panel {
  border-color: var(--master-line-soft);
  background: var(--master-panel);
  color: var(--master-text);
}

.match-complete-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 12px 0 0;
}

.match-complete-actions button {
  min-height: 58px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 1000;
}

.shell:not(.master-shell) {
  color: var(--ink);
}

.shell:not(.master-shell) .topbar,
.shell:not(.master-shell) .rules-panel,
.shell:not(.master-shell) .panel {
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: var(--panel);
  color: var(--ink);
}

.shell:not(.master-shell) h1,
.shell:not(.master-shell) h2,
.shell:not(.master-shell) h3,
.shell:not(.master-shell) .rules-list {
  color: var(--ink);
}

.shell:not(.master-shell) .muted-note,
.shell:not(.master-shell) .panel-heading span,
.shell:not(.master-shell) .match-card small {
  color: var(--muted);
}

.shell:not(.master-shell) .eyebrow {
  color: var(--accent);
  text-align: left;
  letter-spacing: 0;
}

.shell:not(.master-shell) a.button-link,
.shell:not(.master-shell) button {
  background: var(--accent-2);
  color: white;
}

.shell:not(.master-shell) .secondary,
.shell:not(.master-shell) .secondary-link {
  background: white;
  color: var(--accent-2);
}

.leaderboard-panel,
.profile-nav {
  margin-top: 22px;
}

.leaderboard-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.leaderboard-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  color: var(--ink);
}

.leaderboard-table th,
.leaderboard-table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  padding: 13px 10px;
  text-align: left;
}

.leaderboard-table th {
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.leaderboard-table td {
  color: var(--ink);
}

.profile-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 720px) {
  .master-shell {
    width: min(100vw - 16px, 860px);
    padding-top: 18px;
  }

  .game-shell {
    padding-bottom: calc(132px + env(safe-area-inset-bottom));
  }

  .home-master-panel,
  .lobby-panel {
    padding: 22px 18px;
  }

  .room-shell {
    padding-top: 10px;
  }

  .room-shell .lobby-panel {
    gap: 16px;
    padding: 16px 14px 18px;
  }

  .mode-grid,
  .home-actions,
  .share-actions,
  .player-slots,
  .match-settings-grid {
    grid-template-columns: 1fr;
  }

  .home-join-control,
  .join-action {
    grid-column: auto;
  }

  .room-code-display {
    padding: 16px 10px;
    border-width: 2px;
    font-size: clamp(2.35rem, 16vw, 3.35rem);
    letter-spacing: 0.12em;
  }

  .room-topbar {
    gap: 8px;
  }

  .room-topbar .online-pill {
    min-height: 24px;
    padding: 0 8px;
    font-size: 0;
    letter-spacing: 0.06em;
  }

  .room-topbar .online-pill::after {
    content: "Online";
    font-size: 0.68rem;
  }

  .room-shell .compact-status {
    margin-bottom: 8px;
    padding-inline: 6px;
  }

  .room-shell .compact-status p {
    margin-bottom: 0;
    font-size: 0.96rem;
    line-height: 1.25;
  }

  .room-shell .room-code-label {
    margin-bottom: -8px;
    font-size: 0.72rem;
  }

  .room-shell .share-actions {
    gap: 8px;
  }

  .room-shell .share-actions button {
    min-height: 50px;
    font-size: 0.92rem;
  }

  .room-shell .players-section {
    gap: 10px;
    padding-top: 16px;
    order: 4;
  }

  .room-shell .player-slot {
    min-height: 118px;
    padding: 16px;
  }

  .room-shell .player-slot strong {
    margin-top: 26px;
    font-size: clamp(1.5rem, 9vw, 2rem);
    line-height: 1.08;
  }

  .room-shell .slot-ready-state {
    margin-top: 8px;
    font-size: 0.68rem;
  }

  .room-shell .match-settings-panel {
    gap: 12px;
    padding: 16px;
    order: 5;
  }

  .room-shell .match-settings-panel h2 {
    font-size: 0.88rem;
  }

  .room-shell .match-settings-grid {
    gap: 14px;
  }

  .room-shell .invite-panel {
    gap: 12px;
    padding-top: 8px;
    border-top: 0;
    order: 3;
  }

  .room-shell .invite-panel p {
    order: 1;
    font-size: 0.98rem;
    line-height: 1.3;
  }

  .room-shell #readyButton {
    order: 2;
    min-height: 54px;
    font-size: 1rem;
  }

  .room-shell .invite-link-row {
    order: 3;
    padding-top: 10px;
    border-top: 1px solid var(--master-line-soft);
  }

  .room-shell .invite-link-row strong {
    font-size: 0.72rem;
    line-height: 1.25;
  }

  .trump-action-bar {
    position: sticky;
    top: 8px;
    z-index: 4;
    gap: 12px;
    padding: 14px;
  }

  .trump-action-controls,
  .trump-action-bar .trump-buttons {
    grid-template-columns: 1fr;
  }

  .trump-action-bar button {
    min-height: 56px;
    font-size: 1.05rem;
  }

  .match-complete-actions {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .match-complete-actions button {
    min-height: 52px;
  }

  .info-overlay {
    align-items: stretch;
    padding: 12px;
  }

  .info-panel-drawer {
    max-height: calc(100vh - 24px);
  }

  .info-panel-header,
  .info-page {
    padding: 18px;
  }

  .info-tabs {
    padding: 12px 18px;
  }

  .discord-action {
    width: 100%;
  }

  .leaderboard-table {
    min-width: 620px;
  }
}

@media (max-width: 720px) {
  body.room-active {
    min-height: 100dvh;
    overflow-x: hidden;
  }

  .game-screen.room-active {
    width: min(100vw - 12px, 860px);
    min-height: 100dvh;
    padding: 8px 0 calc(10px + env(safe-area-inset-bottom));
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .game-screen.room-active .room-topbar {
    gap: 6px;
    margin-bottom: 2px;
  }

  .game-screen.room-active .room-topbar .info-button,
  .game-screen.room-active .room-topbar .button-link {
    min-height: 34px;
    height: 34px;
    width: auto;
    padding: 0 10px;
    font-size: 0.82rem;
  }

  .game-screen.room-active .room-topbar .online-pill {
    min-height: 22px;
    padding: 0 7px;
    font-size: 0.64rem;
  }

  .game-screen.room-active .compact-status {
    margin: 0;
  }

  .game-screen.room-active .compact-status p {
    font-size: 0.84rem;
    line-height: 1.2;
  }

  .game-screen.room-active .trump-action-bar {
    position: sticky;
    top: 4px;
    z-index: 6;
    gap: 8px;
    margin: 0;
    padding: 10px;
  }

  .game-screen.room-active .trump-action-copy {
    gap: 2px;
  }

  .game-screen.room-active .trump-action-copy h2 {
    font-size: 0.95rem;
  }

  .game-screen.room-active .trump-action-copy p:not(.eyebrow) {
    font-size: 0.82rem;
    line-height: 1.2;
  }

  .game-screen.room-active .trump-action-controls,
  .game-screen.room-active .trump-action-bar .trump-buttons {
    grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
    gap: 8px;
  }

  .game-screen.room-active .trump-action-bar button {
    min-height: 46px;
    height: auto;
    font-size: 0.95rem;
  }

  .game-screen.room-active .scoreband {
    margin-top: 0;
  }

  .game-screen.room-active .scoreband div {
    padding: 5px 4px;
  }

  .game-screen.room-active .scoreband span {
    font-size: 0.66rem;
  }

  .game-screen.room-active .scoreband strong {
    font-size: 1.08rem;
  }

  .game-screen.room-active .room-table {
    flex: 1 1 auto;
    min-height: 0;
    margin-top: 0;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "opponent"
      "center"
      "player";
    gap: 6px;
    align-content: stretch;
  }

  .game-screen.room-active .room-table > .player-panel:first-child {
    grid-area: player;
    position: sticky;
    bottom: calc(4px + env(safe-area-inset-bottom));
    z-index: 5;
    padding: 8px;
  }

  .game-screen.room-active .room-table > .center-panel {
    grid-area: center;
    display: grid;
    grid-template-columns: minmax(78px, 0.42fr) minmax(0, 1fr);
    grid-template-areas:
      "center-heading center-heading"
      "upcard trick"
      "last-trick last-trick";
    gap: 6px 8px;
    min-height: 284px;
    padding: 8px;
  }

  .game-screen.room-active .room-table > .player-panel:last-child {
    grid-area: opponent;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px;
    align-items: center;
    padding: 6px 8px;
  }

  .game-screen.room-active .panel-heading {
    margin-bottom: 6px;
  }

  .game-screen.room-active .panel-heading h2,
  .game-screen.room-active .trick-area h3,
  .game-screen.room-active .last-trick-area h3 {
    font-size: 0.82rem;
  }

  .game-screen.room-active .panel-heading span {
    font-size: 0.68rem;
  }

  .game-screen.room-active .center-panel .panel-heading {
    grid-area: center-heading;
    margin-bottom: 0;
  }

  .game-screen.room-active .upcard {
    grid-area: upcard;
    width: 86px;
    min-height: 108px;
    margin-bottom: 0;
  }

  .game-screen.room-active .kitty-card-back {
    min-height: 96px;
  }

  .game-screen.room-active .upcard-card {
    min-height: 96px;
  }

  .game-screen.room-active .kitty-trump-badge {
    bottom: 5px;
    min-height: 22px;
    padding: 2px 6px;
    border-width: 1px;
  }

  .game-screen.room-active .kitty-trump-badge span {
    font-size: 0.45rem;
  }

  .game-screen.room-active .kitty-trump-badge strong {
    font-size: 0.92rem;
  }

  .game-screen.room-active .trick-area {
    grid-area: trick;
    margin-top: 0;
  }

  .game-screen.room-active .last-trick-area {
    grid-area: last-trick;
    margin-top: 0;
    padding: 7px;
  }

  .game-screen.room-active .last-trick-heading {
    margin-bottom: 5px;
  }

  .game-screen.room-active .last-trick-heading span {
    font-size: 0.56rem;
  }

  .game-screen.room-active .history {
    display: none;
  }

  .game-screen.room-active .current-trick,
  .game-screen.room-active .last-trick {
    gap: 6px;
    min-height: 102px;
  }

  .game-screen.room-active .card,
  .game-screen.room-active .play-slot {
    min-height: 78px;
    border-width: 1px;
  }

  .game-screen.room-active .current-trick .card,
  .game-screen.room-active .current-trick .play-slot,
  .game-screen.room-active .last-trick .card {
    min-height: 102px;
  }

  .game-screen.room-active .trick-card-player {
    padding: 4px 5px 0;
    font-size: 0.58rem;
  }

  .game-screen.room-active .current-trick .card-face-inner {
    min-height: 74px;
    padding: 5px;
  }

  .game-screen.room-active .last-trick .card-face-inner {
    min-height: 74px;
    padding: 5px;
  }

  .game-screen.room-active .winning-card-badge {
    right: 4px;
    bottom: 4px;
    padding: 2px 4px;
    font-size: 0.42rem;
  }

  .game-screen.room-active .card .rank {
    font-size: 0.78rem;
  }

  .game-screen.room-active .card .suit {
    font-size: 0.94rem;
  }

  .game-screen.room-active .rank-large {
    font-size: 1.65rem;
  }

  .game-screen.room-active .suit-large {
    font-size: 2rem !important;
  }

  .game-screen.room-active .hand {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 5px;
  }

  .game-screen.room-active .player-panel:first-child .card {
    min-height: 76px;
    padding: 0;
  }

  .game-screen.room-active .card-backs {
    display: flex;
    justify-content: flex-end;
    gap: 4px;
  }

  .game-screen.room-active .card-backs .card {
    width: 22px;
    min-height: 32px;
    padding: 0;
    border-radius: 4px;
    overflow: hidden;
    color: transparent;
  }

  .game-screen.room-active #nextHandButton,
  .game-screen.room-active #spectatorNotice {
    grid-column: 1 / -1;
  }
}
