/**
 * Cricket Local Premium — Sporty / Dribbble sports-app design system
 */

html.premium-v3 {
  --crease-hero-image: url("../assets/heroes/cricket-batsman-drive-bg.jpg");
  --pv3-mint: #d4e8dc;
  --pv3-mint-soft: #e8f2ec;
  --pv3-bg: #0a1812;
  --pv3-surface: #132820;
  --pv3-surface-raised: #1a3328;
  --pv3-accent: #4ade80;
  --pv3-accent-mid: #22c55e;
  --pv3-accent-deep: #16a34a;
  --pv3-accent-glow: rgba(74, 222, 128, 0.18);
  --pv3-gold: var(--pv3-accent);
  --pv3-gold-light: #86efac;
  --pv3-text: #ffffff;
  --pv3-text-high: #f8faf9;
  --pv3-muted: rgba(255, 255, 255, 0.78);
  --pv3-soft: rgba(255, 255, 255, 0.55);
  --pv3-scrim: rgba(8, 20, 14, 0.72);
  --pv3-scrim-strong: rgba(6, 16, 11, 0.88);
  --card-bg: var(--pv3-surface);
  --glass-surface: var(--pv3-surface-raised);
  --glass-border-light: var(--pv3-border);
  --glass-shadow-light: 0 8px 28px rgba(0, 0, 0, 0.28);
  --pv3-border: rgba(255, 255, 255, 0.09);
  --pv3-radius: 20px;
  --pv3-radius-sm: 14px;
  --nav-height: 68px;
  --touch: 48px;
  --green-900: #0a1812;
  --green-800: #132820;
  --green-700: #1a3328;
  --green-600: #22543a;
  --green-500: #2d6a4f;
  --green-200: #4ade80;
  --green-100: #1a3328;
  --green-50: #132820;
  --gold: var(--pv3-accent);
  --gold-light: var(--pv3-accent);
  --text: var(--pv3-text);
  --text-muted: var(--pv3-muted);
  --text-soft: var(--pv3-soft);
  --cream: #132820;
  --white: #ffffff;
  --border: var(--pv3-border);
  --grass-bg: var(--pv3-bg);
  --glass-surface: var(--pv3-surface-raised);
  --glass-border-light: var(--pv3-border);
  --glass-border-mid: rgba(255, 255, 255, 0.06);
  --glass-shine: rgba(255, 255, 255, 0.04);
  --glass-shadow-light: 0 10px 36px rgba(0, 0, 0, 0.35);
  --surface-soft: var(--pv3-surface);
  --surface-white: var(--pv3-surface-raised);
}

html.premium-v3 body {
  font-family: "DM Sans", system-ui, sans-serif;
  background: radial-gradient(ellipse 120% 80% at 50% 0%, #163828 0%, var(--pv3-bg) 55%, #06100c 100%);
  color: var(--pv3-text-high);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ── Layered page backdrop (behind app shell) ── */
html.premium-v3 .pv3-app-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

html.premium-v3 .pv3-app-bg__layer {
  position: absolute;
  inset: -8%;
  background-size: cover;
  background-repeat: no-repeat;
  filter: blur(2px) saturate(1.08);
  transform-origin: center;
}

html.premium-v3 .pv3-app-bg__layer--1 {
  background-image: url("../assets/heroes/cricket-stadium-crowd-bg.jpg");
  background-position: 70% 25%;
}

html.premium-v3 .pv3-app-bg__layer--2 {
  background-image: url("../assets/heroes/cricket-batsman-drive-bg.jpg");
  background-position: 15% 45%;
}

html.premium-v3 .pv3-app-bg__layer--3 {
  background-image: url("../assets/heroes/cricket-youth-batsman-bg.jpg");
  background-position: 88% 70%;
}

html.premium-v3 .pv3-app-bg__fg-ball {
  position: absolute;
  right: 6%;
  top: 14%;
  width: clamp(88px, 16vw, 150px);
  height: auto;
  opacity: 0.55;
  object-fit: contain;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.45));
  transform: rotate(0deg);
  z-index: 2;
}

html.premium-v3 .pv3-app-bg__fg-player {
  position: absolute;
  left: 4%;
  bottom: 12%;
  width: clamp(100px, 18vw, 180px);
  height: auto;
  border-radius: 16px;
  border: 2px solid rgba(74, 222, 128, 0.25);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  opacity: 0.77;
  z-index: 2;
  object-fit: cover;
}

html.premium-v3 .pv3-app-bg__shade {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    radial-gradient(ellipse 90% 70% at 50% 40%, rgba(10, 24, 18, 0.21) 0%, rgba(6, 16, 11, 0.55) 72%),
    linear-gradient(180deg, rgba(10, 24, 18, 0.33) 0%, rgba(6, 16, 11, 0.57) 100%) !important;
}

/* In-app main area — subtle layered cricket behind scroll content */
html.premium-v3 .main {
  position: relative;
}

html.premium-v3 .pv3-main-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

html.premium-v3 .pv3-main-bg__layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.17;
}

html.premium-v3 .pv3-main-bg__layer--1 {
  background-image: url("../assets/heroes/cricket-batsman-drive-bg.jpg");
  background-position: center 20%;
}

html.premium-v3 .pv3-main-bg__layer--2 {
  background-image: url("../assets/heroes/cricket-stadium-crowd-bg.jpg");
  background-position: 80% 60%;
  opacity: 0.11;
}

html.premium-v3 .pv3-main-bg__fg {
  position: absolute;
  right: 12px;
  top: 120px;
  width: clamp(72px, 14vw, 110px);
  height: auto;
  opacity: 0.28;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4));
  transform: rotate(0deg);
}

/* Home — large Cricket Local brand + JustGiving */
html.premium-v3 .home-brand-showcase {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 16px;
  padding: 12px 16px 8px;
}

html.premium-v3 .home-brand-showcase__logo {
  width: min(34vw, 132px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 32px rgba(0, 0, 0, 0.5));
}

html.premium-v3 .home-justgiving {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  min-height: 48px;
  max-width: 11.5rem;
  padding: 10px 14px;
  border-radius: 14px;
  text-decoration: none;
  color: #052e16 !important;
  background: linear-gradient(135deg, #f5e6a8 0%, #d4af37 55%, #c9a227 100%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

html.premium-v3 .home-justgiving:hover,
html.premium-v3 .home-justgiving:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  outline: 2px solid #86efac;
  outline-offset: 2px;
}

html.premium-v3 .home-justgiving__kicker {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(5, 46, 22, 0.75);
  line-height: 1.2;
}

html.premium-v3 .home-justgiving__label {
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: #052e16;
}

@media (max-width: 380px) {
  html.premium-v3 .home-justgiving {
    max-width: 100%;
    flex: 1 1 auto;
    align-items: center;
    text-align: center;
  }
}

html.premium-v3 .home-brand-logo--compact {
  width: 52px;
  height: auto;
  margin: 0 0 12px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.45));
  border-radius: 12px;
}

/* ── Home Studio — match Live feed premium treatment ── */
html.premium-v3 #view-home .home-page {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-bottom: 12px;
}

html.premium-v3 .club-home-setup {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 8px 8px;
  padding: 0 0 12px;
}

/* Setup hero — Live Studio style card (dark glass, high contrast) */
html.premium-v3 .club-home-setup-hero.fav-hero,
html.premium-v3 .club-home-setup .club-home-hero.fav-hero {
  position: relative;
  margin: 0 0 4px;
  padding: 20px 18px 18px;
  text-align: left;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(212, 168, 67, 0.28) !important;
  background:
    radial-gradient(ellipse 90% 70% at 85% 0%, rgba(74, 222, 128, 0.2) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 8% 100%, rgba(212, 168, 67, 0.14) 0%, transparent 50%),
    linear-gradient(165deg, #0c2418 0%, #07140e 48%, #040e09 100%) !important;
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.07) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html.premium-v3 .club-home-setup-hero.fav-hero::before,
html.premium-v3 .club-home-setup .club-home-hero.fav-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.04) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: pv3-home-sheen 9s ease-in-out infinite;
  pointer-events: none;
  opacity: 1;
}

@keyframes pv3-home-sheen {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

html.premium-v3 .club-home-setup-hero > *,
html.premium-v3 .club-home-setup .club-home-hero.fav-hero > * {
  position: relative;
  z-index: 1;
}

html.premium-v3 .club-home-setup-hero .club-home-hero-kicker,
html.premium-v3 .club-home-setup .club-home-hero-kicker {
  margin: 0 0 10px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #86efac !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

html.premium-v3 .club-home-setup-hero .fav-hero-title,
html.premium-v3 .club-home-setup .fav-hero-title {
  margin: 0;
  font-family: "Outfit", system-ui, sans-serif !important;
  font-size: clamp(1.45rem, 5.5vw, 1.75rem) !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.02em;
  color: #ffffff !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55) !important;
}

/* Subtitle — high contrast white (was muted white on cream = unreadable) */
html.premium-v3 .club-home-setup-hero .fav-hero-sub,
html.premium-v3 .club-home-setup .fav-hero-sub {
  margin: 10px 0 0 !important;
  max-width: 38ch;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  line-height: 1.55 !important;
  color: rgba(248, 250, 249, 0.94) !important;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

html.premium-v3 .club-home-setup-search {
  padding: 14px 14px 12px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.06) 0%, rgba(0, 0, 0, 0.18) 100%),
    var(--pv3-surface-raised);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

html.premium-v3 .club-home-setup .finder-search-label {
  display: block;
  margin: 0 0 8px;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #86efac !important;
}

html.premium-v3 .club-home-setup .finder-search {
  background-color: rgba(6, 16, 11, 0.65) !important;
  border: 1px solid rgba(74, 222, 128, 0.28) !important;
  color: #fff !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

html.premium-v3 .club-home-setup .finder-search::placeholder {
  color: rgba(255, 255, 255, 0.45) !important;
}

html.premium-v3 .club-home-setup .finder-search:focus {
  border-color: rgba(74, 222, 128, 0.65) !important;
  box-shadow:
    0 0 0 3px rgba(74, 222, 128, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

html.premium-v3 .club-home-setup .finder-hint {
  margin: 10px 0 0 !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  line-height: 1.45;
  color: rgba(220, 252, 231, 0.92) !important;
}

html.premium-v3 .club-home-setup .club-home-scroll {
  margin: 0;
  padding: 4px 0 0;
}

html.premium-v3 .club-home-setup .finder-club-card {
  border-radius: 16px !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07) 0%, rgba(0, 0, 0, 0.16) 100%) !important;
}

html.premium-v3 .club-home-setup .finder-club-card.is-picked {
  border-color: rgba(74, 222, 128, 0.55) !important;
  background:
    linear-gradient(145deg, rgba(74, 222, 128, 0.16) 0%, rgba(19, 40, 32, 0.95) 100%) !important;
  box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.2), 0 8px 24px rgba(0, 0, 0, 0.3) !important;
}

html.premium-v3 .club-home-save-btn {
  min-height: 52px;
  margin-top: 4px;
  border: none !important;
  border-radius: 14px !important;
  font-family: "Outfit", system-ui, sans-serif !important;
  font-size: 1.02rem !important;
  font-weight: 800 !important;
  color: #052e16 !important;
  background: linear-gradient(135deg, #bbf7d0 0%, #4ade80 45%, #22c55e 100%) !important;
  box-shadow: 0 10px 28px rgba(34, 197, 94, 0.4) !important;
  cursor: pointer;
}

html.premium-v3 .club-home-save-btn:disabled {
  opacity: 0.45;
  box-shadow: none !important;
}

html.premium-v3 .club-home-setup .club-home-teams-tab-hint,
html.premium-v3 .club-home-setup .club-home-team-hint,
html.premium-v3 .club-home-setup .hint-text {
  color: rgba(236, 253, 245, 0.9) !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  line-height: 1.5;
}

html.premium-v3 .club-home-setup .club-home-signin {
  background: rgba(74, 222, 128, 0.1) !important;
  border: 1px solid rgba(74, 222, 128, 0.28) !important;
  color: rgba(236, 253, 245, 0.92) !important;
  border-radius: 14px;
}

html.premium-v3 .club-home-setup .section-title {
  color: #86efac !important;
}

/* Dashboard shell — same studio depth as Live */
html.premium-v3 #home-page .club-home-dashboard {
  margin: 0 8px 8px;
  padding: 10px 10px 14px !important;
  border-radius: 22px !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  background:
    radial-gradient(ellipse 80% 50% at 90% 0%, rgba(74, 222, 128, 0.1) 0%, transparent 55%),
    linear-gradient(180deg, rgba(19, 40, 32, 0.92) 0%, rgba(10, 24, 18, 0.96) 100%) !important;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35) !important;
}

html.premium-v3 .club-home-topbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

html.premium-v3 .club-home-change-btn {
  flex: 1 1 auto;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 999px !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.02em;
}

html.premium-v3 .club-home-dashboard-hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 12px !important;
  padding: 18px 16px !important;
  border-radius: 20px !important;
  border: 1px solid rgba(212, 168, 67, 0.26) !important;
  background:
    radial-gradient(ellipse 90% 70% at 80% 0%, rgba(74, 222, 128, 0.16) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 10% 100%, rgba(212, 168, 67, 0.1) 0%, transparent 50%),
    linear-gradient(165deg, #0a1f14 0%, #06140d 55%, #040e09 100%) !important;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4) !important;
}

html.premium-v3 .club-home-dashboard-hero .club-home-hero-kicker {
  color: #86efac !important;
  font-size: 0.68rem !important;
  letter-spacing: 0.12em !important;
}

html.premium-v3 .club-home-dashboard-hero .fav-hero-title {
  font-family: "Outfit", system-ui, sans-serif !important;
  font-size: clamp(1.35rem, 5vw, 1.65rem) !important;
}

html.premium-v3 .club-home-dashboard-hero .fav-hero-sub {
  color: rgba(248, 250, 249, 0.92) !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
}

html.premium-v3 .club-home-quick-stats {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px !important;
  margin: 0 0 14px !important;
}

html.premium-v3 .club-home-quick-stats .quick-stat {
  margin: 0 !important;
  padding: 12px 8px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07) 0%, rgba(0, 0, 0, 0.22) 100%) !important;
  box-shadow: none !important;
  text-align: center;
}

html.premium-v3 .club-home-quick-stats .quick-stat-value {
  font-family: "Outfit", system-ui, sans-serif !important;
  font-size: 1.2rem !important;
  color: #fff !important;
}

html.premium-v3 .club-home-quick-stats .quick-stat-label {
  margin-top: 4px;
  font-size: 0.62rem !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(187, 247, 208, 0.85) !important;
}

html.premium-v3 .club-home-panel {
  border-radius: 18px !important;
  padding: 12px !important;
}

html.premium-v3 .home-quick-chip {
  border-radius: 14px !important;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08) 0%, rgba(0, 0, 0, 0.18) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

html.premium-v3 .home-highlight-card {
  border-radius: 18px !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  background: linear-gradient(165deg, rgba(26, 51, 40, 0.95) 0%, rgba(10, 24, 18, 0.98) 100%) !important;
}

