/* ========================================================
   Adda 90s - Main Layout & Component Stylesheet (Premium Edition)
   ======================================================== */

* {
  box-sizing: border-box;
}

#app-container {
  max-width: 960px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ========================================================
   1. Multi-Device Room Live HUD Bar
   ======================================================== */

#multi-device-hud {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(22, 17, 32, 0.92);
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
  padding: 8px 20px;
  font-size: 0.85rem;
  backdrop-filter: blur(10px);
}

.hud-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hud-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulseGlow 1.5s infinite;
}

.hud-code-badge {
  background: rgba(255, 215, 0, 0.15);
  border: 1px solid var(--gold-foil);
  color: var(--gold-foil);
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 8px;
  letter-spacing: 1px;
}

.hud-center-players {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  max-width: 50%;
}

.hud-player-chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 2px 8px;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}

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

.hud-action-btn {
  background: rgba(0, 240, 255, 0.12);
  border: 1px solid var(--peacock-teal);
  color: var(--peacock-teal);
  padding: 4px 10px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 700;
  transition: all 0.2s;
}

.hud-action-btn:hover {
  background: var(--peacock-teal);
  color: #09080e;
}

/* ========================================================
   2. Arcade Hub Screen (Luxury Hero & Cards)
   ======================================================== */

.hub-hero {
  text-align: center;
  padding: 42px 20px 28px;
}

.hero-badge-tag {
  display: inline-block;
  background: rgba(255, 0, 85, 0.15);
  border: 1px solid var(--sindoor-red);
  color: #ff3377;
  padding: 5px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
  box-shadow: 0 0 16px rgba(255, 0, 85, 0.2);
}

.hub-hero h2 {
  font-size: 2.6rem;
  margin: 0 0 12px 0;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.hub-hero p {
  font-size: 1.1rem;
  color: rgba(251, 247, 238, 0.8);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Premium Games Grid */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  padding: 10px 24px 50px;
}

.game-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  padding: 26px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.game-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.8), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.game-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 215, 0, 0.5);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(255, 215, 0, 0.15);
  background: var(--bg-card-hover);
}

.game-card:hover::before {
  opacity: 1;
}

.card-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.card-icon-bubble {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.25);
  box-shadow: inset 0 0 15px rgba(255, 215, 0, 0.1);
}

.card-badge {
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 12px;
  font-weight: 800;
  text-transform: uppercase;
  background: rgba(0, 240, 255, 0.12);
  color: var(--peacock-teal);
  border: 1px solid rgba(0, 240, 255, 0.35);
  letter-spacing: 0.8px;
}

.game-card h3 {
  margin: 0 0 10px 0;
  font-size: 1.35rem;
  color: var(--vintage-cream);
  font-weight: 800;
}

.game-card p {
  margin: 0 0 20px 0;
  font-size: 0.92rem;
  color: rgba(251, 247, 238, 0.68);
  line-height: 1.5;
  flex-grow: 1;
}

.card-play-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--gold-foil);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 14px;
}

/* ========================================================
   3. Shared Game Board Components
   ======================================================== */

.game-board-wrapper {
  padding: 20px 24px 50px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.game-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.back-link-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--vintage-cream);
  padding: 8px 16px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 700;
  transition: all 0.2s;
}

.back-link-btn:hover {
  background: rgba(255, 215, 0, 0.18);
  border-color: var(--gold-foil);
  color: var(--gold-foil);
}

.game-title-badge {
  display: flex;
  align-items: center;
  gap: 10px;
}

.game-title-badge h2 {
  margin: 0;
  font-size: 1.35rem;
  color: var(--gold-foil);
  font-weight: 800;
}

.round-badge, .lives-badge {
  font-size: 0.9rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.08);
  padding: 6px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 215, 0, 0.25);
}

/* Primary Retro Buttons */
.retro-primary-btn {
  background: linear-gradient(180deg, #ffe066 0%, #ffc107 45%, #ff9800 100%);
  color: #3b1803;
  border: 2px solid #fff3a8;
  padding: 14px 32px;
  border-radius: 18px;
  font-size: 1.1rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 
    inset 0 2px 1px rgba(255, 255, 255, 0.7),
    inset 0 -2px 2px rgba(0, 0, 0, 0.25),
    0 6px 0 #b45309,
    0 10px 22px rgba(0, 0, 0, 0.45);
  transition: all 0.15s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  letter-spacing: 0.6px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  position: relative;
  overflow: hidden;
}

.retro-primary-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 100%);
  border-radius: 16px 16px 40px 40px;
  pointer-events: none;
}

.retro-primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 
    inset 0 2px 1px rgba(255, 255, 255, 0.8),
    inset 0 -2px 2px rgba(0, 0, 0, 0.25),
    0 8px 0 #b45309,
    0 14px 26px rgba(255, 193, 7, 0.45);
}

.retro-primary-btn:active {
  transform: translateY(4px);
  box-shadow: 
    inset 0 2px 1px rgba(255, 255, 255, 0.4),
    0 2px 0 #b45309,
    0 4px 10px rgba(0, 0, 0, 0.3);
}

.chunky-3d-btn {
  box-shadow: 
    inset 0 2px 1px rgba(255, 255, 255, 0.7),
    inset 0 -2px 2px rgba(0, 0, 0, 0.25),
    0 7px 0 #b45309,
    0 12px 24px rgba(0, 0, 0, 0.5) !important;
}

.chunky-3d-btn:active {
  transform: translateY(5px) !important;
  box-shadow: 
    inset 0 1px 1px rgba(255, 255, 255, 0.4),
    0 2px 0 #b45309,
    0 4px 8px rgba(0, 0, 0, 0.35) !important;
}

.retro-secondary-btn {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.05) 100%);
  color: var(--vintage-cream);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 12px 26px;
  border-radius: 16px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 4px 0 rgba(0, 0, 0, 0.45);
  transition: all 0.15s;
}

.retro-secondary-btn:hover {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.08) 100%);
  transform: translateY(-1px);
}

.retro-secondary-btn:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.45);
}

/* ========================================================
   4. Raja Mantri Chor Sipahi Styles
   ======================================================== */

