/* Home page, new layout (STAGING, home2.js / home2-preview.php, owner 2026-10-29) */
.h2-ic { width: 18px; height: 18px; vertical-align: -3px; flex: none; }
.h2-gone, .h2 .realtime-container.h2-gone { display: none !important; }
/* the old cards: hidden from the first paint (body.h2 comes with the page, _home2.php); the scripts still build them */
.h2 #dashboard-section > .dashboard-grid { display: none; }
/* the places kept for what the scripts move in, at their final size: nothing shifts (Core Web Vitals) */
.h2-hgrid { min-height: 128px; }
.h2-hfoot { min-height: 41px; box-sizing: border-box; }   /* its final height: the viewer below never moves */
.h2-cats { min-height: 330px; }
.h2-feed { min-height: 640px; }
.h2-hl { margin: 0 0 4px; }

/* one header card (owner 2026-10-29): white like the other cards, three columns (the network total | new users today with
   the growth rate and a small LED meter | per hour), then one line: live status, the newest account, the flags, the
   host filter */
.h2-hero { margin: 0 0 16px; padding: 16px 22px 12px; overflow: visible; position: relative; z-index: 5; }   /* visible: the last-50 pop-up goes below the card */
.h2-hgrid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: stretch; }   /* new users today first and biggest, then the network total and per hour, smaller (owner 2026-10-29) */
.h2-hc { min-width: 0; }
.h2-hc + .h2-hc { padding-left: 22px; border-left: 1px solid rgba(127, 127, 127, .16); }
.h2-hl { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-light, #64748b); margin-bottom: 4px; }
/* the network total */
.h2-hero .bk-now { margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; }
.h2-hero .bk-now .bk-block-head { display: none; }
.h2-hero .bk-now .bk-now-total { font-size: 24px; margin: 0; }
.h2-hero .bk-now .bk-progress { margin: 8px 0 6px; }
.h2-hero .bk-now .bk-now-next { font-size: 12.5px; margin: 0; }
/* new users today */
.h2-htoday { display: flex; flex-direction: column; align-items: stretch; }
.h2-hero .live-counter { align-self: flex-start; padding: 4px 14px; border-radius: 12px; font-size: 0; box-shadow: none; }
.h2-hero .live-counter .counter-value, .h2-hero .live-counter .bk-odo { font-size: 38px; font-weight: 800; margin: 0; }
.h2-hero .live-counter .counter-value.bk-odo-host { right: 14px; }
.h2-hero .growth-rate-container { display: flex; gap: 5px; align-items: baseline; margin: 6px 0 0; font-size: 13px; flex-wrap: wrap; }
.h2-hero .vu-meter-container { margin: 8px 0 0 !important; }
.h2-hero .bk-meter-bar { height: 7px !important; gap: 1.5px; padding: 0 !important; }
.h2-hero .bk-meter-bar i { border-radius: 2px !important; }
.h2-hero .bk-meter-scale { display: block; height: 12px; margin-top: 3px; font-size: 9.5px; }   /* the scale is back (owner 2026-10-29) */
/* per hour */
.h2-hero .bk-hourly { margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; }
.h2-hero .bk-hourly .bk-block-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin: 0 0 4px; }
.h2-hero .bk-hourly .bk-block-head h3 { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-light, #64748b); margin: 0; }
.h2-hero .bk-hourly .bk-block-head a { font-size: 12px; white-space: nowrap; }
.h2-hero .bk-hourly .bk-hourly-chart, .h2-hero .bk-hourly .bk-hourly-chart svg { height: 44px; }
.h2-hero .bk-hourly .bk-block-note { font-size: 12.5px; margin: 4px 0 0; }
/* the bottom line */
.h2-hfoot { display: flex; align-items: center; gap: 12px; flex-wrap: nowrap; font-size: 13.5px; margin-top: 12px; padding-top: 10px; border-top: 1px solid rgba(127, 127, 127, .14); }
.h2-hero .socket-status { white-space: nowrap; font-size: 13px; }
.h2-join { flex: 1 1 340px; min-width: 0; display: flex; align-items: center; gap: 7px; background: rgba(10, 122, 252, .06); border-radius: 999px; padding: 5px 14px; }
.h2-join .h2-ic { width: 15px; height: 15px; color: var(--primary-color, #0a7afc); }
.h2-jt { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: opacity .18s, transform .18s; }
.h2-jt .h2-jw { color: var(--text-light, #64748b); }
.h2-jt.in { animation: h2Join .5s cubic-bezier(.2, .8, .25, 1); }
@keyframes h2Join { from { opacity: .35; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.h2-hflags .bk-flags { display: flex; gap: 6px; }
.h2-hfilter { display: flex; align-items: center; gap: 10px; }
.h2-hero .bk-host-filter { margin: 0; display: flex; gap: 4px; }
.h2-hero .bk-host-filter button { padding: 4px 11px; font-size: 12.5px; }
@media (prefers-reduced-motion: reduce) { .h2-jt { transition: none; } .h2-jt.in { animation: none; } }

/* the viewer: an app view (owner 2026-10-29: menu on the side, favourites in it, the feed in the middle; desktop only
   for now, phones get the apps) */
.h2-viewer { margin-top: 20px; }
.h2-viewer .card-title { display: flex; align-items: center; gap: 8px; }
.h2-app { display: grid; grid-template-columns: 240px minmax(0, 1fr); align-items: start; min-height: 600px; }
.h2-nav, .h2-right { position: sticky; top: 12px; padding: 18px 16px; }
.h2-nav { border-right: 1px solid rgba(127, 127, 127, .16); }
.h2-right { border-left: 1px solid rgba(127, 127, 127, .16); }
.h2-form { position: relative; margin-bottom: 18px; }
.h2-form .h2-ic { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); opacity: .55; width: 16px; height: 16px; }
.h2-form input { width: 100%; box-sizing: border-box; padding: 10px 12px 10px 34px; border-radius: 999px; border: 1px solid rgba(127, 127, 127, .3); font: inherit; font-size: 14px; background: var(--card-bg, #fff); color: inherit; }
.h2-navh { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--text-light, #64748b); margin: 6px 6px 6px; }
.h2-navh .h2-ic { width: 15px; height: 15px; }
.h2-cats { display: flex; flex-direction: column; gap: 2px; margin-bottom: 18px; }
.h2-cat { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; border: 0; background: transparent; color: inherit; font: inherit; font-size: 15.5px; padding: 9px 10px; border-radius: 10px; cursor: pointer; }
.h2-cat .h2-ic { opacity: .6; }
.h2-cat:hover { background: rgba(10, 122, 252, .07); }
.h2-cat.on { background: rgba(10, 122, 252, .12); color: var(--primary-color, #0a7afc); font-weight: 700; } .h2-cat.on .h2-ic { opacity: 1; }
.h2-favs { display: flex; flex-direction: column; gap: 2px; }
.h2-fav { display: flex; align-items: center; border-radius: 10px; } .h2-fav:hover, .h2-fav.on { background: rgba(10, 122, 252, .08); }
.h2-fav-open { flex: 1; min-width: 0; display: flex; align-items: center; gap: 9px; border: 0; background: transparent; color: inherit; font: inherit; padding: 7px 8px; cursor: pointer; text-align: left; }
.h2-fav-open img, .h2-fav-open .h2-noav { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; flex: none; background: #e8edf4; }
.h2-fn { min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.h2-fn b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .h2-fn small { font-size: 12px; color: var(--text-light, #64748b); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* the remove cross always there, greyed (owner 2026-10-30: hover-only was easy to miss, and phones have no hover) */
.h2-fav-del { border: 0; background: transparent; color: inherit; opacity: .4; padding: 6px; cursor: pointer; border-radius: 50%; line-height: 0; } .h2-fav:hover .h2-fav-del, .h2-fav-del:hover, .h2-fav-del:focus-visible { opacity: 1; background: rgba(127, 127, 127, .12); }
.h2-fav-del .h2-ic { width: 14px; height: 14px; }
.h2-note { color: var(--text-light, #64748b); font-size: 13.5px; margin: 4px 6px; line-height: 1.4; }

/* the feed */
.h2-feed { min-width: 0; padding: 0 0 24px; }
.h2-fhead { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 14px 24px; background: var(--card-bg, #fff); border-bottom: 1px solid rgba(127, 127, 127, .16); }
.h2-fhead h3 { margin: 0; font-size: 19px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.h2-fupd { font-size: 12.5px; color: var(--text-light, #64748b); white-space: nowrap; }
.h2-fback { border: 0; background: transparent; color: inherit; border-radius: 50%; padding: 6px; cursor: pointer; line-height: 0; } .h2-fback:hover { background: rgba(10, 122, 252, .08); }
.h2-trends, .h2-account { padding: 12px 24px 0; }
.h2-trends .bt-block { margin: 0; border: 0; box-shadow: none; padding: 0; background: transparent; }
.h2-trends .bt-block > .bk-block-head, .h2-trends .bt-intro, .h2-trends .bt-tabbar, .h2-trends .bt-rhead .bt-back { display: none !important; }
.h2-ph { display: flex; align-items: center; gap: 14px; margin: 4px 0 8px; }
.h2-ph img, .h2-ph .h2-noav { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: #e8edf4; flex: none; }
.h2-pid { display: flex; flex-direction: column; min-width: 0; flex: 1; } .h2-pid b { font-size: 19px; } .h2-pid small { color: var(--text-light, #64748b); }
.h2-bio { margin: 4px 0 14px; white-space: pre-line; font-size: 14.5px; }
.h2-star { border: 1px solid rgba(127, 127, 127, .3); background: transparent; color: inherit; border-radius: 999px; padding: 8px; cursor: pointer; line-height: 0; }
.h2-star.on { color: #d69e2e; border-color: #d69e2e; } .h2-star.on svg { fill: #f6c445; }
.h2-more { font-weight: 600; white-space: nowrap; font-size: 14px; }


.h2-nav .bt-join { margin: 18px 0 0; padding: 14px; border-radius: 14px; }
.h2-nav .bt-join .bt-jbtns { flex-direction: column; align-items: stretch; }
.h2-nav .bt-join p { font-size: 13px; }
.h2-feed { border-left: 0; }
.h2-account .h2-posts, .h2-trends .bt-reader { max-width: 760px; }


/* the newest account: hover or click for the last 50 */
.h2-join { position: relative; cursor: pointer; }
.h2-join:hover, .h2-join[aria-expanded="true"] { background: rgba(10, 122, 252, .11); }
.h2-jmore { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--primary-color, #0a7afc); white-space: nowrap; }
.h2-jpop { position: absolute; left: 0; top: calc(100% + 8px); z-index: 50; width: min(440px, 80vw); max-height: 420px; overflow-y: auto; cursor: default;
  background: var(--card-bg, #fff); color: var(--text-dark, #1e293b); border: 1px solid rgba(127, 127, 127, .22); border-radius: 14px; box-shadow: 0 14px 36px rgba(15, 23, 42, .2); padding: 8px 0; }
.h2-jph { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--text-light, #64748b); padding: 4px 14px 8px; }
.h2-jlist { list-style: none; margin: 0; padding: 0; }
.h2-jlist li { display: flex; align-items: center; gap: 10px; padding: 6px 14px; font-size: 13.5px; }
.h2-jlist li:nth-child(odd) { background: rgba(10, 122, 252, .04); }
.h2-jc { flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; overflow: hidden; white-space: nowrap; }
.h2-jc .bk-acct { overflow: hidden; text-overflow: ellipsis; }
.h2-jtw { color: var(--text-light, #64748b); font-size: 12.5px; white-space: nowrap; }

/* beside "New users today": four small figures */
.h2-today-row { display: flex; align-items: center; gap: 16px; }
.h2-today-row .live-counter { flex: none; }
.h2-tiles { flex: 1; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 12px; }
.h2-tile { display: flex; align-items: center; gap: 8px; min-width: 0; }
.h2-tile .h2-ic { width: 16px; height: 16px; flex: none; padding: 5px; border-radius: 8px; box-sizing: content-box; background: rgba(10, 122, 252, .09); color: var(--primary-color, #0a7afc); }
.h2-tile > div { min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.h2-tv { font-weight: 800; font-size: 15px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.h2-tk { font-size: 11.5px; color: var(--text-light, #64748b); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.h2-tile[data-tone="up"] .h2-tv { color: #15803d; } .h2-tile[data-tone="up"] .h2-ic { background: rgba(34, 197, 94, .12); color: #15803d; }
.h2-tile[data-tone="down"] .h2-tv { color: #b45309; } .h2-tile[data-tone="down"] .h2-ic { background: rgba(245, 158, 11, .14); color: #b45309; }
/* the counter's tooltip opens below it, inside the page (it went off the card's left edge) */
.h2-hero .live-counter .counter-value.tooltip-element:hover::after { left: 0 !important; right: auto !important; top: calc(100% + 10px) !important; bottom: auto !important; transform: none !important; z-index: 60; }
.h2-hero .live-counter .counter-value.tooltip-element:hover::before { display: none !important; }

/* the four figures: smaller, quieter (owner 2026-10-29) */
.h2-tiles { gap: 4px 12px; }
.h2-tile { gap: 6px; }
.h2-tile .h2-ic { width: 12px; height: 12px; padding: 4px; border-radius: 6px; }
.h2-tv { font-size: 12.5px; font-weight: 700; color: var(--text-dark, #334155); }
.h2-tk { font-size: 10.5px; }
/* the filter, in the pop-up's header */
.h2-jph { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.h2-jph .bk-host-filter { display: flex; gap: 4px; margin: 0; text-transform: none; letter-spacing: 0; }
.h2-jph .bk-host-filter button { padding: 3px 10px; font-size: 12px; }
.h2-jn { overflow: hidden; text-overflow: ellipsis; font-weight: 600; }

/* the newest account: steady while it is the same one (fixed-width seconds), an arrival animation when a new one comes */
.h2-jt .h2-jw { font-variant-numeric: tabular-nums; display: inline-block; min-width: 9.5em; }
.h2-jt { display: inline-block; }
.h2-jt.in { animation: h2Rise .6s cubic-bezier(.16, 1, .3, 1); }
@keyframes h2Rise { 0% { opacity: 0; transform: translateY(70%); filter: blur(2px); } 60% { opacity: 1; filter: none; } 100% { transform: none; } }
.h2-join { overflow: visible; }
.h2-join.h2-new { animation: h2Glow 1.4s ease-out; }
@keyframes h2Glow { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .55); background: rgba(34, 197, 94, .16); } 100% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); } }
.h2-join.h2-new > .h2-ic { animation: h2Pop .6s cubic-bezier(.34, 1.56, .64, 1); color: #16a34a; }
@keyframes h2Pop { 0% { transform: scale(.6); } 60% { transform: scale(1.3); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .h2-jt.in, .h2-join.h2-new, .h2-join.h2-new > .h2-ic { animation: none; } }

/* an account's posts scroll in their own box, as a topic's posts do (trends.css .bt-posts; owner 2026-10-29) */
.h2-account .h2-posts { max-height: 900px; overflow-y: auto; overscroll-behavior: contain; }

/* the topic's full figures, a second line in the list */

/* the counter's tooltip on top of everything: the counter is its own layer (transform), so the layer itself goes up */
.h2-today-row .live-counter { position: relative; z-index: 80; }
.h2-hero .live-counter .counter-value.bk-odo-host { z-index: 80; }

/* the feed's title and the menu stay in view while scrolling: sticky needs no clipping on the card (QA 2026-10-29) */
.h2-viewer { overflow: clip; }
.h2 #dashboard-section { overflow: clip; }   /* "clip" cuts like "hidden" but is no scroll box, so sticky works */
.h2-viewer > .card-header { border-radius: inherit; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.h2-fhead { top: 0; border-radius: 0; }
.h2-tk { overflow: visible; }

/* ?ads=demo: the proposed ad places */
.h2-addemo { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; border: 2px dashed #f59e0b; background: rgba(245, 158, 11, .1); color: #92400e; border-radius: 14px; font-size: 13px; padding: 10px; }
.h2-addemo b { font-size: 16px; }
.h2-ad-wide { height: 100px; margin: 0 0 16px; }
.h2-ad-side { height: 600px; margin-top: 18px; }

/* the account search, logged out (owner 2026-11-14): locked, a padlock at the right of the field, no Recent list */
.h2-guest .h2-form input { cursor: pointer; opacity: .75; padding-right: 34px; }
.h2-form .h2-form-lock { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); margin: 0; }
.h2-form .h2-form-lock .h2-ic { position: static; transform: none; opacity: 1; }
.h2-guest .h2-recent, .h2-guest .h2-navh:has(+ .h2-recent) { display: none; }
/* favourites, logged out: a lock, its explanation on hover or focus */
.h2-lock { position: relative; display: inline-flex; margin-left: 2px; color: var(--text-light, #64748b); cursor: help; }
.h2-lock .h2-ic { width: 14px; height: 14px; }
/* with the polish (home2-polish.js), the lock's text is shown by the page's one tooltip: this CSS one doubled it (2026-10-30) */
.h2p .h2-lock:hover::after, .h2p .h2-lock:focus::after, .h2p .h2-lock:hover::before, .h2p .h2-lock:focus::before { content: none; display: none; }
.h2-lock:hover::after, .h2-lock:focus::after { content: attr(data-tip); position: absolute; left: 0; top: calc(100% + 8px); z-index: 90; width: 230px; padding: 10px 12px; border-radius: 10px;
  background: #0f172a; color: #fff; font-size: 12.5px; font-weight: 500; letter-spacing: 0; text-transform: none; line-height: 1.45; box-shadow: 0 10px 28px rgba(15, 23, 42, .25); white-space: normal; }

/* compact topics (owner 2026-10-29): one line of figures, so less padding */
.h2-trends .bt-topics { gap: 5px; }
.h2-trends .bt-topic { padding: 7px 12px; row-gap: 1px; }
.h2-trends .bt-topic .bt-tname { font-size: 15px; line-height: 1.3; }
.h2-trends .bt-topic small { margin-top: 1px; line-height: 1.35; }
/* the LEDs at the bottom of their column, level with the other columns' last lines */
.h2-htoday .vu-meter-container { margin-top: auto !important; padding-top: 12px; }

/* the topics sent with the page: drawn as trends.js draws its own */
.h2-ssr { margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; }
.h2-ssr .bt-topics { list-style: none; margin: 0; padding: 0; }
.h2-ssr .bt-topic { cursor: default; }
.h2-ssr .bt-faces img { border-radius: 50%; }

/* phones (a simple stacked version for now; the apps are the phone experience, but search engines rank the phone page):
   the three columns one under the other, the viewer's menu above the feed */
@media (max-width: 760px) {
  .h2-hero { padding: 14px 14px 10px; }
  .h2-hgrid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .h2-hc + .h2-hc { padding-left: 0; border-left: 0; padding-top: 12px; border-top: 1px solid rgba(127, 127, 127, .16); }
  .h2-hfoot { flex-wrap: wrap; gap: 8px; }
  .h2-join { flex: 1 1 100%; order: 3; }
  .h2-app { grid-template-columns: minmax(0, 1fr); }
  .h2-nav { position: static; border-right: 0; border-bottom: 1px solid rgba(127, 127, 127, .16); padding: 12px 14px; }
  .h2-cats { min-height: 0; flex-direction: row; flex-wrap: wrap; gap: 4px; margin-bottom: 10px; }
  .h2-cat { width: auto; padding: 6px 10px; font-size: 14px; }
  .h2-trends, .h2-account { padding: 10px 12px 0; }
  .h2-fhead { padding: 10px 14px; }
  /* their final sizes on a phone, kept from the first paint (no layout shift) */
  .h2-hgrid { min-height: 357px; }
  .h2-hc { box-sizing: border-box; }
  .h2-htoday { min-height: 115px; } .h2-hnow { min-height: 106px; } .h2-hhour { min-height: 112px; }
  .h2-hfoot { min-height: 69px; }
  .h2-nav { box-sizing: border-box; min-height: 450px; }
}

/* 15 topics in the height of 10: the list scrolls (owner 2026-10-29) */
.h2-trends .bt-topics { max-height: 610px; overflow-y: auto; overscroll-behavior: contain; padding-right: 4px; }

/* ===== Header card polish, option 2 "two halves", viewer rework (owner 2026-10-30), LIVE 2026-10-30: staged as
   home2-polish.css under the body marker .h2p, which _home2.php keeps so these rules read as they were staged. One rhythm:
   4 text sizes (36 / 26 / 15 / 12), 8 px label-to-figure, 12 px between rows; the stats link on the bottom line; the
   last-50 pop-up as wide as its pill; softer motion; all corners 12 px. */
.h2p .h2-hero { padding: 18px 24px 14px; border-radius: 14px;
  background: linear-gradient(180deg, var(--card-bg, #fff) 0%, color-mix(in srgb, var(--card-bg, #fff) 97%, #0a7afc) 100%); }
.h2p .h2-hgrid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: 24px; min-height: 150px; }
.h2p .h2-hc { display: flex; flex-direction: column; }
.h2p .h2-hc + .h2-hc { padding-left: 24px; border-left: 0; position: relative; }
/* dividers from under the labels to the last line, not the full height */
.h2p .h2-hc + .h2-hc::before { content: ''; position: absolute; left: 0; top: 24px; bottom: 4px; width: 1px; background: rgba(127, 127, 127, .16); }
.h2p .h2-hl, .h2p .h2-hero .bk-hourly .bk-block-head h3 { font-size: 12px; letter-spacing: .07em; margin: 0 0 8px; line-height: 16px; }

/* new users today: the big number, then the four figures on one row */
.h2p .h2-today-row { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.h2p .h2-today-row .live-counter { align-self: flex-start; }
.h2p .h2-tiles { align-self: stretch; }
.h2p .h2-hero .live-counter { padding: 2px 12px; border-radius: 12px; margin-left: -12px; }
.h2p .h2-hero .live-counter .counter-value, .h2p .h2-hero .live-counter .bk-odo { font-size: 36px; }
.h2p .h2-hero .live-counter .counter-value.bk-odo-host { right: 12px; }
.h2p .h2-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.h2p .h2-tile { gap: 8px; align-items: center; }
.h2p .h2-tile .h2-ic { width: 14px; height: 14px; padding: 5px; border-radius: 8px; }
.h2p .h2-tv { font-size: 15px; line-height: 18px; min-height: 18px; }
.h2p .h2-tv:empty::before, .h2p .h2-tv.h2-wait { color: var(--text-light, #94a3b8); font-weight: 600; }
.h2p .h2-tk { font-size: 12px; line-height: 14px; }
.h2p .h2-htoday .vu-meter-container { margin-top: auto !important; padding-top: 8px; }
.h2p .h2-hero .bk-meter-bar { height: 6px !important; gap: 2px; }
.h2p .h2-hero .bk-meter-scale { height: 12px; margin-top: 4px; font-size: 10px; }

/* Bluesky right now */
.h2p .h2-hero .bk-now .bk-now-total { font-size: 23px; line-height: 30px; }
.h2p .h2-hero .bk-now .bk-progress { height: 4px; margin: 8px 0 6px; }
.h2p .h2-hero .bk-now .bk-now-next { font-size: 12px; line-height: 16px; color: var(--text-light, #64748b); }
.h2p .h2-hero .bk-now .bk-now-next b, .h2p .h2-hero .bk-now .bk-now-next strong { color: var(--primary-dark, #0862ca); }
/* the build-up to the next 100,000 (gate.js levels; its own colours lost to the grey rule above, owner 2026-10-30: "is it
   still working?"): tomorrow / in hours = blue, minutes / last 1,000 = red and pulsing, reached = green */
.h2p .h2-hero .bk-now[data-milestone="soon"] .bk-now-next, .h2p .h2-hero .bk-now[data-milestone="close"] .bk-now-next { font-weight: 700; color: var(--primary-color, #0a7afc); }
.h2p .h2-hero .bk-now[data-milestone="closer"] .bk-now-next, .h2p .h2-hero .bk-now[data-milestone="closest"] .bk-now-next { font-weight: 800; color: #e11d48; animation: bkNowPulse 1.6s ease-in-out infinite; }
.h2p .h2-hero .bk-now[data-milestone="reached"] .bk-now-next { font-weight: 800; color: #16a34a; }
@media (prefers-reduced-motion: reduce) { .h2p .h2-hero .bk-now .bk-now-next { animation: none !important; } }

/* per hour: the label alone on its line (the link moved to the bottom line), bars like the LEDs */
.h2p .h2-hero .bk-hourly .bk-block-head { margin: 0 0 8px; }
.h2p .h2-hero .bk-hourly .bk-block-head a { display: none; }
.h2p .h2-hero .bk-hourly .bk-hourly-chart, .h2p .h2-hero .bk-hourly .bk-hourly-chart svg { height: 60px; }   /* taller, fills the column (owner 2026-10-30) */
.h2p .h2-hero .bk-hourly-chart rect { rx: 2; }
.h2p .h2-hero .bk-hourly .bk-block-note { font-size: 12px; line-height: 16px; margin: 8px 0 0; color: var(--text-light, #64748b); }
.h2p .h2-hhour .bk-hourly { display: flex; flex-direction: column; flex: 1; }
.h2p .h2-hhour .bk-hourly .bk-block-note { margin-top: auto; padding-top: 6px; }
.h2p .h2-hhour .bk-hourly .bk-hourly-chart { flex: 1; display: flex; align-items: flex-end; } .h2p .h2-hhour .bk-hourly .bk-hourly-chart svg { width: 100%; }

/* the bottom line: status · newest account (pill) · flags · stats link */
.h2p .h2-hfoot { gap: 10px; margin-top: 14px; padding-top: 12px; font-size: 13px; }
.h2p .h2-hero .socket-status { font-size: 13px; }
/* the theme's colour everywhere (the purple theme showed blue pills, 2026-10-30) */
.h2p .h2-join { flex: 1 1 320px; gap: 8px; padding: 6px 8px 6px 14px; border-radius: 12px; background: color-mix(in srgb, var(--primary-color, #0a7afc) 6%, transparent);
  transition: background-color .18s, box-shadow .25s; }
.h2p .h2-join:hover, .h2p .h2-join[aria-expanded="true"] { background: color-mix(in srgb, var(--primary-color, #0a7afc) 10%, transparent); }
.h2p .h2-join .h2-ic { color: var(--primary-color, #0a7afc); }
.h2p .h2-tile .h2-ic { background: color-mix(in srgb, var(--primary-color, #0a7afc) 9%, transparent); color: var(--primary-color, #0a7afc); }
.h2p .h2-jmore { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--primary-color, #0a7afc) 35%, transparent); color: var(--primary-color, #0a7afc); background: var(--card-bg, #fff); line-height: 16px; }
.h2p .h2-hflags .bk-flags { gap: 8px; }
.h2p .h2-hflags .bk-flag { border-radius: 999px; }
.h2p .h2-hstats { font-size: 12.5px; font-weight: 600; color: var(--primary-color, #0a7afc); text-decoration: none; white-space: nowrap; margin-left: 2px; }
.h2p .h2-hstats:hover { text-decoration: underline; }

/* the pop-up: the pill's width and corners, 6 px under it, fading in */
.h2p .h2-jpop { left: 0; right: 0; width: auto; top: calc(100% + 6px); border-radius: 12px; padding: 6px 0 8px; transition: opacity .12s ease-out, transform .12s ease-out, visibility 0s .12s; }
.h2p .h2-jpop[hidden] { display: block; visibility: hidden; opacity: 0; transform: translateY(-4px); pointer-events: none; }
.h2p .h2-jpop:not([hidden]) { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.h2p .h2-jpop::before { content: ''; position: absolute; left: 22px; top: -5px; width: 9px; height: 9px; transform: rotate(45deg); background: var(--card-bg, #fff); border-left: 1px solid rgba(127, 127, 127, .22); border-top: 1px solid rgba(127, 127, 127, .22); }
.h2p .h2-jph { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 14px 8px; }
.h2p .h2-jlist li { padding: 6px 14px; font-size: 13px; }

/* motion: a soft ring when someone joins */
.h2p .h2-join.h2-new { animation: h2pGlow 1.2s ease-out; }
@keyframes h2pGlow { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .35); background: rgba(34, 197, 94, .1); } 100% { box-shadow: 0 0 0 4px rgba(34, 197, 94, 0); } }
@media (prefers-reduced-motion: reduce) { .h2p .h2-join.h2-new { animation: none; } .h2p .h2-jpop { transition: none; } }

@media (max-width: 760px) {
  .h2p .h2-hgrid { gap: 12px; min-height: 0; }
  .h2p .h2-hc + .h2-hc { padding-left: 0; padding-top: 12px; border-top: 1px solid rgba(127, 127, 127, .16); }
  .h2p .h2-hc + .h2-hc::before { display: none; }
  .h2p .h2-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .h2p .h2-hstats { order: 4; }
}

/* Option 2 (owner 2026-10-30: "I like option 2"): two halves. Left, today: the big number in the middle of its half
   with the four figures beside it, the LEDs under. Right, the network, on a light tint of the theme colour: the total
   and the next milestone | the last 24 hours. The bottom line runs under both. */
.h2p .h2-hero { padding: 0; }
.h2p .h2-hgrid { grid-template-columns: minmax(0, 1.3fr) minmax(0, .62fr) minmax(0, .62fr); gap: 0; min-height: 158px; }   /* its final height, measured: nothing moves once the scripts fill it */   /* more compact, the network half smaller (owner 2026-10-30) */
.h2p .h2-hc, .h2p .h2-hc + .h2-hc { padding: 14px 22px 12px; border: 0; }
.h2p .h2-hc + .h2-hc::before { display: none; }
.h2p .h2-hnow, .h2p .h2-hhour { background: color-mix(in srgb, var(--primary-color, #0a7afc) 5%, var(--card-bg, #fff)); }
.h2p .h2-hnow { border-left: 1px solid color-mix(in srgb, var(--primary-color, #0a7afc) 14%, transparent); }
.h2p .h2-hhour { border-top-right-radius: 12px; position: relative; }
.h2p .h2-hhour::before { content: ''; position: absolute; left: 0; top: 24px; bottom: 16px; width: 1px; background: color-mix(in srgb, var(--primary-color, #0a7afc) 14%, transparent); display: block; }
.h2p .h2-hfoot { margin: 0; padding: 9px 22px; min-height: 55px; }
/* today: number and figures side by side, centred in the half */
.h2p .h2-today-row { flex-direction: row; align-items: center; justify-content: center; gap: 28px; flex: 1; }
.h2p .h2-today-row .live-counter { align-self: center; margin: 0; padding: 4px 14px; }
.h2p .h2-hero .live-counter .counter-value, .h2p .h2-hero .live-counter .bk-odo { font-size: 46px; white-space: nowrap; }
.h2p .h2-hero .live-counter .counter-value.bk-odo-host { right: 14px; }
.h2p .h2-today-row .live-counter { border: 0 !important; background: transparent !important; box-shadow: none !important; }   /* no box: the number itself is the focus */
.h2p .h2-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; margin: 0; flex: 0 1 290px; align-self: center; }
.h2p .h2-htoday { display: flex; flex-direction: column; }
/* the network half: the last line of each column at the bottom, level */
.h2p .h2-hnow .bk-now { display: flex; flex-direction: column; flex: 1; }
.h2p .h2-hnow .bk-now .bk-now-next2 { margin-top: auto; padding-top: 6px; font-size: 12px; line-height: 16px; color: var(--text-light, #64748b); }
.h2p .h2-hnow .bk-now .bk-now-next2 b { color: var(--primary-dark, #0862ca); }
.h2p .h2-hnow { display: flex; flex-direction: column; }
.h2p .h2-hero .bk-hourly .bk-block-note b.bk-up { color: #15803d; } .h2p .h2-hero .bk-hourly .bk-block-note b.bk-down { color: #b45309; }
@media (max-width: 760px) {
  .h2p .h2-hgrid { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .h2p .h2-hc, .h2p .h2-hc + .h2-hc { padding: 14px 14px 12px; }
  .h2p .h2-tiles { flex: none; width: 100%; }
  .h2p .h2-nav .h2-ad-side { display: none; }   /* the menu sits above the feed on a phone: no ad there (the page's bottom ad stays) */
  .h2p .h2-app { grid-template-columns: minmax(0, 1fr); }   /* one column on phones (the desktop rule above has more weight) */
  .h2p .h2-nav { display: block; min-height: 0; }
  .h2p .h2-nav .bt-join { margin-top: 12px; }
  /* the chips on one line that scrolls sideways */
  .h2p .h2-chips { padding: 8px 12px 6px; min-height: 48px; }
  .h2p .h2-cats { flex-direction: row !important; flex-wrap: nowrap !important; overflow-x: auto; gap: 6px; padding-bottom: 2px; scrollbar-width: none; margin: 0 !important; }
  .h2p .h2-cat { flex: none; white-space: nowrap; }
  /* final sizes on a phone, measured: no shift when the scripts fill the header */
  .h2p .h2-htoday { min-height: 228px; } .h2p .h2-hnow { min-height: 140px; } .h2p .h2-hhour { min-height: 140px; } .h2p .h2-hfoot { min-height: 145px; }
  .h2p .h2-hnow { border-left: 0; } .h2p .h2-hhour { border-radius: 0; } .h2p .h2-hhour::before { display: none; }
  .h2p .h2-today-row { flex-direction: column; gap: 10px; }
  .h2p .h2-hero .live-counter .counter-value, .h2p .h2-hero .live-counter .bk-odo { font-size: 40px; }
  .h2p .h2-hfoot { padding: 10px 14px; }
}

/* the figures in a display face (owner 2026-10-30: "the font of the number is not really good"): staging loads three
   candidates from Google Fonts (home2-preview.php ?font=manrope|sora|outfit, Manrope by default); the one chosen is
   then self-hosted for the live page */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('/beta/fonts/inter-700.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 800; font-display: swap; src: url('/beta/fonts/inter-800.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
.h2p { --h2-num: 'Inter', 'Segoe UI', -apple-system, system-ui, sans-serif; }
.h2p[data-font="manrope"] { --h2-num: 'Manrope', 'Segoe UI', -apple-system, system-ui, sans-serif; }
.h2p[data-font="sora"] { --h2-num: 'Sora', 'Segoe UI', -apple-system, system-ui, sans-serif; }
.h2p[data-font="outfit"] { --h2-num: 'Outfit', 'Segoe UI', -apple-system, system-ui, sans-serif; }
.h2p[data-font="inter"] { --h2-num: 'Inter', 'Segoe UI', -apple-system, system-ui, sans-serif; }
.h2p[data-font="jakarta"] { --h2-num: 'Plus Jakarta Sans', 'Segoe UI', -apple-system, system-ui, sans-serif; }
.h2p[data-font="figtree"] { --h2-num: 'Figtree', 'Segoe UI', -apple-system, system-ui, sans-serif; }
.h2p[data-font="lexend"] { --h2-num: 'Lexend', 'Segoe UI', -apple-system, system-ui, sans-serif; }
.h2p[data-font="grotesk"] { --h2-num: 'Space Grotesk', 'Segoe UI', -apple-system, system-ui, sans-serif; }
.h2p[data-font="redhat"] { --h2-num: 'Red Hat Display', 'Segoe UI', -apple-system, system-ui, sans-serif; }
.h2p[data-font="plexmono"] { --h2-num: 'IBM Plex Mono', ui-monospace, Menlo, monospace; }
.h2p[data-font="system"] { --h2-num: 'Segoe UI', -apple-system, system-ui, sans-serif; }
.h2p .h2-hero .live-counter .counter-value, .h2p .h2-hero .live-counter .bk-odo, .h2p .h2-hero .bk-now .bk-now-total, .h2p .h2-tv { font-family: var(--h2-num); font-weight: 800; letter-spacing: -.02em; }
.h2p .h2-hero .live-counter .counter-value, .h2p .h2-hero .live-counter .bk-odo { font-size: 44px; letter-spacing: -.03em; line-height: 52px; }
/* fixed heights for the figures: the font arriving (Inter, swapped in) must not move anything (Lighthouse CLS 0.17 on staging) */
.h2p .h2-today-row .live-counter { height: 60px; box-sizing: border-box; display: flex; align-items: center; }
.h2p .h2-hero .live-counter .bk-odo .d { height: 52px; line-height: 52px; } .h2p .h2-hero .live-counter .bk-odo .d b { height: 52px; line-height: 52px; }
.h2p .h2-tile > div { height: 34px; }
.h2p .h2-tv { font-weight: 700; letter-spacing: 0; }
.h2p .h2-hero .bk-now .bk-now-total > span:not(.bk-now-odo):not(.bk-now-sr), .h2p .h2-hero .bk-now .bk-now-lbl { font-family: 'Segoe UI', -apple-system, system-ui, sans-serif; font-weight: 500; letter-spacing: 0; margin-left: 6px; }

/* ----- tooltips: one dark box for everything in the header (home2-polish.js) ----- */
.h2-tip { position: absolute; z-index: 120; max-width: 280px; padding: 9px 12px; border-radius: 10px; background: #0f172a; color: #fff; font-size: 12.5px; line-height: 1.45; font-weight: 500; white-space: pre-line;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .25); opacity: 0; transform: translateY(-3px); transition: opacity .12s ease-out, transform .12s ease-out; pointer-events: none; }
.h2-tip.in { opacity: 1; transform: none; }
.h2-tip::before { content: ''; position: absolute; left: var(--ax, 50%); top: -4px; width: 8px; height: 8px; margin-left: -4px; background: #0f172a; transform: rotate(45deg); }
.h2-tip.above::before { top: auto; bottom: -4px; }
.h2p .h2-hero .live-counter .counter-value.tooltip-element:hover::after, .h2p .h2-hero .live-counter .counter-value.tooltip-element:hover::before,
.h2p .h2-hero .tooltip-element:hover::after, .h2p .h2-hero .tooltip-element:hover::before { display: none !important; content: none !important; }
.h2p .h2-hero .h2-tile, .h2p .h2-hero .bk-now-total, .h2p .h2-hero .bk-progress, .h2p .h2-hero .socket-status { cursor: help; outline-offset: 3px; }
.h2p .h2-hero .h2-tile:focus-visible, .h2p .h2-hero .bk-now-total:focus-visible, .h2p .h2-hero .bk-progress:focus-visible { outline: 2px solid var(--primary-color, #0a7afc); border-radius: 6px; }

/* ----- the viewer ----- */
/* the menu: search, favourites, recent; the categories moved into a chip row above the feed */
.h2p .h2-app { grid-template-columns: 270px minmax(0, 1fr); }   /* 270: room for the 250x250 sidebar ad */
.h2p .h2-nav { padding-left: 10px; padding-right: 10px; }
.h2p .h2-chips { padding: 10px 24px 2px; border-bottom: 1px solid rgba(127, 127, 127, .1); min-height: 45px; box-sizing: border-box; }
.h2p .h2-cats { flex-direction: row; flex-wrap: wrap; gap: 4px; margin: 0; min-height: 0; }
.h2p .h2-cat { width: auto; gap: 6px; padding: 4px 9px 4px 8px; border-radius: 999px; font-size: 13.5px; border: 1px solid rgba(127, 127, 127, .28); background: var(--card-bg, #fff); }
.h2p .h2-cat .h2-ic { width: 14px; height: 14px; opacity: .7; }
.h2p .h2-cat:hover { background: color-mix(in srgb, var(--primary-color, #0a7afc) 8%, var(--card-bg, #fff)); border-color: color-mix(in srgb, var(--primary-color, #0a7afc) 40%, transparent); }
.h2p .h2-cat.on { background: var(--primary-color, #0a7afc); border-color: var(--primary-color, #0a7afc); color: #fff; font-weight: 600; } .h2p .h2-cat.on .h2-ic { opacity: 1; }
.h2p .h2-feed:has(.h2-account:not([hidden])) .h2-chips { display: none; }   /* an account open: no chips above the profile */
.h2p .h2-recent .h2-fav-open, .h2p .h2-recent-open { flex: 1; min-width: 0; display: flex; align-items: center; gap: 9px; border: 0; background: transparent; color: inherit; font: inherit; padding: 6px 8px; cursor: pointer; text-align: left; }
.h2p .h2-recent-open img, .h2p .h2-recent-open .h2-noav { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; flex: none; background: #e8edf4; }
.h2p .h2-recent { display: flex; flex-direction: column; gap: 1px; }
/* the source line "Bluesky's trending topics · updated 08:49 · every 10 min": written by home2.js (translated) */
/* topics: flat rows with a hairline, no inner scrolling; 10 then "Show 5 more" */
.h2p .h2-trends .bt-topics { max-height: none; overflow: visible; padding-right: 0; gap: 0; }
.h2p .h2-trends .bt-topic { border: 0; border-bottom: 1px solid rgba(127, 127, 127, .12); border-radius: 0; background: transparent; box-shadow: none; padding: 9px 10px; transition: background-color .12s; }
.h2p .h2-trends .bt-topic:hover, .h2p .h2-trends .bt-topic:focus-visible { background: color-mix(in srgb, var(--primary-color, #0a7afc) 6%, transparent); border-radius: 8px; border-bottom-color: transparent; box-shadow: none; }
.h2p .h2-trends .bt-topic .bt-chev { opacity: .45; } .h2p .h2-trends .bt-topic:hover .bt-chev { opacity: 1; }
.h2p .h2-trends .bt-topic .bt-tname { font-size: 15px; }
.h2p .h2-trends .bt-topic small { color: var(--text-light, #64748b); }
.h2p .h2-moret { display: flex; align-items: center; gap: 6px; margin: 8px auto 0; padding: 7px 16px; border-radius: 999px; border: 1px solid rgba(127, 127, 127, .28); background: var(--card-bg, #fff); color: var(--primary-color, #0a7afc); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.h2p .h2-moret:hover { background: color-mix(in srgb, var(--primary-color, #0a7afc) 8%, var(--card-bg, #fff)); }
.h2p .h2-moret .h2-ic { width: 14px; height: 14px; } .h2p .h2-moret.open .h2-ic { transform: rotate(180deg); }
/* the back arrow, bigger */
.h2p .h2-fback { padding: 8px; } .h2p .h2-fback .h2-ic { width: 20px; height: 20px; }
/* posts: pictures capped, "Copy link" next to "Bluesky" */
.h2p .h2-feed .bt-imgs img { max-height: 320px; } .h2p .h2-feed .bt-imgs.n2 img, .h2p .h2-feed .bt-imgs.n3 img, .h2p .h2-feed .bt-imgs.n4 img { height: 150px; }
.h2p .h2-copy { margin-left: auto; border: 0; background: transparent; color: #6b7686; padding: 0 4px; cursor: pointer; line-height: 0; }
.h2p .h2-copy + .bt-open { margin-left: 0; } .h2p .h2-copy:hover { color: var(--primary-color, #0a7afc); } .h2p .h2-copy.done { color: #15803d; }
.h2p .h2-copy .h2-ic { width: 15px; height: 15px; }
/* the account view: tools chips, Posts / Replies / Media, the pinned post */
.h2p .h2-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 2px 0 12px; font-size: 13px; }
.h2p .h2-tools span { color: var(--text-light, #64748b); margin-right: 2px; }
.h2p .h2-tools a { padding: 4px 11px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--primary-color, #0a7afc) 35%, transparent); color: var(--primary-color, #0a7afc); text-decoration: none; font-weight: 600; font-size: 12.5px; }
.h2p .h2-tools a:hover { background: color-mix(in srgb, var(--primary-color, #0a7afc) 8%, var(--card-bg, #fff)); }
.h2p .h2-ptabs { display: flex; gap: 2px; border-bottom: 1px solid rgba(127, 127, 127, .16); margin: 0 0 4px; }
.h2p .h2-ptabs button { border: 0; background: transparent; color: var(--text-light, #64748b); font: inherit; font-size: 14px; font-weight: 600; padding: 8px 14px; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.h2p .h2-ptabs button.on { color: var(--primary-color, #0a7afc); border-bottom-color: var(--primary-color, #0a7afc); }
.h2p .h2-pinned { display: flex; align-items: center; gap: 5px; margin: 10px 0 -6px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--text-light, #64748b); }
.h2p .h2-pinned .h2-ic { width: 13px; height: 13px; }
.h2p .h2-bsky { white-space: nowrap; }
.h2p .h2-navh[hidden], .h2p .h2-moret[hidden], .h2p .bt-topic[hidden] { display: none; }
/* a topic open: no chips and no "Show more" above its posts */
.h2p .h2-feed:has(.bt-reader:not([hidden])) .h2-chips, .h2p .h2-trends:has(.bt-reader:not([hidden])) .h2-moret { display: none; }

/* the menu column: a flex column as tall as the feed, "Join the conversation" compact at its bottom, an ad above it
   (owner 2026-10-30: "make it less tall and at the bottom of the card ... can I display an ad?") */
.h2p .h2-app { align-items: stretch; }
.h2p .h2-nav { position: static; display: flex; flex-direction: column; }
.h2p .h2-nav .bt-join { margin-top: auto; padding: 10px 12px; border-radius: 12px; }
.h2p .h2-nav .bt-join b { font-size: 13px; margin-bottom: 2px; }
.h2p .h2-nav .bt-join p { font-size: 12px; line-height: 1.35; margin: 0 0 6px; }
.h2p .h2-nav .bt-join .bt-jbtns { flex-direction: row; flex-wrap: wrap; gap: 4px; }
.h2p .h2-nav .bt-join a { padding: 4px 9px; font-size: 11.5px; border-radius: 6px; }
.h2p .h2-ad-side { height: 250px; width: auto; margin: 18px 0 14px; display: flex; }   /* a 300x250 unit (the column is 220 px: 250x250 or 200x200 fits, or the column grows to 300) */
.h2p .h2-nav .bk-ad { margin: 18px 0 14px; padding: 0; background: transparent; }
/* the filled square sits in the middle of the free space between Recent and the join box (owner 2026-10-30: "strange on
   top like that"); the join box stays at the bottom. Collapsed (unfilled), it takes no space */
.h2p .h2-nav .bk-ad.bk-ad-side:not(.bk-ad-wait) { margin: auto 0; }
.h2p .h2-nav .bk-ad.bk-ad-side:not(.bk-ad-wait) + .bt-join { margin-top: 0; }
.h2p .h2-nav .bk-ad.bk-ad-side2 { display: none; }   /* the second square: desktop only (also hidden if the window narrows) */
@media (min-width: 761px) { .h2p .h2-nav .bk-ad.bk-ad-side2:not([hidden]) { display: block; } }

/* phones, last so that nothing above outweighs it (the viewer rules above come after the first phone block) */
@media (max-width: 760px) {
  .h2p .h2-app { grid-template-columns: minmax(0, 1fr); }
  .h2p .h2-nav { display: block; min-height: 0; }
  .h2p .h2-nav .h2-ad-side { display: none; }
  .h2p .h2-cats { flex-direction: row; flex-wrap: nowrap; overflow-x: auto; gap: 6px; padding-bottom: 2px; scrollbar-width: none; margin: 0; }
  .h2p .h2-cat { flex: none; white-space: nowrap; }
}

/* the star shown to logged-out readers too: greyed, its tooltip says why (owner 2026-10-30: "I do not see it in the profile") */
.h2-star-off { opacity: .4; cursor: help; display: inline-flex; }

/* Replies as a tree in the viewer (thread-tree.js; owner 2026-11-17 "a thread view like reddit", live 2026-11-18).
   A branch = a clickable line on the left + its posts; branches nest only where a post has several answers. */
.bt-thread.tt-tree { padding-left: 0; border-left: 0; margin-top: 8px; }
.tt-branch { display: grid; grid-template-columns: 16px minmax(0, 1fr); }
.tt-line { all: unset; cursor: pointer; position: relative; width: 16px; }
.tt-line::before { content: ""; position: absolute; left: 6px; top: 4px; bottom: 4px; width: 2px; border-radius: 2px; background: #cdd5e0; transition: background .15s; }
.tt-line:hover::before, .tt-line:focus-visible::before { background: var(--primary-color, #0a7afc); width: 3px; left: 5.5px; }
.tt-col { min-width: 0; }
.tt-col > [hidden] { display: none !important; }
.tt-col > .bt-post { padding: 8px 0; border-bottom: 0; }
.tt-kids { margin-top: 2px; }
.tt-branch + .tt-branch { margin-top: 6px; }
/* folded: the branch's first post stays, with what is hidden under it */
.tt-shut > .tt-col > :not(.bt-post:first-child):not(.tt-folded) { display: none !important; }
.tt-shut > .tt-line::before { background: var(--primary-color, #0a7afc); }
.tt-folded { all: unset; cursor: pointer; display: inline-block; margin: 0 0 6px 38px; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--primary-color, #0a7afc); background: color-mix(in srgb, var(--primary-color, #0a7afc) 10%, transparent); }
.tt-folded[hidden] { display: none; }
.tt-deeper { display: inline-block; margin: 0 0 6px 38px; font-size: 12px; font-weight: 600; color: var(--primary-color, #0a7afc); text-decoration: none; }
.tt-deeper:hover { text-decoration: underline; }
/* posts inside the tree never open a second list under themselves */
.tt-tree .bt-post > .bt-body > .bt-thread { display: none !important; }

/* Posts · Videos · Pictures (2026-11-22): the three kinds of trending, a row of tabs under the feed's head (in the page from the
   start: _home2.php) */
.h2-modes { display: flex; gap: 0; padding: 0 24px; border-bottom: 1px solid rgba(127, 127, 127, .16); background: var(--card-bg, #fff); }
.h2-modes[hidden] { display: none; }
.h2-mode { display: inline-flex; align-items: center; gap: 7px; padding: 11px 16px 9px; border: 0; border-bottom: 3px solid transparent; background: none; color: inherit; font: inherit; font-size: 15px; font-weight: 600; opacity: .7; cursor: pointer; }
.h2-mode .h2-ic { width: 17px; height: 17px; }
.h2-mode:hover { opacity: 1; }
.h2-mode.on { opacity: 1; color: var(--primary-color, #0a7afc); border-bottom-color: var(--primary-color, #0a7afc); }
@media (max-width: 576px) { .h2-modes { padding: 0 8px; } .h2-mode { flex: 1; justify-content: center; padding: 10px 6px 8px; font-size: 14px; } }
