/* The Analytics page's styles, inside its shadow root (public/analytics/app.js). */
/* Every colour on the page. Dark is the default; [data-theme="light"] overrides each one. Surfaces and ink are the site's own. */
:host {
  color-scheme: dark;
  --f: "DM Sans", "IBM Plex Sans", system-ui, sans-serif;
  --m: "IBM Plex Mono", ui-monospace, monospace;

  /* one type ladder: page title, section head, the page's largest figure, the ring's, figure, smaller figure, decimals or unit, label, note, tick */
  --fs-page: 30px;
  --fs-sec: 20px;
  --fs-hero: 44px;
  --fs-ring: 44px;
  --fs-fig: 28px;
  --fs-fig2: 22px;
  --fs-unit: 16px;
  --fs-row: 14px;
  --fs-lab: 13px;
  --fs-note: 12px;
  --fs-tick: 11px;

  /* one surface: card radius, inner radius, row radius, card gutter, gap between cards */
  --r: 12px;
  --r2: 12px;
  --r3: 6px;
  --pad: 24px;
  --g: 12px;

  --bg: #0a0d10;
  --card: #11161a;
  --tip-bg: #1a2126;
  --tip-shadow: none;

  --ink: #e4e8ec;
  --ink2: rgb(228 232 236 / .74);
  --ink3: rgb(228 232 236 / .62);

  --line: rgb(255 255 255 / .075);
  --line2: rgb(255 255 255 / .14);

  /* quiet fills, weakest first */
  --wash1: rgb(255 255 255 / .03);
  --wash2: rgb(255 255 255 / .055);
  --wash3: rgb(255 255 255 / .07);
  --wash4: rgb(255 255 255 / .1);

  /* rules inside charts, weakest first */
  --rule1: rgb(255 255 255 / .08);
  --rule2: rgb(255 255 255 / .12);
  --rule3: rgb(255 255 255 / .18);
  --rule4: rgb(255 255 255 / .26);
  --mark: rgb(255 255 255 / .5);
  --focus: rgb(255 255 255 / .55);

  /* Tensile's teal, the one hue of the page; the third step of the ramp below */
  --acc: #33b3bf;

  /* one ramp, strongest first; adjacent steps at least 0.07 OKLCH L apart. --u1..5 rank publishers, --p1..5 rank providers at 3:1 or more.
     Five is all that floor allows in both themes, so past rank 5 a number names the rank; the ring's key alone cuts the ramp finer (app.js, keyTone), its leaders telling neighbours apart.
     Neutral: --tail the rest as a thin mark, 3:1 or more and never stronger than --u5; --rest the same rest as a fill beside the ramp, about 3:1, a touch under --tail and a step under --u5; --none the empty arc. */
  --u1: #9ff0f9;
  --u2: #65d5e0;
  --u3: #33b3bf;
  --u4: #28929c;
  --u5: #1f747d;
  --p1: var(--u1);
  --p2: var(--u2);
  --p3: var(--u3);
  --p4: var(--u4);
  --p5: var(--u5);
  --tail: #62676a;
  --rest: #5f6568;
  --none: #1b2125;

  --land: #20262a;

  /* site header */
  --t-ink: rgb(230 234 238 / .92);
  --t-ink2: rgb(230 234 238 / .85);
  --t-ink3: rgb(230 234 238 / .72);
  --t-ink4: rgb(230 234 238 / .6);
  --t-edge: rgb(230 234 238 / .08);
  --t-rule: rgb(230 234 238 / .1);
  --t-border: rgb(230 234 238 / .12);
  --t-kbd: rgb(230 234 238 / .14);
  --t-wash: rgb(230 234 238 / .05);
  --t-brand: #2fb2c0;
  --t-on: #12808c;
  --t-on-ink: #fff;
}

:host([data-theme="light"]) {
  color-scheme: light;

  --bg: #f4f6f7;
  --card: #fff;
  --tip-bg: #fff;
  --tip-shadow: 0 6px 18px rgb(22 26 30 / .1);

  --ink: #161a1e;
  --ink2: rgb(22 26 30 / .78);
  --ink3: rgb(22 26 30 / .69);

  --line: rgb(22 26 30 / .09);
  --line2: rgb(22 26 30 / .17);

  --wash1: rgb(22 26 30 / .028);
  --wash2: rgb(22 26 30 / .05);
  --wash3: rgb(22 26 30 / .065);
  --wash4: rgb(22 26 30 / .09);

  --rule1: rgb(22 26 30 / .09);
  --rule2: rgb(22 26 30 / .15);
  --rule3: rgb(22 26 30 / .24);
  --rule4: rgb(22 26 30 / .34);
  --mark: rgb(22 26 30 / .56);
  --focus: rgb(22 26 30 / .6);

  --acc: #006a74;

  --u1: #003e45;
  --u2: #00545c;
  --u3: #006a74;
  --u4: #058793;
  --u5: #4b9ca8;
  --tail: #909599;
  --rest: #919699;
  --none: #eef0f2;

  --land: #e1e5e7;

  --t-ink: rgb(22 26 30 / .92);
  --t-ink2: rgb(22 26 30 / .84);
  --t-ink3: rgb(22 26 30 / .78);
  --t-ink4: rgb(22 26 30 / .69);
  --t-edge: rgb(22 26 30 / .08);
  --t-rule: rgb(22 26 30 / .1);
  --t-border: rgb(22 26 30 / .12);
  --t-kbd: rgb(22 26 30 / .14);
  --t-wash: rgb(22 26 30 / .04);
  --t-brand: #006a74;
  --t-on: #006a74;
  --t-on-ink: #fff;
}

/* The narrow page's tables need the room, so every card's gutter narrows with them. --stick: the pinned bar's height, which every sticky part stands under. */
:host { --pad: 16px; --stick: 44px; }

