:root {
  --bg: #f5f7f8;
  --surface: #ffffff;
  --surface-2: #eef2f5;
  --ink: #14222d;
  --muted: #51616d;
  --line: #dde3e8;
  --chrome: #e8eff5;
  --shadow: 0 1px 2px rgba(20, 34, 45, .06), 0 8px 28px -12px rgba(20, 34, 45, .18);
  --deceived: #b15f50;
  --detected: #55ac8b;
  --completed: #799ad5;
  --grey: #9a9a9a;
  --focus: #3a6ea5;
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --gutter: 16px;
  color-scheme: light;
}
@media (min-width: 720px) { :root { --gutter: 28px; } }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; -webkit-text-size-adjust: 100%; }
html.vw-lock, html.vw-lock body { overflow: hidden; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.55 var(--sans); overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding-inline: var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* outcome colours */
.o-deceived { --oc: var(--deceived); }
.o-detected { --oc: var(--detected); }
.o-completed { --oc: var(--completed); }
.o-grey { --oc: var(--grey); }
.badge {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; line-height: 1;
  padding: 5px 9px 5px 8px; border-radius: 999px; white-space: nowrap;
  background: color-mix(in srgb, var(--oc) 17%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--oc) 55%, transparent);
}
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--oc); }
.chip-clue {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; line-height: 1;
  padding: 5px 9px; border-radius: 4px; background: #f7e7e1; color: #8a3b2d; box-shadow: inset 0 0 0 1px #e6c3b8;
}
.who { display: inline-flex; align-items: center; gap: 7px; font-weight: 500; font-size: 14px; min-width: 0; }
.who img { width: 18px; height: 18px; flex: none; }


/* top bar */
.top { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 22px; min-height: 52px; }
.brand { font-family: var(--serif); font-size: 22px; font-weight: 600; text-decoration: none; letter-spacing: -.02em; display: inline-flex; align-items: center; gap: 9px; }
.brand img { width: 26px; height: 26px; }
.nav { display: flex; align-items: center; gap: 20px; font-size: 14px; flex: 1; min-width: 0; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover, .nav a[aria-current] { color: var(--ink); }
.nav .sp { flex: 1; }
.nav .ext { white-space: nowrap; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 6px; padding: 6px 12px; font-size: 14px; }
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 52px; flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 14px; }
  .nav.open { display: flex; }
  .nav a { padding: 9px 0; width: 100%; font-size: 16px; }
  .nav .sp { display: none; }
}

/* hero */
.hero { padding: 40px 0 56px; }
.hero-grid { display: grid; gap: 22px; align-items: start; grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "player" "text" "stats"; }
.hero-head { grid-area: head; } #hero-player { grid-area: player; min-width: 0; } .hero-text { grid-area: text; } .stats { grid-area: stats; }
@media (min-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6.2fr); column-gap: 52px; row-gap: 0; align-items: start;
    grid-template-areas: "head player" "text player" "stats player"; grid-template-rows: auto auto 1fr; }
  #hero-player { align-self: center; } .hero { padding: 64px 0 76px; }
}
@media (max-width: 979px) { .hero { padding: 24px 0 40px; } .hero h1 { font-size: clamp(46px, 14vw, 72px); } .hero .sub { margin-top: 12px; } .hero .lede { margin-top: 0; } .btns { margin-top: 18px; } }
.hero h1 { font-size: clamp(54px, 9vw, 104px); font-weight: 500; letter-spacing: -.035em; line-height: .95; }
.hero .sub { font-family: var(--serif); font-size: clamp(21px, 2.6vw, 27px); line-height: 1.25; margin-top: 18px; max-width: 24em; }
.hero .lede { margin-top: 18px; color: var(--muted); max-width: 34em; }
.btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.btn { display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; border-radius: 8px; border: 1px solid var(--ink);
  text-decoration: none; font-weight: 500; font-size: 15px; background: transparent; }
