/* ==========================================================================
   /news: the iOS app's News tab on the site (2026-11-22).
   Drawn from NewsV2View.swift (the pager, Latest, the empty states, the
   skeleton), NewsV2Modules.swift (Highlights, Trending and its sheet, Game
   Day, the content feed and its cards) and SiteWire.swift (the ticker).
   Flat on the page, split by hairlines, mono section labels, as the app is.
   The pills and the page box are css/pages/app-kit.css.
   Markup: templates/news_hub.html. Script: js/app-news.js.
   Colours come from the tokens, so both themes work. The two exceptions sit
   over a photo and are the same in either theme, as in the app: the play
   badge and the NEXT chip on a video thumbnail.
   ========================================================================== */

/* The site's base sheet styles bare elements (sections, buttons, links,
   headings): put them back to plain inside this page. */
.an-page section, .an-page aside, .an-page nav { margin-bottom: 0; }
.an-page :is(h2, p), .an-sheet :is(h2, p) { margin: 0; }
.an-page button, .an-sheet button { width: auto; margin: 0; box-shadow: none; }
.an-page :is(a, button):focus-visible, .an-sheet :is(a, button):focus-visible, .an-wire a:focus-visible { outline: 2px solid var(--tl-ink); outline-offset: 2px; }
.an-page a, .an-sheet a, .an-wire a { text-decoration: none; }
.an-page img, .an-sheet img { max-width: none; }
.an-wire[hidden], .an-sheet[hidden], .an-sheet [hidden] { display: none !important; }

/* ---- Page: the gutter the full-bleed pieces reach back over ---- */
.an-page { --an-g: 16px; max-width: 1160px; padding-top: 0; }
@media (max-width: 720px) { .an-page { --an-g: 14px; } }
.an-pills { position: relative; margin: 0 calc(-1 * var(--an-g)); padding: 10px var(--an-g); }

/* One column, the app's order. A wide screen moves the rail (Trending)
   beside it; the column's own order does not change. */
.an-cols { max-width: 760px; margin: 0 auto; }
.an-cols > * { min-width: 0; }
.an-rail { display: contents; }
.an-also { display: none; }
@media (min-width: 1240px) {
  .an-cols {
    display: grid; grid-template-columns: minmax(0, 760px) minmax(0, 300px);
    justify-content: center; align-items: start; column-gap: 40px; max-width: none;
  }
  .an-cols > * { grid-column: 1; }
  .an-cols > .an-rail {
    display: block; grid-column: 2; grid-row: 1 / span 12;
    position: sticky; top: calc(var(--tl-topbar-h) + 12px);
    max-height: calc(100vh - var(--tl-topbar-h) - 24px); overflow-y: auto; scrollbar-width: none;
  }
  .an-rail::-webkit-scrollbar { display: none; }
  .an-rail .an-trending > .an-label { padding-top: 4px; }
  .an-also { display: block; margin-top: 26px; border-top: 1px solid var(--tl-line-08); }
  .an-also a {
    display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px;
    border-bottom: 1px solid var(--tl-line-08); font: 600 13.5px/1.2 var(--tl-font); color: var(--tl-ink);
  }
  .an-also a > span[aria-hidden] { color: var(--tl-ink-45); }
  .an-also a:hover { color: var(--tl-ink); }
  .an-cols.is-loading > .an-rail, .an-cols.is-blocked > .an-rail { display: none; }
}

/* The three states of the column: loading, Following with nothing, ready. */
.an-skel, .an-blocked { display: none; }
.an-cols.is-loading > .an-skel { display: block; }
.an-cols.is-blocked > .an-blocked { display: block; }
.an-cols.is-loading > :not(.an-skel):not(.an-rail), .an-cols.is-blocked > :not(.an-blocked):not(.an-rail) { display: none; }
.an-cols.is-loading .an-rail > *, .an-cols.is-blocked .an-rail > * { display: none; }