/* page */
* { box-sizing: border-box; }
:host { display: block; color: var(--ink); font: 400 var(--fs-row)/1.35 var(--f); -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h2 { margin: 0; font-family: "IBM Plex Sans", var(--f); font-size: var(--fs-sec); font-weight: 600; line-height: 36px; letter-spacing: -.01em; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

.page { padding: 36px 0 0; }
/* a jump leaves the section's head clear of the pinned bar */
.sec { scroll-margin-top: calc(var(--stick) + 12px); }
.ctl { flex: none; display: flex; align-items: center; gap: 6px; margin-left: auto; }
.ctl-l { font-size: var(--fs-note); color: var(--ink2); white-space: nowrap; }

/* every card on the page */
.card { border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }

/* the row under the header pins on scroll: the page's title, its parts with the current one marked, and the period. The parts come with the pin. One height at rest and pinned, so nothing jumps. */
.bar { position: sticky; top: 0; z-index: 10; display: flex; align-items: baseline; gap: 12px; height: var(--stick); background: var(--bg); box-shadow: 0 1px 0 transparent; transition: box-shadow .14s; }
.bar.stuck { box-shadow: 0 1px 0 var(--line); }
.bar h1 { margin: 0; font-family: "IBM Plex Sans", var(--f); font-size: var(--fs-page); font-weight: 600; line-height: 36px; letter-spacing: -.028em; cursor: default; transition: font-size .14s; }
.bar.stuck h1 { font-size: 18px; letter-spacing: -.012em; cursor: pointer; }
.bar .ctl { position: relative; align-self: baseline; }
/* Period is the row's one help term; the time keeps its tooltip without the mark, so two dotted words never stand side by side */
.bar .ctl-l .dt { text-decoration: underline dotted var(--rule4); text-decoration-thickness: 1px; text-underline-offset: 4px; cursor: help; }
/* when the data was read: in the bar where it has the room, else a line of its own under the title */
.upd { font: 400 var(--fs-note)/16px "IBM Plex Sans", var(--f); color: var(--ink3); white-space: nowrap; }
.bar .upd { display: none; margin-right: 10px; }
#top .upd { margin: 4px 0 var(--g); }
.bar .hold { display: none; position: absolute; top: 0; right: 0; bottom: 0; align-items: center; font-size: var(--fs-note); color: var(--ink2); white-space: nowrap; }
.bar.hs .ctl > :not(.hold) { visibility: hidden; }
.bar.hs .hold { display: flex; }
.jump { margin-left: 8px; opacity: 0; visibility: hidden; transition: opacity .14s, visibility 0s .14s; }
.bar.stuck .jump { opacity: 1; visibility: visible; transition-delay: 0s; }
.jump i { background: var(--wash4); opacity: 0; }
.bar .seg { height: 36px; }
.jump button { padding: 0 12px; color: var(--ink2); }
.jump button:hover, .jump button.on { color: var(--ink); }
/* the period control ends as far above the first card as a section's control does above its own */
.bar + .sec { margin-top: 8px; }
/* a desktop has the room for the time in the bar, beside the period */
@media (min-width: 1024px) {
  .bar .upd { display: block; }
  #top .upd { display: none; }
}

/* segmented control, built by seg() */
.seg { position: relative; display: inline-flex; height: 34px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.seg i { position: absolute; top: 3px; bottom: 3px; left: 0; width: 0; border-radius: 999px; background: var(--wash4); transition: transform .24s cubic-bezier(.3,.7,.2,1), width .24s cubic-bezier(.3,.7,.2,1); }
.seg button[hidden] { display: none; }
.seg button { position: relative; padding: 0 13px; border-radius: 999px; font-size: var(--fs-lab); font-weight: 500; color: var(--ink3); white-space: nowrap; transition: color .15s; }
.seg button:hover { color: var(--ink2); }
.seg button.on { color: var(--ink); }
/* the ring stays inside the pill */
.seg button:focus-visible { outline-offset: -2px; }
.seg button.on:focus-visible { outline-color: currentColor; }
/* the page's main control carries the site's selected teal */
#seg-win i { background: var(--t-on); }
#seg-win button.on, #seg-win button.on:hover { color: var(--t-on-ink); }

/* section head */
.sec { margin-top: 44px; }
.sec-h { display: flex; align-items: baseline; gap: 12px; height: 36px; margin-bottom: var(--g); }
.sec-h p { margin: 0; font-size: var(--fs-lab); color: var(--ink2); white-space: nowrap; }

/* unit pips: --c colours them, .c is round */
.mk u { flex: none; display: block; width: 8px; height: 8px; border-radius: 2px; background: var(--c); }
.mk u.c { border-radius: 50%; }

.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 18px; margin-top: 14px; font-size: var(--fs-note); color: var(--ink3); }
.foot .how { display: flex; flex-wrap: wrap; gap: 2px 16px; padding: 7px 12px; border: 1px solid var(--line2); border-radius: var(--r3); font-size: var(--fs-lab); line-height: 16px; color: var(--ink2); }

/* tooltip */
#tip { position: fixed; z-index: 20; left: 0; top: 0; min-width: 150px; max-width: 280px; padding: 9px 11px; border-radius: var(--r3); background: var(--tip-bg); border: 1px solid var(--line2); box-shadow: var(--tip-shadow); font-size: var(--fs-note); line-height: 1.5; color: var(--ink2); pointer-events: none; opacity: 0; transition: opacity .1s; }
#tip.on { opacity: 1; }
#tip h4 { margin: 0 0 4px; font-size: var(--fs-note); font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: 7px; }
#tip h4 i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
/* a second head in one tooltip opens its own group */
#tip div + h4 { margin-top: 8px; }
/* a long label wraps inside the box; the figure stays whole on its right */
#tip div { display: flex; justify-content: space-between; gap: 18px; }
#tip div b { flex: none; font-weight: 500; color: var(--ink); white-space: nowrap; }
#tip div.cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
#tip:has(.cols) { max-width: 420px; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* top */
/* whole-pixel tracks, so tile edges and the text inside them land on the pixel grid */
#top .grid { display: grid; grid-template-columns: minmax(0, 1fr) 264px 264px; grid-template-rows: repeat(2, 144px); gap: var(--g); }
#top .tile { position: relative; overflow: hidden; padding: 18px var(--pad) 0; cursor: default; }
#top .main { grid-row: span 2; }
#top h3 { margin: 0; font-size: var(--fs-lab); font-weight: 500; line-height: 16px; color: var(--ink2); }
/* a tile's note sits at the title line's far end, on every tile */
#top h3 span { position: absolute; top: 18px; right: var(--pad); font-size: var(--fs-note); font-weight: 400; color: var(--ink2); }
/* the big tile's note ends in its switch: the running total, or a bar a day */
#top .swap { margin-left: 10px; padding: 3px 10px; border: 1px solid var(--line2); border-radius: 999px; font-size: var(--fs-note); line-height: 16px; color: var(--ink); white-space: nowrap; transition: background-color .12s; }
#top .swap:hover { background: var(--wash4); }
#top .main h3 span { top: 14px; }

#top .hero { display: flex; align-items: baseline; gap: 14px; margin: 8px 0 0; line-height: 1; }
#top .hero b { font-size: var(--fs-hero); font-weight: 600; letter-spacing: -.035em; font-variant-numeric: proportional-nums; }
#top .hero b small { margin-left: 6px; font-size: var(--fs-fig); font-weight: 500; letter-spacing: -.015em; color: var(--ink2); }
#top .hero span { padding: 5px 10px; border: 1px solid var(--line2); border-radius: var(--r3); font-size: var(--fs-row); color: var(--ink2); }

#top .fig { display: flex; align-items: baseline; margin: 5px 0 0; font-size: var(--fs-fig); font-weight: 600; line-height: 32px; letter-spacing: -.025em; font-variant-numeric: proportional-nums; }
#top .fig small { margin-left: 5px; font-size: var(--fs-row); font-weight: 400; letter-spacing: 0; color: var(--ink2); }
/* a tile's note sits on its title's line, so the figure keeps its own */
#top .fig span { position: absolute; top: 18px; right: var(--pad); font-size: var(--fs-note); font-weight: 400; line-height: 16px; letter-spacing: 0; white-space: nowrap; color: var(--ink2); }
#top .grid { grid-template-columns: minmax(0, 1fr) 216px 216px; }

#top .plot { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; display: block; overflow: visible; }
#top .main .plot { height: 206px; }
#top .tile:not(.main) .plot { height: 74px; }

#top .base { stroke: var(--rule1); }
#top .rule { stroke: var(--rule1); }
#top .line { fill: none; stroke: var(--acc); stroke-width: 2; stroke-linejoin: miter; }
#top .stepdot { stroke: var(--card); stroke-width: 2; paint-order: stroke; transition: opacity .12s; }
#top .end { fill: var(--card); stroke: var(--acc); stroke-width: 2; }
#top .cross { stroke: var(--rule3); }
#top .cursor { fill: var(--ink); stroke: var(--card); stroke-width: 2; }
#top .dim .stepdot:not(.on) { opacity: .28; }

#top .rate { fill: none; stroke: var(--acc); stroke-width: 1.5; stroke-linejoin: round; }
#top .dot { fill: var(--acc); stroke: var(--card); stroke-width: 1; paint-order: stroke; }
#top .level { stroke: var(--mark); stroke-dasharray: 4 3; }

#top .dbar { fill: var(--acc); }
#top .dbar.cur { fill: var(--ink); }
#top .plate { fill: var(--card); }
#top .tick { fill: var(--rule3); }
#top .tick.on { fill: var(--acc); }
#top .tick.cur { fill: var(--ink); }

#top .part { transition: opacity .12s; }
#top .paid { fill: var(--acc); }
#top .held { fill: var(--u5); }
#top .withdrawn { fill: var(--rest); }
#top .dim .part:not(.on) { opacity: .4; }

#top text { font-size: var(--fs-tick); fill: var(--ink3); }
#top text.lab { fill: var(--ink2); }
#top text.val { font-size: var(--fs-note); font-weight: 500; fill: var(--ink); }

/* cost */
#cost .card { position: relative; display: flex; flex-direction: column; height: 344px; padding: 18px var(--pad) var(--pad); }

#cost .fig { display: flex; align-items: baseline; margin: 5px 0 0; font-size: var(--fs-fig); font-weight: 600; line-height: 32px; letter-spacing: -.025em; font-variant-numeric: proportional-nums; }
#cost .fig em { margin: 0 .3em 0 .24em; font-style: normal; font-size: var(--fs-row); font-weight: 400; letter-spacing: 0; color: var(--ink2); }
#cost .fig em.at { margin-left: 5px; }
#cost .pair { display: contents; }

#cost .plot { flex: 1; min-height: 0; display: block; width: 100%; margin-top: 8px; overflow: visible; outline-offset: 6px; border-radius: 8px; }

#cost text { font-size: var(--fs-tick); fill: var(--ink3); }
#cost text.mid { fill: var(--ink2); }
#cost text.lab { font-size: var(--fs-note); fill: var(--ink2); }
/* a period that settled few sizes: those take the ink, the bare columns step back */
#cost text.lab.used { fill: var(--ink); }
#cost text.lab.bare { fill: var(--ink3); }
#cost .grid { stroke: var(--rule1); }
#cost .base { stroke: var(--rule2); }
#cost .curve { fill: none; stroke: var(--acc); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
/* the stroke sits under the fill, so 2 draws a 1px ring */
#cost .dot { stroke: var(--card); stroke-width: 2; paint-order: stroke; }

#cost .level { stroke: var(--mark); stroke-dasharray: 4 3; }
#cost text.level-say { stroke: var(--card); stroke-width: 4; paint-order: stroke; }

#cost .fade { transition: opacity .12s; }
#cost .col { fill: var(--acc); }
#cost .pct { fill: var(--ink2); }
#cost .pct.lead { fill: var(--ink); }

#cost .band { fill: var(--wash2); }
#cost .cross { stroke: var(--rule3); }
#cost .cursor { fill: var(--ink); stroke: var(--card); stroke-width: 2; }
#cost .plot.dim .fade:not(.lit) { opacity: .3; }

/* publishers */
/* share of data or fees, labelled on the bar */
#publishers { --th: 30px; }
#publishers .pb-share { padding: 18px var(--pad); }
#publishers .pb-top { position: relative; height: 34px; }
#publishers .pb-labels { position: absolute; inset: 0; }
#publishers .pb-lab { position: absolute; left: 0; bottom: 0; display: flex; align-items: baseline; gap: 7px; white-space: nowrap; pointer-events: none; transition: opacity .12s; }
#publishers .pb-lab b { font-size: var(--fs-fig); font-weight: 600; line-height: 32px; letter-spacing: -.025em; font-variant-numeric: proportional-nums; }
#publishers .pb-lab em { font-style: normal; font-size: var(--fs-row); color: var(--ink2); }
#publishers .pb-lab em.u:empty { display: none; }
#publishers .pb-lab i { width: 8px; height: 8px; margin-left: 3px; border-radius: 50%; background: var(--c); transform: translateY(-1px); }
#publishers .pb-lab.hid { display: none; }
#publishers .pb-labels.lit .pb-lab:not(.flo) { opacity: 0; }
#publishers .pb-bar { position: relative; display: flex; gap: 2px; height: 8px; margin-top: 8px; border-radius: 3px; overflow: hidden; }
#publishers .pb-bar:empty { background: var(--wash3); }
#publishers .pb-bar i { flex: 0 1 0; min-width: 4px; background: var(--c); transition: opacity .12s; }
#publishers .pb-bar.lit i:not(.on) { opacity: .28; }

/* table: rows sit inset in the card, as Hosting's do */
#publishers .pb-wrap { position: relative; padding: 0 8px 6px; border-top: 1px solid var(--line); }
#publishers .pb-wrap::before { content: ""; position: absolute; left: 0; right: 0; top: var(--th); height: 1px; background: var(--line); }
#publishers .pb-t { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
/* room for the strips' dates, which stand under the heads' line as an axis over the rows */
#publishers tbody::before { content: ""; display: block; height: 26px; }
#publishers .c-who { width: 176px; }
#publishers .c-data { width: 158px; }
#publishers .c-mib { width: 80px; }
#publishers .c-avg { width: 92px; }
#publishers .c-left { width: 128px; }

#publishers th { position: relative; height: var(--th); padding: 0 8px 8px; font-size: var(--fs-note); font-weight: 400; line-height: 14px; color: var(--ink2); text-align: left; white-space: nowrap; vertical-align: bottom; }
#publishers th.n, #publishers th.d { text-align: right; }
#publishers th:first-child { padding-left: 30px; }
#publishers td:first-child { padding-left: 8px; }
#publishers th:last-child, #publishers td:last-child { padding-right: 8px; }
#publishers th button { position: relative; line-height: 14px; text-align: inherit; color: inherit; transition: color .12s; }
#publishers th button:hover { color: var(--ink); }
#publishers th[aria-sort] button { color: var(--ink); }
/* the caret hangs outside the label, so labels line up with their values */
#publishers th button::after { content: ""; position: absolute; top: 5px; left: calc(100% + 4px); border: 3.5px solid transparent; opacity: 0; }
#publishers th.n button::after, #publishers th.d button::after { left: auto; right: calc(100% + 4px); }
#publishers th[aria-sort="descending"] button::after { border-top-color: currentColor; border-bottom-width: 0; opacity: 1; }
#publishers th[aria-sort="ascending"] button::after { border-bottom-color: currentColor; border-top-width: 0; opacity: 1; }

#publishers th.a { padding-left: 18px; padding-right: 0; }
#publishers .pb-h { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; line-height: 14px; }
#publishers .pb-h button::after { left: auto; right: calc(100% + 4px); }
#publishers .pb-h > .pb-first { grid-area: 1 / 1; justify-self: start; z-index: 1; }
#publishers .pb-h > button:not(.pb-first) { grid-area: 1 / 2; }
/* the cell holds two sorts: only the one in force shows */
#publishers th.a:not(.by-first) .pb-first, #publishers th.by-first > .pb-h > button:not(.pb-first) { color: var(--ink2); }
#publishers th.a:not(.by-first) .pb-first::after, #publishers th.by-first > .pb-h > button:not(.pb-first)::after { opacity: 0; }
/* the dates sit under the heads' line, each over the line that marks its day, so the window's first day has the strip's start to itself */
#publishers .pb-ticks { position: absolute; left: 18px; right: 0; top: calc(100% + 6px); height: 14px; font-size: var(--fs-tick); color: var(--ink3); cursor: default; }
#publishers .pb-ticks span { position: absolute; top: 0; line-height: 14px; white-space: nowrap; }

#publishers tbody tr { transition: opacity .12s; }
#publishers tbody tr:hover td, #publishers tbody tr.on td { background: var(--wash2); }
#publishers tbody td:first-child { border-radius: var(--r3) 0 0 var(--r3); }
#publishers tbody td:last-child { border-radius: 0 var(--r3) var(--r3) 0; }
#publishers tbody.lit tr:not(.on) { opacity: .34; }
/* every figure sits on the row's centre line, the line the trace runs along */
#publishers tbody td { height: 40px; padding: 0 8px; font-size: var(--fs-lab); line-height: 18px; text-align: right; white-space: nowrap; color: var(--ink2); vertical-align: middle; transition: background .12s; }
#publishers tbody td[data-c="left"].z { color: var(--ink3); }

/* sort shows in the column's figures */
#publishers [data-sort="bytes"] td.d .pb-d :is(b, span), #publishers [data-sort="paid_per_mib_utia"] [data-c="mib"], #publishers [data-sort="avg_blob_bytes"] [data-c="avg"] .pb-d :is(b, span), #publishers [data-sort="left"] [data-c="left"] { color: var(--ink); }

/* publisher: rank, name; the same slots as Hosting's rows */
#publishers tbody td.w { text-align: left; }
#publishers .pb-who, #publishers .pb-more { display: grid; grid-template-columns: 14px minmax(0, 1fr); column-gap: 8px; }
#publishers .pb-who { align-items: baseline; }
#publishers .pb-who em { font-style: normal; font-size: var(--fs-tick); text-align: right; color: var(--ink2); }
#publishers .pb-who b { display: flex; align-items: baseline; gap: 6px; min-width: 0; font-weight: 500; font-size: var(--fs-row); line-height: 18px; color: var(--ink); }
#publishers .pb-who b span { overflow: hidden; text-overflow: ellipsis; }
/* a shared name says which of its accounts this is, after the name */
#publishers .pb-who small { flex: none; font-size: var(--fs-note); font-weight: 400; color: var(--ink3); }
/* the row's dot: the colour of its segment in the share bar */
#publishers :is(.pb-who b, .pb-more span) i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--c); transform: translateY(-1px); }
#publishers .pb-who code { grid-column: 2; font: 500 var(--fs-tick)/14px var(--m); color: var(--ink3); letter-spacing: -.01em; }

/* data: the figure in its column's unit, then the share; the whole size with its unit is for a narrow page's cards */
#publishers .pb-d { display: flex; justify-content: flex-end; align-items: baseline; }
#publishers .pb-d b { font-weight: 400; }
#publishers .pb-d span { display: none; }
#publishers .pb-d em { flex: none; width: 54px; font-style: normal; text-align: right; color: var(--ink3); }

/* activity */
#publishers tbody td.a { position: relative; padding: 0; vertical-align: top; }
#publishers td.a canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
#publishers .pb-x { position: absolute; top: calc(var(--th) + 1px); left: 0; width: 1px; background: var(--rule3); display: none; pointer-events: none; }
#publishers .pb-ring { position: absolute; left: 0; top: 0; border: 1px solid var(--ink); border-radius: 3px; display: none; pointer-events: none; }
#publishers .pb-n { position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: var(--fs-lab); line-height: 18px; color: var(--ink2); pointer-events: none; }
#publishers [data-sort="settlements"] .pb-n { color: var(--ink); }
/* the table's figures are the size Hosting's are; the cards a narrow page has keep their own */
@media (min-width: 980px) {
  #publishers tbody td, #publishers .pb-n { font-size: var(--fs-row); }
}
/* the height scale: a key under the table, real heights in a neutral mark, clear of the last row */
#publishers .pb-key td { height: 54px; padding: 6px 0 0; font-size: var(--fs-note); color: var(--ink2); vertical-align: middle; white-space: nowrap; }
#publishers .pb-key td:first-child { padding-left: 30px; }
#publishers .pb-key td.a { position: relative; }
#publishers .pb-rule { position: absolute; inset: 6px 0 0 18px; display: flex; align-items: center; gap: 16px; pointer-events: none; }
#publishers .pb-rule span { display: flex; align-items: center; gap: 6px; font-size: var(--fs-tick); line-height: 16px; color: var(--ink2); white-space: nowrap; }
#publishers .pb-rule i { flex: none; background: var(--acc); }
/* the sample of empty time: four dots of the trace's own centre line */
#publishers .pb-rule u { flex: none; width: calc(var(--s) * 3 + var(--d)); height: var(--h); background: repeating-linear-gradient(90deg, var(--rule4) 0 var(--d), transparent var(--d) var(--s)); }

/* the folded tail */
#publishers tr.o td { background: var(--wash2); cursor: pointer; }
#publishers tr.o:hover td { background: var(--wash3); }
#publishers .pb-more { width: 100%; align-items: center; font-size: var(--fs-row); font-weight: 500; line-height: 18px; color: var(--ink); text-align: left; }
#publishers .pb-more span { display: flex; align-items: baseline; gap: 6px; }
#publishers .pb-more svg { align-self: center; justify-self: center; color: var(--ink3); transition: transform .18s; }
#publishers tr.o:hover .pb-more svg { color: var(--ink); }
#publishers .pb-more[aria-expanded="true"] svg { transform: rotate(180deg); }

#publishers tbody td.pb-none { height: 88px; text-align: center; vertical-align: middle; color: var(--ink3); }

/* hosting */
:host {
  /* on the ring the tail sits below the last step and above the track, so the ring only ever descends */
  --hosting-tail: var(--rest);
  --hosting-dim: color-mix(in srgb, var(--tail) 34%, var(--card));
}
:host([data-theme="light"]) {
  --hosting-dim: color-mix(in srgb, var(--tail) 26%, var(--card));
}
#hosting .seg + .ctl-l { margin-left: 10px; }
#hosting .hs { padding: 0 0 10px; }

/* every part of the card opens on its question and answers it in words */
#hosting .say { position: relative; }
#hosting .say p { margin: 0; font-size: var(--fs-unit); font-weight: 400; line-height: 23px; letter-spacing: -.008em; color: var(--ink2); }
#hosting .say p b { font-weight: 600; color: var(--ink); }
#hosting .say p small { display: block; font-size: var(--fs-lab); line-height: 20px; letter-spacing: 0; color: var(--ink2); text-wrap: pretty; }
#hosting .say .lead { display: block; overflow: hidden; white-space: nowrap; }
#hosting .clear { height: 20px; padding: 0 9px; border: 1px solid var(--rule4); border-radius: 999px; font-size: var(--fs-note); font-weight: 500; color: var(--ink); transition: background .12s; }
#hosting .clear:hover { background: var(--wash2); }
#hosting .clear[hidden] { display: none; }

/* upper band: who beside where */
#hosting .band { display: grid; grid-template-columns: 488px minmax(0, 1fr); column-gap: 52px; padding: 18px var(--pad) 8px; }
#hosting .who, #hosting .where { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; row-gap: 12px; min-width: 0; }
#hosting .whobox { position: relative; height: 224px; }
/* the ring's visible edge sits on the text's left edge */
#hosting .ringbox { position: absolute; left: -4px; top: 12px; width: 264px; height: 264px; }
#hosting .ring { display: block; width: 100%; height: 100%; overflow: visible; }
#hosting .ring .a { cursor: pointer; transition: fill .14s; }
#hosting .trk { fill: none; stroke: var(--none); }
#hosting .ldrs { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
#hosting .ldrs path { fill: none; stroke: var(--rule4); stroke-width: 1; transition: opacity .12s; }
#hosting .ldrs path.off { opacity: .25; }
#hosting .ldrs path.gone { display: none; }
#hosting .names { position: absolute; top: 0; right: 0; bottom: 0; width: 200px; pointer-events: none; }
#hosting .nl { position: absolute; left: 0; right: 0; display: flex; align-items: center; gap: 8px; height: 22px; margin-top: -11px; font-size: var(--fs-lab); pointer-events: auto; cursor: pointer; transition: opacity .12s; }
#hosting .nl i { flex: none; width: 8px; height: 8px; border-radius: 2px; }
#hosting .nl span { flex: 1; min-width: 0; font-weight: 500; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#hosting .nl b { flex: none; font-weight: 500; color: var(--ink); }
#hosting .nl.oth { cursor: default; }
#hosting :is(.nl.oth, .nl.px) span { flex: none; max-width: 130px; }
#hosting .nl[hidden] { display: none; }
#hosting .nl.oth span, #hosting .nl.oth b { font-weight: 400; color: var(--ink2); }
#hosting .nl.off { opacity: .35; }
/* one stack in both states: the two outer rows match, so the figure holds the ring's centre */
#hosting .centre { position: absolute; inset: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto minmax(0, 1fr); justify-items: center; row-gap: 6px; pointer-events: none; text-align: center; }
#hosting .c-v { font-size: var(--fs-ring); font-weight: 600; letter-spacing: -.035em; line-height: 1; font-variant-numeric: proportional-nums; }
#hosting .c-n { align-self: end; display: flex; align-items: center; justify-content: center; gap: 7px; max-width: 180px; font-size: var(--fs-lab); line-height: 16px; font-weight: 500; color: var(--ink); white-space: nowrap; }
#hosting .c-n span { overflow: hidden; text-overflow: ellipsis; }
#hosting .c-n i { flex: none; width: 8px; height: 8px; border-radius: 50%; }
#hosting .c-c { align-self: start; font-size: var(--fs-note); line-height: 16px; color: var(--ink2); }
#hosting .c-c b { display: block; font-size: var(--fs-lab); font-weight: 500; color: var(--ink); }

#hosting .mp { position: relative; min-width: 0; height: 100%; overflow: hidden; }
#hosting .mp canvas, #hosting .mp > svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
#hosting .base, #hosting .labs { transition: opacity .16s; }
#hosting .m, #hosting .lab, #hosting .ldr { transition: opacity .14s; }
/* every disc is solid, so a bigger share never looks weaker; a ring of the card keeps a city inside a bigger disc in sight */
#hosting .mi { stroke: var(--card); stroke-width: 1; paint-order: stroke; }
#hosting .mp svg { pointer-events: none; }
/* what is out of focus keeps its place, not its colour */
#hosting svg.iso .base { opacity: .22; }
#hosting svg.iso .base .mi { fill: var(--ink3); }
#hosting svg.iso .labs { opacity: 0; }
#hosting .base .m.gone { visibility: hidden; }
#hosting svg.hot .m:not(.on) { opacity: .22; }
#hosting svg.hot .lab:not(.on), #hosting svg.hot .ldr:not(.on) { opacity: .12; }
#hosting .mp svg text { font-family: var(--f); pointer-events: none; }
#hosting .lab { font-size: var(--fs-note); fill: var(--ink2); dominant-baseline: central; }
#hosting .lab .v { font-weight: 600; fill: var(--ink); }
#hosting .lab.t1 { font-size: var(--fs-lab); fill: var(--ink); }
#hosting .lab.t3 { font-size: var(--fs-tick); fill: var(--ink3); }
#hosting .lab.t3 .v { font-weight: 500; fill: var(--ink2); }
/* a small map has one size of label, the smallest, so its names find room at sea */
#hosting .mp svg.sm .lab { font-size: var(--fs-tick); }
#hosting .ldr { stroke: var(--rule4); stroke-width: 1; pointer-events: none; }
/* the card's colour each side of the ink, so a leader over land reads as a pointer laid on it, not as a border drawn in it */
#hosting .ldr.ldk { stroke: var(--card); stroke-width: 3; }
/* the map's own rail: a titled list on the left edge, in the names' rhythm, ending on their last line */
#hosting .mside { position: absolute; left: 0; top: 0; z-index: 2; width: 140px; font-size: var(--fs-note); line-height: 16px; color: var(--ink2); pointer-events: none; }
#hosting .mhd { display: flex; align-items: center; height: var(--pitch, 32px); color: var(--ink2); white-space: nowrap; }
/* name and figure on the row's line, a short solid bar under them: its full length is all voting power */
#hosting .mreg { background: var(--card); }
#hosting .mreg > div { position: relative; display: flex; justify-content: space-between; align-items: center; height: var(--pitch, 32px); padding: 0 6px; margin: 0 -6px; border-radius: 5px; cursor: default; pointer-events: auto; transition: background .12s, color .12s; }
#hosting .mreg > div > u { position: absolute; left: 6px; right: 6px; top: calc(50% + 12px); height: 3px; }
#hosting .mreg > div > u::before { content: ""; display: block; height: 100%; min-width: 2px; width: calc(100% * var(--f)); border-radius: 1px; background: var(--acc); }
#hosting .mreg > div b { font-weight: 500; text-align: right; color: var(--ink); }
#hosting .mreg > div.no, #hosting .mreg > div.no b { color: var(--ink3); }
#hosting .mreg > div.no > u::before { visibility: hidden; }
#hosting .mreg > div[data-r]:not(.no):hover, #hosting .mreg > div.on { background: var(--wash2); color: var(--ink); }
#hosting .mreg.hot > div[data-r]:not(.on) { opacity: .5; }
/* the key to the marks sits on the map's own head, opposite its caption */
#hosting .mkey { position: absolute; right: 0; bottom: -1.5px; display: flex; align-items: center; gap: 4px; height: 20px; font-size: var(--fs-note); line-height: 20px; color: var(--ink2); white-space: nowrap; pointer-events: none; }
#hosting .mkey svg { display: block; overflow: visible; }
#hosting .mkey circle { fill: var(--acc); }
#hosting .mkey span + svg { margin-left: 4px; }

/* lower band: one table, or a shorter table beside the head to head */
#hosting .tb { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); padding: 0 12px; border-top: 1px solid var(--line); }
#hosting .tb-vs { display: none; }
#hosting .tb-list { min-width: 0; }
#hosting .tr { display: grid; grid-template-columns: var(--cols); column-gap: var(--gap); align-items: center; padding: 0 12px; }
#hosting .tb-list > .top { position: sticky; top: var(--stick); z-index: 4; background: var(--card); }
/* every label on the head's foot */
#hosting .th { align-items: end; height: var(--th); margin: 0 -12px; padding: 0 24px; border-bottom: 1px solid var(--line); font-size: var(--fs-note); color: var(--ink2); }
#hosting .th .k-a { display: flex; align-items: baseline; gap: 8px; padding: 0 0 8px 22px; line-height: 14px; white-space: nowrap; }
#hosting .h { display: flex; align-items: flex-end; justify-content: flex-end; min-width: 0; padding-bottom: 8px; font-weight: 400; line-height: 14px; text-align: right; white-space: nowrap; transition: color .12s; }
#hosting .h1 { position: relative; display: block; }
/* a dotted line where a definition waits */
:is(#hosting, #publishers) .dt { text-decoration: underline dotted var(--rule4); text-decoration-thickness: 1px; text-underline-offset: 4px; cursor: help; }
/* a row in Hosting is there to click, so only Publishers' cells, which do nothing else, take the help cursor */
#publishers tbody tr:not(.o) td:not(.a):not(.w) { cursor: help; }

/* the caret hangs outside the label, so labels line up with their values */
#hosting .h1::after { content: ""; position: absolute; bottom: 4px; right: calc(100% + 4px); border: 3.5px solid transparent; opacity: 0; }
#hosting .h:hover { color: var(--ink); }
#hosting .h.on { color: var(--ink); }
#hosting .h.on .h1::after { border-top-color: currentColor; border-bottom-width: 0; opacity: 1; }
#hosting .h.on.asc .h1::after { border-top-width: 0; border-top-color: transparent; border-bottom-width: 3.5px; border-bottom-color: currentColor; }
/* flush right on the figures like every other head; the rest of the label overhangs the empty head to the left */
#hosting .h.wt { grid-area: 1 / 2; justify-self: start; width: var(--slot); }

/* every figure on the row's centre line, the name and its place around it, as Publishers' rows */
#hosting .rw { --rowbg: transparent; position: relative; align-items: center; height: 40px; line-height: 18px; border-radius: var(--r3); background: var(--rowbg); cursor: pointer; transition: background .12s; }
#hosting .rw:hover, #hosting .rw.lit { --rowbg: var(--wash2); }
#hosting .tb.wide .rw.lit:not(:hover):not(.rest) { --rowbg: transparent; }
#hosting .rw.rest { --rowbg: var(--wash2); margin-top: 3px; }
#hosting .lim { display: flex; align-items: center; column-gap: 8px; height: 17px; padding: 0 8px; font-size: var(--fs-tick); font-weight: 500; line-height: 1; color: var(--ink2); }
#hosting .lim::after { content: ""; flex: 1; height: 1px; background: var(--line2); }
#hosting .rw.rest:hover, #hosting .rw.rest.lit { --rowbg: var(--wash3); }

/* rank, name. A row's hover swaps the rank for the pick. */
#hosting .k-a { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; column-gap: 8px; align-items: baseline; min-width: 0; }
#hosting .k-a > .pk, #hosting .k-a > .ex, #hosting .k-a > em { grid-column: 1; grid-row: 1; }
#hosting .k-a > .nm { grid-column: 2; grid-row: 1; }
#hosting .k-a > code { grid-column: 3; grid-row: 1; }
#hosting .k-a > .sub { grid-column: 2 / -1; grid-row: 2; min-width: 0; font-size: var(--fs-tick); line-height: 14px; color: var(--ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#hosting .sub b { font-weight: 500; color: var(--ink); }
#hosting .sub.tight .mr { display: none; }
#hosting .k-a em { font-style: normal; font-size: var(--fs-tick); text-align: right; color: var(--ink2); pointer-events: none; transition: opacity .12s; }
#hosting .rw:hover .k-a em, #hosting .rw.on .k-a em { opacity: 0; }
#hosting .nm { min-width: 0; font-size: var(--fs-row); font-weight: 500; line-height: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#hosting .k-a code { flex: none; font: 500 var(--fs-tick) var(--m); color: var(--ink3); }
#hosting .rest .nm { overflow: visible; }
#hosting .nm small { margin-left: 6px; font-size: var(--fs-tick); font-weight: 400; color: var(--ink3); }

/* hidden at rest: the bar carries the rank's colour, the row's hover offers the pick */
#hosting .pk, #hosting .ex { display: grid; place-items: center; align-self: center; width: 14px; height: 14px; }
#hosting .pk { position: relative; color: transparent; opacity: 0; transition: color .12s, opacity .14s; }
#hosting .pk::before { content: ""; position: absolute; inset: 3px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--ink2); transition: inset .12s, background .12s; }
#hosting .rw:hover .pk, #hosting .rw.on .pk, #hosting .pk:focus-visible { opacity: 1; }
#hosting .pk svg { position: relative; }
#hosting .rw:hover .pk { color: var(--ink3); }
#hosting .rw:hover .pk::before { inset: 0; }
#hosting .rw:hover .pk:hover { color: var(--ink); }
#hosting .rw.on .pk, #hosting .rw.on:hover .pk { color: var(--on); }
#hosting .rw.on .pk::before, #hosting .rw.on:hover .pk::before { inset: 0; background: var(--c); box-shadow: none; }
#hosting .ex { color: var(--ink3); transition: transform .2s, color .12s; }
#hosting .rw:hover .ex { color: var(--ink); }
#hosting .rest.opened .ex { transform: rotate(180deg); }

/* the weighing: the figure under its label, then a solid bar from one zero line */
#hosting .vb { position: relative; display: grid; grid-template-columns: var(--slot) minmax(0, 1fr); column-gap: 8px; align-items: center; min-width: 0; }
#hosting .lb { position: relative; display: block; height: 8px; width: calc(100% * var(--f)); min-width: 2px; border-radius: 0 2px 2px 0; background: var(--c); transition: opacity .14s; }
#hosting .vv { justify-self: end; font-size: var(--fs-row); font-weight: 400; color: var(--ink2); text-align: right; white-space: nowrap; }
/* what one pick leaves to do stands in the head, over the bars, and ends where they do */
#hosting .hint { grid-area: 1 / 2; justify-self: end; display: flex; align-items: center; gap: 8px; min-width: 0; padding-bottom: 8px; line-height: 14px; white-space: nowrap; }
#hosting .next { display: flex; }
#hosting :is(.ask3, .next)[hidden] { display: none; }
#hosting .tb.focus .rw:not(.lit):not(.on) .lb { opacity: .45; }

/* find: in the head over the bars, --fd-gap past the weighing's figures, centred on the heads' line, its outline only while the pointer is on it, it has focus or it holds a search, so the head stays one light line */
#hosting .th { --fd-gap: 32px; }
#hosting .th > .fd { grid-area: 1 / 2; justify-self: start; align-self: end; width: 240px; max-width: calc(100% - var(--slot) - var(--fd-gap)); margin: 0 0 1px calc(var(--slot) + var(--fd-gap)); }
#hosting .fd { position: relative; display: flex; align-items: center; min-width: 0; height: 28px; border: 1px solid transparent; border-radius: 6px; background: var(--card); color: var(--ink3); cursor: text; transition: border-color .12s; }
#hosting .fd:hover, #hosting .tb.q .fd { border-color: var(--line); }
#hosting .fd:focus-within { border-color: var(--rule4); }
#hosting .fd > svg { position: absolute; left: 8px; top: 6px; pointer-events: none; }
#hosting .fd input { flex: 1 1 auto; min-width: 0; height: 100%; padding: 0 6px 0 28px; text-overflow: ellipsis; border: 0; outline: 0; background: none; font: 400 var(--fs-note) var(--f); color: var(--ink); }
#hosting .fd input::placeholder { color: var(--ink3); opacity: 1; }
#hosting .fd:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
#hosting .fd-no { flex: none; padding-right: 4px; font-size: var(--fs-note); color: var(--ink3); white-space: nowrap; }
#hosting .fd-x { flex: none; display: grid; place-items: center; width: 16px; height: 16px; margin-right: 8px; border-radius: 50%; color: var(--ink3); }
#hosting .fd-x:hover { color: var(--ink); background: var(--wash3); }
#hosting :is(.fd-no, .fd-x)[hidden] { display: none; }

/* columns */
#hosting .k-n { min-width: 0; font-size: var(--fs-row); text-align: right; color: var(--ink2); white-space: nowrap; }
/* digits of one width, so points and percent signs stand in line down a column */
#hosting :is(.vv, .k-n), #publishers :is(.pb-n, .pb-d b, .pb-d em, [data-c="mib"], [data-c="left"]) { font-family: "IBM Plex Sans", var(--f); font-variant-numeric: tabular-nums; }

/* sort shows in the column's figures */
#hosting :is(.vv, .k-n).srt { color: var(--ink); }

/* expansion */
#hosting .tailbox { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .26s cubic-bezier(.3,.7,.2,1); }
#hosting .tailbox.open { grid-template-rows: 1fr; }
#hosting .tailbox > div { min-height: 0; overflow: hidden; visibility: hidden; transition: visibility 0s .26s; }
#hosting .tailbox.open > div { visibility: visible; transition-delay: 0s; }

/* head to head: same height as the rows it replaces */
#hosting .tb.vs { grid-template-columns: 420px minmax(0, 1fr); column-gap: 16px; }
/* one rule from the list across the gutter and the panel to the card's edge */
#hosting .tb.vs .tb-vs::before { content: ""; position: absolute; left: -8px; right: -8px; top: calc(var(--th) - 1px); height: 1px; background: var(--line); }
#hosting .tb.vs .vs-m:nth-child(2) { border-top-color: transparent; }
#hosting .tb.vs .tr { grid-template-columns: var(--vs1, 178px) minmax(0, 1fr); column-gap: 14px; }
#hosting .tb[data-by="city"] { --vs1: 178px; }
#hosting .tb.vs .k-n { display: none; }
#hosting .tb.vs .th .h:not(.wt) { display: none; }
/* a sort still in force names the order, in the first head's place: the list has no room for the column */
/* a typed query keeps the field in sight, and the order then shows in the figures alone */
#hosting .tb.vs .th .h.on:not(.wt) { display: flex; grid-column: 1; grid-row: 1; justify-self: start; padding-left: 22px; }
#hosting .tb.vs .th .h.on:not(.wt) .h1::after { right: auto; left: calc(100% + 4px); }
#hosting .tb.vs .th:has(.h.on:not(.wt)) .fh { visibility: hidden; }
/* beside Compare the list has room for its heads and no more, so the field is its magnifier until it is used; then it opens over the head from the names' edge, whole placeholder and all. Out of the grid there, since a grid area would be its frame */
@media (min-width: 980px) {
  #hosting .tb.vs .th { --fd-gap: 16px; position: relative; }
  #hosting .tb.vs .th > .fd { width: 28px; }
  #hosting .tb.vs .fd input::placeholder { color: transparent; }
  #hosting .tb.vs .th > .fd:focus-within, #hosting .tb.vs.q .th > .fd { position: absolute; grid-area: auto; left: 30px; bottom: 0; z-index: 2; width: 240px; max-width: none; margin: 0 0 1px; }
  #hosting .tb.vs .fd:focus-within input::placeholder { color: var(--ink3); }
}
#hosting .tb.vs .th .k-a { grid-column: 1; grid-row: 1; }
#hosting .tb.vs .tb-vs { display: block; min-width: 0; position: sticky; top: calc(var(--stick) + 12px); align-self: start; }
#hosting .vs-g { display: grid; grid-template-columns: 116px repeat(var(--n), minmax(0, 1fr)); gap: 0 8px; }
#hosting .vs-col { min-width: 0; padding: 0 14px; border-radius: var(--r2); transition: background .12s; }
#hosting .vs-col:hover, #hosting .vs-col.hot { background: var(--wash2); }
/* one px short of the table's head, whose rule sits inside it, so the two rules meet across the gutter */
#hosting .vs-hd { display: flex; align-items: center; gap: 8px; height: calc(var(--th) - 1px); }
#hosting .vs-hd u { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
#hosting .vs-hd b { min-width: 0; font-size: var(--fs-row); line-height: 1.15; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#hosting .vs-x { flex: none; display: grid; place-items: center; width: 24px; height: 24px; margin: 0 -6px 0 auto; border-radius: var(--r3); color: var(--ink3); transition: color .12s, background .12s; }
#hosting .vs-x:hover { color: var(--ink); background: var(--wash3); }
/* a label reads on its figure's line, wherever the mark under the figure ends */
#hosting .vs-m { display: flex; flex-direction: column; justify-content: flex-start; gap: 2px; padding: 7px 0 5px; border-top: 1px solid var(--line); }
#hosting .vs-l .vs-m { padding-top: 11px; font-size: var(--fs-note); line-height: 16px; color: var(--ink2); }
#hosting .vs-col .vs-m > b { font-size: var(--fs-fig2); font-weight: 500; letter-spacing: -.012em; line-height: 24px; color: var(--ink); white-space: nowrap; font-variant-numeric: proportional-nums; }

#hosting .vs-m .dots { display: flex; flex-wrap: wrap; gap: 3px; }
#hosting .vs-m .dots u { width: 8px; height: 8px; }
#hosting .vs-m .lb { width: calc(var(--lbw, 100%) * var(--f)); max-width: 100%; height: 8px; }
#hosting .vs-m small { font-size: var(--fs-note); line-height: 15px; color: var(--ink2); }
#hosting .vs-m small.vn { font-size: var(--fs-tick); line-height: 14px; color: var(--ink3); overflow-wrap: anywhere; }

#hosting .chips { display: flex; flex-wrap: nowrap; gap: 3px; overflow: hidden; }
#hosting .chips code { padding: 1px 4px; border-radius: 3px; background: var(--wash2); font: 500 var(--fs-tick) var(--m); color: var(--ink2); }

@media (prefers-reduced-motion: no-preference) {
  #hosting .iso-l > * { animation: hs-fade .16s ease-out; }
  #hosting .enter .base .mi { animation: hs-pop .34s cubic-bezier(.2, .8, .2, 1) backwards; animation-delay: calc(var(--i) * 12ms); }
  #hosting .enter :is(.labs, .mside) { animation: hs-fade .4s ease-out .5s backwards; }
}
@keyframes hs-fade { from { opacity: 0; } }
@keyframes hs-pop { from { transform: scale(0); } }

/* name with its validators, the weighing and its bar, the other figure */
#hosting { --cols: 320px minmax(0, 1fr) 96px; --gap: 14px; --th: 30px; --slot: 42px; }
#hosting .band { grid-template-columns: 384px minmax(0, 1fr); column-gap: 10px; }
/* the map has the band's whole height; the count and the key stand in its top strip, and the land starts under them */
#hosting .where { position: relative; grid-template-rows: minmax(0, 1fr); row-gap: 0; }
#hosting .where .say { position: absolute; inset: 0 0 auto; z-index: 3; pointer-events: none; }
#hosting .ringbox { left: -3px; top: 18px; width: 188px; height: 188px; }
#hosting .names { width: 176px; }
#hosting .nl { font-size: var(--fs-note); }
#hosting .c-v { font-size: var(--fs-fig); }
#hosting .c-n { max-width: 124px; }
#hosting .centre { row-gap: 4px; }
#hosting .say p { font-size: var(--fs-row); line-height: 19px; }
#hosting .say p small { font-size: var(--fs-note); line-height: 17px; color: var(--ink); }
/* two lines in every view, so the ring and the map stay put when the weighing changes */
#hosting .say-who small { min-height: 17px; }
#hosting .say p.say-where small { width: fit-content; padding: 4px 10px; background: var(--card); border: 1px solid var(--line2); border-radius: var(--r3); font-size: var(--fs-row); }
#hosting .mkey { top: 3px; bottom: auto; font-size: var(--fs-tick); }
#hosting .mreg > div > u { display: none; }
/* the rail in a clear frame; the card's own colour keeps the land out from under it */
#hosting .mside { width: 170px; padding: 7px 10px 8px; border: 1px solid var(--line2); border-radius: var(--r3); background: var(--card); }
#hosting .mreg { background: none; }
#hosting .mhd { display: block; overflow: hidden; line-height: var(--pitch, 20px); text-overflow: ellipsis; }
#hosting .tr { padding-inline: 8px; }
#hosting .tb { padding: 0 8px; }
#hosting .th { margin: 0 -8px; padding: 0 16px; }
#hosting .th .k-a { padding-left: 22px; }
#hosting .tb.vs { grid-template-columns: 320px minmax(0, 1fr); column-gap: 16px; }
#hosting .tb.vs .tr { grid-template-columns: var(--vs1, 178px) minmax(0, 1fr); column-gap: 10px; }
#hosting .vs-g { grid-template-columns: 108px repeat(var(--n), minmax(0, 1fr)); gap: 0 4px; }
#hosting .vs-col { padding: 0 9px; }
#hosting .vs-col .vs-m > b { font-size: var(--fs-unit); }

/* the head's sentence and its controls share a line where they fit */
#hosting .sec-h { min-height: 36px; height: auto; }
#hosting .sec-h .ctl { margin-block: -2px; }
#hosting .sec-h p { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }

/* only a narrow page has these */
.sorter, .tray, #cost .ctab { display: none; }
[data-l]::before { display: none; }

/* no hover at all: the pick cannot wait for one, so the circle stands at rest in the rank's place, and it is a finger wide */
@media (hover: none) {
  #hosting .pk { opacity: 1; }
  #hosting .pk::after { content: ""; position: absolute; inset: -13px; }
  #hosting .ex::after { content: ""; position: absolute; inset: -13px; }
  #hosting .ex { position: relative; }
  #hosting .k-a em { opacity: 0; }
}

/* Clear picks alone from here on, so it keeps clear of the head's label */
@media (max-width: 1120px) {
  #hosting .ask3 { display: none; }
}
@media (max-width: 1100px) {
  #hosting .sec-h { flex-wrap: wrap; row-gap: 8px; }
  #hosting .mside { width: 156px; padding-inline: 9px; }
  #hosting .sec-h p { flex: 0 0 auto; }
  #hosting .ctl { flex: 0 0 100%; margin-left: 0; }
  #hosting { --cols: 260px minmax(0, 1fr) 96px; --gap: 12px; }
  #hosting .vs-g { grid-template-columns: 100px repeat(var(--n), minmax(0, 1fr)); }
  #hosting .vs-col { padding: 0 8px; }
  /* three columns leave a long name two lines, inside the head's height */
  #hosting .vs-hd { gap: 6px; }
  #hosting .vs-hd b { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: var(--fs-lab); line-height: 14px; white-space: normal; }
}

/* ---------- narrow: under 980 px the page is one column. Nothing here reaches the wider page. ---------- */
@media (max-width: 979px) {
  #tip { max-width: min(280px, calc(100vw - 16px)); max-height: calc(100dvh - 16px); overflow: hidden; }
  #tip:has(.cols) { max-width: min(420px, calc(100vw - 16px)); }

  /* every switch a 44 px row, the pill drawn inside it */
  .seg { height: 44px; padding: 0 3px; border: 0; }
  .seg::before { content: ""; position: absolute; inset: 4px 0; border: 1px solid var(--line); border-radius: 999px; pointer-events: none; }
  .seg i { top: 7px; bottom: 7px; }
  .bar { align-items: center; }
  .bar .seg { height: 44px; }
  .sec-h { flex-wrap: wrap; height: auto; min-height: 36px; column-gap: 12px; row-gap: 0; }
  .sec-h p { flex: 1 1 100%; white-space: normal; line-height: 18px; }

  /* the sort a table's heads gave: a list, and which way it runs */
  .sorter { display: flex; align-items: center; gap: 4px; }
  .sorter label { display: flex; align-items: center; gap: 8px; min-width: 0; }
  .sel { position: relative; display: block; min-width: 0; }
  .sel::after { content: ""; position: absolute; right: 13px; top: 50%; margin-top: -2px; border: 4px solid transparent; border-top-color: var(--ink2); border-bottom-width: 0; pointer-events: none; }
  .sel select { appearance: none; -webkit-appearance: none; display: block; max-width: 100%; height: 40px; margin: 2px 0; padding: 0 28px 0 12px; border: 1px solid var(--line); border-radius: 999px; background: none; font: 500 var(--fs-lab)/38px var(--f); color: var(--ink); cursor: pointer; }
  .sel option { background: var(--card); color: var(--ink); }
  .dir { flex: none; display: grid; place-items: center; width: 44px; height: 44px; color: var(--ink2); }
  .dir svg { transition: transform .18s; }
  .dir.asc svg { transform: rotate(180deg); }

  /* a figure says what it is from its own cell */
  [data-l]::before { content: attr(data-l); display: block; font-family: var(--f); font-size: var(--fs-tick); font-weight: 400; line-height: 14px; letter-spacing: 0; color: var(--ink3); white-space: normal; }

  /* top: the big tile over two rows of two */
  #top .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 300px repeat(2, 144px); }
  #top .main { grid-row: auto; grid-column: 1 / -1; }

  /* publishers: a row per account, the trace the width of the card; the bar's switch on its own row under the heading */
  #publishers .sec-h .ctl { flex: 1 1 100%; margin-left: 0; }
  #publishers .pb-wrap { padding: 0 var(--pad) 6px; }
  #publishers .pb-wrap::before, #publishers .pb-x { display: none; }
  #publishers :is(thead, tbody, tfoot, thead tr, tfoot tr) { display: block; }
  /* the key stands over the cards, under the sort, so the first strip already has its meaning */
  #publishers .pb-t { display: flex; flex-direction: column; }
  #publishers tfoot { order: -1; }
  #publishers tbody::before { display: none; }
  #publishers colgroup { display: none; }
  #publishers th:not(.a) { display: none; }
  #publishers th.a { display: block; height: auto; padding: 4px 0 8px; }
  /* the days stay over the cards as they scroll, so every card's trace has its dates */
  #publishers thead { position: sticky; top: var(--stick); z-index: 3; background: var(--card); }
  #publishers .pb-h > button:not(.pb-first) { display: none; }
  /* the dates alone on the pinned line, so the first day has the strip's start; tapping them says what the strips are */
  #publishers .pb-first { display: none; }
  #publishers .pb-ticks { grid-area: 1 / 1; position: relative; left: auto; right: auto; top: auto; cursor: help; }

  /* the last figure's name, Blobs left in escrow, is the longest, so its column keeps it whole and the other three share the rest */
  #publishers tbody tr[data-i] { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; grid-template-areas: "w w d d" "c c c c" "n m v l"; gap: 8px; align-items: end; padding: 12px 0; border-top: 1px solid var(--line); }
  #publishers tbody tr:hover td, #publishers tbody tr.on td { background: none; }
  #publishers tbody td, #publishers tbody td:first-child, #publishers tbody td:last-child { height: auto; padding: 0; border-radius: 0; text-align: left; white-space: normal; }
  #publishers tbody td.w { grid-area: w; align-self: start; }
  #publishers tbody td.a { display: contents; }
  #publishers td.a canvas { position: static; grid-area: c; height: 40px; }
  #publishers .pb-n { position: static; grid-area: n; transform: none; pointer-events: auto; }
  #publishers tbody td.d { grid-area: d; align-self: start; text-align: right; }
  #publishers tbody td[data-c="mib"] { grid-area: m; }
  #publishers tbody td[data-c="avg"] { grid-area: v; }
  #publishers tbody td[data-c="left"] { grid-area: l; }
  #publishers tbody td[data-c="avg"] .pb-d { justify-content: flex-start; }
  #publishers .pb-d b { display: none; }
  #publishers .pb-d span { display: inline; }
  #publishers .pb-d em { width: auto; margin-left: 6px; }

  /* the fold, a row to tap */
  #publishers tbody tr.o { margin: 2px -8px 0; padding: 12px 8px; border: 0; border-radius: var(--r3); background: var(--wash2); cursor: pointer; }
  #publishers tr.o td, #publishers tr.o:hover td { background: none; }
  #publishers tbody td.pb-none { height: 88px; text-align: center; }

  #publishers .pb-key td, #publishers .pb-key td:first-child { display: block; height: auto; padding: 2px 0 0; }
  #publishers .pb-key td:last-child { display: none; }
  #publishers .pb-rule { position: static; flex-wrap: wrap; gap: 4px 14px; min-height: 30px; margin: 4px 0 6px; }

  /* hosting: the ring and its key, then the map the width of the card, then the regions */
  #hosting .sec-h p { flex: 1 1 100%; overflow: visible; }
  #hosting .band { grid-template-columns: minmax(0, 1fr); row-gap: 20px; }
  #hosting .say .lead { white-space: normal; }
  #hosting .where { grid-template-rows: auto 1fr; row-gap: 12px; }
  #hosting .where .say { position: relative; inset: auto; }
  #hosting .say-who small:empty { display: none; }
  #hosting .whobox { max-width: 384px; }
  #hosting .mkey { position: static; flex-wrap: wrap; height: auto; margin-top: 4px; }
  /* the land's own shape, and over its north a lane of open sea a label high, where Europe's names stand clear of every coast */
  #hosting .mp { height: auto; overflow: visible; container-type: inline-size; }
  #hosting .mp canvas { position: relative; inset: auto; height: calc(100cqw / 2.27 + 26px); }
  #hosting .mp > svg { inset: 0 0 auto; height: calc(100cqw / 2.27 + 26px); }
  #hosting .mside { position: static; width: auto; margin-top: 8px; padding: 8px 12px; pointer-events: auto; }
  #hosting .mhd { height: 20px; line-height: 20px; }
  #hosting .mreg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; background: none; }
  #hosting .mreg > div { height: 40px; padding: 0 6px; margin: 0 -6px; }

  /* the rows: name and validators; the weighing with its bar; the other figure. Each figure says its own name */
  #hosting .tb { padding: 0 var(--pad); }
  #hosting .tb-list > .top { position: static; }
  /* the head keeps only the find field, the list's width, over the sort */
  #hosting .tb .tr.th, #hosting .tb.vs .tr.th { display: block; height: auto; margin: 0; padding: 10px 0 2px; border: 0; }
  #hosting .tb .tr.th > :not(.fd) { display: none; }
  #hosting .th > .fd, #hosting .tb.vs .th > .fd { grid-area: auto; width: 100%; max-width: none; height: 40px; margin: 0; border-color: var(--line); }
  #hosting .fd > svg { top: 12px; }
  #hosting .fd input { font-size: 16px; }
  #hosting .fd-x { position: relative; }
  #hosting .fd-x::after { content: ""; position: absolute; inset: -14px; }
  #hosting .sorter { padding: 6px 0; }
  #hosting .rw, #hosting .tb.vs .tr { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "a" "v" "n"; gap: 6px; align-items: end; }
  #hosting .rw { height: auto; padding: 8px; }
  #hosting .tr.rw { padding-inline: 0; border-top: 1px solid var(--line); border-radius: 0; }
  #hosting .lim { padding-inline: 0; }
  #hosting .rw:hover, #hosting .rw.lit { --rowbg: transparent; }
  #hosting .rw.rest, #hosting .tb.vs .rw.rest { margin-top: 2px; padding: 10px 8px; border: 0; border-radius: var(--r3); }
  #hosting .k-a { grid-area: a; grid-template-columns: 26px minmax(0, 1fr) auto; column-gap: 0; }
  #hosting .k-a > .pk, #hosting .k-a > .ex { grid-column: 1; grid-row: 1 / span 2; align-self: center; }
  #hosting .k-a > em { grid-column: 2; grid-row: 1; justify-self: start; text-align: left; }
  #hosting .k-a > .nm { grid-column: 2; grid-row: 1; padding-left: 0; }
  #hosting .tail .k-a > .nm, #hosting .lead .k-a > .nm { padding-left: 18px; }
  #hosting .k-a > code { grid-column: 3; }
  #hosting .k-a > .sub { grid-column: 2 / -1; }
  #hosting .rw .k-a em, #hosting .rw:hover .k-a em, #hosting .rw.on .k-a em { opacity: 1; }
  #hosting .rest .k-a > .nm { padding-left: 0; }

  /* a pick you can see and hit: 44 px around an 18 px circle */
  #hosting .pk, #hosting .ex { position: relative; width: 18px; height: 18px; opacity: 1; }
  #hosting .pk::after, #hosting .ex::after { content: ""; position: absolute; inset: -13px; }
  #hosting .pk { color: var(--ink3); }
  #hosting .pk::before { inset: 0; }

  #hosting .vb { grid-area: v; grid-template-columns: auto minmax(0, 1fr); column-gap: 8px; }
  #hosting .vv, #hosting .k-n, #hosting .tb.vs .k-n { display: flex; align-items: baseline; gap: 8px; justify-self: start; font-weight: 500; text-align: left; }
  #hosting :is(.vv, .k-n)::before { display: inline; }
  #hosting .k-n { grid-area: n; }

  /* the picks ride along at the foot of the screen for as long as the list lasts */
  #hosting .tray { position: sticky; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); z-index: 5; visibility: hidden; display: flex; align-items: center; gap: 6px; height: 0; }
  #hosting .tray.on { visibility: visible; height: 52px; margin-top: 10px; padding: 0 6px 0 14px; border: 1px solid var(--line2); border-radius: 999px; background: var(--tip-bg); box-shadow: var(--tip-shadow); }
  #hosting .tray-n { flex: 1 1 auto; min-width: 0; font-size: var(--fs-lab); color: var(--ink); white-space: nowrap; }
  #hosting .tray button { flex: none; height: 40px; padding: 0 13px; border: 0; border-radius: 999px; font-size: var(--fs-lab); font-weight: 500; }
  #hosting .tray .go { background: var(--t-on); color: var(--t-on-ink); }
  #hosting .tray .go[hidden] { display: none; }
  #hosting .tray .clear { color: var(--ink2); }
  /* the tray stands right over the panel, so the panel needs no second one */
  #hosting .vs-l .clear { visibility: hidden; }

  /* compare: under the list, across the card */
  #hosting .tb.vs { grid-template-columns: minmax(0, 1fr); row-gap: 16px; }
  #hosting .tb.vs .tb-vs { position: static; scroll-margin-top: calc(var(--stick) + 12px); }
  #hosting .tb.vs .tb-vs::before { display: none; }
  #hosting .vs-col .vs-m > b { font-size: var(--fs-row); }
  #hosting .vs-hd { height: 44px; }
  #hosting .clear { height: 44px; padding: 0 12px; border: 0; }
  #hosting .vs-x { width: 44px; height: 44px; margin: 0 -13px 0 auto; }
  #hosting .chips { flex-wrap: wrap; }
}

/* a phone: the title and the period on one line, the three parts on the next, and those stay pinned under the site's bar */
@media (max-width: 720px) {
  :host { --fs-page: 24px; --fs-hero: 38px; }
  #tip { z-index: 70; }
  .page { padding-top: 12px; }
  .sec { margin-top: 32px; scroll-margin-top: var(--stick); }
  .bar { top: calc(var(--hdr, 0px) - 48px); flex-wrap: wrap; column-gap: 8px; row-gap: 0; height: auto; transition: box-shadow .14s, top 220ms cubic-bezier(.2, .7, .2, 1); }
  .bar h1 { flex: 1 1 auto; line-height: 48px; }
  .bar.stuck h1 { font-size: var(--fs-page); letter-spacing: -.028em; cursor: default; }
  .bar .ctl { flex: none; align-self: center; margin-left: 0; }
  .bar .ctl-l { padding: 14px 0; }
  .bar.hs .ctl > :not(.hold) { visibility: visible; }
  .bar.hs .hold { display: none; }
  /* the parts hang under the bar, so they take no room before the pin and the page does not move when they come */
  .jump { position: absolute; top: 100%; left: 0; right: 0; display: flex; margin-left: 0; border-radius: 0; background: var(--bg); }
  .bar.stuck .jump { box-shadow: 0 1px 0 var(--line); }
  .jump button { flex: 1 1 auto; padding: 0 4px; }
  .seg button { min-width: 44px; padding: 0 9px; }
  .sel select { font-size: 16px; }
  .bar + .sec { margin-top: 12px; }
  /* the pinned bar sits under the site's header and the parts hang under it: the days stand under the parts, and move with them */
  #publishers thead { top: calc(var(--hdr, 0px) + 44px); transition: top 220ms cubic-bezier(.2, .7, .2, 1); }
  /* the title's line is 48 px tall on a phone, so the time steps up to sit 4 px under it */
  #top .upd { margin-top: -8px; }

  /* top: one tile to a line where two would clip */
  #top .grid { grid-template-rows: auto repeat(2, 144px); }
  #top .main { display: flex; flex-direction: column; padding-bottom: 0; }
  #top .main h3 span { position: static; display: block; margin-top: 2px; }
  #top .main h3 .swap { position: relative; margin: 0 0 0 8px; }
  /* a finger's reach around the switch, with nothing drawn */
  #top .main h3 .swap::after { content: ""; position: absolute; inset: -10px -6px; }
  #top .hero { flex-wrap: wrap; gap: 8px 12px; }
  #top .main .plot { position: relative; flex: none; width: calc(100% + 2 * var(--pad)); height: 190px; margin: 8px calc(-1 * var(--pad)) 0; }

  /* cost: the curve, and its columns as a table under it */
  #cost .card { height: auto; padding-bottom: 12px; }
  #cost .fig { flex-wrap: wrap; font-size: var(--fs-fig2); line-height: 28px; }
  #cost .pair { display: inline-flex; align-items: baseline; white-space: nowrap; }
  #cost .pair:last-child em:first-child { margin-left: 0; }
  #cost .plot { flex: none; height: 240px; margin-top: 10px; }
  #cost .ctab { display: block; margin-top: 14px; }
  #cost table { width: 100%; border-collapse: collapse; table-layout: fixed; }
  #cost th { padding: 0 0 8px 8px; font-size: var(--fs-tick); font-weight: 400; line-height: 14px; text-align: right; vertical-align: bottom; color: var(--ink2); }
  #cost td { height: 40px; padding: 0 0 0 8px; border-top: 1px solid var(--line); font-size: var(--fs-lab); text-align: right; color: var(--ink2); }
  #cost :is(th, td):first-child { padding-left: 0; text-align: left; }
  #cost th:first-child { width: 22%; }
  #cost td:first-child { color: var(--ink); }
  #cost td.lead { color: var(--ink); font-weight: 500; }
  #cost tr.lit td, #cost tbody tr:hover td { background: var(--wash2); }
  #cost .dt { text-decoration: underline dotted var(--rule4); text-decoration-thickness: 1px; text-underline-offset: 3px; }

  /* publishers: the switch's row as Hosting's, its label then the pill */
  #publishers .sec-h .ctl { gap: 10px; margin-block: 4px 8px; }

  /* hosting */
  #hosting .sec-h .ctl { flex: 1 1 100%; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 10px; align-items: center; margin-block: 4px 8px; }
  #hosting .sec-h .ctl .seg { justify-self: start; }
  #hosting .seg + .ctl-l { margin-left: 0; }
  #hosting .band { padding-inline: var(--pad); }
  #hosting .whobox { display: grid; grid-template-columns: 148px minmax(0, 1fr); column-gap: 14px; align-items: center; height: auto; max-width: none; }
  #hosting .ringbox { position: relative; left: 0; top: 0; width: 148px; height: 148px; }
  #hosting .ldrs { display: none; }
  #hosting .names { position: static; width: auto; }
  #hosting .nl { position: relative; height: auto; min-height: 22px; margin-top: 0; }
  #hosting .nl span { white-space: normal; overflow: visible; line-height: 15px; overflow-wrap: anywhere; }
  #hosting .c-v { font-size: var(--fs-fig2); }
  #hosting .c-n { max-width: 92px; font-size: var(--fs-tick); line-height: 14px; }
  #hosting .c-c { font-size: var(--fs-tick); line-height: 13px; }
  #hosting .c-c b { font-size: var(--fs-note); }
  #hosting .centre { row-gap: 2px; }
  #hosting .mreg { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }

  /* compare: a line per figure, the picks in columns under it, so three still fit a 320 px screen */
  #hosting .vs-g { grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 0 8px; }
  #hosting .vs-l, #hosting .vs-col { display: contents; }
  #hosting .vs-l .vs-hd { display: none; }
  #hosting .vs-col .vs-hd { order: 1; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; height: auto; gap: 0; padding-bottom: 8px; }
  #hosting .vs-l .vs-m { grid-column: 1 / -1; padding: 10px 0 0; border-top: 1px solid var(--line); }
  #hosting .vs-col .vs-m { min-width: 0; padding: 2px 0 10px; border-top: 0; }
  #hosting .vs-m.vp { --o: 2; } #hosting .vs-m.hosts { --o: 4; } #hosting .vs-m.geo { --o: 6; }
  #hosting .vs-l .vs-m { order: var(--o); }
  #hosting .vs-col .vs-m { order: calc(var(--o) + 1); }
  #hosting .vs-col .vs-hd b { grid-column: 1 / -1; grid-row: 2; display: block; font-size: var(--fs-lab); line-height: 16px; white-space: normal; overflow-wrap: anywhere; }
  #hosting .vs-x { justify-self: end; margin: 0 -14px 0 0; }
}

/* two tiles side by side stop fitting their notes and Escrow's key here */
@media (max-width: 520px) {
  #top .grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; grid-auto-rows: 144px; }
  #top .main { grid-column: auto; }
}

/* a phone's cards: a shorter strip, the four figure names on one line, the key's five marks in one row across the card */
@media (max-width: 599px) {
  #publishers tbody tr[data-i] { column-gap: 6px; }
  #publishers td.a canvas { height: 28px; }
  #publishers tbody [data-l]::before { overflow: hidden; line-height: 12px; text-overflow: ellipsis; white-space: nowrap; }
  #publishers .pb-who code { line-height: 12px; }
  #publishers .pb-who b span { white-space: nowrap; }
  #publishers .pb-rule { flex-wrap: nowrap; justify-content: space-between; gap: 0 8px; min-height: 26px; }
  #publishers .pb-rule span { gap: 5px; }
}

/* four periods beside the title leave no room for their label */
@media (max-width: 379px) {
  .bar .ctl-l { display: none; }
}

/* the smallest phones: Publishers' four small figures two by two */
@media (max-width: 359px) {
  :host { --fs-page: 22px; --pad: 14px; }
  #publishers tbody tr[data-i] { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "w w" "c c" "d d" "n m" "v l"; }
  #publishers tbody td.d { text-align: left; }
  #publishers tbody td.d .pb-d { justify-content: flex-start; }
  .seg button { min-width: 40px; padding: 0 7px; }
  #hosting .tray button { padding: 0 9px; }
  #hosting .whobox { grid-template-columns: 140px minmax(0, 1fr); column-gap: 10px; }
  #hosting .ringbox { width: 140px; height: 140px; }
}
