@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Playfair+Display:wght@700;800;900&family=DM+Mono:wght@400;500&display=swap');

:root {
  --pc-bg: #f4f6fa;
  --pc-surface: #ffffff;
  --pc-surface-2: #f8f9fc;
  --pc-surface-3: #eef1f7;
  --pc-border: #e2e8f0;
  --pc-border-light: #cbd5e1;
  --pc-text: #0f172a;
  --pc-text-2: #475569;
  --pc-text-3: #94a3b8;
  --pc-gold: #d97706;
  --pc-gold-dim: rgba(217,119,6,0.08);
  --pc-gold-grad: linear-gradient(135deg, #f59e0b, #d97706);
  --pc-green: #059669;
  --pc-green-dim: rgba(5,150,105,0.08);
  --pc-red: #dc2626;
  --pc-red-dim: rgba(220,38,38,0.08);
  --pc-blue: #2563eb;
  --pc-blue-dim: rgba(37,99,235,0.08);
  --pc-teal: #0d9488;
  --pc-teal-dim: rgba(13,148,136,0.08);
  --pc-purple: #7c3aed;
  --pc-purple-dim: rgba(124,58,237,0.08);
  --pc-rose: #e11d48;
  --pc-radius: 12px;
  --pc-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

.pc-page {
  display: flex; gap: 20px; align-items: flex-start; padding: 20px;
  min-height: 100vh; font-family: 'Inter', sans-serif; background: var(--pc-bg); color: var(--pc-text);
  font-feature-settings: "zero" 1;
}

.pc-page {
  font-family: 'Inter', sans-serif;
  font-feature-settings: "zero" 1;
}

/* ─── SIDEBAR ─── */
.pc-sidebar {
  width: 220px; flex-shrink: 0; background: var(--pc-surface);
  border: 1px solid var(--pc-border); border-radius: var(--pc-radius);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  position: sticky; top: 20px; max-height: calc(100vh - 40px);
  overflow-y: auto; display: flex; flex-direction: column;
}
.pc-sidebar::-webkit-scrollbar { width: 3px; }
.pc-sidebar::-webkit-scrollbar-thumb { background: var(--pc-border-light); border-radius: 2px; }

.pc-sidebar-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px; border-bottom: 1px solid var(--pc-border);
}
.pc-logo { font-family: 'Playfair Display', serif; font-size: 13px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.pc-logo i { color: var(--pc-gold); font-size: 14px; }
.pc-badge { font-size: 8px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 2px 8px; border-radius: 20px; background: var(--pc-gold-dim); color: var(--pc-gold); border: 1px solid rgba(245,158,11,0.2); font-family: 'DM Mono', monospace; }

.pc-user-card {
  padding: 14px 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  border-bottom: 1px solid var(--pc-border); background: var(--pc-surface-2);
}
.pc-user-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--pc-surface-3); overflow: hidden; border: 2px solid var(--pc-gold-dim); flex-shrink: 0; }
.pc-user-avatar img { width: 100%; height: 100%; object-fit: cover; }
.pc-user-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pc-user-name { font-size: 12px; font-weight: 700; }
.pc-user-tier { font-size: 9px; color: var(--pc-gold); display: flex; align-items: center; gap: 3px; }
.pc-user-stats-mini { width: 100%; display: flex; align-items: center; justify-content: space-around; padding-top: 8px; border-top: 1px solid var(--pc-border); margin-top: 4px; }
.pc-mini-stat { display: flex; flex-direction: column; align-items: center; gap: 1px; }
.pc-mini-val { font-size: 13px; font-weight: 800; font-family: 'DM Mono', monospace; color: var(--pc-green); }
.pc-mini-lbl { font-size: 7px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--pc-text-3); font-family: 'DM Mono', monospace; }
.pc-mini-div { width: 1px; height: 20px; background: var(--pc-border); }

.pc-nav { padding: 12px 8px; flex: 1; display: flex; flex-direction: column; gap: 2px; }
.pc-nav-section-label { font-size: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--pc-text-3); padding: 6px 8px 6px; font-family: 'DM Mono', monospace; }
.pc-nav-item {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  border-radius: 8px; border: none; background: transparent; color: var(--pc-text-2);
  font-size: 12px; font-weight: 600; cursor: pointer; transition: all 0.15s; width: 100%;
  text-align: left; font-family: 'Inter', sans-serif; position: relative;
}
.pc-nav-item i { font-size: 13px; width: 18px; text-align: center; }
.pc-nav-item:hover { background: var(--pc-surface-2); color: var(--pc-text); }
.pc-nav-item.active { background: var(--pc-gold-dim); color: var(--pc-gold); }
.pc-nav-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--pc-gold); margin-left: auto; }
.pc-nav-count { margin-left: auto; font-size: 9px; font-weight: 700; color: var(--pc-text-3); background: var(--pc-surface-3); padding: 1px 7px; border-radius: 10px; }
.pc-nav-vip {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 6px;
  border: 1px solid rgba(245,158,11,0.25);
  border-radius: 5px;
  background: var(--pc-gold-dim);
  color: var(--pc-gold);
  font-size: 8px;
  font-weight: 800;
  line-height: 1;
}
.pc-nav-vip i { width: auto; font-size: 8px; }
.pc-nav-item[data-premium-locked="true"] { cursor: pointer; }
.pc-live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--pc-red); margin-left: auto; animation: pc-pulse 1.5s infinite; }
@keyframes pc-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.pc-sidebar-footer { padding: 12px 16px; border-top: 1px solid var(--pc-border); }
.pc-online-count { display: flex; align-items: center; gap: 8px; font-size: 10px; color: var(--pc-text-3); font-weight: 500; }
.pc-online-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--pc-green); }

/* ─── MAIN CONTENT ─── */
.pc-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 16px; }

.pc-tab-content { display: none; flex-direction: column; gap: 16px; }
@keyframes pcTabFadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.pc-tab-content.active { display: flex; animation: pcTabFadeUp 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28) forwards; }

.pc-tab-header {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  padding: 18px 20px; background: var(--pc-surface); border: 1px solid var(--pc-border);
  border-radius: var(--pc-radius); box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.pc-tab-title { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.pc-tab-title i { font-size: 16px; color: var(--pc-gold); }
.pc-tab-sub { font-size: 11px; color: var(--pc-text-3); width: 100%; }

.pc-live-badge { display: flex; align-items: center; gap: 5px; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--pc-red); background: var(--pc-red-dim); padding: 4px 10px; border-radius: 20px; font-family: 'DM Mono', monospace; margin-left: auto; }
.pc-live-indicator { width: 5px; height: 5px; border-radius: 50%; background: var(--pc-red); animation: pc-pulse 1s infinite; }
.pc-consensus-type.pending {
  color: var(--pc-text-3);
  background: var(--pc-surface-3);
  border-color: var(--pc-border);
}

/* ─── CONSENSUS CARDS ─── */
.pc-consensus-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.pc-consensus-card {
  background: var(--pc-surface);
  border: 1px solid var(--pc-border);
  border-radius: var(--pc-radius);
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  padding: 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  position: relative;
  overflow: hidden;
}
.pc-consensus-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}
.pc-agree::before    { background: linear-gradient(135deg, rgba(0,196,140,0.06), transparent 70%); }
.pc-disagree::before { background: linear-gradient(135deg, rgba(245,158,11,0.07), transparent 70%); }
.pc-live::before     { background: linear-gradient(135deg, rgba(59,130,246,0.07), transparent 70%); }
.pc-accuracy::before { background: linear-gradient(135deg, rgba(139,92,246,0.07), transparent 70%); }
.pc-consensus-card:hover::before { opacity: 1; }
.pc-consensus-card .pc-card-icon {
  width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; margin-bottom: 4px;
  transition: filter 0.2s ease;
}
.pc-agree .pc-card-icon    { background: var(--pc-green-dim);  color: var(--pc-green);  }
.pc-disagree .pc-card-icon { background: var(--pc-gold-dim);   color: var(--pc-gold);   }
.pc-live .pc-card-icon     { background: var(--pc-blue-dim);   color: var(--pc-blue);   }
.pc-accuracy .pc-card-icon { background: var(--pc-purple-dim); color: var(--pc-purple); }
.pc-agree:hover .pc-card-icon    { filter: drop-shadow(0 0 8px rgba(0,196,140,0.5)); }
.pc-disagree:hover .pc-card-icon { filter: drop-shadow(0 0 8px rgba(245,158,11,0.5)); }
.pc-live:hover .pc-card-icon     { filter: drop-shadow(0 0 8px rgba(59,130,246,0.5)); }
.pc-accuracy:hover .pc-card-icon { filter: drop-shadow(0 0 8px rgba(139,92,246,0.5)); }
.pc-card-num { font-size: 22px; font-weight: 900; font-family: 'DM Mono', monospace; }
.pc-agree .pc-card-num    { color: var(--pc-green); }
.pc-disagree .pc-card-num { color: var(--pc-gold); }
.pc-live .pc-card-num     { color: var(--pc-blue); }
.pc-accuracy .pc-card-num { color: var(--pc-purple); }
.pc-card-label { font-size: 11px; font-weight: 700; }
.pc-card-sub { font-size: 9px; color: var(--pc-text-3); }

/* ─── CONSENSUS MATCH CARDS (new design) ─── */
.pc-consensus-list { overflow-x: hidden; display: flex; flex-direction: column; gap: 8px; }

