/* modern-news.css: this section in the Modern shell. Every rule starts with html[data-shell="modern"].
   News (the Wire, the Pulse, Newsletters, Social, Recaps, Good news, Listen, Rooms) and Town.
   Rules that must beat css/news.css or css/town.css (scoped html:root[data-look] …) add
   [data-look] after the shell. Tokens only. */

/* ============================================================ News: rows drawn inside the page
   Social's kinds, the recap kinds, the dog breeds, Reddit's Fresh and Questions: pills, the
   one you are on filled in the accent */
html[data-shell="modern"][data-look] .tab-news #cards .chips { gap: 6px; margin: 12px 0 0; padding: 0 var(--gutter) 2px; border-bottom: 0; }
html[data-shell="modern"][data-look] .tab-news #cards .chips + .chips { margin-top: 8px; }
html[data-shell="modern"][data-look] .tab-news #cards .chip { align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid var(--rule); border-radius: 999px; background: var(--card); font: 600 13px/1 var(--f-ui); letter-spacing: 0; text-transform: none; color: var(--ink-2); }
html[data-shell="modern"][data-look] .tab-news #cards .chip:first-child { padding-left: 12px; }
html[data-shell="modern"][data-look] .tab-news #cards .chip + .chip { border-left: 1px solid var(--rule); }
html[data-shell="modern"][data-look] .tab-news #cards .chip.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); text-decoration: none; }
html[data-shell="modern"][data-look] .tab-news #cards .chip b { display: inline-block; min-width: 18px; padding: 3px 5px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); font: 700 11px/1 var(--f-ui); text-align: center; }
html[data-shell="modern"][data-look] .tab-news #cards .chip.on b { background: var(--accent-ink); color: var(--accent); }

/* the stories row: a label on one line */
html[data-shell="modern"] .tab-news .story small { white-space: nowrap; }

/* ------------------------------------------------------------ the day switcher: ‹ Wed · Thursday, November 19 · › */
html[data-shell="modern"] .tab-news .wday { gap: 4px; margin: 10px var(--gutter) 0; padding: 3px; border: 0; border-radius: 999px; background: var(--paper-2); }
html[data-shell="modern"] .tab-news .wday .t { font: 700 15px/1.2 var(--f-ui); font-style: normal; letter-spacing: -.01em; color: var(--ink); }
html[data-shell="modern"] .tab-news .wday-nav { align-items: center; justify-content: center; gap: 5px; min-width: 30px; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--card); box-shadow: 0 1px 2px color-mix(in srgb, var(--ink) 12%, transparent); font: 600 19px/1 var(--f-ui); color: var(--ink); }
html[data-shell="modern"] .tab-news .wday-nav.next { padding: 0; width: 30px; }
html[data-shell="modern"] .tab-news .wday-nav span { font: 600 13px/1 var(--f-ui); letter-spacing: 0; text-transform: none; color: var(--ink-2); }
html[data-shell="modern"] .tab-news .wday-nav.off { background: none; box-shadow: none; opacity: .35; }

/* ------------------------------------------------------------ a page's head: one plain small line
   (Today · Updated 3:07 PM · 114 stories · 47 outlets); a day's head down the river is a
   section label */
html[data-shell="modern"] .tab-news .whead { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; margin: 7px var(--gutter) 0; }
html[data-shell="modern"] .tab-news .whead .wh-top { display: contents; }
html[data-shell="modern"] .tab-news .whead h2 { flex: none; font: 700 14px/1.3 var(--f-ui); letter-spacing: 0; color: var(--ink); }
html[data-shell="modern"] .tab-news .whead .s { margin: 0; font: 500 13px/1.3 var(--f-ui); letter-spacing: 0; text-transform: none; color: var(--ink-3); }
html[data-shell="modern"] .tab-news .whead .s::before { content: "· "; }
html[data-shell="modern"] .tab-news .whead .full { margin-left: auto; }
html[data-shell="modern"] .tab-news .wire-river .whead, html[data-shell="modern"] .tab-news .whead.small { display: block; margin-top: 30px; padding-top: 0; border-top: 0; }
html[data-shell="modern"] .tab-news .wire-river .whead h2, html[data-shell="modern"] .tab-news .whead.small h2 { font: 800 22px/1.15 var(--f-head); letter-spacing: -.02em; }
html[data-shell="modern"] .tab-news .wire-river .whead .s, html[data-shell="modern"] .tab-news .whead.small .s { margin-top: 3px; }
html[data-shell="modern"] .tab-news .wire-river .whead .s::before, html[data-shell="modern"] .tab-news .whead.small .s::before { content: none; }

