/* MYB News: the shared stylesheet on every page (the flat look, approved 2026-11-11; mockup site-v3-look/final).
   Rules of the house:
   - Flat, square, ruled: lines do the work, not cards. A white page, a 1px rule between things, a black rule with a
     short red bar over a section. No glass, no blur, no drop shadows, no pill chips.
   - Headlines and the masthead in Archivo (narrowed with font-stretch), menus, times and prices in Inter, story text in
     Newsreader. Corners are 2px on photos and 4px on buttons and boxes; a round avatar stays round.
   - Red (#ED1C24, the logo) is an accent: the logo, the red bar over a section, one primary action, links.
   - No text-transform, no all-caps, no emoji, no pulsing or glowing dots.
   The shell lives here (masthead, markets tape, section row, tab bar, footer, sheets) with the shared story atoms and
   the base article. The front page and the lists add /css/front2.css; a story's own rules stay in functions/a/[slug].js.
   Cache-busted as /css/myb2.css?v=N; the number lives in functions/chrome.js (CSS_V). */

/* ======================================================================= tokens */
:root{
  color-scheme: light;
  --ink:#111214; --ink-2:#34373C; --muted:#5F636A; --ink-3:#8A8E95; --prose-ink:#1B1D20;
  --rule:#E1E2E4; --rule-2:#C8CACD; --wash:#F4F4F5;
  --red:#ED1C24; --red-text:#C8141C; --red-fill:#ED1C24; --red-hover:#D4141C; --red-press:#B5121A; --red-wash:rgba(237,28,36,.08);
  --up:#077A3B; --down:#C8141C; --green-wash:rgba(7,122,59,.08); --switch-on:#077A3B;
  /* the markets tape and the footer: near-black in both themes */
  --tape:#0F1012; --tape-rule:#2B2E32; --tape-muted:#A2A6AD; --tape-up:#3CCB7F; --tape-down:#FF6B6B;
  /* older names the page styles still use, mapped onto the flat look */
  --bg:#FFFFFF; --card:#FFFFFF; --read:#FFFFFF; --sunk:var(--wash); --sunk-2:#E9EAEC; --inset:var(--wash); --sheet-group:transparent;
  --hair:var(--rule); --hair-2:var(--rule); --fill:rgba(17,18,20,.08); --fill-2:var(--wash);
  --card-shadow:0 0 0 1px var(--rule);   /* a ruled edge, never a drop shadow */
  --glass-ink-2:var(--muted); --glass-solid:var(--bg); --dim:rgba(17,18,20,.45);
  --band:#0F1012; --band-2:#1C1D20;
  --cat-taxes:#1F6FCF; --cat-grants:#077A3B; --cat-offers:#8E44AD; --cat-health:#B4570A;
  /* type */
  --head:'Archivo','Arial Narrow',Arial,sans-serif;
  --sans:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;
  --display:var(--sans);
  --serif:'Newsreader',Georgia,'Times New Roman',serif;
  --heb:-apple-system,BlinkMacSystemFont,"SF Hebrew","Noto Sans Hebrew","Arial Hebrew",system-ui,sans-serif;
  --read-size:19px; --read-lh:1.6;
  /* shape + space */
  --r:4px; --r-img:2px; --r-xl:4px; --r-lg:4px; --r-md:4px; --r-sm:2px;
  --g:16px; --gutter:var(--g); --wrap:1240px; --wide:1240px; --measure:680px;
  --tabbar:56px; --bar-h:0px; --tick-h:0px;   /* the masthead scrolls away with the page; nothing is pinned on top */
  --ease:cubic-bezier(.32,.72,0,1);
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    color-scheme: dark;
    --ink:#F1F2F3; --ink-2:#C9CCD1; --muted:#9A9EA5; --ink-3:#6F737A; --prose-ink:#E4E5E7;
    --rule:#2B2E32; --rule-2:#3A3D42; --wash:#17191C;
    --red-text:#FF5C61; --red-hover:#FF3B42; --red-wash:rgba(255,92,97,.14); --up:#3CCB7F; --down:#FF6B6B; --green-wash:rgba(60,203,127,.12);
    --bg:#0E0F11; --card:#0E0F11; --read:#0E0F11; --sunk-2:#202226; --fill:rgba(255,255,255,.1);
    --dim:rgba(0,0,0,.6); --band-2:#1C1D20;
    --cat-taxes:#64A8FF; --cat-grants:#3CCB7F; --cat-offers:#D69CFF; --cat-health:#FFB067;
  }
}
:root[data-theme="dark"]{
  color-scheme: dark;
  --ink:#F1F2F3; --ink-2:#C9CCD1; --muted:#9A9EA5; --ink-3:#6F737A; --prose-ink:#E4E5E7;
  --rule:#2B2E32; --rule-2:#3A3D42; --wash:#17191C;
  --red-text:#FF5C61; --red-hover:#FF3B42; --red-wash:rgba(255,92,97,.14); --up:#3CCB7F; --down:#FF6B6B; --green-wash:rgba(60,203,127,.12);
  --bg:#0E0F11; --card:#0E0F11; --read:#0E0F11; --sunk-2:#202226; --fill:rgba(255,255,255,.1);
  --dim:rgba(0,0,0,.6); --band-2:#1C1D20;
  --cat-taxes:#64A8FF; --cat-grants:#3CCB7F; --cat-offers:#D69CFF; --cat-health:#FFB067;
}
@media (prefers-contrast: more){
  :root{ --ink-2:#202226; --muted:#3F434A; --rule:#9FA3A9; --rule-2:#6F737A; --red-text:#A51117; --up:#055C2C; --down:#9B1016; }
  :root[data-theme="dark"]{ --ink-2:#E4E5E7; --muted:#C9CCD1; --rule:#6F737A; --rule-2:#9A9EA5; --red-text:#FF8A8E; --up:#5FE09A; --down:#FF8A8E; }
}
@media (prefers-contrast: more) and (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){ --ink-2:#E4E5E7; --muted:#C9CCD1; --rule:#6F737A; --rule-2:#9A9EA5; --red-text:#FF8A8E; --up:#5FE09A; --down:#FF8A8E; }
}
/* story text size, from the Display sheet */
:root[data-size="-1"]{ --read-size:17px; }
:root[data-size="1"]{ --read-size:21px; }
:root[data-size="2"]{ --read-size:23px; --read-lh:1.56; }
@media (min-width:768px){
  :root{ --g:24px; --tabbar:0px; --read-size:20px; }
  :root[data-size="-1"]{ --read-size:18px; } :root[data-size="1"]{ --read-size:22px; } :root[data-size="2"]{ --read-size:24px; }
}

/* ======================================================================= base */
*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; text-size-adjust:100%; background:var(--bg); scroll-padding-top:12px; }
body{ margin:0; background:var(--bg); color:var(--ink); font:400 16px/1.45 var(--sans);
  -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; text-rendering:optimizeLegibility; overflow-x:hidden; }
body.article{ background:var(--read); }
img{ display:block; max-width:100%; }
a{ color:inherit; text-decoration:none; }
button,input,select,textarea{ font:inherit; color:inherit; }
button{ background:none; border:0; padding:0; cursor:pointer; -webkit-tap-highlight-color:transparent; }
[hidden]{ display:none!important; }
:focus-visible{ outline:2px solid var(--red-text); outline-offset:2px; border-radius:2px; }
.vh, .sr{ position:absolute!important; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.i{ width:22px; height:22px; flex:none; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.i.fill{ fill:currentColor; stroke:none; }
.num{ font-variant-numeric:tabular-nums; font-feature-settings:"tnum"; }
.wrap{ max-width:var(--wrap); margin:0 auto; padding:0 var(--g); }
.skip{ position:absolute; left:12px; top:-60px; z-index:200; background:var(--bg); color:var(--ink); padding:10px 14px; border:1px solid var(--ink); border-radius:var(--r); font:600 15px/20px var(--sans); }
.skip:focus{ top:12px; }
[dir="rtl"], .rtl{ font-family:var(--heb); }
.fine{ font:400 13px/18px var(--sans); color:var(--muted); }
.nw{ white-space:nowrap; }   /* a phone number or a price that must not break across lines */
.press{ transition:opacity 120ms; }
.press:active{ opacity:.72; }
/* a dark scrim for controls that sit on a video (the Status viewer) */
.glass--clear{ background:rgba(0,0,0,.5); color:#fff; }
@media (max-width:767px){ .only-desk{ display:none!important; } }
@media (min-width:768px){ .only-phone{ display:none!important; } }

/* ======================================================================= masthead (functions/chrome.js bar()) */
.mast{ background:var(--bg); border-bottom:1px solid var(--rule); }
.mast__in{ display:flex; align-items:center; height:56px; gap:12px; }
.brand{ display:flex; align-items:center; gap:10px; min-width:0; min-height:44px; }
.brand img{ height:29px; width:auto; }
.brand__div{ flex:none; width:1px; height:24px; background:var(--rule-2); }
.brand__name{ font:800 21px/1 var(--head); font-stretch:84%; color:var(--ink); white-space:nowrap; }
.mast__date{ display:none; }
.mast__act{ margin-left:auto; display:flex; align-items:center; gap:2px; }
.icobtn{ width:44px; height:44px; display:grid; place-items:center; flex:none; border-radius:var(--r); color:var(--ink); }
.icobtn:hover{ background:var(--wash); }
.mast__act .mast__ad, .mast__act .mast__join{ display:none; }
/* the phone's Join (2026-11-12, chrome.js bar()): the link is a 44px tap target, the red box inside it smaller so the
   masthead stays light. Search moved from here into the top of the menu sheet (/js/myb2.js) to make room; the computer
   keeps its Search button and its "Join on WhatsApp" */
.mast__pjoin{ flex:none; display:inline-flex; align-items:center; justify-content:center; min-width:44px; height:44px; }
.mast__pjoin-b{ display:inline-flex; align-items:center; height:32px; padding:0 11px; border-radius:var(--r); background:var(--red); color:#fff; font:600 14.5px/1 var(--sans); white-space:nowrap; }
.mast__pjoin:hover .mast__pjoin-b{ background:var(--red-hover); }
.mast__pjoin:active .mast__pjoin-b{ background:var(--red-press); }
/* the menu's lines line up with the page's right edge (its 44px target runs into the gutter), so the brand keeps its room:
   measured 2026-11-12, "Business News" clears Join at 320, 360 (with the back arrow), 375 and 390 */
@media (max-width:767px){ .mast__act .mast__search{ display:none; } .mast__act .mast__menu{ margin-right:-10px; } }
@media (max-width:389px){ .mast__in{ gap:10px; } }
/* a story or a section page: a back arrow before the logo (phones) */
.mast__back{ flex:none; display:grid; place-items:center; width:44px; height:44px; margin:0 -12px 0 -14px; color:var(--ink); }   /* a 44px target; the arrow stays where it was */
.mast__back .i{ width:22px; height:22px; stroke-width:2; }
@media (max-width:389px){ .bar--back .brand__name{ font-size:18px; } .bar--back .brand{ gap:8px; } }   /* 18px since the phone's Join (2026-11-12) */
@media (max-width:359px){
  .mast__in{ gap:8px; } .brand{ gap:8px; } .brand__name, .bar--back .brand__name{ font-size:17px; }
  .mast__back{ display:none; }
}

/* ======================================================================= markets tape (tape()): name and change on top,
   the price under it; on a phone it scrolls sideways under a fade on the right that says "more" */
.tape{ position:relative; background:var(--tape); color:#fff; }
.tape::after{ content:""; position:absolute; top:0; right:0; bottom:0; width:28px; pointer-events:none; transition:opacity 160ms;
  background:linear-gradient(90deg, rgba(15,16,18,0), var(--tape)); }
.tape.at-end::after{ opacity:0; }
.tape__in{ display:flex; overflow-x:auto; scrollbar-width:none; -webkit-overflow-scrolling:touch; overscroll-behavior-x:contain; }
.tape__in::-webkit-scrollbar{ display:none; }
.tk{ flex:none; display:flex; flex-direction:column; justify-content:center; gap:4px; padding:8px 12px; min-height:52px; border-left:1px solid var(--tape-rule);
  color:#fff; text-align:left; }
.tk:first-child{ border-left:0; padding-left:var(--g); }
.tk:last-child{ padding-right:calc(var(--g) + 20px); }
.tk__top{ display:flex; align-items:baseline; gap:6px; white-space:nowrap; }
.tk__n{ font:500 12px/1 var(--sans); color:var(--tape-muted); white-space:nowrap; }
.tk__c{ font:600 12px/1 var(--sans); font-variant-numeric:tabular-nums; white-space:nowrap; }
.tk__v{ font:600 15.5px/1.05 var(--sans); font-variant-numeric:tabular-nums; letter-spacing:-.01em; white-space:nowrap; }
.tk--lab .tk__n{ font:700 13px/1 var(--sans); color:#fff; }
.tk--lab .tk__v{ font:500 12px/1 var(--sans); color:var(--tape-muted); letter-spacing:0; }
.tk__v:empty::before{ content:"\00a0"; }
.tk.wait .tk__v:empty::before{ content:"\2013"; color:var(--tape-muted); }
.tape .tk__c.up, .tape .up{ color:var(--tape-up); }
.tape .tk__c.dn, .tape .tk__c.down, .tape .dn, .tape .down{ color:var(--tape-down); }
.tape .tk__c.flat{ color:var(--tape-muted); }
/* dark mode: the band is the page's colour, so a thin line keeps its shape (the band stays #0F1012) */
:root[data-theme="dark"] .tape{ border-bottom:1px solid var(--rule); }
@media (prefers-color-scheme: dark){ :root:not([data-theme="light"]) .tape{ border-bottom:1px solid var(--rule); } }
button.tk:hover .tk__n{ color:#fff; }
button.tk:focus-visible{ outline-offset:-3px; }

/* ======================================================================= section row (secnav()) */
.secbar{ background:var(--bg); border-bottom:1px solid var(--rule); }
.secbar__in{ display:flex; align-items:stretch; gap:22px; overflow-x:auto; scrollbar-width:none; height:46px;
  -webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 28px),transparent); mask-image:linear-gradient(90deg,#000 calc(100% - 28px),transparent); }
.secbar__in.at-end{ -webkit-mask-image:none; mask-image:none; }
.secbar__in::-webkit-scrollbar{ display:none; }
.secbar a{ position:relative; flex:none; display:flex; align-items:center; font:600 14.5px/1 var(--sans); color:var(--ink-2); white-space:nowrap; }
.secbar a::before{ content:""; position:absolute; inset:0 -11px; }   /* a 44px-wide target for a short name ("Tech") */
.secbar a:hover{ color:var(--ink); }
.secbar a[aria-current]{ color:var(--ink); box-shadow:inset 0 -3px 0 var(--red); }
.secbar__in > a:last-of-type{ padding-right:24px; }
.secbar .tab-new{ top:12px; left:auto; right:-9px; }   /* beside the word, taking no width, so the row stays on the page */

/* ======================================================================= shared story atoms */
.kick{ font:700 12.5px/1.2 var(--sans); color:var(--red-text); }
.kick.grey{ color:var(--muted); font-weight:600; }
.meta{ font:400 13px/1.3 var(--sans); color:var(--muted); display:flex; gap:0 5px; flex-wrap:wrap; align-items:center; }
.meta b{ font-weight:600; color:var(--red-text); }
.meta .dot::before{ content:"\00b7"; }
.hl{ font-family:var(--head); font-weight:700; font-stretch:90%; letter-spacing:-.004em; margin:0; color:var(--ink); text-wrap:pretty; }
.dek{ font:400 16px/1.4 var(--serif); color:var(--ink-2); margin:0; text-wrap:pretty; }
.clamp2{ display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.clamp3{ display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
a:hover .hl, .hov:hover .hl{ text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:3px; }
.pic{ position:relative; overflow:hidden; background:var(--wash); border-radius:var(--r-img); outline:1px solid rgba(17,18,20,.07); outline-offset:-1px; }
.pic img{ width:100%; height:100%; object-fit:cover; }
/* a company logo shown flat: a grey square, a thin inside line, the logo no wider than 60% of the square */
.pic--logo{ display:grid; place-items:center; background:var(--wash); outline:1px solid var(--rule); outline-offset:-1px; }
.pic--logo img{ width:auto; height:auto; max-width:60%; max-height:44%; object-fit:contain; }
:root[data-theme="dark"] .pic--logo{ background:#F4F4F5; }
@media (prefers-color-scheme: dark){ :root:not([data-theme="light"]) .pic--logo{ background:#F4F4F5; } }
.live-dot{ display:inline-block; width:7px; height:7px; border-radius:50%; background:var(--red); flex:none; }

/* section header: a black line with a short red bar over it */
.sec{ padding-top:22px; padding-bottom:6px; }
.sec__h{ position:relative; display:flex; align-items:baseline; justify-content:space-between; gap:12px; border-top:1px solid var(--ink); padding-top:12px; margin-bottom:4px; }
.sec__h::before{ content:""; position:absolute; left:0; top:-3px; width:40px; height:5px; background:var(--red); }
.sec__h h2{ margin:0; font:800 22px/1.1 var(--head); font-stretch:88%; letter-spacing:-.005em; }
.sec__h .aside{ font:500 13px/1.2 var(--sans); color:var(--muted); white-space:nowrap; }
.sec__h a, a.more{ display:inline-flex; align-items:center; gap:4px; min-height:44px; font:600 14px/1 var(--sans); color:var(--red-text); white-space:nowrap; }
.sec__h a .i, a.more .i{ width:16px; height:16px; stroke-width:2.2; }
.sec__links{ display:flex; gap:18px; }
.colh{ display:flex; align-items:baseline; justify-content:space-between; gap:10px; position:relative; border-top:1px solid var(--ink); padding-top:12px; margin-bottom:2px; }
.colh::before{ content:""; position:absolute; left:0; top:-3px; width:40px; height:5px; background:var(--red); }
.colh h2{ margin:0; font:800 22px/1.1 var(--head); font-stretch:88%; }

/* ruled story rows: <ul class="rows"><li><a class="row"> (the lists), or <div class="rows"><a class="row"> (older pages) */
.rows{ list-style:none; margin:0; padding:0; min-width:0; }
.row{ display:grid; grid-template-columns:minmax(0,1fr) auto; gap:14px; align-items:start; padding:13px 0; border-top:1px solid var(--rule); color:inherit; }
.row .hl{ display:block; font-size:17px; line-height:1.2; margin-bottom:6px; }
.row .pic{ width:80px; height:80px; }
.row--text{ grid-template-columns:minmax(0,1fr); }
.rows--first li:first-child .row, .rows--first > .row:first-child{ border-top:0; }
.row__txt{ display:grid; gap:4px; min-width:0; align-content:start; }
.row__txt .hl{ margin-bottom:2px; }
.more-rows{ display:flex; justify-content:center; padding:14px 0 2px; }
.pager{ display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:12px; margin:16px 0 0; font:500 15px/20px var(--sans); color:var(--muted); }
.pager > :first-child{ justify-self:start; } .pager > :last-child{ justify-self:end; }

/* a ruled box (older pages: .box, .card) */
.card, .box{ display:block; background:var(--bg); border-radius:var(--r); box-shadow:var(--card-shadow); min-width:0; }
.card{ overflow:hidden; }
.box__h{ display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between; gap:2px 12px; padding:14px 16px 4px; }
.box__h h2{ margin:0; font:800 20px/1.15 var(--head); font-stretch:88%; letter-spacing:-.005em; }
.box__h .aside{ font:400 13px/18px var(--sans); color:var(--muted); white-space:nowrap; }
.box__h a.aside{ color:var(--red-text); font-weight:600; font-size:14px; min-height:44px; display:inline-flex; align-items:center; margin:-12px 0; }
.box__body{ padding:4px 16px 16px; }

/* section links as plain tabs, the current one underlined in red (never a pill) */
.tabs{ display:flex; gap:20px; overflow-x:auto; scrollbar-width:none; margin:10px 0 4px; padding:0; border-bottom:1px solid var(--rule);
  -webkit-mask:linear-gradient(to right,#000 calc(100% - 28px),transparent); mask:linear-gradient(to right,#000 calc(100% - 28px),transparent); }
.tabs::-webkit-scrollbar{ display:none; }
.tabs.at-end{ -webkit-mask:none; mask:none; }
.tab{ flex:none; display:inline-flex; align-items:center; min-height:44px; padding:0; font:600 14.5px/1 var(--sans); color:var(--ink-2); white-space:nowrap; background:none; }
.tab:hover{ color:var(--ink); }
.tab[aria-selected="true"], .tab[aria-current="page"], .tab[aria-pressed="true"]{ color:var(--ink); box-shadow:inset 0 -3px 0 var(--red); }

/* ======================================================================= large title (a page's own h1) */
.lt{ padding:18px 0 12px; }
.lt__logo{ display:none; }
.lt h1{ margin:0; font:800 30px/1.06 var(--head); font-stretch:84%; letter-spacing:-.01em; text-wrap:balance; }
.lt__date{ font:500 14px/20px var(--sans); color:var(--muted); display:flex; gap:6px; flex-wrap:wrap; margin-top:4px; }
.lt__sub{ margin:6px 0 0; font:400 18px/1.4 var(--serif); color:var(--ink-2); max-width:52ch; }
.crumbs{ display:flex; gap:6px; flex-wrap:wrap; align-items:center; font:500 13px/18px var(--sans); color:var(--muted); margin:0 0 8px; }
.crumbs a{ color:var(--red-text); display:inline-flex; align-items:center; min-height:44px; margin:-13px 0; }
.crumbs a:hover{ text-decoration:underline; text-underline-offset:3px; }
.crumbs .sep{ color:var(--ink-3); }

/* ======================================================================= buttons: 4px corners, sentence case */
.btn{ display:inline-flex; align-items:center; justify-content:center; gap:8px; height:44px; padding:0 16px; border-radius:var(--r); font:600 15px/1 var(--sans); white-space:nowrap; border:1px solid transparent; }
.btn .i{ width:18px; height:18px; }
.btn--red, .btn.red{ background:var(--red); color:#fff; }
.btn--red:hover, .btn.red:hover{ background:var(--red-hover); }
.btn--red:active, .btn.red:active{ background:var(--red-press); }
.btn--line, .btn.soft{ border-color:var(--rule-2); color:var(--ink); background:var(--bg); }
.btn--line:hover, .btn.soft:hover{ border-color:var(--ink); }
.btn--sm, .btn.sm{ height:40px; font-size:14.5px; padding:0 14px; }
.btn.block{ width:100%; }
.btn[disabled], .btn[aria-disabled="true"]{ opacity:.55; cursor:default; }
.btns{ display:flex; gap:10px; flex-wrap:wrap; }
.av{ width:32px; height:32px; border-radius:50%; display:grid; place-items:center; font:600 14px/1 var(--sans); color:#fff; background:var(--ac,#5B5B60); flex:none; }
.av .i{ width:18px; height:18px; }
.av img{ width:100%; height:100%; border-radius:inherit; }

/* ======================================================================= video cards: the video's own YouTube
   thumbnail with our label under it (2026-10-20, his rule: "thumbnails are a must"), a small square play badge on the
   picture, never the newsroom's name (2026-10-21). The player loads only after a tap. */
.vcard{ position:relative; display:flex; flex-direction:column; width:100%; padding:0; text-align:left; color:var(--ink); background:none; }
.vthumb{ position:relative; display:block; flex:none; aspect-ratio:16/9; overflow:hidden; border-radius:var(--r-img); background:var(--pc,#111); }
.vthumb__img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; }
.vcard__txt{ display:grid; gap:4px; align-content:start; padding:8px 0 0; min-width:0; }
.vcard__t{ font:700 16.5px/1.22 var(--head); font-stretch:90%; text-wrap:pretty; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.vcard__t[dir="rtl"]{ font-family:var(--heb); font-weight:700; line-height:1.4; text-align:right; }
.vcard__m{ display:flex; gap:5px; align-items:center; min-width:0; white-space:nowrap; font:400 13px/18px var(--sans); color:var(--muted); }
.vcard__m .dot::before{ content:"\00b7"; }
.vcard__src{ flex:none; max-width:64%; font-weight:600; overflow:hidden; text-overflow:ellipsis; }
.vcard__m > span:last-child:not(.vcard__src){ min-width:0; overflow:hidden; text-overflow:ellipsis; }
.vcard.rtl .vcard__m{ justify-content:flex-end; }
.vcard.rtl .plate__play{ left:auto; right:8px; }
.vcard:hover .vcard__t{ text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:3px; }
.plate__play{ position:absolute; left:8px; bottom:8px; width:30px; height:30px; border-radius:2px; display:grid; place-items:center; color:#fff; background:rgba(0,0,0,.78); }
.plate__play .i{ width:13px; height:13px; margin-left:2px; }
.rail{ display:flex; gap:14px; overflow-x:auto; scrollbar-width:none; margin:0 calc(var(--g)*-1); padding:0 var(--g) 2px; scroll-snap-type:x mandatory; scroll-padding:0 var(--g); }
.rail::-webkit-scrollbar{ display:none; }
.rail > *{ flex:none; width:min(280px,76vw); scroll-snap-align:start; }
.mini{ position:relative; width:112px; height:63px; border-radius:var(--r-img); flex:none; overflow:hidden; color:#fff; background:var(--pc,#111); }
.mini .vthumb__img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; }
.mini__play{ position:absolute; left:5px; bottom:5px; width:22px; height:22px; border-radius:2px; display:grid; place-items:center; background:rgba(0,0,0,.78); }
.mini__play .i{ width:10px; height:10px; margin-left:1px; }
.vrow{ display:grid; grid-template-columns:112px 1fr; gap:12px; padding:12px 0; position:relative; align-items:center; text-align:left; width:100%; border-top:1px solid var(--rule); }
.vrow .hl{ font-size:16px; line-height:1.22; }
.vrow .meta{ flex-wrap:nowrap; white-space:nowrap; min-width:0; }
.vrow .meta > span:first-child{ overflow:hidden; text-overflow:ellipsis; min-width:0; }
.vrow .row__txt{ min-width:0; }
.vrow .hl[dir="rtl"]{ font-family:var(--heb); }
.vrow:hover .hl{ text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:3px; }
.vgroup{ font:600 13px/18px var(--sans); color:var(--muted); margin:22px 0 8px; }
.vshows{ display:grid; gap:18px; }
.vfeat .vcard__txt{ padding:10px 0 0; gap:6px; }
.vfeat .vcard__t{ font-size:24px; line-height:1.1; font-weight:800; font-stretch:84%; }
.vfeat .vcard__m{ font-size:14px; }
.vfeat .plate__play{ width:40px; height:40px; left:12px; bottom:12px; }
.vfeat .plate__play .i{ width:17px; height:17px; }
/* the player (in the player sheet): the thumbnail the reader tapped (--th, /js/myb2-player.js) stays behind "Starting
   video" and behind our paused and ended panels */
.player{ position:relative; aspect-ratio:16/9; border-radius:var(--r-img); overflow:hidden; background:var(--th,none) center/cover no-repeat, var(--pc,#111); }
.player iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; opacity:0; transition:opacity .2s; }
.player.is-on iframe{ opacity:1; }
.player__cover{ position:absolute; inset:0; display:none; flex-direction:column; justify-content:flex-end; padding:16px; color:#fff;
  background:linear-gradient(180deg, rgba(0,0,0,.38), rgba(0,0,0,.8)), var(--th,none) center/cover no-repeat, var(--pc,#111); }
.player__cover.on{ display:flex; }
.player__cover small{ font:600 13px/18px var(--sans); color:rgba(255,255,255,.85); }
.player__cover b{ font:700 20px/1.15 var(--head); font-stretch:90%; max-width:32ch; margin-top:2px; }
.player__cover .row2{ display:flex; gap:10px; margin-top:12px; flex-wrap:wrap; }
.player__cover .btn{ height:40px; }
.player__cover .btn.ghost{ color:#fff; background:rgba(255,255,255,.16); border-color:rgba(255,255,255,.3); }
.player__wait{ position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px; color:rgba(255,255,255,.92); font:500 14px/18px var(--sans); background:rgba(0,0,0,.42); }
.player__wait .plate__play{ position:static; }
.vs-title{ font:800 22px/1.12 var(--head); font-stretch:86%; margin:14px 0 4px; }
.vs-meta{ margin:0 0 8px; }
/* Shorts: the grid and the feed live in /css/shorts2.css. Kept here: the boxes beside the grid and the upright player
   the player sheet uses for a Short opened from another page. */
.sbox{ padding:16px; display:grid; gap:8px; align-content:start; }
.sbox h2{ margin:0; font:800 19px/1.15 var(--head); font-stretch:88%; }
.sbox p{ margin:0; font:400 15px/21px var(--sans); color:var(--ink-2); }
.sbox .btns{ display:flex; flex-wrap:wrap; gap:8px; margin-top:4px; }
.sbox.links nav{ display:grid; margin:2px -16px -8px; }
.sbox.links a{ display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:46px; padding:0 16px; font:400 16px/21px var(--sans); border-top:1px solid var(--rule); }
.sbox.links a .chev{ width:16px; height:16px; flex:none; color:var(--ink-3); }
.sbox.links a:hover{ color:var(--red-text); }
.player.tall{ aspect-ratio:9/16; width:auto; height:min(60vh,560px); max-width:100%; margin:0 auto; }

/* ======================================================================= closing soon + countdown tiles, ask card */
.cs a{ display:grid; grid-template-columns:52px 1fr auto; gap:12px; align-items:center; padding:11px 0; border-top:1px solid var(--rule); }
.cs .hl{ font-size:16px; line-height:1.22; }
.cs .chev{ color:var(--ink-3); width:17px; height:17px; }
.cd{ width:52px; height:52px; border-radius:var(--r); background:var(--wash); display:grid; place-content:center; text-align:center; gap:0; }
.cd b{ font:800 20px/22px var(--head); font-stretch:88%; font-variant-numeric:tabular-nums; }
.cd span{ font:600 11px/13px var(--sans); color:var(--muted); }
.cd.soon{ background:var(--red-wash); }
.cd.soon b, .cd.soon span{ color:var(--red-text); }
.cd .i{ width:24px; height:24px; color:var(--muted); }
.ask{ padding:16px; display:grid; gap:12px; }
.ask__who{ display:flex; align-items:center; gap:10px; font:600 15px/20px var(--sans); }
.ask__who img{ width:32px; height:32px; border-radius:50%; }
.ask__who span{ display:block; font-weight:400; color:var(--muted); font-size:13px; line-height:16px; }
.ask__q{ font:700 20px/1.2 var(--head); font-stretch:90%; margin:0; text-wrap:pretty; }
.ask__from{ display:flex; gap:10px; align-items:center; padding:10px 12px; border-radius:var(--r); background:var(--wash); }
.ask__from .hl{ font-size:14px; line-height:19px; }
.ask__from .pic{ width:44px; height:44px; flex:none; }
.ask__foot{ display:flex; align-items:center; gap:10px; justify-content:space-between; flex-wrap:wrap; }

/* ======================================================================= join card (joinCard()), the WhatsApp band
   (waBand(), above the footer), notes */
.join{ display:grid; gap:12px; justify-items:start; padding:14px 16px 16px; border:1px solid var(--rule-2); border-top:3px solid var(--ink); background:var(--bg); }
.join h2{ margin:0; font:800 21px/1.12 var(--head); font-stretch:86%; }
.join p{ margin:0; font:400 16px/1.45 var(--sans); color:var(--ink-2); max-width:46ch; }
.join__txt{ display:grid; gap:6px; }
.join__btns{ display:flex; gap:10px; flex-wrap:wrap; }
.wa{ background:var(--wash); border-top:1px solid var(--rule); border-bottom:1px solid var(--rule); margin:26px 0 0; }
.wa__in{ padding-top:22px; padding-bottom:24px; }
.wa h2{ margin:0 0 6px; font:800 24px/1.1 var(--head); font-stretch:86%; }
.wa p{ margin:0 0 14px; color:var(--ink-2); font-size:16px; }
.wa__btns{ display:flex; flex-wrap:wrap; gap:10px; }
.wa__btns .btn{ flex:1 1 150px; }
.wa .wa__num{ margin:14px 0 0; font-size:14px; color:var(--muted); text-wrap:pretty; }
.wa__num a{ color:var(--ink); font-weight:600; text-decoration:underline; text-underline-offset:3px; text-decoration-color:var(--rule-2); }
.note{ padding:8px 16px 14px; margin:0; font:400 13px/18px var(--sans); color:var(--muted); }
/* the join row (chrome.js joinRow, 2026-11-12): one link in the flow of a list, ruled like a story row: the WhatsApp mark,
   the line and one sentence, a small red "Join". The front page (a phone, after the third story), the list pages (after the
   fifth) and the top of the menu sheet. Never over the content, never sticky. */
.jrow{ display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; column-gap:12px; min-height:44px; padding:13px 0; border-top:1px solid var(--rule); color:inherit; }
.jrow__ic{ display:grid; place-items:center; width:30px; height:30px; color:var(--red-text); }
.jrow__ic .i{ width:27px; height:27px; stroke-width:1.7; }
.jrow__txt{ display:grid; gap:3px; min-width:0; }
.jrow__txt b{ font:700 17px/1.2 var(--head); font-stretch:90%; color:var(--ink); text-wrap:balance; }
.jrow__txt span{ font:400 14px/1.35 var(--sans); color:var(--ink-2); }
.jrow__go{ display:inline-flex; align-items:center; height:34px; padding:0 14px; border-radius:var(--r); background:var(--red); color:#fff; font:600 14.5px/1 var(--sans); white-space:nowrap; }
.jrow:hover b{ text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:3px; }
.jrow:hover .jrow__go{ background:var(--red-hover); }
.jrow:active .jrow__go{ background:var(--red-press); }
/* in the menu sheet it is the first thing, under the sheet's own line */
.sheet .jrow{ border-top:0; border-bottom:1px solid var(--rule); padding:12px 0 14px; }
.menu-q{ margin:14px 0 2px; }
.menu-res[hidden], .menu-links[hidden]{ display:none; }
/* the story page's join box (chrome.js joinBox): right after the story, before More in <section> */
.jbox{ display:grid; gap:12px; justify-items:start; margin:30px 0 0; padding:14px 0 4px; border-top:3px solid var(--ink); }   /* no line under it: More in <section> starts with its own */
.jbox p{ margin:0; font:700 19px/1.28 var(--head); font-stretch:90%; color:var(--ink); max-width:44ch; text-wrap:pretty; }
.jbox .btn .i{ width:19px; height:19px; stroke-width:1.7; }
.jbox__btns{ display:flex; flex-wrap:wrap; gap:10px; width:100%; }
.jbox__btns .btn{ flex:1 1 150px; }   /* a phone: side by side when they fit, else one full-width button under the other (like .wa__btns) */
.notice{ display:flex; gap:12px; align-items:center; padding:12px 16px; border-radius:var(--r); background:var(--bg); box-shadow:var(--card-shadow); font:400 15px/21px var(--sans); }
.notice .i{ color:var(--muted); }
.notice b{ font-weight:600; }
.notice.soft{ background:var(--wash); box-shadow:none; }
.empty-state{ padding:28px 18px; text-align:center; display:grid; gap:8px; justify-items:center; }
.empty-state h2{ margin:0; font:800 21px/1.15 var(--head); font-stretch:88%; }
.empty-state p{ margin:0; font:400 15px/21px var(--sans); color:var(--ink-2); max-width:40ch; }

/* ======================================================================= footer (footer()): near-black, short on a
   phone, every link one tap away. The WhatsApp band sits on top of it. */
.foot{ margin-top:30px; }
.foot > .wa{ margin:0; }
.foot__main{ background:var(--tape); color:#E9EAEC; border-top:1px solid var(--tape-rule); padding:24px 0 calc(var(--tabbar) + 18px + env(safe-area-inset-bottom)); }
.foot__main .foot__brand{ display:flex; align-items:center; gap:10px; }
.foot__main .foot__brand img{ height:26px; width:auto; }
.foot__main .foot__brand .brand__div{ background:#3A3D42; }
.foot__main .foot__brand .brand__name{ color:#fff; font-size:19px; }
.foot__main .foot__about{ margin:10px 0 0; max-width:52ch; color:#B9BCC2; font-size:14px; }
.foot__main .foot__key{ list-style:none; margin:14px 0 0; padding:8px 0 0; border-top:1px solid var(--tape-rule); display:grid; grid-template-columns:1fr 1fr; column-gap:16px; }
.foot__main .foot__key a{ display:flex; align-items:center; min-height:44px; font-size:14px; color:#F1F2F3; }
.foot__main .foot__all{ border-top:1px solid var(--tape-rule); border-bottom:1px solid var(--tape-rule); margin-top:6px; }
.foot__main .foot__all summary{ list-style:none; display:flex; align-items:center; justify-content:space-between; min-height:46px; font:600 14px/1 var(--sans); color:#fff; cursor:pointer; }
.foot__main .foot__all summary::-webkit-details-marker{ display:none; }
.foot__main .foot__all summary .i{ width:16px; height:16px; transform:rotate(90deg); color:var(--tape-muted); transition:transform 200ms var(--ease); }
.foot__main .foot__all[open] summary .i{ transform:rotate(-90deg); }
.foot__main .foot__all .foot__cols{ grid-template-columns:1fr 1fr; padding-bottom:10px; }
.foot__main .foot__cols{ display:grid; gap:4px 20px; }
.foot__main .foot__cols h3{ margin:12px 0 2px; font:600 12.5px/1.2 var(--sans); color:var(--tape-muted); }
.foot__main .foot__cols ul{ list-style:none; margin:0; padding:0; }
.foot__main .foot__cols a, .foot__main .foot__cols button{ display:flex; align-items:center; min-height:44px; font:400 14px/1.25 var(--sans); color:#F1F2F3; text-align:left; }
.foot__main a:hover, .foot__main .foot__cols button:hover{ text-decoration:underline; text-underline-offset:3px; }
.foot__main .foot__social{ display:flex; flex-wrap:nowrap; justify-content:space-between; gap:0 10px; margin-top:6px; }
.foot__main .foot__social a{ position:relative; display:inline-flex; align-items:center; min-height:44px; font:600 13.5px/1 var(--sans); color:#F1F2F3; white-space:nowrap; }
/* 44px-wide targets without moving a name: each reaches half the gap either side; "X", the first and shortest, reaches
   into the gutter and a little over the next name's edge */
.foot__main .foot__social a::before{ content:""; position:absolute; inset:0 -6px; }
.foot__main .foot__social a:first-child::before{ left:-16px; right:-18px; z-index:1; }
.foot__main .foot__legal{ padding-top:2px; border-top:1px solid var(--tape-rule); font-size:12.5px; color:var(--tape-muted); display:flex; flex-wrap:wrap; align-items:center; gap:0 18px; }
.foot__main .foot__legal a{ display:inline-flex; align-items:center; justify-content:center; min-height:44px; min-width:44px; }
.foot__main .foot__legal span{ display:inline-flex; align-items:center; min-height:44px; }

/* ======================================================================= phone tab bar (tabbar()): flat, full width,
   a thin line on top. It steps aside while reading down in the browser and comes back on any scroll up (/js/myb2.js). */
.tabbar{ position:fixed; left:0; right:0; bottom:0; z-index:70; background:var(--bg); border-top:1px solid var(--rule-2);
  padding-bottom:env(safe-area-inset-bottom); transition:transform 260ms var(--ease); }
.tabbar ul{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); height:56px; }
.tabbar li{ min-width:0; }
.tabbar li > a, .tabbar li > button{ position:relative; width:100%; height:100%; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px;
  font:600 11px/1 var(--sans); color:var(--ink-2); white-space:nowrap; }
.tabbar .i{ width:22px; height:22px; }
.tabbar a[aria-current]{ color:var(--red-text); box-shadow:inset 0 2px 0 var(--red); }
.tabbar [aria-pressed="true"]{ color:var(--red-text); }
.tabbar [aria-pressed="true"] .i{ fill:currentColor; }
.tabbar .n{ position:absolute; top:7px; left:calc(50% + 12px); font:600 10.5px/1 var(--sans); color:var(--muted); font-variant-numeric:tabular-nums; }
.tabbar .n:empty{ display:none; }
.tabbar.away{ transform:translateY(100%); }
/* the red "new" dot on the Shorts tab (/js/myb2.js shortsDot): just off the icon's top right corner, as on YouTube */
.tab-new{ position:absolute; top:7px; left:calc(50% + 9px); width:8px; height:8px; border-radius:50%; background:var(--red); pointer-events:none; }

/* ======================================================================= sheets (Search, Markets, Display, the menu):
   a flat panel from the bottom on a phone, a centred box on a computer */
.dimmer{ position:fixed; inset:0; z-index:90; background:var(--dim); opacity:0; pointer-events:none; transition:opacity 200ms; }
.dimmer.on{ opacity:1; pointer-events:auto; }
.sheet{ position:fixed; z-index:95; left:0; right:0; bottom:0; max-height:min(88vh,780px); display:flex; flex-direction:column;
  background:var(--bg); color:var(--ink); border-top:1px solid var(--rule-2); border-radius:var(--r) var(--r) 0 0; padding-bottom:env(safe-area-inset-bottom);
  transform:translateY(100%); transition:transform 320ms var(--ease); visibility:hidden; }
.sheet.on{ transform:none; visibility:visible; }
.sheet.tall{ top:calc(10px + env(safe-area-inset-top)); max-height:none; }
.sheet__grab{ width:36px; height:4px; border-radius:2px; background:var(--rule-2); margin:8px auto 0; flex:none; }
.sheet__h{ display:flex; align-items:center; justify-content:space-between; gap:12px; padding:4px 8px 6px var(--g); flex:none; border-bottom:1px solid var(--rule); }
.sheet__h h2{ margin:0; font:800 21px/1.1 var(--head); font-stretch:88%; }
.sheet__x{ width:44px; height:44px; border-radius:var(--r); display:grid; place-items:center; flex:none; color:var(--ink); }
.sheet__x:hover{ background:var(--wash); }
.sheet__x .i{ width:20px; height:20px; stroke-width:2; }
.sheet__body{ overflow:auto; padding:4px var(--g) 18px; overscroll-behavior:contain; }
.group{ margin:0 0 6px; border-bottom:1px solid var(--rule); }
.group__label{ font:600 12.5px/1.2 var(--sans); color:var(--muted); margin:16px 0 4px; }
.cell{ display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:48px; padding:10px 0; position:relative; font:400 16px/1.3 var(--sans); width:100%; text-align:left; color:inherit; }
.cell + .cell{ border-top:1px solid var(--rule); }
.box .cell, .card .cell, .gcard .cell{ padding-left:16px; padding-right:16px; }   /* a row inside a ruled box keeps clear of its edge */
.cell b{ font-weight:600; }
.cell .sub{ font-size:13px; line-height:18px; color:var(--muted); }
.cell__main{ display:flex; gap:14px; align-items:center; min-width:0; flex:1; }
.cell__main div{ min-width:0; }
.cell__main b{ display:block; font:600 16px/21px var(--sans); }
.cell__main div > span{ display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; font:400 13px/18px var(--sans); color:var(--muted); overflow:hidden; }
a.cell:hover b, a.cell:hover > span:first-child{ text-decoration:underline; text-underline-offset:3px; }
.chev{ color:var(--ink-3); width:17px; height:17px; flex:none; }
.seg{ display:flex; width:100%; border:1px solid var(--rule-2); border-radius:var(--r); overflow:hidden; }
.seg button{ flex:1; min-height:44px; padding:0 10px; font:500 14px/1 var(--sans); color:var(--ink-2); white-space:nowrap; }
.seg button + button{ border-left:1px solid var(--rule-2); }
.seg button[aria-pressed="true"]{ background:var(--ink); color:var(--bg); font-weight:600; }
.switch{ width:51px; height:31px; border-radius:16px; background:var(--rule-2); position:relative; flex:none; transition:background 200ms; }
.switch::after{ content:""; position:absolute; top:2px; left:2px; width:27px; height:27px; border-radius:50%; background:#fff; transition:transform 220ms var(--ease); }
.switch[aria-checked="true"]{ background:var(--switch-on); }
.switch[aria-checked="true"]::after{ transform:translateX(20px); }
.field{ display:flex; align-items:center; gap:8px; min-height:46px; padding:0 12px; border:1px solid var(--rule-2); border-radius:var(--r); background:var(--bg); width:100%; }
.field input, .field select, .field textarea{ flex:1; min-width:0; border:0; background:none; font:400 17px/22px var(--sans); color:var(--ink); outline:none; padding:11px 0; }
.field textarea{ resize:none; }
.field input::placeholder, .field textarea::placeholder{ color:var(--muted); }
.field .i{ width:19px; height:19px; color:var(--muted); }
.field.round{ border-radius:var(--r); background:var(--bg); }
.field:focus-within{ border-color:var(--ink); }
.field input[type="search"]::-webkit-search-cancel-button, .field input[type="search"]::-webkit-search-decoration{ -webkit-appearance:none; appearance:none; display:none; }
.field__x{ width:32px; height:32px; margin-right:-6px; border-radius:var(--r); display:grid; place-items:center; color:var(--muted); flex:none; }
.field__x:hover{ background:var(--wash); color:var(--ink); }
.field__x[hidden]{ display:none; }
.field__x .i{ width:16px; height:16px; color:inherit; stroke-width:2.2; }
.hint{ font:400 14px/20px var(--sans); color:var(--muted); padding:10px 0 4px; margin:0; }
/* the sections in the Search and menu sheets: plain links in two columns */
.sheet-links{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:1fr 1fr; column-gap:16px; border-bottom:1px solid var(--rule); }
.sheet-links a, .sheet-links button{ display:flex; align-items:center; min-height:44px; font:500 15px/1.25 var(--sans); color:var(--ink); text-align:left; border-top:1px solid var(--rule); width:100%; }
.sheet-links li:nth-child(-n+2) a, .sheet-links li:nth-child(-n+2) button{ border-top:0; }
.sheet-links a:hover, .sheet-links button:hover{ color:var(--red-text); }
.sheet-links a[aria-current]{ color:var(--red-text); font-weight:600; }
.chips{ display:flex; flex-wrap:wrap; gap:8px; padding:6px 0; }
.chips a, .chips button{ display:inline-flex; align-items:center; height:40px; padding:0 12px; border-radius:var(--r); border:1px solid var(--rule-2); background:var(--bg); font:500 14.5px/1 var(--sans); }
.results .group a{ display:block; padding:12px 0; border-top:1px solid var(--rule); }
.results .group a:first-child{ border-top:0; }
.results .group a.has-pic{ display:grid; grid-template-columns:minmax(0,1fr) auto; gap:12px; align-items:center; padding:10px 0; }
.results .row__txt{ display:grid; gap:3px; min-width:0; }
.results .pic{ width:60px; height:60px; }
.results .hl{ font-size:16.5px; line-height:1.22; }
.results mark{ background:var(--red-wash); color:inherit; border-radius:2px; padding:0 1px; }
.mk-row{ display:flex; align-items:center; justify-content:space-between; width:100%; text-align:left; }
.mk-row .v{ text-align:right; display:grid; gap:2px; }
.mk-row .v b{ font:600 16px/20px var(--sans); font-variant-numeric:tabular-nums; }
.mk-row .v span{ font:600 13px/16px var(--sans); font-variant-numeric:tabular-nums; }
.conv{ display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:8px; padding:12px 0 14px; }
.conv label{ display:grid; gap:4px; font:500 13px/16px var(--sans); color:var(--muted); }
.conv input{ width:100%; height:46px; border-radius:var(--r); border:1px solid var(--rule-2); background:var(--bg); padding:0 12px; font:600 19px/1 var(--sans); color:var(--ink); font-variant-numeric:tabular-nums; }
.conv input:focus{ outline:none; border-color:var(--ink); }
.conv .eq{ font:600 17px/1 var(--sans); color:var(--muted); padding-top:18px; }
.check{ display:flex; gap:12px; align-items:flex-start; font:400 15px/21px var(--sans); }
.check input{ width:22px; height:22px; margin:0; accent-color:var(--red); flex:none; }
.up{ color:var(--up); } .down, .dn{ color:var(--down); }
.toast{ position:fixed; left:50%; bottom:calc(var(--tabbar) + 16px + env(safe-area-inset-bottom)); transform:translateX(-50%); z-index:120; padding:11px 16px; border-radius:var(--r);
  background:var(--ink); color:var(--bg); font:600 14.5px/20px var(--sans); max-width:calc(100vw - 32px); text-align:center; }

/* ======================================================================= article (base; a story's own rules are in
   functions/a/[slug].js) */
.art{ max-width:var(--measure); margin:0 auto; }
.art__kick{ display:flex; gap:0 6px; align-items:center; flex-wrap:wrap; margin:16px 0 10px; font:700 12.5px/1.2 var(--sans); color:var(--red-text); }
.art__kick a{ color:var(--red-text); display:inline-flex; align-items:center; min-height:44px; margin:-14px 0; }
.art__kick span{ color:var(--muted); font-weight:400; font-size:13px; }
.art h1{ font:800 31px/1.06 var(--head); font-stretch:82%; letter-spacing:-.01em; margin:0; text-wrap:balance; }
.art__dek{ font:400 18px/1.42 var(--serif); color:var(--ink-2); margin:10px 0 0; text-wrap:pretty; }
.byline{ display:flex; align-items:center; gap:10px; margin:16px 0 0; padding:12px 0; border-top:1px solid var(--rule); border-bottom:1px solid var(--rule); }
.byline img{ width:36px; height:36px; border-radius:50%; flex:none; }
.byline b{ display:block; font:600 15px/1.2 var(--sans); }
.byline time, .byline span{ font:400 13px/1.35 var(--sans); color:var(--muted); }
.byline > div{ min-width:0; flex:1; }
.byline .cc{ margin-left:auto; display:inline-flex; align-items:center; justify-content:center; gap:6px; height:44px; min-width:44px; padding:0 11px; flex:none;
  border:1px solid var(--rule-2); border-radius:var(--r); font:600 14px/1 var(--sans); color:var(--ink); }
.byline .cc .i{ width:19px; height:19px; }
.hero{ margin:16px calc(var(--g)*-1) 0; }
.hero .pic{ aspect-ratio:1360/850; border-radius:0; outline:0; }
.hero figcaption{ font:400 13px/18px var(--sans); color:var(--muted); padding:8px var(--g) 0; }
.short{ position:relative; margin:22px 0 0; padding:12px 0 0; border-top:1px solid var(--ink); background:none; }
.short::before{ content:""; position:absolute; left:0; top:-3px; width:40px; height:5px; background:var(--red); }
.short h2{ margin:0 0 8px; font:800 20px/1.1 var(--head); font-stretch:88%; }
.short ul{ margin:0; padding:0; list-style:none; }
.short li{ position:relative; padding:0 0 0 18px; margin:0 0 8px; font:500 17px/1.45 var(--serif); }
.short li::before{ content:""; position:absolute; left:0; top:.5em; width:7px; height:7px; background:var(--red); }
.short .why, .short .todo{ margin:12px 0 0; padding-top:12px; border-top:1px solid var(--rule); font:400 17px/1.45 var(--serif); }
.short b{ font-weight:600; }
.prose{ font-family:var(--serif); font-size:var(--read-size); line-height:var(--read-lh); color:var(--prose-ink); }
.prose p{ margin:0 0 .95em; text-wrap:pretty; hanging-punctuation:first; }
.prose > p:first-child{ margin-top:18px; }
.prose h2{ font:800 23px/1.15 var(--head); font-stretch:88%; color:var(--ink); margin:1.5em 0 .5em; }
.prose h3{ font:700 19px/1.2 var(--head); font-stretch:90%; color:var(--ink); margin:1.4em 0 .4em; }
.prose ul, .prose ol{ margin:0 0 1em; padding-left:1.2em; }
.prose li{ margin:0 0 .45em; }
.prose a:not(.related){ color:var(--red-text); text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:3px; }
.prose strong, .prose b{ font-weight:600; }
.prose blockquote{ margin:1.2em 0; padding:2px 0 2px 18px; border-left:3px solid var(--red); color:var(--ink-2); }
.prose table{ width:100%; border-collapse:collapse; font:400 15px/21px var(--sans); margin:0 0 1.2em; }
.prose th{ text-align:left; font-weight:600; padding:8px 10px 8px 0; border-bottom:1px solid var(--ink); }
.prose td{ padding:8px 10px 8px 0; border-bottom:1px solid var(--rule); }
.nums-h{ font:800 20px/1.1 var(--head); font-stretch:88%; margin:28px 0 8px; }
.nums{ display:grid; grid-template-columns:1fr; margin:0 0 24px; font-family:var(--sans); border-top:1px solid var(--ink); }
.nums div{ display:grid; grid-template-columns:112px 1fr; align-items:baseline; gap:12px; padding:12px 0; border-bottom:1px solid var(--rule); }
.nums b{ font:700 22px/1.1 var(--head); font-stretch:90%; font-variant-numeric:tabular-nums; }
.nums span{ font:400 15px/20px var(--sans); color:var(--ink-2); }
.related{ display:grid; grid-template-columns:minmax(0,1fr) auto; gap:14px; align-items:center; margin:4px 0 22px; padding:12px 0; border-top:1px solid var(--rule); border-bottom:1px solid var(--rule); font-family:var(--sans); background:none; }
.related .kick{ display:block; margin-bottom:6px; color:var(--muted); }
.related .hl{ display:block; font-size:17px; line-height:1.22; }
.related .pic{ width:72px; height:72px; }
.endacts{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin:18px 0 0; }
.endacts .btn{ padding:0 8px; font-size:14.5px; }
.endacts .btn .i{ width:19px; height:19px; }
.endacts .btn[aria-pressed="true"]{ color:var(--red-text); border-color:var(--red-text); }
.endacts .btn[aria-pressed="true"] .i{ fill:currentColor; }
/* the company facts box (functions/company.js): a fact box, ruled, a heavy line on top */
.cof{ margin:22px 0 8px; padding:14px 16px 12px; border:1px solid var(--rule-2); border-top:3px solid var(--ink); border-radius:0; box-shadow:none; background:var(--bg); }
.cof__h h2{ margin:0 0 4px; font:800 19px/1.15 var(--head); font-stretch:88%; }
.cof__h p{ margin:0; font-size:15px; line-height:1.35; color:var(--ink-2); }
.cof__g{ display:grid; grid-template-columns:1fr 1fr; gap:0 14px; margin:12px 0 0; border-top:1px solid var(--rule); }
.cof__r{ min-width:0; padding-top:10px; padding-bottom:4px; }
.cof__r dt{ font:500 12.5px/1.2 var(--sans); color:var(--muted); }
.cof__r dd{ margin:4px 0 0; }
.cof__r dd b{ display:block; font:700 22px/1.1 var(--head); font-stretch:90%; color:var(--ink); font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.cof__r dd b.up, .cof__r dd b.down{ color:var(--ink); }
.cof__r dd span{ display:block; font-size:13px; line-height:17px; color:var(--muted); }
.cof__r dd span.up{ color:var(--up); } .cof__r dd span.down{ color:var(--down); }
.cof__src{ margin:8px 0 0; font-size:12.5px; line-height:16px; color:var(--muted); }

/* comments: ruled, never boxed */
.talk{ max-width:var(--measure); margin:30px auto 0; }
.talk__h{ position:relative; display:flex; align-items:baseline; justify-content:space-between; gap:12px; border-top:1px solid var(--ink); padding-top:12px; margin:0 0 4px; }
.talk__h::before{ content:""; position:absolute; left:0; top:-3px; width:40px; height:5px; background:var(--red); }
.talk__h h2{ margin:0; font:800 22px/1.1 var(--head); font-stretch:88%; }
.talk__h span{ font:400 14px/20px var(--sans); color:var(--muted); }
.talk__sub{ margin:0 0 10px; font:400 15px/21px var(--sans); color:var(--ink-2); }
.post{ padding:14px 0 8px; position:relative; border-top:1px solid var(--rule); }
.post__head{ display:flex; gap:10px; align-items:center; }
.post__who{ display:grid; gap:0; min-width:0; }
.post__who b{ font:600 15px/20px var(--sans); display:flex; gap:6px; align-items:center; flex-wrap:wrap; }
.post__who small{ font:400 13px/17px var(--sans); color:var(--muted); }
.badge{ display:inline-flex; align-items:center; gap:3px; height:20px; padding:0 6px; border-radius:2px; font:600 12px/20px var(--sans); background:var(--red-wash); color:var(--red-text); }
.badge.grey{ background:var(--wash); color:var(--muted); }
.badge .i{ width:13px; height:13px; stroke-width:2.2; }
.post__txt{ margin:8px 0 0; font:400 16.5px/1.45 var(--sans); text-wrap:pretty; overflow-wrap:anywhere; }
.post__acts{ display:flex; gap:2px; margin:4px 0 0 -10px; align-items:center; }
.post__acts button{ white-space:nowrap; display:inline-flex; align-items:center; gap:5px; height:44px; padding:0 10px; border-radius:var(--r); font:500 14px/1 var(--sans); color:var(--muted); }
.post__acts button:hover{ background:var(--wash); color:var(--ink); }
.post__acts .i{ width:18px; height:18px; }
.post__acts .more-b{ margin-left:auto; }
.post__acts button[aria-pressed="true"]{ color:var(--red-text); }
.post__acts button[aria-pressed="true"] .i{ fill:currentColor; }
.post.best{ background:var(--green-wash); padding-left:12px; padding-right:12px; }
.best__tag{ display:flex; align-items:center; gap:6px; font:600 14px/18px var(--sans); color:var(--up); margin:0 0 10px; }
.best__tag .i{ width:18px; height:18px; }
.replies{ margin:4px 0 6px 18px; padding-left:14px; border-left:2px solid var(--rule); }
.replies .post{ padding:10px 0 4px; border-top:0; }
.compose{ display:grid; gap:10px; padding:12px 0 14px; position:relative; border-top:1px solid var(--rule); }
.compose .field{ align-items:flex-start; }
.compose__row{ display:flex; gap:10px; align-items:center; justify-content:space-between; flex-wrap:wrap; }
section.more{ max-width:var(--measure); margin:30px auto 0; }

/* ======================================================================= community (boards, threads, composer) */
.boards{ background:var(--bg); border-radius:var(--r); box-shadow:var(--card-shadow); overflow:hidden; }
.boards .cell{ min-height:60px; padding:10px 16px; }
/* an icon beside a row's name: a line icon in a ruled square, the ink colour (2026-11-11: no coloured tiles; a style="--tc"
   left in a page's markup is ignored) */
.tile{ width:34px; height:34px; border-radius:var(--r); display:grid; place-items:center; color:var(--ink-2); flex:none; background:none; border:1px solid var(--rule); }
.tile .i{ width:20px; height:20px; stroke-width:1.9; }
.thr{ display:grid; gap:5px; padding:13px 0; border-top:1px solid var(--rule); }
.thr .hl{ font-size:17px; line-height:1.22; }
.thread-head{ margin:2px 0 14px; }
.thread-head h1{ font:800 28px/1.08 var(--head); font-stretch:84%; margin:6px 0 0; text-wrap:balance; }
.linked{ display:grid; grid-template-columns:1fr auto; gap:12px; align-items:center; margin:10px 0 2px; padding:11px 12px; border-radius:var(--r); background:var(--wash); }
.linked .hl{ font-size:15px; line-height:1.25; }
.linked .pic{ width:52px; height:52px; }
.sortbar{ display:flex; align-items:center; justify-content:space-between; gap:12px; margin:22px 0 10px; }
.sortbar h2{ margin:0; font:800 21px/1.1 var(--head); font-stretch:88%; }
.sortbar .seg{ width:auto; }
.sortbar .seg button{ min-height:34px; font-size:13px; }
.rules ol{ margin:0; padding:0 16px 0 36px; font:400 15px/21px var(--sans); display:grid; gap:7px; }
.composer{ position:fixed; z-index:70; left:0; right:0; bottom:var(--tabbar); display:flex; gap:8px; align-items:center; padding:8px var(--g) calc(8px + env(safe-area-inset-bottom));
  background:var(--bg); border-top:1px solid var(--rule-2); }
.composer__btn{ flex:1; height:44px; border-radius:var(--r); border:1px solid var(--rule-2); display:flex; align-items:center; gap:10px; padding:0 8px; font:400 16px/1 var(--sans); color:var(--muted); text-align:left; }
.composer__btn .av{ width:30px; height:30px; background:var(--wash); color:var(--muted); }
.send{ width:44px; height:44px; border-radius:var(--r); display:grid; place-items:center; background:var(--red); color:#fff; flex:none; }
.send .i{ width:22px; height:22px; stroke-width:2.2; }

/* ======================================================================= grants board */
.gchips{ display:flex; gap:8px; overflow-x:auto; scrollbar-width:none; margin:4px calc(var(--g)*-1) 14px; padding:2px var(--g) 6px; }
.gchips::-webkit-scrollbar{ display:none; }
.gcard{ background:var(--bg); border-radius:var(--r); box-shadow:var(--card-shadow); padding:16px; display:grid; gap:12px; scroll-margin-top:24px; }
.gcard + .gcard{ margin-top:12px; }
.gcard__top{ display:grid; grid-template-columns:auto 1fr; gap:14px; align-items:start; }
.gcard .cd{ width:62px; height:62px; }
.gcard .cd b{ font-size:24px; line-height:26px; }
.gcard h2{ margin:2px 0 0; font:700 19px/1.2 var(--head); font-stretch:90%; text-wrap:pretty; }
.gfacts{ margin:0; display:grid; gap:7px; font:400 15px/21px var(--sans); }
.gfacts div{ display:grid; grid-template-columns:72px 1fr; gap:10px; }
.gfacts dt{ color:var(--muted); }
.gfacts dd{ margin:0; }
.gacts{ display:grid; grid-auto-flow:column; grid-auto-columns:1fr; gap:8px; padding-top:12px; border-top:1px solid var(--rule); }
.gacts .btn{ flex-direction:column; height:58px; gap:3px; padding:0 6px; font:600 13px/16px var(--sans); }
.gacts .btn .i{ width:21px; height:21px; }
.gcard.flash{ box-shadow:0 0 0 2px var(--red-text); }
.cat{ font:600 13px/18px var(--sans); }
.cat.Taxes{ color:var(--cat-taxes); } .cat.Grants, .cat.Refunds{ color:var(--cat-grants); } .cat.Offers{ color:var(--cat-offers); } .cat.Health{ color:var(--cat-health); }

/* ======================================================================= questions and answers (details/summary): ruled rows */
.faq{ border-top:1px solid var(--ink); border-bottom:1px solid var(--rule); }
.faq details + details{ border-top:1px solid var(--rule); }
.faq summary{ list-style:none; cursor:pointer; display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:52px; padding:12px 0; font:600 16px/22px var(--sans); }
.faq summary::-webkit-details-marker{ display:none; }
.faq summary::after{ content:""; width:8px; height:8px; border-right:2px solid var(--ink-3); border-bottom:2px solid var(--ink-3); transform:rotate(45deg) translateY(-3px); flex:none; margin-right:4px; transition:transform 200ms var(--ease); }
.faq details[open] summary::after{ transform:rotate(225deg) translateY(-1px); }
.faq .faq__a{ padding:0 0 14px; font:400 16px/1.45 var(--sans); color:var(--ink-2); }
.faq .faq__a p{ margin:0 0 .6em; }
.faq .faq__a a{ color:var(--red-text); text-decoration:underline; text-underline-offset:2px; }

/* ======================================================================= document pages (about, privacy, terms, join...) */
.doc{ max-width:var(--measure); margin:0 auto; }
.doc .lt{ padding-top:18px; }
.doc .lt h1{ font-size:32px; }
.doc__lede{ font:400 19px/1.42 var(--serif); color:var(--ink-2); margin:8px 0 0; text-wrap:pretty; }
.doc__card{ margin-top:12px; }
.doc__card .prose > p:first-child{ margin-top:12px; }
.doc .sec{ margin-top:10px; }
/* numbered steps (join, WhatsApp status) */
.steps{ list-style:none; margin:16px 0 0; padding:0; counter-reset:st; border-top:1px solid var(--ink); }
.steps > li{ counter-increment:st; display:grid; grid-template-columns:34px 1fr; gap:2px 14px; padding:15px 0 16px; align-items:start; border-bottom:1px solid var(--rule); }
.steps > li::before{ content:counter(st); grid-row:span 3; width:34px; height:34px; border-radius:var(--r); background:var(--red-wash); color:var(--red-text);
  font:800 18px/34px var(--head); font-stretch:88%; text-align:center; font-variant-numeric:tabular-nums; }
.steps b{ display:block; font:600 17px/23px var(--sans); padding-top:5px; text-wrap:pretty; }
.steps p{ margin:3px 0 0; font:400 15px/21px var(--sans); color:var(--ink-2); text-wrap:pretty; }
.steps .btn{ justify-self:start; margin-top:11px; }
/* a callout under a block */
.callout{ display:grid; grid-template-columns:auto 1fr; gap:12px; align-items:start; margin-top:12px; padding:14px 16px; border-radius:var(--r);
  background:var(--wash); font:400 15px/21px var(--sans); color:var(--ink); }
.callout .i{ width:22px; height:22px; color:var(--red-text); margin-top:-1px; }
.callout b{ font-weight:600; }
.callout a{ color:var(--red-text); font-weight:600; }

/* ======================================================================= website ads (MYB Studio's Website ads, 2026-11-16,
   functions/ad-slots.js): four spots, each ad in a box of its size's shape, put into the page by the server with its space
   kept (nothing moves when it loads). No frame, no headline or caption (his rule): the space and a thin rule above it set
   an ad inside the page apart. Sizes: Thin strip 6:1, Big banner 3:1, Box 1:1, Tall box 4:5. A picture is drawn to the
   shape in Studio; a GIF or a video is fitted here (inline object-fit, and its own bar colour or the wash).
   2026-11-19 (the layout he approved): the places moved (the top one under the menu, Inside stories mid-story, Between
   stories under Markets), and every ad has a tiny grey "Advertisement" over it, as CBN does (sentence case, never
   capitals). That label is this ONE rule: delete it and every ad goes back to having none. */
.ad__in::before{ content:"Advertisement"; display:block; margin:0 0 6px; font:500 11px/14px var(--sans); letter-spacing:.02em; color:var(--muted); text-align:left; }
.ad{ display:block; }
.ad__in{ width:100%; margin:0 auto; }
.ad__a{ display:block; color:inherit; -webkit-tap-highlight-color:transparent; }
.ad__box{ position:relative; display:block; overflow:hidden; border-radius:var(--r-img); }
.ad__m{ position:absolute; inset:0; display:block; width:100%; height:100%; max-width:none; margin:0; border:0; object-fit:cover; }
.ad--fit .ad__box{ background:var(--wash); }
:root[data-theme="dark"] .ad__box::after{ content:""; position:absolute; inset:0; border-radius:inherit; box-shadow:inset 0 0 0 1px var(--rule); pointer-events:none; }
@media (prefers-color-scheme: dark){ :root:not([data-theme="light"]) .ad__box::after{ content:""; position:absolute; inset:0; border-radius:inherit; box-shadow:inset 0 0 0 1px var(--rule); pointer-events:none; } }
.ad--strip .ad__box{ aspect-ratio:6/1; }
.ad--banner .ad__box{ aspect-ratio:3/1; }
.ad--box .ad__box{ aspect-ratio:1/1; }
.ad--tall .ad__box{ aspect-ratio:4/5; }
.ad--box .ad__in, .ad--tall .ad__in{ max-width:336px; }
/* fix round (2026-11-19 b): on a phone every ad fills the column, so its label and its edges line up with the text and
   with a banner on the same page (a Box or a Tall box was 336 wide, centred, its label 11px in from the text's edge) */
@media (max-width:767px){ .ad--box .ad__in, .ad--tall .ad__in{ max-width:none; } }
/* a video that will not play (iPhone Low Power Mode) shows its still, never the round play button over it */
video.ad__m::-webkit-media-controls-start-playback-button{ display:none!important; -webkit-appearance:none; }
video.ad__m::-webkit-media-controls-panel, video.ad__m::-webkit-media-controls{ display:none!important; }
@media (hover:hover){ a.ad__a{ transition:opacity .15s; } a.ad__a:hover{ opacity:.94; } }
/* the top of every page. 2026-11-19: no longer above the masthead. On a computer or a tablet (head) it is a thin band
   centred under the menu, like CBN Unfiltered's 728 x 90: a Banner 360 x 120 or a Wide strip 728 x 121, the label over
   its left edge, 14px of air above and 18px below, so the masthead and the menu are the first thing a reader sees. On a
   phone (phone) it is in the page instead (functions/ad-slots.js fillAds), ruled off like an ad between stories. An old
   page's top ad (no head or phone: a page kept from before, /js/myb2.js legacyAds) gets the head look on every screen. */
.ad--top{ max-width:var(--wrap); margin:0 auto; padding:14px var(--g) 18px; }
.ad--top .ad__in{ max-width:360px; }
.ad--top.ad--strip .ad__in{ max-width:728px; }
.ad--top.ad--phone{ max-width:none; margin:0; padding:20px 0 22px; border-top:1px solid var(--rule); }
.ad--top.ad--phone .ad__in{ max-width:none; }
.ad--phone + .rows > li:first-child .row, .ad--phone + .rows > .row:first-child{ border-top:1px solid var(--rule); }
@media (max-width:767px){ .ad--top.ad--head{ display:none!important; } }
@media (min-width:768px){ .ad--top.ad--phone{ display:none!important; } }
/* the bottom of every page, above the footer */
.ad--bottom{ max-width:var(--wrap); margin:40px auto 0; padding:0 var(--g) 26px; }  /* 2026-11-19 (c): real air above the footer (padding does not merge with the footer margin), so the dark square never reads as part of the dark footer */
@media (min-width:1100px){ .page-story .ad--bottom .ad__in{ margin-left:0; } }
@media (min-width:768px){ .ad--bottom.ad--banner .ad__in{ max-width:728px; } }
/* inside a story: 2026-11-19, in the middle of the story, between two paragraphs, ruled above and below so it is never
   read as part of the text; between stories (in a list): 24px of space and a rule above */
.ad--story, .ad--feed{ margin:12px 0 0; padding:24px 0; border-top:1px solid var(--rule); }
.ad--story{ margin:8px 0 26px; padding:18px 0 22px; border-bottom:1px solid var(--rule); }
/* right after the related story's card (a short story: both at the end of the text) the card's own rule is the one above
   the ad, never two lines 23px apart */
.related + .ad--story{ margin-top:0; border-top:0; }
/* fix round (2026-11-19 b): a story page on a computer shows one of its two ads at a time: Inside stories gives way to the
   Between stories ad in the right-hand column (functions/ad-slots.js fillAds puts ad--yield on it only when that ad is
   there; the column is shown from 1100px) */
@media (min-width:1100px){ .ad--story.ad--yield{ display:none!important; } }
.ad--feed + .rows > li:first-child .row, .ad--feed + .rows > .row:first-child{ border-top:1px solid var(--rule); }
/* between stories: the copy in the list below 1100px, the copy in the right-hand column from 1100px, under the Markets
   table (only the one on screen loads: a lazy picture or a video in a hidden box is never asked for) */
.ad--rail{ margin:24px 0 0; }
.ad--rail .ad__in{ max-width:none; }
@media (min-width:1100px){ .ad--feed{ display:none!important; } }
@media (max-width:1099px){ .ad--rail{ display:none!important; } }
/* a list page's right-hand column with an ad in it no longer follows the scroll (with Markets it would be taller than a
   laptop screen); a story page's column scrolls and its ad stays in view instead (functions/a/[slug].js STYLE) */
@media (min-width:1100px){ .nl-side:has(.ad--rail){ position:static!important; } }
/* ads taking turns in one spot (2026-11-16 b, functions/ad-slots.js turnHtml, /js/myb2.js turns): one box of their size,
   exactly as tall as a single ad's (its size's ratio), the ads stacked in it. The one up (.on) fades in over the one before
   (.was, kept fully drawn under it until the fade ends, so the page never shows through); .in: not tappable until the
   middle of the fade. The waiting ones are [hidden] in the page, so an old stylesheet or a reader view shows only the
   first. The deck does not clip (each ad's box does), so a keyboard's focus ring shows. */
.ad__deck{ position:relative; display:block; border-radius:var(--r-img); }
.ad--strip .ad__deck{ aspect-ratio:6/1; }
.ad--banner .ad__deck{ aspect-ratio:3/1; }
.ad--box .ad__deck{ aspect-ratio:1/1; }
.ad--tall .ad__deck{ aspect-ratio:4/5; }
.ad__it{ position:absolute; inset:0; opacity:0; z-index:0; }
.ad__it.was{ opacity:1; z-index:1; }
.ad__it.on{ opacity:1; z-index:2; transition:opacity .3s ease; }
.ad__it.in{ pointer-events:none; }
.ad__deck .ad__it .ad__a{ position:absolute; inset:0; }
.ad__deck .ad__it .ad__box{ position:absolute; inset:0; aspect-ratio:auto; }
.ad__it--fit .ad__box{ background:var(--wash); }
@media (prefers-reduced-motion: reduce){ .ad__it.on{ transition:none; } }

/* ======================================================================= pages not yet re-baked
   A static page keeps the chrome it was baked with until /site-v2-tools/bake-chrome.mjs runs again. Its old top bar,
   tab bar, story toolbar and footer read in the flat look meanwhile. */
.bar:not(.mast){ position:relative; z-index:2; background:var(--bg); border-bottom:1px solid var(--rule); }
.bar__edge, .bar__glass, .tabbar-edge, .toolbar-edge, .tick, .bar__title, .bar__date{ display:none!important; }
.bar__in{ display:flex; align-items:center; gap:12px; height:56px; }
.bar__logo{ display:flex; align-items:center; min-height:44px; }
.bar__logo img{ height:26px; width:auto; }
.bar__right{ margin-left:auto; display:flex; align-items:center; gap:4px; }
.circle{ width:44px; height:44px; display:grid; place-items:center; flex:none; border-radius:var(--r); color:var(--ink); }
.circle:hover{ background:var(--wash); }
.pill-back{ display:inline-flex; align-items:center; gap:2px; height:44px; padding:0 8px 0 0; font:600 15px/1 var(--sans); color:var(--ink); flex:none; }
.pill-back .i{ stroke-width:2; }
.nav-desk, .join-btn, .desk-ic{ display:none; }
.tabbar:has(> .tabbar__main){ display:flex; height:calc(56px + env(safe-area-inset-bottom)); }
.tabbar__main{ flex:1; display:flex; height:56px; }
.tabbar__main a{ position:relative; flex:1; min-width:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; font:600 11px/1 var(--sans); color:var(--ink-2); }
.tabbar__main a .i{ width:22px; height:22px; }
.tabbar__main a[aria-current]{ color:var(--red-text); box-shadow:inset 0 2px 0 var(--red); }
.tabbar__search{ width:56px; height:56px; display:grid; place-items:center; flex:none; color:var(--ink-2); border-left:1px solid var(--rule); }
.toolbar:not(.tabbar){ position:fixed; z-index:70; left:0; right:0; bottom:0; display:grid; grid-auto-flow:column; grid-auto-columns:1fr; height:calc(56px + env(safe-area-inset-bottom));
  padding-bottom:env(safe-area-inset-bottom); background:var(--bg); border-top:1px solid var(--rule-2); transition:transform 260ms var(--ease); }
.toolbar:not(.tabbar) button, .toolbar:not(.tabbar) a{ display:flex; align-items:center; justify-content:center; gap:5px; font:600 14px/1 var(--sans); color:var(--ink-2); }
.toolbar:not(.tabbar) [aria-pressed="true"]{ color:var(--red-text); }
.toolbar:not(.tabbar) [aria-pressed="true"] .i{ fill:currentColor; }
.toolbar:not(.tabbar).away{ transform:translateY(100%); }
.foot.wrap{ padding-top:20px; padding-bottom:calc(var(--tabbar) + 24px + env(safe-area-inset-bottom)); border-top:1px solid var(--rule); }
.foot.wrap .foot__join{ margin-bottom:20px; }
.foot.wrap .foot__top{ display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.foot.wrap .foot__top img{ height:24px; width:auto; }
.foot.wrap .foot__top span{ font:500 13px/18px var(--sans); color:var(--muted); }
.foot.wrap .foot__social{ display:flex; flex-wrap:wrap; gap:6px; margin:12px 0 4px; }
.foot.wrap .foot__social a{ display:grid; place-items:center; width:44px; height:44px; border-radius:var(--r); color:var(--ink); }
.foot.wrap .foot__social a:hover{ background:var(--wash); }
.foot.wrap .foot__social svg{ width:20px; height:20px; fill:currentColor; }
.foot__g{ border-top:1px solid var(--rule); }
.foot__g summary{ list-style:none; display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:48px; cursor:pointer; }
.foot__g summary::-webkit-details-marker{ display:none; }
.foot__g summary h3{ margin:0; font:600 14px/20px var(--sans); }
.foot__g summary .chev{ width:16px; height:16px; transform:rotate(90deg); }
.foot__g[open] summary .chev{ transform:rotate(-90deg); }
.foot__g nav{ display:grid; grid-template-columns:1fr 1fr; gap:0 16px; padding:0 0 10px; }
.foot__g nav a, .foot__g nav button{ display:flex; align-items:center; min-height:44px; font:400 15px/20px var(--sans); color:var(--ink-2); text-align:left; }
.foot.wrap small{ display:block; margin-top:10px; font:400 13px/18px var(--sans); color:var(--muted); }

/* ======================================================================= tablet and computer (768px up) */
@media (min-width:768px){
  .tabbar, .toolbar:not(.tabbar){ display:none!important; }
  .composer{ bottom:0; }
  .toast{ bottom:24px; }

  .mast__in{ height:76px; gap:28px; }
  .brand{ gap:14px; flex:none; }
  .brand img{ height:38px; }
  .brand__div{ height:30px; }
  .brand__name{ font-size:27px; }
  .mast__date{ display:block; font:500 13.5px/1 var(--sans); color:var(--muted); white-space:nowrap; padding-top:4px; }
  .mast__act{ gap:10px; }
  .mast__act .mast__ad{ display:inline-flex; align-items:center; min-height:44px; padding:0 6px; font:600 14.5px/1 var(--sans); color:var(--ink-2); }
  .mast__ad:hover{ color:var(--ink); }
  .mast__act .mast__join{ display:inline-flex; }
  .mast__pjoin{ display:none; }
  .mast__menu{ display:none; }
  .jbox{ grid-template-columns:minmax(0,1fr) auto; align-items:center; column-gap:24px; padding:16px 0 4px; }
  .jbox p{ font-size:20px; }
  .jbox__btns{ width:auto; flex-wrap:nowrap; }
  .jbox__btns .btn{ flex:none; }
  /* 768 to 1279: the section row scrolls, so the menu (every section and link) stays in the masthead */

  .tape::after{ display:none; }
  .tape__in{ max-width:var(--wrap); margin:0 auto; overflow:hidden; }
  .tk{ flex:1 1 auto; min-height:56px; padding:8px 14px; }
  .tk:first-child{ padding-left:var(--g); flex:0 0 auto; padding-right:18px; }
  .tk:last-child{ padding-right:var(--g); }
  .tk__v{ font-size:16px; }

  .secbar__in{ -webkit-mask-image:none; mask-image:none; gap:18px; overflow:visible; }
  .secbar a{ font-size:14px; }
  .secbar__in > a:last-of-type{ padding-right:0; }
  .secbar__div{ display:block; flex:none; width:1px; align-self:center; height:20px; background:var(--rule-2); margin:0 4px; }

  .lt{ padding:26px 0 14px; }
  .lt h1{ font-size:42px; line-height:1.04; }
  .lt__sub{ font-size:19px; }
  .tabs{ -webkit-mask:none; mask:none; flex-wrap:wrap; overflow:visible; gap:4px 22px; }
  .rail{ margin:0; padding:0; overflow:visible; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:24px; }
  .rail > *{ width:auto; }
  .vshows{ grid-template-columns:1fr 1fr; gap:24px; }
  .vcard__t{ font-size:17px; }
  .vfeat .vcard__t{ font-size:32px; max-width:28ch; }
  .vfeat .plate__play{ width:48px; height:48px; left:16px; bottom:16px; }
  .vfeat .plate__play .i{ width:20px; height:20px; }

  .wa__in{ display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:24px; padding-top:26px; padding-bottom:26px; }
  .wa p{ margin:0; }
  .wa__btns{ flex-wrap:nowrap; }
  .wa__btns .btn{ flex:none; }
  .wa .wa__num{ grid-column:1 / -1; margin:0; }
  .join.wide{ grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:24px; padding:18px 22px 20px; }

  .foot{ margin-top:34px; }
  .foot__main{ padding:36px 0 30px; }
  .foot__main .foot__top{ display:grid; grid-template-columns:300px minmax(0,1fr); gap:40px; }
  .foot__main .foot__brand img{ height:28px; }
  .foot__main .foot__brand .brand__name{ font-size:21px; }
  .foot__main .foot__about{ margin-top:14px; font-size:15px; }
  .foot__main .foot__cols{ grid-template-columns:repeat(5,minmax(0,1fr)); }
  .foot__main .foot__cols h3{ margin-top:0; }
  /* a label that wraps still reads as one link: its own line spacing, and space between links */
  .foot__main .foot__cols a, .foot__main .foot__cols button{ min-height:30px; padding:5px 0; line-height:1.3; }
  .foot__main .foot__social{ justify-content:flex-start; gap:0 22px; margin-top:24px; border-top:1px solid var(--tape-rule); padding-top:4px; }
  .foot__main .foot__legal{ margin-top:0; }
  .foot.wrap{ padding-bottom:40px; }
  .foot__g{ border-top:0; }
  .foot__g summary{ min-height:0; cursor:default; pointer-events:none; margin:0 0 4px; }
  .foot__g summary .chev{ display:none; }
  .foot__g nav{ display:block; padding:0; }
  .foot__g nav a, .foot__g nav button{ display:block; min-height:0; line-height:32px; }
  .foot.wrap .foot__cols{ display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:18px 24px; margin-top:16px; }

  .nav-desk{ display:flex; gap:18px; margin-left:20px; }
  .nav-desk a{ display:flex; align-items:center; min-height:44px; font:600 14.5px/1 var(--sans); color:var(--ink-2); }
  .nav-desk a .i{ display:none; }
  .nav-desk a[aria-current]{ color:var(--ink); box-shadow:inset 0 -3px 0 var(--red); }
  .desk-ic{ display:grid; }
  .join-btn{ display:inline-flex; align-items:center; gap:8px; height:40px; padding:0 14px; border-radius:var(--r); background:var(--red); color:#fff; font:600 14.5px/1 var(--sans); }
  .join-btn .i{ width:18px; height:18px; }

  .sheet{ left:50%; right:auto; top:50%; bottom:auto; width:560px; border:1px solid var(--rule-2); border-radius:var(--r); padding-bottom:0;
    transform:translate(-50%,-48%); opacity:0; transition:transform 260ms var(--ease), opacity 180ms; max-height:min(84vh,780px); }
  .sheet.on{ transform:translate(-50%,-50%); opacity:1; }
  .sheet.tall{ top:50%; height:min(80vh,720px); }
  .sheet__grab{ display:none; }
  .sheet__h{ padding:12px 10px 10px 22px; }
  .sheet__body{ padding:4px 22px 22px; }
  .sheet-links{ grid-template-columns:1fr 1fr 1fr; }
  .sheet-links li:nth-child(3) a, .sheet-links li:nth-child(3) button{ border-top:0; }

  .art__kick{ margin-top:20px; }
  .art h1{ font-size:46px; line-height:1.03; }
  .art__dek{ font-size:21px; }
  .hero{ margin:20px 0 0; }
  .hero .pic{ border-radius:var(--r-img); }
  .hero figcaption{ padding:8px 0 0; }
  .nums{ grid-template-columns:repeat(3,minmax(0,1fr)); column-gap:20px; }
  .nums div{ display:block; }
  .nums span{ display:block; margin-top:4px; font-size:14px; line-height:19px; }
  .endacts{ grid-template-columns:repeat(4,auto); justify-content:start; }
  .endacts .btn{ padding:0 16px; }
  .cof__g{ grid-template-columns:repeat(3,minmax(0,1fr)); }

  .gcard{ padding:20px; }
  .gacts{ display:flex; }
  .gacts .btn{ flex-direction:row; height:40px; padding:0 14px; font-size:14px; gap:7px; }
  .gacts .btn .i{ width:18px; height:18px; }
  .doc .lt h1{ font-size:44px; }
}
/* a tablet in portrait (768 to 1023px): the brand, the date, Search, Advertise and Join do not fit on one line; the date
   goes (it ran under "Business News" at 768) */
@media (min-width:768px) and (max-width:1023px){ .mast__date{ display:none; } }
/* 768 to 1099px: the five link columns are too narrow beside the brand (60px each at 768); the brand goes above them */
@media (min-width:768px) and (max-width:1099px){ .foot__main .foot__top{ grid-template-columns:minmax(0,1fr); gap:28px; } }
/* a tablet or a narrow window (768 to 1279px): the tape and the section row do not fit on one line yet, so they keep
   the phone's sideways scroll (with the fade that says "more") instead of running past the page. The masthead keeps its
   menu button, so Video, Shorts, Status and Community (past the fade) are a click away with a mouse too. */
@media (min-width:768px) and (max-width:1279px){
  .mast__menu{ display:grid; }
  .mast__act .mast__menu{ margin-left:-4px; }
  .tape::after{ display:block; }
  .tape__in{ overflow-x:auto; }
  .tk{ flex:none; }
  .secbar__in{ overflow-x:auto; -webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 28px),transparent); mask-image:linear-gradient(90deg,#000 calc(100% - 28px),transparent); }
  .secbar__in.at-end{ -webkit-mask-image:none; mask-image:none; }
  .secbar__in > a:last-of-type{ padding-right:24px; }
}
/* the wide page layouts that are still built for 1100px and up (story rail, Community, Video, grants) */
@media (min-width:1100px){
  .artgrid{ display:grid; grid-template-columns:minmax(0,var(--measure)) 300px; gap:56px; justify-content:center; }
  .artgrid .art, .artgrid .talk, .artgrid section.more{ margin-left:0; margin-right:0; }
  .artgrid > aside{ position:sticky; top:16px; align-self:start; display:grid; gap:20px; margin-top:12px; }
  .comm{ display:grid; grid-template-columns:290px minmax(0,1fr) 300px; gap:26px; align-items:start; }
  .comm > aside{ position:sticky; top:16px; display:grid; gap:16px; }
  .vgrid{ display:grid; grid-template-columns:minmax(0,1.45fr) minmax(0,1fr); gap:28px; align-items:start; }
  .vgrid > aside{ position:sticky; top:16px; }
  .vshows{ grid-template-columns:repeat(3,minmax(0,1fr)); }
  .vgrid aside .sec{ padding-top:0; }
  .vgrid .vside{ display:grid; grid-template-columns:1fr; gap:14px; }
  .ggrid{ display:grid; grid-template-columns:minmax(0,1fr) 320px; gap:28px; align-items:start; }
  .glist{ display:grid; grid-template-columns:1fr 1fr; gap:14px; align-items:start; }
  .glist .gcard + .gcard{ margin-top:0; }
  .ggrid aside{ position:sticky; top:16px; display:grid; gap:16px; }
  /* the story page's Latest list (functions/a/[slug].js rail) */
  .latest ol{ list-style:none; margin:0; padding:4px 16px 12px; }
  .latest li{ display:grid; grid-template-columns:minmax(0,1fr) auto; gap:2px 10px; padding:10px 0; border-top:1px solid var(--rule); }
  .latest li:first-child{ border-top:0; }
  .latest li > time, .latest li > .hl, .latest li > .meta{ grid-column:1; }
  .latest .lt__pic{ grid-column:2; grid-row:1 / span 3; align-self:start; margin-top:2px; }
  .latest .lt__pic .pic{ width:56px; height:56px; }
  .latest time{ font:600 12.5px/16px var(--sans); color:var(--muted); }
  .latest li.now time{ color:var(--red-text); }
  .latest .hl{ font-size:15.5px; line-height:1.22; }
  .latest .meta{ font-size:12.5px; }
}
/* very narrow screens and large text (an iPhone in Display Zoom, Safari page zoom): nothing is cut off at the edge */
@media (max-width:359px){
  .btn{ white-space:normal; height:auto; min-height:44px; padding-top:10px; padding-bottom:10px; line-height:1.25; text-align:center; max-width:100%; }
  .join__btns, .wa__btns{ width:100%; }
  .join__btns .btn, .wa__btns .btn{ flex:1 1 100%; }
  .tabbar li > a, .tabbar li > button{ font-size:10px; }
}
@media (max-width:374px){ .foot__main .foot__social{ flex-wrap:wrap; justify-content:flex-start; gap:0 18px; } }
@media (max-width:339px){
  .tabbar li > a > span:not(.n), .tabbar li > button > span:not(.n){ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
  .tabbar .i{ width:25px; height:25px; }
}
@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{ transition-duration:1ms!important; animation:none!important; }
}
@media print{ .tape,.secbar,.tabbar,.toolbar,.composer,.sheet,.dimmer,.wa,.ad,.mast__act{ display:none!important; } body{ background:#fff; } .foot__main{ background:#fff; color:#000; } }
@media (forced-colors: active){ .pic--logo, .tabbar, .sheet{ border:1px solid CanvasText; } }