@media (prefers-reduced-motion: reduce) {
  html.premium-v3 .club-home-setup-hero.fav-hero::before,
  html.premium-v3 .club-home-setup .club-home-hero.fav-hero::before {
    animation: none;
  }
}

html.premium-v3 .header-app-logo,
html.premium-v3 .loading-overlay-logo {
  object-fit: contain;
  border-radius: 10px;
}

html.premium-v3 .main > *:not(.pv3-main-bg) {
  position: relative;
  z-index: 1;
}

/* Hero panels with cricket imagery + readable text */
html.premium-v3 .finder-hero,
html.premium-v3 .dashboard-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(6, 16, 11, 0.53) 0%, rgba(10, 24, 18, 0.33) 55%, rgba(10, 24, 18, 0.49) 100%),
    url("../assets/heroes/cricket-batsman-drive-bg.jpg") center 35% / cover no-repeat !important;
}

html.premium-v3 .finder-hero::after,
html.premium-v3 .dashboard-hero::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 8px;
  width: 72px;
  height: 72px;
  background: url("../assets/cricket-local-logo.jpg") center / contain no-repeat;
  opacity: 0.49;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.45));
  pointer-events: none;
}

html.premium-v3 .finder-hero h2,
html.premium-v3 .finder-title,
html.premium-v3 .dashboard-hero h2 {
  color: var(--pv3-text-high) !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

html.premium-v3 .finder-hero p,
html.premium-v3 .dashboard-hero p {
  color: var(--pv3-muted) !important;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

/* App shell — dark inset like Dribbble mockups */
html.premium-v3 .app {
  position: relative;
  z-index: 1;
  max-width: 100%;
  margin: 0 auto;
  background: var(--pv3-bg) !important;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 24px 80px rgba(0, 0, 0, 0.18) !important;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

html.premium-v3 .app::before,
html.premium-v3 .app::after {
  display: none !important;
}

@media (min-width: 480px) {
  html.premium-v3 .app {
    max-width: min(100%, var(--app-shell-max, 430px));
    min-height: var(--app-height, 100dvh);
    border-radius: 0;
  }
}

html.premium-v3 .main {
  flex: 1;
  background: transparent !important;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 12px;
}

html.premium-v3 .main::before {
  display: none !important;
}

/* Header — cricket image strip */
html.premium-v3 .header {
  padding: calc(12px + env(safe-area-inset-top, 0px)) 16px 10px !important;
  background:
    linear-gradient(180deg, var(--pv3-scrim-strong) 0%, rgba(10, 24, 18, 0.92) 100%),
    url("../assets/heroes/cricket-youth-batsman-bg.jpg") center 30% / cover no-repeat !important;
  border-bottom: 1px solid var(--pv3-border) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35) !important;
}

html.premium-v3 .header-title {
  font-family: "Outfit", system-ui, sans-serif !important;
  font-size: 1.1rem !important;
  font-weight: 800 !important;
  color: var(--pv3-text-high) !important;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

html.premium-v3 .header-subtitle {
  font-size: 0.72rem !important;
  color: rgba(255, 255, 255, 0.82) !important;
  opacity: 1 !important;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

html.premium-v3 .header-app-logo,
html.premium-v3 .header-club-logo {
  border-radius: 50%;
  border: 2px solid rgba(74, 222, 128, 0.35);
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.1);
}

html.premium-v3 .app-beta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #052e16;
  background: linear-gradient(135deg, #86efac, #4ade80);
  border: none;
}

html.premium-v3 .header-account {
  min-height: 36px !important;
  padding: 0 12px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #86efac, #4ade80) !important;
  border: none !important;
  color: #052e16 !important;
  font-family: "Outfit", system-ui, sans-serif !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  white-space: nowrap;
}

html.premium-v3 .header-back,
html.premium-v3 .header-help,
html.premium-v3 .header-settings,
html.premium-v3 .header-refresh {
  min-width: 42px !important;
  min-height: 42px !important;
  border-radius: 12px !important;
  background: var(--pv3-surface-raised) !important;
  border: 1px solid var(--pv3-border) !important;
  color: var(--pv3-accent) !important;
  font-size: 1rem;
}

/* Status bar */
html.premium-v3 .status-bar {
  font-size: 0.68rem !important;
  font-weight: 600;
  padding: 6px 16px !important;
  background: var(--pv3-surface) !important;
  color: var(--pv3-muted) !important;
  border-bottom: 1px solid var(--pv3-border) !important;
}

html.premium-v3 .status-bar.live {
  color: #4ade80 !important;
}

html.premium-v3 .status-bar[hidden] {
  display: none !important;
}

/* Redundant with header subtitle — drop duplicate screen copy */
html.premium-v3 .v3a-screen-hero p,
html.premium-v3 .v3a-fixtures-hint {
  display: none !important;
}

/* Bottom nav — Sporty green active pill (width tracks --app-shell-max on desktop) */
html.premium-v3 .bottom-nav.v3a-tab-bar {
  position: fixed;
  left: 50%;
  right: auto;
  bottom: 0;
  transform: translateX(-50%);
  max-width: min(100%, var(--app-shell-max, 430px));
  z-index: 320;
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  width: 100%;
  min-height: var(--nav-height);
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 0px)) !important;
  background: var(--pv3-bg) !important;
  border-top: 1px solid var(--pv3-border) !important;
  border-radius: 0 !important;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.35) !important;
}

/* Desktop: nav sits on the bottom edge of the wide shell (not a phone strip) */
@media (min-width: 768px) {
  html.premium-v3 .bottom-nav.v3a-tab-bar {
    bottom: max(10px, env(safe-area-inset-bottom, 0px));
    border-radius: 0 0 18px 18px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  html.premium-v3 .v3a-tab-bar .nav-label {
    font-size: 0.72rem !important;
  }

  html.premium-v3 .v3a-tab-bar .nav-item {
    min-height: 48px;
    gap: 4px;
  }
}

@media (min-width: 1024px) {
  html.premium-v3 .bottom-nav.v3a-tab-bar {
    bottom: max(12px, env(safe-area-inset-bottom, 0px));
    border-radius: 0 0 20px 20px !important;
  }
}

html.premium-v3 .bottom-nav.v3a-tab-bar::before {
  display: none;
}

html.premium-v3 .v3a-tab-bar .nav-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--touch);
  padding: 0 !important;
  border: none;
  background: transparent !important;
  color: var(--pv3-soft);
  border-radius: 16px;
  cursor: pointer;
}

html.premium-v3 .v3a-tab-bar .nav-item__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  width: 100%;
  min-height: 54px;
  padding: 6px 0 4px;
  border-radius: 16px;
  transition: background 0.2s, transform 0.15s;
}

html.premium-v3 .v3a-tab-bar .nav-svg {
  width: 22px;
  height: 22px;
}

html.premium-v3 .v3a-tab-bar .nav-label {
  font-size: 0.52rem;
  font-weight: 700;
  color: inherit;
}

html.premium-v3 .v3a-tab-bar .nav-item.active {
  color: #052e16;
}

html.premium-v3 .v3a-tab-bar .nav-item.active .nav-item__inner {
  background: linear-gradient(135deg, #86efac, #4ade80);
  box-shadow: 0 4px 16px rgba(74, 222, 128, 0.35);
}

html.premium-v3 .v3a-tab-bar .nav-item.active .nav-svg,
html.premium-v3 .v3a-tab-bar .nav-item.active .nav-label {
  color: #052e16;
}

html.premium-v3 .v3a-tab-bar .nav-item--live.active {
  color: #fff;
}

html.premium-v3 .v3a-tab-bar .nav-item--live.active .nav-item__inner {
  background: linear-gradient(135deg, #f87171, #ef4444);
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.35);
}

html.premium-v3 .fav-icon--outline.cricket-ball-icon {
  opacity: 0.42;
  filter: grayscale(0.3) saturate(0.55) brightness(0.92);
}

html.premium-v3 .fav-icon--filled.cricket-ball-icon,
html.premium-v3 .fav-btn.active .fav-icon--filled.cricket-ball-icon {
  opacity: 1;
  filter: drop-shadow(0 2px 8px rgba(74, 222, 128, 0.35));
}

/* Cards — dark with optional image hero strip */
html.premium-v3 .v3a-ios-card,
html.premium-v3 .match-card,
html.premium-v3 .team-picker-row,
html.premium-v3 .fav-team-card,
html.premium-v3 .finder-club-card,
html.premium-v3 .club-home-team-card,
html.premium-v3 #home-page .club-home-dashboard,
html.premium-v3 .club-home-about,
html.premium-v3 .player-stats-toolbar,
html.premium-v3 .player-stats-result,
html.premium-v3 .player-stats-profile,
html.premium-v3 .selectors-compact,
html.premium-v3 .settings-modal-card,
html.premium-v3 .home-match-day-card,
html.premium-v3 .match-day-fixture-card,
html.premium-v3 .match-day-hero,
html.premium-v3 .quick-stat,
html.premium-v3 .cc-card,
html.premium-v3 .cc-table-wrap,
html.premium-v3 .scorecard-table-wrap,
html.premium-v3 .card,
html.premium-v3 .fixture-card,
html.premium-v3 .result-card {
  position: relative;
  border: 1px solid var(--pv3-border) !important;
  border-radius: var(--pv3-radius) !important;
  background: var(--pv3-surface-raised) !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28) !important;
  animation: none !important;
  overflow: hidden;
}

/* Image hero is real HTML (.match-card-hero) so team/division can sit on it */
html.premium-v3 .match-card::before,
html.premium-v3 .match-list .match-card::before {
  display: none !important;
}

html.premium-v3 .match-card-hero {
  height: 80px;
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(6, 20, 14, 0.2) 0%, rgba(6, 16, 11, 0.88) 100%),
    url("../assets/heroes/cricket-batsman-drive-card.jpg") center 28% / cover no-repeat;
}

html.premium-v3 .match-card-hero__team strong {
  color: #ecfdf5;
}

html.premium-v3 .match-card-hero__div strong {
  color: #fde68a;
}

html.premium-v3 .match-team-logo {
  background: rgba(15, 34, 25, 0.92);
  border-color: rgba(74, 222, 128, 0.35);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

html.premium-v3 .match-team-logo--fallback {
  background: rgba(22, 56, 40, 0.95);
}

html.premium-v3 .match-card::after,
html.premium-v3 .v3a-ios-card::after,
html.premium-v3 .finder-club-card::before {
  display: none !important;
}

html.premium-v3 .v3a-ios-card {
  margin: 0 16px 12px;
  padding: 14px 16px;
}

html.premium-v3 .v3a-ios-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 8px 16px 20px;
}

/* Typography */
html.premium-v3 .section-title,
html.premium-v3 .v3a-screen-hero h2,
html.premium-v3 .finder-title,
html.premium-v3 .club-home-name {
  font-family: "Outfit", system-ui, sans-serif !important;
  font-weight: 800 !important;
  color: #fff !important;
  letter-spacing: -0.02em;
}

html.premium-v3 .section-header .section-title {
  color: #fff !important;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}

html.premium-v3 .hint-text,
html.premium-v3 .finder-sub,
html.premium-v3 .finder-hint,
html.premium-v3 .v3a-screen-hero p,
html.premium-v3 .match-ground,
html.premium-v3 .match-date-bar {
  color: var(--pv3-muted) !important;
  font-weight: 500;
}

html.premium-v3 .v3a-screen-hero h2,
html.premium-v3 .section-title {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

html.premium-v3 .team-picker-name,
html.premium-v3 .fav-team-card-name,
html.premium-v3 .match-team-name,
html.premium-v3 .finder-club-card-name {
  color: #fff !important;
  font-weight: 700 !important;
}

html.premium-v3 .match-team-name {
  font-size: 0.78rem !important;
  line-height: 1.2 !important;
  white-space: normal !important;
}

html.premium-v3 .match-team-label__club {
  color: #fff !important;
  font-weight: 800 !important;
}

html.premium-v3 .match-team-label__side {
  color: rgba(187, 247, 208, 0.95) !important;
  font-weight: 650 !important;
}

html.premium-v3 .live-score-card__team {
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  white-space: normal !important;
  max-width: 46%;
}

html.premium-v3 .live-score-card__team .match-team-label__club {
  font-size: 0.78rem;
}

html.premium-v3 .live-score-card__team .match-team-label__side {
  font-size: 0.66rem;
  color: #bbf7d0 !important;
}

html.premium-v3 .live-score-card__teams {
  align-items: flex-start !important;
  font-size: 0.78rem !important;
}

html.premium-v3 .cricket-result-board__name {
  font-size: 0.76rem !important;
  line-height: 1.2 !important;
}

html.premium-v3 .match-card-hero__team strong {
  white-space: normal !important;
  font-size: 0.82rem !important;
  line-height: 1.2 !important;
}

html.premium-v3 .fav-team-card-club,
html.premium-v3 .fav-team-card-league,
html.premium-v3 .finder-club-card-meta {
  color: var(--pv3-muted) !important;
}

/* Club finder */
html.premium-v3 .selectors-panel:not(.is-collapsed):not(.is-fully-hidden) {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

html.premium-v3 .finder-title {
  font-size: 1.85rem;
  text-transform: uppercase;
}

html.premium-v3 .finder-search,
html.premium-v3 input[type="search"],
html.premium-v3 input[type="text"],
html.premium-v3 input[type="email"],
html.premium-v3 select,
html.premium-v3 textarea,
html.premium-v3 .player-stats-input,
html.premium-v3 #v3a-players-search,
html.premium-v3 #v3a-players-club-filter {
  background: var(--pv3-surface) !important;
  border: 1px solid var(--pv3-border) !important;
  color: #fff !important;
  border-radius: var(--pv3-radius-sm) !important;
  min-height: 48px;
  font-size: 16px !important;
  touch-action: manipulation;
  -webkit-text-size-adjust: 100%;
}

html.premium-v3 .finder-search:focus,
html.premium-v3 input:focus,
html.premium-v3 select:focus {
  border-color: var(--pv3-accent) !important;
  box-shadow: 0 0 0 3px var(--pv3-accent-glow) !important;
  outline: none !important;
}

html.premium-v3 .finder-club-card {
  display: flex;
  align-items: center;
}

html.premium-v3 .finder-club-card-icon {
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.2), rgba(34, 197, 94, 0.1)) !important;
  border-color: rgba(74, 222, 128, 0.25) !important;
}

html.premium-v3 .finder-club-card-chevron {
  color: var(--pv3-accent) !important;
}

/* Pills & tabs — green active */
html.premium-v3 .tab.active,
html.premium-v3 .tab-inline.active,
html.premium-v3 .filter-chip.active {
  color: #052e16 !important;
  background: linear-gradient(135deg, #86efac, #4ade80) !important;
  border-color: transparent !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 12px rgba(74, 222, 128, 0.3);
}

html.premium-v3 body.v3a-fixtures-view #view-fixtures .filter-bar {
  display: none !important;
}

html.premium-v3 .player-stats-scope {
  background: var(--pv3-surface) !important;
  border: 1px solid var(--pv3-border) !important;
  border-radius: 14px !important;
}

