/* =============================================================================
   STASH — Proof page (proof.html). Adds to stash.css; never redefines a token.

   GREEN RULE (scripts/check-naming.sh rule 7): every selector below that touches
   var(--rate…) carries "rate" in each of its comma-separated parts. On this page green
   marks only a value the visitor's browser just read from the chain: the returning
   answer dots, a row's box turning into a read, the "now" pool bars, the floor band, the
   panel dot once a read matched, and stash.css's .rate-flash wash. On paper it is a FILL
   only; as text it appears nowhere.
   ============================================================================= */

/* ------------------------------------------------------------- hero */
.pf-hero { padding-block: clamp(2.25rem, 5vh, 4rem) clamp(2.5rem, 6vh, 4.5rem); }
.pf-hero__grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6.4fr);
  gap: clamp(1.75rem, 4vw, 4rem); align-items: center; position: relative; z-index: 1;
}
.pf-hero__copy { padding-left: clamp(0rem, 1.4vw, 1.1rem); }
.pf-hero__h1 { font-stretch: 76%; font-weight: 820; font-size: clamp(2.5rem, min(4.4vw, 7vh), 4.1rem); line-height: .95; letter-spacing: -.02em; text-wrap: balance; }
.pf-hero__lede { margin-top: 1.15rem; max-width: 35rem; font-size: 1.08rem; line-height: 1.6; color: var(--t2); }
.pf-hero__lede b, .pf-hero__qual b { color: var(--ink); font-weight: 600; }
.pf-hero__qual { margin-top: .9rem; max-width: 33rem; font-size: .92rem; line-height: 1.55; color: var(--t3); padding-left: .9rem; border-left: 2px solid var(--line-2); }
.pf-hero__ctas { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }
.pf-hero__ctas .arr { font-size: 1.05em; }
.pf-hero__stats { margin-top: 1.6rem; padding-top: 1rem; border-top: 1px solid var(--line-2); gap: .9rem; }
.pf-hero__stats .stat__v { font-size: 1.95rem; }
.pf-hero__stats .stat__l { font-size: .74rem; }

/* ------------------------------------------------------------- the checks panel (ink) */
.pf-panel { padding: 0; border-radius: var(--r-panel); background: var(--ink); box-shadow: var(--shadow-panel); overflow: hidden; }
.pf-panel__head {
  display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: .35rem 1rem; align-items: center;
  padding: 1.05rem 1.25rem 1rem; border-bottom: 1px solid var(--line-d); background: var(--ink-2);
}
.pf-ringbox { position: relative; width: 52px; height: 52px; }
.pf-ring { width: 52px; height: 52px; transform: rotate(-90deg); display: block; }
.pf-ring__n { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--f-mono); font-size: .66rem; color: var(--d3); font-variant-numeric: tabular-nums; }
.pf-ring__n b { font-weight: 600; color: var(--d1); font-size: .9rem; }
.pf-ring__track { fill: none; stroke: var(--line-d-2); stroke-width: 3; }
.pf-ring__done { fill: none; stroke: var(--d1); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset .6s var(--ease); }
.pf-panel__head[data-state="unreachable"] .pf-ring__done, .pf-panel__head[data-state="mismatch"] .pf-ring__done { stroke-dasharray: 3 2.2; }
.pf-panel__h { display: flex; align-items: center; gap: .55rem; font-stretch: 125%; font-weight: 700; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--d1); }
.pf-dot { position: relative; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--d3); flex: none; }
.pf-dot.rate-pf-dot { background: var(--rate); border-color: var(--rate); }
.pf-dot.rate-pf-dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--rate-60); animation: pulse-ring 1.8s ease-out 2; }
.pf-panel__line { margin-top: .3rem; font-family: var(--f-mono); font-size: var(--fs-mono-s); color: var(--d2); line-height: 1.45; }
.pf-panel__rpc { display: grid; justify-items: end; gap: .2rem; text-align: right; }
.pf-panel__rpc .label { color: var(--d3); font-size: .62rem; }
.pf-panel__rpc .mono { font-size: var(--fs-mono-xs); color: var(--d2); overflow-wrap: anywhere; }
.pf-panel__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .3rem 1rem; padding: .75rem 1.25rem .9rem; font-family: var(--f-mono); font-size: var(--fs-mono-xs); color: var(--d3); border-top: 1px solid var(--line-d); }

