/* LotoRadar Lounge — homepage community widget
 * Cyber/baroque · #00FFC8 cyan · #ffd700 gold · Orbitron + Share Tech Mono
 * Phase 1 (Foundation): chat preview + rare cards feed, click → opens floating chat-widget
 */

.lr-lounge {
  margin: 32px auto 24px;
  max-width: 1500px;        /* aliniat cu hero-trio (MAGAZIN) de deasupra — același rând/lățime */
  padding: 0 20px;
  font-family: 'Rajdhani', sans-serif;
}

.lr-lounge-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 14px;
}
.lr-lounge-head-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.lr-lounge-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00FFC8;
  box-shadow: 0 0 8px #00FFC8, 0 0 16px rgba(0, 255, 200, 0.4);
  animation: lrl-pulse 1.6s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes lrl-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.55; transform: scale(0.8); }
}
.lr-lounge-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #fff;
  margin: 0;
  text-transform: uppercase;
}
.lr-lounge-online {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.75rem;
  color: #00FFC8;
  background: rgba(0, 255, 200, 0.06);
  border: 1px solid rgba(0, 255, 200, 0.18);
  padding: 2px 10px;
  border-radius: 12px;
  letter-spacing: 0.05em;
}
.lr-lounge-mute {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.7);
  width: 28px;
  height: 26px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: border-color 0.18s, background 0.18s, color 0.18s;
}
.lr-lounge-mute:hover {
  border-color: rgba(0, 255, 200, 0.5);
  background: rgba(0, 255, 200, 0.08);
  color: #00FFC8;
}
.lr-lounge-mute[aria-pressed="true"] {
  color: rgba(255, 255, 255, 0.32);
  border-color: rgba(255, 255, 255, 0.07);
}
.lr-lounge-mute[aria-pressed="true"] .lr-lounge-mute-icon::before { content: ''; }
.lr-lounge-sub {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.02em;
}

.lr-lounge-grid {
  display: grid;
  /* Chat îngust (340px) + carduri rare ocupă restul → mai mult loc cardurilor, chat-ul
     nu mai concurează vizual cu „carduri rare azi". Stack pe mobil <768px (vezi media). */
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;   /* chat-ul se întinde la aceeași înălțime ca „carduri rare azi" */
}
.lr-lounge-col {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 14px 16px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

/* Chat preview — clickable button */
button.lr-lounge-chat {
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  outline: none;
  width: 100%;
}
.lr-lounge-chat:hover,
.lr-lounge-chat:focus-visible {
  border-color: rgba(0, 255, 200, 0.4);
  box-shadow: 0 6px 24px rgba(0, 255, 200, 0.08);
  transform: translateY(-1px);
}
.lr-lounge-chat:focus-visible {
  outline: 2px solid rgba(0, 255, 200, 0.6);
  outline-offset: 2px;
}
.lr-lounge-cards:hover {
  border-color: rgba(255, 215, 0, 0.3);
  box-shadow: 0 6px 24px rgba(255, 215, 0, 0.06);
}

.lr-lounge-col-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  flex-wrap: wrap;
}
.lr-lounge-col-icon {
  font-size: 1.1rem;
  line-height: 1;
}
.lr-lounge-col-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #fff;
  flex: 1;
  text-transform: uppercase;
}
.lr-lounge-col-cta {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.7rem;
  color: #00FFC8;
  letter-spacing: 0.04em;
}
.lr-lounge-col-cta-mute {
  color: rgba(255, 215, 0, 0.7);
  font-size: 0.62rem;
}

/* Chat messages list */
.lr-lounge-msgs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-height: 0;          /* permite scroll intern când coloana e înaltă */
  overflow-y: auto;
}
.lr-lounge-msg {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.18);
  border-left: 2px solid rgba(0, 212, 255, 0.4);
  border-radius: 0 4px 4px 0;
  animation: lrl-fade-in 0.3s ease both;
}
.lr-lounge-msg-user {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.78rem;
  color: #00d4ff;
}
.lr-lounge-msg-avatar {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.25);
  object-fit: contain;
  padding: 1px;
  box-sizing: border-box;
  flex-shrink: 0;
}
.lr-lounge-msg-badge {
  font-size: 0.55rem;
  padding: 1px 5px;
  border-radius: 2px;
  color: #000;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.lr-lounge-msg-badge-elite { background: #ffd600; }
.lr-lounge-msg-badge-pro { background: #00d4ff; }
.lr-lounge-msg-badge-newcomer { background: rgba(255, 255, 255, 0.18); color: rgba(255, 255, 255, 0.6); }
.lr-lounge-msg-text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.35;
  word-break: break-word;
}
/* Emoji custom inline în preview-ul de chat (ca în chat-ul normal) */
.lr-lounge-emoji {
  display: inline-block;
  width: 1.15em;
  height: 1.15em;
  vertical-align: -0.22em;
  margin: 0 1px;
}
/* Eticheta unui card share-uit în preview (text-only) — gold, ușor evidențiat */
.lr-lounge-msg-text.lr-lounge-msg-card {
  display: inline-block;
  color: #ffd700;
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  background: rgba(255, 215, 0, 0.08);
  border: 1px solid rgba(255, 215, 0, 0.28);
  border-radius: 5px;
  padding: 2px 8px;
}
.lr-lounge-msg-time {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.25);
  margin-left: auto;
}