html.premium-v3 .player-stats-scope-btn.active {
  background: linear-gradient(135deg, #86efac, #4ade80) !important;
  color: #052e16 !important;
  font-weight: 700 !important;
}

/* Scores — bold like Sporty stat cards */
html.premium-v3 .cricket-result-board__value,
html.premium-v3 .match-score,
html.premium-v3 .score {
  font-family: "Outfit", system-ui, sans-serif !important;
  font-weight: 800 !important;
  color: #fff !important;
}

html.premium-v3 .cricket-result-board__value--hero,
html.premium-v3 .score-wickets {
  color: var(--pv3-accent) !important;
}

/* Buttons — green gradient */
html.premium-v3 .btn-primary,
html.premium-v3 .opening-btn--primary,
html.premium-v3 .auth-btn:not(.auth-btn--ghost) {
  background: linear-gradient(135deg, #bbf7d0, #4ade80, #22c55e) !important;
  color: #052e16 !important;
  font-weight: 700 !important;
  border-radius: 14px !important;
  border: none !important;
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.35) !important;
}

html.premium-v3 .link-btn {
  color: var(--pv3-accent) !important;
  font-weight: 700;
}

html.premium-v3 .link-btn--warn {
  color: #fca5a5 !important;
}

html.premium-v3 .fav-clear-all-btn {
  display: inline-flex;
  margin-top: 10px;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid rgba(248, 113, 113, 0.35);
  border-radius: 999px;
  background: rgba(248, 113, 113, 0.1);
}

html.premium-v3 .v3a-teams-section-head {
  flex-wrap: wrap;
  gap: 8px;
}

html.premium-v3 .v3a-teams-head-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

/*
 * Teams tab (browser / wide layout)
 * Avoid cramped multi-column chip grids — readable rows with full team names.
 */
html.premium-v3 #view-v3a-teams .v3a-teams-club-block {
  padding: 0 4px 12px;
  max-width: 100%;
}

html.premium-v3 #view-v3a-teams .v3a-teams-picker {
  display: block !important;
  width: 100%;
}

html.premium-v3 #view-v3a-teams .team-picker-list {
  display: flex !important;
  flex-direction: column;
  gap: 0;
  max-height: min(62vh, 560px);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 16px !important;
  border: 1px solid var(--pv3-border) !important;
  background: rgba(8, 22, 16, 0.72) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28) !important;
}

html.premium-v3 #view-v3a-teams .team-picker-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  min-height: 64px;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible;
}

html.premium-v3 #view-v3a-teams .team-picker-row:last-child {
  border-bottom: none !important;
}

html.premium-v3 #view-v3a-teams .team-picker-row:hover,
html.premium-v3 #view-v3a-teams .team-picker-row:focus-within {
  background: rgba(74, 222, 128, 0.06) !important;
}

html.premium-v3 #view-v3a-teams .team-picker-main {
  flex: 1 1 auto;
  min-width: 0;
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
}

html.premium-v3 #view-v3a-teams .team-picker-badge {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  font-size: 0.72rem;
}

html.premium-v3 #view-v3a-teams .team-picker-text {
  flex: 1 1 auto;
  min-width: 0;
}

html.premium-v3 #view-v3a-teams .team-picker-name {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: unset !important;
  font-size: 0.98rem !important;
  font-weight: 750 !important;
  line-height: 1.3 !important;
  color: #f4faf6 !important;
}

html.premium-v3 #view-v3a-teams .team-picker-league {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: unset !important;
  font-size: 0.78rem !important;
  color: rgba(187, 247, 208, 0.82) !important;
  line-height: 1.3 !important;
}

html.premium-v3 #view-v3a-teams .team-picker-row .fav-btn--picker {
  flex: 0 0 64px;
  width: 64px;
  min-width: 64px;
  min-height: 64px;
  border-left: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: rgba(0, 0, 0, 0.18) !important;
  color: #fde68a !important;
}

html.premium-v3 #view-v3a-teams .team-picker-row .fav-btn--picker.active {
  background: linear-gradient(180deg, #fde68a 0%, #fbbf24 100%) !important;
  color: #451a03 !important;
}

html.premium-v3 #view-v3a-teams .v3a-teams-section-head {
  align-items: center;
  margin-bottom: 6px;
}

html.premium-v3 #view-v3a-teams .v3a-teams-hint {
  color: rgba(226, 252, 236, 0.82) !important;
  font-size: 0.88rem !important;
  line-height: 1.4;
  margin: 8px 2px 10px;
}

/* Tablet / desktop: two readable columns of full team rows */
@media (min-width: 768px) {
  html.premium-v3 #view-v3a-teams .team-picker-list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    max-height: none;
    overflow: visible;
    padding: 4px;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  html.premium-v3 #view-v3a-teams .team-picker-row {
    border: 1px solid var(--pv3-border) !important;
    border-radius: 14px !important;
    background: var(--pv3-surface-raised) !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28) !important;
    min-height: 76px;
  }

  html.premium-v3 #view-v3a-teams .team-picker-row:last-child {
    border-bottom: 1px solid var(--pv3-border) !important;
  }

  html.premium-v3 #view-v3a-teams .team-picker-name {
    font-size: 1.02rem !important;
  }

  html.premium-v3 #view-v3a-teams .v3a-teams-section-head {
    padding: 4px 2px 8px;
  }

  html.premium-v3 #view-v3a-teams .v3a-teams-section-head .section-title {
    font-size: 0.95rem !important;
    letter-spacing: 0.04em;
  }
}

@media (min-width: 1180px) {
  /* Keep max 2 columns so names stay readable (never a 3–4 chip grid) */
  html.premium-v3 #view-v3a-teams .team-picker-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
}

/* Modals */
html.premium-v3 .help-modal,
html.premium-v3 .settings-modal {
  background: rgba(5, 15, 10, 0.9) !important;
}

html.premium-v3 .help-modal-panel {
  min-height: 0;
  overflow: hidden;
}

html.premium-v3 .help-modal-card {
  overflow-x: hidden !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

/* Help guide: high-contrast hero (light text on dark green) */
html.premium-v3 .faq-hero {
  background: linear-gradient(
    145deg,
    #166534 0%,
    #0f5132 48%,
    #052e16 100%
  ) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

html.premium-v3 .faq-hero h2,
html.premium-v3 #help-modal-title {
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

html.premium-v3 .faq-hero p {
  color: #ecfdf5 !important;
  opacity: 1 !important;
}

/* FAQ items sit on cream cards — use dark ink, not pale green */
html.premium-v3 .faq-question {
  color: #052e16 !important;
}

html.premium-v3 .faq-answer {
  color: #1a2e24 !important;
}

html.premium-v3 .faq-answer strong {
  color: #0a3d26 !important;
}

html.premium-v3 .faq-item {
  background: #fffef9 !important;
  border: 1px solid rgba(15, 81, 50, 0.14) !important;
}

html.premium-v3 .loading-overlay {
  background: rgba(10, 24, 18, 0.95) !important;
}

html.premium-v3 .loading-overlay-card {
  background: var(--pv3-surface-raised) !important;
  border: 1px solid var(--pv3-border) !important;
  border-radius: 22px !important;
}

html.premium-v3 .loading-overlay-progress__bar {
  background: linear-gradient(90deg, #22c55e, #4ade80) !important;
}

html.premium-v3 .loading-overlay-ring {
  border-color: rgba(74, 222, 128, 0.2) !important;
  border-top-color: var(--pv3-accent) !important;
}

html.premium-v3 .section-header {
  background: var(--pv3-surface) !important;
  border-color: var(--pv3-border) !important;
  border-radius: 14px;
}

html.premium-v3 .cc-table th {
  background: rgba(74, 222, 128, 0.12) !important;
  color: var(--pv3-accent) !important;
}

html.premium-v3 .form-w { color: #4ade80 !important; }
html.premium-v3 .form-l { color: #f87171 !important; }
html.premium-v3 .form-d { color: #fbbf24 !important; }

html.premium-v3 .fixture-weather {
  background: var(--pv3-surface) !important;
  border-color: var(--pv3-border) !important;
}

@media (max-width: 640px) {
  html.premium-v3 .main {
    padding-bottom: calc(var(--nav-height) + env(safe-area-inset-bottom, 0px) + 12px);
  }

  html.premium-v3 body {
    background: var(--pv3-bg);
  }

  html.premium-v3 .pv3-app-bg__fg-player,
  html.premium-v3 .pv3-app-bg__fg-ball {
    opacity: 0.28;
  }
}

/* ── Club home hub — fix washed-out text (screenshot feedback) ── */

/* Remove the light cream wash that sits over the whole dashboard */
html.premium-v3 .club-home-dashboard.has-club-logo-bg::after {
  background: linear-gradient(
    180deg,
    rgba(10, 24, 18, 0.35) 0%,
    rgba(10, 24, 18, 0.72) 45%,
    rgba(6, 16, 11, 0.92) 100%
  ) !important;
}

html.premium-v3 .club-home-dashboard.has-club-logo-bg::before {
  opacity: 0.11 !important;
  filter: saturate(0.6) brightness(1.2);
}

html.premium-v3 #home-page,
html.premium-v3 .home-page,
html.premium-v3 #home-page .club-home-dashboard {
  color: var(--pv3-text-high);
}

/* About club copy */
html.premium-v3 .club-home-about-text {
  color: rgba(255, 255, 255, 0.94) !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  line-height: 1.6 !important;
}

/* Yellow warning — was white on pale yellow (unreadable) */
html.premium-v3 .match-data-warning {
  background: rgba(120, 83, 14, 0.55) !important;
  border: 1px solid rgba(251, 191, 36, 0.45) !important;
  color: #fef3c7 !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

html.premium-v3 .match-data-warning-text {
  color: #fef3c7 !important;
}

/* Fixture / result highlight cards */
html.premium-v3 .home-highlights {
  margin: 0 0 14px;
}

html.premium-v3 .home-highlight-grid {
  display: grid;
  gap: 12px;
}

@media (min-width: 640px) {
  html.premium-v3 .home-highlight-grid {
    grid-template-columns: 1fr 1fr;
  }
}

html.premium-v3 .home-highlight-card {
  border-radius: var(--pv3-radius) !important;
  background: var(--pv3-surface-raised) !important;
  border: 1px solid var(--pv3-border) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28) !important;
  overflow: hidden;
}

html.premium-v3 .home-highlight-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px 0;
}

html.premium-v3 .home-highlight-kicker {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pv3-accent) !important;
}

html.premium-v3 .home-highlight-empty {
  padding: 20px 14px 22px;
  text-align: center;
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: 0.92rem !important;
  font-weight: 600 !important;
}

html.premium-v3 .home-highlight-empty p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.88) !important;
}

/* Quick nav chips: Teams / Fixtures / Results / Match Day */
html.premium-v3 .home-quick-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}

html.premium-v3 .home-quick-chip {
  flex: 1 1 calc(50% - 4px);
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--pv3-border) !important;
  border-radius: 999px;
  background: var(--pv3-surface) !important;
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 0.86rem !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}

html.premium-v3 .home-quick-chip:active {
  background: var(--pv3-surface-raised) !important;
  color: #fff !important;
}

/* Stats row */
html.premium-v3 .club-home-quick-stats .quick-stat-value {
  color: #fff !important;
  font-weight: 800 !important;
}

html.premium-v3 .club-home-quick-stats .quick-stat-label {
  color: var(--pv3-muted) !important;
  font-weight: 700 !important;
}

/* My Club hero — Live Studio depth (reinforces Home Studio block above) */
html.premium-v3 .club-home-dashboard-hero {
  background:
    radial-gradient(ellipse 90% 70% at 80% 0%, rgba(74, 222, 128, 0.16) 0%, transparent 55%),
    linear-gradient(165deg, #0a1f14 0%, #06140d 55%, #040e09 100%) !important;
  border: 1px solid rgba(212, 168, 67, 0.28) !important;
  border-radius: 20px !important;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.42) !important;
}

html.premium-v3 .club-home-dashboard-hero .club-home-hero-kicker {
  color: #86efac !important;
  font-weight: 800 !important;
  letter-spacing: 0.12em !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
}

html.premium-v3 .club-home-dashboard-hero .fav-hero-title {
  color: #ffffff !important;
  font-weight: 800 !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

html.premium-v3 .club-home-dashboard-hero .fav-hero-sub {
  color: rgba(248, 250, 249, 0.94) !important;
  font-weight: 600 !important;
  font-size: 0.92rem !important;
  line-height: 1.5 !important;
}

html.premium-v3 .club-home-dashboard-hero .club-home-meta-chip {
  background: rgba(8, 20, 14, 0.92) !important;
  border: 1px solid rgba(134, 239, 172, 0.4) !important;
  color: #f0fdf4 !important;
  font-weight: 700 !important;
}

html.premium-v3 .club-home-dashboard-hero .club-home-meta-link,
html.premium-v3 .club-home-dashboard-hero .club-home-meta-text {
  color: #bbf7d0 !important;
}

/* Teams / Matches / Hall of Fame tabs */
html.premium-v3 .club-home-panel {
  background: var(--pv3-surface-raised) !important;
  border: 1px solid var(--pv3-border) !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28) !important;
}

html.premium-v3 .tab-bar-inline,
html.premium-v3 .club-home-tabs {
  background: var(--pv3-surface) !important;
  border: 1px solid var(--pv3-border) !important;
  box-shadow: none !important;
}

html.premium-v3 .tab-inline {
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
}

