/* The Tech Brief: next build (2026-11-14). Share sheet and cards, five pillars lens, app-style phone layout.
   Uses the page's tokens (--x-red, --x-ink, --x-chip ...) so light and dark mode follow the existing theme. */

/* ---------- 1. Share: the quiet icon ---------- */
.x-dig-row.otbs-has { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.otbs-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px; margin: 0 0 0 auto; padding: 0;
  border: 1px solid var(--x-pill-line, #e0e0e0); border-radius: 999px; background: transparent; color: var(--x-g1, #525252);
  cursor: pointer; transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease;
}
.otbs-btn:hover { border-color: var(--x-ink, #171717); color: var(--x-ink, #171717); }
.otbs-btn:focus-visible { outline: 2px solid var(--x-red, #c81018); outline-offset: 2px; }
.otbs-btn--text { display: inline-flex; gap: 6px; width: auto; min-height: 36px; height: auto; padding: 6px 14px; margin: 4px 0; font: 600 13px/1.2 var(--sans, Helvetica, Arial, sans-serif); color: var(--x-ink, #171717); }
.x-pf-acts .otbs-btn--text { margin: 0; }
@media (pointer: coarse) { .otbs-btn { width: 44px; height: 44px; } .otbs-btn--text { min-height: 44px; } }

/* ---------- Share sheet ---------- */
.otbs-sheet { max-width: 620px; }
.otbs-body { gap: 12px; grid-template-columns: minmax(0, 1fr); }
.otbs-body > * { min-width: 0; }
.otbs-title { margin: -6px 0 0; }
.otbs-sub { margin: -8px 0 2px; color: var(--x-g2, #737373); font: 400 15px/1.35 var(--sans, Helvetica, Arial, sans-serif); }
.otbs-prev { position: relative; width: 100%; overflow: hidden; border: 1px solid var(--x-line, #e5e5e5); border-radius: 10px; background: #fff; }
.otbs-prev > .otbc { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.otbs-link { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 4px 6px 4px 14px; border-radius: 10px; background: var(--x-chip, #f1f1ef); }
.otbs-link__t { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--x-ink, #171717); font: 400 15px/1.3 var(--sans, Helvetica, Arial, sans-serif); user-select: all; -webkit-user-select: all; }
.otbs-copy { flex: none; min-height: 40px; padding: 0 14px; border: 0; border-radius: 8px; background: none; color: var(--x-red, #c81018); font: 700 16px/1 var(--sans, Helvetica, Arial, sans-serif); cursor: pointer; }
.otbs-copy:hover { background: var(--x-tint, #fcf1f1); }
.otbs-copy:focus-visible, .otbs-act:focus-visible { outline: 2px solid var(--x-red, #c81018); outline-offset: 2px; }
.otbs-acts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 2px; }
.otbs-act { display: grid; justify-items: center; gap: 6px; padding: 4px 0; border: 0; background: none; color: var(--x-ink, #171717); font: 600 13px/1.2 var(--sans, Helvetica, Arial, sans-serif); text-align: center; text-decoration: none; cursor: pointer; }
.otbs-act[hidden] { display: none; }
.otbs-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; color: #fff; }
.otbs-ico--native { background: #c81018; }
.otbs-ico--x { background: #111; }
.otbs-ico--li { background: #0a66c2; }
.otbs-ico--save { background: #555; }
.otbs-act:hover .otbs-ico { filter: brightness(1.12); }
:root[data-theme="dark"] .otbs-ico--x { background: #f1f1f1; color: #0f1013; }
:root[data-theme="dark"] .otbs-ico--save { background: #6b6c72; }
:root[data-theme="dark"] .otbs-prev { border-color: #2c2d32; }
.otbs-status:empty { display: none; }
.otbs-note { margin: 0; }

/* Landing from a shared link */
.otbs-hit { outline: 2px solid var(--x-red-rule, #c81018); outline-offset: 6px; border-radius: 6px; animation: otbs-fade 2.6s ease-out 1.4s forwards; }
@keyframes otbs-fade { to { outline-color: transparent; } }
@media (prefers-reduced-motion: reduce) { .otbs-hit { animation-duration: 0.01s; animation-delay: 4s; } }
.otbs-bar {
  position: fixed; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 900; transform: translateX(-50%);
  display: flex; align-items: center; gap: 8px; width: max-content; max-width: calc(100vw - 24px); min-height: 44px; padding: 4px 6px 4px 16px;
  border: 1px solid var(--x-line, #e5e5e5); border-radius: 999px; background: var(--x-card, #fff); color: var(--x-g1, #525252);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12); font: 400 14px/1.3 var(--sans, Helvetica, Arial, sans-serif);
}
.otbs-bar b { color: var(--x-ink, #171717); font-weight: 700; }
.otbs-bar__sep { color: var(--x-g3, #a3a3a3); }
.otbs-bar__a { color: var(--x-red, #c81018); font-weight: 700; text-decoration: none; white-space: nowrap; }
.otbs-bar__a:hover { text-decoration: underline; }
.otbs-bar__x { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 999px; background: none; color: var(--x-g2, #737373); cursor: pointer; }
.otbs-bar__x:hover { color: var(--x-ink, #171717); }
.otbs-bar__t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 480px) { .otbs-bar { font-size: 13px; padding-left: 14px; } .otbs-bar__w { display: none; } }
html.x-app .otbs-bar { bottom: calc(var(--app-dock, 64px) + 12px + env(safe-area-inset-bottom, 0px)); }
html.paper .otbs-bar { display: none; }

/* ---------- The 1200x630 card (preview and PNG) ---------- */
.otbc {
  box-sizing: border-box; position: relative; width: 1200px; height: 630px; padding: 56px 72px 0 84px; overflow: hidden;
  background: #fff; color: #111; text-align: left;
  font-family: "Helvetica Neue", Helvetica, "Nimbus Sans", "Nimbus Sans L", Arial, sans-serif; -webkit-font-smoothing: antialiased;
}
.otbc *, .otbc *::before, .otbc *::after { box-sizing: border-box; }
.otbc::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 18px; background: #c81018; }
.otbc-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 22px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.2; }
.otbc-cat { color: #c81018; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.otbc-right { display: flex; gap: 10px; align-items: center; flex: none; }
.otbc-pp { display: inline-flex; align-items: center; padding: 6px 14px 6px 8px; border-radius: 99px; background: #efefec; color: #444; font-size: 18px; letter-spacing: 0.02em; text-transform: none; white-space: nowrap; }
.otbc-pp b { display: inline-block; width: 26px; height: 26px; margin-right: 8px; border-radius: 6px; background: #111; color: #fff; font-size: 14px; line-height: 26px; text-align: center; letter-spacing: 0; }
.otbc-pp--tag { padding-left: 14px; }
.otbc-date { color: #888; font-size: 20px; letter-spacing: 0.06em; white-space: nowrap; }
.otbc-h { margin: 26px 0 0; max-width: 1040px; font-size: 54px; line-height: 1.08; font-weight: 700; letter-spacing: -0.02em; overflow-wrap: break-word; hyphens: none; }
.otbc-h--mono { font-family: "DejaVu Sans Mono", ui-monospace, Menlo, Consolas, monospace; letter-spacing: -0.03em; overflow-wrap: anywhere; }
.otbc-sub { margin: 10px 0 0; color: #666; font-size: 22px; line-height: 1.3; }
.otbc-body { margin-top: 22px; }
.otbc-vis { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; }
.otbc-chip { padding: 12px 20px; border-radius: 14px; background: #f4f4f2; color: #333; font-size: 21px; font-weight: 700; line-height: 1.2; }
.otbc-n { display: block; margin-bottom: 2px; color: #c81018; font-size: 38px; letter-spacing: -0.02em; line-height: 1.1; }
.otbc-n.is-small { font-size: 28px; }
.otbc-chip--s { display: flex; align-items: center; gap: 10px; padding: 16px 20px; }
.otbc-dot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; background: #ddd; }
.otbc-dot.is-on { background: #c81018; }
.otbc-lang { display: inline-block; width: 16px; height: 16px; border-radius: 50%; background: #3572a5; }
.otbc-bl { margin: 0; max-width: 1010px; color: #333; font-size: 27px; line-height: 1.38; }
.otbc-bl b { margin-right: 12px; color: #c81018; font-size: 20px; letter-spacing: 0.08em; }
.otbc-bl--sm { font-size: 23px; color: #555; }
.otbc-bl--note { margin-top: 2px; font-size: 24px; color: #555; }
.otbc-bl--about { margin-top: -8px; margin-bottom: 14px; font-size: 24px; color: #555; }
.otbc-bars { margin-bottom: 6px; }
.otbc-bar { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; font-size: 21px; }
.otbc-bar span { width: 190px; flex: none; color: #555; }
.otbc-bar i { display: block; height: 26px; border-radius: 5px; }
.otbc-who { margin: 0 0 14px; color: #888; font-size: 17px; line-height: 1.35; }
.otbc-qtr { display: flex; gap: 12px; margin-bottom: 16px; }
.otbc-st { flex: 1 1 0; padding: 14px 18px; border-radius: 14px; background: #f4f4f2; font-size: 22px; font-weight: 700; line-height: 1.28; }
.otbc-st em { display: block; margin-bottom: 4px; color: #c81018; font-size: 15px; font-style: normal; letter-spacing: 0.12em; text-transform: uppercase; }
.otbc-map { display: block; flex: none; margin: -4px 0 0; font-family: inherit; }
.otbc-ent { display: flex; align-items: flex-start; gap: 24px; }
.otbc-vis--col { flex-direction: column; flex: none; width: 190px; margin: 0; }
.otbc-foot { position: absolute; left: 84px; right: 72px; bottom: 0; height: 112px; display: flex; align-items: center; justify-content: space-between; border-top: 2px solid #111; background: #fff; }
.otbc-br { display: flex; align-items: center; gap: 18px; }
.otbc-br img { display: block; width: 56px; height: 56px; }
.otbc-nm { font-size: 29px; font-weight: 700; }
.otbc-sb { margin-top: 3px; color: #777; font-size: 19px; }
.otbc-url { text-align: right; font-size: 23px; font-weight: 700; line-height: 1.3; }
.otbc-url span { color: #888; font-size: 17px; font-weight: 400; }
#otbc-stage { position: fixed; left: 0; top: 0; z-index: 2147483647; width: 1200px; height: 630px; background: #fff; }

/* ---------- 2. Five pillars: the pulse strip on Today ---------- */
.otbp { margin: 20px 0 8px; padding: 16px 0 4px; border-top: var(--x-rule, 1.5px solid #171717); }
.otbp-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 12px; }
.otbp-k { margin: 0; color: var(--x-red, #c81018); font: 700 12px/1.3 var(--sans, Helvetica, Arial, sans-serif); letter-spacing: 0.12em; text-transform: uppercase; }
.otbp-what { color: var(--x-g2, #737373); font: 400 13px/1.3 var(--sans, Helvetica, Arial, sans-serif); text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.otbp-what:hover { color: var(--x-red, #c81018); }
.otbp-tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.otbp-tile {
  display: grid; justify-items: center; align-content: start; gap: 6px; min-width: 0; min-height: 96px; padding: 12px 3px 10px;
  border: 1px solid transparent; border-radius: 12px; background: var(--x-chip, #f1f1ef); color: var(--x-ink, #171717);
  font: 600 12px/1.15 var(--sans, Helvetica, Arial, sans-serif); text-align: center; cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease;
}
.otbp-tile.has { background: var(--x-tint, #fcf1f1); }
.otbp-tile:hover { border-color: var(--x-g3, #a3a3a3); }
.otbp-tile:focus-visible, .otbp-found:focus-visible { outline: 2px solid var(--x-red, #c81018); outline-offset: 2px; }
.otbp-tile.is-on, .otbp-found.is-on { border-color: var(--x-red-rule, #c81018); box-shadow: inset 0 0 0 1px var(--x-red-rule, #c81018); }
.otbp-ico { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; background: var(--x-chip-ico, #171717); color: var(--x-chip-ico-ink, #fff); font: 700 12px/1 var(--sans, Helvetica, Arial, sans-serif); }
.otbp-tile.has .otbp-ico { background: var(--x-red-fill, #c81018); color: #fff; }
.otbp-l { display: block; max-width: 100%; overflow: hidden; white-space: nowrap; letter-spacing: -0.01em; }
.otbp-abbr, .otbp-l.is-short .otbp-full { display: none; }
.otbp-l.is-short .otbp-abbr { display: inline; }
.otbp-n { font: 700 24px/1 var(--x-num-font, "Helvetica Neue", Helvetica, Arial, sans-serif); font-variant-numeric: tabular-nums; }
.otbp-tile.has .otbp-n { color: var(--x-red, #c81018); }
.otbp-tile.is-zero { color: var(--x-g2, #737373); }
.otbp-tile.is-zero .otbp-ico { background: var(--x-dot-off, #d4d4d4); color: var(--x-g1, #525252); }
:root[data-theme="dark"] .otbp-tile.is-zero .otbp-ico { color: #d4d4d4; }
.otbp-found {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 44px; margin-top: 8px; padding: 0 16px;
  border: 1px solid transparent; border-radius: 10px; background: #171717; color: #f1f1f1; cursor: pointer;
  font: 400 14px/1.2 var(--sans, Helvetica, Arial, sans-serif); text-align: left;
}
.otbp-found__l b { font-weight: 700; color: #fff; }
.otbp-found__n { font-weight: 700; font-variant-numeric: tabular-nums; }
.otbp-found.has .otbp-found__n { color: #ff5a62; }
:root[data-theme="dark"] .otbp-found { background: #f1f1f1; color: #171717; }
:root[data-theme="dark"] .otbp-found__l b { color: #0f1013; }
:root[data-theme="dark"] .otbp-found.has .otbp-found__n { color: #c81018; }
.otbp-status { margin: 10px 0 0; color: var(--x-g1, #525252); font: 400 14px/1.4 var(--sans, Helvetica, Arial, sans-serif); }
.otbp-status:empty { display: none; }
.otbp-clear { margin-left: 4px; padding: 4px 10px; border: 1px solid var(--x-line, #e5e5e5); border-radius: 999px; background: none; color: var(--x-red, #c81018); font: 700 13px/1.2 var(--sans, Helvetica, Arial, sans-serif); cursor: pointer; }
@media (max-width: 380px) { .otbp-tiles { gap: 6px; } .otbp-tile { font-size: 11px; padding-left: 2px; padding-right: 2px; } }
@media (min-width: 1024px) { .otbp { max-width: 760px; margin: 28px 0 8px; } .otbp-tile { min-height: 88px; } }

/* Filtering Today */
.otbp-out { display: none !important; }
.otbp-none { display: none !important; }

/* Pillar badge, Beyond the chatbot tag, Where it lands */
.otb-pbadge {
  display: inline-flex; align-items: center; gap: 5px; margin-left: 8px; padding: 2px 8px 2px 3px; vertical-align: middle;
  border-radius: 999px; background: var(--x-chip, #f1f1ef); color: var(--x-chip-ink, #171717); font: 600 12px/1.2 var(--sans, Helvetica, Arial, sans-serif); white-space: nowrap;
}
.otb-pbadge b { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 5px; background: var(--x-chip-ico, #171717); color: var(--x-chip-ico-ink, #fff); font-size: 11px; }
.otb-bc {
  display: inline-flex; align-items: center; margin-left: 8px; padding: 2px 9px; vertical-align: middle;
  border: 1px solid var(--x-red-rule, #c81018); border-radius: 999px; color: var(--x-red, #c81018); font: 700 12px/1.3 var(--sans, Helvetica, Arial, sans-serif); white-space: nowrap;
}
.otb-prow { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 2px; }
.otb-prow .otb-pbadge, .otb-prow .otb-bc { margin-left: 0; }
.otb-wil { margin: 0; padding: 8px 12px; border-left: 3px solid var(--x-red-rule, #c81018); background: var(--x-wash, #fafafa); color: var(--x-g1, #525252); font: 400 15px/1.45 var(--sans, Helvetica, Arial, sans-serif); }
.otb-wil__k { display: block; margin-bottom: 2px; color: var(--x-red, #c81018); font: 700 11px/1.3 var(--sans, Helvetica, Arial, sans-serif); letter-spacing: 0.1em; text-transform: uppercase; }

/* Weekly pillar trends */
.otbt { margin: 28px 0 0; padding: 18px 0 0; border-top: 1px solid var(--x-line, #e5e5e5); }
.otbt-cap { display: grid; gap: 4px; margin: 0 0 14px; }
.otbt-k { color: var(--x-red, #c81018); font: 700 12px/1.3 var(--sans, Helvetica, Arial, sans-serif); letter-spacing: 0.12em; text-transform: uppercase; }
.otbt-t { color: var(--x-ink, #171717); font: 700 20px/1.25 var(--sans, Helvetica, Arial, sans-serif); letter-spacing: -0.01em; }
.otbt-cap small { color: var(--x-g2, #737373); font: 400 13px/1.45 var(--sans, Helvetica, Arial, sans-serif); }
.otbt-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.otbt-tab { width: 100%; border-collapse: collapse; table-layout: fixed; min-width: 330px; }
.otbt-tab th, .otbt-tab td { padding: 6px 2px; border: 0; text-align: center; vertical-align: bottom; background: none; }
.otbt-tab thead th { color: var(--x-g2, #737373); font: 600 11px/1.2 var(--sans, Helvetica, Arial, sans-serif); letter-spacing: 0.02em; white-space: nowrap; }
.otbt-tab thead th.is-cur { color: var(--x-red, #c81018); }
.otbt-tab tbody th { width: 118px; text-align: left; vertical-align: middle; color: var(--x-ink, #171717); font: 600 13px/1.2 var(--sans, Helvetica, Arial, sans-serif); white-space: nowrap; }
.otbt-tab tbody th .otbp-ico { width: 20px; height: 20px; margin-right: 6px; font-size: 11px; vertical-align: middle; }
.otbt-tab tbody tr + tr th, .otbt-tab tbody tr + tr td { border-top: 1px solid var(--x-line, #e5e5e5); }
.otbt-bar { display: block; width: 14px; margin: 0 auto 3px; border-radius: 3px 3px 0 0; background: var(--x-g3, #a3a3a3); }
.otbt-tab td.is-cur .otbt-bar { background: var(--x-red-fill, #c81018); }
.otbt-v { display: block; color: var(--x-g1, #525252); font: 600 12px/1.2 var(--sans, Helvetica, Arial, sans-serif); font-variant-numeric: tabular-nums; }
.otbt-tab td.is-cur .otbt-v { color: var(--x-red, #c81018); }
.otbt-tab tr.is-found th { color: var(--x-g1, #525252); }
@media (max-width: 599px) { .otbt-old { display: none; } .otbt-tab tbody th { width: 122px; font-size: 12px; } }

/* ---------- 3. App-style phone layout (below 1024px; html.x-app) ---------- */
#otb-apphead, #otb-tabs, #otb-player, #otb-ptr, #otb-today, #otb-railwrap, #otb-libnav, .otbm-libnav { display: none; }
html.x-app #otb-apphead { display: grid; }
html.x-app #otb-tabs { display: flex; }
html.x-app #otb-player:not([hidden]) { display: flex; }
html.x-app #otb-ptr { display: flex; }
html.x-app #otb-today, html.x-app #otb-railwrap { display: block; }
html.x-app[data-otba-tab="library"] #otb-libnav-library, html.x-app[data-otba-tab="explore"] #otb-libnav-explore { display: block; }
html.x-app .x-mast, html.x-app #x-nav, html.x-app .x-top { display: none !important; }
html.x-app .x-disclaim { margin: 8px 0 0; }
html.x-app:not([data-otba-tab="today"]) .x-disclaim { display: none; }
html.x-app:not([data-otba-tab="today"]) :is(#today, #stories, #releases, #ai-business, #github, #research) { display: none !important; }
html.x-app:not([data-otba-tab="explore"]) :is(#directory, #pillars, #pulse, #map, #graph, #star-race, #arcs) { display: none !important; }
html.x-app:not([data-otba-tab="library"]) :is(#issues, #archive, #covers, #glossary) { display: none !important; }
html.x-app:not([data-otba-tab="saved"]) #following { display: none !important; }
html.x-app #today > .x-bluf--top, html.x-app .main #lead, html.x-app .main #stories { display: none !important; }
html.x-app .page { padding-top: 4px; padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 96px); }
html.x-app.otba-has-player .page { padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 160px); }
html.x-app.otba-zoomed .main, html.x-app.otba-zoomed .x-dig-body { zoom: var(--otb-zoom, 1); }
html.paper #otb-apphead, html.paper #otb-tabs, html.paper #otb-player, html.paper #otb-ptr { display: none !important; }

/* Header */
.otba-head {
  position: sticky; top: 0; z-index: 800; grid-template-columns: 1fr auto; align-items: center; gap: 8px;
  min-height: 52px; padding: calc(env(safe-area-inset-top, 0px) + 6px) 16px 6px;
  background: color-mix(in srgb, var(--x-bg, #fff) 92%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--x-line, #e5e5e5);
}
.otba-brand { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; color: var(--x-ink, #171717); text-decoration: none; font: 700 14px/1 var(--sans, Helvetica, Arial, sans-serif); letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; }
.otba-logo { display: block; width: 24px; height: 24px; }
.otba-logo--d { display: none; }
:root[data-theme="dark"] .otba-logo--l { display: none; }
:root[data-theme="dark"] .otba-logo--d { display: block; }
.otba-tools { display: flex; gap: 6px; }
.otba-ic { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 999px; background: var(--x-chip, #f1f1ef); color: var(--x-ink, #171717); cursor: pointer; }
.otba-ic:focus-visible, .otba-tab:focus-visible, .otba-sec:focus-visible, .otba-play:focus-visible { outline: 2px solid var(--x-red, #c81018); outline-offset: 2px; }
.otba-aa { font: 700 16px/1 var(--sans, Helvetica, Arial, sans-serif); letter-spacing: -0.02em; }
.otba-aa small { font-size: 11px; }
#otba-theme .otba-sun { display: none; }
#otba-theme.is-dark .otba-sun { display: inline; }
#otba-theme.is-dark .otba-moon { display: none; }
.otba-sizes { grid-column: 1 / -1; display: flex; justify-content: flex-end; gap: 6px; padding: 4px 0 2px; }
.otba-sizes[hidden] { display: none; }
.otba-sizes button { min-width: 44px; min-height: 40px; border: 1px solid var(--x-line, #e5e5e5); border-radius: 10px; background: var(--x-card, #fff); color: var(--x-ink, #171717); font-weight: 700; font-family: var(--sans, Helvetica, Arial, sans-serif); cursor: pointer; }
.otba-sizes button[aria-pressed="true"] { border-color: var(--x-red-rule, #c81018); color: var(--x-red, #c81018); }
.otba-prog { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.otba-prog i { display: block; width: 0; height: 2px; background: var(--x-red-rule, #c81018); transition: width 80ms linear; }

/* Bottom tabs */
.otba-tabs {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 800; justify-content: space-around;
  padding: 6px 4px calc(env(safe-area-inset-bottom, 0px) + 6px);
  background: color-mix(in srgb, var(--x-bg, #fff) 94%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-top: 1px solid var(--x-line, #e5e5e5);
}
.otba-tab { position: relative; display: grid; justify-items: center; gap: 3px; min-width: 64px; min-height: 48px; padding: 4px 6px; color: var(--x-g2, #737373); text-decoration: none; font: 700 11px/1.1 var(--sans, Helvetica, Arial, sans-serif); }
.otba-tab svg { color: var(--x-g3, #a3a3a3); }
.otba-tab.is-on { color: var(--x-ink, #171717); }
.otba-tab.is-on svg { color: var(--x-red, #c81018); }
.otba-badge { position: absolute; top: 0; left: 50%; margin-left: 6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--x-red-fill, #c81018); color: #fff; font: 700 11px/18px var(--sans, Helvetica, Arial, sans-serif); text-align: center; }
.otba-badge[hidden] { display: none; }

/* Today screen */
.otba-hero { padding: 6px 0 2px; }
.otba-date { margin: 0 0 8px; color: var(--x-red, #c81018); font: 700 12px/1.3 var(--sans, Helvetica, Arial, sans-serif); letter-spacing: 0.14em; text-transform: uppercase; }
.otba-k { margin: 0 0 4px; color: var(--x-g2, #737373); font: 700 11px/1.3 var(--sans, Helvetica, Arial, sans-serif); letter-spacing: 0.14em; text-transform: uppercase; }
.otba-h1 { margin: 0; color: var(--x-ink, #171717); font: 700 clamp(26px, 7.4vw, 34px)/1.12 var(--sans, Helvetica, Arial, sans-serif); letter-spacing: -0.02em; overflow-wrap: break-word; hyphens: manual; }
.otba-bl { margin: 12px 0 0; color: var(--x-g1, #525252); font: 400 17px/1.5 var(--sans, Helvetica, Arial, sans-serif); }
.otba-more { margin: 12px 0 0; }
.otba-more summary { display: inline-flex; align-items: center; min-height: 44px; color: var(--x-red, #c81018); font: 700 14px/1.2 var(--sans, Helvetica, Arial, sans-serif); cursor: pointer; list-style: none; }
.otba-more summary::-webkit-details-marker { display: none; }
.otba-more summary::after { content: "+"; margin-left: 8px; font-size: 18px; line-height: 1; }
.otba-more[open] summary::after { content: "\2212"; }
.otba-pv { display: grid; gap: 10px; padding: 12px 14px; border-top: 2px solid var(--x-red-rule, #c81018); background: var(--x-wash, #fafafa); }
.otba-pv p { margin: 0; color: var(--x-g1, #525252); font: 400 16px/1.5 var(--sans, Helvetica, Arial, sans-serif); }
.otba-pv b { color: var(--x-ink, #171717); }
.otba-links { margin: 6px 0 0; }
.otba-link { color: var(--x-red, #c81018); font: 700 14px/1.2 var(--sans, Helvetica, Arial, sans-serif); }
html.x-app #otb-pulse { margin-top: 18px; }
.otba-lbl { margin: 22px 0 10px; color: var(--x-g2, #737373); font: 700 11px/1.3 var(--sans, Helvetica, Arial, sans-serif); letter-spacing: 0.14em; text-transform: uppercase; }
.otba-rail {
  display: flex; gap: 10px; margin: 0 -16px; padding: 2px 16px 6px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px;
  -webkit-overflow-scrolling: touch; scrollbar-width: none; overscroll-behavior-x: contain;
}
.otba-rail::-webkit-scrollbar { display: none; }
.otba-rail:focus-visible { outline: 2px solid var(--x-red, #c81018); outline-offset: 2px; }
.otba-rail > .x-stack.otba-card {
  position: relative; flex: 0 0 min(84%, 330px); display: flex; flex-direction: column; min-height: 214px; margin: 0; padding: 16px 16px 14px;
  gap: 0; scroll-snap-align: start; border: 0; border-radius: 18px; background: var(--x-chip, #f4f4f2); color: var(--x-ink, #171717); cursor: pointer;
  transition: background-color 200ms ease, color 200ms ease;
}
.otba-rail > .otba-card.is-on { background: #111; color: #fff; }
:root[data-theme="dark"] .otba-rail > .otba-card { background: #202125; }
:root[data-theme="dark"] .otba-rail > .otba-card.is-on { background: #f1f1f1; color: #0f1013; }
.otba-n { margin: 0; color: var(--x-red, #c81018); font: 700 40px/1 var(--x-num-font, "Helvetica Neue", Helvetica, Arial, sans-serif); letter-spacing: -0.02em; }
.otba-card.is-on .otba-n { color: #ef2b35; }
:root[data-theme="dark"] .otba-card.is-on .otba-n { color: #c81018; }
.otba-c { margin: 8px 0 0; color: var(--x-g2, #737373); font: 700 10px/1.3 var(--sans, Helvetica, Arial, sans-serif); letter-spacing: 0.14em; text-transform: uppercase; }
.otba-card.is-on .otba-c { color: #b5b5b5; }
:root[data-theme="dark"] .otba-card.is-on .otba-c { color: #555; }
.otba-t { margin: 6px 0 14px; font: 700 19px/1.24 var(--sans, Helvetica, Arial, sans-serif); letter-spacing: -0.01em; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: break-word; }
.otba-t a { color: inherit; text-decoration: none; }
.otba-acts { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 6px; }
.otba-acts .x-dig { margin: 0; }
.otba-acts .otbs-btn--text { margin: 0; border-color: transparent; background: none; color: inherit; padding-right: 4px; }
.otba-card.is-on .x-dig { background: transparent; border-color: #ef2b35; color: #ef2b35; }
:root[data-theme="dark"] .otba-card.is-on .x-dig { border-color: #c81018; color: #c81018; }
.otba-dots { display: flex; justify-content: center; gap: 5px; margin-top: 8px; }
.otba-dots i { width: 6px; height: 6px; border-radius: 9px; background: var(--x-dot-off, #d4d4d4); transition: width 200ms ease; }
.otba-dots i.is-on { width: 18px; background: var(--x-red-fill, #c81018); }
.otba-dots i[hidden] { display: none; }
.otba-secs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.otba-secs::-webkit-scrollbar { display: none; }
.otba-secs--wrap { flex-wrap: wrap; overflow: visible; }
.otba-sec { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; background: var(--x-chip, #f1f1ef); color: var(--x-ink, #171717); text-decoration: none; font: 700 13px/1 var(--sans, Helvetica, Arial, sans-serif); white-space: nowrap; }
.otba-sec b { color: var(--x-red, #c81018); }
.otba-libnav { padding: 8px 0 4px; }
.otba-libnav .otba-lbl { margin-top: 8px; }
html.otbp-filtering .otba-secs { opacity: 0.85; }

/* Story sheet (the full card, moved in) */
.otba-sheet { z-index: 990; }
.otba-sheet__b .x-stack, .otba-sheet__b .x-lead { margin: 0; padding: 0; border: 0; box-shadow: none; background: transparent; }
.otba-sheet__b .x-lead { display: block; }
.otba-sheet__b .x-lead__cover { max-height: 220px; margin-bottom: 14px; }
.otba-sheet__b .x-lead__h { font-size: 26px; }
.otba-sheet__s { max-height: 90vh; max-height: 90dvh; }

/* Mini player */
.otba-player {
  position: fixed; left: 12px; right: 12px; bottom: calc(env(safe-area-inset-bottom, 0px) + 72px); z-index: 801; align-items: center; gap: 10px;
  min-height: 56px; padding: 6px 8px 10px 10px; border-radius: 16px; background: var(--x-card, #fff); color: var(--x-ink, #171717);
  border: 1px solid var(--x-line, #e5e5e5); box-shadow: 0 6px 24px rgba(0, 0, 0, 0.14);
}
:root[data-theme="dark"] .otba-player { background: #1c1d21; border-color: #2c2d32; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5); }
.otba-play { flex: none; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: var(--x-red-fill, #c81018); color: #fff; cursor: pointer; }
.otba-play .otba-i-pause, .otba-player.is-playing .otba-play .otba-i-play { display: none; }
.otba-player.is-playing .otba-play .otba-i-pause { display: block; }
.otba-pt { flex: 1 1 auto; min-width: 0; display: grid; gap: 2px; }
.otba-pt__t { font: 700 13px/1.2 var(--sans, Helvetica, Arial, sans-serif); font-variant-numeric: tabular-nums; }
.otba-pt__s { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--x-g2, #737373); font: 400 12px/1.3 var(--sans, Helvetica, Arial, sans-serif); }
.otba-skip, .otba-px { position: relative; flex: none; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--x-g1, #525252); cursor: pointer; }
.otba-skip small { position: absolute; font: 700 8px/1 var(--sans, Helvetica, Arial, sans-serif); top: 16px; }
.otba-bar { position: absolute; left: 14px; right: 14px; bottom: 5px; height: 3px; border-radius: 3px; background: var(--x-line, #e5e5e5); cursor: pointer; }
.otba-bar::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; bottom: -6px; }
.otba-bar i { display: block; width: 0; height: 3px; border-radius: 3px; background: var(--x-red-fill, #c81018); }

/* Pull to refresh */
.otba-ptr {
  position: fixed; left: 50%; top: calc(env(safe-area-inset-top, 0px) + 56px); z-index: 850; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px; background: var(--x-card, #fff); color: var(--x-g1, #525252); border: 1px solid var(--x-line, #e5e5e5);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12); font: 600 13px/1 var(--sans, Helvetica, Arial, sans-serif);
  transform: translate(-50%, -56px); opacity: 0; pointer-events: none; transition: opacity 120ms ease;
}
.otba-ptr.is-ready, .otba-ptr.is-busy { color: var(--x-red, #c81018); }
.otba-ptr.is-busy .otba-ptr__i { animation: otba-spin 0.8s linear infinite; }
@keyframes otba-spin { to { transform: rotate(360deg); } }
.otba-ptr__i { display: grid; }

/* Fold open (inner display) and small tablets: two columns */
@media (min-width: 700px) and (max-width: 1023px) {
  /* Mobile v2 (2026-11-16): one centred column on the open Fold; the top 3 still swipe. */
  html.x-app .otba-player { left: 50%; right: auto; width: min(560px, calc(100% - 24px)); transform: translateX(-50%); }
  html.x-app .otba-tabs { justify-content: center; gap: 32px; }
}


/* ---------- 4. Mobile v2 Today screen (approved by Alan 2026-11-16; spec mockups/mobile-v2/SPEC.md) ---------- */
html.x-app { --otbm-bg: #f6f5f3; --otbm-card: #fff; --otbm-band: #efece8; --otbm-line: #e7e5e2; }
html.x-app[data-theme="dark"] { --otbm-bg: #0e0e0e; --otbm-card: #1a1a1a; --otbm-band: #232220; --otbm-line: #2c2c2c; }
html.x-app[data-otba-tab="today"]:not([data-otba-sub]), html.x-app[data-otba-tab="today"]:not([data-otba-sub]) body { background: var(--otbm-bg); }
html.x-app[data-otba-tab="today"]:not([data-otba-sub]) :is(.page, .main, #today) { background: transparent; }
html.x-app #otb-pulse, html.x-app .x-disclaim { display: none !important; }
html.x-app[data-otba-tab="today"]:not([data-otba-sub]) :is(#releases, #ai-business, #github, #research) { display: none !important; }
html.x-app[data-otba-sub] :is(#today, #releases, #ai-business, #github, #research):not(.otba-subon) { display: none !important; }
.otbm-subbar { display: none; }
html.x-app[data-otba-sub] .otbm-subbar { display: flex; align-items: center; gap: 10px; position: sticky; top: var(--otba-headh, 60px); z-index: 20; margin: 0 -16px 8px; padding: 6px 12px; background: var(--x-card, #fff); border-bottom: 1px solid var(--otbm-line); }
.otbm-back { display: inline-flex; align-items: center; gap: 2px; min-height: 44px; padding: 0 10px 0 4px; border: 0; background: none; color: var(--x-red, #c81018); font: 700 15px/1 var(--sans, Helvetica, Arial, sans-serif); cursor: pointer; }
.otbm-subt { color: var(--x-g2, #737373); font: 700 12px/1.2 var(--sans, Helvetica, Arial, sans-serif); letter-spacing: .12em; text-transform: uppercase; }
html.x-app .otbm-libnav { margin-top: 6px; }
.otbm-tabh { margin: 6px 0 10px; font: 700 26px/1.15 var(--sans, Helvetica, Arial, sans-serif); letter-spacing: -.015em; color: var(--x-ink, #171717); }
/* Settings panel */
.otbm-set { flex-direction: column; align-items: stretch; gap: 10px; padding: 12px 0 8px; }
.otbm-set:not([hidden]) { display: flex; }
.otbm-set__l { margin: 0; color: var(--x-g2, #737373); font: 700 11px/1.3 var(--sans, Helvetica, Arial, sans-serif); letter-spacing: .14em; text-transform: uppercase; }
.otbm-set__row { display: flex; gap: 8px; }
.otbm-set__row > button { flex: 1; }
.otbm-set__b { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border: 1px solid var(--x-line, #e5e5e5); border-radius: 12px; background: var(--x-card, #fff); color: var(--x-ink, #171717); font: 700 14px/1 var(--sans, Helvetica, Arial, sans-serif); cursor: pointer; }
.otbm-set__b:focus-visible { outline: 2px solid var(--x-red, #c81018); outline-offset: 2px; }
/* Hero */
.otbm-hero { padding: 8px 0 0; }
.otbm-dl { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 6px 0 12px; }
.otbm-dl .otba-date { margin: 0; }
.otbm-pill { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 11px; border: 1px solid var(--otbm-line); border-radius: 999px; background: transparent; color: var(--x-g2, #737373); font: 600 12px/1 var(--sans, Helvetica, Arial, sans-serif); cursor: pointer; white-space: nowrap; }
.otbm-pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--x-red, #c81018); }
.otbm-disc { margin: -4px 0 12px; color: var(--x-g2, #737373); font: 400 13px/1.45 var(--sans, Helvetica, Arial, sans-serif); }
.otbm-blc { padding: 20px 18px 18px; border: 1px solid var(--otbm-line); border-radius: 20px; background: var(--otbm-card); }
.otbm-ebrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.otbm-ebrow .otba-k { margin: 0; }
.otbm-trio { display: inline-flex; }
.otbm-trio img { width: 28px; height: 28px; margin-left: -8px; border: 2px solid var(--otbm-card); border-radius: 50%; object-fit: cover; background: var(--otbm-band); }
.otbm-trio img:first-child { margin-left: 0; }
.otbm-h1 { margin: 10px 0 0; font-size: clamp(25px, 6.8vw, 32px); line-height: 1.15; }
.otbm-dek { margin: 8px 0 0; color: var(--x-g2, #737373); font: 400 15px/1.45 var(--sans, Helvetica, Arial, sans-serif); }
.otbm-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 18px; }
.otbm-listen { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--x-red-fill, #c81018); color: #fff; font: 700 15px/1 var(--sans, Helvetica, Arial, sans-serif); cursor: pointer; }
.otbm-read { min-height: 46px; padding: 0; border: 0; background: none; color: var(--x-red, #c81018); font: 700 15px/1 var(--sans, Helvetica, Arial, sans-serif); cursor: pointer; }
.otbm-listen:focus-visible, .otbm-read:focus-visible, .otbm-pill:focus-visible, .otbm-save:focus-visible, .otbm-row:focus-visible, .otbm-back:focus-visible { outline: 2px solid var(--x-red, #c81018); outline-offset: 2px; }
.otbm-read-s .otba-k { margin: 0 0 6px; }
.otbm-rh { margin: 0 0 12px; font: 700 24px/1.2 var(--sans, Helvetica, Arial, sans-serif); letter-spacing: -.015em; }
.otbm-rp { margin: 0 0 14px; color: var(--x-g1, #525252); font: 400 16px/1.55 var(--sans, Helvetica, Arial, sans-serif); }
.otbm-rpart { padding-top: 12px; border-top: 1px solid var(--otbm-line, #e7e5e2); }
/* Section heads */
.otbm-sh { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 28px 0 12px; }
.otbm-sh h2 { margin: 0; color: var(--x-ink, #171717); font: 700 20px/1.2 var(--sans, Helvetica, Arial, sans-serif); letter-spacing: -.01em; }
.otbm-pos, .otbm-shl { color: var(--x-g2, #737373); font: 400 13px/1.2 var(--sans, Helvetica, Arial, sans-serif); white-space: nowrap; }
.otbm-shl { text-decoration: underline; text-underline-offset: 3px; }
/* Top 3 rail */
.otbm-rail { display: flex; gap: 12px; margin: 0 -16px; padding: 0 16px 4px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.otbm-rail::-webkit-scrollbar { display: none; }
.otbm-card { position: relative; flex: 0 0 min(82%, 330px); scroll-snap-align: start; overflow: hidden; border: 1px solid var(--otbm-line); border-radius: 18px; background: var(--otbm-card); cursor: pointer; }
.otbm-band { position: relative; height: 150px; overflow: hidden; background: #1c1c1c; }
.otbm-band img { display: block; width: 100%; height: 100%; object-fit: cover; }
.otbm-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 42%, rgba(0,0,0,.6)); pointer-events: none; }
.otbm-kn { position: absolute; left: 14px; right: 14px; bottom: 10px; z-index: 2; display: flex; align-items: baseline; gap: 6px; margin: 0; color: #fff; }
.otbm-kn b { font: 700 24px/1 var(--sans, Helvetica, Arial, sans-serif); letter-spacing: -.02em; }
.otbm-kn span { overflow: hidden; font: 400 12px/1.2 var(--sans, Helvetica, Arial, sans-serif); opacity: .92; white-space: nowrap; text-overflow: ellipsis; }
.otbm-tag { position: absolute; top: 12px; right: 12px; z-index: 2; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.95); color: #171717; font: 700 11.5px/1.2 var(--sans, Helvetica, Arial, sans-serif); }
.otbm-tag--ai { color: #c81018; }
.otbm-card.otbm-noimg .otbm-band { background: var(--otbm-band); }
.otbm-card.otbm-noimg .otbm-band::after { display: none; }
.otbm-card.otbm-noimg .otbm-kn { top: 16px; bottom: auto; flex-direction: column; gap: 4px; color: var(--x-ink, #171717); }
.otbm-card.otbm-noimg .otbm-kn b { font-size: 38px; }
.otbm-card.otbm-noimg .otbm-kn span { color: var(--x-g2, #737373); }
.otbm-cb { padding: 14px 16px 10px; }
.otbm-ct { margin: 0; font: 700 18px/1.26 var(--sans, Helvetica, Arial, sans-serif); letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.otbm-ct a { color: var(--x-ink, #171717); text-decoration: none; }
.otbm-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; color: var(--x-g2, #737373); font: 400 13px/1.3 var(--sans, Helvetica, Arial, sans-serif); }
.otbm-save { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -10px; padding: 0; border: 0; background: none; color: var(--x-g2, #737373); cursor: pointer; }
.otbm-save.is-on { color: var(--x-red, #c81018); }
.otbm-save.is-on path { fill: currentColor; }
.otbm-save[hidden] { display: none; }
.otbm-dots { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
.otbm-dots i { display: block; width: 6px; height: 6px; border-radius: 3px; background: var(--otbm-line); }
.otbm-dots i.is-on { width: 20px; background: var(--x-red-rule, #c81018); }
/* Pillars today */
.otbm-pulse { padding: 14px 16px; border: 1px solid var(--otbm-line); border-radius: 16px; background: var(--otbm-card); }
.otbm-pulse .otba-k { margin: 0; }
.otbm-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.otbm-chip { display: inline-flex; align-items: center; gap: 5px; padding: 6px 11px; border-radius: 999px; background: var(--otbm-bg); color: var(--x-ink, #171717); font: 600 13px/1.2 var(--sans, Helvetica, Arial, sans-serif); }
.otbm-chip b { color: var(--x-red, #c81018); }
.otbm-chip.is-zero { color: var(--x-g2, #8a8a8a); font-weight: 400; }
/* More in today's issue */
.otbm-list { overflow: hidden; border: 1px solid var(--otbm-line); border-radius: 18px; background: var(--otbm-card); }
.otbm-row { display: block; border-top: 1px solid var(--otbm-line); color: inherit; text-decoration: none; }
.otbm-row:first-child { border-top: 0; }
.otbm-rowi { display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 12px 16px; color: var(--x-ink, #171717); text-decoration: none; cursor: pointer; list-style: none; }
.otbm-rowi::-webkit-details-marker { display: none; }
.otbm-rt { flex: 1; min-width: 0; }
.otbm-rt b { display: block; font: 700 16px/1.25 var(--sans, Helvetica, Arial, sans-serif); }
.otbm-rt em { margin-left: 6px; color: var(--x-g2, #737373); font-style: normal; font-weight: 400; font-size: 14px; }
.otbm-rt small { display: block; overflow: hidden; color: var(--x-g2, #737373); font: 400 13.5px/1.35 var(--sans, Helvetica, Arial, sans-serif); white-space: nowrap; text-overflow: ellipsis; }
.otbm-chev { flex: 0 0 auto; color: var(--x-g2, #8a8a8a); transition: transform .2s; }
.otbm-more[open] .otbm-chev { transform: rotate(90deg); }
.otbm-stack { position: relative; flex: 0 0 64px; width: 64px; height: 52px; }
.otbm-stack img, .otbm-stack .otbm-ph, .otbm-aa { position: absolute; top: 0; width: 48px; height: 48px; border: 2px solid var(--otbm-card); border-radius: 11px; object-fit: cover; background: var(--otbm-band); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.otbm-stack img:nth-child(1) { left: 0; z-index: 3; }
.otbm-stack img:nth-child(2) { left: 8px; top: 2px; z-index: 2; }
.otbm-stack img:nth-child(3) { left: 16px; top: 4px; z-index: 1; }
.otbm-stack.is-one img, .otbm-stack .otbm-ph, .otbm-aa { left: 6px; }
.otbm-stack.is-round img { border-radius: 50%; }
.otbm-stack.is-paper img { object-position: 50% 0; }
.otbm-aa { display: grid; place-items: center; background: var(--x-red-fill, #c81018); color: #fff; font: 700 18px/1 Georgia, "Times New Roman", serif; }
.otbm-mini { display: grid; gap: 2px; padding: 0 16px 12px 94px; }
.otbm-minii { display: flex; align-items: center; gap: 10px; min-height: 52px; color: var(--x-ink, #171717); font: 600 15px/1.3 var(--sans, Helvetica, Arial, sans-serif); text-decoration: none; }
.otbm-minii .otbm-stack { flex-basis: 48px; width: 48px; height: 40px; }
.otbm-minii .otbm-stack img { left: 0; width: 40px; height: 40px; border-radius: 9px; }
@media (min-width: 700px) {
  html.x-app .otbm-hero, html.x-app .otbm-wrap { max-width: 720px; margin-left: auto; margin-right: auto; }
  .otbm-card { flex-basis: 300px; }
}
@media (prefers-reduced-motion: reduce) { .otbm-chev { transition: none; } }
html.x-app #today { padding-top: 6px; }

/* Words to know: today's terms open in place (2026-11-19) */
.otbm-terms { gap: 10px; }
.otbm-term { display: grid; gap: 2px; font: 400 15px/1.4 var(--sans, Helvetica, Arial, sans-serif); color: var(--x-ink, #171717); }
.otbm-term b { font-weight: 700; }
.otbm-term span { color: var(--x-g2, #737373); }
.otbm-allterms { font: 600 14px/1.3 var(--sans, Helvetica, Arial, sans-serif); color: var(--x-red, #C81018); text-decoration: none; padding: 4px 0; }