.pc-list { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.pc {
  position: relative; display: grid; grid-template-columns: 28px 16px minmax(0, 1.2fr) minmax(0, 1fr); gap: 0 .75rem; align-items: start;
  padding: .6rem 1.25rem .62rem; border-top: 1px solid var(--line-d);
  transition: background-color .4s var(--ease);
}
.pc:first-child { border-top: 0; }
.pc[data-state="reading"] { background: rgba(244, 239, 228, .035); }
.pc-mark { width: 28px; height: 28px; margin-top: -2px; }
.pc-mark svg { width: 28px; height: 28px; display: block; overflow: visible; }
.pc-n { font-family: var(--f-mono); font-size: var(--fs-mono-xs); color: var(--d3); padding-top: .2rem; }
.pc-t { font-weight: 600; font-size: .92rem; line-height: 1.3; color: var(--d1); }
.pc-ask { margin-top: .2rem; display: flex; flex-wrap: wrap; gap: .1rem .6rem; min-width: 0; font-family: var(--f-mono); font-size: var(--fs-mono-xs); line-height: 1.5; color: var(--d3); }
.pc-ask code { color: var(--d2); flex: none; }
/* the expected answer is what the reader checks against the chain: it wraps under the call, never ends in an ellipsis */
.pc-exp { min-width: 0; overflow-wrap: anywhere; }
.pc-addr { white-space: nowrap; }
.pc-read { text-align: right; min-width: 0; }
.pc-v { display: inline-block; font-family: var(--f-mono); font-size: var(--fs-mono-s); font-weight: 500; line-height: 1.4; color: var(--d1); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.pc[data-state="wait"] .pc-v, .pc[data-state="reading"] .pc-v { color: var(--d3); }
.pc-s { margin-top: .2rem; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .1rem .55rem; font-family: var(--f-mono); font-size: var(--fs-mono-xs); color: var(--d3); }
.pc-s [data-s] { font-family: var(--f-display); font-stretch: 125%; font-weight: 700; font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--d2); }
.pc[data-state="match"] .pc-s [data-s] { color: var(--d1); }
.pc[data-state="mismatch"] .pc-s [data-s], .pc[data-state="unreachable"] .pc-s [data-s] { color: var(--d1); text-decoration: underline; text-decoration-style: wavy; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.pc-note { margin-top: .2rem; font-family: var(--f-mono); font-size: var(--fs-mono-xs); color: var(--d3); line-height: 1.45; overflow-wrap: anywhere; }
.pc-note:empty { display: none; }
.pc-retry-btn {
  margin-top: .35rem; min-height: 44px; padding: 0 1rem; border-radius: var(--r-pill); cursor: pointer;
  background: transparent; border: 1px solid var(--line-d-2); color: var(--d1);
  font: 600 .8rem/1 var(--f-display);
}
.pc-retry-btn:hover { border-color: var(--d2); }
.pc-retry-btn[hidden] { display: none; }
/* the hairline under a row: sweeps while the read is out, then settles */
.pc-bar { position: absolute; left: 1.25rem; right: 1.25rem; bottom: -1px; height: 1px; overflow: hidden; pointer-events: none; }
.pc-bar i { position: absolute; inset: 0; background: var(--d2); transform: scaleX(0); transform-origin: left; }
.pc[data-state="reading"] .pc-bar i { animation: pc-sweep 1.1s var(--ease-io) infinite; }
.pc[data-state="match"] .pc-bar i { transform: scaleX(1); opacity: .28; transition: transform .6s var(--ease), opacity 1.6s ease .6s; }
@keyframes pc-sweep { 0% { transform: translateX(-100%) scaleX(.35); } 100% { transform: translateX(300%) scaleX(.35); } }

/* the mark: a ring that spins while reading, then draws a tick, a cross or a retry arrow */
.pc-ring { fill: none; stroke: var(--line-d-2); stroke-width: 1.4; }
.pc-spin { fill: none; stroke: var(--d1); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 22 78; opacity: 0; transform-origin: 14px 14px; }
.pc-tick, .pc-cross { fill: none; stroke: var(--d1); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.pc-retry { fill: none; stroke: var(--d1); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.pc[data-state="reading"] .pc-spin { opacity: 1; animation: spin .9s linear infinite; }
.pc[data-state="match"] .pc-ring { stroke: var(--d2); }
.pc[data-state="match"] .pc-tick { stroke-dashoffset: 0; transition: stroke-dashoffset .45s var(--ease) .05s; }
.pc[data-state="mismatch"] .pc-ring { stroke: var(--d1); stroke-dasharray: 3 3; }
.pc[data-state="mismatch"] .pc-cross { stroke-dashoffset: 0; transition: stroke-dashoffset .4s var(--ease); }
.pc[data-state="unreachable"] .pc-ring { stroke: var(--d2); stroke-dasharray: 2 4; }
.pc[data-state="unreachable"] .pc-retry { opacity: 1; transition: opacity .3s; }
/* the code check's small bars: one per address, grown by its code size as each answer lands */
.pc-code { display: flex; align-items: flex-end; gap: 3px; height: 14px; margin-top: .35rem; }
.pc-code i { width: 7px; height: 100%; background: var(--line-d-2); transform: scaleY(.1); transform-origin: bottom; transition: transform .7s var(--ease), background-color .3s; border-radius: 1px; }
.pc-code i[data-state="match"] { background: var(--d1); }
.pc-code i[data-state="mismatch"] { background: transparent; outline: 1px dashed var(--d2); }
.pc-code i[data-state="unreachable"] { background: transparent; outline: 1px dotted var(--d3); }

/* ------------------------------------------------------------- the read path (paper-2) */
.pd { margin: 0; }
.pd-stage { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-panel); padding: clamp(.4rem, 1.5vw, 1rem); box-shadow: var(--shadow-card); }
.pd-svg { display: block; width: 100%; height: auto; overflow: visible; }
.pd-txt { font-family: var(--f-mono); font-size: 14px; fill: var(--t1); }
.pd-txt--s { font-size: 12.5px; fill: var(--t2); }
.pd-txt--b { font-family: var(--f-display); font-stretch: 125%; font-weight: 700; font-size: 12px; letter-spacing: .12em; fill: var(--paper); }
.pd-plate { fill: var(--ink); }
.pd-hatch { stroke: none; opacity: .5; }
.pd-win { fill: var(--paper-2); }
.pd-sheet { fill: var(--paper-2); }
.pd-wire { stroke-dasharray: 5 6; }
.pd-led { fill: var(--paper); stroke: var(--ink); stroke-width: 1.2; }
.pd-out { fill: var(--ink); }
.rate-pd-back { fill: var(--rate); stroke: var(--ink); stroke-width: 1; }
.pd-fail { fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-dasharray: 2 2; }
.pd-cfg { fill: var(--ink); }
/* the browser window's rows: one per check, in the same order */
.rate-pd-rows .wr-box { fill: none; stroke: var(--line-2); stroke-width: 1.2; transition: fill .4s, stroke .4s; }
.rate-pd-rows .wr-ln { fill: none; stroke: var(--line-2); stroke-width: 3; stroke-linecap: round; transition: stroke .4s; }
.rate-pd-rows .wr-x { fill: none; stroke: var(--paper); stroke-width: 1.6; stroke-linecap: round; opacity: 0; }
.rate-pd-rows [data-state="reading"] .wr-box { stroke: var(--ink); stroke-dasharray: 3 2; }
.rate-pd-rows [data-state="match"] .wr-box { fill: var(--rate); stroke: var(--ink); }
.rate-pd-rows [data-state="match"] .wr-ln { stroke: var(--ink); }
.rate-pd-rows [data-state="mismatch"] .wr-box { fill: var(--ink); stroke: var(--ink); }
.rate-pd-rows [data-state="mismatch"] .wr-x { opacity: 1; }
.rate-pd-rows [data-state="mismatch"] .wr-ln { stroke: var(--ink); stroke-dasharray: 4 5; }
.rate-pd-rows [data-state="unreachable"] .wr-box { stroke: var(--ink); stroke-dasharray: 1.5 2.5; }
.pd-legend { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 1rem 2rem; align-items: start; margin-top: 1.25rem; }
.pd-leg { align-self: start; }
.pd-leg p { margin-top: .35rem; display: flex; align-items: baseline; gap: .5rem; font-size: .9rem; color: var(--t2); }
.pd-leg p b { font-size: 1.35rem; font-weight: 500; color: var(--t1); font-variant-numeric: tabular-nums; }
.pd-key { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex: none; align-self: center; }
.pd-key--back.rate-pd-key { background: var(--rate); box-shadow: 0 0 0 1px var(--ink); }
.pd-key--fail { border: 1.4px dashed var(--ink); }
.pd-leg--note { justify-self: end; align-self: center; }

/* ------------------------------------------------------------- claims */
.pf-launch { margin-top: 1rem; font-family: var(--f-mono); font-size: var(--fs-mono-s); color: var(--fg-3); }
.stamps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; counter-reset: none; }
.stamp-card { display: flex; flex-direction: column; gap: .7rem; padding: 1.35rem; position: relative; }
.stamp-card::after { /* the arrow to the next step */
  content: ""; position: absolute; right: -1rem; top: 2.1rem; width: 1rem; height: 1px; background: var(--line-2);
}
.stamp-card:last-child::after { display: none; }
.stamp-card__top { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: .9rem; align-items: start; margin-bottom: .35rem; }
.stamp-card__top .body-s { margin-top: .35rem; }
.stamp-card__n {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px dashed var(--line-2);
  font-family: var(--f-mono); font-size: .85rem; color: var(--t2);
}
.stamp { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .5rem; align-items: start; margin-top: auto; }
.st-0x { font-family: var(--f-mono); font-size: var(--fs-mono-s); color: var(--t3); padding-top: 2px; }
.st-cells { display: grid; grid-template-columns: repeat(16, minmax(0, 1fr)); gap: 3px; }
.st-cells i {
  display: grid; place-items: center; aspect-ratio: 4 / 5; border: 1px dashed var(--line-2); border-radius: 2px;
  font-style: normal; font-family: var(--f-mono); font-size: 10.5px; line-height: 1; color: var(--t1);
}
.stamp[data-filled="yes"] .st-cells i { border-style: solid; border-color: var(--line); background: var(--paper-2); }
/* once, on reveal: a read head passes over the 64 places, and finds them empty */
.js .stamp-card.is-in .stamp[data-filled="no"] .st-cells i { animation: st-scan .5s ease-out both; animation-delay: calc(400ms + var(--i) * 22ms); }
@keyframes st-scan { 0% { background: transparent; } 35% { background: var(--line-2); border-color: var(--ink); } 100% { background: transparent; } }
.stamp-cap { font-family: var(--f-mono); font-size: var(--fs-mono-xs); color: var(--t3); }
.stamp-cap a { color: var(--t1); }
.claims-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 1rem; margin-top: 1rem; }
.claims-check, .claims-ledger { padding: 1.35rem; }
.claims-ledger .ledger td:first-child { color: var(--t1); }
.claims-note { margin-top: 1rem; }

/* ------------------------------------------------------------- chain constants (ink) */
.cc-wrap { --cc-cols: minmax(0, 15rem) minmax(0, 1fr) 8.5rem; border-top: 1px solid var(--line-d-2); }
.cc-axis { display: grid; grid-template-columns: var(--cc-cols); column-gap: 1.5rem; padding: .7rem 0; font-family: var(--f-mono); font-size: var(--fs-mono-xs); color: var(--d3); }
.cc-axis__lane { grid-column: 2; position: relative; height: 1.1em; }
.cc-axis__lane span { position: absolute; top: 0; left: calc(var(--p) * 1%); transform: translateX(-50%); white-space: nowrap; }
.cc-axis__lane span:first-child { transform: none; }
.cc-axis__lane span:last-child { transform: translateX(-100%); }
.cc-list { list-style: none; margin: 0; padding: 0; }
.cc {
  display: grid; grid-template-columns: var(--cc-cols); column-gap: 1.5rem; row-gap: .25rem; align-items: center;
  padding: .85rem 0; border-top: 1px solid var(--line-d);
}
.cc-id { display: grid; gap: .1rem; min-width: 0; }
.cc-id b { font-weight: 650; font-size: .95rem; color: var(--d1); overflow-wrap: anywhere; }
.cc-id b.is-anon { font-weight: 500; font-size: .85rem; color: var(--d3); font-style: italic; }
.cc-id a, .cc-id span { font-family: var(--f-mono); font-size: var(--fs-mono-xs); color: var(--d2); }
.cc-track {
  position: relative; height: 14px; border-radius: 2px;
  background-image: repeating-linear-gradient(90deg, var(--line-d) 0 1px, transparent 1px 33.333%);
  box-shadow: inset 0 -1px 0 var(--line-d-2);
}
.cc-track i { position: absolute; inset: 2px 0; background: var(--d2); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease); border-radius: 1px; }
.cc.is-used .cc-track i { background: var(--d1); }
.cc[data-state="mismatch"] .cc-track { box-shadow: inset 0 0 0 1px var(--d2); }
.cc[data-state="unreachable"] .cc-track { box-shadow: inset 0 0 0 1px var(--line-d-2); opacity: .6; }
.cc-v { font-family: var(--f-mono); font-size: var(--fs-mono-s); color: var(--d1); text-align: right; font-variant-numeric: tabular-nums; }
.cc[data-state="wait"] .cc-v { color: var(--d3); }
.cc-role { grid-column: 2 / 4; font-size: .82rem; color: var(--d3); line-height: 1.45; }
.cc-use {
  display: inline-block; margin-right: .5rem; padding: 1px 7px; border: 1px solid var(--line-d-2); border-radius: var(--r-pill);
  font-family: var(--f-display); font-stretch: 125%; font-weight: 700; font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: var(--d1); vertical-align: 1px;
}
.cc-foot { display: flex; flex-wrap: wrap; gap: .5rem 2.5rem; padding-top: 1rem; border-top: 1px solid var(--line-d); font-size: .85rem; color: var(--d3); }

