/* Off Season, night of LED dots. One layout system: container 1280 px, gutter 32 (16 on a phone), spacing
   8/16/24/32/48/64/96, one section head (label + title + one line), one card (dark glass, 1px #22305A, no glow).
   One lit object per screen; amber only for what is on and pays. */
@font-face { font-family: "Outfit"; src: url("../fonts/outfit.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Onest"; src: url("../fonts/onest.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/geistmono.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --night: #070B1E; --night-2: #0B1230; --glass: rgba(14, 20, 50, 0.6); --edge: #22305A;
  --white: #EEF3FF; --soft: #A9B4D6; --mute: #7C88B0;
  --amber: #FFB21F; --amber-2: #FFD24A;
  --wrap: 1280px; --gut: 32px; --head: 72px;
  --display: "Outfit", system-ui, sans-serif;
  --sans: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, Consolas, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--night); }
body {
  margin: 0; min-height: 100svh; color: var(--white); font: 400 18px/1.55 var(--sans);
  font-variant-numeric: tabular-nums; font-feature-settings: "liga" 0, "clig" 0; overflow-x: clip;
  background:
    radial-gradient(rgba(238, 243, 255, 0.07) 1px, transparent 1.2px) 0 0 / 9px 9px,
    linear-gradient(180deg, var(--night) 0%, var(--night-2) 55%, var(--night) 100%) fixed;
}
img, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gut)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--amber-2); outline-offset: 3px; border-radius: 8px; }
.num { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--mono); font-size: 16px; }
.amber { color: var(--amber-2); }

