/* Hub pages and child pages (design/hub-template.md, design/system/index.html#hub-header).
   Hub accent --c (tokens.css --hub-{id}, set by hubStyle) is only ever a dot, rule or underline.
   Link AFTER tokens.css and guide.css. */

/* ---------- Mono label ("No.02 - JAPOW", tags) ---------- */
.lbl {
  margin: 0;
  color: var(--mute);
  font: var(--w-label) 0.74rem/1.6 var(--f2);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
}

/* ---------- Hub page ---------- */
.hub-page .crumbs a {
  color: var(--ink);
}
/* Content column (mock .w): the page is full-bleed (Chrome wide) so the strip can span the screen. */
.hub-w {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ---------- Lantern strip hero (HubStrip.astro; design/hub-mocks/hub-v2.css .hl) ---------- */
.hl-strip {
  --x: 68%;
  --y: 45%;
  --rad: var(--lantern-rad);
  --ss: var(--lantern-sun);
  position: relative;
  height: clamp(300px, 35vh, 420px);
  overflow: hidden;
  border-bottom: 1px solid var(--ink);
  background: var(--bg);
}
.hl-strip .hg {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 2px;
}
/* Each photo fills a clipping cell absolutely (WebKit-safe, as home/Hero.astro). */
.hl-strip .cell {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}
.hl-strip .cell img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hl-strip .hg.gray {
  filter: var(--lantern-gray);
}
.hl-strip .hg.col {
  -webkit-mask-image: radial-gradient(
    circle var(--rad) at var(--x) var(--y),
    #000 55%,
    transparent 100%
  );
  mask-image: radial-gradient(
    circle var(--rad) at var(--x) var(--y),
    #000 55%,
    transparent 100%
  );
}
.hl-strip .sunb {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--ss);
  height: var(--ss);
  margin: calc(var(--ss) / -2) 0 0 calc(var(--ss) / -2);
  border-radius: var(--radius-dot);
  background: var(--red);
  mix-blend-mode: multiply;
  pointer-events: none;
}
.hx-win {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 24px;
  border: 1px solid var(--ink);
  border-left: 6px solid var(--c, var(--ink));
  background: var(--bg);
}
.hl-win {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
  margin-top: -48px;
}
.hl-win .crumbs {
  margin: -6px 0 -4px;
}
.hx-no {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font: var(--w-label) var(--fs-mono) / 1.4 var(--f2);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
}
.hx-no i {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: var(--radius-dot);
  background: var(--c, var(--ink));
  box-shadow: 0 0 0 1px var(--rule-dot);
}
.hx-no b {
  font-weight: var(--w-label);
  color: var(--red);
}
.hx-no span {
  color: var(--mute);
}
.hl-win h1 {
  font: var(--w-bold) var(--hub-h1) / 1.08 var(--f1);
  letter-spacing: var(--track-head);
  text-wrap: balance;
}
.hl-win .verdict {
  margin: 0;
}
.hx-sum {
  color: var(--ink2);
  font-size: 15px;
  line-height: 1.5;
  text-wrap: balance;
}
@media (max-width: 899px) {
  .hl-strip {
    height: 360px;
    --rad: var(--lantern-rad-tablet);
    --ss: var(--lantern-sun-tablet);
  }
  .hl-strip .hg {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 599px) {
  .hl-strip {
    height: 300px;
  }
  .hl-win {
    width: 100%;
    margin-top: 16px;
  }
}
/* Touch, phones and reduced motion: photos in colour, no lantern. */
@media (max-width: 599px), (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .hl-strip .hg.gray {
    filter: none;
  }
  .hl-strip .hg.col,
  .hl-strip .sunb {
    display: none;
  }
}

/* Hub, region and child pages (.hub-page) and the 404 share one H1 size, 50px bold on desktop across the
   whole 760px card (design/_qa/live-vs-mock.md item 7). --hub-h1 is the owner's choice, one line to flip
   (phone size is the clamp minimum in both):
   option (c), live: the mock's clamp(28px, 3.5vw, 50px): 50px wide desktop, 28px on phones
   option (a): full hub size, about 3 lines of 22 characters: var(--fs-h1-hub) */
:root {
  --hub-h1: clamp(28px, 3.5vw, 50px);
}
/* Can-I verdict: the word plus a dot in its colour, never colour alone. */
.verdict {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin: var(--space-3) 0 0;
  color: var(--vc, var(--ink));
  font: var(--w-bold) var(--fs-mono) var(--f2);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
}
.verdict i {
  width: var(--dot-m);
  height: var(--dot-m);
  border-radius: var(--radius-dot);
  background: currentColor;
}
.v-yes {
  --vc: var(--v-yes);
}
.v-yes-if {
  --vc: var(--v-if);
}
.v-no {
  --vc: var(--v-no);
}
.v-depends {
  --vc: var(--v-dep);
}

/* Ways bar: every listed hub, colour dot each, current one underlined; scrolls sideways on phones. */
.ways-bar {
  display: flex;
  gap: 1.4rem;
  margin: var(--space-6) 0 0;
  padding: 0;
  overflow-x: auto;
  border-block: 1px solid var(--rule);
  list-style: none;
  scrollbar-width: none;
  font: var(--w-label) 0.74rem var(--f2);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
}
.ways-bar li {
  flex: none;
}
.ways-bar a {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: var(--target);
  color: var(--mute);
  text-decoration: none;
}
.ways-bar a i {
  width: var(--dot-s);
  height: var(--dot-s);
  border-radius: var(--radius-dot);
  background: var(--c);
  box-shadow: 0 0 0 1px var(--ink);
}
.ways-bar a:hover,
.ways-bar a[aria-current="page"] {
  color: var(--ink);
}
.ways-bar a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--ink);
}
.ways-bar a:focus-visible {
  outline-offset: -3px;
}