/* ------------------------------------------------------------- pools + floor */
.pools-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 1rem; align-items: stretch; }
.pools-card { padding: 1.35rem; }
.pools-card__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 1.5rem; padding-bottom: .9rem; border-bottom: 1px solid var(--line); }
.pools-key { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; font-size: .8rem; color: var(--t2); }
.pools-key > span { display: inline-flex; align-items: center; gap: .45rem; }
.pools-key .mono { font-size: var(--fs-mono-xs); }
.pk { display: inline-block; width: 18px; height: 7px; border-radius: 1px; }
.pk--then { background: var(--ink); opacity: .32; }
.pk.rate-pk-now { background: var(--rate); box-shadow: inset 0 0 0 1px var(--ink); }
.pl { padding: 1rem 0 .9rem; border-bottom: 1px solid var(--line); }
.pl-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem .9rem; margin-bottom: .55rem; }
.pl-head b { font-stretch: 70%; font-weight: 850; font-size: 1.35rem; line-height: 1; }
.pl-head span { font-family: var(--f-mono); font-size: var(--fs-mono-xs); color: var(--t3); }
.pl-head a { color: var(--t2); }
.pl-tag { padding: 2px 8px; border: 1px solid var(--line-2); border-radius: var(--r-pill); color: var(--t2) !important; }
.pl-row { display: grid; grid-template-columns: 3.4rem minmax(0, 1fr) 9.5rem; gap: .9rem; align-items: center; padding: .22rem 0; }
.pl-k { font-family: var(--f-mono); font-size: var(--fs-mono-xs); color: var(--t2); }
.pl-bars { display: grid; gap: 3px; }
.pl-bars i { display: block; height: 7px; border-radius: 1px; transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease); }
.pl-then { background: var(--ink); opacity: .32; }
.rate-pl .pl-now { background: var(--rate); box-shadow: inset 0 0 0 1px var(--ink); }
.pl-v { display: grid; justify-items: end; font-family: var(--f-mono); font-size: var(--fs-mono-xs); line-height: 1.35; font-variant-numeric: tabular-nums; }
.pl-v-then { color: var(--t3); }
.pl-v-now { color: var(--t1); }
.pools-note { margin-top: 1rem; }