.rm-scoreboard {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.rm-player-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.rm-player-card.user-player {
  border-color: var(--peacock-teal);
  background: rgba(0, 240, 255, 0.08);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.player-avatar {
  font-size: 1.7rem;
}

.player-name {
  font-size: 0.82rem;
  font-weight: 800;
  color: rgba(251, 247, 238, 0.95);
}

.player-score {
  font-size: 0.8rem;
  color: var(--gold-foil);
  font-weight: 800;
}

.stage-center-box {
  background: var(--bg-card);
  border: 1px solid rgba(255, 215, 0, 0.25);
  border-radius: 24px;
  padding: 38px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
}

.stage-instruction {
  font-size: 1.2rem;
  color: rgba(251, 247, 238, 0.88);
  margin: 0;
}

.stage-instruction.highlight-text {
  color: var(--gold-foil);
  font-weight: 800;
}

/* Pickable Chits Row */
.chits-pick-row {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.pickable-chit {
  width: 110px;
  height: 135px;
  background: #fbf7ee;
  color: #1a1a1a;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
  border: 2px dashed #bfa36c;
  transition: all 0.28s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.pickable-chit:hover {
  transform: translateY(-10px) scale(1.06);
  box-shadow: 0 16px 32px rgba(255, 215, 0, 0.45);
  border-color: var(--gold-foil);
}

.chit-fold-icon {
  font-size: 2.5rem;
}

.chit-number {
  font-size: 0.95rem;
  font-weight: 900;
  margin-top: 8px;
}

/* Revealed Chit Card */
.revealed-chit-card {
  background: rgba(0, 0, 0, 0.75);
  border: 2px solid;
  border-radius: 20px;
  padding: 24px 32px;
  text-align: center;
  width: 100%;
  max-width: 360px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
  box-sizing: border-box;
  overflow: hidden;
  margin: 0 auto;
}

.revealed-chit-card img {
  max-width: 100%;
}

.role-icon-lg {
  font-size: 4rem;
  margin-bottom: 10px;
}

.role-title {
  margin: 0 0 8px 0;
  font-size: 2rem;
  font-weight: 900;
}

.role-points {
  font-size: 1.2rem;
  color: var(--gold-foil);
  font-weight: 800;
  margin: 0 0 10px 0;
}

.role-secret-tip {
  font-size: 0.85rem;
  color: rgba(251, 247, 238, 0.6);
  margin: 0;
}

/* Court Dialogues */
.court-dialogue-box {
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}

.king-speech, .mantri-response {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.speech-avatar {
  font-size: 2rem;
}

.speech-bubble {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 12px 16px;
  flex-grow: 1;
}

.speech-bubble strong {
  color: var(--gold-foil);
  font-size: 0.9rem;
}

.speech-bubble p {
  margin: 5px 0 0 0;
  font-size: 1rem;
}

.interrogation-zone {
  width: 100%;
  max-width: 520px;
}

.suspects-row {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 16px;
}

.suspect-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.suspect-card.clickable-suspect {
  cursor: pointer;
  transition: all 0.22s;
}

.suspect-card.clickable-suspect:hover {
  border-color: var(--sindoor-red);
  background: rgba(255, 0, 85, 0.12);
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(255, 0, 85, 0.3);
}

.suspect-avatar {
  font-size: 2.5rem;
}

.suspect-name {
  font-size: 0.95rem;
  font-weight: 800;
}

.accuse-btn {
  background: var(--sindoor-red);
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(255, 0, 85, 0.4);
}

/* Result Screen */
.result-banner {
  border-radius: 16px;
  padding: 18px 28px;
  width: 100%;
  max-width: 500px;
}

.result-banner.success {
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid var(--mehendi-emerald);
  color: #10b981;
}

.result-banner.escaped {
  background: rgba(239, 68, 68, 0.16);
  border: 1px solid #ef4444;
  color: #ef4444;
}

.result-banner h3 {
  margin: 0 0 8px 0;
  font-size: 1.35rem;
}

.round-breakdown-table {
  width: 100%;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.round-res-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 0.95rem;
}

.role-pill {
  padding: 4px 10px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 800;
}

.pts-added {
  color: var(--gold-foil);
  font-weight: 800;
}

/* ========================================================
   5. Name, Place, Animal, Thing Styles
   ======================================================== */

.npat-letter-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 20px;
  padding: 18px 28px;
}

.letter-display-box {
  display: flex;
  align-items: center;
  gap: 18px;
}

.letter-label {
  font-size: 1rem;
  color: rgba(251, 247, 238, 0.75);
}

.letter-giant-tile {
  font-size: 3.2rem;
  font-weight: 900;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.npat-timer-box {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.5rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.06);
  padding: 8px 16px;
  border-radius: 16px;
}

.timer-val.urgent {
  color: #ef4444;
  animation: shakeBuzzer 0.5s infinite;
}

.npat-inputs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}

.npat-field-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.npat-field-card label {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--gold-foil);
}

.npat-field-card input {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  padding: 11px 14px;
  color: #fff;
  font-size: 1.05rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.npat-field-card input:focus {
  border-color: var(--peacock-teal);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.35);
}

.giant-stop-buzzer {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ff3b69, #b90e38);
  border: 6px solid #fbf7ee;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 1px;
  cursor: pointer;
  box-shadow: 0 14px 36px rgba(255, 0, 85, 0.55), inset 0 -6px 14px rgba(0, 0, 0, 0.4);
  transition: all 0.18s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.giant-stop-buzzer:hover {
  transform: scale(1.06);
}

.giant-stop-buzzer:active {
  transform: scale(0.95);
  box-shadow: 0 6px 16px rgba(255, 0, 85, 0.5);
}

/* ========================================================
   6. Chidiya Udd Styles
   ======================================================== */

.cu-stats-strip {
  display: flex;
  justify-content: space-around;
  background: rgba(255, 255, 255, 0.05);
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.cu-stat strong {
  color: var(--gold-foil);
  font-size: 1.3rem;
}

.cu-display-arena {
  background: var(--bg-card);
  border: 1px solid rgba(255, 215, 0, 0.25);
  border-radius: 24px;
  height: 380px;
  min-height: 380px;
  max-height: 380px;
  box-sizing: border-box;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  position: relative;
}

.cu-touch-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 14px;
  height: 160px;
  min-height: 160px;
  max-height: 160px;
  box-sizing: border-box;
  justify-content: center;
}

.cu-touch-pad {
  width: 100%;
  max-width: 400px;
  height: 120px;
  min-height: 120px;
  max-height: 120px;
  border-radius: 26px;
  background: linear-gradient(180deg, #2a2538, #181522);
  border: 3px solid rgba(255, 215, 0, 0.4);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.cu-touch-pad.is-pressed {
  background: linear-gradient(180deg, #ffd700, #d97706);
  border-color: #fff;
  transform: scale(0.97);
  box-shadow: 0 0 35px rgba(255, 215, 0, 0.65);
}

.cu-touch-pad.is-pressed .pad-text {
  color: #09080e;
}

/* ========================================================
   Chidiya Udd Enhanced - Suspense Heartbeat & Big Subject Pictures
   ======================================================== */

/* Suspense Heartbeat Arena */
.cu-suspense-arena {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  position: relative;
}

.cu-heart-radar {
  position: relative;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.cu-radar-glow-aura {
  position: absolute;
  width: 95px;
  height: 95px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 0, 102, 0.45) 0%, rgba(255, 215, 0, 0.25) 50%, transparent 75%);
  filter: blur(14px);
  animation: cuAuraPulse 1.2s ease-in-out infinite alternate;
  pointer-events: none;
}

.cu-radar-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: cuRadarPulse 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

.cu-radar-ring.ring-1 { 
  width: 75px; 
  height: 75px; 
  animation-delay: 0s; 
  border: 2px solid rgba(255, 215, 0, 0.7);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.45);
}
.cu-radar-ring.ring-2 { 
  width: 115px; 
  height: 115px; 
  animation-delay: 0.6s; 
  border: 2px solid rgba(255, 0, 102, 0.65); 
  box-shadow: 0 0 20px rgba(255, 0, 102, 0.4);
}
.cu-radar-ring.ring-3 { 
  width: 155px; 
  height: 155px; 
  animation-delay: 1.2s; 
  border: 2px solid rgba(0, 240, 255, 0.5); 
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.35);
}

@keyframes cuRadarPulse {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(1.65); opacity: 0; }
}

@keyframes cuAuraPulse {
  0% { transform: scale(0.85); opacity: 0.5; }
  100% { transform: scale(1.4); opacity: 1; }
}

.cu-arcade-heart-wrapper {
  position: relative;
  width: 84px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cuHeartLubDub 1.1s cubic-bezier(0.25, 0.8, 0.25, 1) infinite;
  user-select: none;
  filter: drop-shadow(0 0 22px rgba(255, 0, 102, 0.85));
}

.cu-arcade-heart-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* Realistic Lub-Dub Cardiac Double Beat */
@keyframes cuHeartLubDub {
  0% { transform: scale(1); filter: drop-shadow(0 0 16px rgba(255, 0, 102, 0.75)); }
  12% { transform: scale(1.24); filter: drop-shadow(0 0 32px rgba(255, 215, 0, 0.95)) drop-shadow(0 0 45px rgba(255, 0, 102, 1)); }
  22% { transform: scale(1.08); filter: drop-shadow(0 0 20px rgba(255, 0, 102, 0.8)); }
  34% { transform: scale(1.36); filter: drop-shadow(0 0 40px rgba(255, 215, 0, 1)) drop-shadow(0 0 55px rgba(255, 0, 127, 1)); }
  52% { transform: scale(1); filter: drop-shadow(0 0 16px rgba(255, 0, 102, 0.75)); }
  100% { transform: scale(1); filter: drop-shadow(0 0 16px rgba(255, 0, 102, 0.75)); }
}

/* Electro ECG cardiogram pulse */
.cu-ecg-path {
  stroke-dasharray: 120;
  stroke-dashoffset: 0;
  animation: cuEcgPulse 1.1s linear infinite;
  filter: drop-shadow(0 0 6px #00f0ff);
}

@keyframes cuEcgPulse {
  0% { stroke-dashoffset: 120; opacity: 0.2; }
  30% { stroke-dashoffset: 0; opacity: 1; }
  60% { stroke-dashoffset: -120; opacity: 0.5; }
  100% { stroke-dashoffset: -120; opacity: 0.2; }
}

/* Sparkle Stars */
.cu-sparkle-star {
  position: absolute;
  color: #ffd700;
  font-size: 1.1rem;
  line-height: 1;
  pointer-events: none;
  animation: cuStarTwinkle 1.1s ease-in-out infinite alternate;
  filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.9));
}
.cu-sparkle-star.s1 { top: -4px; right: -4px; animation-delay: 0.2s; }
.cu-sparkle-star.s2 { bottom: 2px; left: -4px; animation-delay: 0.7s; }

@keyframes cuStarTwinkle {
  0% { transform: scale(0.6) rotate(0deg); opacity: 0.4; }
  100% { transform: scale(1.3) rotate(35deg); opacity: 1; }
}

.cu-blinking-heart {
  font-size: 5rem;
  line-height: 1;
  display: inline-block;
  animation: cuHeartLubDub 1.1s cubic-bezier(0.25, 0.8, 0.25, 1) infinite;
  filter: drop-shadow(0 0 20px rgba(255, 0, 102, 0.9));
  user-select: none;
}

.cu-suspense-headline {
  color: var(--gold-foil);
  font-size: 1.9rem;
  font-weight: 900;
  margin: 0 0 8px 0;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 215, 0, 0.45);
}

.cu-suspense-tagline {
  font-size: 1.05rem;
  color: rgba(251, 247, 238, 0.88);
  margin: 0;
  max-width: 440px;
}

