/* personalaiagents.io: white ground, data first, yellow only in small places, one little character per agent.
   Fonts are self-hosted with font-display: optional, so text never reflows after load. */
@font-face { font-family: Figtree; src: url(figtree.woff2) format("woff2"); font-weight: 400 800; font-display: optional; }
@font-face { font-family: Fredoka; src: url(fredoka.woff2) format("woff2"); font-weight: 500 600; font-stretch: 75% 125%; font-display: optional; }
:root {
  --paper: #fff;
  --band: #f6f6f2;
  --ink: #161616;
  --ink-2: #47433d;
  --ink-3: #6a645c;
  --rule: #e7e4dc;
  --rule-2: #cbc6bb;
  --sun: #ffd43b;
  --sun-soft: #fff4c7;
  --sun-edge: #e5b400;
  --good: #0b7a4b;
  --mixed: #8a5d00;
  --poor: #c0392b;
  --gut: 16px;
  --r: 14px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --head: "Fredoka", "Figtree", system-ui, sans-serif;
}
@media (min-width: 1024px) { :root { --gut: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 72px;
  scrollbar-color: var(--rule-2) transparent;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Figtree, system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  font-variant-numeric: tabular-nums lining-nums;
  caret-color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--sun); color: var(--ink); }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .22em;
  text-decoration-color: var(--rule-2);
}
a, button, summary, select { touch-action: manipulation; }
button { font: inherit; color: inherit; background: none; border: 0; margin: 0; padding: 0; cursor: pointer; }
button, summary, .btn { -webkit-user-select: none; user-select: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
svg { flex: none; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (hover: hover) and (pointer: fine) {
  a:hover { text-decoration-color: var(--ink); }
}

.wrap {
  max-width: 1216px;
  margin-inline: auto;
  padding-left: max(var(--gut), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gut), env(safe-area-inset-right, 0px));
}

/* ---------- top bar: the only place the site's own little sun lives ---------- */
.top { position: relative; z-index: 10; background: var(--paper); border-bottom: 1px solid var(--rule); }
.top .wrap { display: flex; align-items: center; gap: 20px; min-height: 56px; }
.brand { display: inline-flex; align-items: center; gap: 8px; margin-right: auto; font-family: var(--head); font-size: 19px; font-weight: 600; letter-spacing: -.005em; text-decoration: none; white-space: nowrap; }
.brand .io { color: var(--ink-3); font-weight: 500; }
.brand .mark { width: 28px; height: 28px; }
.nav { display: none; }
.mnav summary { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -11px; list-style: none; cursor: pointer; border-radius: 12px; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav summary:active { background: var(--band); }
.mnav[open] summary .bars { display: none; }
.mnav summary .close { display: none; }
.mnav[open] summary .close { display: block; }
.mnav-list { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--rule); padding: 6px max(var(--gut), env(safe-area-inset-right, 0px)) 12px max(var(--gut), env(safe-area-inset-left, 0px)); box-shadow: 0 14px 24px -18px rgba(22, 22, 22, .35); }
.mnav-list a { display: flex; align-items: center; min-height: 48px; padding: 0 12px; border-radius: 12px; font-weight: 600; text-decoration: none; }
.mnav-list a[aria-current] { background: var(--sun); }
.mnav-list a:active { background: var(--band); }
@media (min-width: 1024px) {
  .nav { display: flex; gap: 4px; }
  .nav a { display: block; padding: 8px 14px; border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--ink-2); text-decoration: none; }
  .nav a[aria-current] { color: var(--ink); background: var(--sun); }
  .mnav { display: none; }
}
@media (hover: hover) and (pointer: fine) {
  .nav a:not([aria-current]):hover { color: var(--ink); background: var(--band); }
}

/* ---------- shared type ---------- */
.crumb { padding-top: 14px; font-size: 13.5px; color: var(--ink-3); }
.crumb a { color: var(--ink-2); }
.lede { margin-top: 10px; color: var(--ink-2); max-width: 56ch; text-wrap: pretty; }
.meta { margin-top: 8px; font-size: 13px; color: var(--ink-3); }
.sub { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 400; line-height: 1.3; color: var(--ink-3); }
.na { color: var(--ink-3); font-weight: 400; }
.host { color: var(--ink-3); font-weight: 500; }
.per { font-weight: 400; color: var(--ink-3); }
.d-only { display: none; }
@media (min-width: 1024px) {
  .m-only { display: none; }
  .d-only { display: inline; }
}

.ge640 { display: none; }
@media (min-width: 640px) {
  .lt640 { display: none; }
  .ge640 { display: inline; }
}

