/* The fonts, served from this site (Google Fonts' Latin files, Open Font License): no wait on another site
   before the page can draw. */
@font-face { font-family: 'Abril Fatface'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/abril-fatface.latin.mjcDidBc.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Black Ops One'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/black-ops-one.latin.btxsis4I.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IM Fell English SC'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/im-fell-english-sc.latin.IPoUgxzQ.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Old Standard TT'; font-style: italic; font-weight: 400; font-display: swap; src: url(/fonts/old-standard-tt.latin.bHNwZcQH.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Old Standard TT'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/old-standard-tt.latin.q4ZnRSZw.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Old Standard TT'; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/old-standard-tt.latin.ZfTc4PlA.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

@font-face { font-family: 'Jost'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(/fonts/jost.latin.var.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/inter.latin.var.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* The town's name over the globe: Baskerville SemiBold Italic (Apple's own where it's installed, otherwise Baskervville
   SemiBold Italic, OFL, served from this site). */
@font-face { font-family: 'TG Town'; font-style: italic; font-weight: 600; font-display: swap; src: local('Baskerville-SemiBoldItalic'), local('Baskerville SemiBold Italic'), url(/fonts/baskervville-italic.latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Colors: day (portcity for Modern, navy for Classic) and night. Each only swaps these colors. */
:root, [data-paper="navy"] {
  --surround: #2E3440; --paper: #F5F2EA; --ink: #1B2433; --head: #7F2A1F; --accent: #7F2A1F;
  --rule: #C9C4B8; --rule-dark: #8E8A80; --muted: #55565E; --dotted: #B5AFA2; --card: #FFFFFF; --pinned: #E3E3E0;
  --blue: #1F3F66;
}
/* Black, white and gray, from the TownGlobe sticker: the day page is white with black type and black header bars;
   night is the sticker itself, a near-black page with white type and black bars ringed in white. */
[data-paper="portcity"] { --surround: #16181B; --paper: #FBF8F1; --ink: #0B0C0E; --head: #0B0C0E; --accent: #3C4046; --rule: #D6D8DB; --rule-dark: #9AA0A6; --muted: #5F6368; --dotted: #C4C7CB; --card: #FFFFFF; --pinned: #F1F3F4; --blue: #3C4046; --bar: #0B0C0E; --bar-ink: #FFFFFF; --bar-ring: transparent; }
[data-paper="night"] { --surround: #0F0F0F; --paper: #181818; --ink: #F2F3F4; --head: #FFFFFF; --accent: #C9CCD0; --rule: #2B2E33; --rule-dark: #4A4F56; --muted: #A3A7AD; --dotted: #3A3E44; --card: #202020; --pinned: #242424; --blue: #C9CCD0; --bar: #000000; --bar-ink: #FFFFFF; --bar-ring: rgba(255,255,255,.85); }

* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--surround); color: var(--ink); font-family: 'Old Standard TT', Georgia, serif; padding: 20px 0; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; color: inherit; }
.sheet { max-width: 1288px; margin: 0 auto; background: var(--paper); border: 1px solid var(--ink); }
.sc, h2, .sections, .boxes h3, .versions .label { font-family: 'IM Fell English SC', Georgia, serif; font-weight: 400; }

/* Header */
.masthead { position: relative; padding: 0 24px; }
/* Day or night: a sun shows at night (tap for day), a moon by day (tap for night). */
.theme-btn { display: flex; align-items: center; justify-content: center; min-height: 32px; min-width: 40px; padding: 0 8px; border: 0; background: none; color: var(--ink); cursor: pointer; }
.theme-btn svg { width: 18px; height: 18px; fill: currentColor; }
/* Text size: one button, a small A and a big A; each tap steps normal -> larger -> largest -> normal. */
.text-size { display: flex; align-items: center; justify-content: center; min-height: 32px; min-width: 40px; padding: 0 8px; border: 0; border-left: 1px solid var(--dotted); background: none; color: var(--ink); font-family: 'Jost', system-ui, sans-serif; font-weight: 600; line-height: 1; cursor: pointer; }
/* The two A's share a baseline, trimmed to their capital height so they center on the menu line like the icon. */
.text-size .aa { display: flex; align-items: baseline; gap: 1px; text-box: trim-both cap alphabetic; }
.text-size .a1 { font-size: 13px; }
.text-size .a2 { font-size: 19px; }
:root[data-size="l"] .text-size, :root[data-size="xl"] .text-size { color: var(--head); }
.titlerow { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; padding: 10px 0 12px; }
.titlerow .left, .titlerow .right { flex: 1 1 0; min-width: 170px; font-size: 13px; line-height: 1.5; }
.titlerow .right { text-align: right; }
.titlerow .center { flex: 0 1 auto; text-align: center; }
/* Front page: sticker, title and slogan in the middle; the edition and "Not the right city?" on the left and the
   day/night and text-size buttons on the right, level with the title. Under it, the folio line between two rules:
   volume and number | date | weather. */
.titlerow.fp { display: grid; grid-template-columns: 1fr auto 1fr; gap: 0 16px; padding: 10px 0 12px; }
.titlerow.fp .left { display: flex; flex-direction: column; align-items: flex-start; gap: 0; justify-self: start; align-self: start; min-width: 0; }
.titlerow.fp .right { display: flex; justify-content: flex-end; justify-self: end; align-self: start; min-width: 0; }
.titlerow.fp .edition .menu { top: 100%; left: 0; }
.not-city { padding: 2px 0; border: 0; background: none; color: var(--muted); font: inherit; font-style: italic; text-decoration: underline; cursor: pointer; }
/* "Not the right city?" is in the header, so the one-time notice under it isn't needed here. */
@media (min-width: 1000px) { #notice { display: none !important; } }
.folio { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 0 12px; padding: 3px 2px; border-top: 3px solid var(--ink); border-bottom: 2px solid var(--ink); font-family: 'Jost', system-ui, sans-serif; font-size: 13px; line-height: 1.4; }
.folio .vol { justify-self: start; white-space: nowrap; letter-spacing: 0.2px; }
.folio #today { justify-self: center; white-space: nowrap; }
.folio #temp { justify-self: end; min-width: 0; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.folio .wx-town { display: none; }
/* The header weather: the temperature and one icon, in place of the words (they're in the link's tooltip and
   read by screen readers). */
.wx-icon { display: none; }
.folio .wx-text { display: none; }
.folio .wx-icon { display: inline; margin-left: 3px; }
.wx-icon svg { width: 17px; height: 17px; fill: currentColor; vertical-align: -3px; }
.wx-sun { color: var(--ink); }
.wx-cloud { color: var(--muted); }
.wx-moon { color: var(--ink); }
.wx-rain { color: var(--blue, #1F3F66); }

/* Tablets and phones: title and slogan, the edition centered under them, the buttons at the top right corner. */
@media (max-width: 999px) {
  .not-city { display: none; }
  .titlerow.fp { display: flex; flex-direction: column; align-items: center; padding-bottom: 6px; }
  .titlerow.fp .center { order: -1; margin-bottom: 4px; }
  .titlerow.fp .left { align-self: center; margin: 0; }
  .titlerow.fp .edition { position: static; }
  .titlerow.fp .edition .menu { top: 100%; left: 50%; transform: translateX(-50%); max-width: calc(100vw - 24px); }
  .titlerow.fp .right { margin: 0; }
  .titlerow.fp .nav-tools { position: absolute; top: 8px; right: 16px; }
  /* Phones: the magnifying glass in the top left corner, the other buttons in the top right. */
  .titlerow.fp .nav-tools { left: 16px; align-items: flex-start; }
  .titlerow.fp .nav-tools .search-link { margin-right: auto; margin-left: -8px; margin-top: 28px; }
  .titlerow.fp .nav-tools button { position: relative; z-index: 1; }
  /* Phones and tablets: "Wrong city? ▾" in the top left corner opens the edition menu (the town is already in the
     nameplate), with the magnifying glass under it. */
  .titlerow.fp .left { position: absolute; top: 8px; left: 16px; z-index: 2; align-self: auto; }
  .titlerow.fp .edition { position: relative; }
  .titlerow.fp .edition .menu { top: 100%; left: 0; transform: none; }
  .titlerow.fp .ed-town { display: none; }
  .titlerow.fp .ed-wrong { display: inline; }
  #editionBtn { min-height: 32px; }
}
.title { font-family: 'Abril Fatface', Georgia, serif; font-size: 50px; line-height: 1; }
.title:hover { text-decoration: none; }
/* The masthead name is the front page's main heading; it keeps the title's own look. */
.site-title { margin: 0; font-size: inherit; font-weight: inherit; line-height: 1; }
/* Headings for search engines and screen readers on pages whose visible headings are section labels. */
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.slogan { margin-top: 2px; font-size: 13px; font-style: italic; color: var(--muted); }
a.wx[href]:hover { text-decoration: underline; }
.d-short, .v-short { display: none; }
/* The edition menu's button reads "Wrong city? ▾" everywhere (the town is already in the nameplate). */
.ed-town { display: none; }
/* The day of the month in the header date: the hidden way into /admin. */
a.secret, a.secret:hover { color: inherit; text-decoration: none; cursor: inherit; }
.edition { position: relative; }
#editionBtn { min-height: 28px; padding: 0; border: 0; background: none; color: var(--head); font-weight: 700; cursor: pointer; }
.menu { position: absolute; z-index: 5; top: 30px; left: 0; width: 260px; margin: 0; padding: 6px; list-style: none; background: var(--card); border: 4px double var(--ink); }
.menu button { width: 100%; min-height: 40px; padding: 0 10px; text-align: left; border: 0; border-bottom: 1px dotted var(--dotted); background: none; cursor: pointer; font-size: 16px; }
.menu button[aria-selected="true"] { background: var(--pinned); }
.menu .hint { padding: 4px 10px 2px; font-size: 12px; font-style: italic; color: var(--muted); text-align: center; }
.menu .all-eds { padding: 8px 10px 0; text-align: center; }
.menu .all-eds a { display: inline-block; padding: 6px 4px; font-weight: 700; color: var(--head); }
.sections { border-top: 1px solid var(--rule); border-bottom: 3px double var(--ink); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 8px; padding: 0 12px; font-size: 15px; }
.sections a { padding: 8px 6px; }
/* Search: a magnifying glass beside the day/night and text-size buttons (and alone at the top right of other pages). */
.search-link { display: flex; align-items: center; justify-content: center; min-height: 36px; min-width: 36px; color: var(--ink); }
.search-link svg { width: 19px; height: 19px; fill: currentColor; }
.search-link:hover { color: var(--head); }
.video-link { display: flex; align-items: center; justify-content: center; min-height: 36px; min-width: 36px; color: #c00; }
.video-link svg { width: 21px; height: 21px; fill: currentColor; }
.video-link:hover { color: var(--head); }
/* The camera sits right under the magnifying glass (the words are for screen readers). */
.video-link span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.titlerow .left:has(.video-link) { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.titlerow .right .search-link { margin-left: auto; }
/* The search box the glass drops, right under it. */
.search-drop { position: absolute; z-index: 20; display: flex; gap: 6px; width: min(440px, calc(100vw - 32px)); padding: 8px; background: var(--card); border: 3px solid var(--ink); box-shadow: 3px 4px 0 rgba(0,0,0,.18); }
.search-drop input { flex: 1; min-width: 0; min-height: 42px; padding: 6px 10px; font: 16px 'Jost', system-ui, sans-serif; color: var(--ink); background: var(--paper); border: 1px solid var(--rule-dark); border-radius: 2px; }
.search-drop button { min-height: 42px; padding: 0 14px; font: 800 13px 'Jost', system-ui, sans-serif; letter-spacing: 1px; text-transform: uppercase; color: var(--paper); background: var(--ink); border: 0; border-radius: 2px; cursor: pointer; }
@media (max-width: 640px) { .search-drop { left: 0; right: 0 !important; width: auto; } }
/* Section headers link to the section's past headlines. */
.h2-link, .h2-link:visited { color: inherit; text-decoration: none; }
.h2-link:hover { text-decoration: underline; text-underline-offset: 3px; }
/* Past headlines (/archive/...) and search (/search/). */
.arc { max-width: 760px; margin: 0 auto; padding: 24px 24px 40px; }
.arc h1 { margin: 0 0 6px; font-family: 'Jost', system-ui, sans-serif; font-weight: 400; font-size: 30px; letter-spacing: 0.5px; color: var(--ink); }
.arc h1 small { font-family: 'Jost', system-ui, sans-serif; font-size: 14px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--head); margin-left: 6px; }
.arc-intro { margin: 0 0 14px; font-family: 'Jost', system-ui, sans-serif; font-size: 14px; line-height: 1.5; color: var(--muted); }
.arc-intro a, .arc-index a { color: var(--head); font-weight: 700; }
.arc-search { display: flex; gap: 8px; margin: 0 0 16px; }
.arc-search input { flex: 1; min-width: 0; min-height: 44px; padding: 8px 12px; font: 16px 'Jost', system-ui, sans-serif; color: var(--ink); background: var(--card); border: 2px solid var(--ink); border-radius: 3px; }
.arc-search button { min-height: 44px; padding: 0 18px; font: 800 14px 'Jost', system-ui, sans-serif; letter-spacing: 1px; text-transform: uppercase; color: var(--paper); background: var(--ink); border: 0; border-radius: 3px; cursor: pointer; }
.arc-count { margin: 0 0 10px; font-family: 'Jost', system-ui, sans-serif; font-size: 14px; font-weight: 700; }
.arc-day { margin: 18px 0 4px; padding: 6px 10px 5px; font-family: 'Jost', system-ui, sans-serif; font-size: 15px; letter-spacing: 1px; text-transform: uppercase; color: var(--paper); background: var(--ink); border: 0; white-space: normal; }
.arc-list { margin: 0; padding: 0; list-style: none; }
.arc-list li { padding: 8px 0; border-bottom: 1px dashed var(--rule-dark); font-family: 'Jost', system-ui, sans-serif; line-height: 1.35; }
.arc-list a { font-weight: 700; font-size: calc(16px * var(--ts)); color: var(--ink); text-decoration: none; }
.arc-list a:hover { text-decoration: underline; }
.arc-meta { font-size: calc(12px * var(--ts)); color: var(--muted); white-space: nowrap; }
.arc-pages { display: flex; justify-content: space-between; margin-top: 18px; font-family: 'Jost', system-ui, sans-serif; font-weight: 800; }
.arc-pages a { color: var(--head); }
.arc-index { margin: 0 0 8px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; font-family: 'Jost', system-ui, sans-serif; font-size: 17px; }
@media (max-width: 640px) { .arc { padding: 16px 16px 30px; } .arc h1 { font-size: 24px; } .arc-meta { white-space: normal; }
  /* Other pages: the magnifying glass at the top right corner, as on the front page. */
  .titlerow:not(.fp) .right:has(.search-link) { position: absolute; top: 0; left: -8px; right: auto; } }
/* Day/night and text-size buttons, with a little room between the sun/moon and the A A. */
.nav-tools { display: flex; align-items: center; gap: 8px; }
.nav-tools button { min-height: 36px; }
.notice { margin: 8px 0 0; font-size: 13px; font-style: italic; color: var(--muted); text-align: center; }

/* Columns */
.grid { display: flex; flex-wrap: wrap; overflow: hidden; margin: 0 12px; padding-top: 14px; }
.col { flex: 1 1 230px; min-width: 0; padding: 0 12px 16px; box-shadow: -1px 0 0 var(--rule); }
/* Election box */
.race { padding: 5px 0 6px; border-bottom: 1px solid var(--rule); }
.race .top { display: flex; justify-content: space-between; gap: 6px; font-size: 13px; line-height: 1.2; }
.race .top a { font-weight: 700; }
.race .rating { font-size: 11px; color: var(--muted); white-space: nowrap; }
.race .bar { display: flex; height: 8px; margin-top: 3px; border: 1px solid var(--ink); background: var(--rule); }
.race .bar span { display: block; height: 100%; }
.race .names { display: flex; justify-content: space-between; gap: 6px; margin-top: 2px; font-size: 11px; }
.race .cands { margin-top: 2px; font-size: 12px; color: var(--ink); }
.race .note { font-size: 11px; font-style: italic; color: var(--muted); }
.group-title { margin-top: 6px; font-family: 'IM Fell English SC', Georgia, serif; font-size: 13px; color: var(--muted); border-bottom: 1px dotted var(--dotted); }
h2.split { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.countdown { font-family: 'Old Standard TT', Georgia, serif; font-size: 12px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.elect-credit { margin-top: 5px; font-size: 11px; font-style: italic; color: var(--muted); }
section { margin-bottom: 24px; }
h2 { margin: 0; padding-bottom: 4px; border-bottom: 3px double var(--ink); color: var(--head); font-size: 20px; line-height: 1.15; }
/* One line, always (app.js fitHeaders steps a long one's type down to fit). */
section > h2, #elections > h2 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
section > h2.split, #elections > h2.split { flex-wrap: nowrap; }
h2.h-short .h-long, h2.h-short .countdown { display: none; }
/* One line at any column width: the text shrinks with the column (up to 12px). */
#local { container-type: inline-size; }
.sponsor { font-size: 12px; line-height: 1.2; white-space: nowrap; overflow: hidden; font-style: italic; color: var(--muted); margin: 2px 0 1px; position: relative; top: -0.5px; }
.sponsor a { color: var(--head); font-style: normal; font-weight: 700; text-decoration: underline; }
.ed-dek { font-size: 12px; line-height: 1.3; font-style: italic; color: var(--muted); margin: 3px 0 1px; }
.stories { list-style: none; margin: 0; padding: 0; }
.stories li { padding: 6px 0; border-bottom: 1px solid var(--rule); }
/* Reading text scales with the reader's text size (the A A button: --ts is 1, 1.15 or 1.3). */
:root { --ts: 1; }
:root[data-size="l"] { --ts: 1.15; }
:root[data-size="xl"] { --ts: 1.3; }
.stories a.h { font-weight: 700; font-size: calc(15px * var(--ts)); line-height: 1.3; }
.stories li.hot a.h { font-size: calc(21px * var(--ts)); }
/* Headlines Scott set in red at /admin: the red of the section-header marks (brighter at night). */
.stories li.red a.h, .stories li.red a.h:visited { color: var(--spot, #C8102E); }
/* A picture over a headline (set at /admin). */
.stories .h-pic { display: block; margin: 2px 0 6px; }
.stories .h-pic img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 2px; background: var(--pinned); }
/* An icon in front of a headline (set at /admin: dumpster fire, poop), the height of the headline's line. */
.stories img.mark { display: inline-block; height: 1.6em; width: auto; vertical-align: -0.4em; margin: -0.25em 6px -0.15em 0; }
/* The headline's last word and the source/+N stay on one line together. */
.stories .keep-meta { white-space: nowrap; }
.stories .keep-meta .src { margin-right: 2px; }
.stories .hot-tag { display: table; margin-bottom: 3px; padding: 1px 6px; background: var(--head); color: var(--paper); font-family: 'IM Fell English SC', Georgia, serif; font-size: 12px; letter-spacing: 1px; }
.src { font-size: calc(12px * var(--ts)); color: var(--muted); white-space: nowrap; }
.more { font-size: calc(12px * var(--ts)); font-weight: 700; padding: 2px; min-height: 20px; border: 0; background: none; color: var(--muted); cursor: pointer; vertical-align: 1px; }
.more[aria-expanded="true"] { color: var(--head); }
.versions { margin-top: 6px; padding: 8px; border: 1px solid var(--rule-dark); background: var(--card); }
.versions .label { font-size: 13px; color: var(--head); margin-bottom: 6px; }
.versions ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.versions a { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 2px 8px 2px 2px; border: 1px solid var(--rule); font-size: 13px; }
.versions a:hover { text-decoration: none; border-color: var(--ink); }
.versions li:first-child a { background: var(--pinned); border-color: var(--ink); }
.badge { flex: none; width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--ink); background: var(--paper); font-size: 9px; font-weight: 700; letter-spacing: 0.3px; }
.empty { font-style: italic; color: var(--muted); font-size: 14px; padding: 8px 0; }

/* Rail */
.radar { display: block; margin-top: 10px; border: 1px solid var(--ink); background: #C9E6EE; }
#radarImg { display: block; width: 100%; height: auto; aspect-ratio: 600 / 550; }
/* The town-centered radar loop (public/radar.js) takes the station loop's place once it's drawn. */
/* Its own stacking layer: Leaflet's map panes (z-index 400 and up) stay inside the box, under menus and the header. */
.radar { position: relative; overflow: hidden; isolation: isolate; z-index: 0; }
.radar-map { display: none; width: 100%; aspect-ratio: 600 / 550; background: #C9E6EE; pointer-events: none; }
.radar-live #radarImg { display: none; }
.radar-live .radar-map { display: block; }
.radar-time, .radar-attr { position: absolute; z-index: 500; pointer-events: none; font: 600 11px/1 'Jost', system-ui, sans-serif; color: #111; background: rgba(255, 255, 255, 0.85); padding: 3px 5px; border-radius: 2px; }
.radar-time { left: 6px; top: 6px; font-size: 12px; }
.radar-attr { right: 0; bottom: 0; font-size: 9px; font-weight: 400; border-radius: 2px 0 0 0; }
.radar:not(.radar-live) .radar-time, .radar:not(.radar-live) .radar-attr { display: none; }
.radar-time:empty { display: none; }
.radar-town { font: 700 12px/1.1 'Jost', system-ui, sans-serif; color: #111; background: rgba(255, 255, 255, 0.9); border: 0; box-shadow: none; padding: 2px 5px; }
.radar-town::before { display: none; }
.credit { margin-top: 3px; font-size: 11px; color: var(--muted); text-align: right; }
/* Four equal columns that always fit the rail; long words ("Thunderstorms") hyphenate instead of spilling out. */
/* Day names in the site's own sans (the old-style serif was the front page's only use of a 57 KB font). */

/* Links */
.links { margin: 0 24px; padding-top: 6px; border-top: 4px double var(--ink); }
.links h2 { color: var(--blue); border-bottom: 1px solid var(--blue); }
.boxes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: hidden; margin: 0 -12px; }
.boxes > div { min-width: 0; padding: 10px 12px 14px; box-shadow: -1px 0 0 var(--rule); border-bottom: 1px solid var(--rule); }
.boxes h3 { margin: 0 0 4px; font-size: 15px; color: var(--blue); border-bottom: 2px solid var(--blue); padding-bottom: 3px; }
.boxes .pol h3 { color: var(--head); border-bottom: 2px solid var(--head); }
.boxes ul { list-style: none; margin: 0; padding: 0; font-size: calc(14px * var(--ts)); line-height: 1.3; }
.boxes li a { display: block; padding: 3px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Every row of boxes is the same height (each box is 12 one-line links), on desktop and phones. */
.boxes:not(.stacked) { grid-auto-rows: 1fr; }
.boxes .label { margin-top: 8px; padding-top: 4px; border-top: 1px dotted var(--dotted); font-family: 'IM Fell English SC', Georgia, serif; font-size: 13px; color: var(--blue); }
.boxes h3 + .label { margin-top: 0; padding-top: 0; border-top: 0; }
@media (max-width: 900px) { .boxes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Footer */
/* A three-column grid: brand left, the site links centered on the page, the update time right; an edition's
   about line and neighbors take whole rows below. Every piece is centered on its horizontal line. */
.foot { margin: 0 24px; padding: 12px 0 22px; border-top: 4px double var(--ink); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px 18px; }
.foot > * { grid-column: 1 / -1; }
.foot .brand { grid-column: 1; grid-row: 1; }
.foot .foot-links { grid-column: 2; grid-row: 1; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 10px; }
.foot .foot-links .dot { font-size: 13px; line-height: 1; color: var(--muted); text-box: trim-both cap alphabetic; }
.foot .updated { grid-column: 3; grid-row: 1; justify-self: end; }
.foot .brand { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }
.foot .t { font-family: 'Abril Fatface', Georgia, serif; font-size: 24px; line-height: 1; }
.foot .s { font-style: italic; font-size: 13px; line-height: 1; color: var(--muted); }
.foot .updated { font-size: 12px; line-height: 1; color: var(--muted); }
.foot .faq-link { font-size: 13px; line-height: 1; color: var(--head); font-weight: 700; text-box: trim-both cap alphabetic; }
/* Trim each piece to its capital-letter height so centering lines up the letters themselves, whatever the font. */
.foot .t, .foot .s, .foot .updated { text-box: trim-both cap alphabetic; }
/* An edition page's neighbors (server-drawn): small, quiet links above the update line. */
.nearby-eds { flex-basis: 100%; font-size: 13px; line-height: 1.6; color: var(--muted); }
.nearby-eds a { color: inherit; }

@media (max-width: 640px) {
  /* Clear of the phone's blurred status bar. */
  body { padding: 10px 0 0; }
  .sheet { border: 0; }
  .masthead, .links, .foot { padding-left: 0; padding-right: 0; margin-left: 16px; margin-right: 16px; }
  .masthead { padding: 0; }
  .grid { margin: 0 4px; }
  /* Title and slogan, then one line: edition | weather | date. */
  .titlerow { flex-direction: column; text-align: center; gap: 2px; padding: 2px 0 6px; font-size: 12px; }
  .titlerow .center { order: -1; margin-bottom: 2px; }
  .titlerow .left, .titlerow .right { flex: none; min-width: 0; text-align: center; font-size: 12px; line-height: 1.4; }
  /* Front page: the folio line keeps its one row; just smaller. */
  .folio { font-size: 11.5px; gap: 0 8px; padding: 2px 0; }
  #editionBtn { min-height: 0; font-size: 12px; }
  .wx-town, .ed-word, .d-long { display: none; }
  .d-short, .v-short { display: inline; }
  .v-long { display: none; }
  .edition .menu { left: 50%; transform: translateX(-50%); }
  .title { font-size: 36px; }
  .slogan { margin-top: 0; font-size: 12px; }
  .sections { justify-content: center; font-size: 14px; padding: 2px 4px; }
  .sections a { padding: 4px 6px; } /* tall enough to tap (24px) */
  /* Phones: the day/night and text-size buttons sit at the top right of the page. */
  .titlerow.fp .nav-tools { top: 0; right: -8px; gap: 6px; }
  .notice { margin: 2px 0 0; font-size: 12px; line-height: 1.3; }
  .notice button { padding-top: 4px !important; padding-bottom: 4px !important; }
  /* Section heads, the sponsor line and the footer center too. */
  h2, .links h2 { text-align: center; }
  /* The first head sits between two rules: letters centered between them. */
  .grid { padding-top: 0; }
  /* One column, in reading order: Local, Top in <state>, The Nation, then A.I., Culture, Music and the rail. The
     columns step aside (display: contents) so their sections can be ordered on their own. */
  .grid { flex-direction: column; flex-wrap: nowrap; }
  .grid > .col { display: contents; }
  .grid > .col > * { order: 10; margin-left: 12px; margin-right: 12px; }
  #local { order: 1; } #trending { order: 2; } #national { order: 3; } #ai { order: 4; } #culture { order: 5; } #music { order: 6; }
  #local h2 { padding: 10px 0; text-box: trim-both cap alphabetic; }
  #local h2 span[aria-hidden] { text-box: none; }
  h2.split { justify-content: center; gap: 0 10px; }
  .sponsor, .ed-dek { text-align: center; }
  /* Phones: the footer is one short centered block. */
  .foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; padding: 8px 0 12px; }
  .foot .foot-links { flex-basis: 100%; }
  .foot .brand { align-items: center; gap: 13px; flex-basis: 100%; margin-bottom: 6px; }
  .foot .t { font-size: 20px; }
  .foot .updated { margin-left: 0; margin-top: 6px; flex-basis: 100%; text-align: center; }
}

/* Link boxes moved up into the right column stack one per row. */
.boxes.stacked { margin: 18px 0 0; overflow: visible; display: block; }
.boxes.stacked > div { box-shadow: none; padding: 8px 0 10px; border-bottom: 1px solid var(--rule); }
.boxes.stacked > div:first-child { border-top: 3px double var(--ink); }

/* Reader polls */
.poll { padding: 8px 0 10px; border-bottom: 1px solid var(--rule); }
.poll .q { font-weight: 700; font-size: 15px; line-height: 1.25; }
.poll .opts { display: flex; flex-direction: column; gap: 5px; margin-top: 7px; }
.poll button.opt { position: relative; min-height: 36px; padding: 0 10px; text-align: left; border: 1px solid var(--ink); background: var(--paper); cursor: pointer; font-size: 14px; overflow: hidden; }
.poll button.opt:hover { background: var(--pinned); }
.poll button.opt .fill { position: absolute; inset: 0 auto 0 0; background: var(--pinned); z-index: 0; }
.poll button.opt.mine .fill { background: color-mix(in srgb, var(--head) 22%, var(--paper)); }
.poll button.opt .lbl { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 8px; }
.poll button.opt.mine { border-width: 2px; }
.poll .fine { margin-top: 5px; font-size: 11px; font-style: italic; color: var(--muted); }

.elect-more { display: block; margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--head); }

/* ---------- Fun look: bolder type, label-tape section heads, rotating sticker ---------- */
[data-look="fun"] body { font-family: 'Jost', system-ui, sans-serif; }
/* The sticker sits centered on its own line above the title. */
[data-look="fun"] .titlerow .center { position: relative; }
[data-look="fun"] .title { display: inline-block; }
[data-look="fun"] .sticker { display: block; height: 56px; margin: 0 auto 6px; filter: drop-shadow(2px 3px 0 rgba(0,0,0,.25)); }
[data-look="fun"] .sticker img { display: block; height: 100%; width: auto; max-width: 128px; margin: 0 auto; object-fit: contain; }
/* Fun look: an icon in place of each section header's star (a bolt unless the section has its own). */
[data-look="fun"] h2 span[aria-hidden] { display: inline-block; width: 1em; height: 1em; vertical-align: -0.12em; background: var(--bar-ink, #fff); color: transparent; overflow: hidden; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
[data-look="fun"] h2 { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13 2 4 14h6l-1 8 9-12h-6l1-8z'/%3E%3C/svg%3E"); }
[data-look="fun"] #national h2 { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 21V3h2v1h12l-2.5 4.5L19 13H7v8z'/%3E%3C/svg%3E"); }
[data-look="fun"] #ai h2 { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M9 2v3H7a2 2 0 0 0-2 2v2H2v2h3v2H2v2h3v2a2 2 0 0 0 2 2h2v3h2v-3h2v3h2v-3h2a2 2 0 0 0 2-2v-2h3v-2h-3v-2h3V9h-3V7a2 2 0 0 0-2-2h-2V2h-2v3h-2V2zm0 7h6v6H9z'/%3E%3C/svg%3E"); }
[data-look="fun"] #culture h2 { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 10h16v9a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1zm-.5-5.2 15.7-2.7.5 3-15.7 2.7zm3 .2 2.3 2.4 1.9-.3-2.3-2.4zm4.3-.7 2.3 2.4 1.9-.3-2.3-2.4z'/%3E%3C/svg%3E"); }
[data-look="fun"] #music h2 { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 3v11.6A3.5 3.5 0 1 0 11 18V8h8V3z'/%3E%3C/svg%3E"); }
[data-look="fun"] #elections h2 { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M3 3h18v18H3zm7 13.5 8-8-1.4-1.4-6.6 6.6-2.6-2.6L6 12.5z'/%3E%3C/svg%3E"); }
[data-look="fun"] #polls h2 { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 20V10h4v10zm6 0V4h4v16zm6 0v-7h4v7z'/%3E%3C/svg%3E"); }
[data-look="fun"] #weather h2 { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 7a5 5 0 1 0 0 10 5 5 0 0 0 0-10zM11 1h2v4h-2zm0 18h2v4h-2zM1 11h4v2H1zm18 0h4v2h-4zM4.2 2.8 7 5.6 5.6 7 2.8 4.2zm14.2 14.2 2.8 2.8-1.4 1.4-2.8-2.8zM2.8 19.8 5.6 17 7 18.4l-2.8 2.8zM17 5.6l2.8-2.8 1.4 1.4L18.4 7z'/%3E%3C/svg%3E"); }
[data-look="fun"] #trending h2 { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1s1.5 4.5-1.5 8S6 14 6 16.5a6 6 0 0 0 12 0c0-3.5-2.5-5-2.5-8.5 0 0-1.5 2.5-2.5 2.5 0-4.5-1-7-1-9.5z'/%3E%3C/svg%3E"); }
[data-look="fun"] #politics h2 { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 10v4h3l5 4V6l-5 4H3zm13.5 2A4.5 4.5 0 0 0 14 8v8a4.5 4.5 0 0 0 2.5-4zM14 3.2v2.1a7 7 0 0 1 0 13.4v2.1a9 9 0 0 0 0-17.6z'/%3E%3C/svg%3E"); }
[data-look="fun"] #links h2 { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10.6 13.4a4 4 0 0 1 0-5.7l3-3a4 4 0 0 1 5.7 5.7l-1.5 1.5-1.4-1.4 1.5-1.5a2 2 0 0 0-2.9-2.9l-3 3a2 2 0 0 0 0 2.9zm2.8-2.8a4 4 0 0 1 0 5.7l-3 3a4 4 0 0 1-5.7-5.7l1.5-1.5 1.4 1.4-1.5 1.5a2 2 0 0 0 2.9 2.9l3-3a2 2 0 0 0 0-2.9z'/%3E%3C/svg%3E"); }
[data-look="classic"] .sticker { display: none; }
[data-look="fun"] .title { font-family: 'Jost', system-ui, sans-serif; font-size: 52px; letter-spacing: 1px; vertical-align: middle; }
[data-look="fun"] .slogan { font-family: 'Jost', system-ui, sans-serif; font-style: normal; font-weight: 800; text-transform: uppercase; letter-spacing: 3px; font-size: 12px; color: var(--head); }
[data-look="fun"] .sections, [data-look="fun"] .boxes h3, [data-look="fun"] .group-title, [data-look="fun"] .boxes .label { font-family: 'Jost', system-ui, sans-serif; letter-spacing: 1px; }
[data-look="fun"] .sections { border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); font-size: 14px; text-transform: uppercase; }
[data-look="fun"] .grid h2, [data-look="fun"] .links h2, [data-look="fun"] .pol h2 {
  font-family: 'Jost', system-ui, sans-serif; text-transform: uppercase; letter-spacing: 1.5px; font-size: 17px;
  background: var(--bar); color: var(--bar-ink); border: 0; box-shadow: inset 0 0 0 1px var(--bar-ring); padding: 7px 10px 6px; margin-bottom: 4px; }
[data-look="fun"] .grid h2 span[aria-hidden], [data-look="fun"] .links h2 span[aria-hidden] { color: var(--bar-ink); }
[data-look="fun"] .countdown { color: var(--bar-ink); }
[data-look="fun"] .stories a.h { font-family: 'Jost', system-ui, sans-serif; font-weight: 700; font-size: calc(15px * var(--ts)); letter-spacing: -0.1px; }
[data-look="fun"] .stories li { border-bottom: 1px dashed var(--rule-dark); }
[data-look="fun"] .stories li.hot a.h { font-family: 'Jost', system-ui, sans-serif; font-weight: 400; font-size: calc(22px * var(--ts)); letter-spacing: 0.3px; }
[data-look="fun"] .stories .hot-tag { font-family: 'Jost', system-ui, sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; background: var(--bar); color: var(--bar-ink); box-shadow: inset 0 0 0 1px var(--bar-ring); }
[data-look="fun"] .more, [data-look="fun"] .src { font-family: 'Jost', system-ui, sans-serif; }
[data-look="fun"] .foot .t { font-family: 'Jost', system-ui, sans-serif; }
[data-look="fun"] .foot { border-top: 4px solid var(--ink); }
[data-look="fun"] .links { border-top: 4px solid var(--ink); }
@media (max-width: 640px) {
  [data-look="fun"] .title { font-size: 36px; }
  [data-look="fun"] .sections { font-size: 12px; letter-spacing: 0; padding: 2px 0; gap: 0 2px; }
  [data-look="fun"] .sections a { padding: 3px 4px; }
  [data-look="fun"] .sticker { height: 40px; margin-bottom: 2px; }
}
/* Edition finder inside the edition menu */
.menu .zip-box { padding: 6px 6px 2px; }
.menu .zip-label { font-weight: 700; margin-bottom: 6px; }
.menu .zip-form { display: flex; gap: 6px; }
.menu .zip-box .zip-locate { width: 100%; min-height: 40px; margin-bottom: 6px; padding: 0 10px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); text-align: center; font-weight: 700; }
.menu .zip-input { flex: 1; min-width: 0; height: 40px; padding: 0 8px; font-size: 16px; border: 1px solid var(--ink); background: var(--card); color: var(--ink); }
.menu .zip-form .zip-go { width: auto; min-height: 40px; padding: 0 14px; border: 1px solid var(--ink); text-align: center; font-weight: 700; }
.menu .zip-results { list-style: none; margin: 6px -10px 0; padding: 0; max-height: 50vh; overflow-y: auto; }
.menu .zip-mi { font-size: 13px; color: var(--muted); }
.menu .zip-actions { display: flex; gap: 6px; padding: 6px 10px; }
.menu .zip-actions button { width: auto; flex: 1; min-height: 40px; border: 1px solid var(--dotted); text-align: center; font-size: 14px; }

/* Announcement bar from /admin, above the Local section header. */
/* Scott's announcement: a bar the width of the page under the date and weather line (render.js announceBar). */
.announce { margin: 10px 24px 4px; padding: 10px 14px; background: var(--head); color: var(--paper); font-weight: 700; font-size: 15px; line-height: 1.35; text-align: center; border-radius: 2px; }
.announce[hidden] { display: none; }
@media (max-width: 640px) { .announce { margin: 8px 16px 2px; } .ann-scroll .ann-text { min-width: calc(100vw - 32px); } }
.announce a { color: inherit; text-decoration: underline; }
/* Scrolling: the message runs right to left and loops; it stops while the pointer is on it. */
.ann-scroll { overflow: hidden; padding-left: 0; padding-right: 0; text-align: left; }
.ann-track { display: flex; width: max-content; animation: ann-run var(--ann-secs, 20s) linear infinite; }
.ann-scroll:hover .ann-track { animation-play-state: paused; }
/* Each copy is at least as wide as the bar, so a short message never leaves the bar half empty as it loops. */
.ann-scroll .ann-text { flex: none; box-sizing: border-box; min-width: calc(min(100vw, 1288px) - 48px); padding: 0 6em 0 14px; white-space: nowrap; }
@keyframes ann-run { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ann-track { animation: none; width: auto; }
  .ann-scroll { text-align: center; padding: 10px 14px; }
  .ann-scroll .ann-text { white-space: normal; padding: 0; }
  .ann-scroll .ann-text + .ann-text { display: none; }
}

/* The not-found page and every edition by state (/local/) follow the reader's look like the About page:
   Classic has small-caps heads; Modern has the label-tape bars and Archivo. */
.titlerow .left a { color: var(--head); font-weight: 700; }
[data-look="fun"] .lost h1, [data-look="fun"] .dir h2 { font-family: 'Jost', system-ui, sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: 1.5px;
  background: var(--ink); color: var(--paper); border: 0; padding: 7px 10px 6px; }
[data-look="fun"] .lost h1 { font-size: 20px; }
@media (max-width: 640px) { [data-look="fun"] .lost h1 { font-size: 16px; } }
[data-look="fun"] .dir h2 { font-size: 15px; }
[data-look="fun"] .lost nav { font-family: 'Jost', system-ui, sans-serif; font-weight: 700; font-size: 15px; }
[data-look="fun"] .lost p, [data-look="fun"] .dir li { font-family: 'Jost', system-ui, sans-serif; }

/* Police video (/video/): a grid of thumbnails that turn into the player when tapped. */
.arc.vid { max-width: 1100px; }
.vid-group { margin: 18px 0 8px; }
.vid-group h2 { margin: 0 0 12px; white-space: normal; }
/* The section bars on /video/ (county, state, nation) in the red of the camera at the top and the ✕ circles. */
.vid-group h2, :root[data-paper] .vid-group h2 { background: #c00; color: #FFFFFF; }
/* 4 across, 2 on tablets, 1 on phones: every section is whole rows of 4 (scripts/videos.mjs), so no row is left part-full. */
.vid-grid { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 18px; }
@media (max-width: 999px) { .vid-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.vc { display: flex; flex-direction: column; gap: 6px; min-width: 0; font-family: 'Jost', system-ui, sans-serif; line-height: 1.3; }
.vc-play { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: 3px; overflow: hidden; background: var(--ink); cursor: pointer; }
.vc-play img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vc-btn { position: absolute; left: 50%; top: 50%; width: 56px; height: 40px; margin: -20px 0 0 -28px; border-radius: 10px; background: rgba(0, 0, 0, 0.72); }
.vc-btn::after { content: ''; position: absolute; left: 23px; top: 12px; border-style: solid; border-width: 8px 0 8px 14px; border-color: transparent transparent transparent #fff; }
.vc-play:hover .vc-btn, .vc-play:focus-visible .vc-btn { background: #c00; }
.vc-story { display: flex; align-items: flex-end; padding: 10px 12px; color: var(--paper); text-decoration: none; font-weight: 700; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; }
.vc-frame { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 3px; background: #000; }
.vc-t { font-weight: 700; font-size: calc(15px * var(--ts)); color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.vc-t:hover { text-decoration: underline; }
.vc-m { font-size: calc(12px * var(--ts)); color: var(--muted); }
.vc { position: relative; }
.vc-x { position: absolute; top: 6px; right: 6px; z-index: 2; width: 36px; height: 36px; padding: 0; border: 2px solid #fff; border-radius: 50%; background: #c00; color: #fff; font: 700 18px/1 system-ui, sans-serif; cursor: pointer; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5); }
.vc-x:disabled { opacity: 0.5; cursor: default; }
.vc-new { animation: vc-new 2.4s ease-out; }
@keyframes vc-new { from { background: rgba(204, 0, 0, 0.18); box-shadow: 0 0 0 8px rgba(204, 0, 0, 0.18); } to { background: transparent; box-shadow: 0 0 0 8px transparent; } }
.vid-add { margin: 16px 0 6px; padding: 14px 16px; border: 2px solid #c00; border-radius: 4px; background: var(--card); font-family: 'Jost', system-ui, sans-serif; }
.vid-add h2 { margin: 0 0 10px; font-size: 15px; }
.vid-add-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.vid-add label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; color: var(--muted); }
.vid-add label:first-child { flex: 1 1 260px; }
.vid-add input, .vid-add select { min-height: 40px; padding: 6px 10px; border: 1px solid var(--rule-dark); border-radius: 3px; background: var(--paper); color: var(--ink); font: inherit; font-size: 15px; font-weight: 400; }
.vid-add button { min-height: 40px; padding: 0 16px; border: 0; border-radius: 3px; background: #c00; color: #fff; font: 700 15px 'Jost', system-ui, sans-serif; cursor: pointer; }
.vid-add button:disabled { opacity: 0.6; cursor: default; }
.vid-add-msg { margin: 8px 0 0; font-size: 14px; color: var(--ink); }
.vid-add-msg:empty { display: none; }
.vid-more { margin: 14px 0 0; font-family: 'Jost', system-ui, sans-serif; }
.vid-more a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 2px solid var(--ink); border-radius: 3px; color: var(--ink); font-weight: 700; font-size: 15px; text-decoration: none; }
.vid-more a:hover { background: var(--ink); color: var(--paper); }
main.vid[data-page] .vid-grid { margin-top: 18px; }
.vid-pager { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 24px 0 0; padding: 10px 0; border-top: 1px solid var(--rule); font-family: 'Jost', system-ui, sans-serif; font-size: 15px; }
.vid-pager a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 2px solid var(--ink); border-radius: 3px; color: var(--ink); font-weight: 700; text-decoration: none; }
.vid-pager a:hover { background: var(--ink); color: var(--paper); }
.vid-note { margin: 22px 0 0; font-family: 'Jost', system-ui, sans-serif; font-size: 13px; line-height: 1.5; color: var(--muted); }
@media (max-width: 640px) { .vid-grid { grid-template-columns: 1fr; } }
/* One video's page (/video/watch/<id>/): the player full width, who posted it, Share, then more video. */
.arc.watch h1 { margin: 6px 0 14px; font-size: calc(26px * var(--ts)); line-height: 1.2; text-transform: none; letter-spacing: 0; overflow-wrap: anywhere; }
.watch-crumbs { margin: 0; }
.watch-player { position: relative; width: 100%; max-width: 960px; aspect-ratio: 16 / 9; background: #000; border-radius: 3px; overflow: hidden; }
.watch-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.watch-about { margin: 12px 0 0; }
.watch-meta { margin: 6px 0 0; font-family: 'Jost', system-ui, sans-serif; font-size: 14px; color: var(--muted); }
.watch-meta a { color: inherit; }
.watch-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 16px 0 6px; font-family: 'Jost', system-ui, sans-serif; font-size: 15px; }
.watch-share .share-btn { min-height: 44px; padding: 0 18px; border: 0; border-radius: 3px; background: #c00; color: #fff; font: 700 15px 'Jost', system-ui, sans-serif; cursor: pointer; }
.watch-share a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-weight: 700; }
.watch-share .share-msg { flex-basis: 100%; font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
.watch-share .share-msg:empty { display: none; }
.watch .vid-group { margin-top: 26px; }
@media (max-width: 640px) { .arc.watch h1 { font-size: calc(21px * var(--ts)); } .watch-share { gap: 6px 14px; } }
/* An edition page's police video row: 2 across on phones (4 stacked full width ran a screen and a half). */
@media (max-width: 640px) { .vid-strip .vid-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; } .vid-strip .vc-t { font-size: calc(13px * var(--ts)); } .vid-strip .vc-x { width: 30px; height: 30px; font-size: 15px; } }
[data-look="fun"] .vid-group h2 { font-family: 'Jost', system-ui, sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: 1.5px; font-size: 15px;
  background: var(--ink); color: var(--paper); border: 0; padding: 7px 10px 6px; }

/* Every edition, by state (/local/). */
.lost.dir { max-width: 1100px; text-align: left; }
.dir h1, .dir > p { text-align: center; }
.dir-states { margin-bottom: 18px; font-size: 15px !important; }
.dir section { margin-top: 18px; }
.dir h2 { margin: 0 0 6px; padding-bottom: 3px; border-bottom: 1px solid var(--rule); font-size: 20px; font-weight: 400; color: var(--head); }
.dir ul { margin: 0; padding: 0; list-style: none; columns: 4 150px; column-gap: 24px; }
.dir li { padding: 3px 0; font-size: 15px; break-inside: avoid; }
.dir li a { color: var(--ink); }
.dir h2 a { color: inherit; text-decoration: none; }
.dir-pop { color: var(--muted, #777); font-size: 12px; font-variant-numeric: tabular-nums; }
.ed-about p { margin: 0 0 6px; }
/* Front page: the name grows with the screen, to about half the page's width on a wide monitor (84px), with the
   sticker hanging off its left side (the name itself stays centered) and the slogan in proportion; the edition
   and the buttons sit at the top corners. Phones keep their own sizes, the sticker above the name. */
[data-look="fun"] .titlerow.fp .title { position: relative; font-size: clamp(47px, 5.94vw, 75.6px); }
[data-look="fun"] .titlerow.fp .sticker { position: absolute; right: calc(100% + 0.18em); top: 50%; transform: translateY(-50%); height: clamp(60px, 6.6vw, 88px); margin: 0; }
.titlerow.fp { padding-top: 6px; }
.titlerow.fp .center { padding-top: 22px; }
[data-look="fun"] .titlerow.fp .slogan { margin-top: 4px; font-size: clamp(12px, 1.05vw, 14px); letter-spacing: clamp(3px, 0.32vw, 4px); }
@media (max-width: 640px) {
  [data-look="fun"] .titlerow.fp .title { font-size: 32.4px; }
  [data-look="fun"] .titlerow.fp .sticker { position: static; transform: none; height: 40px; margin: 0 auto 2px; }
  .titlerow.fp .center { padding-top: 0; }
  [data-look="fun"] .titlerow.fp .slogan { margin-top: 0; font-size: 12px; letter-spacing: 3px; }
}

/* ---------- The TownGlobe look: one geometric sans (Jost), capitals with wide spacing for names and headers,
   like the sticker's lettering. ---------- */
[data-look="fun"] .title { font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; }
[data-look="fun"] .slogan { font-weight: 400; letter-spacing: 0.32em; color: var(--muted); }
[data-look="fun"] .grid h2, [data-look="fun"] .links h2, [data-look="fun"] .pol h2, [data-look="fun"] .lost h1, [data-look="fun"] .dir h2, .arc-day { font-weight: 500; letter-spacing: 0.14em; }
[data-look="fun"] .sections, [data-look="fun"] .boxes h3, [data-look="fun"] .group-title, [data-look="fun"] .boxes .label, [data-look="fun"] .foot .t { font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; }
[data-look="fun"] .stories a.h { font-weight: 600; letter-spacing: 0; }
[data-look="fun"] .stories li.hot a.h { font-weight: 600; letter-spacing: -0.2px; }
.arc h1 { font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; }
.announce { background: var(--bar); color: var(--bar-ink); box-shadow: inset 0 0 0 1px var(--bar-ring); }
/* The colors Scott can pick at /admin (scripts/admin-edits.mjs ANN_COLORS); "default" keeps the bar color above. */
.announce.ann-red { background: #c00; color: #fff; box-shadow: none; }
.announce.ann-blue { background: #1d4ed8; color: #fff; box-shadow: none; }
.announce.ann-green { background: #15803d; color: #fff; box-shadow: none; }
.announce.ann-yellow { background: #facc15; color: #111; box-shadow: none; }
.announce.ann-black { background: #111; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35); }

/* Reading type: Inter for the headlines and everything set in sentences (it has taller lowercase and opener letters
   than Jost, so long lists read easily); Jost stays for the name, the section bars, labels and the folio. */
[data-look="fun"] body, [data-look="fun"] .stories a.h, [data-look="fun"] .stories li.hot a.h, [data-look="fun"] .more, [data-look="fun"] .src,
[data-look="fun"] .lost p, [data-look="fun"] .dir li, .arc-intro, .arc-list li, .arc-count, .search-drop input, .arc-search input { font-family: 'Inter', system-ui, sans-serif; }
[data-look="fun"] .stories a.h { font-weight: 600; letter-spacing: -0.1px; line-height: 1.38; }
[data-look="fun"] .stories li.hot a.h { font-weight: 650; letter-spacing: -0.4px; }

/* ---------- Newsprint headers: each section's name centered between double rules (no solid bars), with one spot
   color, red, on the section icons. The paper is a light creme by day. ---------- */
[data-paper="portcity"] { --spot: #C8102E; --card: #FFFDF8; --pinned: #F2EEE4; }
[data-paper="night"] { --spot: #FF5A4E; }
[data-look="fun"] .grid h2:not(.split), [data-look="fun"] .links h2, [data-look="fun"] .pol h2 {
  display: flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap;
  background: none; color: var(--ink); box-shadow: none; border: 0; padding: 6px 0 7px; margin-bottom: 2px; }
[data-look="fun"] .grid h2:not(.split)::before, [data-look="fun"] .grid h2:not(.split)::after,
[data-look="fun"] .links h2::before, [data-look="fun"] .links h2::after,
[data-look="fun"] .pol h2::before, [data-look="fun"] .pol h2::after { content: ''; flex: 1 1 0; min-width: 14px; border-top: 3px double var(--ink); }
[data-look="fun"] .grid h2.split { background: none; color: var(--ink); box-shadow: none; padding: 6px 0 5px; border-top: 3px double var(--ink); border-bottom: 3px double var(--ink); }
[data-look="fun"] h2 span[aria-hidden], [data-look="fun"] .grid h2 span[aria-hidden], [data-look="fun"] .links h2 span[aria-hidden] { background: var(--spot); color: transparent; }
[data-look="fun"] .countdown { color: var(--spot); }
/* The folio's middle: the date, then when the headlines were last gathered. */
.folio .folio-mid { justify-self: center; white-space: nowrap; }
.folio .upd { margin-left: 0.6em; padding-left: 0.6em; border-left: 1px solid var(--rule-dark); color: var(--spot, var(--muted)); font-weight: 500; }
.folio .upd:empty { display: none; }
/* Under the radar: one link to the full forecast. */
#weather .credit { display: block; margin-top: 6px; text-align: center; font-family: 'Jost', system-ui, sans-serif; font-weight: 600; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); }

/* ---------- TownGlobe nameplate: TOWN, the globe, GLOBE, with the edition's town in Baskerville SemiBold Italic
   (TG Town above) centered over the globe, in the name's own color. The globe is about a third taller than the
   capitals and turned to the edition's town with a red pin on it (scripts/globe.mjs). app.js shrinks the town only
   when a long name won't fit. Pages with no town show just the name. ---------- */
.title.tg { display: inline-block; line-height: 1; padding-top: 0.5em; }
.title.tg:has(.tg-town:empty) { padding-top: 0; }
.tg-name { display: block; white-space: nowrap; }
.tg-globe { position: relative; display: inline-block; width: 1.4em; height: 1.4em; margin: 0 0.05em 0 -0.07em; vertical-align: -0.35em; }
.tg-globe svg { display: block; width: 100%; height: 100%; overflow: visible; }
/* The footer logo: the same globe between TOWN and GLOBE, facing the U.S., with no pin. */
.foot-globe { display: inline-block; width: 1.15em; height: 1.15em; margin: -0.3em 0.09em -0.3em -0.05em; vertical-align: 0.095em; }
.foot-globe svg { display: block; width: 100%; height: 100%; overflow: visible; }
.tg-town { position: absolute; left: 50%; bottom: calc(96% + 0.28em); transform: translateX(-50%); white-space: nowrap;
  font-family: 'TG Town', 'Baskerville', 'Baskervville', Georgia, serif; font-style: italic; font-weight: 600; text-transform: none; letter-spacing: 0;
  color: var(--ink); font-size: clamp(21px, 2.31vw, 30.8px); line-height: 1.15; }
.tg-town:empty { display: none; }
@media (max-width: 640px) {
  .tg-town { font-size: 18.9px; }
  .title.tg { padding-top: 0.6em; }
  /* Below the buttons in the top corner (where the sticker used to sit). */
  .titlerow.fp .center { padding-top: 34px; }
}
.g-sea { fill: var(--paper); }
.g-land { fill: var(--globe-land, #CFCAC0); }
.g-grat { fill: none; stroke: var(--rule-dark); stroke-width: 0.8; opacity: 0.7; }
.g-rim { fill: none; stroke: var(--ink); stroke-width: 2; }
.g-pin { fill: var(--spot, #C8102E); stroke: none; }
.g-pin-hole { fill: var(--paper); }
[data-paper="night"] { --globe-land: #4A4F56; }

/* ---------- Masthead, Nov 2026: the magnifying glass top left, day/night and text size top right, "Wrong city? ▾"
   under the end of GLOBE. Computers: a bigger name with the town in script above TOWN. Phones and tablets: "Wrong
   city?" top left with the glass under it, the town centered over the globe. ---------- */
.titlerow.fp .left { align-self: start; }
.titlerow.fp .left .search-link, .titlerow.fp .left .video-link { margin-left: -8px; }
.titlerow .left a.video-link { color: #c00; }
.titlerow .left a.video-link:hover { color: var(--head); }
.titlerow.fp .center { position: relative; }
.titlerow.fp .edition { position: absolute; right: 0; top: 100%; margin-top: -8px; text-align: right; z-index: 3; font-size: 13px; }
.titlerow.fp #editionBtn { font-size: 13px; min-height: 24px; }
.titlerow.fp .edition .menu { left: auto; right: 0; transform: none; text-align: left; }
@media (min-width: 1000px) {
  /* Compact: the name close to the top, "Wrong city?" tucked beside the bottom of the globe. */
  .titlerow.fp { padding-top: 7px; padding-bottom: 10px; }
  .titlerow.fp .center { padding-top: 6px; }
  .titlerow.fp .edition { margin-top: -26px; }
  [data-look="fun"] .titlerow.fp .title { font-size: clamp(52px, 7.9vw, 103px); }
  .titlerow.fp .tg-globe { position: static; }
  .titlerow.fp .tg-town { left: 0.04em; top: calc(3px - 0.22em); bottom: auto; transform: none; }
  .titlerow.fp .title.tg { padding-top: 0.05em; }
}
@media (max-width: 999px) {
  .titlerow.fp .center { position: static; }
  .titlerow.fp .nav-tools { left: auto; }
  .titlerow.fp .edition { top: 8px; left: 16px; right: auto; margin: 0; text-align: left; }
  .titlerow.fp .edition .menu { left: 0; right: auto; }
  .titlerow.fp .left { position: absolute; top: 40px; left: 16px; z-index: 2; }
}
@media (max-width: 640px) {
  .titlerow.fp .edition { top: 2px; left: 0; }
  .titlerow.fp .left { top: 34px; left: 0; }
}

/* Newsprint grain behind the name (not the date line under it), edge to edge: a faint speckle like the paper newspapers are printed on, drawn in code (no
   image to download). Dark specks by day, light ones at night. */
.titlerow.fp { background-image: var(--grain); background-size: 220px 220px; margin-left: -24px; margin-right: -24px; padding-left: 24px; padding-right: 24px; }
[data-paper="portcity"] { --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.1 0 0 0 0 0.1 0 0 0 0.3 -0.135'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
[data-paper="night"] { --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.2 -0.090'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
/* Phones: the grain runs edge to edge, so the masthead pads its contents instead of sitting inset. */
@media (max-width: 640px) {
  .masthead { margin-left: 0; margin-right: 0; padding: 0 16px; }
  .titlerow.fp { margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; }
  .titlerow.fp .edition { left: 16px; }
  .titlerow.fp .left { left: 16px; }
  .titlerow.fp .nav-tools { right: 8px; }
}