/* ---------- Section system (design/hub-mocks/hub-v2.css: .lead, .sx, .sub, .pr, .tn) ----------
   Markup: .agent/scripts/lib/draft-import.mjs wraps the content; SectionBody.astro adds the FAQ section and the
   kanji windows. Numbers ("01") come from a CSS counter over the page's sections. */
.hub-body {
  counter-reset: sx;
}
.lead {
  padding: 40px 0 8px;
}
.lead p {
  max-width: 64rem;
  color: var(--ink2);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.6;
}
.lead p + p,
.lead p + blockquote {
  margin-top: 0.75em;
}
.sx {
  padding-top: 56px;
  counter-increment: sx;
}
.sx-in {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 24px 48px;
  padding-top: 20px;
  border-top: 1px solid var(--ink);
}
.sx-h {
  display: flex;
  flex-direction: column;
  align-self: start;
  gap: var(--space-2);
}
.sx-n {
  color: var(--red);
  font: var(--w-label) var(--fs-mono) / 1.4 var(--f2);
  letter-spacing: var(--track-label);
}
.sx-n::before {
  content: counter(sx, decimal-leading-zero);
}
.sx h2 {
  font: var(--w-bold) clamp(1.5rem, 2.6vw, 2.2rem) / 1.1 var(--f1);
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.sx--wide .sx-in {
  display: block;
}
.sx--wide .sx-h {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
}
.sx--wide .sx-in > .pr,
.sx--wide .sx-in > .child-grid,
.sx--wide .sx-in > .region-grid {
  margin-top: 20px;
}
.sx--wide .at {
  margin: 20px 0 0;
}
.sx--wide .at-w {
  margin-top: 0;
}
.sx--wide .pr > .at:first-child {
  margin-top: 0;
}
.at td.num {
  white-space: normal;
}
.at--pair td {
  max-width: 44rem;
}

/* Prose inside a section (.pr) */
.pr {
  min-width: 0;
  overflow-wrap: break-word;
}
.pr > :first-child {
  margin-top: 0;
}
.pr p,
.pr ul,
.pr ol {
  max-width: var(--measure-wide);
  font-size: 1.05rem;
  line-height: 1.8;
}
.pr p + p,
.pr * + ul,
.pr * + ol,
.pr ul + p,
.pr ol + p {
  margin-top: 1em;
}
.pr ul,
.pr ol {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: 0;
  padding: 0;
  list-style: none;
}
.pr li {
  position: relative;
  padding-left: 22px;
  line-height: 1.7;
}
.pr ul > li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.8em;
  width: 6px;
  height: 6px;
  background: var(--ink);
}
.pr ol {
  counter-reset: ol;
}
.pr ol > li {
  padding-left: 34px;
  counter-increment: ol;
}
.pr ol > li::before {
  content: counter(ol, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.35em;
  color: var(--red);
  font: var(--w-label) var(--fs-mono) / 1.4 var(--f2);
  letter-spacing: var(--track-label);
}
.pr h3,
.pr h4 {
  margin: 1.6em 0 0.5em;
  font: var(--w-bold) 1.25rem / 1.3 var(--f1);
}
.pr strong {
  font-weight: var(--w-bold);
}
.pr a,
.tn a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-underline-offset: 4px;
}
.pr a:hover,
.tn a:hover {
  color: var(--red);
}
.tn {
  max-width: var(--measure-wide);
  margin-top: var(--space-3);
  color: var(--ink2);
  font-size: 14px;
  line-height: 1.5;
}
/* Callouts are blockquotes that open with a bold label (**Safety**, **To verify**, **Before you book**,
   **Before you go**): ruled boxes with the hub-colour left edge and a mono label (.co port: batch D). */