html.premium-v3 .tab-inline.active {
  background: linear-gradient(135deg, #86efac, #4ade80) !important;
  color: #052e16 !important;
}

/* Empty states & hints */
html.premium-v3 .empty-state {
  color: rgba(255, 255, 255, 0.84) !important;
  font-weight: 600 !important;
}

html.premium-v3 .empty-state p {
  color: rgba(255, 255, 255, 0.88) !important;
}

html.premium-v3 .pull-refresh-tip {
  background: linear-gradient(145deg, rgba(34, 120, 58, 0.35) 0%, rgba(12, 28, 20, 0.95) 55%, rgba(10, 24, 18, 0.98) 100%);
  border: 1px solid rgba(74, 222, 128, 0.35);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

html.premium-v3 .pull-refresh-tip__title {
  color: #bbf7d0 !important;
}

html.premium-v3 .pull-refresh-tip__text {
  color: rgba(236, 253, 245, 0.92) !important;
}

html.premium-v3 .pull-refresh-tip__text strong {
  color: #86efac;
}

html.premium-v3 .pull-refresh-tip__close {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.75);
}

/* Home Hall of Fame — readable on dark premium shell */
html.premium-v3 .hall-of-fame-section-title {
  margin: 0 0 8px;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: #bbf7d0 !important;
}

html.premium-v3 .hall-of-fame-weekly-kicker {
  color: #86efac !important;
}

html.premium-v3 .hall-of-fame-block-title {
  color: #d1fae5 !important;
}

html.premium-v3 .hall-of-fame-empty-note,
html.premium-v3 .hall-of-fame-weekly-header .player-roster-hint {
  color: rgba(220, 252, 231, 0.78) !important;
}

html.premium-v3 .hall-of-fame-block {
  background: var(--pv3-surface-raised);
  border: 1px solid var(--pv3-border);
  border-radius: var(--pv3-radius);
  padding: 12px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

html.premium-v3 .hall-of-fame-weekly-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

html.premium-v3 .hall-of-fame-block .stats-table {
  background: rgba(255, 255, 255, 0.97);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

html.premium-v3 .stats-table--medals .stats-table-row {
  min-height: 52px;
}

html.premium-v3 .stats-table--medals .stats-player-name,
html.premium-v3 .stats-table--medals .player-name-link.stats-player-name {
  color: #0f2918 !important;
  word-break: normal !important;
  overflow-wrap: break-word;
  white-space: normal;
}

html.premium-v3 .stats-table--medals .stats-col-value {
  flex-direction: row;
  align-items: baseline;
  justify-content: flex-end;
  gap: 0.3rem;
  white-space: nowrap;
}

html.premium-v3 .stats-table--medals .stats-value-unit {
  white-space: nowrap;
}

html.premium-v3 .hint-text,
html.premium-v3 .club-home-scope-note,
html.premium-v3 .player-roster-hint {
  color: rgba(255, 255, 255, 0.72) !important;
  font-weight: 500;
}

html.premium-v3 .club-home-change-btn {
  color: var(--pv3-accent) !important;
  font-weight: 700 !important;
  border-color: rgba(74, 222, 128, 0.3) !important;
  background: rgba(74, 222, 128, 0.08) !important;
}

/* ── Team detail view ── */
html.premium-v3 #view-team-detail {
  color: var(--pv3-text-high);
}

html.premium-v3 .team-detail-hero h2,
html.premium-v3 .team-detail-title h2 {
  color: #fff !important;
  font-weight: 800 !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

html.premium-v3 .team-detail-league,
html.premium-v3 .team-results-summary,
html.premium-v3 .player-roster-hint {
  color: rgba(255, 255, 255, 0.82) !important;
}

html.premium-v3 .team-detail-hero .team-league-table-btn {
  background: rgba(255, 255, 255, 0.14) !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
  color: #fff !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

html.premium-v3 .team-detail-hero .team-league-table-btn:hover,
html.premium-v3 .team-detail-hero .team-league-table-btn:focus-visible {
  background: rgba(255, 255, 255, 0.22) !important;
  border-color: rgba(255, 255, 255, 0.55) !important;
}

html.premium-v3 .team-points-rules {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
}

html.premium-v3 .team-points-rules__summary,
html.premium-v3 .team-points-rules__label,
html.premium-v3 .team-points-rules__value {
  color: #fff !important;
}

html.premium-v3 .team-points-rules__legend,
html.premium-v3 .team-points-rules__note {
  color: rgba(255, 255, 255, 0.78) !important;
}

html.premium-v3 .match-points-badge {
  background: rgba(255, 255, 255, 0.16) !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
  color: #fff !important;
}

html.premium-v3 .match-points-badge__label {
  color: rgba(255, 255, 255, 0.78) !important;
}

html.premium-v3 .standing-card,
html.premium-v3 .standing-name,
html.premium-v3 .standing-meta,
html.premium-v3 .standing-pts {
  color: #fff !important;
}

html.premium-v3 .standing-meta {
  color: var(--pv3-muted) !important;
}

html.premium-v3 .loading-overlay-title {
  color: #fff !important;
}

html.premium-v3 .loading-overlay-sub {
  color: rgba(255, 255, 255, 0.78) !important;
}

html.premium-v3 .loading-overlay-card {
  background: var(--pv3-surface-raised) !important;
  border: 1px solid var(--pv3-border) !important;
}

/* ── Match result cards — scoreboard, banner, actions ── */

html.premium-v3 .match-card--result .match-body--result {
  padding: 12px 14px 14px;
}

html.premium-v3 .match-card--result .match-division {
  color: var(--pv3-muted) !important;
  font-size: 0.76rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em;
}

html.premium-v3 .match-card--result .match-card-hint {
  color: var(--pv3-muted) !important;
  font-weight: 600 !important;
}

html.premium-v3 .cricket-result-board__side {
  color: rgba(255, 255, 255, 0.52) !important;
  font-size: 0.58rem !important;
  letter-spacing: 0.14em !important;
}

html.premium-v3 .cricket-result-board__name {
  color: rgba(255, 255, 255, 0.92) !important;
  font-weight: 800 !important;
}

html.premium-v3 .cricket-result-board__team--winner .cricket-result-board__name {
  color: #bbf7d0 !important;
  text-shadow: 0 0 12px rgba(74, 222, 128, 0.35);
}

html.premium-v3 .cricket-result-board__team--winner .cricket-result-board__side {
  color: var(--pv3-accent) !important;
}

html.premium-v3 .cricket-result-board__teams-vs {
  color: rgba(255, 255, 255, 0.45) !important;
  font-weight: 900 !important;
}

html.premium-v3 .cricket-result-board__value--hero {
  color: #fff8e8 !important;
  -webkit-text-fill-color: #fff8e8 !important;
  text-shadow: 0 0 14px rgba(255, 213, 74, 0.4) !important;
}

html.premium-v3 .cricket-result-board__stat--winner .cricket-result-board__value--hero {
  color: #fde047 !important;
  -webkit-text-fill-color: #fde047 !important;
  text-shadow: 0 0 16px rgba(253, 224, 71, 0.55) !important;
}

html.premium-v3 .match-result-banner {
  margin-top: 12px;
  padding: 11px 14px;
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    rgba(74, 222, 128, 0.18) 0%,
    rgba(34, 197, 94, 0.1) 50%,
    rgba(253, 224, 71, 0.08) 100%
  ) !important;
  border: 1px solid rgba(74, 222, 128, 0.42) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 4px 14px rgba(0, 0, 0, 0.22) !important;
  color: #fde047 !important;
  font-size: 0.84rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.35;
  text-shadow: 0 1px 8px rgba(253, 224, 71, 0.35);
}

html.premium-v3 .match-card-actions--scorecard {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 10px 12px 12px;
  margin-top: 0;
  border-top: 1px solid var(--pv3-border);
  background: rgba(0, 0, 0, 0.12);
}

html.premium-v3 .match-card-actions--scorecard:not(.match-card-actions--compact) {
  grid-template-columns: repeat(4, 1fr);
}

html.premium-v3 .match-card-btn {
  min-height: 36px;
  padding: 8px 6px;
  border-radius: 10px;
  border: 1px solid rgba(74, 222, 128, 0.28) !important;
  background: var(--pv3-surface) !important;
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: none !important;
  -webkit-appearance: none;
  appearance: none;
}

html.premium-v3 .match-card-btn--primary {
  background: linear-gradient(135deg, #86efac, #4ade80, #22c55e) !important;
  border-color: transparent !important;
  color: #052e16 !important;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3) !important;
}

html.premium-v3 .match-card-btn--share {
  color: rgba(255, 255, 255, 0.88) !important;
  background: var(--pv3-surface) !important;
}

html.premium-v3 .match-card-btn:active {
  opacity: 0.88;
  transform: scale(0.98);
}

html.premium-v3 .match-card-actions--compact {
  grid-template-columns: repeat(3, 1fr);
  padding: 8px 10px 10px;
}

html.premium-v3 .match-card-actions--compact .match-card-btn {
  min-height: 32px;
  padding: 6px 4px;
  font-size: 0.66rem !important;
}

/* ── Players tab — Captains Chair entry + search ── */

html.premium-v3 .cc-entry-btn {
  display: flex !important;
  align-items: center;
  gap: 14px;
  width: 100%;
  margin: 0 0 14px;
  padding: 16px 18px;
  border: 1px solid rgba(74, 222, 128, 0.45) !important;
  border-radius: var(--pv3-radius) !important;
  background: linear-gradient(135deg, #14532d 0%, #166534 45%, #15803d 100%) !important;
  color: #fff !important;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(74, 222, 128, 0.12) !important;
  -webkit-appearance: none;
  appearance: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

html.premium-v3 .cc-entry-btn:active {
  transform: scale(0.98);
}

html.premium-v3 .cc-entry-btn__icon {
  font-size: 1.75rem;
  line-height: 1;
}

html.premium-v3 .cc-entry-btn__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

html.premium-v3 .cc-entry-btn__text strong {
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff !important;
}

html.premium-v3 .cc-entry-btn__text small {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82) !important;
}

html.premium-v3 .cc-entry-btn__action {
  flex-shrink: 0;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #fff !important;
}

html.premium-v3 .player-stats-toolbar {
  padding: 14px 16px 10px !important;
}

html.premium-v3 .player-stats-label {
  color: var(--pv3-muted) !important;
  font-weight: 700 !important;
  font-size: 0.76rem !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

html.premium-v3 .player-stats-status,
html.premium-v3 .player-stats-hint {
  color: var(--pv3-muted) !important;
  font-weight: 600 !important;
}

html.premium-v3 .player-stats-result {
  border: 1px solid var(--pv3-border) !important;
  background: var(--pv3-surface) !important;
  border-radius: 14px !important;
  color: #fff !important;
}

html.premium-v3 .player-stats-result__name {
  color: #fff !important;
  font-weight: 700 !important;
}

html.premium-v3 .player-stats-result__team,
html.premium-v3 .player-stats-chip em {
  color: var(--pv3-muted) !important;
}

html.premium-v3 .player-stats-chip {
  color: var(--pv3-accent) !important;
  font-weight: 700 !important;
}

/* Player profile — career totals */
html.premium-v3 .player-stats-profile .quick-stats {
  gap: 10px;
  margin: 14px 0 16px;
}

html.premium-v3 .player-stats-profile .quick-stat {
  background: rgba(0, 0, 0, 0.28) !important;
  border-color: rgba(251, 191, 36, 0.28) !important;
  padding: 14px 8px !important;
}

html.premium-v3 .player-stats-profile .quick-stat-value {
  color: #fbbf24 !important;
  font-size: 1.85rem !important;
  font-weight: 800 !important;
  line-height: 1.05 !important;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

html.premium-v3 .player-stats-profile .quick-stat-label {
  color: rgba(255, 255, 255, 0.72) !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em;
  margin-top: 6px;
}

html.premium-v3 .player-stats-profile-head h2 {
  color: #fff !important;
}

html.premium-v3 .player-stats-profile-kicker {
  color: var(--pv3-accent) !important;
}

html.premium-v3 .player-stats-fold {
  border-color: var(--pv3-border) !important;
  background: rgba(0, 0, 0, 0.22) !important;
}

html.premium-v3 .player-stats-fold > summary,
html.premium-v3 .player-stats-fold--nested > summary {
  color: #fff !important;
}

html.premium-v3 .player-stats-fold__meta,
html.premium-v3 .player-stats-profile-empty,
html.premium-v3 .player-stats-profile-note {
  color: var(--pv3-muted) !important;
}

html.premium-v3 .player-stats-mini-table thead th {
  background: rgba(0, 0, 0, 0.35) !important;
  color: var(--pv3-muted) !important;
}

html.premium-v3 .player-stats-mini-table th,
html.premium-v3 .player-stats-mini-table td {
  border-color: var(--pv3-border) !important;
  color: #fff !important;
}

html.premium-v3 .player-stats-search-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

html.premium-v3 .player-stats-search-field {
  position: relative;
}

html.premium-v3 .player-stats-search-field .player-stats-input {
  padding-right: 44px;
}

html.premium-v3 .player-stats-search-clear {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: rgba(74, 222, 128, 0.14);
  color: var(--pv3-accent);
  font-size: 1.35rem;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
}

html.premium-v3 .player-stats-search-clear:active {
  background: rgba(74, 222, 128, 0.24);
}

html.premium-v3 .player-stats-search-guide {
  padding: 16px;
  border: 1px solid var(--pv3-border);
  border-radius: var(--pv3-radius);
  background: var(--pv3-surface-raised);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}

html.premium-v3 .player-stats-search-guide__title {
  margin: 0 0 10px;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
}

html.premium-v3 .player-stats-search-guide__steps {
  margin: 0 0 12px;
  padding-left: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.55;
}

html.premium-v3 .player-stats-search-guide__steps li + li {
  margin-top: 6px;
}

html.premium-v3 .player-stats-search-guide__note {
  margin: 0;
  padding-top: 10px;
  border-top: 1px solid var(--pv3-border);
  color: var(--pv3-muted);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.45;
}

html.premium-v3 .player-stats-profile-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

html.premium-v3 .player-stats-new-search-btn {
  flex-shrink: 0;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid rgba(74, 222, 128, 0.45);
  border-radius: 999px;
  background: rgba(74, 222, 128, 0.12);
  color: var(--pv3-accent);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
}

html.premium-v3 .player-stats-new-search-btn:active {
  background: rgba(74, 222, 128, 0.22);
}

html.premium-v3 .v3a-players-club-wrap {
  margin-bottom: 4px;
}

html.premium-v3 .v3a-players-club-scroll {
  --players-club-row-height: 3.75rem;
  --players-club-gap: 0.625rem;
  max-height: calc(
    5 * var(--players-club-row-height) + 4 * var(--players-club-gap) + 1rem
  );
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  gap: var(--players-club-gap);
  padding: 8px;
  margin-top: 10px;
  border: 1px solid var(--pv3-border);
  border-radius: var(--pv3-radius-sm);
  background: var(--pv3-surface);
  scrollbar-width: thin;
  scrollbar-color: var(--pv3-accent) transparent;
}

html.premium-v3 .v3a-players-club-scroll::-webkit-scrollbar {
  width: 6px;
}

html.premium-v3 .v3a-players-club-scroll::-webkit-scrollbar-thumb {
  background: var(--pv3-accent);
  border-radius: 999px;
}

html.premium-v3 .v3a-players-club-btn {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: var(--players-club-row-height);
  padding: 14px 16px;
  border: 1px solid var(--pv3-border);
  border-radius: 14px;
  background: var(--pv3-surface-raised);
  color: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.1s ease;
  -webkit-tap-highlight-color: transparent;
}

html.premium-v3 .v3a-players-club-btn:active,
html.premium-v3 .v3a-players-club-btn:focus-visible {
  border-color: var(--pv3-accent);
  background: rgba(74, 222, 128, 0.12);
  outline: none;
  transform: scale(0.985);
}

html.premium-v3 .v3a-players-club-btn__name {
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  letter-spacing: -0.01em;
}

html.premium-v3 .v3a-players-club-empty {
  margin: 0;
  padding: 18px 12px;
  text-align: center;
  color: var(--pv3-muted);
  font-size: 0.92rem;
  font-weight: 600;
}

html.premium-v3 .v3a-players-club-selected {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  margin-bottom: 10px;
  border: 1px solid var(--pv3-border);
  border-radius: var(--pv3-radius-sm);
  background: var(--pv3-surface-raised);
}

html.premium-v3 .v3a-players-club-selected__name {
  color: #fff !important;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  line-height: 1.2;
}

/* ── Players tab — stat boxes & team boards ── */

html.premium-v3 .player-stats-page {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-bottom: 20px;
}

html.premium-v3 .player-stats-club-summary {
  padding: 0 14px;
}

html.premium-v3 .player-stats-club-summary-toggle {
  display: flex;
  justify-content: center;
  padding: 4px 0 2px;
}

html.premium-v3 .player-stats-club-stats-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  width: 100%;
  max-width: 100%;
  padding: 10px 18px;
  border: 1px solid rgba(251, 191, 36, 0.35);
  border-radius: 14px;
  background: rgba(251, 191, 36, 0.08);
  color: var(--pv3-accent);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

html.premium-v3 .player-stats-club-stats-btn:active:not(:disabled) {
  background: rgba(251, 191, 36, 0.16);
}

html.premium-v3 .player-stats-club-stats-btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

html.premium-v3 .player-stats-club-board__toolbar {
  display: flex;
  justify-content: flex-end;
  margin: -4px 0 10px;
}

html.premium-v3 .player-stats-club-board {
  padding: 18px 16px;
  border-radius: 18px;
  border: 1px solid rgba(251, 191, 36, 0.22);
  background:
    linear-gradient(165deg, rgba(27, 67, 50, 0.92) 0%, rgba(10, 24, 18, 0.96) 100%);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

html.premium-v3 .player-stats-club-board--loading {
  text-align: center;
  padding: 28px 16px;
}

html.premium-v3 .player-stats-club-board__status {
  margin: 0;
  color: var(--pv3-muted);
  font-weight: 600;
}

html.premium-v3 .player-stats-club-board__kicker,
html.premium-v3 .player-stats-profile-kicker {
  margin: 0 0 4px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pv3-accent) !important;
}

html.premium-v3 .player-stats-club-board__title {
  margin: 0;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  letter-spacing: -0.02em;
}

html.premium-v3 .player-stats-club-board__meta,
html.premium-v3 .player-stats-club-board__extra {
  margin: 6px 0 0;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--pv3-muted);
}

html.premium-v3 .player-stats-club-board__extra {
  margin-top: 10px;
}

html.premium-v3 .player-stats-section {
  margin-top: 18px;
}

html.premium-v3 .player-stats-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

html.premium-v3 .player-stats-section-title {
  margin: 0;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
}

html.premium-v3 .player-stats-section-meta {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--pv3-muted);
}

html.premium-v3 .player-stats-stat-grid {
  display: grid;
  gap: 10px;
}

html.premium-v3 .player-stats-stat-grid--hero {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 14px;
}

html.premium-v3 .player-stats-stat-grid--card,
html.premium-v3 .player-stats-stat-grid--team {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

html.premium-v3 .player-stats-stat-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 76px;
  padding: 12px 8px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.28);
  text-align: center;
}

html.premium-v3 .player-stats-stat-grid--hero .player-stats-stat-box {
  min-height: 88px;
  padding: 14px 10px;
}

html.premium-v3 .player-stats-stat-box--runs {
  border-color: rgba(251, 191, 36, 0.35);
  background: linear-gradient(180deg, rgba(251, 191, 36, 0.14) 0%, rgba(0, 0, 0, 0.22) 100%);
}

html.premium-v3 .player-stats-stat-box--wickets {
  border-color: rgba(74, 222, 128, 0.3);
  background: linear-gradient(180deg, rgba(74, 222, 128, 0.12) 0%, rgba(0, 0, 0, 0.22) 100%);
}

html.premium-v3 .player-stats-stat-box--catches {
  border-color: rgba(96, 165, 250, 0.3);
  background: linear-gradient(180deg, rgba(96, 165, 250, 0.12) 0%, rgba(0, 0, 0, 0.22) 100%);
}

html.premium-v3 .player-stats-stat-box--players,
html.premium-v3 .player-stats-stat-box--high {
  border-color: rgba(255, 255, 255, 0.16);
}

html.premium-v3 .player-stats-stat-box__value {
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

html.premium-v3 .player-stats-stat-grid--hero .player-stats-stat-box__value {
  font-size: 1.95rem;
}

html.premium-v3 .player-stats-stat-grid--card .player-stats-stat-box__value,
html.premium-v3 .player-stats-stat-grid--team .player-stats-stat-box__value {
  font-size: 1.28rem;
}

html.premium-v3 .player-stats-stat-box--runs .player-stats-stat-box__value {
  color: #fbbf24;
}

html.premium-v3 .player-stats-stat-box--wickets .player-stats-stat-box__value {
  color: #4ade80;
}

html.premium-v3 .player-stats-stat-box--catches .player-stats-stat-box__value {
  color: #93c5fd;
}

html.premium-v3 .player-stats-stat-box__label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

html.premium-v3 .player-stats-team-grid {
  display: grid;
  gap: 12px;
}

html.premium-v3 .player-stats-team-card {
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--pv3-border);
  background: var(--pv3-surface-raised);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

html.premium-v3 .player-stats-team-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

html.premium-v3 .player-stats-team-card__name {
  margin: 0;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
}

html.premium-v3 .player-stats-team-card__count {
  flex-shrink: 0;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.22);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pv3-accent);
}

html.premium-v3 .player-stats-team-card--profile .player-stats-team-card__seasons {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--pv3-border);
}

html.premium-v3 .player-stats-panel {
  padding: 0 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

html.premium-v3 .player-stats-results {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

html.premium-v3 .player-stats-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  padding: 16px;
  border: 1px solid var(--pv3-border);
  border-radius: 16px;
  background: var(--pv3-surface-raised);
  color: #fff;
  text-align: left;
  cursor: pointer;
  font: inherit;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
  transition: border-color 0.15s ease, transform 0.12s ease;
}

html.premium-v3 .player-stats-card:active {
  transform: scale(0.99);
  border-color: rgba(74, 222, 128, 0.35);
}

html.premium-v3 .player-stats-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
}

html.premium-v3 .player-stats-card__name {
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 1.12rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

html.premium-v3 .player-stats-card__team {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--pv3-accent);
}

html.premium-v3 .player-stats-card__extra {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--pv3-muted);
}

html.premium-v3 .player-stats-profile {
  margin: 0 14px 20px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--pv3-border);
  background: var(--pv3-surface-raised);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

html.premium-v3 .player-stats-back-btn {
  margin-bottom: 10px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--pv3-accent);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
}

