/* ========================================================
   ADDA v2 — Premium Global Party Game Design System
   Modern dark lobby, clean glassmorphism, responsive mobile-first
   ======================================================== */

:root {
  --bg-main: #0a0b12;
  --bg-surface: #121422;
  --bg-surface-elevated: #1a1d30;
  --bg-glass: rgba(22, 26, 44, 0.75);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-active: rgba(255, 255, 255, 0.18);
  --border-focus: #7c5cff;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --accent-primary: #7c5cff;
  --accent-primary-hover: #6a46f6;
  --accent-gradient: linear-gradient(135deg, #7c5cff 0%, #ff4d8d 100%);
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-rose: #ef4444;
  --accent-cyan: #06b6d4;

  --font-display: 'Sora', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-card: 0 12px 32px -8px rgba(0, 0, 0, 0.5), 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 24px -4px rgba(124, 92, 255, 0.45);
}

body.v2 {
  background: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-body);
  margin: 0;
  padding: 0;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.v2 * {
  box-sizing: border-box;
}

/* Force hidden elements to never display regardless of display flex/block rules */
[hidden],
.landing[hidden],
#landing-view[hidden],
#app-container[hidden],
#setup-avatar-drawer[hidden],
#google-account-pill[hidden],
#setup-game-variants[hidden],
#selected-game-staging[hidden] {
  display: none !important;
}

#app-container {
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
}
#app-container:not([hidden]) {
  display: block !important;
}
.landing:not([hidden]),
#landing-view:not([hidden]) {
  display: flex !important;
}

/* ========================================================
   1. LANDING PAGE VIEW (100vh Compact / Zero Scrolling)
   ======================================================== */
.landing {
  position: relative;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px 16px 14px;
  max-width: 580px;
  margin: 0 auto;
  overflow: hidden;
  box-sizing: border-box;
}

.landing-glow {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.22;
}
.glow-a {
  top: -120px;
  left: -80px;
  background: #7c5cff;
}
.glow-b {
  bottom: -40px;
  right: -80px;
  background: #ff4d8d;
}

.landing-nav {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0 8px;
}

.nav-brand-logo {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  vertical-align: middle;
  margin-right: 4px;
}

.wordmark {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  background: linear-gradient(135deg, #fff 30%, #a5b4fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

.landing-hero {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 4px 6px 8px;
  margin: 0 auto;
  width: 100%;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.74rem;
  font-weight: 600;
  color: #c7d2fe;
  background: rgba(124, 92, 255, 0.15);
  border: 1px solid rgba(124, 92, 255, 0.35);
  padding: 3px 11px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}
.dot-live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulseDot 2s infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 5.2vw, 2.3rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
  color: #fff;
}
.hero-title em {
  font-style: normal;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: clamp(0.78rem, 2vw, 0.88rem);
  line-height: 1.38;
  color: var(--text-muted);
  margin: 0 0 12px;
  max-width: 440px;
}

/* Side-by-Side Action Controls */
.hero-actions-row {
  display: flex;
  gap: 8px;
  width: 100%;
  max-width: 420px;
  align-items: stretch;
}

.btn-create-room {
  flex: 1;
  background: var(--accent-gradient);
  color: #fff;
  border: none;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: var(--radius-md);
  padding: 11px 16px;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(124, 92, 255, 0.45);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.btn-create-room:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(124, 92, 255, 0.6);
}
.btn-create-room:active {
  transform: translateY(0);
}

.btn-join-room {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
}
.btn-join-room:hover {
  background: rgba(255, 255, 255, 0.16);
}

.join-inline {
  flex: 1.15;
  display: flex;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 3px 5px;
  transition: border-color 0.2s ease;
}
.join-inline:focus-within {
  border-color: var(--border-focus);
}
.join-inline input {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 8px;
  outline: none;
  min-width: 0;
}
.join-inline input::placeholder {
  color: var(--text-dim);
  text-transform: none;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: normal;
}
.join-inline:focus-within {
  border-color: var(--border-focus);
}
.join-inline input {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 10px 12px;
  outline: none;
  min-width: 0;
}
.join-inline input::placeholder {
  color: var(--text-dim);
  text-transform: none;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: normal;
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.15);
}

.resume-chip {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #a7f3d0;
  border-radius: var(--radius-full);
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease;
}
.resume-chip:hover {
  transform: translateY(-1px);
}
.resume-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
}

/* Landing Games Grid - Compact Zero Scroll Layout */
.landing-games {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 6px 0 10px;
  padding: 0;
  width: 100%;
}
@media (max-width: 520px) {
  .landing-games {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .landing-games .lg-card:last-child {
    grid-column: span 2;
  }
}

.lg-card {
  background: rgba(18, 22, 38, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 3px;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.lg-card:hover, .lg-card:active {
  transform: translateY(-2px);
  border-color: #7c5cff;
  background: rgba(30, 36, 62, 0.95);
}
.lg-emoji {
  font-size: 1.55rem;
  line-height: 1;
  margin-bottom: 2px;
}
.lg-card b {
  font-size: 0.86rem;
  color: #fff;
  font-weight: 700;
  line-height: 1.15;
}
.lg-card small {
  color: var(--text-muted);
  font-size: 0.72rem;
  line-height: 1.1;
}

.landing-foot {
  position: relative;
  z-index: 2;
  padding-top: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-dim);
  font-size: 0.72rem;
  border-top: 1px solid var(--border-subtle);
  margin-top: 2px;
}

/* ========================================================
   2. BOTTOM SHEET / MODAL SYSTEM
   ======================================================== */
.sheet-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.sheet-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.sheet {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-active);
  border-bottom: none;
  border-radius: 24px 24px 0 0;
  width: 100%;
  max-width: 480px;
  padding: 16px 24px 32px;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.7);
  transform: translateY(100%);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}
.sheet-backdrop.open .sheet {
  transform: translateY(0);
}

@media (min-width: 600px) {
  .sheet-backdrop {
    align-items: center;
    padding: 20px;
  }
  .sheet {
    border-radius: 24px;
    border-bottom: 1px solid var(--border-active);
    transform: scale(0.94);
    opacity: 0;
    transition: transform 0.22s ease, opacity 0.22s ease;
  }
  .sheet-backdrop.open .sheet {
    transform: scale(1);
    opacity: 1;
  }
}

.sheet-grabber {
  width: 40px;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  margin: 0 auto 16px;
}
@media (min-width: 600px) {
  .sheet-grabber { display: none; }
}

.sheet-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--text-muted);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.sheet-close:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.sheet-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 6px;
}
.sheet-sub {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 0 0 20px;
}

.invite-note {
  background: rgba(124, 92, 255, 0.15);
  border: 1px solid rgba(124, 92, 255, 0.35);
  color: #c7d2fe;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.field-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.field-input {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: #fff;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  padding: 12px 16px;
  outline: none;
  margin-bottom: 18px;
  transition: border-color 0.2s;
}
.field-input:focus {
  border-color: var(--border-focus);
}

.avatar-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}
.avatar-chip {
  aspect-ratio: 1;
  background: var(--bg-surface);
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}
.avatar-chip:hover {
  transform: translateY(-2px);
  border-color: var(--border-active);
}
.avatar-chip.active {
  border-color: var(--accent-primary);
  background: rgba(124, 92, 255, 0.25);
  box-shadow: 0 0 16px rgba(124, 92, 255, 0.5);
  transform: scale(1.06);
}

.form-error {
  color: var(--accent-rose);
  font-size: 0.86rem;
  font-weight: 600;
  margin: -10px 0 14px;
}

/* ========================================================
   3. APP BAR & HEADER IN ROOM
   ======================================================== */
.app-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
}

.room-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  cursor: pointer;
  color: #fff;
  transition: all 0.15s ease;
}
.room-chip:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--border-active);
}
.room-chip-label {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}
.room-chip b {
  font-family: var(--font-display);
  font-size: 0.96rem;
  letter-spacing: 0.08em;
  color: #ffd700;
}

.app-bar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.players-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 6px 12px;
  border-radius: var(--radius-full);
}
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
}

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}
.icon-btn:hover {
  background: rgba(255, 255, 255, 0.14);
}

/* Multi-device Player Strip HUD */
#multi-device-hud {
  display: flex !important;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(18, 20, 34, 0.85);
  border-bottom: 1px solid var(--border-subtle);
  overflow-x: auto;
  scrollbar-width: none;
}
#multi-device-hud::-webkit-scrollbar { display: none; }

.hud-center-players {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}

.hud-player-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-surface-elevated);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}
.hud-avatar-mini {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
}

.compat-hidden {
  display: none !important;
}

/* ========================================================
   4. ROOM LOBBY: INVITE CARD & GAME TILES
   ======================================================== */
#arcade-hub-view {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 18px 48px;
}

