/* pooched · DM Mono throughout, Silkscreen for small labels only; square 2px frames with hard shadows; soft orange page, white panels, black */
:root {
  --page: #ffe1cc; --panel: #ffffff; --panel-2: #fff3ea; --ink: #0a0a0a; --dim: #7a3413; --mute: #8a6a5a; --rule: #f1d6c4;
  --orange: #ff5a1f; --orange-2: #ff8a3d; --deep: #c2410c; --shadow-o: #f5a97f; --amber: #ffb020;
  --ok: #0f7a37; --ok-bg: #e6f7ec; --bad: #c2410c; --bad-bg: #ffe6db; --warn-bg: #fff4d9;
  --sh: 3px 3px 0 var(--ink); --sh-o: 3px 3px 0 var(--shadow-o);
  --mono: 'DM Mono', ui-monospace, monospace; --px: 'Silkscreen', 'DM Mono', monospace;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--ink); font: 400 14.5px/1.65 var(--mono); overflow-x: hidden; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--mono); font-weight: 500; margin: 0; line-height: 1.12; letter-spacing: -0.02em; }
p { margin: 0 0 10px; }
.dim { color: var(--dim); } .small { font-size: 12.5px; } .mono { font-size: 12.5px; }
.span-all { grid-column: 1 / -1; } .hide { display: none !important; } .mt { margin-top: 16px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
/* the house voice is lowercase: interface text, headings and labels (user content and coin names keep their case) */
.hero, .page-head, .sec-head, .eyebrow, .btn, .navlinks, .stat span, .tbl th, .card > h4, .side h4, .tabs button, label, .chip, .tag, .live-tag,
.feed-head, .steps3, .prose, .foot, .lead-h1, .two > div > p, .bars .small, .coin-stats, .cp-stats .stat span, .tick, .netpill, .logo, .k, .tl-buy, .tl-sell, .tl-refused, .empty, .hint, .count span, .badge, .pv-rules span, .task > a, .task > span:first-child { text-transform: lowercase; }

/* ---------- top tape + nav ---------- */
.tape { background: var(--ink); color: #f1f1f1; overflow: hidden; font: 400 12px var(--mono); text-transform: lowercase; }
.tape .track { display: inline-flex; gap: 40px; padding: 8px 0; white-space: nowrap; animation: scroll 60s linear infinite; }
.tape b { color: var(--orange-2); font-weight: 500; }
@keyframes scroll { to { transform: translateX(-50%); } }
.nav { position: sticky; top: 0; z-index: 40; background: var(--page); border-bottom: 2px solid var(--ink); }
.nav .wrap { display: flex; align-items: center; gap: 18px; height: 66px; }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; font: 700 19px var(--px); }
.logo svg { width: 36px; height: 36px; }
.navlinks { display: flex; gap: 8px; }
.navlinks a { text-decoration: none; padding: 5px 10px; font: 400 11px var(--px); background: var(--panel); border: 2px solid var(--ink); box-shadow: 2px 2px 0 var(--ink); }
.navlinks a:hover { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--ink); }
.navlinks a[aria-current=page] { background: var(--ink); color: #fff; }
.navlinks a.live-dot::before { content: ''; display: inline-block; width: 7px; height: 7px; background: var(--orange); margin-right: 6px; vertical-align: 0; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.nav .right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.netpill { font: 400 10.5px var(--px); padding: 4px 8px; border: 2px solid var(--ink); background: var(--amber); }
.mepill { display: flex; align-items: center; gap: 8px; text-decoration: none; padding: 2px 10px 2px 2px; border: 2px solid var(--ink); background: var(--panel); box-shadow: 2px 2px 0 var(--ink); font: 500 13px var(--mono); }
.mepill svg { width: 28px; height: 28px; }
.nav .navtoggle { display: none; }

/* ---------- buttons, inputs, panels ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 16px; border: 2px solid var(--ink); cursor: pointer; text-decoration: none;
  font: 700 12px var(--px); background: var(--ink); color: #fff; box-shadow: var(--sh-o); transition: transform .08s, box-shadow .08s; }
.btn:hover:not(:disabled) { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--shadow-o); }
.btn:active:not(:disabled) { transform: translate(2px, 2px); box-shadow: 0 0 0 var(--shadow-o); }
.btn.white, .btn.ghost { background: var(--panel); color: var(--ink); box-shadow: var(--sh); }
.btn.white:hover:not(:disabled) { box-shadow: 4px 4px 0 var(--ink); }
.btn.dark { background: var(--ink); color: #fff; }
.btn.o, .btn.primary { background: var(--orange); color: #fff; box-shadow: var(--sh); }
.btn.big { padding: 12px 22px; font-size: 13px; }
.btn.sm { padding: 6px 11px; font-size: 11px; }
.btn:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.card { background: var(--panel); border: 2px solid var(--ink); box-shadow: var(--sh); padding: 20px; }
.card.peach { background: var(--panel-2); } .card.dark { background: var(--ink); color: #fff; box-shadow: var(--sh-o); }
.card.dark .dim, .card.dark .small { color: #c9b2a4; }
.eyebrow { display: inline-block; font: 400 11px var(--px); color: var(--dim); margin-bottom: 10px; }
.sec.dark .eyebrow, .card.dark .eyebrow { color: var(--orange-2); }
.sticker { display: inline-block; font: 400 10.5px var(--px); padding: 3px 8px; border: 2px solid var(--ink); background: var(--panel); }
.sticker.o { background: var(--orange); color: #fff; }
label { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; font-weight: 500; margin-bottom: 12px; position: relative; color: var(--dim); }
label.inline { flex-direction: row; align-items: center; gap: 8px; margin: 0; }
input, select, textarea { background: var(--panel); border: 2px solid var(--ink); color: var(--ink); padding: 9px 11px; font: 400 14px var(--mono); width: 100%; min-width: 0; border-radius: 0; }
input:focus, select:focus, textarea:focus { outline: none; box-shadow: var(--sh-o); }
input[type=checkbox] { width: auto; accent-color: var(--orange); }
input[type=file] { padding: 7px; }
.unit { position: absolute; right: 12px; bottom: 11px; font: 400 11px var(--mono); color: var(--mute); pointer-events: none; }
label.inline select { width: auto; max-width: 100%; min-width: 0; }
.step-head label.inline { max-width: 100%; min-width: 0; flex-wrap: wrap; }
.hint { color: var(--dim); font-size: 12.5px; margin: 8px 0 0; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.x { background: var(--panel); border: 2px solid var(--ink); color: var(--ink); width: 30px; height: 30px; cursor: pointer; font: 500 15px var(--mono); }
.x:hover { background: var(--orange); color: #fff; }
.pill { display: inline-block; padding: 3px 9px; font: 500 12px var(--mono); border: 2px solid var(--ink); background: var(--panel); }
.linkish { border: 0; background: none; color: var(--mute); cursor: pointer; font: 400 11.5px var(--mono); padding: 0 2px; text-decoration: underline; }

/* ---------- sections ---------- */
.sec { padding: 64px 0; }
.sec.peach { background: var(--panel-2); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.sec.dark { background: var(--ink); color: #fff; }
.sec.dark .dim { color: #c9b2a4; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.sec-head h2 { font-size: clamp(26px, 3.4vw, 36px); }
.sec-head p { margin: 10px 0 0; color: var(--dim); max-width: 620px; }
.empty { padding: 26px; text-align: center; grid-column: 1 / -1; background: var(--panel); border: 2px dashed var(--ink); color: var(--dim); }
.sec.dark .empty { background: #161616; border-color: #444; color: #ddd; }
.lead-h1 { font-size: clamp(32px, 4.4vw, 50px); margin: 4px 0 12px; }
.page-head { padding: 40px 0 8px; }
.page-head p { color: var(--dim); max-width: 680px; }
.two { display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; align-items: center; }
.two.top { align-items: start; }

/* ---------- hero ---------- */
.hero { padding: 56px 0 44px; border-bottom: 2px solid var(--ink); }
.hero > .wrap:first-child { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(36px, 5vw, 62px); margin: 6px 0 18px; }
.hero h1 span { display: block; }
.hero h1 .hl { color: var(--deep); }
.lede { font-size: 15.5px; max-width: 560px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin: 24px 0 6px; }
.stage { position: relative; display: grid; place-items: center; min-height: 400px; }
.stage .pedestal { width: min(340px, 80vw); height: auto; }
.stage .pip { position: absolute; width: min(190px, 46vw); top: 26px; animation: bob 3s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-8px); } }
.stage .note { position: absolute; font: 400 12.5px var(--mono); background: var(--panel); border: 2px solid var(--ink); box-shadow: var(--sh); padding: 7px 10px; }
.stage .note b { color: var(--deep); font-weight: 500; }
.stage .n1 { top: 12px; right: 0; } .stage .n2 { bottom: 70px; left: 0; } .stage .n3 { bottom: 24px; right: 10px; background: var(--ink); color: #fff; box-shadow: var(--sh-o); }

/* ---------- stats ---------- */
.statbar { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 30px; }
.stat { background: var(--panel); border: 2px solid var(--ink); box-shadow: var(--sh); padding: 12px 14px; }
.stat b { display: block; font: 500 24px var(--mono); letter-spacing: -0.02em; }
.stat span { font-size: 11.5px; color: var(--dim); }
.stat.hot b { color: var(--deep); }

/* ---------- coin cards + chips ---------- */
.grid-coins { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 18px; }
.coin { text-align: left; font: inherit; color: inherit; cursor: pointer; display: flex; flex-direction: column; gap: 11px; background: var(--panel); border: 2px solid var(--ink); box-shadow: var(--sh); padding: 15px; text-decoration: none; transition: transform .08s, box-shadow .08s; }
.coin:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.coin-top { display: flex; gap: 12px; align-items: center; min-width: 0; }
.coin-top > div { min-width: 0; }
.coin-img { width: 52px; height: 52px; background: var(--panel-2) center / cover no-repeat; border: 2px solid var(--ink); flex: none; display: grid; place-items: center; font: 700 15px var(--px); }
.coin-img.lg { width: 76px; height: 76px; font-size: 20px; }
.coin h4 { font-size: 17px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tick { font: 400 12px var(--mono); color: var(--dim); }
.coin .live-tag { margin-left: auto; align-self: flex-start; }
.live-tag { font: 400 10px var(--px); background: var(--orange); color: #fff; padding: 2px 6px; border: 2px solid var(--ink); }
.chips { display: flex; gap: 5px; flex-wrap: wrap; }
.chip { font: 400 11px var(--mono); padding: 1px 7px; background: var(--panel-2); color: var(--ink); border: 1.5px solid var(--ink); }
.chip.o { background: var(--orange); color: #fff; } .chip.k { background: var(--ink); color: #fff; }
.prog { height: 10px; background: var(--panel-2); border: 2px solid var(--ink); overflow: hidden; }
.prog > div { height: 100%; background: var(--orange); }
.coin-stats { display: flex; justify-content: space-between; font: 400 12px var(--mono); color: var(--dim); gap: 8px; flex-wrap: wrap; }
.coin-stats b { color: var(--ink); font-weight: 500; }

/* ---------- live cards ---------- */
.grid-live { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.live-card { display: block; text-decoration: none; background: var(--panel); border: 2px solid var(--ink); box-shadow: var(--sh); }
.live-card .thumb { aspect-ratio: 16 / 9; display: grid; place-items: center; background: #151515; position: relative; border-bottom: 2px solid var(--ink); }
.live-card .thumb svg { width: 70px; height: 70px; }
.live-card .thumb .live-tag { position: absolute; top: 10px; left: 10px; }
.live-card .thumb .viewers { position: absolute; top: 10px; right: 10px; font: 400 11px var(--mono); color: #fff; background: rgba(0,0,0,.6); padding: 2px 7px; }
.live-card .meta { padding: 12px 14px; }
.live-card .meta b { display: block; font: 500 15.5px var(--mono); }

/* ---------- on-chain feed ---------- */
.feed { background: #141414; color: #ececec; border: 2px solid var(--ink); box-shadow: var(--sh-o); }
.feed-head { display: flex; justify-content: space-between; padding: 11px 15px; border-bottom: 2px solid #2b2b2b; font: 400 11px var(--px); color: var(--orange-2); flex-wrap: wrap; gap: 8px; }
.feed-list { list-style: none; margin: 0; padding: 4px 0; max-height: 340px; overflow: hidden; }
.feed-list li { display: grid; grid-template-columns: 76px 1fr auto; gap: 10px; padding: 7px 15px; font: 400 12.5px var(--mono); border-left: 3px solid transparent; }
.feed-list li a { text-decoration: none; }
.feed-list li a:hover { text-decoration: underline; }
.feed-list li.bad { border-left-color: var(--orange); background: rgba(255,90,31,.1); }
.k { font-weight: 500; font-size: 11.5px; } .k.buy { color: #74e396; } .k.sell { color: #ffcf6b; } .k.refused { color: #ff9a7c; } .k.launch { color: #fff; } .k.burn { color: var(--orange-2); } .k.grad { color: #a6d8ff; }

/* ---------- tables ---------- */
.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tbl th { text-align: left; font: 400 10.5px var(--px); color: var(--dim); padding: 8px 10px; border-bottom: 2px solid var(--ink); }
.tbl td { padding: 8px 10px; border-bottom: 1px dashed var(--rule); vertical-align: middle; }
.tbl tr.me td { background: var(--panel-2); }
.tbl .who { display: flex; align-items: center; gap: 9px; text-decoration: none; }
.tbl .who svg { width: 26px; height: 26px; flex: none; border: 1.5px solid var(--ink); }
.tbl td.num { text-align: right; font: 500 13.5px var(--mono); width: auto; height: auto; display: table-cell; background: none; color: var(--ink); border: 0; border-bottom: 1px dashed var(--rule); }
.rank { font: 400 12px var(--mono); width: 36px; color: var(--dim); }
.tbl-wrap { overflow-x: auto; }

/* ---------- avatars ---------- */
.av { display: inline-block; flex: none; background: var(--panel-2); border: 2px solid var(--ink); box-shadow: var(--sh); }
.av.lg { width: 112px; height: 112px; } .av.md { width: 56px; height: 56px; } .av.sm { width: 28px; height: 28px; box-shadow: none; }

/* ---------- dialogs + toasts ---------- */
dialog.dlg { width: min(460px, calc(100vw - 32px)); border: 2px solid var(--ink); padding: 22px; background: var(--panel); color: var(--ink); box-shadow: 6px 6px 0 var(--orange); }
dialog.dlg::backdrop { background: rgba(10,10,10,.55); }
dialog.dlg h3 { font-size: 22px; margin-bottom: 8px; text-transform: lowercase; }
.dlg .opts { display: grid; gap: 10px; margin: 16px 0 8px; }
.dlg .opts .btn { justify-content: flex-start; }
.toasts { position: fixed; bottom: 18px; right: 18px; z-index: 60; display: flex; flex-direction: column; gap: 8px; max-width: calc(100vw - 36px); }
.toast { background: var(--ink); color: #fff; padding: 10px 14px; font: 400 13.5px var(--mono); box-shadow: var(--sh-o); border: 2px solid var(--ink); }
.toast.ok { background: var(--orange); box-shadow: var(--sh); }

/* ---------- coin page ---------- */
.cp-head { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; padding: 30px 0 12px; }
.cp-head h1 { font-size: clamp(26px, 3.4vw, 38px); }
.cp-head .by { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; text-decoration: none; margin-top: 4px; color: var(--dim); }
.cp-head .by svg { width: 22px; height: 22px; }
.cp-head .acts { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.cp-stats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin: 10px 0 20px; }
.cp-stats .stat b { font-size: 19px; }
.cp-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 20px; align-items: start; padding-bottom: 64px; }
.cp-main, .cp-side { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.chart-box { background: #111; border: 2px solid var(--ink); box-shadow: var(--sh-o); overflow: hidden; min-width: 0; }
.chart-box .cbar { display: flex; gap: 4px; padding: 9px 11px; align-items: center; color: #d5d5d5; font: 400 11px var(--px); flex-wrap: wrap; }
.chart-box .cbar span { margin-right: 6px; }
.chart-box .cbar button { background: #222; color: #d5d5d5; border: 0; padding: 4px 8px; font: 400 11.5px var(--mono); cursor: pointer; }
.chart-box .cbar button[aria-pressed=true] { background: var(--orange); color: #fff; }
.chart-box canvas { display: block; width: 100%; max-width: 100%; height: 320px; }
.player { position: relative; background: #000; border: 2px solid var(--ink); box-shadow: var(--sh-o); aspect-ratio: 16 / 9; overflow: hidden; }
.player video { width: 100%; height: 100%; object-fit: contain; display: block; background: #000; }
.player .ov { position: absolute; left: 12px; bottom: 12px; display: flex; flex-direction: column-reverse; gap: 5px; pointer-events: none; max-width: 70%; }
.player .ov div { background: rgba(10,10,10,.85); color: #fff; font: 400 12.5px var(--mono); padding: 5px 9px; }
.player .ov div.bad { background: rgba(255,90,31,.95); }
.player .top { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; gap: 8px; align-items: center; }
.player .top .ttl { color: #fff; background: rgba(0,0,0,.6); padding: 2px 8px; font-size: 12.5px; }
.player .top .viewers { margin-left: auto; background: rgba(0,0,0,.6); color: #fff; font: 400 11px var(--mono); padding: 2px 8px; }
.player .report { position: absolute; bottom: 10px; right: 10px; pointer-events: auto; }
.tabs { display: flex; border: 2px solid var(--ink); box-shadow: var(--sh); background: var(--panel); }
.tabs button { flex: 1; border: 0; background: var(--panel); padding: 9px; font: 400 11px var(--px); cursor: pointer; }
.tabs button + button { border-left: 2px solid var(--ink); }
.tabs button[aria-selected=true] { background: var(--ink); color: #fff; }
.tlist { list-style: none; margin: 0; padding: 0; font-size: 13px; }
.tlist li { display: grid; grid-template-columns: 74px minmax(0, 1fr) auto auto; gap: 10px; padding: 8px 4px; border-bottom: 1px dashed var(--rule); align-items: center; }
.tlist li.refused { background: var(--bad-bg); }
.tlist .who { display: flex; gap: 7px; align-items: center; text-decoration: none; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.tlist .who svg { width: 20px; height: 20px; flex: none; }
.tl-buy, .tl-sell, .tl-refused { font: 500 12px var(--mono); }
.tl-buy { color: var(--ok); } .tl-sell { color: var(--deep); } .tl-refused { color: var(--bad); }
.hbar { height: 8px; background: var(--orange); border: 1px solid var(--ink); }
.rulecard .ph { margin-bottom: 12px; }
.rulecard .ph b { display: inline-block; font: 500 12px var(--mono); background: var(--ink); color: #fff; padding: 1px 8px; margin-bottom: 6px; }
.rulecard .ph.now b { background: var(--orange); }
.rulecard ul, .levers, .plain { margin: 0; padding-left: 18px; font-size: 13.5px; }
.rulecard li, .levers li, .plain li { margin-bottom: 5px; }
.verify { font-size: 12.5px; padding: 8px 10px; margin-top: 10px; border: 2px solid var(--ink); }
.verify.ok { background: var(--ok-bg); } .verify.bad { background: var(--bad-bg); }
.trade-tabs { display: flex; gap: 8px; margin-bottom: 12px; }
.trade-tabs button { flex: 1; }
.trade-tabs button[aria-pressed=false] { background: var(--panel); color: var(--ink); box-shadow: var(--sh); }
.sim-out { margin-top: 10px; padding: 9px 11px; font-size: 13px; }
.sim-out.pass { background: var(--ok-bg); border: 2px solid var(--ink); }
.sim-out.fail { background: var(--bad-bg); border: 2px solid var(--ink); }
.side h4, .card > h4 { font: 700 13px var(--px); margin-bottom: 12px; letter-spacing: 0; }
.addr { font: 400 11.5px var(--mono); color: var(--mute); word-break: break-all; }

/* chat */
.chat { display: flex; flex-direction: column; height: 460px; padding: 0; overflow: hidden; }
.chat > h4 { padding: 16px 16px 0; }
.chat .msgs { flex: 1; overflow-y: auto; padding: 10px 16px; display: flex; flex-direction: column; gap: 10px; }
.msg { display: grid; grid-template-columns: 28px 1fr; gap: 9px; font-size: 13.5px; }
.msg svg { width: 28px; height: 28px; border: 1.5px solid var(--ink); }
.msg .n { font-weight: 500; text-decoration: none; margin-right: 6px; }
.msg .t { color: var(--mute); font-size: 11.5px; }
.msg p { margin: 2px 0 0; word-wrap: break-word; }
.badge { font: 400 9.5px var(--px); padding: 1px 5px; margin-right: 6px; background: var(--panel-2); border: 1.5px solid var(--ink); }
.badge.creator { background: var(--orange); color: #fff; } .badge.whale { background: var(--ink); color: #fff; }
.chat form { display: flex; gap: 8px; padding: 10px; border-top: 2px solid var(--ink); }
.chat form input { flex: 1; }
.chat .gate { padding: 14px; border-top: 2px solid var(--ink); text-align: center; }

/* season */
.me-card { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; }
.me-card h3 { font-size: 18px; }
.me-card .pts-big { font: 500 36px var(--mono); color: var(--deep); letter-spacing: -0.02em; }
.tasks { display: grid; gap: 8px; }
.task { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; background: var(--panel); border: 2px solid var(--ink); padding: 9px 12px; }
.task.done { background: var(--panel-2); }
.task.done .pts::before { content: '✓ '; }
.task .pts { font: 500 13px var(--mono); color: var(--deep); }
.task form { display: flex; gap: 8px; grid-column: 1 / -1; }
.ptable td:last-child { text-align: right; font: 400 12.5px var(--mono); color: var(--deep); }
.reflink { display: flex; gap: 8px; }
.reflink input { flex: 1; }

/* quests */
.grid-quests { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.count { display: flex; gap: 8px; }
.count div { background: var(--ink); color: #fff; border: 2px solid var(--ink); box-shadow: var(--sh-o); padding: 7px 10px; text-align: center; min-width: 62px; }
.count b { display: block; font: 500 24px var(--mono); color: var(--orange-2); }
.count span { font: 400 9.5px var(--px); color: #ddd; }

/* profile */
.prof { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; padding: 36px 0 12px; }
.prof h1 { font-size: clamp(26px, 3.4vw, 38px); }
.prof .nums { display: flex; gap: 18px; flex-wrap: wrap; margin: 10px 0; font-size: 13px; color: var(--dim); }
.prof .nums b { font: 500 16px var(--mono); color: var(--ink); margin-right: 5px; }

/* launcher (shared rule builder) */
.launch-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 22px; align-items: start; }
.launch-main { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.launch-side { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 14px; max-height: calc(100vh - 100px); overflow: auto; padding: 2px 8px 8px 2px; }
.step h3 { font: 700 14px var(--px); margin-bottom: 16px; display: flex; align-items: center; gap: 10px; text-transform: lowercase; }
.step-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.num { display: inline-grid; place-items: center; width: 28px; height: 28px; background: var(--orange); color: #fff; font: 700 12px var(--px); flex: none; border: 2px solid var(--ink); }
.fields { display: grid; gap: 12px; }
.fields.two { grid-template-columns: 1fr 1fr; } .fields.three { grid-template-columns: repeat(3, 1fr); }
.img-prev { border: 2px dashed var(--ink); min-height: 70px; background: var(--panel-2) center / cover no-repeat; }
.chain-pick, .seg { display: flex; gap: 8px; flex-wrap: wrap; }
.chain-pick button, .seg button { background: var(--panel); border: 2px solid var(--ink); color: var(--ink); font: 400 11px var(--px); padding: 8px 13px; cursor: pointer; box-shadow: 2px 2px 0 var(--ink); text-transform: lowercase; }
.chain-pick button[aria-checked=true], .seg button[aria-checked=true] { background: var(--ink); color: #fff; box-shadow: 2px 2px 0 var(--shadow-o); }
.phase { border: 2px solid var(--ink); padding: 16px; margin-bottom: 16px; background: var(--panel-2); }
.phase-top { display: grid; grid-template-columns: 1fr 200px 130px auto; gap: 8px; align-items: center; margin-bottom: 10px; }
.rule { border: 2px solid var(--ink); padding: 12px; margin-bottom: 10px; background: var(--panel); }
.rule-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 8px; }
.rule-top b { font: 500 14.5px var(--mono); }
.rule .fields { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; }
.rule label { margin: 0; }
.venues { display: flex; gap: 6px; flex-wrap: wrap; }
.venues label { flex-direction: row; align-items: center; gap: 6px; border: 2px solid var(--ink); padding: 4px 10px; margin: 0; cursor: pointer; background: var(--panel); color: var(--ink); }
.venues .ch { font: 400 10.5px var(--mono); color: var(--mute); }
.add-rule select { width: auto; max-width: 100%; background: var(--ink); color: #fff; }
.fees { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 8px; }
.fee { background: var(--panel-2); border: 2px solid var(--ink); padding: 10px 12px; }
.fee b { display: block; font: 500 20px var(--mono); color: var(--deep); }
.fee span { color: var(--dim); font-size: 12px; }
.card.dark .fee { background: #1b1b1b; border-color: #3a3a3a; } .card.dark .fee b { color: var(--orange-2); } .card.dark .fee span { color: #c9b2a4; }
.check { font-size: 12.5px; padding: 8px 10px; margin-bottom: 8px; border: 2px solid var(--ink); }
.check.err { background: var(--bad-bg); } .check.warn { background: var(--warn-bg); } .check.ok { background: var(--ok-bg); font-weight: 500; }
.costs { font: 400 11.5px var(--mono); color: var(--mute); margin-top: 8px; }
.sim { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sim label { margin: 0; font-size: 11.5px; }
.sim label.check-l { flex-direction: row; align-items: center; gap: 6px; }
.launch-steps { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.ls { display: flex; gap: 10px; align-items: center; font-size: 13px; }
.ls::before { content: ''; width: 9px; height: 9px; background: var(--orange); border: 1.5px solid var(--ink); flex: none; }
.log { background: var(--ink); color: #f2f2f2; padding: 12px; white-space: pre-wrap; word-break: break-all; max-height: 240px; overflow: auto; margin: 14px 0 0; font: 400 12.5px var(--mono); }
.catalog { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.group-title { grid-column: 1 / -1; font: 400 11px var(--px); color: var(--dim); margin: 18px 0 0; text-transform: lowercase; }
.prim { padding: 15px; display: flex; flex-direction: column; gap: 6px; }
.prim h4 { font: 500 15.5px var(--mono); text-transform: none; } .prim p { margin: 0 0 6px; color: var(--dim); font-size: 13px; }
.tags { display: flex; gap: 5px; flex-wrap: wrap; margin-top: auto; }
.tag { font: 400 10.5px var(--mono); padding: 1px 6px; background: var(--panel-2); border: 1.5px solid var(--ink); }
.tag.route { background: var(--ink); color: #fff; } .tag.lime { background: var(--orange); color: #fff; } .tag.hooked { background: var(--panel); }
.templates { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.tpl { text-align: left; cursor: pointer; font: inherit; color: inherit; display: flex; flex-direction: column; gap: 8px; text-decoration: none; }
.tpl:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.tpl h4 { font: 500 15.5px var(--mono); text-transform: none; } .tpl p { margin: 0; color: var(--dim); font-size: 13px; flex: 1; }
.tpl .go { font: 400 10.5px var(--px); color: var(--deep); text-transform: lowercase; }
.note { color: var(--dim); font-size: 12.5px; margin-top: 18px; }
.quest-banner { background: var(--orange); color: #fff; padding: 11px 15px; border: 2px solid var(--ink); box-shadow: var(--sh); margin: 0 0 16px; }

/* fees page */
.bars { display: flex; flex-direction: column; gap: 8px; }
.bars .small { margin: 6px 0 0; color: var(--dim); }
.bar { display: flex; height: 36px; border: 2px solid var(--ink); overflow: hidden; font: 500 11.5px var(--mono); }
.bar > div { display: grid; place-items: center; white-space: nowrap; overflow: hidden; border-right: 2px solid var(--ink); }
.bar > div:last-child { border-right: 0; }
.b1 { background: var(--orange); color: #fff; } .b2 { background: var(--ink); color: #fff; } .b3 { background: var(--panel-2); } .b4 { background: var(--panel); } .b5 { background: var(--amber); }
.w50 { width: 50%; } .w40 { width: 40%; } .w20 { width: 20%; } .w15 { width: 15%; } .w10 { width: 10%; }
.bucket td:first-child { font-weight: 500; }

/* how it works */
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps3 .card h3 { font-size: 19px; margin: 14px 0 8px; }
.steps3 .card p { color: var(--dim); margin: 0; }
.steps3 .card.dark p { color: #d8c4b8; }

/* prose */
.prose { max-width: 760px; }
.prose h2 { font-size: 21px; margin: 30px 0 10px; }
.prose li { margin-bottom: 7px; }

/* footer */
.foot { border-top: 2px solid var(--ink); background: var(--ink); color: #d6d6d6; padding: 30px 0; font-size: 12.5px; }
.foot .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot .wrap > div { min-width: 0; flex: 1 1 260px; }
.foot .wrap > div:last-child { flex: 0 1 auto; }
.foot a { color: #fff; margin-right: 16px; display: inline-block; text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot .fine { max-width: 640px; color: #a8a8a8; margin-top: 10px; text-transform: none; }

/* admin */
.admin-grid { display: grid; gap: 18px; padding: 24px 0 60px; }
.admin-grid .card { overflow-x: auto; }

.filters { display: grid; grid-template-columns: 1fr 180px 180px; gap: 8px; margin-bottom: 18px; }

@media (max-width: 1040px) {
  .hero > .wrap:first-child, .cp-grid, .launch-grid, .two { grid-template-columns: minmax(0, 1fr); }
  .launch-side { position: static; max-height: none; padding: 0; }
  .steps3 { grid-template-columns: 1fr; }
  .statbar, .cp-stats { grid-template-columns: repeat(3, 1fr); }
  .navlinks { display: none; position: absolute; top: 66px; left: 0; right: 0; background: var(--page); border-bottom: 2px solid var(--ink); flex-direction: column; align-items: flex-start; padding: 10px 20px 14px; }
  .navlinks.open { display: flex; }
  .nav .navtoggle { display: inline-flex; }
  .filters { grid-template-columns: 1fr 1fr; } .filters input { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .statbar, .cp-stats { grid-template-columns: repeat(2, 1fr); }
  .fields.two, .fields.three, .fees { grid-template-columns: 1fr; }
  .phase-top { grid-template-columns: 1fr 1fr; }
  .me-card { grid-template-columns: auto 1fr; } .me-card > :last-child { grid-column: 1 / -1; }
  .prof { grid-template-columns: 1fr; justify-items: start; }
  .netpill { display: none; }
  .tlist li { grid-template-columns: 62px minmax(0, 1fr) auto; } .tlist li > :nth-child(4) { display: none; }
  .feed-list li { grid-template-columns: 66px 1fr; } .feed-list li > :last-child { grid-column: 1 / -1; }
  .stage { min-height: 320px; }
  .sec { padding: 48px 0; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* explainer video */
.card.vid { padding: 0; overflow: hidden; background: var(--ink); }
.card.vid video { display: block; width: 100%; height: auto; }

/* $POOCHED contract address + X */
.castrip { background: var(--orange); border-bottom: 2px solid var(--ink); }
.castrip .wrap { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 8px 16px; flex-wrap: wrap; }
.cabox { display: flex; align-items: center; gap: 10px; min-width: 0; max-width: 100%; }
.cabox .ca-k { font: 700 11px var(--px); color: var(--ink); white-space: nowrap; }
.cabox .ca-v { font: 500 13px var(--mono); background: var(--panel); color: var(--ink); border: 2px solid var(--ink); padding: 4px 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.cabox .ca-copy { flex: none; }
.cabox.dark .ca-k { color: #f1f1f1; }
.cabox.dark .ca-v { background: #1a1a1a; color: #f1f1f1; border-color: #444; }
.xlink { display: inline-flex; align-items: center; gap: 7px; font: 500 13px var(--mono); color: var(--ink); text-decoration: none; white-space: nowrap; }
.xlink:hover span { text-decoration: underline; }
.xico { width: 15px; height: 15px; fill: currentColor; flex: none; }
.foot .xlink { color: #f1f1f1; }
.foot-r { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; min-width: 0; max-width: 100%; }
.nav .navx span { display: none; }
.nav .navx { border: 2px solid var(--ink); padding: 5px 7px; background: var(--panel); box-shadow: var(--sh); }
@media (max-width: 640px) {
  .castrip .wrap { padding: 8px 12px; }
  .cabox .ca-v { font-size: 11.5px; flex: 1; }
  .castrip .xlink { display: none; }
  .foot-r { align-items: flex-start; }
}
