/* terminal.css: step 1, READ, in kges2026.com's look, light and compact. The rumour as one slim band
 * over a faint hall photograph (label, the text in Archivo, the names it moves, two buttons); the news
 * as a quiet list (an orange dot for unread, one line of title, one of source and preview); the reader
 * beside it, its actions kept in view at its foot; the vessel map inside the reader. */

.term { position: relative; flex: 1 1 auto; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); grid-template-rows: auto minmax(0, 1fr); gap: 10px; }

/* ------------------------------------------------------------------ the rumour: a slim KGES band */
.rumor {
  grid-column: 1 / -1; grid-row: 1; min-width: 0; position: relative; isolation: isolate; overflow: hidden;
  padding: 9px 12px 9px 14px; border-radius: 16px; border: 1px solid rgba(243, 140, 46, .3); background: var(--navy);
}
.rumor::before { content: ''; position: absolute; inset: 0; z-index: -2; background: var(--photo-l) var(--focus) / cover no-repeat; opacity: .35; }
.rumor::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(3, 13, 39, .97), rgba(3, 13, 39, .88) 55%, rgba(3, 13, 39, .7)), radial-gradient(420px 160px at 100% 0%, rgba(243, 140, 46, .22), transparent 70%);
}
.rumor__body { display: flex; align-items: center; gap: 16px; min-width: 0; }
.rumor__main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.rumor__k { display: flex; align-items: center; gap: 8px; min-width: 0; white-space: nowrap; overflow: hidden; }
.rumor__label { flex: none; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; color: var(--accent); }
.rumor__status, .rumor__truth { flex: none; padding: 2px 8px; font-size: 10.5px; }
.rumor__truth { color: var(--navy); }
.rumor__truth--true { background: var(--ok); }
.rumor__truth--false { background: var(--down-strong); }
.rumor__truth--partly { background: var(--gold); }
.rumor__src { min-width: 0; overflow: hidden; text-overflow: ellipsis; font-size: 11.5px; font-weight: 600; color: var(--ink-50); }
.rumor__text { display: block; width: 100%; text-align: left; font-family: var(--font-display); font-weight: 800; font-size: 16px; line-height: 1.24; letter-spacing: -.01em; color: var(--ink); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; text-wrap: pretty; }
.rumor__text:hover { color: #fff; }
.rumor__body.is-revealed .rumor__text { color: var(--ink-72); }
.rumor__wait { font-size: 13px; line-height: 1.45; color: var(--ink-72); }
.rumor__wait b { color: var(--ink); }
.rumor__acts { flex: none; display: flex; flex-direction: column; gap: 6px; }
.rumor__acts .btn { justify-content: center; }
.rumor__names { flex: none; width: 300px; display: flex; flex-direction: column; gap: 1px; padding: 0 0 0 14px; border-left: 1px solid var(--line-10); }
.rumor__nk { padding: 0 6px 1px; font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--ink-45); }
.rumor__q { display: grid; grid-template-columns: 48px minmax(0, 1fr) 62px 58px; align-items: center; gap: 6px; height: 22px; padding: 0 6px; border-radius: 8px; text-align: left; font-size: 12px; transition: background .15s; }
.rumor__q:hover { background: rgba(255, 255, 255, .06); }
.rumor__q.is-on { background: rgba(243, 140, 46, .16); }
.rumor__qt { font-family: var(--font-mono); font-weight: 700; color: var(--accent-2); }
.rumor__qn { color: var(--ink-55); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rumor__qp { text-align: right; font-weight: 700; color: var(--ink); }
.rumor__qc { text-align: right; font-weight: 700; white-space: nowrap; }
.rumor__names.is-many { width: 400px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 4px; align-content: center; }
.rumor__names.is-many .rumor__nk { grid-column: 1 / -1; }
.rumor__names.is-many .rumor__q { grid-template-columns: 44px minmax(0, 1fr) 54px; gap: 4px; }
.rumor__names.is-many .rumor__qn, .rumor__names.is-many .rumor__qp { display: none; }
.rumor__names.is-many .rumor__q { grid-template-columns: 46px minmax(0, 1fr); }

/* ------------------------------------------------------------------ the news: one quiet list */
.feed {
  grid-column: 1; grid-row: 2; display: flex; flex-direction: column; min-width: 0; min-height: 0; overflow: hidden;
  border-radius: 16px; border: 1px solid var(--line-10); background: rgba(255, 255, 255, .025);
}
.feed__head { flex: none; display: flex; align-items: center; gap: 8px; min-width: 0; padding: 8px 10px 6px 14px; white-space: nowrap; }
.feed__ttl { font-size: 13px; font-weight: 800; color: var(--ink); }
.feed__count { font-size: 12px; color: var(--ink-50); }
.feed__what { min-width: 0; overflow: hidden; text-overflow: ellipsis; font-size: 12px; color: var(--ink-40); }
.feed__what::before { content: '· '; }
.feed__search { flex: 0 1 220px; width: 220px; min-width: 110px; height: 30px; border-radius: 10px; }
.feed__filters { flex: none; position: relative; display: flex; align-items: center; gap: 6px; padding: 0 10px 8px; flex-wrap: wrap; border-bottom: 1px solid var(--line-08); }
.feed__show { flex: none; padding: 2px; }
.feed__show .seg__btn { padding: 4px 10px; }
.feed__src { flex: 1 1 140px; min-width: 120px; }
.feed__src .input { width: 100%; height: 30px; border-radius: 10px; font-size: 12.5px; }
#feed-info { width: 28px; }
.feed__opts { position: relative; flex: none; }
.feed__opts > summary { height: 30px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--line-12); background: rgba(255, 255, 255, .04); font-weight: 700; font-size: 12px; color: var(--ink-72); }
.feed__opts > summary::before { font-size: 10px; }
.feed__opts[open] > summary { border-color: rgba(243, 140, 46, .5); color: var(--accent-2); }
.feed__morebox { position: absolute; z-index: 20; right: 0; top: calc(100% + 6px); display: flex; flex-direction: column; align-items: stretch; gap: 6px; width: 240px; padding: 10px; border-radius: 14px; border: 1px solid var(--line-12); background: rgba(3, 13, 39, .98); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .95); }
.feed__morebox .btn { justify-content: flex-start; height: 30px; }
.feed__name { display: flex; }
.feed__name select, .feed__name .chip { width: 100%; }
.feed__name select { height: 30px; }
.feed__namechip { justify-content: flex-start; }
.feed__namesub { font-weight: 600; }
.feed__help { flex: none; max-height: 40%; overflow-y: auto; padding: 8px 14px; border-bottom: 1px solid var(--line-08); background: rgba(0, 5, 16, .4); }
.feed__help-g + .feed__help-g { margin-top: 6px; }
.feed__help-t { font-weight: 700; font-size: 12.5px; color: var(--ink); }
.feed__help-m { color: var(--ink-50); font-size: 11.5px; }
.feed__help p { margin-top: 3px; font-size: 12.5px; line-height: 1.5; color: var(--ink-72); }
.feed__bar { flex: none; display: flex; align-items: center; gap: 10px; padding: 5px 10px 5px 14px; border-bottom: 1px solid var(--line-08); background: rgba(243, 140, 46, .08); font-size: 12.5px; }
.feed__bar .btn { height: 26px; }
.feed__bar-txt { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-72); }
.feed__bar-txt b { font-family: var(--font-mono); color: var(--accent-2); }
.feed__body { flex: 1 1 auto; min-height: 0; position: relative; }
.feed__body:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.feed__date { position: sticky; top: 0; z-index: 2; padding: 5px 14px 4px; background: #061131; border-bottom: 1px solid var(--line-06); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--ink-45); }
button.feed__more { display: block; width: 100%; padding: 10px; color: var(--accent); font-size: 12.5px; font-weight: 700; text-align: center; }
button.feed__more:hover { color: var(--accent-hover); }

/* A document row: the time · the title (an orange dot when unread) over the source and a one-line preview · tags, marks, tickers */
.doc-row { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; column-gap: 10px; align-items: start; padding: 6px 12px 7px 14px; border-bottom: 1px solid var(--line-06); cursor: pointer; transition: background .15s; }
.doc-row:hover { background: rgba(255, 255, 255, .035); }
.doc-row.is-selected { background: rgba(243, 140, 46, .1); box-shadow: inset 3px 0 0 var(--accent); }
.doc-row.is-cursor { box-shadow: inset 0 0 0 2px rgba(243, 140, 46, .5); }
.doc-row__when { grid-column: 1; padding-top: 1px; font-family: var(--font-mono); font-size: 11px; color: var(--ink-45); white-space: nowrap; }
.doc-row__main { grid-column: 2; display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.doc-row__title { font-size: 13px; font-weight: 600; line-height: 1.3; color: var(--ink-72); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.doc-row.is-unread .doc-row__title { color: var(--ink); font-weight: 700; }
.doc-row__new { display: inline-block; width: 7px; height: 7px; margin: 0 7px 1px 0; border-radius: 50%; background: var(--accent); font-size: 0; vertical-align: middle; box-shadow: 0 0 0 3px rgba(243, 140, 46, .18); }
.doc-row__preview { font-size: 12px; line-height: 1.35; color: var(--ink-50); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.doc-row__src { margin-right: 6px; font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; color: var(--ink-45); }
.doc-row__side { grid-column: 3; display: flex; align-items: center; gap: 3px; justify-content: flex-end; flex-wrap: wrap; max-width: 150px; padding-top: 1px; }
.doc-row__side .chip { padding: 2px 7px; font-size: 10.5px; }
.doc-row.is-noise .doc-row__title, .doc-row.is-noise .doc-row__preview { color: var(--ink-40); text-decoration: line-through; text-decoration-color: var(--ink-30); }
mark { background: rgba(243, 140, 46, .3); color: var(--ink); }

/* ------------------------------------------------------------------ the default feed: every document, plain cards */
/* The navigator (sources, companies) is under More: hidden while the plain feed shows; the search stays */
.feed.is-story .feed__filters, .feed.is-story .feed__help, .feed.is-story .feed__bar { display: none; }
.chip--plain { cursor: default; }
.feed__moretoggle { flex: none; }
.feed__moretoggle.is-on { border-color: rgba(243, 140, 46, .5); color: var(--accent-2); }
.story__next { padding: 8px 14px; border-bottom: 1px solid var(--line-06); font-size: 12px; line-height: 1.45; color: var(--ink-55); }
.story__other { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 14px 16px; font-size: 12px; line-height: 1.45; color: var(--ink-50); }
.doc-row--card { display: block; padding: 10px 14px 11px 16px; }
.doc-row--card.is-unread { background: linear-gradient(90deg, rgba(243, 140, 46, .08), rgba(243, 140, 46, 0) 70%); }
.doc-row--card.is-unread.is-selected, .doc-row--card.is-selected { background: rgba(243, 140, 46, .1); }
.sc__top { display: flex; align-items: center; gap: 8px; min-width: 0; min-height: 20px; }
.doc-row__new--pill { flex: none; width: auto; height: auto; margin: 0; padding: 2px 7px; border-radius: 99px; background: var(--accent); box-shadow: none; color: var(--navy); font-size: 9.5px; font-weight: 800; line-height: 1.3; letter-spacing: .1em; text-transform: uppercase; }
.sc__src { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; color: var(--ink-50); }
.sc__time { flex: none; font-family: var(--font-mono); font-size: 11px; color: var(--ink-45); white-space: nowrap; }
.doc-row--card .sc__tags { flex: none; max-width: 60%; padding-top: 0; flex-wrap: nowrap; overflow: hidden; }
.sc__title { margin-top: 5px; font-size: 14.5px; font-weight: 700; line-height: 1.32; color: var(--ink-75); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; text-wrap: pretty; }
.doc-row--card.is-unread .sc__title { color: var(--ink); }
.sc__line { margin-top: 3px; font-size: 12.5px; line-height: 1.45; color: var(--ink-55); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.doc-row--card.is-noise .sc__title, .doc-row--card.is-noise .sc__line { color: var(--ink-40); text-decoration: line-through; text-decoration-color: var(--ink-30); }
.doc-row--reveal { box-shadow: inset 3px 0 0 var(--gold); }
.rdoc__bar .btn.is-cited { background: rgba(243, 140, 46, .16); border-color: rgba(243, 140, 46, .6); color: var(--accent-2); }

/* Companies: one row per name */
.co-row { display: grid; grid-template-columns: 60px minmax(0, 1fr) 80px 150px; align-items: center; gap: 10px; padding: 6px 12px 6px 14px; border-bottom: 1px solid var(--line-06); cursor: pointer; font-size: 12.5px; transition: background .15s; }
.co-row:hover { background: rgba(255, 255, 255, .035); }
.co-row.is-selected { background: rgba(243, 140, 46, .1); box-shadow: inset 3px 0 0 var(--accent); }
.co-row.is-cursor { box-shadow: inset 0 0 0 2px rgba(243, 140, 46, .5); }
.co-row__t { font-family: var(--font-mono); font-weight: 700; color: var(--accent-2); }
.co-row__name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.co-row__ex { color: var(--ink-45); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.co-row__px { display: flex; justify-content: flex-end; gap: 10px; white-space: nowrap; }
.px { font-family: var(--font-mono); font-weight: 700; color: var(--ink); }
.px-chg { font-family: var(--font-mono); font-weight: 700; }

/* ------------------------------------------------------------------ the reader */
.reader {
  grid-column: 2; grid-row: 2; display: flex; flex-direction: column; min-width: 0; min-height: 0; overflow: hidden;
  border-radius: 16px; border: 1px solid var(--line-10); background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(3, 13, 39, .6) 30%);
}
.reader__head { flex: none; display: flex; align-items: center; gap: 8px; min-width: 0; padding: 8px 10px 4px 16px; white-space: nowrap; }
.reader__ttl { font-size: 13px; font-weight: 800; color: var(--ink); }
.reader__kicker { min-width: 0; overflow: hidden; text-overflow: ellipsis; font-size: 12px; color: var(--ink-50); }
.reader__close { display: none; }
.reader__slot { flex: 1 1 auto; min-height: 0; }
.reader__body { padding: 2px 16px 0; }
.reader__body > :last-child { margin-bottom: 16px; }
.rsec { display: block; margin: 14px 0 6px; font-size: 10px; }
.howto { display: flex; flex-direction: column; gap: 8px; }
.howto li { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; font-size: 13px; line-height: 1.5; }
.howto b { color: var(--accent-2); font-weight: 700; font-size: 12.5px; }
.howto span { color: var(--ink-72); }
.focus-tbl { border-radius: 12px; overflow: hidden; border: 1px solid var(--line-08); }
.focus-tbl th { padding: 6px 12px; }
.focus-tbl td { padding: 5px 12px; font-size: 12.5px; }
.focus-tbl__name { color: var(--ink-72); }

.rdoc__chart { margin: 0 0 10px; }
.rdoc__chips { display: flex; flex-wrap: wrap; gap: 4px; }
.rdoc__chips .chip { padding: 2px 8px; font-size: 10.5px; }
.rdoc__title { margin: 8px 0 6px; font-family: var(--font-display); font-weight: 800; font-size: 19px; line-height: 1.18; letter-spacing: -.015em; color: var(--ink); text-wrap: balance; }
.rdoc__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 12px; color: var(--ink-72); margin-bottom: 8px; }
.rdoc__tickers { display: inline-flex; gap: 4px; flex-wrap: wrap; }
.rdoc__summary { margin: 2px 0 10px; padding: 10px 12px; border-radius: 12px; background: rgba(243, 140, 46, .07); border: 1px solid rgba(243, 140, 46, .24); }
.rdoc__summary .label { color: var(--accent-2); margin-bottom: 4px; font-size: 10px; }
.rdoc__summary p { font-size: 13.5px; line-height: 1.6; color: var(--ink); }
.rdoc__body p { margin: 0 0 10px; font-size: 14px; line-height: 1.62; color: var(--ink-75); max-width: 70ch; overflow-wrap: anywhere; }
.rdoc__pages { margin: -4px 0 8px; font-size: 11.5px; }
.rdoc__expand { margin-top: 2px; }
/* The actions stay in view at the foot of the reader while the document scrolls */
.rdoc__bar {
  position: sticky; bottom: 0; z-index: 3; display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  margin: 12px -16px 0; padding: 9px 16px 10px; border-top: 1px solid var(--line-08); background: #07122e;
}
.rdoc__bar .btn { height: 32px; padding: 0 14px; font-size: 12.5px; }
.rdoc__marks { display: inline-flex; gap: 6px; }
.mark-btn { flex: none; }
.mark-btn--c { border-color: rgba(123, 216, 143, .45); color: var(--ok); }
.mark-btn--c:hover { border-color: var(--ok); color: var(--ok); background: rgba(123, 216, 143, .08); }
.mark-btn--c.is-on { background: var(--ok); border-color: transparent; color: var(--navy); }
.mark-btn--n.is-on { background: rgba(255, 255, 255, .14); border-color: transparent; color: var(--ink); }
.kv { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 14px; margin: 0 0 10px; font-size: 12.5px; }
.kv dt { color: var(--ink-50); font-weight: 600; }
.kv dd { color: var(--ink); overflow-wrap: anywhere; }
.kv--facts { padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .035); border: 1px solid var(--line-08); }
.rel { display: flex; flex-direction: column; gap: 3px; }
.rel__item { display: flex; flex-direction: column; gap: 1px; padding: 7px 10px; border-radius: 10px; border: 1px solid var(--line-08); background: rgba(255, 255, 255, .02); text-align: left; transition: border-color .2s; }
.rel__item:hover { border-color: var(--line-22); }
.rel__l1 { font-size: 10.5px; color: var(--ink-45); font-weight: 600; }
.rel__title { font-size: 12.5px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.chip--count b { color: var(--ink); margin-left: 3px; }
.namecard { padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line-10); background: rgba(255, 255, 255, .03); display: flex; flex-direction: column; gap: 8px; }
.namecard__head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.namecard__id { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.namecard__t { font-family: var(--font-mono); color: var(--accent-2); font-size: 13px; font-weight: 700; }
.namecard__name { font-family: var(--font-display); font-weight: 800; font-size: 16px; letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.namecard__px { display: flex; gap: 10px; font-size: 12.5px; white-space: nowrap; }
.namecard__meta { font-size: 11.5px; color: var(--ink-50); }
.namecard__row { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 10px; align-items: start; }
.namecard__lbl { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-45); padding-top: 4px; }
.namecard__chips { display: flex; flex-wrap: wrap; gap: 4px; }
.namecard__actions { display: flex; gap: 6px; flex-wrap: wrap; }
.co-page__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; }
.co-page__name { font-family: var(--font-display); font-weight: 800; font-size: 20px; line-height: 1.12; letter-spacing: -.015em; }
.co-page__sub { margin-top: 3px; font-size: 12px; color: var(--ink-55); }
.co-page__t { font-family: var(--font-mono); color: var(--accent-2); }
.co-page__px { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-size: 13px; white-space: nowrap; }
.co-page__px .px { font-family: var(--font-display); font-size: 20px; font-weight: 800; }
.co-page__about { font-size: 13.5px; line-height: 1.6; color: var(--ink-75); max-width: 70ch; }
.co-page__rel, .co-page__docs { display: flex; flex-wrap: wrap; gap: 4px; }
.co-page__hint { font-size: 11.5px; margin-bottom: 6px; }
.rtable { margin: 10px 0 0; border-radius: 12px; border: 1px solid var(--line-10); }
.rtable caption { caption-side: top; text-align: left; padding: 8px 12px 4px; font-weight: 700; font-size: 12.5px; color: var(--ink); }
.rtable.is-scrollable caption::after { content: ' · scroll →'; color: var(--ink-45); font-weight: 600; }
.rtable td.wrap, .rtable th.wrap { white-space: normal; min-width: 220px; }
.scl { display: flex; flex-direction: column; gap: 5px; }
.scl__row { display: grid; grid-template-columns: 72px auto auto minmax(0, 1fr); align-items: center; gap: 8px; font-size: 12.5px; }
.scl__dir { font-size: 10px; font-weight: 700; letter-spacing: .06em; color: var(--ink-45); text-transform: uppercase; }
.scl__nm { font-weight: 600; color: var(--ink-72); margin-left: 4px; max-width: 140px; overflow: hidden; text-overflow: ellipsis; }
.scl__share { font-family: var(--font-mono); color: var(--accent-2); white-space: nowrap; }
.scl__note { color: var(--ink-50); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.scl__hint { font-size: 11.5px; margin-top: 4px; }

/* ------------------------------------------------------------------ vessel map (in the reader) */
.ves { display: flex; flex-direction: column; gap: 6px; }
.ves__tools { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.ves__legend { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 11px; color: var(--ink-55); font-weight: 600; }
.ves__legend span { display: inline-flex; align-items: center; gap: 6px; }
.ves__sw { display: inline-block; width: 8px; height: 8px; border-radius: 50%; }
.ves__sw--ship { background: var(--ink); }
.ves__sw--dark { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink-50); }
.ves__sw--sel { background: var(--accent); }
.ves__sw--therm { background: var(--gold); border-radius: 2px; }
.ves__sw--port { background: var(--ink-50); }
.ves__main { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 10px; }
.ves--narrow .ves__main { grid-template-columns: 1fr; }
.ves__mapcol { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ves__box { position: relative; height: 270px; overflow: hidden; border-radius: 12px; border: 1px solid var(--line-12); background: var(--navy); }
.ves__box canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; }
.ves__tip { position: absolute; left: 0; top: 0; z-index: 2; max-width: 240px; padding: 8px 10px; border-radius: 10px; background: rgba(3, 13, 39, .97); border: 1px solid var(--line-12); font-size: 12px; line-height: 1.45; pointer-events: none; }
.ves__foot { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; color: var(--ink-45); }
.ves__readout { font-family: var(--font-mono); color: var(--accent-2); text-align: right; }
.ves__side { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.vcard { padding: 8px 10px; border-radius: 12px; border: 1px solid var(--line-10); background: rgba(255, 255, 255, .03); display: flex; flex-direction: column; gap: 3px; }
.vcard--empty { border-style: dashed; color: var(--ink-50); }
.vcard__t { display: flex; align-items: baseline; gap: 8px; }
.vcard__nm { font-weight: 800; font-size: 12.5px; }
.vcard__ty { font-size: 11px; color: var(--ink-50); }
.vcard__k { font-size: 11px; color: var(--ink-72); }
.vcard__s { font-size: 11.5px; }
.vcard__b { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.ves__side-h { display: flex; justify-content: space-between; padding: 2px 2px 0; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-45); }
.ves__side-h b { font-family: var(--font-mono); color: var(--ink-72); font-weight: 500; }
.ves__list { max-height: 240px; display: flex; flex-direction: column; gap: 2px; }
.ves--narrow .ves__list { max-height: 200px; }
.vrow { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px; border-radius: 10px; }
.vrow.is-sel { background: rgba(243, 140, 46, .12); }
.vrow__pick { display: flex; flex-direction: column; gap: 1px; padding: 5px 8px; min-width: 0; text-align: left; border-radius: 10px; }
.vrow__pick:hover { background: rgba(255, 255, 255, .05); }
.vrow__l1 { display: flex; align-items: center; gap: 6px; min-width: 0; }
.vrow__nm { font-weight: 700; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1 1 auto; min-width: 0; }
.vrow__sp { font-size: 11px; color: var(--ink-50); }
.vrow__l2 { font-size: 11px; color: var(--ink-45); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vrow__l2.is-odd { color: var(--accent-2); }
.vrow__docs { min-width: 26px; height: 22px; margin-right: 4px; padding: 0 6px; border-radius: 99px; font-family: var(--font-mono); font-size: 11px; color: var(--ink-72); background: rgba(255, 255, 255, .07); }
.vrow__docs:hover { background: rgba(255, 255, 255, .13); }
.vrow__docs.is-dim { display: inline-grid; place-items: center; color: var(--ink-40); background: transparent; }
.ves__none { padding: 10px; font-size: 12px; color: var(--ink-50); }

/* ------------------------------------------------------------------ narrower laptops (1093 px is a 1366 laptop at 125 %) */
@media (max-width: 1279px) and (min-width: 761px) {
  .rumor__names { width: 200px; }
  .rumor__qn { display: none; }
  .rumor__q { grid-template-columns: 46px minmax(0, 1fr) 58px; }
  .rumor__names.is-many { width: 330px; }
  .feed__what { display: none; }
}
@media (max-width: 1150px) and (min-width: 761px) {
  .term { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .feed.is-story .feed__count { display: none; }
  .rumor__names { width: 190px; }
  .feed__search { flex-basis: 170px; width: 170px; }
  .feed__show .seg__btn { padding: 4px 8px; }
  .howto li { grid-template-columns: 120px minmax(0, 1fr); }
  .co-row { grid-template-columns: 56px minmax(0, 1fr) 140px; }
  .co-row__ex { display: none; }
}
@media (max-height: 660px) and (min-width: 761px) {
  .rumor { padding-top: 7px; padding-bottom: 7px; }
  .rumor__text { font-size: 15px; }
  .ves__box { height: 220px; }
}

/* ------------------------------------------------------------------ overlay reader (761-959 px) */
@media (max-width: 959px) and (min-width: 761px) {
  .term { grid-template-columns: minmax(0, 1fr); }
  .reader { grid-column: 1; grid-row: 2; justify-self: end; width: min(560px, 82%); z-index: 15; display: none; background: var(--navy); border-color: var(--line-22); box-shadow: 0 50px 110px -30px rgba(0, 0, 0, .95); }
  .term.is-reader-open .reader { display: flex; }
  .reader__close { display: inline-flex; }
  .rumor__acts { flex-direction: row; }
}

/* ------------------------------------------------------------------ phones: the rumour, the filters, the news; the reader full screen */
.reader__sheetbody .reader__body { padding: 0 0 24px; }
.reader__sheetbody .rdoc__bar { margin: 12px -16px 0; padding-bottom: calc(10px + var(--safe-b)); }
.reader-sheet .sheet__head .strip__t { letter-spacing: .14em; }
.reader-sheet .sheet__head .reader__kicker { color: var(--ink-55); font-weight: 600; letter-spacing: 0; text-transform: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.reader-sheet .sheet__close { height: 38px; padding: 0 16px; }
@media (max-width: 760px) {
  .term { display: flex; flex-direction: column; gap: 12px; }
  .rumor { padding: 12px 14px; border-radius: 16px; }
  .rumor__body { flex-direction: column; align-items: stretch; gap: 10px; }
  .rumor__text { font-size: 18px; -webkit-line-clamp: 8; }
  .rumor__acts { flex-direction: row; }
  .rumor__acts .btn { height: 42px; flex: 1 1 0; }
  .rumor__names, .rumor__names.is-many { width: auto; padding-left: 0; border-left: 0; }
  .rumor__q { height: 34px; font-size: 13px; }
  .rumor__names.is-many { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feed { overflow: visible; }
  .feed__head { flex-wrap: wrap; }
  .feed__what { display: none; }
  .feed__filters { gap: 8px; padding: 0 12px 12px; }
  .feed__show { flex: 1 1 100%; display: flex; }
  .feed__show .seg__btn { flex: 1 1 0; padding: 8px 6px; font-size: 12.5px; white-space: normal; line-height: 1.15; text-align: center; }
  .feed__src { flex: 1 1 0; min-width: 0; }
  .feed__search { flex: 1 1 100%; width: auto; order: 5; }
  .feed__src .input, .feed__search { height: 44px; font-size: 16px; }
  #feed-info { width: 44px; height: 44px; }
  .feed__opts > summary { height: 44px; }
  .feed__morebox { width: min(300px, calc(100vw - 32px)); }
  .feed__morebox .btn { height: 42px; }
  .feed__body { overflow: visible; }
  .feed__date { top: calc(58px + var(--safe-t)); }
  .doc-row { grid-template-columns: 40px minmax(0, 1fr); grid-template-rows: auto auto; padding: 11px 14px 12px; }
  .doc-row__when { grid-row: 1; }
  .doc-row__main { grid-column: 2; grid-row: 1; }
  .doc-row__side { grid-column: 2; grid-row: 2; justify-content: flex-start; max-width: none; margin-top: 6px; }
  .doc-row__title { white-space: normal; font-size: 15px; }
  .doc-row__preview { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .co-row { grid-template-columns: 60px minmax(0, 1fr) auto; padding: 12px 14px; }
  .doc-row--card { padding: 13px 14px 14px; }
  .doc-row--card .sc__tags { margin-top: 0; }
  .sc__title { font-size: 16px; -webkit-line-clamp: 3; }
  .sc__line { font-size: 13.5px; }
  .feed__moretoggle { height: 40px; }
  .co-row__ex { display: none; }
  .reader { display: none; }
  .rdoc__title { font-size: 22px; }
  .rdoc__body p { font-size: 16px; }
  .rdoc__bar .btn, .mark-btn { height: 44px; }
  .howto li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .ves__box { height: 240px; }
  .ves__main { grid-template-columns: 1fr; }
}