/* An agent's name with its character. */
.who { display: inline-flex; align-items: center; gap: 8px; min-width: 0; vertical-align: middle; }
.who > span { min-width: 0; }

/* Rows that stand for a page open it from anywhere in the row. */
tr[data-href] { cursor: pointer; }
tr[data-href]:active > * { background: var(--band); }
@media (hover: hover) and (pointer: fine) {
  tr[data-href]:hover > * { background: #fafaf6; }
}
/* Inline links get a 45px hit area without moving the layout. The extra height hangs BELOW the text (2px above,
   28px below): two links stacked on neighbouring lines never cover each other's words, because the lower one is
   painted later (position: relative) and its own top padding is too thin to reach the line above. */
.tbl td a, .tbl th a, .crumb a, .log b a, .thread > a, .cmp-row a, .cmp-head .nm a, .note a, .specs dd a, .sec-h .side a, .status a,
.sources li > a, .cmp-note a, .mini figcaption a { padding-block: 2px 28px; position: relative; }
.quotes .src a { padding-block: 2px 28px; position: relative; }

/* The best value: a yellow swipe, only on reliable store stars. */
mark, .best {
  color: var(--ink);
  padding: 1px 4px;
  margin: 0 -4px;
  border-radius: 6px;
  background: var(--sun);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.chg { font-weight: 700; white-space: nowrap; }
.chg.pos { color: var(--good); }
.chg.neg { color: var(--poor); }
.band { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 600; }
.band.good { color: var(--good); }
.band.mixed { color: var(--mixed); }
.band.poor { color: var(--poor); }
.i-star { width: 11px; height: 11px; margin: 0 2px 0 0; vertical-align: -1px; }
.ext { width: 10px; height: 10px; margin-left: 3px; vertical-align: 0; color: var(--ink-3); }

/* ---------- sections ---------- */
.sec { margin-top: 44px; min-width: 0; }
.sec-h { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; padding-top: 14px; margin-bottom: 8px; border-top: 1px solid var(--rule); }
.sec-h h2 { font-family: var(--head); font-size: 23px; line-height: 1.15; font-weight: 600; letter-spacing: -.005em; }
.sec-h .side { margin-left: auto; font-size: 13px; color: var(--ink-3); }
.h3 { margin: 24px 0 4px; font-family: var(--head); font-size: 17px; line-height: 1.3; font-weight: 600; }
.note { margin-top: 10px; font-size: 13px; line-height: 1.45; color: var(--ink-3); max-width: 70ch; }
@media (min-width: 1024px) {
  .sec { margin-top: 64px; }
  .sec-h { margin-bottom: 10px; }
  .sec-h h2 { font-size: 27px; }
}

/* ---------- tables ---------- */
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.3; }
.tbl th, .tbl td { padding: 10px 6px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule); }
.tbl th:first-child, .tbl td:first-child { padding-left: 0; }
.tbl th:last-child, .tbl td:last-child { padding-right: 0; }
.tbl thead th { padding-top: 6px; padding-bottom: 8px; vertical-align: bottom; border-bottom: 1.5px solid var(--ink); font-size: 12px; line-height: 1.2; font-weight: 700; color: var(--ink-2); }
.tbl tbody th { font-weight: 500; color: var(--ink-2); }
.tbl .num { text-align: right; }
.tbl .v { font-weight: 700; white-space: nowrap; }
.tbl td .v { display: block; }
/* Names in tables look like the links they are: the row opens the agent's page. */
.tbl .c-agent .who > span > a, .tbl .c-agent > a { font-size: 15px; font-weight: 700; text-decoration: underline; text-decoration-color: var(--rule-2); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.tbl .c-rank { width: 28px; color: var(--ink-3); }
.tbl tr.dim td { color: var(--ink-3); }
.tbl thead th .unit { display: block; font-weight: 500; color: var(--ink-3); }
@media (hover: hover) and (pointer: fine) {
  .tbl .c-agent a:hover { text-decoration: underline; }
}

/* sortable heads */
.tbl th[data-sort] button { display: inline-flex; align-items: flex-end; gap: 3px; min-height: 44px; min-width: 44px; margin: -12px 0 -8px; padding: 12px 0 8px; font-weight: 700; text-align: inherit; border-radius: 6px; }
.tbl th.num[data-sort] button { justify-content: flex-end; }
.tbl th.num[data-sort] button { justify-content: flex-end; }
.tbl th[data-sort] button:active { background: var(--band); }
.caret { width: 7px; height: 10px; margin-bottom: 2px; }
.caret path { fill: var(--rule-2); }
.tbl th[aria-sort] button { color: var(--ink); }
/* The column the table is sorted by: its label underlined in yellow, its arrow always shown (phones too). */
.tbl th[aria-sort] .lt { text-decoration: underline; text-decoration-color: var(--sun-edge); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.tbl th[aria-sort="descending"] .caret .dn, .tbl th[aria-sort="ascending"] .caret .up { fill: var(--ink); }
.tbl th .lbl { display: block; white-space: nowrap; }
@media (hover: hover) and (pointer: fine) {
  .tbl th[data-sort] button:hover { color: var(--ink); }
}

/* the 13 */
.t13 { table-layout: fixed; }
.t13 .c-agent .sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t13-note { margin: 0 0 6px; }
.t13 .c-ios, .t13 .c-play { width: 80px; }
.t13 .c-from { width: 66px; }
.t13 .c-mood { width: 62px; padding-right: 0; }
@media (max-width: 639px) {
  .t13 th.c-from .caret, .t13 th.c-mood .caret { display: none; }
  .t13 th.c-from[aria-sort] .caret, .t13 th.c-mood[aria-sort] .caret { display: inline-block; }
  .t13 .c-from, .t13 .c-mood { width: 70px; }
}
.t13 .m, .t13 .d { display: none; }
.t13 th.c-agent, .t13 td.c-agent { padding-left: 0; }
.t13 td.c-agent .who { display: flex; align-items: flex-start; }
.t13 td.c-agent .who .cr { margin-top: 1px; }
.t13 .gp-sub { margin-top: 3px; white-space: nowrap; }
.t13 .gp-sub mark { margin-left: 2px; }
.t13 .gp-sub .na { white-space: normal; }
@media (min-width: 640px) {
  .t13 .m { display: table-cell; }
  .t13 .gp-sub { display: none; }
  .t13 .c-red { width: 96px; }
  .t13 .c-x { width: 80px; }
}
@media (min-width: 1024px) {
  .t13 { font-size: 14.5px; }
  .t13 .d { display: table-cell; }
  .t13 th.c-agent, .t13 td.c-agent { padding-left: 6px; }
  .t13 .c-rank { width: 34px; }
  .t13 .c-app { width: 118px; }
  .t13 .c-ios, .t13 .c-play { width: 100px; }
  .t13 .c-inst { width: 78px; }
  .t13 .c-red { width: 118px; }
  .t13 .c-x { width: 84px; }
  .t13 .c-yt { width: 90px; }
  .t13 .c-mood { width: 80px; }
  .t13 .c-from { width: 88px; }
  .t13 th, .t13 td { padding-top: 9px; padding-bottom: 9px; }
}
/* 1024–1199 (iPad landscape, a laptop window with a sidebar): drop App, Installs and YouTube so the agent column
   keeps its room and the page never scrolls sideways; the to-do card goes, the crew wraps. */
@media (min-width: 1024px) and (max-width: 1199px) {
  .t13 .w { display: none; }
  .todo { display: none; }
  .lineup { flex-wrap: wrap; justify-content: flex-end; }
  .lineup .cr { width: 26px; height: 26px; }
}
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; font-size: 12.5px; color: var(--ink-3); }
.legend .best { color: var(--ink); margin: 0; }
.legend.key { margin: 0 0 8px; }

/* ---------- home ---------- */
.home .hero { padding-top: 20px; }
.home .hero h1 { font-family: var(--head); font-size: 31px; line-height: 1.08; font-weight: 600; letter-spacing: -.01em; text-wrap: balance; max-width: 16ch; }
.home .s-agents { margin-top: 26px; }
.home .s-agents .sec-h { border-top: 0; padding-top: 0; }
.crew-side { display: none; }
.pairs li a { display: flex; align-items: center; gap: 8px; min-height: 48px; border-bottom: 1px solid var(--rule); font-weight: 700; text-decoration: none; }
.pairs li a .vs { color: var(--ink-3); font-weight: 500; }
.pairs li a > svg:last-child { margin-left: auto; color: var(--ink-3); }
.pairs li a:active { background: var(--band); }
@media (min-width: 1024px) {
  .home { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 64px; grid-template-areas: "hero crew" "agents agents" "baro pairs" "baro best" "week week"; }
  .home .hero { grid-area: hero; padding-top: 34px; }
  .home .hero h1 { font-size: 50px; max-width: 14ch; }
  .home .hero .lede { font-size: 18px; }
  .home .s-agents { grid-area: agents; margin-top: 30px; }
  .home .s-baro { grid-area: baro; }
  .home .s-pairs { grid-area: pairs; }
  .home .s-best { grid-area: best; margin-top: 40px; }
  .home .s-week { grid-area: week; }
  .crew-side { grid-area: crew; display: grid; justify-items: end; align-content: end; gap: 14px; padding-top: 28px; }
}
@media (hover: hover) and (pointer: fine) {
  .pairs li a:hover { background: var(--band); }
}

/* the crew lineup and the little to-do card (desktop home header) */
.lineup { display: flex; gap: 2px; align-items: flex-end; }
.lineup > span { display: block; line-height: 0; }
.todo { width: 272px; padding: 12px 16px 10px; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r); }
.todo .tt { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; font-family: var(--head); font-size: 16px; font-weight: 600; }
.todo .tt span { font-family: Figtree, sans-serif; font-size: 12.5px; font-weight: 500; color: var(--ink-3); }
.todo li { --d: 0s; display: flex; align-items: center; gap: 10px; padding: 4px 0; font-size: 14px; }
/* Plays once after load (each errand ticks off in turn) and stays done. No strike-through: the numbers are the news. */
/* The ticked state is the real one; the animation only plays the way in, so without motion it is simply done. */
.todo .box { display: grid; place-items: center; width: 18px; height: 18px; border: 1.5px solid var(--ink); border-radius: 6px; background: var(--sun); animation: todo-box .3s var(--d) 1 backwards; }
.todo .box svg { width: 12px; height: 12px; animation: todo-chk .35s var(--d) 1 backwards; }
@keyframes todo-box { from { background: var(--paper); } to { background: var(--sun); } }
@keyframes todo-chk { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .todo .box, .todo .box svg { animation: none; } }