/* ------------------------------------------------------------ What matters: ranked cards with a round badge */
html[data-shell="modern"] .tab-news .wmatters { margin-top: 12px; }
html[data-shell="modern"] .tab-news .wmatters > .sec-h { margin-bottom: 0; font-size: 19px; color: var(--ink); }
html[data-shell="modern"] .tab-news .wmatters > .feedlist { padding-top: 8px; }
html[data-shell="modern"] .tab-news .wmatters .card.lead .hed { font-size: 22px; line-height: 1.18; letter-spacing: -.02em; }
html[data-shell="modern"] .tab-news .card[data-rank] { position: relative; }
html[data-shell="modern"] .tab-news .card[data-rank] > .kicker, html[data-shell="modern"] .tab-news .card[data-rank] .txt > .kicker { display: none; }
html[data-shell="modern"] .tab-news .card[data-rank]::before, html[data-shell="modern"] .tab-news .tile[data-rank]::before, html[data-shell="modern"] .tab-news .lrow[data-rank]::before {
  content: attr(data-rank); box-sizing: border-box; flex: none; align-self: flex-start; min-width: 26px; height: 26px; padding: 0 4px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink); font: 800 12.5px/26px var(--f-ui); font-style: normal; letter-spacing: 0; text-transform: none; text-align: center; font-variant-numeric: tabular-nums;
}
/* the lead: the badge before the headline's first line, or on the picture's corner */
html[data-shell="modern"] .tab-news .card.lead[data-rank]::before { position: absolute; z-index: 2; top: 14px; left: 14px; margin: 0; }
html[data-shell="modern"] .tab-news .card.lead[data-rank]:not(:has(> .plain)) .hed { text-indent: 34px; }
html[data-shell="modern"] .tab-news .wmatters .card .line { display: block; -webkit-line-clamp: unset; overflow: visible; }
html[data-shell="modern"] .tab-news .card[data-rank]:has(> .plain)::before { position: absolute; z-index: 2; top: 12px; left: 12px; margin: 0; box-shadow: 0 0 0 2px var(--card); }
/* a row: the badge at the left of the words, or on the thumbnail's corner */
html[data-shell="modern"] .tab-news .card.row.text[data-rank]::before { margin-top: 0; }
html[data-shell="modern"] .tab-news .card.row[data-rank]:has(> .plain)::before { top: 6px; left: 6px; }
/* Grid and List */
html[data-shell="modern"] .tab-news .tile[data-rank]::before { position: absolute; top: 8px; left: 8px; z-index: 2; }
html[data-shell="modern"] .tab-news .lrow[data-rank]::before { position: absolute; top: 12px; left: 0; width: auto; }
html[data-shell="modern"] .tab-news .wmore-row { padding-top: 12px; }
html[data-shell="modern"] .tab-news .tile-foot .feed, html[data-shell="modern"] .tab-town .tile-foot .feed { letter-spacing: 0; text-transform: none; }

/* the same story from other outlets: a plain line of small chips under the reason */
html[data-shell="modern"] .tab-news .also { order: 4; display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin: 10px 0 0; font: 500 12.5px/1.2 var(--f-ui); letter-spacing: 0; text-transform: none; color: var(--ink-3); }
html[data-shell="modern"] .tab-news .also span { margin: 0 2px 0 0; font: inherit; font-style: normal; }
html[data-shell="modern"] .tab-news .also a { padding: 5px 9px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); font-weight: 600; text-decoration: none; }
html[data-shell="modern"] .tab-news .also a + a::before { content: none; }
html[data-shell="modern"] .tab-news .also i { margin: 0; font-style: normal; font-weight: 600; }
html[data-shell="modern"] .tab-news .card .also { margin-top: 10px; }

/* a small head inside a section (Earlier today, a sport) */
html[data-shell="modern"] .tab-news .wsub { margin: 20px var(--gutter) 0; padding-top: 0; border-top: 0; font: 700 16px/1.2 var(--f-head); letter-spacing: -.01em; text-transform: none; color: var(--ink); }
html[data-shell="modern"] .tab-news .wsub small, html[data-shell="modern"] .tab-news .sec-h small { font: 500 13px/1 var(--f-ui); font-style: normal; color: var(--ink-3); }
html[data-shell="modern"] .tab-news .wsub + .feedlist { padding-top: 10px; }
html[data-shell="modern"] .tab-news .river-h { margin-top: 28px; }
/* a divider inside the river (an update's time, Earlier that day): a plain small label */
html[data-shell="modern"] .tab-news .divider { display: block; margin: 0 var(--gutter); padding: 22px 0 0; text-align: left; font: 700 15px/1.2 var(--f-ui); letter-spacing: 0; color: var(--ink-2); }
html[data-shell="modern"] .tab-news .divider::before, html[data-shell="modern"] .tab-news .divider::after { display: none; }
html[data-shell="modern"] .tab-news .divider + .feedlist, html[data-shell="modern"] .tab-news .divider + .nidx, html[data-shell="modern"] .tab-news .wire-river > .divider + .feedlist { margin-top: 10px; padding-top: 0; }
html[data-shell="modern"] .tab-news .wire-river > .divider:first-child { padding-top: 16px; }

/* ------------------------------------------------------------ the river's index: one card, a clean list */
html[data-shell="modern"] .tab-news .nidx { columns: auto; column-rule: none; margin: 12px var(--gutter) 0; padding: 2px 14px; border: 0; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow); }
html[data-shell="modern"] .tab-news .wsub + .nidx { padding-top: 2px; margin-top: 10px; }
html[data-shell="modern"] .tab-news .nix { padding: 12px 0; margin: 0; border-bottom: 1px solid var(--rule); }
html[data-shell="modern"] .tab-news .nix:last-child { border-bottom: 0; }
html[data-shell="modern"] .tab-news .nix .kicker { gap: 2px 8px; margin: 0 0 4px; font: 600 12px/1.2 var(--f-ui); letter-spacing: 0; text-transform: none; color: var(--accent); }
html[data-shell="modern"] .tab-news .nix .kicker time, html[data-shell="modern"] .tab-news .prow .pk time, html[data-shell="modern"] .tab-news .rdr time, html[data-shell="modern"] .tab-news .lix .kicker time { font: 500 12px/1.2 var(--f-ui); font-style: normal; color: var(--ink-3); }
html[data-shell="modern"] .tab-news .nix .hed { font: 600 15.5px/1.3 var(--f-head); letter-spacing: -.01em; -webkit-line-clamp: 4; }
html[data-shell="modern"] .tab-news .nix .also { margin-top: 8px; }
html[data-shell="modern"] .tab-news .newmark { padding: 3px 7px; border: 0; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font: 700 10.5px/1 var(--f-ui); letter-spacing: 0; text-transform: none; }
html[data-shell="modern"] .tab-news .wire-river > .feedlist, html[data-shell="modern"] .tab-news .nidx + .feedlist { padding-top: 12px; }