/* Subject Picture Spotlight Card (Bigger Picture Presentation - Neutral Thrill Gold, No Spoilers) */
.cu-entity-reveal {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.cu-subject-spotlight {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 32px 14px;
  border-radius: 28px;
  background: radial-gradient(circle at center, rgba(38, 28, 56, 0.98) 0%, rgba(12, 10, 20, 0.99) 100%);
  border: 3.5px solid #ffd700;
  box-shadow: 0 0 35px rgba(255, 215, 0, 0.45), 0 16px 45px rgba(0, 0, 0, 0.8);
  transition: all 0.3s ease;
  min-width: 240px;
}

.cu-subject-spotlight.fly-spotlight,
.cu-subject-spotlight.trap-spotlight {
  border-color: #ffd700;
  background: radial-gradient(circle at center, rgba(38, 28, 56, 0.98) 0%, rgba(12, 10, 20, 0.99) 100%);
  box-shadow: 0 0 35px rgba(255, 215, 0, 0.45), 0 16px 45px rgba(0, 0, 0, 0.8);
}

.cu-subject-img-wrap {
  width: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  position: relative;
}

.cu-subject-big-image {
  width: 100%;
  height: 100%;
  max-width: 180px;
  max-height: 180px;
  object-fit: contain;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.7));
  animation: cuSubjectPopIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes cuSubjectPopIn {
  0% { transform: scale(0.3) rotate(-8deg); opacity: 0; }
  70% { transform: scale(1.15) rotate(3deg); }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

/* Completely suppress hint badges to prevent spoiling game */
.cu-subject-badge-pill {
  display: none !important;
}

@media (max-width: 600px) {
  .cu-heart-radar {
    width: 120px;
    height: 120px;
    margin-bottom: 6px;
  }
  .cu-arcade-heart-wrapper {
    width: 72px;
    height: 72px;
  }
  .cu-subject-img-wrap {
    width: 135px;
    height: 135px;
  }
  .cu-subject-big-image {
    width: 135px;
    height: 135px;
    max-width: 135px;
    max-height: 135px;
  }
  .cu-suspense-headline {
    font-size: 1.5rem;
  }
  .cu-blinking-heart {
    font-size: 3.8rem;
  }
  .cu-subject-spotlight {
    padding: 14px 20px 10px;
    min-width: 200px;
  }
}

/* Mobile Chidiya Udd Fixed-Placement Architecture */
.m-cu-stage-box {
  width: 100%;
  height: 290px;
  min-height: 290px;
  max-height: 290px;
  box-sizing: border-box;
  margin: 8px 0;
  border-radius: 24px;
  background: radial-gradient(circle at center, rgba(32, 24, 48, 0.98) 0%, rgba(10, 8, 16, 0.99) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  border: 3px solid rgba(255, 215, 0, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.m-cu-stage-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px;
  box-sizing: border-box;
}

.mobile-cu-pad {
  width: 100%;
  height: 155px;
  min-height: 155px;
  max-height: 155px;
  box-sizing: border-box;
  margin: 6px 0;
  border-radius: 22px;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
}

/* ========================================================
   7. 90s Trump Cards Styles
   ======================================================== */

.tc-deck-counts {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 800;
}

.tc-arena-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.retro-trump-card {
  border-radius: 20px;
  padding: 18px;
  color: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55);
  border: 2px solid rgba(255, 255, 255, 0.22);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tc-stat-row.stat-clickable {
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 0.88rem;
  transition: all 0.18s;
}

.tc-stat-row.stat-clickable:hover {
  background: rgba(255, 215, 0, 0.35);
  border-color: var(--gold-foil);
  transform: translateX(5px);
}

.stat-num {
  font-weight: 900;
  color: var(--gold-foil);
}

/* ========================================================
   8. Zero Kaata (School Notebook) Styles
   ======================================================== */

.notebook-sheet-container {
  background: #fbf7ee;
  color: #1a1a1a;
  border-radius: 18px;
  padding: 26px;
  position: relative;
  background-image: repeating-linear-gradient(
    transparent,
    transparent 27px,
    #93c5fd 28px
  );
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
  border: 1px solid #d4c5a9;
  max-width: 440px;
  margin: 0 auto;
  width: 100%;
}

.notebook-margin-red {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 45px;
  width: 2px;
  background: #f87171;
}

.zk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  max-width: 290px;
  margin: 0 auto;
}

.zk-grid.grid-4x4 {
  grid-template-columns: repeat(4, 1fr);
  max-width: 360px;
}

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

.zk-cell {
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.75);
  border: 3px solid #1e3a8a;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  font-weight: 900;
  cursor: pointer;
  user-select: none;
  transition: transform 0.15s ease, background 0.15s ease;
  position: relative;
}

.zk-grid.grid-4x4 .zk-cell {
  font-size: 2.1rem;
}

.zk-grid.grid-5x5 .zk-cell {
  font-size: 1.7rem;
  border-width: 2px;
  border-radius: 8px;
}

.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.25rem;
  opacity: 0.45;
  position: absolute;
}

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

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

@keyframes zkFadingPulse {
  0% { opacity: 0.9; transform: scale(1); box-shadow: 0 0 4px #f59e0b; }
  100% { opacity: 0.35; transform: scale(0.92); box-shadow: 0 0 12px #f59e0b; }
}

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

/* VIP Themes */
.notebook-sheet-container.theme-slate {
  background: #18181b !important;
  background-image: none !important;
  border: 10px solid #854d0e !important;
  box-shadow: inset 0 0 30px rgba(0,0,0,0.9), 0 14px 34px rgba(0,0,0,0.6) !important;
  color: #f4f4f5 !important;
}

.notebook-sheet-container.theme-slate .notebook-margin-red {
  display: none;
}

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

.notebook-sheet-container.theme-marble {
  background: #f8fafc !important;
  background-image: radial-gradient(#e2e8f0 15%, transparent 16%) !important;
  background-size: 16px 16px !important;
  border: 6px solid #eab308 !important;
  box-shadow: 0 16px 40px rgba(0,0,0,0.45) !important;
  color: #0f172a !important;
}

.notebook-sheet-container.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: 22px 22px !important;
  border: 3px solid #00f0ff !important;
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.35) !important;
  color: #00f0ff !important;
}

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

/* Controls & Options Bar */
.zk-controls-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 14px 0;
  width: 100%;
}

.zk-tabs-row {
  display: flex;
  gap: 6px;
  justify-content: center;
  flex-wrap: wrap;
}

.zk-tab-btn {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 215, 0, 0.35);
  color: #fbf7ee;
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.zk-tab-btn.active {
  background: var(--gold-foil);
  color: #1a1a1a;
  border-color: #ffd700;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.zk-powerup-bar {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 10px;
  flex-wrap: wrap;
}

.zk-powerup-btn {
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid var(--gold-foil);
  color: #ffd700;
  border-radius: 10px;
  padding: 6px 10px;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
}

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

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

/* ========================================================
   9. Mobile Controller View & QR Modal
   ======================================================== */

#mobile-controller-view {
  padding: 20px 16px;
  display: none;
}

.mobile-pad-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 215, 0, 0.35);
  border-radius: 24px;
  padding: 24px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.pad-status-indicator {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--gold-foil);
  letter-spacing: 1px;
}

.mobile-secret-chit-card {
  background: rgba(0, 0, 0, 0.65);
  border: 2px solid;
  border-radius: 20px;
  padding: 20px;
  width: 100%;
  max-width: 300px;
  box-sizing: border-box;
  overflow: hidden;
  text-align: center;
  margin: 0 auto;
}

.mobile-secret-chit-card img {
  max-width: 100%;
}

.chit-icon-giant {
  font-size: 4.5rem;
  margin-bottom: 8px;
}

.chit-points-tag {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--gold-foil);
  margin: 8px 0;
}

.mobile-suspects-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.mobile-accuse-btn {
  background: var(--sindoor-red);
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
}

.mobile-inputs-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.mobile-inputs-list input {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 12px;
  color: #fff;
  font-size: 1rem;
  font-family: inherit;
  outline: none;
}

.qr-box-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 20px;
  text-align: center;
}

.qr-img {
  width: 180px;
  height: 180px;
  border-radius: 16px;
  border: 2px solid var(--gold-foil);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.qr-code-pill {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--gold-foil);
  letter-spacing: 3px;
}

.qr-url-text {
  font-size: 0.85rem;
  color: rgba(251, 247, 238, 0.65);
  word-break: break-all;
}

/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 500;
}

.modal-backdrop.open {
  display: flex;
}

.modal-window {
  background: var(--bg-card);
  border: 1px solid rgba(255, 215, 0, 0.4);
  border-radius: 24px;
  max-width: 600px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.modal-close-btn {
  float: right;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #fff;
  cursor: pointer;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .arcade-header {
    padding: 10px 14px;
  }
  .brand-text h1 {
    font-size: 1.3rem;
  }
  .hub-hero h2 {
    font-size: 2rem;
  }
  .rm-scoreboard {
    grid-template-columns: repeat(2, 1fr);
  }
  .tc-arena-grid {
    grid-template-columns: 1fr;
  }
  .giant-stop-buzzer {
    width: 130px;
    height: 130px;
  }
}

/* ========================================================
   10. Player Photos & Raja Mantri Dramatic Accusation Styles
   ======================================================== */

.player-photo-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold-foil);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}

.player-avatar-fallback {
  font-size: 1.8rem;
}

.avatar-wrapper-relative {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-role-tag {
  position: absolute;
  top: -8px;
  right: -8px;
  font-size: 1.2rem;
  filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.8));
  animation: popIn 0.3s ease;
}

.hud-avatar-mini {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
  vertical-align: middle;
  margin-right: 4px;
  border: 1px solid var(--gold-foil);
}