.pr blockquote,
.lead blockquote {
  max-width: var(--measure-wide);
  margin: 1.4rem 0;
  padding: 14px 18px;
  border: 1px solid var(--ink);
  border-left: var(--bw-4) solid var(--c, var(--ink));
  background: var(--white);
}
.pr blockquote > :first-child,
.lead blockquote > :first-child {
  margin-top: 0;
}
.pr blockquote p,
.lead blockquote p {
  font-size: 1rem;
  line-height: 1.65;
}
.pr blockquote strong:first-child,
.lead blockquote strong:first-child {
  display: block;
  margin-bottom: var(--space-1);
  color: var(--mute);
  font: var(--w-label) var(--fs-mono) / 1.4 var(--f2);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
}

/* Subsections (### inside a section): heading | text, a table makes it full width */
.sub {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 16px 48px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
}
.sx-h + .sub {
  margin-top: 24px;
}
.sub-h {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.sub h3 {
  font: var(--w-bold) clamp(1.25rem, 2vw, 1.6rem) / 1.2 var(--f1);
  text-wrap: balance;
}
.sub-b {
  min-width: 0;
}
.sub--wide {
  display: block;
}
.sub--wide .sub-b {
  margin-top: 12px;
}

/* Kanji window beside a section heading (KanjiWindow.astro in .kw-w, rules in src/lib/guide/section-marks.ts).
   Desktop: absolute in the heading column (never adds height), right-aligned, sized by the row (cqh), sticky. */
.kw-w {
  position: absolute;
  top: 20px;
  bottom: 0;
  left: 0;
  width: calc((100% - 48px) * 5 / 12);
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  container-type: size;
  pointer-events: none;
}
.kw-w .kw {
  --kw: min(200px, 100cqh);
}
.sx:hover .kw-w .kw span {
  filter: none;
}
.sx-h.hk > .sx-n,
.sx-h.hk > h2 {
  max-width: calc(100% - 216px);
}

/* Region facts row under the lead (prefectures, places, seasons) */
.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3) var(--space-7);
  margin: var(--space-6) 0 0;
  padding: var(--space-4) 0;
  border-block: 1px solid var(--rule);
}
.facts dt {
  color: var(--mute);
  font: var(--w-label) var(--fs-mono-s) / 1.4 var(--f2);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
}
.facts dd {
  margin: var(--space-1) 0 0;
  font-size: var(--fs-body-m);
  line-height: 1.5;
}

@media (min-width: 1100px) {
  .lead {
    padding: 28px 0 0;
  }
  .lead + .sx {
    padding-top: 24px;
  }
  .kw-w .kw {
    --kw: max(160px, min(200px, 100cqh));
    position: sticky;
    top: 88px;
  }
  .sx-h.hk {
    min-height: 160px;
  }
  /* headings stay in view beside long content, only where they have their own column */
  .sx-in > .sx-h,
  .sub > .sub-h {
    position: sticky;
    top: 88px;
    z-index: 1;
  }
  .sx--wide .sx-in > .sx-h,
  .sub--wide > .sub-h {
    position: static;
  }
  /* set by SectionBody.astro (initKanjiBelow): a widowing heading takes the column, the window moves under it */
  .sx-in.kw-below > .sx-h.hk {
    min-height: calc(var(--kw-top, 0px) + 200px);
    padding-right: 0;
  }
  .sx-in.kw-below > .sx-h.hk > h2 {
    max-width: none;
  }
  .sx-in.kw-below > .kw-w {
    top: var(--kw-top, 20px);
  }
  .sx-in.kw-below .kw {
    top: calc(88px + var(--kw-top, 0px));
  }
}
@media (max-width: 1099px) {
  .sx-in,
  .sub {
    grid-template-columns: minmax(0, 1fr);
  }
  .kw-w {
    left: auto;
    right: 0;
    bottom: auto;
    width: auto;
    container-type: normal;
  }
  .kw-w .kw {
    --kw: 112px;
  }
  .sx-h.hk {
    min-height: 112px;
    padding-right: 128px;
  }
  .sx-h.hk > .sx-n,
  .sx-h.hk > h2 {
    max-width: none;
  }
}
@media (max-width: 599px) {
  .lead {
    padding-top: 24px;
  }
  .sx {
    padding-top: 40px;
  }
  .sx-in {
    gap: 12px;
  }
  .sub {
    margin-top: 24px;
  }
  .kw-w .kw {
    --kw: 88px;
  }
  .sx-h.hk {
    min-height: 88px;
    padding-right: 104px;
  }
  .facts {
    grid-template-columns: minmax(0, 1fr);
  }
  .pr blockquote {
    padding: 12px 14px;
  }
}