/* the turn of a day, and the week of days as a row of pill buttons */
html[data-shell="modern"] .tab-news .wturn-done { margin: 28px var(--gutter) 0; padding-top: 0; border-top: 0; font: 600 14px/1.3 var(--f-ui); font-style: normal; color: var(--ink-3); }
html[data-shell="modern"] .tab-news .wturn-days { gap: 6px; margin: 12px var(--gutter) 6px; border: 0; }
html[data-shell="modern"] .tab-news .wturn-day { gap: 4px; padding: 9px 0 8px; border-radius: 12px; background: var(--card); box-shadow: var(--shadow); }
html[data-shell="modern"] .tab-news .wturn-day + .wturn-day { border-left: 0; }
html[data-shell="modern"] .tab-news .wturn-day span { font: 600 11.5px/1 var(--f-ui); letter-spacing: 0; text-transform: none; color: var(--ink-3); }
html[data-shell="modern"] .tab-news .wturn-day b { font: 700 17px/1 var(--f-ui); }
html[data-shell="modern"] .tab-news .wturn-day.read { box-shadow: inset 0 0 0 2px var(--accent); }
html[data-shell="modern"] .tab-news .wturn-day.before { background: var(--ink); color: var(--paper); }
html[data-shell="modern"] .tab-news .wturn-day.before span { color: var(--paper); }
html[data-shell="modern"] .tab-news .wturn-days + .wmatters { margin-top: 22px; }
html[data-shell="modern"] .tab-news .wire-loading { font: 500 13px/1.3 var(--f-ui); letter-spacing: 0; text-transform: none; }

/* since you were here: a card with its count as a badge */
html[data-shell="modern"] .tab-news .catchup { margin: 12px var(--gutter) 0; padding: 14px 14px 12px; border: 0; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow); }
html[data-shell="modern"] .tab-news .catchup .cu-h { align-items: center; padding-bottom: 4px; border-bottom: 0; }
html[data-shell="modern"] .tab-news .catchup .cu-h h2 { flex: none; font: 800 18px/1.2 var(--f-head); letter-spacing: -.02em; }
html[data-shell="modern"] .tab-news .catchup .cu-n { min-width: 24px; padding: 0 7px; border-radius: 999px; font: 800 12.5px/24px var(--f-ui); box-sizing: border-box; }
html[data-shell="modern"] .tab-news .catchup .cu-h time { margin-left: auto; font: 500 12.5px/1 var(--f-ui); font-style: normal; }
html[data-shell="modern"] .tab-news .catchup .cu-list { columns: auto; column-rule: none; padding-top: 0; }
html[data-shell="modern"] .tab-news .catchup .nix { padding: 10px 0; margin: 0; }
html[data-shell="modern"] .tab-news .catchup .cu-list:not(.cu-rest) .nix:last-child { border-bottom: 1px solid var(--rule); }
html[data-shell="modern"] .tab-news .catchup .nix .kicker { font-size: 12px; margin-bottom: 3px; }
html[data-shell="modern"] .tab-news .catchup .nix .hed { font-size: 14.5px; line-height: 1.28; -webkit-line-clamp: 2; }
html[data-shell="modern"] .tab-news .catchup .pills { margin: 10px 0 0; }
html[data-shell="modern"] .tab-news .catchup.done { padding: 12px 14px; }
html[data-shell="modern"] .tab-news .catchup .cu-done { font: 600 14px/1.2 var(--f-ui); letter-spacing: 0; text-transform: none; color: var(--ink-2); }

/* the Radar: one card, a list */
html[data-shell="modern"] .tab-news .radar { margin: 0 var(--gutter); padding: 2px 14px; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow); }
html[data-shell="modern"] .tab-news .rdr { gap: 3px 10px; padding: 11px 0; }
html[data-shell="modern"] .tab-news .rdr:last-child { border-bottom: 0; }
html[data-shell="modern"] .tab-news .rdr b { font: 600 12px/1.2 var(--f-ui); letter-spacing: 0; text-transform: none; }
html[data-shell="modern"] .tab-news .rdr a { font: 600 15px/1.3 var(--f-head); letter-spacing: -.01em; }

/* back issues: small cards, three across */
html[data-shell="modern"] .tab-news .rack { gap: 8px; border: 0; }
html[data-shell="modern"] .tab-news .rack .issue { gap: 3px; padding: 10px; border: 0; border-radius: 12px; background: var(--card); box-shadow: var(--shadow); }
html[data-shell="modern"] .tab-news .rack .issue .wk { font: 600 11.5px/1 var(--f-ui); letter-spacing: 0; text-transform: none; }
html[data-shell="modern"] .tab-news .rack .issue b { font: 700 16px/1.15 var(--f-head); }
html[data-shell="modern"] .tab-news .rack .issue .n { font: 500 12px/1.25 var(--f-ui); font-style: normal; color: var(--ink-3); }
html[data-shell="modern"] .tab-news .rack .issue.on { background: var(--ink); }
html[data-shell="modern"] .tab-news .rack .issue.on .n { color: var(--paper); }
html[data-shell="modern"] .tab-news .wend { padding-top: 12px; }

/* ------------------------------------------------------------ a recap: a card, round numbers on its bullets */
html[data-shell="modern"] .tab-news .rcap { margin: 0 var(--gutter); padding: 14px; }
html[data-shell="modern"] .tab-news .wrecaps { display: flex; flex-direction: column; gap: 12px; padding-top: 12px; }
html[data-shell="modern"] .tab-news .wrecaps > .feedlist { padding-top: 0; }
html[data-shell="modern"] .tab-news .rcap .kicker { order: 0; margin-bottom: 8px; font: 700 13px/1.2 var(--f-ui); letter-spacing: 0; text-transform: none; color: var(--accent); }
html[data-shell="modern"] .tab-news .rcap .rc-intro { font: 400 15.5px/1.45 var(--f-body); }
html[data-shell="modern"] .tab-news .rcap .rc-intro::first-letter { font: inherit; }
html[data-shell="modern"] .tab-news .rcap .rc-list li { padding: 11px 0 11px 34px; }
html[data-shell="modern"] .tab-news .rcap .rc-list li::before { top: 11px; min-width: 22px; height: 22px; padding: 0 5px; box-sizing: border-box; border-radius: 999px; background: var(--paper-2); color: var(--ink); font: 700 12px/22px var(--f-ui); font-style: normal; text-align: center; }
html[data-shell="modern"] .tab-news .rcap .rc-bt { font: 600 15.5px/1.3 var(--f-head); letter-spacing: -.01em; }
html[data-shell="modern"] .tab-news .rcap .rc-bn { font: 400 14px/1.4 var(--f-body); }
html[data-shell="modern"] .tab-news .rcap .rc-bn b { font: 700 12px/1 var(--f-ui); letter-spacing: 0; text-transform: none; }
html[data-shell="modern"] .tab-news .rcap .rc-from { font: 500 12px/1 var(--f-ui); font-style: normal; }
html[data-shell="modern"] .tab-news .wrecaps .card.row.compact { padding: 12px; }
html[data-shell="modern"] .tab-news .sec > .rcap { margin: 0 var(--gutter); }

