/* ParlayDesk News (/news). Built on public-pages.css tokens; mobile first. */
/* Game Center's frame (gc-public.css .pd-gc-frame / public-pages.css): 1180 px
   centred, 16 px gutters — wider than the old 860 px column, never edge to edge. */
.nw-wrap { max-width: 1180px; padding-left: 16px; padding-right: 16px; }
.nw-head { margin: 2px 0 12px; }
.nw-h1 { margin: 0; font-size: clamp(21px, 5.2vw, 28px); line-height: 1.18; font-weight: 800; letter-spacing: -.02em; color: var(--text); }
.nw-h1 span { color: var(--muted); font-weight: 700; }

/* Filters in Game Center's pill language (gc-header.css .gcx-link): the sports
   as the primary row, then the news categories with Team / time / My players
   to their right on wide screens (wrapping beneath on narrower ones). */
/* One compact toolbar (2026-11-23): sports · categories, then Team / time /
   My players pushed right where the row has room; each group wraps beneath
   on narrower screens (phones: three short rows, the category row scrolls). */
.nw-bar { margin-bottom: 8px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.06); min-height: 36px; }
.nw-row { display: flex; align-items: center; gap: 8px 10px; min-width: 0; }
.nw-row--main { flex-wrap: wrap; }
.nw-row--main > .nw-seg { min-width: 0; max-width: 100%; }
.nw-row--main .nw-seg--sports { padding-right: 10px; border-right: 1px solid rgba(255,255,255,.08); }
.nw-row--main .nw-more { margin-left: auto; }
@media (max-width: 699px) {
  .nw-row--main .nw-seg--sports { flex: 1 1 100%; padding-right: 0; border-right: 0; }
  .nw-row--main .nw-seg--kinds { flex: 1 1 100%; }
  .nw-row--main .nw-more { margin-left: 0; }
}
.nw-seg, .nw-more { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; -webkit-overflow-scrolling: touch; }
.nw-seg::-webkit-scrollbar, .nw-more::-webkit-scrollbar { display: none; }
.nw-more { flex-wrap: wrap; overflow: visible; }
.nw-chip {
  flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 13px; box-sizing: border-box;
  border-radius: 999px; border: 1px solid var(--border); background: transparent; color: var(--muted);
  font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; text-decoration: none; white-space: nowrap; touch-action: manipulation;
}
.nw-chip:hover { color: var(--text); }
.nw-chip.is-on { color: var(--text); border-color: rgba(96,165,250,.55); background: var(--pp-tint, rgba(59,130,246,.10)); }
.nw-chip:focus-visible, .nw-sel select:focus-visible, .nw-tag:focus-visible, .nw-load:focus-visible, .nw-more-btn:focus-visible { outline: 2px solid var(--accent2); outline-offset: 2px; }
.nw-chip.is-locked { color: var(--muted); }
.nw-x span { font-size: 15px; line-height: 1; }
.nw-sel select {
  min-height: 34px; padding: 0 30px 0 12px; border-radius: 999px; border: 1px solid var(--border); background: var(--pp-surface, #0b1221);
  color: var(--text); font: inherit; font-size: 13px; font-weight: 600; appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 15px) 50%, calc(100% - 10px) 50%; background-size: 5px 5px; background-repeat: no-repeat; max-width: 210px;
}
.nw-sel select[disabled] { opacity: .5; cursor: default; }
.nw-seg--sports .nw-chip {
  justify-content: center; height: 36px; min-height: 36px; padding: 0 16px; font-size: 12.5px;
  border-color: rgba(255,255,255,.08); background: rgba(255,255,255,.04);
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.nw-seg--sports .nw-chip.is-on { background: rgba(59,130,246,.22); border-color: rgba(59,130,246,.45); color: #fff; }
@media (hover: hover) {
  .nw-seg--sports .nw-chip:hover { background: rgba(255,255,255,.08); color: var(--text); }
  .nw-seg--sports .nw-chip.is-on:hover { background: rgba(59,130,246,.28); color: #fff; }
}
.nw-seg--kinds .nw-chip { min-height: 32px; padding: 0 12px; font-size: 12.5px; }

.nw-fresh { margin: 0 0 8px; min-height: 16px; font-size: 11.5px; color: var(--muted); }
.nw-fresh.is-stale { color: #fbbf24; }

/* The feed: one column on phones and tablets, two from 900 px. A grid keeps
   the reading order newest-first left → right; no fixed heights, nothing cut. */
.nw-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.nw-list > .nw-empty { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .nw-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
}
.nw-card {
  padding: 14px 16px 12px; border: 1px solid var(--border); border-radius: 14px; background: var(--pp-surface, #0b1221);
  border-left: 3px solid transparent;
}
.nw-card.is-key { border-left-color: rgba(251,191,36,.55); }
.nw-card.nw-k-availability.is-key, .nw-card.nw-k-injury.is-key { border-left-color: rgba(248,113,113,.6); }
.nw-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0 0 6px; font-size: 11.5px; color: var(--muted); }
.nw-sport { font-weight: 800; letter-spacing: .05em; color: var(--text); font-size: 10.5px; padding: 1px 6px; border-radius: 5px; background: rgba(255,255,255,.07); }
.nw-kind { font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: 10.5px; color: #93c5fd; }
.nw-cert { font-size: 10.5px; font-weight: 700; padding: 0 7px; border-radius: 999px; border: 1px solid rgba(148,163,184,.35); color: #cbd5e1; }
.nw-cert.is-unverified { color: #fbbf24; border-color: rgba(251,191,36,.45); }
.nw-badge { font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 1px 6px; border-radius: 5px; }
.nw-badge.is-new { color: #052e16; background: #4ade80; }
.nw-badge.is-upd { color: #4ade80; border: 1px solid rgba(74,222,128,.45); }
.nw-meta time { margin-left: auto; white-space: nowrap; }
.nw-h { margin: 0; font-size: 16px; line-height: 1.35; font-weight: 700; color: var(--text); letter-spacing: -.005em; }
.nw-sum { margin: 6px 0 0; font-size: 14px; line-height: 1.55; color: #cbd5e1; }
.nw-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 10px 0 0; }
.nw-tags .pd-inj { margin-left: -2px; margin-right: 4px; }
.nw-tag {
  display: inline-flex; align-items: center; min-height: 26px; padding: 0 9px; border-radius: 8px; box-sizing: border-box;
  background: rgba(255,255,255,.05); border: 1px solid var(--pp-line, rgba(255,255,255,.07));
  font-size: 12.5px; font-weight: 600; color: var(--text); text-decoration: none;
}
a.nw-tag:hover { border-color: rgba(96,165,250,.5); }
.nw-tag.is-team { font-size: 11.5px; letter-spacing: .04em; color: var(--muted); }
.nw-tag.is-plain { color: var(--muted); }
.nw-foot { display: flex; align-items: center; gap: 12px; margin: 10px 0 0; font-size: 12px; }
.nw-src { font-size: 11px; color: var(--muted); opacity: .8; text-decoration: none; }
.nw-src:hover { color: var(--text); opacity: 1; text-decoration: underline; text-underline-offset: 2px; }
.nw-pub { font-weight: 400; }
.nw-more-btn { margin-left: auto; font: inherit; font-size: 12px; font-weight: 600; color: var(--accent2); background: none; border: 0; padding: 4px 0; cursor: pointer; }
.nw-more-btn[aria-expanded="true"]::after { content: ' ▴'; }
.nw-more-btn[aria-expanded="false"]::after { content: ' ▾'; }
.nw-detail { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--pp-line, rgba(255,255,255,.07)); font-size: 13px; }
.nw-locked { display: flex; gap: 8px; align-items: flex-start; color: var(--muted); }
.nw-locked p { margin: 0; }
.nw-locked a { color: var(--pp-pro, #f5b400); font-weight: 700; text-decoration: none; }
.nw-tl { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.nw-tl li { display: grid; grid-template-columns: 118px minmax(0, 1fr); gap: 10px; color: #cbd5e1; line-height: 1.45; }
.nw-tl time { color: var(--muted); font-size: 12px; }
.nw-tl a { color: var(--muted); }
.nw-muted { color: var(--muted); }
.nw-empty { padding: 22px 16px; text-align: center; color: var(--muted); border: 1px dashed var(--border); border-radius: 14px; list-style: none; }
.nw-after { margin: 14px 0 8px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.nw-load { font: inherit; font-size: 13.5px; font-weight: 700; min-height: 40px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--border); background: transparent; color: var(--text); cursor: pointer; }
.nw-up { width: 100%; max-width: 760px; box-sizing: border-box; padding: 18px; border-radius: 14px; border: 1px solid rgba(96,165,250,.3); background: var(--pp-tint, rgba(59,130,246,.10)); text-align: center; }
.nw-up p { margin: 0 0 12px; color: #cbd5e1; font-size: 13.5px; line-height: 1.5; }
.nw-up .nw-up-h { margin-bottom: 4px; font-weight: 800; color: var(--text); font-size: 15px; }
.nw-up-link { margin-left: 10px; color: var(--accent2); font-weight: 600; text-decoration: none; font-size: 13.5px; }

.nw-sk { height: 104px; position: relative; overflow: hidden; }
.nw-sk span { display: block; height: 12px; border-radius: 6px; background: rgba(255,255,255,.06); margin: 4px 0 12px; }
.nw-sk span:nth-child(1) { width: 30%; } .nw-sk span:nth-child(2) { width: 85%; height: 16px; } .nw-sk span:nth-child(3) { width: 70%; }

@media (min-width: 720px) {
  .nw-card { padding: 16px 20px 14px; }
  .nw-h { font-size: 17px; }
}
@media (max-width: 900px) {
  .nw-row--sub .nw-more { margin-left: 0; }
}
/* Phones: the sports as one even row (Game Center's phone tabs); the
   categories scroll sideways inside their own row; filters wrap beneath. */
@media (max-width: 640px) {
  .nw-seg--sports { flex: 1 1 100%; overflow: visible; gap: 4px; }
  .nw-seg--sports .nw-chip { flex: 1 1 auto; min-width: 0; padding: 0 4px; height: 38px; }
  .nw-row--sub .nw-seg--kinds { flex: 1 1 100%; }
}
@media (pointer: coarse) {
  .nw-seg--sports .nw-chip { height: 42px; }
}
@media (max-width: 420px) {
  .nw-tl li { grid-template-columns: 1fr; gap: 0; }
  .nw-meta time { margin-left: 0; }
}
.nw-up-btn { display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border-radius: 999px; background: #2563eb; color: #fff; font-weight: 700; font-size: 13.5px; text-decoration: none; }
.nw-up-btn:hover { background: #3b82f6; }
.nw-up-btn:focus-visible, .nw-up-link:focus-visible { outline: 2px solid #93c5fd; outline-offset: 2px; }

/* League links under the feed (2026-11-23 News SEO): plain links to /news and /news/<sport>. */
.nw-sportnav { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 18px 0 4px; font-size: 13px; }
.nw-sportnav a { color: var(--pp-muted, #94a3b8); text-decoration: none; }
.nw-sportnav a:hover, .nw-sportnav a[aria-current="page"] { color: var(--pp-text, #e2e8f0); text-decoration: underline; text-underline-offset: 3px; }

/* Native feature cards (2026-11-23 sprint §6): full width across both feed
   columns, subtle blue, never a banner ad. */
.nw-promo { grid-column: 1 / -1; list-style: none; }
.nw-promo-in {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 18px;
  padding: 14px 18px; border-radius: 14px; border: 1px solid rgba(96,165,250,.22);
  background: linear-gradient(90deg, rgba(37,99,235,.12), rgba(37,99,235,.04) 70%), var(--pp-surface, #0b1221);
}
.nw-promo-h { grid-column: 1; margin: 0; font-size: 15px; font-weight: 800; color: var(--text); letter-spacing: -.01em; }
.nw-promo-p { grid-column: 1; margin: 0; font-size: 13px; line-height: 1.5; color: #cbd5e1; max-width: 72ch; }
.nw-promo-btn {
  grid-column: 2; grid-row: 1 / span 2; justify-self: end; display: inline-flex; align-items: center; justify-content: center;
  min-height: 38px; padding: 0 16px; border-radius: 999px; background: #2563eb; color: #fff; font-weight: 700; font-size: 13px; text-decoration: none; white-space: nowrap;
}
.nw-promo-btn:hover { background: #3b82f6; }
.nw-promo-btn.is-ghost { background: rgba(59,130,246,.14); color: #dbeafe; border: 1px solid rgba(96,165,250,.45); }
.nw-promo-btn.is-ghost:hover { background: rgba(59,130,246,.24); }
.nw-promo-btn:focus-visible { outline: 2px solid #93c5fd; outline-offset: 2px; }
@media (max-width: 599px) {
  .nw-promo-in { grid-template-columns: minmax(0, 1fr); padding: 14px 16px; }
  .nw-promo-btn { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 6px; }
}
/* End of the anonymous feed: "See the whole week" and the PRO card side by
   side (one module, not two stacked banners); stacked on phones. */
.nw-up.nw-up--pair { max-width: none; padding: 0; border: 0; background: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; text-align: left; }
.nw-up--pair > .nw-up-in { padding: 16px 18px; border-radius: 14px; border: 1px solid rgba(96,165,250,.3); background: var(--pp-tint, rgba(59,130,246,.10)); }
.nw-up--pair > .nw-promo--pro { grid-template-columns: minmax(0, 1fr); align-content: start; }
.nw-up--pair > .nw-promo--pro .nw-promo-btn { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 6px; }
@media (min-width: 900px) { .nw-up.nw-up--pair { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
.nw-up--pair > .nw-promo--pro { gap: 0; padding: 16px 18px; }
.nw-up--pair .nw-promo-h { margin: 0 0 4px; font-size: 15px; font-weight: 800; color: var(--text); }
.nw-up--pair .nw-promo-p { margin: 0 0 12px; font-size: 13.5px; }
.nw-up--pair > .nw-promo--pro .nw-promo-btn { margin-top: 0; min-height: 40px; }

/* v2.2.1: screen-reader-only text (the publisher credit inside "Source ↗"); same rule as public-pages.css. */
.pp-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* v2.2.3: disclosure under the signed-out PRO promo's trial CTA. */
.nw-promo-fine, .nw-up--pair .nw-promo-fine { grid-column: 1 / -1; margin: 10px 0 0; font-size: 12px; line-height: 1.45; color: #94a3b8; }