.floor-card { padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; border-radius: var(--r-panel); box-shadow: var(--shadow-panel); }
.floor-card__h { color: var(--d1); max-width: 22rem; }
.fl-scale { position: relative; height: 104px; margin: .4rem .5rem 0; }
.fl-track { position: absolute; left: 0; right: 0; top: 52px; height: 1px; background: var(--line-d-2); }
.fl-track::before, .fl-track::after { content: ""; position: absolute; top: -4px; width: 1px; height: 9px; background: var(--line-d-2); }
.fl-track::before { left: 0; } .fl-track::after { right: 0; }
.fl-band.rate-fl-band {
  position: absolute; top: 44px; height: 17px; left: var(--a, 0%); width: calc(var(--b, 0%) - var(--a, 0%));
  background: var(--rate-24); box-shadow: inset 0 0 0 1px var(--rate-60); border-radius: 2px;
  opacity: 0; transform: scaleX(0); transform-origin: right;
}
.fl-mark { position: absolute; top: 0; bottom: 0; left: var(--x, -100%); width: 0; opacity: 0; }
.fl-mark i { position: absolute; left: -.5px; width: 1px; background: var(--d1); }
.fl-mark span { position: absolute; white-space: nowrap; font-family: var(--f-mono); font-size: var(--fs-mono-xs); color: var(--d2); transform: translateX(-50%); }
.fl-mark--floor i { top: 36px; height: 33px; }
.fl-mark--floor span { top: 76px; color: var(--d1); }
.fl-mark--twap i { top: 22px; height: 38px; }
.fl-mark--twap span { top: 2px; }
.fl-mark--spot i { top: 44px; height: 30px; background: var(--d2); }
.fl-mark--spot span { top: 80px; }
.floor-card.is-drawn .fl-mark { opacity: 1; transition: opacity .5s ease, left .9s var(--ease); }
.floor-card.is-drawn .fl-mark--twap { transition-delay: .1s; }
.floor-card.is-drawn .fl-mark--floor { transition-delay: .45s; }
.floor-card.is-drawn .fl-band.rate-fl-band { opacity: 1; transform: none; transition: transform .8s var(--ease) .5s, opacity .3s ease .5s; }
.floor-card:not([data-state="read"]) .fl-mark, .floor-card:not([data-state="read"]) .fl-band.rate-fl-band { opacity: 0; }
.fl-read { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem 1rem; margin: 0; }
.fl-read div { border-top: 1px solid var(--line-d); padding-top: .5rem; }
.fl-read dt { font-size: .75rem; color: var(--d3); }
.fl-read dd { margin: .15rem 0 0; font-size: 1.05rem; color: var(--d1); font-variant-numeric: tabular-nums; }
.fl-unit { font-size: var(--fs-mono-xs); color: var(--d3); }
.fl-formula { font-family: var(--f-mono); font-size: var(--fs-mono-s); color: var(--d1); justify-content: flex-start; }
.fl-formula sub { font-size: .7em; color: var(--d3); }
.fl-note { font-size: .85rem; line-height: 1.55; color: var(--d2); }
.fl-dump { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line-d); }
.fl-dump .label { color: var(--d3); }
.fl-dump__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; margin-top: .6rem; }
.fl-dump__row b { display: block; font-size: 1.05rem; font-weight: 500; color: var(--d1); }
.fl-dump__row span { display: block; margin-top: .2rem; font-size: .74rem; line-height: 1.4; color: var(--d3); }
.fl-dump__prov { margin-top: .7rem; font-family: var(--f-mono); font-size: var(--fs-mono-xs); color: var(--d3); }
.fl-dump__prov a { color: var(--d2); }