.invite-card {
  background: linear-gradient(135deg, rgba(30, 24, 54, 0.8) 0%, rgba(20, 24, 44, 0.9) 100%);
  border: 1px solid rgba(124, 92, 255, 0.35);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media (min-width: 680px) {
  .invite-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.invite-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.invite-eyebrow {
  font-size: 0.82rem;
  font-weight: 700;
  color: #c7d2fe;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.invite-code {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #ffd700;
}
.invite-link {
  font-size: 0.82rem;
  color: var(--text-muted);
  word-break: break-all;
}

.invite-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #25d366;
  color: #fff;
  border: none;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: transform 0.15s, opacity 0.15s;
}
.btn-wa:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.invite-qr {
  margin-top: 12px;
  text-align: center;
  padding: 16px;
  background: #fff;
  border-radius: var(--radius-md);
  display: inline-block;
  align-self: center;
}
.invite-qr img {
  display: block;
  width: 160px;
  height: 160px;
}

.section-head {
  margin-bottom: 18px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 4px;
}
.section-note {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Modern Game Tiles Grid */
.games-grid.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}

.game-tile {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  color: inherit;
  font-family: inherit;
  position: relative;
  overflow: hidden;
  transition: all 0.22s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.game-tile::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--ta, #7c5cff), var(--tb, #ff4d8d));
  opacity: 0.85;
}
.game-tile:hover {
  transform: translateY(-4px);
  border-color: var(--border-active);
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.6), 0 0 24px -6px var(--ta, rgba(124, 92, 255, 0.4));
}

.tile-art {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
}
.tile-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tile-art img.art-contain {
  object-fit: contain;
  padding: 8px;
}
.tile-art.emoji-art {
  font-size: 2rem;
}

.tile-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.tile-tag {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}
.tile-body h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
}
.tile-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 4px 0 0;
}

.tile-play {
  align-self: flex-start;
  font-size: 0.84rem;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  transition: all 0.15s ease;
}
.game-tile:hover .tile-play {
  background: var(--accent-gradient);
  border-color: transparent;
  box-shadow: 0 0 16px rgba(124, 92, 255, 0.5);
}

/* ========================================================
   5. MENU SHEET
   ======================================================== */
.menu-group {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
}

.menu-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-subtle);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s;
}
.menu-row:last-child {
  border-bottom: none;
}
.menu-row:hover:not(.static) {
  background: rgba(255, 255, 255, 0.06);
}
.menu-row.static {
  cursor: default;
}
.menu-row.danger {
  color: var(--accent-rose);
}
.menu-row i {
  font-style: normal;
  font-size: 1.2rem;
  color: var(--text-dim);
}

.pill-toggle {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background 0.15s;
}
.pill-toggle:hover {
  background: rgba(255, 255, 255, 0.16);
}

/* ========================================================
   6. TOAST NOTIFICATION
   ======================================================== */
.toast-v2 {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(18, 20, 34, 0.95);
  border: 1px solid var(--border-active);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  pointer-events: none;
  opacity: 0;
  z-index: 10000;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}
.toast-v2.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ========================================================
   7. GAME ARENA & MOBILE CONTROLLER MODERNIZATION
   ======================================================== */
.game-board-wrapper {
  max-width: 960px;
  margin: 0 auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.game-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 18px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
}

.back-link-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.back-link-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--border-active);
}

.game-title-badge {
  display: flex;
  align-items: center;
  gap: 10px;
}
.game-title-badge h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin: 0;
}
.game-title-badge .game-icon {
  font-size: 1.4rem;
}

.round-badge {
  background: var(--accent-gradient);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(124, 92, 255, 0.35);
}

.rm-scoreboard {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin: 12px 0;
}

.rm-player-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  text-align: center;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}
.rm-player-card.user-player {
  border-color: var(--accent-primary);
  background: rgba(124, 92, 255, 0.08);
  box-shadow: 0 0 20px rgba(124, 92, 255, 0.15);
}
.rm-player-card.card-raja-glow {
  border-color: rgba(255, 215, 0, 0.5);
  box-shadow: 0 0 24px rgba(255, 215, 0, 0.2);
}
.rm-player-card.card-mantri-glow {
  border-color: rgba(0, 240, 255, 0.5);
  box-shadow: 0 0 24px rgba(0, 240, 255, 0.2);
}

.rm-player-card .player-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-top: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rm-player-card .player-score {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-amber);
  margin-top: 2px;
}

/* Mobile Controller Handheld Card */
.mobile-pad-card {
  max-width: 460px;
  margin: 18px auto;
  padding: 24px 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(16px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pad-status-indicator {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  margin-bottom: 16px;
  display: inline-block;
}

.mobile-my-profile-box {
  margin-bottom: 16px;
}
.mobile-my-profile-box h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  margin: 8px 0 2px;
}
.mobile-profile-avatar {
  font-size: 3.2rem;
  display: inline-block;
  margin-bottom: 4px;
}

/* ========================================================
   8. BRAND SPLASH SCREEN
   ======================================================== */
.splash-screen {
  position: fixed;
  inset: 0;
  background: #07080e;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 1;
  pointer-events: none;
  transition: opacity 0.4s ease;
  animation: autoHideSplash 1.4s forwards;
}
@keyframes autoHideSplash {
  0%, 60% { opacity: 1; }
  90% { opacity: 0; }
  100% { opacity: 0; visibility: hidden; }
}
.splash-screen.fade-out {
  opacity: 0;
  pointer-events: none;
  display: none !important;
  visibility: hidden !important;
}
.splash-content {
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: splashPop 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes splashPop {
  0% { transform: scale(0.85); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.splash-logo-ring {
  width: 100px;
  height: 100px;
  border-radius: 26px;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.25) 0%, rgba(10, 11, 18, 0.8) 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 45px rgba(124, 92, 255, 0.45), 0 0 20px rgba(0, 240, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.splash-varnams-logo {
  width: 76px;
  height: 76px;
  object-fit: contain;
  border-radius: 18px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}
.splash-tent {
  font-size: 2.2rem;
  margin-right: 6px;
  vertical-align: middle;
  display: inline-block;
}
.brand-tent {
  font-size: 1.25rem;
  margin-right: 4px;
  vertical-align: middle;
  display: inline-block;
}
.splash-brand-eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #ffd700;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.splash-title {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
  margin: 0;
  line-height: 1;
  background: linear-gradient(135deg, #ffffff 40%, #a5b4fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.splash-tagline {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 8px 0 24px;
}
.splash-loader {
  width: 140px;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
}
.splash-bar {
  width: 100%;
  height: 100%;
  background: var(--accent-gradient);
  border-radius: var(--radius-full);
  animation: splashLoad 1.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes splashLoad {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(0); }
}

/* Landing Nav Right Chips */
.landing-nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-chip {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.nav-chip:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--border-active);
}
.gold-pro-btn {
  background: rgba(255, 215, 0, 0.12);
  border-color: rgba(255, 215, 0, 0.4);
  color: #ffd700;
}
.gold-pro-btn:hover {
  background: rgba(255, 215, 0, 0.22);
  box-shadow: 0 0 16px rgba(255, 215, 0, 0.35);
}
.join-inline-wrap {
  display: flex;
  justify-content: center;
  margin: 18px 0 8px;
}

/* ========================================================
   9. STAGE ONE: GAME SETUP MODAL (Zero-Scroll 1-Tap Flow)
   ======================================================== */
.compact-setup {
  max-width: 420px;
  padding: 16px 20px 20px;
  border-radius: 24px;
}
.setup-header-compact {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 12px;
}
.setup-game-icon {
  font-size: 2.2rem;
  line-height: 1;
}
.setup-header-text h2 {
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0;
  color: #fff;
  line-height: 1.2;
}
.setup-header-text p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 2px 0 0;
  line-height: 1.2;
}

/* 1-Row Profile Bar with Name, Avatar & Google Sign In */
.setup-profile-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 6px 10px;
  margin-bottom: 10px;
}
.setup-avatar-pill {
  font-size: 1.4rem;
  cursor: pointer;
  padding: 2px;
  border-radius: 6px;
  line-height: 1;
  transition: transform 0.15s ease;
}
.setup-avatar-pill:hover {
  transform: scale(1.15);
}
.setup-name-field {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  outline: none;
  min-width: 0;
}
.btn-g-mini {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #ffffff;
  color: #1f2937;
  border: none;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.74rem;
  border-radius: 6px;
  padding: 5px 8px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.google-pill-mini {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #a7f3d0;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.g-check { color: #10b981; font-weight: 800; }
.btn-unlink-g {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  font-size: 0.9rem;
  margin-left: 2px;
}

/* Avatar Drawer (Drawer popup on click) */
.avatar-drawer {
  background: rgba(0, 0, 0, 0.35);
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 8px;
  margin-bottom: 10px;
}
.avatar-grid-compact {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}
.avatar-grid-compact::-webkit-scrollbar { display: none; }
.avatar-grid-compact .avatar-chip {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  font-size: 1.2rem;
}

/* Variant Strip (Classic vs Mega) */
.variant-strip-compact {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.03);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}
.variant-strip-compact .variant-radio {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  color: #fff;
  cursor: pointer;
}
.variant-strip-compact .variant-radio input { accent-color: var(--accent-primary); }

.locked-variant {
  opacity: 0.85;
  cursor: pointer;
  position: relative;
  transition: opacity 0.15s ease;
}
.locked-variant:hover {
  opacity: 1;
}
.pro-lock-badge {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  margin-left: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.4);
  display: inline-block;
  vertical-align: middle;
}

.setup-mode-prompt {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

/* 1-Tap Mode Action Cards */
.setup-mode-cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 10px;
}
.mode-action-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  padding: 11px 14px;
  border: 1.5px solid var(--border-subtle);
  cursor: pointer;
  text-align: left;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  position: relative;
  font-family: var(--font-body);
}
.mode-action-card:hover {
  transform: translateY(-2px);
}
.mode-action-card.mode-single {
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.15), rgba(0, 194, 168, 0.1));
  border-color: rgba(124, 92, 255, 0.4);
}
.mode-action-card.mode-single:hover {
  border-color: #7c5cff;
  box-shadow: 0 4px 22px rgba(124, 92, 255, 0.4);
}
.mode-action-card.mode-multi {
  background: linear-gradient(135deg, rgba(255, 77, 141, 0.15), rgba(245, 197, 66, 0.1));
  border-color: rgba(255, 77, 141, 0.4);
}
.mode-action-card.mode-multi:hover {
  border-color: #ff4d8d;
  box-shadow: 0 4px 22px rgba(255, 77, 141, 0.4);
}
.mode-badge {
  align-self: flex-start;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.mode-single .mode-badge {
  background: rgba(124, 92, 255, 0.28);
  color: #c7d2fe;
}
.mode-multi .mode-badge {
  background: rgba(255, 77, 141, 0.28);
  color: #fbcfe8;
}
.mode-content {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mode-emoji {
  font-size: 1.8rem;
  line-height: 1;
}
.mode-info {
  flex: 1;
}
.mode-title {
  display: block;
  font-size: 1.02rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}
.mode-desc {
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.2;
}
.mode-arrow {
  font-size: 1.3rem;
  color: #fff;
  font-weight: 800;
}

.btn-show-rules-mini {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 8px;
  display: block;
  margin: 0 auto;
  transition: color 0.15s;
}
.btn-show-rules-mini:hover { color: #fff; }

/* Selected Game Staging Card in Room Lobby */
.selected-game-staging {
  margin-bottom: 14px;
}
.staging-box {
  background: linear-gradient(135deg, #1b1638 0%, #29183f 100%);
  border: 2px solid #7c5cff;
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  box-shadow: 0 8px 30px rgba(124, 92, 255, 0.35);
}
.staging-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.staging-icon {
  font-size: 2.2rem;
  line-height: 1;
}
.staging-tag {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #f59e0b;
  text-transform: uppercase;
}
.staging-meta h3 {
  margin: 1px 0 2px;
  font-size: 1.15rem;
  color: #fff;
  font-weight: 800;
}
.staging-meta p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.btn-start-glow {
  box-shadow: 0 0 22px rgba(255, 77, 141, 0.55);
  font-size: 1.05rem;
  font-weight: 800;
}

/* ========================================================
   10. FLOATING REACTION SOUNDBOARD BUTTON
   ======================================================== */
.floating-rx-btn {
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 1000;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.45);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.floating-rx-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 32px rgba(245, 158, 11, 0.6);
}
.floating-rx-btn .rx-icon {
  font-size: 1.25rem;
}

/* ========================================================
   11. BOTTOM SHEETS & COMPACT MODALS
   ======================================================== */
.rm-sheet-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.rm-sheet-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}
.rm-bottom-sheet-content {
  background: #141726;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px 20px 0 0;
  width: 100%;
  max-width: 520px;
  padding: 18px 20px 24px;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.7);
  transform: translateY(100%);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}
.rm-sheet-backdrop.open .rm-bottom-sheet-content {
  transform: translateY(0);
}
.rm-sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.rm-sheet-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}
.rm-sheet-close {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rm-sheet-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.rm-sheet-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rm-poster-choice-btn {
  width: 100%;
  padding: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
  border-radius: 12px;
}
.rm-score-table-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 50vh;
  overflow-y: auto;
}
.rm-score-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
}
.rm-score-row.chor-row {
  border-color: rgba(239, 68, 68, 0.3);
  background: rgba(239, 68, 68, 0.06);
}
.rm-score-player {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}
.rm-score-player .mini-row-photo {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rm-score-player .rm-player-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
}
.rm-score-role {
  font-size: 0.82rem;
  color: var(--accent-amber);
  margin: 0 10px;
}
.rm-score-pts {
  font-size: 0.85rem;
  font-weight: 800;
  color: #10b981;
  margin-right: 12px;
}
.rm-score-total {
  font-size: 0.82rem;
  color: #e2e8f0;
}