/* Child pages: 4 columns on desktop, 3 on tablet, photo-left rows on phones (interim until the .cd port, batch D) */
.child-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-6) var(--space-4);
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (max-width: 1099px) {
  .child-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 599px) {
  .child-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-3);
  }
  .child-grid .child-card {
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr);
    gap: var(--space-3);
  }
  .child-grid .child-card img {
    height: 100%;
    min-height: 88px;
    aspect-ratio: auto;
  }
  .child-grid .child-card .b {
    padding: 0;
  }
  .child-grid .child-card .b b {
    font-size: 1.1rem;
  }
  .child-grid .child-card .b span:last-child {
    font-size: 14px;
    line-height: 1.45;
  }
}
.child-card {
  display: block;
  height: 100%;
  color: var(--ink);
  text-decoration: none;
}
.child-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: var(--photo-gray, grayscale(1));
  transition: filter var(--t-img) var(--ease);
}
a.child-card:hover img,
a.child-card:focus-visible img {
  filter: none;
}
.child-card .b {
  padding: var(--space-3) 0 0;
}
.child-card .b b {
  display: inline;
  background: linear-gradient(var(--c, var(--ink)), var(--c, var(--ink))) 0
    100% / 0 0.2em no-repeat;
  font: var(--w-bold) 1.25rem/1.25 var(--f1);
  transition: background-size var(--t-base);
}
a.child-card:hover .b b,
a.child-card:focus-visible .b b {
  background-size: 100% 0.2em;
}
.child-card .b span:last-child {
  display: block;
  margin-top: var(--space-2);
  color: var(--ink2);
  font-size: var(--fs-body-m);
}
.tag {
  display: block;
  margin-bottom: var(--space-2);
  color: var(--mute);
  font: var(--w-label) var(--fs-mono-s) var(--f2);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
}

/* Next way in: a transit line whose dot rides across on hover/focus. */
.next {
  display: grid;
  grid-template-columns: auto minmax(2rem, 1fr) auto;
  gap: 1.4rem;
  align-items: center;
  margin-top: clamp(3rem, 7vw, 5rem);
  padding: var(--space-6) 0;
  border-block: 1px solid var(--ink);
  color: var(--ink);
  text-decoration: none;
}
.next .line {
  position: relative;
  height: 1px;
  background: var(--ink);
}
.next .line::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: var(--dot-l);
  height: var(--dot-l);
  margin: -6px 0 0 -6px;
  border-radius: var(--radius-dot);
  background: var(--c, var(--acc));
  box-shadow: 0 0 0 1px var(--ink);
  transition: left var(--t-settle, 1.2s) var(--ease-line);
}
.next:hover .line::after,
.next:focus-visible .line::after {
  left: 100%;
}
.next b {
  font: var(--w-head) clamp(1.6rem, 3.6vw, 2.8rem) / 1 var(--f1);
}
@media (max-width: 599px) {
  .next {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-3);
  }
  .next .line {
    display: none;
  }
}