/* barometer */
.baro .c-meter { width: 32%; padding-top: 15px; }
.baro .c-idx { width: 44px; }
.baro .c-chg { width: 52px; white-space: nowrap; }
.baro .who { align-items: flex-start; }
.baro .idx { font-family: var(--head); font-size: 18px; font-weight: 600; }
.meter { position: relative; display: block; height: 8px; border-radius: 99px; background: var(--band); }
.meter i { position: absolute; inset: 0 auto 0 0; border-radius: 99px; background: var(--ink-2); }
.meter.good i { background: var(--good); }
.meter.mixed i { background: var(--mixed); }
.meter.poor i { background: var(--poor); }
.meter::before, .meter::after { content: ""; position: absolute; top: -3px; bottom: -3px; width: 1.5px; border-radius: 1px; background: var(--ink); }
.meter::before { left: 40%; }
.meter::after { left: 55%; }

/* log lists: this week, what changed */
.log li { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; padding: 10px 0 11px; border-bottom: 1px solid var(--rule); }
.log .k { font-size: 12px; font-weight: 700; color: var(--ink-2); line-height: 1.6; }
.log b { font-size: 14.5px; font-weight: 700; }
.log p { grid-column: 1 / -1; margin-top: 2px; font-size: 14.5px; line-height: 1.45; }
@media (min-width: 1024px) {
  .log li { grid-template-columns: 110px 190px minmax(0, 1fr); align-items: baseline; padding: 12px 0; }
  .log li .who { align-self: center; }
  .log p { grid-column: auto; margin-top: 0; }
}