/* ========================================================
   12. COMPACT ZERO-SCROLL MOBILE GAMEPLAY (< 640px)
   ======================================================== */
@media (max-width: 640px) {
  /* Hide redundant mode switcher during active gameplay on mobile */
  .hide-on-mobile-play {
    display: none !important;
  }

  /* Compact Game Board Wrapper */
  .game-board-wrapper {
    padding: 6px 8px !important;
    gap: 6px !important;
    max-height: 100dvh;
    box-sizing: border-box;
  }

  /* Header Bar - Ultra sleek 1-line */
  .game-header-bar {
    padding: 6px 10px !important;
    gap: 6px !important;
    flex-wrap: nowrap !important;
    border-radius: 12px !important;
  }
  .game-header-left {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
  }
  .back-link-btn {
    padding: 5px 10px !important;
    font-size: 0.78rem !important;
  }
  .game-title-badge h2 {
    font-size: 0.92rem !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .game-title-badge .game-icon {
    font-size: 1.05rem !important;
  }
  .round-badge {
    padding: 4px 10px !important;
    font-size: 0.72rem !important;
    white-space: nowrap;
  }

  /* Scoreboard - Exactly 1 Row of 4 Compact Badges */
  .rm-scoreboard {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 4px !important;
    margin: 4px 0 !important;
  }
  .rm-player-card {
    padding: 4px 2px !important;
    border-radius: 8px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 48px;
  }
  .rm-player-card .player-avatar,
  .rm-player-card img.player-avatar,
  .rm-player-card .mini-row-photo {
    width: 24px !important;
    height: 24px !important;
    font-size: 1.1rem !important;
    border-radius: 6px !important;
  }
  .rm-player-card .player-name {
    font-size: 0.68rem !important;
    margin-top: 2px !important;
    max-width: 100%;
    line-height: 1.1;
  }
  .rm-player-card .player-score {
    font-size: 0.68rem !important;
    margin-top: 1px !important;
    line-height: 1;
  }

  /* Compact Picking Phase Layout (Zero Scrolling) */
  .picking-compact-header {
    margin-bottom: 6px !important;
  }
  .picking-compact-header h2 {
    font-size: 1.15rem !important;
    margin-bottom: 2px !important;
  }
  .picking-compact-header p {
    font-size: 0.78rem !important;
    margin-bottom: 0 !important;
  }
  .chits-pick-row {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    max-width: 260px !important;
    margin: 4px auto !important;
    justify-items: center;
  }
  .pickable-chit {
    width: 110px !important;
    height: 82px !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3) !important;
  }
  .pickable-chit .chit-fold-icon {
    font-size: 1.6rem !important;
  }
  .pickable-chit .chit-number {
    font-size: 0.78rem !important;
    margin-top: 2px !important;
  }
  .picking-action-dock {
    margin-top: 6px !important;
  }

  /* Compact Revealed Chit Card */
  .revealed-chit-card {
    padding: 12px 16px !important;
    max-width: 290px !important;
    border-radius: 14px !important;
  }
  .revealed-chit-card .chit-character-img,
  .revealed-chit-card img {
    max-height: 85px !important;
    width: auto !important;
    object-fit: contain;
  }
  .revealed-chit-card h2 {
    font-size: 1.2rem !important;
    margin: 4px 0 !important;
  }

  /* Compact Guessing Stage */
  .mantri-prompt-box {
    padding: 8px 12px !important;
    margin-bottom: 8px !important;
  }
  .mantri-prompt-box h3 {
    font-size: 1.05rem !important;
  }
  .suspects-grid {
    gap: 8px !important;
  }
  .suspect-btn {
    padding: 8px !important;
  }

  /* Compact Result / Saza Phase Layout (Zero Scrolling) */
  .rm-stage-result {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 4px 0;
  }
  .result-banner {
    padding: 10px 14px !important;
    border-radius: 12px !important;
  }
  .result-banner h2 {
    font-size: 1.15rem !important;
    margin: 0 !important;
  }
  .result-banner p {
    font-size: 0.78rem !important;
    margin: 2px 0 0 !important;
  }
  .saza-verdict-grand-card {
    padding: 10px 12px !important;
    border-radius: 12px !important;
    background: rgba(239, 68, 68, 0.08) !important;
    border: 1.5px dashed rgba(239, 68, 68, 0.45) !important;
  }
  .saza-banner-header {
    font-size: 0.82rem !important;
    gap: 6px !important;
    margin-bottom: 4px !important;
  }
  .saza-grand-decree {
    font-size: 0.88rem !important;
    padding: 6px 8px !important;
    line-height: 1.3 !important;
  }
  .saza-challenge-trigger-btn {
    padding: 8px 14px !important;
    font-size: 0.82rem !important;
    margin-top: 6px !important;
  }
  .saza-countdown-display {
    font-size: 1.8rem !important;
    line-height: 1 !important;
  }
  .saza-verify-btn-row button {
    padding: 8px 12px !important;
    font-size: 0.8rem !important;
  }

  /* Result Actions Dock */
  .result-actions-dock {
    margin-top: 6px !important;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: stretch;
  }
  .btn-dock-primary {
    width: 100% !important;
    padding: 12px 18px !important;
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    border-radius: 12px !important;
    letter-spacing: 0.02em;
  }
  .result-sub-actions {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
  }
  .dock-sub-pill {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #e2e8f0;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.15s ease;
  }
  .dock-sub-pill:hover, .dock-sub-pill:active {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
  }
  .dock-sub-pill.reset-pill {
    color: #f87171;
    border-color: rgba(239, 68, 68, 0.3);
  }

  /* Floating Reaction Button - shrink & lower impact */
  .floating-rx-btn {
    bottom: 12px !important;
    right: 12px !important;
    padding: 6px 12px !important;
    font-size: 0.78rem !important;
    opacity: 0.85;
  }
}