/* an account's next posts: rows inside the card, not pills */
html[data-shell="modern"][data-look] .tab-news .card .lines li { padding: 8px 0 0; margin-top: 8px; border: 0; border-top: 1px solid var(--rule); border-radius: 0; background: none; font: 400 14px/1.4 var(--f-body); color: var(--ink-2); }
html[data-shell="modern"][data-look] .tab-news .card.row.compact.porch { margin: 0; padding: 12px; border-radius: var(--r); }
html[data-shell="modern"][data-look] .tab-news :is(.card.porch, .card.ev, .card.tonight, .card.game):not(.invite):not(.maple) { border-top: 0; }

/* ============================================================ The Pulse
   search as a rounded field, View / Time / Limit as segmented controls, the outlets as pills,
   the headlines as one card of rows, By outlet as one card per outlet */
html[data-shell="modern"] .tab-news .pctl { margin: 12px var(--gutter) 0; }
html[data-shell="modern"] .tab-news .psearch input { padding: 12px 14px; border: 1px solid var(--rule); border-radius: 999px; background: var(--card); font: 500 16px/1.2 var(--f-ui); font-style: normal; color: var(--ink); }
html[data-shell="modern"] .tab-news .psearch input:focus { border-color: var(--accent); }
html[data-shell="modern"] .tab-news .prow2 { align-items: center; gap: 0; width: fit-content; max-width: 100%; box-sizing: border-box; margin-top: 10px; padding: 3px; border-bottom: 0; border-radius: 999px; background: var(--paper-2); }
html[data-shell="modern"] .tab-news .prow2 > span { width: auto; padding: 0 10px 0 11px; font: 600 13px/1 var(--f-ui); letter-spacing: 0; text-transform: none; color: var(--ink-3); }
html[data-shell="modern"] .tab-news .popt { padding: 8px 13px; border: 0; border-radius: 999px; background: none; font: 600 13px/1 var(--f-ui); letter-spacing: 0; text-transform: none; color: var(--ink-2); }
html[data-shell="modern"] .tab-news .popt + .popt { border-left: 0; }
html[data-shell="modern"] .tab-news .popt.on { background: var(--card); color: var(--ink); text-decoration: none; box-shadow: 0 1px 2px color-mix(in srgb, var(--ink) 12%, transparent); }
html[data-shell="modern"] .tab-news .pouts { gap: 6px; margin: 0 calc(var(--gutter) * -1); padding: 12px var(--gutter) 2px; border-bottom: 0; }
html[data-shell="modern"] .tab-news .pout, html[data-shell="modern"] .tab-news .pmuted .pout { align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid var(--rule); border-radius: 999px; background: var(--card); font: 600 13px/1 var(--f-ui); letter-spacing: 0; text-transform: none; color: var(--ink-2); }
html[data-shell="modern"] .tab-news .pout:first-child { padding-left: 12px; }
html[data-shell="modern"] .tab-news .pout + .pout { border-left: 1px solid var(--rule); }
html[data-shell="modern"] .tab-news .pout.loc { color: var(--ink); }
html[data-shell="modern"] .tab-news .pout.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); text-decoration: none; }
html[data-shell="modern"] .tab-news .pout b { font: 600 12px/1 var(--f-ui); font-style: normal; color: var(--ink-3); }
html[data-shell="modern"] .tab-news .pout.on b { color: var(--accent-ink); }
html[data-shell="modern"] .tab-news .pcount { margin: 12px var(--gutter) 0; font: 500 13px/1.35 var(--f-ui); letter-spacing: 0; text-transform: none; color: var(--ink-3); }
html[data-shell="modern"] .tab-news .pbody { margin: 10px 0 0; }
html[data-shell="modern"] .tab-news .prow { margin: 0 var(--gutter); padding: 12px 14px; background: var(--card); border-bottom: 1px solid var(--rule); }
html[data-shell="modern"] .tab-news article.prow:first-of-type { border-radius: var(--r) var(--r) 0 0; }
html[data-shell="modern"] .tab-news article.prow:last-of-type { border-radius: 0 0 var(--r) var(--r); border-bottom: 0; }
html[data-shell="modern"] .tab-news article.prow:only-of-type { border-radius: var(--r); }
html[data-shell="modern"] .tab-news .prow .pk { align-items: center; gap: 2px 8px; margin-bottom: 4px; }
html[data-shell="modern"] .tab-news .prow .pk a { font: 600 12px/1.2 var(--f-ui); letter-spacing: 0; text-transform: none; }
html[data-shell="modern"] .tab-news .pplay { padding: 4px 9px; border: 1px solid var(--rule); border-radius: 999px; background: var(--card); font: 600 11.5px/1 var(--f-ui); letter-spacing: 0; text-transform: none; color: var(--ink); }
html[data-shell="modern"] .tab-news .prow .pthumb { width: 64px; height: 48px; margin: 2px 0 2px 12px; border-radius: 8px; filter: none; mix-blend-mode: normal; }
html[data-shell="modern"] .tab-news .prow .hed { font: 600 15.5px/1.3 var(--f-head); letter-spacing: -.01em; }
html[data-shell="modern"] .tab-news .prow .also { margin-top: 8px; }
html[data-shell="modern"] .tab-news .pline { font: 400 14px/1.4 var(--f-body); font-style: normal; }
html[data-shell="modern"] .tab-news .pdisc { gap: 6px; margin-top: 8px; font: 600 12px/1 var(--f-ui); letter-spacing: 0; text-transform: none; }
html[data-shell="modern"] .tab-news .pdisc a { padding: 5px 9px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); text-decoration: none; }
html[data-shell="modern"] .tab-news .poutlet-h { align-items: center; margin: 4px var(--gutter) 12px; padding-bottom: 0; border-bottom: 0; }
html[data-shell="modern"] .tab-news .poutlet-h h2 { font: 800 22px/1.15 var(--f-head); letter-spacing: -.02em; }
html[data-shell="modern"] .tab-news .poutlet-h a { font: 600 13px/1 var(--f-ui); letter-spacing: 0; text-transform: none; }
html[data-shell="modern"] .tab-news .poutlet-h .popt { border: 1px solid var(--rule); border-radius: 999px; background: var(--card); }
/* By outlet */
html[data-shell="modern"] .tab-news .pgrid { columns: auto; column-rule: none; display: flex; flex-direction: column; gap: 12px; margin: 0 var(--gutter); padding-top: 0; }
html[data-shell="modern"] .tab-news .pgrid + .pgrid { margin-top: 12px; }
html[data-shell="modern"] .tab-news .pblock { margin: 0; padding: 12px 14px 10px; border-top: 0; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow); }
html[data-shell="modern"] .tab-news .pb-h { align-items: baseline; gap: 2px 8px; margin: 0 0 4px; }
html[data-shell="modern"] .tab-news .pb-h button { font: 700 16px/1.2 var(--f-head); letter-spacing: -.01em; text-transform: none; color: var(--ink); }
html[data-shell="modern"] .tab-news .pb-h small { font: 500 12.5px/1 var(--f-ui); font-style: normal; color: var(--ink-3); }
html[data-shell="modern"] .tab-news .pb-h a { color: var(--accent); }
html[data-shell="modern"] .tab-news .pblock li { padding: 9px 0; font: 400 14.5px/1.32 var(--f-body); }
html[data-shell="modern"] .tab-news .pblock li:last-child { border-bottom: 0; }
html[data-shell="modern"] .tab-news .pblock li time { margin-left: 6px; font: 500 12px/1 var(--f-ui); font-style: normal; }
html[data-shell="modern"] .tab-news .pmore { margin-top: 6px; padding: 7px 12px; border: 1px solid var(--rule); border-radius: 999px; font: 600 13px/1 var(--f-ui); letter-spacing: 0; text-transform: none; }
html[data-shell="modern"] .tab-news .pmuted { gap: 6px; }