/* ---------- product ---------- */
.ph { padding-top: 8px; }
.ph-id { display: flex; align-items: center; gap: 14px; }
.ph-id .cr { width: 80px; height: 80px; }
@media (min-width: 1024px) { .ph-id .cr { width: 112px; height: 112px; } }
.ph h1 { font-family: var(--head); font-size: 44px; line-height: 1; font-weight: 600; letter-spacing: -.01em; }
.ph .by { margin-top: 6px; font-size: 15px; color: var(--ink-2); }
.ph .about { margin-top: 12px; max-width: 62ch; }
.ph .about p + p { margin-top: 2px; }
.acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.acts .btn { justify-content: center; }
.acts .pri { grid-column: 1 / -1; }
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 46px; padding: 0 18px;
  border: 1.5px solid var(--ink); border-radius: 14px;
  background: var(--paper);
  font-family: var(--head); font-size: 16px; font-weight: 600; text-decoration: none;
  transition: background-color .12s var(--ease), transform .12s var(--ease);
}
.btn .ext { color: currentColor; }
.btn.pri { background: var(--sun); }
.btn:active { transform: scale(.98); background: var(--band); }
.btn.pri:active { background: var(--sun-edge); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--band); }
  .btn.pri:hover { background: #ffcc1a; }
}