/* ========================================================
   13. EXIT GAME / MAIN MENU CHOICE MODAL & BANNER
   ======================================================== */
.exit-modal-window {
  max-width: 440px !important;
  border-top: 3px solid var(--gold-foil) !important;
}
.exit-modal-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 6px;
}
.exit-option-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
}
.exit-option-btn:hover, .exit-option-btn:active {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.1);
}
.exit-option-btn.end-game-btn {
  border-color: rgba(239, 68, 68, 0.5);
  background: rgba(239, 68, 68, 0.08);
}
.exit-option-btn.end-game-btn:hover {
  background: rgba(239, 68, 68, 0.18);
  border-color: #ef4444;
}
.exit-option-btn.bot-sub-btn {
  border-color: rgba(16, 185, 129, 0.5);
  background: rgba(16, 185, 129, 0.08);
}
.exit-option-btn.bot-sub-btn:hover {
  background: rgba(16, 185, 129, 0.18);
  border-color: #10b981;
}
.exit-option-btn .opt-icon {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
}
.exit-option-btn .opt-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 3px;
}
.exit-option-btn.end-game-btn .opt-title {
  color: #fca5a5;
}
.exit-option-btn.bot-sub-btn .opt-title {
  color: #a7f3d0;
}
.exit-option-btn .opt-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.3;
}

/* Floating Banner when Game is active in background with Bot */
.bg-active-game-banner {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.22), rgba(6, 78, 59, 0.45));
  border: 1.5px solid #10b981;
  border-radius: 14px;
  padding: 10px 16px;
  margin: 10px auto 14px;
  max-width: 600px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.25);
  animation: fadeIn 0.3s ease-out;
}
.bg-game-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #a7f3d0;
}
.bg-pulse-dot {
  color: #10b981;
  font-size: 1.2rem;
  animation: pulseGreen 1.5s infinite;
}
.btn-rejoin-game {
  padding: 8px 16px !important;
  font-size: 0.85rem !important;
  border-radius: 10px !important;
  white-space: nowrap;
}

/* ========================================================
   14. CHIDIYA UDD (चिड़िया उड़) ZERO-SCROLL & 90s RETRO DUEL
   ======================================================== */
.cu-game-wrapper {
  display: flex !important;
  flex-direction: column !important;
  height: 100dvh !important;
  max-height: 100dvh !important;
  padding: 8px 12px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  justify-content: space-between !important;
}

.cu-header-bar {
  padding: 8px 14px !important;
  flex-wrap: nowrap !important;
  border-radius: 14px !important;
  height: 48px !important;
  box-sizing: border-box !important;
}
.cu-header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cu-streak-badge {
  background: rgba(255, 215, 0, 0.15);
  border: 1px solid var(--gold-foil);
  color: #ffd700;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* 90s Desi Finger Circle (अड्डा घेरा) */
.cu-finger-ring-wrap {
  width: 100%;
  margin: 4px 0;
}
.cu-finger-ring {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: 4px 0;
  scrollbar-width: none;
}
.cu-finger-ring::-webkit-scrollbar {
  display: none;
}
.cu-ring-player {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  padding: 4px 10px 4px 6px;
  border-radius: 24px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}
.cu-ring-player.is-me {
  border-color: #00f0ff;
  background: rgba(0, 240, 255, 0.08);
}
.cu-ring-player.status-holding {
  border-color: #10b981;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.3);
}
.cu-ring-player.status-lifted {
  border-color: #ffd700;
  box-shadow: 0 0 16px rgba(255, 215, 0, 0.45);
  transform: translateY(-2px);
}
.cu-ring-player.status-foul {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.15);
  animation: shake 0.4s ease;
}
.cu-ring-player.is-out {
  opacity: 0.45;
  filter: grayscale(0.8);
}
.cu-ring-avatar-wrap {
  position: relative;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cu-ring-photo, .cu-ring-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: rgba(255, 255, 255, 0.1);
  object-fit: cover;
}
.cu-ring-finger-badge {
  position: absolute;
  bottom: -4px;
  right: -4px;
  font-size: 0.85rem;
  line-height: 1;
  background: #09080e;
  border-radius: 50%;
  padding: 1px;
}
.cu-ring-meta {
  display: flex;
  flex-direction: column;
  text-align: left;
}
.cu-ring-name {
  font-size: 0.76rem;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
}
.cu-ring-lives {
  font-size: 0.65rem;
  letter-spacing: -1px;
}

/* Display Arena Responsive Overhaul */
.cu-display-arena {
  flex: 1 !important;
  min-height: 0 !important;
  max-height: 360px !important;
  height: auto !important;
  margin: 4px 0 !important;
  border-radius: 20px !important;
  background: radial-gradient(circle at center, rgba(30, 22, 46, 0.95) 0%, rgba(9, 8, 16, 0.98) 100%) !important;
  border: 2px solid rgba(255, 215, 0, 0.3) !important;
  padding: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
}

/* Reaction Progress Countdown Meter */
.cu-countdown-meter-wrap {
  width: 100%;
  max-width: 300px;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  overflow: hidden;
  margin: 0 auto 10px;
}
.cu-countdown-meter {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #ffd700, #ff0055);
  border-radius: 6px;
}

/* Subject Spotlight & Big Picture */
.cu-subject-spotlight {
  padding: 12px 24px 10px !important;
  border-radius: 20px !important;
  min-width: 200px !important;
}
.cu-subject-img-wrap {
  width: 130px !important;
  height: 130px !important;
  margin-bottom: 4px !important;
}
.cu-subject-big-image {
  max-width: 130px !important;
  max-height: 130px !important;
}
.cu-entity-name {
  font-family: var(--font-display) !important;
  font-size: 2.3rem !important;
  font-weight: 900 !important;
  margin: 4px 0 2px !important;
  color: #fff !important;
  text-shadow: 0 0 25px rgba(255, 215, 0, 0.7), 0 2px 10px rgba(0, 0, 0, 0.8) !important;
}
.cu-action-shout {
  font-size: 1.5rem !important;
  color: #ffd700 !important;
  font-weight: 900 !important;
  letter-spacing: 2px !important;
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.6) !important;
}

/* Suspense Radar */
.cu-suspense-center-icon {
  font-size: 3.2rem;
  line-height: 1;
  animation: pulseGreen 1.2s infinite;
}
.cu-suspense-headline {
  font-family: var(--font-display) !important;
  font-size: 1.35rem !important;
  font-weight: 800 !important;
  margin: 8px 0 4px !important;
  color: #ffd700 !important;
}
.cu-suspense-tagline {
  font-size: 0.8rem !important;
  color: rgba(251, 247, 238, 0.75) !important;
  margin: 0 !important;
}

/* Verdict Feedback Bubbles */
.cu-feedback-bubble {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 20px;
  border-radius: 20px;
  max-width: 380px;
  width: 100%;
  box-sizing: border-box;
}
.cu-feedback-bubble.verdict-safe {
  background: radial-gradient(circle, rgba(16, 185, 129, 0.25) 0%, rgba(6, 78, 59, 0.45) 100%);
  border: 2px solid #10b981;
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.4);
}
.cu-feedback-bubble.verdict-safe-trick {
  background: radial-gradient(circle, rgba(245, 158, 11, 0.25) 0%, rgba(120, 53, 15, 0.45) 100%);
  border: 2px solid #f59e0b;
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.4);
}
.cu-feedback-bubble.verdict-foul {
  background: radial-gradient(circle, rgba(239, 68, 68, 0.25) 0%, rgba(127, 29, 29, 0.5) 100%);
  border: 2px solid #ef4444;
  box-shadow: 0 0 30px rgba(239, 68, 68, 0.4);
}
.cu-feedback-bubble.verdict-miss {
  background: radial-gradient(circle, rgba(249, 115, 22, 0.25) 0%, rgba(124, 45, 18, 0.5) 100%);
  border: 2px solid #f97316;
  box-shadow: 0 0 30px rgba(249, 115, 22, 0.4);
}
.cu-verdict-img-wrap {
  width: 75px;
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}
.cu-verdict-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.6));
}
.cu-verdict-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 900;
  color: #fff;
  margin: 0 0 3px;
  text-align: center;
}
.cu-verdict-sub {
  font-size: 0.85rem;
  color: rgba(251, 247, 238, 0.85);
  margin: 0 0 8px;
  text-align: center;
}
.cu-speed-pill {
  background: rgba(0, 240, 255, 0.2);
  border: 1px solid #00f0ff;
  color: #a5f3fc;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
}
.cu-penalty-pill {
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid #ef4444;
  color: #fca5a5;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
}

