/* ═══════════════════════════════════════════════════════════════════
   CHAT BADGES v2 — Twitch-style inline animated badge system
   ═══════════════════════════════════════════════════════════════════ */

/* ── Container ──────────────────────────────────────────────────── */
.cb-badges {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-right: 5px;
  vertical-align: middle;
}

/* ── Base chip ──────────────────────────────────────────────────── */
.cb-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  border-radius: 3px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  cursor: default;
  will-change: background-position;
}
.cb-chip svg {
  width: 11px;
  height: 11px;
  position: relative;
  z-index: 1;
  pointer-events: none;
}

/* ── Tooltip ────────────────────────────────────────────────────── */
[data-cb-tip] {
  position: relative;
}
[data-cb-tip]::before {
  content: attr(data-cb-tip);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: #1A1A1A;
  border: 1px solid #2A2A2A;
  border-radius: 8px;
  padding: 8px 11px;
  width: max-content;
  max-width: 190px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  color: #EFEFF1;
  white-space: normal;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
  z-index: 9999;
}
[data-cb-tip]::after {
  content: '';
  position: absolute;
  bottom: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid transparent;
  border-top-color: #1A1A1A;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
  z-index: 9999;
}
[data-cb-tip]:hover::before,
[data-cb-tip]:hover::after {
  opacity: 1;
}

/* ── Tier pills (inside tooltip via JS) ─────────────────────────── */
.cb-tier-status   { background: #00241E; color: #00D4B8; }
.cb-tier-achieve  { background: #1A0F40; color: #9147FF; }
.cb-tier-live     { background: #2A0810; color: #FF4655; }
.cb-tier-pill {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 1px 5px;
  border-radius: 3px;
  margin-left: 4px;
  vertical-align: middle;
}

/* ═══════════════════════════════════════════════════════════════════
   KEYFRAME ANIMATIONS
   ═══════════════════════════════════════════════════════════════════ */

/* Pro — white shimmer sweep */
@keyframes cb-shimmer {
  0%   { transform: translateX(-120%) skewX(-15deg); }
  100% { transform: translateX(320%) skewX(-15deg); }
}

/* Founder — gold pulse glow */
@keyframes cb-pgold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,215,0,0.7); }
  60%      { box-shadow: 0 0 0 4px rgba(255,215,0,0); }
}

/* Staff + Oracle — aurora gradient cycle */
@keyframes cb-aurora {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Frag God — hue rotation */
@keyframes cb-huerot {
  0%   { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(360deg); }
}

/* Jarvis Beater — screen flicker */
@keyframes cb-flicker {
  0%, 88%, 100% { opacity: 1; }
  90%           { opacity: 0.45; }
  94%           { opacity: 0.85; }
}

/* Crossfire — electric pulse glow */
@keyframes cb-xglow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,122,32,0.6); }
  55%      { box-shadow: 0 0 0 4px rgba(255,122,32,0); }
}

/* Top Frags — gold coin shimmer */
@keyframes cb-coin {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* Top Chatter — teal ripple */
@keyframes cb-ripple {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,212,184,0.6); }
  55%      { box-shadow: 0 0 0 4px rgba(0,212,184,0); }
}

/* First Watch — blue glow */
@keyframes cb-bglow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74,144,217,0.7); }
  55%      { box-shadow: 0 0 0 4px rgba(74,144,217,0); }
}

/* On a Streak — flame gradient */
@keyframes cb-flame {
  0%   { background-position: 0% 0%; }
  33%  { background-position: 100% 50%; }
  66%  { background-position: 50% 100%; }
  100% { background-position: 0% 0%; }
}