.specs { display: grid; grid-template-columns: 1fr 1fr; margin-top: 20px; border-top: 1px solid var(--rule); }
.specs > div { min-width: 0; padding: 10px 10px 12px 0; border-bottom: 1px solid var(--rule); }
.specs > div:nth-child(odd) { border-right: 1px solid var(--rule); }
.specs > div:nth-child(even) { padding-left: 12px; padding-right: 0; }
.specs > div.price { padding-left: 12px; margin-top: 8px; border: 1.5px solid var(--sun-edge); border-radius: var(--r); background: var(--sun-soft); }
.specs > div.price + div { margin-top: 8px; }
.specs dt { font-size: 12px; font-weight: 700; color: var(--ink-2); }
.specs dd b { display: block; margin-top: 2px; font-family: var(--head); font-size: 27px; line-height: 1.1; font-weight: 600; letter-spacing: -.005em; }
.specs dd span { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.3; color: var(--ink-3); }

.toc { display: flex; flex-wrap: wrap; gap: 0 6px; margin: 12px 0 0 -10px; font-size: 14px; }
.toc a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.toc a:active { background: var(--band); }

.kv th { width: 42%; font-size: 13px; }
.kv td { font-weight: 500; }
.caps .c-ic { width: 26px; padding-right: 0; }
.caps th { width: 40%; }
.yes { color: var(--good); }
.no { color: var(--poor); }
.caps svg { vertical-align: -3px; }
.cols { display: grid; gap: 0 40px; }
.cols > * { min-width: 0; }

.plans th { width: 32%; font-weight: 700; color: var(--ink); }
.plans .v { font-size: 16px; }
.hist s { color: var(--ink-3); text-decoration-thickness: 1px; }

.moodnum { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-top: 6px; }
.moodnum b { font-family: var(--head); font-size: 46px; line-height: 1; font-weight: 600; }
.moodnum .of { color: var(--ink-3); font-size: 15px; }
.moodnum .band { display: inline; margin: 0; font-size: 15px; }
.moodnum .chg { font-size: 15px; }
.moodnum .in { font-size: 13px; color: var(--ink-3); }
.chart { display: block; width: 100%; margin-top: 10px; overflow: visible; }
.chart .g { stroke: var(--rule-2); stroke-width: 1; stroke-dasharray: 2 4; }
.chart .ax { stroke: var(--ink); stroke-width: 1; }
.chart text { font-family: Figtree, sans-serif; font-size: 12px; fill: var(--ink-3); font-variant-numeric: tabular-nums; }
.chart .ln { fill: none; stroke: var(--ink); stroke-width: 2.25; stroke-linejoin: round; stroke-linecap: round; }
.chart .dot { fill: var(--sun); stroke: var(--ink); stroke-width: 2; }

.share { display: inline-flex; align-items: center; justify-content: flex-end; gap: 8px; }
.share i { display: block; height: 8px; width: calc(var(--w) * 1px); border-radius: 99px; background: var(--ink); }
.themes .c-share { width: 128px; }

.thread { padding: 10px 0 12px; border-bottom: 1px solid var(--rule); }
.thread a { font-size: 16px; line-height: 1.35; font-weight: 700; }
.thread p { margin-top: 4px; font-size: 13px; color: var(--ink-3); }

.quotes li { padding: 12px 0; border-bottom: 1px solid var(--rule); }
.quotes q { display: block; font-size: 16px; line-height: 1.5; quotes: "“" "”"; text-wrap: pretty; }
.quotes .src { margin-top: 6px; font-size: 12.5px; line-height: 1.5; color: var(--ink-3); }
.quotes .src .stars { margin-right: 6px; vertical-align: -1px; }
.stars { display: inline-flex; gap: 1px; }
.stars svg { width: 11px; height: 11px; }
.stars .on { color: var(--ink); }
.stars .off { color: var(--rule-2); }

.vids .c-vid { display: flex; gap: 10px; align-items: flex-start; }
.vids .c-vid svg { margin-top: 1px; color: var(--ink); }
.vids .c-vid a, .vids .c-vid .t { font-weight: 600; font-size: 14.5px; }
.vids .c-views { width: 64px; }
.vids tr.ours svg { color: var(--ink-3); }