html.premium-v3 .player-stats-profile-head h2 {
  margin: 4px 0 6px;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.15;
  color: #fff !important;
}

html.premium-v3 .player-stats-profile-club {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--pv3-muted);
}

html.premium-v3 .player-stats-profile-hero {
  margin: 16px 0 12px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(251, 191, 36, 0.18);
  background: rgba(0, 0, 0, 0.22);
}

html.premium-v3 .player-stats-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

html.premium-v3 .player-stats-info-box {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-height: 56px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--pv3-border);
  background: rgba(0, 0, 0, 0.2);
}

html.premium-v3 .player-stats-info-box__label {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pv3-muted);
}

html.premium-v3 .player-stats-info-box__value {
  font-size: 1rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #fff;
}

html.premium-v3 .player-stats-table-panel {
  padding: 4px;
  border-radius: 14px;
  border: 1px solid var(--pv3-border);
  background: rgba(0, 0, 0, 0.18);
  overflow-x: auto;
}

html.premium-v3 .player-stats-mini-table {
  width: 100%;
  min-width: 260px;
}

html.premium-v3 .player-stats-empty {
  padding: 24px 16px;
  text-align: center;
  border-radius: 16px;
  border: 1px dashed var(--pv3-border);
  background: var(--pv3-surface);
  color: var(--pv3-muted);
  font-weight: 600;
}

@media (min-width: 480px) {
  html.premium-v3 .player-stats-stat-grid--hero {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  html.premium-v3 .player-stats-team-grid:not(.player-stats-team-grid--profile) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ── Match modal — scorecard / ball-by-ball tabs ── */

html.premium-v3 .match-detail-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 0 10px;
}

html.premium-v3 .match-detail-tab {
  flex: 1 1 auto;
  min-height: 34px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(74, 222, 128, 0.28) !important;
  background: var(--pv3-surface) !important;
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

html.premium-v3 .match-detail-tab.active {
  background: linear-gradient(135deg, #86efac, #4ade80, #22c55e) !important;
  border-color: transparent !important;
  color: #052e16 !important;
}

html.premium-v3 .match-detail-tab-panel {
  margin-top: 4px;
}

html.premium-v3 .scorecard-innings-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

html.premium-v3 .scorecard-innings-tab {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(74, 222, 128, 0.28);
  background: var(--pv3-surface);
  color: var(--pv3-accent);
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
}

html.premium-v3 .scorecard-innings-tab.active {
  background: rgba(74, 222, 128, 0.14);
  border-color: rgba(74, 222, 128, 0.45);
}

html.premium-v3 .scorecard-team {
  margin: 0 0 8px;
  font-size: 1rem;
  color: var(--pv3-accent);
}

html.premium-v3 .scorecard-innings h4 {
  margin: 12px 0 6px;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--pv3-muted);
}

html.premium-v3 .scorecard-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
}

html.premium-v3 .scorecard-table th,
html.premium-v3 .scorecard-table td {
  padding: 6px 4px;
  border-bottom: 1px solid var(--pv3-border);
  vertical-align: top;
  color: rgba(255, 255, 255, 0.92);
}

html.premium-v3 .scorecard-table th {
  color: var(--pv3-accent);
  background: rgba(74, 222, 128, 0.1);
  font-weight: 800;
  font-size: 0.7rem;
  text-transform: uppercase;
}

html.premium-v3 .scorecard-dismissal,
html.premium-v3 .scorecard-empty,
html.premium-v3 .scorecard-source,
html.premium-v3 .scorecard-fow {
  color: var(--pv3-muted);
  font-size: 0.8rem;
}

html.premium-v3 .scorecard-link a {
  color: var(--pv3-accent);
  font-weight: 700;
}

html.premium-v3 .ball-by-ball-note {
  margin: 0 0 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.22);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.78rem;
  line-height: 1.45;
}

html.premium-v3 .ball-by-ball-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

html.premium-v3 .ball-by-ball-item {
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--pv3-surface);
  border: 1px solid var(--pv3-border);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.8rem;
  line-height: 1.4;
}

html.premium-v3 .ball-by-ball-item--wicket {
  border-color: rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.08);
}

html.premium-v3 .ball-by-ball-item--milestone {
  border-color: rgba(253, 224, 71, 0.35);
  background: rgba(253, 224, 71, 0.08);
}

html.premium-v3 .ball-by-ball-item--innings {
  border-color: rgba(74, 222, 128, 0.35);
  background: rgba(74, 222, 128, 0.08);
  font-weight: 700;
}

/* ── Captains Chair — full page ── */

html.premium-v3 .cc-page {
  padding: 12px 16px 28px;
  max-width: 1200px;
  margin: 0 auto;
}

html.premium-v3 .cc-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

html.premium-v3 .cc-topbar__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

html.premium-v3 .cc-hero {
  margin-bottom: 14px;
}