/* Empty state */
.lr-lounge-empty {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.3);
  text-align: center;
  padding: 30px 10px;
  font-style: italic;
}

/* Cards list — GRID of small covers, scroll vertical when many */
.lr-lounge-cards-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-height: 220px;
  /* F5b (2026-05-19): outer max-height eliminat — fiecare sub-section are propriul scroll independent.
     Outer crește la nevoie pentru a evita dublu-scroll (în special pe mobile când split-ul stachează). */
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 255, 200, 0.35) transparent;
}
.lr-lounge-cards-list::-webkit-scrollbar { width: 6px; }
.lr-lounge-cards-list::-webkit-scrollbar-thumb {
  background: rgba(0, 255, 200, 0.35);
  border-radius: 3px;
}

.lr-lounge-cards-count {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.65rem;
  color: rgba(0, 255, 200, 0.7);
  letter-spacing: 0.04em;
  margin-bottom: 4px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(0, 255, 200, 0.1);
}

.lr-lounge-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 8px;
  padding: 4px 2px;
}

/* ── F5b (2026-05-19): split rare cards into 2 side-by-side tables (GR Keno + CZ Keno) ── */
.lr-lounge-card-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 8px;
}
.lr-lounge-card-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.005));
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  padding: 8px 6px 10px;
}
.lr-lounge-card-section-head {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 4px 6px;
  border-bottom: 1px solid rgba(255, 215, 0, 0.12);
  margin-bottom: 7px;
}
.lr-lounge-card-section-flag {
  font-size: 0.9rem;
  line-height: 1;
}
.lr-lounge-card-section-name {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255, 215, 0, 0.85);
  text-transform: uppercase;
  flex: 1 1 auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lr-lounge-card-section-count {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.04);
  padding: 1px 6px;
  border-radius: 8px;
  flex-shrink: 0;
}
.lr-lounge-card-section .lr-lounge-card-grid {
  /* Fix 4 carduri pe rând (GR + CZ) — cerut explicit, covers mai mari, aspect curat */
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  padding: 0 2px 0 0;
  /* F5b (2026-05-19): per-section independent scroll când avem multe carduri.
     340px desktop, scalat mobile. Header rămâne vizibil în afara grid-ului scrollable. */
  max-height: 340px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 215, 0, 0.35) transparent;
}
.lr-lounge-card-section .lr-lounge-card-grid::-webkit-scrollbar { width: 5px; }
.lr-lounge-card-section .lr-lounge-card-grid::-webkit-scrollbar-track { background: transparent; }
.lr-lounge-card-section .lr-lounge-card-grid::-webkit-scrollbar-thumb {
  background: rgba(255, 215, 0, 0.3);
  border-radius: 3px;
}
.lr-lounge-card-section .lr-lounge-card-grid::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 215, 0, 0.5);
}
.lr-lounge-card-section .lr-lounge-card-cell .lr-lounge-cover {
  max-width: 90px;
}
.lr-lounge-card-section .lr-lounge-card-cell .lr-lounge-cover-meta {
  font-size: 0.48rem;
}
.lr-lounge-card-section .lr-lounge-card-cell .lr-lounge-cover-user {
  font-size: 0.46rem;
}
.lr-lounge-card-empty {
  padding: 16px 8px;
  text-align: center;
  color: rgba(255, 255, 255, 0.3);
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.6rem;
  font-style: italic;
}
.lr-lounge-card-section-other {
  margin-top: 8px;
}
/* Tablet medium — light scaling 600-900px */
@media (max-width: 900px) {
  .lr-lounge-card-section .lr-lounge-card-grid { max-height: 300px; }
}
/* Mobile narrow — stack sub-tables vertically, larger card covers, shorter per-section scroll */
@media (max-width: 600px) {
  .lr-lounge-card-split { grid-template-columns: 1fr; gap: 8px; }
  .lr-lounge-card-section .lr-lounge-card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    max-height: 260px;
  }
  .lr-lounge-card-section .lr-lounge-card-cell .lr-lounge-cover { max-width: 110px; }
  .lr-lounge-card-section .lr-lounge-card-cell .lr-lounge-cover-meta { font-size: 0.55rem; }
  .lr-lounge-card-section .lr-lounge-card-cell .lr-lounge-cover-user { font-size: 0.52rem; }
}
/* Mobile very narrow */
@media (max-width: 380px) {
  .lr-lounge-card-section .lr-lounge-card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-height: 240px;
  }
  .lr-lounge-card-section .lr-lounge-card-cell .lr-lounge-cover { max-width: 95px; }
}
.lr-lounge-card-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  min-width: 0;   /* permite celulei să se micșoreze în grid (fix overflow 4/rând pe mobil) */
  transition: transform 0.18s, filter 0.18s;
}
.lr-lounge-card-cell:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}
.lr-lounge-card-cell:focus-visible {
  outline: 2px solid rgba(0, 255, 200, 0.6);
  outline-offset: 3px;
  border-radius: 12px;
}
.lr-lounge-card-cell .lr-lounge-cover {
  width: 100%;
  max-width: 130px;
}
.lr-lounge-card-cell .lr-lounge-cover-foot {
  padding: 4px 6px 5px;
}
.lr-lounge-card-cell .lr-lounge-cover-meta {
  font-size: 0.55rem;
}
.lr-lounge-card-cell .lr-lounge-cover-user {
  font-size: 0.52rem;
}