.card-raja-glow {
  border-color: #f59e0b !important;
  background: rgba(245, 158, 11, 0.15) !important;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.4) !important;
}

.card-mantri-glow {
  border-color: #10b981 !important;
  background: rgba(16, 185, 129, 0.15) !important;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.4) !important;
}

.live-role-pill {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-top: 3px;
  letter-spacing: 0.5px;
}

.speech-avatar-holder {
  position: relative;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.dialogue-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold-foil);
}

.badge-overlay {
  position: absolute;
  bottom: -4px;
  right: -4px;
  font-size: 1.2rem;
}

.interrogation-heading {
  margin: 16px 0 10px 0;
  font-size: 1.15rem;
  color: var(--gold-foil);
}

.suspect-photo-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.suspect-big-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s;
}

.mystery-mask-badge {
  position: absolute;
  top: 0;
  right: -4px;
  font-size: 1.4rem;
}

.clickable-suspect:hover .suspect-big-photo {
  transform: scale(1.08);
  border-color: var(--sindoor-red);
}

/* Suspense Arena */
.suspense-arena {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at center, rgba(255, 0, 85, 0.25) 0%, rgba(9, 8, 14, 0.95) 75%) !important;
  border: 2px solid var(--sindoor-red) !important;
  padding: 48px 24px !important;
}

.dramatic-shout {
  font-size: 1.8rem;
  color: var(--gold-foil);
  margin-bottom: 20px;
  animation: shakeBuzzer 0.8s infinite;
}

.accused-spotlight-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.6);
  border: 2px solid var(--sindoor-red);
  border-radius: 20px;
  padding: 24px 36px;
  box-shadow: 0 0 35px rgba(255, 0, 85, 0.6);
}

.spotlight-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--gold-foil);
  animation: pulseGlow 1s infinite;
}

.accusation-tag {
  color: #ff3377;
  font-weight: 800;
  font-size: 1rem;
}

.countdown-pulse {
  font-size: 4rem;
  font-weight: 900;
  color: var(--gold-foil);
  margin: 16px 0;
  animation: popIn 0.5s ease infinite alternate;
}

.heartbeat-text {
  font-size: 1rem;
  color: rgba(251, 247, 238, 0.8);
  font-style: italic;
}

/* Unmasked cards in result */
.unmasked-cards-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  width: 100%;
  max-width: 500px;
  margin: 14px 0;
}

.unmasked-card {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border: 2px solid;
}

.unmasked-card.chor-card {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.12);
}

.unmasked-card.sipahi-card {
  border-color: #3b82f6;
  background: rgba(59, 130, 246, 0.12);
}

.unmasked-photo {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
}

.unmasked-tag {
  font-size: 0.82rem;
  font-weight: 800;
}

.pts-pill {
  font-size: 0.85rem;
  font-weight: 800;
  background: rgba(0, 0, 0, 0.4);
  padding: 3px 10px;
  border-radius: 10px;
  color: var(--gold-foil);
}

.mobile-profile-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold-foil);
}

.accuse-btn-photo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  vertical-align: middle;
  margin-right: 6px;
}

/* ========================================================
   11. Mega 6-9 Player Mode, Saza Wheel & Soundboard Styles
   ======================================================== */

.rm-mode-selector-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 8px;
  border-radius: 14px;
  border: 1px solid rgba(255, 215, 0, 0.25);
}

.mode-pill-btn {
  background: none;
  border: 1px solid transparent;
  color: rgba(251, 247, 238, 0.7);
  padding: 5px 12px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 700;
  transition: all 0.2s;
}

.mode-pill-btn.active {
  background: var(--gold-foil);
  color: #09080e;
  border-color: var(--gold-foil);
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.4);
}

.mega-count-dropdown {
  background: #181522;
  color: var(--gold-foil);
  border: 1px solid var(--gold-foil);
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 0.8rem;
  font-weight: 800;
  outline: none;
  cursor: pointer;
}

.mega-scoreboard {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)) !important;
}

.card-naib-glow {
  border-color: #14b8a6 !important;
  background: rgba(20, 184, 166, 0.15) !important;
  box-shadow: 0 0 20px rgba(20, 184, 166, 0.4) !important;
}

.flex-wrap-row {
  flex-wrap: wrap;
}

.suspect-selected-ring {
  border-color: #ff0055 !important;
  background: rgba(255, 0, 85, 0.2) !important;
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 0 25px rgba(255, 0, 85, 0.5) !important;
}

.accuse-active-btn {
  background: #10b981 !important;
}

.selected-accused-indicator {
  background: rgba(255, 0, 85, 0.15);
  border: 1px solid var(--sindoor-red);
  color: #ff3377;
  padding: 6px 14px;
  border-radius: 12px;
  font-weight: 800;
  display: inline-block;
  margin-bottom: 12px;
}

/* Toffee Wager Bar */
.toffee-wager-bar {
  background: rgba(255, 215, 0, 0.08);
  border: 1px solid rgba(255, 215, 0, 0.25);
  border-radius: 14px;
  padding: 10px 16px;
  width: 100%;
  max-width: 520px;
  text-align: center;
  font-size: 0.85rem;
}

.wager-buttons-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.wager-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 215, 0, 0.3);
  color: var(--vintage-cream);
  padding: 4px 10px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
  transition: all 0.2s;
}

.wager-btn.active-wager {
  background: var(--gold-foil);
  color: #09080e;
  border-color: var(--gold-foil);
  font-weight: 900;
}

/* Saza Wheel */
.saza-wheel-container {
  background: rgba(255, 255, 255, 0.04);
  border: 2px dashed rgba(255, 215, 0, 0.4);
  border-radius: 20px;
  padding: 20px;
  width: 100%;
  max-width: 480px;
  text-align: center;
  margin: 14px 0;
}

.saza-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.saza-header h3 {
  margin: 0;
  color: var(--gold-foil);
  font-size: 1.25rem;
}

.saza-icon {
  font-size: 1.8rem;
}

.wheel-box {
  position: relative;
  width: 130px;
  height: 130px;
  margin: 12px auto 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wheel-pointer {
  position: absolute;
  top: -12px;
  font-size: 1.8rem;
  color: var(--sindoor-red);
  z-index: 10;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.8));
}

.wheel-disc {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: conic-gradient(
    #ffbe0b 0% 12.5%,
    #ff0055 12.5% 25%,
    #00f0ff 25% 37.5%,
    #10b981 37.5% 50%,
    #a855f7 50% 62.5%,
    #f97316 62.5% 75%,
    #3b82f6 75% 87.5%,
    #ec4899 87.5% 100%
  );
  border: 5px solid #fbf7ee;
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.85rem;
  color: #121016;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

@keyframes spinWheel {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(1800deg); }
}

.saza-result-tag {
  background: rgba(255, 0, 85, 0.18);
  border: 1px solid var(--sindoor-red);
  color: #fff;
  padding: 12px 16px;
  border-radius: 12px;
  margin-top: 12px;
  font-size: 0.95rem;
  animation: popIn 0.3s ease;
}

/* Compact Sleek Mobile Result Elements */
.m-premium-verdict {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-align: left;
}

.m-premium-verdict.verdict-success {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.18), rgba(16, 185, 129, 0.06));
  border-color: #10b981;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
}

.m-premium-verdict.verdict-escaped {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.18), rgba(239, 68, 68, 0.06));
  border-color: #ef4444;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.2);
}

.verdict-icon-badge {
  font-size: 1.8rem;
  line-height: 1;
  flex-shrink: 0;
}

.verdict-chor-badge {
  position: relative;
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 3px solid #ef4444;
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.6), inset 0 0 10px rgba(0, 0, 0, 0.5);
  background: radial-gradient(circle, #3b0764, #180324);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.verdict-chor-mugshot {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.verdict-chor-avatar {
  font-size: 2.2rem;
  line-height: 1;
}

.verdict-handcuffs-tag {
  position: absolute;
  bottom: -4px;
  right: -6px;
  background: #111;
  border: 1px solid #ffd700;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

.hud-cohost-mini-btn {
  background: rgba(255, 215, 0, 0.18);
  border: 1px solid #ffd700;
  color: #ffd700;
  border-radius: 8px;
  font-size: 0.72rem;
  padding: 1px 5px;
  cursor: pointer;
  margin-left: 2px;
  transition: all 0.15s;
}

.hud-cohost-mini-btn:hover {
  background: #ffd700;
  color: #000;
}

.role-3d-avatar-box {
  width: 130px;
  height: 130px;
  max-width: 130px;
  max-height: 130px;
  margin: 0 auto 12px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--gold-foil);
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.45), 0 8px 24px rgba(0, 0, 0, 0.6);
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.chit-3d-character {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

.auto-timer-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(255, 215, 0, 0.12);
  border: 1px solid rgba(255, 215, 0, 0.4);
  color: var(--gold-foil);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  margin-top: 8px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.unmasked-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-handcuffs-mini {
  background: rgba(0, 0, 0, 0.85);
  border: 1px solid #ffd700;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.verdict-text-group h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
}

.verdict-text-group p {
  margin: 2px 0 0 0;
  font-size: 0.78rem;
  color: rgba(251, 247, 238, 0.75);
}

.m-premium-role-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 8px 14px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 215, 0, 0.25);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.m-role-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.m-role-photo {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold-foil);
}

