/* =====================================================================
   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: 140px; flex: none; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #fff; border: 1px solid #fde68a; border-radius: 14px; padding: .75rem; color: var(--npl-gold); font-size: 2.6rem; }
/* the logo always fits inside the box (any shape of logo, any screen) */
.title-sponsor .ts-logo img { display: block; width: 100%; height: 100%; min-width: 0; min-height: 0; 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: 120px; }
  .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; }

/* ---------- NPL-K logo in the navbar (replaces the yellow "NPL" box) */
.brand-logo { height: 56px; width: auto; flex: none; filter: drop-shadow(0 2px 6px rgba(0,0,0,.35)); margin: -6px 0; }
@media (max-width: 575.98px) { .brand-logo { height: 46px; } }
/* 12 menu tabs: tighten spacing between 1200px and 1400px so they stay on one line */
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .npl-nav .nav-link { font-size: .78rem; padding: .9rem .45rem !important; letter-spacing: .02em; }
}

/* ---------- organiser logos (K-NMAMIT ennitka + Nitte Alumni Keralam Chapter), side by side */
.org-logos { display: inline-flex; align-items: center; gap: .85rem; background: #fff; border-radius: 12px; padding: .45rem .9rem; box-shadow: 0 8px 24px rgba(0,0,0,.25); max-width: 100%; }
.org-logos img { display: block; width: auto; max-width: 100%; }
.org-logos .ol-ennitka { height: 32px; }
.org-logos .ol-alumni { height: 58px; }
.org-logos .ol-sep { width: 1px; align-self: stretch; background: #d6dbe6; }
.org-logos.sm { padding: .3rem .6rem; gap: .6rem; box-shadow: none; }
.org-logos.sm .ol-ennitka { height: 22px; }
.org-logos.sm .ol-alumni { height: 40px; }
.hero-org { flex-wrap: wrap; }
@media (max-width: 575.98px) {
  .org-logos { gap: .6rem; padding: .4rem .6rem; }
  .org-logos .ol-ennitka { height: 18px; }
  .org-logos .ol-alumni { height: 44px; }
}

/* ---------- After Party */
.after-party .ap-img { display: block; width: 100%; height: auto; }
.after-party .ap-body { padding: clamp(1.25rem, 4vw, 2.5rem); text-align: center; max-width: 860px; margin: 0 auto; }
.after-party .ap-lead { font-size: clamp(1.05rem, 2.4vw, 1.35rem); line-height: 1.6; font-weight: 500; }
.after-party .ap-line { font-family: var(--npl-head); text-transform: uppercase; letter-spacing: .04em; font-size: clamp(1.1rem, 2.6vw, 1.5rem); color: var(--npl-navy-3); margin-bottom: .4rem; }
.after-party .ap-sign { font-weight: 700; color: var(--npl-muted); margin: 0; }

/* ---------- Sponsors page */
.flex-none { flex: none; }
.sponsor-intro p { line-height: 1.65; }
.sponsor-tile { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.1rem; }
.sponsor-tile img { max-width: 96px; max-height: 64px; object-fit: contain; flex: none; }
.sp-cat { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; color: var(--npl-gold); }
.sp-name { font-weight: 700; line-height: 1.25; }
.sp-name a { color: inherit; text-decoration: none; }
.sp-name a:hover { text-decoration: underline; }
.sp-batch { font-size: .82rem; color: var(--npl-muted); }
.sp-tag { font-size: .82rem; color: var(--npl-muted); font-style: italic; }
.team-sponsors { overflow: hidden; }
.team-sponsors .ts-head { display: flex; align-items: center; gap: .7rem; padding: .8rem 1rem; color: #fff;
  background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 55%, #000)); }
.team-sponsors .ts-team { color: #fff; text-decoration: none; font-family: var(--npl-head); font-size: 1.1rem; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.team-sponsors .ts-count { margin-left: auto; background: rgba(255,255,255,.18); border-radius: 999px; min-width: 28px; text-align: center; font-weight: 700; font-size: .8rem; padding: .1rem .5rem; }
.team-sponsors .ts-count:empty { display: none; }
.team-sponsors .ts-list { list-style: none; margin: 0; padding: .4rem 1rem .8rem; }
.team-sponsors .ts-list li { display: flex; align-items: center; gap: .75rem; padding: .6rem 0; border-bottom: 1px solid var(--npl-line); }
.team-sponsors .ts-list li:last-child { border-bottom: 0; }
.team-sponsors .ts-list img { width: 44px; height: 44px; object-fit: contain; flex: none; border-radius: 8px; background: #fff; border: 1px solid var(--npl-line); }
.team-sponsors .ts-ini { width: 44px; height: 44px; flex: none; border-radius: 8px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 14%, #fff); color: var(--c); font-family: var(--npl-head); font-weight: 700; font-size: 1.2rem; }
.team-sponsors .ts-open { padding: 1.4rem 1rem; text-align: center; color: var(--npl-muted); font-size: .9rem; }

/* ---------- 13 menu tabs: hide the "NPL Kerala" wordmark (logo stays) on mid-size screens */
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .npl-nav .brand-mark { display: none; }
  .npl-nav .nav-link { font-size: .76rem; padding: .9rem .4rem !important; }
}
@media (min-width: 1400px) {
  .npl-nav .nav-link { font-size: .84rem; padding: .9rem .55rem !important; }
}

/* ---------- Sponsors: photos & WhatsApp contacts */
.sponsor-tile .sp-photo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; max-width: none; max-height: none; border: 3px solid #fff; box-shadow: 0 2px 8px rgba(10,22,51,.18); }
.team-sponsors .ts-list img.ts-photo { border-radius: 50%; object-fit: cover; width: 52px; height: 52px; border: 2px solid #fff; box-shadow: 0 1px 6px rgba(10,22,51,.2); }
.team-sponsors .ts-list li > div { flex: 1 1 auto; min-width: 0; }
.team-sponsors .ts-list img.ts-brand { width: auto; height: 30px; max-width: 70px; border: 0; background: transparent; border-radius: 0; }
.sp-contact-label { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; color: var(--npl-muted); margin-bottom: .45rem; }
.btn-whatsapp { display: inline-flex; align-items: center; gap: .6rem; background: #25d366; border-color: #25d366; color: #fff; text-align: left; padding: .45rem .9rem; }
.btn-whatsapp:hover, .btn-whatsapp:focus { background: #1ebe5b; border-color: #1ebe5b; color: #fff; }
.btn-whatsapp i { font-size: 1.5rem; }
.btn-whatsapp span { display: flex; flex-direction: column; line-height: 1.15; }
.btn-whatsapp small { font-size: .74rem; opacity: .92; }

/* ---------- Registration */
.reg-intro p { line-height: 1.65; }
.reg-form .req { color: var(--npl-red); }
.reg-form legend.form-label { font-size: 1rem; float: none; }
.reg-options { display: grid; gap: .45rem; border-radius: 10px; }
.reg-options.is-invalid { outline: 2px solid var(--npl-red); outline-offset: 3px; }
.reg-opt { display: flex; align-items: center; gap: .6rem; border: 1px solid var(--npl-line); border-radius: 10px; padding: .6rem .8rem; cursor: pointer; background: #fff; transition: border-color .15s, background .15s; }
.reg-opt:hover { border-color: var(--npl-navy-3); }
.reg-opt input { width: 1.1rem; height: 1.1rem; accent-color: var(--npl-navy-3); flex: none; }
.reg-opt:has(input:checked) { border-color: var(--npl-navy-3); background: #eef2fb; font-weight: 600; }
.reg-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.reg-done .reg-tick { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto; display: grid; place-items: center; background: #dcfce7; color: #15803d; font-size: 2.4rem; }

/* ---------- Registration help (WhatsApp) */
.reg-help { margin-top: 1rem; padding: 1rem 1.1rem; border-radius: var(--npl-radius); background: #ecfdf3; border: 1px solid #bbf7d0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; }
.reg-help .rh-text { font-weight: 600; color: #166534; }
.reg-help .rh-text i { margin-right: .3rem; }
.reg-help.compact { justify-content: center; text-align: center; }

/* ---------- home hero: tournament format line just above date / venue */
.hero h1 { margin-top: 0; }
.hero-format { margin-top: 1.1rem; font-family: var(--npl-head); text-transform: uppercase; letter-spacing: .12em; font-weight: 600; font-size: clamp(.95rem, 2vw, 1.15rem); color: var(--npl-gold); }

/* ---------- home: After Party teaser (before the Gallery) */
.home-ap-card { background: var(--npl-navy); color: #fff; }
.home-ap-media { align-self: stretch; display: flex; align-items: center; background: #0b1220; }
.home-ap-media picture { display: block; width: 100%; }
.home-ap-media img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; }
.home-ap-body { padding: clamp(1.25rem, 4vw, 2.5rem); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.home-ap-kicker { font-size: .72rem; letter-spacing: .25em; text-transform: uppercase; color: var(--npl-gold); font-weight: 600; }
.home-ap-title { font-family: var(--npl-head); text-transform: uppercase; font-weight: 700; font-size: clamp(1.8rem, 4vw, 2.6rem); margin: .2rem 0 .6rem; color: #fff; }
.home-ap-lead { font-size: clamp(1rem, 2vw, 1.2rem); line-height: 1.55; margin-bottom: 1rem; color: rgba(255,255,255,.9); }
.home-ap-facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; }
.home-ap-facts li { display: flex; align-items: center; gap: .55rem; }
.home-ap-facts i { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(245,183,0,.15); color: var(--npl-gold); flex: none; }
.home-ap-facts span { line-height: 1.2; font-weight: 600; }
.home-ap-facts small { display: block; font-size: .68rem; letter-spacing: .15em; text-transform: uppercase; color: rgba(255,255,255,.6); font-weight: 500; }
.home-ap-intro { font-size: clamp(.95rem, 1.8vw, 1.05rem); line-height: 1.6; color: rgba(255,255,255,.75); font-style: italic; border-left: 3px solid var(--npl-gold); padding-left: .85rem; margin-bottom: .9rem; }

/* ---------- live views: official scores notice (shown once scoring has started) */
.official-notice { display: flex; align-items: flex-start; gap: .65rem; background: #fff8e1; border: 1px solid rgba(245,183,0,.55); border-left: 4px solid var(--npl-gold); border-radius: 10px; padding: .7rem 1rem; margin-bottom: 1rem; }
.official-notice i { color: #b45309; font-size: 1.1rem; line-height: 1.4; flex: none; }
.official-notice p { margin: 0; font-size: .9rem; font-weight: 600; color: var(--npl-navy); line-height: 1.45; }
.official-notice[hidden] { display: none; }

/* ---------- Rules page intro note */
.rules-intro { display: flex; align-items: flex-start; gap: .75rem; border-left: 4px solid var(--npl-gold); background: #fffbeb; }
.rules-intro i { color: #b45309; font-size: 1.2rem; line-height: 1.4; }
.rules-intro p { margin: 0; font-weight: 600; color: var(--npl-ink); }

/* ---------- Results page: tournament awards */
.award-card { padding: 1.1rem 1rem; text-align: center; display: flex; flex-direction: column; align-items: center; border-top: 4px solid var(--npl-gold); }
.award-card .award-icon { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(245,183,0,.15); color: #b45309; font-size: 1.35rem; margin-bottom: .5rem; }
.award-card .award-title { font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; color: #b45309; }
.award-card .award-name { font-family: var(--npl-head); font-size: 1.25rem; font-weight: 700; text-transform: uppercase; color: var(--npl-ink); text-decoration: none; margin-top: .35rem; line-height: 1.15; }
.award-card .award-team { font-size: .82rem; color: #64748b; }
.award-card .award-note { margin-top: .4rem; font-size: .8rem; font-weight: 600; background: #f1f5f9; border-radius: 999px; padding: .15rem .65rem; }
.award-card .award-tba { margin-top: .5rem; font-size: .85rem; color: #94a3b8; font-style: italic; }
.award-card.tba { border-top-color: #e2e8f0; }
.mom-table td, .mom-table th { padding-left: 1rem; padding-right: 1rem; }

/* ---------- Home "Our Sponsors": title sponsor logo + name side by side (laptop and mobile) */
.home-ts-tile { display: flex; align-items: center; gap: 1.1rem; padding: 1rem 1.25rem; min-height: 120px; border: 1px solid #fde68a; }
.home-ts-tile .hts-logo { flex: none; width: 120px; height: 96px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.home-ts-tile .hts-logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.home-ts-tile .hts-text { display: flex; flex-direction: column; min-width: 0; }
.home-ts-tile .hts-label { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: #b45309; }
.home-ts-tile .hts-name { font-family: var(--npl-head); font-size: 1.5rem; font-weight: 700; text-transform: uppercase; line-height: 1.1; color: var(--npl-ink); overflow-wrap: anywhere; }
.home-ts-tile .hts-tag { font-size: .8rem; color: #64748b; font-style: italic; margin-top: .2rem; }
a.home-ts-tile:hover .hts-name { text-decoration: underline; }
@media (max-width: 575.98px) {
  .home-ts-tile { gap: .8rem; padding: .85rem 1rem; }
  .home-ts-tile .hts-logo { width: 88px; height: 74px; }
  .home-ts-tile .hts-name { font-size: 1.25rem; }
}

/* ---------- Champion banner (home hero, after the Final) ---------- */
.champ-banner { position: relative; overflow: hidden; margin: 0 0 .75rem; padding: .55rem 0; border-radius: 999px;
  background: linear-gradient(90deg, rgba(245,183,0,.08), rgba(245,183,0,.22), rgba(245,183,0,.08));
  border: 1px solid rgba(255,211,77,.55); box-shadow: 0 0 18px rgba(245,183,0,.25), inset 0 0 12px rgba(245,183,0,.12); }
.champ-move { display: inline-block; white-space: nowrap; animation: champ-ride 16s linear infinite; will-change: margin-left, transform; }
.champ-msg { position: relative; display: inline-block; padding: 0 1.25rem; font-family: var(--npl-head); font-weight: 700;
  font-size: clamp(.95rem, 2.2vw, 1.25rem); letter-spacing: .08em; text-transform: uppercase;
  background: linear-gradient(90deg, #ffd34d 0%, #fff6c9 25%, #f5b700 50%, #fff6c9 75%, #ffd34d 100%); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: champ-shine 3s linear infinite; }
.champ-msg .bi { color: var(--npl-gold); -webkit-text-fill-color: var(--npl-gold); }
.champ-star { position: absolute; font-size: .8rem; line-height: 1; color: #fff; -webkit-text-fill-color: #fff; pointer-events: none;
  text-shadow: 0 0 6px #fff, 0 0 12px var(--npl-gold); transform: translate(-50%, -50%) scale(0); animation: champ-twinkle 1.8s ease-in-out infinite; }
/* right -> left: starts just outside the right edge, ends just outside the left edge (margin % = banner width) */
@keyframes champ-ride { from { margin-left: 100%; transform: translateX(0); } to { margin-left: 0; transform: translateX(-100%); } }
@keyframes champ-shine { to { background-position: -200% center; } }
@keyframes champ-twinkle { 0%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(0) rotate(0deg); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.15) rotate(90deg); } }
@media (prefers-reduced-motion: reduce) {
  .champ-banner { text-align: center; }
  .champ-move { animation: none; white-space: normal; }
  .champ-msg { animation: none; }
}

/* ---------- home hero: full-width background video (short silent loop) ---------- */
.hero.has-bg-video { background: #000; }
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero-bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
/* navy tint keeps the hero text readable (stronger on the text side) */
.hero-bg-shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(10,22,51,.85) 0%, rgba(10,22,51,.55) 50%, rgba(10,22,51,.25) 100%),
  linear-gradient(0deg, rgba(10,22,51,.6) 0%, transparent 35%); }
@media (max-width: 991.98px) {
  .hero-bg video { object-position: 50% 50%; }
  .hero-bg-shade { background: linear-gradient(180deg, rgba(10,22,51,.8) 0%, rgba(10,22,51,.65) 55%, rgba(10,22,51,.45) 100%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg video { display: none; }
  .hero-bg { background: center / cover no-repeat url("../video/nitte-hero-poster.jpg"); }
}

/* ---------- nav dropdown (Gallery → Photos / Videos) ---------- */
.npl-dropdown { background: var(--npl-navy-2); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: .35rem; box-shadow: 0 14px 34px rgba(0,0,0,.35); min-width: 11rem; }
.npl-dropdown .dropdown-item { color: rgba(255,255,255,.88); font-weight: 600; font-size: .88rem; text-transform: uppercase; letter-spacing: .03em; border-radius: 8px; padding: .55rem .8rem; }
.npl-dropdown .dropdown-item i { color: var(--npl-gold); }
.npl-dropdown .dropdown-item:hover, .npl-dropdown .dropdown-item:focus { background: rgba(255,255,255,.08); color: #fff; }
@media (max-width: 1199.98px) { /* collapsed (mobile) menu: show sub-items inline */
  .npl-dropdown { background: transparent; border: 0; box-shadow: none; padding: 0 0 .4rem .8rem; }
}

/* ---------- gallery: Photos / Videos tabs + video grid ---------- */
.gallery-tabs { display: inline-flex; gap: .35rem; padding: .3rem; margin-bottom: 1.25rem; background: #e8edf6; border-radius: 999px; }
.gallery-tabs a { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem 1.2rem; border-radius: 999px; font-weight: 700; font-size: .9rem; text-transform: uppercase; letter-spacing: .04em; color: var(--npl-navy-3); text-decoration: none; }
.gallery-tabs a:hover { background: rgba(255,255,255,.7); }
.gallery-tabs a.active { background: var(--npl-navy); color: #fff; box-shadow: 0 4px 12px rgba(10,22,51,.25); }
.gallery-tabs a.active i { color: var(--npl-gold); }
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 1rem; }
.video-card { margin: 0; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 6px 20px rgba(10,22,51,.08); }
.video-frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.video-frame video, .video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: contain; background: #000; }
.video-card figcaption { padding: .65rem .85rem; font-weight: 600; font-size: .92rem; color: var(--npl-ink); }
.yt-lite { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: #000; cursor: pointer; }
.yt-lite img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: opacity .2s, transform .3s; }
.yt-lite:hover img, .yt-lite:focus-visible img { opacity: 1; transform: scale(1.03); }
.yt-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 68px; height: 48px; border-radius: 14px; background: #e62117; color: #fff; font-size: 2rem; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.35); }
.yt-lite:focus-visible { outline: 3px solid var(--npl-gold); outline-offset: -3px; }

/* ---------- Awards page */
.aw-list { display: grid; gap: 1rem; }
.aw-card { display: grid; grid-template-columns: 260px 1fr; overflow: hidden; }
.aw-media { background: linear-gradient(160deg, var(--npl-navy), var(--npl-navy-3)); display: grid; place-items: center; min-height: 220px; }
.aw-media a, .aw-media img { display: block; width: 100%; height: 100%; }
.aw-media img { object-fit: cover; max-height: 320px; }
.aw-placeholder { color: var(--npl-gold); font-size: 4rem; opacity: .85; }
.aw-body { padding: 1.2rem 1.4rem; display: flex; flex-direction: column; gap: .55rem; min-width: 0; }
.aw-title { font-size: 1.5rem; text-transform: uppercase; margin: 0; }
.aw-prize { font-weight: 700; color: #b45309; }
.aw-desc { color: #334155; font-size: .95rem; }
.aw-sponsor { display: flex; align-items: center; gap: .7rem; padding: .55rem .75rem; background: #fffbeb; border: 1px solid #fde68a; border-radius: 10px; align-self: flex-start; }
.aw-sponsor img { width: 48px; height: 48px; object-fit: contain; flex: none; }
.aw-sponsor img.round { border-radius: 50%; object-fit: cover; }
.aw-sponsor small { display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; color: #b45309; }
.aw-sponsor strong { display: block; line-height: 1.2; }
.aw-sponsor strong a { color: inherit; }
.aw-sponsor span { display: block; font-size: .8rem; color: var(--npl-muted); }
.aw-result { border-top: 1px dashed var(--npl-line); padding-top: .55rem; font-size: .95rem; }
.aw-tba { color: #94a3b8; font-style: italic; }
.aw-pics { display: flex; flex-wrap: wrap; gap: .5rem; }
.aw-pics img { width: 96px; height: 72px; object-fit: cover; border-radius: 8px; border: 1px solid var(--npl-line); transition: transform .15s; }
.aw-pics a:hover img { transform: scale(1.05); }
@media (max-width: 767.98px) {
  .aw-card { grid-template-columns: 1fr; }
  .aw-media { min-height: 180px; }
}
.aw-card.has-winner { border-top: 4px solid var(--npl-gold); }
.aw-result-label { color: #b45309; font-weight: 800; font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: .45rem; }
.aw-winners { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; }
.aw-winner { display: flex; align-items: center; gap: .8rem; }
.aw-winner .aw-photo { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; border: 3px solid #fff; box-shadow: 0 0 0 3px var(--npl-gold), 0 4px 12px rgba(10,22,51,.18); }
.aw-winner .aw-ini { display: grid; place-items: center; background: var(--npl-navy-3); color: #fff; font-family: var(--npl-head); font-size: 1.8rem; }
.aw-winner .aw-name { font-family: var(--npl-head); font-size: 1.35rem; font-weight: 700; text-transform: uppercase; line-height: 1.1; }
.aw-winner .aw-name a { color: var(--npl-ink); text-decoration: none; }
.aw-winner .aw-name a:hover { text-decoration: underline; }
.aw-winner .aw-team { font-size: .82rem; color: var(--npl-muted); }
.aw-winner .aw-note { display: inline-block; margin-top: .25rem; font-size: .8rem; font-weight: 600; background: #f1f5f9; border-radius: 999px; padding: .1rem .65rem; }
