/* =====================================================================
   NITTE PREMIER LEAGUE - KERALA  |  public site styles (Bootstrap 5 base)
   ===================================================================== */
:root {
  --npl-navy: #0a1633;
  --npl-navy-2: #12244f;
  --npl-navy-3: #1b3470;
  --npl-gold: #f5b700;
  --npl-gold-2: #ffd34d;
  --npl-green: #10b981;
  --npl-red: #e11d48;
  --npl-ink: #0f172a;
  --npl-muted: #64748b;
  --npl-bg: #f3f5fa;
  --npl-card: #ffffff;
  --npl-line: #e2e8f0;
  --npl-radius: 14px;
  --npl-shadow: 0 6px 24px rgba(10, 22, 51, .08);
  --npl-head: 'Oswald', 'Arial Narrow', 'Segoe UI', system-ui, sans-serif;
  --bs-body-font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
}
body { background: var(--npl-bg); color: var(--npl-ink); }
h1, h2, h3, h4, .npl-head { font-family: var(--npl-head); letter-spacing: .02em; }
a { color: var(--npl-navy-3); }
.text-gold { color: var(--npl-gold) !important; }
.bg-navy { background: var(--npl-navy) !important; }
.section { padding: 3rem 0; }
.section-sm { padding: 2rem 0; }
.section-title { font-family: var(--npl-head); text-transform: uppercase; font-weight: 600; font-size: 1.6rem; margin: 0; }
.section-title small { display: block; font-family: var(--bs-body-font-family); font-size: .8rem; letter-spacing: .15em; color: var(--npl-gold); font-weight: 700; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
.link-more { font-weight: 600; text-decoration: none; font-size: .9rem; }

/* ---------- logo (JPEG on light grey) ---------- */
.org-logo { height: 30px; width: auto; max-width: 100%; }
.org-logo.on-dark { filter: none; }
.org-logo.on-light { mix-blend-mode: multiply; }

/* ---------- sponsor strip + nav ---------- */
.sponsor-strip { background: linear-gradient(90deg, var(--npl-gold), var(--npl-gold-2)); color: var(--npl-navy); font-size: .8rem; }
.sponsor-strip .inner { display: flex; align-items: center; justify-content: center; gap: .6rem; padding: .3rem 0; flex-wrap: wrap; }
.sponsor-strip img { height: 22px; width: auto; }
.sponsor-strip strong { font-family: var(--npl-head); letter-spacing: .05em; text-transform: uppercase; font-size: .95rem; }

.npl-nav { background: var(--npl-navy); box-shadow: 0 2px 12px rgba(0,0,0,.25); }
.npl-nav .navbar-brand { display: flex; align-items: center; gap: .6rem; color: #fff; }
.brand-mark { font-family: var(--npl-head); font-weight: 700; line-height: 1; color: #fff; text-transform: uppercase; }
.brand-mark span { display: block; font-size: .62rem; letter-spacing: .25em; color: var(--npl-gold); font-weight: 500; }
.brand-badge { width: 40px; height: 40px; border-radius: 10px; background: linear-gradient(135deg, var(--npl-gold), #ff8a00); color: var(--npl-navy); display: grid; place-items: center; font-family: var(--npl-head); font-weight: 700; font-size: .85rem; flex: none; }
.brand-badge img { width: 100%; height: 100%; object-fit: contain; border-radius: 10px; }
.npl-nav .nav-link { color: rgba(255,255,255,.82); font-weight: 600; font-size: .9rem; text-transform: uppercase; letter-spacing: .03em; padding: .9rem .7rem !important; }
.npl-nav .nav-link:hover, .npl-nav .nav-link.active { color: var(--npl-gold); }
.npl-nav .navbar-toggler { border-color: rgba(255,255,255,.3); }
.npl-nav .navbar-toggler-icon { filter: invert(1); }
.nav-live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--npl-red); margin-right: 4px; animation: pulse 1.2s infinite; vertical-align: middle; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; background:
  radial-gradient(1200px 500px at 85% -10%, rgba(245,183,0,.25), transparent 60%),
  radial-gradient(800px 400px at -10% 110%, rgba(16,185,129,.18), transparent 60%),
  linear-gradient(160deg, var(--npl-navy) 0%, var(--npl-navy-2) 55%, var(--npl-navy-3) 100%); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .07; background-image: repeating-linear-gradient(90deg, #fff 0 2px, transparent 2px 80px); }
.hero::after { content: ""; position: absolute; right: -120px; top: 50%; width: 520px; height: 520px; transform: translateY(-50%); border-radius: 50%; border: 2px dashed rgba(255,255,255,.12); box-shadow: inset 0 0 0 60px rgba(255,255,255,.02); }
.hero .container { position: relative; z-index: 1; }
.hero-kicker { display: inline-flex; align-items: center; gap: .5rem; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: 999px; padding: .3rem .9rem; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.hero h1 { font-size: clamp(2.2rem, 6vw, 4.4rem); font-weight: 700; line-height: .95; text-transform: uppercase; margin: 1rem 0 .5rem; }
.hero h1 .k { color: var(--npl-gold); display: block; }
.hero .year { font-family: var(--npl-head); font-size: clamp(1.2rem, 3vw, 1.8rem); color: rgba(255,255,255,.65); letter-spacing: .3em; }
.hero-meta { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; margin: 1.25rem 0; font-size: .95rem; color: rgba(255,255,255,.85); }
.hero-meta i { color: var(--npl-gold); margin-right: .35rem; }
.hero-org { display: flex; align-items: center; gap: .75rem; margin-top: 1.25rem; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.hero-org .org-logo { height: 36px; }
.hero-sponsor { display: inline-flex; align-items: center; gap: .9rem; background: #fff; color: var(--npl-ink); border-radius: 12px; padding: .55rem 1rem; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.hero-sponsor small { display: block; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--npl-muted); font-weight: 700; }
.hero-sponsor img { max-height: 44px; max-width: 160px; }
.hero-sponsor strong { font-family: var(--npl-head); font-size: 1.15rem; }
.btn-gold { background: var(--npl-gold); border-color: var(--npl-gold); color: var(--npl-navy); font-weight: 700; }
.btn-gold:hover { background: var(--npl-gold-2); border-color: var(--npl-gold-2); color: var(--npl-navy); }
.status-pill { display: inline-block; padding: .2rem .65rem; border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: rgba(255,255,255,.12); }
.status-pill.ongoing { background: var(--npl-green); color: #fff; }
.status-pill.upcoming { background: var(--npl-gold); color: var(--npl-navy); }
.status-pill.completed { background: #64748b; color: #fff; }

.page-hero { background: linear-gradient(160deg, var(--npl-navy), var(--npl-navy-3)); color: #fff; padding: 2.2rem 0 1.8rem; position: relative; overflow: hidden; }
.page-hero h1 { font-weight: 700; text-transform: uppercase; margin: 0; font-size: clamp(1.7rem, 4vw, 2.6rem); }
.page-hero p { color: rgba(255,255,255,.7); margin: .3rem 0 0; }
.page-hero .crumb { font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; color: var(--npl-gold); font-weight: 700; }

/* ---------- cards ---------- */
.npl-card { color: var(--npl-ink); background: var(--npl-card); border-radius: var(--npl-radius); box-shadow: var(--npl-shadow); border: 1px solid var(--npl-line); }
.npl-card .card-pad { padding: 1.1rem 1.25rem; }
.npl-card-head { padding: .85rem 1.25rem; border-bottom: 1px solid var(--npl-line); display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.npl-card-head h3 { font-size: 1.05rem; margin: 0; text-transform: uppercase; font-weight: 600; }

/* team logo / crest */
.crest { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; flex: none; overflow: hidden; background: var(--c, var(--npl-navy-3)); color: #fff; font-family: var(--npl-head); font-weight: 700; letter-spacing: .03em; box-shadow: inset 0 0 0 3px rgba(255,255,255,.35); }
.crest img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.crest.sm { width: 32px; height: 32px; font-size: .7rem; }
.crest.md { width: 44px; height: 44px; font-size: .85rem; }
.crest.lg { width: 96px; height: 96px; font-size: 1.6rem; }
.crest.xl { width: 140px; height: 140px; font-size: 2.4rem; box-shadow: inset 0 0 0 5px rgba(255,255,255,.35), 0 10px 30px rgba(0,0,0,.3); }

/* SOLD / AVAILABLE */
.badge-sold { display: inline-flex; align-items: center; gap: .35rem; background: var(--npl-red); color: #fff; font-family: var(--npl-head); font-weight: 700; letter-spacing: .14em; padding: .35rem .8rem; border-radius: 6px; font-size: .95rem; box-shadow: 0 4px 14px rgba(225,29,72,.4); text-transform: uppercase; }
.badge-available { display: inline-flex; align-items: center; gap: .35rem; background: #ecfdf5; color: #047857; border: 2px solid #10b981; font-family: var(--npl-head); font-weight: 700; letter-spacing: .14em; padding: .25rem .75rem; border-radius: 6px; font-size: .9rem; text-transform: uppercase; }
.sold-stamp { position: absolute; top: 14px; right: -38px; transform: rotate(35deg); background: var(--npl-red); color: #fff; font-family: var(--npl-head); font-weight: 700; letter-spacing: .25em; padding: .3rem 3rem; font-size: 1rem; box-shadow: 0 4px 12px rgba(0,0,0,.2); z-index: 2; }

.team-card { position: relative; overflow: hidden; height: 100%; transition: transform .15s ease, box-shadow .15s ease; text-decoration: none; color: var(--npl-ink); display: flex; flex-direction: column; }
.team-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(10,22,51,.14); color: var(--npl-ink); }
.team-card .top { background: linear-gradient(135deg, var(--c, var(--npl-navy-3)), color-mix(in srgb, var(--c, #1b3470) 55%, #000)); padding: 1.5rem 1rem 2.6rem; text-align: center; color: #fff; }
.team-card .slot { font-family: var(--npl-head); letter-spacing: .2em; font-size: .85rem; opacity: .9; text-transform: uppercase; }
.team-card .crest { margin: -2.2rem auto 0; position: relative; z-index: 1; width: 84px; height: 84px; font-size: 1.5rem; border: 4px solid #fff; box-shadow: 0 6px 18px rgba(0,0,0,.2); }
.team-card .body { padding: .9rem 1.1rem 1.2rem; text-align: center; flex: 1; display: flex; flex-direction: column; }
.team-card .name { font-family: var(--npl-head); font-size: 1.3rem; font-weight: 600; margin: .4rem 0 .2rem; }
.team-card .meta { font-size: .85rem; color: var(--npl-muted); }
.team-card .meta strong { color: var(--npl-ink); }
.team-card .status { margin-top: auto; padding-top: .8rem; }
.team-card.available .top { filter: saturate(.7); }

/* match cards */
.match-card { padding: 1rem 1.1rem; height: 100%; display: flex; flex-direction: column; gap: .6rem; text-decoration: none; color: var(--npl-ink); }
a.match-card:hover { color: var(--npl-ink); background: #fbfcff; }
.match-card .mc-top { display: flex; justify-content: space-between; align-items: center; font-size: .75rem; color: var(--npl-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; gap: .5rem; }
.match-card .mc-team { display: flex; align-items: center; gap: .6rem; }
.match-card .mc-team .tn { font-weight: 700; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.match-card .mc-team .sc { font-family: var(--npl-head); font-size: 1.15rem; font-weight: 600; white-space: nowrap; }
.match-card .mc-team .sc small { font-family: var(--bs-body-font-family); font-size: .75rem; color: var(--npl-muted); font-weight: 500; }
.match-card .mc-team.winner .tn::after { content: " \2713"; color: var(--npl-green); }
.match-card .mc-foot { font-size: .85rem; color: var(--npl-muted); border-top: 1px dashed var(--npl-line); padding-top: .55rem; margin-top: auto; }
.match-card .mc-foot.result { color: var(--npl-navy-3); font-weight: 700; }
.vs { font-family: var(--npl-head); color: var(--npl-muted); font-size: .8rem; }

.badge-live { background: var(--npl-red); color: #fff; font-weight: 800; letter-spacing: .1em; padding: .25rem .55rem; border-radius: 5px; font-size: .7rem; display: inline-flex; align-items: center; gap: .3rem; }
.badge-live::before { content: ""; width: 7px; height: 7px; background: #fff; border-radius: 50%; animation: pulse 1.2s infinite; }
.badge-status { background: #e2e8f0; color: #334155; font-weight: 700; padding: .2rem .5rem; border-radius: 5px; font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; }
.badge-status.completed { background: #dbeafe; color: #1e40af; }
.badge-status.postponed, .badge-status.abandoned { background: #fef3c7; color: #92400e; }
.badge-status.cancelled { background: #fee2e2; color: #991b1b; }
.badge-status.innings_break, .badge-status.toss { background: #fde68a; color: #78350f; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }

/* points table */
.points-table { margin: 0; font-size: .92rem; }
.points-table th { background: var(--npl-navy); color: #fff; font-weight: 600; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; border: 0; }
.points-table td { vertical-align: middle; white-space: nowrap; }
.points-table .pos { font-family: var(--npl-head); font-weight: 700; font-size: 1.05rem; width: 42px; text-align: center; }
.points-table tr.q td:first-child { box-shadow: inset 4px 0 0 var(--npl-green); }
.points-table .pts { font-weight: 800; font-size: 1.05rem; }
.form-dot { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font-size: .62rem; font-weight: 800; color: #fff; margin-right: 2px; }
.form-dot.W { background: var(--npl-green); } .form-dot.L { background: var(--npl-red); } .form-dot.T, .form-dot.N { background: #94a3b8; }

/* live score */
.live-hero { background: linear-gradient(160deg, var(--npl-navy), var(--npl-navy-3)); color: #fff; padding: 1.2rem 0 1.4rem; }
.live-board { display: grid; grid-template-columns: 1fr auto 1fr; gap: .75rem; align-items: center; }
.live-team { display: flex; align-items: center; gap: .75rem; }
.live-team.right { flex-direction: row-reverse; text-align: right; }
.live-team .nm { font-family: var(--npl-head); font-size: clamp(1rem, 3.5vw, 1.4rem); font-weight: 600; line-height: 1.1; }
.live-team .score { font-family: var(--npl-head); font-size: clamp(1.6rem, 6vw, 2.6rem); font-weight: 700; line-height: 1; }
.live-team .ov { font-size: .85rem; color: rgba(255,255,255,.7); }
.live-team.batting .score { color: var(--npl-gold); }
.live-equation { text-align: center; margin-top: .9rem; background: rgba(255,255,255,.08); border-radius: 10px; padding: .55rem .8rem; font-weight: 600; }
.live-stats { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; font-size: .85rem; color: rgba(255,255,255,.8); margin-top: .6rem; }
.live-stats b { color: #fff; }

/* ---------- live telecast (YouTube) next to the score */
.live-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; align-items: center; }
.live-tv-col { display: none; }
.live-hero-grid.has-tv .live-tv-col { display: block; }
@media (min-width: 992px) {
  .live-hero-grid.has-tv { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
}
.live-tv { background: #000; border-radius: var(--npl-radius); overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.live-tv:empty { display: none; }
.tv-frame { position: relative; aspect-ratio: 16 / 9; background: #000; user-select: none; }
.tv-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none; }
.tv-shield { position: absolute; inset: 0; z-index: 2; background: transparent; }
.tv-cover { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem;
  background: radial-gradient(circle at center, rgba(18,36,79,.92), rgba(10,22,51,.98)); color: #fff; }
.tv-cover[hidden] { display: none; }
.tv-big { width: 68px; height: 68px; border-radius: 50%; border: 0; background: var(--npl-gold); color: var(--npl-navy); font-size: 2.2rem; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.35); }
.tv-big:hover { background: var(--npl-gold-2); }
.tv-cover-msg { font-family: var(--npl-head); letter-spacing: .05em; text-transform: uppercase; font-size: .9rem; color: rgba(255,255,255,.85); }
.tv-bar { display: flex; align-items: center; gap: .5rem; padding: .45rem .6rem; background: var(--npl-navy); color: #fff; font-size: .85rem; }
.tv-tag { font-family: var(--npl-head); letter-spacing: .05em; text-transform: uppercase; display: inline-flex; align-items: center; gap: .4rem; }
.tv-btn { min-width: 38px; }
.balls { display: flex; gap: .35rem; flex-wrap: wrap; }
.ball { min-width: 32px; height: 32px; padding: 0 .35rem; border-radius: 16px; display: inline-grid; place-items: center; font-weight: 800; font-size: .78rem; background: #e2e8f0; color: #334155; }
.ball.dot { background: #f1f5f9; color: #94a3b8; }
.ball.four { background: #2563eb; color: #fff; }
.ball.six { background: #7c3aed; color: #fff; }
.ball.w { background: var(--npl-red); color: #fff; }
.ball.x { background: #fde68a; color: #78350f; }
.ball.sep { background: transparent; color: var(--npl-muted); min-width: auto; font-weight: 600; }
.crease-table td, .crease-table th { font-size: .9rem; white-space: nowrap; }
.crease-table .striker::after { content: " *"; color: var(--npl-red); font-weight: 800; }
.update-note { font-size: .75rem; color: var(--npl-muted); }

/* scorecard */
.scorecard th { font-size: .75rem; text-transform: uppercase; color: var(--npl-muted); font-weight: 700; white-space: nowrap; }
.scorecard td { font-size: .9rem; vertical-align: middle; }
.scorecard .how { font-size: .8rem; color: var(--npl-muted); }
.scorecard .num { text-align: right; white-space: nowrap; }
.scorecard tr.batting td:first-child a, .scorecard tr.batting td:first-child { font-weight: 700; }
.inn-head { background: var(--npl-navy); color: #fff; border-radius: var(--npl-radius) var(--npl-radius) 0 0; padding: .8rem 1.1rem; display: flex; justify-content: space-between; align-items: center; }
.inn-head h3 { margin: 0; font-size: 1.1rem; text-transform: uppercase; }
.inn-head .tot { font-family: var(--npl-head); font-size: 1.4rem; font-weight: 700; color: var(--npl-gold); }

/* player cards */
.player-card { text-align: center; padding: 1.1rem .75rem; height: 100%; text-decoration: none; color: inherit; display: block; transition: transform .15s ease; }
.player-card:hover { transform: translateY(-3px); color: inherit; }
.avatar { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; background: linear-gradient(135deg, #cbd5e1, #94a3b8); display: grid; place-items: center; margin: 0 auto .6rem; color: #fff; font-family: var(--npl-head); font-size: 1.6rem; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.lg { width: 150px; height: 150px; font-size: 3rem; border: 5px solid rgba(255,255,255,.25); }
.avatar.sm { width: 36px; height: 36px; font-size: .8rem; margin: 0; }
.player-card .nm { font-weight: 700; }
.player-card .rl { font-size: .78rem; color: var(--npl-muted); text-transform: uppercase; letter-spacing: .05em; }
.jersey { font-family: var(--npl-head); font-weight: 700; color: var(--npl-gold); }
.stat-tile { background: #fff; border: 1px solid var(--npl-line); border-radius: 12px; padding: .8rem; text-align: center; height: 100%; }
.stat-tile .v { font-family: var(--npl-head); font-size: 1.6rem; font-weight: 700; line-height: 1.1; }
.stat-tile .l { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--npl-muted); font-weight: 700; }

/* leader cards */
.leader { display: flex; align-items: center; gap: .75rem; padding: .9rem 1.1rem; }
.leader .big { font-family: var(--npl-head); font-size: 2.2rem; font-weight: 700; color: var(--npl-navy-3); margin-left: auto; line-height: 1; }
.leader-list { list-style: none; margin: 0; padding: 0; }
.leader-list li { display: flex; align-items: center; gap: .6rem; padding: .55rem 1.1rem; border-top: 1px solid var(--npl-line); font-size: .9rem; }
.leader-list li .r { width: 18px; color: var(--npl-muted); font-weight: 700; }
.leader-list li .v { margin-left: auto; font-weight: 800; }
.leader-list li small { color: var(--npl-muted); }

/* rules */
.rules-nav a { display: block; padding: .45rem .8rem; border-radius: 8px; text-decoration: none; color: var(--npl-ink); font-size: .9rem; }
.rules-nav a:hover { background: #e8edf7; }
.rule-block { scroll-margin-top: 90px; }
.rule-block h2 { font-size: 1.25rem; text-transform: uppercase; display: flex; align-items: center; gap: .6rem; }
.rule-block h2 .n { background: var(--npl-gold); color: var(--npl-navy); border-radius: 8px; width: 34px; height: 34px; display: inline-grid; place-items: center; font-size: 1rem; flex: none; }
.rich ul, .rich ol { padding-left: 1.2rem; }
.rich li { margin-bottom: .3rem; }

/* gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .75rem; }
.gallery-grid a { display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 4/3; background: #dbe2ef; position: relative; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gallery-grid a:hover img { transform: scale(1.05); }
.gallery-grid .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: .5rem .7rem; font-size: .8rem; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.7)); }

/* sponsor section */
.sponsor-hero { background: linear-gradient(135deg, #fff, #fff8e1); border: 1px solid #fde68a; }
.sponsor-hero img { max-height: 110px; max-width: 100%; }
.sponsor-tile { display: grid; place-items: center; padding: 1rem; height: 110px; }
.sponsor-tile img { max-height: 70px; max-width: 100%; filter: grayscale(.3); }

/* footer */
.npl-footer { background: var(--npl-navy); color: rgba(255,255,255,.7); padding: 2.5rem 0 1.2rem; font-size: .9rem; margin-top: 3rem; }
.npl-footer h5 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; }
.npl-footer a { color: rgba(255,255,255,.75); text-decoration: none; }
.npl-footer a:hover { color: var(--npl-gold); }
.npl-footer .foot-sponsor { background: #fff; border-radius: 10px; padding: .5rem .8rem; display: inline-flex; align-items: center; gap: .6rem; color: var(--npl-ink); }
.npl-footer .foot-sponsor img { max-height: 36px; }
.npl-footer .bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 1.8rem; padding-top: 1rem; font-size: .8rem; }

/* tabs / filters */
.npl-tabs { display: flex; gap: .4rem; overflow-x: auto; padding-bottom: .25rem; scrollbar-width: none; }
.npl-tabs a { white-space: nowrap; padding: .45rem .95rem; border-radius: 999px; background: #fff; border: 1px solid var(--npl-line); text-decoration: none; color: var(--npl-ink); font-weight: 600; font-size: .85rem; }
.npl-tabs a.active { background: var(--npl-navy); border-color: var(--npl-navy); color: #fff; }

.empty-state { text-align: center; padding: 2.5rem 1rem; color: var(--npl-muted); }
.empty-state i { font-size: 2.4rem; display: block; margin-bottom: .5rem; color: #cbd5e1; }

.table-responsive { border-radius: var(--npl-radius); }
.date-head { font-family: var(--npl-head); text-transform: uppercase; font-size: .95rem; color: var(--npl-navy-3); margin: 1.5rem 0 .6rem; letter-spacing: .05em; }

@media (max-width: 575.98px) {
  .section { padding: 2rem 0; }
  .hero { padding-top: 2rem !important; padding-bottom: 2rem !important; }
  .org-logo { height: 22px; }
  .live-board { grid-template-columns: 1fr; }
  .live-team.right { flex-direction: row; text-align: left; }
  .live-vs { display: none; }
  .crest.xl { width: 110px; height: 110px; }
}

/* ---------- hero illustration ---------- */
.hero-art { align-self: end; text-align: center; }
.hero-art img { width: 100%; max-width: 620px; height: auto; display: block; margin: 0 auto; }

/* ---------- title sponsor banner (overlaps hero bottom) ---------- */
.title-sponsor-wrap { position: relative; z-index: 2; margin-top: -2.2rem; }
.title-sponsor { background: #fff; border-radius: 18px; box-shadow: 0 18px 50px rgba(10,22,51,.18); border: 1px solid #fde68a; overflow: hidden; position: relative; }
.title-sponsor::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 6px; background: linear-gradient(var(--npl-gold), #ff8a00); }
.title-sponsor .ts-label { position: absolute; top: 0; right: 0; background: linear-gradient(90deg, var(--npl-gold), var(--npl-gold-2)); color: var(--npl-navy); font-family: var(--npl-head); text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 700; padding: .35rem 1rem; border-bottom-left-radius: 12px; }
.title-sponsor .ts-body { display: flex; align-items: center; gap: 1.5rem; padding: 1.4rem 1.6rem 1.4rem 2rem; flex-wrap: wrap; }
.title-sponsor .ts-logo { width: 200px; height: 110px; flex: none; display: grid; place-items: center; background: #fffbeb; border-radius: 14px; padding: .75rem; color: var(--npl-gold); font-size: 2.6rem; }
.title-sponsor .ts-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.title-sponsor .ts-text { flex: 1; min-width: 220px; }
.title-sponsor .ts-kicker { font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; color: #b45309; }
.title-sponsor h2 { font-size: clamp(1.4rem, 3vw, 2rem); text-transform: uppercase; font-weight: 700; margin: .1rem 0 .2rem; color: var(--npl-ink); }
.title-sponsor .ts-tag { font-style: italic; margin: .2rem 0 .3rem; color: #334155; }
.title-sponsor .ts-cta { flex: none; }
.title-sponsor.placeholder-ts { border-style: dashed; border-width: 2px; }
.title-sponsor .disabled-look { pointer-events: none; }
.mc-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 800; color: var(--npl-navy-3); margin-bottom: .5rem; display: flex; align-items: center; gap: .4rem; }
.countdown-card { background: var(--npl-navy); border: 0; padding: .8rem; text-align: center; }
@media (max-width: 991.98px) {
  .hero-art img { max-width: 440px; }
  .hero .col-lg-6.py-5 { padding-bottom: 0 !important; }
}
@media (max-width: 575.98px) {
  .title-sponsor-wrap { margin-top: -1.2rem; }
  .title-sponsor .ts-body { padding: 2.2rem 1.1rem 1.2rem 1.4rem; gap: 1rem; }
  .title-sponsor .ts-logo { width: 100%; height: 90px; }
  .title-sponsor .ts-cta { width: 100%; }
}

/* the Final */
.match-card.is-final { border: 2px solid var(--npl-gold); background: linear-gradient(180deg, #fffbeb, #fff 60%); }
.match-card.is-final .mc-top span:first-child { color: #b45309; }
.match-card.is-final .mc-top span:first-child::before { content: "\1F3C6  "; }

/* group stage */
.group-head { font-family: var(--npl-head); text-transform: uppercase; font-size: 1.05rem; margin: 0 0 .5rem; display: flex; align-items: center; gap: .6rem; }
.group-head span { background: var(--npl-navy); color: #fff; padding: .25rem .8rem; border-radius: 8px; letter-spacing: .08em; }
.group-head::after { content: ""; flex: 1; height: 2px; background: linear-gradient(90deg, var(--npl-gold), transparent); }
.group-chip { display: inline-block; margin-top: .35rem; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.35); color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: .1rem .55rem; border-radius: 999px; }