.alts .c-ios, .alts .c-play { width: 76px; }
.alts .c-mood { width: 64px; }
.alts table { table-layout: fixed; }
.alts .sub a { color: var(--ink-2); }
.alts tr.self td { background: #fcfcf8; }
.alts tr.self .c-agent a { text-decoration: none; }

@media (min-width: 1024px) {
  .ph { padding-top: 16px; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 40px; align-items: end; }
  .ph-id { gap: 20px; }
  .ph h1 { font-size: 64px; }
  .ph .acts { display: flex; margin-top: 0; justify-content: flex-end; }
  .kv th { width: 30%; }
  .specs { grid-template-columns: repeat(6, minmax(0, 1fr)); margin-top: 28px; border-top: 0; gap: 0; }
  .specs > div, .specs > div:nth-child(odd), .specs > div:nth-child(even) { padding: 12px 16px 14px; border: 0; border-left: 1px solid var(--rule); }
  .specs > div.price { margin: 0 12px 0 0; padding: 12px 16px 14px; border: 1.5px solid var(--sun-edge); }
  .specs > div.price + div { margin-top: 0; border-left: 0; }
  .specs dd b { font-size: 32px; }
  .layout { display: grid; grid-template-columns: 176px minmax(0, 1fr); column-gap: 56px; align-items: start; }
  .toc { position: sticky; top: 24px; flex-direction: column; gap: 2px; margin: 64px 0 0; padding-top: 14px; border-top: 1px solid var(--rule); }
  .toc a, .toc a + a { min-height: 38px; margin-left: -12px; padding: 0 12px; font-weight: 600; color: var(--ink-2); }
  .cols { grid-template-columns: 1fr 1fr; }
  .alts .c-ios, .alts .c-play, .alts .c-mood { width: 120px; }
  .vids .c-views { width: 96px; }
}
@media (hover: hover) and (pointer: fine) {
  .toc a:hover { color: var(--ink); background: var(--band); }
}

/* ---------- A vs B ---------- */
.vs-h { padding-top: 8px; }
.vs-chars { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.vs-chars .cr { width: 64px; height: 64px; }
.vs-chars .cr:last-child { transform: scaleX(-1); }
@media (min-width: 1024px) { .vs-chars .cr { width: 88px; height: 88px; } }
.vs-disc { display: grid; place-items: center; width: 40px; height: 40px; border: 1.5px solid var(--ink); border-radius: 50%; background: var(--sun); font-family: var(--head); font-size: 16px; font-weight: 600; }
.vs-h h1 { font-family: var(--head); font-size: 44px; line-height: 1; font-weight: 600; letter-spacing: -.01em; }
.vs-h h1 span { font-weight: 400; color: var(--ink-3); }
.cmp { margin-top: 22px; }
.cmp-head { position: sticky; top: 0; z-index: 5; display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); border-top: 1px solid var(--rule); border-bottom: 1.5px solid var(--ink); }
.cmp-head .nm { display: flex; align-items: center; gap: 8px; padding: 8px 12px 8px 0; font-family: var(--head); font-size: 19px; line-height: 1.1; font-weight: 600; }
.cmp-head .nm a { text-decoration: none; }
.cmp-head .nm .sub { font-family: Figtree, sans-serif; font-weight: 500; }
.cmp-head .nm + .nm { padding-left: 12px; border-left: 1px solid var(--rule); }
.cmp-head .corner { display: none; }
.cmp-sec h2 { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; padding: 26px 0 6px; border-bottom: 1.5px solid var(--ink); font-family: var(--head); font-size: 19px; line-height: 1.2; font-weight: 600; }
.cmp-sec#short h2 { padding-top: 14px; }
.cmp-row { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--rule); font-size: 14.5px; line-height: 1.4; }
.cmp-row .lab { grid-column: 1 / -1; padding: 9px 0 0; font-size: 12px; font-weight: 700; color: var(--ink-2); }
.cmp-row .a, .cmp-row .b { min-width: 0; padding: 3px 0 10px; }
.cmp-row .a { padding-right: 12px; }
.cmp-row .b { padding-left: 12px; border-left: 1px solid var(--rule); }
.cmp-row .v { font-weight: 700; }
.cmp-row .v svg { vertical-align: -3px; }
.cmp-row .v .i-star { vertical-align: -1px; }
.cmp-row a { overflow-wrap: anywhere; }
.cmp-note { margin-top: 12px; font-size: 14px; line-height: 1.5; color: var(--ink-2); max-width: 70ch; }
.cmp-note b { color: var(--ink); }
.reads li { border-bottom: 1px solid var(--rule); }
.reads a { display: flex; gap: 10px; align-items: flex-start; padding: 11px 0; text-decoration: none; }
.reads a .t { font-weight: 700; text-decoration: underline; text-decoration-color: var(--rule-2); text-underline-offset: .22em; }
.reads a svg { margin-top: 1px; }
.reads a:active { background: var(--band); }
@media (min-width: 1024px) {
  .vs-h { padding-top: 16px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
  .vs-h .vs-text { min-width: 0; }
  .vs-chars { margin: 0; }
  .vs-disc { width: 48px; height: 48px; font-size: 19px; }
  .vs-h h1 { font-size: 64px; }
  .cmp { margin-top: 30px; }
  .cmp-head, .cmp-row { grid-template-columns: 26% minmax(0, 1fr) minmax(0, 1fr); }
  .cmp-head .corner { display: block; padding: 12px 0; font-size: 12px; font-weight: 700; color: var(--ink-3); align-self: end; }
  .cmp-head .nm { padding: 10px 16px; font-size: 22px; border-left: 1px solid var(--rule); }
  .cmp-head .nm + .nm { padding-left: 16px; }
  .cmp-row .lab { grid-column: auto; padding: 12px 16px 12px 0; font-size: 13px; }
  .cmp-row .a, .cmp-row .b { padding: 12px 16px; }
  .cmp-row .a { border-left: 1px solid var(--rule); }
  .cmp-sec h2 { padding-top: 36px; font-size: 22px; }
  .cmp-sec#short h2 { padding-top: 18px; }
}
@media (hover: hover) and (pointer: fine) {
  .reads a:hover .t { text-decoration-color: var(--ink); }
}

/* ---------- footer ---------- */
.foot { margin-top: 56px; border-top: 1px solid var(--rule); background: var(--band); padding: 16px 0 calc(28px + env(safe-area-inset-bottom, 0px)); font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.foot p { max-width: 74ch; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 0 18px; margin-top: 6px; }
.foot-nav a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--ink); }
@media (min-width: 1024px) {
  .foot { margin-top: 80px; }
  .foot .wrap { display: flex; justify-content: space-between; gap: 40px; }
  .foot-nav { margin-top: -12px; }
}

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

