/* ═══════════════════════════════════════════════════════════════════
   Zilla Engine · B+ broadcast · Phase 6
   News list (#7), News article (#8), Rules & documents (#10), History & awards (#12)
   Boards 44–47, 62–63, 67–68. Tokens only (tokens.css); every class bp- prefixed.
   Loaded after bplus.css and bp-people.css.
   ═══════════════════════════════════════════════════════════════════ */

.bp-content { --side: 460px; }

/* Scanline layer as a full overlay (in bplus.css it is only a background) */
.bp-content .bp-scan { position: absolute; inset: 0; pointer-events: none; z-index: 0; }

/* Pills that scroll sideways instead of wrapping (category / season pills) */
.bp-pills--scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 2px 6px; margin: 0 -6px; }
.bp-pills--scroll::-webkit-scrollbar { display: none; }

/* Empty state shared by the four pages */
.bp-cempty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 80px 20px; margin-top: 24px;
  background: var(--surface); border-top: 4px solid var(--league-accent); color: var(--muted); text-align: center; }
.bp-cempty .bp-d { font-size: 32px; color: var(--text); margin: 0; }
.bp-cempty .bp-l { font-size: 14px; }
.bp-cempty a { color: var(--league-accent); }

/* ═══════════════ News list ═══════════════ */
.bp-nlead { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px; margin-top: 22px; }
.bp-nlead--solo { grid-template-columns: minmax(0, 1fr); }
.bp-nfeat { position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden;
  background: var(--surface); border-top: 4px solid var(--league-accent); --tc: var(--league-accent); }
.bp-nfeat:hover { filter: brightness(1.1); }
.bp-nfeat__cover { position: relative; height: 420px; overflow: hidden; background-size: cover; background-position: center;
  background-color: color-mix(in srgb, var(--tc) 30%, var(--surface-2));
  background-image: linear-gradient(160deg, color-mix(in srgb, var(--tc) 55%, var(--surface-2)), var(--surface) 75%); }
.bp-nlead--solo .bp-nfeat__cover { height: 360px; }
.bp-nfeat__cover.has-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.6)); }
.bp-nfeat__ghost { position: absolute; left: -10px; bottom: -40px; font-size: 220px; line-height: 1; color: rgba(255,255,255,.1); white-space: nowrap; }
.bp-nfeat .bp-news__tag { background: var(--league-accent); color: var(--ink); }
.bp-nfeat__body { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 20px; }
.bp-nfeat__title { font-size: 54px; line-height: .98; margin: 0; text-wrap: balance; overflow-wrap: anywhere; }
.bp-nfeat__ex { font-size: 16px; line-height: 1.5; color: var(--sub); margin: 0; }

.bp-ntop { padding: 18px 20px 8px; min-width: 0; }
.bp-ntop__title { font-size: 32px; margin: 0 0 8px; }
.bp-ntop__list { list-style: none; margin: 0; padding: 0; }
.bp-ntop__item { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 4px; align-items: start; padding: 12px 0;
  border-bottom: 1px solid var(--line); }
.bp-ntop__item:hover .bp-ntop__h { color: var(--league-accent); }
.bp-ntop__n { font-size: 34px; line-height: .9; color: var(--league-accent); }
.bp-ntop__txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.bp-ntop__h { font-size: 21px; line-height: 1.02; overflow-wrap: anywhere; transition: color .15s; }
.bp-ntop__meta { font-size: 11px; color: var(--muted); }

.bp-nsec { margin-top: var(--section-gap); }
.bp-ngrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }

.bp-npager { display: flex; justify-content: center; align-items: center; gap: 6px; margin: 30px 0 0; flex-wrap: wrap; }
.bp-npager__btn { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 32px; padding: 0 12px;
  transform: skewX(-12deg); background: var(--surface-2); color: var(--text); }
.bp-npager__btn > span { transform: skewX(12deg); font-size: 15px; }
.bp-npager__btn:hover { background: var(--surface-3); }
.bp-npager__btn.is-active { background: var(--league-accent); color: var(--ink); }
.bp-npager__gap { color: var(--muted); padding: 0 4px; }