/* Bottom Touch Section & Pad */
.cu-touch-section {
  height: 120px !important;
  min-height: 120px !important;
  max-height: 120px !important;
  margin-top: 6px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
}
.cu-touch-pad {
  width: 100% !important;
  max-width: 440px !important;
  height: 105px !important;
  min-height: 105px !important;
  max-height: 105px !important;
  border-radius: 24px !important;
  border: 3px solid rgba(255, 215, 0, 0.45) !important;
  background: linear-gradient(180deg, #2c253c, #161322) !important;
  touch-action: none !important;
  -webkit-user-select: none !important;
  user-select: none !important;
  cursor: pointer !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.12s ease !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5) !important;
}
.cu-touch-pad.is-pressed {
  background: linear-gradient(180deg, #10b981, #047857) !important;
  border-color: #34d399 !important;
  transform: scale(0.97) !important;
  box-shadow: 0 0 35px rgba(16, 185, 129, 0.6) !important;
}
.cu-touch-pad.is-pressed .pad-finger-icon {
  animation: pulseGreen 0.6s infinite !important;
}

/* Idle Prompt Card */
.cu-prompt-card {
  padding: 18px 20px;
  text-align: center;
  max-width: 380px;
}
.cu-big-bird-anim {
  font-size: 3.5rem;
  line-height: 1;
  margin-bottom: 8px;
  animation: bounce 1.8s infinite;
}
.cu-title-gold {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--gold-foil);
  margin: 0 0 6px;
  font-weight: 900;
}
.cu-rule-p {
  font-size: 0.82rem;
  color: rgba(251, 247, 238, 0.85);
  line-height: 1.4;
  margin: 0 0 12px;
}
.cu-hall-stats {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.cu-pill-stat {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 4px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cu-pill-stat .lbl {
  font-size: 0.68rem;
  color: var(--text-muted);
}
.cu-pill-stat .val {
  font-size: 0.95rem;
  color: var(--gold-foil);
  font-weight: 800;
}
.btn-cu-launch {
  font-size: 1.05rem !important;
  padding: 12px 28px !important;
  width: 100% !important;
  max-width: 280px !important;
  border-radius: 14px !important;
}

/* Climax Game Over Card */
.cu-game-over-card {
  padding: 18px 16px;
  max-width: 400px;
  margin: 0 auto;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}
.cu-gameover-heading {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: #fff;
  margin: 4px 0 6px;
  font-weight: 900;
}
.cu-nostalgia-badge {
  background: rgba(255, 215, 0, 0.15);
  border: 1px solid var(--gold-foil);
  color: #ffd700;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 5px 12px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 12px;
}
.cu-gameover-hero-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 10px 8px;
  margin-bottom: 12px;
}
.cu-stat-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cu-stat-col .sub {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.cu-stat-col .val {
  font-size: 1.15rem;
  font-weight: 900;
}
.cu-stat-col .val.gold { color: #ffd700; }
.cu-stat-col .val.cyan { color: #00f0ff; }
.cu-stat-col .val.emerald { color: #10b981; }

.cu-final-leaderboard {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
}
.cu-final-leaderboard .lb-title {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--gold-foil);
  text-align: left;
}
.cu-final-leaderboard .lb-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 0.82rem;
}
.cu-final-leaderboard .lb-row.lb-me {
  border: 1px solid #00f0ff;
  background: rgba(0, 240, 255, 0.08);
}
.cu-final-leaderboard .lb-player {
  display: flex;
  align-items: center;
  gap: 6px;
}
.cu-final-leaderboard .lb-pts {
  color: var(--gold-foil);
  font-weight: 800;
}

.cu-gameover-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.btn-restart-cu {
  width: 100% !important;
  padding: 12px !important;
  font-size: 1.05rem !important;
  border-radius: 12px !important;
}
.btn-share-cu {
  width: 100% !important;
  padding: 10px !important;
  font-size: 0.88rem !important;
  border-radius: 12px !important;
  border-color: #25d366 !important;
  color: #25d366 !important;
}

/* Mobile Zero-Scroll Constraints */
@media (max-width: 640px) {
  .cu-game-wrapper {
    padding: 6px 8px !important;
    gap: 4px !important;
  }
  .cu-header-bar {
    padding: 4px 8px !important;
    height: 42px !important;
  }
  .cu-display-arena {
    max-height: 270px !important;
    padding: 8px !important;
  }
  .cu-subject-img-wrap {
    width: 105px !important;
    height: 105px !important;
  }
  .cu-subject-big-image {
    max-width: 105px !important;
    max-height: 105px !important;
  }
  .cu-entity-name {
    font-size: 1.85rem !important;
  }
  .cu-action-shout {
    font-size: 1.25rem !important;
  }
  .cu-touch-section {
    height: 105px !important;
    min-height: 105px !important;
    max-height: 105px !important;
  }
  .cu-touch-pad {
    height: 95px !important;
    min-height: 95px !important;
    max-height: 95px !important;
    border-radius: 18px !important;
  }
}

/* ========================================================
   18. ZERO-KAATA PRO (कटम-कुट्टी) ZERO-SCROLL & 90s NOSTALGIA
   ======================================================== */

.zk-stage-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
  padding: 6px 12px;
  max-width: 460px;
  margin: 0 auto;
  box-sizing: border-box;
  position: relative;
}

.zk-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 38px;
  min-height: 38px;
}

.zk-title-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--gold-foil);
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

.zk-title-icon {
  font-size: 1.05rem;
}

.zk-top-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.zk-p-toggle {
  display: flex;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  padding: 2px;
}

.zk-pill-btn {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.zk-pill-btn.active {
  background: var(--gold-foil);
  color: #1a1a1a;
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.45);
}

.zk-icon-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.92rem;
  color: #f8fafc;
  transition: transform 0.15s ease, background 0.15s ease;
}

.zk-icon-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: rotate(25deg);
}

/* 1-Row Mode Selector Strip */
.zk-mode-strip {
  display: flex;
  gap: 5px;
  width: 100%;
  justify-content: center;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px 0;
  margin-top: 1px;
}
.zk-mode-strip::-webkit-scrollbar {
  display: none;
}

.zk-mode-chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 10px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.zk-mode-chip:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.zk-mode-chip.active {
  background: linear-gradient(135deg, #7c5cff 0%, #ff4d8d 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 0 10px rgba(124, 92, 255, 0.45);
}

/* AI Opponents Strip */
.zk-ai-opponent-strip {
  display: flex;
  gap: 6px;
  width: 100%;
  justify-content: center;
  align-items: center;
  margin-top: 1px;
}

.zk-ai-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 700;
}

.zk-ai-chip {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 215, 0, 0.25);
  color: #ffd700;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.zk-ai-chip.active {
  background: #ffd700;
  color: #1a1a1a;
  border-color: #ffd700;
  font-weight: 900;
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

/* 1-Row Compact Scoreboard Strip */
.zk-scoreboard-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: rgba(18, 20, 34, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 5px 8px;
  margin: 2px 0;
  backdrop-filter: blur(8px);
}

.zk-player-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px 6px;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.zk-player-pill.active-turn {
  border-color: var(--gold-foil);
  background: rgba(255, 215, 0, 0.08);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
  animation: zkTurnPulse 1.4s infinite alternate;
}

@keyframes zkTurnPulse {
  0% { transform: scale(1); }
  100% { transform: scale(1.02); }
}

.zk-p-mark {
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1;
}

.zk-p-mark.x-color {
  color: #3b82f6;
  text-shadow: 0 0 6px rgba(59, 130, 246, 0.45);
}

.zk-p-mark.o-color {
  color: #ef4444;
  text-shadow: 0 0 6px rgba(239, 68, 68, 0.45);
}

.zk-p-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.zk-p-name {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-main);
  white-space: nowrap;
}

.zk-p-score {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--gold-foil);
  margin: 0 4px;
}

.zk-moves-dots {
  display: flex;
  gap: 3px;
  margin-top: 2px;
}

.zk-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.zk-dot.filled-x {
  background: #3b82f6;
  box-shadow: 0 0 4px #3b82f6;
}

.zk-dot.filled-o {
  background: #ef4444;
  box-shadow: 0 0 4px #ef4444;
}

.zk-center-status {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
}

.zk-turn-shout {
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--gold-foil);
  text-align: center;
  white-space: nowrap;
}

.zk-ties-pill {
  font-size: 0.65rem;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.05);
  padding: 1px 6px;
  border-radius: 6px;
}

/* ========================================================
   Notebook & Slate Hero Arena
   ======================================================== */

.zk-notebook-arena {
  width: 100%;
  max-width: min(84vw, 44vh, 320px);
  aspect-ratio: 1;
  margin: 0 auto;
  position: relative;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  box-sizing: border-box;
  padding: 16px 10px 10px 10px;
}

/* 🏫 School Notebook Theme */
.zk-notebook-arena.theme-notebook {
  background: #fbf7ee;
  color: #1a1a1a;
  background-image: repeating-linear-gradient(
    transparent,
    transparent 23px,
    #93c5fd 24px
  );
  border: 1px solid #d4c5a9;
}

.zk-notebook-arena.theme-notebook .notebook-margin-red {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 28px;
  width: 2px;
  background: #f87171;
  z-index: 1;
}

.notebook-binding-rings {
  position: absolute;
  top: 4px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-evenly;
  z-index: 2;
  pointer-events: none;
}

.notebook-binding-rings span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #18181b;
  box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.8), 0 1px 1px rgba(255, 255, 255, 0.4);
}

.notebook-header-stamp {
  position: absolute;
  top: 14px;
  left: 36px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  font-family: monospace;
  font-size: 0.6rem;
  color: #64748b;
  font-weight: 700;
  user-select: none;
  z-index: 1;
}

/* 🪵 Slate Theme */
.zk-notebook-arena.theme-slate {
  background: #18181b !important;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px) !important;
  background-size: 16px 16px !important;
  border: 8px solid #854d0e !important;
  box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.9), 0 12px 30px rgba(0, 0, 0, 0.7) !important;
  color: #f4f4f5 !important;
}