/* Child page gallery: up to 6 photos, two up (one on phones), B&W until hover like the cards. */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
  margin: var(--space-6) 0 0;
  padding: 0;
  list-style: none;
}
.gallery img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: var(--photo-gray, grayscale(1));
  transition: filter var(--t-img) var(--ease);
}
.gallery img:hover {
  filter: none;
}
@media (max-width: 599px) {
  .gallery {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Questions (Questions.astro; hub-v2.css .qcol/.fq) and Get answers (AnswerList.astro) ---------- */
.qcol {
  min-width: 0;
}
.qcol .cani {
  margin-bottom: var(--space-5);
}
.fq {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
  list-style: none;
}
.fq li {
  border-bottom: 1px solid var(--rule);
}
.fq h3,
.fq h4 {
  font: inherit;
}
.fq-b {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-3);
  align-items: center;
  width: 100%;
  min-height: 56px;
  padding: var(--space-3) var(--space-1);
  border: 0;
  background: none;
  color: var(--ink);
  font: var(--w-bold) clamp(1.05rem, 1.8vw, 1.3rem) / 1.3 var(--f1);
  text-align: left;
  cursor: pointer;
}
.fq-b:hover {
  background: var(--tint-hover);
}
.fq-b:focus-visible {
  outline-offset: -4px;
}
.fq-b .pm {
  flex: none;
}
.fq-b[aria-expanded="true"] .v {
  display: none;
}
.fq-d {
  max-width: var(--measure-wide);
  padding: 0 var(--space-1) 20px;
}
/* hidden="until-found" (fq-accordion.ts): collapsed but still found by find-in-page; no box while closed */
.fq-d[hidden] {
  padding: 0;
}
.fq-d p {
  color: var(--ink2);
  font-size: 1.05rem;
  line-height: 1.7;
}
.fq-d a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-underline-offset: 4px;
}
.fq-d a:hover {
  color: var(--red);
}

/* Verdict key rows (section-html.ts verdictKey; hub-v2.css .vk) */
.pr ul.vk {
  gap: 0;
  border-top: 1px solid var(--ink);
}
.pr .vk li {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: var(--space-3);
  align-items: baseline;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--rule);
}
.pr .vk li::before {
  content: none;
}
.vk .verdict {
  margin: 0;
}
@media (max-width: 599px) {
  .pr .vk li {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-1);
  }
  .ans-g .fq-b .vl:empty {
    display: none;
  }
}
.qx {
  margin-bottom: var(--space-5);
}

/* Get answers: picker band, topic chips, live count, grouped one-open accordion with a verdict column */
.ans-pk {
  padding-top: var(--space-5);
}
.ans-f {
  --at-ink: var(--ink);
  --at-bg: var(--bg);
  margin-top: 20px;
}
.ans-f[hidden] {
  display: none;
}
.ans-f button {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  text-transform: uppercase;
}
.ans-f button i,
.ag-h h3 i {
  flex: none;
  width: var(--dot-s);
  height: var(--dot-s);
  border-radius: var(--radius-dot);
  background: var(--c);
  box-shadow: 0 0 0 1px var(--rule-dot);
}
.ans-f button span {
  opacity: 0.75;
}
.ans-n,
.ag-n {
  color: var(--mute);
  font: var(--w-label) var(--fs-mono) / 1.4 var(--f2);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
}
.ans-n {
  margin-top: var(--space-3);
}
.ag {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--space-3) var(--space-7);
  margin-top: 28px;
  padding-top: var(--space-4);
  border-top: 1px solid var(--rule);
}
.ag[hidden] {
  display: none;
}
.ag-h {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ag-h h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font: var(--w-bold) clamp(1.25rem, 2vw, 1.6rem) / 1.2 var(--f1);
}
.ag-h h3 i {
  width: 10px;
  height: 10px;
}
.ans-g .fq-b {
  grid-template-columns: minmax(0, 1fr) 7.5rem auto;
}
.ans-g .fq-b .verdict {
  justify-self: start;
  margin: 0;
}
.ans-g .fq-d a {
  white-space: nowrap;
}
@media (min-width: 1100px) {
  .ag {
    grid-template-columns: minmax(220px, 3fr) minmax(0, 9fr);
  }
  .ag-h {
    position: sticky;
    top: 88px;
    align-self: start;
  }
}
@media (max-width: 1099px) {
  .ag {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 1199px) {
  /* .at-f (atlas-table.css, linked later) wraps; the chip row scrolls sideways instead */
  .ans-f.at-f {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-right: calc(var(--pad) * -1);
    padding-right: var(--pad);
    scrollbar-width: none;
  }
  .ans-f li {
    flex: none;
  }
  .ans-f button {
    white-space: nowrap;
  }
}
@media (max-width: 599px) {
  .ans-g .fq-b {
    grid-template-columns: minmax(0, 1fr) auto;
    row-gap: 6px;
  }
  .ans-g .fq-b .verdict {
    grid-row: 2;
    grid-column: 1;
  }
  .ans-g .fq-b .pm {
    grid-row: 1;
    grid-column: 2;
  }
}