/* ---------- the crew: blink once after load, again on hover; never a loop ---------- */
.cr { display: inline-block; vertical-align: middle; flex: none; overflow: visible; }
.cr.live .cr-eyes { transform-box: fill-box; transform-origin: center; animation: cr-blink .42s ease-in-out var(--bd, 0s) 1 both; }
@keyframes cr-blink { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.12); } }
@keyframes cr-blink-again { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.12); } }
@media (hover: hover) and (pointer: fine) { .cr.live:hover .cr-eyes, :hover > .cr.live .cr-eyes { animation: cr-blink-again .42s ease-in-out 1 both; } }
@media (prefers-reduced-motion: reduce) { .cr.live .cr-eyes { animation: none !important; } }

/* The character's status: the freshest real event, a dot that pulses twice and stops. */
.status { display: flex; align-items: baseline; gap: 6px; margin-top: 8px; font-size: 13.5px; line-height: 1.35; color: var(--ink-2); max-width: 46ch; }
.status b { font-weight: 700; color: var(--ink); white-space: nowrap; }
.status .pulse { position: relative; top: -1px; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 0 rgba(11, 122, 75, .45); animation: pulse 1.4s var(--ease) 1.2s 2 both; }
.status.quiet { color: var(--ink-3); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(11, 122, 75, .45); } 100% { box-shadow: 0 0 0 8px rgba(11, 122, 75, 0); } }
@media (prefers-reduced-motion: reduce) { .status .pulse { animation: none; } }

/* sources: small, always there, and still 44px+ under a finger (padding grows the hit area, not the layout) */
.src-l { margin-top: 3px; }
.src-l a, .src-i a { color: var(--ink-3); font-size: 12.5px; padding: 2px 4px 28px; margin: 0 -4px; position: relative; }
.src-i { white-space: nowrap; }
.status .src-i a { font-size: 12.5px; }

/* chart labels: the gap says why, the last point says its own number and window */
.chart .gap { font-size: 11px; fill: var(--ink-3); }
.chart .lastv { font-size: 12px; font-weight: 700; fill: var(--ink); }
.mini .idx-w { display: grid; justify-items: end; text-align: right; }
.mini .idx-w .sub { margin-top: 0; font-weight: 500; }
.hist-lead { margin: 4px 0 6px; font-weight: 600; max-width: 60ch; }
.cmp-row .v .of { font-size: 12.5px; font-weight: 500; color: var(--ink-3); }
@media (max-width: 639px) { .alts .m { display: none; } }
.na { font-size: inherit; }
.v.na { font-weight: 500; }

/* charts: one drawing per width, picked by CSS — nothing is measured or redrawn after load */
.chart { width: 100%; height: auto; }
.d-chart { display: none; }
@media (min-width: 640px) { .m-chart { display: none; } .d-chart { display: block; } }

/* threads and videos */
.threads .thread:first-child { padding-top: 4px; }
.vids li { border-bottom: 1px solid var(--rule); }
.vids a, .reads a { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; text-decoration: none; }
.vids img, .reads img { flex: none; width: 120px; height: 68px; border-radius: 10px; object-fit: cover; background: var(--band); }
.vids .t, .reads .t { display: block; font-weight: 700; font-size: 14.5px; line-height: 1.35; text-decoration: underline; text-decoration-color: var(--rule-2); text-underline-offset: .22em; }
.vids a:active, .reads a:active { background: var(--band); }
@media (min-width: 1024px) { .vids img { width: 160px; height: 90px; } }
@media (hover: hover) and (pointer: fine) { .vids a:hover .t, .reads a:hover .t { text-decoration-color: var(--ink); } }