.btn:hover { background: var(--surface); }
.btn.solid { background: var(--ink); color: var(--bg); }
.btn.solid:hover { background: color-mix(in srgb, var(--ink) 82%, var(--bg)); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 14px; margin: 30px 0 0; padding: 0; border-top: 1px solid var(--line); align-self: start; }
.stats div { display: flex; flex-direction: column; padding: 12px 0 10px; border-bottom: 1px solid var(--line); }
.stats dt { font-size: 12.5px; line-height: 1.3; color: var(--muted); order: 2; }
.stats dd { margin: 0; font-family: var(--serif); font-size: 26px; line-height: 1.1; font-weight: 500; font-variant-numeric: lining-nums; }
.stats dt { overflow-wrap: anywhere; }
@media (max-width: 979px) { .stats { margin-top: 8px; } .stats div { padding: 9px 0 7px; } .stats dd { font-size: 22px; } .stats dt { font-size: 12px; } }

/* browser frame */
.bf { background: var(--chrome); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.bf-bar { display: flex; align-items: center; gap: 12px; padding: 9px 12px; }
.bf-dots { display: flex; gap: 6px; }
.bf-dots i { width: 10px; height: 10px; border-radius: 50%; background: color-mix(in srgb, var(--ink) 22%, var(--chrome)); }
.bf-url { flex: 1; min-width: 0; background: var(--surface); border-radius: 6px; padding: 3px 10px; font: 12px/1.6 var(--mono); color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bf-view { position: relative; aspect-ratio: 64 / 45; background: var(--surface-2); overflow: hidden; }
.bf-view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0; z-index: 0; }
.bf-view img.prev { opacity: 1; z-index: 1; }
.bf-view img.on { opacity: 1; z-index: 2; transition: opacity .3s ease; }
.hero-cap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 14px; background: var(--surface); border-top: 1px solid var(--line); min-height: 58px; font-size: 14.5px; }
.hero-cap .n { font: 500 12.5px var(--mono); color: var(--muted); }
.hero-cap .act { flex: 1 1 200px; min-width: 0; overflow-wrap: anywhere; }
.hero-ctx { margin-top: 10px; font-size: 14px; line-height: 1.45; color: var(--muted); }
@media (hover: none), (prefers-reduced-motion: reduce) { .hero-hint { display: none; } }
.hero-ctl { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 13px; color: var(--muted); }
.ibtn { width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); display: inline-grid; place-items: center; padding: 0; }
.ibtn:hover:not(:disabled) { border-color: var(--ink); }
.ibtn:disabled { opacity: .4; cursor: default; }
.ibtn svg { width: 16px; height: 16px; }
.hero-dots { display: flex; gap: 6px; margin-left: auto; }
.hero-dots i { width: 22px; height: 4px; border-radius: 2px; background: var(--line); }
.hero-dots i.on { background: var(--ink); }

/* sections */
section.s { padding: 64px 0 24px; }
.s-head { max-width: 46em; margin-bottom: 26px; }
.s-head h2 { font-size: clamp(30px, 4vw, 44px); }
.s-head p { margin-top: 12px; color: var(--muted); font-size: 17px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.fchip { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 6px 13px; font-size: 14px; }
.fchip:hover { border-color: var(--ink); }
.fchip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.fgap { width: 1px; background: var(--line); margin: 2px 4px; flex: none; }
@media (max-width: 560px) {
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .filters::-webkit-scrollbar { display: none; }
  .fchip { flex: none; white-space: nowrap; }
}
.more-tiles { margin-top: 18px; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; padding: 0; text-align: left; box-shadow: 0 1px 2px rgba(20,34,45,.04); transition: box-shadow .2s, border-color .2s; }
.tile:hover { box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--ink) 40%, var(--line)); }
.tile .bf-view { border-bottom: 1px solid var(--line); }
.tile-body { padding: 13px 15px 16px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.tile-meta { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; font-size: 13px; color: var(--muted); }
.tile-meta b { color: var(--ink); font-weight: 500; }
.tile-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.clamp3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 14.5px; line-height: 1.5; }
.empty { color: var(--muted); padding: 30px 0; }