/* rare stars: a few white points that flash now and then (CSS only) */
.stars { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.stars i { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: var(--white); opacity: .55; box-shadow: 0 0 6px 1px rgba(170, 195, 255, .6); animation: star 9s ease-in-out infinite; }
@keyframes star { 0%, 86%, 100% { opacity: .35; transform: scale(1); } 92% { opacity: 1; transform: scale(2.2); } }

/* ---------- header ---------- */
.top { position: relative; z-index: 20; height: var(--head); }
.top .wrap { height: 100%; display: flex; align-items: center; gap: 32px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; font: 700 24px/1 var(--display); letter-spacing: -0.01em; white-space: nowrap; }
.logo canvas { width: 40px; height: 40px; }
.nav { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav a { display: block; padding: 10px 16px; border-radius: 999px; text-decoration: none; font: 600 17px/1.2 var(--sans); color: var(--soft); transition: color .15s ease-out, background .15s ease-out; }
.nav a:hover { color: var(--white); background: rgba(238, 243, 255, .06); }
.nav a[aria-current="page"] { color: var(--night); background: var(--white); }
.badge { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border: 1px solid var(--edge); border-radius: 999px; font: 600 16px/1.2 var(--sans); background: var(--glass); white-space: nowrap; }
.badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--amber-2); box-shadow: 0 0 8px var(--amber); }
.badge.live i { background: var(--white); box-shadow: 0 0 8px #9fb6ff; }
.menu { display: none; min-height: 48px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--white); background: transparent; font-weight: 600; cursor: pointer; }
.note { position: relative; z-index: 2; }
.note p { margin: 0; padding: 8px 0; font-size: 16px; color: var(--mute); border-top: 1px solid var(--edge); }
.note a { font-weight: 600; color: var(--soft); }
.replaybar { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 40; display: none; align-items: center; gap: 16px; padding: 8px 8px 8px 24px; border-radius: 999px; background: var(--night-2); border: 1px solid var(--edge); font-weight: 600; font-size: 16px; white-space: nowrap; }
.replaybar.on { display: flex; }
.replaybar button { min-height: 40px; padding: 0 18px; border-radius: 999px; border: 0; background: var(--amber); color: var(--night); font-weight: 700; cursor: pointer; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 999px; border: 1px solid var(--white); background: transparent; color: var(--white); font: 700 18px/1 var(--sans); text-decoration: none; cursor: pointer; transition: transform .12s ease-out, background .15s ease-out; }
.btn:hover { background: rgba(238, 243, 255, .08); }
.btn:active { transform: scale(.97); }
.btn.primary { background: var(--amber); border-color: var(--amber); color: #120C02; }
.btn.primary:hover { background: var(--amber-2); }
.btn[disabled], .btn[aria-disabled="true"] { cursor: not-allowed; background: transparent; color: var(--mute); border-color: var(--edge); }

/* ---------- the Pier: first screen ---------- */
.pier .top { background: linear-gradient(180deg, rgba(7, 11, 34, .55), transparent); }
.hero { position: relative; height: 100svh; min-height: 640px; margin-top: calc(-1 * var(--head)); }
.hero .scene { position: absolute; inset: 0; overflow: hidden; z-index: 1; background: #070B22; }
.scene .plate { position: absolute; max-width: none; display: block; }
.scene .plate-on { opacity: 0; --wx: 75%; --wy: 35%; --wr: 0px; -webkit-mask-image: radial-gradient(circle at var(--wx) var(--wy), #000 var(--wr), transparent calc(var(--wr) + 180px)); mask-image: radial-gradient(circle at var(--wx) var(--wy), #000 var(--wr), transparent calc(var(--wr) + 180px)); }
.scene canvas.fx { position: absolute; inset: 0; width: 100%; height: 100%; }
.demo-tag { position: absolute; right: 24px; top: calc(var(--head) + 16px); z-index: 4; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--amber); color: var(--amber-2); font: 600 16px/1.2 var(--sans); background: rgba(7, 11, 34, .6); }
@media (min-width: 901px) { .name.bulbs { color: transparent; } }
.hero .copy { position: relative; z-index: 3; height: 100%; display: flex; align-items: center; padding-top: var(--head); pointer-events: none; }
.hero .copy .inner > * { pointer-events: auto; }
.copy .inner { width: min(740px, 58%); }
h1.name { margin: 0; font: 800 clamp(60px, 7vw, 112px)/0.95 var(--display); letter-spacing: -0.03em; }
.slogan { margin: 12px 0 24px; font: 600 clamp(24px, 2.2vw, 32px)/1.1 var(--display); color: var(--soft); letter-spacing: -0.01em; }
.headline { margin: 0 0 12px; font: 700 clamp(24px, 2.1vw, 32px)/1.15 var(--display); letter-spacing: -0.015em; }
.lede { margin: 0 0 24px; max-width: 30em; color: var(--soft); }
.lede b { color: var(--white); font-weight: 700; }
.actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 24px; }
.dock { padding: 16px 16px 16px 20px; border-radius: 20px; background: rgba(10, 16, 44, .9); border: 1px solid var(--edge); }
.stats { display: flex; gap: 0; margin-bottom: 12px; }
.stats div { padding: 0 24px; border-left: 1px solid var(--edge); }
.stats div:first-child { padding-left: 0; border-left: 0; }
.stats b { display: block; font: 700 32px/1.1 var(--display); letter-spacing: -0.01em; }
.stats b.amber { color: var(--amber-2); }
.stats span { display: block; font-size: 16px; color: var(--mute); }
.flip.go { animation: flip .38s ease-out; }
@keyframes flip { 0% { transform: rotateX(80deg); opacity: .2; } 100% { transform: none; opacity: 1; } }

/* the contract bar: on the first screen and, one line, at the end of every page */
.ca { display: flex; align-items: center; gap: 8px; flex-wrap: nowrap; }
.dock .ca { padding-top: 12px; border-top: 1px solid var(--edge); }
.ca .addr { flex: 1; min-width: 0; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 8px; }
.ca .addr.wait { color: var(--mute); }
.ca .copybtn { min-height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--edge); background: transparent; font-weight: 700; font-size: 16px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; color: var(--white); }
.ca .copybtn img { width: 16px; height: 16px; }
.ca .copybtn[aria-disabled="true"] { color: var(--mute); cursor: not-allowed; }
.mk { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 14px; border-radius: 12px; background: #0E1534; border: 1px solid var(--edge); color: var(--white); text-decoration: none; font-weight: 700; font-size: 16px; white-space: nowrap; transition: transform .12s ease-out, border-color .15s ease-out; }
.mk:hover { border-color: var(--soft); }
.mk > img:first-child { width: 20px; height: 20px; object-fit: contain; }
.mk:active { transform: scale(.96); }
.mk[aria-disabled="true"] { cursor: not-allowed; color: var(--soft); }
.mk .lk { width: 14px; height: 14px; opacity: .8; margin-left: 2px; }

/* blackout of Flip the switch: the page goes to dim dots, then comes back in a wave from the wheel */
.blackout { position: fixed; inset: 0; z-index: 30; pointer-events: none; background: rgba(4, 6, 16, .88); opacity: 0; transition: opacity .25s ease-out; --r: 0px; --x: 70%; --y: 50%; -webkit-mask-image: radial-gradient(circle at var(--x) var(--y), transparent var(--r), #000 calc(var(--r) + 140px)); mask-image: radial-gradient(circle at var(--x) var(--y), transparent var(--r), #000 calc(var(--r) + 140px)); }
.blackout.on { opacity: 1; }

/* ---------- sections ---------- */
main { position: relative; z-index: 2; }
main section { padding: 64px 0; }
main section + section { padding-top: 32px; }
main .hero { padding: 0; }
.shead { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.lab { display: block; margin-bottom: 8px; font: 600 16px/1.2 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); }
.shead h2 { margin: 0; font: 800 clamp(36px, 3.6vw, 52px)/1 var(--display); letter-spacing: -0.02em; }
.shead p { margin: 8px 0 0; max-width: 42em; color: var(--soft); }
.card { background: var(--glass); border: 1px solid var(--edge); border-radius: 18px; padding: 24px; }

/* the ladder of steps */
.ladder { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.rung { display: flex; flex-direction: column; gap: 8px; transition: border-color .2s ease-out, transform .2s ease-out; }
.rung .step { font: 800 48px/1 var(--display); letter-spacing: -0.02em; color: var(--mute); }
.rung.on .step { color: var(--white); }
.rung.wheel .step { color: var(--amber-2); }
.rung h3 { margin: 4px 0 0; font: 700 20px/1.2 var(--display); }
.rung .st { font-size: 16px; color: var(--soft); }
.rung .st b { color: var(--white); }
.rung.hl { transform: translateY(-4px); border-color: var(--soft); }
.bar5 { display: flex; gap: 5px; margin: 4px 0; }
.bar5 i { width: 7px; height: 7px; border-radius: 50%; background: rgba(238, 243, 255, .15); }
.bar5 i.on { background: var(--white); box-shadow: 0 0 6px rgba(160, 190, 255, .8); }
.bar5 i.am { background: var(--amber-2); box-shadow: 0 0 6px var(--amber); }
.pill { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; padding: 4px 12px; border-radius: 999px; font: 600 16px/1.3 var(--sans); border: 1px solid var(--edge); color: var(--soft); }
.pill.on { color: var(--white); border-color: var(--soft); }

/* tables */
.tablebox { background: var(--glass); border: 1px solid var(--edge); border-radius: 18px; overflow: clip; }
.tablebox .meta { display: flex; justify-content: space-between; gap: 16px; padding: 16px 24px; border-bottom: 1px solid var(--edge); font-size: 16px; color: var(--mute); }
table.t { width: 100%; border-collapse: collapse; font-size: 17px; }
table.t th { position: sticky; top: 0; z-index: 2; background: #0E1534; text-align: left; padding: 0 24px; height: 52px; font-weight: 600; font-size: 16px; color: var(--mute); white-space: nowrap; }
table.t td { padding: 0 24px; height: 54px; border-top: 1px solid var(--edge); white-space: nowrap; }
table.t .r { text-align: right; }
table.t tbody tr { transition: background .15s ease-out; }
table.t tbody tr:hover, table.t tbody tr.hl { background: rgba(238, 243, 255, .05); }
table.t tr.pay { animation: pay 1.4s ease-out; }
@keyframes pay { from { background: rgba(255, 178, 31, .28); } to { background: transparent; } }
.ic { display: inline-flex; align-items: center; gap: 4px; vertical-align: middle; }
.ic button, .ic a { display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; border: 0; background: transparent; border-radius: 6px; cursor: pointer; padding: 0; }
.ic button:hover, .ic a:hover { background: rgba(238, 243, 255, .1); }
.ic img { width: 16px; height: 16px; }
.addr4 { font-family: var(--mono); font-size: 16px; cursor: pointer; border-bottom: 1px dotted var(--mute); }
.more { display: flex; justify-content: center; padding: 16px; border-top: 1px solid var(--edge); }
.scrollx { overflow-x: auto; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 10px; background: var(--mute); vertical-align: 2px; }
.dot.buy, .dot.on { background: var(--white); box-shadow: 0 0 6px rgba(160, 190, 255, .9); }
.dot.money, .dot.reg { background: var(--amber-2); box-shadow: 0 0 6px var(--amber); }
.bigl { font-size: 16px; color: var(--mute); }

/* footer: one line, the contract */
.foot { position: relative; z-index: 2; padding: 32px 0 48px; }
.foot .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--edge); padding-top: 24px; }
.foot .ca { flex: 1; max-width: 820px; }
.foot small { font-size: 16px; color: var(--mute); }

.toast { position: fixed; left: 50%; top: 88px; transform: translate(-50%, -8px); z-index: 50; padding: 12px 20px; border-radius: 14px; background: var(--night-2); border: 1px solid var(--edge); font-weight: 600; font-size: 16px; opacity: 0; pointer-events: none; transition: opacity .2s ease-out, transform .2s ease-out; max-width: calc(100% - 32px); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.tip { position: fixed; z-index: 60; max-width: 300px; padding: 12px 16px; border-radius: 12px; background: #0E1534; border: 1px solid var(--edge); font-size: 16px; line-height: 1.45; pointer-events: none; display: none; }
.tip.on { display: block; }
.tip b { color: var(--amber-2); }

/* ---------- inner pages: one living object under the header ---------- */
.ihead .wrap { display: grid; grid-template-columns: 5fr 6fr; gap: 48px; align-items: center; padding: 32px 0 48px; }
.ihead h1 { margin: 0; font: 800 clamp(48px, 5.2vw, 84px)/0.95 var(--display); letter-spacing: -0.03em; }
.ihead .sub { margin: 16px 0 0; max-width: 32em; color: var(--soft); }
.ihead .sub b { color: var(--white); }
.big { font: 800 clamp(64px, 7.5vw, 112px)/0.9 var(--display); letter-spacing: -0.03em; }
.objbox { position: relative; height: min(52svh, 460px); min-height: 300px; }
.objbox canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.gauge { margin-top: 24px; }
.chartbox { position: relative; height: 320px; }
.chartbox canvas { width: 100%; height: 100%; }
.dayline { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 16px; min-height: 56px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid2 p { color: var(--soft); }
.grid2 p b { color: var(--white); }
.find { display: flex; gap: 12px; flex-wrap: wrap; }
.find input { flex: 1; min-width: 240px; min-height: 52px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--edge); background: rgba(7, 11, 30, .7); font: 400 16px var(--mono); color: var(--white); }
.found { margin-top: 16px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.found b { display: block; font: 700 26px/1.1 var(--display); }
.found span { font-size: 16px; color: var(--mute); }
.rstats { margin-top: 24px; }
#watch { margin-top: 24px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps .card { display: flex; flex-direction: column; gap: 12px; opacity: 0; transform: translateY(12px); transition: opacity .5s ease-out, transform .5s ease-out; }
.steps .card.in { opacity: 1; transform: none; }
.steps img { width: 96px; height: 96px; }
.steps h3 { margin: 0; font: 700 21px/1.2 var(--display); }
.steps p { margin: 0; color: var(--soft); font-size: 17px; }
.rules { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; counter-reset: r; padding: 0; margin: 0; }
.rules li { list-style: none; position: relative; padding: 20px 0 20px 56px; border-top: 1px solid var(--edge); color: var(--soft); }
.rules li::before { counter-increment: r; content: counter(r); position: absolute; left: 0; top: 16px; font: 800 36px/1 var(--display); color: var(--white); }
.rules li b { display: block; font-size: 19px; margin-bottom: 4px; color: var(--white); }
.calc { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: stretch; }
.calc label { display: block; font-weight: 600; font-size: 16px; margin: 0 0 6px; color: var(--soft); }
.calc input { width: 100%; min-height: 52px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--edge); background: rgba(7, 11, 30, .7); font: 600 18px var(--sans); color: var(--white); }
.calc .row { margin-bottom: 16px; }
.formula { margin-top: 8px; padding: 16px; border-radius: 14px; border: 1px solid var(--edge); font-size: 16px; color: var(--soft); }
.formula b { color: var(--white); }
.mini { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.mini .out { text-align: center; }
.mini .out b { font: 800 56px/1 var(--display); color: var(--amber-2); }
.demo { margin-top: 24px; max-width: 460px; }
.demo label { display: block; font-size: 16px; margin-bottom: 8px; color: var(--soft); }
.demo input { width: 100%; accent-color: #FFB21F; min-height: 32px; }
.h2s { margin: 4px 0 12px; font: 800 36px/1.05 var(--display); letter-spacing: -0.02em; }

/* 404 */
.lost { position: relative; min-height: calc(100svh - var(--head)); }
.lost .wrap { min-height: calc(100svh - var(--head)); display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 32px; }
.lost canvas { width: 100%; height: min(60svh, 520px); }
.lost h1 { margin: 0 0 16px; font: 800 clamp(48px, 6vw, 96px)/0.95 var(--display); letter-spacing: -0.03em; }
.lost p { color: var(--soft); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .steps .card { opacity: 1; transform: none; } }

/* ---------- narrower ---------- */
@media (max-width: 1100px) {
  .ladder { grid-template-columns: repeat(5, minmax(170px, 1fr)); overflow-x: auto; padding-bottom: 8px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  :root { --gut: 24px; }
  .nav { display: none; }
  .menu { display: inline-flex; align-items: center; }
  .top.open .nav { display: flex; flex-direction: column; position: absolute; top: var(--head); left: var(--gut); right: var(--gut); padding: 8px; background: var(--night-2); border: 1px solid var(--edge); border-radius: 18px; }
  .top.open .nav a { padding: 14px 16px; }
  .ihead .wrap, .grid2, .calc, .rules, .lost .wrap { grid-template-columns: 1fr; }
  .found { grid-template-columns: repeat(2, 1fr); }
  .hero { height: auto; min-height: 0; }
  .hero { height: auto; margin-top: 0; }
  .hero .scene { position: relative; inset: auto; height: min(118vw, 560px); }
  .hero .copy { padding-top: 24px; }
  .hero .copy { height: auto; padding: 0 0 32px; }
  .copy .inner { width: 100%; }
}
@media (max-width: 760px) {
  :root { --gut: 16px; --head: 64px; }
  body { font-size: 17px; }
  .top .wrap { gap: 8px; }
  .logo { font-size: 20px; gap: 8px; }
  .logo canvas { width: 36px; height: 36px; }
  .badge { padding: 6px 12px; gap: 6px; }
  .menu { padding: 0 14px; }
  .stats div { padding: 0 14px; }
  .stats b { font-size: 24px; }
  .ca { flex-wrap: wrap; }
  .ca .addr { flex-basis: 100%; padding: 4px 0 8px; }
  .shead { flex-direction: column; align-items: flex-start; }
  main section { padding: 48px 0; }
  table.t th, table.t td { padding: 0 16px; }
  .foot .wrap { flex-direction: column; align-items: stretch; }
  .steps { grid-template-columns: 1fr; }
}
.dock { width: max-content; max-width: 100%; }
.dock .ca .addr { flex: 0 0 auto; }
.dock .ca { gap: 6px; }
.dock .mk { padding: 0 12px; }
/* the year chart of DOM bars */
.chartbox { padding-left: 48px; }
.chartbox .bars { position: absolute; inset: 0 0 0 48px; display: flex; align-items: flex-end; gap: 1px; }
.chartbox .bars b { flex: 1 1 0; min-width: 0; background: rgba(238, 243, 255, .22); border-radius: 1px 1px 0 0; }
.chartbox .bars b.on { background: rgba(238, 243, 255, .75); }
.chartbox .bars b.am { background: var(--amber-2); box-shadow: 0 0 6px var(--amber); }
.chartbox .bars b:hover { background: #fff; }
.cline { position: absolute; left: 48px; right: 0; height: 0; border-top: 1px dashed rgba(238, 243, 255, .25); pointer-events: none; }
.cline.am { border-top: 2px dashed var(--amber-2); }
.cline span { position: absolute; left: -48px; top: -12px; font-size: 16px; font-style: normal; color: var(--mute); }
.cline.am span { color: var(--amber-2); }
.bar5 i[title] { width: 12px; height: 12px; }
@media (max-width: 760px) { .chartbox .bars { gap: 0; } .chartbox { padding-left: 40px; } .chartbox .bars, .cline { left: 40px; } .cline span { left: -40px; } }
.stats b { white-space: nowrap; }
@media (max-width: 760px) { .stats b { font-size: 22px; } .stats div { padding: 0 12px; } }
.pill.am { color: var(--amber-2); border-color: var(--amber); }
.pill.mute { color: var(--soft); border-style: dashed; }
.rimside { text-align: right; }
.rimside b { color: var(--white); display: inline-block; }
@media (max-width: 760px) { .rimside { text-align: left; } }
.ca .copybtn.icon { width: 48px; padding: 0; justify-content: center; }
.season .ihead .wrap { grid-template-columns: minmax(0, 1fr) min(520px, 46%); }
.season .objbox { height: min(56svh, 500px); }
@media (max-width: 900px) { .season .ihead .wrap { grid-template-columns: 1fr; } .season .objbox { height: min(96vw, 440px); } }
table.t td .bigl { white-space: nowrap; }
table.t td:has(br) { height: 64px; line-height: 1.3; }
.scene .shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, #070B22 0, #070B22 92px, rgba(7, 11, 34, 0) 128px), linear-gradient(90deg, rgba(7, 11, 34, .7) 0, rgba(7, 11, 34, .7) calc(var(--cw) * .75), rgba(7, 11, 34, 0) calc(var(--cw) + 160px)); }
@media (min-width: 901px) { .copy .inner { width: min(760px, 60%); } }
.chartbox { margin-bottom: 28px; }
.chartbox .xaxis { position: absolute; left: 48px; right: 0; bottom: -28px; height: 20px; }
.chartbox .mlab { position: absolute; top: 0; font-style: normal; font-size: 16px; color: var(--mute); }
@media (max-width: 760px) { .chartbox .xaxis { left: 40px; } .chartbox .mlab:nth-child(even) { display: none; } }

/* inner padding to the kit's floor (RULES/05_TYPE_AND_SURFACES.md): dividers drawn as lines, not borders on text boxes */
.nav a { padding: 10px 18px; }
.menu { padding: 0 20px; }
.pill { padding: 8px 16px; }
.stats div { border-left: 0; background: linear-gradient(var(--edge), var(--edge)) left center / 1px 80% no-repeat; padding: 8px 24px; }
.stats div:first-child { background: none; padding-left: 0; }
.dock .ca { border-top: 0; padding-top: 12px; position: relative; }
.dock .ca::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--edge); }
.ca .copybtn { padding: 0 20px; }
.mk { padding: 0 18px; }
.dock .mk { padding: 0 16px; }
.note p { border-top: 0; position: relative; }
.note .wrap { border-top: 1px solid var(--edge); }
.rung { padding-top: 28px; }
@media (min-width: 901px) { .copy .inner { width: min(800px, 62%); } }
@media (max-width: 760px) {
  .badge { padding: 8px 16px; }
  .logo { font-size: 18px; }
  .menu { padding: 0 16px; }
  .stats div { padding: 8px 12px; }
}
.stats div { background: none; position: relative; }
.stats div + div::before { content: ""; position: absolute; left: 0; top: 15%; bottom: 15%; width: 1px; background: var(--edge); }
.note .wrap { border-top: 0; position: relative; }
.note .wrap::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--edge); }
.addr4 { border-bottom: 0; text-decoration: underline dotted var(--mute); text-underline-offset: 4px; }
.rung { padding: 32px; }
.dock { padding: 16px 24px 16px 32px; }
.foot .wrap { border-top: 0; position: relative; }
.foot .wrap::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--edge); }
@media (max-width: 760px) { table.t th, table.t td { padding: 0 18px; } .dock { padding: 16px 20px; } .stats b { font-size: 20px; } }
.btn { padding: 12px 28px; line-height: 1.2; text-align: center; }
@media (max-width: 359px) { .logo .lt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