/* ═══════════════ News article ═══════════════ */
.bp-draft { padding: 8px var(--gutter); background: var(--champion); color: var(--black); font-size: 13px; }
.bp-ahero { position: relative; overflow: hidden; min-height: 540px; display: flex; align-items: flex-end; --tc: var(--league-accent);
  background: linear-gradient(115deg, var(--surface-2) 0%, color-mix(in srgb, var(--tc) 55%, var(--surface)) 55%, var(--surface) 100%);
  border-bottom: 1px solid var(--line); }
.bp-ahero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.55) 80%, var(--bg)); }
.bp-ahero__img { position: absolute; inset: 0; background-size: cover; background-position: center; }
.bp-ahero__ghost { position: absolute; right: -20px; bottom: -60px; font-size: 360px; line-height: 1; color: rgba(255,255,255,.06); white-space: nowrap; z-index: 1; }
.bp-ahero__in { position: relative; z-index: 2; padding: 60px var(--gutter) 46px; max-width: 1100px; min-width: 0; }
.bp-ahero__cat { display: inline-flex; padding: 4px 14px; background: var(--league-accent); color: var(--ink); transform: skewX(-12deg); }
.bp-ahero__cat > span { transform: skewX(12deg); font-size: 14px; }
.bp-ahero__title { font-size: 80px; line-height: .92; margin: 18px 0 20px; text-wrap: balance; overflow-wrap: anywhere; }
.bp-ahero__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0; font-size: 15px; color: var(--sub); }
.bp-ahero__av { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--surface-3); color: var(--text); font-size: 12px; }
.bp-ahero__sep { color: var(--dim); }

.bp-agrid { display: grid; grid-template-columns: minmax(0, 1fr) 496px; gap: 60px; margin-top: 40px; align-items: start; }
.bp-abody { min-width: 0; }
.bp-abody__lede { font-size: 20px; line-height: 1.55; color: var(--text); margin: 0 0 18px; }
.bp-aside { display: flex; flex-direction: column; gap: 24px; min-width: 0; }

/* Markdown body */
.bp-md { font-size: 18px; line-height: 1.75; color: var(--sub); overflow-wrap: break-word; }
.bp-md > * { margin: 0 0 18px; }
.bp-md h2, .bp-md h3, .bp-md h4 { font-family: var(--font-display); font-weight: 800; font-style: italic; text-transform: uppercase;
  color: var(--text); line-height: 1; margin: 30px 0 12px; }
.bp-md h2 { font-size: 34px; } .bp-md h3 { font-size: 26px; } .bp-md h4 { font-size: 21px; }
.bp-md strong { color: var(--text); }
.bp-md a { color: var(--league-accent); text-decoration: underline; text-underline-offset: 3px; }
.bp-md ul, .bp-md ol { padding-left: 22px; }
.bp-md li { margin: 4px 0; }
.bp-md li::marker { color: var(--league-accent); }
.bp-md code { font-size: .9em; padding: 1px 6px; background: var(--surface-2); color: var(--text); }
.bp-md hr { border: 0; border-top: 1px solid var(--line-2); margin: 28px 0; }
.bp-md .md-quote { margin: 30px 0; padding: 4px 0 4px 30px; border-left: 5px solid var(--league-accent); }
.bp-md .md-quote p { margin: 0; font-family: var(--font-display); font-weight: 800; font-style: italic; text-transform: uppercase;
  font-size: 40px; line-height: 1.02; color: var(--text); }
.bp-md .md-quote cite { display: block; margin-top: 12px; font: 700 13px/1 var(--font-display); letter-spacing: .1em;
  text-transform: uppercase; font-style: normal; color: var(--muted); }

.bp-agame { margin: 30px 0; display: flex; flex-direction: column; gap: 8px; }
.bp-agame__link { align-self: flex-end; font-size: 13px; color: var(--league-accent); }

.bp-astory { padding: 18px 20px 20px; }
.bp-astory__title { font-size: 30px; margin: 0 0 14px; }
.bp-astory__round { font-size: 12px; color: var(--muted); margin: 14px 0 0; }
.bp-atags { display: flex; flex-wrap: wrap; gap: 6px; }
.bp-atags--mob { display: none; margin-top: 24px; }
.bp-atag { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 8px; background: var(--surface-2);
  border-left: 3px solid var(--tc, var(--line-2)); }