/* the mute sheet, its toast, and the podcast player: white floating cards */
html[data-shell="modern"] .nsheet-in, html[data-shell="modern"] .nplayer { border-radius: var(--r); background: var(--card); border: 1px solid var(--rule); box-shadow: var(--shadow); -webkit-backdrop-filter: none; backdrop-filter: none; }
html[data-shell="modern"] .nsheet-in p { font: 500 16px/1.35 var(--f-ui); }
html[data-shell="modern"] .nsheet .btnrow { display: flex; gap: 8px; }
html[data-shell="modern"] .nplayer p { font: 600 13px/1.25 var(--f-ui); }

/* ============================================================ Newsletters: each day's editions as one card of rows */
html[data-shell="modern"] .tab-news .letters .sec:first-child { margin-top: 18px; }
html[data-shell="modern"] .tab-news .lindex { margin: 0 var(--gutter); padding: 2px 14px; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow); }
html[data-shell="modern"] .tab-news .lix { padding: 12px 0; }
html[data-shell="modern"] .tab-news .lix .kicker { gap: 2px 8px; margin: 0 0 4px; font: 600 12px/1.2 var(--f-ui); letter-spacing: 0; text-transform: none; }
html[data-shell="modern"] .tab-news .lix .hed { font: 700 16.5px/1.25 var(--f-head); letter-spacing: -.015em; }
html[data-shell="modern"] .tab-news .lix .line { margin-top: 4px; font: 400 14px/1.4 var(--f-body); font-style: normal; }

