:root {
  --bg: #131313;
  --bar: #171717;
  --card: #181818;
  --raise: #232323;
  --line: #2a2a2a;
  --line-2: #3a3a3a;
  --text: #ebe8e3;
  --soft: #cfccc6;
  --muted: #a19e98;
  --faint: #6e6b66;
  --accent: #e5652e;
  --accent-hi: #f3894f;
  --accent-mid: #ec7440;
  --accent-ink: #1b0d05;
  --accent-soft: rgba(229, 101, 46, .3);
  --accent-line: rgba(229, 101, 46, .5);
  --amber: #d9a441;
  --green: #5ccf8b;
  --green-bg: rgba(92, 207, 139, .11);
  /* Both faces were drawn with Cyrillic from the start: Literata for
     headlines and long reading, Golos Text for the interface. */
  --serif: Literata, "PT Serif", Georgia, serif;
  --sans: "Golos Text", "PT Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.55 var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-wrap: break-word; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
.mono { font-family: var(--mono); }
.nowrap { white-space: nowrap; }

/* top bar */
.top { position: sticky; top: 0; z-index: 10; background: var(--bar); border-bottom: 1px solid var(--line); }
/* The logo and the account stay in the first row; when the controls of
   the feed do not fit, they wrap inside .tools between the two. */
.bar { max-width: 1280px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: flex-start; gap: 12px; }
.bar.narrow { max-width: 920px; align-items: center; }
.tools { display: flex; flex: 1; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 12px; min-width: 0; }
/* Keeps the first row 43px tall when the taller controls wrap away. */
.tools::before { content: ""; height: 43px; margin-right: -12px; }
/* 43px is a row of the controls: the logo and the account center on the
   first one. */
.bar > .logo { height: 43px; }
.logo { display: flex; align-items: center; gap: 9px; margin-right: auto; font: 700 25px/1 var(--serif); letter-spacing: -.01em; text-decoration: none; }
.logo .mark { width: 13px; height: 13px; border-radius: 3px; background: var(--accent); }
.logo .dot { color: var(--accent); }

/* The search gives up its width first: a long date range takes it. */
.search { flex: 1 1 120px; min-width: 120px; max-width: 220px; }
.search input { width: 100%; height: 38px; padding: 0 12px; background: transparent; border: 1px solid var(--line-2); border-radius: 6px; }
.search input::placeholder { color: var(--faint); }
.search input:focus { outline: none; border-color: var(--muted); }

.range { position: relative; }
.range summary { display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 6px; list-style: none; cursor: pointer; font: 500 13px var(--mono); white-space: nowrap; }
.range summary::-webkit-details-marker { display: none; }
.range summary:hover, .range[open] summary { border-color: var(--muted); }
.range .pop { position: absolute; top: 46px; left: 0; z-index: 5; display: grid; gap: 10px; min-width: 250px; padding: 14px; background: var(--card); border: 1px solid var(--line-2); border-radius: 8px; box-shadow: 0 14px 34px rgba(0, 0, 0, .55); }
.range label { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 13px; }
.range input[type=date] { padding: 5px 8px; background: var(--bg); border: 1px solid var(--line-2); border-radius: 5px; font: 13px var(--mono); }

.btn { height: 34px; padding: 0 14px; background: var(--raise); border: 1px solid var(--line-2); border-radius: 6px; cursor: pointer; }
.btn:hover { border-color: var(--muted); }

.seg { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line-2); border-radius: 7px; }
.seg label { position: relative; flex: 1; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; padding: 6px 12px; border-radius: 5px; color: var(--muted); text-align: center; white-space: nowrap; cursor: pointer; }
.seg span:hover { color: var(--text); }
.seg input:checked + span { background: #282828; color: var(--text); }
.seg input:focus-visible + span { outline: 1px solid var(--accent); }
.periods { border-color: transparent; }
.periods span { padding: 6px 9px; font: 13px var(--mono); }

.icon-btn { display: grid; place-items: center; width: 38px; height: 38px; background: transparent; border: 1px solid var(--line-2); border-radius: 6px; cursor: pointer; }
.icon-btn:hover { border-color: var(--muted); }

/* layout */
.layout { display: grid; grid-template-columns: 268px minmax(0, 1fr); gap: 32px; max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* sidebar */
.side { position: sticky; top: 67px; align-self: start; max-height: calc(100vh - 67px); overflow-y: auto; padding: 24px 2px 32px 0; scrollbar-width: thin; }
.side > section, .side > details { margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.side h3 { display: flex; align-items: center; justify-content: space-between; margin: 0 0 12px; color: var(--muted); font: 600 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.side .seg span { font-size: 14px; }
.side details > summary { list-style: none; cursor: pointer; }
.side details > summary::-webkit-details-marker { display: none; }
.side details > summary h3::after { content: "−"; font-size: 17px; letter-spacing: 0; }
.side details:not([open]) > summary h3 { margin-bottom: 0; }
.side details:not([open]) > summary h3::after { content: "+"; }
.all { display: inline-block; padding: 4px 8px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--muted); font: 600 10px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.all.on { background: #282828; color: var(--text); }
details.group .all { margin-bottom: 8px; }
.none { margin: 0; color: var(--faint); font-size: 14px; }

.check { position: relative; display: flex; align-items: center; gap: 10px; padding: 5px 0; color: var(--soft); font-size: 14.5px; cursor: pointer; }
.check:hover { color: var(--text); }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check .box { display: grid; flex: none; place-items: center; width: 16px; height: 16px; border: 1.5px solid #5a5853; border-radius: 4px; }
.check input:checked + .box { background: var(--accent); border-color: var(--accent); }
.check input:checked + .box::after { content: ""; width: 8px; height: 4px; border: 2px solid var(--bg); border-top: 0; border-right: 0; transform: translateY(-1px) rotate(-45deg); }
.check input:focus-visible + .box { outline: 1px solid var(--accent); outline-offset: 2px; }
.check .name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.check .n { margin-left: auto; color: var(--faint); font: 12px var(--mono); }

.switch { position: relative; display: flex; align-items: center; gap: 10px; margin-top: 14px; color: var(--soft); font-size: 14.5px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch .track { position: relative; flex: none; width: 32px; height: 18px; background: #2a2a2a; border-radius: 999px; transition: background .15s; }
.switch .track::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; background: #5a5853; border-radius: 50%; transition: transform .15s, background .15s; }
.switch input:checked + .track { background: var(--accent-soft); }
.switch input:checked + .track::after { background: var(--accent); transform: translateX(14px); }

.reset { color: var(--muted); font-size: 14px; text-underline-offset: 3px; }
.reset:hover { color: var(--text); }
/* On a narrow screen the sidebar is a panel: its header, its button and
   the button that opens it show only there. */
.side-head, .apply, .side-open, .scrim, .reset-side, .status-below, .jump { display: none; }

/* feed */
.feed { min-width: 0; padding: 24px 0 64px; }
.status { margin: 0 0 14px; color: var(--muted); font-size: 14px; }
.status b { color: var(--text); font-family: var(--mono); }
.empty { padding: 48px 0; color: var(--muted); text-align: center; }
.empty a { display: block; margin-top: 10px; color: var(--accent); text-underline-offset: 3px; }
.more { display: block; padding: 12px; border: 1px solid var(--line-2); border-radius: 7px; color: var(--muted); text-align: center; text-decoration: none; }
.more:hover { border-color: var(--muted); color: var(--text); }

.digest { margin-bottom: 16px; padding: 14px 22px; background: #161616; border: 1px dashed var(--line-2); border-radius: 7px; }
.digest summary { display: flex; align-items: baseline; gap: 10px; color: var(--muted); font: 600 12px var(--sans); letter-spacing: .12em; text-transform: uppercase; list-style: none; cursor: pointer; }
.digest summary::-webkit-details-marker { display: none; }
.digest summary .mono { color: var(--faint); font-weight: 400; letter-spacing: 0; text-transform: none; }
.digest ol { margin: 12px 0 4px; padding-left: 1.3em; }
.digest li { margin: 8px 0; color: var(--soft); line-height: 1.5; }
.digest li::marker { color: var(--accent); font-family: var(--mono); font-size: 13px; }
.digest li a { color: var(--text); font-weight: 600; text-decoration: none; }
.digest li a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* cards */
.card { --lvl: #4a4844; position: relative; margin-bottom: 14px; padding: 18px 22px 14px; background: var(--card); border: 1px solid var(--line-2); border-left: 3px solid var(--lvl); border-radius: 7px; scroll-margin-top: 80px; }
.card:target { box-shadow: 0 0 0 1px var(--accent); }
.lvl-notable { --lvl: var(--amber); }
.lvl-major { --lvl: var(--accent); }

.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 8px; }
.badge { padding: 5px 7px; border: 1px solid var(--line-2); border-radius: 4px; color: var(--muted); font: 600 11px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.lvl-major .badge.lvl { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.lvl-notable .badge.lvl { background: rgba(217, 164, 65, .08); border-color: rgba(217, 164, 65, .5); color: var(--amber); }
.badge.back { border-color: rgba(92, 207, 139, .4); color: var(--green); }
.tag { padding: 4px 8px; border: 1px solid var(--line-2); border-radius: 4px; color: var(--soft); font: 500 12.5px/1.1 var(--sans); }
.score { padding: 4px 8px; border: 1px dashed #55534f; border-radius: 4px; color: var(--muted); font: 12px/1.1 var(--mono); }
.meta time { margin-left: auto; color: var(--muted); font: 13px var(--mono); white-space: nowrap; }

.card h2 { margin: 6px 0 8px; font: 650 23px/1.3 var(--serif); letter-spacing: -.01em; }
.card h2 a { text-decoration: none; }
.card h2 a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.short { margin: 0 0 14px; color: var(--soft); font-size: 15.5px; line-height: 1.62; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.chip { display: inline-flex; overflow: hidden; border: 1px solid #2e2e2e; border-radius: 4px; font: 500 12.5px/1 var(--mono); text-decoration: none; }
.chip:hover { border-color: #55534f; }
.chip .sym { padding: 6px 8px; background: var(--raise); }
.chip .eng { padding: 6px 8px; background: var(--green-bg); color: var(--green); }

.origin { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: 1px dashed var(--line-2); font-size: 14px; font-weight: 600; }
.origin a { text-decoration: none; }
.origin a:hover { text-decoration: underline; text-underline-offset: 3px; }
.origin .mono { color: var(--muted); font-size: 12.5px; font-weight: 400; }

.why { margin: 12px 0; color: var(--muted); font-size: 14px; }

/* The row under a title: the way to the long summary and the retelling
   of what the card shows now. */
.acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 0 0 12px; }
.deep-toggle, .deep-shut, .deep-link { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0; background: none; border: 0; color: var(--accent); font: 500 14.5px var(--sans); text-decoration: none; cursor: pointer; }
.deep-toggle::before, .deep-link::before { content: "▶"; font-size: 10px; transition: transform .15s; }
.deep-toggle[aria-expanded=true]::before { transform: rotate(90deg); }
.deep-toggle:hover, .deep-shut:hover, .deep-link:hover { color: var(--accent-hi); }
.deep-toggle:focus-visible, .deep-shut:focus-visible { outline: 1px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
/* Without the script the long summary is a page away. */
.deep-toggle, .js .deep-link { display: none; }
.js .deep-toggle { display: inline-flex; }
.deep[hidden] { display: none; }
.deep { margin-bottom: 14px; }
.deep-shut::before { content: "▲"; font-size: 9px; }
.card.open > .short { display: none; }

/* retellings */
.listen { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; min-width: 0; min-height: 34px; }
/* One retelling to a view: the short one beside the summary, that of the
   long summary beside it. The short one stays under the long text only
   while it is the one that is made, or is playing. */
.card:not(.open) .listen[data-kind=long],
.card.open .listen[data-kind=short]:not([data-state=ready]),
.card.open:has(.listen[data-kind=long][data-state=ready]) .listen[data-kind=short]:not(.on) { display: none; }
.say, .listen:not(.live) .pl-play { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px 0 11px; background: transparent; border: 1px solid var(--line-2); border-radius: 999px; font: 500 13.5px var(--sans); cursor: pointer; }
.say { border-style: dashed; color: var(--soft); }
.say svg, .listen:not(.live) .pl-play svg { color: var(--accent); }
.say:hover, .listen:not(.live) .pl-play:hover { border-color: var(--accent); }
.say:focus-visible, .pl-play:focus-visible, .pl-rate:focus-visible, .pl-skip:focus-visible, .dock-what:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.listen.fresh:not(.live) .pl-play, .listen.fresh.live .player { border-color: var(--accent); }
.wait:focus { outline: none; }
.kept:focus { outline: none; }
.sr-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wait { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); font-size: 13.5px; }
.wait time { color: var(--soft); font-family: var(--mono); font-size: 12.5px; }
.pulse { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; animation: pulse .9s ease-in-out infinite alternate; }
@keyframes pulse { from { opacity: .2; } to { opacity: 1; } }
.listen audio[controls] { width: min(440px, 100%); height: 36px; }
/* Without the script the browser's player takes a line of its own, and
   there is nothing to start a retelling with. */
.listen:has(audio[controls]) { flex-basis: 100%; }
html:not(.js) .say { display: none; }
.listen .cap { flex-basis: 100%; color: var(--muted); font-size: 13px; }
.listen .err { color: #ef8a78; font-size: 13px; }

/* The player. Until it is pressed in the feed it is one button; pressed,
   or on a page of one topic, it opens to the line and the speed. */
.player { display: inline-flex; min-width: 0; }
.pl-play .i-pause, .on .pl-play .i-play { display: none; }
.on .pl-play .i-pause { display: block; }
.listen:not(.live) :is(.pl-top, .pl-bar) { display: none; }
.listen.live { flex: 1 1 100%; }
.live .player { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; gap: 0 14px; width: min(560px, 100%); padding: 10px 14px 8px 12px; background: var(--bg); border: 1px solid var(--line-2); border-radius: 10px; }
.live .pl-play { grid-row: 1 / 3; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; background: var(--accent); border: 0; border-radius: 50%; color: var(--accent-ink); cursor: pointer; }
.live .pl-play:hover { background: var(--accent-mid); }
.live .pl-play svg { width: 20px; height: 20px; }
.live .pl-tag { display: none; }
.pl-top { display: flex; align-items: center; gap: 10px; min-width: 0; }
.pl-top { min-height: 24px; }
.pl-name { flex: 1; min-width: 0; color: var(--soft); font-size: 13.5px; font-weight: 500; line-height: 1.25; }
.pl-time { flex: none; color: var(--muted); font-size: 12.5px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pl-rate, .pl-skip { flex: none; min-width: 46px; height: 26px; padding: 0 6px; background: transparent; border: 1px solid var(--line-2); border-radius: 6px; color: var(--soft); font-size: 12px; cursor: pointer; }
.pl-rate:hover, .pl-skip:hover { border-color: var(--muted); color: var(--text); }
.pl-bar { display: flex; align-items: center; gap: 8px; min-width: 0; }
.pl-skip { min-width: 40px; border-color: transparent; color: var(--muted); }
.pl-seek { --at: 0; flex: 1; min-width: 0; height: 28px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
/* The filled part ends under the middle of the thumb. */
.pl-seek::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(to right, var(--accent) calc(7px + (100% - 14px) * var(--at)), var(--line-2) 0); }
.pl-seek::-webkit-slider-thumb { width: 14px; height: 14px; margin-top: -5px; background: var(--text); border: 0; border-radius: 50%; -webkit-appearance: none; }
.pl-seek::-moz-range-track { height: 4px; background: var(--line-2); border-radius: 2px; }
.pl-seek::-moz-range-progress { height: 4px; background: var(--accent); border-radius: 2px; }
.pl-seek::-moz-range-thumb { width: 14px; height: 14px; background: var(--text); border: 0; border-radius: 50%; }
.pl-seek:disabled { cursor: default; }
.pl-seek:disabled::-webkit-slider-thumb { visibility: hidden; }
.pl-seek:disabled::-moz-range-thumb { visibility: hidden; }
.pl-seek:focus-visible { outline: 1px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* The dock: the playing retelling at the bottom edge while its player is
   out of sight. */
.dock { position: fixed; inset: auto 0 0; z-index: 20; visibility: hidden; background: var(--bar); border-top: 1px solid var(--line-2); transform: translateY(100%); transition: transform .2s ease-out, visibility 0s .2s; }
.docked .dock { visibility: visible; transform: none; transition: transform .2s ease-out; }
/* Under the filters and the dialog the dock waits: it is not theirs. */
.filters-on .dock, html:has(dialog[open]) .dock { visibility: hidden; }
.dock-line { height: 2px; background: var(--line); }
.dock-line i { display: block; width: 0; height: 100%; background: var(--accent); }
.dock-in { display: flex; align-items: center; gap: 12px; max-width: 920px; margin: 0 auto; padding: 8px 16px calc(8px + env(safe-area-inset-bottom, 0px)); }
.dock .pl-play { display: grid; flex: none; place-items: center; width: 44px; height: 44px; padding: 0; background: var(--accent); border: 0; border-radius: 50%; color: var(--accent-ink); cursor: pointer; }
.dock .pl-play svg { width: 20px; height: 20px; }
.dock-what { display: grid; flex: 1; gap: 1px; min-width: 0; min-height: 44px; padding: 0; align-content: center; background: none; border: 0; text-align: left; cursor: pointer; }
.dock-title { overflow: hidden; font: 600 14.5px/1.3 var(--serif); text-overflow: ellipsis; white-space: nowrap; }
.dock-name { overflow: hidden; color: var(--muted); font-size: 12.5px; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.dock-x { flex: none; border-color: transparent; color: var(--muted); }
.dock-x:hover { color: var(--text); }
/* The last lines of the page stay readable above the dock. */
.docked body { padding-bottom: calc(63px + env(safe-area-inset-bottom, 0px)); }
@media (prefers-reduced-motion: reduce) {
  .dock, .docked .dock { transition: none; }
  .pulse { animation: none; }
}

/* markdown */
/* Long reading: a serif at book size, about 70 characters per line. */
.md { max-width: 70ch; color: #dad7d1; font: 17px/1.72 var(--serif); }
.md > :first-child { margin-top: 0; }
.md h1, .md h2, .md h3, .md h4 { margin: 1.5em 0 .5em; color: var(--text); font-weight: 650; line-height: 1.3; }
.md h1, .md h2 { font-size: 22px; }
.md h3 { font-size: 20px; }
.md h4 { font-size: 17px; }
.md p, .md ul, .md ol { margin: 0 0 1em; }
.md ul, .md ol { padding-left: 1.3em; }
.md li { margin: .3em 0; }
.md li::marker { color: var(--faint); }
.md strong { color: var(--text); font-weight: 650; }
.md a { color: var(--accent); text-underline-offset: 2px; }
.md code { padding: .12em .35em; background: var(--raise); border-radius: 4px; font: .8em var(--mono); overflow-wrap: anywhere; }
.md pre { overflow-x: auto; padding: 12px 14px; line-height: 1.5; background: #0f0f0f; border: 1px solid var(--line); border-radius: 6px; }
.md pre code { padding: 0; background: none; font-size: 13px; }
.md blockquote { margin: 0 0 1em; padding-left: 14px; border-left: 2px solid var(--line-2); color: var(--muted); }
.md table { display: block; overflow-x: auto; margin: 0 0 1em; border-collapse: collapse; font: 14px/1.5 var(--sans); }
.md th, .md td { padding: 6px 10px; border: 1px solid var(--line-2); text-align: left; }
.md hr { border: 0; border-top: 1px dashed var(--line-2); }

/* topic page */
.page { max-width: 920px; margin: 0 auto; padding: 24px 24px 80px; }
.back { display: inline-block; margin-bottom: 14px; color: var(--muted); font-size: 14px; text-decoration: none; }
.back:hover { color: var(--text); }
.card.full { padding: 22px 28px 20px; }
.card.full h1 { margin: 8px 0 12px; font: 650 34px/1.2 var(--serif); letter-spacing: -.015em; }
.card.full .short { font-size: 17px; }
.card.full .acts { margin-bottom: 16px; }
.card.full .md { margin-top: 22px; font-size: 18px; line-height: 1.75; }
.block { margin-top: 28px; scroll-margin-top: 16px; }
.block h3 { margin: 0 0 12px; color: var(--muted); font: 600 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.table { overflow-x: auto; border: 1px solid var(--line-2); border-radius: 7px; }
.items { width: 100%; border-collapse: collapse; font-size: 14px; }
.items th { padding: 8px 12px; color: var(--faint); font: 600 11px var(--sans); letter-spacing: .08em; text-align: left; text-transform: uppercase; }
.items td { padding: 9px 12px; border-top: 1px solid var(--line); vertical-align: top; }
.items td.mono { color: var(--muted); font-size: 12.5px; }
.items .num { text-align: right; }
.items a { text-decoration: none; }
.items a:hover { text-decoration: underline; text-underline-offset: 3px; }
.items .disc { color: var(--accent); }
.events { margin: 0; padding: 0; list-style: none; }
.events li { display: flex; gap: 14px; padding: 8px 0; border-bottom: 1px dashed var(--line); color: var(--soft); font-size: 14px; }
.events time { flex: none; width: 110px; color: var(--muted); font-size: 12.5px; }

/* account */
.who { position: relative; display: flex; flex: none; align-items: center; height: 43px; }
.who summary { display: block; border-radius: 50%; list-style: none; cursor: pointer; }
.who summary::-webkit-details-marker { display: none; }
.who summary:hover .avatar, .who[open] .avatar { border-color: var(--muted); }
.who .pop { position: absolute; top: 49px; right: 0; z-index: 5; display: grid; gap: 8px; justify-items: start; min-width: 220px; padding: 14px; background: var(--card); border: 1px solid var(--line-2); border-radius: 8px; box-shadow: 0 14px 34px rgba(0, 0, 0, .55); }
.who-name { font-weight: 600; overflow-wrap: anywhere; }
.who-mail { margin-top: -6px; color: var(--muted); font-size: 12.5px; overflow-wrap: anywhere; }
.who-link { padding: 0; background: none; border: 0; color: var(--muted); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.who-link:hover { color: var(--text); }
.avatar { display: grid; flex: none; place-items: center; width: 38px; height: 38px; background: var(--raise); border: 1px solid var(--line-2); border-radius: 50%; color: var(--soft); font: 600 15px/1 var(--sans); object-fit: cover; }
.locked { margin: 12px 0 0; color: var(--faint); font-size: 13.5px; }

/* sign-in */
.gate { display: grid; place-items: center; min-height: 100vh; padding: 24px; }
.gate-box { display: grid; gap: 18px; justify-items: start; width: min(420px, 100%); padding: 30px 30px 24px; background: var(--card); border: 1px solid var(--line-2); border-left: 3px solid var(--accent); border-radius: 7px; }
.gate-box .logo { margin: 0; }
.gate-box.wide { width: min(720px, 100%); }
.gate-note a { color: var(--muted); text-underline-offset: 3px; }
.gate-note a:hover { color: var(--text); }
.gate-lead { margin: 0; color: var(--soft); font: 17px/1.6 var(--serif); }
.gate-lead b { color: var(--text); font-weight: 650; overflow-wrap: anywhere; }
.gate-note { margin: 0; color: var(--faint); font-size: 13.5px; }
.gate-err { margin: 0; padding: 8px 12px; border: 1px solid rgba(239, 138, 120, .4); border-radius: 6px; color: #ef8a78; font-size: 14px; }
.gate-btn { display: inline-flex; align-items: center; text-decoration: none; }
.google { display: inline-flex; align-items: center; gap: 12px; height: 44px; padding: 0 18px 0 14px; background: #f2f0ec; border-radius: 6px; color: #1b1b1b; font-weight: 600; text-decoration: none; }
.google:hover { background: #fff; }
.google:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* accounts */
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 16px; padding: 0; color: var(--muted); font-size: 13.5px; list-style: none; }
.legend b { color: var(--soft); font-weight: 600; }
.acct { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-bottom: 10px; padding: 14px 18px; background: var(--card); border: 1px solid var(--line-2); border-radius: 7px; }
.acct.off .acct-who { opacity: .55; }
.acct-who { display: flex; flex: 1 1 200px; align-items: center; gap: 12px; min-width: 0; }
.acct-who > div { min-width: 0; }
.acct-name { font-weight: 600; overflow-wrap: anywhere; }
.acct-mail { color: var(--soft); font-size: 12.5px; overflow-wrap: anywhere; }
.acct-seen { color: var(--faint); font-size: 12px; }
.acct-rights { display: flex; flex-wrap: wrap; gap: 2px 14px; }
.acct .switch { margin-top: 0; }
/* Five rights do not fit beside the account and its buttons: they take a
   line of their own, under the name. */
@media (min-width: 601px) {
  .acct-rights { flex-basis: 100%; order: 1; padding-left: 50px; }
}
.acct-note { color: var(--faint); font-size: 13px; }
.badge.blocked { border-color: rgba(239, 138, 120, .4); color: #ef8a78; }
.check input:disabled + .box { opacity: .5; }

/* sharing */
/* The way to the public link of a topic sits at the end of the line with
   its source; green says the topic is open now. */
.share-open { display: inline-flex; align-items: center; gap: 6px; }
.origin .share-open { color: var(--muted); font-size: 13.5px; font-weight: 500; }
.origin .share-open:hover { color: var(--text); text-decoration: none; }
.origin .share-open.on { color: var(--green); }
.share-open:focus-visible { outline: 1px solid var(--accent); outline-offset: 3px; border-radius: 3px; }

/* reading */
/* The reader's mark stands before the way to the public link, the two at
   the end of the line with the source and together on a line of their own
   when that one is full; green says the mark is put. A card that is read
   steps back in its list: what it says, not what can be done with it. */
.origin .tail { display: inline-flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; align-self: center; gap: 4px 18px; margin-left: auto; }
.read-mark { display: inline-flex; align-items: center; gap: 6px; padding: 0; background: none; border: 0; color: var(--muted); font: 500 13.5px/1.2 var(--sans); cursor: pointer; }
.read-mark:hover { color: var(--text); }
.read-mark.on { color: var(--green); }
.read-mark:not(.on) .tick { display: none; }
.read-mark.busy { opacity: .6; }
.read-mark:focus-visible { outline: 1px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
.read-err { flex-basis: 100%; color: #ef8a78; font-size: 13px; font-weight: 400; text-align: right; }
.card.read:not(.full):not(.open) > :is(.meta, h2, .short, .chips) { opacity: .5; }
.plans li.read > a { opacity: .5; }
.plan-read { color: var(--green); }
/* The dot after the mark goes with it. */
.plan-read::after { content: " · "; color: var(--muted); }
/* The two fit one line of a phone 360 wide. */
@media (max-width: 600px) {
  .origin .tail { gap: 4px 12px; }
  .origin .read-mark, .origin .share-open { font-size: 13px; }
}

.share-box { display: grid; gap: 14px; max-width: 480px; padding: 22px 24px 18px; background: var(--card); border: 1px solid var(--line-2); border-radius: 8px; }
.share-title { margin: 0; font: 650 22px/1.2 var(--serif); letter-spacing: -.01em; }
.share-topic { margin: -8px 0 0; padding-right: 28px; color: var(--muted); font-size: 14px; }
.share-box form { display: grid; gap: 10px; justify-items: start; }
.share-note, .share-hint { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.share-hint { color: var(--faint); font-size: 13px; }
.share-err { margin: 0; color: #ef8a78; font-size: 13.5px; }
/* The address is shown whole, on two lines if it takes them: without the
   script it is selected by hand. */
.share-url { display: block; padding: 10px 12px; background: var(--bg); border: 1px solid var(--line-2); border-radius: 6px; font-size: 13px; line-height: 1.5; text-decoration: none; overflow-wrap: anywhere; }
.share-url:hover { border-color: var(--muted); }
/* Copying and sending are the script's: without it the address above is
   there to select. */
.share-acts { display: none; flex-wrap: wrap; gap: 8px; }
.js .share-acts { display: flex; }
.share-acts .btn { display: inline-flex; align-items: center; gap: 8px; height: 38px; }
.share-send[hidden] { display: none; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.btn.primary:hover { border-color: var(--accent-hi); background: var(--accent-mid); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.share-opts { display: grid; justify-self: stretch; padding: 4px 0; border-block: 1px solid var(--line); }
.share-opts .switch { min-height: 40px; margin-top: 0; }
.share-opts .share-hint { margin: -4px 0 8px 42px; }
.switch input:focus-visible + .track { outline: 1px solid var(--accent); outline-offset: 2px; }
.switch:has(input:disabled) { color: var(--faint); cursor: default; }
.switch input:disabled + .track { opacity: .5; }
.share-off { justify-self: start; color: #ef8a78; }
.share-off:hover { color: #f6a999; }
/* With the script a switch saves itself. */
.js .share-save { display: none; }

/* Over the feed the panel is a dialog: the place in the feed stays. */
.share-dialog { width: min(480px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 0; background: var(--card); border: 1px solid var(--line-2); border-radius: 10px; color: var(--text); box-shadow: 0 24px 60px rgba(0, 0, 0, .6); }
.share-dialog::backdrop { background: rgba(0, 0, 0, .6); }
.share-dialog .share-box { max-width: none; background: none; border: 0; }
.share-x { position: absolute; top: 12px; right: 12px; border-color: transparent; }
.share-box.busy { opacity: .6; pointer-events: none; }
/* The feed under the dialog stays where it is. */
html:has(.share-dialog[open]) body { overflow: hidden; }
.share-dialog { overscroll-behavior: contain; }

/* the list of links */
.link-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-bottom: 10px; padding: 14px 18px; background: var(--card); border: 1px solid var(--line-2); border-radius: 7px; }
.link-what { flex: 1 1 260px; min-width: 0; }
.link-title { font: 650 17px/1.35 var(--serif); text-decoration: none; }
.link-title:hover { text-decoration: underline; text-underline-offset: 3px; }
.link-row.off .link-title { color: var(--muted); }
.link-state { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; }
.link-when { margin-left: 4px; color: var(--faint); font-size: 12px; }
.badge.open { border-color: rgba(92, 207, 139, .4); color: var(--green); }
.link-row .btn { display: inline-flex; align-items: center; text-decoration: none; }

/* a topic opened by a link */
.shared-note { margin: 32px 0 0; color: var(--faint); font-size: 13px; }

@media (max-width: 960px) {
  .top { position: static; }
  /* Three rows: the logo, the search and the account; when; in what order. */
  .bar { display: grid; grid-template-columns: 44px auto minmax(0, 1fr) auto; align-items: center; gap: 8px 12px; padding: 10px 16px 12px; }
  .tools { display: contents; }
  .tools::before { display: none; }
  .bar > .logo { grid-area: 1 / 1 / 2 / 3; }
  .bar .search { grid-area: 1 / 3; min-width: 0; max-width: none; }
  /* The field is narrow here: a lens says what it is when the hint is cut. */
  .search input { padding: 0 10px 0 34px; text-overflow: ellipsis; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a19e98' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E") 10px center no-repeat; }
  .who { grid-area: 1 / 4; justify-self: end; }
  .bar > .who-link { grid-area: 1 / 3 / 2 / 5; display: inline-flex; align-items: center; justify-self: end; min-height: 44px; white-space: nowrap; }
  .range { grid-area: 2 / 1; }
  .range summary { justify-content: center; width: 44px; padding: 0; }
  .range summary span { display: none; }
  /* The dates are not on the button here: its color says they are set by hand. */
  .range.custom summary { border-color: var(--accent); color: var(--accent); }
  .periods { grid-area: 2 / 2 / 3 / 5; padding: 0; }
  .sorts { grid-area: 3 / 1 / 4 / 5; }
  /* Pulling the page down does the same. */
  .js .tools > .icon-btn { display: none; }
  .layout { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 0 16px; }
  .side { position: static; max-height: none; padding-bottom: 0; }

  /* The filters are longer than a screen: they wait in a panel, and the
     feed starts right under the header. Without the script they stay
     stacked above the feed, as the form still works there. */
  .js .side { display: none; }
  /* The count and the way to the filters stay in sight through the feed. */
  .status-row { position: sticky; top: 0; z-index: 4; display: flex; align-items: center; gap: 12px; min-height: 52px; margin: -24px -16px 10px; padding: 6px 16px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .status-row .status { flex: 1; min-width: 0; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .status-rest { display: none; }
  .status-below { display: block; font-size: 13px; }
  .card { scroll-margin-top: 64px; }
  .js .side-open { display: inline-flex; flex: none; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 12px; background: var(--raise); border: 1px solid var(--line-2); border-radius: 999px; font: 500 14px/1 var(--sans); cursor: pointer; }
  .side-open .n { display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; background: var(--accent); border-radius: 999px; color: var(--accent-ink); font: 600 12px/1 var(--mono); }
  .side-open:focus-visible { outline: 1px solid var(--accent); outline-offset: 2px; }

  .filters-on body { overflow: hidden; }
  .filters-on .scrim { position: fixed; inset: 0; z-index: 29; display: block; background: rgba(0, 0, 0, .6); }
  .filters-on .side { position: fixed; inset: 0 0 0 auto; z-index: 30; display: flex; flex-direction: column; align-self: stretch; width: min(420px, 100%); height: 100%; padding: 0; background: var(--bg); border-left: 1px solid var(--line-2); overflow-y: auto; overscroll-behavior: contain; }
  .filters-on .side > section, .filters-on .side > details { margin-inline: 16px; }
  .filters-on .side > section:first-of-type { margin-top: 20px; }
  .filters-on .side > details:last-of-type { border-bottom: 0; }
  .filters-on .side-head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 8px 16px; background: var(--bar); border-bottom: 1px solid var(--line); font: 650 19px/1 var(--serif); }
  .side-close { border-color: transparent; }
  .filters-on .side-foot { position: sticky; bottom: 0; display: flex; align-items: center; gap: 18px; margin-top: auto; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); background: var(--bar); border-top: 1px solid var(--line); }
  .filters-on .apply { display: block; flex: 1; height: 48px; background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
  .filters-on .reset { display: none; }
  .filters-on .reset-side { display: flex; align-items: center; min-height: 44px; }
  .card { padding: 16px 16px 12px; }
  .card h2 { font-size: 20px; }
  .card.full { padding: 18px; }
  .card.full h1 { font-size: 26px; }
  .page { padding: 16px 16px 64px; }

  /* A finger needs about 44px; iOS zooms into a field set smaller than 16px. */
  .search input, .range input[type=date] { font-size: 16px; }
  .search input, .range summary, .icon-btn, .btn { height: 44px; }
  .seg span { padding: 10px 12px; }
  .periods span { padding: 11px 10px; }
  .check { padding: 11px 0; }
  .switch { min-height: 44px; }
  .all { padding: 9px 12px; }
  .deep-toggle, .deep-shut, .deep-link { min-height: 44px; }
  .say, .listen:not(.live) .pl-play { height: 44px; padding: 0 16px 0 12px; }
  .listen { min-height: 44px; }
  .acts { gap: 4px 16px; }
  .pl-rate, .pl-skip { min-width: 44px; height: 44px; }
  .pl-seek { height: 44px; }
  .chip .sym, .chip .eng { padding: 9px 10px; }
  .digest { padding: 4px 16px; }
  /* Five picks with reasons are a screen and a half on a phone: there the
     block opens on demand, and the feed starts under its title. */
  .digest summary { padding: 14px 0; }
  .digest summary::after { content: "+"; margin-left: auto; font: 400 17px/1 var(--sans); letter-spacing: 0; }
  .digest[open] summary::after { content: "−"; }
  .digest ol { margin-top: 0; }
  .who .pop { gap: 0; }
  .who .pop .who-link { display: flex; align-items: center; min-height: 44px; }
  .who-mail { margin: 0 0 6px; }
  .gate .who-link { display: inline-flex; align-items: center; min-height: 44px; }
  .page-nav { display: flex; align-items: baseline; justify-content: space-between; }
  /* 44px to touch without making the line of the source taller. */
  .origin .share-open { margin-block: -13px; padding: 13px 0; }
  .origin .read-mark { margin-block: -14px; padding: 14px 0; }
  .share-acts .btn { flex: 1; justify-content: center; height: 44px; }
  .share-opts .switch { min-height: 44px; }
  .share-off { display: inline-flex; align-items: center; min-height: 44px; }
  .share-url { padding: 12px; }
  .jump { display: inline; color: var(--muted); font-size: 14px; text-underline-offset: 3px; }
}

/* A tablet has the width for two rows: the order sits beside the period. */
@media (min-width: 721px) and (max-width: 960px) {
  .periods { grid-area: 2 / 2 / 3 / 4; justify-self: start; }
  .sorts { grid-area: 2 / 4; }
}

@media (max-width: 600px) {
  .logo { font-size: 22px; }

  /* A phone gives the line of the player the whole width, under the
     button and the name. */
  .live .player { gap: 2px 12px; padding: 10px 10px 4px; }
  .live .pl-play { grid-row: 1; }
  .pl-bar { grid-column: 1 / 3; }
  /* In the dock the line says how far it is; the width goes to the title. */
  .dock .pl-time { display: none; }
  .dock-in { gap: 10px; padding-inline: 12px 6px; }

  /* Room to type: the field covers the logo while it has the focus. */
  .bar .search:focus-within { grid-area: 1 / 1 / 2 / 4; z-index: 1; background: var(--bar); }
  .periods span { padding-inline: 4px; }
  .sorts span { padding: 8px 12px; }

  /* Reading a topic: the frame of the card costs 40px of a 390px line. */
  .card.full { padding: 0; background: none; border: 0; }
  .card.full h1 { font-size: 25px; }
  .md pre { margin-inline: -16px; border-inline: 0; border-radius: 0; padding-inline: 16px; }

  /* The materials: a row becomes two lines instead of a table that scrolls sideways. */
  .items thead { display: none; }
  .items tr { display: grid; grid-template-columns: auto 1fr auto auto; gap: 4px 10px; padding: 11px 12px; border-top: 1px solid var(--line); }
  .items tr:first-child { border-top: 0; }
  .items td { padding: 0; border: 0; }
  .items td:nth-child(1) { grid-area: 1 / 1; }
  .items td:nth-child(5) { grid-area: 1 / 2; }
  .items td:nth-child(3) { grid-area: 1 / 3; }
  .items td:nth-child(4) { grid-area: 1 / 4; }
  .items td:nth-child(2) { grid-area: 2 / 1 / 3 / 5; font-size: 15px; }
  .items td:nth-child(3)::before { content: "▲ "; }
  .items td:nth-child(4)::after { content: " комм."; }
  /* The title and the discussion are two links: each gets its own line. */
  .items .sep { display: none; }
  .items tr { padding-block: 5px; }
  .items td a { display: block; padding: 8px 0; }
  .items .disc { padding: 11px 0; font-size: 14px; }
  .events time { width: 96px; }

  .acct { padding: 14px 16px; }
  .acct-who { flex-basis: 100%; }
  .acct-rights { display: grid; flex: 1 1 100%; grid-template-columns: 1fr 1fr; gap: 0 16px; }
  .acct .switch { margin-right: auto; }
  .acct .btn { min-width: 140px; }
  .legend { display: grid; gap: 4px; }

  /* On a phone the panel comes from the bottom edge, under the thumb. */
  .share-dialog { width: 100%; max-width: 100%; margin: auto 0 0; border-width: 1px 0 0; border-radius: 14px 14px 0 0; }
  .share-dialog .share-box { padding: 20px 16px calc(14px + env(safe-area-inset-bottom, 0px)); }
  .share-box { padding: 18px 16px 14px; }
  .share-new .btn, .share-box form > .btn { width: 100%; }
  .link-row { padding: 14px 16px; }
  .link-row .btn { flex: 1; justify-content: center; }

  .gate { min-height: 100dvh; padding: 16px; }
  /* The privacy page is an article: no frame around a long text. */
  .gate-box.wide { min-width: 0; padding: 8px 0 24px; background: none; border: 0; }
  .gate-box.wide .md { overflow-wrap: anywhere; }
  .gate-box { padding: 24px 20px 18px; }
  .google { width: 100%; justify-content: center; height: 48px; }
}

/* The way between the feed and the insiders: two plain links above the
   list. They scroll away with the page. */
.sections { display: flex; gap: 24px; margin: 0 0 16px; font: 600 15.5px/1 var(--sans); }
/* On the feed the links stand before the filters in the page: without the
   script the filters are stacked above the feed, and the way to the other
   section must not be under them. On a wide screen they head the feed
   column all the same. */
@media (min-width: 961px) {
  .layout { row-gap: 0; }
  .layout > .sections { grid-column: 2; grid-row: 1; margin: 0; padding: 24px 0 16px; }
  .layout > .side { grid-column: 1; grid-row: 1 / span 2; }
  .layout > .feed { grid-column: 2; grid-row: 2; }
  .layout > .sections ~ .feed { padding-top: 0; }
}
.sections a { display: inline-flex; align-items: center; min-height: 34px; border-bottom: 2px solid transparent; color: var(--muted); text-decoration: none; }
.sections a:hover { color: var(--text); }
.sections a[aria-current] { border-bottom-color: var(--accent); color: var(--text); }
.sections .fresh { color: var(--accent); font-weight: 500; white-space: pre; }
.sections a:focus-visible { outline: 1px solid var(--accent); outline-offset: 3px; border-radius: 3px; }

/* insiders */
/* The insiders are the feed in another colour. The section sets the accent,
   and every part that the feed paints with its accent follows. */
body.insiders {
  --accent: #8fa8e8;
  --accent-hi: #b6c6f3;
  --accent-mid: #a2b7ee;
  --accent-ink: #0c1326;
  --accent-soft: rgba(143, 168, 232, .3);
  --accent-line: rgba(143, 168, 232, .5);
}
/* The badge and the edge of a card say how firm the claim is where a topic
   has its heat: the makers' own word, two sources, one. */
.lvl-vendor { --lvl: var(--accent); }
.lvl-two { --lvl: var(--accent-line); }
.lvl-vendor .badge.lvl { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.lvl-two .badge.lvl { background: rgba(143, 168, 232, .08); border-color: var(--accent-line); color: var(--accent); }
.badge.new { border-color: var(--accent-line); color: var(--accent); }
.badge.argued, .badge.st-denied { border-color: rgba(239, 138, 120, .45); color: #ef8a78; }
.badge.st-came { border-color: rgba(92, 207, 139, .4); color: var(--green); }
.badge.st-announced { border-color: rgba(217, 164, 65, .5); color: var(--amber); }

/* One of several: the filters of the insiders are choices of one. */
.check.one .box { border-radius: 50%; }
.check.one input:checked + .box::after { width: 6px; height: 6px; border: 0; border-radius: 50%; background: var(--bg); transform: none; }

/* A site behind a claim is a way to what was read there, not a mark that
   the claim holds: it has no colour of its own. */
.insiders .chip .eng { background: none; color: var(--muted); }
.chip.unread { border-style: dashed; }
/* What the claim is stands first, in the colour of the section. */
.tag.kind { border-color: var(--accent-line); color: var(--accent); font-weight: 600; }
.origin > a:first-child { overflow-wrap: anywhere; }
/* The search stands where the feed has it, next to the name. */
@media (min-width: 961px) {
  .insiders .tools .search { margin-right: auto; }
}

.plans { margin: 0 0 12px; padding: 0; list-style: none; }
.plans li { padding: 10px 0; border-top: 1px dashed var(--line-2); scroll-margin-top: 80px; }
.plans a { display: block; font: 500 17px/1.4 var(--serif); text-decoration: none; }
.plans a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.plan-note { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; }
.plan-note b { color: var(--accent); font-weight: 600; }
.release .more { margin-bottom: 4px; }

.facts { margin: 0 0 14px; }
.facts dt { color: var(--muted); font-size: 13px; }
.facts dd { margin: 2px 0 10px; color: var(--soft); font-size: 15.5px; line-height: 1.6; }
.facts dd:last-child { margin-bottom: 0; }

/* The numbers in a deep dive lead to the evidence a paragraph stands on. */
.ref { margin-left: 1px; color: var(--accent); font: 500 .68em/0 var(--mono); text-decoration: none; vertical-align: super; }
.ref:hover { text-decoration: underline; }

.proofs q { display: block; color: #dad7d1; font: 15.5px/1.6 var(--serif); quotes: "«" "»"; overflow-wrap: anywhere; }
.proofs .role { display: block; margin-top: 6px; color: var(--soft); font: 500 12px/1.3 var(--sans); }
.proofs .role.against { color: #ef8a78; }
.proof-note { display: block; margin-top: 6px; color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.proof-note a { color: var(--soft); text-decoration: underline; text-underline-offset: 3px; }
.proofs .unread q { color: var(--muted); }
.proofs tr { scroll-margin-top: 80px; }
.proofs tr:target td, .proofs tr.at td { background: rgba(143, 168, 232, .07); }
/* The place a link on the page led to takes the focus for the keyboard and
   the screen reader; it is not a control, and gets no ring. */
.at:focus { outline: none; }

/* The first line of a claim opened by a link: where it stands, and when. */
.standing { margin: 0 0 14px; padding: 9px 12px; border: 1px solid var(--line-2); border-radius: 6px; color: var(--soft); font-size: 14.5px; line-height: 1.5; }
.standing b { display: inline-block; color: var(--text); }
.standing b::first-letter { text-transform: uppercase; }
.standing.st-denied { border-color: rgba(239, 138, 120, .45); }
.standing.st-denied b { color: #ef8a78; }
.standing.st-came { border-color: rgba(92, 207, 139, .4); }
.standing.st-came b { color: var(--green); }

/* updates */
/* The updates are the feed in a third colour. */
body.updates {
  --accent: #56c2b6;
  --accent-hi: #86d8ce;
  --accent-mid: #6bccc1;
  --accent-ink: #04201d;
  --accent-soft: rgba(86, 194, 182, .3);
  --accent-line: rgba(86, 194, 182, .5);
}
/* The badge and the edge of a card say how much the update changes where
   a topic has its heat: a major one, a regular one, a minor one. */
.lvl-regular { --lvl: var(--accent-line); }
.lvl-regular .badge.lvl { background: rgba(86, 194, 182, .08); border-color: var(--accent-line); color: var(--accent); }
/* The version is a name, not a mark: it is set as code. */
.badge.ver { color: var(--text); font: 500 12px/1 var(--mono); letter-spacing: 0; text-transform: none; }
@media (min-width: 961px) {
  .updates .tools .search { margin-right: auto; }
}
/* The announcement says what matters in the update and to whom; the
   explanation goes change by change and does not repeat it, so it stays. */
.updates .card.open > .short { display: block; }
/* A name the announcement took in backticks: a command, a setting, a model. */
.updates .card h1 code, .updates .card h2 code, .updates .short code, .updates .digest code { padding: .1em .32em; background: var(--raise); border-radius: 4px; font: .82em var(--mono); overflow-wrap: anywhere; }
/* The vendor above its systems in the list of filters. */
.facet-group { margin: 12px 0 4px; color: var(--faint); font: 500 12.5px/1.2 var(--sans); }
.facet-group:first-of-type { margin-top: 0; }
.unread-note { margin-top: -6px; color: var(--amber); }
/* The source's own words, as they are: lines kept, long ones wrapped. */
.notes-from { margin: 0 0 10px; color: var(--muted); font-size: 13.5px; }
.notes-from a { color: var(--soft); text-underline-offset: 3px; }
.notes { margin: 0; padding: 14px 16px; background: #0f0f0f; border: 1px solid var(--line); border-radius: 6px; color: var(--soft); font: 13px/1.6 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; }

@media (max-width: 960px) {
  .sections { margin-bottom: 6px; }
  .sections a { min-height: 44px; }
  .layout > .sections { padding-top: 8px; }
  .plans a { padding: 4px 0; }
  /* The evidence is read one under another, like the materials of a topic:
     where and when on a line, the quote under it. */
  .items.proofs tr { grid-template-columns: auto minmax(0, 1fr) auto; padding-block: 11px; }
  .items.proofs td:nth-child(1) { grid-area: 1 / 1; }
  .items.proofs td:nth-child(2) { grid-area: 1 / 2; font-size: 12.5px; }
  .items.proofs td:nth-child(4) { grid-area: 1 / 3; }
  .items.proofs td:nth-child(3) { grid-area: 2 / 1 / 3 / 4; font-size: 14px; }
  .items.proofs td:nth-child(3)::before, .items.proofs td:nth-child(4)::after { content: none; }
  .items.proofs td a { display: inline; padding: 0; }
  .items.proofs .role { display: inline; margin: 0 0 0 8px; }
}

@media (max-width: 600px) {
  .sections { gap: 0; }
  .sections a { flex: 1; justify-content: center; }
  /* Three sections in a row: the count stays, its word goes, and each
     link takes the room its name needs instead of a third. */
  .sections .word { display: none; }
  .sections a:first-child:nth-last-child(n+3), .sections a:first-child:nth-last-child(n+3) ~ a { flex: 1 1 auto; padding: 0 6px; }
  .plans a { font-size: 16px; }
}

@media (max-width: 360px) {
  .sections { font-size: 14px; }
}