/* ------------------------------------------------------------- cast + limits */
.cast-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.cast-term { min-width: 0; }
.cast-scroll { overflow-x: auto; margin-top: .4rem; -webkit-overflow-scrolling: touch; }
.cast-term pre { white-space: pre; overflow-wrap: normal; font-size: var(--fs-mono-xs); line-height: 1.75; color: var(--d1); margin-top: .6rem; padding-bottom: .4rem; }
.cast-term .cl-c { color: var(--d3); }
.cast-term .cl-p { color: var(--d3); }
.cannot { padding: 1.4rem; }
.cannot .h3 { margin-top: .5rem; }
.cannot-list { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .9rem 1.75rem; }
.cannot-list li { position: relative; padding-left: 1.4rem; font-size: .9rem; line-height: 1.55; color: var(--t2); }
.cannot-list li::before { content: "×"; position: absolute; left: 0; top: -.05em; font-family: var(--f-mono); color: var(--t1); }
.cannot-list b { color: var(--t1); font-weight: 600; }

/* ------------------------------------------------------------- responsive */
@media (max-width: 1180px) {
  .pc { grid-template-columns: 28px 14px minmax(0, 1fr) minmax(0, .9fr); }
}
@media (max-width: 1023px) {
  .pf-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .pf-hero__copy { padding-left: 0; }
  .pools-layout, .claims-row { grid-template-columns: minmax(0, 1fr); }
  .cannot-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stamps { grid-template-columns: minmax(0, 1fr); }
  .stamp-card::after { display: none; }
  .cc-wrap { --cc-cols: minmax(0, 12rem) minmax(0, 1fr) 7.5rem; }
}
/* the path legend: three counts and the note on one row only from 861 px (at 770-830 "30 timed out
   or refused" ran 22 px out of its column); on small phones two counts a row ("ANSWERED" is wider
   than a third of the row and ran 19 px out of it at 320-370) */