.zk-notebook-arena.theme-slate .notebook-margin-red,
.zk-notebook-arena.theme-slate .notebook-binding-rings,
.zk-notebook-arena.theme-slate .notebook-header-stamp {
  display: none !important;
}

.zk-notebook-arena.theme-slate .zk-cell {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 2px dashed rgba(255, 255, 255, 0.35) !important;
  color: #fafafa !important;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.7);
}

/* 🏛️ Marble Theme */
.zk-notebook-arena.theme-marble {
  background: #f8fafc !important;
  background-image: radial-gradient(#e2e8f0 15%, transparent 16%) !important;
  background-size: 14px 14px !important;
  border: 5px solid #eab308 !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5) !important;
  color: #0f172a !important;
}

.zk-notebook-arena.theme-marble .notebook-margin-red,
.zk-notebook-arena.theme-marble .notebook-binding-rings,
.zk-notebook-arena.theme-marble .notebook-header-stamp {
  display: none !important;
}

/* ⚡ Cyber Neon Theme */
.zk-notebook-arena.theme-neon {
  background: #09090b !important;
  background-image: linear-gradient(rgba(0, 240, 255, 0.12) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 240, 255, 0.12) 1px, transparent 1px) !important;
  background-size: 20px 20px !important;
  border: 2.5px solid #00f0ff !important;
  box-shadow: 0 0 24px rgba(0, 240, 255, 0.35) !important;
  color: #00f0ff !important;
}

.zk-notebook-arena.theme-neon .notebook-margin-red,
.zk-notebook-arena.theme-neon .notebook-binding-rings,
.zk-notebook-arena.theme-neon .notebook-header-stamp {
  display: none !important;
}

.zk-notebook-arena.theme-neon .zk-cell {
  background: rgba(0, 240, 255, 0.05) !important;
  border: 2px solid #00f0ff !important;
  color: #00f0ff !important;
  text-shadow: 0 0 10px #00f0ff;
}

/* ========================================================
   Grid & Cells
   ======================================================== */

.zk-grid-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.zk-grid {
  display: grid;
  width: 100%;
  height: 100%;
  max-width: 260px;
  max-height: 260px;
  gap: 7px;
  margin: 0 auto;
  place-content: center;
}

.zk-grid.grid-3x3 {
  grid-template-columns: repeat(3, 1fr);
}

.zk-grid.grid-4x4 {
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
}

.zk-grid.grid-5x5 {
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
}

.zk-cell {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2.5px solid #1e3a8a;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.82);
  font-size: 2.3rem;
  font-weight: 900;
  cursor: pointer;
  user-select: none;
  position: relative;
  transition: transform 0.12s ease, background 0.12s ease;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.08);
}

.zk-grid.grid-4x4 .zk-cell {
  font-size: 1.8rem;
  border-width: 2px;
  border-radius: 7px;
}

.zk-grid.grid-5x5 .zk-cell {
  font-size: 1.35rem;
  border-width: 1.5px;
  border-radius: 6px;
}

.zk-cell:hover:not(.filled):not(.ink-blocked) {
  background: rgba(255, 255, 255, 0.98);
  transform: scale(1.02);
}

.ink-x {
  color: #1d4ed8;
  filter: drop-shadow(0 1px 2px rgba(29, 78, 216, 0.35));
}

.ink-o {
  color: #dc2626;
  filter: drop-shadow(0 1px 2px rgba(220, 38, 38, 0.35));
}

.animate-draw {
  animation: inkDrawPop 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes inkDrawPop {
  0% { transform: scale(0.3) rotate(-6deg); opacity: 0; }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

.zk-cell.fading-mark {
  border-color: #f59e0b !important;
  animation: zkFadingMarkPulse 1.2s infinite alternate;
}

@keyframes zkFadingMarkPulse {
  0% { opacity: 0.95; transform: scale(1); box-shadow: 0 0 4px #f59e0b; }
  100% { opacity: 0.4; transform: scale(0.94); box-shadow: 0 0 10px #f59e0b; }
}

.zk-fading-badge {
  position: absolute;
  bottom: 2px;
  right: 2px;
  font-size: 0.7rem;
  pointer-events: none;
}

.zk-cell.win-cell {
  background: rgba(255, 215, 0, 0.3) !important;
  border-color: #ffd700 !important;
  box-shadow: 0 0 14px rgba(255, 215, 0, 0.6);
  transform: scale(1.03);
  z-index: 3;
}

.zk-cell.ink-blocked {
  background: #1e1e24 !important;
  border-color: #000 !important;
  cursor: not-allowed;
  pointer-events: none;
}

.ink-blocked-icon {
  font-size: 1.4rem;
  opacity: 0.6;
}

.zk-cell.fog-hidden .ink-x,
.zk-cell.fog-hidden .ink-o {
  opacity: 0 !important;
  transition: opacity 0.4s ease;
}

.zk-cell.fog-hidden::after {
  content: '❓';
  font-size: 1.2rem;
  opacity: 0.5;
  position: absolute;
}

/* ========================================================
   कटम-कुट्टी Winning Red Pen Slash SVG
   ======================================================== */

.zk-strike-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
}

.zk-strike-line {
  stroke: #dc2626;
  stroke-width: 5;
  stroke-linecap: round;
  filter: drop-shadow(0 2px 5px rgba(220, 38, 38, 0.65));
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: zkSlashDraw 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.zk-strike-line.strike-slate {
  stroke: #facc15;
  filter: drop-shadow(0 0 8px rgba(250, 204, 21, 0.85));
}

.zk-strike-line.strike-neon {
  stroke: #ff007f;
  filter: drop-shadow(0 0 12px #ff007f);
}

.zk-strike-line.strike-marble {
  stroke: #e11d48;
  filter: drop-shadow(0 2px 6px rgba(225, 29, 72, 0.6));
}

@keyframes zkSlashDraw {
  to {
    stroke-dashoffset: 0;
  }
}

/* ========================================================
   Power-ups Dock
   ======================================================== */

.zk-powerup-dock {
  display: flex;
  gap: 6px;
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}

.zk-pup-btn {
  display: flex;
  align-items: center;
  gap: 3px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid var(--gold-foil);
  color: #ffd700;
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease;
}

.zk-pup-btn:hover:not(:disabled) {
  background: rgba(255, 215, 0, 0.25);
}

.zk-pup-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  text-decoration: line-through;
}

.zk-pup-btn.active-pup {
  background: var(--gold-foil);
  color: #000;
  box-shadow: 0 0 10px #ffd700;
}

.zk-pup-hint {
  font-size: 0.68rem;
  color: #ef4444;
  font-weight: 800;
  text-align: center;
  margin-top: 3px;
}

/* ========================================================
   Bottom Dock & Victory Toast
   ======================================================== */

.zk-bottom-dock {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40px;
  min-height: 40px;
}

.zk-reset-btn {
  width: 100%;
  max-width: 260px;
  padding: 8px 14px !important;
  font-size: 0.88rem !important;
  font-weight: 800 !important;
  border-radius: 12px !important;
}

.zk-victory-toast {
  position: absolute;
  bottom: 52px;
  left: 12px;
  right: 12px;
  background: rgba(18, 20, 34, 0.96);
  border: 2px solid var(--gold-foil);
  border-radius: 16px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8);
  z-index: 20;
  backdrop-filter: blur(10px);
}

.zk-toast-icon {
  font-size: 1.6rem;
}

.zk-toast-text {
  flex: 1;
  text-align: left;
}

.zk-toast-title {
  font-size: 0.88rem;
  font-weight: 900;
  color: #ffd700;
}

.zk-toast-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.zk-play-again-btn {
  padding: 7px 12px !important;
  font-size: 0.8rem !important;
  border-radius: 10px !important;
  white-space: nowrap;
}

/* ========================================================
   Settings Bottom Sheet Drawer
   ======================================================== */

.zk-settings-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  z-index: 50;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.zk-settings-sheet {
  background: var(--bg-surface-elevated);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 20px 20px 0 0;
  width: 100%;
  max-width: 460px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 16px;
  box-sizing: border-box;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.6);
  animation: zkSlideUpSheet 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes zkSlideUpSheet {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.zk-sheet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.zk-sheet-header h3 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--gold-foil);
  font-weight: 800;
}

.zk-sheet-close {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #f8fafc;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.zk-setting-group {
  margin-bottom: 14px;
}

.zk-group-title {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.zk-theme-chips,
.zk-marker-chips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.zk-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f8fafc;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 8px 10px;
  border-radius: 10px;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
}

.zk-chip:hover {
  background: rgba(255, 255, 255, 0.1);
}

.zk-chip.selected {
  background: rgba(255, 215, 0, 0.15);
  border-color: #ffd700;
  color: #ffd700;
  font-weight: 900;
}

.zk-toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  margin-bottom: 6px;
}

.zk-toggle-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  padding-right: 8px;
}

.zk-toggle-text strong {
  font-size: 0.78rem;
  color: #f8fafc;
}

.zk-toggle-text span {
  font-size: 0.68rem;
  color: var(--text-dim);
}