html.premium-v3 .cc-title {
  margin: 0;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

html.premium-v3 .cc-subtitle,
html.premium-v3 .cc-meta {
  margin: 4px 0 0;
  color: var(--pv3-muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

html.premium-v3 .cc-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

@media (min-width: 640px) {
  html.premium-v3 .cc-summary {
    grid-template-columns: repeat(6, 1fr);
  }
}

html.premium-v3 .cc-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 72px;
  padding: 10px 8px;
  border-radius: 12px;
  border: 1px solid var(--pv3-border) !important;
  background: var(--pv3-surface) !important;
  color: #fff;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}

html.premium-v3 .cc-stat.active {
  border-color: rgba(74, 222, 128, 0.55) !important;
  background: rgba(74, 222, 128, 0.12) !important;
  box-shadow: 0 0 0 1px rgba(74, 222, 128, 0.2);
}

html.premium-v3 .cc-stat__num {
  font-size: 1.35rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

html.premium-v3 .cc-stat__label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--pv3-muted);
}

html.premium-v3 .cc-stat--flex .cc-stat__num { color: #4ade80; }
html.premium-v3 .cc-stat--near .cc-stat__num { color: #fbbf24; }
html.premium-v3 .cc-stat--restricted .cc-stat__num { color: #f87171; }

html.premium-v3 .cc-panel {
  margin-bottom: 14px;
  padding: 14px;
  border-radius: var(--pv3-radius);
  border: 1px solid var(--pv3-border);
  background: var(--pv3-surface-raised);
}

html.premium-v3 .cc-panel__head {
  margin-bottom: 10px;
}

html.premium-v3 .cc-panel__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
}

html.premium-v3 .cc-panel__hint {
  margin: 4px 0 0;
  font-size: 0.76rem;
  color: var(--pv3-muted);
}

html.premium-v3 .cc-toolbar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 10px;
}

html.premium-v3 .cc-search {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--pv3-border);
  background: var(--pv3-surface);
  color: #fff;
  font-size: 0.9rem;
}

html.premium-v3 .cc-rules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

html.premium-v3 .cc-rule-btn {
  min-height: 40px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(74, 222, 128, 0.28);
  background: var(--pv3-surface);
  color: var(--pv3-accent);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

html.premium-v3 .cc-rule-btn.active {
  background: linear-gradient(135deg, #86efac, #22c55e);
  border-color: transparent;
  color: #052e16;
}

html.premium-v3 .cc-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

html.premium-v3 .cc-pill {
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--pv3-border);
  background: var(--pv3-surface);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
}

html.premium-v3 .cc-pill.active {
  background: rgba(74, 222, 128, 0.16);
  border-color: rgba(74, 222, 128, 0.45);
  color: var(--pv3-accent);
}

html.premium-v3 .cc-btn {
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid var(--pv3-border);
  background: var(--pv3-surface);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

html.premium-v3 .cc-btn--primary {
  background: linear-gradient(135deg, #86efac, #4ade80, #22c55e);
  border-color: transparent;
  color: #052e16;
}

html.premium-v3 .cc-btn--ghost {
  background: var(--pv3-surface);
  color: var(--pv3-accent);
}

html.premium-v3 .cc-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  font-size: 0.74rem;
  color: var(--pv3-muted);
  margin-bottom: 10px;
}

html.premium-v3 .cc-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-right: 5px;
  vertical-align: middle;
}

html.premium-v3 .cc-dot--flex { background: #4ade80; }
html.premium-v3 .cc-dot--near { background: #fbbf24; }
html.premium-v3 .cc-dot--restricted { background: #f87171; }

html.premium-v3 .cc-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
  border: 1px solid var(--pv3-border);
  background: var(--pv3-surface);
}

html.premium-v3 .cc-table-wrap--compact {
  margin-top: 0;
}

html.premium-v3 .cc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}

html.premium-v3 .cc-table th,
html.premium-v3 .cc-table td {
  padding: 10px 8px;
  border-bottom: 1px solid var(--pv3-border);
  text-align: left;
  vertical-align: middle;
  color: rgba(255, 255, 255, 0.92);
}

html.premium-v3 .cc-table th {
  background: rgba(74, 222, 128, 0.12) !important;
  color: var(--pv3-accent) !important;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

html.premium-v3 .cc-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.03);
}

html.premium-v3 .cc-table tbody tr:hover {
  background: rgba(74, 222, 128, 0.06);
}

html.premium-v3 .cc-sort {
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
  padding: 0;
  text-transform: inherit;
  letter-spacing: inherit;
}

html.premium-v3 .cc-num,
html.premium-v3 .cc-col-num {
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

html.premium-v3 .cc-num--total {
  color: var(--pv3-accent);
}

html.premium-v3 .cc-player {
  font-weight: 700;
  min-width: 120px;
}

html.premium-v3 .cc-xi {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.72rem;
  font-weight: 700;
}

html.premium-v3 .cc-drop {
  font-size: 0.74rem;
  color: var(--pv3-muted);
  max-width: 120px;
  white-space: normal;
}

html.premium-v3 .cc-team-div {
  font-size: 0.72rem;
  color: var(--pv3-muted);
  white-space: normal;
  min-width: 140px;
}

html.premium-v3 .cc-badges {
  white-space: nowrap;
}

html.premium-v3 .cc-badge {
  display: inline-block;
  margin: 0 3px 3px 0;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

html.premium-v3 .cc-badge--ok {
  background: rgba(74, 222, 128, 0.16);
  color: #86efac;
  border: 1px solid rgba(74, 222, 128, 0.3);
}

html.premium-v3 .cc-badge--warn {
  background: rgba(251, 191, 36, 0.14);
  color: #fcd34d;
  border: 1px solid rgba(251, 191, 36, 0.35);
}

html.premium-v3 .cc-badge--bad {
  background: rgba(248, 113, 113, 0.14);
  color: #fca5a5;
  border: 1px solid rgba(248, 113, 113, 0.35);
}

html.premium-v3 .cc-status {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

html.premium-v3 .cc-status--flex {
  background: rgba(74, 222, 128, 0.16);
  color: #86efac;
}

html.premium-v3 .cc-status--near {
  background: rgba(251, 191, 36, 0.14);
  color: #fcd34d;
}

html.premium-v3 .cc-status--restricted {
  background: rgba(248, 113, 113, 0.14);
  color: #fca5a5;
}

html.premium-v3 .cc-empty {
  text-align: center;
  color: var(--pv3-muted);
  padding: 28px !important;
}

html.premium-v3 .cc-count {
  margin: 8px 0 0;
  padding: 0 4px;
  font-size: 0.76rem;
  color: var(--pv3-muted);
}

html.premium-v3 .cc-rules-detail {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--pv3-border);
  background: var(--pv3-surface);
  color: var(--pv3-muted);
  font-size: 0.82rem;
}

html.premium-v3 .cc-rules-detail summary {
  cursor: pointer;
  font-weight: 700;
  color: #fff;
}

html.premium-v3 .cc-rules-grid {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

@media (min-width: 640px) {
  html.premium-v3 .cc-rules-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

html.premium-v3 .cc-rule-card {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--pv3-border);
  background: rgba(0, 0, 0, 0.12);
}

html.premium-v3 .cc-rule-card strong {
  display: block;
  margin-bottom: 4px;
  color: var(--pv3-accent);
}

html.premium-v3 .cc-rule-card p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
}

html.premium-v3 .cc-loading {
  text-align: center;
  padding: 48px 20px;
  color: var(--pv3-muted);
}

html.premium-v3 .cc-spinner {
  width: 36px;
  height: 36px;
  margin: 0 auto 12px;
  border: 3px solid rgba(74, 222, 128, 0.2);
  border-top-color: var(--pv3-accent);
  border-radius: 50%;
  animation: cc-spin 0.8s linear infinite;
}

@keyframes cc-spin {
  to { transform: rotate(360deg); }
}

html.premium-v3 .cc-error {
  color: #fca5a5;
  margin: 12px 0;
}

/* ── Live tab — sample board + rich score cards ── */
@keyframes pv3-live-pulse-badge {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.72; }
}

@keyframes pv3-cricket-light-sweep {
  0% { background-position: 200% 0; }
  100% { background-position: -20% 0; }
}

html.premium-v3 .live-sample-board-host {
  margin-bottom: 16px;
}

html.premium-v3 .live-sample-board__head {
  margin: 0 0 10px;
  padding: 0 2px;
}

html.premium-v3 .live-sample-board__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pv3-accent);
}

html.premium-v3 .live-sample-board__sub {
  margin: 4px 0 0;
  font-size: 0.78rem;
  color: var(--pv3-muted);
  line-height: 1.4;
}

html.premium-v3 .live-scoreboards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

html.premium-v3 .live-score-card {
  position: relative;
  border-radius: var(--pv3-radius-sm);
  border: 1px solid rgba(74, 222, 128, 0.22);
  background: linear-gradient(165deg, #102a1c 0%, #0c2216 48%, #081a10 100%);
  overflow: hidden;
  color: var(--pv3-gold-light);
}

html.premium-v3 .live-score-card > * {
  position: relative;
  z-index: 1;
}

html.premium-v3 .live-score-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: calc(var(--pv3-radius-sm) - 1px);
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(203, 213, 225, 0.07) 46%,
    rgba(255, 255, 255, 0.12) 50%,
    rgba(148, 163, 184, 0.08) 54%,
    transparent 100%
  );
  background-size: 220% 100%;
  animation: pv3-cricket-light-sweep 10s ease-in-out infinite;
}

html.premium-v3 .live-score-card--example {
  background: linear-gradient(165deg, #626262 0%, #5a5a5a 100%);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  color: #e8e8e8;
}

html.premium-v3 .live-score-card--example::after {
  opacity: 0.35;
}

html.premium-v3 .live-score-card__example-label {
  margin: 0;
  padding: 16px 16px 14px;
  text-align: center;
  font-size: 1.65rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-indent: 0.22em;
  text-transform: uppercase;
  color: #fff;
  background: #3d3d3d;
  border-bottom: 2px solid #888;
}

html.premium-v3 .live-score-card--example .live-score-card__header {
  background: #4a4a4a;
  border-bottom-color: #666;
}

html.premium-v3 .live-score-card--example .live-score-card__date,
html.premium-v3 .live-score-card--example .live-score-card__comp,
html.premium-v3 .live-score-card--example .live-score-card__venue,
html.premium-v3 .live-score-card--example .live-score-card__label,
html.premium-v3 .live-score-card--example .live-score-card__rates,
html.premium-v3 .live-score-card--example .live-score-card__rates em,
html.premium-v3 .live-score-card--example .live-score-card__situation,
html.premium-v3 .live-score-card--example .live-score-card__partnership,
html.premium-v3 .live-score-card--example .live-score-card__bowl-figs em,
html.premium-v3 .live-score-card--example .live-score-card__extras,
html.premium-v3 .live-score-card--example .live-score-card__recent,
html.premium-v3 .live-score-card--example .live-score-card__updated,
html.premium-v3 .live-score-card--example .live-score-card__empty {
  color: #d4d4a8;
}

html.premium-v3 .live-score-card--example .live-score-card__teams,
html.premium-v3 .live-score-card--example .live-score-card__score,
html.premium-v3 .live-score-card--example .live-score-card__section-title,
html.premium-v3 .live-score-card--example .live-score-card__bat-head,
html.premium-v3 .live-score-card--example .live-score-card__batter,
html.premium-v3 .live-score-card--example .live-score-card__bowler-name,
html.premium-v3 .live-score-card--example .live-score-card__bowl-figs,
html.premium-v3 .live-score-card--example .live-score-card__partnership strong {
  color: #fff;
}

html.premium-v3 .live-score-card--example .live-score-card__main {
  background: #525252;
  border-bottom-color: #666;
}

html.premium-v3 .live-score-card--example .live-score-card__section,
html.premium-v3 .live-score-card--example .live-score-card__section--batting {
  background: #4e4e4e;
  border-bottom-color: #666;
}

html.premium-v3 .live-score-card--example .live-score-card__footer {
  background: #454545;
  border-top-color: #666;
}

html.premium-v3 .live-score-card--example .live-score-card__bat-row span:not(.live-score-card__batter) {
  color: #d4d4a8;
}

html.premium-v3 .live-score-card__header {
  padding: 14px 16px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.35);
}

html.premium-v3 .live-score-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

html.premium-v3 .live-score-card__date {
  font-size: 0.78rem;
  color: var(--pv3-gold-light);
}

html.premium-v3 .live-score-card__badge {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #000;
  background: #ff3b30;
  padding: 4px 10px;
  border-radius: 999px;
}

html.premium-v3 .live-score-card__badge.live-pulse {
  animation: pv3-live-pulse-badge 1.6s ease-in-out infinite;
}

html.premium-v3 .live-score-card__badge--demo {
  background: #888;
  color: #fff;
}

html.premium-v3 .live-score-card__comp {
  font-size: 0.75rem;
  color: var(--pv3-gold-light);
  font-weight: 600;
  margin: 0 0 8px;
}

html.premium-v3 .live-score-card__teams {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
}

html.premium-v3 .live-score-card__vs {
  font-size: 0.78rem;
  color: var(--pv3-gold-light);
  font-weight: 500;
}

html.premium-v3 .live-score-card__venue {
  margin: 8px 0 0;
  font-size: 0.78rem;
  color: var(--pv3-gold-light);
}

html.premium-v3 .live-score-card__main {
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

html.premium-v3 .live-score-card__score-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
}

html.premium-v3 .live-score-card__label {
  display: block;
  font-size: 0.72rem;
  color: var(--pv3-gold-light);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

html.premium-v3 .live-score-card__score {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.1;
}

html.premium-v3 .live-score-card__rates {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.82rem;
  color: var(--pv3-gold-light);
  text-align: right;
}

html.premium-v3 .live-score-card__rates em {
  font-style: normal;
  font-size: 0.68rem;
  color: var(--pv3-gold-light);
  margin-right: 4px;
  opacity: 0.85;
}

html.premium-v3 .live-score-card__situation {
  margin: 10px 0 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--pv3-accent);
}

html.premium-v3 .live-score-card__section {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.18);
}

html.premium-v3 .live-score-card__section--batting {
  background: rgba(0, 0, 0, 0.24);
}

html.premium-v3 .live-score-card__section-title {
  margin: 0 0 10px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}

html.premium-v3 .live-score-card__bat-grid {
  display: grid;
  gap: 6px;
}

html.premium-v3 .live-score-card__bat-head,
html.premium-v3 .live-score-card__bat-row {
  display: grid;
  grid-template-columns: 1.6fr repeat(5, minmax(28px, 1fr));
  gap: 4px;
  align-items: center;
  font-size: 0.8rem;
}

html.premium-v3 .live-score-card__bat-head {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}

html.premium-v3 .live-score-card__batter {
  font-weight: 700;
  color: #fff;
}

html.premium-v3 .live-score-card__bat-row span:not(.live-score-card__batter) {
  text-align: center;
  font-variant-numeric: tabular-nums;
  color: var(--pv3-gold-light);
}

html.premium-v3 .live-score-card__partnership {
  margin: 10px 0 0;
  font-size: 0.82rem;
  color: var(--pv3-gold-light);
}

html.premium-v3 .live-score-card__partnership strong {
  color: #fff;
}

html.premium-v3 .live-score-card__bowl-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 0.82rem;
}

html.premium-v3 .live-score-card__bowl-tag {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #000;
  background: var(--pv3-accent);
  padding: 2px 6px;
  border-radius: 4px;
}

html.premium-v3 .live-score-card__bowl-tag--prev {
  background: #666;
  color: #fff;
}

html.premium-v3 .live-score-card__bowler-name {
  font-weight: 700;
  color: #fff;
}

html.premium-v3 .live-score-card__bowl-figs {
  color: var(--pv3-gold-light);
  font-variant-numeric: tabular-nums;
}

html.premium-v3 .live-score-card__bowl-figs em {
  color: var(--pv3-gold-light);
  font-style: normal;
  opacity: 0.9;
}

html.premium-v3 .live-score-card__extras {
  padding: 10px 16px;
  font-size: 0.8rem;
  color: var(--pv3-gold-light);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.18);
}

html.premium-v3 .live-score-card__recent {
  margin: 8px 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  color: var(--pv3-gold-light);
}

html.premium-v3 .live-score-card__ball {
  display: inline-flex;
  min-width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--pv3-accent);
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--pv3-gold-light);
}

html.premium-v3 .live-score-card__footer {
  padding: 12px 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(0, 0, 0, 0.35);
}

html.premium-v3 .live-score-card__updated {
  font-size: 0.72rem;
  color: var(--pv3-gold-light);
}

html.premium-v3 .live-score-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

html.premium-v3 .live-score-card__actions .match-card-btn {
  background: rgba(0, 0, 0, 0.35);
  color: var(--pv3-gold-light);
  border: 1px solid var(--pv3-accent);
}

html.premium-v3 .live-score-card__actions .match-card-btn--primary {
  background: var(--pv3-accent);
  color: #000;
  border-color: var(--pv3-accent);
  font-weight: 700;
}

html.premium-v3 .live-score-card__empty {
  color: var(--pv3-gold-light);
  margin: 0;
  padding: 16px;
}

