/* Below the hero, the other tabs, and the footer. */

.below {
  position: relative; z-index: 2;
  width: min(100% - 2 * var(--gut), 1200px); margin: 0 auto;
  padding: 30px 0 40px;
  display: grid; gap: 28px;
}
.sec-kicker {
  display: flex; align-items: center; gap: 10px;
  font: 500 11px/1.2 var(--f-mono); letter-spacing: .2em; color: var(--ink-2);
}
.sec-kicker i { width: 22px; height: 2px; border-radius: 2px; flex: none; background: var(--cool); box-shadow: 0 0 10px rgba(67, 255, 140, .7); }

/* the three lines */
.lines { margin-top: 14px; display: grid; }
.lines li {
  display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  font-size: 15.5px; line-height: 1.5; color: var(--ink);
}
.lines li:last-child { border-bottom: 1px solid var(--line); }
.lines svg { width: 44px; height: 44px; }
.lines p { padding-top: 2px; text-wrap: pretty; }
.lines a { color: #fff; border-bottom: 1px solid rgba(67, 255, 140, .6); text-shadow: 0 0 12px rgba(67, 255, 140, .25); }
.lines a:hover { border-bottom-color: #fff; }

/* launch card (pre-deploy) */
.launch-card {
  position: relative; overflow: hidden;
  padding: 20px 18px 20px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(25, 227, 255, .08), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01));
}
.launch-card::before {
  content: ""; position: absolute; left: 18px; right: 18px; top: -1px; height: 1px;
  background: var(--cool); box-shadow: 0 0 10px rgba(67, 255, 140, .8);
}
.launch-title { margin-top: 12px; font-size: 21px; line-height: 1.25; font-weight: 600; letter-spacing: -.02em; text-wrap: balance; }
.launch-when { margin-top: 12px; display: flex; align-items: center; gap: 9px; font: 500 13px/1.3 var(--f-mono); color: #fff; letter-spacing: .04em; }
.launch-note { margin-top: 8px; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; flex: none; background: #d2ff2a; box-shadow: 0 0 10px #d2ff2a; }
.pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid rgba(210, 255, 42, .7); animation: ping 1.9s ease-out infinite; }
@keyframes ping { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.7); opacity: 0; } }

.btn-line {
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 16px; height: 42px; padding: 0 16px;
  border-radius: var(--r);
  border: 1px solid rgba(255, 255, 255, .32); background: rgba(255, 255, 255, .03);
  font: 600 12.5px/1 var(--f-mono); letter-spacing: .06em; color: #fff;
  transition: border-color .2s, background .2s;
}
.btn-line:hover { border-color: rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .07); }

/* contract row (after deploy) */
.contract-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font: 500 12.5px/1 var(--f-mono); color: var(--ink-2); }
.contract-row code { color: #fff; font-family: var(--f-mono); }
.btn-mini {
  height: 28px; padding: 0 10px; display: inline-flex; align-items: center;
  border-radius: var(--r); border: 1px solid rgba(255, 255, 255, .2); background: transparent;
  font: 500 12px/1 var(--f-text); color: #fff; white-space: nowrap;
}
.btn-mini:hover { border-color: rgba(255, 255, 255, .5); }
.btn-mini[aria-disabled="true"] { color: var(--ink-3); }

/* free funnels */
.funnels { display: grid; gap: 14px; align-items: start; }
.funnel {
  padding: 18px; border-radius: 10px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .008));
}
.funnel h2 { margin-top: 12px; font-size: 19px; line-height: 1.25; font-weight: 600; letter-spacing: -.015em; }
.funnel p:not(.sec-kicker) { margin-top: 8px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }

/* other tabs (placeholders until their builds land) */
.page-sub {
  position: relative;
  max-width: 880px; margin: 0 auto;
  min-height: calc(100vh - var(--nav-h) - 120px);
  padding: calc(var(--bar-h) + 44px) var(--gut) 56px;
}
.page-sub h1 { margin-top: 16px; font-size: clamp(32px, 8vw, 56px); line-height: 1.04; letter-spacing: -.035em; font-weight: 600; text-wrap: balance; }
.page-sub .lead { margin-top: 16px; max-width: 60ch; font-size: 16.5px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.later { margin-top: 26px; display: inline-flex; align-items: center; gap: 10px; font: 500 13px/1 var(--f-mono); letter-spacing: .06em; color: #fff; }
.page-sub .btn-line { display: flex; width: max-content; margin-top: 26px; }

/* footer */
.foot { position: relative; z-index: 2; border-top: 1px solid var(--line); padding: 26px var(--gut) calc(var(--nav-h) + 30px + env(safe-area-inset-bottom)); }
.foot-in { max-width: 1200px; margin: 0 auto; display: grid; gap: 14px; }
.foot-brand { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.foot-brand .wordmark { font-size: 13px; }
.foot-tag { font-size: 13px; color: var(--ink-2); }
.foot-social { display: inline-flex; align-items: center; justify-self: start; gap: 8px; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--r); font: 500 12px/1 var(--f-mono); color: var(--ink-2); transition: color .2s, border-color .2s, background .2s; }
.foot-social svg { width: 13px; height: 13px; fill: currentColor; flex: none; }
.foot-social:hover { color: #fff; border-color: rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .03); }

/* FAQ on the Rules tab */
.faq { margin-top: 30px; padding: 18px; border-radius: 10px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .008)); }
.faq h2 { margin-top: 12px; font-size: 19px; line-height: 1.3; font-weight: 600; letter-spacing: -.015em; }
.faq p:not(.sec-kicker) { margin-top: 8px; max-width: 70ch; font-size: 15px; line-height: 1.6; color: var(--ink-2); }

@media (min-width: 760px) {
  .funnels { grid-template-columns: 1fr 1fr; }
  .foot-in { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
}
@media (min-width: 1024px) {
  .below { width: min(100% - 2 * clamp(24px, 3.4vw, 56px), 1200px); padding: 44px 0 64px; gap: 40px; }
  .why-in { width: min(100% - 2 * clamp(24px, 3.4vw, 56px), 1200px); }
  .lines { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .lines li, .lines li:last-child { border-bottom: 0; grid-template-columns: 1fr; align-content: start; gap: 14px; padding: 18px 0 0; }
  .launch-card { padding: 26px 28px; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 32px; align-items: end; }
  .launch-card > * { grid-column: 1; }
  .launch-card .btn-line { grid-column: 2; grid-row: 2 / span 3; align-self: center; margin: 0; }
  .launch-title { font-size: 26px; }
  .foot { padding: 30px clamp(24px, 3.4vw, 56px) 40px; }
  .foot-brand { flex-direction: column; gap: 8px; }
}

/* ---------------------------------------------------------------- why now: the post (brief 7.2a)
   Our own card, typeset as a post on X: avatar, name, badge, handle, the X mark, the verbatim text, date, link. */
.why { position: relative; z-index: 2; padding: 30px 0 6px; }
.why-in { width: min(100% - 2 * var(--gut), 1200px); margin: 0 auto; }
.tweet { position: relative; margin: 16px 0 0; isolation: isolate; }
.tweet::before {
  content: ""; position: absolute; z-index: -1; left: 8%; right: 8%; top: 22%; bottom: 30px;
  background: var(--spec); filter: blur(38px); opacity: .2; border-radius: 40%;
}
.xcard {
  position: relative; overflow: hidden;
  max-width: 560px; margin: 0 auto;
  padding: 16px 18px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .16);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(25, 227, 255, .07), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .012)), #050608;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .07);
}
.xcard::before {
  content: ""; position: absolute; left: 20px; right: 20px; top: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, #19e3ff, #43ff8c, #d2ff2a, transparent);
  box-shadow: 0 0 10px rgba(67, 255, 140, .8);
}
.xcard-head { display: flex; align-items: center; gap: 11px; }
.xcard-av { width: 46px; height: 46px; flex: none; border-radius: 50%; object-fit: cover; background: #15181d; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 0 0 4px rgba(0, 0, 0, .6); }
.xcard-who { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.xcard-name { display: inline-flex; align-items: center; gap: 4px; min-width: 0; }
.xcard-name b { font: 700 15.5px/1.2 var(--f-text); color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xcard-badge { width: 18px; height: 18px; flex: none; }
.xcard-handle { font: 400 13.5px/1.2 var(--f-text); color: #8b9098; }
.xcard-x { width: 22px; height: 22px; margin-left: auto; align-self: flex-start; fill: #fff; flex: none; }
.xcard-q { margin: 14px 0 0; font: 400 16.5px/1.5 var(--f-text); color: #e9eaec; text-wrap: pretty; }
.xcard-q p + p { margin-top: .85em; }
.xcard-foot {
  margin-top: 14px; padding-top: 11px; border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font: 400 13px/1.4 var(--f-text); color: #8b9098;
}
.xcard-foot a { color: #fff; font-weight: 600; white-space: nowrap; border-bottom: 1px solid rgba(67, 255, 140, .6); }
.xcard-foot a:hover { border-bottom-color: #fff; }
.tweet-disc { max-width: 550px; margin: 12px auto 0; font-size: 12.5px; line-height: 1.5; color: var(--ink-3); text-align: center; }
.why-lines { margin-top: 22px; display: grid; gap: 14px; font-size: 16px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.why-lines a { color: #fff; border-bottom: 1px solid rgba(67, 255, 140, .6); text-shadow: 0 0 12px rgba(67, 255, 140, .22); }
.why-lines a:hover { border-bottom-color: #fff; }
.why-lines p:last-child { color: #fff; }

/* ---------------------------------------------------------------- how it works (brief 7.4) */
.steps { margin-top: 14px; display: grid; counter-reset: step; }
.steps li {
  counter-increment: step; position: relative;
  padding: 14px 0 14px 40px;
  border-top: 1px solid var(--line);
  font-size: 15px; line-height: 1.55; color: var(--ink-2);
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 15px;
  font: 600 12px/1.6 var(--f-mono); letter-spacing: .06em;
  background: var(--cool); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.steps b { color: #fff; font-weight: 600; }

/* ---------------------------------------------------------------- verify panel (protocol readout) */
.verify { position: fixed; inset: 0; z-index: 80; display: flex; align-items: flex-end; justify-content: center; }
.verify-scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, .62); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.verify-box {
  position: relative; width: min(100% - 20px, 680px);
  margin-bottom: calc(10px + env(safe-area-inset-bottom));
  padding: 14px 16px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: #05060a;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .75);
  animation: rise .22s cubic-bezier(.2, .8, .2, 1);
}
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
.verify-box::before {
  content: ""; position: absolute; left: 16px; right: 16px; top: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, #19e3ff, #43ff8c, #d2ff2a, transparent);
  box-shadow: 0 0 8px rgba(67, 255, 140, .8);
}
.verify-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.verify-title { font: 600 11px/1 var(--f-mono); letter-spacing: .2em; color: #fff; }
.verify-x { width: 30px; height: 30px; margin: -6px -8px -6px 0; display: grid; place-items: center; border: 0; border-radius: 6px; background: none; color: var(--ink-3); }
.verify-x svg { width: 12px; height: 12px; stroke: currentColor; stroke-width: 1.6; fill: none; }
.verify-x:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.verify-lead { margin-top: 10px; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }
.verify-code {
  margin: 12px 0 0; padding: 12px 14px;
  border-radius: 8px; border: 1px solid rgba(255, 255, 255, .1);
  background: #000;
  font: 400 11.5px/1.7 var(--f-mono); color: #e7fff1;
  white-space: pre; overflow-x: auto;
}
@media (max-width: 759px) { .verify-code { white-space: pre-wrap; overflow-wrap: anywhere; } }
.verify-code .c { color: var(--ink-3); }
.verify-code .k { color: #d8ffe9; }
.verify-foot { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.verify-note { flex: 1 1 260px; font-size: 12px; line-height: 1.5; color: var(--ink-3); }
.verify-copy { margin: 0; }
.verify-open body { overflow: hidden; }

@media (min-width: 760px) {
  .verify { align-items: center; }
  .verify-box { width: min(100% - 40px, 940px); margin: 0; padding: 18px 20px 20px; }
}
@media (min-width: 1024px) {
  .why { padding: 64px 0 24px; border-top: 1px solid var(--line); background: radial-gradient(70% 120% at 20% 0%, rgba(25, 227, 255, .05), transparent 60%); }
  .why-in { display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr); column-gap: clamp(36px, 5vw, 88px); align-items: center; }
  .why-in .sec-kicker { grid-column: 1 / -1; margin-bottom: 4px; }
  .tweet { margin-top: 18px; }
  .xcard { padding: 20px 24px 14px; }
  .xcard-q { font-size: 18px; }
  .why-lines { margin: 18px 0 0; gap: 22px; font-size: 19px; line-height: 1.5; }
  .steps { grid-template-columns: repeat(5, 1fr); gap: 0 28px; }
  .steps li { padding: 40px 0 0; border-top: 1px solid var(--line); }
  .steps li::before { top: 14px; }
}

/* ================================================================ iteration 4: tunnel, feed, funnels, tabs */

.btn-solid {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  height: 46px; padding: 0 18px;
  border: 0; border-radius: var(--r);
  background: linear-gradient(180deg, #fff 0%, #eef1f4 100%); color: #000;
  font: 600 13px/1 var(--f-mono); letter-spacing: .05em; white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
}
.btn-solid:hover { filter: brightness(1.05); }
.btn-solid:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
input, select { font: inherit; }
.field-in {
  height: 46px; min-width: 0; padding: 0 12px;
  border-radius: var(--r); border: 1px solid rgba(255, 255, 255, .22);
  background: #000; color: #fff; font: 500 14px/1 var(--f-mono);
}
.field-in:focus, .finder-in:focus, .node-fields input:focus, .node-fields select:focus, .node-url:focus { outline: none; border-color: #43ff8c; box-shadow: 0 0 0 3px rgba(67, 255, 140, .16); }

/* ---------------------------------------------------------------- the tunnel (brief 3.3) */
.tunnel { position: relative; z-index: 1; height: 400vh; margin-top: 18px; }
.tunnel-stick { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #000; }
.tunnel-stick::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(0, 0, 0, .55) 100%);
}
.tunnel-gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.tunnel-labels { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.tl {
  position: absolute; left: 0; top: 0;
  padding: 0 0 0 9px; margin-top: -7px;
  font: 600 10px/1.3 var(--f-mono); letter-spacing: .12em; white-space: nowrap;
  text-shadow: 0 0 8px #000, 0 0 2px #000;
  opacity: 0; transition: opacity .25s ease;
  will-change: transform, opacity;
}
.tl::before { content: ""; position: absolute; left: 0; top: 4.5px; width: 5px; height: 5px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.tl-head { color: #9cf5c9; }
.tl-kept { color: #7cffb2; }
.tl-unsold { color: #ece8df; }
.tl-n0 { color: #ff7a5c; }
.tl-fog, .tl-ghost {
  padding: 0; margin: 0; transform-origin: 0 0;
  white-space: normal; width: max-content; max-width: min(64vw, 420px);
  translate: -50% -100%;
  text-align: center; color: #cfe9de; font-weight: 500; letter-spacing: .08em;
}
.tl-fog::before, .tl-ghost::before { display: none; }
.tl-ghost { color: #8fa59c; font-size: 9.5px; }
.tl-seam { color: #fff; font-size: 11px; letter-spacing: .06em; padding: 3px 7px 3px 15px; margin-top: -10px; border-radius: 4px; background: rgba(0, 0, 0, .7); border: 1px solid rgba(255, 255, 255, .25); }
.tl-seam::before { left: 5px; top: 8px; background: #fff; }
.tl-pin { color: #7cffb2; font-size: 9.5px; letter-spacing: .1em; padding: 2px 6px 2px 14px; margin-top: -9px; border-radius: 3px; background: rgba(0, 0, 0, .66); }
.tl-pin::before { left: 5px; top: 6.5px; }
/* near the right edge a label flips to the left of its point; the dot moves to its right end */
.tl.flip { padding-left: 0; padding-right: 9px; }
.tl.flip::before { left: auto; right: 0; }
.tl-pin.flip, .tl-seam.flip { padding: 2px 14px 2px 6px; }
.tl-pin.flip::before { right: 5px; }
.tl-seam.flip { padding: 3px 15px 3px 7px; }
.tl-seam.flip::before { right: 5px; }
.tunnel-ui { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
/* a scrim under the captions: bottom left in landscape, the top band in portrait */
.tunnel-ui::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(70% 60% at 0% 100%, rgba(0, 0, 0, .82), rgba(0, 0, 0, .45) 45%, transparent 75%);
}
.tunnel-ui .sec-kicker { position: absolute; left: var(--gut); top: calc(var(--bar-h) + 16px); text-shadow: 0 0 10px #000; }
.tunnel-caps {
  position: absolute; left: var(--gut); right: var(--gut);
  bottom: calc(var(--nav-h) + 40px + env(safe-area-inset-bottom));
  display: grid;
}
.tcap {
  grid-area: 1 / 1; align-self: end; max-width: 36ch;
  font-size: 16.5px; line-height: 1.45; font-weight: 500; letter-spacing: -.005em; color: #fff;
  text-shadow: 0 0 22px #000, 0 0 6px #000, 0 0 2px #000;
  opacity: 0; transform: translateY(10px);
  transition: opacity .4s ease, transform .4s ease;
  text-wrap: pretty;
}
.tcap.on { opacity: 1; transform: none; }
.tunnel-hist {
  grid-area: 2 / 1; justify-self: start; margin-top: 10px; pointer-events: auto;
  font: 500 12px/1.4 var(--f-mono); color: var(--ink-2);
  border-bottom: 1px dashed rgba(255, 255, 255, .35);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
@media (orientation: portrait) {
  .tunnel-ui::before { background: linear-gradient(to bottom, rgba(0, 0, 0, .85) 0%, rgba(0, 0, 0, .6) 26%, transparent 42%); }
  .tunnel-caps { top: calc(var(--bar-h) + 46px); bottom: auto; }
  .tcap { align-self: start; transform: translateY(-8px); }
  .tcap.on { transform: none; }
}
.tunnel-hist.on { opacity: 1; visibility: visible; }
.tunnel-hist:hover { color: #fff; }
.tunnel-prog { position: absolute; left: var(--gut); right: var(--gut); bottom: calc(var(--nav-h) + 16px + env(safe-area-inset-bottom)); height: 1px; background: rgba(255, 255, 255, .14); }
.tunnel-prog i { display: block; height: 100%; background: var(--cool); box-shadow: 0 0 8px rgba(67, 255, 140, .7); transform-origin: 0 50%; transform: scaleX(0); }
.tunnel-still { display: none; }
/* still mode: reduced motion, no WebGL */
.tunnel.is-still { height: auto; margin-top: 8px; }
.tunnel.is-still .tunnel-stick { position: relative; height: auto; overflow: visible; }
.tunnel.is-still .tunnel-stick::after, .tunnel.is-still .tunnel-ui::before, .tunnel.is-still .tunnel-gl, .tunnel.is-still .tunnel-labels, .tunnel.is-still .tunnel-prog { display: none; }
.tunnel.is-still .tunnel-ui { position: relative; inset: auto; width: min(100% - 2 * var(--gut), 1200px); margin: 0 auto; padding: 24px 0 8px; }
.tunnel.is-still .tunnel-ui .sec-kicker { position: static; }
.tunnel.is-still .tunnel-still { display: block; margin-top: 14px; border-radius: 10px; border: 1px solid var(--line); background: radial-gradient(80% 120% at 20% 50%, rgba(25, 227, 255, .05), transparent 60%), #020303; padding: 8px 4px; }
.tunnel.is-still .tunnel-caps { position: static; display: grid; gap: 10px; margin-top: 16px; }
.tunnel.is-still .tcap { grid-area: auto; max-width: 72ch; opacity: 1; transform: none; font-size: 15px; font-weight: 400; color: var(--ink-2); text-shadow: none; }
.tunnel.is-still .tunnel-hist { grid-area: auto; margin-top: 0; opacity: 1; visibility: visible; }
.tunnel-still svg { display: block; width: 100%; height: auto; }
.tunnel-still ellipse { fill: none; stroke-width: 1.4; }
.tunnel-still .r-p { stroke: #bdb8ad; }
.tunnel-still .r-k { stroke: #7cffb2; stroke-width: 2; }
.tunnel-still .r-u { stroke: #ece8df; }
.tunnel-still .r-f { stroke: #ff5b3a; stroke-dasharray: 3 3; }
.tunnel-still .r-h { stroke: #9cf5c9; stroke-width: 2.4; }
.tunnel-still .axis { stroke: rgba(255, 255, 255, .12); stroke-dasharray: 2 4; }
.tunnel-still line { stroke: rgba(156, 245, 201, .55); stroke-dasharray: 4 4; }
.tunnel-still .fog-n line { stroke: #9cf5c9; stroke-dasharray: none; stroke-width: 1.5; }
.tunnel-still text { font: 500 13px var(--f-mono); fill: #cfe9de; letter-spacing: .04em; }
.tunnel-still .fog-g text { fill: #8fa59c; }
.tunnel-still .seam-pow { fill: none; stroke: #ece8df; stroke-width: 2.4; }
.tunnel-still .seam-l { stroke: rgba(236, 232, 223, .5); stroke-dasharray: 2 3; }
.tunnel-still .seam-t, .tunnel-still .head-t { fill: #fff; }

/* ---------------------------------------------------------------- the journalctl feed (brief 8.5) */
.term { position: relative; margin-top: 14px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .14); background: #020303; overflow: hidden; box-shadow: 0 24px 70px rgba(0, 0, 0, .55); }
.term::before { content: ""; position: absolute; left: 14px; right: 14px; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, #43ff8c, transparent); opacity: .7; }
.term-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .025); }
.term-cmd { display: inline-flex; align-items: center; gap: 8px; min-width: 0; font: 500 12px/1.2 var(--f-mono); color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.term-cmd i { width: 7px; height: 7px; border-radius: 50%; flex: none; background: #43ff8c; box-shadow: 0 0 8px #43ff8c; }
.term-body {
  margin: 0; height: 320px; overflow: auto; overscroll-behavior: contain;
  padding: 10px 12px 12px;
  font: 400 11.5px/1.7 var(--f-mono); color: #c9cec9;
  white-space: pre-wrap; overflow-wrap: anywhere;
}
.term-body:focus-visible { outline-offset: -2px; }
.term.is-empty .term-body { height: auto; }
.fl { display: block; padding-left: 2ch; text-indent: -2ch; }
.fl .ts { color: #6f766f; }
.fl .unit { color: #9cf5c9; }
.k-bid .msg { color: #fff; }
.k-opened .msg { color: #d8ffe9; }
.k-outbid .msg { color: #ffb39c; }
.k-settled .msg { color: #7cffb2; }
.k-unsold .msg { color: #bdb8ad; }
.k-pruned .msg, .k-forgotten .msg { color: #ff7a5c; }
.k-harvested .msg { color: #8e948e; }
.k-empty { color: #8e948e; padding-left: 0; text-indent: 0; }
.term-paused { position: absolute; right: 12px; bottom: 12px; height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(156, 245, 201, .5); background: rgba(0, 0, 0, .85); font: 500 11.5px/1 var(--f-mono); color: #9cf5c9; }
.term-later { margin-top: 10px; font-size: 13.5px; line-height: 1.5; color: var(--ink-3); }

/* ---------------------------------------------------------------- free funnels (brief 8.1, 8.2) */
.funnel { display: flex; flex-direction: column; }
.funnel .funnel-body { margin-top: 8px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.finder, .nodecard { margin-top: 16px; }
.finder-form { display: flex; gap: 8px; }
.finder-in { flex: 1; height: 46px; min-width: 0; padding: 0 12px; border-radius: var(--r); border: 1px solid rgba(255, 255, 255, .22); background: #000; color: #fff; font: 500 14px/1 var(--f-mono); }
.finder-in::placeholder, .node-fields input::placeholder { color: #6c6c75; }
.finder-msg { margin-top: 10px; min-height: 1px; font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.finder-msg:empty { display: none; }
.finder-out { margin-top: 14px; }
.fc { display: flex; align-items: center; gap: 14px; }
.fc-ring { width: 72px; height: 72px; flex: none; filter: drop-shadow(0 0 8px rgba(67, 255, 140, .35)); }
.fc-head { display: grid; gap: 4px; min-width: 0; }
.fc-head .k, .fc-file .k, .fc-lm .k { font: 600 10.5px/1 var(--f-mono); letter-spacing: .16em; color: var(--ink-3); text-transform: uppercase; }
.fc-era { font: 500 40px/1 var(--f-digit); letter-spacing: -.03em; color: #fff; text-shadow: -1px 0 rgba(255, 70, 50, .45), 1px 0 rgba(25, 227, 255, .5); }
.fc-range { font: 500 12px/1.3 var(--f-mono); color: var(--ink-2); }
.fc-file { margin-top: 14px; display: grid; gap: 5px; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--line); background: #000; }
.fc-file code { font: 500 13px/1.3 var(--f-mono); color: #7cffb2; overflow-wrap: anywhere; }
.fc-size { font: 400 11.5px/1.3 var(--f-mono); color: var(--ink-3); overflow-wrap: anywhere; }
.fc-line { margin-top: 12px; font-size: 14px; line-height: 1.55; color: #fff; text-wrap: pretty; }
.fc-line code { font: 500 12.5px var(--f-mono); color: #7cffb2; overflow-wrap: anywhere; }
.fc-lm { margin-top: 8px; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }
.fc-actions .btn-line { margin-top: 14px; }
.fc-card, .node-preview { margin-top: 14px; display: grid; gap: 10px; justify-items: start; }
.fc-card img, .node-preview img { display: block; width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--line-2); box-shadow: 0 18px 50px rgba(0, 0, 0, .5); }
.fc-card .btn-line, .node-preview .btn-line { margin-top: 0; }
.node-rpc { display: flex; gap: 8px; }
.node-url { flex: 1; height: 42px; min-width: 0; padding: 0 12px; border-radius: var(--r); border: 1px solid rgba(255, 255, 255, .22); background: #000; color: #fff; font: 500 13px/1 var(--f-mono); }
.node-rpc .btn-line { margin-top: 0; height: 42px; }
.node-status { margin-top: 10px; font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.node-status:empty { display: none; }
.node-fields { margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: end; }
.node-fields label { display: grid; gap: 5px; min-width: 0; font: 500 11px/1.3 var(--f-mono); letter-spacing: .04em; color: var(--ink-3); }
.node-fields input, .node-fields select {
  height: 40px; width: 100%; min-width: 0; padding: 0 10px;
  border-radius: var(--r); border: 1px solid rgba(255, 255, 255, .2);
  background: #000; color: #fff; font: 500 13px/1 var(--f-mono);
}
.node-fields select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, #9a9aa4 50%), linear-gradient(135deg, #9a9aa4 50%, transparent 50%); background-position: calc(100% - 15px) 50%, calc(100% - 10px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 26px; }
.node-actions { margin-top: 14px; }
.node-note { margin-top: 10px; font-size: 12.5px; line-height: 1.5; color: var(--ink-3); }

/* ---------------------------------------------------------------- tab pages: shared */
.page-body { margin-top: 30px; }
.page-sub { max-width: 1040px; }
.arch-later, .wc-later {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 13px/1.4 var(--f-mono); letter-spacing: .06em; color: #fff;
}
.tbl-wrap, .board-wrap { margin-top: 12px; overflow-x: auto; border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, .015); }
.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; line-height: 1.5; }
.tbl th, .tbl td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.tbl tr:last-child th, .tbl tr:last-child td { border-bottom: 0; }
.tbl thead th { font: 600 10.5px/1.3 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); background: rgba(255, 255, 255, .025); white-space: nowrap; }
.tbl tbody th { font-weight: 600; color: #fff; }
.tbl td { color: var(--ink-2); }
.tbl code { font: 500 12px/1.5 var(--f-mono); color: #d8ffe9; overflow-wrap: anywhere; }
.tbl .n { text-align: right; }
.tbl small { display: block; margin-top: 2px; font: 400 11px/1.3 var(--f-mono); color: var(--ink-3); }
.tbl a, .nar-sec a, .beat-body a, .keep-list a, .rules a, .con a, .up-block a { color: #fff; border-bottom: 1px solid rgba(67, 255, 140, .55); }
.tbl a:hover, .nar-sec a:hover, .beat-body a:hover, .keep-list a:hover, .con a:hover { border-bottom-color: #fff; }

/* status chips */
.st {
  display: inline-flex; align-items: center; height: 22px; padding: 0 8px;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25);
  font: 600 10px/1 var(--f-mono); letter-spacing: .12em; white-space: nowrap; color: #fff;
}
.st-kept { border-color: rgba(124, 255, 178, .6); color: #7cffb2; background: rgba(124, 255, 178, .07); }
.st-open { border-color: #7cffb2; color: #000; background: #7cffb2; box-shadow: 0 0 12px rgba(124, 255, 178, .45); }
.st-ended { border-color: rgba(255, 194, 122, .6); color: #ffc27a; }
.st-unsold { border-color: rgba(236, 232, 223, .4); color: #ece8df; }
.st-forgotten { border-style: dashed; border-color: rgba(255, 91, 58, .6); color: #ff7a5c; }
.st-pruned { border-color: rgba(255, 91, 58, .55); color: #ff7a5c; background: rgba(255, 91, 58, .07); }
.tag-prunable, .tag-team, .tag-exp { display: inline-flex; align-items: center; height: 18px; padding: 0 6px; margin-left: 6px; border-radius: 4px; border: 1px dashed rgba(255, 122, 92, .6); font: 500 9.5px/1 var(--f-mono); letter-spacing: .08em; color: #ffb39c; vertical-align: 1px; white-space: nowrap; }
.tag-team { border-style: solid; border-color: rgba(255, 194, 122, .6); color: #ffc27a; }
.tag-exp { border-color: rgba(255, 194, 122, .55); color: #ffc27a; }
.kp { display: inline-flex; align-items: center; gap: 7px; min-width: 0; color: #fff; font-weight: 600; }
.kp i { width: 8px; height: 8px; border-radius: 50%; flex: none; }

/* ---------------------------------------------------------------- archive (brief 5.5) */
.arch-empty { font: 500 14px/1.5 var(--f-mono); color: #fff; }
.arch-count { font: 500 11.5px/1.3 var(--f-mono); letter-spacing: .08em; color: var(--ink-3); }
.arch-head { display: none; }
.arch-head span { grid-area: auto; }
.arch { margin-top: 12px; display: grid; gap: 8px; }
.arow a {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 12px;
  grid-template-areas: "era era status" "keeper keeper keeper" "lot burned hash" "note note note";
  padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .022);
  transition: border-color .2s, background .2s;
}
.arow a:hover { border-color: rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .045); }
.arow.s-open a { border-color: rgba(124, 255, 178, .45); background: linear-gradient(90deg, rgba(124, 255, 178, .07), rgba(255, 255, 255, .02)); }
.arow.s-pruned a { background: rgba(255, 91, 58, .025); }
.c-era { grid-area: era; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.c-era b { font: 500 20px/1 var(--f-digit); letter-spacing: -.02em; color: #fff; }
.c-era small { font: 400 11px/1.3 var(--f-mono); color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-status { grid-area: status; justify-self: end; display: inline-flex; align-items: center; }
.c-keeper { grid-area: keeper; min-width: 0; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-lot { grid-area: lot; }
.c-burned { grid-area: burned; }
.c-hash { grid-area: hash; }
.c-lot, .c-burned, .c-hash { min-width: 0; font: 500 12.5px/1.35 var(--f-mono); color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-lot::before, .c-burned::before, .c-hash::before { content: attr(data-k); display: block; margin-bottom: 3px; font: 500 9.5px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.c-note { grid-area: note; min-width: 0; font-size: 13px; line-height: 1.45; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-note:empty { display: none; }
.c-note q { color: #fff; }
.agap a {
  display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 10px;
  border: 1px dashed rgba(255, 91, 58, .4);
  background: repeating-linear-gradient(135deg, rgba(255, 91, 58, .05) 0 6px, transparent 6px 12px);
  font-size: 13px; line-height: 1.45; color: var(--ink-2);
}
.agap .c-era { flex: none; font: 500 16px/1 var(--f-digit); color: #ff7a5c; }
.board { margin-top: 44px; }
.board-tbl td, .board-tbl th { white-space: nowrap; }
.board-policy { margin-top: 12px; max-width: 70ch; font-size: 13px; line-height: 1.55; color: var(--ink-3); }

/* ---------------------------------------------------------------- datadir (brief 5.6) */
.dd { display: grid; gap: 26px; }
.dd-gauge { position: relative; width: min(100%, 440px); aspect-ratio: 1; margin: 0 auto; container-type: inline-size; }
.dd-ring { position: absolute; inset: 9%; width: 82%; height: 82%; overflow: visible; }
.dd-ticks path { stroke: rgba(255, 255, 255, .13); stroke-width: 2.4; stroke-linecap: round; transition: stroke .5s; }
.dd-ticks path.on { stroke: #7cffb2; }
.dd-ticks { filter: drop-shadow(0 0 3px rgba(124, 255, 178, .55)); }
.dd-ms { stroke: #ff7a5c; stroke-width: 1.6; stroke-dasharray: 3 3; }
.dd-ms.done { stroke: #ece8df; stroke-dasharray: none; }
.dd-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2.4cqw; text-align: center; pointer-events: none; }
.dd-num { font: 500 17cqw/1 var(--f-digit); font-stretch: 92%; letter-spacing: -.04em; color: #fff; text-shadow: -1px 0 rgba(255, 70, 50, .45), 1px 0 rgba(25, 227, 255, .5), 0 0 26px rgba(255, 255, 255, .14); }
.dd-unit { font: 600 clamp(9px, 2.8cqw, 13px)/1 var(--f-mono); letter-spacing: .18em; color: var(--ink-2); text-transform: uppercase; }
.dd-mlabel { position: absolute; transform: translate(-50%, -50%); font: 500 clamp(8.5px, 2.4cqw, 11px)/1.2 var(--f-mono); letter-spacing: .06em; color: var(--ink-3); white-space: nowrap; }
.dd-mlabel.is-left { transform: translate(-100%, -50%); }
.dd-mlabel.is-right { transform: translate(0, -50%); }
@media (max-width: 759px) { .dd-mlabel { display: none; } }
.dd-mlabel[data-ml="500"] { transform: translate(-50%, 0); max-width: 40cqw; white-space: normal; text-align: center; }
.dd.is-pre .dd-num { font-size: 6cqw; letter-spacing: .04em; color: var(--ink-2); text-shadow: none; }
.dd-side { display: grid; gap: 14px; align-content: start; }
.dd-readout { font: 500 13px/1.5 var(--f-mono); color: #fff; }
.dd-steps { display: grid; gap: 8px; }
.dd-steps li { display: flex; align-items: center; gap: 10px; font: 500 12.5px/1.3 var(--f-mono); color: var(--ink-3); }
.dd-steps i { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--ink-4); flex: none; }
.dd-steps li.done { color: #fff; }
.dd-steps li.done i { border: 0; background: #7cffb2; box-shadow: 0 0 8px rgba(124, 255, 178, .8); }
.dd-under { font: 600 13px/1.3 var(--f-mono); letter-spacing: .06em; color: #7cffb2; }
.dd-loss { font-size: 13.5px; line-height: 1.55; color: var(--ink-3); max-width: 52ch; }

/* ---------------------------------------------------------------- narrative (brief 5.7, 7.7) */
.beats { position: relative; display: grid; }
.beats::before { content: ""; position: absolute; left: 4px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(to bottom, rgba(124, 255, 178, .5), rgba(255, 255, 255, .1)); }
.beat { position: relative; padding: 0 0 26px 26px; }
.beat::before { content: ""; position: absolute; left: 0; top: 6px; width: 9px; height: 9px; border-radius: 50%; background: #000; border: 1.5px solid #7cffb2; box-shadow: 0 0 8px rgba(124, 255, 178, .5); }
.beat-k { display: block; font: 600 11.5px/1.3 var(--f-mono); letter-spacing: .14em; color: #9cf5c9; }
.beat-body > p { margin-top: 6px; font-size: 16.5px; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }
.beat-body > p a { color: #fff; }
.wslide, .calc { margin-top: 16px; padding: 16px; border-radius: 10px; border: 1px solid var(--line-2); background: radial-gradient(100% 100% at 100% 0%, rgba(25, 227, 255, .05), transparent 60%), rgba(255, 255, 255, .02); }
.ws-stops { margin-top: 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ws-stops button { display: grid; gap: 4px; padding: 9px 8px; text-align: left; border-radius: 8px; border: 1px solid var(--line); background: transparent; }
.ws-stops b { font: 600 12px/1.2 var(--f-mono); color: #fff; }
.ws-stops span { font-size: 11.5px; line-height: 1.35; color: var(--ink-3); }
.ws-stops button[aria-checked="true"] { border-color: rgba(124, 255, 178, .7); background: rgba(124, 255, 178, .07); box-shadow: 0 0 16px rgba(124, 255, 178, .12); }
.ws-stops button[aria-checked="true"] span { color: var(--ink-2); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 2px; border-radius: 2px; background: linear-gradient(90deg, #19e3ff, #43ff8c 55%, #d2ff2a); }
input[type="range"]::-moz-range-track { height: 2px; border-radius: 2px; background: linear-gradient(90deg, #19e3ff, #43ff8c 55%, #d2ff2a); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -8px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 4px rgba(124, 255, 178, .25), 0 0 14px rgba(124, 255, 178, .6); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 4px rgba(124, 255, 178, .25), 0 0 14px rgba(124, 255, 178, .6); }
.ws-range { margin-top: 10px; }
.ws-read { margin-top: 6px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.ws-read b { font: 500 26px/1.1 var(--f-digit); letter-spacing: -.02em; color: #fff; }
.ws-read span { font: 500 12.5px/1.3 var(--f-mono); color: var(--ink-2); }
.ws-bar { position: relative; height: 54px; margin-top: 16px; }
.ws-track { position: absolute; left: 0; right: 0; top: 14px; height: 10px; border-radius: 3px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); }
.ws-fill { position: absolute; right: 0; top: 14px; height: 10px; border-radius: 3px; background: linear-gradient(90deg, rgba(124, 255, 178, .25), #7cffb2); box-shadow: 0 0 14px rgba(124, 255, 178, .45); transition: width .5s cubic-bezier(.3, .8, .2, 1); }
.ws-ghost { position: absolute; top: 8px; height: 22px; width: 0; border-left: 1px dashed rgba(156, 245, 201, .25); }
.ws-ghost.on { border-left-color: rgba(156, 245, 201, .75); }
.ws-head { position: absolute; right: 0; top: -4px; font: 600 9.5px/1 var(--f-mono); letter-spacing: .14em; color: #9cf5c9; text-transform: uppercase; }
.ws-axis { position: absolute; left: 0; right: 0; top: 32px; height: 14px; }
.ws-axis i { position: absolute; transform: translateX(50%); font: 500 10px/1 var(--f-mono); font-style: normal; color: var(--ink-3); white-space: nowrap; }
.ws-axis i:first-child { transform: none; }
.ws-cut { margin-top: 6px; font: 500 12.5px/1.5 var(--f-mono); color: var(--ink-2); }
.ws-game { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 2px; }
.ws-game i { width: 6px; height: 16px; border-radius: 1px; background: rgba(255, 255, 255, .14); }
.ws-game .g-kept, .ws-game .g-pruned { background: #7cffb2; }
.ws-game .g-open, .ws-game .g-ended { background: #d8ffe9; }
.ws-game .g-unsold { background: #8f8b83; }
.ws-game .g-forgotten { background: transparent; box-shadow: inset 0 0 0 1px #ff5b3a; }
.ws-game .out { opacity: .9; outline: 1.5px solid #ff5b3a; outline-offset: 1px; }
.ws-gline { margin-top: 8px; font-size: 13.5px; line-height: 1.5; color: #fff; }
.calc-grid { margin-top: 12px; display: grid; gap: 14px; }
.calc-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 2px 10px; font-size: 13px; color: var(--ink-2); }
.calc-in b { font: 500 16px/1 var(--f-digit); color: #fff; }
.calc-in input { grid-column: 1 / -1; }
.calc-out { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.calc-out b { font: 500 34px/1 var(--f-digit); letter-spacing: -.02em; color: #7cffb2; text-shadow: 0 0 18px rgba(124, 255, 178, .35); }
.calc-dots { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(25, 1fr); gap: 3px; }
.calc-dots i { aspect-ratio: 1; border-radius: 2px; background: rgba(255, 255, 255, .08); }
.calc-dots i.on { background: #7cffb2; box-shadow: 0 0 6px rgba(124, 255, 178, .5); }
.calc-cap { margin-top: 12px; font-size: 13px; line-height: 1.55; color: var(--ink-3); }
.nar-sec { margin-top: 44px; }
.nar-lead { margin-top: 10px; max-width: 64ch; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.nar-note { margin-top: 12px; font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }
.nar-sec .finder { margin-top: 14px; max-width: 640px; }
.half-tbl td:nth-child(2) { min-width: 250px; }
.half-tbl code { overflow-wrap: normal; word-break: normal; }
.half-tbl td:nth-child(3) { min-width: 220px; }
.half-tbl td:last-child { white-space: nowrap; }
.keep-list { margin-top: 12px; display: grid; gap: 8px; }
.keep-list li { position: relative; padding-left: 18px; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); overflow-wrap: anywhere; }
.keep-list li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 7px; height: 7px; border-radius: 2px; background: #7cffb2; box-shadow: 0 0 8px rgba(124, 255, 178, .6); }
.keep-list code { font: 500 13px var(--f-mono); color: #d8ffe9; }
.link-arrow { display: inline-block; margin-top: 12px; font: 500 13px/1.4 var(--f-mono); }

/* ---------------------------------------------------------------- rules (brief 5.8) */
.rules-pre { margin-bottom: 24px; padding: 12px 14px; border-radius: 8px; border: 1px dashed rgba(255, 194, 122, .5); font-size: 13.5px; line-height: 1.5; color: #ffd9a8; }
.r-sec + .r-sec { margin-top: 44px; }
.r-sec h2 { margin-top: 12px; font-size: 22px; line-height: 1.25; font-weight: 600; letter-spacing: -.02em; }
.r-sec > p:not(.sec-kicker) { margin-top: 10px; max-width: 70ch; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.r-sec > p.dim { font-size: 13.5px; color: var(--ink-3); }
.r-sec > .btn-line { margin-top: 14px; }
.rules { margin-top: 12px; counter-reset: rule; display: grid; }
.rules > li { counter-increment: rule; position: relative; padding: 14px 0 14px 40px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.rules > li::before { content: counter(rule, decimal-leading-zero); position: absolute; left: 0; top: 15px; font: 600 12px/1.6 var(--f-mono); letter-spacing: .06em; background: var(--cool); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rules > li > b { color: #fff; font-weight: 600; }
.rule-extra { margin-top: 8px; padding: 10px 12px; border-radius: 8px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }
.rule-extra code { font: 500 12px var(--f-mono); color: #d8ffe9; overflow-wrap: anywhere; }
.up-block { position: relative; padding: 18px; border-radius: 10px; border: 1px solid rgba(255, 122, 92, .35); background: radial-gradient(120% 100% at 100% 0%, rgba(255, 91, 58, .07), transparent 60%), rgba(255, 255, 255, .015); }
.up-block > p:not(.sec-kicker) { max-width: 72ch; }
.up-dl { margin: 14px 0 0; display: grid; border-top: 1px solid var(--line); }
.up-dl > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.up-dl dt { font: 500 11.5px/1.4 var(--f-mono); letter-spacing: .04em; color: var(--ink-3); }
.up-dl dd { margin: 0; min-width: 0; font: 500 13px/1.4 var(--f-mono); color: #fff; }
/* expiry windows: status by kind */
.wk { display: inline-flex; align-items: center; gap: 7px; }
.wk::before { content: ""; width: 7px; height: 7px; border-radius: 50%; flex: none; }
.wk-live::before { background: #7cffb2; box-shadow: 0 0 8px rgba(124, 255, 178, .7); }
.wk-coming::before { background: #ffc27a; }
.wk-draft::before { border: 1.5px dashed #ece8df; width: 5px; height: 5px; }
.wk-live { color: #fff; }
.con { margin-top: 12px; display: grid; border-top: 1px solid var(--line); }
.con li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; line-height: 1.45; }
.con-l { color: #fff; font-weight: 500; }
.con-a { justify-self: end; font: 500 12.5px/1.4 var(--f-mono); white-space: nowrap; }
.con-a code { color: #d8ffe9; }
.con-n { grid-column: 1 / -1; font-size: 12.5px; color: var(--ink-3); }
.cast-box { margin-top: 12px; }
.cast-box .es-vtop span { text-transform: none; letter-spacing: 0; font: 400 12.5px/1.5 var(--f-text); color: var(--ink-3); }
.cast-box .verify-code { white-space: pre-wrap; overflow-wrap: anywhere; }
.risks { margin-top: 12px; display: grid; gap: 8px; }
.risks li { position: relative; padding-left: 18px; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.risks li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 8px rgba(255, 91, 58, .7); }
.wc { margin-top: 20px; padding: 18px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .02); }
.wc-k { font: 600 11px/1.2 var(--f-mono); letter-spacing: .18em; color: #fff; }
.wc-body { margin-top: 10px; font-size: 15px; line-height: 1.6; color: #fff; max-width: 70ch; }
.wc-later { margin-top: 10px; }
/* opening and today sit above the bar, the worst case below it, so close values never collide */
.wc-bar { position: relative; height: 108px; margin: 18px 10px 0; }
.wc-track { position: absolute; left: 0; right: 0; top: 53px; height: 2px; background: rgba(255, 255, 255, .14); }
.wc-loss { position: absolute; top: 51px; height: 6px; border-radius: 3px; background: linear-gradient(90deg, #ff5b3a, rgba(255, 91, 58, .25)); }
.wc-mark { position: absolute; display: grid; justify-items: center; gap: 3px; transform: translateX(-50%); }
.wc-mark.m-open, .wc-mark.m-now { bottom: 51px; }
.wc-mark.m-floor { top: 51px; }
.wc-mark i { width: 2px; height: 16px; background: #fff; }
.wc-mark b { font: 500 11.5px/1 var(--f-mono); color: #fff; }
.wc-mark em { font: 500 10px/1.2 var(--f-mono); font-style: normal; letter-spacing: .08em; color: var(--ink-3); white-space: nowrap; }
.wc-mark.m-open em, .wc-mark.m-now em { order: 1; }
.wc-mark.m-open b, .wc-mark.m-now b { order: 2; }
.wc-mark.m-open i, .wc-mark.m-now i { order: 3; }
.wc-mark.m-floor i { background: #ff5b3a; box-shadow: 0 0 8px rgba(255, 91, 58, .8); }
.wc-mark.m-floor b { color: #ffb39c; }
.wc-mark.m-now i { background: #7cffb2; box-shadow: 0 0 8px rgba(124, 255, 178, .8); }
.wc-unit { margin-top: 4px; font: 500 10.5px/1.3 var(--f-mono); color: var(--ink-3); }
.wc-formula { margin-top: 10px; font: 500 12px/1.6 var(--f-mono); color: #d8ffe9; overflow-wrap: anywhere; }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 14px 32px 14px 0; font-size: 15.5px; line-height: 1.4; font-weight: 600; color: #fff;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font: 400 20px/1 var(--f-mono); color: #9cf5c9; transition: transform .2s; }
.qa[open] summary::after { transform: rotate(45deg); }
.qa p { padding: 0 0 16px; max-width: 72ch; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }
.faq-list { margin-top: 10px; border-top: 1px solid var(--line); }
.wc-proof { margin-top: 14px; border-top: 1px solid var(--line); }
.wc-proof summary { font-size: 13.5px; }

@media (max-width: 400px) {
  .finder-form { flex-direction: column; }
  .finder-form .btn-solid { width: 100%; }
  .finder-in, .node-url { flex: none; }
  .node-rpc { flex-direction: column; }
  .node-rpc .btn-line { width: 100%; }
  .ws-stops span { display: none; }
}
@media (min-width: 760px) {
  .tcap { font-size: 19px; max-width: 40ch; }
  .tl { font-size: 11px; }
  .tl-fog { font-size: 11px; }
  .term-body { height: 360px; font-size: 12px; white-space: pre; overflow-wrap: normal; }
  .fl { padding-left: 0; text-indent: 0; }
  .dd { grid-template-columns: minmax(0, 440px) minmax(0, 1fr); align-items: center; gap: 48px; }
  .calc-grid { grid-template-columns: 1fr 1fr; }
  .calc-out { grid-column: 1 / -1; }
  .calc-dots { grid-template-columns: repeat(50, 1fr); }
  .beat { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 20px; padding-left: 30px; }
  .beat-body > p { margin-top: 0; }
  .con li { grid-template-columns: 220px minmax(0, 1fr) auto; }
  .con-a { justify-self: start; }
  .con-n { grid-column: 3; text-align: right; }
}
@media (min-width: 1024px) {
  .tunnel { height: 420vh; }
  .tunnel-ui .sec-kicker { left: clamp(24px, 3.4vw, 56px); top: calc(var(--bar-h) + 26px); }
  .tunnel-caps { left: clamp(24px, 3.4vw, 56px); right: auto; width: min(560px, 42vw); bottom: 84px; }
  .tunnel-prog { left: clamp(24px, 3.4vw, 56px); right: auto; width: min(560px, 42vw); bottom: 44px; }
  .tcap { font-size: 21px; line-height: 1.4; max-width: none; }
  .tunnel.is-still .tunnel-ui { width: min(100% - 2 * clamp(24px, 3.4vw, 56px), 1200px); }
  .arch-head {
    display: grid; grid-template-columns: 170px 150px minmax(0, 1.2fr) 100px 100px 120px minmax(0, 1fr); gap: 14px;
    margin-top: 14px; padding: 0 14px 8px; border-bottom: 1px solid var(--line);
    font: 600 10px/1.2 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3);
  }
  .arch { gap: 4px; margin-top: 6px; }
  .arow a { grid-template-columns: 170px 150px minmax(0, 1.2fr) 100px 100px 120px minmax(0, 1fr); grid-template-areas: "era status keeper lot burned hash note"; align-items: center; gap: 14px; padding: 10px 14px; border-radius: 8px; }
  .c-status { justify-self: start; }
  .c-era { flex-direction: column; gap: 4px; align-items: flex-start; }
  .c-era b { font-size: 17px; }
  .c-lot::before, .c-burned::before, .c-hash::before { display: none; }
  .c-note:empty { display: block; }
  .agap a { padding: 9px 14px; }
}

/* contract row notes (hero card). Before bindToken(): the token address is posted at launch. After: creator fees waiting
   in the team wallet's Stockereum balance, and a link to every forward. */
.card .contract-note, .card .fwd-line { margin-top: 9px; max-width: 420px; font: 500 12px/1.5 var(--f-mono); color: var(--ink-2); text-wrap: pretty; }
.card .fwd-line a { color: #9cf5c9; white-space: nowrap; border-bottom: 1px dashed rgba(156, 245, 201, .45); }
.card .fwd-line a:hover { color: #fff; border-bottom-color: #fff; }
.card .contract-row .btn-mini[hidden] { display: none; }
@media (min-width: 1024px) { .card .contract-note, .card .fwd-line { margin-top: 7px; font-size: 11.5px; } }

/* feed: forwards, harvests and the binding link their transaction */
.fl .fl-tx { color: #9cf5c9; text-decoration: none; }
.fl .fl-tx:hover { text-decoration: underline; }
.k-forward .msg { color: #c9f7de; }
.k-bound .msg { color: #fff; }

/* post your node: the live readout (public RPC by default, your node on request) */
.nodecard.is-read .node-manual { display: none; }
.node-live {
  margin-top: 2px; padding: 12px 14px 13px; border-radius: var(--r);
  border: 1px solid rgba(67, 255, 140, .28); background: rgba(67, 255, 140, .035);
}
.nodecard p.node-src { display: flex; align-items: center; gap: 8px; margin: 0 0 9px; font: 600 10.5px/1.2 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: #ffd38a; }
.nodecard p.node-src i { width: 7px; height: 7px; border-radius: 50%; background: #ffb547; box-shadow: 0 0 8px rgba(255, 181, 71, .7); flex: none; }
.node-live.is-local p.node-src { color: #9cf5c9; }
.node-live.is-local p.node-src i { background: #43ff8c; box-shadow: 0 0 8px rgba(67, 255, 140, .7); }
.node-dl { display: grid; grid-template-columns: 92px minmax(0, 1fr); column-gap: 12px; row-gap: 5px; font: 500 12.5px/1.4 var(--f-mono); }
.node-dl > div { display: contents; }
.node-dl dt { color: var(--ink-3); }
.node-dl dd { color: #fff; min-width: 0; overflow-wrap: anywhere; }
.nodecard .node-rpc { margin-top: 12px; }
.node-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.node-actions .btn-line { margin-top: 0; }
