@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;600;700;800&display=swap');

* { margin:0; padding:0; box-sizing:border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #1a1a2e;
  color: #eee;
  min-height: 100vh;
  overflow-x: hidden;
}
#app { max-width: 480px; margin:0 auto; min-height:100vh; position:relative; }

/* Pages */
.page { display:none; padding:16px; min-height:100vh; }
.page.active { display:block; }

/* Header */
.header {
  display:flex; justify-content:space-between; align-items:center;
  padding:12px 0; border-bottom:1px solid #333; margin-bottom:16px;
}
.user-info { display:flex; gap:12px; align-items:center; }
.balance { color:#ffd700; font-weight:bold; }
.room-label { font-size:18px; font-weight:bold; color:#ffd700; }

/* Buttons */
.btn {
  padding:12px 20px; border:none; border-radius:8px; font-size:16px;
  cursor:pointer; transition:all 0.2s; font-weight:bold;
}
.btn:active { transform:scale(0.95); }
.btn-primary { background:#e94560; color:#fff; }
.btn-secondary { background:#0f3460; color:#fff; }
.btn-danger { background:#555; color:#fff; }
.btn-disabled { opacity:0.4; pointer-events:none; }

.bottom-bar {
  position:fixed; bottom:0; left:50%; transform:translateX(-50%);
  max-width:480px; width:100%; padding:16px;
  display:flex; gap:12px; background:linear-gradient(transparent, #1a1a2e 40%);
}
.bottom-bar .btn { flex:1; }

/* Room List */
.room-list { margin-bottom:80px; }
.room-card {
  background:#16213e; border:1px solid #333; border-radius:12px;
  padding:16px; margin-bottom:12px; cursor:pointer; transition:border 0.2s;
}
.room-card:hover { border-color:#e94560; }
.room-card .room-id { font-size:20px; font-weight:bold; color:#ffd700; }
.room-card .room-meta { color:#aaa; font-size:14px; margin-top:4px; }
.empty-hint { text-align:center; color:#666; padding:40px 0; }

/* Modal */
.modal {
  display:none; position:fixed; top:0;left:0;right:0;bottom:0;
  background:rgba(0,0,0,0.7); z-index:100;
  align-items:center; justify-content:center;
}
.modal.show { display:flex; }
.modal-content {
  background:#16213e; border-radius:16px; padding:24px;
  max-width:360px; width:90%;
}
.modal-content h3 { margin-bottom:16px; color:#ffd700; }
.form-group { margin-bottom:16px; }
.form-group label { display:block; margin-bottom:6px; color:#aaa; }
.form-group select {
  width:100%; padding:10px; border-radius:8px;
  background:#0f3460; color:#fff; border:1px solid #333; font-size:16px;
}
.btn-row { display:flex; gap:12px; margin-top:16px; }
.btn-row .btn { flex:1; }
.hint { color:#888; font-size:14px; margin-bottom:12px; }

/* Table / Game area */
.table-area {
  display:flex; flex-wrap:wrap; justify-content:center; gap:12px;
  padding:16px 0; min-height:200px;
}
.seat {
  background:#16213e; border:2px solid #333; border-radius:12px;
  padding:12px; width:140px; text-align:center; position:relative;
  transition:border 0.3s;
}
.seat.current-turn { border-color:#e94560; animation:pulse 1.5s infinite; }
.seat.folded { opacity:0.4; }
.seat.eliminated { opacity:0.3; background:#333; }
.seat .seat-name { font-weight:bold; font-size:14px; }
.seat .seat-status {
  font-size:11px; padding:2px 6px; border-radius:4px;
  display:inline-block; margin-top:4px;
}
.seat .status-dark { background:#0f3460; }
.seat .status-open { background:#e94560; }
.seat .status-folded { background:#555; }
.seat .status-eliminated { background:#333; }
.seat .seat-contributed { font-size:12px; color:#ffd700; margin-top:4px; }

@keyframes pulse {
  0%,100% { border-color:#e94560; }
  50% { border-color:#ff6b81; }
}

.game-header {
  display:flex; justify-content:space-around; font-size:14px;
  background:#16213e; border-radius:12px; padding:12px;
  margin-bottom:16px;
}

/* Hand cards */
.my-hand {
  text-align:center; padding:16px 0; margin-bottom:100px;
}
.cards-row { display:flex; justify-content:center; gap:8px; }
.card {
  width:70px; height:100px; border-radius:8px;
  display:flex; align-items:center; justify-content:center;
  font-size:20px; font-weight:bold;
  transition:transform 0.3s;
}
.card-back {
  background:linear-gradient(135deg, #e94560, #0f3460);
  color:#fff; font-size:24px;
}
.card-front {
  background:#fff; color:#000; flex-direction:column;
}
.card-front.red { color:#e94560; }
.card-front .card-rank { font-size:22px; }
.card-front .card-suit { font-size:28px; }

@media (max-width: 480px) {
  .my-hand .card { width:76px; height:108px; }
  .my-hand .card-rank { font-size:26px; }
  .my-hand .card-suit { font-size:34px; }
}

/* Action panel */
.action-panel {
  position:fixed; bottom:10px; left:50%; transform:translateX(-50%);
  max-width:480px; width:100%; padding:12px 16px;
  display:flex; flex-wrap:wrap; gap:8px;
  background:#16213e; border-radius:12px 12px 0 0;
}
.action-panel .btn { flex:1; min-width:60px; font-size:14px; padding:12px 8px; }
.timer { width:100%; text-align:center; color:#ffd700; font-size:14px; margin-bottom:4px; }

/* Result page */
.result-header { text-align:center; padding:24px 0; font-size:24px; font-weight:bold; }
.result-header.win { color:#ffd700; }
.result-hands { display:flex; flex-wrap:wrap; justify-content:center; gap:16px; margin-bottom:16px; }
.result-player {
  background:#16213e; border-radius:12px; padding:16px; text-align:center;
  width:160px;
}
.result-player.winner { border:2px solid #ffd700; }
.result-player .player-name { font-weight:bold; margin-bottom:8px; }
.result-player .hand-type { color:#e94560; font-weight:bold; margin-top:8px; }
.result-player .hand-type.special { color:#ffd700; animation:pulse 1.5s infinite; }
.result-info { text-align:center; color:#aaa; font-size:14px; }

/* Compare targets */
#compare-targets { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:16px; }
.compare-target {
  background:#0f3460; border:1px solid #333; border-radius:8px;
  padding:12px; cursor:pointer; text-align:center; flex:1; min-width:80px;
}
.compare-target:hover { border-color:#e94560; }

/* ===== 双游戏大厅：暗色绒面牌桌视觉 ===== */
:root {
  --hall-bg: #07130f;
  --hall-surface: #10241d;
  --hall-surface-raised: #173329;
  --hall-gold: #d9aa4b;
  --hall-gold-bright: #f1d58a;
  --hall-cream: #f5efdf;
  --hall-muted: #a8b9aa;
  --hall-mint: #8dd0a8;
  --hall-line: rgba(217,170,75,.22);
  --hall-red: #d7654d;
  --hall-shadow: 0 24px 60px rgba(0,0,0,.34);
}

body[data-screen="lobby"] {
  background-color: var(--hall-bg);
  background-image:
    radial-gradient(75% 48% at 16% 0%, rgba(31,97,65,.34), transparent 74%),
    radial-gradient(60% 55% at 92% 20%, rgba(119,78,22,.16), transparent 75%),
    linear-gradient(155deg, #0a1a14 0%, #07130f 48%, #050c0a 100%);
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

body[data-screen="lobby"] #app {
  width:100%;
  max-width:1080px;
}

body[data-screen="lobby"] #lobby {
  min-height:100vh;
  overflow:hidden;
}

body[data-screen="lobby"] #lobby > .lobby-topbar {
  width:100%;
  max-width:1080px;
  margin:0 auto;
  padding:calc(12px + env(safe-area-inset-top)) max(15px, 4vw) 13px;
  background:rgba(5,14,10,.72);
  border-bottom:1px solid rgba(217,170,75,.18);
  box-shadow:0 8px 28px rgba(0,0,0,.14);
}

body[data-screen="lobby"] .hall-shell {
  width:100%;
  max-width:1040px;
  margin:0 auto;
  padding:clamp(22px, 4vw, 52px) max(15px, 4vw) 118px;
}

body[data-screen="lobby"] .hall-hero {
  position:relative;
  padding:0 2px clamp(24px, 4vw, 42px);
}

body[data-screen="lobby"] .hall-hero::after {
  content:'';
  position:absolute;
  right:3%;
  bottom:19px;
  width:min(220px, 38vw);
  height:1px;
  background:linear-gradient(90deg, transparent, rgba(217,170,75,.46));
}

body[data-screen="lobby"] .hall-kicker,
body[data-screen="lobby"] .section-kicker {
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:var(--hall-gold);
  font-size:11px;
  font-weight:700;
  letter-spacing:.18em;
  text-transform:uppercase;
}

body[data-screen="lobby"] .hall-kicker__line {
  display:inline-block;
  width:22px;
  height:1px;
  background:var(--hall-gold);
  box-shadow:0 0 10px rgba(217,170,75,.55);
}

body[data-screen="lobby"] .hall-title-row {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  margin-top:14px;
}

body[data-screen="lobby"] .hall-title-row h1 {
  max-width:720px;
  color:var(--hall-cream);
  font-size:clamp(29px, 5vw, 55px);
  font-weight:800;
  line-height:1.12;
  letter-spacing:-.04em;
}

body[data-screen="lobby"] .hall-title-row p {
  max-width:580px;
  margin-top:12px;
  color:var(--hall-muted);
  font-size:clamp(13px, 1.6vw, 15px);
  line-height:1.8;
}

body[data-screen="lobby"] .hall-live-badge {
  display:inline-flex;
  align-items:center;
  gap:8px;
  flex:none;
  min-height:44px;
  padding:0 14px;
  color:var(--hall-mint);
  background:rgba(25,83,57,.25);
  border:1px solid rgba(141,208,168,.26);
  border-radius:999px;
  font-size:12px;
  font-weight:700;
  white-space:nowrap;
}

body[data-screen="lobby"] .hall-live-badge i,
body[data-screen="lobby"] .game-card__status i,
body[data-screen="lobby"] .hall-selection-note::before {
  width:6px;
  height:6px;
  border-radius:50%;
  background:currentColor;
  box-shadow:0 0 10px currentColor;
}

body[data-screen="lobby"] .hall-section-head {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin-bottom:14px;
}

body[data-screen="lobby"] .hall-section-head h2,
body[data-screen="lobby"] .room-panel h2 {
  margin-top:5px;
  color:var(--hall-cream);
  font-size:clamp(19px, 2.4vw, 25px);
  font-weight:700;
  letter-spacing:-.025em;
}

body[data-screen="lobby"] .hall-selection-note {
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:44px;
  color:var(--hall-muted);
  font-size:12px;
  white-space:nowrap;
}

body[data-screen="lobby"] .game-switch {
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:6px;
  width:min(100%, 480px);
  margin:0 0 14px auto;
  padding:4px;
  background:rgba(4,13,9,.56);
  border:1px solid rgba(255,255,255,.07);
  border-radius:13px;
}

body[data-screen="lobby"] .game-switch__option {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-width:0;
  min-height:44px;
  padding:8px 10px;
  color:var(--hall-muted);
  background:transparent;
  border:1px solid transparent;
  border-radius:9px;
  font:inherit;
  font-size:12px;
  font-weight:600;
  cursor:pointer;
  transition:color .2s ease, background-color .2s ease, border-color .2s ease;
}

body[data-screen="lobby"] .game-switch__option.is-selected,
body[data-screen="lobby"] .game-switch__option[aria-selected="true"] {
  color:var(--hall-gold-bright);
  background:rgba(217,170,75,.13);
  border-color:rgba(217,170,75,.28);
}

body[data-screen="lobby"] .game-switch__dot {
  width:7px;
  height:7px;
  flex:none;
  border:1px solid currentColor;
  border-radius:50%;
}

body[data-screen="lobby"] .game-switch__option.is-selected .game-switch__dot,
body[data-screen="lobby"] .game-switch__option[aria-selected="true"] .game-switch__dot {
  background:currentColor;
  box-shadow:0 0 8px currentColor;
}

body[data-screen="lobby"] .game-card-grid {
  display:grid;
  grid-template-columns:minmax(0, 1fr);
  gap:14px;
}

body[data-screen="lobby"] .game-card {
  display:flex;
  flex-direction:column;
  min-width:0;
  min-height:390px;
  padding:0;
  overflow:hidden;
  color:var(--hall-cream);
  text-align:left;
  background:linear-gradient(145deg, rgba(255,255,255,.07), transparent 32%), var(--hall-surface);
  border:1px solid rgba(255,255,255,.1);
  border-radius:22px;
  box-shadow:var(--hall-shadow), inset 0 1px 0 rgba(255,255,255,.06);
  cursor:pointer;
  transition:border-color .24s ease, box-shadow .24s ease, background-color .24s ease;
}

body[data-screen="lobby"] .game-card:hover,
body[data-screen="lobby"] .game-card.is-selected {
  border-color:rgba(217,170,75,.7);
  background-color:var(--hall-surface-raised);
  box-shadow:0 26px 64px rgba(0,0,0,.4), 0 0 0 1px rgba(217,170,75,.13), inset 0 1px 0 rgba(255,255,255,.08);
}

body[data-screen="lobby"] .game-card:active {
  box-shadow:0 15px 34px rgba(0,0,0,.34), 0 0 0 1px rgba(217,170,75,.2);
}

body[data-screen="lobby"] .game-card__visual {
  position:relative;
  display:block;
  flex:none;
  height:clamp(218px, 54vw, 300px);
  overflow:hidden;
  background:#0b1a13;
}

body[data-screen="lobby"] .game-card__image {
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  transition:transform .6s cubic-bezier(.16,1,.3,1), filter .24s ease;
}

body[data-screen="lobby"] .game-card:hover .game-card__image,
body[data-screen="lobby"] .game-card.is-selected .game-card__image {
  transform:scale(1.035);
  filter:saturate(1.08) brightness(1.04);
}

body[data-screen="lobby"] .game-card__identity {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:4px;
  width:100%;
}

body[data-screen="lobby"] .game-card__eyebrow {
  color:rgba(245,239,223,.72);
  font-size:10px;
  font-weight:700;
  letter-spacing:.17em;
}

body[data-screen="lobby"] .game-card__title {
  color:var(--hall-cream);
  font-size:clamp(27px, 4vw, 39px);
  font-weight:800;
  line-height:1.1;
  letter-spacing:-.04em;
}

body[data-screen="lobby"] .game-card__subtitle {
  color:var(--hall-muted);
  font-size:13px;
  line-height:1.4;
}

body[data-screen="lobby"] .game-card__status {
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:28px;
  margin-top:7px;
  padding:0 10px;
  color:var(--hall-gold-bright);
  background:rgba(9,22,15,.68);
  border:1px solid rgba(241,213,138,.34);
  border-radius:999px;
  font-size:11px;
  font-weight:700;
}

body[data-screen="lobby"] .game-card__status--ready {
  color:var(--hall-mint);
  border-color:rgba(141,208,168,.34);
}

body[data-screen="lobby"] .game-card__body {
  display:flex;
  flex:1;
  flex-direction:column;
  align-items:flex-start;
  gap:13px;
  min-width:0;
  padding:18px 19px 19px;
}

body[data-screen="lobby"] .game-card__description {
  color:var(--hall-muted);
  font-size:13px;
  line-height:1.65;
}

body[data-screen="lobby"] .game-card__rules {
  display:flex;
  flex-wrap:wrap;
  gap:7px;
}

body[data-screen="lobby"] .game-card__rules span {
  padding:5px 8px;
  color:rgba(245,239,223,.78);
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
  border-radius:7px;
  font-size:11px;
  font-weight:600;
  white-space:nowrap;
}

body[data-screen="lobby"] .game-card__arrow {
  position:static;
  display:grid;
  width:32px;
  height:32px;
  align-self:flex-end;
  margin-top:auto;
  place-items:center;
  color:var(--hall-gold-bright);
  border:1px solid rgba(217,170,75,.36);
  border-radius:50%;
  font-size:18px;
  line-height:1;
}

body[data-screen="lobby"] .room-panel {
  margin-top:clamp(28px, 5vw, 54px);
  padding:19px;
  background:rgba(10,27,20,.76);
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  box-shadow:0 18px 44px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.04);
}

body[data-screen="lobby"] .room-panel .lobby-head {
  margin:0 0 14px;
}

body[data-screen="lobby"] .room-filter-name {
  color:var(--hall-gold);
  font-weight:700;
}

body[data-screen="lobby"] .room-card {
  width:100%;
  min-height:80px;
  margin:0 0 9px;
  padding:15px 16px;
  color:var(--hall-cream);
  text-align:left;
  background:rgba(255,255,255,.045);
  border:1px solid rgba(255,255,255,.09);
  border-radius:13px;
  cursor:pointer;
  transition:border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

body[data-screen="lobby"] .room-card:last-child {
  margin-bottom:0;
}

body[data-screen="lobby"] .room-card:hover,
body[data-screen="lobby"] .room-card:focus-visible {
  border-color:rgba(217,170,75,.55);
  background:rgba(217,170,75,.08);
  box-shadow:0 10px 24px rgba(0,0,0,.2);
}

body[data-screen="lobby"] .room-card .room-game-label {
  color:var(--hall-mint);
  font-size:11px;
  font-weight:700;
  letter-spacing:.08em;
}

body[data-screen="lobby"] .room-card .rid {
  color:var(--hall-gold-bright);
}

body[data-screen="lobby"] .mini-refresh {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:44px;
  padding:7px 12px;
  color:var(--hall-gold-bright);
  background:rgba(217,170,75,.08);
  border:1px solid rgba(217,170,75,.26);
  border-radius:999px;
  font:inherit;
  font-size:12px;
  font-weight:700;
  cursor:pointer;
  transition:background-color .2s ease, border-color .2s ease;
}

body[data-screen="lobby"] .mini-refresh:hover {
  background:rgba(217,170,75,.16);
  border-color:rgba(217,170,75,.55);
}

body[data-screen="lobby"] .refresh-icon {
  position:relative;
  width:12px;
  height:12px;
  border:1.5px solid currentColor;
  border-top-color:transparent;
  border-radius:50%;
}

body[data-screen="lobby"] .refresh-icon::after {
  content:'';
  position:absolute;
  top:-3px;
  right:-2px;
  width:0;
  height:0;
  border-top:3px solid currentColor;
  border-left:3px solid transparent;
}

body[data-screen="lobby"] .lobby-dock {
  max-width:1080px;
  padding:14px max(15px, 4vw) calc(14px + env(safe-area-inset-bottom));
  background:linear-gradient(180deg, rgba(5,12,9,0), rgba(5,12,9,.95) 44%);
}

body[data-screen="lobby"] .lobby-dock .btn {
  min-height:50px;
  padding:13px 20px;
  color:#241d0d;
  background:var(--hall-gold-bright);
  box-shadow:0 10px 28px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.62);
}

body[data-screen="lobby"] .lobby-dock .btn:hover {
  background:#f7dfa1;
}

body[data-screen="lobby"] .button-mark {
  display:inline-grid;
  width:20px;
  height:20px;
  margin-right:5px;
  place-items:center;
  color:#6b4e0e;
  border:1px solid rgba(107,78,14,.5);
  border-radius:50%;
  font-size:16px;
  line-height:1;
}

body[data-screen="lobby"] .game-card:focus-visible,
body[data-screen="lobby"] .game-switch__option:focus-visible,
body[data-screen="lobby"] .mini-refresh:focus-visible,
body[data-screen="lobby"] .lobby-dock .btn:focus-visible,
body[data-screen="lobby"] .sfx-btn:focus-visible,
body[data-screen="lobby"] .music-btn:focus-visible {
  outline:3px solid var(--hall-gold-bright);
  outline-offset:3px;
}

.playing-card-icon {
  position:relative;
  width:35px;
  height:47px;
  margin:0 auto 18px;
  background:var(--hall-gold-bright);
  border:2px solid #7c5b18;
  border-radius:7px;
  transform:rotate(-7deg);
  box-shadow:9px 6px 0 #bb7b32;
}

.playing-card-icon::after {
  content:'◆';
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  color:#9f3e30;
  font-size:15px;
}

.ui-icon {
  position:relative;
  display:inline-block;
  width:14px;
  height:14px;
  flex:none;
}

.ui-icon-sound::before {
  content:'';
  position:absolute;
  top:4px;
  left:1px;
  width:4px;
  height:6px;
  background:currentColor;
  border-radius:1px;
}

.ui-icon-sound::after {
  content:'';
  position:absolute;
  top:2px;
  left:4px;
  width:7px;
  height:10px;
  border:1.5px solid currentColor;
  border-left:0;
  border-top-color:transparent;
  border-bottom-color:transparent;
  border-radius:0 10px 10px 0;
}

.ui-icon-music::before {
  content:'';
  position:absolute;
  top:1px;
  right:2px;
  width:2px;
  height:10px;
  background:currentColor;
  transform:skewY(-12deg);
}

.ui-icon-music::after {
  content:'';
  position:absolute;
  right:0;
  bottom:1px;
  width:6px;
  height:4px;
  background:currentColor;
  border-radius:50%;
  box-shadow:-6px 2px 0 -1px currentColor;
}

.sfx-btn[data-muted="true"] .ui-icon-sound::after,
.music-btn[data-muted="true"] .ui-icon-music::after {
  content:'';
  position:absolute;
  width:16px;
  height:1.5px;
  top:6px;
  left:-1px;
  border:0;
  background:var(--hall-red, #d7654d);
  transform:rotate(-45deg);
}

body[data-screen="lobby"] .sfx-btn,
body[data-screen="lobby"] .music-btn {
  display:inline-grid;
  min-width:44px;
  min-height:44px;
  place-items:center;
  color:var(--hall-gold-bright);
  background:rgba(217,170,75,.1);
  border-color:rgba(217,170,75,.26);
}

body[data-screen="lobby"] .sfx-btn[data-muted="true"] .ui-icon-sound::after {
  width:14px;
  height:1.5px;
  top:6px;
  left:0;
  border:0;
  background:var(--hall-red);
  transform:rotate(-45deg);
}

@media (min-width:700px) {
  body[data-screen="lobby"] .game-card-grid {
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:18px;
  }

  body[data-screen="lobby"] .game-card__visual {
    height:clamp(260px, 30vw, 350px);
  }

  body[data-screen="lobby"] .room-panel {
    padding:22px;
  }
}

@media (max-width:575px) {
  body[data-screen="lobby"] .hall-title-row {
    display:block;
  }

  body[data-screen="lobby"] .hall-live-badge {
    margin-top:16px;
  }

  body[data-screen="lobby"] .hall-section-head {
    align-items:flex-start;
    flex-direction:column;
    gap:7px;
  }

  body[data-screen="lobby"] .hall-selection-note {
    min-height:28px;
  }
}

@media (max-width:375px) {
  body[data-screen="lobby"] #lobby > .lobby-topbar {
    padding-right:12px;
    padding-left:12px;
  }

  body[data-screen="lobby"] .hall-shell {
    padding-right:12px;
    padding-left:12px;
  }

  body[data-screen="lobby"] .lobby-topbar > span:last-child {
    gap:5px !important;
  }

  body[data-screen="lobby"] .user-info {
    gap:6px;
  }

  body[data-screen="lobby"] .user-info span {
    max-width:76px;
  }

  body[data-screen="lobby"] .wallet-pill {
    padding-right:7px;
    padding-left:7px;
  }

  body[data-screen="lobby"] .game-card {
    min-height:350px;
    border-radius:18px;
  }

  body[data-screen="lobby"] .game-card__visual {
    height:218px;
  }

  body[data-screen="lobby"] .game-card__body {
    padding:15px;
  }

  body[data-screen="lobby"] .room-panel {
    padding:15px;
  }

  body[data-screen="lobby"] .lobby-dock {
    padding-right:12px;
    padding-left:12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-screen="lobby"] *,
  body[data-screen="lobby"] *::before,
  body[data-screen="lobby"] *::after {
    scroll-behavior:auto !important;
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.01ms !important;
  }
}