/* ---- Ticker (SiteWire): 36 high, mono 10.5, one copy of the track a 120 s ---- */
.an-wire { height: 36px; overflow: hidden; border-bottom: 1px solid var(--tl-line-08); }
.an-wire-run { display: flex; width: max-content; height: 100%; }
.an-wire-run.is-on { animation: an-tick 120s linear infinite; }
.an-wire:hover .an-wire-run, .an-wire:focus-within .an-wire-run { animation-play-state: paused; }
.an-wire-track { flex: none; display: flex; }
.an-wire a {
  flex: none; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 16px;
  font: 400 10.5px/1 var(--tl-mono); color: var(--tl-ink-62); white-space: nowrap;
}
.an-wire a b { font-weight: 700; color: var(--tl-ink); }
.an-wire a img { width: 13px; height: 13px; object-fit: contain; }
@keyframes an-tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .an-wire { overflow-x: auto; scrollbar-width: none; }
  .an-wire::-webkit-scrollbar { display: none; }
  .an-wire-run.is-on { animation: none; }
}

/* ---- Section label (TLSectionLabel): mono name, a rule, what trails it ---- */
.an-label { display: flex; align-items: center; gap: 12px; padding: 26px 0 8px; }
.an-label h2 { flex: none; font: 600 10px/1 var(--tl-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--tl-ink); white-space: nowrap; }
.an-label > i { flex: 1; height: 1px; background: var(--tl-line-08); }
.an-link {
  flex: none; display: inline-flex; align-items: center; min-height: 30px; padding: 0; border: 0; background: transparent;
  font: 500 12px/1 var(--tl-font); color: var(--tl-ink-55); white-space: nowrap; cursor: pointer;
}
.an-link:hover { color: var(--tl-ink); background: transparent; }
.an-dot { flex: none; width: 5px; height: 5px; border-radius: 50%; background: var(--tl-live); }
.an-fresh { flex: none; display: inline-flex; align-items: center; gap: 5px; font: 400 9.5px/1 var(--tl-mono); letter-spacing: 0.05em; text-transform: uppercase; color: var(--tl-ink-45); white-space: nowrap; }
.an-live { flex: none; display: inline-flex; align-items: center; gap: 5px; font: 600 9.5px/1 var(--tl-mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--tl-up); white-space: nowrap; }
.an-live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--tl-live); animation: an-pulse 1.2s ease-in-out infinite alternate; }
@keyframes an-pulse { from { opacity: 0.45; } to { opacity: 1; } }

/* ---- The line over a headline: crest, source, the time on the right ---- */
.an-meta { display: flex; align-items: center; gap: 6px; min-width: 0; }
.an-crest { flex: none; object-fit: contain; }
.an-src { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 400 12px/1.25 var(--tl-font); color: var(--tl-ink-55); }
.an-time { flex: none; margin-left: auto; padding-left: 8px; font: 400 10px/1 var(--tl-mono); letter-spacing: 0.03em; text-transform: uppercase; color: var(--tl-ink-45); white-space: nowrap; }
.an-clamp, .an-lead-title, .an-lt-title, .an-row-title, .an-gd-sum, .an-tr-hook, .an-hl-title, .an-up-title, .an-vid-title, .an-tw-text {
  display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere;
}