.zk-switch-btn {
  border: none;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.zk-switch-btn.on {
  background: #10b981;
  color: #fff;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
}

.zk-switch-btn.off {
  background: rgba(255, 255, 255, 0.15);
  color: var(--text-dim);
}

.zk-sheet-footer {
  margin-top: 14px;
}

.zk-sheet-footer button {
  width: 100%;
  padding: 10px !important;
  font-size: 0.92rem !important;
  border-radius: 12px !important;
}

/* Zero-Kaata Mobile Responsive Adjustments */
@media (max-width: 480px) {
  .zk-stage-wrapper {
    padding: 4px 8px;
  }
  .zk-notebook-arena {
    max-width: min(88vw, 42vh, 300px);
    padding: 14px 8px 8px 8px;
  }
  .zk-grid {
    max-width: 240px;
    max-height: 240px;
    gap: 6px;
  }
  .zk-cell {
    font-size: 2.1rem;
  }
  .zk-grid.grid-4x4 .zk-cell {
    font-size: 1.6rem;
  }
  .zk-grid.grid-5x5 .zk-cell {
    font-size: 1.25rem;
  }
  .zk-scoreboard-strip {
    padding: 4px 6px;
  }
  .zk-p-mark {
    font-size: 1.15rem;
  }
  .zk-p-name {
    font-size: 0.68rem;
  }
  .zk-p-score {
    font-size: 1.05rem;
  }
  .zk-turn-shout {
    font-size: 0.7rem;
  }
}

/* ========================================================
   19. NAME, PLACE, ANIMAL, THING (NPAT) 100dvh ZERO-SCROLL UX
   ======================================================== */

.npat-stage-wrapper {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  height: 100dvh !important;
  max-height: 100dvh !important;
  overflow: hidden !important;
  justify-content: space-between !important;
  padding: 8px 12px !important;
  box-sizing: border-box !important;
  max-width: 540px !important;
  margin: 0 auto !important;
}

.npat-header-bar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 12px !important;
  min-height: 44px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.npat-header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.npat-timer-pill {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fcd34d;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 3px 9px;
  border-radius: var(--radius-full);
}

.npat-timer-pill b.urgent {
  color: #ef4444;
  animation: pulseUrgent 0.5s infinite alternate;
}

@keyframes pulseUrgent {
  from { transform: scale(1); opacity: 1; }
  to { transform: scale(1.15); opacity: 0.7; }
}

/* Lucky Letter Hero Strip */
.npat-letter-hero-strip {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, rgba(30, 27, 75, 0.85) 0%, rgba(20, 24, 46, 0.95) 100%);
  border: 1.5px solid rgba(124, 92, 255, 0.35);
  border-radius: var(--radius-md);
  padding: 8px 14px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.npat-letter-tile {
  width: 52px;
  height: 52px;
  min-width: 52px;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 60%, #d97706 100%);
  color: #1a1003;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.5);
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.4);
}

.animate-letter-pop {
  animation: letterPop 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes letterPop {
  0% { transform: scale(0.6) rotate(-8deg); opacity: 0; }
  70% { transform: scale(1.12) rotate(3deg); }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

.npat-letter-hint {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.npat-hint-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.npat-hint-title {
  font-size: 0.96rem;
  color: #fff;
  font-weight: 800;
}

.npat-hint-accent {
  color: #fbbf24;
  font-size: 1.15rem;
}

.npat-timer-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  line-height: 1;
}

.npat-timer-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: #fbbf24;
}

.npat-timer-num.urgent {
  color: #ef4444;
}

.npat-timer-circle small {
  font-size: 0.6rem;
  color: var(--text-dim);
  text-transform: uppercase;
}

/* 2x2 Input Grid */
.npat-inputs-grid-2x2 {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 8px;
  margin: 4px 0;
}

.npat-input-card {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.npat-input-card:focus-within {
  border-color: #7c5cff;
  box-shadow: 0 0 16px rgba(124, 92, 255, 0.35);
  background: rgba(26, 30, 54, 0.95);
}

.npat-field-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #c7d2fe;
  line-height: 1;
}

.npat-field-label .npat-icon {
  font-size: 1rem;
}

.npat-field-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  padding: 8px 10px;
  outline: none;
  box-sizing: border-box;
  text-transform: capitalize;
  letter-spacing: 0.02em;
  transition: border-color 0.15s;
}

.npat-field-input:focus {
  border-color: #fbbf24;
  background: rgba(0, 0, 0, 0.55);
}

.npat-field-input::placeholder {
  color: rgba(255, 255, 255, 0.25);
  text-transform: uppercase;
  font-weight: 500;
}

/* STOP Buzzer Dock */
.npat-bottom-dock {
  flex-shrink: 0;
  width: 100%;
  padding-top: 4px;
}

.giant-stop-buzzer {
  width: 100%;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 50%, #991b1b 100%);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  padding: 13px 18px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.giant-stop-buzzer:hover,
.giant-stop-buzzer:active {
  transform: translateY(2px);
  box-shadow: 0 3px 10px rgba(239, 68, 68, 0.6);
}

.pulse-buzzer {
  animation: pulseBuzzerGlow 1.8s infinite;
}

@keyframes pulseBuzzerGlow {
  0%, 100% { box-shadow: 0 4px 18px rgba(239, 68, 68, 0.45); }
  50% { box-shadow: 0 6px 26px rgba(239, 68, 68, 0.75); }
}

.buzzer-icon {
  font-size: 1.35rem;
}

/* NPAT Score Summary Screen */
.npat-letter-mini-pill {
  background: rgba(124, 92, 255, 0.15);
  border: 1px solid rgba(124, 92, 255, 0.35);
  color: #c7d2fe;
  font-size: 0.78rem;
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.npat-score-summary-card {
  flex: 1;
  min-height: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  box-shadow: var(--shadow-card);
  margin: 4px 0;
}

.npat-pts-hero {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4px 0;
}

.npat-pts-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: #10b981;
  text-shadow: 0 0 16px rgba(16, 185, 129, 0.4);
  line-height: 1;
}

.npat-pts-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

.npat-eval-grid {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 4px 0;
}

.npat-eval-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 6px 10px;
}

.npat-cat-pill {
  font-size: 0.76rem;
  font-weight: 700;
  color: #94a3b8;
  min-width: 75px;
}

.npat-cat-word {
  flex: 1;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.npat-cat-badge {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.82rem;
  padding: 2px 7px;
  border-radius: 6px;
}

.npat-cat-badge.pts-good {
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: #6ee7b7;
}

.npat-cat-badge.pts-bad {
  background: rgba(239, 68, 68, 0.18);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}

.npat-standings-strip {
  flex-shrink: 0;
  width: 100%;
}

.npat-standings-strip .rm-scoreboard {
  margin: 4px 0 !important;
}

.dual-actions {
  display: flex;
  gap: 8px;
}

.dual-actions button {
  flex: 1;
  padding: 10px !important;
}

/* NPAT Champion Ceremony */
.npat-champion-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px;
}

.winner-crown-halo {
  position: relative;
  margin-bottom: 6px;
}

.winner-crown-halo .winner-crown {
  font-size: 2.2rem;
  line-height: 1;
  margin-bottom: -10px;
  position: relative;
  z-index: 2;
}

.winner-crown-halo .winner-avatar {
  font-size: 2.8rem;
  width: 72px;
  height: 72px;
  background: rgba(255, 215, 0, 0.15);
  border: 2px solid var(--gold-foil);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 24px rgba(255, 215, 0, 0.45);
}

.winner-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  margin: 4px 0 2px;
}

.winner-subtitle {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0 0 8px;
}

.npat-podium-row {
  display: flex;
  gap: 6px;
  justify-content: center;
  width: 100%;
  max-width: 380px;
  margin-top: 10px;
}

.npat-podium-card {
  flex: 1;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 6px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.npat-podium-card.rank-1 {
  border-color: var(--gold-foil);
  background: rgba(255, 215, 0, 0.08);
}

.podium-rank {
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--text-dim);
}

.podium-avatar {
  font-size: 1.1rem;
}

.podium-name {
  font-size: 0.68rem;
  color: #fff;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.podium-pts {
  font-size: 0.72rem;
  color: #fbbf24;
}

/* ========================================================
   20. 90s TRUMP CARDS (TC) 100dvh ZERO-SCROLL CLASH ARENA
   ======================================================== */

.tc-stage-wrapper {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  height: 100dvh !important;
  max-height: 100dvh !important;
  overflow: hidden !important;
  justify-content: space-between !important;
  padding: 8px 12px !important;
  box-sizing: border-box !important;
  max-width: 500px !important;
  margin: 0 auto !important;
}

.tc-header-bar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 12px !important;
  min-height: 44px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.tc-deck-counts-bar {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tc-deck-pill {
  padding: 3px 9px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  font-family: var(--font-display);
}

.tc-deck-pill.player-pill {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
}

.tc-deck-pill.bot-pill {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}

.tc-vs-pill {
  font-size: 0.68rem;
  font-weight: 900;
  color: var(--text-dim);
}

/* Opponent Mini Slot */
.tc-opponent-slot {
  flex-shrink: 0;
  width: 100%;
  margin: 2px 0;
}

.tc-opp-card-back {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(30, 35, 60, 0.9) 0%, rgba(18, 22, 40, 0.95) 100%);
  border: 1.5px dashed rgba(255, 215, 0, 0.35);
  border-radius: var(--radius-md);
  padding: 6px 12px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);
}

.tc-opp-icon {
  font-size: 1.4rem;
  line-height: 1;
}

.tc-opp-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.tc-opp-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
}

.tc-opp-status {
  font-size: 0.7rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.tc-opp-count-badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.tc-opp-card-back.opp-thinking {
  border-color: #fbbf24;
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.35);
}