.pc-consensus-empty {
  text-align: center; padding: 40px 20px; color: var(--pc-text-3);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.pc-consensus-empty i { font-size: 28px; opacity: 0.3; }
.pc-consensus-empty p { font-size: 12px; }
.pc-consensus-retry {
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid var(--pc-border);
  border-radius: 6px;
  background: var(--pc-surface);
  color: var(--pc-text);
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.pc-consensus-retry:hover { border-color: var(--pc-gold); color: var(--pc-gold); }
.pc-consensus-retry i { margin-right: 5px; font-size: 11px; opacity: 1; }

/* Card wrapper */
.pc-mc {
  background: var(--pc-surface); border: 1px solid var(--pc-border);
  border-radius: 10px; box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  display: flex; flex-direction: column; gap: 0;
  transition: border-color 0.15s, box-shadow 0.15s; overflow: hidden;
}
.pc-mc:hover { border-color: var(--pc-border-light); box-shadow: 0 3px 10px rgba(0,0,0,0.08); }

/* Row 1 — Meta: time + league | consensus badge */
.pc-mc-meta {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 14px; background: var(--pc-surface-2);
  border-bottom: 1px solid var(--pc-border);
}
.pc-mc-meta-left { display: flex; align-items: center; gap: 8px; }
.pc-mc-time-txt { font-size: 11px; font-weight: 700; font-family: 'DM Mono', monospace; color: var(--pc-text); }
.pc-mc-live-badge {
  font-size: 9px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--pc-red); background: var(--pc-red-dim); padding: 2px 8px;
  border-radius: 20px; font-family: 'DM Mono', monospace;
  animation: pc-pulse 1.5s infinite;
}
.pc-mc-league-tag {
  display: flex; align-items: center; gap: 4px;
  font-size: 10px; color: var(--pc-text-3); font-weight: 500;
}
.pc-mc-league-logo { width: 13px; height: 13px; object-fit: contain; border-radius: 2px; }

/* Row 2 — Teams */
.pc-mc-teams {
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 10px; padding: 12px 16px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.pc-mc-teams:hover {
  background-color: var(--pc-surface-2);
}

.pc-mc-team { display: flex; align-items: center; gap: 8px; min-width: 0; }
.pc-mc-home { flex-direction: row; }
.pc-mc-away { flex-direction: row-reverse; }
.pc-mc-team-name {
  font-size: 13px; font-weight: 700; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
.pc-mc-home .pc-mc-team-name { text-align: left; }
.pc-mc-away .pc-mc-team-name { text-align: right; }
.pc-mc-logo { width: 28px; height: 28px; object-fit: contain; flex-shrink: 0; border-radius: 4px; }
.pc-mc-logo-placeholder {
  width: 28px; height: 28px; border-radius: 4px; flex-shrink: 0;
  background: var(--pc-surface-3); display: flex; align-items: center;
  justify-content: center; font-size: 11px; font-weight: 700; color: var(--pc-text-3);
}
.pc-mc-vs-pill {
  font-size: 9px; font-weight: 800; letter-spacing: 0.06em; color: var(--pc-text-3);
  background: var(--pc-surface-3); border-radius: 20px; padding: 3px 8px;
  flex-shrink: 0; font-family: 'DM Mono', monospace;
}

/* Row 3 — Footer: bars + vote */
.pc-mc-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; border-top: 1px solid var(--pc-border);
  gap: 16px; background: var(--pc-surface);
}
.pc-mc-bars { display: flex; flex-direction: column; gap: 5px; flex: 1; min-width: 0; }
.pc-mc-bar-row { display: flex; align-items: center; gap: 8px; }
.pc-mc-bar-lbl {
  font-size: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--pc-text-3); font-family: 'DM Mono', monospace; width: 30px; flex-shrink: 0;
}
.pc-mc-bar-track {
  flex: 1; height: 5px; background: var(--pc-surface-3);
  border-radius: 3px; overflow: hidden; min-width: 60px;
}
.pc-mc-bar-fill { height: 100%; border-radius: 3px; transition: width 0.4s ease; }
.pc-mc-bar-fill.ai { background: var(--pc-green); }
.pc-mc-bar-fill.comm-agree { background: var(--pc-green); opacity: 0.6; }
.pc-mc-bar-fill.comm-dis { background: var(--pc-gold); }
.pc-mc-bar-val {
  font-size: 10px; color: var(--pc-text-2); white-space: nowrap; min-width: 80px;
}
.pc-mc-bar-val strong { font-weight: 700; color: var(--pc-text); }
.pc-mc-bar-val.muted { color: var(--pc-text-3); font-style: italic; }

/* Keep old pc-match-card for legacy, hidden */
.pc-match-card { display: none; }


.pc-section-hdr span { font-size: 13px; font-weight: 700; color: var(--pc-text-2); }
.pc-tabs-toggle { display: flex; gap: 4px; }
.pc-toggle-btn { font-size: 10px; font-weight: 600; padding: 4px 12px; border-radius: 6px; border: 1px solid var(--pc-border); background: transparent; color: var(--pc-text-3); cursor: pointer; transition: all 0.15s; font-family: 'Inter', sans-serif; }
.pc-toggle-btn:hover { border-color: var(--pc-border-light); color: var(--pc-text); }
.pc-toggle-btn.active { background: var(--pc-gold-dim); border-color: rgba(245,158,11,0.3); color: var(--pc-gold); }

.pc-match-card {
  display: flex; align-items: center; gap: 12px; padding: 12px 16px;
  background: var(--pc-surface); border: 1px solid var(--pc-border); border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  margin-bottom: 8px; transition: border-color 0.15s, box-shadow 0.15s;
  flex-wrap: wrap; /* lets inline picker wrap to next row */
  overflow: hidden; /* prevent any child from breaking page width */
}
.pc-consensus-list { overflow-x: hidden; }

.pc-match-card:hover { border-color: var(--pc-border-light); box-shadow: 0 3px 8px rgba(0,0,0,0.08); }
.pc-match-card .pc-match-time { font-size: 9px; color: var(--pc-text-3); font-family: 'DM Mono', monospace; width: 40px; }
.pc-match-teams { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pc-match-teams .pc-team { font-size: 12px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.pc-match-teams .pc-team .pc-team-flag { font-size: 14px; }
.pc-match-teams .pc-vs { font-size: 9px; color: var(--pc-text-3); margin-left: 20px; }
.pc-match-stats { display: flex; align-items: center; gap: 10px; }
.pc-bar-wrap { display: flex; align-items: center; gap: 6px; font-size: 9px; color: var(--pc-text-3); }
.pc-bar { width: 60px; height: 4px; background: var(--pc-surface-3); border-radius: 2px; overflow: hidden; }
.pc-bar-fill { height: 100%; border-radius: 2px; }
.pc-bar-fill.green { background: var(--pc-green); }
.pc-bar-fill.gold { background: var(--pc-gold); }
.pc-bar-fill.blue { background: var(--pc-blue); }
.pc-consensus-type { font-size: 8px; font-weight: 700; padding: 2px 8px; border-radius: 4px; text-transform: uppercase; font-family: 'DM Mono', monospace; }
.pc-consensus-type.agree { background: var(--pc-green-dim); color: var(--pc-green); border: 1px solid rgba(16,185,129,0.2); }
.pc-consensus-type.disagree { background: var(--pc-gold-dim); color: var(--pc-gold); border: 1px solid rgba(245,158,11,0.2); }

/* ─── VOTE BUTTON & PICKER ─── */
.pc-vote-area { position: relative; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex-shrink: 0; }

.pc-vote-count {
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(37,99,235,0.2); color: var(--pc-blue);
  font-size: 9px; font-weight: 800; padding: 1px 6px; border-radius: 10px;
  margin-left: 2px; font-family: 'DM Mono', monospace;
}

.pc-vote-pick-btn {
  font-size: 11px; font-weight: 700; padding: 7px 14px; border-radius: 7px;
  border: 1.5px solid var(--pc-blue); background: var(--pc-blue-dim); color: var(--pc-blue);
  cursor: pointer; transition: all 0.15s; font-family: 'Inter', sans-serif;
  display: flex; align-items: center; gap: 5px; white-space: nowrap;
}
.pc-vote-pick-btn:hover { background: var(--pc-blue); color: #fff; }
.pc-vote-pick-btn.has-votes {
  background: var(--pc-green-dim);
  border-color: var(--pc-green);
  color: var(--pc-green);
}
.pc-vote-btn {
  font-size: 11px; font-weight: 700; padding: 7px 14px; border-radius: 7px;
  border: 1.5px solid var(--pc-border); background: transparent; color: var(--pc-text-2);
  cursor: pointer; transition: all 0.15s; font-family: 'Inter', sans-serif;
  display: flex; align-items: center; gap: 5px; white-space: nowrap;
}
.pc-vote-btn:hover { background: var(--pc-surface-2); border-color: var(--pc-gold); color: var(--pc-gold); }
.pc-vote-btn.voted { background: var(--pc-gold-dim); border-color: var(--pc-gold); color: var(--pc-gold); }

/* Inline vote picker — appears below the vote button, contained in the card */
.pc-inline-picker {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px;
  background: var(--pc-surface-2); border: 1px solid var(--pc-border);
  border-radius: 8px; padding: 6px 10px;
  animation: pickerSlideIn 0.18s ease;
  flex-shrink: 0;
  width: 100%;  /* span the full card width when it wraps */
  justify-content: stretch;
}
@keyframes pickerSlideIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.pc-pick-opt {
  font-size: 10px; font-weight: 700; padding: 5px 12px; border-radius: 6px;
  border: 1px solid var(--pc-border); cursor: pointer;
  background: var(--pc-surface); color: var(--pc-text-2);
  font-family: 'Inter', sans-serif; transition: all 0.12s; white-space: nowrap;
}
.pc-pick-opt:hover { background: var(--pc-blue); color: #fff; border-color: var(--pc-blue); }
.pc-pick-markets,
.pc-pick-options {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}
.pc-pick-options {
  justify-content: flex-end;
}
.pc-pick-market {
  border: 1px solid var(--pc-border);
  border-radius: 6px;
  background: var(--pc-surface);
  color: var(--pc-text-3);
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  font-weight: 800;
  padding: 6px 8px;
  white-space: nowrap;
}
.pc-pick-market.active {
  border-color: var(--pc-blue);
  background: var(--pc-blue-dim);
  color: var(--pc-blue);
}
.pc-pick-market.is-voted::after {
  content: ' \2713';
  color: var(--pc-green);
}
.pc-pick-cancel {
  font-size: 13px; color: var(--pc-text-3); background: transparent; border: none;
  cursor: pointer; padding: 2px 6px; font-family: 'Inter', sans-serif;
  transition: color 0.12s; line-height: 1;
}
.pc-pick-cancel:hover { color: var(--pc-red); }

/* ─── SECTION HEADER ─── */
.pc-section-hdr { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; }

/* ─── LEADERBOARD ─── */
.pc-leaderboard-filters { display: flex; align-items: center; gap: 10px; }
.pc-lb-tabs { display: flex; gap: 4px; background: var(--pc-surface); border: 1px solid var(--pc-border); border-radius: 8px; padding: 3px; }
.pc-lb-tab { font-size: 10px; font-weight: 600; padding: 5px 12px; border-radius: 6px; border: none; background: transparent; color: var(--pc-text-3); cursor: pointer; transition: all 0.15s; font-family: 'Inter', sans-serif; }
.pc-lb-tab:hover { color: var(--pc-text); }
.pc-lb-tab.active { background: var(--pc-gold-dim); color: var(--pc-gold); }
.pc-lb-market select { font-size: 10px; font-weight: 600; padding: 5px 10px; border-radius: 6px; border: 1px solid var(--pc-border); background: var(--pc-surface); color: var(--pc-text-2); cursor: pointer; font-family: 'Inter', sans-serif; }
.pc-performance-section .pc-perf-stats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.pc-performance-section .pc-perf-item { min-width: 0; padding: 8px; border: 1px solid var(--pc-border); border-radius: 8px; background: var(--pc-surface-2); flex-direction: column; align-items: flex-start; }
.pc-performance-section .pc-perf-val { font-size: 14px; }

.pc-podium { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; align-items: stretch; margin: 16px 0 18px; }
.pc-podium-item { min-width: 0; background: var(--pc-surface); border: 1px solid var(--pc-border); border-radius: var(--pc-radius); padding: 18px 12px 14px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 7px; position: relative; box-shadow: 0 4px 14px rgba(15,23,42,0.06); overflow: hidden; }
.pc-podium-item::before { content: ''; position: absolute; inset: 0 0 auto; height: 3px; background: var(--pc-border-light); }
.pc-place-1 { border-color: rgba(245,158,11,0.55); background: linear-gradient(180deg, var(--pc-gold-dim) 0%, var(--pc-surface) 42%); }
.pc-place-1::before { background: #f59e0b; }
.pc-place-2::before { background: #94a3b8; }
.pc-place-3::before { background: #b7794b; }
.pc-place-4::before { background: var(--pc-blue); }
.pc-podium-rank { position: absolute; top: 9px; left: 10px; font-size: 18px; font-weight: 900; color: var(--pc-text-3); opacity: 0.72; }
.pc-podium-rank span { font-size: 10px; margin-right: 1px; }
.pc-1st .pc-podium-rank { color: var(--pc-gold); opacity: 1; }
.pc-podium-crown { position: absolute; top: 8px; right: 10px; font-size: 15px; color: var(--pc-gold); }
.pc-podium-avatar { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; background: var(--pc-surface-3); border: 2px solid var(--pc-border); }
.pc-1st .pc-podium-avatar { width: 56px; height: 56px; border-color: var(--pc-gold); box-shadow: 0 0 0 4px var(--pc-gold-dim); }
.pc-podium-avatar img { width: 100%; height: 100%; object-fit: cover; }
.pc-podium-name { max-width: 100%; font-size: 12px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-podium-badge { min-height: 20px; display: inline-flex; align-items: center; padding: 3px 7px; border-radius: 999px; background: var(--pc-green-dim); color: var(--pc-green); font-size: 8px; font-weight: 800; }
.pc-podium-primary { display: flex; align-items: baseline; gap: 4px; }
.pc-podium-primary strong { color: var(--pc-text); font-size: 24px; font-weight: 900; line-height: 1; }
.pc-podium-primary span { color: var(--pc-text-3); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.pc-podium-metrics { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--pc-border); border-bottom: 1px solid var(--pc-border); }
.pc-podium-metrics span { min-width: 0; padding: 7px 2px; display: flex; flex-direction: column; gap: 2px; color: var(--pc-text-3); font-size: 7px; text-transform: uppercase; }
.pc-podium-metrics span + span { border-left: 1px solid var(--pc-border); }
.pc-podium-metrics strong { color: var(--pc-text); font-size: 10px; }
.pc-podium-metrics strong.positive { color: var(--pc-green); }
.pc-podium-metrics strong.negative { color: var(--pc-red); }
.pc-podium-record { color: var(--pc-text-3); font-size: 9px; }
.pc-tail-btn {
  margin-top: 4px;
  font-size: 9px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  border: 1px solid var(--pc-gold);
  background: var(--pc-gold-dim);
  color: var(--pc-gold);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-family: 'Inter', sans-serif;
  transition: all 0.15s ease-in-out;
}
.pc-tail-btn:hover {
  background: var(--pc-gold);
  color: #0f1117;
}

/* Active / Tailing state with modern social hover to unfollow */
.pc-tail-btn.active {
  border-color: var(--pc-green);
  background: var(--pc-green-dim);
  color: var(--pc-green);
}
.pc-tail-btn.active .pc-tail-btn-hover {
  display: none;
}
.pc-tail-btn.active:hover {
  border-color: var(--pc-red) !important;
  background: var(--pc-red-dim) !important;
  color: var(--pc-red) !important;
}
.pc-tail-btn.active:hover .pc-tail-btn-normal {
  display: none;
}
.pc-tail-btn.active:hover .pc-tail-btn-hover {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.pc-lb-standings-title { display: flex; align-items: center; justify-content: space-between; margin: 4px 0 8px; color: var(--pc-text); font-size: 12px; font-weight: 800; }
.pc-lb-standings-title div { display: flex; align-items: center; gap: 6px; }
.pc-lb-standings-title i { color: var(--pc-gold); }
.pc-lb-standings-title span { color: var(--pc-text-3); font-size: 9px; font-weight: 700; }
.pc-lb-row {
  display: grid; grid-template-columns: 52px minmax(160px, 1fr) 82px 82px 78px 68px 92px;
  align-items: center; gap: 10px; padding: 10px 16px;
  background: var(--pc-surface); border: 1px solid var(--pc-border); border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  margin-bottom: 6px; font-size: 11px;
}
.pc-lb-row.pc-lb-header { font-size: 9px; color: var(--pc-text-3); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 8px 16px; background: transparent; border-color: transparent; }
.pc-lb-rank { font-weight: 800; color: var(--pc-text-3); font-family: 'DM Mono', monospace; }
.pc-lb-tipster { min-width: 0; display: flex; align-items: center; gap: 9px; }
.pc-lb-avatar { width: 28px; height: 28px; border-radius: 50%; overflow: hidden; background: var(--pc-surface-3); }
.pc-lb-avatar img { width: 100%; height: 100%; object-fit: cover; }
.pc-lb-identity { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pc-lb-name { min-width: 0; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-lb-identity small { color: var(--pc-text-3); font-size: 8px; }
.pc-lb-record { font-size: 10px; color: var(--pc-text-3); }
.pc-lb-record strong { color: var(--pc-green); }
.pc-lb-record b { color: var(--pc-red); }
.pc-lb-win-rate { font-weight: 800; color: var(--pc-text); }
.pc-lb-roi { font-weight: 800; font-family: 'DM Mono', monospace; color: var(--pc-green); }
.pc-lb-roi.neg { color: var(--pc-red); }
.pc-lb-streak { width: max-content; min-width: 32px; padding: 4px 7px; border-radius: 999px; text-align: center; font-size: 9px; font-weight: 800; background: var(--pc-surface-2); color: var(--pc-text-3); }
.pc-lb-streak.is-win { background: var(--pc-green-dim); color: var(--pc-green); }
.pc-lb-streak.is-loss { background: var(--pc-red-dim); color: var(--pc-red); }
.pc-lb-action { display: flex; justify-content: flex-end; }
.pc-lb-row.is-provisional { opacity: 0.76; }

/* ─── STRATEGY LIBRARY ─── */
.pc-strat-actions { display: flex; align-items: center; gap: 10px; }
.pc-strat-share-btn { font-size: 11px; font-weight: 700; padding: 8px 16px; border-radius: 8px; border: none; background: var(--pc-gold-grad); color: #0f1117; cursor: pointer; display: flex; align-items: center; gap: 6px; font-family: 'Inter', sans-serif; text-decoration: none; transition: all 0.15s; }
.pc-strat-share-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(245,158,11,0.3); }
.pc-strat-search-wrap { flex: 1; max-width: 280px; position: relative; }
.pc-strat-search-wrap i { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); font-size: 11px; color: var(--pc-text-3); }
.pc-strat-search-wrap input { width: 100%; padding: 8px 10px 8px 28px; border-radius: 8px; border: 1px solid var(--pc-border); background: var(--pc-surface); color: var(--pc-text); font-size: 11px; font-family: 'Inter', sans-serif; }
.pc-strat-search-wrap input:focus { outline: none; border-color: var(--pc-gold); }

.pc-strat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
.pc-strat-card { background: var(--pc-surface); border: 1px solid var(--pc-border); border-radius: var(--pc-radius); padding: 16px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 1px 4px rgba(0,0,0,0.05); transition: border-color 0.15s, box-shadow 0.15s; }
.pc-strat-card:hover { border-color: var(--pc-border-light); box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.pc-strat-icon { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.pc-strat-icon.teal { background: var(--pc-teal-dim); color: var(--pc-teal); }
.pc-strat-icon.blue { background: var(--pc-blue-dim); color: var(--pc-blue); }
.pc-strat-icon.purple { background: var(--pc-purple-dim); color: var(--pc-purple); }
.pc-strat-icon.gold { background: var(--pc-gold-dim); color: var(--pc-gold); }
.pc-strat-icon.red { background: var(--pc-red-dim); color: var(--pc-red); }
.pc-strat-name { font-size: 12px; font-weight: 700; }
.pc-strat-desc { font-size: 10px; color: var(--pc-text-3); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pc-strat-meta { display: flex; align-items: center; justify-content: space-between; font-size: 9px; color: var(--pc-text-3); padding-top: 4px; border-top: 1px solid var(--pc-border); }
.pc-strat-author { display: flex; align-items: center; gap: 4px; }
.pc-strat-author img { width: 14px; height: 14px; border-radius: 50%; }
.pc-apply-strat { font-size: 9px; font-weight: 700; padding: 4px 12px; border-radius: 6px; border: 1px solid var(--pc-border); background: transparent; color: var(--pc-text-2); cursor: pointer; transition: all 0.15s; font-family: 'Inter', sans-serif; }
.pc-apply-strat:hover { background: var(--pc-surface-2); border-color: var(--pc-blue); color: var(--pc-blue); }

/* ─── SWEAT ROOM ─── */
.pc-sweat-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; min-height: 400px; }
.pc-sweat-live-matches { background: var(--pc-surface); border: 1px solid var(--pc-border); border-radius: var(--pc-radius); padding: 10px; display: flex; flex-direction: column; gap: 8px; max-height: 450px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,0.05); }
.pc-sweat-filters {
    flex: 0 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    padding: 3px;
    border: 1px solid var(--pc-border);
    border-radius: 8px;
    background: var(--pc-surface-2);
}
.pc-sweat-filter {
    min-width: 0;
    min-height: 30px;
    padding: 5px 6px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--pc-text-3);
    font: 700 10px/1 "Inter", sans-serif;
    cursor: pointer;
}
.pc-sweat-filter span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 17px;
    height: 17px;
    margin-left: 3px;
    padding: 0 4px;
    border-radius: 999px;
    background: rgba(100, 116, 139, 0.12);
    font-size: 8px;
}
.pc-sweat-filter-live span {
    background: rgba(203, 24, 24, 0.12);
    color: #cb1818;
    font-weight: 900;
}
.dark-mode .pc-sweat-filter-live span {
    background: rgba(248, 113, 113, 0.16);
    color: #f87171;
}
.pc-sweat-filter.active {
    background: var(--pc-surface);
    color: var(--pc-teal);
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.12);
}
.pc-sweat-track {
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
}
.pc-sweat-loading {
    flex: 0 0 auto;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--pc-text-3);
    font-size: 10px;
}
.pc-live-match {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 10px 12px;
    background: var(--pc-surface-2);
    border: 1px solid var(--pc-border);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}
.pc-live-match::after {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: transparent;
    border-radius: 10px 0 0 10px;
    transition: background 0.2s ease;
}
.pc-live-match.is-live::after {
    background: #e11d48;
    box-shadow: 0 0 8px rgba(225,29,72,0.6);
}
.pc-live-match:hover {
    border-color: var(--pc-border-light);
    background: var(--pc-surface);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.pc-live-match.active {
    border-color: rgba(225,29,72,0.5);
    background: rgba(225,29,72,0.06);
    box-shadow: 0 0 0 1px rgba(225,29,72,0.2) inset, 0 4px 20px rgba(225,29,72,0.15);
}

/* Header row: League | Minute */
.pc-lm-header { display: flex; align-items: center; justify-content: space-between; }
.pc-lm-league { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--pc-text-3); display: flex; align-items: center; gap: 4px; }
.pc-lm-league i { font-size: 8px; }
.pc-lm-minute { font-size: 11px; color: rgb(203, 24, 24); font-weight: 700; }

/* Body row: [Logo + Name] | [Score + Chatters] | [Name + Logo] */
.pc-lm-body { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }

.pc-lm-team { display: flex; align-items: center; gap: 6px; min-width: 0; }
.pc-lm-home { flex-direction: row; }
.pc-lm-away { flex-direction: row-reverse; }

.pc-lm-logo { width: 26px; height: 26px; border-radius: 5px; object-fit: cover; flex-shrink: 0; border: 1px solid var(--pc-border); }

.pc-lm-name { font-size: 11px; font-weight: 700; color: var(--pc-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.pc-lm-home .pc-lm-name { text-align: left; }
.pc-lm-away .pc-lm-name { text-align: right; }

/* Score + Chatters stacked in center */
.pc-lm-scorebox { display: flex; flex-direction: column; align-items: center; gap: 3px; flex-shrink: 0; }
.pc-lm-score { font-size: 12px; font-weight: 900; font-family: Arial, sans-serif; color: rgb(203, 24, 24); line-height: 1; }
.pc-lm-chatters { font-size: 9px; color: var(--pc-text-3); display: flex; align-items: center; gap: 3px; font-family: 'DM Mono', monospace; }
.pc-lm-chatters i { font-size: 8px; }

/* Active state overrides */
.pc-live-match.active .pc-lm-score { color: rgb(203, 24, 24); }


.pc-sweat-chat { background: var(--pc-surface); border: 1px solid var(--pc-border); border-radius: var(--pc-radius); display: flex; flex-direction: column; box-shadow: 0 1px 4px rgba(0,0,0,0.05); }
.pc-sweat-chat { background: #efeae2; border: 1px solid var(--pc-border); border-radius: var(--pc-radius); display: flex; flex-direction: column; box-shadow: 0 1px 4px rgba(0,0,0,0.05); overflow: hidden; }
.pc-chat-header { background: #fff; display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; border-bottom: 1px solid var(--pc-border); z-index: 10; }
.pc-chat-back,
.pc-chat-fixture-strip,
.pc-chat-stats-link,
.pc-chat-odds-strip,
.pc-chat-room-tabs {
  display: none;
}
.pc-chat-match-title { font-size: 13px; font-weight: 700; color: #111b21; }
.pc-chat-injury-time { display: none; }
.pc-chat-goal-anchor {
  position: absolute;
  left: 50%;
  top: -24px;
  transform: translateX(-50%);
  min-height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 3;
}

.pc-chat-status-label.label-live {
  color: #e11d48 !important;
  font-weight: 900;
}

.pc-chat-status-label.label-finished {
  color: var(--pc-text-3);
  font-weight: 800;
}

.pc-live-match.is-finished .pc-lm-minute {
  color: var(--pc-text-3);
  background: rgba(100, 116, 139, 0.1);
}

.pc-live-match.is-finished .pc-lm-score {
  color: var(--pc-text-2);
}

.pc-live-match.is-upcoming .pc-lm-minute {
  color: var(--pc-gold);
  background: rgba(245, 158, 11, 0.12);
}

.pc-live-match.is-upcoming .pc-lm-score {
  color: var(--pc-text-3);
}

.pc-sweat-chat.goal-stage-active .pc-chat-score-center {
  animation: pcSweatGoalScorePulse 0.8s ease-in-out 3;
}

.pc-sweat-chat .ls-goal-indicator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0;
}

.pc-sweat-chat .ls-goal-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: center;
  color: #ffffff;
  background: linear-gradient(135deg, #e11d48 0%, #ff4166 55%, #fb7185 100%);
  box-shadow: 0 10px 24px rgba(225, 29, 72, 0.34), 0 0 0 1px rgba(255, 255, 255, 0.22) inset;
  animation: pcSweatGoalBadgeTravel 1s ease-in-out 3;
}

@keyframes pcSweatGoalScorePulse {
  0%, 100% { transform: scale(1); }
  45% { transform: scale(1.08); }
}

@keyframes pcSweatGoalBadgeTravel {
  0% { opacity: 0; transform: translateY(-18px) scale(0.9); }
  18% { opacity: 1; transform: translateY(0) scale(1.06); }
  58% { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(-16px) scale(0.94); }
}
.pc-chat-match-minute { font-size: 10px; font-weight: 800; color: currentColor; }
.pc-chat-match-minute.score-live { color: rgb(203, 24, 24); }
.pc-chat-match-minute.score-faded { color: var(--pc-text-3); }
.pc-chat-match-minute.score-upcoming { color: var(--pc-gold); }

.pc-chat-match-score { font-size: 12px; font-weight: 900; color: rgb(203, 24, 24); }
.pc-chat-match-score .score-upcoming { color: var(--pc-gold); }
.pc-sweat-chat[data-match-state="finished"] .pc-chat-match-score [data-role] {
  color: var(--pc-text-3) !important;
  text-shadow: none !important;
}
.pc-sweat-chat[data-match-state="finished"] .pc-chat-match-score .score-strong {
  color: var(--pc-text) !important;
}
.pc-sweat-chat[data-match-state="upcoming"] .pc-chat-match-score [data-role] {
  color: var(--pc-gold) !important;
  text-shadow: none !important;
}
.pc-sweat-countdown {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}
.pc-chat-messages { flex: 1; padding: 16px; overflow-y: auto; max-height: 400px; display: flex; flex-direction: column; gap: 8px; background-image: url('https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png'); background-repeat: repeat; }
.pc-chat-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; color: #667781; gap: 8px; font-size: 12px; background: rgba(255,255,255,0.8); border-radius: 12px; margin: auto; padding: 20px; }
.pc-chat-empty i { font-size: 32px; color: #00a884; opacity: 0.8; }
.pc-chat-empty-logo-dark { display: none; }
.dark-mode .pc-chat-empty-logo-light { display: none; }
.dark-mode .pc-chat-empty-logo-dark { display: block; }
.pc-chat-room-empty { display: none; }

.pc-chat-msg { display: flex; flex-direction: column; max-width: 85%; padding: 6px 10px; border-radius: 8px; position: relative; font-size: 12.5px; box-shadow: 0 1px 1px rgba(0,0,0,0.1); line-height: 1.4; }
.pc-chat-msg.others { align-self: flex-start; background: #fff; border-top-left-radius: 0; }
.pc-chat-msg.me { align-self: flex-end; background: #d9fdd3; border-top-right-radius: 0; }

.pc-chat-msg-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 2px; }
.pc-chat-msg-name { font-weight: 700; font-size: 11px; color: #53bdeb; }
.pc-chat-msg.me .pc-chat-msg-name { color: #00a884; }
.pc-chat-msg-time { font-size: 9px; color: #667781; margin-left: auto; align-self: flex-end; margin-top: 2px; }

.pc-chat-msg-reply-to { background: rgba(0,0,0,0.05); border-left: 3px solid #00a884; padding: 4px 8px; border-radius: 4px; margin-bottom: 4px; font-size: 11px; cursor: pointer; }
.pc-chat-msg-reply-name { font-weight: 700; color: #00a884; display: block; margin-bottom: 2px; }
.pc-chat-msg-reply-text { color: #667781; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.pc-chat-input-area { background: #f0f2f5; padding: 8px 12px; display: flex; flex-direction: column; gap: 6px; }
.pc-chat-reply-preview { background: #fff; border-left: 4px solid #00a884; padding: 6px 10px; border-radius: 6px; display: none; align-items: center; justify-content: space-between; animation: slideUp 0.2s ease; }
.pc-chat-reply-preview.active { display: flex; }
@keyframes slideUp { from { transform: translateY(10px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.pc-chat-reply-preview-content { flex: 1; min-width: 0; }
.pc-chat-reply-preview-name { font-weight: 700; font-size: 11px; color: #00a884; display: block; }
.pc-chat-reply-preview-text { font-size: 11px; color: #667781; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-chat-reply-cancel { background: transparent; border: none; color: #667781; cursor: pointer; padding: 4px; font-size: 14px; }

.pc-chat-input-wrap { display: flex; gap: 8px; align-items: center; }
.pc-chat-input-wrap input { flex: 1; padding: 10px 14px; border-radius: 20px; border: none; background: #fff; color: #111b21; font-size: 13px; box-shadow: 0 1px 2px rgba(0,0,0,0.1); }
.pc-chat-input-wrap input:focus { outline: none; }
.pc-chat-input-wrap input.pc-chat-login-trigger {
  cursor: pointer;
  caret-color: transparent;
}
.pc-chat-input-wrap input.pc-chat-login-trigger:focus {
  box-shadow: 0 0 0 2px rgba(0, 168, 132, 0.2);
}
.pc-chat-input-wrap button { width: 40px; height: 40px; border-radius: 50%; border: none; background: #00a884; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.15s; font-size: 16px; }
.pc-chat-input-wrap button:hover { background: #008f72; transform: scale(1.05); }
.pc-chat-input-wrap button#pc-emoji-btn { background: transparent; color: #667781; width: auto; font-size: 20px; }

.pc-emoji-picker-container { position: relative; display: flex; align-items: center; }

.pc-emoji-panel { 
    position: absolute; 
    bottom: 52px; 
    left: 50%;
    transform: translateX(-50%);
    background: #fff; 
    border: 1px solid #e0e0e0; 
    border-radius: 30px; 
    padding: 14px 6px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.15); 
    display: none; /* Hidden by default */
    grid-template-columns: 1fr; 
    gap: 16px; 
    z-index: 1000; 
    max-height: 240px; 
    overflow-y: auto; 
    width: 52px; 
    scrollbar-width: none;
}

.pc-emoji-panel.show {
    display: grid; /* Becomes grid when shown */
    animation: emojiPillPopup 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

.pc-emoji-panel::-webkit-scrollbar {
    display: none;
}

@keyframes emojiPillPopup {
    from { transform: translateX(-50%) scale(0.6) translateY(30px); opacity: 0; }
    to { transform: translateX(-50%) scale(1) translateY(0); opacity: 1; }
}

.pc-emoji-panel::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 7px solid #fff;
}

.pc-emoji-panel span { 
    cursor: pointer; 
    font-size: 26px; 
    transition: all 0.2s cubic-bezier(0.18, 0.89, 0.32, 1.28); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    padding: 4px;
    user-select: none;
}
.pc-emoji-panel span:hover { 
    transform: scale(1.5); 
    filter: drop-shadow(0 0 8px rgba(0,0,0,0.1));
}

/* ─── WAR ROOM ─── */
.pc-write-post-btn { font-size: 11px; font-weight: 700; padding: 8px 16px; border-radius: 8px; border: none; background: var(--pc-blue); color: #fff; cursor: pointer; display: flex; align-items: center; gap: 6px; font-family: 'Inter', sans-serif; margin-left: auto; transition: all 0.15s; }
.pc-write-post-btn:hover { background: #2563eb; }

.pc-war-tabs { display: flex; gap: 4px; background: var(--pc-surface); border: 1px solid var(--pc-border); border-radius: 8px; padding: 3px; width: fit-content; }
.pc-war-tab { font-size: 10px; font-weight: 600; padding: 5px 14px; border-radius: 6px; border: none; background: transparent; color: var(--pc-text-3); cursor: pointer; transition: all 0.15s; font-family: 'Inter', sans-serif; }
.pc-war-tab:hover { color: var(--pc-text); }
.pc-war-tab.active { background: var(--pc-blue-dim); color: var(--pc-blue); }

.pc-war-feed { display: flex; flex-direction: column; gap: 10px; }
.pc-war-post { background: var(--pc-surface); border: 1px solid var(--pc-border); border-radius: var(--pc-radius); padding: 16px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 1px 4px rgba(0,0,0,0.05); }
.pc-war-post-header { display: flex; align-items: flex-start; gap: 10px; }
.pc-war-avatar { width: 32px; height: 32px; border-radius: 50%; overflow: hidden; background: var(--pc-surface-3); flex-shrink: 0; }
.pc-war-avatar img { width: 100%; height: 100%; object-fit: cover; }
.pc-war-meta { flex: 1; }
.pc-war-author { font-size: 12px; font-weight: 700; }
.pc-war-date { font-size: 9px; color: var(--pc-text-3); }
.pc-war-title { font-size: 13px; font-weight: 800; color: var(--pc-text); }
.pc-war-body { font-size: 11px; color: var(--pc-text-2); line-height: 1.6; }
.pc-war-stats { display: flex; align-items: center; justify-content: space-between; padding-top: 4px; margin-top: 10px; border-top: 1px solid var(--pc-border); }
.pc-war-stat { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer; transition: all 0.2s; padding: 8px 0; color: var(--pc-text-2); font-size: 11px; font-weight: 600; background: transparent; border: none; border-radius: 6px; }
.pc-war-stat:hover { background: var(--pc-surface-2); color: var(--pc-text); }
.pc-war-stat i { font-size: 14px; }
.pc-war-stat.active { color: var(--pc-blue); }
.pc-war-stat.active i { color: var(--pc-blue); animation: pc-pop 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28); }

@keyframes pc-pop {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

.pc-war-header-top { display: flex; align-items: flex-start; justify-content: space-between; }
.pc-war-options { position: relative; }
.pc-war-opts-btn { background: transparent; border: none; color: var(--pc-text-3); font-size: 14px; cursor: pointer; padding: 4px; border-radius: 50%; transition: background 0.15s; }
.pc-war-opts-btn:hover { background: var(--pc-surface-2); color: var(--pc-text); }
.pc-war-opts-menu { position: absolute; right: 0; top: 100%; background: var(--pc-surface); border: 1px solid var(--pc-border); border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); display: none; flex-direction: column; min-width: 120px; z-index: 10; padding: 4px; }
.pc-war-opts-menu.show { display: flex; }
.pc-war-opt { background: transparent; border: none; color: var(--pc-text); font-size: 11px; font-weight: 600; padding: 8px 12px; text-align: left; border-radius: 4px; cursor: pointer; transition: background 0.1s; display: flex; align-items: center; gap: 8px; font-family: 'Inter', sans-serif; }
.pc-war-opt:hover { background: var(--pc-surface-2); }

.pc-war-edit-mode textarea { width: 100%; min-height: 80px; padding: 10px; border-radius: 8px; border: 1px solid var(--pc-border); background: var(--pc-surface-2); color: var(--pc-text); font-family: 'Inter', sans-serif; font-size: 11px; resize: vertical; margin-bottom: 8px; }
.pc-war-edit-mode textarea:focus { outline: none; border-color: var(--pc-blue); }
.pc-war-edit-actions { display: flex; justify-content: flex-end; gap: 8px; }
.pc-war-edit-cancel { background: transparent; border: 1px solid var(--pc-border); padding: 4px 12px; border-radius: 6px; font-size: 10px; font-weight: 600; color: var(--pc-text-2); cursor: pointer; }
.pc-war-edit-save { background: var(--pc-blue); border: none; padding: 4px 12px; border-radius: 6px; font-size: 10px; font-weight: 700; color: #fff; cursor: pointer; }

/* ─── RIGHT PANEL ─── */
.pc-right-panel { width: 220px; flex-shrink: 0; display: flex; flex-direction: column; gap: 12px; position: sticky; top: 20px; }
.pc-right-panel.disabled, .pc-sidebar.disabled { display: none; }
.pc-panel-section { background: var(--pc-surface); border: 1px solid var(--pc-border); border-radius: var(--pc-radius); padding: 14px; box-shadow: 0 1px 4px rgba(0,0,0,0.05); }
.pc-panel-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--pc-text-3); margin-bottom: 10px; }

.pc-performance-ring { width: 70px; height: 70px; margin: 0 auto 10px; position: relative; }
.pc-performance-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.pc-ring-val { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 900; font-family: 'DM Mono', monospace; color: var(--pc-gold); }

.pc-perf-stats { display: flex; flex-direction: column; gap: 6px; }
.pc-perf-item { display: flex; align-items: center; justify-content: space-between; font-size: 10px; }
.pc-perf-label { color: var(--pc-text-3); }
.pc-perf-val { font-weight: 700; font-family: 'DM Mono', monospace; }
.pc-perf-val.green { color: var(--pc-green); }
.pc-perf-val.gold { color: var(--pc-gold); }
.pc-streak-fire { color: var(--pc-gold); background: var(--pc-gold-dim); padding: 1px 6px; border-radius: 4px; font-size: 9px; }

.pc-hot-topics { display: flex; flex-direction: column; gap: 8px; }
.pc-hot-item { display: flex; align-items: center; gap: 8px; font-size: 10px; color: var(--pc-text-2); cursor: pointer; transition: color 0.15s; }
.pc-hot-item:hover { color: var(--pc-text); }
.pc-hot-item i { font-size: 9px; }
.pc-hot-count { margin-left: auto; font-size: 9px; color: var(--pc-text-3); background: var(--pc-surface-3); padding: 1px 7px; border-radius: 10px; font-weight: 700; }

.pc-trending-strats { display: flex; flex-direction: column; gap: 8px; }
.pc-trend-strat { padding: 8px; background: var(--pc-surface-2); border-radius: 6px; }
.pc-ts-name { font-size: 10px; font-weight: 700; }
.pc-ts-use { font-size: 8px; color: var(--pc-text-3); }
.pc-ts-roi { font-size: 9px; color: var(--pc-green); font-weight: 700; font-family: 'DM Mono', monospace; }

/* ─── MODAL ─── */
.pc-modal-overlay { display: none; position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); align-items: center; justify-content: center; }
.pc-modal-overlay.open { display: flex; }
.pc-modal { background: var(--pc-surface); border: 1px solid var(--pc-border); border-radius: 16px; max-width: 480px; width: 90%; max-height: 85vh; overflow-y: auto; box-shadow: 0 20px 60px rgba(0,0,0,0.15), 0 4px 16px rgba(0,0,0,0.08); }
.pc-modal-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--pc-border); }
.pc-modal-title { font-size: 14px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.pc-modal-title i { color: var(--pc-gold); }
.pc-modal-close { background: none; border: none; color: var(--pc-text-3); font-size: 16px; cursor: pointer; }
.pc-modal-body { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.pc-modal-field { display: flex; flex-direction: column; gap: 4px; }
.pc-modal-field label { font-size: 10px; font-weight: 700; color: var(--pc-text-3); text-transform: uppercase; letter-spacing: 0.06em; }
.pc-modal-field input, .pc-modal-field textarea { padding: 8px 12px; border-radius: 8px; border: 1px solid var(--pc-border); background: var(--pc-surface); color: var(--pc-text); font-size: 11px; font-family: 'Inter', sans-serif; }
.pc-modal-field textarea { min-height: 70px; resize: vertical; }
.pc-modal-field input:focus, .pc-modal-field textarea:focus { outline: none; border-color: var(--pc-gold); }
.pc-modal-actions { display: flex; gap: 8px; justify-content: flex-end; padding-top: 8px; }
.pc-modal-cancel { font-size: 10px; font-weight: 600; padding: 7px 16px; border-radius: 8px; border: 1px solid var(--pc-border); background: transparent; color: var(--pc-text-3); cursor: pointer; font-family: 'Inter', sans-serif; }
.pc-modal-submit { font-size: 10px; font-weight: 700; padding: 7px 16px; border-radius: 8px; border: none; background: var(--pc-gold-grad); color: #0f1117; cursor: pointer; display: flex; align-items: center; gap: 4px; font-family: 'Inter', sans-serif; }
.pc-vip-gate {
  position: relative;
  max-width: 420px;
  padding: 30px 26px 26px;
  overflow: visible;
  text-align: center;
}
.pc-vip-gate-close {
  position: absolute;
  top: 14px;
  right: 14px;
}
.pc-vip-gate-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--pc-gold-dim);
  color: var(--pc-gold);
  font-size: 22px;
}
.pc-vip-gate-kicker {
  color: var(--pc-gold);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pc-vip-gate h2 { margin: 6px 0 8px; font-size: 20px; }
.pc-vip-gate p { margin: 0; color: var(--pc-text-3); font-size: 12px; line-height: 1.6; }
.pc-vip-gate-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}
.pc-vip-gate-upgrade { text-decoration: none; }

/* ─── SWEAT ROOM: DESKTOP ONLY ─── */
@media (min-width: 769px) {
  .pc-sweat-layout {
    grid-template-columns: minmax(360px, 0.92fr) minmax(470px, 1.08fr);
    gap: 14px;
    min-height: 540px;
    align-items: stretch;
  }

  .pc-sweat-live-matches {
    min-width: 0;
    height: 540px;
    max-height: 540px;
    padding: 10px;
    gap: 10px;
  }

  .pc-sweat-track {
    flex: 1 1 auto;
  }

  .pc-sweat-track > .pc-empty-state {
    width: 100%;
    margin: auto;
    padding: 34px 20px !important;
  }

  .pc-live-match {
    flex: 0 0 auto;
    min-width: 0;
    min-height: 88px;
    padding: 10px 12px 11px;
    gap: 9px;
  }

  .pc-lm-header {
    min-width: 0;
    gap: 10px;
  }

  .pc-lm-league {
    min-width: 0;
    flex: 1 1 auto;
    letter-spacing: 0.04em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .pc-lm-league img,
  .pc-lm-league i {
    flex: 0 0 auto;
  }

  .pc-lm-minute {
    flex: 0 0 auto;
    min-width: max-content;
    font-weight: 800;
  }

  .pc-lm-body {
    width: 100%;
    min-height: 38px;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(54px, auto) minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    visibility: visible !important;
    opacity: 1 !important;
    overflow: visible;
  }

  .pc-lm-team {
    min-width: 0;
    overflow: hidden;
  }

  .pc-lm-logo {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    object-fit: contain;
    background: var(--pc-surface);
  }

  .pc-lm-name {
    min-width: 0;
    font-size: 11px;
    line-height: 1.2;
  }

  .pc-lm-scorebox {
    min-width: 54px;
    gap: 4px;
  }

  .pc-lm-score {
    font-size: 15px;
    letter-spacing: 0;
  }

  .pc-lm-chatters {
    font-size: 9px;
  }

  .pc-sweat-chat {
    min-width: 0;
    height: 540px;
  }

  .pc-chat-header {
    position: relative;
    flex: 0 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 34px;
    grid-template-rows: auto auto auto;
    align-items: center;
    gap: 10px 12px;
    padding: 12px 16px;
  }

  .pc-chat-match-title {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    color: var(--pc-text-2);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .pc-chat-stats-link {
    grid-column: 2;
    grid-row: 1;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--pc-border);
    border-radius: 8px;
    background: var(--pc-surface-2);
    color: var(--pc-blue);
    text-decoration: none;
  }

  .pc-chat-stats-link[aria-disabled="true"] {
    visibility: hidden;
    pointer-events: none;
  }

  .pc-chat-messages {
    min-height: 0;
    max-height: none;
  }

  .pc-chat-empty-brand {
    width: min(82%, 430px);
    height: auto;
    min-height: 250px;
    margin: auto;
    padding: 32px 28px;
    gap: 11px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9);
    color: #64748b;
    text-align: center;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .dark-mode .pc-chat-empty-brand {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(15, 23, 42, 0.9);
    color: #94a3b8;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.32);
  }

  .pc-chat-empty-brand-lockup {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }

  .pc-chat-empty-logo-crop {
    position: relative;
    width: 62px;
    height: 57px;
    flex: 0 0 62px;
    overflow: hidden;
  }

  .pc-chat-empty-logo {
    position: absolute;
    left: -27px;
    top: -50px;
    width: 260px;
    height: 140px;
    max-width: none;
  }

  .pc-chat-empty-wordmark {
    color: #0f172a;
    font-size: 27px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0;
  }

  .dark-mode .pc-chat-empty-wordmark {
    color: #f8fafc;
  }

  .pc-chat-empty-kicker {
    color: #00a884;
    font-size: 9px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .pc-chat-empty-brand p {
    margin: 2px 0 0;
    color: inherit;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;
  }

  .pc-chat-fixture-strip {
    grid-column: 1 / -1;
    grid-row: 2;
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 16px;
  }

  .pc-chat-team {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 9px;
  }

  .pc-chat-team-away {
    flex-direction: row-reverse;
  }

  .pc-chat-team-logo {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    object-fit: contain;
  }

  .pc-chat-team-logo[hidden] {
    display: none;
  }

  .pc-chat-team-name {
    min-width: 0;
    color: var(--pc-text);
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .pc-chat-team-away .pc-chat-team-name {
    text-align: right;
  }

  .pc-chat-score-center {
    position: relative;
    min-width: 68px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
  }

  .pc-chat-match-score {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 20px;
    line-height: 1;
  }

  .pc-chat-status-label {
    font-size: 9px;
    line-height: 1;
  }

  .pc-chat-odds-strip {
    grid-column: 1 / -1;
    grid-row: 3;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  .pc-chat-odds-strip.is-live {
    grid-template-columns: repeat(3, minmax(0, 1fr)) 64px;
  }

  .pc-chat-odds-strip:not(.is-live) .pc-chat-bet-live-widget {
    display: none;
  }

  .pc-chat-odd-box,
  .pc-chat-bet-live-widget {
    min-width: 0;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 800;
    text-decoration: none;
  }

  .pc-chat-odd-box {
    border: 1px solid var(--pc-border);
    background: var(--pc-surface-2);
    color: var(--pc-text);
  }

  .pc-chat-bet-live-widget {
    position: relative;
    overflow: hidden;
    background: #ff0f4f;
    color: #ffffff;
    box-shadow: 0 6px 14px rgba(255, 15, 79, 0.24);
  }

  .pc-chat-odds-strip.is-live .pc-chat-bet-live-widget {
    display: inline-flex;
    animation: pcDesktopBetLiveGlow 1.45s ease-in-out infinite;
  }

  .pc-chat-bet-live-text-wrapper {
    position: absolute;
    left: 6px;
    top: 0;
    width: 38px;
    height: 28px;
    overflow: hidden;
  }

  .pc-chat-bet-live-track {
    width: 76px;
    height: 28px;
    display: flex;
    flex-direction: row;
    animation: pcDesktopBetLiveSlide 4s infinite cubic-bezier(0.85, 0, 0.15, 1);
  }

  .pc-chat-bet-live-slide {
    width: 38px;
    height: 28px;
    flex: 0 0 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.04em;
  }

  .pc-chat-bet-live-arrow {
    position: absolute;
    right: 7px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 8px;
  }

  @keyframes pcDesktopBetLiveSlide {
    0%, 40% { transform: translateX(0); }
    50%, 90% { transform: translateX(-38px); }
    100% { transform: translateX(0); }
  }

  @keyframes pcDesktopBetLiveGlow {
    0%, 100% {
      box-shadow: 0 6px 14px rgba(255, 15, 79, 0.24);
      transform: translateY(0);
    }
    45% {
      box-shadow: 0 9px 22px rgba(255, 15, 79, 0.42);
      transform: translateY(-1px);
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .pc-chat-bet-live-track,
    .pc-chat-odds-strip.is-live .pc-chat-bet-live-widget {
      animation: none;
    }
  }

  .pc-chat-messages {
    min-height: 0;
    max-height: none;
  }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1200px) {
  .pc-right-panel { display: none; }
  .pc-consensus-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .pc-page { flex-direction: column; padding: 8px; gap: 10px; overflow-x: hidden; }

  /* ── FROSTED GLASS STICKY NAV ── */
  .pc-sidebar {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 30;
    max-height: none;
    flex-direction: column;
    padding: 0;
    border-radius: 0;
    overflow: visible;
    background: transparent;
    border: none;
    box-shadow: none;
  }
  .pc-sidebar-header, .pc-user-card, .pc-sidebar-footer { display: none; }

  .pc-nav {
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 100%;
    padding: 6px;
    gap: 4px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 6px;
    overscroll-behavior-inline: contain;
    touch-action: pan-x;
    scrollbar-width: none;
    background: rgba(var(--pc-surface-rgb, 15, 17, 23), 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.25), 0 1px 0 rgba(255,255,255,0.05) inset;
    position: relative;
  }
  .pc-nav::-webkit-scrollbar { display: none; }
  .pc-nav-section-label { display: none; }

  .pc-nav-item {
    flex: 0 0 auto;
    min-width: 100px;
    min-height: 46px;
    justify-content: center;
    gap: 5px;
    padding: 7px 10px;
    border: none;
    border-radius: 12px;
    background: transparent;
    scroll-snap-align: start;
    text-align: center;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  }
  .pc-nav-item span {
    display: inline;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 9.5px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.01em;
  }
  .pc-nav-item .pc-nav-vip {
    position: absolute;
    top: 4px;
    right: 5px;
    width: auto;
    padding: 2px 4px;
    overflow: visible;
  }
  .pc-nav-item .pc-nav-vip span { font-size: 7px; }
  .pc-nav-item .pc-nav-vip i { font-size: 7px; }
  .pc-nav-item i { margin: 0; width: auto; font-size: 14px; }
  .pc-nav-item:hover { background: rgba(255,255,255,0.06); }
  .pc-nav-item.active {
    background: linear-gradient(135deg, rgba(245,158,11,0.22), rgba(245,158,11,0.10));
    color: var(--pc-gold);
    box-shadow: 0 0 0 1px rgba(245,158,11,0.35) inset, 0 4px 16px rgba(245,158,11,0.18);
  }
  .pc-nav-dot, .pc-live-dot {
    display: block;
    position: absolute;
    top: 6px;
    right: 7px;
    margin: 0;
  }
  .pc-nav-count {
    display: inline-flex;
    position: absolute;
    top: 4px;
    right: 5px;
    margin: 0;
    font-size: 8px;
    padding: 1px 5px;
  }
  .pc-main { width: 100%; gap: 12px; }
  .pc-tab-content { gap: 12px; }
  .pc-tab-header {
    padding: 16px;
    border-radius: 14px;
    background: linear-gradient(145deg, var(--pc-surface) 0%, var(--pc-surface-2) 100%);
    border-color: rgba(255,255,255,0.07);
    box-shadow: 0 4px 24px rgba(0,0,0,0.15), 0 1px 0 rgba(255,255,255,0.04) inset;
    position: relative;
    overflow: hidden;
  }
  .pc-tab-header::before {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 120px; height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245,158,11,0.08) 0%, transparent 70%);
    pointer-events: none;
  }
  .pc-tab-title {
    width: 100%;
    font-size: 16px;
  }
  .pc-tab-sub {
    font-size: 10px;
    line-height: 1.45;
  }
  .pc-consensus-grid { gap: 8px; }
  .pc-consensus-card {
    padding: 12px 8px;
    border-radius: 10px;
  }
  .pc-consensus-card .pc-card-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    font-size: 13px;
  }
  .pc-card-num { font-size: 18px; }
  .pc-card-label { font-size: 10px; line-height: 1.2; }
  .pc-card-sub { font-size: 8px; }
  .pc-section-hdr {
    align-items: stretch;
    gap: 8px;
    flex-direction: column;
  }
  .pc-tabs-toggle,
  .pc-lb-tabs,
  .pc-war-tabs {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .pc-tabs-toggle::-webkit-scrollbar,
  .pc-lb-tabs::-webkit-scrollbar,
  .pc-war-tabs::-webkit-scrollbar { display: none; }
  .pc-toggle-btn,
  .pc-lb-tab,
  .pc-war-tab {
    flex: 1 0 auto;
    min-height: 34px;
    white-space: nowrap;
  }
  .pc-mc-meta,
  .pc-mc-footer {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
  }
  .pc-mc-meta-left {
    min-width: 0;
    flex-wrap: wrap;
  }
  .pc-mc-teams {
    grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
    gap: 6px;
    padding: 12px 10px;
  }
  .pc-mc-team { gap: 6px; }
  .pc-mc-team-name { font-size: 11px; }
  .pc-mc-logo,
  .pc-mc-logo-placeholder {
    width: 24px;
    height: 24px;
  }
  .pc-mc-bars {
    width: 100%;
  }
  .pc-mc-bar-row {
    gap: 6px;
  }
  .pc-mc-bar-val {
    min-width: 58px;
    font-size: 9px;
  }
  .pc-vote-area {
    align-items: stretch;
    width: 100%;
  }
  .pc-vote-btn,
  .pc-vote-pick-btn {
    justify-content: center;
    min-height: 36px;
    width: 100%;
  }
  .pc-inline-picker {
    grid-template-columns: 1fr auto;
    justify-content: stretch;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .pc-pick-markets {
    grid-column: 1 / -1;
  }
  .pc-pick-options {
    justify-content: stretch;
  }
  .pc-pick-opt {
    flex: 1 0 82px;
  }
  .pc-leaderboard-filters {
    align-items: stretch;
    flex-direction: column;
  }
  .pc-lb-market select,
  .pc-lb-market {
    width: 100%;
  }
  .pc-perf-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .pc-perf-item {
    min-height: 42px;
    padding: 8px;
    border: 1px solid var(--pc-border);
    border-radius: 8px;
    background: var(--pc-surface-2);
    flex-direction: column;
    align-items: flex-start;
  }
  .pc-podium {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 8px;
    margin: 8px 0;
  }
  .pc-podium-item {
    display: grid;
    grid-template-columns: 28px 44px minmax(0, 1fr) auto;
    grid-template-areas:
      "rank avatar name primary"
      "rank avatar badge primary"
      "metrics metrics metrics metrics"
      "record record record record"
      "tail tail tail tail";
    align-items: center;
    text-align: left;
    gap: 5px 9px;
    padding: 12px;
    min-height: 0;
    overflow: hidden;
  }
  .pc-podium-rank {
    position: static;
    grid-area: rank;
    opacity: 1;
    font-size: 18px;
  }
  .pc-podium-crown {
    position: absolute;
    top: 8px;
    right: 10px;
    font-size: 14px;
  }
  .pc-podium-avatar,
  .pc-1st .pc-podium-avatar {
    width: 40px;
    height: 40px;
    grid-area: avatar;
  }
  .pc-podium-name {
    grid-area: name;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
  }
  .pc-podium-badge {
    grid-area: badge;
    justify-self: start;
  }
  .pc-podium-primary {
    grid-area: primary;
    justify-self: end;
    white-space: nowrap;
  }
  .pc-podium-primary strong { font-size: 21px; }
  .pc-podium-metrics {
    grid-area: metrics;
    margin-top: 4px;
  }
  .pc-podium-metrics span {
    text-align: center;
  }
  .pc-podium-record {
    grid-area: record;
    text-align: center;
  }
  .pc-tail-btn {
    grid-area: tail;
    width: 100%;
    justify-content: center;
    min-height: 34px;
    margin-top: 4px;
  }
  .pc-lb-row {
    grid-template-columns: 36px minmax(0, 1fr) auto;
    grid-template-areas:
      "rank tipster winrate"
      "rank record roi"
      "streak streak streak"
      "action action action";
    gap: 8px;
    padding: 10px 12px;
  }
  .pc-lb-row.pc-lb-header { display: none; }
  .pc-lb-rank { grid-area: rank; align-self: start; padding-top: 8px; }
  .pc-lb-tipster { grid-area: tipster; }
  .pc-lb-avatar { width: 34px; height: 34px; }
  .pc-lb-record { grid-area: record; }
  .pc-lb-win-rate { grid-area: winrate; justify-self: end; }
  .pc-lb-roi { grid-area: roi; justify-self: end; }
  .pc-lb-streak { grid-area: streak; }
  .pc-lb-action { grid-area: action; }
  .pc-lb-action .pc-tail-btn { width: 100%; }
  .pc-strat-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .pc-strat-share-btn,
  .pc-strat-search-wrap {
    width: 100%;
    max-width: none;
  }
  .pc-strat-share-btn {
    justify-content: center;
    min-height: 40px;
  }
  .pc-strat-search-wrap input {
    min-height: 40px;
  }
  .pc-trending-strats {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }
  .pc-strat-card {
    padding: 14px;
    border-radius: 12px;
    background: linear-gradient(145deg, var(--pc-surface) 0%, var(--pc-surface-2) 100%);
    border-color: rgba(255,255,255,0.06);
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  .pc-strat-card:active {
    transform: scale(0.98);
  }
  .pc-strat-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
  .pc-apply-strat {
    min-height: 34px;
  }
  .pc-sweat-layout { grid-template-columns: 1fr; }
  .pc-sweat-live-matches {
    max-height: none;
    display: flex;
    padding: 10px;
  }
  .pc-sweat-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(245px, 86%);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .pc-sweat-track::-webkit-scrollbar { display: none; }
  .pc-live-match {
    scroll-snap-align: start;
    min-width: 0;
  }
  .pc-sweat-chat {
    min-height: min(560px, 68vh);
  }
  .pc-chat-messages {
    max-height: none;
    min-height: 320px;
    padding: 12px;
  }
  .pc-chat-msg {
    max-width: 92%;
    font-size: 12px;
  }
  .pc-chat-input-area {
    padding: 8px;
  }
  .pc-chat-input-wrap {
    gap: 6px;
  }
  .pc-chat-input-wrap input {
    min-width: 0;
    font-size: 12px;
  }
  .pc-chat-input-wrap button {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
  }
  .pc-emoji-panel {
    left: 0;
    transform: none;
  }
  .pc-war-tabs {
    width: 100%;
  }
  .pc-hot-topics {
    flex-direction: column !important;
    gap: 8px !important;
  }
  .pc-hot-item {
    width: 100%;
  }
  .pc-write-post-btn {
    width: 100%;
    justify-content: center;
    margin-left: 0;
    min-height: 40px;
    border-radius: 12px;
    font-size: 12px;
    background: linear-gradient(135deg, var(--pc-blue), #4f46e5);
    box-shadow: 0 4px 16px rgba(59,130,246,0.3);
    letter-spacing: 0.02em;
  }
  .pc-war-post {
    padding: 14px;
    border-radius: 12px;
    border-left: 3px solid var(--pc-blue);
    background: linear-gradient(145deg, var(--pc-surface) 0%, var(--pc-surface-2) 100%);
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
  }
  .pc-war-post::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 80px; height: 80px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59,130,246,0.06) 0%, transparent 70%);
    pointer-events: none;
  }
  .pc-war-title {
    font-size: 12px;
    line-height: 1.35;
  }
  .pc-war-body {
    font-size: 11px;
  }
  .pc-war-stats {
    gap: 4px;
  }
  .pc-war-stat {
    min-height: 38px;
    font-size: 10px;
  }
  .pc-war-comment-input-wrap {
    flex-direction: column;
  }
  .pc-war-submit-comment {
    min-height: 36px;
  }
  .pc-modal-overlay {
    align-items: flex-end;
    padding: 10px;
  }
  .pc-modal {
    width: 100%;
    max-height: 88vh;
    border-radius: 14px;
  }
}
@media (max-width: 560px) {
  .pc-consensus-grid { grid-template-columns: 1fr 1fr; }
  .pc-strat-grid { grid-template-columns: 1fr; }
  .pc-page { padding: 8px; }

  /* Keep every hub reachable. Equal-width shrinking hid later tabs on phones. */
  .pc-nav {
    padding: 5px;
    gap: 4px;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
  }
  .pc-nav-item {
    flex: 0 0 auto;
    width: auto;
    min-width: 108px;
    max-width: 132px;
    min-height: 44px;
    padding: 6px 10px;
  }
  .pc-nav-item span {
    font-size: 9.5px;
    letter-spacing: 0;
  }
  .pc-nav-item i { font-size: 13px; }
  .pc-tab-header,
  .pc-panel-section,
  .pc-consensus-card,
  .pc-mc,
  .pc-strat-card,
  .pc-war-post {
    border-radius: 9px;
  }
  .pc-tab-header {
    padding: 12px;
  }
  .pc-consensus-card {
    min-height: 118px;
  }
  .pc-mc-league-tag {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .pc-mc-vs-pill {
    padding: 3px 6px;
  }
  .pc-mc-footer {
    padding: 10px;
  }
  .pc-mc-bar-lbl {
    width: 26px;
  }
  .pc-mc-bar-val {
    min-width: 48px;
  }
  .pc-perf-stats {
    grid-template-columns: 1fr 1fr;
  }
  .pc-sweat-live-matches {
    width: 100%;
  }
  .pc-sweat-track {
    grid-auto-columns: minmax(224px, 88%);
  }
  .pc-lm-body {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 6px;
  }
  .pc-lm-logo {
    width: 22px;
    height: 22px;
  }
  .pc-lm-name {
    font-size: 10px;
  }
  .pc-chat-header {
    padding: 9px 12px;
  }
  .pc-chat-match-title {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .pc-profile-header {
    align-items: flex-start;
    gap: 12px;
  }
  .pc-profile-username {
    font-size: 18px;
  }
  .pc-profile-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .pc-profile-stat-card {
    padding: 10px 8px;
  }
  .pc-profile-total-odds {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 380px) {
  .pc-page { padding: 4px; }

  /* Compact labels slightly while retaining a useful touch target. */
  .pc-nav {
    padding: 4px;
    gap: 3px;
    border-radius: 12px;
  }
  .pc-nav-item {
    flex: 0 0 auto;
    min-width: 100px;
    max-width: 118px;
    min-height: 42px;
    padding: 5px 8px;
    border-radius: 10px;
  }
  .pc-nav-item span {
    font-size: 9px;
    line-height: 1.2;
  }
  .pc-nav-item i { font-size: 12px; }
  .pc-tab-title {
    font-size: 15px;
  }
  .pc-card-num {
    font-size: 16px;
  }
  .pc-card-label {
    font-size: 9px;
  }
  .pc-consensus-card {
    padding: 10px 6px;
  }
  .pc-perf-stats,
  .pc-profile-stats-grid {
    grid-template-columns: 1fr;
  }
  .pc-podium-item {
    grid-template-columns: 24px 38px minmax(0, 1fr) auto;
    grid-template-areas:
      "rank avatar name primary"
      "rank avatar badge primary"
      "metrics metrics metrics metrics"
      "record record record record"
      "tail tail tail tail";
    gap: 4px 8px;
    padding: 10px;
  }
  .pc-podium-avatar,
  .pc-1st .pc-podium-avatar {
    width: 38px;
    height: 38px;
  }
  .pc-podium-primary strong { font-size: 19px; }
  .pc-tail-btn {
    min-height: 32px;
  }
  .pc-sweat-live-matches {
    width: 100%;
  }
  .pc-sweat-track {
    grid-auto-columns: minmax(208px, 92%);
  }
}

/* ─── TIPSTER PROFILE MODAL CUSTOM STYLES ─── */
.pc-profile-modal-container {
  max-width: 760px;
  width: 95%;
  border: 1px solid rgba(255,255,255,0.05);
  background: var(--pc-surface);
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
  overflow-y: auto;
}

.pc-open-profile-btn {
  cursor: pointer;
  transition: opacity 0.15s;
}
.pc-open-profile-btn:hover {
  opacity: 0.8;
}

.pc-profile-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 60px 20px;
  color: var(--pc-text-3);
  font-size: 14px;
  font-weight: 600;
}

.pc-profile-error {
  text-align: center;
  padding: 40px 20px;
  color: var(--pc-red);
}
.pc-profile-error i {
  font-size: 24px;
  margin-bottom: 10px;
}

.pc-profile-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px 0 20px;
  border-bottom: 1px solid var(--pc-border);
}
.pc-profile-avatar-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.pc-profile-user-info {
  flex: 1;
}
.pc-profile-username {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--pc-text);
  margin-bottom: 4px;
}
.pc-profile-followers-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--pc-text-2);
}
.pc-profile-followers-row strong {
  color: var(--pc-text);
}
.pc-profile-dot-divider {
  color: var(--pc-text-3);
}

.pc-profile-stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin: 20px 0;
}
.pc-profile-stat-card {
  background: var(--pc-surface-2);
  border: 1px solid var(--pc-border);
  border-radius: 10px;
  padding: 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pc-profile-stat-lbl {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--pc-text-3);
}
.pc-profile-stat-val {
  font-size: 18px;
  font-weight: 900;
  font-family: 'DM Mono', monospace;
  color: var(--pc-text);
}
.pc-profile-stat-val.positive {
  color: var(--pc-green);
}
.pc-profile-stat-val.negative {
  color: var(--pc-red);
}

.pc-profile-sections-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
  align-items: start;
}
.pc-profile-section-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pc-profile-section-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--pc-text-2);
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 2px solid var(--pc-border);
  padding-bottom: 6px;
}
.pc-profile-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-right: 6px;
  padding-top: 4px;
  padding-bottom: 4px;
}
.pc-profile-list::-webkit-scrollbar {
  width: 4px;
}
.pc-profile-list::-webkit-scrollbar-thumb {
  background: var(--pc-border-light);
  border-radius: 2px;
}

.pc-profile-empty-list {
  text-align: center;
  padding: 30px 10px;
  color: var(--pc-text-3);
  font-size: 11px;
  font-style: italic;
  border: 1px dashed var(--pc-border);
  border-radius: 8px;
  background: var(--pc-surface-2);
}

/* ─── Per-Day Groups in Recent Performance ─── */
.pc-profile-day-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 4px;
}
.pc-profile-day-label {
    font-size: 0.72em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--pc-text-3);
    padding: 6px 4px 2px;
    border-bottom: 1px solid var(--pc-border);
    margin-bottom: 2px;
}
.pc-profile-pick-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 12px;
  background: var(--pc-surface-2);
  border: 1px solid var(--pc-border);
  border-radius: 8px;
}
.pc-profile-pick-match {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pc-profile-pick-time {
  font-size: 9px;
  color: var(--pc-text-3);
  font-weight: 500;
}
.pc-profile-pick-teams {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pc-profile-pick-team {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pc-profile-pick-team img {
  width: 14px;
  height: 14px;
  object-fit: contain;
}
.pc-profile-pick-vs {
  font-size: 9px;
  color: var(--pc-text-3);
  font-weight: 600;
}
.pc-profile-pick-score {
  font-size: 11px;
  font-weight: 800;
  color: var(--pc-red);
  background: var(--pc-red-dim);
  padding: 1px 6px;
  border-radius: 4px;
}

.pc-profile-pick-selection {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  border-top: 1px solid var(--pc-border);
  padding-top: 6px;
  margin-top: 2px;
}
.pc-profile-pick-lbl {
  color: var(--pc-text-3);
  font-weight: 500;
}
.pc-profile-pick-val {
  color: var(--pc-text);
  font-weight: 700;
}
.pc-profile-pick-odds {
  font-family: 'DM Mono', monospace;
  color: var(--pc-gold);
  font-weight: 700;
  margin-left: auto;
}
.pc-profile-pick-status {
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'DM Mono', monospace;
  margin-left: auto;
}
.pc-profile-pick-status.win {
  background: var(--pc-green-dim);
  color: var(--pc-green);
}
.pc-profile-pick-status.loss {
  background: var(--pc-red-dim);
  color: var(--pc-red);
}

@media (max-width: 768px) {
  .pc-sweat-chat:not(.js-live-sync) {
    background: #f8fafc;
    border-color: #dbe3ee;
    color: #0f172a;
  }

  .pc-sweat-chat:not(.js-live-sync) .pc-chat-header {
    background: #ffffff;
    border-bottom-color: #dbe3ee;
    color: #0f172a;
  }

  .pc-sweat-chat:not(.js-live-sync) .pc-chat-match-title {
    color: #0f172a;
  }

  .pc-sweat-chat:not(.js-live-sync) > .pc-sweat-live-matches-in-chat {
    background: #f8fafc;
    border-bottom-color: #dbe3ee;
  }

  .dark-mode .pc-sweat-chat:not(.js-live-sync) {
    background: #0b1220;
    border-color: #334155;
    color: #f8fafc;
  }

  .dark-mode .pc-sweat-chat:not(.js-live-sync) .pc-chat-header {
    background: #111827;
    border-bottom-color: #334155;
    color: #f8fafc;
  }

  .dark-mode .pc-sweat-chat:not(.js-live-sync) .pc-chat-match-title {
    color: #f8fafc;
  }

  .dark-mode .pc-sweat-chat:not(.js-live-sync) > .pc-sweat-live-matches-in-chat {
    background: #0f172a;
    border-bottom-color: #334155;
  }

  .pc-sweat-chat:not(.js-live-sync) .pc-chat-messages {
    min-height: 430px;
    padding: 22px 14px;
    background:
      linear-gradient(rgba(248, 250, 252, 0.78), rgba(241, 245, 249, 0.9)),
      url('https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png');
    background-repeat: repeat;
  }

  .dark-mode .pc-sweat-chat:not(.js-live-sync) .pc-chat-messages {
    background:
      linear-gradient(rgba(7, 12, 18, 0.9), rgba(10, 18, 27, 0.94)),
      url('https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png');
  }

  .pc-chat-empty-brand {
    width: min(86%, 360px);
    height: auto;
    min-height: 230px;
    margin: auto;
    padding: 30px 24px;
    gap: 10px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    color: #64748b;
    text-align: center;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .dark-mode .pc-chat-empty-brand {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(15, 23, 42, 0.9);
    color: #94a3b8;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.34);
  }

  .pc-chat-empty-brand-lockup {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }

  .pc-chat-empty-logo-crop {
    position: relative;
    width: 72px;
    height: 66px;
    flex: 0 0 72px;
    overflow: hidden;
  }

  .pc-chat-empty-logo {
    position: absolute;
    left: -32px;
    top: -58px;
    width: 302px;
    height: 163px;
    max-width: none;
  }

  .pc-chat-empty-wordmark {
    color: #0f172a;
    font-size: 29px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0;
  }

  .dark-mode .pc-chat-empty-wordmark {
    color: #f8fafc;
  }

  .pc-chat-empty-kicker {
    color: #00a884;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .pc-chat-empty-brand p {
    margin: 2px 0 0;
    color: inherit;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
  }

  .pc-profile-sections-wrapper {
    grid-template-columns: 1fr;
  }
  .pc-profile-stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ═══ SWEAT ROOM MOBILE FULL-SCREEN EXPERIENCE ═══ */
@media (max-width: 768px) {
  .pc-sweat-chat > .pc-sweat-live-matches-in-chat {
    width: 100%;
    max-height: none;
    margin: 0;
    padding: 8px 10px 10px;
    display: flex;
    gap: 8px;
    overflow: hidden;
    border: 0;
    border-bottom: 1px solid var(--pc-border);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .pc-sweat-chat > .pc-sweat-live-matches-in-chat .pc-sweat-track::-webkit-scrollbar {
    display: none;
  }

  .dark-mode .pc-sweat-chat > .pc-sweat-live-matches-in-chat {
    border-bottom-color: rgba(255, 255, 255, 0.1);
  }

  html.pc-sweat-room-lock,
  body.pc-sweat-room-lock {
    width: 100%;
    height: 100%;
    overflow: hidden !important;
    overscroll-behavior: none;
  }

  body.pc-sweat-room-lock .mobile-bottom-nav,
  body.pc-sweat-room-lock .mobile-more-drawer,
  body.pc-sweat-room-lock .mobile-calendar-panel,
  body.pc-sweat-room-lock .mobile-leagues-panel,
  body.pc-sweat-room-lock .site-footer {
    display: none !important;
  }

  .pc-page.pc-sweat-room-open {
    --pc-room-bg: #f4f6fa;
    --pc-room-text: #0f172a;
    --pc-room-header-bg:
      radial-gradient(circle at 82% 20%, rgba(0, 168, 132, 0.18), transparent 34%),
      linear-gradient(135deg, #ffffff 0%, #eefcf8 54%, #edf4ff 100%);
    --pc-room-header-text: #0f172a;
    --pc-room-header-muted: rgba(15, 23, 42, 0.62);
    --pc-room-header-shadow: 0 7px 20px rgba(15, 23, 42, 0.1);
    --pc-room-back-bg: rgba(15, 23, 42, 0.08);
    --pc-room-live-pill-bg: rgba(15, 23, 42, 0.08);
    --pc-room-chat-overlay: linear-gradient(rgba(246, 248, 251, 0.86), rgba(246, 248, 251, 0.9));
    --pc-room-bubble-other: #ffffff;
    --pc-room-bubble-me: #d9fdd3;
    --pc-room-bubble-text: #111827;
    --pc-room-bubble-muted: rgba(71, 85, 105, 0.78);
    --pc-room-reply-bg: rgba(15, 23, 42, 0.06);
    --pc-room-input-bg: #ffffff;
    --pc-room-input-shell-bg: #f0f2f5;
    --pc-room-input-border: rgba(15, 23, 42, 0.12);
    --pc-room-placeholder: rgba(71, 85, 105, 0.72);
    --pc-room-tabs-bg: rgba(255, 255, 255, 0.94);
    --pc-room-tabs-text: rgba(71, 85, 105, 0.84);
    --pc-room-tabs-active: #2563eb;
    --pc-room-odd-bg: #ffffff;
    --pc-room-odd-border: rgba(15, 23, 42, 0.12);
    --pc-room-odd-text: #0f172a;
    --pc-room-bet-bg: #ff0f4f;
    --pc-room-bet-text: #ffffff;
    --pc-room-upcoming: #b45309;
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    width: 100vw;
    height: auto;
    min-height: 0;
    max-height: none;
    padding: 0 !important;
    margin: 0 !important;
    display: block;
    overflow: hidden;
    background: var(--pc-room-bg);
    color: var(--pc-room-text);
  }

  .dark-mode .pc-page.pc-sweat-room-open {
    --pc-room-bg: #05080a;
    --pc-room-text: #f8fafc;
    --pc-room-header-bg:
      radial-gradient(circle at 80% 20%, rgba(0, 168, 132, 0.28), transparent 36%),
      linear-gradient(135deg, #111827 0%, #061b1d 54%, #030607 100%);
    --pc-room-header-text: #ffffff;
    --pc-room-header-muted: rgba(255, 255, 255, 0.72);
    --pc-room-header-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
    --pc-room-back-bg: rgba(255, 255, 255, 0.08);
    --pc-room-live-pill-bg: rgba(255, 255, 255, 0.12);
    --pc-room-chat-overlay: linear-gradient(rgba(5, 8, 10, 0.9), rgba(5, 8, 10, 0.94));
    --pc-room-bubble-other: #171d20;
    --pc-room-bubble-me: #0f3d33;
    --pc-room-bubble-text: #f8fafc;
    --pc-room-bubble-muted: rgba(248, 250, 252, 0.58);
    --pc-room-reply-bg: rgba(255, 255, 255, 0.1);
    --pc-room-input-bg: #05080a;
    --pc-room-input-shell-bg: #101619;
    --pc-room-input-border: rgba(255, 255, 255, 0.12);
    --pc-room-placeholder: rgba(248, 250, 252, 0.46);
    --pc-room-tabs-bg: #11191c;
    --pc-room-tabs-text: rgba(248, 250, 252, 0.5);
    --pc-room-tabs-active: #3b82f6;
    --pc-room-odd-bg: #101619;
    --pc-room-odd-border: rgba(255, 255, 255, 0.14);
    --pc-room-odd-text: #f8fafc;
    --pc-room-bet-bg: #ff0f4f;
    --pc-room-bet-text: #ffffff;
    --pc-room-upcoming: #fbbf24;
  }

  .pc-page.pc-sweat-room-open .pc-sidebar,
  .pc-page.pc-sweat-room-open .pc-tab-content:not(#tab-sweat),
  .pc-page.pc-sweat-room-open #tab-sweat > .pc-tab-header,
  .pc-page.pc-sweat-room-open .pc-sweat-live-matches {
    display: none !important;
  }

  .pc-page.pc-sweat-room-open .pc-main,
  .pc-page.pc-sweat-room-open #tab-sweat,
  .pc-page.pc-sweat-room-open .pc-sweat-layout {
    width: 100%;
    height: 100%;
    min-height: 0;
    display: block;
  }

  .pc-page.pc-sweat-room-open .pc-sweat-chat {
    width: 100%;
    height: 100%;
    min-height: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: var(--pc-room-bg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .pc-page.pc-sweat-room-open .pc-chat-header {
    position: relative;
    min-height: 238px;
    padding: calc(env(safe-area-inset-top, 0px) + 12px) 14px 12px;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    grid-template-rows: 38px minmax(0, 1fr) 34px;
    align-items: center;
    gap: 10px;
    border: 0;
    background: var(--pc-room-header-bg);
    box-shadow: var(--pc-room-header-shadow);
    color: var(--pc-room-header-text);
  }

  .pc-page.pc-sweat-room-open .pc-chat-header::after {
    content: none;
    display: none;
  }

  .pc-page.pc-sweat-room-open .pc-chat-back {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: var(--pc-room-back-bg);
    color: var(--pc-room-header-text);
    font-size: 18px;
    cursor: pointer;
    grid-column: 1;
    grid-row: 1;
    z-index: 2;
  }

  .pc-page.pc-sweat-room-open .pc-chat-stats-link {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: var(--pc-room-back-bg);
    color: var(--pc-room-header-text);
    font-size: 15px;
    text-decoration: none;
    cursor: pointer;
    grid-column: 3;
    grid-row: 1;
    z-index: 2;
  }

  .pc-page.pc-sweat-room-open .pc-chat-stats-link[aria-disabled="true"] {
    opacity: 0.45;
    pointer-events: none;
  }

  .pc-page.pc-sweat-room-open .pc-chat-fixture-strip {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    grid-column: 1 / -1;
    grid-row: 2;
    min-width: 0;
    align-self: center;
  }

  .pc-page.pc-sweat-room-open .pc-chat-team {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
  }

  .pc-page.pc-sweat-room-open .pc-chat-team-logo {
    width: 46px;
    height: 46px;
    object-fit: contain;
    border-radius: 10px;
    filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.32));
  }

  .pc-page.pc-sweat-room-open .pc-chat-team-logo[hidden] {
    display: none;
  }

  .pc-page.pc-sweat-room-open .pc-chat-team-name {
    width: 100%;
    color: var(--pc-room-header-text);
    font-size: 9px;
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .pc-page.pc-sweat-room-open .pc-chat-score-center {
    position: relative;
    width: max-content;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
  }

  .pc-page.pc-sweat-room-open .pc-chat-injury-time:not([hidden]) {
    min-height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(254, 226, 226, 0.96);
    color: #e11d48;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.04em;
    box-shadow: 0 0 8px rgba(225, 29, 72, 0.32);
    animation: pcChatInjuryPulse 2s infinite ease-in-out;
  }

  .dark-mode .pc-page.pc-sweat-room-open .pc-chat-injury-time:not([hidden]) {
    background: rgba(127, 29, 29, 0.62);
    color: #fecdd3;
    box-shadow: 0 0 8px rgba(244, 63, 94, 0.28);
  }

  @keyframes pcChatInjuryPulse {
    0% {
      box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.38);
      transform: scale(1);
    }
    50% {
      box-shadow: 0 0 0 6px rgba(225, 29, 72, 0);
      transform: scale(1.05);
    }
    100% {
      box-shadow: 0 0 0 0 rgba(225, 29, 72, 0);
      transform: scale(1);
    }
  }

  .pc-page.pc-sweat-room-open .pc-chat-match-score {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    min-width: 0;
    gap: 8px;
    color: #cb1818;
    font-size: 24px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0;
    text-shadow: 0 7px 18px rgba(203, 24, 24, 0.16);
  }

  .pc-page.pc-sweat-room-open .pc-chat-match-score [data-role="score-home"],
  .pc-page.pc-sweat-room-open .pc-chat-match-score [data-role="score-away"],
  .pc-page.pc-sweat-room-open .pc-chat-match-score [data-role="score-sep"] {
    min-width: 0;
    display: inline-block;
    line-height: 1;
  }

  .pc-page.pc-sweat-room-open .pc-chat-match-score .score-live {
    color: #cb1818 !important;
    text-shadow: 0 7px 18px rgba(203, 24, 24, 0.16);
  }

  .pc-page.pc-sweat-room-open .pc-chat-match-score .score-upcoming,
  .pc-page.pc-sweat-room-open .pc-sweat-chat[data-match-state="upcoming"] .pc-chat-match-score [data-role] {
    color: var(--pc-room-upcoming) !important;
    text-shadow: none;
  }

  .pc-page.pc-sweat-room-open .pc-sweat-chat[data-match-state="finished"] .pc-chat-match-score [data-role] {
    color: rgba(100, 116, 139, 0.92) !important;
    text-shadow: none !important;
  }

  .pc-page.pc-sweat-room-open .pc-sweat-chat[data-match-state="finished"] .pc-chat-match-score .score-strong {
    color: var(--pc-room-header-text, #0f172a) !important;
  }

  .dark-mode .pc-page.pc-sweat-room-open .pc-sweat-chat[data-match-state="finished"] .pc-chat-match-score [data-role] {
    color: rgba(203, 213, 225, 0.72) !important;
  }

  .dark-mode .pc-page.pc-sweat-room-open .pc-sweat-chat[data-match-state="finished"] .pc-chat-match-score .score-strong {
    color: #ffffff !important;
  }

  .pc-page.pc-sweat-room-open .pc-chat-match-score .score-strong {
    color: var(--pc-room-header-text, #0f172a) !important;
    text-shadow: 0 6px 18px rgba(15, 23, 42, 0.22);
  }

  .pc-page.pc-sweat-room-open .pc-chat-match-score .score-faded {
    color: rgba(100, 116, 139, 0.92) !important;
    text-shadow: none;
  }

  .dark-mode .pc-page.pc-sweat-room-open .pc-chat-match-score .score-strong {
    color: #ffffff !important;
    text-shadow: 0 6px 18px rgba(255, 255, 255, 0.18);
  }

  .dark-mode .pc-page.pc-sweat-room-open .pc-chat-match-score .score-faded {
    color: rgba(203, 213, 225, 0.72) !important;
  }

  .pc-page.pc-sweat-room-open .pc-chat-match-minute {
    color: inherit;
    font-size: 11px;
    font-weight: 900;
  }

  .pc-page.pc-sweat-room-open .pc-chat-match-minute.score-live {
    color: #cb1818;
  }

  .pc-page.pc-sweat-room-open .pc-chat-match-minute.score-faded {
    color: rgba(100, 116, 139, 0.92);
  }

  .pc-page.pc-sweat-room-open .pc-chat-match-minute.score-upcoming {
    color: var(--pc-room-upcoming);
  }

  .dark-mode .pc-page.pc-sweat-room-open .pc-chat-match-minute.score-faded {
    color: rgba(203, 213, 225, 0.72);
  }

  .pc-page.pc-sweat-room-open .pc-chat-status-label {
    margin-top: 2px;
    font-size: 11px;
    line-height: 1.1;
    width: max-content;
  }

  .pc-page.pc-sweat-room-open .pc-chat-status-label.label-upcoming {
    color: var(--pc-room-upcoming);
    font-weight: 900;
  }

  .pc-page.pc-sweat-room-open .pc-chat-match-minute.pc-sweat-countdown {
    min-width: 70px;
    font-size: 12px;
    text-align: center;
  }

  .pc-page.pc-sweat-room-open .pc-chat-match-title {
    position: static;
    min-width: 0;
    grid-column: 2;
    grid-row: 1;
    color: var(--pc-room-header-muted);
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    pointer-events: none;
  }

  .pc-page.pc-sweat-room-open .pc-chat-odds-strip {
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) 54px;
    align-items: center;
    gap: 8px;
    grid-column: 1 / -1;
    grid-row: 3;
  }

  .pc-page.pc-sweat-room-open .pc-chat-odds-strip.is-finished {
    grid-template-columns: repeat(3, minmax(74px, 96px));
    justify-content: center;
  }

  .pc-page.pc-sweat-room-open .pc-chat-odds-strip.is-finished .pc-chat-bet-live-widget {
    display: none;
  }

  .pc-page.pc-sweat-room-open .pc-chat-odds-strip.is-upcoming {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pc-page.pc-sweat-room-open .pc-chat-odds-strip.is-upcoming .pc-chat-bet-live-widget {
    display: none;
  }

  .pc-page.pc-sweat-room-open .pc-chat-odd-box,
  .pc-page.pc-sweat-room-open .pc-chat-bet-live-widget {
    min-width: 0;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    text-decoration: none;
    font: 900 11px/1 'Inter', sans-serif;
    white-space: nowrap;
  }

  .pc-page.pc-sweat-room-open .pc-chat-odd-box {
    border: 1px solid var(--pc-room-odd-border);
    background: var(--pc-room-odd-bg);
    color: var(--pc-room-odd-text);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
  }

  .pc-page.pc-sweat-room-open .pc-chat-odd-box.is-empty {
    color: var(--pc-room-header-muted);
  }

  .pc-page.pc-sweat-room-open .pc-chat-bet-live-widget {
    position: relative;
    overflow: hidden;
    border: 0;
    background: var(--pc-room-bet-bg);
    color: var(--pc-room-bet-text);
    box-shadow: 0 8px 18px rgba(255, 15, 79, 0.26);
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s ease;
  }

  .pc-page.pc-sweat-room-open .pc-chat-odds-strip.is-live .pc-chat-bet-live-widget {
    animation: pcBetLiveGlow 1.45s ease-in-out infinite;
  }

  .pc-page.pc-sweat-room-open .pc-chat-bet-live-widget:hover {
    transform: scale(1.06);
    box-shadow: 0 2px 12px rgba(255, 15, 79, 0.55);
  }

  .pc-page.pc-sweat-room-open .pc-chat-bet-live-widget:active {
    transform: scale(0.95);
  }

  .pc-page.pc-sweat-room-open .pc-chat-bet-live-text-wrapper {
    position: absolute;
    left: 5px;
    top: 0;
    width: 36px;
    height: 30px;
    overflow: hidden;
    z-index: 1;
  }

  .pc-page.pc-sweat-room-open .pc-chat-bet-live-track {
    width: 72px;
    height: 30px;
    display: flex;
    flex-direction: row;
    animation: pcBetLiveSlide 4s infinite cubic-bezier(0.85, 0, 0.15, 1);
  }

  .pc-page.pc-sweat-room-open .pc-chat-bet-live-slide {
    width: 36px;
    height: 30px;
    flex: 0 0 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }

  .pc-page.pc-sweat-room-open .pc-chat-bet-live-arrow {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    color: #ffffff;
    pointer-events: none;
    z-index: 3;
  }

  @keyframes pcBetLiveSlide {
    0%, 40% {
      transform: translateX(0);
    }
    50%, 90% {
      transform: translateX(-50%);
    }
    100% {
      transform: translateX(0);
    }
  }

  @keyframes pcBetLiveGlow {
    0%, 100% {
      box-shadow: 0 8px 18px rgba(255, 15, 79, 0.26);
      transform: translateY(0);
    }
    45% {
      box-shadow: 0 12px 30px rgba(255, 15, 79, 0.42);
      transform: translateY(-1px);
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .pc-page.pc-sweat-room-open .pc-chat-bet-live-track {
      animation: none;
    }

    .pc-page.pc-sweat-room-open .pc-chat-odds-strip.is-live .pc-chat-bet-live-widget {
      animation: none;
    }

    .pc-page.pc-sweat-room-open .pc-chat-injury-time:not([hidden]) {
      animation: none;
    }
  }

  .pc-page.pc-sweat-room-open .pc-chat-room-tabs {
    display: none !important;
  }

  .pc-page.pc-sweat-room-open .pc-chat-room-tabs button {
    position: relative;
    border: 0;
    background: transparent;
    color: var(--pc-room-tabs-text);
    font: 700 11px/1 'Inter', sans-serif;
    cursor: default;
  }

  .pc-page.pc-sweat-room-open .pc-chat-room-tabs button.active {
    color: var(--pc-room-tabs-active);
  }

  .pc-page.pc-sweat-room-open .pc-chat-room-tabs button.active::after {
    content: "";
    position: absolute;
    left: 28%;
    right: 28%;
    bottom: 0;
    height: 3px;
    border-radius: 999px 999px 0 0;
    background: var(--pc-room-tabs-active);
  }

  .pc-page.pc-sweat-room-open .pc-chat-messages {
    flex: 1;
    min-height: 0;
    max-height: none;
    padding: 14px 14px 12px;
    gap: 10px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background:
      var(--pc-room-chat-overlay),
      url('https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png');
    background-repeat: repeat;
  }

  .pc-page.pc-sweat-room-open .pc-chat-msg {
    max-width: 88% !important;
    padding: 9px 11px;
    border-radius: 16px;
    color: var(--pc-room-bubble-text);
    background: var(--pc-room-bubble-other);
    box-shadow: none;
    font-size: 13px;
  }

  .pc-page.pc-sweat-room-open .pc-chat-room-empty {
    width: 100%;
    min-height: auto;
    margin: 0;
    padding: 8px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--pc-room-bubble-muted);
    text-align: center;
    box-shadow: none;
    cursor: text;
    transition: transform 0.16s ease, border-color 0.16s ease;
  }

  .pc-page.pc-sweat-room-open .pc-chat-day-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 4px 12px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--pc-room-bubble-other) 86%, transparent);
    color: var(--pc-room-bubble-muted);
    font-size: 10px;
    font-weight: 800;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
  }

  .pc-page.pc-sweat-room-open .pc-chat-start-prompt {
    width: min(86%, 310px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 12px;
    border: 1px solid var(--pc-room-input-border);
    border-radius: 14px;
    background: color-mix(in srgb, var(--pc-room-bubble-other) 90%, transparent);
    color: var(--pc-room-bubble-text);
    font: 700 11px/1.35 'Inter', sans-serif;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
    cursor: text;
  }

  .pc-page.pc-sweat-room-open .pc-chat-start-prompt i {
    color: #00a884;
    font-size: 14px;
    flex: 0 0 auto;
  }

  .pc-page.pc-sweat-room-open .pc-chat-room-empty.is-ready {
    transform: translateY(-2px);
  }

  .pc-page.pc-sweat-room-open .pc-chat-room-empty.is-ready .pc-chat-start-prompt {
    border-color: #00a884;
  }

  .pc-page.pc-sweat-room-open .pc-chat-msg.others {
    background: var(--pc-room-bubble-other);
    border-top-left-radius: 4px;
  }

  .pc-page.pc-sweat-room-open .pc-chat-msg.me {
    background: var(--pc-room-bubble-me);
    border-top-right-radius: 4px;
  }

  .pc-page.pc-sweat-room-open .pc-chat-msg-text {
    color: var(--pc-room-bubble-text);
  }

  .pc-page.pc-sweat-room-open .pc-chat-msg-time,
  .pc-page.pc-sweat-room-open .pc-chat-msg-reply-text {
    color: var(--pc-room-bubble-muted);
  }

  .pc-page.pc-sweat-room-open .pc-chat-msg-reply-to {
    background: var(--pc-room-reply-bg);
  }

  .pc-page.pc-sweat-room-open .pc-chat-input-area {
    flex: 0 0 auto;
    position: relative;
    z-index: 4;
    padding: 10px 14px calc(env(safe-area-inset-bottom, 0px) + 10px);
    background: var(--pc-room-input-shell-bg);
    border-top: 1px solid var(--pc-room-input-border);
    box-shadow: 0 -10px 24px rgba(15, 23, 42, 0.08);
  }

  .pc-page.pc-sweat-room-open .pc-chat-input-wrap {
    gap: 8px;
  }

  .pc-page.pc-sweat-room-open .pc-chat-input-wrap input {
    min-height: 44px;
    border: 1px solid var(--pc-room-input-border);
    border-radius: 999px;
    background: var(--pc-room-input-bg);
    color: var(--pc-room-bubble-text);
    font-size: 14px;
    box-shadow: none;
  }

  .pc-page.pc-sweat-room-open .pc-chat-input-wrap input::placeholder {
    color: var(--pc-room-placeholder);
  }

  .pc-page.pc-sweat-room-open .pc-chat-input-wrap button {
    width: 44px;
    height: 44px;
    background: #00a884;
    color: #fff;
    box-shadow: 0 10px 22px rgba(0, 168, 132, 0.22);
  }

  .pc-page.pc-sweat-room-open .pc-chat-input-wrap button#pc-emoji-btn {
    width: 40px;
    height: 40px;
    background: transparent;
    color: var(--pc-room-header-muted);
    box-shadow: none;
  }

  @media (max-height: 720px) {
    .pc-page.pc-sweat-room-open .pc-chat-header {
      min-height: 214px;
      padding-bottom: 10px;
    }

    .pc-page.pc-sweat-room-open .pc-chat-team-logo {
      width: 40px;
      height: 40px;
    }

    .pc-page.pc-sweat-room-open .pc-chat-match-score {
      font-size: 22px;
      gap: 7px;
    }

    .pc-page.pc-sweat-room-open .pc-chat-odd-box,
    .pc-page.pc-sweat-room-open .pc-chat-bet-live-widget {
      height: 28px;
      font-size: 10px;
    }

    .pc-page.pc-sweat-room-open .pc-chat-bet-live-text-wrapper,
    .pc-page.pc-sweat-room-open .pc-chat-bet-live-track,
    .pc-page.pc-sweat-room-open .pc-chat-bet-live-slide {
      height: 28px;
    }
  }
}

/* ═══ VIEW MORE BUTTON (SHARP CONSENSUS) ═══ */
.pc-view-more-wrap {
    text-align: center;
    padding: 24px 0;
    margin-top: 10px;
    position: relative;
}
.pc-view-more-wrap::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 15%;
    right: 15%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--pc-border), transparent);
    z-index: 1;
}
.pc-view-more-btn {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #334155;
    padding: 6px 24px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    position: relative;
    z-index: 2;
}
.pc-view-more-btn:hover {
    background: #e2e8f0;
}
.pc-view-more-icon {
    font-size: 0.85em;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}
.pc-view-more-btn.expanded .pc-view-more-icon {
    transform: rotate(180deg);
}

/* ═══ SMOOTH DROPDOWN CONTAINER ═══ */
.pc-consensus-hidden-wrap {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.8s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s ease;
    opacity: 0;
}
.pc-consensus-hidden-wrap.expanded {
    max-height: 10000px;
    opacity: 1;
}

/* ═══ SKELETON LOADER ═══ */
.pc-skeleton-card {
    background: var(--pc-bg-alt);
    border: 1px solid var(--pc-border);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.pc-skel-line {
    height: 14px;
    background: linear-gradient(90deg, var(--pc-border) 25%, #f1f5f9 50%, var(--pc-border) 75%);
    background-size: 200% 100%;
    border-radius: 4px;
    animation: pcSkeletonLoading 1.5s infinite;
}
.pc-skel-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.pc-skel-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(90deg, var(--pc-border) 25%, #f1f5f9 50%, var(--pc-border) 75%);
    background-size: 200% 100%;
    animation: pcSkeletonLoading 1.5s infinite;
}
@keyframes pcSkeletonLoading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ═══ INLINE VOTE PICKER ODDS ═══ */
.pc-pick-opt {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
    padding: 6px 10px;
}
.pc-pick-opt-name {
    font-weight: 600;
    font-size: 1em;
}
.pc-pick-opt-odd {
    font-size: 0.75em;
    color: var(--pc-gold);
    margin-top: 2px;
    font-weight: 700;
}

/* ═══ PROFILE MODAL TOTAL ODDS ═══ */
.pc-profile-total-odds {
    margin-top: 15px;
    padding: 8px 12px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(245, 158, 11, 0.05) 100%);
    border: 1px solid rgba(245, 158, 11, 0.38);
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.pc-profile-total-odds-inner {
    display: flex;
    align-items: center;
    gap: 6px;
}
.pc-profile-total-odds-label {
    font-size: 0.85em;
    color: var(--pc-text);
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 6px;
}
.pc-profile-total-odds-label i {
    color: var(--pc-gold);
}
.pc-profile-total-odds-value {
    font-size: 1.12em;
    font-weight: 900;
    color: var(--pc-gold);
    font-family: 'DM Mono', monospace;
    letter-spacing: 0.01em;
}
.pc-profile-total-odds-picks {
    font-size: 0.85em;
    color: var(--pc-text-2);
    background: var(--pc-surface-2);
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid var(--pc-border);
    font-weight: 600;
}

/* Ticket-style individual prediction cards */
.pc-profile-ticket {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--pc-border);
  border-radius: 8px;
  background: var(--pc-surface-2);
  color: var(--pc-text);
}

.pc-profile-ticket-meta {
  min-width: 0;
  padding: 9px 11px 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--pc-text-3);
  font-size: 9px;
  font-weight: 500;
}

.pc-profile-ticket-meta span,
.pc-profile-ticket-meta time {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pc-profile-ticket-meta time {
  flex: 0 0 auto;
}

.pc-profile-ticket-match {
  min-width: 0;
  padding: 7px 11px 10px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}

.pc-profile-ticket-team {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
}

.pc-profile-ticket-team.home {
  justify-content: flex-end;
  text-align: right;
}

.pc-profile-ticket-team.away {
  justify-content: flex-start;
}

.pc-profile-ticket-team strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pc-profile-ticket-logo {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--pc-border);
  border-radius: 5px;
  background: var(--pc-surface);
  color: var(--pc-text-3);
}

.pc-profile-ticket-logo img {
  width: 19px;
  height: 19px;
  object-fit: contain;
}

.pc-profile-ticket-logo i {
  font-size: 10px;
}

.pc-profile-ticket-score {
  min-width: 42px;
  color: var(--pc-text);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
  white-space: nowrap;
}

.pc-profile-ticket-vs {
  color: var(--pc-text-3);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.pc-profile-ticket-odd {
  color: var(--pc-gold);
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.pc-profile-ticket-pick {
  min-width: 0;
  margin: 0 11px;
  padding: 8px 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid var(--pc-border);
  font-size: 11px;
}

.pc-profile-ticket-pick > span {
  min-width: 0;
  color: var(--pc-text);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.pc-profile-ticket-pick small {
  margin-right: 5px;
  color: var(--pc-text-3);
  font-size: 9px;
  font-weight: 600;
}

.pc-profile-ticket-status {
  flex: 0 0 auto;
  font-size: 10px;
  font-weight: 800;
}

.pc-profile-ticket-status.win {
  color: var(--pc-green);
}

.pc-profile-ticket-status.loss {
  color: var(--pc-red);
}

.pc-profile-ticket-status.pending {
  color: var(--pc-gold);
}

.pc-profile-pick-count {
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--pc-border);
  border-radius: 8px;
  background: var(--pc-surface-2);
  color: var(--pc-text-2);
  font-size: 10px;
  font-weight: 600;
}

.pc-profile-pick-count i {
  color: var(--pc-gold);
}

.pc-profile-pick-count strong {
  color: var(--pc-text);
}

@media (max-width: 520px) {
  .pc-profile-ticket-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .pc-profile-ticket-match {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 6px;
  }

  .pc-profile-ticket-odd {
    grid-column: 1 / -1;
    justify-self: end;
  }

  .pc-profile-ticket-team {
    align-items: center;
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }

  .pc-profile-ticket-team.home {
    flex-direction: column-reverse;
    justify-content: center;
    text-align: center;
  }

  .pc-profile-ticket-team.away {
    justify-content: center;
  }

  .pc-profile-ticket-team strong {
    width: 100%;
    text-align: center;
  }
}

/* Keep the tipster profile fully scrollable on mobile. The modal shell stays
   inside the viewport while the profile body owns the vertical scroll. */
@media (max-width: 768px) {
  #pc-profile-modal.pc-modal-overlay,
  #pc-war-modal.pc-modal-overlay {
    align-items: stretch;
    justify-content: center;
    padding: calc(env(safe-area-inset-top, 0px) + 10px) 10px
      calc(82px + env(safe-area-inset-bottom, 0px));
    overflow: hidden;
  }

  #pc-profile-modal .pc-profile-modal-container,
  #pc-war-modal .pc-modal {
    width: 100%;
    max-width: none;
    height: calc(100dvh - 102px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
    max-height: none;
    margin: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 14px;
  }

  #pc-profile-modal .pc-modal-header,
  #pc-war-modal .pc-modal-header {
    flex: 0 0 auto;
  }

  #pc-profile-modal #pc-profile-body,
  #pc-war-modal .pc-modal-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  }

  #pc-profile-modal .pc-profile-sections-wrapper {
    grid-template-columns: 1fr;
  }
}

@supports not (height: 100dvh) {
  @media (max-width: 768px) {
    #pc-profile-modal .pc-profile-modal-container,
    #pc-war-modal .pc-modal {
      height: calc(100vh - 102px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
    }
  }
}