.bp-atag:hover { background: var(--surface-3); }
.bp-atag .bp-crest { --s: 22px; font-size: 9px; }
.bp-atag .bp-d { font-size: 18px; }
.bp-atag--player { padding-left: 12px; color: var(--sub); }
/* Leaders card in the narrow sidebar: smaller number so a long name never runs under it */
.bp-aside .bp-lead__val { font-size: 104px; top: 12px; }
.bp-aside .bp-lead__who { max-width: 50%; }
.bp-aside .bp-lead__name { font-size: 30px; }
.bp-ashare { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.bp-ashare__btn { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; transform: skewX(-12deg);
  background: var(--surface-2); color: var(--text); border: 0; cursor: pointer; font: inherit; }
.bp-ashare__btn > span { transform: skewX(12deg); font-size: 13px; }
.bp-ashare__btn:hover { background: var(--surface-3); }

/* ═══════════════ Rules & documents ═══════════════ */
.bp-rtabs { display: none; gap: 6px; margin-top: 16px; }
.bp-rtabs .bp-pill { border: 0; cursor: pointer; font: inherit; }
.bp-rulesgrid { display: grid; grid-template-columns: 300px minmax(0, 1fr) var(--side); gap: 28px; margin-top: 26px; align-items: start; }
.bp-rulesgrid--nodocs { grid-template-columns: 300px minmax(0, 1fr); }
.bp-rulesgrid--onlydocs { grid-template-columns: minmax(0, 1fr); }
.bp-rulesgrid--onlydocs .bp-rdocs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }

.bp-rtoc { min-width: 0; position: sticky; top: 90px; }
.bp-rtoc__title { font-size: 30px; margin: 0 0 12px; }
.bp-rtoc__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.bp-rtoc__item { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: center; min-height: 44px;
  padding: 6px 16px; border-left: 3px solid transparent; }
.bp-rtoc__item:hover { background: var(--surface); }
.bp-rtoc__item.is-active { background: color-mix(in srgb, var(--league-accent) 22%, var(--surface)); border-left-color: var(--league-accent); }
.bp-rtoc__n { font-size: 17px; color: var(--muted); }
.bp-rtoc__item.is-active .bp-rtoc__n { color: var(--league-accent); }
.bp-rtoc__t { font-size: 20px; line-height: 1.02; overflow-wrap: anywhere; }
.bp-rtoc__none { font-size: 13px; color: var(--muted); }
.bp-rtoc__none a { color: var(--league-accent); }
.bp-rtoc__search { margin-top: 22px; min-width: 0; }

.bp-rsec { min-width: 0; padding: 28px 30px 30px; background: var(--surface); border-top: 4px solid var(--league-accent); }
.bp-rsec__kicker { font-size: 13px; color: var(--league-accent); margin: 0 0 4px; }
.bp-rsec__title { font-size: 50px; line-height: .95; margin: 0 0 18px; overflow-wrap: anywhere; }
.bp-md--rules { font-size: 16px; line-height: 1.65; }
.bp-md--rules h2 { font-size: 26px; margin-top: 22px; }
.bp-md--rules h3 { font-size: 22px; }
.bp-rsec__foot { margin: 24px 0 0; padding: 14px 18px; background: var(--bg-2); border-left: 3px solid var(--league-accent);
  font-size: 13px; color: var(--sub); }

.bp-rdocs { min-width: 0; }
.bp-rdocs__group + .bp-rdocs__group { margin-top: 6px; }
.bp-rdocs__group .bp-sh { margin-top: 0; }
.bp-rdocs__list { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.bp-doc { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 14px; align-items: center; min-height: 62px;
  padding: 8px 14px 8px 20px; background: var(--surface); border-left: 4px solid var(--league-accent); }
.bp-doc__ico { color: var(--league-accent); display: inline-flex; }
.bp-doc__txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.bp-doc__name { font-size: 21px; line-height: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bp-doc__meta { font-size: 11px; color: var(--muted); }
.bp-doc__dl { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 14px; transform: skewX(-12deg);
  background: var(--surface-2); color: var(--text); flex: none; }
.bp-doc__dl > * { transform: skewX(12deg); }
.bp-doc__dl span { font-size: 13px; }
.bp-doc__dl:hover { background: var(--league-accent); color: var(--ink); }

/* ═══════════════ History & awards ═══════════════ */
.bp-hsec { margin-top: var(--section-gap); }
.bp-hsec:first-of-type { margin-top: 28px; }
.bp-hchamps { display: flex; flex-direction: column; gap: 6px; }
.bp-hchamp { position: relative; overflow: hidden; display: grid; align-items: center; gap: 20px; min-height: 110px; padding: 0 30px 0 0;
  grid-template-columns: minmax(150px, max-content) 70px minmax(0, 1fr) auto; padding-left: 26px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--tc) 40%, var(--surface)), var(--surface) 55%); }