.dot-thinking {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fbbf24;
  animation: pulseDot 1s infinite alternate;
}

/* Opponent Revealed Card Slot */
.tc-opp-card-revealed {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: var(--radius-md);
  padding: 6px 12px;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

.tc-opp-card-revealed.opp-won {
  border-color: #10b981;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.45);
}

.tc-opp-card-revealed.opp-lost {
  border-color: #ef4444;
  opacity: 0.85;
}

.tc-opp-rev-icon {
  font-size: 1.6rem;
}

.tc-opp-rev-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.tc-opp-rev-title {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tc-opp-rev-cat {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.8);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tc-opp-rev-stat-badge {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  background: rgba(0, 0, 0, 0.4);
  padding: 3px 8px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.tc-stat-key {
  font-size: 0.62rem;
  color: #cbd5e1;
  text-transform: uppercase;
}

.tc-stat-val {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: #fbbf24;
  line-height: 1;
}

/* Center Stage: Active Player Card */
.tc-player-card-arena {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 4px 0;
}

.tc-retro-card {
  width: 100%;
  max-width: 340px;
  height: 100%;
  max-height: min(54vh, 390px);
  border: 2px solid rgba(255, 215, 0, 0.55);
  border-radius: 18px;
  padding: 10px 14px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 215, 0, 0.15);
  position: relative;
  box-sizing: border-box;
}

.tc-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.tc-category-tag {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tc-card-turn-badge {
  font-size: 0.72rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(0, 0, 0, 0.35);
  padding: 2px 8px;
  border-radius: 12px;
}

.tc-card-turn-badge.turn-active {
  background: rgba(245, 158, 11, 0.25);
  border: 1px solid #fbbf24;
  color: #ffd700;
  animation: pulseTurnBadge 1.2s infinite alternate;
}

@keyframes pulseTurnBadge {
  from { opacity: 0.85; transform: scale(1); }
  to { opacity: 1; transform: scale(1.04); }
}

.tc-card-icon {
  font-size: 1.8rem;
  line-height: 1;
}

.tc-card-header {
  text-align: center;
  margin: 2px 0 6px;
}

.tc-card-header h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 900;
  color: #fff;
  margin: 0;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
  letter-spacing: -0.01em;
}

.tc-subtitle {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 2px 0 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 4 Tactile Stat Buttons Grid */
.tc-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.tc-stat-card-btn {
  background: rgba(10, 14, 28, 0.75);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 7px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  font-family: var(--font-body);
  outline: none;
  cursor: default;
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.tc-stat-card-btn .stat-name {
  font-size: 0.74rem;
  font-weight: 600;
  color: #cbd5e1;
}

.tc-stat-card-btn .stat-num {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: #fbbf24;
}

.tc-stat-card-btn.stat-clickable {
  cursor: pointer;
  border-color: rgba(255, 215, 0, 0.35);
  background: rgba(15, 20, 38, 0.9);
}

.tc-stat-card-btn.stat-clickable:hover,
.tc-stat-card-btn.stat-clickable:active {
  transform: translateY(-2px);
  border-color: #ffd700;
  background: rgba(30, 40, 75, 0.95);
  box-shadow: 0 0 14px rgba(255, 215, 0, 0.4);
}

.tc-stat-card-btn.stat-win {
  border-color: #10b981 !important;
  background: rgba(16, 185, 129, 0.25) !important;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.5) !important;
}

.tc-stat-card-btn.stat-loss {
  border-color: #ef4444 !important;
  background: rgba(239, 68, 68, 0.2) !important;
  opacity: 0.75;
}

/* Bottom HUD */
.tc-bottom-hud {
  flex-shrink: 0;
  width: 100%;
}

.tc-prompt-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #e2e8f0;
}

.pulse-gold {
  border-color: rgba(255, 215, 0, 0.4);
  color: #ffd700;
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.25);
}

.prompt-icon {
  font-size: 1.1rem;
}

.tc-result-clash-box {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  box-shadow: var(--shadow-card);
}

.tc-result-clash-box.win {
  border: 1.5px solid #10b981;
  background: linear-gradient(135deg, rgba(6, 78, 59, 0.85), rgba(15, 23, 42, 0.95));
}

.tc-result-clash-box.lose {
  border: 1.5px solid #ef4444;
  background: linear-gradient(135deg, rgba(127, 29, 29, 0.85), rgba(15, 23, 42, 0.95));
}

.clash-result-row {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.clash-result-title {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 800;
  color: #fff;
}

.clash-scores-pill {
  font-size: 0.74rem;
  color: #cbd5e1;
}

.tc-next-card-btn {
  padding: 9px 16px !important;
  font-size: 0.88rem !important;
  white-space: nowrap;
  flex-shrink: 0;
}

.tc-bottom-dock {
  flex-shrink: 0;
  width: 100%;
}

.tc-champion-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px;
}

/* ========================================================
   21. RAJA MANTRI CHOR SIPAHI 100dvh ZERO-SCROLL ENHANCEMENTS
   ======================================================== */

.rm-stage {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  overflow: hidden;
}

.rm-stage-picking,
.rm-stage-reveal,
.rm-stage-court,
.rm-stage-suspense,
.rm-stage-result {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 6px 4px !important;
  box-sizing: border-box;
}

/* Chit Picking Stage 100dvh Scaling */
.picking-compact-header h3 {
  font-size: 1rem !important;
  margin: 0 0 2px !important;
}

.role-secret-tip {
  font-size: 0.74rem !important;
  color: var(--text-muted);
  margin: 0 !important;
}

/* Secret Chit Reveal Parchment 100dvh Scaling */
.revealed-chit-card {
  max-height: min(52vh, 340px) !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px !important;
  margin: 0 auto;
}

.revealed-chit-card .chit-role-icon {
  font-size: 2.8rem;
  line-height: 1;
}

.revealed-chit-card .chit-pts-badge {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: #fbbf24;
}

/* Court Announcement Stage 100dvh Scaling */
.court-royal-box {
  background: var(--bg-surface);
  border: 1.5px solid var(--gold-foil);
  border-radius: var(--radius-lg);
  padding: 12px 14px;
  text-align: center;
  box-shadow: 0 0 24px rgba(255, 215, 0, 0.25);
  margin: auto 0;
}

.court-raja-avatar {
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 4px;
}

.court-proclamation {
  font-family: 'Rozha One', var(--font-display);
  font-size: 1.35rem;
  color: #ffd700;
  margin: 4px 0;
}

.court-voice-wave {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3px;
  height: 24px;
  margin: 6px 0;
}

.court-voice-wave span {
  width: 3px;
  background: var(--gold-foil);
  border-radius: 2px;
  animation: voiceWaveBar 1s infinite alternate;
}

@keyframes voiceWaveBar {
  0% { height: 4px; }
  100% { height: 22px; }
}

/* Accusation / Suspense Stage 100dvh Scaling */
.suspects-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 6px !important;
  width: 100%;
  max-width: 380px;
  margin: 4px auto;
}

.suspect-btn {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 8px 10px !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.suspect-btn:hover,
.suspect-btn:active {
  border-color: #ef4444;
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.35);
  transform: translateY(-2px);
}

.suspect-avatar {
  font-size: 1.8rem;
  line-height: 1;
}

.suspect-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
}

.suspect-accuse-tag {
  background: rgba(239, 68, 68, 0.18);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 6px;
}

/* ========================================================
   22. GLOBAL 100dvh ZERO-SCROLL ENFORCEMENT & VIEWPORT ADAPTATION
   ======================================================== */

html, body.v2 {
  height: 100% !important;
  height: 100dvh !important;
  max-height: 100dvh !important;
  overflow: hidden !important;
  position: fixed !important;
  width: 100% !important;
  inset: 0 !important;
  touch-action: manipulation;
}

#landing-view,
#arcade-hub-view,
#game-arena-view,
#mobile-controller-view {
  height: 100% !important;
  height: 100dvh !important;
  max-height: 100dvh !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

#app-container {
  height: 100% !important;
  height: 100dvh !important;
  max-height: 100dvh !important;
  overflow: hidden !important;
}

/* Mobile landscape or ultra-short screens (< 680px height) */
@media (max-height: 680px) {
  .landing-hero {
    padding: 2px 4px !important;
  }
  .hero-title {
    font-size: 1.45rem !important;
    margin-bottom: 2px !important;
  }
  .hero-sub {
    font-size: 0.72rem !important;
    margin-bottom: 6px !important;
  }
  .landing-games {
    margin: 4px 0 !important;
    gap: 5px !important;
  }
  .lg-card {
    padding: 6px 4px !important;
  }
  .lg-emoji {
    font-size: 1.25rem !important;
  }
  .lg-card b {
    font-size: 0.76rem !important;
  }
  .lg-card small {
    display: none;
  }
  .npat-letter-hero-strip {
    padding: 4px 10px !important;
  }
  .npat-letter-tile {
    width: 40px !important;
    height: 40px !important;
    font-size: 1.6rem !important;
  }
  .npat-field-input {
    padding: 5px 8px !important;
    font-size: 0.9rem !important;
  }
  .giant-stop-buzzer {
    padding: 9px 14px !important;
    font-size: 1rem !important;
  }
  .tc-retro-card {
    max-height: min(48vh, 320px) !important;
    padding: 6px 10px !important;
  }
  .tc-card-header h3 {
    font-size: 1.05rem !important;
  }
  .tc-stat-card-btn {
    padding: 4px 8px !important;
  }
}
}