/* ============================================================ Social › Photos: each picture a card, colour, rounded */
html[data-shell="modern"] .tab-news .pm-feed { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
html[data-shell="modern"] .tab-news .pm-feed.v-grid, html[data-shell="modern"] .tab-news .pm-feed.v-list { display: block; }
html[data-shell="modern"] .tab-news .pm { margin: 0 var(--gutter); padding: 0 0 14px; border-bottom: 0; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow); overflow: hidden; }
html[data-shell="modern"] .tab-news .pm-pic { margin: 0; }
html[data-shell="modern"] .tab-news .pm-pic img, html[data-shell="modern"] .tab-news .pw-cell img, html[data-shell="modern"] .tab-news .pm-th img, html[data-shell="modern"] .tab-news .pm-pet img, html[data-shell="modern"] .tab-news .acct-pic img { filter: none; mix-blend-mode: normal; }
html[data-shell="modern"] .tab-news .pm-body { padding: 12px 14px 0; }
html[data-shell="modern"] .tab-news .pm-cap, html[data-shell="modern"] .tab-news .pm .pm-cap { font: 400 15.5px/1.42 var(--f-body); }
html[data-shell="modern"] .tab-news .pm-credit { font: 500 12.5px/1.3 var(--f-ui); font-style: normal; }
html[data-shell="modern"] .tab-news .pm .meta { margin-top: 10px; }
html[data-shell="modern"] .tab-news .pm-play { right: 10px; bottom: 10px; display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border-radius: 999px; background: color-mix(in srgb, var(--ink) 70%, transparent); color: var(--paper); font: 700 12px/1 var(--f-ui); letter-spacing: 0; }
html[data-shell="modern"] .tab-news .pm-x { padding: 14px; }
html[data-shell="modern"] .tab-news .pm-xq { padding: 0; border: 0; background: none; }
html[data-shell="modern"] .tab-news .pm-xq .pm-cap { font: 700 18px/1.25 var(--f-head); letter-spacing: -.015em; }
html[data-shell="modern"] .tab-news .pm-why { font: 400 14px/1.4 var(--f-body); font-style: normal; }
/* the wall: three across, small rounded squares */
html[data-shell="modern"] .tab-news .pm-wall { gap: 4px; margin: 0 var(--gutter) 4px; }
html[data-shell="modern"] .tab-news .pw-cell { border-radius: 8px; }
html[data-shell="modern"] .tab-news .pw-cell .pm-play { width: 22px; height: 22px; right: 5px; bottom: 5px; font-size: 9px; }
html[data-shell="modern"] .tab-news .pw-txt { border-top: 0; background: var(--card); }
html[data-shell="modern"] .tab-news .pw-txt span { font: 700 12.5px/1.25 var(--f-head); }
html[data-shell="modern"] .tab-news .pw-txt b { font: 600 10.5px/1.2 var(--f-ui); letter-spacing: 0; text-transform: none; }
/* list rows: one card */
html[data-shell="modern"] .tab-news .v-list .pm-row { margin: 0 var(--gutter); padding: 12px 14px; background: var(--card); border-bottom: 1px solid var(--rule); }
html[data-shell="modern"] .tab-news .v-list .pm-row:first-of-type { border-radius: var(--r) var(--r) 0 0; }
html[data-shell="modern"] .tab-news .v-list .pm-row:last-of-type { border-radius: 0 0 var(--r) var(--r); border-bottom: 0; }
html[data-shell="modern"] .tab-news .pm-th { border-radius: 8px; }
/* Pets of Burlington: a rail of rounded pictures */
html[data-shell="modern"] .tab-news .pm-rail { gap: 10px; padding-top: 2px; }
html[data-shell="modern"] .tab-news .pm-pet img { border-radius: 12px; }
html[data-shell="modern"] .tab-news .pm-pet span { margin-top: 6px; font: 400 12.5px/1.3 var(--f-body); }

/* ============================================================ Social › Accounts: one card per account */
html[data-shell="modern"] .tab-news .accts { display: flex; flex-direction: column; gap: 12px; padding-top: 14px; }
html[data-shell="modern"] .tab-news .acct { margin: 0 var(--gutter); padding: 14px; border-bottom: 0; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow); }
html[data-shell="modern"] .tab-news .acct .kicker { gap: 2px 8px; margin: 0 0 8px; font: 500 12px/1.2 var(--f-ui); letter-spacing: 0; text-transform: none; }
html[data-shell="modern"] .tab-news .acct .kicker a { font-weight: 700; font-size: 13px; }
html[data-shell="modern"] .tab-news .acct .kicker time { font: 500 12px/1 var(--f-ui); font-style: normal; }
html[data-shell="modern"] .tab-news .acct-pic img { border-radius: 10px; }
html[data-shell="modern"] .tab-news .acct .hed { font: 400 15.5px/1.42 var(--f-body); }
html[data-shell="modern"] .tab-news .acct-more li { padding: 8px 0 0; margin-top: 8px; font: 400 14px/1.35 var(--f-body); }
html[data-shell="modern"] .tab-news .acct-more li time { font: 500 12px/1 var(--f-ui); font-style: normal; }
html[data-shell="modern"] .tab-news .acct-more li.n { font: 600 12px/1.2 var(--f-ui); letter-spacing: 0; text-transform: none; }

/* ============================================================ Listen: the Brief's player as a card */
html[data-shell="modern"][data-look] .tab-news .player { margin: 12px var(--gutter) 0; padding: 14px; border-radius: var(--r); }
html[data-shell="modern"] .tab-news .player > .kicker { order: -1; margin: 0 0 4px; }
html[data-shell="modern"] .tab-news .player .hed { margin: 0; }
html[data-shell="modern"] .tab-news .player audio { order: 3; }
html[data-shell="modern"] .tab-news .player + .whead { margin-top: 16px; }
/* a facts block's labels: sentence case */
html[data-shell="modern"] .tab-news .fact b, html[data-shell="modern"] .tab-town .fact b { font: 700 14px/1.4 var(--f-ui); letter-spacing: 0; text-transform: none; color: var(--ink); }
html[data-shell="modern"] .tab-news .fact, html[data-shell="modern"] .tab-town .fact { font: 400 14.5px/1.4 var(--f-body); }
html[data-shell="modern"] .tab-news .sec > .facts { margin-left: var(--gutter); margin-right: var(--gutter); }
html[data-shell="modern"] .tab-news #cards > .sec:first-child { margin-top: 16px; }

/* ============================================================ Rooms › Reddit › Questions: one card per question */
html[data-shell="modern"] .tab-news .rq-search { margin: 12px var(--gutter) 0; }
html[data-shell="modern"] .tab-news .rq-list { display: flex; flex-direction: column; gap: 12px; padding-top: 12px; }
html[data-shell="modern"] .tab-news .rq { margin: 0 var(--gutter); padding: 14px; border-bottom: 0; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow); }
html[data-shell="modern"] .tab-news .rq.qotd { margin-top: 12px; padding: 14px; border: 0; background: var(--card); box-shadow: var(--shadow); }
html[data-shell="modern"] .tab-news .rq .kicker { margin: 0 0 6px; font: 700 12.5px/1.2 var(--f-ui); letter-spacing: 0; text-transform: none; }
html[data-shell="modern"] .tab-news .rq .hed { font: 700 17px/1.25 var(--f-head); letter-spacing: -.015em; }
html[data-shell="modern"] .tab-news .rq-meta { gap: 2px 10px; margin-top: 6px; font: 500 12.5px/1.3 var(--f-ui); letter-spacing: 0; text-transform: none; }
html[data-shell="modern"] .tab-news .rq-meta b { font-weight: 700; }
html[data-shell="modern"] .tab-news .rq-threads { margin-top: 10px; }
html[data-shell="modern"] .tab-news .rq-threads li { padding: 8px 0; font: 400 14px/1.35 var(--f-body); }
html[data-shell="modern"] .tab-news .rq-threads li time { font: 500 12px/1 var(--f-ui); font-style: normal; }
html[data-shell="modern"] .tab-news .rq .pills { padding: 8px 0 0; }
html[data-shell="modern"] .tab-news .rq-head .whead { margin-top: 12px; }

