/* Pingo game lounge: a focused presentation layer for the existing game UI. */
.romeo-shell[data-screen="games"] {
  --game-paper: #191a20;
  --game-cream: #29252b;
  --game-sand: #484047;
  --game-coral: #f27a64;
  --game-teal: #78c1a4;
  --game-plum: #e7bd78;
  --game-ink: #f8f1e7;
  --game-muted: #c0b7b4;
}

.romeo-shell[data-screen="games"] .main {
  padding-bottom: 24px;
  background:
    radial-gradient(ellipse at 76% 2%, #56312b52, transparent 34rem),
    radial-gradient(ellipse at 2% 28%, #26453b32, transparent 30rem),
    #111419;
}

/* Keep the shared app header legible when the lounge switches to its dark canvas. */
.romeo-shell[data-screen="games"] .topbar {
  box-sizing: border-box;
  padding-inline: clamp(14px, 3vw, 26px);
  border-bottom: 1px solid #ffffff16;
  background: linear-gradient(180deg, #17181df2, #14161be8);
}
.romeo-shell[data-screen="games"] .topbar .mobile-brand {
  color: #fff8ee;
}
.romeo-shell[data-screen="games"] .topbar .pingora-logo {
  padding: 3px 8px;
  border-radius: 12px;
  background: #fffaf4;
}
.romeo-shell[data-screen="games"] .connection-label {
  color: #d2c9c2;
}
.romeo-shell[data-screen="games"] .top-actions .icon-btn {
  border-color: #ffffff27;
  background: #ffffff0c;
  color: #f3e8d8;
}
.romeo-shell[data-screen="games"] .verification-banner {
  box-sizing: border-box;
  width: min(calc(100% - 28px), 1040px);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 11px;
  margin: 10px auto 0;
  padding: 10px 14px;
  border: 1px solid #e8bf7a66;
  border-radius: 15px;
  background: linear-gradient(110deg, #29252a, #202b2b);
  color: #f7eee2;
  font-size: .82rem;
  line-height: 1.55;
}
.romeo-shell[data-screen="games"] .verification-banner > svg { flex: none; color: #f0c579; }
.romeo-shell[data-screen="games"] .verification-banner > span { flex: 1 1 220px; min-width: 0; }
.romeo-shell[data-screen="games"] .verification-banner .btn {
  min-height: 42px;
  border: 1px solid #e8bf7a80;
  border-radius: 999px;
  background: #f0c57918;
  color: #ffdc9e;
  font-weight: 750;
}

.romeo-shell[data-screen="games"] .game-center-page {
  box-sizing: border-box;
  width: min(100%, 1040px);
  max-width: 1040px;
  min-height: calc(100dvh - 88px);
  margin: 0 auto;
  padding: clamp(20px, 4vw, 38px) clamp(14px, 3vw, 28px) 112px;
  border: 1px solid #ffffff0a;
  border-radius: 30px;
  background: linear-gradient(160deg, #202127ed 0%, #171a1fef 52%, #1d1b20f2 100%);
  box-shadow: 0 22px 70px #0003, inset 0 1px #ffffff0a;
  color: var(--game-ink);
}

.romeo-shell[data-screen="games"] .game-maintenance-page {
  display: grid;
  min-height: min(68dvh, 680px);
  place-items: center;
  padding-block: clamp(24px, 7vh, 72px);
}
.game-maintenance-card {
  box-sizing: border-box;
  width: min(100%, 520px);
  padding: clamp(28px, 7vw, 54px) clamp(22px, 6vw, 48px);
  border: 1px solid #f0c57938;
  border-radius: 28px;
  background: radial-gradient(ellipse at 50% 0%, #e8b95820, transparent 54%), linear-gradient(155deg, #26242bed, #191a20f5 68%, #211b22f2);
  box-shadow: 0 28px 80px #0005, inset 0 1px #ffffff12;
  text-align: center;
  animation: game-maintenance-arrive .55s cubic-bezier(.2,.8,.2,1) both;
}
.game-maintenance-mark {
  position: relative;
  display: grid;
  width: 88px;
  height: 88px;
  margin: 0 auto 24px;
  place-items: center;
  border: 1px solid #f0c57972;
  border-radius: 27px;
  background: linear-gradient(145deg, #f1c76e28, #f1796430);
  color: #f4cb79;
  box-shadow: 0 12px 36px #0003, inset 0 1px #ffffff20;
}
.game-maintenance-mark > svg { width: 42px; height: 42px; stroke-width: 1.7; }
.game-maintenance-mark > span { position: absolute; top: 8px; right: 7px; display: grid; width: 24px; height: 24px; place-items: center; border: 1px solid #24212a; border-radius: 50%; background: #f1c76e; color: #31251d; }
.game-maintenance-mark > span svg { width: 13px; height: 13px; }
.game-maintenance-kicker { margin: 0 0 8px; color: #f0c579; font-size: .72rem; font-weight: 750; letter-spacing: .17em; }
.game-maintenance-card h1 { margin: 0; color: #fff9ef; font-size: clamp(2.25rem, 9vw, 3.35rem); font-weight: 800; letter-spacing: -.055em; line-height: 1.05; }
.game-maintenance-copy { max-width: 35ch; margin: 14px auto 24px; color: #d0c8c3; font-size: 1rem; line-height: 1.65; }
.game-maintenance-status { display: inline-flex; align-items: center; gap: 9px; min-height: 38px; padding: 0 15px; border: 1px solid #ffffff1a; border-radius: 999px; background: #ffffff08; color: #e8d8bd; font-size: .82rem; font-weight: 650; }
.game-maintenance-status i { width: 8px; height: 8px; border-radius: 50%; background: #f0bd5e; box-shadow: 0 0 13px #f0bd5e99; animation: game-maintenance-pulse 1.8s ease-in-out infinite; }
@keyframes game-maintenance-arrive { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes game-maintenance-pulse { 50% { opacity: .48; box-shadow: 0 0 4px #f0bd5e55; } }
@media (prefers-reduced-motion: reduce) { .game-maintenance-card, .game-maintenance-status i { animation: none; } }

.romeo-shell[data-screen="games"] .game-center-heading {
  position: relative;
  margin: 0 0 26px;
  padding: clamp(14px, 3vw, 24px) clamp(2px, 1.5vw, 14px) 22px;
  border-bottom: 1px solid #ffffff16;
}
.romeo-shell[data-screen="games"] .game-center-heading::after {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 72px;
  height: 2px;
  background: linear-gradient(90deg, #f3c36e, #f27a64);
  content: "";
}
.romeo-shell[data-screen="games"] .game-center-heading > span,
.romeo-shell[data-screen="games"] .gc-kicker {
  color: #f0c579;
  font-size: .72rem;
  letter-spacing: .14em;
  line-height: 1.5;
}
.romeo-shell[data-screen="games"] .game-center-heading h1 {
  margin: 8px 0 6px;
  color: #fff9ef;
  font-size: clamp(2rem, 7vw, 3rem);
  font-weight: 780;
  letter-spacing: -.045em;
  line-height: 1.06;
  text-wrap: balance;
}
.romeo-shell[data-screen="games"] .game-center-heading p {
  max-width: 42ch;
  color: #c8c0bd;
  font-size: clamp(.95rem, 2.2vw, 1.05rem);
  line-height: 1.55;
}

.romeo-shell[data-screen="games"] .gc-shelf { margin-top: 24px; }
.romeo-shell[data-screen="games"] .gc-shelf-heading { align-items: end; margin-bottom: 10px; }
.romeo-shell[data-screen="games"] .gc-shelf-heading h3 {
  color: #fff5e8;
  font-size: clamp(1.2rem, 4vw, 1.55rem);
  letter-spacing: -.025em;
}
.romeo-shell[data-screen="games"] .gc-shelf-count {
  color: #ddd2c9;
  font-size: .83rem;
  font-weight: 650;
}
.romeo-shell[data-screen="games"] .gc-preview-lead {
  max-width: 72ch;
  margin: 0 0 16px;
  color: #d2c9c5;
  font-size: .92rem;
  line-height: 1.6;
}
.romeo-shell[data-screen="games"] .gc-concept-board {
  border-color: #75604d;
  background: #202329;
  box-shadow: 0 18px 40px #0004;
}
.romeo-shell[data-screen="games"] .gc-concept-board figcaption {
  color: #ded5cd;
  background: #25262b;
  font-size: .78rem;
  line-height: 1.5;
}
.romeo-shell[data-screen="games"] .gc-preview-grid { gap: 14px; }
.romeo-shell[data-screen="games"] .gc-preview-card {
  border-color: #ffffff22;
  border-radius: 20px;
  background: linear-gradient(160deg, #292a30, #202126);
  color: #fff8ef;
  box-shadow: 0 9px 24px #0003, inset 0 1px #ffffff0b;
}
.romeo-shell[data-screen="games"] .gc-preview-card:hover {
  border-color: #e8bf7a88;
  box-shadow: 0 15px 32px #0005, 0 0 0 1px #e8bf7a22;
}
.romeo-shell[data-screen="games"] .gc-preview-art {
  min-height: 138px;
  background-color: #20252c;
  background-blend-mode: normal;
}
.romeo-shell[data-screen="games"] .gc-preview-art i {
  color: #fff8ec;
  text-shadow: 0 2px 18px #111a;
}
.romeo-shell[data-screen="games"] .gc-preview-card-copy { gap: 6px; padding: 12px 14px 10px; }
.romeo-shell[data-screen="games"] .gc-preview-card-copy small {
  color: #f1c77e;
  font-size: .74rem;
  letter-spacing: .1em;
}
.romeo-shell[data-screen="games"] .gc-preview-card-copy strong {
  color: #fff8ee;
  font-size: 1rem;
  line-height: 1.3;
}
.romeo-shell[data-screen="games"] .gc-preview-card-copy > span {
  min-height: 2.8em;
  color: #d1c8c4;
  font-size: .83rem;
  line-height: 1.5;
}
.romeo-shell[data-screen="games"] .gc-preview-open-label {
  margin: 0 14px 14px;
  padding: 7px 11px;
  background: #343239;
  color: #ffe2ab;
  font-size: .78rem;
  line-height: 1.35;
}
.romeo-shell[data-screen="games"] .gc-feature,
.romeo-shell[data-screen="games"] .gc-queue,
.romeo-shell[data-screen="games"] .gc-match {
  border-color: #ffffff21;
  border-radius: 26px;
  background: linear-gradient(145deg, #292a30, #202127 76%);
  box-shadow: 0 18px 48px #0004, inset 0 1px #ffffff0b;
}
.romeo-shell[data-screen="games"] .gc-feature {
  position: relative;
  margin-top: 4px;
  border-color: #d4aa6955;
  background:
    radial-gradient(ellipse at 50% -20%, #b58b4930, transparent 68%),
    linear-gradient(145deg, #292a30, #202127 76%);
}
.romeo-shell[data-screen="games"] .gc-feature::before {
  position: absolute;
  top: 0;
  left: 22px;
  width: 74px;
  height: 2px;
  background: linear-gradient(90deg, #f6d18d, #ef8068);
  content: "";
}
.romeo-shell[data-screen="games"] .gc-feature .gc-join {
  min-height: 52px;
  border: 1px solid #ffdda0;
  background: linear-gradient(105deg, #e9b967, #f28a70);
  box-shadow: 0 8px 22px #e6a9612b, inset 0 1px #fff8;
  color: #261f23;
  font-weight: 800;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.romeo-shell[data-screen="games"] .gc-feature .gc-join:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px #e6a9613b, inset 0 1px #fff8;
  filter: saturate(1.08);
}
.romeo-shell[data-screen="games"] .gc-feature .gc-join:active { transform: scale(.985); }
.romeo-shell[data-screen="games"] .gc-preview-card:active { transform: scale(.985); }
.romeo-shell[data-screen="games"] .gc-feature h2,
.romeo-shell[data-screen="games"] .gc-queue h2,
.romeo-shell[data-screen="games"] .gc-match h2 { color: #fff8ed; }
.romeo-shell[data-screen="games"] .gc-feature > p,
.romeo-shell[data-screen="games"] .gc-queue > p { color: #d0c8c4; font-size: .94rem; }
.romeo-shell[data-screen="games"] .gc-note { color: #e0c89f !important; font-size: .84rem !important; }
.romeo-shell[data-screen="games"] .gc-feature-art {
  height: clamp(150px, 29vw, 210px);
  border-color: #d4aa6955;
  border-radius: 24px;
  background: radial-gradient(ellipse at 50% 110%, #79523c 0, #3b3938 47%, #263a38 100%);
  box-shadow: inset 0 0 40px #0004;
}
.romeo-shell[data-screen="games"] .gc-feature-art b { color: #f6d18d; }
.romeo-shell[data-screen="games"] .gc-feature-food {
  width: clamp(72px, 18vw, 104px);
  height: clamp(72px, 18vw, 104px);
  border-color: #fff8eb;
  box-shadow: 0 14px 30px #0006;
}
.romeo-shell[data-screen="games"] .gc-sound {
  min-height: 44px;
  border-color: #ffffff2e;
  background: #ffffff0c;
  color: #f6dfb5;
  font-size: .84rem;
}
.romeo-shell[data-screen="games"] .gc-sound:hover { background: #ffffff18; }
.romeo-shell[data-screen="games"] .gc-board { box-shadow: inset 0 3px 14px #0b201e70, 0 12px 28px #0004; }
.romeo-shell[data-screen="games"] .gc-help,
.romeo-shell[data-screen="games"] .gc-target,
.romeo-shell[data-screen="games"] .gc-status { color: #e0d8d1; font-size: .92rem; line-height: 1.6; }
.romeo-shell[data-screen="games"] .gc-selection { color: #ffd58e; font-size: .92rem; }
.romeo-shell[data-screen="games"] .gc-score-row,
.romeo-shell[data-screen="games"] .gp-player-strip,
.romeo-shell[data-screen="games"] .gp-bottom-bar {
  border-color: #ffffff20;
  background: #17191edb;
  color: #f5eee6;
}
.romeo-shell[data-screen="games"] .gc-score,
.romeo-shell[data-screen="games"] .gc-score-player span:last-child,
.romeo-shell[data-screen="games"] .gc-score b,
.romeo-shell[data-screen="games"] .gp-player-strip b,
.romeo-shell[data-screen="games"] .gp-bottom-bar > span:first-child { color: #f8f0e7; }
.romeo-shell[data-screen="games"] .gc-score-divider { color: #f0bd70; }
.romeo-shell[data-screen="games"] .gc-preview-screen {
  border-color: #ffffff27;
  border-radius: 27px;
  background: linear-gradient(155deg, #292a30, #1e2025);
  box-shadow: 0 24px 64px #0006;
}
.romeo-shell[data-screen="games"] .gp-header { border-color: #ffffff19; }
.romeo-shell[data-screen="games"] .gp-header h2 { color: #fff7ed; }
.romeo-shell[data-screen="games"] .gp-header small {
  display: block;
  max-width: 100%;
  color: #f0c579;
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .075em;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.romeo-shell[data-screen="games"] .gp-header button {
  min-height: 44px;
  border-color: #ffffff2b;
  background: #ffffff0c;
  color: #f5e6cf;
  font-size: .84rem;
}
.romeo-shell[data-screen="games"] .gp-live { color: #a9e0bd; font-size: .72rem; }
.romeo-shell[data-screen="games"] .gp-message { color: #f1d7aa; font-size: .9rem; line-height: 1.5; }
.romeo-shell[data-screen="games"] .gp-stage {
  border-color: #ffffff20;
  border-radius: 22px;
  background: linear-gradient(145deg, #f8f2e8, #ece2d4);
  color: #302b31;
  box-shadow: inset 0 2px 10px #1112;
}
.romeo-shell[data-screen="games"] .gp-bottom-bar { min-height: 54px; }
.romeo-shell[data-screen="games"] .gp-bottom-bar small { color: #d0c5be; font-size: .76rem; }
.romeo-shell[data-screen="games"] .gp-preview-badge { color: #ffe2ad; background: #6e563a; font-size: .72rem; }
.romeo-shell[data-screen="games"] .gp-concept-frame figcaption,
.romeo-shell[data-screen="games"] .gp-concept-note,
.romeo-shell[data-screen="games"] .gp-canvas-hint {
  color: #e0d6ce;
  font-size: .82rem;
  line-height: 1.55;
}
.romeo-shell[data-screen="games"] .gp-concept-frame figcaption { background: #25262b; }
.romeo-shell[data-screen="games"] .gp-concept-note {
  border-color: #e8bf7a50;
  background: linear-gradient(145deg, #292a30, #202127);
}
.romeo-shell[data-screen="games"] .lr-screen .lr-player-copy small,
.romeo-shell[data-screen="games"] .lr-screen .lr-meta,
.romeo-shell[data-screen="games"] .lr-screen .lr-score small,
.romeo-shell[data-screen="games"] .lr-screen .lr-vs,
.romeo-shell[data-screen="games"] .lr-screen .lr-goal,
.romeo-shell[data-screen="games"] .lr-screen .lr-booster em {
  font-size: 11px;
}
.romeo-shell[data-screen="games"] .lr-screen .lr-hint { font-size: 12px; line-height: 1.45; }
.romeo-shell[data-screen="games"] .gm-sugar-match-screen .gm-sugar-level {
  font-size: 11px;
  letter-spacing: 1.1px;
}
.romeo-shell[data-screen="games"] .gm-sugar-match-screen .gm-sugar-subtitle { color: #d8e2dc; font-size: 12px; }
.romeo-shell[data-screen="games"] .gm-sugar-match-screen .gm-sugar-label {
  color: #d0ddd5;
  font-size: 10px;
  letter-spacing: .7px;
}
.romeo-shell[data-screen="games"] .gm-sugar-match-screen .gm-sugar-goal-copy { color: #d5e0d8; font-size: 11px; }
.romeo-shell[data-screen="games"] .gm-sugar-match-screen .gm-sugar-moves small { font-size: 10px; letter-spacing: .7px; }
.romeo-shell[data-screen="games"] .gm-sugar-match-screen .gm-sugar-message { font-size: 12px; }
.romeo-shell[data-screen="games"] .gm-sugar-match-screen .gm-sugar-hint { color: #c2d1cd; font-size: 11px; }
.romeo-shell[data-screen="games"] .gm-sugar-match-screen .gm-sugar-versus b,
.romeo-shell[data-screen="games"] .gm-sugar-match-screen .gm-sugar-versus > p { font-size: 12px; }
.romeo-shell[data-screen="games"] .gm-sugar-match-screen .gm-sugar-vs { font-size: 11px; }
.romeo-shell[data-screen="games"] .gm-sugar-match-screen .gm-sugar-result {
  background: #08131ce8;
  -webkit-backdrop-filter: blur(12px) saturate(.9);
  backdrop-filter: blur(12px) saturate(.9);
  animation: gp-result-backdrop .22s ease-out both;
}
.romeo-shell[data-screen="games"] .gm-sugar-match-screen .gm-sugar-result-card {
  border-color: #f2ca7b;
  background:
    radial-gradient(ellipse at 50% 0%, #ba935347, transparent 62%),
    linear-gradient(145deg, #1e5148, #122c3a 68%, #251d2d);
  box-shadow: 0 26px 72px #000b, inset 0 1px #fff2;
  animation: gp-result-card .34s cubic-bezier(.2,.8,.2,1.18) both;
}
.romeo-shell[data-screen="games"] .gm-sugar-match-screen .gm-sugar-result-card p { color: #e3dfd4; font-size: 14px; line-height: 1.6; }
.romeo-shell[data-screen="games"] .gm-sugar-match-screen .gm-sugar-result-card button { min-height: 48px; padding-inline: 24px; font-size: 14px; }
.romeo-shell[data-screen="games"] .mobile-nav {
  position: fixed;
  z-index: 100;
  inset: auto 0 0;
  display: none;
  box-sizing: border-box;
  min-height: 76px;
  padding: 7px 8px max(8px, env(safe-area-inset-bottom));
  border: 0;
  border-top: 1px solid #ffffff1c;
  border-radius: 0;
  background: #17191df2;
  box-shadow: 0 -10px 30px #0004;
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  backdrop-filter: blur(18px) saturate(1.25);
}
.romeo-shell[data-screen="games"] .mobile-nav button {
  min-height: 54px;
  color: #c8c0bc;
  font-size: .76rem;
  font-weight: 620;
}
.romeo-shell[data-screen="games"] .mobile-nav button.active { color: #f4cb80; }
.romeo-shell[data-screen="games"] .mobile-nav button.active .nav-symbol {
  border-radius: 13px;
  background: #f0c5781c;
  box-shadow: 0 0 22px #e9b96b24;
}
.romeo-shell[data-screen="games"] .mobile-nav button:focus-visible,
.romeo-shell[data-screen="games"] .gc-preview-card:focus-visible,
.romeo-shell[data-screen="games"] .gc-game-card:focus-visible,
.romeo-shell[data-screen="games"] .gp-stage button:focus-visible {
  outline: 3px solid #f4ca7c;
  outline-offset: 3px;
}

@media (max-width: 700px) {
  .romeo-shell[data-screen="games"] .main {
    padding: 0 0 calc(84px + env(safe-area-inset-bottom));
  }
  .romeo-shell[data-screen="games"] .mobile-nav {
    display: flex !important;
    align-items: center;
    justify-content: space-around;
  }
  /* arcade.css still hides the old games shell nav with a more specific selector.
     Keep the shared Pingo navigation visible on the current game lounge. */
  .romeo-shell[data-screen="games"] > .mobile-nav {
    position: fixed !important;
    z-index: 100;
    inset: auto 0 0 !important;
    display: flex !important;
    box-sizing: border-box;
    padding-bottom: max(8px, env(safe-area-inset-bottom));
  }
  .romeo-shell[data-screen="games"] .game-center-page {
    width: 100%;
    min-height: 100dvh;
    padding: 18px 14px calc(104px + env(safe-area-inset-bottom));
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .romeo-shell[data-screen="games"] .game-center-heading { margin-bottom: 19px; padding: 8px 2px 18px; }
  .romeo-shell[data-screen="games"] .gc-shelf { margin-top: 20px; }
  .romeo-shell[data-screen="games"] .gc-preview-grid { grid-template-columns: 1fr; gap: 11px; }
  .romeo-shell[data-screen="games"] .gc-preview-card {
    grid-template-columns: minmax(104px, 34%) minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) auto;
    align-items: stretch;
    border-radius: 19px;
  }
  .romeo-shell[data-screen="games"] .gc-preview-art {
    grid-column: 1;
    grid-row: 1 / 3;
    min-height: 132px;
  }
  .romeo-shell[data-screen="games"] .gc-preview-card-copy { grid-column: 2; grid-row: 1; align-content: center; gap: 5px; padding: 12px 12px 8px; }
  .romeo-shell[data-screen="games"] .gc-preview-card-copy small { font-size: .68rem; }
  .romeo-shell[data-screen="games"] .gc-preview-card-copy strong { font-size: 1rem; }
  .romeo-shell[data-screen="games"] .gc-preview-card-copy > span { min-height: 0; font-size: .8rem; }
  .romeo-shell[data-screen="games"] .gc-preview-open-label { grid-column: 2; grid-row: 2; justify-self: start; margin: 0 12px 10px; font-size: .74rem; }
  .romeo-shell[data-screen="games"] .gc-feature,
  .romeo-shell[data-screen="games"] .gc-queue,
  .romeo-shell[data-screen="games"] .gc-match { padding: 16px; border-radius: 22px; }
  .romeo-shell[data-screen="games"] .gc-home-header { align-items: flex-start; }
  .romeo-shell[data-screen="games"] .gc-home-header .gc-kicker { max-width: 20ch; font-size: .66rem; }
  .romeo-shell[data-screen="games"] .gc-feature-art { height: 148px; gap: 8px; }
  .romeo-shell[data-screen="games"] .gc-score-row { gap: 5px; padding: 10px 8px; }
  .romeo-shell[data-screen="games"] .gc-score-player { gap: 5px; }
  .romeo-shell[data-screen="games"] .gc-score-player span:last-child { max-width: 72px; font-size: .76rem; }
  .romeo-shell[data-screen="games"] .gc-score-player .avatar { width: 30px; height: 30px; }
  .romeo-shell[data-screen="games"] .gc-score b { font-size: 1.05rem; }
  .romeo-shell[data-screen="games"] .gc-board { gap: 5px; padding: 7px; border-radius: 18px; }
  .romeo-shell[data-screen="games"] .gc-tile { border-radius: 10px; }
  .romeo-shell[data-screen="games"] .gc-preview-screen { margin: 0 -2px; border-radius: 22px; }
  .romeo-shell[data-screen="games"] .gp-header { grid-template-columns: auto minmax(0,1fr) auto; gap: 7px; padding: 12px 10px; }
  .romeo-shell[data-screen="games"] .gp-header button { min-height: 42px; padding: 7px 9px; }
  .romeo-shell[data-screen="games"] .gp-header small { font-size: .72rem; }
  .romeo-shell[data-screen="games"] .gp-live { gap: 4px; font-size: .68rem; }
  .romeo-shell[data-screen="games"] .gp-player-strip { gap: 5px; margin: 10px 8px 2px; padding: 9px 8px; }
  .romeo-shell[data-screen="games"] .gp-player-strip b { font-size: .78rem; }
  .romeo-shell[data-screen="games"] .gp-player-strip small { font-size: .7rem; }
  .romeo-shell[data-screen="games"] .gp-message { margin: 9px 8px; font-size: .86rem; }
  .romeo-shell[data-screen="games"] .gp-stage { min-height: 310px; margin: 0 8px; padding: 10px; }
  .romeo-shell[data-screen="games"] .gp-bottom-bar { align-items: flex-start; margin: 10px 8px; padding: 10px; }
  .romeo-shell[data-screen="games"] .gp-bottom-bar > span:first-child { font-size: .82rem; }
  .romeo-shell[data-screen="games"] .gp-bottom-bar small { font-size: .72rem; }
}

@media (max-width: 360px) {
  .romeo-shell[data-screen="games"] .game-center-page { padding-inline: 11px; }
  .romeo-shell[data-screen="games"] .gc-preview-grid { gap: 9px; }
  .romeo-shell[data-screen="games"] .gc-preview-card { grid-template-columns: minmax(92px, 32%) minmax(0, 1fr); }
  .romeo-shell[data-screen="games"] .gc-preview-art { min-height: 124px; }
  .romeo-shell[data-screen="games"] .gc-preview-card-copy { padding-inline: 9px; }
  .romeo-shell[data-screen="games"] .gc-preview-card-copy > span { font-size: .76rem; }
  .romeo-shell[data-screen="games"] .gc-preview-open-label { margin-inline: 9px; padding: 6px 8px; }
  .romeo-shell[data-screen="games"] .gp-stage { margin-inline: 5px; padding: 8px; }
}

@media (max-width: 700px) and (max-height: 520px) {
  .romeo-shell[data-screen="games"] .mobile-nav { min-height: 58px; padding-block: 4px; }
  .romeo-shell[data-screen="games"] .mobile-nav button { min-height: 46px; gap: 2px; }
  .romeo-shell[data-screen="games"] .mobile-nav svg { width: 20px; height: 20px; }
  .romeo-shell[data-screen="games"] .game-center-page { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
}

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

@keyframes gp-result-backdrop { from { opacity: 0; } to { opacity: 1; } }
@keyframes gp-result-card { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: translateY(0) scale(1); } }

/* A warmer, more deliberate rhythm for the Pingo game collection. */
.romeo-shell[data-screen="games"] .gc-feature {
  border-color: #dfb66b70;
  background:
    radial-gradient(ellipse at 50% 0, #9b754333, transparent 54%),
    linear-gradient(145deg, #2b2b31 0%, #202127 72%, #1d2425 100%);
  box-shadow: 0 22px 60px #0005, inset 0 1px #ffffff14;
}
.romeo-shell[data-screen="games"] .gc-feature-art {
  position: relative;
  isolation: isolate;
  border-color: #f0c57970;
  background:
    radial-gradient(ellipse at 50% 90%, #cd8d4b33, transparent 48%),
    radial-gradient(ellipse at 78% 18%, #7ab59a24, transparent 42%),
    linear-gradient(135deg, #202d2e, #302b2b 56%, #27232a);
  box-shadow: inset 0 0 48px #0005, 0 10px 26px #0003;
}
.romeo-shell[data-screen="games"] .gc-feature-art::after {
  position: absolute;
  z-index: 0;
  width: min(58%, 300px);
  aspect-ratio: 1;
  border: 1px solid #f4d7a323;
  border-radius: 50%;
  box-shadow: 0 0 0 16px #f4d7a30a, 0 0 0 34px #f4d7a307;
  content: "";
}
.romeo-shell[data-screen="games"] .gc-feature-art .gc-feature-food,
.romeo-shell[data-screen="games"] .gc-feature-art b { position: relative; z-index: 1; }
.romeo-shell[data-screen="games"] .gc-feature-food {
  animation: gc-food-float 4.8s ease-in-out infinite;
  will-change: transform;
}
.romeo-shell[data-screen="games"] .gc-feature-art .gc-feature-food:nth-of-type(2) { animation-delay: -1.6s; }
.romeo-shell[data-screen="games"] .gc-feature-art .gc-feature-food:nth-of-type(3) { animation-delay: -3.2s; }
.romeo-shell[data-screen="games"] .gc-shelf-heading { gap: 12px; margin-bottom: 8px; }
.romeo-shell[data-screen="games"] .gc-shelf-heading .gc-kicker { color: #d5ae70; }
.romeo-shell[data-screen="games"] .gc-shelf-heading h3 { margin-top: 3px; }
.romeo-shell[data-screen="games"] .gc-preview-lead { max-width: 56ch; margin-bottom: 18px; color: #cfc5c0; }
.romeo-shell[data-screen="games"] .gc-preview-card {
  overflow: hidden;
  border-color: #ffffff21;
  background: linear-gradient(155deg, #2b2c32, #1f2126 74%);
  box-shadow: 0 12px 28px #0004, inset 0 1px #ffffff0c;
  transition: transform .22s cubic-bezier(.2,.75,.25,1), border-color .22s ease, box-shadow .22s ease;
}
.romeo-shell[data-screen="games"] .gc-preview-card:hover {
  transform: translateY(-4px);
  border-color: #ebc77e9c;
  box-shadow: 0 20px 38px #0006, 0 0 0 1px #f0c57920, inset 0 1px #ffffff12;
}
.romeo-shell[data-screen="games"] .gc-preview-art {
  position: relative;
  isolation: isolate;
  background-color: #16252c;
  box-shadow: inset 0 -32px 34px #0b111599;
}
.romeo-shell[data-screen="games"] .gc-preview-art::after {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: linear-gradient(180deg, #101a220c 42%, #10151dc4 100%);
  content: "";
}
.romeo-shell[data-screen="games"] .gc-preview-state {
  position: absolute;
  top: 9px;
  left: 9px;
  z-index: 1;
  padding: 5px 8px;
  border: 1px solid #ffffff45;
  border-radius: 999px;
  background: #17191edb;
  color: #f4dfbd;
  font-size: .58rem;
  font-weight: 850;
  letter-spacing: .1em;
  line-height: 1.2;
  box-shadow: 0 4px 12px #0004;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.romeo-shell[data-screen="games"] .gc-preview-state.is-prototype {
  border-color: #9fd5b280;
  background: #17362fde;
  color: #bdf0d1;
}
.romeo-shell[data-screen="games"] .gc-preview-state.is-live {
  border-color:#9cdbb37d;
  background:#17392fde;
  color:#c8f4d6;
}
.romeo-shell[data-screen="games"] .gc-preview-state.is-maintenance {
  border-color:#f0c57985;
  background:#352b20ed;
  color:#ffe0a3;
}
.romeo-shell[data-screen="games"] .gc-preview-open-label {
  border: 1px solid #e7c17c33;
  background: linear-gradient(110deg, #f0c5791b, #f27a6413);
  color: #f5d79f;
}
.romeo-shell[data-screen="games"] .gc-preview-card.is-prototype .gc-preview-open-label {
  border-color: #9fd5b24d;
  background: #1a3b322e;
  color: #bce9ce;
}
.romeo-shell[data-screen="games"] .gc-preview-card.is-live .gc-preview-open-label {
  border-color:#9cdbb35c;
  background:#17392f38;
  color:#d0f4dc;
}
.romeo-shell[data-screen="games"] .gc-preview-card.is-maintenance .gc-preview-open-label {
  border-color:#f0c57966;
  background:#403522a8;
  color:#ffe0a3;
}
.romeo-shell[data-screen="games"] .gc-online-intro-body > p,
.romeo-shell[data-screen="games"] .gc-online-intro-body > small { color:#d0c8c4; }
.romeo-shell[data-screen="games"] .gc-online-mark { border-color:#d4aa6955; background:radial-gradient(circle at 35% 25%,#fff3d3,#c89b5c); color:#30272a; }
.romeo-shell[data-screen="games"] .gc-online-intro-body > ul { border-color:#ffffff21; background:linear-gradient(145deg,#323137,#28282d); color:#f0e8df; }
.romeo-shell[data-screen="games"] .gc-online-intro-body > ul li::before { color:#9fd5b2; }
.romeo-shell[data-screen="games"] .gc-online-join { border-color:#ffdda0; background:linear-gradient(105deg,#e9b967,#f28a70); color:#261f23; font-weight:850; }
.romeo-shell[data-screen="games"] .gc-online-banner,
.romeo-shell[data-screen="games"] .gc-word-player,
.romeo-shell[data-screen="games"] .gc-hangman-player { border-color:#ffffff20; background:#ffffff09; color:#f6efe6; }
.romeo-shell[data-screen="games"] .gc-online-banner strong,
.romeo-shell[data-screen="games"] .gc-word-player-copy strong,
.romeo-shell[data-screen="games"] .gc-hangman-player strong { color:#fff7ec; }
.romeo-shell[data-screen="games"] .gc-online-banner small,
.romeo-shell[data-screen="games"] .gc-word-player-copy small,
.romeo-shell[data-screen="games"] .gc-hangman-player small,
.romeo-shell[data-screen="games"] .gc-word-rank,
.romeo-shell[data-screen="games"] .gc-word-player > b,
.romeo-shell[data-screen="games"] .gc-hangman-player > b { color:#d1c7c0; }
.romeo-shell[data-screen="games"] .gc-online-banner time { color:#f1cf8b; }
.romeo-shell[data-screen="games"] .gc-word-mark { background:#f0c57923; color:#f6d18d; }
.romeo-shell[data-screen="games"] .gc-word-entry > label,
.romeo-shell[data-screen="games"] .gc-word-standings h3,
.romeo-shell[data-screen="games"] .gc-hangman-opponents h3 { color:#e6cfaa; }
.romeo-shell[data-screen="games"] .gc-word-entry > small { color:#c6bbb6; }
.romeo-shell[data-screen="games"] .gc-word-player.is-you,
.romeo-shell[data-screen="games"] .gc-hangman-player.is-you { border-color:#d2a95d88; background:#f0c57912; }
.romeo-shell[data-screen="games"] .gc-hangman-stage { border-color:#d4aa6955; background:radial-gradient(ellipse at 50% 0,#383337,#28282d 75%); }
.romeo-shell[data-screen="games"] .gc-gallows { stroke:#e0bd82; }
.romeo-shell[data-screen="games"] .gc-hangman-part { stroke:#f08d77; }
.romeo-shell[data-screen="games"] .gc-hangman-life { color:#d4c9c4; }
.romeo-shell[data-screen="games"] .gc-hangman-life strong { color:#f0a084; }
.romeo-shell[data-screen="games"] .gc-hangman-life [role=progressbar] { background:#ffffff19; }
.romeo-shell[data-screen="games"] .gc-hangman-key { border-color:#ffffff28; background:linear-gradient(145deg,#343339,#28282e); color:#f5eee4; }
.romeo-shell[data-screen="games"] .gc-hangman-key.is-correct { border-color:#62ad86; background:#277651; color:#fff; }
.romeo-shell[data-screen="games"] .gc-hangman-key.is-guessed:not(.is-correct) { border-color:#706970; background:#524e56; color:#d0c7c2; }
.romeo-shell[data-screen="games"] .gc-hangman-answer { color:#f4e8d4; }
.romeo-shell[data-screen="games"] .gp-concept-frame {
  border-color: #d8b77466;
  box-shadow: 0 18px 38px #0005, inset 0 1px #fff2;
}
.romeo-shell[data-screen="games"] .gp-preview-badge {
  border: 1px solid #e8bf7a55;
  background: #e8bf7a17;
  color: #f1d29a;
}
.romeo-shell[data-screen="games"] .gp-concept-note {
  border-color: #d8b77455;
  background: linear-gradient(140deg, #3a332a, #29272b);
  color: #e2d5c3;
}
@keyframes gc-food-float {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-5px) rotate(1deg); }
}

@media (max-width: 380px) {
  .romeo-shell[data-screen="games"] .gc-preview-state { top: 7px; left: 7px; padding: 4px 6px; font-size: .54rem; }
  .romeo-shell[data-screen="games"] .gc-preview-lead { font-size: .86rem; }
}

/* Give active play the full mobile viewport while keeping the app chrome. */
@media (max-width: 700px) {
  .romeo-shell[data-screen="games"] .game-center-page.has-active-game {
    padding-top: 10px;
  }
  .romeo-shell[data-screen="games"] .game-center-page.has-active-game > .game-center-heading {
    display: none;
  }
  .romeo-shell[data-screen="games"] .game-center-page.has-active-game .gc-preview-screen {
    margin-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .romeo-shell[data-screen="games"] .gc-feature-food { animation: none; will-change: auto; }
}

/* Put the featured match and the collection in the same glance on larger screens. */
@media (min-width: 820px) {
  .romeo-shell[data-screen="games"] .gc-feature {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, .92fr);
    grid-template-areas:
      "head head"
      "title art"
      "copy art"
      "join art"
      "note art";
    align-items: center;
    column-gap: clamp(22px, 3vw, 42px);
    row-gap: 8px;
    padding: clamp(22px, 3vw, 34px);
  }
  .romeo-shell[data-screen="games"] .gc-home-header { grid-area: head; }
  .romeo-shell[data-screen="games"] .gc-feature > .gc-feature-art {
    grid-area: art;
    width: 100%;
    height: 100%;
    min-height: 240px;
    margin: 0;
  }
  .romeo-shell[data-screen="games"] .gc-feature-food { flex: none; width: clamp(64px, 6vw, 78px); height: clamp(64px, 6vw, 78px); }
  .romeo-shell[data-screen="games"] .gc-feature > h2 { grid-area: title; align-self: end; margin: 0; font-size: clamp(1.7rem, 2.7vw, 2.2rem); }
  .romeo-shell[data-screen="games"] .gc-feature > p:not(.gc-note):not(.gc-error) { grid-area: copy; align-self: start; margin: 0; max-width: 42ch; }
  .romeo-shell[data-screen="games"] .gc-feature > .gc-error { grid-area: copy; }
  .romeo-shell[data-screen="games"] .gc-feature > .gc-join { grid-area: join; align-self: start; width: min(100%, 360px); margin: 4px 0 0; }
  .romeo-shell[data-screen="games"] .gc-feature > .gc-note { grid-area: note; align-self: start; margin: 0; }
}

@media (max-width: 700px) {
  .romeo-shell[data-screen="games"] .game-center-heading { margin-bottom: 15px; padding-bottom: 14px; }
  .romeo-shell[data-screen="games"] .gc-feature { row-gap: 0; padding: 13px; }
  .romeo-shell[data-screen="games"] .gc-feature-art { height: clamp(112px, 34vw, 132px); gap: 5px; margin: 10px 0 11px; }
  .romeo-shell[data-screen="games"] .gc-feature-art b { font-size: 1.2rem; }
  .romeo-shell[data-screen="games"] .gc-feature-food { flex: none; width: clamp(56px, 19vw, 78px); height: clamp(56px, 19vw, 78px); border-width: 4px; }
  .romeo-shell[data-screen="games"] .gc-feature h2 { margin: 0 0 4px; font-size: 1.38rem; }
  .romeo-shell[data-screen="games"] .gc-feature > p:not(.gc-note):not(.gc-error) { margin: 0 0 8px; font-size: .88rem; line-height: 1.45; }
  .romeo-shell[data-screen="games"] .gc-feature .gc-join { min-height: 48px; margin-top: 2px; }
  .romeo-shell[data-screen="games"] .gc-feature .gc-note { margin-top: 8px; font-size: .76rem !important; line-height: 1.45; }
  .romeo-shell[data-screen="games"] .gc-shelf { margin-top: 17px; }
}

/* A compact, illustrated game shelf that feels native on a phone. */
@media (max-width: 700px) {
  .romeo-shell[data-screen="games"] .gc-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 12px;
  }
  .romeo-shell[data-screen="games"] .gc-preview-card {
    display: flex;
    flex-direction: column;
    min-height: 0;
    border-radius: 18px;
  }
  .romeo-shell[data-screen="games"] .gc-preview-art {
    flex: 0 0 auto;
    min-height: 0;
    height: clamp(104px, 32vw, 132px);
  }
  .romeo-shell[data-screen="games"] .gc-preview-card-copy {
    flex: 1 1 auto;
    align-content: start;
    gap: 5px;
    min-width: 0;
    padding: 10px 10px 8px;
  }
  .romeo-shell[data-screen="games"] .gc-preview-card-copy small {
    overflow: hidden;
    font-size: .62rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .romeo-shell[data-screen="games"] .gc-preview-card-copy strong {
    display: -webkit-box;
    overflow: hidden;
    font-size: .94rem;
    line-height: 1.24;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  .romeo-shell[data-screen="games"] .gc-preview-card-copy > span {
    display: -webkit-box;
    overflow: hidden;
    min-height: 0;
    font-size: .73rem;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  .romeo-shell[data-screen="games"] .gc-preview-open-label {
    align-self: stretch;
    justify-content: center;
    min-height: 40px;
    margin: 0 9px 9px;
    padding: 7px 8px;
    border-radius: 11px;
    font-size: .7rem;
    text-align: center;
  }
}

@media (max-width: 360px) {
  .romeo-shell[data-screen="games"] .gc-preview-grid { gap: 9px; }
  .romeo-shell[data-screen="games"] .gc-preview-card-copy { padding-inline: 8px; }
  .romeo-shell[data-screen="games"] .gc-preview-open-label { margin-inline: 7px; }
}

/* Focused game feedback: quiet motion, clear state, and a cleaner mobile nav. */
.romeo-shell[data-screen="games"] .gc-status:not(:empty) {
  display: table;
  max-width: min(100%, 34rem);
  min-height: 0;
  margin: 12px auto 10px;
  padding: 8px 14px;
  border: 1px solid #e8bf7a4d;
  border-radius: 999px;
  background: linear-gradient(110deg, #f0c5791c, #78c1a413);
  color: #ffe2ad;
  line-height: 1.45;
  animation: gc-feedback-in .28s cubic-bezier(.2,.8,.25,1) both;
}
.romeo-shell[data-screen="games"] .gc-selection {
  width: fit-content;
  max-width: 100%;
  margin: 10px auto;
  padding: 9px 14px;
  border: 1px solid #e8bf7a55;
  border-radius: 14px;
  background: #e8bf7a14;
  color: #ffdda0;
  animation: gc-feedback-in .24s ease-out both;
}
.romeo-shell[data-screen="games"] .gc-tile.selected {
  animation: gc-tile-selected .22s cubic-bezier(.2,.8,.25,1.2) both;
}
.romeo-shell[data-screen="games"] .gc-join:disabled {
  cursor: progress;
  filter: saturate(.78);
  animation: gc-join-wait 1.1s ease-in-out infinite alternate;
}
.romeo-shell[data-screen="games"] .mobile-nav button:active .nav-symbol {
  transform: scale(.92);
}
.romeo-shell[data-screen="games"] .mobile-nav .nav-symbol {
  transition: transform .16s ease;
}
@keyframes gc-feedback-in {
  from { opacity: 0; transform: translateY(5px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes gc-tile-selected {
  0% { transform: translateY(0) scale(1); }
  65% { transform: translateY(-3px) scale(.94); }
  100% { transform: translateY(-2px) scale(.96); }
}
@keyframes gc-join-wait { to { box-shadow: 0 10px 28px #e6a96155, inset 0 1px #fff8; } }

@media (max-width: 380px) {
  .romeo-shell[data-screen="games"] .gc-status:not(:empty) {
    width: fit-content;
    max-width: 100%;
    border-radius: 14px;
    font-size: .84rem;
  }
  .romeo-shell[data-screen="games"] .mobile-nav { padding-inline: 4px; }
  .romeo-shell[data-screen="games"] .mobile-nav button { min-width: 0; }
}
@media (max-width: 700px) {
  .romeo-shell[data-screen="games"] .game-center-page.has-active-game .gm-sugar-match-screen {
    height: auto;
    min-height: 0;
    overflow: visible;
  }
  .romeo-shell[data-screen="games"] .game-center-page.has-active-game .gm-sugar-match-screen .gm-sugar-main {
    height: auto;
    flex: 0 0 auto;
  }
  .romeo-shell[data-screen="games"] .game-center-page.has-active-game .gm-sugar-board-frame {
    width: min(100%, calc(100vw - 66px), 304px);
  }
}
@media (max-width: 700px) and (max-height: 740px) {
  .romeo-shell[data-screen="games"] .game-center-page.has-active-game .gm-sugar-match-screen .gm-sugar-top {
    height: 56px;
    flex-basis: 56px;
    grid-template-columns: 36px minmax(0, 1fr) 36px;
    gap: 6px;
    padding: 7px 10px;
  }
  .romeo-shell[data-screen="games"] .game-center-page.has-active-game .gm-sugar-icon-button,
  .romeo-shell[data-screen="games"] .game-center-page.has-active-game .gm-sugar-settings {
    width: 36px;
    height: 36px;
  }
  .romeo-shell[data-screen="games"] .game-center-page.has-active-game .gm-sugar-brand {
    gap: 5px;
    font-size: 14px;
  }
  .romeo-shell[data-screen="games"] .game-center-page.has-active-game .gm-sugar-brand-mark {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
    font-size: 15px;
  }
  .romeo-shell[data-screen="games"] .game-center-page.has-active-game .gm-sugar-main {
    padding: 4px 10px max(8px, env(safe-area-inset-bottom));
  }
  .romeo-shell[data-screen="games"] .game-center-page.has-active-game .gm-sugar-level { font-size: 8px; }
  .romeo-shell[data-screen="games"] .game-center-page.has-active-game .gm-sugar-title {
    margin: 1px 0;
    font-size: 23px;
  }
  .romeo-shell[data-screen="games"] .game-center-page.has-active-game .gm-sugar-subtitle { display: none; }
  .romeo-shell[data-screen="games"] .game-center-page.has-active-game .gm-sugar-hud {
    gap: 4px;
    margin: 7px 0 5px;
  }
  .romeo-shell[data-screen="games"] .game-center-page.has-active-game .gm-sugar-hud-panel {
    min-height: 48px;
    padding: 5px 6px;
  }
  .romeo-shell[data-screen="games"] .game-center-page.has-active-game .gm-sugar-board-frame {
    width: min(100%, calc(100vw - 66px), 220px);
    padding: 6px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .romeo-shell[data-screen="games"] .gc-status:not(:empty),
  .romeo-shell[data-screen="games"] .gc-selection,
  .romeo-shell[data-screen="games"] .gc-tile.selected,
  .romeo-shell[data-screen="games"] .gc-join:disabled {
    animation: none;
  }
}

/* Final fit and readability pass for Pingo's active game center. */
.romeo-shell[data-screen="games"] .game-center-heading > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #f4d08d;
}
.romeo-shell[data-screen="games"] .game-center-heading > span::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f2bd68;
  box-shadow: 0 0 0 4px #f2bd681c, 0 0 14px #f2bd6855;
  content: "";
}
.romeo-shell[data-screen="games"] .gc-preview-state {
  min-height: 25px;
  display: inline-flex;
  align-items: center;
  font-size: .64rem;
}
.romeo-shell[data-screen="games"] .gc-preview-open-label {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
}
.romeo-shell[data-screen="games"] .gc-preview-card:focus-visible,
.romeo-shell[data-screen="games"] .gc-feature .gc-join:focus-visible {
  outline: 3px solid #f4d08d;
  outline-offset: 4px;
}
.romeo-shell[data-screen="games"] > .sidebar {
  border-color: #ffffff18;
  background: linear-gradient(180deg, #191a20, #14161b 74%, #111317);
  color: #f7f0e6;
}
.romeo-shell[data-screen="games"] .sidebar .nav-item {
  border-radius: 13px;
  color: #c9c0ba;
  transition: color .18s ease, background .18s ease, transform .18s ease;
}
.romeo-shell[data-screen="games"] .sidebar .nav-item:hover {
  background: #ffffff0c;
  color: #fff5e6;
  transform: translateX(2px);
}
.romeo-shell[data-screen="games"] .sidebar .nav-item.active {
  background: linear-gradient(105deg, #f1c77920, #e67c6520);
  box-shadow: inset 3px 0 #f1c779;
  color: #ffe3ac;
}
.romeo-shell[data-screen="games"] .sidebar .nav-item.active .nav-symbol { color: #f4cb80; }
.romeo-shell[data-screen="games"] .sidebar .side-bottom { border-color: #ffffff20; }
.romeo-shell[data-screen="games"] .sidebar .account-mini { color: #f2e9de; }
.romeo-shell[data-screen="games"] .sidebar .account-mini > span strong { color: #f2e9de; }
.romeo-shell[data-screen="games"] .sidebar .account-mini small { color: #c8bdb5; }
.romeo-shell[data-screen="games"] .sidebar .account-mini > svg { color: #c8bdb5; }
.romeo-shell[data-screen="games"] .sidebar .nav-item:focus-visible,
.romeo-shell[data-screen="games"] .sidebar .account-mini:focus-visible {
  outline: 3px solid #f4d08d;
  outline-offset: 3px;
}
@media (max-width: 380px) {
  .romeo-shell[data-screen="games"] .gc-preview-state { font-size: .59rem; }
}
@media (prefers-reduced-motion: reduce) {
  .romeo-shell[data-screen="games"] .game-center-heading > span::before { box-shadow: none; }
}

/* Keep the current destination visible in the compact game lounge navigation. */
@media (max-width: 700px) {
  .romeo-shell[data-screen="games"] > .mobile-nav {
    min-height: calc(72px + env(safe-area-inset-bottom));
    padding: 6px 5px max(8px, env(safe-area-inset-bottom));
    gap: 0;
  }
  .romeo-shell[data-screen="games"] > .mobile-nav button {
    flex: 1 1 0;
    min-width: 0;
    min-height: 54px;
    gap: 3px;
    padding-inline: 1px;
    font-size: clamp(.62rem, 2.5vw, .7rem);
    line-height: 1.15;
    white-space: nowrap;
  }
  .romeo-shell[data-screen="games"] > .mobile-nav .nav-symbol {
    display: grid;
    width: 34px;
    height: 30px;
    place-items: center;
    border-radius: 12px;
  }
  .romeo-shell[data-screen="games"] > .mobile-nav .nav-symbol svg { width: 21px; height: 21px; }
  .romeo-shell[data-screen="games"] > .mobile-nav button.active { color: #f4cb80; }
  .romeo-shell[data-screen="games"] > .mobile-nav button.active .nav-symbol {
    background: #f0c5781c;
    box-shadow: 0 0 18px #e9b96b20;
  }
}

@media (max-width: 700px) {
  .romeo-shell[data-screen="games"] .gc-preview-card .gc-preview-open-label {
    min-height: 40px;
  }
}

/* Keep the first live game action above the dock on very short, narrow phones. */
@media (max-width: 350px) and (max-height: 620px) {
  .romeo-shell[data-screen="games"] .game-center-page { padding-top: 7px; }
  .romeo-shell[data-screen="games"] .game-center-heading { margin-bottom: 9px; padding: 0 2px 9px; }
  .romeo-shell[data-screen="games"] .game-center-heading h1 { margin: 4px 0; font-size: 1.7rem; }
  .romeo-shell[data-screen="games"] .game-center-heading p { display: none; }
  .romeo-shell[data-screen="games"] .verification-banner { gap: 5px 8px; margin-top: 6px; padding: 7px 10px; font-size: .75rem; line-height: 1.35; }
  .romeo-shell[data-screen="games"] .gc-feature {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 110px;
    grid-template-areas: "head head" "title art" "copy art" "join join" "note note";
    align-items: center;
    column-gap: 10px;
    row-gap: 5px;
    padding: 11px;
  }
  .romeo-shell[data-screen="games"] .gc-feature .gc-home-header { grid-area: head; align-items: center; margin: 0; }
  .romeo-shell[data-screen="games"] .gc-feature .gc-home-header .gc-kicker { font-size: .58rem; text-align: right; }
  .romeo-shell[data-screen="games"] .gc-feature > h2 { grid-area: title; align-self: end; margin: 0 0 2px; font-size: 1.2rem; }
  .romeo-shell[data-screen="games"] .gc-feature > .gc-feature-art {
    grid-area: art;
    display: flex;
    width: 100%;
    height: 100%;
    min-height: 108px;
    gap: 1px;
    margin: 0;
    padding: 3px;
    box-sizing: border-box;
  }
  .romeo-shell[data-screen="games"] .gc-feature-art b { font-size: .58rem; }
  .romeo-shell[data-screen="games"] .gc-feature-food { width: 29px; height: 29px; border-width: 2px; }
  .romeo-shell[data-screen="games"] .gc-feature > p:not(.gc-note):not(.gc-error) { grid-area: copy; align-self: start; margin: 0; font-size: .75rem !important; line-height: 1.32; }
  .romeo-shell[data-screen="games"] .gc-feature > .gc-error { grid-column: 1 / -1; margin: 0; }
  .romeo-shell[data-screen="games"] .gc-feature .gc-join { grid-area: join; min-height: 44px; margin: 0; }
  .romeo-shell[data-screen="games"] .gc-feature > .gc-note { grid-area: note; margin: 0; font-size: .7rem !important; line-height: 1.3; }
}

@media (max-width: 700px) {
  .romeo-shell[data-screen="games"].gc-play-active > .mobile-nav { display: none !important; }
  .romeo-shell[data-screen="games"].gc-play-active .main { padding-bottom: max(20px, env(safe-area-inset-bottom)); }
  .romeo-shell[data-screen="games"].gc-play-active .game-center-page { padding-bottom: max(22px, env(safe-area-inset-bottom)); }
}

/* On the Game Center screen Android already places the system bar below the WebView.
   Do not reserve its inset a second time; keep the app dock at the visible viewport edge. */
@media (max-width: 700px) {
  .romeo-shell[data-screen="games"]:not(.gc-play-active) > .mobile-nav {
    position: fixed !important;
    inset: auto 0 0 !important;
    min-height: 64px;
    padding: 4px 5px 8px;
    transform: none !important;
    translate: none !important;
  }
  .romeo-shell[data-screen="games"]:not(.gc-play-active) > .mobile-nav button {
    min-height: 50px;
    align-content: center;
  }
}
