/* Tabloid: a red slab nameplate, a black slab Headline, MUST READ pins, heavy black rules. */
:root { --ink: #0b0b0b; --paper: #fff; --red: #e10600; --yellow: #ffe500; --muted: #6b6b6b; --slab: #0b0b0b; --on-yellow: #0b0b0b; --hot: #e10600; --display: "Anton", Impact, "Arial Narrow", sans-serif; --body: "Archivo", Arial, Helvetica, sans-serif; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.35 var(--body); }
a { color: var(--ink); }
main { max-width: 1100px; margin: 0 auto; padding: 16px; display: grid; gap: 14px; }
.masthead { background: var(--red); color: #fff; text-align: center; padding: 10px; transform: skew(-4deg); }
.masthead h1 { font: 400 clamp(40px, 10vw, 92px)/.9 var(--display); letter-spacing: .02em; margin: 0; }
.dateline { font-weight: 700; letter-spacing: .1em; font-size: 12px; text-transform: uppercase; margin-top: 4px; }
.lead { background: var(--slab); color: #fff; padding: 18px; text-align: center; }
.lead > a { color: #fff; font: 400 clamp(29px, 6.8vw, 66px)/.95 var(--display); text-transform: uppercase; text-decoration: none; text-wrap: balance; }
.lead > a:hover { text-decoration: underline; }
.lead .note { display: inline-block; background: var(--yellow); color: var(--ink); padding: 4px 8px; margin-top: 10px; font-weight: 700; font-style: normal; }
.lead .meta { color: #bbb; margin-top: 8px; }
.lead .why, .pinned .why { font-size: 14px; line-height: 1.35; margin-top: 8px; text-wrap: pretty; }
.lead .why { color: #ddd; max-width: 720px; margin-left: auto; margin-right: auto; font-size: 15px; }
.lead .why strong, .pinned .why strong { font: 400 13px/1 var(--display); text-transform: uppercase; letter-spacing: .03em; margin-right: 2px; }
.lead .why strong { color: var(--yellow); }
.pinned { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; }
.pinned:empty { display: none; }
.pinned li { border: 4px solid var(--ink); padding: 10px; min-width: 0; }
.pinned li::before { content: "MUST READ"; display: inline-block; background: var(--yellow); font: 400 14px/1 var(--display); padding: 3px 6px; margin-bottom: 6px; }
.pinned li > a { display: block; font: 400 24px/1.05 var(--display); text-transform: uppercase; text-decoration: none; }
.pinned li > a:hover, .cols li > a:hover { text-decoration: underline; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { display: inline-block; font: 400 17px/1 var(--display); text-transform: uppercase; letter-spacing: .02em; color: var(--ink); background: var(--paper); border: 3px solid var(--ink); padding: 6px 12px; text-decoration: none; }
.pill:hover { text-decoration: underline; }
.pill.on { background: var(--yellow); }
@media (max-width: 400px) { .pills { gap: 6px; } .pill { font-size: 14px; padding: 6px 8px; border-width: 2px; } }
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; border-top: 6px solid var(--ink); }
.cols ul { list-style: none; margin: 0; padding: 0; }
.cols li { padding: 10px 0; border-bottom: 3px solid var(--ink); }
.cols li > a { font: 900 17px/1.15 var(--body); text-decoration: none; }
/* A red headline is a big story, nothing else (his pick, Nov 13). */
.cols li.big > a, .top li.big a:not(.talk) { color: var(--hot); }
/* Each group of related stories is a box like the pins (his pick, Nov 2): thin rules inside, white space between. */
.cols li.in-group { border-left: 4px solid var(--ink); border-right: 4px solid var(--ink); padding: 10px 12px; --edge: 4px; }
.cols li.group-start { border-top: 4px solid var(--ink); margin-top: 16px; }
.cols li.group-end { border-bottom: 4px solid var(--ink); }
.note { font-size: 14px; margin-top: 3px; white-space: pre-wrap; }
.tags { margin-top: 4px; font: 700 11px/1.3 var(--body); letter-spacing: .04em; text-transform: uppercase; }
.tags a { display: inline-block; max-width: 100%; color: var(--ink); text-decoration: none; padding: 2px 0; }
.tags a:hover { text-decoration: underline; }
.tags .sep { color: var(--muted); margin: 0 5px; }
.lead .tags { margin-top: 10px; font-size: 13px; }
.lead .tags a { color: var(--yellow); }
.lead .tags .sep { color: #bbb; }
.filter { border: 4px solid var(--ink); padding: 12px 14px; display: flex; align-items: center; gap: 8px 14px; flex-wrap: wrap; font: 400 22px/1.2 var(--display); text-transform: uppercase; }
.filter-name { background: var(--yellow); padding: 2px 8px; }
.filter-count { font: 700 12px/1.2 var(--body); color: var(--muted); }
.filter-actions { margin-left: auto; display: flex; gap: 8px 14px; align-items: center; flex-wrap: wrap; }
.filter-actions a, .filter-actions button { font: 700 13px/1.2 var(--body); color: var(--ink); }
.filter-actions button { background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font: 700 12px/1.2 var(--body); text-transform: uppercase; }
.chips a { background: var(--yellow); color: var(--ink); text-decoration: none; padding: 5px 8px; }
.chips a:hover { text-decoration: underline; }
/* The one-line mailing list row at the top, for readers who never reach the box at the bottom. */
.join-row { display: flex; align-items: center; gap: 8px; min-width: 0; }
.join-row label span { display: inline-block; background: var(--yellow); font: 400 18px/1 var(--display); text-transform: uppercase; letter-spacing: .02em; padding: 5px 8px; white-space: nowrap; }
.join-row label .wide { display: inline; background: none; padding: 0; font: inherit; letter-spacing: inherit; }
.join-row input[type="email"] { flex: 1; min-width: 0; width: 0; font: 16px var(--body); padding: 7px 9px; border: 3px solid var(--ink); border-radius: 0; }
.join-row button { font: 400 18px/1 var(--display); text-transform: uppercase; letter-spacing: .03em; padding: 10px 16px; background: var(--red); color: #fff; border: 0; cursor: pointer; flex: none; }
.join-row button:disabled { opacity: .6; cursor: default; }
.join-row input:focus-visible, .join-row button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.join-row .trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.join-row-said { font-size: 14px; font-weight: 700; margin-top: -6px; }
.join-row-said:empty { display: none; }
@media (max-width: 480px) { .join-row label .wide { display: none; } }
.search { display: flex; gap: 8px; }
/* The way into /timeline, beside the search on every view (his ask, Nov 11: "somewhere at the top"). */
.top-timeline { display: flex; align-items: center; background: var(--slab); color: var(--yellow); font: 400 20px/1 var(--display); text-transform: uppercase; text-decoration: none; padding: 0 14px; white-space: nowrap; }
.top-timeline:hover { background: var(--yellow); color: var(--on-yellow); }
.search input { flex: 1; min-width: 0; font: 16px var(--body); padding: 9px 10px; border: 3px solid var(--ink); border-radius: 0; }
.search input:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.hidden-note { font: 700 12px/1.6 var(--body); text-transform: uppercase; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; }
.hidden-note button { font: inherit; text-transform: uppercase; background: none; border: 2px solid var(--muted); color: var(--ink); padding: 1px 6px; cursor: pointer; }
.new { background: var(--yellow); color: var(--on-yellow); padding: 1px 5px; margin-right: 6px; }
/* Links already opened go gray, so what is left to read stands out. */
.cols li > a:visited, .pinned li > a:visited { color: var(--muted); }
.lead > a:visited { color: #bbb; }
/* /timeline: a rail of days down the left, each day's stories beside it. */
.timeline { border-top: 6px solid var(--ink); }
.tl-day { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 0 22px; }
.tl-date { margin: 0; padding: 14px 18px 14px 0; border-right: 6px solid var(--ink); position: relative; text-align: right; }
.tl-date::after { content: ""; position: absolute; right: -13px; top: 20px; width: 20px; height: 20px; background: var(--yellow); border: 4px solid var(--ink); border-radius: 50%; }
.tl-big { display: block; font: 400 30px/1 var(--display); text-transform: uppercase; position: sticky; top: 10px; }
.tl-small { display: block; font: 700 11px/1.3 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.tl-items { display: block; border-top: 0; min-width: 0; padding-bottom: 14px; }
.tl-items li:last-child { border-bottom: 0; }
.tl-day + .tl-day .tl-items { border-top: 3px solid var(--ink); }
.tl-when { display: inline-block; background: var(--ink); color: var(--paper); font: 700 10px/1 var(--body); letter-spacing: .06em; text-transform: uppercase; padding: 3px 6px; margin-top: 5px; }
.chips a.on { background: var(--slab); color: var(--yellow); }
@media (max-width: 760px) {
  .tl-day { grid-template-columns: minmax(0, 1fr); }
  .tl-date { position: sticky; top: 0; z-index: 2; text-align: left; border-right: 0; border-bottom: 4px solid var(--ink); background: var(--paper); padding: 8px 0 6px; display: flex; align-items: baseline; gap: 10px; }
  .tl-date::after { display: none; }
  .tl-big { position: static; font-size: 26px; background: var(--yellow); padding: 2px 8px; }
  .tl-small { margin: 0; }
  .tl-day + .tl-day .tl-items { border-top: 0; }
}
.tagindex { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; align-items: start; }
.tagindex section { border: 4px solid var(--ink); padding: 12px 14px; min-width: 0; }
.tagindex h2 { margin: 0 0 8px; font: 400 26px/1.1 var(--display); text-transform: uppercase; }
.tagindex h2 a { text-decoration: none; }
.tagindex ul { list-style: none; margin: 0; padding: 0; }
.tagindex li { padding: 4px 0; }
.tagindex .medium { font-weight: 900; }
.tagindex .medium a { text-decoration: none; }
.tagindex .smalls { margin-top: 2px; font-size: 13px; color: var(--muted); }
.tagindex .smalls a { color: var(--ink); }
.tagindex .count { font: 700 11px/1 var(--body); color: var(--muted); margin-left: 4px; }
.meta { font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.empty { text-align: center; color: var(--muted); padding: 40px 0; font-weight: 700; }
footer { text-align: center; color: var(--muted); font-size: 12px; font-weight: 700; padding: 12px 0 24px; }
footer a, footer a:visited { color: var(--muted); }
.join { border: 4px solid var(--ink); padding: 16px; text-align: center; }
.join h2 { font: 400 28px/1.2 var(--display); text-transform: uppercase; margin: 0 0 12px; }
.join h2 span { background: var(--yellow); padding: 2px 8px; }
.join p { margin: 0 0 10px; font-size: 14px; color: var(--muted); font-weight: 700; }
.join form { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; }
.join input[type="email"] { font: 16px var(--body); padding: 9px; border: 3px solid var(--ink); width: min(320px, 100%); }
.join button { font: 400 18px/1 var(--display); text-transform: uppercase; letter-spacing: .03em; padding: 10px 18px; background: var(--red); color: #fff; border: 0; cursor: pointer; }
.join button:disabled { opacity: .6; cursor: default; }
.join input:focus-visible, .join button:focus-visible, a:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.join .said { margin-top: 8px; font-size: 14px; font-weight: 700; }
.join .said:empty { margin-top: 0; }
.join .trap, .join-pop .trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* Summary: Claude's one paragraph. A card on hover where hovering exists, a tap-open button on phones.
   The card is as wide as its own column or box, so it never covers the next column, and it opens
   above the headline when there is no room below (screenshot, Oct 30). --edge is the item's own
   border, so the 8px gap is measured from what you see. */
.lead, .pinned li, .cols li { position: relative; }
.pinned li { --edge: 4px; }
.cols li { --edge-below: 3px; --edge-above: 3px; }
.sum { display: none; position: absolute; z-index: 20; left: calc(-1 * var(--edge, 0px)); right: calc(-1 * var(--edge, 0px)); top: calc(100% + var(--edge, var(--edge-below, 0px)) + 8px); background: var(--paper); color: var(--ink); border: 4px solid var(--red); box-shadow: 6px 6px 0 var(--red); padding: 12px 14px; text-align: left; font: 15px/1.45 var(--body); text-transform: none; }
/* Above, the shadow faces the item, so it gets its own 6px, and the gap clears the rule over the item. */
.sum.above { top: auto; bottom: calc(100% + var(--edge, var(--edge-above, 0px)) + 14px); }
.sum-label { display: inline-block; background: var(--yellow); font: 400 13px/1 var(--display); padding: 3px 6px; margin-bottom: 8px; }
.sum p { margin: 0; }
.sum-points { margin-top: 8px; display: grid; gap: 6px; }
.sum-point { position: relative; padding-left: 16px; }
.sum-point::before { content: ""; position: absolute; left: 2px; top: .6em; width: 6px; height: 6px; background: var(--red); }
.sum-body { overflow: auto; }
.sum-body.more { -webkit-mask-image: linear-gradient(#000 calc(100% - 40px), transparent); mask-image: linear-gradient(#000 calc(100% - 40px), transparent); }
.sum .via { margin-top: 8px; font-size: 12px; color: var(--muted); }
.lead > .sum { left: 50%; right: auto; width: min(560px, 100%); transform: translateX(-50%); }
.sum-toggle { display: none; font: 400 13px/1 var(--display); text-transform: uppercase; letter-spacing: .03em; background: var(--yellow); color: var(--ink); border: 0; padding: 5px 8px; margin-top: 6px; cursor: pointer; }
@media (hover: hover) {
  .peek > .sum { display: block; }
  /* An invisible bridge over the gap, so the mouse can reach a card that scrolls. Hover only:
     on a phone the open card sits in the page and the bridge would cover the item above. */
  .sum::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 24px; }
  .sum.above::before { bottom: auto; top: 100%; }
}
@media (hover: none) {
  .sum-toggle { display: inline-block; }
  .open > .sum { display: block; position: static; transform: none; width: auto; margin-top: 8px; box-shadow: none; }
  .sum .sum-label { display: none; }
}
@media (max-width: 760px) { .cols { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .masthead { transform: none; } }

/* Pictures: the article's own, through Netlify's image CDN. */
.photo { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #222; }
.lead .photo { width: min(720px, 100%); margin: 0 auto 14px; }
.pinned .photo { margin: 2px 0 8px; }
.share { font: inherit; text-transform: inherit; color: inherit; background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }

/* A story's own page (/s/<id>). */
.masthead-link { color: #fff; text-decoration: none; }
.story { border: 4px solid var(--ink); padding: 18px; display: grid; gap: 12px; min-width: 0; }
.story .tags { margin: 0; font-size: 13px; }
.story-title { margin: 0; font: 400 clamp(32px, 6vw, 60px)/1 var(--display); text-transform: uppercase; text-wrap: balance; }
.story-title a { text-decoration: none; }
.story-title a:hover { text-decoration: underline; }
.story-photo { width: 100%; }
.story-note { background: var(--yellow); padding: 8px 10px; font-weight: 700; white-space: pre-wrap; }
.story-note span { font: 400 15px/1 var(--display); text-transform: uppercase; margin-right: 4px; }
.story-summary { font-size: 17px; line-height: 1.5; }
.story-summary p { margin: 0; }
.story-summary .via { margin-top: 8px; font-size: 13px; color: var(--muted); }
.story-acts { display: flex; flex-wrap: wrap; gap: 10px; }
.story-read, .story-share { font: 400 18px/1 var(--display); text-transform: uppercase; letter-spacing: .03em; padding: 11px 16px; text-decoration: none; border: 0; cursor: pointer; }
.story-read { background: var(--red); color: #fff; }
.story-share { background: var(--slab); color: #fff; }
.story-related { border-top: 6px solid var(--ink); padding-top: 10px; }
.story-related h2 { margin: 0 0 6px; font: 400 26px/1.1 var(--display); text-transform: uppercase; }
.story-related h2 a { background: var(--yellow); text-decoration: none; padding: 0 6px; }
.story-related ul { list-style: none; margin: 0; padding: 0; }
.story-related li { padding: 10px 0; border-bottom: 3px solid var(--ink); }
.story-related li > a { font: 900 17px/1.15 var(--body); text-decoration: none; }
.story-related li > a:hover { text-decoration: underline; }
.story-back { margin: 0; font-weight: 700; }
.photo-none { display: flex; align-items: center; justify-content: center; padding: 12px; background: var(--slab); color: var(--yellow); font: 400 clamp(22px, 3vw, 34px)/1 var(--display); text-transform: uppercase; text-align: center; overflow-wrap: anywhere; }

/* Today in the Stash: Claude's paragraph over the Headline. */
/* The red bar is a shadow inside the box, so its corners stay square against the black border. */
.today { border: 4px solid var(--ink); box-shadow: inset 10px 0 0 var(--red); padding: 12px 14px 12px 24px; }
.today .sum-label { margin-bottom: 6px; }
.today p { margin: 0; font: 700 17px/1.4 var(--body); }
.today-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.today-list li { font: 500 16px/1.4 var(--body); }
.today-tag { display: inline-block; color: var(--ink); font: 400 15px/1.2 var(--display); text-transform: uppercase; letter-spacing: .03em; margin-right: 4px; }
@media (max-width: 760px) { .today p { font-size: 15px; } .today-list li { font-size: 15px; } }
.sum-more { display: inline-block; margin-top: 6px; font: 700 12px/1 var(--body); text-transform: uppercase; background: none; border: 0; padding: 2px 0; text-decoration: underline; cursor: pointer; color: var(--ink); }
.sum-photo { display: block; margin-top: 10px; }
.sum-photo .photo { border: 3px solid var(--ink); }
.sum-why, .sum-differ { margin-top: 8px; font-size: 14px; }
.sum-why strong, .sum-differ strong { font: 400 13px/1 var(--display); letter-spacing: .03em; }
.sum-differ strong { color: var(--red); }
.story-why, .story-differ { font-size: 16px; line-height: 1.45; }
.story-why strong, .story-differ strong { font: 400 16px/1 var(--display); text-transform: uppercase; letter-spacing: .03em; margin-right: 4px; }
.story-differ strong { color: var(--red); }

/* Reactions and comments on a story page. */
.reactions { display: flex; flex-wrap: wrap; gap: 8px; }
.react { font: 400 18px/1 var(--display); letter-spacing: .03em; padding: 8px 12px; background: var(--paper); color: var(--ink); border: 3px solid var(--ink); cursor: pointer; }
.react[aria-pressed="true"] { background: var(--yellow); }
.react-count { font: 700 13px/1 var(--body); margin-left: 4px; }
.comments { border: 4px solid var(--ink); padding: 14px 18px; display: grid; gap: 12px; min-width: 0; }
.comments h2 { margin: 0; font: 400 26px/1.1 var(--display); text-transform: uppercase; }
.comments ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.comments li { border-bottom: 3px solid var(--ink); padding-bottom: 10px; }
.comments li p { margin: 4px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.comment-who { font-weight: 900; }
.comment-who span { font-weight: 700; font-size: 12px; color: var(--muted); margin-left: 6px; }
.muted-line { margin: 0; color: var(--muted); font-weight: 700; }
.comment-form { display: grid; gap: 8px; }
.comment-form input, .comment-form textarea { font: 16px var(--body); padding: 9px; border: 3px solid var(--ink); border-radius: 0; width: 100%; }
.comment-form button { justify-self: start; font: 400 18px/1 var(--display); text-transform: uppercase; letter-spacing: .03em; padding: 10px 18px; background: var(--red); color: #fff; border: 0; cursor: pointer; }
.comment-form button:disabled { opacity: .6; }
.comment-form .trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.comment-said { margin: 0; font-size: 13px; font-weight: 700; color: var(--muted); }
.popular { border: 4px solid var(--ink); padding: 12px 14px; }
.popular h2 { margin: 0 0 6px; font: 400 26px/1.1 var(--display); text-transform: uppercase; }
.popular h2 span { background: var(--yellow); padding: 0 6px; }
.popular ol { margin: 0; padding-left: 26px; display: grid; gap: 8px; }
.popular li { font: 900 17px/1.2 var(--body); padding-left: 2px; }
.popular li a { text-decoration: none; }
.popular li a:hover { text-decoration: underline; }
.popular .meta { font-weight: 700; }
/* Share and Details are a story's two actions, so they read as buttons and not as more of the
   gray line (his word, Nov 13: they "should stand out more"). */
.meta .share, .meta .talk { display: inline-block; font: inherit; text-transform: inherit; color: var(--ink); background: none; border: 2px solid var(--ink); padding: 2px 7px; margin: 2px 6px 0 0; text-decoration: none; cursor: pointer; }
.meta .share:hover, .meta .talk:hover { background: var(--yellow); color: var(--on-yellow); border-color: var(--on-yellow); }
/* Share is the share icon (his word, Nov 13), drawn as a mask so it takes the button's color. */
.meta .share { vertical-align: bottom; }
.meta .share::before { content: ""; display: inline-block; vertical-align: -2px; width: 13px; height: 13px; background: currentColor; -webkit-mask: var(--share-icon) center / contain no-repeat; mask: var(--share-icon) center / contain no-repeat; --share-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='square'%3E%3Cpath d='M6 11v10h12V11M12 15V3M7.5 7 12 2.5 16.500 7'/%3E%3C/svg%3E"); }
.meta .share:not(:empty)::before { margin-right: 5px; }
.meta .acts { display: inline-block; white-space: nowrap; }
/* The buttons sit at the right edge of the row, the same place on every story, however long the
   source and age before them run (his word, Nov 13: they kept moving). */
.cols .meta, .pinned .meta, .top .meta { display: flex; flex-wrap: wrap; align-items: center; clear: right; }
.cols .meta .acts, .pinned .meta .acts, .top .meta .talk { margin-left: auto; }
.cols .meta .acts > :last-child, .pinned .meta .acts > :last-child, .top .meta .talk { margin-right: 0; }
.lead .meta .share, .lead .meta .talk { color: #fff; border-color: #fff; }
.days { display: flex; justify-content: space-between; gap: 12px; font: 400 22px/1 var(--display); text-transform: uppercase; }
.days a { text-decoration: none; border: 4px solid var(--ink); padding: 8px 14px; }
.days a:hover { background: var(--yellow); }
.days #day-next { margin-left: auto; }

/* The front page's comment pop-up: the story page's comment box in a <dialog>, full screen on a phone. */
.talk-box { padding: 0; border: 0; background: none; width: min(600px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px); overflow: visible; }
.talk-box::backdrop { background: rgba(11, 11, 11, .6); }
.talk-box .comments { background: var(--paper); max-height: calc(100dvh - 32px); overflow-y: auto; }
.talk-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.talk-close { font: 900 20px/1 var(--body); background: var(--slab); color: #fff; border: 0; width: 40px; height: 40px; cursor: pointer; flex: none; }
.talk-headline { margin: 0; font-weight: 900; font-size: 18px; line-height: 1.2; overflow-wrap: anywhere; }
.talk-headline a { text-decoration: none; }
.talk-headline a:hover { text-decoration: underline; }
.talk-list .muted-line { margin: 0; }
.talk-sum { font: 16px/1.45 var(--body); }
.talk-sum p { margin: 0; }
.talk-read { display: block; text-align: center; background: var(--red); color: #fff; font: 400 20px/1.15 var(--display); text-transform: uppercase; letter-spacing: .02em; padding: 12px 14px; text-decoration: none; overflow-wrap: anywhere; }
.talk-read:hover { text-decoration: underline; }
.talk-card { display: block; text-align: center; margin-top: 8px; font-size: 14px; font-weight: 700; color: var(--ink); }
.talk-sub { margin: 6px 0 0; padding-top: 12px; border-top: 3px solid var(--ink); font: 400 20px/1.1 var(--display); text-transform: uppercase; }
body:has(.talk-box[open]) { overflow: hidden; }
@media (max-width: 600px) {
  .talk-box { width: 100%; height: 100dvh; max-height: 100dvh; margin: 0; }
  .talk-box .comments { height: 100%; max-height: none; border-width: 0; padding: 16px; align-content: start; }
}

.to-top { position: fixed; right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 30; font: 400 17px/1 var(--display); text-transform: uppercase; letter-spacing: .03em; background: var(--yellow); color: var(--on-yellow); border: 3px solid var(--slab); padding: 10px 12px; cursor: pointer; box-shadow: 4px 4px 0 var(--slab); }

.thumb { float: right; width: 88px; margin: 3px 0 6px 10px; }
.thumb .photo { aspect-ratio: 4 / 3; }
.cols li::after, .story-related li::after { content: ""; display: block; clear: both; }

.talk-more ul { list-style: none; margin: 6px 0 0; padding: 0; }
.talk-more li { padding: 8px 0; border-bottom: 2px solid var(--ink); }
.talk-more li a { font: 900 16px/1.2 var(--body); text-decoration: none; }
.talk-more li a:hover { text-decoration: underline; }
.talk-more .talk-sub span { background: var(--yellow); color: var(--on-yellow); padding: 0 6px; }

.today-share { margin-top: 10px; font: 400 15px/1 var(--display); text-transform: uppercase; letter-spacing: .03em; background: var(--slab); color: #fff; border: 0; padding: 8px 12px; cursor: pointer; }

.lead { position: relative; }
.stamp { display: inline-block; font: 400 22px/1 var(--display); letter-spacing: .06em; color: var(--red); background: var(--paper); border: 4px solid var(--red); padding: 6px 10px; transform: rotate(-6deg); box-shadow: 3px 3px 0 var(--slab); animation: stamp-in .5s ease-out both, stamp-pulse 1.6s ease-in-out .5s infinite alternate; }
.lead > .stamp { position: absolute; top: 10px; left: 10px; z-index: 2; font-size: clamp(22px, 4vw, 34px); }
.bigone { display: flex; align-items: center; gap: 14px; background: var(--yellow); color: var(--on-yellow); text-decoration: none; padding: 12px 14px; border: 4px solid var(--slab); }
.bigone .stamp { flex: none; }
.bigone-text { font: 400 clamp(20px, 3.4vw, 30px)/1.05 var(--display); text-transform: uppercase; min-width: 0; overflow-wrap: anywhere; }
.bigone:hover .bigone-text { text-decoration: underline; }
@keyframes stamp-in { from { transform: rotate(-6deg) scale(2.2); opacity: 0; } to { transform: rotate(-6deg) scale(1); opacity: 1; } }
@keyframes stamp-pulse { from { box-shadow: 3px 3px 0 var(--slab), 0 0 0 0 rgba(225, 6, 0, .5); } to { box-shadow: 3px 3px 0 var(--slab), 0 0 0 10px rgba(225, 6, 0, 0); } }
@media (prefers-reduced-motion: reduce) { .stamp { animation: none; } }

.arrived { animation: arrive 1.8s ease-out both; }
@keyframes arrive { 0% { transform: translateY(-14px); opacity: 0; background: var(--yellow); } 25% { transform: none; opacity: 1; background: var(--yellow); } 100% { background: transparent; } }
.lead.arrived { animation-name: arrive-slab; }
@keyframes arrive-slab { from { transform: translateY(-14px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .arrived { animation: none; } }

.group-name { display: block; width: fit-content; margin: -10px 0 8px -12px; background: var(--slab); color: #fff; font: 400 14px/1 var(--display); text-transform: uppercase; letter-spacing: .04em; padding: 5px 8px; }
.group-more { display: block; margin-top: 8px; font: 400 14px/1 var(--display); text-transform: uppercase; letter-spacing: .03em; background: none; color: var(--ink); border: 2px solid var(--ink); padding: 6px 10px; cursor: pointer; }

.join-pop { position: fixed; z-index: 40; left: calc(16px + env(safe-area-inset-left, 0px)); right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); max-width: 460px; margin-left: auto; background: var(--paper); color: var(--ink); border: 4px solid var(--ink); box-shadow: 6px 6px 0 var(--red); padding: 14px 16px; display: grid; gap: 10px; }
.join-pop h2 { margin: 0; font: 400 24px/1.05 var(--display); text-transform: uppercase; }
.join-pop h2 span { background: var(--yellow); color: var(--on-yellow); padding: 0 6px; }
.join-pop form { display: flex; gap: 8px; }
.join-pop input[type="email"] { flex: 1; min-width: 0; font: 16px var(--body); padding: 9px; border: 3px solid var(--ink); border-radius: 0; background: var(--paper); color: var(--ink); }
.join-pop button[type="submit"] { font: 400 18px/1 var(--display); text-transform: uppercase; padding: 10px 16px; background: var(--red); color: #fff; border: 0; cursor: pointer; }
.join-pop-no { justify-self: start; font: 700 13px/1 var(--body); background: none; border: 0; padding: 4px 0; color: var(--muted); text-decoration: underline; cursor: pointer; }

.tip form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; width: min(420px, 100%); margin: 0 auto; }
.tip input { font: 16px var(--body); padding: 9px; border: 3px solid var(--ink); border-radius: 0; width: 100%; background: var(--paper); color: var(--ink); }
.tip button { justify-self: center; }

.talk-box .reactions { border-top: 3px solid var(--ink); padding-top: 14px; }
.talk-box .talk-more:not([hidden]) ~ .reactions { border-top: 0; padding-top: 4px; }

.today-more { display: block; width: 100%; margin-top: 12px; font: 400 clamp(20px, 4.4vw, 26px)/1 var(--display); text-transform: uppercase; letter-spacing: .03em; background: var(--yellow); color: var(--on-yellow); border: 3px solid var(--slab); box-shadow: 4px 4px 0 var(--red); padding: 14px 12px; cursor: pointer; }
.today-more:hover { text-decoration: underline; }
.today-more[aria-expanded="true"] { background: var(--paper); color: var(--ink); border-color: var(--ink); box-shadow: none; }

.reactions-inline { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.reactions-inline .react { font-size: 15px; padding: 6px 10px; border-width: 2px; }
.lead .reactions-inline { justify-content: center; }
@media (max-width: 400px) { .reactions-inline { gap: 6px; } .reactions-inline .react { font-size: 13px; padding: 5px 7px; } }
.react-mini { display: inline-block; margin-top: 6px; font: 400 13px/1 var(--display); letter-spacing: .04em; background: none; color: var(--ink); border: 2px solid var(--ink); padding: 4px 7px; cursor: pointer; }
.react-mini:hover { background: var(--yellow); color: var(--on-yellow); }

.ig-follow { display: block; text-align: center; background: var(--slab); color: #fff; text-decoration: none; font: 400 clamp(20px, 4vw, 28px)/1.1 var(--display); text-transform: uppercase; letter-spacing: .03em; padding: 16px 12px; border: 4px solid var(--slab); }
.ig-follow span { color: var(--yellow); }
.ig-follow:hover { text-decoration: underline; }
/* The other places @themiladstash posts (his ask, Nov 10), under the Instagram bar. */
.also-on { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 10px; padding: 10px 12px 0; font: 700 13px/1 var(--body); text-transform: uppercase; letter-spacing: .04em; }
.also-on span { color: var(--muted); }
.also-on a { color: var(--ink); text-decoration: none; border: 3px solid var(--ink); padding: 6px 10px; }
.also-on a:hover { background: var(--yellow); color: var(--on-yellow); }

/* Dark mode (his pick, Nov 4): follows the phone. Newsprint turns to night: light ink on near
   black, the Headline and other slabs stay black with a light edge, yellow labels keep black text. */
@media (prefers-color-scheme: dark) {
  :root { --ink: #eeeae4; --paper: #141414; --muted: #a8a29b; --slab: #000; --hot: #ff4d40; color-scheme: dark; }
  .lead, .story-share, .today-share, .ig-follow, .top-timeline, .chips a.on { box-shadow: inset 0 0 0 3px var(--ink); }
  .chips a.on { color: var(--yellow); }
  .lead .note, .pinned li::before, .pill.on, .filter-name, .chips a, .join-row label span, .join h2 span, .sum-label, .sum-toggle,
  .story-note, .story-related h2 a, .react[aria-pressed="true"], .popular h2 span, .top h2 span, .days a:hover { color: var(--on-yellow); }
  .join-row input, .search input, .join input, .comment-form input, .comment-form textarea { background: var(--paper); color: var(--ink); }
}

/* The tip jar (Nov 10): the one link in the footer that should be seen. */
footer a.tipjar, footer a.tipjar:visited { display: inline-block; margin: 8px 0; padding: 7px 12px; background: var(--yellow); color: var(--on-yellow); text-decoration: none; text-transform: uppercase; }

/* Until the stories arrive, what sits under the list (the join box, the form, the footer) is not
   drawn, so it is not shown and then shoved down (Nov 12: layout shift 0.53 on a phone). */
body.loading #cols ~ * { display: none; }

/* The top stories (his pick, Nov 13): ten by place under the Must Reads, two columns read down;
   one column on a phone. The number is the story's place in the formula's order. */
.top { border: 4px solid var(--ink); padding: 12px 14px; }
.top h2 { margin: 0 0 4px; font: 400 26px/1.1 var(--display); text-transform: uppercase; }
.top h2 span { background: var(--yellow); padding: 0 6px; }
.top ol { list-style: none; margin: 0; padding: 0; counter-reset: top; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(var(--rows, 5), auto); grid-auto-flow: column; gap: 0 28px; }
.top li { counter-increment: top; display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: start; padding: 9px 0; border-top: 2px solid var(--ink); }
.top li::before { content: counter(top); font: 400 26px/1 var(--display); color: var(--muted); }
.top li a:not(.talk) { font: 900 17px/1.15 var(--body); text-decoration: none; }
.top li a:not(.talk):hover { text-decoration: underline; }
.top li a:not(.talk):visited { color: var(--muted); }
.talk-tags .tags { margin: 0; }
@media (max-width: 760px) { .top ol { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-auto-flow: row; } }