/* ── Live bulletins — high-contrast white box, black text ── */
html.premium-v3 .live-bulletin-ticker {
  display: flex;
  align-items: stretch;
  margin: 8px 10px 0;
  min-height: 38px;
  border-radius: var(--pv3-radius-sm);
  border: 2px solid rgba(0, 0, 0, 0.12);
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

html.premium-v3 .live-bulletin-ticker--empty {
  align-items: center;
}

html.premium-v3 .live-bulletin-ticker__label {
  flex: 0 0 auto;
  background: var(--pv3-accent);
  color: #000;
  font-weight: 800;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  text-transform: uppercase;
}

html.premium-v3 .live-bulletin-ticker__viewport {
  flex: 1;
  overflow: hidden;
  min-width: 0;
  background: #ffffff;
}

html.premium-v3 .live-bulletin-ticker__track {
  display: flex;
  width: max-content;
  min-width: 100%;
  animation: live-bulletin-ticker-scroll 64s linear infinite;
}

html.premium-v3 .live-bulletin-ticker__content {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding-right: 3rem;
  white-space: nowrap;
}

html.premium-v3 .live-bulletin-ticker__item {
  color: #000;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 10px 0;
}

html.premium-v3 .live-bulletin-ticker__item--wicket {
  color: #b91c1c;
}

html.premium-v3 .live-bulletin-ticker__item--score {
  color: #000;
}

html.premium-v3 .live-bulletin-ticker__item--result {
  color: #15803d;
}

html.premium-v3 .live-bulletin-ticker__item--milestone,
html.premium-v3 .live-bulletin-ticker__item--partnership {
  color: #a16207;
}

html.premium-v3 .live-bulletin-ticker__sep {
  color: #666;
  padding: 0 1.5rem;
  font-size: 0.55rem;
}

html.premium-v3 .live-bulletin-ticker__empty {
  flex: 1;
  color: #000;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 10px 12px;
  background: #ffffff;
}

html.premium-v3 .live-bulletin {
  background: #ffffff;
  color: #000;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

html.premium-v3 .live-bulletin-text {
  color: #000;
}

html.premium-v3 .live-bulletin-meta {
  color: #444;
}

@keyframes live-bulletin-ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  html.premium-v3 .live-bulletin-ticker__track {
    animation: none;
  }
}

/* ── World cricket news ribbon (Live tab) ── */
html.premium-v3 .world-news-ribbon {
  display: flex;
  align-items: stretch;
  margin: 8px 10px 0;
  min-height: 36px;
  border-radius: var(--pv3-radius-sm);
  border: 1px solid rgba(96, 165, 250, 0.35);
  background: linear-gradient(90deg, #0c1a2e 0%, #102a44 55%, #0c1a2e 100%);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.28);
}

html.premium-v3 .world-news-ribbon--empty {
  align-items: center;
}

html.premium-v3 .world-news-ribbon__label {
  flex: 0 0 auto;
  background: linear-gradient(135deg, #38bdf8, #2563eb);
  color: #fff;
  font-weight: 800;
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  padding: 9px 11px;
  display: flex;
  align-items: center;
  text-transform: uppercase;
}

html.premium-v3 .world-news-ribbon__viewport {
  flex: 1;
  overflow: hidden;
  min-width: 0;
}

html.premium-v3 .world-news-ribbon__track {
  display: flex;
  width: max-content;
  min-width: 100%;
  animation: world-news-ribbon-scroll 90s linear infinite;
}

html.premium-v3 .world-news-ribbon__content {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding-right: 2.5rem;
  white-space: nowrap;
}

html.premium-v3 .world-news-ribbon__item {
  color: #e0f2fe;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 9px 0;
  text-decoration: none;
}

html.premium-v3 .world-news-ribbon__item:hover,
html.premium-v3 .world-news-ribbon__item:focus-visible {
  color: #fff;
  text-decoration: underline;
}

html.premium-v3 .world-news-ribbon__src {
  color: #7dd3fc;
  font-weight: 800;
  margin-right: 0.45rem;
  text-transform: uppercase;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
}

html.premium-v3 .world-news-ribbon__sep {
  color: rgba(125, 211, 252, 0.45);
  padding: 0 1.25rem;
  font-size: 0.5rem;
}

html.premium-v3 .world-news-ribbon__empty {
  flex: 1;
  color: #bae6fd;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 9px 12px;
}

@keyframes world-news-ribbon-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Match day sub-tabs */
html.premium-v3 .match-day-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 10px 10px 0;
  padding: 4px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--pv3-border);
}

html.premium-v3 .match-day-tab {
  border: none;
  border-radius: 11px;
  min-height: 42px;
  padding: 8px 10px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--pv3-muted);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

html.premium-v3 .match-day-tab.active {
  color: #052e16;
  background: linear-gradient(135deg, #86efac, #4ade80);
  box-shadow: 0 4px 14px rgba(74, 222, 128, 0.28);
}

html.premium-v3 .match-day-tab-panel[hidden] {
  display: none !important;
}

/* Around the world news list */
html.premium-v3 .world-news-panel__intro {
  margin: 12px 10px 8px;
  padding: 14px 14px 12px;
  border-radius: var(--pv3-radius);
  background: linear-gradient(145deg, rgba(12, 26, 46, 0.92) 0%, rgba(8, 18, 32, 0.96) 100%);
  border: 1px solid rgba(96, 165, 250, 0.22);
}

html.premium-v3 .world-news-panel__title {
  margin: 0 0 6px;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: #e0f2fe;
}

html.premium-v3 .world-news-panel__lead {
  margin: 0 0 8px;
  font-size: 0.84rem;
  line-height: 1.45;
  color: #93c5fd;
}

html.premium-v3 .world-news-panel__refresh {
  font-size: 0.8rem;
}

html.premium-v3 .world-news-panel__status {
  margin: 14px 10px;
  padding: 18px 14px;
  border-radius: var(--pv3-radius);
  background: var(--pv3-surface-raised);
  border: 1px solid var(--pv3-border);
  color: var(--pv3-muted);
  text-align: center;
}

html.premium-v3 .world-news-panel__status--error {
  border-color: rgba(248, 113, 113, 0.35);
  color: #fecaca;
}

html.premium-v3 .world-news-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 10px 16px;
}

html.premium-v3 .world-news-card {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  border-radius: var(--pv3-radius);
  background: var(--pv3-surface-raised);
  border: 1px solid var(--pv3-border);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}

html.premium-v3 .world-news-card__img {
  width: 88px;
  height: 66px;
  object-fit: cover;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.25);
}

html.premium-v3 .world-news-card__img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}

html.premium-v3 .world-news-card__meta {
  margin: 0 0 4px;
  font-size: 0.68rem;
  font-weight: 700;
  color: #7dd3fc;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

html.premium-v3 .world-news-card__title {
  margin: 0 0 6px;
  font-size: 0.95rem;
  line-height: 1.35;
  font-weight: 800;
}

html.premium-v3 .world-news-card__title a {
  color: var(--pv3-text-high);
  text-decoration: none;
}

html.premium-v3 .world-news-card__title a:hover {
  color: #86efac;
}

html.premium-v3 .world-news-card__summary {
  margin: 0 0 8px;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--pv3-muted);
}

html.premium-v3 .world-news-card__link {
  font-size: 0.76rem;
  font-weight: 700;
  color: #4ade80;
  text-decoration: none;
}

html.premium-v3 .world-news-panel__credit {
  margin: 0 10px 18px;
  font-size: 0.72rem;
  line-height: 1.4;
  color: var(--pv3-soft);
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  html.premium-v3 .world-news-ribbon__track {
    animation: none;
  }
}

/* Players tab — match availability (signed-in) */
html.premium-v3 .player-avail-panel,
html.premium-v3 .player-captain-panel,
html.premium-v3 .player-roles-panel {
  margin: 0 0 14px;
  border-radius: 20px;
  border: 1px solid rgba(74, 222, 128, 0.28);
  background:
    radial-gradient(ellipse 90% 70% at 100% 0%, rgba(74, 222, 128, 0.14), transparent 55%),
    linear-gradient(165deg, rgba(19, 40, 32, 0.99), rgba(8, 20, 14, 0.97));
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.32);
  overflow: hidden;
}

html.premium-v3 .player-captain-panel {
  border-color: rgba(250, 204, 21, 0.35);
  background:
    radial-gradient(ellipse 90% 70% at 0% 0%, rgba(250, 204, 21, 0.12), transparent 55%),
    linear-gradient(165deg, rgba(30, 28, 12, 0.98), rgba(12, 16, 10, 0.97));
}

html.premium-v3 .player-roles-panel {
  border-color: rgba(147, 197, 253, 0.35);
  background:
    radial-gradient(ellipse 90% 70% at 100% 0%, rgba(59, 130, 246, 0.14), transparent 55%),
    linear-gradient(165deg, rgba(15, 24, 40, 0.98), rgba(8, 14, 22, 0.97));
}

html.premium-v3 .player-avail-panel__head,
html.premium-v3 .player-captain-panel__head,
html.premium-v3 .player-roles-panel__head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 14px 10px;
}

html.premium-v3 .player-avail-panel__badge,
html.premium-v3 .player-captain-panel__badge,
html.premium-v3 .player-roles-panel__badge {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1rem;
  font-weight: 800;
  color: #052e16;
  background: linear-gradient(145deg, #bbf7d0, #4ade80);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.35);
}

html.premium-v3 .player-captain-panel__badge {
  color: #422006;
  background: linear-gradient(145deg, #fde68a, #fbbf24);
  box-shadow: 0 4px 12px rgba(251, 191, 36, 0.35);
}

html.premium-v3 .player-roles-panel__badge {
  color: #0c1a33;
  background: linear-gradient(145deg, #bfdbfe, #60a5fa);
  box-shadow: 0 4px 12px rgba(96, 165, 250, 0.35);
}

html.premium-v3 .player-avail-panel__title,
html.premium-v3 .player-captain-panel__title,
html.premium-v3 .player-roles-panel__title {
  margin: 0 0 4px;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 1.08rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

html.premium-v3 .player-avail-panel__lead,
html.premium-v3 .player-captain-panel__lead,
html.premium-v3 .player-roles-panel__lead {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.45;
  color: rgba(220, 252, 231, 0.82);
}

html.premium-v3 .player-captain-panel__lead {
  color: rgba(254, 243, 199, 0.88);
}

html.premium-v3 .player-roles-panel__lead {
  color: rgba(219, 234, 254, 0.88);
}

html.premium-v3 .player-avail-panel__body,
html.premium-v3 .player-captain-panel__body,
html.premium-v3 .player-roles-panel__body {
  padding: 0 14px 16px;
}

html.premium-v3 .player-avail-panel__section-label {
  margin: 4px 0 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

html.premium-v3 .player-avail-optional {
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.4);
}

html.premium-v3 .player-avail-select {
  margin-bottom: 12px;
}

html.premium-v3 .player-avail-date-hint {
  margin: -4px 0 12px;
  font-size: 0.8rem;
  line-height: 1.4;
  color: rgba(220, 252, 231, 0.78);
}

html.premium-v3 .player-avail-status-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin: 0 0 14px;
}

html.premium-v3 .player-avail-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 64px;
  padding: 8px 4px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.28);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.12s ease;
}

html.premium-v3 .player-avail-chip__icon {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1;
  opacity: 0.75;
}

html.premium-v3 .player-avail-chip__label {
  letter-spacing: 0.01em;
}

html.premium-v3 .player-avail-chip.is-selected {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

html.premium-v3 .player-avail-chip--yes.is-selected {
  border-color: rgba(74, 222, 128, 0.65);
  background: linear-gradient(160deg, rgba(74, 222, 128, 0.32), rgba(22, 101, 52, 0.4));
  color: #ecfdf5;
}

html.premium-v3 .player-avail-chip--maybe.is-selected {
  border-color: rgba(250, 204, 21, 0.6);
  background: linear-gradient(160deg, rgba(250, 204, 21, 0.28), rgba(161, 98, 7, 0.35));
  color: #fef9c3;
}

html.premium-v3 .player-avail-chip--no.is-selected {
  border-color: rgba(248, 113, 113, 0.6);
  background: linear-gradient(160deg, rgba(248, 113, 113, 0.28), rgba(127, 29, 29, 0.4));
  color: #fee2e2;
}

html.premium-v3 .player-avail-save,
html.premium-v3 .player-captain-load {
  width: 100%;
  min-height: 48px;
  margin-top: 6px;
  border: none;
  border-radius: 14px;
  font-weight: 800;
  font-size: 0.94rem;
  cursor: pointer;
  color: #052e16;
  background: linear-gradient(135deg, #bbf7d0, #4ade80 50%, #22c55e);
  box-shadow: 0 8px 22px rgba(34, 197, 94, 0.35);
}

html.premium-v3 .player-captain-load-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 8px;
  margin-top: 6px;
}

html.premium-v3 .player-captain-load {
  width: 100%;
  margin-top: 0;
  color: #422006;
  background: linear-gradient(135deg, #fde68a, #fbbf24 50%, #f59e0b);
  box-shadow: 0 8px 22px rgba(245, 158, 11, 0.35);
}

html.premium-v3 .player-captain-load-row .player-captain-btn {
  min-height: 48px;
  font-size: 0.82rem;
}

html.premium-v3 .player-avail-msg {
  margin: 10px 0 0;
  font-size: 0.84rem;
  font-weight: 600;
  color: #86efac;
}

html.premium-v3 .player-avail-msg.is-error {
  color: #fca5a5;
}

html.premium-v3 .player-avail-mine {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

html.premium-v3 .player-avail-mine__title {
  margin: 0 0 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

html.premium-v3 .player-avail-mine__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

html.premium-v3 .player-avail-mine__list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

html.premium-v3 .player-avail-mine__list li:last-child {
  border-bottom: none;
}

html.premium-v3 .player-avail-mine__status {
  flex: 0 0 auto;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: capitalize;
}

html.premium-v3 .player-avail-mine__status--available {
  color: #052e16;
  background: #86efac;
}

html.premium-v3 .player-avail-mine__status--unsure {
  color: #422006;
  background: #fde68a;
}

html.premium-v3 .player-avail-mine__status--unavailable {
  color: #450a0a;
  background: #fca5a5;
}

/* Captain compiled groups + selection */
html.premium-v3 .player-captain-compiled {
  margin-top: 14px;
}

html.premium-v3 .player-captain-fixture-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(250, 204, 21, 0.2);
  font-size: 0.82rem;
  color: rgba(254, 243, 199, 0.92);
}

html.premium-v3 .player-captain-fixture-meta strong {
  color: #fff;
  font-size: 0.9rem;
}

html.premium-v3 .player-captain-fixture-meta__against {
  color: #fde68a !important;
  font-weight: 700;
}

html.premium-v3 .player-captain-fixture-meta a {
  color: #fde68a;
  font-weight: 700;
  text-decoration: underline;
}

html.premium-v3 .player-captain-pick-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

html.premium-v3 .player-captain-pick {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: 8px;
  width: 100%;
  text-align: left;
  padding: 8px 6px;
  margin: 0;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
}

html.premium-v3 .player-captain-pick:hover {
  background: rgba(255, 255, 255, 0.06);
}

html.premium-v3 .player-captain-pick__check {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.25);
}

html.premium-v3 .player-captain-pick.is-picked {
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.28), rgba(22, 101, 52, 0.35));
  box-shadow: inset 0 0 0 2px rgba(74, 222, 128, 0.55);
  border-radius: 10px;
}

html.premium-v3 .player-captain-pick-row.is-picked-row {
  background: rgba(74, 222, 128, 0.1);
  border-radius: 12px;
  border: 1px solid rgba(74, 222, 128, 0.45);
  padding: 6px 6px 8px;
  box-shadow: 0 0 0 1px rgba(74, 222, 128, 0.15), 0 6px 16px rgba(0, 0, 0, 0.2);
}

html.premium-v3 .player-captain-pick.is-picked .player-captain-pick__check {
  border-color: #4ade80;
  background: #22c55e;
  box-shadow: inset 0 0 0 2px rgba(5, 46, 22, 0.35);
  position: relative;
}

html.premium-v3 .player-captain-pick.is-picked .player-captain-pick__check::after {
  content: "✓";
  display: grid;
  place-items: center;
  color: #052e16;
  font-size: 0.72rem;
  font-weight: 900;
  height: 100%;
}

html.premium-v3 .player-captain-pick__picked-tag {
  flex: 0 0 auto;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #052e16;
  background: #86efac;
}

/* Captain workspace tabs */
html.premium-v3 .player-captain-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 14px 0 12px;
}

html.premium-v3 .player-captain-tab {
  position: relative;
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.28);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
}

html.premium-v3 .player-captain-tab.is-on {
  border-color: rgba(250, 204, 21, 0.5);
  background: linear-gradient(145deg, rgba(250, 204, 21, 0.22), rgba(161, 98, 7, 0.25));
  color: #fef9c3;
  box-shadow: 0 0 0 1px rgba(250, 204, 21, 0.2);
}

