@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@500;700&family=Noto+Sans+SC:wght@400;500;700&display=swap");

:root {
  --felt: #163a2c;
  --felt-deep: #0d261c;
  --wood: #6b3a1f;
  --gold: #d4b06a;
  --ink: #1c140e;
  --paper: #f4ead4;
  --cream: #fff8ea;
  --red: #b4232c;
  --muted: #8a7460;
  --card-w: 90px;
  --card-h: 128px;
  --hand-h: 154px;
  --parked-h: 108px;
  --hud-h: 56px;
  --dock-h: calc(var(--hand-h) + 92px);
}

* { box-sizing: border-box; }
html {
  background: #07140f;
}
html, body {
  margin: 0;
  height: 100%;
  height: var(--app-h, 100svh);
  overflow: hidden;
  overscroll-behavior: none;
}
#app { height: 100%; height: var(--app-h, 100svh); }
html.table-pin,
html.table-pin body {
  position: fixed;
  inset: 0;
  width: 100%;
  height: var(--app-h, 100svh);
  overflow: hidden;
}
body {
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  color: var(--paper);
  background:
    radial-gradient(1200px 600px at 50% -10%, #2a5a42 0%, transparent 55%),
    linear-gradient(160deg, #10261c, #07140f);
}

.hidden { display: none !important; }
.screen { min-height: 100%; }
#lobby.screen { overflow: auto; }

#lobby {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  padding: 24px 16px;
  height: 100%;
  height: var(--app-h, 100svh);
  min-height: 0;
}

.lobby-title {
  font-family: "Noto Serif SC", serif;
  font-size: 56px;
  margin: 0;
  letter-spacing: 0.28em;
  text-indent: 0.28em;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.panel {
  background: rgba(20, 12, 8, 0.55);
  border: 1px solid rgba(212, 176, 106, 0.28);
  border-radius: 18px;
  padding: 22px;
  backdrop-filter: blur(10px);
}

.lobby-panel { width: min(380px, 100%); display: grid; gap: 12px; }
label { display: grid; gap: 6px; font-size: 13px; color: #e8d7b4; }
input {
  height: 42px;
  border: 1px solid rgba(212, 176, 106, 0.28);
  background: rgba(255, 248, 234, 0.06);
  color: var(--cream);
  border-radius: 10px;
  padding: 0 12px;
  font-size: 16px;
}
input:focus { outline: 1px solid var(--gold); }
.hint { color: var(--muted); font-size: 12px; }
.lobby-actions { display: flex; gap: 10px; }
.rules-toggle {
  text-align: center;
  color: var(--gold);
  cursor: pointer;
  margin: 4px 0 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  border: 1px solid rgba(244, 234, 212, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: var(--paper);
  border-radius: 10px;
  height: 42px;
  padding: 0 16px;
  cursor: pointer;
  font-size: 15px;
}
.btn:hover { background: rgba(255, 255, 255, 0.12); }
.btn.primary {
  background: #c43b2c;
  border-color: #c43b2c;
  color: #fff8ea;
  flex: 1;
}
.btn.primary:hover { background: #d14a3a; }
.btn.ghost { flex: 1; }
.btn.gold { background: #b8892d; border-color: #b8892d; color: #1c140e; }
.btn.tiny { height: 32px; font-size: 13px; padding: 0 10px; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }

#table {
  display: grid;
  grid-template-columns: 1fr 280px;
  grid-template-rows: minmax(0, 1fr);
  height: 100%;
  height: var(--app-h, 100svh);
  min-height: 0;
  overflow: hidden;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
  padding-bottom: env(safe-area-inset-bottom);
  padding-top: env(safe-area-inset-top);
}
.felt-hud {
  position: absolute;
  top: 22px;
  left: 28px;
  right: 28px;
  z-index: 6;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  pointer-events: none;
}
.felt-hud .hud-left {
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  opacity: 1;
}
.felt-hud .hud-right {
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  min-width: 0;
}
.felt-hud .hud-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}
.felt-hud #room-code,
.felt-hud #side-toggle,
.felt-hud #hud-more {
  opacity: 0.5;
}
.felt-hud .hud-tools:hover #room-code,
.felt-hud .hud-tools:hover #side-toggle,
.felt-hud .hud-tools:hover #hud-more,
.felt-hud .hud-tools:focus-within #room-code,
.felt-hud .hud-tools:focus-within #side-toggle,
.felt-hud .hud-tools:focus-within #hud-more {
  opacity: 0.92;
}
.felt-hud .hud-tools .btn.tiny {
  background: rgba(20, 12, 8, 0.28);
  border-color: rgba(244, 234, 212, 0.22);
}
.hud-menu {
  position: relative;
  flex: none;
}
.hud-menu-list {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  z-index: 30;
  min-width: 112px;
  padding: 4px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: rgba(20, 12, 8, 0.94);
  border: 1px solid rgba(212, 176, 106, 0.35);
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}
.hud-menu-list[hidden] { display: none; }
.hud-menu-list button {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #f4ead4;
  font-size: 13px;
  cursor: pointer;
  line-height: 1;
}
.hud-menu-list button:hover { background: rgba(255, 255, 255, 0.08); }
.hud-menu-list button.hidden { display: none; }
.felt-hud #room-code {
  font-family: "Noto Serif SC", serif;
  letter-spacing: 0.12em;
  font-size: 13px;
  color: #d4b06a;
  text-shadow: 0 1px 4px rgba(0,0,0,.5);
}
.hud-status:empty { display: none; }
.hud-status {
  font-size: 12px;
  color: #ffe08a;
  text-shadow: 0 1px 4px rgba(0,0,0,.5);
  text-align: right;
  max-width: min(280px, 52vw);
  line-height: 1.35;
}
#side-toggle,
#hud-more {
  display: none;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding-top: 0;
  padding-bottom: 0;
  height: 28px;
  font-size: 12px;
}
.felt-hud #hud-more { display: inline-flex; }
#rotate-btn,
#voice-btn,
#nick-btn,
#watch-btn,
#restart-menu-btn,
#copy-link,
#exit-btn {
  line-height: 1;
}
.felt-hud .btn.tiny { height: 28px; font-size: 12px; padding: 0 8px; }
.scoreboard {
  min-width: 168px;
  padding: 10px 12px 8px;
  background: rgba(8, 12, 10, 0.5);
  border: 1px solid rgba(212, 176, 106, 0.28);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
  text-align: left;
}
.scoreboard.is-folded {
  padding-bottom: 7px;
}
.scoreboard.is-folded .score-team:not(.score-head) {
  display: none;
}
.scoreboard.is-folded .score-head {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}
.scoreboard.is-toggleable {
  cursor: pointer;
}
.scoreboard-now {
  display: flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
  justify-self: start;
}
.scoreboard-now-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #d4b06a;
  text-indent: 0.18em;
  flex: none;
}
.scoreboard-now-rank {
  font-family: "Noto Serif SC", serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  color: #ffe08a;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
  font-variant-numeric: tabular-nums;
}
.scoreboard-now-rank.is-a {
  color: #ff6b5a;
}
.scoreboard-teams {
  display: grid;
  gap: 4px;
}
.score-team {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1.5em 1.7em;
  gap: 6px;
  align-items: center;
  padding: 3px 4px;
  border-radius: 8px;
  color: rgba(244, 234, 212, 0.62);
}
.score-team.score-head {
  grid-template-columns: minmax(0, 1fr) 1.5em 1.7em;
  padding: 0 4px 3px;
  margin-bottom: 1px;
  color: rgba(212, 176, 106, 0.7);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  border-bottom: 1px solid rgba(212, 176, 106, 0.16);
}
.score-team.is-lead {
  color: #fff8ea;
  background: rgba(212, 176, 106, 0.12);
  box-shadow: inset 2px 0 0 #d4b06a;
}
.score-lead {
  display: inline;
  margin-right: 0.4em;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #ffe08a;
}
.score-names {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  justify-self: stretch;
}
.score-sets,
.score-level {
  justify-self: end;
  text-align: right;
  min-width: 0;
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}
.score-team.is-lead .score-level {
  font-family: "Noto Serif SC", serif;
  font-size: 16px;
  color: #ffe08a;
}
.score-level.a-try { color: #ffb020; }
.score-team.is-lead .score-level.a-try { color: #ff6b5a; }

.felt {
  position: relative;
  margin: 12px;
  border-radius: 22px;
  min-height: 0;
  height: 100%;
  background:
    radial-gradient(circle at 50% 40%, #1d4d39, var(--felt-deep) 70%);
  box-shadow: inset 0 0 0 10px #5a3118, inset 0 0 0 14px #d4b06a33, 0 20px 50px rgba(0,0,0,.4);
  overflow: hidden;
}
.felt.bomb-shake {
  animation: felt-boom 0.58s cubic-bezier(.36,.07,.19,.97) both;
}
.felt.bomb-shake-heavy {
  animation: felt-boom-heavy 0.86s cubic-bezier(.36,.07,.19,.97) both;
}
@keyframes felt-boom {
  0% { transform: translate(0, 0) scale(1); filter: brightness(1); }
  6% { transform: translate(-8px, 5px) scale(1.014); filter: brightness(1.35); }
  14% { transform: translate(7px, -6px) scale(1.01); filter: brightness(1.18); }
  26% { transform: translate(-5px, 3px) scale(1.004); filter: brightness(1.06); }
  42% { transform: translate(3px, -2px); filter: brightness(1); }
  100% { transform: translate(0, 0) scale(1); filter: brightness(1); }
}
@keyframes felt-boom-heavy {
  0% { transform: translate(0, 0) scale(1); filter: brightness(1); }
  5% { transform: translate(-11px, 7px) scale(1.02); filter: brightness(1.55); }
  12% { transform: translate(10px, -8px) scale(1.014); filter: brightness(1.28); }
  22% { transform: translate(-7px, 5px) scale(1.008); filter: brightness(1.12); }
  38% { transform: translate(4px, -3px); filter: brightness(1.04); }
  100% { transform: translate(0, 0) scale(1); filter: brightness(1); }
}
.seat {
  position: absolute;
  min-width: 0;
  text-align: center;
  z-index: 3;
  pointer-events: none;
}
.seat-top { top: 58px; left: 50%; transform: translateX(-50%); }
.seat-left { left: 18px; top: 42%; transform: translateY(-50%); }
.seat-right { right: 18px; top: 42%; transform: translateY(-50%); }
.seat-self { display: none !important; }
.seat .name {
  font-weight: 700;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  white-space: nowrap;
  max-width: 100%;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(10, 8, 6, 0.58);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}
.seat .count {
  font-weight: 600;
  font-size: 13px;
  color: #ffe08a;
}
.seat .meta { font-size: 12px; color: #d7c7a8; margin-top: 4px; }
.seat.active .name {
  color: #ffe08a;
  box-shadow: 0 0 0 1px rgba(212, 176, 106, 0.55), 0 2px 10px rgba(0, 0, 0, 0.28);
}
.seat.played .name { color: #fff4c4; }
.seat.played { z-index: 3; }
.played-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1px 7px;
  border-radius: 999px;
  background: #c43b2c;
  color: #fff8ea;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.turn-clock {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 1px 8px 1px 6px;
  border-radius: 999px;
  background: #1c140e;
  border: 1px solid #d4b06a;
  color: #ffe08a;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  font-size: 13px;
  line-height: 1.3;
  box-shadow: 0 0 0 1px rgba(212, 176, 106, 0.25);
}
.turn-clock b { font-weight: 800; }
.turn-clock.urgent {
  background: #5a1212;
  border-color: #ff6b5a;
  color: #fff0e8;
  animation: clock-urgent 0.7s ease-in-out infinite;
}
.clock-face {
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 50%;
  position: relative;
  flex: none;
}
.clock-face::before,
.clock-face::after {
  content: "";
  position: absolute;
  background: currentColor;
  left: 50%;
  top: 50%;
  transform-origin: bottom center;
  border-radius: 1px;
}
.clock-face::before {
  width: 2px;
  height: 4px;
  margin-left: -1px;
  margin-top: -4px;
}
.clock-face::after {
  width: 2px;
  height: 3px;
  margin-left: -1px;
  margin-top: -3px;
  transform: rotate(90deg);
  transform-origin: bottom center;
}
@keyframes clock-urgent {
  0%, 100% { box-shadow: 0 0 0 1px rgba(255, 107, 90, 0.2); }
  50% { box-shadow: 0 0 0 3px rgba(255, 107, 90, 0.45); }
}
.trick-who {
  font-weight: 800;
  font-size: 15px;
  color: #ffe08a;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
  margin-bottom: 4px;
  letter-spacing: 0.08em;
}
.trick-who,
.trick-who:empty,
.trick-who.hidden { display: none; }
.fly-chats {
  position: absolute;
  left: 25%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 12;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  pointer-events: none;
  width: min(240px, 44%);
}
.fly-chat {
  max-width: 100%;
  padding: 8px 14px;
  border-radius: 16px;
  background: rgba(20, 12, 8, 0.86);
  border: 1px solid rgba(212, 176, 106, 0.5);
  color: #fff8ea;
  font-size: 15px;
  line-height: 1.4;
  word-break: break-word;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
  animation: fly-chat 4s ease forwards;
}
.fly-chat strong { color: #ffe08a; margin-right: 2px; }
.fly-chat.watch { border-color: rgba(180, 180, 180, 0.35); }
@keyframes fly-chat {
  0% { opacity: 0; transform: translateY(14px); }
  12% { opacity: 1; transform: translateY(0); }
  78% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-16px); }
}
#side-toggle.chat-new {
  background: #c43b2c;
  border-color: #c43b2c;
  color: #fff8ea;
  animation: chat-new 1s ease-in-out infinite;
}
@keyframes chat-new {
  0%, 100% { box-shadow: 0 0 0 0 rgba(196, 59, 44, 0.5); }
  50% { box-shadow: 0 0 0 4px rgba(196, 59, 44, 0.15); }
}
.seat.out .name { color: #ffe08a; }
.seat .mini-play {
  min-height: 0;
  margin-top: 4px;
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
}
.seat.played .mini-play .card.mini {
  width: 30px;
  height: 40px;
}
.finish-mark {
  font-family: "Noto Serif SC", serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-indent: 0.14em;
  line-height: 1.2;
  padding: 1px 8px 1px 10px;
  border-radius: 999px;
  margin: 0;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  flex: none;
}
.finish-0 {
  background: linear-gradient(180deg, #ffe98a, #e0b020);
  color: #3a2208;
  font-size: 13px;
  box-shadow: 0 0 0 1px #fff3c0, 0 2px 8px rgba(0, 0, 0, 0.35);
}
.finish-1 {
  background: linear-gradient(180deg, #f4f7fb, #b7c2d0);
  color: #1c2430;
  font-size: 13px;
}
.finish-2 {
  background: linear-gradient(180deg, #f0a070, #b45a22);
  color: #fff8ea;
  font-size: 13px;
}
.finish-3 {
  background: linear-gradient(180deg, #7a6450, #3d2e22);
  color: #f0d48a;
  font-size: 13px;
}
.watch-mark {
  font-size: 13px;
  color: #d7c7a8;
}

.center-well {
  position: absolute;
  left: 50%;
  top: var(--hud-h);
  bottom: var(--dock-h);
  transform: translateX(-50%);
  width: min(560px, 72%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
  z-index: 4;
  contain: layout;
}
.tribute-dock {
  position: absolute;
  left: 50%;
  top: var(--hud-h);
  bottom: var(--dock-h);
  transform: translateX(-50%);
  width: min(560px, 88%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 8px;
  text-align: center;
  pointer-events: none;
  z-index: 4;
}
.trick { display: flex; justify-content: center; align-items: flex-end; min-height: 108px; flex-wrap: nowrap; contain: layout; }
.trick:empty { min-height: 0; }
.trick .card {
  width: 76px;
  height: 108px;
  position: relative;
}
.trick .card + .card { margin-left: -40px; }
.banner {
  min-height: 0;
  color: #ffe08a;
  text-shadow: 0 2px 8px rgba(0,0,0,.5);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  padding: 0 10px;
}
.banner:empty { display: none; }

.hand-wrap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: grid;
  justify-items: stretch;
  gap: 6px;
  touch-action: none;
  padding: 10px 12px 8px;
  z-index: 5;
  background: linear-gradient(180deg, transparent 0%, rgba(7, 16, 12, 0.55) 28px, rgba(7, 16, 12, 0.78) 100%);
}
.hand-tools {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  position: relative;
  z-index: 6;
  max-height: none;
}
.arrange-bar { display: contents; }
.arrange-bar .btn {
  height: 32px;
  font-size: 13px;
  padding: 0 10px;
  white-space: nowrap;
}
.hand-row {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: var(--hand-h);
  padding-top: 32px;
}
.arrange-flush-btn .arrange-count {
  color: #e53935;
  font-weight: 800;
  font-size: 1.2em;
  min-width: 1ch;
  display: inline-block;
}
.parked {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 4px;
  min-height: 0;
  min-width: 0;
  width: auto;
  max-width: 58%;
  flex: 0 1 auto;
  overflow: visible;
}
.parked-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 8px;
  min-width: 0;
}
.parked-group {
  display: flex;
  align-items: flex-end;
  position: relative;
  flex: 0 0 auto;
  padding-top: 16px;
  padding-right: 2px;
  border-radius: 10px;
  transition: box-shadow .12s ease, background .12s ease;
  cursor: pointer;
}
.parked-group.drop-ok {
  background: rgba(212, 176, 106, 0.18);
  box-shadow: 0 0 0 2px #d4b06a;
}
.parked-group .tag {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 11px;
  color: #d4b06a;
  padding-right: 18px;
}
.parked-return {
  pointer-events: auto;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 8;
  width: 18px;
  height: 18px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(28, 20, 14, 0.72);
  color: #fff8ea;
  font-size: 14px;
  line-height: 18px;
  cursor: pointer;
}
.parked .card.chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  overflow: hidden;
  padding: 4px 0 6px;
}
.parked .card.chip .chip-rank {
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
}
.parked .card.chip .chip-suit {
  font-size: 20px;
  line-height: 1;
}
.parked .card.chip .tl,
.parked .card.chip .br,
.parked .card.chip .pip,
.parked .card.chip .joker-art { display: none !important; }
.parked .card { width: 48px; height: 68px; }
.parked-return:hover { background: #c43b2c; }
.parked .card.selected { transform: translateY(-10px); }
.parked .card .tl, .parked .card .br { font-size: 14px; }
.parked .card .pip { font-size: 22px; }
.parked .card + .card { margin-left: -12px; }
.self-line:empty { display: none; }
.self-name,
.self-line {
  font-size: 13px;
  color: #ffe08a;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}
.self-line {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  flex: none;
  white-space: nowrap;
}
.self-name-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(10, 8, 6, 0.45);
}
.hand {
  display: flex;
  justify-content: center;
  height: var(--hand-h);
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  max-width: 100%;
  padding: 0 8px 0 0;
  contain: layout;
  touch-action: none;
  border-radius: 10px;
}
.hand.drop-ok {
  box-shadow: inset 0 0 0 2px #d4b06a;
}
.card.dragging { opacity: 0.35; }
.card.drag-ghost {
  position: fixed;
  z-index: 80;
  pointer-events: none;
  opacity: 0.92;
  margin: 0 !important;
  transform: rotate(-6deg) scale(1.05);
}
body.round-over { --dock-h: 80px; }
body.self-out { --dock-h: 56px; }
body.round-over .hand-row {
  min-height: 0;
}
body.round-over .hand {
  height: 0;
  min-height: 0;
  overflow: hidden;
  padding: 0;
}
body.round-over .parked { display: none; }
body.self-out .hand-row {
  min-height: 0;
  padding-top: 0;
}
body.self-out .hand,
body.self-out .parked {
  display: none !important;
}
body.self-out .controls {
  display: none !important;
}
.controls { display: flex; gap: 8px; flex-wrap: nowrap; align-items: center; }
.controls .btn {
  height: 36px;
  min-width: 64px;
  border-radius: 999px;
  font-weight: 600;
}
.controls .btn.primary {
  min-width: 84px;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(196, 59, 44, 0.35);
}
.controls .btn.gold { border-radius: 999px; }
body.spectating .controls,
body.spectating .wait-actions { display: none !important; }
body.spectating:not(.watching) .hand-row { display: none !important; }
body.spectating.watching .hand .card { cursor: default; }

.modal-card p { color: #eadcc2; line-height: 1.55; margin: 0 0 12px; }
.modal-card input {
  width: 100%;
  margin-bottom: 12px;
}
.gender-pick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0 0 14px;
}
.gender-opt {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  cursor: pointer;
}
.gender-opt input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
  pointer-events: none;
}
.gender-opt span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(212, 176, 106, 0.35);
  background: #1a120c;
  color: #eadcc2;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.gender-opt input:checked + span {
  border-color: #d4b06a;
  background: #3a2a14;
  color: #f6e6b8;
  box-shadow: 0 0 0 1px #d4b06a inset, 0 4px 12px rgba(212, 176, 106, 0.18);
}
.gender-opt input:focus-visible + span {
  outline: 2px solid #d4b06a;
  outline-offset: 2px;
}

.card {
  width: var(--card-w);
  height: var(--card-h);
  border-radius: 8px;
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 8px 16px rgba(0,0,0,.28);
  position: relative;
  flex: 0 0 auto;
  user-select: none;
  cursor: pointer;
  border: 0;
  padding: 0;
  transition: transform .12s ease, margin .12s ease;
  contain: layout style;
}
.card * { pointer-events: none; }
.card .parked-return { pointer-events: auto; }
.hand .card + .card { margin-left: -42px; }
.card.mini {
  width: 30px;
  height: 40px;
  cursor: default;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 2px 0 3px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}
.card.mini + .card.mini { margin-left: -4px; }
.card.mini .tl,
.card.mini .br,
.card.mini .pip,
.card.mini .joker-art,
.card.mini .badge { display: none !important; }
.card.mini .chip-rank {
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
}
.card.mini .chip-suit {
  font-size: 14px;
  line-height: 1;
  margin-top: 1px;
}
.card.mini.joker .chip-rank,
.card.mini.joker .chip-suit { font-size: 12px; }
.card.red { color: var(--red); }
.card.selected { transform: translateY(-22px); z-index: 3; }
.card.hint { box-shadow: 0 0 0 2px #d4b06a, 0 8px 16px rgba(0,0,0,.28); }
.card .tl, .card .br {
  position: absolute;
  font-weight: 700;
  line-height: 1.05;
  text-align: center;
}
.card .tl { top: 5px; left: 5px; font-size: 22px; }
.card .br { bottom: 5px; right: 5px; font-size: 22px; transform: rotate(180deg); }
.card .pip {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 40px;
}
.hand .card .tl { font-size: 26px; }
.hand .card .br { font-size: 26px; }
.hand .card .pip { font-size: 34px; }
.hand .card .suit-mark { font-size: 18px; font-weight: 700; }
.hand .card .tl.joker-word,
.hand .card .br.joker-word { font-size: 13px; }
.card .badge {
  position: absolute;
  top: 34px;
  right: 5px;
  background: #b8892d;
  color: #1c140e;
  font-size: 11px;
  border-radius: 4px;
  padding: 1px 3px;
}
.tribute-tray {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  align-items: stretch;
  margin-bottom: 4px;
  pointer-events: auto;
}
.tribute-board {
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
  align-items: center;
  background: rgba(16, 10, 7, 0.45);
  border: 1px solid rgba(212, 176, 106, 0.28);
  border-radius: 10px;
  padding: 6px 10px;
  min-width: 140px;
}
.tribute-texts,
.tribute-cards {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.tribute-texts span,
.tribute-slot {
  min-width: 0;
  text-align: center;
}
.tribute-texts span {
  color: #f0d48a;
  font-size: 12px;
  line-height: 1.25;
}
.tribute-slot {
  display: flex;
  justify-content: center;
  min-height: 48px;
}
.tribute-slot.empty {
  min-height: 0;
}
.card .tl.joker-word,
.card .br.joker-word {
  writing-mode: vertical-rl;
  text-orientation: upright;
  letter-spacing: 0.02em;
  font-weight: 800;
  font-size: 11px;
  line-height: 0.95;
}
.parked .card .tl.joker-word,
.parked .card .br.joker-word { font-size: 8px; }
.joker-art {
  position: absolute;
  left: 54%;
  top: 52%;
  width: 78%;
  height: 76%;
  transform: translate(-50%, -50%);
  object-fit: contain;
  pointer-events: none;
}
.card.joker {
  background: var(--cream);
  overflow: hidden;
}
.card.joker-big { color: var(--red); }
.card.joker-small { color: var(--ink); }

.side {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px 12px 12px 0;
  min-width: 0;
  overflow: hidden;
}
.side h2 { margin: 0 0 8px; font-size: 14px; color: var(--gold); }
.wait-head {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  font: inherit;
}
.wait-head h2 { margin: 0; }
.fold-mark {
  color: var(--gold);
  font-size: 12px;
  line-height: 1;
  opacity: 0.85;
}
.fold-mark::after { content: "▾"; }
.wait-box.seats-folded .fold-mark::after { content: "▸"; }
.wait-box.seats-folded .wait-body { display: none; }
.wait-box, .chat-box {
  background: rgba(16, 10, 7, 0.55);
  border: 1px solid rgba(212, 176, 106, 0.18);
  border-radius: 14px;
  padding: 12px;
}
.chat-box { flex: 1; display: flex; flex-direction: column; min-width: 0; min-height: 0; }
#seat-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
#seat-list li { font-size: 14px; color: #eadcc2; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
#seat-list .kick-bot { flex: none; }
.wait-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
#exit-panel-btn { width: 100%; margin-top: 8px; }
#chat-log { flex: 1; overflow: auto; font-size: 13px; color: #d7c7a8; }
#chat-form { display: flex; gap: 6px; margin-top: 8px; min-width: 0; width: 100%; }
#chat-form input { flex: 1; min-width: 0; width: 0; height: 34px; }
#chat-form .btn { flex: none; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom));
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.modal-card {
  background: #24170f;
  border: 1px solid rgba(212, 176, 106, 0.3);
  border-radius: 16px;
  padding: 18px 18px 16px;
  width: min(560px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 0;
  box-sizing: border-box;
}
.modal-card h2 { margin: 0 0 10px; flex: none; }
.modal-card ul {
  padding-left: 18px;
  line-height: 1.7;
  color: #eadcc2;
  margin: 0 0 14px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  flex: 1;
  min-height: 0;
}
.modal-card #rules-close { flex: none; width: 100%; }

@media (max-width: 900px) {
  #table { grid-template-columns: 1fr; }
  .side { padding: 0 12px 16px; }
  .lobby-title { font-size: 40px; }
  #side-toggle,
  #hud-more { display: inline-flex; }
  .side {
    position: fixed;
    z-index: 50;
    top: 0;
    right: 0;
    bottom: var(--kb, 0px);
    width: min(300px, 86vw);
    padding: 12px;
    padding-top: calc(12px + env(safe-area-inset-top));
    background: #140e0a;
    box-shadow: -12px 0 32px rgba(0, 0, 0, 0.45);
    transform: translateX(110%);
    transition: transform .18s ease;
  }
  body.side-open .side { transform: translateX(0); }
  .center-well {
    top: var(--hud-h);
    bottom: var(--dock-h);
    transform: translateX(-50%);
  }
  body.round-over .center-well,
  body.self-out .center-well {
    bottom: var(--dock-h);
  }
  .tribute-dock {
    top: var(--hud-h);
    bottom: var(--dock-h);
    transform: translateX(-50%);
  }
}

html.forced-landscape {
  /* Device is still portrait; remap insets into the rotated visual edges. */
  --sa-top: env(safe-area-inset-right, 0px);
  --sa-right: env(safe-area-inset-bottom, 0px);
  --sa-bottom: env(safe-area-inset-left, 0px);
  --sa-left: env(safe-area-inset-top, 0px);
  background: #07140f;
}
html.forced-landscape,
html.forced-landscape body,
html.table-pin.forced-landscape,
html.table-pin.forced-landscape body {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  overflow: hidden;
  background: #07140f;
}
html.forced-landscape #app {
  position: fixed;
  top: 0;
  left: 100vw;
  left: 100dvw;
  width: 100vh;
  width: 100dvh;
  height: 100vw;
  height: 100dvw;
  transform: rotate(90deg);
  transform-origin: 0 0;
  overflow: hidden;
  background: #0d261c;
}
html.forced-landscape #table,
html.forced-landscape #lobby.screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
html.forced-landscape #table {
  padding-top: var(--sa-top);
  padding-right: var(--sa-right);
  padding-bottom: var(--sa-bottom);
  padding-left: var(--sa-left);
}
html.forced-landscape .felt,
html.forced-landscape.land-compact .felt {
  margin: 0;
  border-radius: 0;
}
html.forced-landscape .felt-hud,
html.forced-landscape.land-compact .felt-hud {
  top: max(8px, var(--sa-top));
  left: max(10px, var(--sa-left));
  right: max(10px, var(--sa-right));
}
html.forced-landscape .side,
html.forced-landscape.land-compact .side {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(260px, 36%);
  max-width: 280px;
  padding: 10px;
  padding-top: max(10px, var(--sa-top));
  padding-right: max(8px, var(--sa-right));
  padding-bottom: max(10px, var(--sa-bottom));
  transform: translateX(110%);
}
html.forced-landscape body.side-open .side,
html.forced-landscape.land-compact body.side-open .side {
  transform: translateX(0);
}
html.forced-landscape #hud-more { display: inline-flex; }

.chat-dock {
  display: none;
}
.chat-dock.open {
  display: flex;
  flex-direction: column;
  position: fixed;
  left: 0;
  right: 0;
  bottom: var(--kb, 0px);
  z-index: 400;
  width: 100%;
  max-width: 100vw;
  background: #140e0a;
  border-top: 1px solid rgba(212, 176, 106, 0.4);
  padding: 8px 10px;
  padding-bottom: calc(8px + env(safe-area-inset-bottom));
  box-shadow: 0 -10px 28px rgba(0, 0, 0, 0.45);
  transform: none;
}
.dock-log {
  max-height: 22vh;
  overflow: auto;
  font-size: 14px;
  color: #eadcc2;
  line-height: 1.45;
  margin-bottom: 8px;
}
.dock-log:empty { display: none; }
.dock-form {
  display: flex;
  gap: 6px;
  align-items: center;
}
.dock-form input {
  flex: 1;
  min-width: 0;
  height: 40px;
}
.dock-form .btn { flex: none; height: 40px; }

html.land-compact {
  --card-w: 64px;
  --card-h: 92px;
  --hand-h: 112px;
  --parked-h: 76px;
  --hud-h: 48px;
  --dock-h: calc(var(--hand-h) + 78px);
}
html.land-compact #lobby {
  grid-template-columns: auto minmax(240px, 360px);
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding: 8px 20px;
  padding-left: max(16px, env(safe-area-inset-left));
  padding-right: max(16px, env(safe-area-inset-right));
}
html.land-compact .lobby-title {
  font-size: 40px;
  letter-spacing: 0.16em;
  text-indent: 0.16em;
}
html.land-compact .lobby-panel { gap: 8px; width: min(360px, 100%); }
html.land-compact #lobby .panel { padding: 12px 14px; }
html.land-compact #lobby label { gap: 3px; font-size: 12px; }
html.land-compact #lobby input { height: 34px; }
html.land-compact #lobby .btn { height: 34px; font-size: 14px; }
html.land-compact #lobby .rules-toggle { margin: 0; font-size: 12px; }
html.land-compact #table { grid-template-columns: 1fr; }
html.land-compact #side-toggle,
html.land-compact #hud-more { display: inline-flex; }
html.land-compact .felt-hud {
  top: 16px;
  left: 20px;
  right: 20px;
}
html.land-compact .scoreboard {
  min-width: 148px;
  padding: 7px 9px 6px;
  border-radius: 12px;
}
html.land-compact .scoreboard-now { gap: 4px; }
html.land-compact .scoreboard-now-kicker { font-size: 10px; letter-spacing: 0.12em; }
html.land-compact .scoreboard-now-rank { font-size: 16px; }
html.land-compact .score-team.score-head {
  grid-template-columns: minmax(0, 1fr) 1.3em 1.5em;
  padding: 0 3px 2px;
}
html.land-compact .score-team {
  grid-template-columns: minmax(0, 1fr) 1.3em 1.5em;
  gap: 4px;
  padding: 2px 3px;
}
html.land-compact .score-team.score-head { font-size: 9px; }
html.land-compact .score-lead { font-size: 10px; }
html.land-compact .score-names,
html.land-compact .score-sets,
html.land-compact .score-level { font-size: 12px; }
html.land-compact .score-team.is-lead .score-level { font-size: 14px; }
html.land-compact .felt-hud #room-code { font-size: 12px; }
html.land-compact .felt {
  margin: 4px 6px;
  border-radius: 12px;
  box-shadow: inset 0 0 0 6px #5a3118, inset 0 0 0 8px #d4b06a33;
}
html.land-compact .seat { min-width: 0; }
html.land-compact .seat-top { top: 48px; }
html.land-compact .seat-left { left: 10px; top: 40%; }
html.land-compact .seat-right { right: 10px; top: 40%; }
html.land-compact .seat .name { font-size: 13px; padding: 3px 8px; }
html.land-compact .seat .meta { font-size: 11px; }
html.land-compact .finish-mark {
  font-size: 12px;
  padding: 1px 7px 1px 8px;
  margin: 0;
  letter-spacing: 0.1em;
  text-indent: 0.1em;
}
html.land-compact .finish-0,
html.land-compact .finish-1,
html.land-compact .finish-2,
html.land-compact .finish-3 { font-size: 12px; }
html.land-compact .center-well {
  top: var(--hud-h);
  bottom: var(--dock-h);
  width: min(480px, 70%);
  transform: translateX(-50%);
}
html.land-compact body.round-over .center-well,
html.land-compact body.self-out .center-well {
  bottom: var(--dock-h);
}
html.land-compact .seat-self.on { display: none !important; }
html.land-compact body.round-over .seat-self.on { display: none !important; }
html.land-compact .tribute-dock {
  top: var(--hud-h);
  bottom: var(--dock-h);
}
html.land-compact .trick { min-height: 94px; }
html.land-compact .trick:empty { min-height: 0; }
html.land-compact .tribute-tray { margin-bottom: 2px; gap: 4px; }
html.land-compact .tribute-texts span,
html.land-compact .tribute-slot { min-width: 70px; }
html.land-compact .tribute-texts span { font-size: 11px; }
html.land-compact .banner { font-size: 13px; margin: 0; }
html.land-compact .anti-title { font-size: 22px; letter-spacing: 0.16em; text-indent: 0.16em; }
html.land-compact .trick .card { width: 66px; height: 94px; }
html.land-compact .trick .card + .card { margin-left: -34px; }
html.land-compact .card.mini { width: 26px; height: 36px; }
html.land-compact .card.mini + .card.mini { margin-left: -3px; }
html.land-compact .card.mini .chip-rank { font-size: 13px; }
html.land-compact .card.mini .chip-suit { font-size: 12px; }
html.land-compact .seat .mini-play { min-height: 0; }
html.land-compact .seat.played .mini-play .card.mini { width: 26px; height: 36px; }
html.land-compact .hand-wrap { bottom: 0; gap: 4px; padding: 8px 8px 4px; }
html.land-compact .hand-row { padding-top: 20px; }
html.land-compact body.self-out .center-well {
  top: var(--hud-h);
  bottom: var(--dock-h);
  transform: translateX(-50%);
}
html.land-compact .hand-tools { gap: 2px; width: 100%; }
html.land-compact .arrange-bar .btn { height: 30px; font-size: 13px; padding: 0 8px; }
html.land-compact .self-line { font-size: 11px; gap: 2px; flex-wrap: nowrap; }
html.land-compact .parked .card.chip .chip-rank { font-size: 14px; }
html.land-compact .parked .card.chip .chip-suit { font-size: 16px; }
html.land-compact .turn-clock { font-size: 12px; }
html.land-compact .played-tag { font-size: 11px; letter-spacing: 0.1em; }
html.land-compact .trick-who { font-size: 13px; }
html.land-compact .fly-chats { left: 25%; top: 50%; width: min(200px, 42%); }
html.land-compact .fly-chat { font-size: 13px; padding: 6px 10px; }
html.land-compact .arrange-item { font-size: 12px; padding: 2px 6px; }
html.land-compact .parked { gap: 2px; max-width: 62%; }
html.land-compact .parked-row { gap: 6px; }
html.land-compact .parked .card { width: 36px; height: 50px; }
html.land-compact .parked .card.selected { transform: translateY(-6px); }
html.land-compact .parked .card + .card { margin-left: -8px; }
html.land-compact .parked-return { width: 14px; height: 14px; font-size: 11px; line-height: 14px; }
html.land-compact .controls { gap: 6px; flex-wrap: nowrap; }
html.land-compact .controls .btn { height: 32px; font-size: 13px; padding: 0 12px; min-width: 56px; }
html.land-compact .card.selected { transform: translateY(-14px); }
html.land-compact .card .tl { font-size: 16px; top: 3px; left: 3px; }
html.land-compact .card .br { font-size: 16px; bottom: 3px; right: 3px; }
html.land-compact .card .pip { font-size: 28px; }
html.land-compact .hand .card .tl { font-size: 21px; top: 2px; left: 2px; }
html.land-compact .hand .card .br { font-size: 21px; bottom: 2px; right: 2px; }
html.land-compact .hand .card .pip { font-size: 26px; }
html.land-compact .hand .card .suit-mark { font-size: 15px; }
html.land-compact .card .badge { top: 24px; font-size: 9px; }
html.land-compact .card .tl.joker-word,
html.land-compact .card .br.joker-word { font-size: 7px; }
html.land-compact .hand .card .tl.joker-word,
html.land-compact .hand .card .br.joker-word { font-size: 10px; }
html.land-compact .side {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  bottom: var(--kb, 0px);
  width: min(280px, 46vw);
  padding: 10px;
  padding-top: max(10px, env(safe-area-inset-top));
  background: #140e0a;
  box-shadow: -12px 0 32px rgba(0, 0, 0, 0.45);
  transform: translateX(110%);
  transition: transform .18s ease;
}
html.land-compact body.side-open .side { transform: translateX(0); }

@media (max-width: 900px) and (orientation: portrait) {
  #lobby.screen { overflow: auto; }
  #table { height: var(--app-h, 100svh); }
  .felt { min-height: 0; }
}

.talk-btn {
  position: absolute;
  left: auto;
  right: max(8px, env(safe-area-inset-right));
  top: auto;
  bottom: max(8px, env(safe-area-inset-bottom));
  z-index: 16;
  width: 74px;
  height: 74px;
  padding: 8px;
  border-radius: 50%;
  border: 2px solid rgba(212, 176, 106, 0.75);
  background: #2a1810;
  color: #f3e6c8;
  font-weight: 800;
  font-size: 13px;
  line-height: 1.25;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}
.talk-btn.holding {
  background: #c43b2c;
  color: #fff8ea;
  border-color: #ffd089;
}
.talk-btn.dragging {
  opacity: 0.95;
  cursor: grabbing;
}
.talk-flag {
  position: absolute;
  left: 50%;
  top: calc(var(--hud-h) + 8px);
  bottom: auto;
  transform: translateX(-50%);
  z-index: 16;
  margin: 0;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(196, 59, 44, 0.92);
  color: #fff8ea;
  font-size: 13px;
  font-weight: 700;
  pointer-events: none;
  white-space: nowrap;
}
.seat.offline .name { color: #9aa39a; }
.seat .offline-mark {
  font-weight: 600;
  font-size: 11px;
  color: #c8b48a;
  letter-spacing: 0.06em;
}
body.spectating .talk-btn { display: none !important; }

html.land-compact .talk-btn {
  width: 60px;
  height: 60px;
  font-size: 12px;
  right: max(6px, env(safe-area-inset-right));
  bottom: max(6px, env(safe-area-inset-bottom));
}
html.forced-landscape .talk-btn,
html.forced-landscape.land-compact .talk-btn {
  right: max(6px, var(--sa-right));
  bottom: max(6px, var(--sa-bottom));
}
html.land-compact .talk-flag { top: calc(var(--hud-h) + 4px); bottom: auto; font-size: 12px; }

.anti-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(16, 10, 7, 0.72);
  border: 1px solid rgba(212, 176, 106, 0.45);
  border-radius: 14px;
}
.anti-title {
  font-family: "Noto Serif SC", serif;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-indent: 0.28em;
  color: #ffe08a;
}
.anti-people {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}
.anti-person {
  display: grid;
  justify-items: center;
  gap: 6px;
  color: #f4ead4;
  font-size: 14px;
  font-weight: 700;
}
.anti-cards { display: flex; justify-content: center; }
