@font-face { font-family: Inter; src: url(/fonts/inter-latin.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: JBM; src: url(/fonts/jetbrains-mono-latin.woff2) format('woff2'); font-weight: 100 800; font-display: swap; }
:root {
  --bg: #0a0c10; --panel: #11141a; --panel-2: #161a21; --panel-3: #1c212a; --line: #1f242d; --line-2: #2a303b; --line-3: #3a4250;
  --text: #eef1f6; --soft: #c3c9d3; --muted: #8b93a1; --faint: #5a6170;
  --holo: linear-gradient(120deg, rgba(255,255,255,.55), rgba(143,179,255,.45) 35%, rgba(255,213,154,.4) 65%, rgba(255,255,255,.5)); --up: #3ecf8e; --down: #f0616d; --warn: #f2c14e;
  --chrome: linear-gradient(180deg, #ffffff 0%, #d9dde3 38%, #8a919c 52%, #eef1f5 64%, #aab1bb 100%);
  --radius: 18px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); color: var(--text); font-family: Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
body { min-height: 100vh; overflow-x: hidden; display: flex; flex-direction: column; background:
  radial-gradient(1100px 520px at 85% -8%, rgba(120,150,255,.11), transparent 60%),
  radial-gradient(800px 420px at 5% -5%, rgba(255,190,120,.06), transparent 60%), var(--bg); background-repeat: no-repeat; }
h1, h2, h3, .brand { font-family: Sora, Inter, sans-serif; }
main { flex: 1; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
img { max-width: 100%; }
.mono { font-family: JBM, ui-monospace, monospace; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.i { width: 14px; height: 14px; flex: none; }
.chrome { background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); } .faint { color: var(--faint); } .up { color: var(--up); } .down { color: var(--down); }
.small { font-size: 12px; }
[hidden] { display: none !important; }

/* nav */
.nav { border-bottom: 1px solid var(--line); position: sticky; top: 0; background: rgba(10,12,16,.78); backdrop-filter: blur(10px); z-index: 30; }
.nav-in { display: flex; align-items: center; gap: 28px; height: 60px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 16px; letter-spacing: -.01em; white-space: nowrap; }
.brand svg { width: 26px; height: 26px; }
.brand b { background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 800; }
.links { display: flex; gap: 22px; font-size: 13.5px; color: var(--muted); }
.links a[aria-current] { color: var(--text); font-weight: 600; }
.links a:hover { color: var(--text); }
.nav-r { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.nav-ca { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 11px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line-2); font-size: 11.5px; cursor: pointer; color: var(--soft); }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.menu-toggle .i { width: 20px; height: 20px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 36px; padding: 0 16px; border-radius: 999px; font: 600 13px Inter; border: 0; cursor: pointer; white-space: nowrap; transition: opacity .15s, background .15s; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-w { background: linear-gradient(180deg, #ffffff 0%, #dde2e9 55%, #b7bfca 100%); color: #0a0c10; box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(255,255,255,.12), 0 6px 20px rgba(143,179,255,.12); }
.btn-w:hover:not(:disabled) { filter: brightness(1.06); }
.btn-g { background: rgba(28,33,42,.8); color: var(--text); border: 1px solid var(--line-2); }
.btn-g:hover:not(:disabled) { background: #2d2d2d; }
.btn-lg { height: 42px; padding: 0 20px; font-size: 13.5px; }
.btn-block { width: 100%; }
.btn .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--up); }

/* hero */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 24px; align-items: center; padding: 56px 0 40px; }
h1 { font-size: 54px; line-height: 1.04; letter-spacing: -.04em; font-weight: 700; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; font: 500 11px JBM; letter-spacing: .16em; text-transform: uppercase; color: var(--soft); border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 12px 6px 8px; background: rgba(17,20,26,.7); }
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--up); box-shadow: 0 0 10px var(--up); }
.lede { margin-top: 22px; color: var(--soft); font-size: 15.5px; line-height: 1.6; max-width: 540px; }
.cta { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.stats { display: flex; gap: 48px; margin-top: 42px; flex-wrap: wrap; }
.stat small, .label { display: block; font: 500 10.5px JBM; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
.stat strong { display: flex; align-items: center; gap: 8px; margin-top: 8px; font: 700 22px JBM; letter-spacing: -.02em; }
.stat strong em { font: 500 12px JBM; color: var(--muted); font-style: normal; }
.sol { width: 18px; height: 14px; flex: none; }
.sol.sm { width: 13px; height: 10px; }

.orbit { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1; margin-left: auto; }
.ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid #1d2230; }
.ring.r2 { inset: 17%; border-color: #232a38; border-style: dashed; }
.seal { position: absolute; inset: 24%; width: 52%; height: 52%; animation: spin 80s linear infinite reverse; overflow: visible; }
.seal text { font: 600 7.2px JBM; letter-spacing: .3em; fill: #7d8697; }
.spin { position: absolute; inset: 0; animation: spin 120s linear infinite; }
.spin.s2 { inset: 17%; animation-duration: 90s; animation-direction: reverse; }
.tile { position: absolute; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: #131720; border: 1px solid #2a3140; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.5); }
.spin .tile { animation: spin 120s linear infinite reverse; }
.spin.s2 .tile { animation: spin 90s linear infinite; }
.tile img { width: 22px; height: 22px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spin, .spin .tile, .core .swirl { animation: none !important; } }
.core { position: absolute; inset: 31%; border-radius: 50%; overflow: hidden; background:
  radial-gradient(circle at 30% 25%, rgba(255,255,255,.18), transparent 40%),
  conic-gradient(from 200deg, #0d0f14, #1b2230, #3a2a4a, #10151d, #2a3a48, #0d0f14);
  border: 0; box-shadow: 0 0 0 1px rgba(255,255,255,.4), 0 0 0 7px #0f1218, 0 0 0 8px rgba(255,255,255,.12), 0 0 80px rgba(143,179,255,.2); display: grid; place-items: center; }
.core img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.core .swirl { position: absolute; inset: -20%; background:
  radial-gradient(ellipse 60% 20% at 50% 60%, rgba(255,210,150,.35), transparent 70%),
  radial-gradient(ellipse 50% 14% at 40% 35%, rgba(140,180,255,.35), transparent 70%);
  filter: blur(6px); animation: spin 30s linear infinite; }
.core .ph { position: relative; text-align: center; }
.core .ph b { display: block; font-size: 44px; font-weight: 800; letter-spacing: .04em; background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.core .ph span { display: block; margin-top: 2px; font: 500 9.5px JBM; letter-spacing: .18em; color: #aab; text-transform: uppercase; }

/* sections */
.sec-h { display: flex; align-items: baseline; gap: 8px; margin: 34px 0 14px; }
.sec-h h2 { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.sec-h small { font: 500 12px JBM; color: var(--muted); }
.page-h { padding: 44px 0 22px; }
.page-h h1 { font-size: 40px; }
.page-h p { margin-top: 12px; color: var(--soft); max-width: 640px; line-height: 1.6; font-size: 15px; }
.bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.seg { display: flex; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.seg button { background: none; border: 0; color: var(--muted); font: 600 12px Inter; height: 28px; padding: 0 13px; border-radius: 999px; cursor: pointer; display: flex; align-items: center; gap: 6px; }
.seg button[aria-pressed=true] { background: #232a36; color: var(--text); }
.seg .live { width: 6px; height: 6px; border-radius: 50%; background: var(--up); }
.search { margin-left: auto; display: flex; align-items: center; gap: 8px; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; height: 36px; padding: 0 14px; width: 280px; color: var(--faint); }
.search input { background: none; border: 0; outline: 0; width: 100%; font-size: 12.5px; color: var(--text); }
.chips { display: flex; gap: 4px; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 3px; flex-wrap: wrap; }
.chips button { display: flex; align-items: center; gap: 5px; background: none; border: 0; color: var(--muted); font: 600 11.5px JBM; height: 28px; padding: 0 9px; border-radius: 999px; cursor: pointer; }
.chips button[aria-pressed=true] { background: #232a36; color: var(--text); }
.chips img { width: 13px; height: 13px; }

.layout { display: grid; grid-template-columns: 1fr 300px; gap: 20px; align-items: start; padding-bottom: 80px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.empty { grid-column: 1 / -1; border: 1px dashed var(--line-2); border-radius: var(--radius); padding: 40px 20px; text-align: center; color: var(--muted); font-size: 14px; line-height: 1.6; }
.empty .btn { margin-top: 14px; }

/* lab logo */
.lab { display: inline-grid; place-items: center; flex: none; }
.lab img { width: 100%; height: 100%; }
.lab.txt { border-radius: 4px; background: #333; font: 700 8px JBM; color: #ddd; }

/* coin card */
.coin { position: relative; overflow: hidden; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; transition: border-color .15s, transform .15s; display: block; }
.coin:hover { border-color: transparent; background: linear-gradient(var(--panel), var(--panel)) padding-box, var(--holo) border-box; transform: translateY(-2px); }
.coin .wm { position: absolute; right: -26px; bottom: -26px; width: 130px; height: 130px; opacity: .07; pointer-events: none; }
.c-top { display: flex; gap: 12px; align-items: center; min-width: 0; }
.c-top > div { min-width: 0; }
.c-img { width: 44px; height: 44px; border-radius: 10px; flex: none; display: grid; place-items: center; font: 800 14px Inter; color: #ddd; background: var(--panel-3); overflow: hidden; }
.c-img img { width: 100%; height: 100%; object-fit: cover; }
.c-top b { display: block; font-size: 15px; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-top span { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pill-model { display: inline-flex; align-items: center; gap: 6px; background: #171b23; border: 1px solid #262c38; border-radius: 999px; padding: 4px 10px 4px 7px; font-size: 11.5px; font-weight: 600; max-width: 100%; }
.pill-model span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.coin .pill-model { margin-top: 12px; }
.c-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 10px; margin-top: 14px; }
.c-stats small { display: block; font: 500 9.5px JBM; letter-spacing: .12em; color: var(--muted); }
.c-stats strong { display: flex; align-items: baseline; gap: 6px; margin-top: 4px; font: 700 14.5px JBM; flex-wrap: wrap; }
.c-stats em { font: 500 11px JBM; font-style: normal; }
.curve { height: 4px; background: #1c212a; border-radius: 4px; margin-top: 14px; overflow: hidden; }
.curve i { display: block; height: 100%; background: linear-gradient(90deg, #8fb3ff, #fff 60%, #ffd59a); border-radius: 4px; }
.c-foot { display: flex; justify-content: space-between; margin-top: 8px; font: 500 10.5px JBM; color: var(--faint); }

/* side feed */
.side { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; position: sticky; top: 76px; }
.side-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.side-h b { font-size: 14px; }
.side-h a { font-size: 12px; color: var(--muted); }
.feed { list-style: none; }
.feed li { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; padding: 11px 0; border-top: 1px solid var(--line); }
.feed li:first-child { border-top: 0; }
.feed b { font-size: 13px; }
.feed .m { display: flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--muted); min-width: 0; }
.feed .m span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed .amt { font: 700 12.5px JBM; text-align: right; }
.feed .t { font: 500 10.5px JBM; color: var(--faint); text-align: right; }
.feed .t a:hover { color: var(--text); }
.feed-empty { color: var(--muted); font-size: 13px; padding: 10px 0; }

/* panels */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; position: relative; overflow: hidden; }
.card h3 { font-size: 15px; font-weight: 700; }
.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 12px; margin-top: 18px; }
.kv strong { display: block; margin-top: 5px; font: 700 14px JBM; }
.big { display: flex; align-items: center; gap: 10px; margin-top: 10px; font: 700 34px JBM; letter-spacing: -.03em; }
.big .sol { width: 26px; height: 20px; }
.sub { margin-top: 4px; font: 500 12px JBM; color: var(--muted); }
.link-row { margin-top: 16px; font: 500 11.5px JBM; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.link-row a:hover { color: var(--text); }

/* coin page */
.coin-h { display: flex; gap: 18px; align-items: center; padding: 36px 0 22px; }
.coin-h .c-img { width: 72px; height: 72px; border-radius: 14px; font-size: 20px; }
.coin-h h1 { font-size: 34px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.coin-h h1 small { font: 600 12px Inter; letter-spacing: 0; background: var(--panel-3); border: 1px solid var(--line-2); color: var(--muted); padding: 4px 9px; border-radius: 999px; }
.coin-h .actions { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.tag { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--line-2); font: 500 11.5px JBM; color: var(--soft); cursor: pointer; }
.tag:hover { color: var(--text); border-color: var(--line-3); }
.coin-desc { color: var(--soft); font-size: 14px; line-height: 1.6; max-width: 820px; margin: -8px 0 22px; white-space: pre-wrap; overflow-wrap: anywhere; }
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card .wm { position: absolute; right: -30px; bottom: -30px; width: 150px; height: 150px; opacity: .06; pointer-events: none; }
.model-h { display: flex; gap: 12px; align-items: center; margin-top: 14px; }
.model-h .lab-box { width: 44px; height: 44px; border-radius: 50%; background: #131720; border: 1px solid #2a3140; display: grid; place-items: center; }
.model-h b { font-size: 16px; display: block; }
.model-h span { font-size: 12px; color: var(--muted); }
.coin-main { display: grid; grid-template-columns: 1fr 340px; gap: 14px; margin: 14px 0 80px; align-items: start; }

/* terminal */
.term { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; min-height: 520px; overflow: hidden; }
.term-h { display: flex; align-items: center; gap: 10px; padding: 13px 16px; border-bottom: 1px solid var(--line); font-size: 13px; }
.term-h b { font-weight: 700; }
.term-h .muted { font-size: 12px; }
.status { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font: 600 11px JBM; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); }
.status i { width: 7px; height: 7px; border-radius: 50%; background: var(--faint); }
.status.on { color: var(--up); border-color: rgba(62,207,142,.35); }
.status.on i { background: var(--up); box-shadow: 0 0 8px var(--up); }
.status.off { color: var(--warn); border-color: rgba(242,193,78,.35); }
.status.off i { background: var(--warn); }
.log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 18px; max-height: 620px; font-size: 13.5px; line-height: 1.6; }
.msg .who { display: flex; align-items: center; gap: 7px; font: 600 11px JBM; color: var(--muted); margin-bottom: 5px; }
.msg .who time { color: var(--faint); font-weight: 500; }
.msg .body { white-space: pre-wrap; overflow-wrap: anywhere; }
.msg.user .body { color: var(--text); background: #1a2030; border: 1px solid var(--line-2); padding: 9px 12px; border-radius: 12px; display: inline-block; max-width: 100%; }
.msg.si .body { color: var(--soft); font-family: JBM, monospace; font-size: 12.5px; }
.msg.si .who { color: var(--text); }
.msg .cost { margin-top: 5px; font: 500 10.5px JBM; color: var(--faint); }
.caret::after { content: '▍'; animation: blink 1s steps(1) infinite; color: var(--muted); }
@keyframes blink { 50% { opacity: 0; } }
.log-empty { margin: auto; text-align: center; color: var(--muted); font-size: 13px; max-width: 360px; }
.composer { border-top: 1px solid var(--line); padding: 12px; display: flex; gap: 8px; align-items: flex-end; }
.composer textarea { flex: 1; resize: none; background: var(--panel-2); border: 1px solid var(--line-2); border-radius: 12px; padding: 10px 12px; font-size: 13.5px; line-height: 1.45; min-height: 42px; max-height: 160px; outline: 0; }
.composer textarea:focus { border-color: var(--line-3); }
.composer .btn { height: 42px; width: 42px; padding: 0; border-radius: 12px; }
.composer-note { padding: 0 14px 10px; font: 500 10.5px JBM; color: var(--faint); display: flex; justify-content: space-between; gap: 10px; }

/* tables */
.table-wrap { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; margin-bottom: 80px; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th { text-align: left; font: 500 10.5px JBM; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; padding: 13px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 12px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; font-family: JBM, monospace; }
.model-cell { display: flex; align-items: center; gap: 10px; }
.model-cell b { font-weight: 600; }
.model-cell small { display: block; color: var(--faint); font: 500 11px JBM; }
tr.row-link { cursor: pointer; }
tr.row-link:hover td { background: #151922; }

/* launch */
.launch { display: grid; grid-template-columns: 1fr 360px; gap: 20px; align-items: start; padding-bottom: 80px; }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 14px; }
.step-h { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.step-h .n { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(180deg,#fff,#b7bfca); color: #0a0c10; display: grid; place-items: center; font: 700 11px JBM; }
.step-h h3 { font-size: 15px; }
.step-h .muted { margin-left: auto; font-size: 12px; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.mtile { display: flex; align-items: center; gap: 10px; background: var(--panel-2); border: 1px solid var(--line-2); border-radius: 12px; padding: 10px; cursor: pointer; text-align: left; min-width: 0; }
.mtile:hover { border-color: var(--line-3); }
.mtile[aria-pressed=true] { border-color: transparent; background: linear-gradient(#1a1f28, #1a1f28) padding-box, var(--holo) border-box; }
.mtile .lab-box { width: 32px; height: 32px; border-radius: 50%; background: #0f1218; display: grid; place-items: center; flex: none; }
.mtile b { display: block; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mtile small { display: block; font: 500 10.5px JBM; color: var(--muted); }
.mtile > span:last-child { min-width: 0; }
.picker { margin-top: 12px; }
.picker .search { width: 100%; margin: 0; }
.results { margin-top: 8px; max-height: 280px; overflow-y: auto; border: 1px solid var(--line); border-radius: 12px; }
.results button { display: flex; width: 100%; align-items: center; gap: 10px; padding: 9px 12px; background: none; border: 0; border-bottom: 1px solid var(--line); cursor: pointer; text-align: left; }
.results button:last-child { border-bottom: 0; }
.results button:hover, .results button[aria-pressed=true] { background: #171c25; }
.results b { font-size: 13px; font-weight: 600; }
.results small { margin-left: auto; font: 500 11px JBM; color: var(--muted); white-space: nowrap; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font: 500 10.5px JBM; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }
.input { background: var(--panel-2); border: 1px solid var(--line-2); border-radius: 10px; height: 40px; padding: 0 12px; font-size: 13.5px; outline: 0; width: 100%; }
textarea.input { height: auto; padding: 10px 12px; resize: vertical; min-height: 84px; line-height: 1.5; }
.input:focus { border-color: var(--line-3); }
.hint { font-size: 11.5px; color: var(--faint); }
.drop { display: flex; gap: 14px; align-items: center; border: 1px dashed var(--line-3); border-radius: 12px; padding: 14px; cursor: pointer; }
.drop.drag { border-color: #fff; }
.drop .prev { width: 64px; height: 64px; border-radius: 12px; background: var(--panel-3); display: grid; place-items: center; overflow: hidden; flex: none; color: var(--muted); }
.drop .prev img { width: 100%; height: 100%; object-fit: cover; }
.drop b { font-size: 13px; }
.drop p { font-size: 12px; color: var(--muted); margin-top: 3px; }
.summary { position: sticky; top: 76px; }
.summary .rows { margin-top: 14px; display: grid; gap: 10px; font-size: 13px; }
.summary .rows div { display: flex; justify-content: space-between; gap: 12px; }
.summary .rows span:last-child { font-family: JBM, monospace; font-size: 12.5px; text-align: right; }
.split { display: flex; height: 8px; border-radius: 8px; overflow: hidden; margin-top: 16px; }
.split i:first-child { background: linear-gradient(90deg, #8fb3ff, #fff); }
.split i:last-child { background: #3a4250; }
.checklist { list-style: none; margin: 16px 0; display: grid; gap: 8px; font-size: 12.5px; color: var(--muted); }
.checklist li { display: flex; align-items: center; gap: 8px; }
.checklist li.ok { color: var(--text); }
.checklist li.ok .i { color: var(--up); }

/* modal */
.modal { position: fixed; inset: 0; background: rgba(0,0,0,.7); display: grid; place-items: center; z-index: 60; padding: 16px; }
.modal-box { background: var(--panel); border: 1px solid var(--line-2); border-radius: 18px; padding: 22px; width: 100%; max-width: 440px; }
.modal-box h3 { font-size: 18px; }
.modal-box > p { color: var(--muted); font-size: 13px; margin-top: 6px; }
.progress { list-style: none; margin: 18px 0; display: grid; gap: 10px; }
.progress li { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); }
.progress li .st { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-3); display: grid; place-items: center; font: 600 10.5px JBM; flex: none; }
.progress li small { display: block; font: 500 11px JBM; color: var(--faint); margin-top: 2px; overflow-wrap: anywhere; }
.progress li.active { color: var(--text); }
.progress li.active .st { border-color: #fff; }
.progress li.done { color: var(--text); }
.progress li.done .st { background: var(--up); border-color: var(--up); color: #0b2a1c; }
.progress li.error .st { background: var(--down); border-color: var(--down); color: #fff; }
.progress li.error small { color: var(--down); }
.modal-actions { display: flex; gap: 8px; justify-content: flex-end; }

/* docs */
.docs { display: grid; grid-template-columns: 200px 1fr; gap: 40px; padding-bottom: 80px; }
.toc { position: sticky; top: 84px; align-self: start; display: grid; gap: 8px; font-size: 13px; color: var(--muted); }
.toc a:hover { color: var(--text); }
.prose { max-width: 780px; }
.prose section { padding-top: 12px; margin-bottom: 36px; scroll-margin-top: 76px; }
.prose h2 { font-size: 22px; letter-spacing: -.02em; margin-bottom: 12px; }
.prose h3 { font-size: 15px; margin: 18px 0 8px; }
.prose p, .prose li { color: var(--soft); font-size: 14.5px; line-height: 1.7; }
.prose p + p { margin-top: 10px; }
.prose ul, .prose ol { padding-left: 20px; display: grid; gap: 6px; margin-top: 8px; }
.prose code { font: 500 12.5px JBM; background: var(--panel-3); padding: 1px 6px; border-radius: 5px; }
.prose pre { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; overflow-x: auto; font: 500 12.5px/1.6 JBM; color: var(--soft); margin-top: 10px; }
.prose table { margin-top: 10px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: block; overflow-x: auto; }
.prose td { white-space: normal; color: var(--soft); font-size: 13.5px; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
.trio .card p { font-size: 13px; margin-top: 6px; }
.method { display: inline-block; font: 700 10.5px JBM; padding: 3px 7px; border-radius: 6px; background: linear-gradient(180deg,#fff,#c3cad4); color: #0a0c10; margin-right: 8px; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 28px 0 32px; }
.foot-in { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.foot-brand p { color: var(--muted); font-size: 13px; margin-top: 8px; }
.foot-links { display: flex; gap: 18px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.foot-links a:hover { color: var(--text); }
.disclaimer { margin-top: 20px; color: var(--faint); font-size: 11.5px; line-height: 1.6; }

.toast { position: fixed; left: 50%; bottom: 22px; transform: translate(-50%, 20px); opacity: 0; background: #eef1f6; color: #0a0c10; padding: 10px 16px; border-radius: 12px; font-size: 13px; font-weight: 600; transition: all .2s; z-index: 80; pointer-events: none; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.error { background: var(--down); color: #fff; }

@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; }
  .orbit { margin: 10px auto 0; max-width: 420px; }
  .layout, .coin-main, .launch { grid-template-columns: 1fr; }
  .side, .summary { position: static; }
  .grid, .cards3 { grid-template-columns: repeat(2, 1fr); }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .docs { grid-template-columns: 1fr; }
  .toc { display: none; }
}
@media (max-width: 760px) {
  .links { display: none; position: absolute; top: 60px; left: 0; right: 0; background: #0d1015; border-bottom: 1px solid var(--line); flex-direction: column; gap: 0; padding: 6px 16px 12px; }
  .links.open { display: flex; }
  .links a { padding: 11px 0; font-size: 15px; }
  .menu-toggle { display: block; }
  .nav-ca { display: none; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  h1 { font-size: 38px; }
  .page-h h1 { font-size: 30px; }
  .stats { gap: 22px 30px; }
  .grid, .cards3, .trio { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .fields { grid-template-columns: 1fr; }
  .search { width: 100%; margin-left: 0; }
  .coin-h h1 { font-size: 26px; }
  .orbit { max-width: 340px; }
  .tile { width: 38px; height: 38px; margin: -19px 0 0 -19px; }
  .tile img { width: 18px; height: 18px; }
}


/* ---- the pay slip look -----------------------------------------------------------
   Paper, ink and one stamp colour. Hard edges, hard shadows, a punch clock.
   Everything above this line is layout; this layer owns colour, type and the
   pieces only this site has (the clock, the time cards, the stamps). */
:root {
  --bg: #f1eee4; --panel: #fbfaf5; --panel-2: #f1eee4; --panel-3: #e5e1d3; --line: #dcd7c6; --line-2: #c2bca6; --line-3: #16150f;
  --text: #16150f; --soft: #3b392f; --muted: #6c6857; --faint: #99947f;
  --up: #0f7a3d; --down: #c2331f; --warn: #a85d00; --ink: #16150f; --punch: #ff4b1f;
  --radius: 0px; --shadow: 5px 5px 0 var(--ink);
}
html { background: var(--bg); color: var(--text); }
body { background: var(--bg) repeating-linear-gradient(0deg, transparent 0 31px, rgba(22,21,15,.045) 31px 32px); }
h1, h2, h3, .brand { font-family: Inter, system-ui, sans-serif; font-weight: 900; letter-spacing: -.035em; }
main { overflow-x: clip; }
::selection { background: var(--punch); color: #fff; }

/* nav */
.nav { background: var(--bg); border-bottom: 2px solid var(--ink); backdrop-filter: none; }
.brand { gap: 9px; font-size: 19px; }
.brand svg { width: 28px; height: 28px; }
.brand span { font-weight: 900; letter-spacing: -.04em; text-transform: lowercase; }
.links { gap: 22px; font: 600 13px Inter, sans-serif; color: var(--soft); }
/* No line under or next to a piece of text: it reads as a dash. */
.links a[aria-current] { color: var(--ink); font-weight: 800; }
.nav-ca { border-radius: 0; border: 2px solid var(--ink); background: var(--panel); color: var(--ink); }

/* buttons */
.btn { border-radius: 0; height: 40px; padding: 0 18px; font: 800 13px Inter, sans-serif; border: 2px solid var(--ink); transition: transform .08s, box-shadow .08s; }
.btn-w { background: var(--ink); color: var(--panel); box-shadow: 3px 3px 0 var(--punch); }
.btn-w:hover:not(:disabled) { filter: none; transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--punch); }
.btn-w:active:not(:disabled) { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--punch); }
.btn-g { background: var(--panel); color: var(--ink); border: 2px solid var(--ink); }
.btn-g:hover:not(:disabled) { background: var(--panel-3); }
.btn-lg { height: 48px; padding: 0 24px; font-size: 14px; }
.btn .dot { background: var(--up); }

/* hero: the sentence on the left, the punch clock on the right */
.phero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: center; padding: 60px 24px 40px; }
.kicker { display: inline-block; font: 700 11px JBM, monospace; letter-spacing: .16em; text-transform: uppercase; color: var(--punch); border: 2px solid var(--punch); padding: 5px 10px; transform: rotate(-1.5deg); }
.display { font: 900 clamp(48px, 7.4vw, 104px)/.92 Inter, sans-serif; letter-spacing: -.055em; margin-top: 20px; color: var(--ink); }
.display s { text-decoration-color: var(--punch); text-decoration-thickness: .09em; }
.phero .lede { margin-top: 24px; max-width: 560px; font-size: 17px; line-height: 1.55; color: var(--soft); }
.phero .cta { margin-top: 28px; }
.punchclock { background: var(--panel); border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); padding: 0; max-width: 400px; margin-left: auto; width: 100%; }
.punchclock .pc-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; background: var(--ink); color: var(--panel); font: 700 10.5px JBM, monospace; letter-spacing: .18em; text-transform: uppercase; }
.punchclock .pc-head i { width: 9px; height: 9px; border-radius: 50%; background: var(--punch); animation: blinkdot 1.2s steps(2) infinite; }
@keyframes blinkdot { 50% { opacity: .25; } }
.punchclock .pc-time { font: 800 clamp(64px, 9vw, 104px)/1 JBM, monospace; letter-spacing: -.06em; text-align: center; padding: 26px 10px 8px; font-variant-numeric: tabular-nums; }
.punchclock .pc-sub { text-align: center; font: 500 12px JBM, monospace; color: var(--muted); padding-bottom: 22px; }
.punchclock .pc-rows { border-top: 2px dashed var(--ink); display: grid; grid-template-columns: 1fr 1fr; }
.punchclock .pc-rows div { padding: 14px 16px; }
.punchclock .pc-rows div + div { border-left: 2px dashed var(--ink); }
.punchclock small { display: block; font: 600 10px JBM, monospace; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.punchclock b { display: flex; align-items: center; gap: 7px; margin-top: 6px; font: 800 24px JBM, monospace; letter-spacing: -.04em; }

/* figures strip */
.session { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 22px; margin-bottom: 8px; border: 2px solid var(--ink); background: var(--panel); }
.session > div { padding: 14px 18px; border-left: 2px solid var(--ink); }
.session > div:first-child { border-left: 0; }
.session small { display: block; font: 600 10px JBM, monospace; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.session strong { display: flex; align-items: center; gap: 7px; margin-top: 6px; font: 800 22px JBM, monospace; letter-spacing: -.04em; }

/* headings */
.sec-h { margin: 44px 0 16px; align-items: baseline; gap: 12px; }
.sec-h h2 { font-size: 34px; }
.sec-h small { font: 500 12px JBM, monospace; color: var(--muted); }
.sec-h .more { margin-left: auto; font: 700 12px JBM, monospace; color: var(--punch); }
.page-h { padding: 54px 0 24px; }
.page-h h1 { font-size: clamp(40px, 6vw, 72px); line-height: .95; }
.page-h p { font-size: 16px; color: var(--soft); max-width: 680px; }

/* filters */
.seg, .chips, .search { border-radius: 0; background: var(--panel); border: 2px solid var(--ink); padding: 0; }
.seg { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.seg button, .chips button { border-radius: 0; height: 34px; font: 700 12px Inter, sans-serif; color: var(--soft); white-space: nowrap; flex: none; }
.seg button + button { border-left: 2px solid var(--ink); }
.seg button[aria-pressed=true], .chips button[aria-pressed=true] { background: var(--ink); color: var(--panel); }
.search { height: 38px; color: var(--muted); }
.search input { color: var(--ink); }

/* stamps */
.stamp { display: inline-block; font: 700 10.5px JBM, monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--punch); border: 2px solid var(--punch); padding: 3px 8px; background: transparent; }
.stamp:nth-child(odd) { transform: rotate(-1.2deg); } .stamp:nth-child(even) { transform: rotate(.8deg); }
.stamp.voted { color: var(--ink); border-color: var(--ink); border-style: dashed; }
.stamp.voted::after { content: ' ✓ voted'; }
.stamp.plain { color: var(--muted); border-color: var(--line-2); transform: none; }
.stamp.big { font-size: 12px; padding: 5px 11px; }

/* the wall of time cards */
.slips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 34px; }
.slip { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 26px 18px 16px; background: var(--panel); border: 2px solid var(--ink); box-shadow: var(--shadow); transition: transform .1s, box-shadow .1s; }
.slip::before { content: ''; position: absolute; left: 0; right: 0; top: 7px; height: 8px; background: radial-gradient(circle, var(--bg) 0 3px, transparent 3.5px) 0 0 / 18px 8px repeat-x; }
.slip:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--punch); }
.slip-top { display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: var(--muted); }
.slip-no { font-weight: 700; letter-spacing: .12em; color: var(--ink); }
.slip-clock b { color: var(--ink); font-weight: 800; }
.slip-coin { display: flex; align-items: center; gap: 12px; min-width: 0; }
.slip-coin .c-img { width: 46px; height: 46px; border-radius: 0; border: 2px solid var(--ink); }
.slip-coin > span:last-child { min-width: 0; }
.slip-coin b { display: block; font: 900 22px/1.05 Inter, sans-serif; letter-spacing: -.04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.slip-coin small { display: block; margin-top: 3px; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.slip-pay { display: grid; grid-template-columns: 1fr 1fr; border-top: 2px dashed var(--ink); border-bottom: 2px dashed var(--ink); }
.slip-pay > div { padding: 11px 0; }
.slip-pay > div + div { border-left: 2px dashed var(--ink); padding-left: 14px; }
.slip-pay small { display: block; font: 600 9.5px JBM, monospace; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.slip-pay b { display: flex; align-items: baseline; gap: 6px; margin-top: 5px; font: 800 24px JBM, monospace; letter-spacing: -.05em; }
.slip-pay b em { font: 600 10.5px JBM, monospace; font-style: normal; letter-spacing: .1em; color: var(--muted); }
.slip-rules { display: flex; flex-wrap: wrap; gap: 8px; min-height: 26px; align-items: center; }
.slip-foot { display: flex; justify-content: space-between; gap: 10px; font-size: 10.5px; color: var(--muted); }
.slip-foot .up { color: var(--up); } .slip-foot .down { color: var(--down); }

/* feed lines */
.minutes-sec { padding-bottom: 70px; }
.minutes { display: grid; grid-template-columns: 1fr; border: 2px solid var(--ink); background: var(--panel); }
.minute { display: grid; grid-template-columns: 78px 130px 1fr auto; gap: 14px; align-items: center; padding: 11px 16px; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.minute:last-child { border-bottom: 0; }
.minute:hover { background: var(--panel-3); }
.minute-kind { font: 800 10px JBM, monospace; letter-spacing: .14em; text-transform: uppercase; }
.minute-kind.in { color: var(--up); } .minute-kind.out { color: var(--muted); } .minute-kind.hot { color: var(--punch); }
.minute-coin b { font-weight: 800; }
.minute-amt { font: 600 12.5px JBM, monospace; color: var(--soft); }
.minute time { font: 500 10.5px JBM, monospace; color: var(--faint); }

/* paper: cards, steps, tables, modal */
.card, .step, .term, .side, .table-wrap, .modal-box, .empty { border-radius: 0; background: var(--panel); border: 2px solid var(--ink); backdrop-filter: none; }
.card, .step { box-shadow: var(--shadow); padding: 22px; overflow: visible; }
.empty { border-style: dashed; color: var(--muted); }
.card h3, .step-h h3 { font-size: 20px; }
.label, .stat small { font: 600 10px JBM, monospace; letter-spacing: .16em; color: var(--muted); }
.big { font: 800 44px/1 JBM, monospace; letter-spacing: -.06em; color: var(--ink); }
.sub { color: var(--muted); }
.kv strong { font: 700 14px JBM, monospace; }
.stat strong { font: 800 26px JBM, monospace; letter-spacing: -.04em; }
.curve { border-radius: 0; height: 6px; background: var(--panel-3); border: 1px solid var(--ink); }
.curve i { border-radius: 0; background: var(--ink); }
.tag, .seat-tag, .coin-h h1 small, .pill-model { border-radius: 0; background: var(--panel); border: 2px solid var(--ink); color: var(--ink); font-weight: 600; }
.tag:hover { background: var(--ink); color: var(--panel); border-color: var(--ink); }
.seat-tag { font: 700 10.5px JBM, monospace; letter-spacing: .14em; background: var(--ink); color: var(--panel); padding: 5px 9px; }
.coin-h h1 { font-size: 52px; letter-spacing: -.05em; }
.coin-h h1 small { font: 600 12px Inter, sans-serif; letter-spacing: 0; color: var(--soft); }
.coin-h .c-img, .c-img { border-radius: 0; border: 2px solid var(--ink); background: var(--panel-3); color: var(--ink); }
.coin-desc { color: var(--soft); font-size: 15px; }
.step-h .n { border-radius: 0; background: var(--ink); color: var(--panel); width: 26px; height: 26px; font-size: 12px; }
.input, .composer textarea, .drop, .drop .prev, .results { border-radius: 0; background: #fff; border: 2px solid var(--ink); color: var(--ink); }
.input:focus { border-color: var(--punch); }
.drop { border-style: dashed; background: var(--panel); } .drop.drag { border-color: var(--punch); }
.drop .prev { background: var(--panel-3); border-width: 1px; }
.field label { color: var(--soft); }
.hint { color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.split { border-radius: 0; height: 10px; border: 2px solid var(--ink); }
.split i:first-child { background: var(--ink); } .split i:last-child { background: var(--punch); }
.checklist li.ok .i { color: var(--up); }
.method { border-radius: 0; background: var(--ink); color: var(--panel); }
.prose h2 { font-size: 32px; } .prose h3 { font-size: 19px; }
.prose p, .prose li { color: var(--soft); font-size: 15.5px; }
.prose code { background: var(--panel-3); border-radius: 0; }
.prose table { border-radius: 0; border: 2px solid var(--ink); }
.toc { font-weight: 600; }
th { color: var(--muted); border-bottom: 2px solid var(--ink); }
td { border-bottom: 1px solid var(--line); }
tr.row-link:hover td { background: var(--panel-3); }
.model-cell small { color: var(--muted); }
.feed li { border-top: 1px solid var(--line); }
.feed .t { color: var(--muted); }
.side-h b { font: 900 17px Inter, sans-serif; letter-spacing: -.03em; }
.modal { background: rgba(22,21,15,.55); }
.modal-box { box-shadow: 8px 8px 0 var(--ink); }
.modal-box > p { color: var(--muted); }
.progress li .st { border-radius: 0; border: 2px solid var(--ink); }
.progress li.active .st { border-color: var(--punch); }
.progress li.done .st { background: var(--up); border-color: var(--up); color: #fff; }
.toast { border-radius: 0; background: var(--ink); color: var(--panel); border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--punch); }
.toast.error { background: var(--down); color: #fff; }
.field label.drop { font: inherit; text-transform: none; letter-spacing: 0; color: var(--text); }
.summary .c-img { font-size: 16px; color: var(--muted); }
.foot { border-top: 2px solid var(--ink); }
.foot-brand p, .foot-links, .disclaimer { color: var(--muted); }
.foot-links a:hover, .links a:hover, .toc a:hover { color: var(--ink); }
.menu-toggle { color: var(--ink); }

/* rule picker */
.rulegrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.rule { display: block; text-align: left; background: #fff; border: 2px solid var(--ink); padding: 12px 14px; cursor: pointer; position: relative; }
.rule:hover { background: var(--panel-3); }
.rule b { display: block; font: 900 16px Inter, sans-serif; letter-spacing: -.03em; }
.rule small { display: block; margin-top: 4px; font-size: 12.5px; line-height: 1.45; color: var(--soft); }
.rule em { position: absolute; top: 10px; right: 12px; font: 700 9.5px JBM, monospace; font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.rule[aria-pressed=true] { background: var(--ink); color: var(--panel); box-shadow: 4px 4px 0 var(--punch); }
.rule[aria-pressed=true] small, .rule[aria-pressed=true] em { color: #cfcab8; }
.rule:disabled { opacity: .4; cursor: not-allowed; }

/* coin page pieces */
.rulelist { list-style: none; display: grid; gap: 12px; margin-top: 14px; }
.rulelist li { display: grid; gap: 6px; justify-items: start; font-size: 13.5px; line-height: 1.45; color: var(--soft); }
.timecard { margin: 20px 0 0; }
.timecard-form { display: flex; gap: 8px; margin-top: 12px; }
.timecard-form .input { height: 42px; font-family: JBM, monospace; font-size: 12.5px; }
.tc-out { margin-top: 16px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 2px solid var(--ink); background: #fff; }
.tc-out > div { padding: 12px 14px; border-left: 1px solid var(--line-2); border-top: 1px solid var(--line-2); margin: -1px 0 0 -1px; }
.tc-out .label { margin-bottom: 5px; }
.tc-out strong { font: 700 14px JBM, monospace; }
.tc-verdict { margin-top: 12px; font: 800 15px Inter, sans-serif; letter-spacing: -.02em; }
.tc-verdict.on { color: var(--up); } .tc-verdict.off { color: var(--down); }
.votelist { display: grid; gap: 8px; margin-top: 12px; }
.vote { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; text-align: left; background: #fff; border: 2px solid var(--ink); padding: 9px 12px; cursor: pointer; position: relative; overflow: hidden; }
.vote > * { position: relative; }
.vote i { position: absolute; left: 0; top: 0; bottom: 0; background: rgba(255,75,31,.16); }
.vote b { font: 800 13.5px Inter, sans-serif; }
.vote span { font: 600 11.5px JBM, monospace; color: var(--soft); }
.vote small { grid-column: 1 / -1; font-size: 11.5px; color: var(--muted); line-height: 1.4; }
.vote[aria-pressed=true] { box-shadow: 3px 3px 0 var(--punch); }
.vote[aria-pressed=true] b::after { content: '  ← your vote'; font: 600 10.5px JBM, monospace; color: var(--punch); }
.cards3 { gap: 20px; } .coin-main { gap: 20px; margin-top: 20px; }
/* Two boxes share the side column here; a sticky one would slide over the other. */
.side { position: static; }
.out-list { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px 14px; font: 500 12px JBM, monospace; color: var(--muted); }

@media (max-width: 1000px) {
  .phero { grid-template-columns: 1fr; padding-top: 40px; }
  .punchclock { margin: 0 auto; }
  .slips { grid-template-columns: repeat(2, 1fr); }
  .session { grid-template-columns: repeat(3, 1fr); }
  .session > div:nth-child(4) { border-left: 0; }
  .session > div:nth-child(n+4) { border-top: 2px solid var(--ink); }
  .minute { grid-template-columns: 70px 1fr auto; }
  .minute-coin { display: none; }
  .tc-out { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .links { background: var(--bg); border-bottom: 2px solid var(--ink); }
}
@media (max-width: 640px) {
  .slips, .rulegrid { grid-template-columns: 1fr; }
  .session { grid-template-columns: repeat(2, 1fr); }
  .session > div { border-left: 0; border-top: 2px solid var(--ink); }
  .session > div:nth-child(-n+2) { border-top: 0; }
  .session > div:nth-child(even) { border-left: 2px solid var(--ink); }
  .coin-h h1 { font-size: 34px; }
  .nav-r .btn-w { height: 34px; padding: 0 12px; font-size: 12px; }
  .minute time { display: none; }
  .timecard-form { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .punchclock .pc-head i { animation: none !important; }
}