/* ---- Lead story pager (NewsLeadPager) ---- */
.an-lead-frame { position: relative; margin: 0 calc(-1 * var(--an-g)); }
.an-lead-track {
  display: flex; align-items: flex-start; overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
  transition: height 0.22s ease-out;
}
.an-lead-track::-webkit-scrollbar { display: none; }
.an-lead-page { flex: 0 0 100%; min-width: 0; display: block; scroll-snap-align: start; scroll-snap-stop: always; color: var(--tl-ink); }
.an-lead-page:hover { color: var(--tl-ink); }
.an-lead-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--tl-fill-06); }
.an-lead-img img, .an-lt-img img, .an-row-img img, .an-fc-img img, .an-tw-media img, .an-yt img, .an-up-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.an-lead-copy { display: block; padding: 14px var(--an-g) 0; }
.an-lead-title { -webkit-line-clamp: 5; margin-top: 8px; font: 700 21px/1.24 var(--tl-font); letter-spacing: -0.5px; color: var(--tl-ink); }
.an-dots { display: flex; justify-content: center; gap: 6px; padding-top: 9px; }
.an-dots button { position: relative; flex: none; width: 6px; height: 22px; padding: 0; border: 0; border-radius: 0; background: transparent; cursor: pointer; transition: width 0.25s ease-out; }
.an-dots button::before { content: ''; position: absolute; left: 0; right: 0; top: 8px; height: 6px; border-radius: 3px; background: var(--tl-line-18); transition: background 0.25s ease-out; }
.an-dots button.is-on { width: 18px; }
.an-dots button.is-on::before { background: var(--tl-ink); }
/* A mouse cannot swipe: two arrows over the photo, on devices that hover. */
.an-lead-nav { display: none; }
@media (hover: hover) and (pointer: fine) {
  .an-lead-nav {
    position: absolute; left: 0; right: 0; top: 0; aspect-ratio: 16 / 10; display: flex; align-items: center; justify-content: space-between;
    padding: 0 12px; pointer-events: none; opacity: 0; transition: opacity 0.15s ease-out;
  }
  .an-lead-frame:hover .an-lead-nav, .an-lead-nav:focus-within { opacity: 1; }
  .an-lead-nav button {
    pointer-events: auto; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border-radius: 50%;
    border: 1px solid var(--tl-line-12); background: var(--tl-header-glass); color: var(--tl-ink); cursor: pointer;
  }
  .an-lead-nav button[disabled] { opacity: 0; pointer-events: none; }
}
@media (min-width: 721px) {
  .an-lead-frame { margin: 0; }
  .an-lead-img { border-radius: 12px; }
  .an-lead-copy { padding: 16px 0 0; }
  .an-lead-title { font-size: 27px; line-height: 1.2; letter-spacing: -0.7px; }
  .an-lead-page .an-src { font-size: 13px; }
}

/* ---- Latest (NewsLatest): source line, headline, an 84 square on the right ---- */
.an-lt { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--tl-line-08); color: var(--tl-ink); }
.an-lt:hover, .an-row:hover, .an-gd:hover, .an-fc:hover, .an-tw:hover { color: var(--tl-ink); }
.an-lt-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.an-lt .an-src { font-size: 11.5px; color: var(--tl-ink-50); }
.an-lt-title { -webkit-line-clamp: 3; font: 650 14.5px/1.32 var(--tl-font); letter-spacing: -0.15px; color: var(--tl-ink); }
.an-lt-img { flex: none; width: 84px; height: 84px; border-radius: 8px; overflow: hidden; background: var(--tl-fill-06); box-shadow: inset 0 0 0 1px var(--tl-line-06); }
@media (hover: hover) { :is(.an-lt, .an-row, .an-gd, .an-lead-page):hover :is(.an-lt-title, .an-row-title, .an-gd-head, .an-lead-title) { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; } }

/* ---- Game Day (NewsGameDay): crest, headline, summary, a mono score line ---- */
.an-gd { display: flex; align-items: flex-start; gap: 12px; padding: 13px 0 14px; border-bottom: 1px solid var(--tl-line-08); color: var(--tl-ink); }
.an-gd > .an-crest, .an-gd > .an-mono-mark { margin-top: 2px; }
.an-gd-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.an-gd-head { font: 650 15px/1.3 var(--tl-font); letter-spacing: -0.2px; color: var(--tl-ink); overflow-wrap: anywhere; }
.an-gd-sum { -webkit-line-clamp: 2; font: 400 13px/1.45 var(--tl-font); color: var(--tl-ink-60); }
.an-gd-line { display: flex; align-items: center; gap: 6px; margin-top: 2px; font: 400 10px/1.2 var(--tl-mono); letter-spacing: 0.03em; color: var(--tl-ink-50); white-space: nowrap; overflow: hidden; }
.an-gd-line b { font-weight: 600; color: var(--tl-ink); }
.an-gd-line i { font-style: normal; color: var(--tl-ink-35); }
.an-gd-all {
  display: block; width: 100% !important; min-height: 44px; padding: 0; border: 0; border-bottom: 1px solid var(--tl-line-08); border-radius: 0; background: transparent;
  font: 600 10px/1 var(--tl-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--tl-ink-55); cursor: pointer;
}
.an-gd-all:hover { background: transparent; color: var(--tl-ink); }
/* A crest with no drawing: the name's first letter in a square (TeamCrest). */
.an-mono-mark { flex: none; display: grid; place-items: center; border-radius: 6px; background: var(--tl-fill-07); font: 650 12px/1 var(--tl-font); color: var(--tl-ink-60); text-transform: uppercase; }