.bp-hchamp > :not(.bp-scan) { position: relative; z-index: 1; }
.bp-hchamp__season { font-size: 34px; line-height: 1; white-space: nowrap; }
.bp-hchamp__crest .bp-crest { --s: 66px; font-size: 26px; }
.bp-hchamp__who { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.bp-hchamp__kicker { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--champion); }
.bp-hchamp__name { font-size: 50px; line-height: .95; overflow-wrap: anywhere; }
.bp-hchamp__who:hover .bp-hchamp__name { color: var(--league-accent); }
.bp-hchamp__facts { display: flex; gap: 34px; align-items: center; }
.bp-hchamp__fact { display: flex; flex-direction: column; gap: 3px; min-width: 0; max-width: 300px; }
.bp-hchamp__fact .bp-l { font-size: 11px; color: var(--muted); }
.bp-hchamp__fact .bp-d { font-size: 24px; line-height: 1.02; }
a.bp-hchamp__fact:hover .bp-d { color: var(--league-accent); }
.bp-hchamp__mvp { display: inline-flex; align-items: center; gap: 8px; }
.bp-hchamp__mvp .bp-crest { --s: 26px; font-size: 10px; }

.bp-hpills { margin: 0 0 12px; }
.bp-hawards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.bp-haward { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 6px; min-height: 150px; padding: 18px 16px;
  --tc: var(--league-accent);
  background: linear-gradient(135deg, color-mix(in srgb, var(--tc) 70%, var(--surface)) 0%, var(--surface) 80%); }
.bp-haward > :not(.bp-scan) { position: relative; z-index: 1; }
.bp-haward__ico { color: var(--champion); display: inline-flex; margin-bottom: auto; }
.bp-haward__type { font-size: 11px; color: var(--sub); }
.bp-haward__name { font-size: 28px; line-height: .95; overflow-wrap: break-word; hyphens: manual; }
a.bp-haward__name:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.bp-haward__stat { font-size: 13px; color: var(--sub); }