/* ============================================================ Town
   reference content: facts, meetings, alerts in clean cards and lists; the checked-on date and
   the source stay on every fact, as a plain small line */
/* the page's own sections: smaller pills under the header's, the one you are on filled */
html[data-shell="modern"] .tab-town .town-sub { margin: 10px 0 0; border-bottom: 0; }
html[data-shell="modern"][data-look] .tab-town .town-sub .chips { gap: 6px; padding: 0 var(--gutter) 2px; }
html[data-shell="modern"][data-look] .tab-town .town-sub .chip { padding: 7px 12px; border: 1px solid var(--rule); border-radius: 999px; background: var(--card); font: 600 13px/1 var(--f-ui); letter-spacing: 0; text-transform: none; color: var(--ink-2); }
html[data-shell="modern"][data-look] .tab-town .town-sub .chip:first-child { padding-left: 12px; }
html[data-shell="modern"][data-look] .tab-town .town-sub .chip + .chip { border-left: 1px solid var(--rule); }
html[data-shell="modern"][data-look] .tab-town .town-sub .chip.on { background: var(--ink); border-color: var(--ink); color: var(--paper); text-decoration: none; }

/* Church Street's camera: a rounded picture, its label as a plain line */
html[data-shell="modern"] .tab-town .tn-cam { margin: 12px var(--gutter) 0; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow); overflow: hidden; }
html[data-shell="modern"] .tab-town .tn-cam figcaption { gap: 2px 8px; margin: 0; padding: 10px 14px 11px; border-bottom: 0; font: 500 13px/1.3 var(--f-ui); letter-spacing: 0; text-transform: none; color: var(--ink-3); }
html[data-shell="modern"] .tab-town .tn-cam figcaption b { font-weight: 700; }
html[data-shell="modern"] .tab-town .tn-cam figcaption span:nth-of-type(1) { padding: 3px 7px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font: 700 11px/1 var(--f-ui); align-self: center; }

/* three figures: small cards */
html[data-shell="modern"] .tab-town .stat { gap: 8px; margin: 12px 0; padding: 0; border: 0; }
html[data-shell="modern"] .tab-town .stat div { padding: 12px 10px; border-radius: 12px; background: var(--card); box-shadow: var(--shadow); text-align: left; }
html[data-shell="modern"] .tab-town .stat div + div { border-left: 0; }
html[data-shell="modern"] .tab-town .stat b { font: 800 22px/1.1 var(--f-head); letter-spacing: -.02em; }
html[data-shell="modern"] .tab-town .stat span { margin-top: 4px; font: 500 12px/1.3 var(--f-ui); letter-spacing: 0; text-transform: none; }

/* reference rows: one card, a clean list */
html[data-shell="modern"] .tab-town .refs { margin: 0 var(--gutter); padding: 2px 14px; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow); }
html[data-shell="modern"] .tab-town .page .sec .refs, html[data-shell="modern"] .tab-town .page .refs { margin: 0; }
html[data-shell="modern"] .tab-town .ref { padding: 13px 0; }
html[data-shell="modern"] .tab-town .ref .kicker { margin-bottom: 4px; }
html[data-shell="modern"] .tab-town .ref .hed { font: 700 16.5px/1.25 var(--f-head); letter-spacing: -.015em; }
html[data-shell="modern"] .tab-town .ref .who { font: 500 13px/1.4 var(--f-ui); letter-spacing: 0; text-transform: none; }
html[data-shell="modern"] .tab-town .ref .meta { margin-top: 8px; }
html[data-shell="modern"] .tab-town .srcstamp, html[data-shell="modern"] .tab-town .src { font: 500 12px/1.3 var(--f-ui); font-style: normal; letter-spacing: 0; text-transform: none; color: var(--ink-3); }
html[data-shell="modern"] .tab-town .src { color: var(--accent); text-decoration: none; }
html[data-shell="modern"] .tab-town .fact .srcstamp { margin-top: 4px; }
html[data-shell="modern"] .tab-town .fact.col .srcstamp { justify-content: flex-start; }

/* blocks set straight in a section sit in the gutter */
html[data-shell="modern"] .tab-town .sec > .facts { margin: 0 var(--gutter); }
html[data-shell="modern"] .tab-town .sec > .facts + .facts { margin-top: 12px; }
html[data-shell="modern"] .tab-town .page .facts { margin: 12px 0; }
html[data-shell="modern"] .tab-town .page.btnrow { margin-top: 14px; }
html[data-shell="modern"] .tab-town .page.meta { margin-top: 12px; }
html[data-shell="modern"] .tab-town > .feedlist:first-of-type, html[data-shell="modern"] .tab-town .town-sub + .feedlist { padding-top: 12px; }

/* a form field: a plain label, a rounded box */
html[data-shell="modern"] .tab-town .field span { font: 600 13px/1 var(--f-ui); letter-spacing: 0; text-transform: none; color: var(--ink-3); }
html[data-shell="modern"] .tab-town .field input, html[data-shell="modern"] .tab-town .field select { padding: 12px 14px; border: 1px solid var(--rule); border-radius: 12px; background: var(--card); box-shadow: none; font: 500 16px/1.3 var(--f-ui); color: var(--ink); }
html[data-shell="modern"] .tab-town .field input:focus { outline: 2px solid var(--accent); outline-offset: -1px; }