/* ---- Trending (NewsTrending): the mark opens the page, the row the sheet ---- */
.an-tr { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--tl-line-08); }
.an-tr-mark { flex: none; display: grid; place-items: center; width: 34px; min-height: 34px; margin-top: 1px; color: var(--tl-ink); }
.an-tr-face { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; overflow: hidden; background: var(--tl-fill-06); box-shadow: inset 0 0 0 1px var(--tl-line-08); font: 650 13px/1 var(--tl-font); color: var(--tl-ink-50); }
.an-tr-face img { width: 100%; height: 100%; object-fit: cover; }
.an-tr-body {
  flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: stretch; gap: 4px; padding: 0; border: 0; border-radius: 0; background: transparent;
  font: inherit; color: var(--tl-ink); text-align: left; cursor: pointer;
}
.an-tr-body:hover { background: transparent; color: var(--tl-ink); }
.an-tr-eyebrow { display: flex; align-items: center; gap: 5px; font: 400 11.5px/1.2 var(--tl-font); color: var(--tl-ink-50); white-space: nowrap; overflow: hidden; }
.an-tr-name { font: 650 14.5px/1.25 var(--tl-font); letter-spacing: -0.15px; color: var(--tl-ink); }
.an-tr-hook { -webkit-line-clamp: 4; font: 400 13px/1.45 var(--tl-font); color: var(--tl-ink-62); }
.an-trending > .an-label { padding-bottom: 4px; }
.an-trending > .an-seg { margin-top: 12px; }

/* ---- Segmented pills (TLSegmented): equal pills, the picked one ringed ---- */
.an-seg { display: flex; gap: 6px; }
.an-seg button {
  flex: 1 1 0; min-width: 0; height: 34px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--tl-line-10); background: transparent;
  font: 500 13px/1 var(--tl-font); color: var(--tl-ink-62); white-space: nowrap; cursor: pointer;
}
.an-seg button:hover { background: transparent; color: var(--tl-ink); border-color: var(--tl-line-18); }
.an-seg button[aria-pressed="true"] { font-weight: 650; color: var(--tl-ink); background: var(--tl-raised); border-color: var(--tl-ink); }
@media (max-width: 720px) { .an-seg button { height: 36px; } }