.bp-hrecords { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.bp-hrec { display: flex; flex-direction: column; gap: 8px; padding: 18px 16px 20px; background: var(--surface); border-top: 4px solid var(--league-accent); min-width: 0; }
.bp-hrec__val { font-size: 64px; line-height: .9; color: var(--league-accent); overflow-wrap: anywhere; }
.bp-hrec__label { font-size: 13px; color: var(--text); }
.bp-hrec__who { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.bp-hrec__who .bp-crest { --s: 18px; font-size: 8px; }

.bp-hmiles { list-style: none; margin: 0; padding: 0; }
.bp-hmile { display: grid; grid-template-columns: 136px minmax(0, 1fr) auto; gap: 16px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); }
.bp-hmile__year { font-size: 24px; color: var(--league-accent); }
.bp-hmile__txt { font-size: 24px; line-height: 1.05; overflow-wrap: anywhere; }
.bp-hmile__txt a:hover { color: var(--league-accent); }
.bp-hmile__val { font-size: 13px; color: var(--muted); }
.bp-hmile__val a { color: var(--league-accent); }

/* ═══════════════ Responsive ═══════════════ */
@media (max-width: 1100px) {
  .bp-content { --side: 380px; }
  .bp-ngrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bp-agrid { grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; }
  .bp-rulesgrid { grid-template-columns: 240px minmax(0, 1fr); }
  .bp-rulesgrid .bp-rdocs { grid-column: 1 / -1; }
  .bp-hawards, .bp-hrecords { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bp-hchamp { grid-template-columns: max-content 60px minmax(0, 1fr); padding-bottom: 14px; padding-top: 14px; }
  .bp-hchamp__facts { grid-column: 3; }
}

@media (max-width: 768px) {
  .bp-nlead { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 14px; }
  .bp-nfeat__cover, .bp-nlead--solo .bp-nfeat__cover { height: 200px; }
  .bp-nfeat__ghost { font-size: 120px; bottom: -20px; }
  .bp-nfeat__title { font-size: 30px; }
  .bp-nfeat__ex { font-size: 14px; }
  .bp-ntop { display: none; }   /* board 45: lead + list only */

  /* Latest / more news: thumbnail rows */
  .bp-ngrid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .bp-ngrid .bp-news { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; background: none; padding: 12px 0;
    border-bottom: 1px solid var(--line); flex: none; }
  .bp-ngrid .bp-news__cover { height: 72px; }
  .bp-ngrid .bp-news__ghost, .bp-ngrid .bp-news__ico { display: none; }
  .bp-ngrid .bp-news__tag { position: static; display: none; }
  .bp-ngrid .bp-news__body { padding: 0; gap: 4px; }
  .bp-ngrid .bp-news__title { font-size: 19px; }
  .bp-ngrid .bp-news__ex { display: none; }

  .bp-ahero { min-height: 0; }
  .bp-ahero__in { padding: 90px 12px 22px; }
  .bp-ahero__title { font-size: 38px; margin: 12px 0 10px; }
  .bp-ahero__meta { font-size: 12px; gap: 6px; }
  .bp-ahero__av { display: none; }
  .bp-ahero__ghost { font-size: 160px; bottom: -30px; }
  .bp-agrid { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 22px; }
  .bp-abody__lede { font-size: 17px; }
  .bp-md { font-size: 16px; line-height: 1.65; }
  .bp-md .md-quote { padding-left: 18px; }
  .bp-md .md-quote p { font-size: 28px; }
  .bp-aside .bp-astory { display: none; }   /* board 47: team chips go under the body */
  .bp-atags--mob { display: flex; }

  .bp-rtabs { display: flex; }
  .bp-rulesgrid, .bp-rulesgrid--nodocs { grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 16px; }
  .bp-rulesgrid--onlydocs .bp-rdocs { grid-template-columns: minmax(0, 1fr); }
  .bp-rtoc { position: static; }
  .bp-rtoc__title { display: none; }
  .bp-rtoc__item { background: var(--surface); min-height: 50px; }
  .bp-rtoc__search { width: 100%; }
  .bp-rsec { padding: 18px 16px 20px; }
  .bp-rsec__title { font-size: 36px; }
  .is-hidden-mob { display: none !important; }
  .bp-doc { padding-left: 14px; gap: 10px; }
  .bp-doc__name { font-size: 18px; }
  .bp-doc__dl { padding: 0 10px; }
  .bp-doc__dl span { display: none; }

  .bp-hchamp { grid-template-columns: 44px minmax(0, 1fr); gap: 4px 10px; min-height: 76px; padding: 12px; }
  .bp-hchamp__season { grid-column: 1 / -1; font-size: 20px; color: var(--sub); }
  .bp-hchamp__crest .bp-crest { --s: 40px; font-size: 16px; }
  .bp-hchamp__name { font-size: 26px; }
  .bp-hchamp__kicker { font-size: 10px; }
  .bp-hchamp__facts { grid-column: 1 / -1; gap: 18px; flex-wrap: wrap; }
  .bp-hchamp__fact .bp-d { font-size: 17px; }
  .bp-hawards { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -12px; padding: 0 12px; }
  .bp-hawards::-webkit-scrollbar { display: none; }
  .bp-haward { flex: 0 0 46%; scroll-snap-align: start; min-height: 120px; }
  .bp-haward__name { font-size: 24px; }
  .bp-hrecords { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .bp-hrec { padding: 12px; }
  .bp-hrec__val { font-size: 40px; }
  .bp-hrec__label { font-size: 11px; }
  .bp-hmile { grid-template-columns: 56px minmax(0, 1fr); gap: 10px; padding: 12px 0; }
  .bp-hmile__year, .bp-hmile__txt { font-size: 18px; }
  .bp-hmile__val { grid-column: 2; }
}