.m-role-avatar {
  font-size: 1.5rem;
  line-height: 1;
}

.m-role-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.m-role-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(251, 247, 238, 0.6);
}

.m-role-title {
  font-size: 0.95rem;
  font-weight: 800;
}

.m-role-score-badge {
  background: rgba(255, 215, 0, 0.15);
  border: 1px solid var(--gold-foil);
  color: var(--gold-foil);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 4px 10px;
  border-radius: 20px;
}

.m-saza-waiting-badge {
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 12px;
  padding: 8px 12px;
  margin: 6px 0;
  color: var(--gold-foil);
  font-size: 0.82rem;
  text-align: center;
}

.m-saza-escaped-note {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 12px;
  padding: 8px 12px;
  margin: 6px 0;
  color: #fca5a5;
  font-size: 0.82rem;
  text-align: center;
  width: 100%;
}

.spinning-disc {
  animation: spinWheel 2s cubic-bezier(0.12, 0.8, 0.33, 1) forwards;
}

/* Mobile Soundboard Strip */
.mobile-soundboard-strip {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 16px;
  padding: 12px;
  margin-top: 14px;
}

.sb-title {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--gold-foil);
  display: block;
  margin-bottom: 8px;
}

.sb-buttons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.sb-btn {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 8px;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
}

.sb-btn:active {
  transform: scale(0.95);
  background: var(--gold-foil);
  color: #09080e;
}

/* Mobile Sticky Navigation Tabs */
.mobile-floating-tab-bar {
  position: fixed;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(18, 16, 22, 0.94);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 215, 0, 0.4);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7);
  border-radius: 30px;
  padding: 5px;
  display: flex;
  gap: 6px;
  z-index: 1000;
  max-width: 95vw;
}

.m-floating-tab {
  background: transparent;
  border: none;
  color: rgba(251, 247, 238, 0.75);
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
}

.m-floating-tab.active {
  background: var(--gold-gradient);
  color: #09080e;
  box-shadow: 0 2px 10px rgba(255, 215, 0, 0.5);
}

.m-profile-tab {
  border: 1px solid rgba(255, 215, 0, 0.25);
  background: rgba(255, 255, 255, 0.05);
}

.m-whatsapp-tab {
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.4);
}

@media (max-width: 480px) {
  .mobile-floating-tab-bar {
    gap: 4px;
    padding: 4px 6px;
    bottom: 8px;
    width: 96vw;
    justify-content: space-around;
  }
  .m-floating-tab {
    padding: 6px 8px;
    font-size: 0.72rem;
    gap: 2px;
  }
}

/* Mobile Secret Role Peek Drawer (Positioned discretely at top-right, NEVER blocking suspect cards) */
.mobile-role-floating-drawer {
  position: fixed;
  top: 54px;
  right: 10px;
  z-index: 990;
}

.role-drawer-pill {
  background: rgba(22, 17, 32, 0.94);
  border: 1px solid var(--gold-foil);
  color: #fff;
  padding: 5px 12px;
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.7), 0 0 10px rgba(255, 215, 0, 0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  backdrop-filter: blur(10px);
  animation: pulseGlow 3s infinite ease-in-out;
}

.role-drawer-icon {
  font-size: 0.95rem;
}

.role-drawer-eye {
  font-size: 0.85rem;
}

.speech-replay-btn {
  background: rgba(255, 215, 0, 0.15);
  border: 1px solid var(--gold-foil);
  color: #ffd700;
  border-radius: 8px;
  padding: 2px 8px;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 4px;
  display: inline-block;
  transition: all 0.15s;
}

.speech-replay-btn:active {
  transform: scale(0.95);
  background: var(--gold-foil);
  color: #09080e;
}

.active-mode-btn {
  background: var(--gold-foil) !important;
  color: #09080e !important;
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.6) !important;
}

/* TV / Laptop Big Screen Spectator Mode */
body.tv-spectator-mode .arcade-header {
  background: linear-gradient(180deg, rgba(20, 14, 30, 0.98), rgba(10, 7, 16, 0.95));
  border-bottom: 2px solid var(--gold-foil);
  padding: 18px 32px;
}

body.tv-spectator-mode #multi-device-hud {
  display: none !important;
}

body.tv-spectator-mode .mobile-role-floating-drawer,
body.tv-spectator-mode .mobile-floating-tab-bar {
  display: none !important;
}

body.tv-spectator-mode .rm-stage {
  max-width: 1080px;
  margin: 0 auto;
}

body.tv-spectator-mode .tv-court-screen {
  padding: 40px 20px;
}

/* ========================================================
   Mobile Viewport Refinements (Zero Clutter, Sophisticated Luxury)
   ======================================================== */
@media (max-width: 768px) {
  .hide-mobile {
    display: none !important;
  }

  #app-container {
    padding-bottom: 95px !important;
  }

  /* Compact Sleek Top Header (Takes only ~48px height) */
  .arcade-header {
    padding: 6px 12px !important;
    min-height: 48px !important;
  }

  .brand-mascot {
    font-size: 1.4rem !important;
  }

  .brand-text h1 {
    font-size: 1.15rem !important;
    letter-spacing: 0.5px !important;
  }

  .brand-text p {
    display: none !important;
  }

  .header-actions {
    gap: 6px !important;
  }

  .action-icon-btn {
    padding: 4px 8px !important;
    font-size: 0.8rem !important;
    border-radius: 8px !important;
  }

  .toffee-counter {
    padding: 3px 8px !important;
    font-size: 0.8rem !important;
  }

  /* Streamlined Single-Line HUD */
  #multi-device-hud {
    padding: 4px 10px !important;
    font-size: 0.75rem !important;
    min-height: 32px !important;
  }

  .hud-center-players {
    max-width: 55% !important;
    gap: 4px !important;
  }

  .hud-player-chip {
    padding: 1px 6px !important;
    font-size: 0.7rem !important;
  }

  .hud-action-btn {
    padding: 2px 6px !important;
    font-size: 0.72rem !important;
  }

  /* Game Arena Spacing & Scoreboard */
  #game-arena-view {
    padding-bottom: 95px !important;
  }

  .game-header-bar {
    padding: 6px 10px !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
  }

  .game-title-badge h2 {
    font-size: 1.05rem !important;
  }

  .rm-mode-selector-strip {
    gap: 4px !important;
  }

  .mode-pill-btn {
    padding: 4px 8px !important;
    font-size: 0.72rem !important;
  }

  /* Compact 4-Column Player Scoreboard */
  .rm-scoreboard {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 6px !important;
    padding: 6px 8px !important;
    margin-bottom: 10px !important;
  }

  .rm-scoreboard.mega-scoreboard {
    grid-template-columns: repeat(4, 1fr) !important;
  }

  .rm-player-card {
    padding: 6px 4px !important;
    border-radius: 12px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  .player-photo-img,
  .player-avatar-fallback {
    width: 34px !important;
    height: 34px !important;
    font-size: 1.35rem !important;
  }

  .player-name {
    font-size: 0.72rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 65px !important;
  }

  .player-score {
    font-size: 0.7rem !important;
    font-weight: 800 !important;
    color: var(--gold-foil) !important;
  }

  .live-role-pill {
    font-size: 0.65rem !important;
    padding: 1px 4px !important;
  }

  /* Court Dialogue Box */
  .court-dialogue-box {
    padding: 10px !important;
    gap: 8px !important;
  }

  .speech-bubble {
    padding: 8px 10px !important;
  }

  .speech-bubble p {
    font-size: 0.88rem !important;
  }

  /* 2-Column Responsive Suspect Cards */
  .suspects-row {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    width: 100% !important;
    margin-top: 10px !important;
  }

  .suspect-card {
    padding: 10px !important;
    border-radius: 14px !important;
  }

  .suspect-big-photo {
    width: 54px !important;
    height: 54px !important;
  }

  .accuse-btn {
    padding: 8px !important;
    font-size: 0.8rem !important;
    width: 100% !important;
  }

  .wager-btn {
    font-size: 0.75rem !important;
    padding: 6px 8px !important;
  }

  /* Saza Wheel Container */
  .saza-wheel-container {
    padding: 14px 10px !important;
    border-radius: 16px !important;
  }

  .wheel-box {
    width: 140px !important;
    height: 140px !important;
  }

  /* Round Breakdown Table */
  .round-breakdown-table {
    padding: 8px !important;
  }

  .round-res-row {
    padding: 6px 8px !important;
    font-size: 0.82rem !important;
  }
}

/* ========================================================
   12. Host Lobby Admission & Participant Control Styles
   ======================================================== */
.hud-kick-mini-btn {
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid #ef4444;
  color: #ef4444;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 0.65rem;
  font-weight: 900;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
  transition: all 0.15s;
}

.hud-kick-mini-btn:hover {
  background: #ef4444;
  color: #fff;
  transform: scale(1.15);
}

.hud-transfer-mini-btn {
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid #f59e0b;
  color: #f59e0b;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 0.65rem;
  font-weight: 900;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
  transition: all 0.15s;
}

.hud-transfer-mini-btn:hover {
  background: #f59e0b;
  color: #1a1624;
  transform: scale(1.15);
}