/* ---- Highlights (NewsHighlights): the main player, then Up next ---- */
.an-yt { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 10px; background: var(--tl-fill-07); }
.an-yt-play { position: absolute; inset: 0; display: block; width: 100% !important; height: 100%; padding: 0; border: 0; border-radius: 0; background: transparent; cursor: pointer; }
.an-yt-play:hover { background: transparent; }
.an-yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.an-play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; transform: translate(-50%, -50%); background: rgba(0, 0, 0, 0.45); color: #fff; }
.an-play svg { width: 20px; height: 20px; margin-left: 3px; }
.an-play.is-sm { width: 34px; height: 34px; }
.an-play.is-sm svg { width: 13px; height: 13px; margin-left: 2px; }
#anHighlightsMain { padding-top: 4px; }
.an-hl-copy { display: flex; flex-direction: column; gap: 5px; padding-top: 12px; }
.an-hl-title { -webkit-line-clamp: 3; font: 700 16.5px/1.3 var(--tl-font); letter-spacing: -0.3px; color: var(--tl-ink); }
.an-hl-out { align-self: flex-start; display: inline-flex; align-items: center; min-height: 28px; font: 600 9.5px/1 var(--tl-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--tl-ink-45); }
.an-hl-out:hover { color: var(--tl-ink); }
.an-upnext-label { padding: 10px 0 6px; font: 400 9.5px/1 var(--tl-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--tl-ink-45); }
.an-upnext { display: flex; align-items: flex-start; gap: 12px; margin: 0 calc(-1 * var(--an-g)); padding: 0 var(--an-g) 4px; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
.an-upnext::-webkit-scrollbar { display: none; }
.an-up { flex: none; display: block; width: 196px !important; padding: 0; border: 0; border-radius: 0; background: transparent; font: inherit; color: var(--tl-ink); text-align: left; cursor: pointer; }
.an-up:hover { background: transparent; color: var(--tl-ink); }
.an-up-img { position: relative; display: block; width: 196px; height: 110px; overflow: hidden; border-radius: 8px; background: var(--tl-fill-07); }
.an-up-next { position: absolute; left: 7px; top: 7px; display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 10px; background: rgba(255, 255, 255, 0.94); font: 400 9px/1 var(--tl-mono); letter-spacing: 0.04em; color: #101418; }
.an-up-title { -webkit-line-clamp: 2; margin-top: 7px; font: 600 13px/1.3 var(--tl-font); color: var(--tl-ink); }
.an-up-sub { display: block; margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 400 11px/1.2 var(--tl-font); color: var(--tl-ink-50); }
@media (min-width: 721px) { .an-upnext { margin: 0; padding: 0 0 4px; } }

/* ---- The content feed (NewsContentFeed) ---- */
.an-content > .an-label { padding-bottom: 10px; }
.an-content > .an-seg { margin-bottom: 4px; }
.an-list { min-height: 80px; }
/* An article (NewsMoreRow): 16:10 thumb left, team line, headline, source. */
.an-row { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--tl-line-08); color: var(--tl-ink); }
.an-row-img { flex: none; width: 112px; height: 70px; overflow: hidden; border-radius: 8px; background: var(--tl-fill-06); box-shadow: inset 0 0 0 1px var(--tl-line-06); }
.an-row-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.an-row .an-src { font-size: 11.5px; color: var(--tl-ink-50); }
.an-row-title { -webkit-line-clamp: 3; font: 600 14px/1.32 var(--tl-font); color: var(--tl-ink); }
.an-row-src { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 400 11px/1.2 var(--tl-font); color: var(--tl-ink-45); }
/* An X post (NewsFeedCard.tweetCard): who, the words, the media under. */
.an-tw { display: flex; flex-direction: column; gap: 9px; padding: 16px 0; border-bottom: 1px solid var(--tl-line-08); color: var(--tl-ink); }
.an-tw-head { display: flex; align-items: center; gap: 10px; min-width: 0; }
.an-tw-av { flex: none; display: grid; place-items: center; width: 34px; height: 34px; overflow: hidden; border-radius: 50%; background: var(--tl-fill-06); box-shadow: inset 0 0 0 1px var(--tl-line-08); font: 650 12px/1 var(--tl-font); color: var(--tl-ink-62); text-transform: uppercase; }
.an-tw-av img { width: 100%; height: 100%; object-fit: cover; }
.an-tw-who { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.an-tw-who b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 650 14px/1.2 var(--tl-font); color: var(--tl-ink); }
.an-tw-who small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 400 10px/1.2 var(--tl-mono); text-transform: uppercase; color: var(--tl-ink-50); }
.an-tw-x { flex: none; font: 700 16px/1 var(--tl-font); color: var(--tl-ink); }
.an-tw-text { -webkit-line-clamp: 10; font: 400 14.5px/1.5 var(--tl-font); color: var(--tl-ink); white-space: pre-line; }
.an-tw-media { display: block; height: 200px; overflow: hidden; border-radius: 8px; background: var(--tl-fill-06); box-shadow: inset 0 0 0 1px var(--tl-line-06); }
@media (min-width: 721px) { .an-tw-media { height: 320px; } }
/* A video (NewsFeedCard.videoCard): the player, the headline, a mono line. */
.an-vid { display: flex; flex-direction: column; gap: 10px; padding: 16px 0; border-bottom: 1px solid var(--tl-line-08); }
.an-vid .an-yt { border-radius: 8px; box-shadow: inset 0 0 0 1px var(--tl-line-06); }
.an-vid-copy { display: flex; flex-direction: column; gap: 6px; color: var(--tl-ink); }
.an-vid-copy:hover { color: var(--tl-ink); }
.an-vid-title { -webkit-line-clamp: 2; font: 650 15px/1.3 var(--tl-font); letter-spacing: -0.2px; color: var(--tl-ink); }
.an-mono-line { display: flex; align-items: center; gap: 6px; min-width: 0; font: 400 10px/1.2 var(--tl-mono); letter-spacing: 0.02em; text-transform: uppercase; color: var(--tl-ink-50); }
.an-mono-line > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.an-nothing { display: grid; place-items: center; min-height: 80px; font: 400 13px/1.4 var(--tl-font); color: var(--tl-ink-50); }
.an-more { display: grid; place-items: center; min-height: 40px; padding: 18px 0 40px; }
.an-spin { display: block; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--tl-line-15); border-top-color: var(--tl-ink-50); animation: an-turn 0.8s linear infinite; }
@keyframes an-turn { to { transform: rotate(360deg); } }