/* contrast carousel */
.car-wrap { position: relative; }
.car { display: flex; align-items: flex-start; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 0 18px; scrollbar-width: thin; }
.pair { flex: 0 0 min(680px, 88vw); scroll-snap-align: start; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; display: flex; flex-direction: column; text-align: left; padding: 0; overflow: hidden; }
.pair:hover { box-shadow: var(--shadow); }
.pair-frames { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); }
.pair-frames figure { margin: 0; background: var(--surface); }
.pair-frames figcaption { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; padding: 9px 11px; }
.pair-frames .bf-view img { opacity: 1; position: static; aspect-ratio: 64/45; }
.pair-body { padding: 4px 16px 16px; display: flex; flex-direction: column; gap: 10px; }
.pair-body .site { font-size: 13px; color: var(--muted); }
.pair-body .site b { color: var(--ink); font-weight: 500; }
.quote { margin: 2px 0; padding: 8px 12px; border-left: 3px solid var(--line); background: var(--surface-2); font-size: 13.5px; color: var(--muted); }
.quote .clamp3 { font-size: 13.5px; }
.car-ctl { display: flex; gap: 8px; align-items: center; margin-top: 4px; color: var(--muted); font-size: 14px; }

/* results */
.res { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 8px 18px; }
.res-row { display: grid; gap: 10px 22px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.res-row:last-child { border-bottom: 0; }
@media (min-width: 900px) { .res-row { grid-template-columns: 210px 1fr 1fr 1fr; align-items: center; } }
.res-row .who { font-size: 15.5px; }
.res-row .who img { width: 24px; height: 24px; }
.bar-l { font-size: 12.5px; color: var(--muted); display: flex; justify-content: space-between; }
.bar { display: flex; align-items: center; gap: 8px; }
.bar-t { flex: 1; height: 12px; border-radius: 3px; background: var(--surface-2); position: relative; overflow: hidden; }
.bar-t i { position: absolute; inset: 0 auto 0 0; background: var(--oc); border-radius: 3px; }
.bar b { font: 500 14px var(--mono); min-width: 2.6em; text-align: right; }
.legend { display: none; }
@media (min-width: 900px) { .res-row .bar-l { display: none; } .legend { display: grid; grid-template-columns: 210px 1fr 1fr 1fr; gap: 22px; padding: 12px 0 6px; font-size: 13px; color: var(--muted); border-bottom: 1px solid var(--line); } }
.res-note { margin-top: 16px; font-size: 15px; }

/* code */
.codes { display: grid; gap: 12px; }
.code { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 10px; background: #14222d; color: #e8eff5; border-radius: 10px; padding: 8px 8px 8px 0; }
.code pre { margin: 0; overflow-x: auto; padding: 6px 4px 8px 16px; font: 13.5px/1.6 var(--mono); white-space: pre; scrollbar-width: thin; }
.code code { font: inherit; }
.code .copy { background: #1f3140; color: #e8eff5; border: 1px solid #36495a; border-radius: 6px; font: 12px var(--sans); padding: 4px 9px; min-height: 28px; }
.code .copy:hover { background: #2a3e4f; }
.guides { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; font-size: 15px; }
.cite { margin-top: 4px; }
footer.foot { margin-top: 80px; border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--muted); font-size: 14px; }
footer.foot p + p { margin-top: 8px; }
footer.foot .links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 16px; color: var(--ink); }

/* explorer */
.ex-top { padding: 32px 0 6px; }
.ex-top h1 { font-size: clamp(34px, 5vw, 52px); }
.ex-top p { margin-top: 10px; color: var(--muted); max-width: 40em; }
.panel { margin: 22px 0 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.panel-toggle { display: none; width: 100%; background: none; border: 0; padding: 0; text-align: left; font-weight: 500; align-items: center; justify-content: space-between; min-height: 28px; }
.panel-toggle .chev { transition: transform .2s; }
.panel-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
.legend-line { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; margin: 0 0 16px; font-size: 13px; color: var(--muted); }
.lg-dots, .lg-sw { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.lg-dots { gap: 8px; } .lg-l { margin-right: 2px; }
.lg-m img { width: 16px; height: 16px; }
.lg-i { display: inline-flex; align-items: center; gap: 6px; }
.lg-i i { width: 11px; height: 11px; border-radius: 50%; background: var(--oc); display: block; }
.panel-fields { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.field { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); }
.field.wide { grid-column: 1 / -1; }
@media (min-width: 720px) { .field.wide { grid-column: span 2; } }
.field input, .field select { font: inherit; font-size: 15px; color: var(--ink); background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; min-height: 40px; width: 100%; }
.field.pair2 { flex-direction: row; gap: 8px; align-items: end; }
.field.pair2 > label { flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
@media (max-width: 720px) {
  .panel-toggle { display: flex; }
  .panel:not(.open) .panel-fields { display: none; }
  .panel.open .panel-toggle { margin-bottom: 12px; }
}
.count { margin: 8px 0 14px; color: var(--muted); font-size: 14px; display: flex; gap: 14px; align-items: baseline; flex-wrap: wrap; }
.count button { background: none; border: 0; padding: 0; text-decoration: underline; color: var(--ink); font-size: 14px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; text-align: left; padding: 0; }
.card:hover { box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--ink) 40%, var(--line)); }
.card .bf-view img { opacity: 1; position: static; aspect-ratio: 64/45; object-fit: cover; }
.card .bf-view { border-bottom: 1px solid var(--line); }
.card-body { padding: 11px 14px 14px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.card-id { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; font-size: 13px; color: var(--muted); }
.card-id b { font: 500 14px var(--mono); color: var(--ink); }
.card .req { font-size: 14px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dots { display: flex; gap: 6px; margin-top: auto; padding-top: 4px; align-items: center; }
.dots i { width: 12px; height: 12px; border-radius: 50%; background: var(--oc); display: block; }
.tag { font-size: 12px; border: 1px solid var(--line); padding: 1px 7px; border-radius: 4px; color: var(--muted); }

/* rollout viewer */
.vw { position: fixed; inset: 0; z-index: 100; background: rgba(20, 34, 45, .58); display: flex; align-items: stretch; justify-content: center; padding: 0; }
.vw[hidden] { display: none; }
.vw-panel { background: var(--bg); width: 100%; max-width: 1480px; display: flex; flex-direction: column; min-height: 0; }
@media (min-width: 900px) { .vw { padding: 20px; } .vw-panel { border-radius: 14px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.45); } }
.vw-head { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--surface); }
.vw-head h2 { font-size: 20px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--sans); font-weight: 600; letter-spacing: 0; }
.vw-head h2 span { font-weight: 400; color: var(--muted); }
.vw-body { flex: 1; min-height: 0; overflow-y: auto; display: block; }
@media (min-width: 980px) {
  .vw-body.single { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(340px, 1fr); overflow: hidden; }
  .vw-stage, .vw-side { overflow-y: auto; min-height: 0; }
}
.vw-stage { padding: 16px; }
.vw-side { padding: 16px 18px 28px; border-left: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 979px) { .vw-side { border-left: 0; border-top: 1px solid var(--line); } }
.pane .bf-view img { opacity: 1; position: static; z-index: auto; object-fit: contain; object-position: top center; }
.pane .bf-view { aspect-ratio: auto; }
@media (min-width: 980px) {
  .vw-body.single .pane { --imgh: calc(100dvh - 40px - 55px - 32px - 235px); max-width: max(420px, calc(var(--imgh) * 64 / 45 + 2px)); margin-inline: auto; }
  .vw-body.single .strip { padding-top: 10px; }
}
@media (min-width: 900px) {
  .vw-body.cmp .pane { --imgh: calc(100dvh - 40px - 55px - var(--metah, 190px) - 270px); width: max(360px, calc(var(--imgh) * 64 / 45 + 2px)); max-width: 100%; }
}
.pane-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.pane-ctl { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.pane-ctl .pos { font: 500 13px var(--mono); color: var(--muted); flex: 1; text-align: center; }
.pane-line { margin-top: 10px; padding: 10px 12px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); font-size: 14.5px; min-height: 46px; }
.pane-line .chip-clue { margin-right: 6px; }
.strip { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0 4px; }
.strip button { flex: none; width: 92px; padding: 0; border: 2px solid transparent; border-radius: 6px; background: var(--surface-2); overflow: hidden; position: relative; }
.strip button[aria-current="true"] { border-color: var(--ink); }
.strip img { width: 100%; aspect-ratio: 64/45; object-fit: cover; object-position: top; }
.strip button.clue::after { content: ""; position: absolute; top: 4px; right: 4px; width: 10px; height: 10px; border-radius: 50%; background: #b15f50; border: 1px solid #3b2a00; }
.meta-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.vw h3 { font-family: var(--sans); font-size: 12.5px; font-weight: 600; color: var(--muted); margin: 0 0 6px; letter-spacing: 0; }
.req-full { font-size: 15px; white-space: pre-wrap; overflow-wrap: anywhere; }
.switch { display: flex; flex-wrap: wrap; gap: 8px; }
.sw-btn { width: 44px; height: 44px; border-radius: 10px; border: 2px solid var(--oc); background: var(--surface); display: grid; place-items: center; padding: 0; position: relative; }
.sw-btn img { width: 22px; height: 22px; }
.sw-btn[aria-pressed="true"] { background: color-mix(in srgb, var(--oc) 28%, var(--surface)); box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--ink); }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.step { display: grid; grid-template-columns: 76px 1fr; column-gap: 10px; row-gap: 4px; padding: 7px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); }
.step:hover { border-color: var(--ink); }
.step[data-current] { border-color: var(--ink); background: color-mix(in srgb, var(--ink) 7%, var(--surface)); box-shadow: inset 3px 0 0 var(--ink); }
.step-main > img, .step-main > .t { cursor: pointer; }
.step-main { display: contents; text-align: left; }
.step-main > img { grid-area: 1 / 1 / 3 / 2; align-self: start; }
.step-main > .t { grid-area: 1 / 2; }
.step-note { grid-area: 2 / 2; min-width: 0; }
.step:has(.step-main:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.step img { width: 76px; aspect-ratio: 64/45; object-fit: cover; object-position: top; border-radius: 4px; }
.step .t { font-size: 14px; min-width: 0; display: flex; flex-direction: column; gap: 5px; align-items: flex-start; overflow-wrap: anywhere; }
.step .t small { color: var(--muted); font-size: 12px; font-family: var(--mono); }
.step .nope, .pane-line .nope { font-size: 11.5px; color: #8a3b2d; border: 1px solid currentColor; border-radius: 4px; padding: 0 5px; }
.note { font-size: 13.5px; color: var(--muted); font-style: italic; overflow-wrap: anywhere; }
.pane-line .note { margin-top: 6px; }
.note details summary { cursor: pointer; list-style: none; }
.note details summary::-webkit-details-marker { display: none; }
.note .more, .note .less { color: var(--ink); font-style: normal; text-decoration: underline; margin-left: 6px; font-size: 12.5px; }
.note details[open] > summary { display: none; }
.note .less { background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit; }
.note .full { display: block; margin-top: 4px; }
.what { background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; }
.what summary { cursor: pointer; font-size: 13.5px; font-weight: 600; }
.what p { margin-top: 6px; font-size: 14px; overflow-wrap: anywhere; }
.meta-chips.fam { align-items: center; }
.meta-l { font-size: 12.5px; color: var(--muted); margin-right: 2px; }
.cluebox { margin-top: 6px; padding: 8px 10px; background: #f7e7e1; border-radius: 6px; font-size: 13px; color: var(--ink); border-left: 3px solid #b15f50; overflow-wrap: anywhere; }
.endbox { border: 1px solid var(--line); border-radius: 10px; padding: 14px; background: var(--surface-2); display: flex; flex-direction: column; gap: 10px; }
.endbox p { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14.5px; }
.endbox .none { color: var(--muted); font-style: italic; }
.cmp-meta { padding: 12px 16px 0; display: flex; flex-direction: column; gap: 8px; }
.cmp-fold { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; }
.cmp-fold > details { flex: 1 1 260px; min-width: 0; }
.cmp-meta .cluebox { margin-top: 0; }
.pane-end { margin-top: 10px; }
.cmp-cols { display: grid; gap: 22px; padding: 12px 16px 28px; }
@media (min-width: 900px) { .cmp-cols { grid-template-columns: repeat(2, minmax(0, max-content)); justify-content: center; gap: 24px; } }
.zoom { display: block; cursor: zoom-in; }
.cmp-meta details:not(.what) { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; }
.cmp-meta summary { cursor: pointer; font-size: 14px; font-weight: 500; }
.err { padding: 28px 24px; text-align: center; }
.err-t { font-family: var(--serif); font-size: 24px; line-height: 1.25; overflow-wrap: anywhere; }
.err-b { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }
.vw.err-state { align-items: center; padding: 16px; }
.vw.err-state .vw-panel { width: min(420px, 100%); flex: none; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
@media (min-width: 720px) { .field.pair2 { grid-column: span 2; } }