.transfer-host-btn {
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid #f59e0b;
  color: #f59e0b;
  border-radius: 8px;
  padding: 3px 8px;
  font-size: 0.75rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s;
}

.transfer-host-btn:hover {
  background: #f59e0b;
  color: #1a1624;
}

.role-selector-toggle {
  display: flex;
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  padding: 4px;
  border-radius: 14px;
  margin-bottom: 8px;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.role-toggle-btn {
  flex: 1;
  padding: 8px 12px;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: rgba(251, 247, 238, 0.75);
  font-weight: 800;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s;
}

.role-toggle-btn.active {
  background: var(--gold-foil);
  color: #1a1624;
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
}

.host-lobby-panel {
  background: rgba(18, 14, 28, 0.95);
  border-bottom: 1px solid rgba(255, 215, 0, 0.25);
  padding: 10px 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  z-index: 100;
}

.pending-requests-card {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid #f59e0b;
  border-radius: 14px;
  padding: 10px 14px;
  margin-bottom: 8px;
}

.pending-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: #f59e0b;
}

.pending-list-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pending-user-chip {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 4px 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
}

.admit-btn {
  background: #10b981;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 3px 8px;
  font-size: 0.75rem;
  font-weight: 800;
  cursor: pointer;
}

.reject-btn {
  background: rgba(239, 68, 68, 0.25);
  border: 1px solid #ef4444;
  color: #ef4444;
  border-radius: 8px;
  padding: 3px 8px;
  font-size: 0.75rem;
  font-weight: 800;
  cursor: pointer;
}

.admit-all-btn {
  background: #10b981;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 4px 12px;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
}

.host-setup-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 14px;
  padding: 10px 14px;
}

.host-setup-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.host-setup-col {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.lobby-mode-btns {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.l-mode-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 215, 0, 0.3);
  color: #fff;
  border-radius: 10px;
  padding: 4px 10px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.l-mode-btn.active {
  background: var(--gold-foil);
  color: #09080e;
  font-weight: 800;
}

.lobby-count-sel {
  background: #181522;
  color: var(--gold-foil);
  border: 1px solid var(--gold-foil);
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 0.8rem;
  font-weight: 800;
  outline: none;
  cursor: pointer;
}

.missing-alert-box {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid #ef4444;
  border-radius: 12px;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.missing-actions {
  display: flex;
  gap: 6px;
}

.lobby-action-btn {
  border: none;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
}

.btn-ai-fill {
  background: #3b82f6;
  color: #fff;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
}

.btn-shrink {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
}

.ready-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #10b981;
  font-weight: 800;
}

/* ========================================================
   12. Social Status, App Install, Network Troubleshooter & Toast
   ======================================================== */

/* Toast Notification */
.adda-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #1b122c;
  color: var(--gold-foil);
  border: 1px solid var(--gold-foil);
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.8), 0 0 20px rgba(255, 215, 0, 0.3);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.adda-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* Social Status Modal */
.status-tabs-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 16px;
  scrollbar-width: none;
}
.status-tabs-row::-webkit-scrollbar {
  display: none;
}

.status-tab-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s;
}

.status-tab-btn.active {
  background: rgba(255, 215, 0, 0.2);
  border-color: var(--gold-foil);
  color: var(--gold-foil);
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.25);
}

.status-preview-box {
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 215, 0, 0.35);
  border-radius: 16px;
  padding: 16px;
  text-align: left;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #fbf7ee;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 240px;
  overflow-y: auto;
  margin-bottom: 16px;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.5);
}

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

.status-btn-wa {
  background: #25d366;
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.status-btn-share {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(253, 29, 29, 0.35);
}

.status-btn-copy {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  padding: 12px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* Install App Guide Modal */
.install-app-header {
  text-align: center;
  margin-bottom: 20px;
}

.install-app-logo {
  font-size: 3.5rem;
  line-height: 1;
  margin-bottom: 6px;
}

.install-brand-pill {
  display: inline-block;
  background: rgba(255, 215, 0, 0.15);
  border: 1px solid var(--gold-foil);
  color: var(--gold-foil);
  padding: 4px 14px;
  border-radius: 20px;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.install-guides-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  margin-bottom: 20px;
}

.install-step-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.install-step-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.install-step-text h4 {
  margin: 0 0 4px 0;
  color: var(--gold-foil);
  font-size: 1rem;
}

.install-step-text p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(251, 247, 238, 0.8);
  line-height: 1.4;
}

.pwa-one-click-btn {
  background: linear-gradient(135deg, #ffd700, #ff8800);
  color: #0b0813;
  border: none;
  padding: 14px 20px;
  border-radius: 16px;
  font-weight: 900;
  font-size: 1.05rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-bottom: 16px;
  box-shadow: 0 6px 20px rgba(255, 170, 0, 0.4);
}

.pwa-brand-notice {
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.35);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 0.8rem;
  color: rgba(251, 247, 238, 0.85);
  line-height: 1.4;
  margin-top: 10px;
}

/* Network Troubleshooter Accordion in QR Modal */
.network-trouble-card {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: 14px;
  padding: 12px 14px;
  text-align: left;
  margin-top: 14px;
  font-size: 0.85rem;
}

.network-trouble-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 800;
  color: #f87171;
}

.network-trouble-body {
  margin-top: 10px;
  color: rgba(251, 247, 238, 0.85);
  line-height: 1.45;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 8px;
}

.network-trouble-body ol {
  margin: 6px 0;
  padding-left: 20px;
}

.hotspot-highlight-badge {
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid #10b981;
  color: #10b981;
  padding: 4px 8px;
  border-radius: 8px;
  font-weight: 800;
  display: inline-block;
  margin-top: 6px;
}

/* ========================================================
   ULTRA-PREMIUM CHOR CAUGHT, SAZA WHEEL & ROYAL DECREE UX
   ======================================================== */

@keyframes sirenPulse {
  0% { transform: scale(1); filter: drop-shadow(0 0 10px rgba(239, 68, 68, 0.7)); }
  50% { transform: scale(1.08); filter: drop-shadow(0 0 25px rgba(255, 68, 68, 1)); }
  100% { transform: scale(1); filter: drop-shadow(0 0 10px rgba(239, 68, 68, 0.7)); }
}

@keyframes dramaticArrestPulse {
  0% { box-shadow: 0 0 20px rgba(239, 68, 68, 0.35); border-color: rgba(239, 68, 68, 0.6); }
  50% { box-shadow: 0 0 45px rgba(239, 68, 68, 0.85); border-color: rgba(255, 100, 100, 1); }
  100% { box-shadow: 0 0 20px rgba(239, 68, 68, 0.35); border-color: rgba(239, 68, 68, 0.6); }
}

.police-siren-animation {
  animation: sirenPulse 1.2s infinite ease-in-out;
  display: inline-block;
}

.dramatic-arrest-pulse {
  animation: dramaticArrestPulse 2s infinite ease-in-out;
}

.spinning-disc {
  animation: spinWheel 2.4s cubic-bezier(0.12, 0.8, 0.33, 1) forwards !important;
}

/* Stage 1: Chor Caught Screen */
.chor-caught-arena {
  max-width: 620px;
  margin: 0 auto;
}

.chor-warrant-card {
  background: radial-gradient(circle at center, #2e0808, #110202);
  border: 2px solid #ef4444;
  border-radius: 24px;
  padding: 30px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.warrant-title {
  color: #ff4444;
  font-size: 2.2rem;
  font-weight: 900;
  margin: 8px 0 4px;
  text-shadow: 0 0 20px rgba(255, 68, 68, 0.7);
  letter-spacing: 1px;
}

.warrant-subtitle {
  color: var(--gold-foil);
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 0 20px;
}

.warrant-mugshot-frame {
  position: relative;
  width: 130px;
  height: 130px;
  margin: 0 auto 18px;
  border-radius: 20px;
  overflow: hidden;
  border: 4px solid #ef4444;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.85);
}

.warrant-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mugshot-bars {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.08) 8px,
    transparent 8px,
    transparent 22px
  );
  pointer-events: none;
}

.warrant-details {
  max-width: 440px;
  margin: 0 auto;
}

.warrant-text {
  color: rgba(251, 247, 238, 0.9);
  font-size: 1.05rem;
  line-height: 1.5;
  margin-bottom: 14px;
}

.warrant-verdict-pending {
  background: rgba(255, 215, 0, 0.12);
  border: 1px solid rgba(255, 215, 0, 0.35);
  border-radius: 14px;
  padding: 12px 18px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--gold-foil);
}

/* Public Spotlight Card (for Raja, Wazir, Sipahi) */
.chor-caught-public-card {
  background: radial-gradient(circle at center, rgba(255, 215, 0, 0.14), rgba(18, 16, 22, 0.95));
  border: 2px solid var(--gold-foil);
  border-radius: 24px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 0 35px rgba(255, 215, 0, 0.25);
}

.caught-banner {
  margin-bottom: 18px;
}

.caught-badge {
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid #ef4444;
  color: #fca5a5;
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 800;
  display: inline-block;
  margin-bottom: 10px;
}

.caught-banner h2 {
  color: var(--gold-foil);
  font-size: 1.6rem;
  margin: 4px 0 0;
  font-weight: 800;
}

.caught-thief-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 16px 0;
}