@media (max-width: 860px) {
  .pd-legend { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pd-leg--note { grid-column: 1 / -1; justify-self: start; }
  .pd-leg p { flex-direction: column; gap: .15rem; font-size: .8rem; }
  .pd-key { display: none; }
}
@media (max-width: 400px) {
  .pd-legend { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1rem; }
}
@media (max-width: 760px) {
  .cc-wrap { --cc-cols: minmax(0, 1fr) auto; }
  .cc { grid-template-columns: minmax(0, 1fr) auto; }
  .cc-id { grid-column: 1; }
  .cc-v { grid-column: 2; grid-row: 1; }
  .cc-track { grid-column: 1 / -1; grid-row: 2; margin-top: .3rem; }
  .cc-role { grid-column: 1 / -1; }
  .cc-axis { grid-template-columns: minmax(0, 1fr); }
  .cc-axis__lane { grid-column: 1; }
}
@media (max-width: 640px) {
  .pf-hero { padding-block: 1.4rem 2.5rem; }
  .pf-hero::before { display: none; }
  .pf-hero__h1 { font-size: clamp(2.3rem, 11vw, 2.9rem); }
  .pf-hero__lede { font-size: 1rem; }
  .pf-hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.1rem; }
  .pf-panel__head { grid-template-columns: 44px minmax(0, 1fr); padding: .95rem 1rem; }
  .pf-ringbox, .pf-ring { width: 44px; height: 44px; }
  .pf-panel__rpc { grid-column: 1 / -1; justify-items: start; text-align: left; grid-auto-flow: column; justify-content: start; gap: .6rem; align-items: baseline; }
  .pc { grid-template-columns: 28px minmax(0, 1fr); padding: .8rem 1rem; }
  .pc-n { display: none; }
  .pc-read { grid-column: 2; text-align: left; margin-top: .45rem; padding-top: .45rem; border-top: 1px dashed var(--line-d); }
  .pc-s { justify-content: flex-start; }
  .pc-bar { left: 1rem; right: 1rem; }
  .pf-panel__foot { padding: .75rem 1rem; }
  .pd-txt { display: none; }
  .pd-stage { padding: .35rem; }
  .pl-row { grid-template-columns: 3rem minmax(0, 1fr) 6.6rem; gap: .6rem; }
  .cannot-list { grid-template-columns: minmax(0, 1fr); }
  .fl-dump__row { grid-template-columns: minmax(0, 1fr); gap: .5rem; }
  .fl-dump__row div { display: flex; align-items: baseline; gap: .7rem; }
  .fl-dump__row span { margin-top: 0; }
  .fl-read dd { font-size: .95rem; }
}
/* phones: the legend note chip is one 365 px line; up to 420 px it wraps inside itself (as every chip
   does at 360 px and below, stash.css) instead of running past the gutter and the screen */
@media (max-width: 420px) {
  .pd-leg--note .illus-chip { max-width: 100%; height: auto; min-height: 22px; padding-block: .2rem; white-space: normal; line-height: 1.3; flex-wrap: wrap; column-gap: .45rem; row-gap: 0; }
}
@media (max-width: 380px) {
  .st-cells { gap: 2px; }
  .st-cells i { font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  .pc[data-state="reading"] .pc-spin, .pc[data-state="reading"] .pc-bar i,
  .js .stamp-card.is-in .stamp[data-filled="no"] .st-cells i, .pf-dot.rate-pf-dot::after { animation: none; }
  .pc-tick, .pc-cross, .pf-ring__done, .cc-track i, .pl-bars i, .pc-code i, .fl-mark, .fl-band.rate-fl-band { transition: none !important; }
}

/* 26-9 mobile overflow fix: nothing on this page may widen it past the screen */
main { overflow-x: clip; }
