/* Dark stage: near-black ground, serif display, mono eyebrows, lavender emphasis,
   purple-glow cards for the method's own result, hairline cards for everything else,
   red only for the live playhead. */
:root {
  color-scheme: dark;
  --bg: #0b0b0d;
  --bg-2: #141416;
  --ink: #F7F7F7;
  --ink-2: rgba(247, 247, 247, .74);
  --ink-3: rgba(247, 247, 247, .56);
  --ink-4: rgba(247, 247, 247, .30);
  --rule: rgba(247, 247, 247, .13);
  --lane: rgba(247, 247, 247, .06);
  --user: rgba(247, 247, 247, .38);
  --ref: rgba(247, 247, 247, .85);
  --rand: #A39DB0;
  --band: rgba(247, 247, 247, .11);
  --lav: #D6B5FF;
  --purple: #9641FF;
  --red: #FF0132;
  --accent: var(--lav);
  --moshika: #7FA8FF;
  --moshika_rl: #D6B5FF;
  --personaplex: #36D17A;
  --curve: #F7F7F7;
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Noto Sans SC", "Noto Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", "SF Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--lav); }
a:hover { color: var(--ink); }
b { color: #fff; font-weight: 600; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 40px; } }

.eyebrow, .kicker {
  font-family: var(--mono); font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: var(--lav);
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 40px 0 32px; }
@media (min-width: 720px) { .hero { padding: 64px 0 48px; } }
.rings {
  position: absolute; right: -360px; top: -380px; width: 1100px; height: 1100px; border-radius: 50%; pointer-events: none;
  background: repeating-radial-gradient(circle at center, transparent 0 46px, rgba(214, 181, 255, .11) 46px 47px);
  -webkit-mask-image: radial-gradient(circle, #000 0 28%, transparent 68%); mask-image: radial-gradient(circle, #000 0 28%, transparent 68%);
}
.glow { position: absolute; border-radius: 50%; pointer-events: none; }
.glow.lav { right: 22%; top: 104px; width: 14px; height: 14px; background: var(--lav); box-shadow: 0 0 22px var(--lav); }
.glow.red { right: 9%; top: 300px; width: 12px; height: 12px; background: var(--red); box-shadow: 0 0 20px var(--red); }
.hero-in { position: relative; display: flex; flex-direction: column; gap: 14px; }
.hero-in h1 { margin-top: 4px; }
.hero-in .claim, .hero-in .links { margin-top: 10px; }
.badges { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px; border-radius: 999px;
  border: 1px solid rgba(214, 181, 255, .5); background: rgba(150, 65, 255, .14);
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: #fff;
}
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red); }
.venue { font-family: var(--mono); font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
h1 {
  margin: 0; max-width: 1040px; font-family: var(--serif); font-weight: 700; font-size: clamp(36px, 6vw, 72px);
  line-height: 1.04; letter-spacing: -.03em; color: #fff; text-wrap: balance;
}
h1 em, .claim em { font-style: normal; color: var(--lav); }
.claim { margin: 0; max-width: 900px; font-family: var(--serif); font-weight: 700; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.4; color: #fff; }
.claim-sub { margin: 0; max-width: 820px; font-size: 17px; color: var(--ink-2); }
.links { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px; border-radius: 999px;
  background: var(--lav); color: var(--bg); text-decoration: none; font-weight: 500; font-size: 15px;
}
.btn:hover { color: var(--bg); background: #fff; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid rgba(247, 247, 247, .3); }
.btn.ghost:hover { border-color: var(--lav); color: #fff; }
.btn[aria-disabled="true"] { pointer-events: none; background: transparent; color: var(--ink-3); border: 1px dashed var(--rule); }
@media (max-width: 719px) { .btn[aria-disabled="true"] { display: none; } }

/* ---------- Section nav ---------- */
.secnav { position: sticky; top: 0; z-index: 10; background: rgba(11, 11, 13, .82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--rule); }
.secnav .wrap { display: flex; gap: 4px 24px; overflow-x: auto; scrollbar-width: none; }
.secnav .wrap::-webkit-scrollbar { display: none; }
@media (max-width: 719px) {
  .secnav .wrap { gap: 4px 18px; -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); }
}
.secnav a { flex: none; display: inline-flex; align-items: center; min-height: 48px; font-size: 14px; color: var(--ink-3); text-decoration: none; border-bottom: 2px solid transparent; }
.secnav a:hover, .secnav a.on { color: #fff; }
.secnav a.on { border-bottom-color: var(--lav); }
.secnav a:focus-visible { outline: 2px solid var(--lav); outline-offset: -2px; }
section, .foot { scroll-margin-top: 56px; }

/* ---------- Intro: figure, numbers, takeaways ---------- */
.intro { display: flex; flex-direction: column; gap: 36px; padding-top: 24px; padding-bottom: 16px; }
@media (min-width: 720px) { .intro { padding-top: 40px; } }
.fig1 { margin: 0; display: grid; gap: 32px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .fig1 { grid-template-columns: 1.15fr 1fr; gap: 48px; } }
/* Fig. 1 drawn inline: page fonts and tokens; lavender carries the onset frames, mu+ and u */
.fig1-art { border-radius: 22px; border: 1px solid var(--rule); background: rgba(247, 247, 247, .02); padding: 24px; min-width: 0; overflow-x: auto; }
.fig1-art svg { display: block; width: 100%; height: auto; }
.f1 text { font-family: var(--sans); font-size: 12px; fill: var(--ink-2); }
.f1 .head { font-size: 15.5px; font-weight: 500; fill: var(--ink); }
.f1 .ctitle { font-size: 13.5px; font-weight: 500; fill: var(--ink-2); }
.f1 .key { font-family: var(--mono); font-size: 15px; font-weight: 500; fill: var(--lav); }
.f1 .lab { font-family: var(--mono); font-size: 12px; letter-spacing: .01em; fill: var(--ink-3); }
.f1 .math { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
.f1 .ctitle .math { fill: var(--ink); font-size: 15px; }
.f1 .tick { font-family: var(--mono); font-size: 12px; fill: var(--ink-3); }
.f1 .tick .math { font-size: 14px; }
.f1 .sym { font-size: 17px; fill: var(--ink-2); }
.f1 .big { font-size: 22px; font-weight: 600; }
.f1 .on { fill: var(--lav); }
.f1 .wv-user { fill: var(--user); }
.f1 .wv-model { fill: var(--ref); }
.f1 .fr-off { fill: rgba(247, 247, 247, .07); }
.f1 .fr-sil { fill: var(--user); }
.f1 .fr-on { fill: var(--lav); }
.f1 .onl { stroke: var(--ink-3); stroke-dasharray: 2 3; }
.f1 .ln-sil { fill: none; stroke: var(--ink-3); stroke-width: 1.3; }
.f1 .ln-on { fill: none; stroke: var(--lav); stroke-width: 1.3; }
.f1 .ah-lav { fill: var(--lav); }
.f1 .ah-ink { fill: var(--ink-3); }
.f1 .plane { fill: rgba(214, 181, 255, .03); stroke: rgba(214, 181, 255, .32); }
.f1 .ct-neg, .f1 .ct-pos { fill: none; stroke-width: 1; }
.f1 .ct-neg { stroke: var(--ink); }
.f1 .ct-pos { stroke: var(--lav); }
.f1 .ct-neg.lv0 { stroke-opacity: .27; fill: rgba(247, 247, 247, .025); }
.f1 .ct-neg.lv1 { stroke-opacity: .3; }
.f1 .ct-neg.lv2 { stroke-opacity: .42; }
.f1 .ct-pos.lv0 { stroke-opacity: .4; fill: rgba(214, 181, 255, .04); }
.f1 .ct-pos.lv1 { stroke-opacity: .48; }
.f1 .ct-pos.lv2 { stroke-opacity: .65; }
.f1 .ct-neg-dot { fill: var(--ink-3); }
.f1 .ct-pos-dot { fill: var(--lav); opacity: .75; }
.f1 .mean-neg { fill: var(--ink); stroke: #121114; stroke-width: 2.5; }
.f1 .mean-pos { fill: var(--lav); stroke: #121114; stroke-width: 2.5; }
.f1 .halo { paint-order: stroke; stroke: #121114; stroke-width: 4px; stroke-linejoin: round; }
.f1 .uname { font-size: 11.5px; fill: var(--ink-3); }
.f1 .trunk { stroke: var(--ink-4); stroke-width: 1.2; }
.f1 .blk { fill: var(--bg-2); stroke: var(--ink-4); }
.f1 .blk-on { fill: var(--lav); }
.f1 .blk-t, .f1 .blk-t-on { font-family: var(--mono); font-size: 11.5px; }
.f1 .blk-t { fill: var(--ink-3); }
.f1 .blk-t-on { fill: var(--bg); font-weight: 500; }
.f1 .wedge { fill: rgba(214, 181, 255, .05); }
.f1 .u { stroke: var(--lav); stroke-width: 3; stroke-linecap: round; }
.f1 .card { fill: rgba(247, 247, 247, .03); stroke: var(--rule); }
.f1 .band { fill: rgba(214, 181, 255, .15); }
.f1 .axis { stroke: var(--rule); }
.f1 .curve { fill: none; stroke: var(--curve); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.f1 .curve.faint { opacity: .3; }
.f1 .col-pos { fill: var(--lav); }
.f1 .col-neg { fill: none; stroke: var(--lav); stroke-width: 1.5; }
.f1 .col-def { fill: var(--ink-3); }
.f1 .def { stroke: var(--ink-3); stroke-dasharray: 3 3; }
@media (max-width: 599px) {
  .fig1-art { padding: 12px; margin: 0 -8px; }
}
.fig1 figcaption { display: flex; flex-direction: column; gap: 14px; font-size: 15.5px; line-height: 1.75; color: var(--ink-2); }
.fig-title { font-family: var(--serif); font-weight: 700; font-size: 30px; line-height: 1.2; color: #fff; }

.card, .num {
  border-radius: 22px; border: 1px solid var(--rule); background: rgba(247, 247, 247, .03);
}
.ours, .num.ours {
  border-color: rgba(214, 181, 255, .48);
  background: linear-gradient(150deg, rgba(150, 65, 255, .20), rgba(255, 1, 50, .05));
  box-shadow: 0 0 56px rgba(150, 65, 255, .18);
}
.numbers { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .numbers { grid-template-columns: repeat(3, 1fr); } }
.num { padding: 26px 28px; display: flex; flex-direction: column; gap: 12px; }
.num .big { font-family: var(--serif); font-weight: 700; font-size: clamp(30px, 3.4vw, 40px); line-height: 1.05; letter-spacing: -.02em; color: #fff; font-variant-numeric: tabular-nums; }
.num .arrow { color: var(--lav); }
.num .lbl { font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }
.takes { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .takes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .takes { grid-template-columns: repeat(4, 1fr); } }
.takes li { display: flex; flex-direction: column; gap: 6px; padding-top: 16px; border-top: 1px solid rgba(214, 181, 255, .28); font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.takes b { font-family: var(--serif); font-weight: 700; font-size: 20px; color: #fff; }

/* ---------- Sections ---------- */
section { padding: 48px 0 8px; border-top: 1px solid var(--rule); margin-top: 40px; }
@media (min-width: 720px) { section { padding-top: 64px; } }
.kicker { margin: 0 0 14px; }
h2 { margin: 0 0 14px; max-width: 900px; font-family: var(--serif); font-weight: 700; font-size: clamp(30px, 4vw, 48px); line-height: 1.1; letter-spacing: -.02em; color: #fff; text-wrap: balance; }
.lede { margin: 0 0 28px; max-width: 860px; font-size: 17px; color: var(--ink-2); text-wrap: pretty; }

.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.tab {
  min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--rule); background: transparent;
  color: var(--ink-2); font: 500 15px var(--sans); cursor: pointer; display: inline-flex; align-items: center; gap: 10px;
}
.tab:hover { border-color: rgba(214, 181, 255, .45); color: #fff; }
.tab .dot { width: 9px; height: 9px; border-radius: 50%; }
.tab[aria-selected="true"] { color: #fff; border-color: rgba(214, 181, 255, .6); background: rgba(150, 65, 255, .16); }
.tab:focus-visible, .play:focus-visible, .btn:focus-visible, summary:focus-visible { outline: 2px solid var(--lav); outline-offset: 3px; }

.meta { margin: 0 0 18px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .04em; color: var(--ink-3); }
.meta code { font-family: var(--mono); color: var(--ink-2); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px 28px; margin: 28px 0 4px; }
.stat { display: flex; flex-direction: column; gap: 6px; padding-top: 14px; border-top: 1px solid rgba(214, 181, 255, .28); min-width: 0; }
.stat > b { font-family: var(--serif); font-weight: 700; font-size: 30px; line-height: 1.1; letter-spacing: -.01em; color: #fff; font-variant-numeric: tabular-nums; }
.stat > b small { font-size: .6em; font-weight: 700; color: var(--ink-3); letter-spacing: 0; }
.stat > span { font-size: 14px; line-height: 1.5; color: var(--ink-2); }

/* lane legend */
.legend { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: -6px 0 16px; font-size: 13px; color: var(--ink-3); }
.legend > span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 14px; height: 8px; border-radius: 2px; flex: none; }
.legend i.line { width: 16px; height: 2px; }
.legend i.thin { height: 5px; }
.legend i.tick { width: 2px; height: 12px; border-radius: 1px; }
.plot-box .legend { margin: 0; }

.grid3 { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .grid3 { grid-template-columns: repeat(3, 1fr); } }
.card { padding: 24px; min-width: 0; display: flex; flex-direction: column; }
.card h3 { margin: 0 0 4px; font-family: var(--serif); font-weight: 700; font-size: 26px; color: #fff; }
.card .sub { margin: 0 0 6px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; line-height: 1.6; color: var(--ink-3); }
.label { margin: 18px 0 8px; font-size: 13px; font-weight: 500; line-height: 1.45; color: var(--ink-3); }

table.desc { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 13.5px; margin: 18px 0 0; }
table.desc col.n { width: 64px; }
table.desc th, table.desc td { padding: 8px 4px; border-top: 1px solid var(--rule); text-align: right; font-family: var(--mono); color: #fff; font-variant-numeric: tabular-nums; }
table.desc td:nth-child(2) { color: var(--ink-2); }
table.desc th:first-child, table.desc td:first-child { text-align: left; font-family: var(--sans); color: var(--ink-2); font-weight: 400; }
table.desc thead th { border-top: none; padding-bottom: 6px; font-size: 11px; letter-spacing: .12em; color: var(--ink-3); font-weight: 400; text-transform: uppercase; }
.card .sub { font-family: var(--sans); font-size: 13.5px; letter-spacing: 0; }
.card table.desc { margin-top: auto; padding-top: 18px; border-collapse: separate; border-spacing: 0; }

/* ---------- Player ---------- */
.player { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; min-width: 0; }
.play {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(247, 247, 247, .22); background: rgba(247, 247, 247, .06);
  color: var(--ink); cursor: pointer; display: grid; place-items: center; padding: 0;
}
.play:hover { border-color: var(--lav); }
.play svg { width: 14px; height: 14px; fill: currentColor; }
.player.is-playing .play { background: var(--lav); color: var(--bg); border-color: var(--lav); }
.player.compact { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.player.compact .time { font-family: var(--mono); font-size: 13px; color: #fff; font-variant-numeric: tabular-nums; }
.player.compact .hint { font-size: 13px; color: var(--ink-3); }
.lanes { position: relative; cursor: pointer; height: 34px; touch-action: manipulation; }
.lanes svg { display: block; width: 100%; height: 100%; overflow: visible; }
.lane-bg { fill: var(--lane); }
.seg-user { fill: var(--user); }
.playhead { stroke: var(--red); stroke-width: 2; filter: drop-shadow(0 0 4px var(--red)); }
.lane-tag { font: 500 9px var(--mono); fill: var(--ink-3); }

.rows { display: grid; gap: 0; padding: 6px 24px 10px; border-radius: 22px; border: 1px solid var(--rule); background: rgba(247, 247, 247, .03); }
.row { display: grid; grid-template-columns: 1fr; gap: 8px; align-items: center; padding: 14px 0; border-top: 1px solid var(--rule); }
.row:first-child { border-top: none; }
@media (min-width: 720px) { .row { grid-template-columns: 120px 1fr 190px; gap: 18px; } }
.row .dose { font-family: var(--serif); font-weight: 700; font-size: 22px; color: #fff; }
.row .val { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 13.5px; color: #fff; font-variant-numeric: tabular-nums; }
.val .pct { width: 50px; flex: none; text-align: right; }
.bar { position: relative; flex: 1; height: 8px; background: rgba(247, 247, 247, .08); border-radius: 4px; }
.bar > i { display: block; height: 100%; border-radius: 4px; }
.bar > .base { position: absolute; top: -4px; bottom: -4px; width: 2px; margin-left: -1px; border-radius: 1px; background: var(--ink-2); }
.row.head { padding: 12px 0 0; border-top: none; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.row.head + .row { border-top: none; }
.row.head > span:nth-child(2) { padding-left: 58px; }
@media (max-width: 719px) { .row.head { display: none; } }

/* section 3: the initiative row is "ours", the random rows are hairline */
#random .rows { padding: 0; border: none; background: none; gap: 12px; }
#random .row { padding: 16px 22px; border: 1px solid var(--rule); border-radius: 18px; background: rgba(247, 247, 247, .03); }
@media (min-width: 720px) { #random .row { grid-template-columns: 170px 1fr 190px; } }
#random .row.head { padding: 4px 22px 0; border: none; background: none; }
#random .row.ours { border-color: rgba(214, 181, 255, .48); background: linear-gradient(150deg, rgba(150, 65, 255, .20), rgba(255, 1, 50, .05)); box-shadow: 0 0 40px rgba(150, 65, 255, .16); }
#random .row:not(.ours) .dose, #random .row:not(.ours) .val { color: var(--ink-2); }
@media (max-width: 719px) {
  .row { grid-template-columns: 1fr 120px; gap: 8px 12px; }
  .row .player { grid-column: 1 / -1; grid-row: 2; }
  .rows { padding: 4px 16px 8px; }
  #random .row { padding: 14px 16px; }
  .tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .tab { justify-content: center; padding: 0 6px; gap: 6px; font-size: 13.5px; }
  .tab .dot { width: 7px; height: 7px; }
}

.plot-box { padding: 24px; border-radius: 22px; border: 1px solid var(--rule); background: rgba(247, 247, 247, .03); display: flex; flex-direction: column; gap: 16px; }
.plot { width: 100%; height: auto; display: block; }
.plot .axis { stroke: var(--rule); }
.plot .tick { font: 12px var(--mono); fill: var(--ink-3); }
.plot .curve { fill: none; stroke: var(--curve); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.plot .onset { stroke: var(--ink-3); stroke-dasharray: 3 4; }
.plot .guide { stroke: var(--ink-3); stroke-width: 1; pointer-events: none; }
.plot .guide-t { fill: var(--ink-2); pointer-events: none; }
@media (max-width: 719px) {
  .plot-box { padding: 16px; }
  .plot .tick { font-size: 20px; }
  .plot .curve { stroke-width: 2.6; }
}

.note { font-size: 13.5px; line-height: 1.65; color: var(--ink-3); margin: 24px 0 0; max-width: 900px; }
#choice { margin-top: 72px; padding-top: 0; border-top: none; }
details { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
summary { cursor: pointer; min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; list-style: none; font-family: var(--mono); font-size: 13.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--lav); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 22px; letter-spacing: 0; color: var(--ink-2); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
summary:hover::after { color: #fff; }
@media (prefers-reduced-motion: reduce) { summary::after { transition: none; } }
#choice-body { color: var(--ink-2); font-size: 15px; max-width: 900px; }
#choice-body ul { padding-left: 20px; }
#choice-body li { margin-bottom: 10px; }

/* ---------- Footer ---------- */
.foot {
  margin-top: 24px; padding-top: 24px; padding-bottom: 96px;
  display: grid; gap: 40px; grid-template-columns: 1fr; color: var(--ink-2); font-size: 15px;
}
@media (min-width: 900px) { .foot { grid-template-columns: 1fr 1fr; } }
.foot > div { min-width: 0; }
.foot h2 { font-family: var(--mono); font-weight: 400; font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: var(--lav); margin: 0 0 14px; }
.foot p { margin: 0 0 12px; }
.bib { margin: 0; background: var(--bg-2); border: 1px solid var(--rule); border-radius: 18px; padding: 20px 22px; overflow-x: auto; font: 13px/1.6 var(--mono); color: var(--ink); }
.bib code { font: inherit; }
.bib-wrap { position: relative; }
.bib-wrap .bib { padding-right: 96px; white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 719px) { .bib-wrap .bib { padding: 56px 18px 18px; } }
.copy { position: absolute; top: 8px; right: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(247, 247, 247, .25); background: var(--bg); color: var(--ink); font: 500 13px var(--sans); cursor: pointer; }
.copy:hover { border-color: var(--lav); }
.copy:focus-visible { outline: 2px solid var(--lav); outline-offset: 2px; }

/* transfer: one no-steering clip per weight, then a default column in each card */
.default-row { display: grid; grid-template-columns: 1fr; gap: 12px; align-items: center; margin: 0 0 16px; padding: 18px 24px; border-radius: 18px; border: 1px dashed rgba(247, 247, 247, .22); }
@media (min-width: 720px) { .default-row { grid-template-columns: minmax(220px, 300px) 1fr; gap: 24px; } }
.default-head { display: flex; flex-direction: column; gap: 4px; }
.default-head b { font-family: var(--serif); font-weight: 700; font-size: 20px; color: var(--ink-2); }
.default-head span { font-size: 13.5px; line-height: 1.5; color: var(--ink-3); }
.card .tables { margin-top: auto; padding-top: 18px; }
.card .tables table.desc { margin: 0; }
table.desc col.n { width: 58px; }
table.desc td:nth-child(3) { color: var(--ink-3); }
table.desc tr.dist td { font-weight: 500; }
table.desc td.win { color: var(--lav); }
table.desc td small { font-size: 11px; color: var(--ink-3); }

.grid2 { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .grid2 { grid-template-columns: repeat(2, 1fr); } }