.thief-photo-wrap {
  position: relative;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #ef4444;
  box-shadow: 0 4px 20px rgba(239, 68, 68, 0.4);
}

.caught-thief-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.handcuffs-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  background: #111;
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 1.1rem;
  border: 1px solid #ef4444;
}

.caught-thief-profile h3 {
  margin: 4px 0 0;
  font-size: 1.3rem;
  color: #fff;
  font-weight: 800;
}

.thief-crime-pill {
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid #ef4444;
  color: #f87171;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: 14px;
}

.caught-explainer {
  color: rgba(251, 247, 238, 0.85);
  font-size: 1rem;
  line-height: 1.5;
  margin: 12px 0 20px;
}

.raja-action-box {
  margin-top: 14px;
}

.waiting-raja-badge {
  background: rgba(255, 215, 0, 0.12);
  border: 1px solid rgba(255, 215, 0, 0.35);
  border-radius: 14px;
  padding: 12px 18px;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--gold-foil);
  display: inline-block;
}

/* Stage 2: Saza Wheel Arena */
.saza-wheel-arena {
  max-width: 520px;
  margin: 0 auto;
}

.wheel-stage-header {
  text-align: center;
  margin-bottom: 14px;
}

.royal-emblem {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 4px;
}

.wheel-stage-header h2 {
  color: var(--gold-foil);
  font-size: 1.55rem;
  margin: 0 0 6px;
  font-weight: 800;
}

.wheel-subtitle {
  color: rgba(251, 247, 238, 0.85);
  font-size: 0.95rem;
  margin: 0;
}

.wheel-hub {
  position: absolute;
  width: 44px;
  height: 44px;
  background: radial-gradient(circle at center, #ffd700, #bfa36c);
  border-radius: 50%;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.wheel-spectator-note {
  text-align: center;
  color: rgba(251, 247, 238, 0.8);
  font-size: 0.9rem;
  margin-top: 12px;
}

.font-lg-btn {
  font-size: 1.1rem !important;
  padding: 14px 28px !important;
}

.rm-header-reset-btn {
  background: rgba(255, 215, 0, 0.1) !important;
  border: 1px solid var(--gold-foil) !important;
  color: #ffd700 !important;
  font-weight: 800 !important;
  cursor: pointer;
  transition: all 0.2s ease;
}

.rm-header-reset-btn:hover {
  background: rgba(255, 215, 0, 0.25) !important;
  transform: scale(1.04);
}

/* ========================================================
   Member Join Request Interactive Popup Modal
   ======================================================== */
.join-request-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: fadeIn 0.2s ease-out;
}

.join-request-dialog {
  background: linear-gradient(145deg, #181329 0%, #0d0a17 100%);
  border: 2px solid var(--gold-foil);
  box-shadow: 0 0 35px rgba(255, 215, 0, 0.4), 0 20px 50px rgba(0, 0, 0, 0.9);
  border-radius: 24px;
  width: 100%;
  max-width: 440px;
  padding: 24px 20px;
  text-align: center;
  position: relative;
  box-sizing: border-box;
}

.join-request-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 215, 0, 0.15);
  border: 1px solid var(--gold-foil);
  color: var(--gold-foil);
  font-weight: 800;
  font-size: 0.9rem;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.bell-ring-icon {
  font-size: 1.25rem;
  display: inline-block;
  animation: bellToll 1s infinite ease-in-out;
}

@keyframes bellToll {
  0%, 100% { transform: rotate(0deg); }
  20%, 60% { transform: rotate(18deg); }
  40%, 80% { transform: rotate(-18deg); }
}

.join-request-heading {
  font-size: 1.15rem;
  color: #fff;
  margin: 0 0 16px 0;
  font-weight: 800;
}

.join-request-cards-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 280px;
  overflow-y: auto;
  margin-bottom: 14px;
}

.join-applicant-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 16px;
  padding: 12px 14px;
  text-align: left;
}

.applicant-photo-box {
  position: relative;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}

.applicant-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold-foil);
}

.applicant-emoji {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(255, 215, 0, 0.15);
  border: 2px solid var(--gold-foil);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.device-type-tag {
  position: absolute;
  bottom: -2px;
  right: -2px;
  font-size: 0.75rem;
  background: #000;
  border-radius: 50%;
  padding: 1px;
}

.applicant-meta {
  flex: 1;
  min-width: 0;
}

.applicant-name {
  display: block;
  font-size: 1.05rem;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.applicant-sub {
  font-size: 0.78rem;
  color: rgba(251, 247, 238, 0.75);
}

.applicant-btn-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-shrink: 0;
}

.applicant-approve-btn {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  border: 1px solid #34d399;
  border-radius: 12px;
  padding: 7px 14px;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s;
}

.applicant-approve-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.5);
}

.applicant-decline-btn {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.4);
  border-radius: 12px;
  padding: 5px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.applicant-decline-btn:hover {
  background: rgba(239, 68, 68, 0.3);
}

.admit-all-giant-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--gold-foil) 0%, #b38f00 100%);
  color: #09080e;
  border: none;
  border-radius: 14px;
  padding: 11px;
  font-size: 0.95rem;
  font-weight: 900;
  cursor: pointer;
  margin-bottom: 10px;
}

.join-dismiss-link {
  background: none;
  border: none;
  color: rgba(251, 247, 238, 0.6);
  font-size: 0.82rem;
  cursor: pointer;
  padding: 6px;
}

.join-dismiss-link:hover {
  color: #fff;
}

/* ========================================================
   LIVE FLOATING REACTIONS & HOOTING BUBBLES
   ======================================================== */
.floating-reactions-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999999;
  overflow: hidden;
}

.floating-reaction-bubble {
  position: absolute;
  bottom: 80px;
  transform: translateX(-50%);
  animation: floatUpReaction 2.8s cubic-bezier(0.2, 0.8, 0.3, 1) forwards;
  pointer-events: none;
}

.rx-bubble-inner {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: rgba(18, 14, 30, 0.94);
  border: 2px solid var(--gold-foil);
  box-shadow: 0 10px 35px rgba(255, 215, 0, 0.45), 0 0 18px rgba(245, 158, 11, 0.35);
  border-radius: 24px;
  padding: 8px 16px;
  backdrop-filter: blur(10px);
  text-align: center;
}

.rx-bubble-emoji {
  font-size: 2.5rem;
  line-height: 1;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.6));
}

.rx-bubble-text {
  font-size: 0.85rem;
  font-weight: 900;
  color: #ffd700;
  margin-top: 4px;
  white-space: nowrap;
}

.rx-bubble-name {
  font-size: 0.72rem;
  color: rgba(251, 247, 238, 0.8);
  margin-top: 2px;
}

@keyframes floatUpReaction {
  0% {
    opacity: 0;
    transform: translate(-50%, 40px) scale(0.6);
  }
  15% {
    opacity: 1;
    transform: translate(-50%, 0) scale(1.15);
  }
  30% {
    transform: translate(-50%, -20px) scale(1);
  }
  80% {
    opacity: 0.95;
    transform: translate(-50%, -180px) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -260px) scale(0.8);
  }
}

/* Desktop Reactions Popover */
.desktop-reactions-popover {
  position: fixed;
  top: 75px;
  right: 20px;
  width: 300px;
  background: #141120;
  border: 2px solid var(--gold-foil);
  box-shadow: 0 12px 45px rgba(0,0,0,0.9), 0 0 25px rgba(255,215,0,0.3);
  border-radius: 20px;
  padding: 14px;
  z-index: 10000;
}

.desktop-reactions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.desk-rx-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 215, 0, 0.25);
  color: #fff;
  border-radius: 12px;
  padding: 9px 10px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  transition: all 0.15s ease;
}

.desk-rx-btn:hover {
  background: rgba(255, 215, 0, 0.2);
  border-color: var(--gold-foil);
  transform: translateY(-2px);
}

/* Mobile Live Reaction Soundboard Strip */
.m-reaction-soundboard-bar {
  width: 100%;
  margin-top: 14px;
  padding: 10px 12px;
  background: rgba(20, 16, 32, 0.9);
  border: 1px solid rgba(255, 215, 0, 0.35);
  border-radius: 16px;
  backdrop-filter: blur(8px);
  text-align: left;
}

.m-rx-header {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--gold-foil);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.m-rx-scroll-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.m-rx-btn {
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 215, 0, 0.35);
  color: #fff;
  border-radius: 20px;
  padding: 6px 12px;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: transform 0.1s;
}

.m-rx-btn:active {
  transform: scale(0.92);
  background: rgba(255, 215, 0, 0.28);
}

/* Live 30-Second Saza Countdown */
.saza-countdown-display {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 3px solid #ff0055;
  background: rgba(255, 0, 85, 0.15);
  box-shadow: 0 0 25px rgba(255, 0, 85, 0.45);
  font-size: 1.9rem;
  font-weight: 900;
  color: #ff0055;
  margin: 10px auto;
  font-family: monospace;
}

/* Zero Kaata Mobile 3x3 Grid */
.zk-mobile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  width: 250px;
  height: 250px;
  margin: 10px auto;
}

.zk-mobile-grid.grid-4x4 {
  grid-template-columns: repeat(4, 1fr) !important;
  width: 270px;
  height: 270px;
  gap: 6px;
}
.zk-mobile-grid.grid-4x4 .zk-mobile-cell {
  font-size: 2.1rem;
  border-radius: 10px;
}