/* the address page, the council and project pages */
html[data-shell="modern"] .tab-town .town-h { font: 800 26px/1.1 var(--f-head); letter-spacing: -.025em; }
html[data-shell="modern"] .tab-town .town-follow { align-items: center; margin: 16px 0 8px; }
html[data-shell="modern"] .tab-town .town-last { font: 500 13px/1.3 var(--f-ui); font-style: normal; }
html[data-shell="modern"] .tab-town .town-ban { margin: 12px 0; padding: 16px; border-radius: var(--r); }
html[data-shell="modern"] .tab-town .town-ban .hed { font: 800 21px/1.2 var(--f-head); letter-spacing: -.02em; color: var(--accent-ink); }
html[data-shell="modern"] .tab-town .town-ban .line { color: var(--accent-ink); }
html[data-shell="modern"] .tab-town .town-top { font: 800 21px/1.22 var(--f-head); letter-spacing: -.02em; }
html[data-shell="modern"] .tab-town .town-desc { font: 400 15.5px/1.5 var(--f-body); }
html[data-shell="modern"] .tab-town .town-desc::first-letter { float: none; margin: 0; font: inherit; color: inherit; }
html[data-shell="modern"] .tab-town .town-project .hero-pic { margin: 12px 0 14px; border-radius: var(--r); }
html[data-shell="modern"] .tab-town .town-done { font: 700 13px/1.2 var(--f-ui); letter-spacing: 0; text-transform: none; }
html[data-shell="modern"] .tab-town .facts .toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; font: 500 15px/1.35 var(--f-ui); }

/* a divider between groups (Held, Today · 3, You're caught up): a plain small label */
html[data-shell="modern"] .tab-town .divider { display: block; margin: 0 var(--gutter); padding: 22px 0 0; text-align: left; font: 700 15px/1.2 var(--f-ui); letter-spacing: 0; color: var(--ink-2); }
html[data-shell="modern"] .tab-town .divider::before, html[data-shell="modern"] .tab-town .divider::after { display: none; }
html[data-shell="modern"] .tab-town .divider + .feedlist, html[data-shell="modern"] .tab-town .divider + .rows { margin-top: 10px; padding-top: 0; }
html[data-shell="modern"] .tab-town .rows { margin-left: var(--gutter); margin-right: var(--gutter); }
html[data-shell="modern"][data-look] .tab-town :is(.card.porch, .card.ev, .card.tonight, .card.game):not(.invite):not(.maple) { border-top: 0; }
/* a lead that is also a boxed notice (Guess the price): the lead's bleed, its buttons after the words */
html[data-shell="modern"] :is(.tab-news, .tab-town) .card.lead > .opts { order: 4; }
html[data-shell="modern"] :is(.tab-news, .tab-town) .card.lead > .doors { order: 5; }
html[data-shell="modern"] .tab-town .page .sec > .pills, html[data-shell="modern"] .tab-town .page .sec > .btnrow, html[data-shell="modern"] .tab-town .page .sec > .facts, html[data-shell="modern"] .tab-town .page .rows { margin-left: 0; margin-right: 0; }
html[data-shell="modern"][data-look] .tab-town .card .lines:not(.rows) li { padding: 7px 11px; border: 0; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); font: 600 13px/1.2 var(--f-ui); }
html[data-shell="modern"] .tab-town .ref .lines li { padding: 7px 10px; border: 0; border-radius: 10px; background: var(--paper-2); color: var(--ink-2); font: 500 13px/1.3 var(--f-ui); }
html[data-shell="modern"] .tab-town .facts .toggle input { width: 46px; height: 28px; border-radius: 999px; background: var(--paper-2); box-shadow: none; }
html[data-shell="modern"] .tab-town .facts .toggle input::after { border-radius: 50%; background: var(--card); }
html[data-shell="modern"] .tab-town .facts .toggle input:checked { background: var(--accent); }
html[data-shell="modern"] .tab-town .town-done { margin: 14px 0 10px; }

/* ============================================================ Wander: a Wikipedia page as a clean reader */
html[data-shell="modern"] .tab-news .wander .wtitle { margin: 18px 0 4px; padding-top: 0; border-top: 0; font: 800 30px/1.1 var(--f-head); letter-spacing: -.03em; }
html[data-shell="modern"] .tab-news .wander .wdesc { font: 500 15px/1.4 var(--f-ui); font-style: normal; color: var(--ink-3); }
html[data-shell="modern"] .tab-news .reader { font: 400 16.5px/1.6 var(--f-body); }
html[data-shell="modern"] .tab-news .reader > p:first-of-type::first-letter, html[data-shell="modern"] .tab-news .reader section:first-of-type > p:first-of-type::first-letter { float: none; margin: 0; font: inherit; color: inherit; }
html[data-shell="modern"] .tab-news .reader img.lead { border-radius: var(--r); filter: none; mix-blend-mode: normal; }
html[data-shell="modern"] .tab-news .reader img { filter: none; mix-blend-mode: normal; }
html[data-shell="modern"] .tab-news .reader figure img { border-radius: var(--r-s); }
html[data-shell="modern"] .tab-news .reader h2 { padding-top: 0; border-top: 0; font: 800 22px/1.2 var(--f-head); letter-spacing: -.02em; }
html[data-shell="modern"] .tab-news .reader h3 { font: 700 18px/1.25 var(--f-head); }
html[data-shell="modern"] .tab-news .reader h4 { font: 700 15px/1.3 var(--f-ui); letter-spacing: 0; text-transform: none; }
html[data-shell="modern"] .tab-news .reader a { text-decoration-color: color-mix(in srgb, var(--accent) 40%, transparent); }
html[data-shell="modern"] .tab-news .reader figcaption { padding-top: 0; border-top: 0; font: 500 13px/1.4 var(--f-ui); font-style: normal; }
html[data-shell="modern"] .tab-news .reader blockquote { border-left: 3px solid var(--rule); font-style: normal; }
html[data-shell="modern"] .tab-news .reader table { border-top: 0; border-bottom: 0; }
html[data-shell="modern"] .tab-news .reader th { font: 700 12.5px/1.3 var(--f-ui); letter-spacing: 0; text-transform: none; }
html[data-shell="modern"] .tab-news .rows { margin-left: var(--gutter); margin-right: var(--gutter); }
html[data-shell="modern"] .tab-news .lrow .also { margin: 8px 0 2px; }