/* pairs that have no page yet */
.pairs li .soon { display: flex; align-items: center; gap: 8px; min-height: 48px; border-bottom: 1px solid var(--rule); font-weight: 700; color: var(--ink-3); }
.pairs li .soon .na { margin-left: auto; font-size: 12.5px; font-weight: 600; }
.pairs li .soon .cr { opacity: .55; }

/* home: the table has few columns, so the agent column gets the room */
@media (min-width: 1024px) {
  .home { grid-template-areas: "hero crew" "agents agents" "baro pairs" "week week"; }
  .t13 .c-from { width: 96px; }
  .t13 .c-mood { width: 88px; }
}

/* pricing page */
.pr-h { display: flex; align-items: center; gap: 14px; padding-top: 10px; }
.pr-h h1, .pg-h h1 { font-family: var(--head); font-size: 40px; line-height: 1.05; font-weight: 600; letter-spacing: -.01em; }
.pg-h { padding-top: 10px; }
.plans-c { display: grid; gap: 10px; margin-top: 18px; }
.plan { padding: 14px 16px 12px; border: 1px solid var(--rule); border-radius: var(--r); }
.plan.paid { border: 1.5px solid var(--sun-edge); background: var(--sun-soft); }
.plan .pn { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.plan .pp { margin-top: 2px; }
.plan .pp b { font-family: var(--head); font-size: 40px; line-height: 1.05; font-weight: 600; }
.plan .pp span { margin-left: 2px; color: var(--ink-3); font-size: 15px; }
.plan .pw { margin-top: 6px; font-size: 14.5px; line-height: 1.45; }
.faq > div { padding: 12px 0; border-bottom: 1px solid var(--rule); }
.faq dt { font-family: var(--head); font-size: 17px; font-weight: 600; }
.faq dd { margin-top: 4px; max-width: 70ch; }
.sources li { padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 14px; overflow-wrap: anywhere; }
.sources q { display: block; margin-top: 4px; color: var(--ink-2); quotes: "“" "”"; }
tr.self td { background: #fcfcf8; }
@media (min-width: 640px) { .plans-c { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } }
@media (min-width: 1024px) {
  .pr-h h1, .pg-h h1 { font-size: 56px; }
  .pr-h .cr { width: 88px; height: 88px; }
  .plans-c { margin-top: 26px; gap: 14px; }
  .plan { padding: 18px 20px 16px; }
  .plan .pp b { font-size: 52px; }
}

/* barometer page */
.baro.big .c-meter { width: 44%; }
.baro.big .c-meter .sub { margin-top: 8px; }
.minis { display: grid; gap: 20px 40px; }
.mini figcaption { display: flex; align-items: center; justify-content: space-between; font-weight: 700; }
.mini .idx { font-family: var(--head); font-size: 22px; font-weight: 600; }
.waiting { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 4px; }
.waiting li { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink-2); }
@media (min-width: 1024px) { .minis { grid-template-columns: 1fr 1fr; } }

/* methodology */
.prose p, .prose li { max-width: 70ch; }
.prose p + p { margin-top: 10px; }
.prose > .sec > ul > li, .themes-l li { padding: 6px 0; }
.prose > .sec > ul { margin-top: 4px; }
.prose pre { margin: 12px 0; padding: 12px 14px; overflow-x: auto; background: var(--band); border: 1px solid var(--rule); border-radius: 12px; font: 12.5px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace; }
.themes-l { font-size: 14px; }

/* "Sources" lists: closed by default, one tap to check any number */
.srcs { margin-top: 14px; font-size: 13.5px; }
.srcs summary { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--ink-2); cursor: pointer; list-style: none; }
.srcs summary::-webkit-details-marker { display: none; }
.srcs summary::after { content: "+"; margin-left: 8px; font-weight: 600; color: var(--ink-3); }
.srcs[open] summary::after { content: "−"; }
.srcs-g { padding: 8px 0; border-top: 1px solid var(--rule); }
.srcs-g > p { font-weight: 700; }
.srcs-g ul { display: grid; gap: 2px 24px; margin-top: 4px; }
.srcs-g li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; min-height: 32px; }
.srcs-g li .sub { display: inline; }
@media (min-width: 1024px) { .srcs-g ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (hover: hover) and (pointer: fine) { .srcs summary:hover { color: var(--ink); } }
