/* =========================================================================
   NPL 2026 page — /cricket/npl-2026 (npl.php + js/npl.js). Mobile-first,
   site tokens from style.css only.
   ========================================================================= */

.npl { padding-top: 14px; padding-bottom: 48px; }
.npl__crumbs { font-size: .8rem; color: var(--text-faint); margin-bottom: 12px; }
.npl__crumbs a { color: var(--brand); font-weight: 600; }

.npl__article { max-width: 820px; margin: 0 auto; background: var(--surface); padding: 20px 16px 28px; box-shadow: var(--shadow); }
.npl__article > section { margin-top: 32px; }
.npl__article h2 { font-family: var(--head); font-size: 1.35rem; color: var(--ink-2); margin-bottom: 10px; }
.npl__article p, .npl__article li { color: var(--text); line-height: 1.65; }
.npl__article p { margin: 0 0 12px; }
.npl__article a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }

.npl__kicker { margin: 0 0 6px !important; font-size: .74rem; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: var(--accent) !important; }
.npl__head h1 { font-family: var(--head); font-size: 1.65rem; line-height: 1.25; color: var(--ink-2); }
.npl__dek { font-size: 1.05rem; color: var(--text-soft) !important; margin-top: 10px !important; }
.npl__byline { font-size: .82rem; color: var(--text-faint) !important; }