.zk-mobile-grid.grid-5x5 {
  grid-template-columns: repeat(5, 1fr) !important;
  width: 290px;
  height: 290px;
  gap: 5px;
}
.zk-mobile-grid.grid-5x5 .zk-mobile-cell {
  font-size: 1.6rem;
  border-radius: 8px;
}

.zk-mobile-cell {
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 215, 0, 0.4);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  font-weight: 900;
  cursor: pointer;
  color: #fff;
  transition: all 0.15s;
}

.zk-mobile-cell:active {
  transform: scale(0.95);
  background: rgba(255, 215, 0, 0.2);
}

.zk-mobile-cell.cell-x {
  color: #ef4444;
  text-shadow: 0 0 10px rgba(239, 68, 68, 0.6);
}

.zk-mobile-cell.cell-o {
  color: #3b82f6;
  text-shadow: 0 0 10px rgba(59, 130, 246, 0.6);
}

.zk-mobile-cell.winning-cell {
  background: rgba(16, 185, 129, 0.3);
  border-color: #10b981;
  animation: pulseGold 1s infinite alternate;
}

/* Trump Cards Mobile Handheld Card */
.tc-mobile-card {
  width: 260px;
  border-radius: 18px;
  overflow: hidden;
  border: 3px solid var(--gold-foil);
  box-shadow: 0 10px 30px rgba(0,0,0,0.8), 0 0 20px rgba(255,215,0,0.3);
  background: #181522;
  margin: 8px auto;
  text-align: center;
}

.tc-mobile-card-header {
  padding: 10px 12px;
  color: #fff;
}

.tc-mobile-stats-list {
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(0, 0, 0, 0.4);
}

.tc-mobile-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 215, 0, 0.25);
  border-radius: 10px;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.12s ease;
}

.tc-mobile-stat-row:hover, .tc-mobile-stat-row:active {
  background: rgba(255, 215, 0, 0.25);
  border-color: var(--gold-foil);
  transform: translateX(3px);
}

/* ========================================================
   Poster Social Share Modal & Character Posters
   ======================================================== */
.poster-share-modal-window {
  background: radial-gradient(circle at 50% 20%, #221a2c 0%, #110d18 100%);
  border: 2px solid var(--gold-foil);
  border-radius: 24px;
  max-width: 520px;
  width: 95%;
  padding: 22px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.85), 0 0 35px rgba(255, 215, 0, 0.35);
  text-align: center;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.poster-modal-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 215, 0, 0.25);
}

.poster-modal-title {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--gold-foil);
  letter-spacing: 0.5px;
}

.poster-preview-container {
  display: flex;
  justify-content: center;
  margin: 10px 0 16px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 16px;
  padding: 12px;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.poster-preview-img {
  max-width: 100%;
  max-height: 360px;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.65);
}

.poster-share-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.poster-act-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 14px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  border: none;
  transition: all 0.15s ease;
  color: #fff;
}

.poster-act-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.12);
}

.poster-act-btn.btn-download {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  grid-column: span 2;
  font-size: 1rem;
  padding: 13px;
  box-shadow: 0 4px 15px rgba(217, 119, 6, 0.4);
}

.poster-act-btn.btn-whatsapp {
  background: #25D366;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.poster-act-btn.btn-instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  box-shadow: 0 4px 12px rgba(220, 39, 67, 0.3);
}

.poster-act-btn.btn-facebook {
  background: #1877F2;
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
}

.poster-act-btn.btn-copy {
  background: #0284c7;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

.poster-act-btn.btn-system {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  grid-column: span 2;
}

/* Saza Completion Next Round Popup Modal */
.saza-completed-modal-window {
  background: radial-gradient(circle at 50% 20%, #2d1810 0%, #150a06 100%);
  border: 2px solid #10b981;
  border-radius: 24px;
  max-width: 480px;
  width: 92%;
  padding: 26px 22px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.9), 0 0 40px rgba(16, 185, 129, 0.35);
  text-align: center;
  animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.saza-completed-icon {
  font-size: 3.5rem;
  margin-bottom: 8px;
  animation: bounceSoft 1s infinite alternate;
}

.saza-completed-title {
  font-size: 1.45rem;
  font-weight: 900;
  color: #10b981;
  text-shadow: 0 0 15px rgba(16, 185, 129, 0.5);
  margin: 4px 0 8px;
}

.saza-completed-desc {
  font-size: 0.95rem;
  color: #fbf7ee;
  line-height: 1.5;
  margin: 0 0 18px;
}

.saza-completed-countdown {
  font-size: 0.85rem;
  color: var(--gold-foil);
  margin-top: 10px;
  font-weight: 700;
}

/* ========================================================
   Audio & Dialogue Sound Studio Sampler Modal
   ======================================================== */
.sampler-modal-window {
  background: radial-gradient(circle at 50% 15%, #2a152e 0%, #130a17 100%);
  border: 2px solid var(--gold-foil);
  border-radius: 24px;
  max-width: 680px;
  width: 95%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 24px 20px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95), 0 0 45px rgba(255, 0, 127, 0.25);
  animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.sampler-header {
  text-align: center;
  margin-bottom: 18px;
}

.sampler-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 0, 127, 0.18);
  border: 1px solid #ff007f;
  color: #ff69b4;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.sampler-title {
  color: var(--gold-foil);
  font-size: 1.45rem;
  font-weight: 900;
  margin: 4px 0 6px;
}

.sampler-subtitle {
  color: rgba(251, 247, 238, 0.75);
  font-size: 0.86rem;
  max-width: 520px;
  margin: 0 auto;
}

.sampler-now-playing {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 14px;
  padding: 10px 14px;
  margin: 12px 0 18px;
  font-size: 0.88rem;
  color: #a7f3d0;
}

.sampler-wave-bars {
  display: inline-flex;
  gap: 3px;
  align-items: flex-end;
  height: 16px;
}

.sampler-wave-bar {
  width: 3px;
  background: #10b981;
  border-radius: 2px;
  height: 4px;
}

.sampler-wave-bars.active .sampler-wave-bar {
  animation: wavePulse 0.5s infinite alternate ease-in-out;
}
.sampler-wave-bars.active .sampler-wave-bar:nth-child(2) { animation-delay: 0.1s; }
.sampler-wave-bars.active .sampler-wave-bar:nth-child(3) { animation-delay: 0.2s; }
.sampler-wave-bars.active .sampler-wave-bar:nth-child(4) { animation-delay: 0.3s; }
.sampler-wave-bars.active .sampler-wave-bar:nth-child(5) { animation-delay: 0.15s; }

@keyframes wavePulse {
  0% { height: 4px; }
  100% { height: 16px; }
}

.sampler-section-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--gold-foil);
  margin: 14px 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sampler-sfx-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(115px, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}

.sampler-sfx-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.25);
  border-radius: 14px;
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #fff;
}
.sampler-sfx-card:hover {
  background: rgba(255, 215, 0, 0.15);
  border-color: var(--gold-foil);
  transform: translateY(-2px);
}
.sampler-sfx-card:active {
  transform: scale(0.96);
}
.sampler-sfx-icon {
  font-size: 1.8rem;
}
.sampler-sfx-name {
  font-size: 0.82rem;
  font-weight: 800;
  text-align: center;
}
.sampler-sfx-tag {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}

.sampler-dialogue-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sampler-dialogue-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.sampler-dialogue-info {
  flex: 1;
  min-width: 220px;
}
.sampler-char-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffd700;
  display: flex;
  align-items: center;
  gap: 6px;
}
.sampler-dialogue-quote {
  font-size: 0.84rem;
  color: rgba(251, 247, 238, 0.85);
  font-style: italic;
  margin-top: 3px;
}

.sampler-dialogue-buttons {
  display: flex;
  gap: 8px;
}

.sampler-voice-btn {
  padding: 8px 14px;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}
.sampler-voice-btn.male {
  background: rgba(59, 130, 246, 0.2);
  border-color: #3b82f6;
  color: #93c5fd;
}
.sampler-voice-btn.male:hover {
  background: rgba(59, 130, 246, 0.35);
  transform: translateY(-1px);
}
.sampler-voice-btn.female {
  background: rgba(236, 72, 153, 0.2);
  border-color: #ec4899;
  color: #fbcfe8;
}
.sampler-voice-btn.female:hover {
  background: rgba(236, 72, 153, 0.35);
  transform: translateY(-1px);
}
.sampler-voice-btn:active {
  transform: scale(0.95);
}

/* Voice Source Mode Toggle (Neural AI vs Personal Voice DNA) */
.voice-source-selector {
  display: flex;
  background: rgba(0, 0, 0, 0.45);
  border: 1.5px solid rgba(255, 215, 0, 0.35);
  border-radius: 16px;
  padding: 4px;
  gap: 4px;
  margin: 10px auto;
  max-width: 440px;
}

.voice-source-btn {
  flex: 1;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  color: rgba(251, 247, 238, 0.7);
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.voice-source-btn:hover {
  color: #fff;
}

.voice-source-btn.active {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.25), rgba(255, 0, 127, 0.2));
  border-color: var(--gold-foil);
  color: #ffd700;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}