html.premium-v3 .player-captain-tab__badge {
  display: inline-grid;
  place-items: center;
  min-width: 1.35rem;
  height: 1.35rem;
  margin-left: 6px;
  padding: 0 5px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 900;
  color: #422006;
  background: #fde68a;
  vertical-align: middle;
}

/* Framed selected-team preview (always on after load) */
html.premium-v3 .player-captain-picked-frame {
  margin: 0 0 14px;
  padding: 12px 12px 14px;
  border-radius: 16px;
  border: 2px solid rgba(250, 204, 21, 0.45);
  background:
    radial-gradient(ellipse 90% 70% at 0% 0%, rgba(250, 204, 21, 0.12), transparent 55%),
    rgba(12, 18, 12, 0.92);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

html.premium-v3 .player-captain-picked-frame__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}

html.premium-v3 .player-captain-picked-frame__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
}

html.premium-v3 .player-captain-picked-frame__count {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fde68a;
}

html.premium-v3 .player-captain-picked-frame__hint {
  margin: 0 0 10px;
  font-size: 0.76rem;
  line-height: 1.4;
  color: rgba(254, 243, 199, 0.75);
}

html.premium-v3 .player-captain-picked-frame__list {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 220px;
  overflow-y: auto;
}

html.premium-v3 .player-captain-picked-frame__empty {
  padding: 10px;
  text-align: center;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.45);
}

html.premium-v3 .player-captain-picked-chip {
  display: grid;
  grid-template-columns: 26px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  border-radius: 10px;
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.35);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 650;
}

html.premium-v3 .player-captain-picked-chip.is-cap {
  border-color: rgba(250, 204, 21, 0.55);
  background: rgba(250, 204, 21, 0.14);
}

html.premium-v3 .player-captain-picked-chip.is-wk {
  border-color: rgba(52, 211, 153, 0.5);
}

html.premium-v3 .player-captain-picked-chip.is-12 {
  border-style: dashed;
  opacity: 0.9;
}

html.premium-v3 .player-captain-picked-chip__n {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 900;
  color: #052e16;
  background: #86efac;
}

html.premium-v3 .player-captain-picked-chip__tags {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fde68a;
}

html.premium-v3 .player-captain-picked-frame__goto {
  width: 100%;
}

/* Selection tab: big framed editor */
html.premium-v3 .player-captain-selection--framed {
  margin-top: 0;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
}

html.premium-v3 .player-captain-selection__frame-chrome {
  padding: 14px 12px 16px;
  border-radius: 18px;
  border: 2px solid rgba(250, 204, 21, 0.5);
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(250, 204, 21, 0.1), transparent 50%),
    linear-gradient(165deg, rgba(30, 28, 12, 0.98), rgba(10, 14, 10, 0.97));
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* Collapsible groups */
html.premium-v3 .player-captain-group {
  margin: 0 0 12px;
  padding: 0;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

html.premium-v3 .player-captain-group__title,
html.premium-v3 .player-captain-skill-block__title {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 12px 12px;
  border: none;
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: left;
  cursor: pointer;
}

html.premium-v3 .player-captain-collapse-chevron {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 7px solid rgba(255, 255, 255, 0.65);
  transition: transform 0.15s ease;
  justify-self: center;
}

html.premium-v3 .is-collapsed > [data-captain-collapse] .player-captain-collapse-chevron,
html.premium-v3 .is-collapsed > .player-captain-group__title .player-captain-collapse-chevron,
html.premium-v3 .is-collapsed > .player-captain-skill-block__title .player-captain-collapse-chevron {
  transform: rotate(-90deg);
}

html.premium-v3 .player-captain-collapse-count {
  font-variant-numeric: tabular-nums;
  opacity: 0.85;
}

html.premium-v3 .player-captain-collapse-body {
  padding: 0 10px 12px;
}

html.premium-v3 .is-collapsed > .player-captain-collapse-body {
  display: none;
}

html.premium-v3 .player-captain-pick__name {
  font-weight: 650;
  color: rgba(255, 255, 255, 0.95);
}

html.premium-v3 .player-captain-pick {
  grid-template-columns: 22px 1fr auto auto;
}

html.premium-v3 .player-captain-pick__skill {
  flex: 0 0 auto;
  padding: 2px 6px;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

html.premium-v3 .player-captain-pick__skill--batter {
  background: rgba(96, 165, 250, 0.25);
  color: #bfdbfe;
}

html.premium-v3 .player-captain-pick__skill--bowler {
  background: rgba(248, 113, 113, 0.22);
  color: #fecaca;
}

html.premium-v3 .player-captain-pick__skill--allrounder {
  background: rgba(250, 204, 21, 0.22);
  color: #fde68a;
}

html.premium-v3 .player-captain-pick__skill--unknown {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.45);
}

html.premium-v3 .player-captain-skill-hint {
  margin: 0 0 10px;
  font-size: 0.75rem;
  color: rgba(254, 243, 199, 0.65);
  line-height: 1.35;
}

html.premium-v3 .player-captain-skill-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 12px;
}

html.premium-v3 .player-captain-skill-chip {
  min-height: 32px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.22);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}

html.premium-v3 .player-captain-skill-chip.is-on {
  border-color: rgba(250, 204, 21, 0.5);
  background: rgba(250, 204, 21, 0.18);
  color: #fef9c3;
}

html.premium-v3 .player-captain-skill-block {
  margin: 0 0 12px;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

html.premium-v3 .player-captain-skill-block__title {
  display: flex;
  justify-content: space-between;
  margin: 0 0 6px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

html.premium-v3 .player-captain-skill-block--batter .player-captain-skill-block__title {
  color: #93c5fd;
}

html.premium-v3 .player-captain-skill-block--bowler .player-captain-skill-block__title {
  color: #fca5a5;
}

html.premium-v3 .player-captain-skill-block--allrounder .player-captain-skill-block__title {
  color: #fde68a;
}

/* Captain can change any player's availability */
html.premium-v3 .player-captain-pick-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

html.premium-v3 .player-captain-pick-row:last-child {
  border-bottom: none;
}

html.premium-v3 .player-captain-avail-set {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4px;
  padding: 0 2px 4px 30px;
}

html.premium-v3 .player-captain-avail-set__btn {
  min-height: 30px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.28);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.68rem;
  font-weight: 800;
  cursor: pointer;
}

html.premium-v3 .player-captain-avail-set__btn.is-on {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

html.premium-v3 .player-captain-avail-set__btn--available.is-on {
  border-color: rgba(74, 222, 128, 0.55);
  background: rgba(34, 197, 94, 0.28);
  color: #bbf7d0;
}

html.premium-v3 .player-captain-avail-set__btn--unsure.is-on {
  border-color: rgba(250, 204, 21, 0.55);
  background: rgba(234, 179, 8, 0.25);
  color: #fef08a;
}

html.premium-v3 .player-captain-avail-set__btn--unavailable.is-on {
  border-color: rgba(248, 113, 113, 0.55);
  background: rgba(239, 68, 68, 0.25);
  color: #fecaca;
}

html.premium-v3 .player-captain-pick-list__static {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 0;
  opacity: 0.75;
}

html.premium-v3 .player-captain-selection {
  margin-top: 14px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(250, 204, 21, 0.35);
  background:
    radial-gradient(ellipse 80% 60% at 0% 0%, rgba(250, 204, 21, 0.1), transparent 55%),
    rgba(0, 0, 0, 0.28);
}

html.premium-v3 .player-captain-selection__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}

html.premium-v3 .player-captain-selection__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
}

html.premium-v3 .player-captain-selection__count {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fde68a;
}

html.premium-v3 .player-captain-selection__hint {
  margin: 0 0 10px;
  font-size: 0.78rem;
  color: rgba(254, 243, 199, 0.75);
}

html.premium-v3 .player-captain-selection__list {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
}

html.premium-v3 .player-captain-selection__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 0 0 12px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.8);
}

html.premium-v3 .player-captain-selection__legend strong {
  color: #fde68a;
  margin-right: 4px;
}

html.premium-v3 .player-captain-selection__list li,
html.premium-v3 .player-captain-selection__row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 8px;
  margin: 0 0 8px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.22);
  color: #fff;
  font-size: 0.9rem;
}

html.premium-v3 .player-captain-selection__main {
  display: grid;
  grid-template-columns: 28px 1fr 36px;
  align-items: center;
  gap: 8px;
}

html.premium-v3 .player-captain-selection__row.is-captain {
  border-color: rgba(250, 204, 21, 0.4);
  background: rgba(250, 204, 21, 0.1);
}

html.premium-v3 .player-captain-selection__row.is-wk {
  border-color: rgba(52, 211, 153, 0.4);
}

html.premium-v3 .player-captain-selection__row.is-twelfth {
  border-style: dashed;
  opacity: 0.95;
}

html.premium-v3 .player-captain-selection__role {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 800;
  vertical-align: middle;
}

html.premium-v3 .player-captain-selection__role--cap {
  background: #fde68a;
  color: #422006;
}

html.premium-v3 .player-captain-selection__role--12 {
  background: rgba(147, 197, 253, 0.35);
  color: #dbeafe;
}

html.premium-v3 .player-captain-selection__role--wk {
  background: rgba(52, 211, 153, 0.4);
  color: #ecfdf5;
}

html.premium-v3 .player-captain-selection__role-btns {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
  width: 100%;
}

html.premium-v3 .player-captain-role-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 48px;
  min-width: 0;
  padding: 6px 4px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.35);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.68rem;
  font-weight: 800;
  cursor: pointer;
  line-height: 1.15;
}

html.premium-v3 .player-captain-role-btn__code {
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

html.premium-v3 .player-captain-role-btn__label {
  font-size: 0.62rem;
  font-weight: 700;
  opacity: 0.85;
  text-transform: none;
  letter-spacing: 0;
}

html.premium-v3 .player-captain-role-btn.is-on {
  border-color: rgba(250, 204, 21, 0.65);
  background: rgba(250, 204, 21, 0.28);
  color: #fef9c3;
  box-shadow: 0 0 0 1px rgba(250, 204, 21, 0.25);
}

html.premium-v3 .player-captain-role-btn--wk.is-on,
html.premium-v3 .player-captain-role-btn[data-set-role="wk"].is-on {
  border-color: rgba(52, 211, 153, 0.7) !important;
  background: rgba(16, 185, 129, 0.35) !important;
  color: #d1fae5 !important;
  box-shadow: 0 0 0 1px rgba(52, 211, 153, 0.3);
}

html.premium-v3 .player-captain-role-btn[data-set-role="twelfth"].is-on {
  border-color: rgba(147, 197, 253, 0.65);
  background: rgba(59, 130, 246, 0.3);
  color: #dbeafe;
}

html.premium-v3 .player-captain-role-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

html.premium-v3 .player-captain-selection__num {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: #422006;
  background: #fde68a;
}

html.premium-v3 .player-captain-selection__remove {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 8px;
  background: rgba(248, 113, 113, 0.15);
  color: #fca5a5;
  cursor: pointer;
  font-size: 0.85rem;
}

html.premium-v3 .player-captain-selection__empty {
  margin: 0 0 10px;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.45);
}

html.premium-v3 .player-captain-selection__actions {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 8px;
  margin-bottom: 10px;
}

html.premium-v3 .player-captain-btn {
  min-height: 44px;
  border: none;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.88rem;
  cursor: pointer;
  color: #422006;
  background: linear-gradient(135deg, #fde68a, #fbbf24);
}

html.premium-v3 .player-captain-btn--ghost {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

html.premium-v3 .player-captain-wa {
  width: 100%;
  min-height: 48px;
  border: none;
  border-radius: 14px;
  font-weight: 800;
  font-size: 0.94rem;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, #25d366, #128c7e);
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.3);
}

html.premium-v3 .player-captain-wa-hint {
  margin: 8px 0 0;
  font-size: 0.75rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.55);
}

html.premium-v3 .player-captain-wa-preview {
  width: 100%;
  margin-top: 10px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.78rem;
  line-height: 1.4;
  resize: vertical;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

html.premium-v3 .player-captain-group--available > .player-captain-group__title {
  color: #86efac;
}

html.premium-v3 .player-captain-group--unsure > .player-captain-group__title {
  color: #fde68a;
}

html.premium-v3 .player-captain-group--unavailable > .player-captain-group__title {
  color: #fca5a5;
}

html.premium-v3 .player-captain-group .note {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.78rem;
  text-align: right;
}

html.premium-v3 .player-captain-empty {
  margin: 0;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.55);
}

/* Admin roles list */
html.premium-v3 .player-roles-hint {
  margin: 0 0 10px;
  font-size: 0.8rem;
  color: rgba(219, 234, 254, 0.75);
}

html.premium-v3 .player-roles-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
  max-height: 280px;
  overflow-y: auto;
}

html.premium-v3 .player-roles-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

html.premium-v3 .player-roles-row__meta {
  flex: 1 1 140px;
  min-width: 0;
}

html.premium-v3 .player-roles-row__name {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

html.premium-v3 .player-roles-row__email {
  display: block;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

html.premium-v3 .player-roles-pill {
  flex: 0 0 auto;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

html.premium-v3 .player-roles-pill--admin {
  background: #93c5fd;
  color: #0c1a33;
}

html.premium-v3 .player-roles-pill--captain {
  background: #fde68a;
  color: #422006;
}

html.premium-v3 .player-roles-pill--member {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.75);
}

html.premium-v3 .player-roles-row__actions {
  display: flex;
  gap: 6px;
  flex: 1 1 100%;
}

html.premium-v3 .player-roles-btn {
  flex: 1;
  min-height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}

html.premium-v3 .player-roles-btn--cap {
  border-color: rgba(250, 204, 21, 0.45);
  background: rgba(250, 204, 21, 0.15);
  color: #fde68a;
}

html.premium-v3 .player-roles-manual {
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

html.premium-v3 .player-roles-manual__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}

/* Clerk auth mount inside existing auth modal — always visible over app */
html.premium-v3 .auth-modal:not([hidden]) {
  display: flex !important;
  align-items: center;
  justify-content: center;
  z-index: 9500 !important;
  padding: 16px;
  background: rgba(5, 15, 10, 0.88) !important;
  visibility: visible !important;
  pointer-events: auto !important;
  opacity: 1 !important;
}

html.premium-v3 body.auth-modal-open .auth-modal:not([hidden]) .auth-modal-panel {
  visibility: visible !important;
  opacity: 1 !important;
  max-height: min(92dvh, 720px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

html.premium-v3 .auth-card--clerk {
  width: min(100%, 420px);
  max-width: 420px;
  margin: 0 auto;
  padding: 1.25rem 1.1rem 1.4rem;
  background: #132820 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 20px !important;
  color: #fff !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55) !important;
}

html.premium-v3 .clerk-auth-mount {
  min-height: 300px;
  margin-top: 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 14px;
  padding: 8px;
}

html.premium-v3 .clerk-auth-mount iframe {
  max-width: 100% !important;
}

html.premium-v3 .auth-card--clerk .auth-title {
  color: #fff !important;
}

html.premium-v3 .auth-card--clerk .auth-sub,
html.premium-v3 .auth-card--clerk .auth-hint {
  color: rgba(220, 252, 231, 0.85) !important;
}