/* ---------------- live panel ---------------- */
.npl-live { margin-top: 18px; border: 1px solid var(--border); border-top: 4px solid var(--accent); padding: 14px; background: #fbfcfe; }
.npl-live__bar { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.npl-live__bar h2 { margin: 0; font-size: 1.1rem; display: flex; align-items: center; gap: 8px; }
.npl-live__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(209,26,42,.5); animation: npl-pulse 1.8s infinite; }
@keyframes npl-pulse { 0% { box-shadow: 0 0 0 0 rgba(209,26,42,.45); } 70% { box-shadow: 0 0 0 9px rgba(209,26,42,0); } 100% { box-shadow: 0 0 0 0 rgba(209,26,42,0); } }
.npl-live__updated { font-size: .75rem; color: var(--text-faint); }
.npl-live__empty { color: var(--text-soft) !important; font-size: .92rem; margin: 10px 0 !important; }
.npl-live__h { font-size: .8rem; text-transform: uppercase; letter-spacing: .5px; color: var(--text-soft); margin: 14px 0 8px; }
.npl-live__h small { text-transform: none; letter-spacing: 0; font-weight: 600; color: var(--brand); margin-left: 6px; }
.npl-live__grid { display: grid; gap: 10px; grid-template-columns: 1fr; }
.npl-live__play { font-size: .88rem; margin: 14px 0 0 !important; color: var(--text-soft) !important; }

.npl-live__next { margin-top: 10px; padding: 10px 12px; background: var(--brand); color: #fff; font-size: .9rem; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.npl-next__label { font-size: .7rem; text-transform: uppercase; letter-spacing: .6px; opacity: .85; font-weight: 700; }
.npl-next__when { opacity: .85; font-size: .82rem; }
.npl-next__cd { margin-left: auto; font-weight: 800; font-variant-numeric: tabular-nums; background: rgba(255,255,255,.16); padding: 2px 8px; border-radius: 999px; }

.npl-m { border: 1px solid var(--border); background: var(--surface); padding: 10px 12px; }
.npl-m--live { border-color: var(--accent); }
.npl-m__top { display: flex; gap: 8px; align-items: center; margin-bottom: 6px; min-width: 0; }
.npl-m__title { font-size: .76rem; color: var(--text-faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.npl-m__badge { flex: none; font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; padding: 2px 6px; background: var(--border); color: var(--text-soft); }
.npl-m__badge--live { background: var(--accent); color: #fff; }
.npl-m__badge--soon { background: #e8f0fb; color: var(--brand); }
.npl-m__team { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; font-weight: 600; }
.npl-m__score { font-variant-numeric: tabular-nums; white-space: nowrap; }
.npl-m__ov { font-weight: 500; color: var(--text-faint); font-size: .82rem; }
.npl-m__status { font-size: .84rem; color: var(--brand) !important; margin: 6px 0 0 !important; font-weight: 600; }
.npl-m__open { margin-top: 8px; border: 1px solid var(--brand); background: transparent; color: var(--brand); font-weight: 700; font-size: .8rem; padding: 6px 10px; cursor: pointer; min-height: 36px; }
.npl-m__open:hover, .npl-m__open[aria-expanded="true"] { background: var(--brand); color: #fff; }

.npl-card { margin-top: 10px; }
.npl-card__toss, .npl-card__extras { font-size: .82rem; color: var(--text-soft) !important; }
.npl-card__inn h4 { font-size: .92rem; margin: 12px 0 6px; }
.npl-card__t { width: 100%; border-collapse: collapse; font-size: .8rem; font-variant-numeric: tabular-nums; }
.npl-card__t th, .npl-card__t td { padding: 5px 6px; border-bottom: 1px solid var(--border); text-align: right; }
.npl-card__t th[scope="row"], .npl-card__t thead th:first-child { text-align: left; }
.npl-card__t th small { display: block; font-weight: 400; color: var(--text-faint); font-size: .72rem; }

/* predictions */
.npl-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 8px 0; border-bottom: 1px dashed var(--border); }
.npl-pick__when { width: 100%; font-size: .74rem; color: var(--text-faint); font-weight: 600; }
.npl-pick__btn { flex: 1 1 0; min-width: 0; min-height: 40px; border: 1px solid var(--border); background: var(--surface); padding: 8px; font-weight: 700; font-size: .84rem; cursor: pointer; color: var(--ink-2); }
.npl-pick__btn:hover { border-color: var(--brand); }
.npl-pick__btn.is-picked { background: var(--brand); border-color: var(--brand); color: #fff; }
.npl-pick__v { font-size: .75rem; color: var(--text-faint); }

/* ---------------- article furniture ---------------- */
.npl__toc { margin-top: 24px; background: var(--bg); padding: 12px 16px; }
.npl__toc h2 { font-size: 1rem !important; margin-bottom: 6px !important; }
.npl__toc ol { margin: 0; padding-left: 20px; columns: 1; }
.npl__toc li { line-height: 1.9 !important; }
.npl__facts, .npl__list { padding-left: 20px; }
.npl__facts li, .npl__list li { margin-bottom: 6px; }

.npl__tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 8px 0 12px; }
.npl__table { width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 520px; }
.npl__table th, .npl__table td { padding: 8px 10px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.npl__table thead th { background: var(--ink-2); color: #fff; font-size: .74rem; text-transform: uppercase; letter-spacing: .4px; }
.npl__table tbody tr:nth-child(even) { background: #f8f9fb; }
.npl__table tbody th { font-weight: 700; color: var(--ink-2); }
.npl__table--fixtures { min-width: 420px; }
.npl__table--fixtures tr.is-past { color: var(--text-faint); }
.npl__v { color: var(--text-faint); font-size: .8em; }
.npl__note { font-size: .84rem; color: var(--text-soft) !important; }

.npl__faq details { border-bottom: 1px solid var(--border); padding: 10px 0; }
.npl__faq summary { cursor: pointer; font-weight: 700; color: var(--ink-2); }
.npl__faq details p { margin: 8px 0 0 !important; }

.npl__sources { font-size: .86rem; border-top: 1px solid var(--border); padding-top: 14px; }
.npl__sources h2 { font-size: 1rem !important; }
.npl__sources li { margin-bottom: 4px; }

@media (min-width: 640px) {
  .npl__article { padding: 28px 32px 36px; }
  .npl__head h1 { font-size: 2rem; }
  .npl-live__grid { grid-template-columns: 1fr 1fr; }
  .npl__toc ol { columns: 2; }
}
@media (prefers-reduced-motion: reduce) {
  .npl-live__dot { animation: none; }
}

/* Sponsor box + label (npl-story.php, partner-8848-labs.php). Paid content is
   always labelled, never styled to pass as editorial. */
.npl__sponsor { margin-top: 32px; padding: 14px 16px; border: 1px dashed var(--border); background: var(--bg); }
.npl__sponsor p { margin: 0 0 6px; }
.npl__sponsor-label { margin: 0 0 6px !important; font-size: .7rem; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: var(--text-faint) !important; }
.npl__article ul, .npl__article ol { padding-left: 22px; }
.npl__article section > ul li, .npl__article section > ol li { margin-bottom: 6px; }

/* ---------------- hub top: navy hero + quick tiles ----------------
   Layout borrows the CAN site's shape (navy hero, tile row, card grid);
   colours stay on our tokens. */
.npl-hero {
  max-width: 1100px; margin: 0 auto; padding: 22px 18px 20px; border-radius: 14px; color: #fff;
  background: radial-gradient(120% 140% at 100% 0%, rgba(209,26,42,.38) 0%, rgba(209,26,42,0) 55%),
              linear-gradient(135deg, var(--brand-dark) 0%, #172a4d 55%, var(--ink-2) 100%);
}
.npl-hero a { color: #fff; }
.npl-hero__crumbs { font-size: .78rem; opacity: .8; margin-bottom: 14px; }
.npl-hero__crumbs a { font-weight: 600; }
.npl-hero__kicker { margin: 0 0 8px; font-size: .74rem; font-weight: 800; letter-spacing: .7px; text-transform: uppercase; color: #ffb3b9; }
.npl-hero h1 { font-family: var(--head); font-size: 1.6rem; line-height: 1.22; margin: 0; max-width: 760px; }
.npl-hero__dek { margin: 12px 0 0; font-size: 1rem; line-height: 1.55; opacity: .9; max-width: 680px; }
.npl-hero__chips { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.npl-hero__chips li { font-size: .78rem; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); }
.npl-hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }
.npl-btn { display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; border-radius: 8px; font-weight: 800; font-size: .86rem; text-transform: uppercase; letter-spacing: .4px; text-decoration: none; }
.npl-btn--red { background: var(--accent); }
.npl-btn--red:hover { background: #b01522; }
.npl-btn--ghost { border: 1.5px solid rgba(255,255,255,.75); }
.npl-btn--ghost:hover { background: rgba(255,255,255,.12); }
.npl-hero__byline { margin: 16px 0 0; font-size: .78rem; opacity: .75; }

.npl-tiles { max-width: 1100px; margin: 14px auto 18px; display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.npl-tile {
  display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 10px 14px; border-radius: 10px;
  background: var(--brand-dark); color: #fff; font-weight: 700; font-size: .9rem; text-decoration: none;
  transition: transform .15s, background .15s;
}
.npl-tile:hover { background: var(--brand); transform: translateY(-2px); }
.npl-tile__ico { font-size: 1.35rem; line-height: 1; }

/* ---------------- team cards ---------------- */
.npl-teams { list-style: none; padding: 0; margin: 14px 0; display: grid; gap: 12px; grid-template-columns: 1fr; }
.npl-team { position: relative; border: 1px solid var(--border); border-top: 4px solid var(--brand); border-radius: 10px; padding: 14px 14px 12px 70px; background: var(--surface); }
.npl-team:first-child { border-top-color: var(--accent); }
.npl-team__badge {
  position: absolute; left: 14px; top: 14px; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 900; font-size: .9rem; letter-spacing: .5px; color: #fff;
  background: linear-gradient(135deg, var(--brand) 0%, var(--ink) 100%);
}
.npl-team h3 { margin: 0; font-size: 1.02rem; color: var(--ink-2); }
.npl-team__base { margin: 2px 0 8px !important; font-size: .8rem; color: var(--text-faint) !important; line-height: 1.4 !important; }
.npl-team dl { display: grid; grid-template-columns: auto 1fr; gap: 3px 10px; margin: 0; font-size: .86rem; }
.npl-team dt { color: var(--text-faint); }
.npl-team dd { margin: 0; font-weight: 600; color: var(--text); }

/* ---------------- podcast ---------------- */
.npl-listen { display: flex; gap: 14px; align-items: flex-start; margin-top: 18px !important; padding: 14px; border-radius: 10px; background: var(--ink-2); color: #fff; }
.npl-listen__art { flex: none; width: 72px; height: 72px; border-radius: 8px; object-fit: cover; }
.npl-listen__body { min-width: 0; flex: 1; }
.npl-listen__kicker { margin: 0 0 4px !important; font-size: .72rem; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: #ffb3b9 !important; }
.npl__article .npl-listen h2 { color: #fff; font-size: 1.05rem; margin: 0 0 10px; }
.npl-listen audio { width: 100%; height: 40px; }
.npl-listen p { margin: 8px 0 0 !important; font-size: .86rem; }
.npl__article .npl-listen a { color: #fff; }

@media (min-width: 640px) {
  .npl-hero { padding: 30px 32px 26px; }
  .npl-hero h1 { font-size: 2.1rem; }
  .npl-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .npl-teams { grid-template-columns: 1fr 1fr; }
  .npl-listen__art { width: 96px; height: 96px; }
}
@media (min-width: 1000px) {
  .npl-hero { padding: 40px 48px 32px; }
  .npl-hero h1 { font-size: 2.5rem; }
  .npl-tiles { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .npl-tile { flex-direction: column; justify-content: center; text-align: center; min-height: 88px; }
}