/* Hot Take — aggressive pulse */
@keyframes cb-hotpulse {
  0%, 100% { background: linear-gradient(135deg, #FF4655, #CC1122); }
  50%      { background: linear-gradient(135deg, #FF6B77, #FF4655); }
}

/* ═══════════════════════════════════════════════════════════════════
   PER-BADGE CLASSES
   ═══════════════════════════════════════════════════════════════════ */

/* 0 — Staff */
.badge-staff {
  background: linear-gradient(135deg, #9147FF, #6B35CC, #B47FFF, #9147FF);
  background-size: 300%;
  animation: cb-aurora 3s ease infinite;
}

/* 1 — Pro */
.badge-pro {
  background: #00D4B8;
}
.badge-pro::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 45%;
  height: 100%;
  background: rgba(255,255,255,0.4);
  animation: cb-shimmer 2.2s ease-in-out infinite;
  pointer-events: none;
}

/* 2 — Founder */
.badge-founder {
  background: linear-gradient(135deg, #FFD700, #C89000);
  animation: cb-pgold 2s ease-in-out infinite;
}

/* 3 — Frag God */
.badge-fraggod {
  background: linear-gradient(135deg, #FFD700, #FF6000);
  animation: cb-huerot 3s linear infinite;
}

/* 4 — Top Frags */
.badge-topfrags {
  background: linear-gradient(135deg, #FFD700, #FFF176, #C89000, #FFD700);
  background-size: 300%;
  animation: cb-coin 1.8s linear infinite;
}

/* 5 — Jarvis Beater */
.badge-jb {
  background: #FF4655;
  animation: cb-flicker 4s ease-in-out infinite;
}

/* 6 — Oracle */
.badge-oracle {
  background: linear-gradient(135deg, #6B5CE7, #4A2ECC, #9B8FFF, #6B5CE7);
  background-size: 300%;
  animation: cb-aurora 4s ease infinite;
}

/* 7 — Crossfire */
.badge-crossfire {
  background: linear-gradient(135deg, #FF7A20, #FF4400);
  animation: cb-xglow 1.8s ease-in-out infinite;
}

/* 8 — Top Chatter */
.badge-topchatter {
  background: #00D4B8;
  animation: cb-ripple 2s ease-in-out infinite;
}

/* 9 — Analyst */
.badge-analyst {
  background: linear-gradient(135deg, #378ADD, #185FA5);
}

/* 10 — On a Streak */
.badge-streak {
  background: linear-gradient(160deg, #FF2200, #FF6000, #FFD700, #FF4400, #FF2200);
  background-size: 400% 400%;
  animation: cb-flame 1.2s ease infinite;
}

/* 11 — First Watch */
.badge-firstwatch {
  background: linear-gradient(135deg, #4A90D9, #185FA5);
  animation: cb-bglow 2.5s ease-in-out infinite;
}

/* 12 — Hot Take */
.badge-hottake {
  animation: cb-hotpulse 1.1s ease-in-out infinite;
}

/* ═══════════════════════════════════════════════════════════════════
   BADGE CASE MODAL
   ═══════════════════════════════════════════════════════════════════ */
.cb-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cb-fadein 0.15s ease;
}
@keyframes cb-fadein { 0% { opacity: 0 } 100% { opacity: 1 } }

.cb-modal {
  background: #111117;
  border: 1px solid #2A2A2A;
  border-radius: 12px;
  padding: 24px;
  width: 380px;
  max-width: 90vw;
  max-height: 85vh;
  overflow-y: auto;
  color: #EFEFF1;
}
.cb-modal-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.cb-modal-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #EFEFF1;
}
.cb-modal-close {
  background: none;
  border: none;
  color: #888;
  font-size: 20px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  min-height: 0;
}
.cb-modal-close:hover { color: #fff; }

.cb-modal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.cb-modal-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 6px;
  border-radius: 8px;
  background: #1A1A1E;
  border: 1px solid #2A2A2A;
}
.cb-modal-slot.cb-earned {
  border-color: #3A3A44;
}
.cb-modal-slot.cb-locked {
  opacity: 0.4;
  filter: grayscale(1);
}
.cb-modal-badge-lg {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.cb-modal-badge-lg svg {
  width: 32px;
  height: 32px;
  position: relative;
  z-index: 1;
}
.cb-modal-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #EFEFF1;
  text-align: center;
  line-height: 1.2;
}
.cb-modal-unlock {
  font-size: 9px;
  color: #888;
  text-align: center;
  line-height: 1.3;
}
.cb-modal-lock-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

/* ═══════════════════════════════════════════════════════════════════
   REDUCED MOTION
   ═══════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .cb-chip,
  .cb-chip::after,
  .cb-modal-badge-lg {
    animation: none !important;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   @MENTIONS
   ═══════════════════════════════════════════════════════════════════ */

/* Highlighted mention in message text */
.emc-mention {
  color: #00D4B8;
  font-weight: 600;
  cursor: pointer;
}
.emc-mention:hover {
  text-decoration: underline;
}

/* Autocomplete dropdown */
.emc-mention-dropdown {
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  background: #18181B;
  border: 1px solid #2A2A2A;
  border-radius: 6px;
  margin-bottom: 4px;
  max-height: 180px;
  overflow-y: auto;
  z-index: 9999;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.5);
}

/* Individual autocomplete item */
.emc-mention-item {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 7px 10px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #EFEFF1;
  transition: background 0.1s;
  min-height: 0;
}
.emc-mention-item:hover,
.emc-mention-item.active {
  background: #26262C;
}
.emc-mention-at {
  color: #00D4B8;
  font-weight: 600;
}
.emc-mention-name {
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════════════
   CHAT LEADERBOARD STRIP
   ═══════════════════════════════════════════════════════════════════ */

.clb-strip {
  height: 38px;
  background: #161616;
  border-bottom: 1px solid #1E1E1E;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}
/* Right fade mask */
.clb-strip::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 28px;
  height: 100%;
  background: linear-gradient(to right, transparent, #161616);
  pointer-events: none;
  z-index: 1;
}

.clb-scroll {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 10px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  gap: 0;
  white-space: nowrap;
}
.clb-scroll::-webkit-scrollbar { display: none; }

.clb-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.clb-coin-wrap {
  position: relative;
  display: inline-flex;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.clb-rank {
  position: absolute;
  top: -3px;
  left: -3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  font-size: 7px;
  font-weight: 800;
  font-family: 'Inter', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  z-index: 1;
}

.clb-name {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  max-width: 72px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.clb-score-wrap {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
}

.clb-score {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
}

.clb-sep {
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #2A2A2A;
  margin: 0 6px;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════════
   PINNED MESSAGES
   ═══════════════════════════════════════════════════════════════════ */

.cp-strip { flex-shrink: 0; }

.cp-pin {
  padding: 10px 14px 10px 16px;
  font-family: 'Inter', sans-serif;
  position: relative;
  border-left: 3px solid;
  margin: 0;
}
.cp-pin-staff {
  border-left-color: #00D4B8;
  background: linear-gradient(135deg, #0A1612, #0D1A14);
  border-bottom: 1px solid #0A2416;
}
.cp-pin-community {
  border-left-color: #FFD700;
  background: linear-gradient(135deg, #100C04, #120E08);
  border-bottom: 1px solid #1E1500;
}

.cp-pin-hdr {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  color: #555;
  margin-bottom: 6px;
}
.cp-pin-icon { font-size: 12px; flex-shrink: 0; }
.cp-pin-label { font-weight: 700; letter-spacing: 0.3px; }
.cp-pin-staff .cp-pin-label { color: #00D4B8; }
.cp-pin-community .cp-pin-label { color: #FFD700; }
.cp-pin-bid {
  font-weight: 700;
  color: #FFD700;
  margin-left: auto;
  font-size: 10px;
}
.cp-pin-time {
  font-size: 9px;
  color: #444;
  margin-left: 6px;
}

.cp-pin-body {
  font-size: 13px;
  color: #EFEFF1;
  line-height: 1.45;
  word-break: break-word;
  font-weight: 500;
  margin-bottom: 6px;
}

.cp-pin-footer {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: #555;
}
.cp-pin-user {
  font-weight: 600;
  color: #888;
  display: flex;
  align-items: center;
  gap: 4px;
}

.cp-pin-outbid {
  margin-left: auto;
  background: rgba(255,215,0,0.08);
  border: 1px solid rgba(255,215,0,0.25);
  color: #FFD700;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 4px;
  cursor: pointer;
  min-height: 0;
  transition: background 0.15s;
}
.cp-pin-outbid:hover { background: rgba(255,215,0,0.15); }

.cp-pin-collapse {
  position: absolute;
  top: 6px;
  right: 8px;
  background: none;
  border: none;
  color: #444;
  font-size: 10px;
  cursor: pointer;
  padding: 2px 4px;
  min-height: 0;
  transition: color 0.15s;
}
.cp-pin-collapse:hover { color: #888; }

.cp-pin-unpin {
  background: none;
  border: none;
  color: #FF4655;
  font-size: 9px;
  font-weight: 600;
  cursor: pointer;
  padding: 2px 6px;
  min-height: 0;
  margin-left: 6px;
}
.cp-pin-unpin:hover { text-decoration: underline; }

/* Pin button in input bar */
.cp-pin-btn {
  background: none;
  border: none;
  font-size: 14px;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 4px;
  opacity: 0.5;
  min-height: 0;
  transition: opacity 0.15s, background 0.15s;
}
.cp-pin-btn:hover { opacity: 1; background: rgba(255,255,255,0.08); }

/* Staff context menu */
.cp-context-menu {
  position: fixed;
  background: #1A1A1E;
  border: 1px solid #2A2A2A;
  border-radius: 6px;
  padding: 4px;
  z-index: 10000;
  box-shadow: 0 4px 16px rgba(0,0,0,0.5);
  min-width: 140px;
}
.cp-context-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #EFEFF1;
  cursor: pointer;
  border-radius: 4px;
  min-height: 0;
  transition: background 0.1s;
}
.cp-context-item:hover { background: #26262C; }

/* Bid modal overlay */
.cp-bid-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cb-fadein 0.15s ease;
}
.cp-bid-card {
  background: #111117;
  border: 1px solid #2A2A2A;
  border-radius: 12px;
  padding: 20px;
  width: 340px;
  max-width: 90vw;
  color: #EFEFF1;
  font-family: 'Inter', sans-serif;
}
.cp-bid-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}
.cp-bid-current {
  font-size: 11px;
  color: #888;
  margin-bottom: 10px;
  padding: 6px 10px;
  background: #0A0A0C;
  border-radius: 6px;
}
.cp-bid-textarea {
  width: 100%;
  box-sizing: border-box;
  background: #0A0A0C;
  border: 1px solid #2A2A2A;
  border-radius: 6px;
  color: #EFEFF1;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  padding: 8px 10px;
  resize: vertical;
  min-height: 50px;
  max-height: 100px;
  margin-bottom: 10px;
  outline: none;
}
.cp-bid-textarea:focus { border-color: rgba(255,215,0,0.4); }
.cp-bid-amount-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}
.cp-bid-amount-input {
  flex: 1;
  background: #0A0A0C;
  border: 1px solid #2A2A2A;
  border-radius: 6px;
  color: #FFD700;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 10px;
  outline: none;
  min-width: 0;
}
.cp-bid-amount-input:focus { border-color: rgba(255,215,0,0.4); }
.cp-bid-quick {
  background: #1A1A1E;
  border: 1px solid #2A2A2A;
  color: #888;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  padding: 5px 8px;
  border-radius: 4px;
  cursor: pointer;
  min-height: 0;
  transition: background 0.1s, color 0.1s;
}
.cp-bid-quick:hover { background: #26262C; color: #EFEFF1; }
.cp-bid-balance {
  font-size: 11px;
  color: #555;
  margin-bottom: 10px;
}
.cp-bid-balance span { color: #FFD700; font-weight: 600; }
.cp-bid-warning {
  font-size: 10px;
  color: #FF4655;
  margin-bottom: 12px;
  line-height: 1.4;
}
.cp-bid-actions {
  display: flex;
  gap: 8px;
}
.cp-bid-confirm {
  flex: 1;
  background: linear-gradient(135deg, #C89000, #FFD700);
  border: none;
  color: #1A0E00;
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 800;
  padding: 9px 0;
  border-radius: 6px;
  cursor: pointer;
  min-height: 0;
  transition: filter 0.15s;
}
.cp-bid-confirm:hover { filter: brightness(1.1); }
.cp-bid-confirm:disabled { opacity: 0.5; cursor: not-allowed; }
.cp-bid-cancel {
  background: none;
  border: 1px solid #2A2A2A;
  color: #888;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  min-height: 0;
}
.cp-bid-cancel:hover { border-color: #444; color: #EFEFF1; }

/* ═══════════════════════════════════════════════════════════════════
   CHAT INLINE STORE
   ═══════════════════════════════════════════════════════════════════ */

/* Coin button in input bar */
.cs-coin-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #161616;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
  min-height: 0;
  transition: background 0.15s;
  position: relative;
}
.cs-coin-btn:hover { background: #1E1E1E; }
.cs-coin-bal {
  font-size: 8px;
  font-weight: 700;
  color: #FFD700;
  line-height: 1;
  margin-top: 1px;
}

/* Inline store container */
.cs-inline-store {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  background: #0A0A0C;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.cs-inline-store::-webkit-scrollbar { width: 3px; }
.cs-inline-store::-webkit-scrollbar-thumb { background: #1E1E1E; border-radius: 2px; }

/* Top bar */
.cs-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-bottom: 1px solid #1A1A1A;
  background: #0E0E10;
}
.cs-close-btn {
  background: #1A1A1E;
  border: none;
  color: #EFEFF1;
  font-size: 14px;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  flex-shrink: 0;
  transition: background 0.15s;
}
.cs-close-btn:hover { background: #26262C; }
.cs-topbar-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #EFEFF1;
}
.cs-topbar-bal {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
}

/* Tabs */
.cs-tabs {
  display: flex;
  border-bottom: 1px solid #1A1A1A;
  padding: 0 8px;
  background: #0E0E10;
}
.cs-tab {
  flex: 1;
  padding: 8px 0;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  color: #555;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  min-height: 0;
  transition: color 0.15s;
}
.cs-tab:hover { color: #888; }
.cs-tab-active { color: #EFEFF1; border-bottom-color: #00f5c4; }
.cs-tab-locked { color: #333; cursor: not-allowed; }

/* Content area */
.cs-content {
  padding: 10px;
}
.cs-section-label {
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  font-weight: 700;
  color: #444;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* Boost grid — 3 columns */
.cs-boost-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 10px;
}
.cs-boost-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 10px 4px 8px;
  background: #111117;
  border: 1px solid;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s;
}
.cs-boost-tile:hover { background: #1A1A1E; }
.cs-boost-mult {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 900;
  font-style: italic;
  line-height: 1;
}
.cs-boost-name {
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  font-weight: 600;
  color: #888;
}
.cs-boost-price {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: #FFD700;
}
.cs-boost-buy {
  font-family: 'Rajdhani', sans-serif;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  min-height: 0;
  transition: filter 0.15s;
}
.cs-boost-buy:hover { filter: brightness(1.15); }
.cs-boost-buy:disabled { opacity: 0.5; cursor: not-allowed; }

/* Inventory */
.cs-inv-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  background: #111117;
  border-radius: 6px;
  margin-bottom: 4px;
}
.cs-inv-mult {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 900;
  font-style: italic;
  flex-shrink: 0;
}
.cs-inv-name {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  color: #888;
  flex: 1;
}
.cs-inv-qty {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #EFEFF1;
}
.cs-inv-empty {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  color: #444;
  text-align: center;
  padding: 12px;
}
.cs-coming-soon {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: #444;
  text-align: center;
  padding: 40px 20px;
}

/* ── Cosmetics overrides for narrow chat panel ────────────────── */
.cs-inline-store .cosm-namefx-layout {
  flex-direction: column !important;
  gap: 8px !important;
  min-height: auto !important;
}
.cs-inline-store .cosm-detail-panel {
  width: 100% !important;
  margin-top: 0 !important;
}
.cs-inline-store .cosm-fx-grid {
  grid-template-columns: 1fr 1fr !important;
  gap: 6px !important;
}
.cs-inline-store .cosm-fx-art { height: 55px !important; }
.cs-inline-store .cosm-fx-info { padding: 3px 6px 5px !important; }
.cs-inline-store .cosm-fx-name { font-size: 9px !important; color: #EFEFF1 !important; }
.cs-inline-store .cosm-fx-price { font-size: 8px !important; }
.cs-inline-store .cosm-fx-type { color: #888 !important; font-size: 7px !important; }
.cs-inline-store .cosm-fx-tag { font-size: 7px !important; }
.cs-inline-store .cosm-subtabs { gap: 4px !important; padding: 0 0 8px !important; }
.cs-inline-store .cosm-pill { padding: 4px 10px !important; font-size: 9px !important; }
.cs-inline-store .cosm-detail-name { font-size: 13px !important; }
.cs-inline-store .cosm-detail-desc { font-size: 9px !important; }
.cs-inline-store .cosm-stat-grid { flex-wrap: wrap !important; gap: 4px !important; }
.cs-inline-store .cosm-stat { min-width: 50px !important; padding: 4px 6px !important; }
.cs-inline-store .cosm-pagination { padding: 6px 0 !important; }
.cs-inline-store .cosm-chat-preview { padding: 6px 8px !important; }
/* Color/style grids */
.cs-inline-store .cosm-color-grid,
.cs-inline-store .cosm-style-grid {
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 6px !important;
}
.cs-inline-store .cosm-color-card,
.cs-inline-store .cosm-style-card {
  padding: 6px !important;
}
/* Buy buttons */
.cs-inline-store .cosm-buy-btn {
  font-size: 10px !important;
  padding: 5px 10px !important;
}

/* ═══════════════════════════════════════════════════════════════════
   EMOTE PICKER v2
   ═══════════════════════════════════════════════════════════════════ */

.ep-picker {
  background: #0B0E14;
  border: 0.5px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  color: #E2E8F0;
  box-shadow: 0 8px 32px rgba(0,0,0,0.6);
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  z-index: 100;
  margin-bottom: 4px;
}

.ep-search-bar {
  padding: 10px 12px 8px;
  background: #12161E;
  border-bottom: 0.5px solid rgba(255,255,255,0.08);
  border-radius: 12px 12px 0 0;
}
.ep-search-input {
  width: 100%;
  box-sizing: border-box;
  background: rgba(255,255,255,0.06);
  border: 0.5px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 13px;
  color: #E2E8F0;
  outline: none;
  font-family: inherit;
}
.ep-search-input:focus { border-color: rgba(0,212,184,0.3); }

.ep-tabs {
  display: flex;
  background: #12161E;
  border-bottom: 0.5px solid rgba(255,255,255,0.08);
}
.ep-tab {
  flex: 1;
  padding: 8px 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
  cursor: pointer;
  color: #6B7280;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  font-family: inherit;
  min-height: 0;
  transition: color 0.15s;
}
.ep-tab:hover { color: #9CA3AF; }
.ep-tab-active {
  color: #00D4B8;
  border-bottom-color: #00D4B8;
  background: rgba(0,212,184,0.08);
}
.ep-tab-locked {
  color: #6B7280 !important;
  cursor: pointer;
  position: relative;
}
.ep-tab-locked:hover { color: #F0B429 !important; }
.ep-tab-locked span { color: #F0B429; font-weight: 700; }

.ep-body {
  height: 320px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
}
.ep-body::-webkit-scrollbar { width: 3px; }
.ep-body::-webkit-scrollbar-thumb { background: #1E1E1E; border-radius: 2px; }

.ep-section-label {
  padding: 8px 12px 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6B7280;
  display: flex;
  align-items: center;
  gap: 6px;
}
.ep-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}
.ep-divider {
  height: 0.5px;
  background: rgba(255,255,255,0.06);
  margin: 4px 12px;
}

.ep-emote-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  padding: 0 10px 10px;
}
.ep-emote-cell {
  aspect-ratio: 1;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: background 0.12s;
}
.ep-emote-cell:hover { background: rgba(255,255,255,0.08); }
.ep-emote-cell.ep-locked { opacity: 0.35; cursor: not-allowed; }

.ep-rarity {
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.06em;
  pointer-events: none;
}
.ep-price {
  position: absolute;
  bottom: 1px;
  right: 2px;
  font-size: 7px;
  font-weight: 700;
  color: #F5C842;
  pointer-events: none;
}

/* GIF grid */
.ep-gif-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  padding: 0 10px 10px;
}
.ep-gif-cell {
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 16/9;
  background: rgba(255,255,255,0.04);
  transition: transform 0.12s;
}
.ep-gif-cell:hover { transform: scale(1.03); }
.ep-giphy-label {
  padding: 8px 12px 4px;
  font-size: 10px;
  color: #6B7280;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
}

/* Tooltip bar */
/* GIF preview in input area */
.ep-gif-preview {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: #12161E;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ep-gif-cancel {
  background: #2A2A2E;
  border: none;
  color: #888;
  font-size: 12px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  transition: background 0.15s;
}
.ep-gif-cancel:hover { background: #3A3A3E; color: #fff; }

/* Inline GIF/image in chat messages */
.emc-inline-gif {
  display: block;
  max-width: 200px;
  max-height: 150px;
  border-radius: 6px;
  margin: 4px 0 2px;
  cursor: pointer;
}

.ep-tooltip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(0,212,184,0.04);
  border-top: 0.5px solid rgba(255,255,255,0.06);
  min-height: 32px;
  font-size: 11px;
  border-radius: 0 0 12px 12px;
}

/* ═══════════════════════════════════════════════════════════════════
   MATCH CENTRE v2 — Tabbed enhancement
   ═══════════════════════════════════════════════════════════════════ */

.mc-v2 {
  font-family: 'Barlow', sans-serif;
  color: #E2E8F0;
}

/* Tabs */
.mc-tabs-row {
  display: flex;
  gap: 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.mc-tabs-row::-webkit-scrollbar { display: none; }
.mc-tab {
  flex: 1;
  min-width: 60px;
  padding: 8px 6px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #6B7280;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  min-height: 0;
  transition: color 0.15s, border-color 0.15s;
}
.mc-tab:hover { color: #9CA3AF; }
.mc-tab-active {
  color: #00D4B8;
  border-bottom-color: #00D4B8;
}

.mc-tab-content {
  padding: 4px 0;
}

/* Hero */
.mc-hero {
  background: #0F1219;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 8px;
}
.mc-hero-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.mc-hero-status {
  display: flex;
  align-items: center;
  gap: 4px;
}
.mc-live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FF4455;
  animation: mc-pulse 1.4s ease infinite;
}
@keyframes mc-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.75); }
}
.mc-hero-bo { color: #6B7280; }
.mc-hero-tourn {
  color: #6B7280;
  font-weight: 500;
  margin-left: auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
}

.mc-hero-teams {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mc-hero-team {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.mc-hero-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.mc-hero-tname {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #E2E8F0;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.mc-hero-score {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 28px;
  flex-shrink: 0;
}
.mc-hero-s1, .mc-hero-s2 { color: #E2E8F0; }
.mc-hero-dash { color: #4B5563; font-size: 22px; }

.mc-hero-cta {
  display: flex;
  gap: 6px;
  margin-top: 14px;
}
.mc-cta-btn {
  flex: 1;
  background: rgba(0,212,184,0.06);
  border: 1px solid rgba(0,212,184,0.22);
  color: #00D4B8;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 10px 0;
  border-radius: 6px;
  cursor: pointer;
  min-height: 0;
  transition: background 0.15s;
}
.mc-cta-btn:hover { background: rgba(0,212,184,0.14); }

/* Section */
.mc-section {
  background: #0F1219;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 8px;
}
.mc-section-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6B7280;
  margin-bottom: 8px;
}
.mc-info-row {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #9CA3AF;
  padding: 4px 0;
}
.mc-info-row span:last-child { color: #E2E8F0; font-weight: 600; }

/* Player cards */
.mc-roster-team { margin-bottom: 12px; }
.mc-roster-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #E2E8F0;
  margin-bottom: 6px;
  padding: 0 2px;
}
.mc-player-grid {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.mc-player-grid::-webkit-scrollbar { display: none; }
.mc-player-card {
  flex-shrink: 0;
  width: 88px;
  background: #141820;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 10px 6px 8px;
  text-align: center;
  position: relative;
  cursor: pointer;
  transition: border-color 0.15s;
}
.mc-player-card:hover { border-color: rgba(255,255,255,0.12); }
.mc-player-role {
  position: absolute;
  top: 6px;
  left: 6px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #4B5563;
  text-transform: uppercase;
}
.mc-player-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1A1F2E 0%, #141820 100%);
  border: 1.5px solid rgba(255,255,255,0.1);
  margin: 0 auto 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #00D4B8;
  overflow: hidden;
}
.mc-player-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.mc-player-handle {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #E2E8F0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 2px;
}
.mc-player-meta {
  font-size: 9px;
  color: #6B7280;
  margin: 2px 0 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
}
.mc-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  border-radius: 4px;
  padding: 2px 7px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
}
.mc-rating-badge .mc-trend { font-size: 7px; }
.mc-rating-teal { background: rgba(0,212,184,0.12); color: #00D4B8; }
.mc-rating-green { background: rgba(0,201,122,0.1); color: #00C97A; }
.mc-rating-gold { background: rgba(245,200,66,0.12); color: #F5C842; }
.mc-rating-red { background: rgba(255,68,85,0.12); color: #FF4455; }

/* Odds tab */
.mc-odds-card {
  background: #0F1219;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 14px;
}
.mc-odds-header {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6B7280;
  margin-bottom: 10px;
}
.mc-odds-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mc-odds-team {
  flex: 1;
  text-align: center;
}
.mc-odds-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #E2E8F0;
  margin-bottom: 4px;
}
.mc-odds-price {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #00D4B8;
}
.mc-odds-imp {
  font-size: 10px;
  color: #6B7280;
}
.mc-odds-vs {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  color: #4B5563;
  letter-spacing: 0.1em;
}
.mc-odds-cta {
  display: block;
  text-align: center;
  margin-top: 12px;
  padding: 8px 0;
  background: rgba(0,212,184,0.1);
  border: 1px solid rgba(0,212,184,0.2);
  border-radius: 5px;
  color: #00D4B8;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.06em;
}
.mc-odds-cta:hover { background: rgba(0,212,184,0.18); }

/* H2H */
.mc-h2h-summary {
  display: flex;
  align-items: center;
  background: #0F1219;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 10px;
}
.mc-h2h-stat {
  flex: 1;
  text-align: center;
}
.mc-h2h-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: #00D4B8;
}
.mc-h2h-lbl {
  font-size: 10px;
  color: #6B7280;
  margin-top: 2px;
}
.mc-h2h-mid {
  flex: 0 0 60px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: #4B5563;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.mc-h2h-row {
  display: grid;
  grid-template-columns: 70px 70px 1fr;
  gap: 8px;
  align-items: center;
  padding: 7px 10px;
  background: #141820;
  border-radius: 5px;
  margin-bottom: 4px;
  font-size: 10px;
}
.mc-h2h-date { color: #6B7280; }
.mc-h2h-score { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; color: #E2E8F0; font-size: 12px; }
.mc-h2h-tourn { color: #6B7280; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc-h2h-w1 { border-left: 2px solid #00D4B8; }
.mc-h2h-w2 { border-left: 2px solid #FF4455; }

/* Standings */
.mc-standings-table {
  background: #0F1219;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  overflow: hidden;
}
.mc-standings-head {
  display: grid;
  grid-template-columns: 32px 1fr 40px 40px;
  gap: 8px;
  padding: 10px 12px;
  background: #141820;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #6B7280;
  text-transform: uppercase;
}
.mc-standings-row {
  display: grid;
  grid-template-columns: 32px 1fr 40px 40px;
  gap: 8px;
  padding: 8px 12px;
  font-size: 11px;
  color: #E2E8F0;
  border-top: 1px solid rgba(255,255,255,0.04);
  align-items: center;
}
.mc-standings-team {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mc-standings-team img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex-shrink: 0;
}

/* States */
.mc-loading,
.mc-empty {
  text-align: center;
  padding: 32px 16px;
  color: #6B7280;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  letter-spacing: 0.06em;
}
.mc-fallback-note {
  font-size: 10px;
  color: #6B7280;
  text-align: center;
  padding: 8px;
  font-style: italic;
}

/* ═══════════════════════════════════════════════════════════════════
   LIVE TAB — Team Stats + Timeline (v1.3.0)
   ═══════════════════════════════════════════════════════════════════ */

.mc-live-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
@media (min-width: 1400px) {
  .mc-live-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Team Stats Panel */
.mc-stats-panel {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--b2, rgba(255,255,255,0.08));
  border-radius: 6px;
  padding: 10px 12px;
}
.mc-stat-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  gap: 12px;
}
.mc-stat-row:last-child { border-bottom: none; }
.mc-stat-row-small { padding: 6px 0; }
.mc-stat-val {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--text, #E5E7EB);
  text-align: center;
  line-height: 1;
}
.mc-stat-row-small .mc-stat-val,
.mc-stat-val-sm {
  font-size: 13px;
  font-weight: 600;
  color: var(--dim, #9CA3AF);
  text-align: center;
  font-family: 'Rajdhani', sans-serif;
}
.mc-stat-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6B7280;
  text-align: center;
  white-space: nowrap;
}
.mc-stat-bar-wrap {
  padding: 8px 0 6px;
}
.mc-stat-bar {
  display: flex;
  height: 6px;
  background: rgba(255,255,255,0.04);
  border-radius: 3px;
  overflow: hidden;
}
.mc-stat-bar-l {
  background: linear-gradient(90deg, #00f5c4, rgba(0,245,196,0.5));
  height: 100%;
  transition: width 0.4s ease;
}
.mc-stat-bar-r {
  background: linear-gradient(270deg, #7c6af7, rgba(124,106,247,0.5));
  height: 100%;
  transition: width 0.4s ease;
}
.mc-stat-bar-pcts {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--dim, #9CA3AF);
  text-transform: uppercase;
}

/* Timeline Panel */
.mc-timeline-panel {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--b2, rgba(255,255,255,0.08));
  border-radius: 6px;
  padding: 10px 12px;
}
.mc-timeline-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
  max-height: 280px;
  overflow-y: auto;
  padding-right: 4px;
}
.mc-timeline-list::-webkit-scrollbar { width: 4px; }
.mc-timeline-list::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
}
.mc-timeline-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.mc-timeline-item:last-child { border-bottom: none; padding-bottom: 0; }
.mc-timeline-icon {
  font-size: 12px;
  line-height: 1;
  flex-shrink: 0;
  width: 14px;
  text-align: center;
  padding-top: 2px;
}
.mc-timeline-body {
  flex: 1;
  min-width: 0;
}
.mc-timeline-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 2px;
}
.mc-timeline-text {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: var(--text, #E5E7EB);
  line-height: 1.35;
}
.mc-timeline-empty {
  text-align: center;
  padding: 16px 8px;
  color: #6B7280;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  letter-spacing: 0.08em;
}

/* Match info strip (below grid) */
.mc-info-strip {
  margin-top: 10px;
  padding: 8px 12px;
}

/* ═══════════════════════════════════════════════════════════════════
   PLAYER BIO CARD — v1.4.0
   ═══════════════════════════════════════════════════════════════════ */

.mc-player-card-selected {
  border: 1px solid var(--acc, #00f5c4) !important;
  background: rgba(0, 245, 196, 0.08) !important;
}

.mc-bio-host { margin-top: 10px; }
.mc-bio-host:empty { display: none; }

.mc-player-bio-card {
  position: relative;
  background: linear-gradient(135deg, #0f1825 0%, #0F1219 100%);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 10px;
  padding: 14px 16px;
  animation: mcBioSlide 200ms ease-out;
  overflow: hidden;
}
.mc-player-bio-card::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--acc, #00f5c4), rgba(0,245,196,0.35) 60%, transparent);
}
@keyframes mcBioSlide {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.mc-player-bio-head {
  display: flex;
  gap: 14px;
  align-items: center;
  position: relative;
}
.mc-player-bio-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(0,245,196,0.12);
  color: var(--acc, #00f5c4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 1px;
  object-fit: cover;
  flex-shrink: 0;
  overflow: hidden;
}
.mc-player-bio-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mc-bio-handle {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text, #E5E7EB);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mc-bio-sub {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  color: var(--dim, #9CA3AF);
  margin-top: 3px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.mc-bio-close {
  position: absolute;
  top: -4px; right: -4px;
  width: 22px; height: 22px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50%;
  color: var(--dim, #9CA3AF);
  font-size: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 120ms, color 120ms, border-color 120ms;
}
.mc-bio-close:hover {
  background: rgba(255,68,85,0.12);
  border-color: rgba(255,68,85,0.3);
  color: #FF4455;
}

.mc-player-bio-stats {
  display: flex;
  gap: 6px;
  margin-top: 12px;
}
.mc-bio-stat {
  flex: 1;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 6px;
  padding: 7px 6px 6px;
  text-align: center;
  min-width: 0;
}
.mc-bio-stat-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 9px;
  font-weight: 700;
  color: var(--dim, #9CA3AF);
  letter-spacing: 0.8px;
  text-transform: uppercase;
}
.mc-bio-stat-value {
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin-top: 3px;
  color: var(--text, #E5E7EB);
  line-height: 1;
}

.mc-player-bio-socials {
  display: flex;
  gap: 6px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.mc-bio-social {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 4px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  color: var(--text, #E5E7EB);
  text-decoration: none;
  transition: background 120ms, color 120ms, border-color 120ms;
}
.mc-bio-social:hover {
  background: rgba(0,245,196,0.12);
  border-color: rgba(0,245,196,0.3);
  color: var(--acc, #00f5c4);
}

.mc-player-bio-text {
  margin-top: 11px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.04);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-style: italic;
  color: #9CA3AF;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  cursor: pointer;
  transition: -webkit-line-clamp 200ms;
}
.mc-player-bio-text:hover { -webkit-line-clamp: unset; }

/* Skeleton loader */
.mc-player-bio-skeleton .mc-skel-row {
  background: linear-gradient(90deg, #1a1f2b 0%, #232a38 50%, #1a1f2b 100%);
  background-size: 200% 100%;
  animation: mcSkel 1.2s ease-in-out infinite;
  border-radius: 4px;
}
.mc-player-bio-skeleton .mc-skel-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
}
.mc-player-bio-skeleton .mc-skel-line {
  height: 12px;
  margin-top: 8px;
}
.mc-player-bio-skeleton .mc-skel-line.short { width: 40%; }
@keyframes mcSkel {
  from { background-position: 200% 0; }
  to   { background-position: -200% 0; }
}

/* ── Bio Card — Signature Heroes / Champions / Agents ───────── */
.mc-player-bio-heroes:empty { display: none; }
.mc-player-bio-heroes {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.mc-bio-heroes-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 9px;
  font-weight: 700;
  color: var(--dim, #9CA3AF);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.mc-bio-heroes-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mc-bio-hero-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 8px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
}
.mc-bio-hero-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--text, #E5E7EB);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mc-bio-hero-stats {
  font-size: 10px;
  color: var(--dim, #9CA3AF);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
  margin-left: 8px;
}

/* ── Dota 2 Live Panel ─────────────────────────────────────────── */
.mc-dota-top-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}
.mc-dota-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 5px;
}
.mc-dota-top-hero {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--text, #E5E7EB);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mc-dota-top-meta {
  display: flex;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  color: var(--dim, #9CA3AF);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
.mc-dota-top-nw {
  color: var(--acc, #00f5c4) !important;
  font-weight: 600;
}

/* ── Generic Live Panel — coming soon chip ─────────────────── */
.mc-coming-soon {
  margin-top: 12px;
  padding: 10px 14px;
  text-align: center;
  background: rgba(255,255,255,0.02);
  border: 1px dashed rgba(255,255,255,0.06);
  border-radius: 6px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  letter-spacing: 0.6px;
  color: var(--dim, #9CA3AF);
  text-transform: uppercase;
}

.mc-dota-side {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 8px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 3px;
  margin-right: 6px;
  letter-spacing: 0.5px;
  vertical-align: middle;
}
.mc-dota-side-t1 {
  background: rgba(0,245,196,0.15);
  color: var(--acc, #00f5c4);
}
.mc-dota-side-t2 {
  background: rgba(124,106,247,0.15);
  color: #7c6af7;
}

/* ── Dota Live: Score card (FIX 3) ─────────────────────────────── */
.mc-dota-score-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--b2, rgba(255,255,255,0.08));
  border-radius: 6px;
  padding: 12px 14px;
}
.mc-dota-score-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.mc-dota-game-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--dim, #6B7280);
  text-transform: uppercase;
}
.mc-dota-timer {
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #F5C842;
  font-variant-numeric: tabular-nums;
}
.mc-dota-kill-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.mc-dota-kill-team { flex: 1; min-width: 0; }
.mc-dota-kill-right { text-align: right; }
.mc-dota-kill-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim, #6B7280);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mc-dota-kill-name.mc-team1 { color: #00D4B8; }
.mc-dota-kill-num {
  font-family: 'Rajdhani', sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--text, #E5E7EB);
  line-height: 1;
}
.mc-dota-kill-num.mc-team1 { color: #00D4B8; }
.mc-dota-kill-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #4B5563;
  text-transform: uppercase;
  text-align: center;
  flex-shrink: 0;
}
.mc-dota-diff-bar-wrap { padding: 2px 0; }
.mc-dota-diff-bar {
  height: 4px;
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  margin-bottom: 6px;
  background: rgba(255,255,255,0.04);
}
.mc-dota-diff-fill-t1 {
  background: linear-gradient(90deg, #00f5c4, rgba(0,245,196,0.6));
  height: 100%;
}
.mc-dota-diff-fill-t2 {
  background: linear-gradient(270deg, #7c6af7, rgba(124,106,247,0.6));
  height: 100%;
}
.mc-dota-diff-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
}
.mc-dota-diff-label.mc-team1 { color: #00D4B8; }
.mc-dota-diff-label.mc-team2 { color: #7c6af7; }
.mc-dota-roshan {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 6px 10px;
  border-radius: 5px;
  margin-top: 10px;
  text-align: center;
}
.mc-rosh-alive { background: rgba(0,201,122,0.12); color: #00C97A; }
.mc-rosh-dead { background: rgba(255,68,85,0.10); color: #FF4455; }

/* ── Dota Live: Heroes 2-col grid (FIX 2) ──────────────────────── */
.mc-dota-heroes-grid {
  display: flex;
  gap: 0;
  padding: 6px 0 2px;
}
.mc-dota-heroes-col {
  flex: 1;
  padding: 0 12px;
  min-width: 0;
}
.mc-dota-heroes-divider {
  width: 1px;
  background: rgba(255,255,255,0.06);
  flex-shrink: 0;
}
.mc-dota-col-header {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mc-dota-col-header.mc-team1 { color: #00D4B8; }
.mc-dota-col-header.mc-team2 { color: #7c6af7; }
.mc-dota-hero-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  gap: 6px;
}
.mc-dota-hero-row:last-child { border-bottom: none; }
.mc-dota-hero-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--text, #E2E8F0);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.mc-dota-hero-kda {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  color: var(--dim, #6B7280);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════════
   PRO GATE — locked-state styling for free users
   Reuses existing CSS variables from styles.css:
     --bg2, --acc, --gold, --text2, --dim, --b
   ═══════════════════════════════════════════════════════════════════ */

/* ── Confidence locked chip on Picks Arena cards ─────────────────── */
.arena-tag-conf-locked,
.arena-conf-mini-val-locked,
.arena-conf-full-val-locked {
  cursor: pointer;
  color: var(--gold, #f0b429) !important;
  background: rgba(240, 180, 41, 0.1);
  border: 1px solid rgba(240, 180, 41, 0.3);
  border-radius: 4px;
  padding: 1px 6px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s;
}
.arena-tag-conf-locked:hover,
.arena-conf-mini-val-locked:hover,
.arena-conf-full-val-locked:hover {
  background: rgba(240, 180, 41, 0.16);
  border-color: rgba(240, 180, 41, 0.5);
}

/* ── Reasoning blur block ────────────────────────────────────────── */
.arena-reasoning-locked {
  position: relative;
  cursor: pointer;
  border-radius: 6px;
  overflow: hidden;
  margin: 6px 0;
}
.arena-reasoning-blurred {
  filter: blur(5px);
  user-select: none;
  pointer-events: none;
}
.arena-reasoning-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 14, 20, 0.55);
  backdrop-filter: blur(2px);
}
.arena-reasoning-overlay span {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--gold, #f0b429);
  background: rgba(240, 180, 41, 0.12);
  border: 1px solid rgba(240, 180, 41, 0.35);
  padding: 6px 12px;
  border-radius: 5px;
  text-transform: uppercase;
}

/* ── Picks Arena auth wall (logged-out users) ────────────────────── */
.picks-auth-wall {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 36px 20px;
  text-align: center;
  min-height: 320px;
}
.picks-auth-icon {
  width: 64px;
  height: 64px;
  background: rgba(0, 245, 196, 0.08);
  border: 1px solid rgba(0, 245, 196, 0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.picks-auth-title {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--text2, #e2e8f0);
  letter-spacing: 0.01em;
}
.picks-auth-sub {
  font-size: 13px;
  color: var(--dim, #6b7280);
  font-family: "Barlow", "Inter", sans-serif;
  max-width: 260px;
  line-height: 1.5;
}
.picks-auth-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 240px;
  margin-top: 4px;
}
.picks-auth-btn-primary {
  padding: 11px 0;
  background: var(--acc, #00f5c4);
  color: #000;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  width: 100%;
}
.picks-auth-btn-secondary {
  padding: 11px 0;
  background: transparent;
  color: var(--text2, #e2e8f0);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 7px;
  cursor: pointer;
  width: 100%;
  transition: border-color 0.15s;
}
.picks-auth-btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.2);
}
.picks-auth-perks {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
  width: 100%;
  max-width: 240px;
}
.picks-auth-perk {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--dim, #6b7280);
  letter-spacing: 0.04em;
  text-align: left;
}
.picks-perk-icon {
  font-size: 14px;
  flex-shrink: 0;
}

/* ── AI Analyse small "PRO" pill ─────────────────────────────────── */
.mc-pro-pill {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--gold, #f0b429);
  background: rgba(240, 180, 41, 0.15);
  border: 1px solid rgba(240, 180, 41, 0.3);
  border-radius: 3px;
  padding: 1px 5px;
  margin-left: 6px;
  vertical-align: middle;
  text-transform: uppercase;
}

/* ── Chat-store Boosts locked state ──────────────────────────────── */
.cs-boosts-locked {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 22px 16px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  text-align: center;
}
.cs-boosts-icon {
  font-size: 24px;
}
.cs-boosts-title {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: var(--text2, #e2e8f0);
  letter-spacing: 0.02em;
}
.cs-boosts-sub {
  font-size: 11px;
  color: var(--dim, #6b7280);
  font-family: "Barlow", "Inter", sans-serif;
  max-width: 220px;
  line-height: 1.5;
}
.cs-boosts-cta {
  margin-top: 4px;
  padding: 8px 18px;
  background: var(--acc, #00f5c4);
  color: #000;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

/* ── Header "Go Pro" link (free users only) ──────────────────────── */
.nav-gopro-link {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold, #f0b429) !important;
  background: rgba(240, 180, 41, 0.08);
  border: 1px solid rgba(240, 180, 41, 0.25);
  border-radius: 5px;
  padding: 5px 11px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
  white-space: nowrap;
  align-items: center;
  gap: 4px;
  height: 26px;
}
.nav-gopro-link:hover {
  background: rgba(240, 180, 41, 0.16);
  border-color: rgba(240, 180, 41, 0.45);
}

/* ── Jarvis daily limit wall (after 3 free picks) ────────────────── */
.jarvis-daily-wall {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 22px 16px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(240, 180, 41, 0.25);
  border-radius: 8px;
  text-align: center;
  margin: 8px 0;
}
.jarvis-wall-icon {
  font-size: 22px;
}
.jarvis-wall-title {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: var(--text2, #e2e8f0);
  letter-spacing: 0.02em;
}
.jarvis-wall-sub {
  font-size: 11px;
  color: var(--dim, #6b7280);
  font-family: "Barlow", "Inter", sans-serif;
}
.jarvis-wall-cta {
  margin-top: 4px;
  padding: 8px 16px;
  background: var(--acc, #00f5c4);
  color: #000;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

/* ── Panel resize inline toast (free users) ──────────────────────── */
.panel-resize-toast {
  position: fixed;
  z-index: 9000;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px 8px 14px;
  background: linear-gradient(160deg, #141c2e 0%, #0f1219 100%);
  border: 1px solid rgba(240, 180, 41, 0.35);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  font-family: "Barlow Condensed", sans-serif;
  pointer-events: auto;
  animation: panelResizeToastIn 0.18s ease-out;
  white-space: nowrap;
}
@keyframes panelResizeToastIn {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.panel-resize-toast-icon {
  font-size: 13px;
  flex-shrink: 0;
}
.panel-resize-toast-txt {
  font-size: 12px;
  font-weight: 700;
  color: var(--text2, #e2e8f0);
  letter-spacing: 0.04em;
}
.panel-resize-toast-cta {
  padding: 5px 12px;
  background: var(--gold, #f0b429);
  color: #000;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: filter 0.12s;
}
.panel-resize-toast-cta:hover {
  filter: brightness(1.1);
}

/* ═══════════════════════════════════════════════════════════════════
   CHESS (Lichess Broadcasts) — match card + Match Centre live panel
   ═══════════════════════════════════════════════════════════════════ */

/* ── Tier badge on chess match cards (Tier 5 = World Championship etc) ── */
.match-tier-badge {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--gold, #f0b429);
  background: rgba(240, 180, 41, 0.1);
  border: 1px solid rgba(240, 180, 41, 0.25);
  border-radius: 3px;
  padding: 1px 5px;
  text-transform: uppercase;
  margin-left: 4px;
  vertical-align: middle;
}

/* ── Chess "game" pill (used if the match card renderer shows a game chip) ── */
.match-game-chess {
  background: rgba(0, 212, 184, 0.1);
  color: var(--acc, #00d4b8);
  border: 1px solid rgba(0, 212, 184, 0.2);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 4px;
}

/* ── Match Centre chess live panel ─────────────────────────────────── */
.chess-live-panel {
  padding: 0;
  font-family: "Barlow Condensed", "Rajdhani", sans-serif;
}
.chess-live-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 10px;
}
.chess-round-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.chess-round-label {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: var(--text2, #e8f6ff);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chess-boards-count {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 10px;
  font-weight: 600;
  color: var(--dim, #6b7280);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.chess-lichess-link {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: var(--acc, #00d4b8);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  flex-shrink: 0;
  padding: 4px 8px;
  border: 1px solid rgba(0, 212, 184, 0.2);
  border-radius: 4px;
  transition: background 0.12s, border-color 0.12s;
}
.chess-lichess-link:hover {
  background: rgba(0, 212, 184, 0.08);
  border-color: rgba(0, 212, 184, 0.4);
}

.chess-section-label {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--dim, #6b7280);
  text-transform: uppercase;
  padding: 0 14px;
  margin-bottom: 6px;
}
.chess-boards-grid {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 10px;
}

.chess-board-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  position: relative;
}
.chess-board-live {
  border-color: rgba(0, 212, 184, 0.15);
  background: rgba(0, 212, 184, 0.02);
}
.chess-board-done {
  opacity: 0.7;
}

.chess-board-player {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}
.chess-board-player.chess-black {
  justify-content: flex-end;
}

/* Country flag next to player name (img from flagcdn.com) */
img.chess-flag {
  width: 18px;
  height: 13px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}
span.chess-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 13px;
  min-width: 18px;
  border-radius: 2px;
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 800;
  color: var(--dim, #7a8294);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
  padding: 0 3px;
  letter-spacing: 0.02em;
}
.chess-flag-neutral {
  color: var(--gold, #c9a84c);
}

.chess-title {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 9px;
  font-weight: 800;
  color: var(--gold, #f0b429);
  background: rgba(240, 180, 41, 0.1);
  padding: 1px 4px;
  border-radius: 3px;
  flex-shrink: 0;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.chess-player-name {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--text2, #e8f6ff);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chess-player-rating {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 10px;
  color: var(--dim, #6b7280);
  font-weight: 600;
  flex-shrink: 0;
}

.chess-board-result {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
  min-width: 36px;
  text-align: center;
  letter-spacing: 0.02em;
}
.chess-result-final {
  color: var(--text2, #e8f6ff);
}
.chess-result-ongoing {
  color: var(--dim, #6b7280);
}

.chess-live-pulse {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--acc, #00d4b8);
  box-shadow: 0 0 6px rgba(0, 212, 184, 0.6);
  animation: chessLivePulse 1.4s ease infinite;
}
@keyframes chessLivePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

/* ═══════════════════════════════════════════════════════════════════
   CHESS GAME EMBED — click-to-expand individual board in Live tab
   ═══════════════════════════════════════════════════════════════════ */

/* Board row hover + selected states. Base .chess-board-card rules live
   higher in this file; these additions handle the new click-to-expand
   interaction. */
.chess-board-card {
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.chess-board-card:hover {
  border-color: rgba(0, 212, 184, 0.22) !important;
  background: rgba(0, 212, 184, 0.03) !important;
}
.chess-board-card.chess-board-selected {
  border-color: rgba(0, 212, 184, 0.45) !important;
  background: rgba(0, 212, 184, 0.07) !important;
}

/* Embed wrapper — shown when a board row is clicked */
.chess-embed-wrap {
  margin: 10px 10px 14px;
  background: #0f1219;
  border: 1px solid rgba(0, 212, 184, 0.28);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.chess-embed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: rgba(0, 212, 184, 0.06);
  border-bottom: 1px solid rgba(0, 212, 184, 0.18);
  flex-shrink: 0;
}
.chess-embed-label {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 11px;
  font-weight: 800;
  color: var(--acc, #00d4b8);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
}
.chess-embed-close {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  color: var(--dim, #6b7280);
  width: 22px;
  height: 22px;
  font-size: 11px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: 8px;
  transition: color 0.15s, background 0.15s;
}
.chess-embed-close:hover {
  color: var(--text2, #e8f6ff);
  background: rgba(255, 255, 255, 0.1);
}
.chess-embed-body {
  width: 100%;
  padding: 14px;
  background: #0b0e14;
}
/* ── Interactive chessboard (SVG + move list + nav) ─────────────── */
.chess-interactive-board {
  width: 100%;
}
.chess-ib-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 14px;
  align-items: start;
}
@media (max-width: 620px) {
  .chess-ib-grid {
    grid-template-columns: 1fr;
  }
}
.chess-ib-board-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.chess-ib-player {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 5px;
  gap: 10px;
}
.chess-ib-player-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex: 1;
}
.chess-ib-name {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--text2, #e8f6ff);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chess-ib-rating {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--dim, #7a8294);
}
/* Captured pieces row — appears next to the player rating */
.chess-captured {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin-left: 8px;
  letter-spacing: -2px;
}
.chess-captured-piece {
  font-size: 13px;
  line-height: 1;
  color: #d4d4d4;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.6));
}
.chess-captured[data-side="white"] .chess-captured-piece {
  /* White captured these (they were black pieces) — render dark */
  color: #1a1a1a;
  text-shadow: 0 0 1px #d4d4d4;
}
.chess-captured[data-side="black"] .chess-captured-piece {
  /* Black captured these (they were white pieces) — render light */
  color: #f5f3eb;
  text-shadow: 0 0 1px #1a1a1a;
}
/* Material lead pill (e.g. "+3") */
.chess-mat-lead {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 5px;
  background: rgba(0, 212, 184, 0.18);
  color: #00d4b8;
  border-radius: 3px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.chess-ib-clock {
  font-family: "Roboto Mono", ui-monospace, monospace;
  font-size: 15px;
  font-weight: 700;
  color: var(--text2, #e8f6ff);
  background: rgba(0, 0, 0, 0.4);
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  letter-spacing: 0.03em;
  flex-shrink: 0;
}
/* ── Live Stream panel chess board ─────────────────────────────────── */
.chess-stream-board-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
  gap: 12px;
}
.chess-stream-board-title {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.chess-stream-board-icon {
  font-size: 20px;
  color: var(--acc, #00d4b8);
  flex-shrink: 0;
}
.chess-stream-live-pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff4e6a;
  flex-shrink: 0;
  animation: chessStreamLivePulse 1.5s ease-in-out infinite;
  box-shadow: 0 0 6px rgba(255, 78, 106, 0.6);
}
@keyframes chessStreamLivePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}
.chess-stream-live-text {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 11px;
  font-weight: 900;
  color: #ff4e6a;
  letter-spacing: 0.1em;
  flex-shrink: 0;
  margin-right: 6px;
}
.chess-stream-board-titletext {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.chess-stream-board-tour {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: var(--text2, #e8f6ff);
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chess-stream-board-round {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: var(--acc, #00d4b8);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.chess-stream-board-link {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 10px;
  font-weight: 800;
  color: var(--acc, #00d4b8);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border: 1px solid rgba(0, 212, 184, 0.3);
  border-radius: 4px;
  flex-shrink: 0;
  white-space: nowrap;
}
.chess-stream-board-link:hover {
  background: rgba(0, 212, 184, 0.1);
}
.chess-stream-board-player {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.chess-stream-board-player-white {
  border-bottom: none;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.chess-stream-board-name {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--text2, #e8f6ff);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  flex-shrink: 1;
}
.chess-stream-title {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 9px;
  font-weight: 800;
  color: var(--gold, #f0b429);
  background: rgba(240, 180, 41, 0.12);
  padding: 1px 4px;
  border-radius: 3px;
  flex-shrink: 0;
}
.chess-stream-rating {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--dim, #7a8294);
  flex-shrink: 0;
  margin-left: 4px;
}
/* Spacer that absorbs leftover horizontal space, pushing the clock to
 * the far right while keeping the rating snug next to the name. */
.chess-stream-name-spacer {
  flex: 1 1 auto;
  min-width: 4px;
}
img.chess-stream-flag {
  width: 18px;
  height: 13px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}
span.chess-stream-flag-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 13px;
  min-width: 18px;
  padding: 0 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--dim, #7a8294);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 10px;
  font-weight: 800;
  flex-shrink: 0;
}
.chess-stream-clock {
  font-family: "Roboto Mono", ui-monospace, monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--text2, #e8f6ff);
  background: rgba(0, 0, 0, 0.4);
  padding: 3px 8px;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-left: auto;
  flex-shrink: 0;
}
.chess-stream-board-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  min-height: 0;
  position: relative;
  gap: 6px;
}
.chess-stream-board-square {
  height: 100%;
  aspect-ratio: 1 / 1;
  max-width: 100%;
  position: relative;
  background: #0b0e14;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}
.chess-stream-board-square .cg-wrap {
  width: 100%;
  height: 100%;
}
/* Override chessground.brown.css with green chess.com-style theme */
.chess-stream-board-square .cg-wrap cg-board {
  background-color: #ebecd0;
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2 2'%3E%3Crect width='1' height='1' x='1' fill='%23779556'/%3E%3Crect width='1' height='1' y='1' fill='%23779556'/%3E%3C/svg%3E");
  background-size: 25% 25%;
}
.chess-stream-board-square .cg-wrap cg-board square.last-move {
  background-color: rgba(255, 255, 50, 0.45);
}
/* Make coordinate labels (a-h, 1-8) bold + high contrast on both boards */
.chess-stream-board-square .cg-wrap coords,
.chess-ib-board .cg-wrap coords {
  font-family: "Barlow Condensed", sans-serif !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  opacity: 1 !important;
}
.chess-stream-board-square .cg-wrap coords coord,
.chess-ib-board .cg-wrap coords coord {
  text-shadow: 0 0 2px rgba(0, 0, 0, 0.85), 0 0 1px rgba(0, 0, 0, 0.95);
  color: #ffffff !important;
}
/* Stream eval bar — same look as the match centre version */
.chess-stream-board-evalbar {
  position: relative;
  width: 14px;
  height: 100%;
  max-height: 100%;
  background: #2a2a2a;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
}
.chess-stream-board-evalbar-fill {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(180deg, #f5f3eb 0%, #e8e6dd 100%);
  transition: height 0.45s cubic-bezier(0.25, 0.85, 0.35, 1);
}
.chess-stream-board-evalbar-midline {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: #ff4e6a;
  z-index: 3;
  pointer-events: none;
  box-shadow: 0 0 4px rgba(255, 78, 106, 0.6);
}
/* Board + eval bar row — bar 18px wide, board fills the rest, square */
.chess-ib-board-row {
  display: flex;
  align-items: stretch;
  gap: 6px;
  width: 100%;
}
.chess-ib-evalbar {
  position: relative;
  width: 18px;
  flex-shrink: 0;
  background: #2a2a2a;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  align-self: stretch;
}
.chess-ib-evalbar-fill {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(180deg, #f5f3eb 0%, #e8e6dd 100%);
  transition: height 0.45s cubic-bezier(0.25, 0.85, 0.35, 1);
}
/* Red horizontal line at 50% mark — the "even" reference */
.chess-ib-evalbar-midline {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: #ff4e6a;
  z-index: 3;
  pointer-events: none;
  box-shadow: 0 0 4px rgba(255, 78, 106, 0.6);
}
.chess-ib-evalbar-label {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Roboto Mono", "SF Mono", ui-monospace, monospace;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.02em;
  z-index: 4;
  pointer-events: none;
  white-space: nowrap;
}
.chess-ib-evalbar-label-bottom {
  bottom: 3px;
  color: #1a1a1a;
}
.chess-ib-evalbar-label-top {
  top: 3px;
  color: #f5f3eb;
}
/* When using material-balance fallback (no engine analysis), tint the
 * fill slightly so users can tell it's not engine eval. The bar still
 * moves with every capture. */
.chess-ib-evalbar.chess-ib-evalbar-material .chess-ib-evalbar-fill {
  background: linear-gradient(180deg, #e8e6dd 0%, #d8d6cd 100%);
}
.chess-ib-board {
  flex: 1;
  aspect-ratio: 1 / 1;
  max-width: 100%;
  min-width: 0;
  background: #0b0e14;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
  position: relative;
}
.chess-mini-board-svg {
  width: 100%;
  height: 100%;
  display: block;
}
/* chessground host — fill the aspect-ratio square parent */
.chess-ib-board .cg-wrap {
  width: 100%;
  height: 100%;
  display: block;
}
/* Override chessground.brown.css with a chess.com-style green theme.
 * Replaces cg-board background with a high-contrast green/cream
 * checkerboard. The SVG below is an 8x8 viewBox with the four "dark"
 * squares of a 2x2 cell painted, then tiled across the board via
 * background-size: 25% 25% so it covers the full 8 rows/files. */
.chess-ib-board .cg-wrap cg-board {
  background-color: #ebecd0;
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2 2'%3E%3Crect width='1' height='1' x='1' fill='%23779556'/%3E%3Crect width='1' height='1' y='1' fill='%23779556'/%3E%3C/svg%3E");
  background-size: 25% 25%;
}
/* Last-move highlight in green theme */
.chess-ib-board .cg-wrap cg-board square.last-move {
  background-color: rgba(255, 255, 50, 0.45);
}
.chess-ib-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 5px;
}
.chess-ib-nav-btn {
  width: 32px;
  height: 28px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  color: var(--text2, #e8f6ff);
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.12s, border-color 0.12s;
  flex-shrink: 0;
}
.chess-ib-nav-btn:hover {
  background: rgba(0, 212, 184, 0.12);
  border-color: rgba(0, 212, 184, 0.4);
}
.chess-ib-nav-btn:active {
  background: rgba(0, 212, 184, 0.2);
}
.chess-ib-ply-label {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--dim, #7a8294);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  flex: 1;
  text-align: center;
  white-space: nowrap;
}
.chess-ib-badge {
  padding: 3px 8px;
  border-radius: 3px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  flex-shrink: 0;
}
.chess-ib-badge-live {
  background: rgba(0, 212, 184, 0.14);
  color: #00d4b8;
  border: 1px solid rgba(0, 212, 184, 0.4);
  animation: chessIbPulse 2s ease-in-out infinite;
}
.chess-ib-badge-done {
  background: rgba(201, 168, 76, 0.14);
  color: var(--gold, #c9a84c);
  border: 1px solid rgba(201, 168, 76, 0.4);
}
@keyframes chessIbPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}
/* Move list sidebar */
.chess-ib-moves-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.chess-ib-moves-header {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 10px;
  font-weight: 800;
  color: var(--dim, #7a8294);
  letter-spacing: 0.1em;
  padding: 0 2px;
}
.chess-ib-moves-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: 360px;
  overflow-y: auto;
  padding: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 5px;
}
.chess-ib-move-row {
  display: grid;
  grid-template-columns: 26px 1fr 1fr;
  gap: 4px;
  align-items: center;
}
.chess-ib-move-num {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--dim, #7a8294);
  text-align: right;
  padding-right: 2px;
}
.chess-ib-move-san {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--text2, #e8f6ff);
  padding: 3px 6px;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.1s;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chess-ib-move-san:hover {
  background: rgba(0, 212, 184, 0.08);
}
.chess-ib-move-current {
  background: rgba(0, 212, 184, 0.22) !important;
  color: #00d4b8;
  font-weight: 800;
}
.chess-ib-lichess-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 12px;
  background: rgba(0, 212, 184, 0.08);
  border: 1px solid rgba(0, 212, 184, 0.3);
  color: var(--acc, #00d4b8);
  text-decoration: none;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: background 0.12s;
}
.chess-ib-lichess-link:hover {
  background: rgba(0, 212, 184, 0.18);
}
/* Loading / error states */
.chess-expand-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px;
}
.chess-mini-board-wrap {
  width: 240px;
  height: 240px;
}
.chess-expand-loading-label {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--dim, #7a8294);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.chess-expand-error {
  padding: 18px;
  text-align: center;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 13px;
  color: var(--dim, #7a8294);
}
.chess-expand-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.chess-expand-players {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
}
.chess-expand-player {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.chess-expand-black {
  flex-direction: row-reverse;
  text-align: right;
}
.chess-expand-color-dot {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
}
.chess-expand-white-dot {
  background: #f5f1e8;
  color: #1a1a1a;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.chess-expand-black-dot {
  background: #1a1a1a;
  color: #f5f1e8;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.chess-expand-player-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.chess-expand-black .chess-expand-player-info {
  align-items: flex-end;
}
.chess-expand-row {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.chess-expand-black .chess-expand-row {
  flex-direction: row-reverse;
}
.chess-expand-name {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--text2, #e8f6ff);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.01em;
}
.chess-expand-rating {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--dim, #7a8294);
  letter-spacing: 0.04em;
}
.chess-expand-vs {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.chess-expand-result {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 13px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 4px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.chess-expand-result-live {
  color: #00d4b8;
  background: rgba(0, 212, 184, 0.1);
  border: 1px solid rgba(0, 212, 184, 0.3);
  animation: chessExpandPulse 2s ease-in-out infinite;
}
@keyframes chessExpandPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}
.chess-expand-result-final {
  color: var(--gold, #c9a84c);
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.3);
}
.chess-expand-cta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: stretch;
}
.chess-expand-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  background: var(--acc, #00d4b8);
  color: #000;
  text-decoration: none;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 6px;
  transition: transform 0.15s, filter 0.15s;
}
.chess-expand-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.1);
}
.chess-expand-hint {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: var(--dim, #7a8294);
  text-align: center;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

/* ═══════════════════════════════════════════════════════════════════
   PRO GATE — definitive upgrade modal + per-feature gate styles
   ═══════════════════════════════════════════════════════════════════ */

/* ── Upgrade modal overlay + card ────────────────────────────────── */
.upgrade-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.upgrade-modal-card {
  background: linear-gradient(160deg, #141c2e 0%, #0F1219 100%);
  border: 1px solid rgba(0, 212, 184, 0.2);
  border-radius: 12px;
  padding: 28px 24px;
  max-width: 380px;
  width: 100%;
  position: relative;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
}
.upgrade-modal-close {
  position: absolute; top: 14px; right: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: #6B7280;
  width: 28px; height: 28px;
  font-size: 12px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: color 0.15s;
}
.upgrade-modal-close:hover { color: #E2E8F0; }
.upgrade-modal-header {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 16px;
}
.upgrade-modal-icon { font-size: 22px; }
.upgrade-modal-pro-badge {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 11px; font-weight: 800; letter-spacing: 0.14em;
  color: #F5C842;
  background: rgba(245, 200, 66, 0.12);
  border: 1px solid rgba(245, 200, 66, 0.3);
  border-radius: 4px;
  padding: 2px 8px;
}
.upgrade-modal-title {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 26px; font-weight: 800;
  color: #E2E8F0;
  margin: 0 0 6px;
}
.upgrade-modal-feature-line {
  font-size: 13px;
  color: #00D4B8;
  margin: 0 0 18px;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.upgrade-modal-perks {
  list-style: none;
  padding: 0; margin: 0 0 22px;
  display: flex; flex-direction: column; gap: 8px;
}
.upgrade-modal-perks li {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px;
  color: #9CA3AF;
}
.perk-check {
  color: #00D4B8;
  font-weight: 700;
  flex-shrink: 0;
}
.perk-gold { color: #F5C842 !important; }
.upgrade-modal-pricing {
  display: flex; gap: 8px;
  margin-bottom: 12px;
}
.upgrade-btn-monthly,
.upgrade-btn-annual {
  flex: 1;
  padding: 12px 10px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  position: relative;
  transition: transform 0.15s, filter 0.15s;
}
.upgrade-btn-monthly:hover,
.upgrade-btn-annual:hover { transform: translateY(-1px); filter: brightness(1.08); }
.upgrade-btn-monthly {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.upgrade-btn-annual { background: #00D4B8; }
.upgrade-btn-label {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.upgrade-btn-monthly .upgrade-btn-label { color: #6B7280; }
.upgrade-btn-annual .upgrade-btn-label { color: rgba(0, 0, 0, 0.7); }
.upgrade-btn-price {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}
.upgrade-btn-monthly .upgrade-btn-price { color: #E2E8F0; }
.upgrade-btn-annual .upgrade-btn-price { color: #000; }
.upgrade-btn-period { font-size: 12px; font-weight: 600; }
.upgrade-no-card {
  font-size: 9px;
  color: #4B5563;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
}
.upgrade-annual-badge {
  position: absolute;
  top: -9px; left: 50%;
  transform: translateX(-50%);
  background: #F5C842;
  color: #000;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 2px 6px;
  border-radius: 3px;
  white-space: nowrap;
}
.upgrade-modal-trial {
  text-align: center;
  font-size: 11px;
  color: #4B5563;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin: 0;
}

/* ── Match Centre tabs gate (replaces tab bar for free users) ───── */
.mc-tabs-gate {
  display: flex; align-items: center; justify-content: center;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.15s;
  margin-bottom: 10px;
}
.mc-tabs-gate:hover { border-color: rgba(245, 200, 66, 0.3); }
.mc-tabs-gate-inner {
  display: flex; align-items: center; gap: 8px;
}
.mc-tabs-gate-icon { font-size: 13px; }
.mc-tabs-gate-text {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #4B5563;
  letter-spacing: 0.04em;
}
.mc-pro-badge-inline {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #F5C842;
  background: rgba(245, 200, 66, 0.12);
  border: 1px solid rgba(245, 200, 66, 0.25);
  border-radius: 3px;
  padding: 2px 5px;
}

/* ── Locked Jarvis pick blocks (free user view) ─────────────────── */
.pick-confidence-locked,
.jarvis-reasoning-locked {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 6px;
  cursor: pointer;
  transition: border-color 0.15s;
  margin: 8px 0;
}
.pick-confidence-locked:hover,
.jarvis-reasoning-locked:hover {
  border-color: rgba(245, 200, 66, 0.3);
}
.pick-conf-lock-icon,
.jarvis-lock-icon {
  font-size: 13px;
  flex-shrink: 0;
}
.pick-conf-lock-label,
.jarvis-lock-text {
  flex: 1;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #6B7280;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── Daily limit wall (when free user hits 3/day) ───────────────── */
.jarvis-daily-wall {
  display: flex; flex-direction: column; align-items: center;
  gap: 8px;
  padding: 28px 20px;
  background: #0F1219;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  text-align: center;
}
.jarvis-wall-icon { font-size: 28px; margin-bottom: 4px; }
.jarvis-wall-title {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #E2E8F0;
  letter-spacing: 0.02em;
}
.jarvis-wall-sub {
  font-size: 13px;
  color: #6B7280;
  max-width: 260px;
}
.jarvis-wall-cta {
  margin-top: 8px;
  padding: 10px 24px;
  background: #00D4B8;
  color: #000;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
.jarvis-wall-reset {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #4B5563;
  letter-spacing: 0.08em;
}

/* ── Picks Arena auth wall (logged-out users) ───────────────────── */
.picks-auth-wall {
  display: flex; flex-direction: column; align-items: center;
  gap: 12px;
  padding: 36px 20px;
  text-align: center;
  min-height: 320px;
}
.picks-auth-icon {
  width: 64px; height: 64px;
  background: rgba(0, 212, 184, 0.08);
  border: 1px solid rgba(0, 212, 184, 0.18);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
}
.picks-auth-title {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #E2E8F0;
  letter-spacing: 0.01em;
}
.picks-auth-sub {
  font-size: 13px;
  color: #6B7280;
  max-width: 260px;
  line-height: 1.5;
}
.picks-auth-actions {
  display: flex; flex-direction: column; gap: 8px;
  width: 100%; max-width: 240px;
  margin-top: 4px;
}
.picks-auth-btn-primary {
  padding: 11px 0;
  background: #00D4B8;
  color: #000;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  width: 100%;
}
.picks-auth-btn-secondary {
  padding: 11px 0;
  background: transparent;
  color: #E2E8F0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 7px;
  cursor: pointer;
  width: 100%;
}
.picks-auth-perks {
  display: flex; flex-direction: column; gap: 8px;
  width: 100%; max-width: 240px;
}
.picks-auth-perk {
  display: flex; align-items: center; gap: 10px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #4B5563;
  letter-spacing: 0.04em;
  text-align: left;
}
.picks-perk-icon { font-size: 14px; flex-shrink: 0; }

/* ── Leaderboard gate row (free users) ──────────────────────────── */
.leaderboard-gate {
  position: relative;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.leaderboard-gate-blur {
  position: absolute;
  top: -40px; left: 0; right: 0;
  height: 40px;
  background: linear-gradient(to bottom, transparent, #0B0E14);
  pointer-events: none;
}
.leaderboard-gate-cta {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #6B7280;
  letter-spacing: 0.06em;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.leaderboard-gate:hover .leaderboard-gate-cta { color: #00D4B8; }

/* ── Resize-handle pro tooltip ──────────────────────────────────── */
.resize-pro-tooltip {
  background: #141820;
  border: 1px solid rgba(245, 200, 66, 0.3);
  border-radius: 5px;
  padding: 5px 10px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #E2E8F0;
  letter-spacing: 0.06em;
  display: flex; align-items: center; gap: 6px;
  white-space: nowrap;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* ── Chat extras locked button (GIF/emote/pin auction) ──────────── */
.chat-extra-locked,
.pin-bid-locked,
.store-buy-locked {
  cursor: pointer;
  opacity: 0.7;
  display: inline-flex; align-items: center; gap: 4px;
}

/* ── Nav: Go Pro link + Sign In button (when rendered dynamically) ── */
.nav-gopro-link {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #F5C842;
  background: rgba(245, 200, 66, 0.08);
  border: 1px solid rgba(245, 200, 66, 0.2);
  border-radius: 5px;
  padding: 5px 11px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
  white-space: nowrap;
  height: 30px;
  display: inline-flex; align-items: center;
}
.nav-gopro-link:hover {
  background: rgba(245, 200, 66, 0.14);
  border-color: rgba(245, 200, 66, 0.35);
}
.nav-signin-btn {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #00D4B8;
  background: transparent;
  border: 1px solid rgba(0, 212, 184, 0.35);
  border-radius: 5px;
  padding: 5px 13px;
  cursor: pointer;
  height: 30px;
  display: inline-flex; align-items: center;
  transition: background 0.15s, border-color 0.15s;
}
.nav-signin-btn:hover {
  background: rgba(0, 212, 184, 0.08);
  border-color: rgba(0, 212, 184, 0.6);
}

/* Force-hide #stream-badge — some legacy code fills it with the current
 * match name and overrides the inline display:none!important. We don't
 * want a match-name pill in the Live Stream panel header at all — the
 * match is already identified by the Match Centre hero card on the right. */
#stream-badge,
#panel-live-stream .ph #stream-badge,
#panel-live-stream > .ph #stream-badge {
  display: none !important;
}

/* ── SAN piece glyphs in chess move list ──
 * Renders a small Unicode chess-piece glyph before each SAN move so
 * the move list matches Lichess's look (e.g. "♘f3" instead of "Nf3").
 * Both colors use the same solid glyph codepoint; we differentiate
 * them by fill color so the white moves are light and black moves
 * dark against the dark move-list background. */
.chess-ib-san-piece {
  display: inline-block;
  font-family: "Arial Unicode MS", "DejaVu Sans", "Segoe UI Symbol", sans-serif;
  font-size: 14px;
  line-height: 1;
  margin-right: 1px;
  vertical-align: -1px;
}
.chess-ib-san-piece-white {
  color: #f5f3eb;
  text-shadow: 0 0 1px #1a1a1a;
}
.chess-ib-san-piece-black {
  color: #1a1a1a;
  text-shadow: 0 0 1px #6b7280, 0 0 1px #6b7280;
}

/* Paused state for the Frags watch widget — shown when the stream is
 * not actually playing (no iframe in #stream-box). The counter halts
 * and the next-tier label is replaced with "PAUSED" so users understand
 * why the clock isn't moving. */
.fm-watch.fm-watch-paused {
  opacity: 0.55;
}
.fm-watch.fm-watch-paused .fm-watch-bar-fill {
  animation: none;
  background: #6b7280;
}
.fm-watch-next.fm-watch-next-paused {
  color: #f0b429 !important;
  font-weight: 800;
  letter-spacing: 0.04em;
}