/* ---- Buttons (TLButton): 40 high, radius 10 ---- */
.an-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 10px;
  border: 1px solid var(--tl-line-12); background: var(--tl-raised); font: 600 13.5px/1 var(--tl-font); color: var(--tl-ink); white-space: nowrap; cursor: pointer;
}
.an-btn:hover { border-color: var(--tl-line-20); background: var(--tl-raised); color: var(--tl-ink); }
.an-btn.is-fill { border-color: var(--tl-ink); background: var(--tl-ink); color: var(--tl-on-ink); }
.an-btn.is-fill:hover { border-color: var(--tl-ink-hover); background: var(--tl-ink-hover); color: var(--tl-on-ink); }
.an-btn svg { width: 13px; height: 13px; }

/* ---- Following with nothing to show (NewsFollowingEmpty) ---- */
.an-blocked { padding: 30px 0 40px; }
.an-blocked-eyebrow { display: flex; align-items: center; gap: 6px; padding-bottom: 12px; font: 600 10px/1 var(--tl-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--tl-ink-50); }
.an-blocked-title { padding-bottom: 8px; font: 700 24px/1.2 var(--tl-font); letter-spacing: -0.7px; color: var(--tl-ink); }
.an-blocked-text { padding-bottom: 20px; font: 400 14.5px/1.5 var(--tl-font); color: var(--tl-ink-62); }
.an-blocked-acts { display: flex; gap: 8px; max-width: 420px; }
.an-blocked-acts .an-btn { flex: 1 1 0; }

/* ---- A scope with no stories yet (NewsScopeEmpty) ---- */
.an-none { padding: 28px 0; border-bottom: 1px solid var(--tl-line-08); }
.an-none b { display: block; font: 650 15px/1.3 var(--tl-font); color: var(--tl-ink); }
.an-none p { margin-top: 6px; font: 400 13px/1.4 var(--tl-font); color: var(--tl-ink-55); }