/* ── Card cover — collection-cover image per tier (paritate cu celebration popup) ── */
.lr-lounge-cover {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  background: #0a0a14;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  --cover-color: #B9F2FF;
  --cover-glow: rgba(185, 242, 255, 0.55);
  border: 1.5px solid var(--cover-color);
  box-shadow: 0 0 12px var(--cover-glow), 0 6px 16px rgba(0, 0, 0, 0.45);
}
.lr-lounge-cover:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 22px var(--cover-glow), 0 10px 28px rgba(0, 0, 0, 0.6);
}

/* Tier color tints — paritate cu radar-burst.css + celebration */
.lr-lounge-cover-tier-DIAMOND   { --cover-color: #B9F2FF; --cover-glow: rgba(185, 242, 255, 0.55); }
.lr-lounge-cover-tier-OBSIDIAN  { --cover-color: #c3a3ff; --cover-glow: rgba(138, 77, 255, 0.55); }
.lr-lounge-cover-tier-LEGENDARY { --cover-color: #ffb070; --cover-glow: rgba(255, 115, 0, 0.55); }
.lr-lounge-cover-tier-MYTHIC    { --cover-color: #ff7ad0; --cover-glow: rgba(255, 0, 170, 0.6); }
.lr-lounge-cover-tier-CELESTIAL { --cover-color: #6ed3ff; --cover-glow: rgba(0, 191, 255, 0.6); }
.lr-lounge-cover-tier-GOD       { --cover-color: #ff7af0; --cover-glow: rgba(255, 0, 255, 0.7); }

.lr-lounge-cover-art {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 384 / 494;  /* match celebration cover natural ratio */
  overflow: hidden;
}
.lr-lounge-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.lr-lounge-cover-foot {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.92));
  padding: 6px 8px 7px;
  text-align: center;
  position: relative;
  z-index: 4;
  flex-shrink: 0;
}
.lr-lounge-cover-meta {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.66rem;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lr-lounge-cover-meta b {
  color: var(--cover-color);
  font-weight: 700;
  text-shadow: 0 0 4px var(--cover-glow);
}
.lr-lounge-cover-user {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lr-lounge-card-meta-bar {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.32);
  text-align: center;
  letter-spacing: 0.04em;
  padding-top: 2px;
}

/* Fallback when LRCardRenderer not loaded */
.lr-lounge-card-fallback {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  text-align: center;
}

/* Legacy compact card row — kept for ticker (.lr-lounge-card) styling reuse */
.lr-lounge-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-left-width: 3px;
  border-radius: 4px;
  cursor: default;
  transition: transform 0.2s, box-shadow 0.2s;
  animation: lrl-fade-in 0.4s ease both;
}
.lr-lounge-card:hover {
  transform: translateX(3px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}
.lr-lounge-card-tier {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  white-space: nowrap;
}
.lr-lounge-card-mid {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.lr-lounge-card-user {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lr-lounge-card-detail {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lr-lounge-card-detail b {
  color: #fff;
  font-weight: 600;
}
.lr-lounge-card-odds {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.7rem;
  color: rgba(255, 215, 0, 0.85);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

/* Tier color variants — border-left + tier label background.
 * Hipergeometric thresholds: DIAMOND ≤1e-4 → GOD ≤1e-12 */
.lr-lounge-card.tier-DIAMOND   { border-left-color: #B9F2FF; }
.lr-lounge-card.tier-DIAMOND   .lr-lounge-card-tier { background: rgba(185, 242, 255, 0.18); color: #B9F2FF; }
.lr-lounge-card.tier-OBSIDIAN  { border-left-color: #8a4dff; }
.lr-lounge-card.tier-OBSIDIAN  .lr-lounge-card-tier { background: rgba(138, 77, 255, 0.22); color: #c3a3ff; }
.lr-lounge-card.tier-LEGENDARY { border-left-color: #ff7300; }
.lr-lounge-card.tier-LEGENDARY .lr-lounge-card-tier { background: rgba(255, 115, 0, 0.22); color: #ffb070; }
.lr-lounge-card.tier-MYTHIC    { border-left-color: #ff00aa; }
.lr-lounge-card.tier-MYTHIC    .lr-lounge-card-tier { background: rgba(255, 0, 170, 0.22); color: #ff7ad0; }
.lr-lounge-card.tier-CELESTIAL { border-left-color: #00BFFF; }
.lr-lounge-card.tier-CELESTIAL .lr-lounge-card-tier { background: rgba(0, 191, 255, 0.22); color: #6ed3ff; }
.lr-lounge-card.tier-GOD       { border-left-color: #FF00FF; }
.lr-lounge-card.tier-GOD       .lr-lounge-card-tier { background: rgba(255, 0, 255, 0.25); color: #ff7af0; box-shadow: 0 0 12px rgba(255, 0, 255, 0.4); }

@keyframes lrl-fade-in {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Witness Mode — live spotlight pe seturi ──────────────────────── */
.lr-witness {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 14px;
}
.lr-witness:empty { display: none; }
.lr-witness-active:empty { display: none; }

.lr-witness-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 14px;
  background: linear-gradient(135deg, rgba(0, 255, 200, 0.06), rgba(0, 191, 255, 0.04));
  border: 1px solid rgba(0, 255, 200, 0.2);
  border-left: 3px solid #00FFC8;
  border-radius: 8px;
  animation: lrl-fade-in 0.4s ease-out;
}
.lr-witness-card[data-lottery="rychle_kacky"] {
  border-left-color: #00BFFF;
  background: linear-gradient(135deg, rgba(0, 191, 255, 0.06), rgba(0, 255, 200, 0.04));
}
.lr-witness-card-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.lr-witness-card-user {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.85rem;
  color: #00FFC8;
  font-weight: 600;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 6px;
}
.lr-witness-card[data-lottery="rychle_kacky"] .lr-witness-card-user { color: #00BFFF; }
.lr-witness-card-flag {
  font-size: 1rem;
  line-height: 1;
}
.lr-witness-card-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lr-witness-card-status {
  display: inline-block;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 2px 6px;
  background: rgba(255, 23, 68, 0.18);
  color: #ff5d8f;
  border-radius: 3px;
  text-transform: uppercase;
  margin-left: 4px;
  animation: lr-witness-status-pulse 1.4s ease-in-out infinite;
}
@keyframes lr-witness-status-pulse {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.04); }
}
.lr-witness-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
  justify-content: flex-end;
}
.lr-witness-num {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  transition: transform 0.18s, box-shadow 0.18s;
}
.lr-witness-num.lr-witness-num-hit {
  background: rgba(0, 255, 200, 0.18);
  border-color: #00FFC8;
  color: #00FFC8;
  text-shadow: 0 0 8px rgba(0, 255, 200, 0.7);
  box-shadow: 0 0 12px rgba(0, 255, 200, 0.4),
              inset 0 0 6px rgba(0, 255, 200, 0.15);
  animation: lr-witness-num-hit 0.55s ease-out;
}
.lr-witness-card[data-lottery="rychle_kacky"] .lr-witness-num.lr-witness-num-hit {
  background: rgba(0, 191, 255, 0.18);
  border-color: #00BFFF;
  color: #00BFFF;
  text-shadow: 0 0 8px rgba(0, 191, 255, 0.7);
  box-shadow: 0 0 12px rgba(0, 191, 255, 0.4),
              inset 0 0 6px rgba(0, 191, 255, 0.15);
}
@keyframes lr-witness-num-hit {
  0%   { transform: scale(1);   filter: brightness(1); }
  35%  { transform: scale(1.4); filter: brightness(2); }
  70%  { transform: scale(1.1); filter: brightness(1.3); }
  100% { transform: scale(1.15); filter: brightness(1.2); }
}
.lr-witness-card-cancel {
  background: rgba(255, 23, 68, 0.08);
  border: 1px solid rgba(255, 23, 68, 0.3);
  color: #ff5d8f;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 3px;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.18s;
}
.lr-witness-card-cancel:hover { background: rgba(255, 23, 68, 0.2); color: #fff; }

/* GO LIVE launch button */
.lr-witness-launch {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: linear-gradient(135deg, rgba(0, 255, 200, 0.1), rgba(0, 191, 255, 0.06));
  border: 1px solid rgba(0, 255, 200, 0.4);
  color: #00FFC8;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: 4px;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.2s;
  align-self: flex-start;
}
.lr-witness-launch:hover {
  background: linear-gradient(135deg, rgba(0, 255, 200, 0.2), rgba(0, 191, 255, 0.1));
  border-color: #00FFC8;
  box-shadow: 0 0 16px rgba(0, 255, 200, 0.3);
}
.lr-witness-launch-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00FFC8;
  box-shadow: 0 0 6px rgba(0, 255, 200, 0.7);
  animation: lrl-pulse 1.4s ease-in-out infinite;
}

/* GO LIVE picker */
.lr-witness-picker {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(0, 255, 200, 0.3);
  border-radius: 8px;
  padding: 10px 14px;
  animation: lrl-fade-in 0.3s ease-out;
}
.lr-witness-picker-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.lr-witness-picker-close {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.7);
  width: 22px;
  height: 22px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  line-height: 1;
}
.lr-witness-picker-close:hover { color: #ff5d8f; border-color: rgba(255, 23, 68, 0.4); }
.lr-witness-picker-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}
.lr-witness-pick {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s;
  font-family: 'Rajdhani', sans-serif;
}
.lr-witness-pick:hover {
  border-color: rgba(0, 255, 200, 0.4);
  background: rgba(0, 255, 200, 0.04);
}
.lr-witness-pick-flag { font-size: 1rem; line-height: 1; }
.lr-witness-pick-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.lr-witness-pick-name {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lr-witness-pick-numbers {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.64rem;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.02em;
}
.lr-witness-pick-go {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #00FFC8;
  text-transform: uppercase;
}
.lr-witness-picker-empty {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.35);
  text-align: center;
  padding: 14px 10px;
  font-style: italic;
}

@media (max-width: 768px) {
  .lr-witness-card { grid-template-columns: 1fr; gap: 8px; padding: 10px 12px; }
  .lr-witness-numbers { justify-content: flex-start; }
  .lr-witness-num { width: 24px; height: 24px; font-size: 0.66rem; }
}
@media (prefers-reduced-motion: reduce) {
  .lr-witness-card-status { animation: none; }
  .lr-witness-num.lr-witness-num-hit { animation: none; }
  .lr-witness-launch-pulse { animation: none; }
}

/* ── Wall ALL-TIME ticker (≥DIAMOND, horizontal marquee) ───────────────── */
.lr-lounge-ticker {
  position: relative;
  margin: 0 0 14px;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.35), rgba(20, 12, 0, 0.25), rgba(0, 0, 0, 0.35));
  border: 1px solid rgba(255, 215, 0, 0.18);
  border-radius: 8px;
  overflow: hidden;
}
.lr-lounge-ticker-label {
  position: absolute;
  top: 6px;
  left: 12px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.7);
  padding: 3px 10px 3px 8px;
  border-radius: 12px;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255, 215, 0, 0.92);
  text-transform: uppercase;
  pointer-events: none;
}
.lr-lounge-ticker-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffd700;
  box-shadow: 0 0 6px rgba(255, 215, 0, 0.7);
  animation: lrl-pulse 1.6s ease-in-out infinite;
  flex-shrink: 0;
}
.lr-lounge-ticker-viewport {
  position: relative;
  overflow: hidden;
  padding: 28px 0 12px;
  /* Edge fades */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60px, #000 calc(100% - 60px), transparent);
          mask-image: linear-gradient(90deg, transparent, #000 60px, #000 calc(100% - 60px), transparent);
}
.lr-lounge-ticker-track {
  display: flex;
  gap: 10px;
  width: max-content;
  animation: lrl-marquee 80s linear infinite;
  padding: 0 12px;
}
.lr-lounge-ticker:hover .lr-lounge-ticker-track,
.lr-lounge-ticker:focus-within .lr-lounge-ticker-track {
  animation-play-state: paused;
}
@keyframes lrl-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); } /* track is duplicated → -50% loops seamlessly */
}

.lr-lounge-ticker-card {
  flex: 0 0 auto;
  width: 168px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 3px;
  padding: 7px 10px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-left-width: 3px;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
  font-family: 'Rajdhani', sans-serif;
  text-decoration: none;
  color: inherit;
}
.lr-lounge-ticker-card:hover,
.lr-lounge-ticker-card:focus-visible {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
  border-top-color: rgba(255, 255, 255, 0.18);
  border-right-color: rgba(255, 255, 255, 0.18);
  border-bottom-color: rgba(255, 255, 255, 0.18);
  outline: none;
}
.lr-lounge-ticker-card-tier {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 2px 6px;
  border-radius: 2px;
  text-transform: uppercase;
  align-self: start;
  justify-self: start;
}
.lr-lounge-ticker-card-mid {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.lr-lounge-ticker-card-hits {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.lr-lounge-ticker-card-hits b {
  color: #ffd700;
  font-weight: 700;
}
.lr-lounge-ticker-card-meta {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lr-lounge-ticker-card-user {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.65rem;
  color: rgba(0, 212, 255, 0.85);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Tier color mapping (paritate cu lr-lounge-card) */
.lr-lounge-ticker-card.tier-DIAMOND   { border-left-color: #B9F2FF; }
.lr-lounge-ticker-card.tier-DIAMOND   .lr-lounge-ticker-card-tier { background: rgba(185, 242, 255, 0.18); color: #B9F2FF; }
.lr-lounge-ticker-card.tier-OBSIDIAN  { border-left-color: #8a4dff; }
.lr-lounge-ticker-card.tier-OBSIDIAN  .lr-lounge-ticker-card-tier { background: rgba(138, 77, 255, 0.22); color: #c3a3ff; }
.lr-lounge-ticker-card.tier-LEGENDARY { border-left-color: #ff7300; }
.lr-lounge-ticker-card.tier-LEGENDARY .lr-lounge-ticker-card-tier { background: rgba(255, 115, 0, 0.22); color: #ffb070; }
.lr-lounge-ticker-card.tier-MYTHIC    { border-left-color: #ff00aa; }
.lr-lounge-ticker-card.tier-MYTHIC    .lr-lounge-ticker-card-tier { background: rgba(255, 0, 170, 0.22); color: #ff7ad0; }
.lr-lounge-ticker-card.tier-CELESTIAL { border-left-color: #00BFFF; }
.lr-lounge-ticker-card.tier-CELESTIAL .lr-lounge-ticker-card-tier { background: rgba(0, 191, 255, 0.22); color: #6ed3ff; }
.lr-lounge-ticker-card.tier-GOD       { border-left-color: #FF00FF; }
.lr-lounge-ticker-card.tier-GOD       .lr-lounge-ticker-card-tier { background: rgba(255, 0, 255, 0.25); color: #ff7af0; box-shadow: 0 0 12px rgba(255, 0, 255, 0.4); }

.lr-lounge-ticker-empty {
  flex: 0 0 auto;
  padding: 8px 20px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.3);
  font-style: italic;
}

/* Reduced motion: pause marquee */
@media (prefers-reduced-motion: reduce) {
  .lr-lounge-ticker-track { animation: none; }
}

/* Mobile stack */
@media (max-width: 768px) {
  .lr-lounge { padding: 0 12px; margin: 24px auto 16px; }
  .lr-lounge-grid { grid-template-columns: 1fr; gap: 10px; }
  .lr-lounge-col { min-height: 160px; padding: 12px 14px; }
  .lr-lounge-title { font-size: 0.85rem; }
  .lr-lounge-sub { font-size: 0.78rem; }
  .lr-lounge-msg-text { font-size: 0.8rem; }
  .lr-lounge-card { grid-template-columns: auto 1fr; }
  .lr-lounge-card-odds { display: none; }
  .lr-lounge-ticker-card { width: 148px; }
  .lr-lounge-ticker-track { animation-duration: 60s; }
  .lr-lounge-ticker-viewport { padding: 26px 0 10px; }
  /* F5b (2026-05-19): max-height eliminat — sub-sections au scroll propriu. */
  .lr-lounge-cards-list { min-height: 200px; }
  .lr-lounge-card-grid { grid-template-columns: repeat(auto-fill, minmax(95px, 1fr)); gap: 6px; }
  .lr-lounge-card-cell .lr-lounge-cover { max-width: 110px; }
}
@media (max-width: 480px) {
  .lr-lounge { padding: 0 8px; }
  .lr-lounge-col-cta-mute { display: none; }
  .lr-lounge-ticker-card { width: 138px; padding: 6px 8px; }
  .lr-lounge-ticker-card-hits { font-size: 0.85rem; }
  /* Header compact pe mobil — title + online + mute pe 1 linie, sub pe linie nouă.
     Fix BUG: pe <480px header-ul wrap-uia haotic (pulse+title pe row 1, online+mute pe row 2,
     sub pe row 3), creând impresia „pe dinafara". Math la 320: 8+10+196+10+79+10+28=341px>280.
     Soluție: ascund pulse decorativ, micșorez title font, online pill mai compact, mute la dreapta. */
  .lr-lounge-pulse { display: none; }
  .lr-lounge-head { gap: 6px; margin-bottom: 10px; }
  .lr-lounge-head-left { gap: 8px; align-items: center; }
  .lr-lounge-title { font-size: 0.82rem; letter-spacing: 0.06em; }
  .lr-lounge-online { font-size: 0.65rem; padding: 1px 7px; }
  .lr-lounge-mute { width: 24px; height: 22px; font-size: 11px; margin-left: auto; }
  .lr-lounge-sub { font-size: 0.72rem; line-height: 1.35; }
}
@media (max-width: 360px) {
  /* Pe ecrane foarte înguste (iPhone SE 320, Android mic 360), reduc și mai mult */
  .lr-lounge-title { font-size: 0.76rem; letter-spacing: 0.05em; }
  .lr-lounge-head-left { gap: 6px; }
  .lr-lounge-online { font-size: 0.6rem; padding: 1px 6px; }
}

/* ═══════════════════════════════════════════════════════════════════════
   OZN UPGRADE — Wall ALL-TIME ticker (2026-05-20)
   Zero înălțime adăugată — totul prin pseudo-elements, box-shadow,
   gradient bg, conic-aurora, backdrop-blur. Padding/width neschimbate.
═══════════════════════════════════════════════════════════════════════ */

/* Background ticker: radar-grid + radial vignette over original gradient */
.lr-lounge-ticker {
  background:
    radial-gradient(ellipse at center, rgba(255, 215, 0, 0.05), transparent 70%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(0deg,  rgba(255, 255, 255, 0.015) 0 1px, transparent 1px 24px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.50), rgba(20, 12, 0, 0.32), rgba(0, 0, 0, 0.50));
  border-color: rgba(255, 215, 0, 0.24);
  box-shadow: inset 0 0 28px rgba(255, 215, 0, 0.04);
}
/* Scan-line subtile drift peste viewport (pseudo-element pe container) */
.lr-lounge-ticker::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0%, rgba(0, 255, 200, 0.04) 50%, transparent 100%);
  background-size: 100% 16px;
  animation: lrl-ticker-scan 10s linear infinite;
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: screen;
}
@keyframes lrl-ticker-scan {
  from { background-position: 0 0; }
  to   { background-position: 0 16px; }
}

/* Label pill: backdrop blur + gradient stripe + radiant pulse */
.lr-lounge-ticker-label {
  background:
    linear-gradient(135deg, rgba(255, 215, 0, 0.10), rgba(0, 255, 200, 0.06)),
    rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 215, 0, 0.18);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.45), 0 0 14px rgba(255, 215, 0, 0.10);
}
.lr-lounge-ticker-pulse {
  animation: lrl-ticker-pulse-radiant 1.6s ease-in-out infinite;
}
@keyframes lrl-ticker-pulse-radiant {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 6px rgba(255, 215, 0, 0.75), 0 0 14px rgba(255, 215, 0, 0.45);
  }
  50% {
    opacity: 0.6;
    transform: scale(0.85);
    box-shadow: 0 0 4px rgba(255, 215, 0, 0.5);
  }
}

/* Card hover: chromatic aberration pe hits + lift mai bold */
.lr-lounge-ticker-card {
  position: relative;
  overflow: hidden;
}
.lr-lounge-ticker-card:hover,
.lr-lounge-ticker-card:focus-visible {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.55);
}
.lr-lounge-ticker-card:hover .lr-lounge-ticker-card-hits,
.lr-lounge-ticker-card:focus-visible .lr-lounge-ticker-card-hits {
  text-shadow: -0.5px 0 rgba(255, 0, 100, 0.55), 0.5px 0 rgba(0, 255, 200, 0.55);
}

/* Tier-glow outer + inset shadow per tier (color-matched cu border-left) */
.lr-lounge-ticker-card.tier-DIAMOND   { box-shadow: 0 0 10px rgba(185, 242, 255, 0.20), inset 0 0 14px rgba(185, 242, 255, 0.05); }
.lr-lounge-ticker-card.tier-OBSIDIAN  { box-shadow: 0 0 10px rgba(138, 77, 255, 0.22), inset 0 0 14px rgba(138, 77, 255, 0.06); }
.lr-lounge-ticker-card.tier-LEGENDARY { box-shadow: 0 0 12px rgba(255, 115, 0, 0.28), inset 0 0 16px rgba(255, 115, 0, 0.07); }
.lr-lounge-ticker-card.tier-MYTHIC    { box-shadow: 0 0 14px rgba(255, 0, 170, 0.30), inset 0 0 16px rgba(255, 0, 170, 0.08); }
.lr-lounge-ticker-card.tier-CELESTIAL { box-shadow: 0 0 14px rgba(0, 191, 255, 0.32), inset 0 0 18px rgba(0, 191, 255, 0.09); }
.lr-lounge-ticker-card.tier-GOD       { box-shadow: 0 0 20px rgba(255, 0, 255, 0.42), inset 0 0 22px rgba(255, 0, 255, 0.12); }

/* Top-tier cards (LEGENDARY+) primesc aurora shimmer via slow conic-gradient */
.lr-lounge-ticker-card.tier-LEGENDARY::before,
.lr-lounge-ticker-card.tier-MYTHIC::before,
.lr-lounge-ticker-card.tier-CELESTIAL::before,
.lr-lounge-ticker-card.tier-GOD::before {
  content: '';
  position: absolute;
  inset: 0;
  background: conic-gradient(from 0deg, transparent, var(--ozn-aurora, rgba(255, 215, 0, 0.08)), transparent 60%, transparent);
  animation: lrl-aurora 18s linear infinite;
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
}
.lr-lounge-ticker-card.tier-LEGENDARY { --ozn-aurora: rgba(255, 115, 0, 0.10); }
.lr-lounge-ticker-card.tier-MYTHIC    { --ozn-aurora: rgba(255, 0, 170, 0.11); }
.lr-lounge-ticker-card.tier-CELESTIAL { --ozn-aurora: rgba(0, 191, 255, 0.12); }
.lr-lounge-ticker-card.tier-GOD       { --ozn-aurora: rgba(255, 0, 255, 0.14); animation-duration: 12s; }
@keyframes lrl-aurora {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
/* Asigurăm că conținutul (tier badge, hits, user) e DEASUPRA aurora */
.lr-lounge-ticker-card-tier,
.lr-lounge-ticker-card-mid {
  position: relative;
  z-index: 2;
}

/* GOD-tier: extra mega-glow + faster aurora — visual cherry on top */
.lr-lounge-ticker-card.tier-GOD .lr-lounge-ticker-card-tier {
  text-shadow: 0 0 8px rgba(255, 0, 255, 0.6);
}

/* Reduced motion respect — accessibility */
@media (prefers-reduced-motion: reduce) {
  .lr-lounge-ticker::after { animation: none; }
  .lr-lounge-ticker-pulse { animation: none; }
  .lr-lounge-ticker-card::before { animation: none; }
}

/* Mobile: păstrăm efectele dar reducem complexity pentru perf */
@media (max-width: 480px) {
  .lr-lounge-ticker::after { background-size: 100% 12px; opacity: 0.7; }
  .lr-lounge-ticker-card.tier-LEGENDARY::before,
  .lr-lounge-ticker-card.tier-MYTHIC::before,
  .lr-lounge-ticker-card.tier-CELESTIAL::before,
  .lr-lounge-ticker-card.tier-GOD::before {
    opacity: 0.55;
  }
}