/* ---- Scope-swap skeleton (NewsSkeleton): one shared pulse ---- */
.an-skel { animation: an-skel 0.8s ease-in-out infinite alternate; }
.an-sk { display: block; height: 10px; border-radius: 4px; background: var(--tl-fill-07); }
.an-sk-photo { height: auto; aspect-ratio: 16 / 10; margin: 0 calc(-1 * var(--an-g)); border-radius: 0; }
.an-sk-row { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--tl-line-08); }
.an-sk-lines { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.an-sk-thumb { flex: none; width: 84px; height: 84px; border-radius: 8px; }
@keyframes an-skel { from { opacity: 0.55; } to { opacity: 1; } }
@media (min-width: 721px) { .an-sk-photo { margin: 0; border-radius: 12px; } }

/* ---- Trending sheet (TrendingSheet): up from the bottom on a phone ---- */
.an-sheet { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: flex-end; justify-content: center; }
.an-sheet-scrim { position: absolute; inset: 0; background: var(--pico-modal-overlay-background-color); }
.an-sheet-panel {
  position: relative; width: 100%; max-width: 560px; max-height: 86vh; overflow-y: auto; overscroll-behavior: contain;
  padding: 0 20px calc(28px + env(safe-area-inset-bottom)); border-radius: 18px 18px 0 0;
  background: var(--tl-page); box-shadow: 0 0 0 1px var(--tl-line-10); outline: 0;
  animation: an-rise 0.22s var(--tl-ease);
}
@keyframes an-rise { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.an-sheet-x { position: absolute; top: 18px; right: 14px; display: grid; place-items: center; width: 32px !important; height: 32px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--tl-ink-45); cursor: pointer; }
.an-sheet-x:hover { background: transparent; color: var(--tl-ink); }
.an-sh-head { display: flex; align-items: center; gap: 14px; padding: 58px 0 0; }
.an-sh-mark { flex: none; display: grid; place-items: center; width: 56px; height: 56px; }
.an-sh-mark.is-face { overflow: hidden; border-radius: 50%; background: var(--tl-fill-06); font: 800 20px/1 var(--tl-font); color: var(--tl-ink-50); }
.an-sh-mark.is-face img { width: 100%; height: 100%; object-fit: cover; }
.an-sh-name { font: 700 21px/1.2 var(--tl-font); letter-spacing: -0.5px; color: var(--tl-ink); }
.an-sh-sub { display: flex; align-items: center; gap: 6px; margin-top: 5px; font: 600 10.5px/1.2 var(--tl-mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--tl-ink-55); }
.an-sh-hook { padding-top: 16px; font: 400 15px/1.55 var(--tl-font); color: var(--tl-ink-75); }
.an-sh-open { display: flex; width: 100%; margin-top: 16px; }
.an-sh-sources { display: flex; align-items: center; gap: 12px; padding-top: 26px; font: 600 10px/1 var(--tl-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--tl-ink); }
.an-sh-sources::after { content: ''; flex: 1; height: 1px; background: var(--tl-line-08); }
.an-sh-note { padding-top: 10px; font: 400 13px/1.45 var(--tl-font); color: var(--tl-ink-55); }
.an-sh-list { display: flex; flex-direction: column; gap: 12px; padding-top: 10px; }
.an-sh-list > .an-tw, .an-sh-list > .an-vid { padding: 4px 0; border-bottom: 0; }
/* A source with its post (NewsFeedCard.feedCard): mono line, headline, source. */
.an-fc { display: flex; align-items: flex-start; gap: 12px; padding: 4px 0; color: var(--tl-ink); }
.an-fc-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.an-fc-title { font: 650 15px/1.32 var(--tl-font); letter-spacing: -0.2px; color: var(--tl-ink); overflow-wrap: anywhere; }
.an-fc-src { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 400 9.5px/1.2 var(--tl-mono); text-transform: uppercase; color: var(--tl-ink-45); }
.an-fc-img { flex: none; width: 84px; height: 64px; overflow: hidden; border-radius: 7px; background: var(--tl-fill-06); box-shadow: inset 0 0 0 1px var(--tl-line-06); }
/* A source with only a link: the outlet in mono, the headline, an arrow. */
.an-sh-src { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--tl-line-08); color: var(--tl-ink); }
.an-sh-src:hover { color: var(--tl-ink); }
.an-sh-src > span:first-child { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.an-sh-src small { font: 600 9.5px/1.2 var(--tl-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--tl-ink-50); }
.an-sh-src b { font: 600 14px/1.4 var(--tl-font); color: var(--tl-ink); overflow-wrap: anywhere; }
.an-sh-src > span:last-child { flex: none; padding-top: 3px; font: 600 12px/1 var(--tl-font); color: var(--tl-ink-40); }
@media (min-width: 721px) {
  .an-sheet { align-items: center; padding: 24px; }
  .an-sheet-panel { max-height: min(80vh, 760px); padding-bottom: 28px; border-radius: 16px; }
}
body.an-sheet-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .an-skel, .an-live::before, .an-spin, .an-sheet-panel { animation: none; }
  .an-lead-track, .an-dots button, .an-dots button::before { transition: none; }
}
