/* DAOPAD — light editorial look: white and cream grounds, deep-green panels, a green→amber gradient headline,
   Funnel Display, black pill buttons, hairline rules and corner-bracket cards. */
:root {
  --bg: #ffffff; --cream: #f4f1ea; --cream2: #ece8dd; --ink: #0e1320; --text: #1f2533; --muted: #5d6475; --faint: #666c7b;
  --line: #e8e5dd; --line2: #d9d4c7; --green: #17905f; --green-ink: #11774e; --green2: #1d9a6c; --red-ink: #b0401f; --teal: #30dcaf; --deep: #09281e; --amber: #c47a22;
  --yes: #1d9a6c; --no: #e0603f; --abs: #a7acb6; --seat: #e6e1d4;
  --grad: linear-gradient(90deg, #17905f 0%, #5f9135 42%, #9e761b 72%, #b5651a 100%);
  --sans: "Funnel Display", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
}
* { box-sizing: border-box; }
html { overflow-x: hidden; }
html, body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.55 var(--sans); min-height: 100%; -webkit-font-smoothing: antialiased; }
body { display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; }
a { color: var(--green-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--line2); border-radius: 12px; padding: 11px 13px; width: 100%; transition: border-color .2s, box-shadow .2s; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--green2); }
input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid var(--green2); outline-offset: 1px; border-color: var(--green2); }
.btn:focus-visible, .wallet:focus-visible, .coin:focus-visible, .prop:focus-visible, .feed-item:focus-visible, .kind:focus-visible, .tabs button:focus-visible, .nav a:focus-visible, .brand:focus-visible, a:focus-visible { outline: 2px solid var(--green2); outline-offset: 2px; }
.panel.deep a:focus-visible, .how-left .go:focus-visible { outline-color: var(--teal); }
/* links inside running text are underlined, not told apart by colour alone */
p a, .small a, .note a, .empty a, .foot-in a:not(.brand) { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.lbl { display: block; font-size: 13px; color: var(--muted); margin: 16px 0 6px; font-weight: 500; }
textarea { min-height: 104px; resize: vertical; }
label { display: block; font-size: 13px; color: var(--muted); margin: 16px 0 6px; font-weight: 500; }
code, .mono { font-family: var(--mono); font-size: 12.5px; }
h1, h2, h3 { font-family: var(--sans); font-weight: 400; letter-spacing: -.02em; color: var(--ink); margin: 0; }
.pad { padding: 24px; }
.dim { color: var(--faint) !important; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.num { font-variant-numeric: tabular-nums; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 40px; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.rise { opacity: 0; animation: rise .8s var(--ease) forwards; }
.rise.d1 { animation-delay: .08s; } .rise.d2 { animation-delay: .18s; } .rise.d3 { animation-delay: .3s; } .rise.d4 { animation-delay: .42s; }
@media (prefers-reduced-motion: reduce) { .rise { opacity: 1; animation: none; } .hero-mesh { animation: none; } *, *::before, *::after { transition-duration: .01ms !important; } .btn:hover, .coin:hover, .prop:hover, .wallet:hover { transform: none; } .fcard:hover .glow { transform: translate(-50%, -50%); } }

/* ---------- top ---------- */
.top { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--line); }
.top-in { max-width: 1320px; margin: 0 auto; padding: 16px 40px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 21px; letter-spacing: -.02em; justify-self: start; }
.brand:hover { text-decoration: none; }
.brand b { font-weight: 400; }
.mark { width: 40px; height: 40px; object-fit: contain; flex: none; transition: transform .3s var(--ease); } /* the curly marble senator (public/logo.webp) */
.brand:hover .mark { transform: rotate(-8deg) scale(1.06); }
.nav { display: flex; gap: 34px; justify-self: center; }
.nav a { color: var(--text); font-size: 14px; letter-spacing: .01em; transition: opacity .2s; }
.nav a:hover { opacity: .65; text-decoration: none; }
.nav a.on { color: var(--green-ink); }
.topright { display: flex; align-items: center; gap: 12px; justify-self: end; }
.clock { font-size: 12px; color: var(--faint); display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.clock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--faint); }
.clock.ok::before { background: var(--green2); box-shadow: 0 0 0 4px rgba(29, 154, 108, .15); }
.clock.late::before { background: var(--amber); }
.wallet { background: var(--ink); color: #fff; border: 0; border-radius: 999px; padding: 10px 18px; font-size: 13.5px; font-weight: 500; transition: transform .2s var(--ease), background .2s; }
.wallet:hover { background: #20283a; transform: translateY(-1px); }
.wallet.on { background: #fff; color: var(--ink); border: 1px solid var(--line2); }
.banner { padding: 10px 40px; background: #fdf6e6; color: #7a5410; border-bottom: 1px solid #f0e2bf; font-size: 13.5px; text-align: center; }
.banner.mock { background: #eaf7f1; color: #135c40; border-color: #cdeadd; }
.view { max-width: 1320px; width: 100%; margin: 0 auto; padding: 36px 40px 70px; flex: 1 0 auto; }
.view.full { max-width: none; padding: 0; }
.foot { border-top: 1px solid var(--line); background: #fff; }
.foot-in { max-width: 1320px; margin: 0 auto; padding: 30px 40px 40px; display: grid; grid-template-columns: auto 1fr; gap: 10px 40px; align-items: start; color: var(--muted); font-size: 12.5px; }
.foot-in .brand { font-size: 18px; } .foot-in .mark { width: 34px; height: 34px; }
.foot-in p { margin: 0 0 6px; max-width: 760px; }

/* ---------- pieces ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line2); background: #fff; color: var(--ink); border-radius: 999px; padding: 11px 20px; font-weight: 500; font-size: 14px; line-height: 1.1; transition: transform .2s var(--ease), background .2s, border-color .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { text-decoration: none; transform: translateY(-1px); border-color: var(--ink); }
.btn.gold, .btn.dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn.gold:hover, .btn.dark:hover { background: #20283a; box-shadow: 0 10px 24px -12px rgba(14, 19, 32, .55); }
.btn.mint { background: #eef9f3; color: var(--green-ink); border-color: #cfeadc; }
.btn.mint:hover { border-color: var(--green2); }
.btn.yes { background: #eef9f3; border-color: #bfe5d1; color: var(--green-ink); }
.btn.no { background: #fdf0ec; border-color: #f4c9bb; color: var(--red-ink); }
.btn.abs { background: #f4f4f6; border-color: #dcdde2; color: #555b68; }
.btn.yes:hover { background: var(--yes); color: #fff; border-color: var(--yes); }
.btn.no:hover { background: var(--no); color: #fff; border-color: var(--no); }
.btn.abs:hover { background: #7b808c; color: #fff; border-color: #7b808c; }
.btn.sm { padding: 6px 12px; font-size: 12.5px; }
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none; }
.arrow { display: inline-block; transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translate(2px, -2px); }
.panel { position: relative; background: #fff; border: 1px solid var(--line); padding: 22px; }
.panel.cream { background: var(--cream); border-color: var(--cream2); }
.panel h3 { font-size: 19px; margin-bottom: 14px; }
.panel.deep { background: linear-gradient(135deg, #012b22 0%, #031f17 100%); border-color: #0d3a2d; color: #e9f2ee; }
.panel.deep h3, .panel.deep .big { color: #f4f1ea; }
.panel.deep .kv > :nth-child(odd), .panel.deep .muted, .panel.deep .small.muted { color: rgba(244, 241, 234, .62); }
.panel.deep hr, .panel.deep .hold { border-color: rgba(244, 241, 234, .12); }
.panel.deep a { color: var(--teal); }
.panel.deep .hold .s { color: rgba(244, 241, 234, .62); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--green-ink); background: #f0faf5; border: 1px solid #cdebdc; border-radius: 999px; padding: 5px 12px 5px 9px; font-weight: 500; }
.eyebrow svg { width: 14px; height: 14px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; padding: 3px 10px; border-radius: 999px; background: #f4f4f6; border: 1px solid #e3e4e8; color: #555b68; white-space: nowrap; font-weight: 500; }
.chip.k-burn { color: #b3531f; border-color: #f2d2bd; background: #fdf3ec; }
.chip.k-buy { color: #1f6fa8; border-color: #c8def0; background: #eef6fc; }
.chip.k-sell { color: #6b46b8; border-color: #dccff3; background: #f5f0fd; }
.chip.k-airdrop { color: var(--green-ink); border-color: #cdebdc; background: #effaf4; }
.chip.k-grant { color: #8a6412; border-color: #ecdcb2; background: #fcf6e7; }
.chip.k-donate { color: #b33a6d; border-color: #f1cfdd; background: #fdf1f6; }
.rules-form { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 16px; }
.rules-form label { margin-top: 10px; }
@media (max-width: 720px) { .rules-form { grid-template-columns: 1fr 1fr; } }
.state { font-size: 12px; font-weight: 500; padding: 3px 10px; border-radius: 999px; border: 1px solid transparent; }
.st-voting { background: #e6faf3; color: #0f7a57; border-color: #bfeedd; }
.st-queued { background: #fcf5e4; color: #8a6412; }
.st-executing { background: #fcefd9; color: #9a5b0c; }
.st-executed, .st-passed { background: #eaf8f1; color: var(--green-ink); }
.st-rejected, .st-failed, .st-noquorum, .st-lapsed, .st-cancelled { background: #fdf0ec; color: var(--red-ink); }
.grid2 { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.stack { display: grid; gap: 16px; }
.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.between { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.kv { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px 14px; font-size: 14px; }
.kv > :nth-child(odd) { color: var(--muted); }
.kv > :nth-child(even) { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.big { font-size: 38px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--ink); line-height: 1.1; }
.lead { font-size: 17px; color: var(--muted); max-width: 720px; }
.empty { color: var(--faint); padding: 26px; text-align: center; border: 1px dashed var(--line2); background: #fcfbf8; }
.err { color: var(--red-ink); }
hr { border: 0; border-top: 1px solid var(--line); margin: 16px 0; }
/* corner brackets */
.brk { position: absolute; width: 18px; height: 18px; pointer-events: none; }
.brk::before, .brk::after { content: ""; position: absolute; background: var(--deep); }
.brk.tl { top: 12px; left: 12px; } .brk.tr { top: 12px; right: 12px; } .brk.bl { bottom: 12px; left: 12px; } .brk.br { bottom: 12px; right: 12px; }
.brk.tl::before, .brk.tr::before, .brk.bl::before, .brk.br::before { width: 18px; height: 2px; }
.brk.tl::after, .brk.tr::after, .brk.bl::after, .brk.br::after { width: 2px; height: 18px; }
.brk.tl::before, .brk.tl::after { top: 0; left: 0; } .brk.tr::before, .brk.tr::after { top: 0; right: 0; }
.brk.bl::before, .brk.bl::after { bottom: 0; left: 0; } .brk.br::before, .brk.br::after { bottom: 0; right: 0; }

/* ---------- home: hero ---------- */
.hero { position: relative; overflow: hidden; background: #fff; min-height: calc(100vh - 74px); min-height: calc(100svh - 74px); display: flex; flex-direction: column; }
#banner:not([hidden]) + .view.full .hero { min-height: calc(100svh - 116px); }
.hero-mesh { position: absolute; left: -10%; right: -10%; bottom: -30%; height: 75%; pointer-events: none; filter: blur(60px); opacity: .9;
  background: radial-gradient(30% 45% at 18% 70%, #f6c47a 0%, transparent 70%), radial-gradient(28% 50% at 38% 62%, #9fe7c9 0%, transparent 70%), radial-gradient(32% 55% at 58% 78%, #2fae7e 0%, transparent 70%), radial-gradient(30% 50% at 78% 60%, #f3dca0 0%, transparent 70%), radial-gradient(26% 45% at 92% 82%, #e9974a 0%, transparent 70%), radial-gradient(40% 40% at 50% 30%, #eafaf3 0%, transparent 70%);
  animation: drift 18s ease-in-out infinite alternate; }
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-3%, -4%, 0) scale(1.06); } }
.hero-in { position: relative; z-index: 2; max-width: 1320px; width: 100%; margin: 0 auto; padding: 64px 40px 0; flex: 1; }
.hero h1 { position: relative; font-size: clamp(46px, 7.2vw, 104px); line-height: .98; letter-spacing: -.035em; font-weight: 300; margin: 26px 0 26px; }
.hero h1::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: -100vw; right: -100vw; pointer-events: none; background: repeating-linear-gradient(180deg, rgba(14, 19, 32, .08) 0 1px, transparent 1px .98em); border-bottom: 1px solid rgba(14, 19, 32, .08); }
.hero-desc { font-size: 16.5px; color: #4a5162; max-width: 470px; margin: 0 0 30px; line-height: 1.6; }
.hero-feats { position: relative; z-index: 2; max-width: 1320px; width: 100%; margin: 0 auto; padding: 56px 40px 34px; display: flex; gap: 56px; flex-wrap: wrap; }
.feat { display: flex; align-items: center; gap: 14px; }
.feat i { width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .9); display: grid; place-items: center; box-shadow: 0 6px 20px -10px rgba(9, 40, 30, .4); color: var(--green); }
.feat i svg { width: 19px; height: 19px; }
.feat b { display: block; font-weight: 500; color: var(--ink); font-size: 14.5px; }
.feat span { font-size: 12.5px; color: rgba(14, 19, 32, .7); }

/* ---------- home: cream cards ---------- */
.cream-band { background: var(--cream); padding: 84px 0; }
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.fcard { position: relative; aspect-ratio: 1 / 1; display: grid; place-items: center; padding: 56px 32px; overflow: hidden; background: rgba(255, 255, 255, .35); }
.fcard .glow { position: absolute; width: 230px; height: 230px; border-radius: 50%; filter: blur(30px); top: 50%; left: 50%; transform: translate(-50%, -50%); transition: transform .6s var(--ease); }
.fcard:hover .glow { transform: translate(-50%, -50%) scale(1.18); }
.glow.g1 { background: radial-gradient(circle, #ffd76099 0%, #ff8c0055 50%, transparent 70%); }
.glow.g2 { background: radial-gradient(circle, #00e5c077 0%, #00a08040 50%, transparent 70%); }
.glow.g3 { background: radial-gradient(circle, #8080ff70 0%, #6060c040 50%, transparent 70%); }
.fcard p { position: relative; z-index: 1; margin: 0; text-align: center; color: var(--deep); font-size: 25px; font-weight: 300; line-height: 1.3; letter-spacing: -.01em; }

/* ---------- home: how panel ---------- */
.how-wrap { background: linear-gradient(180deg, var(--cream) 50%, #fff 50%); }
.how { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; padding-top: 10px; }
.how-left { background: linear-gradient(135deg, #012b22 0%, #031f17 100%); min-height: 430px; padding: 34px; display: flex; flex-direction: column; color: #f4f1ea; }
.how-left .eb { color: var(--teal); font-size: 22px; font-weight: 300; }
.how-left p { max-width: 620px; color: rgba(244, 241, 234, .85); font-size: 19px; font-weight: 300; line-height: 1.45; margin: 34px 0 0; }
.how-left h2 { margin-top: auto; padding-top: 32px; color: #f4f1ea; font-size: clamp(34px, 3.6vw, 54px); font-weight: 300; line-height: .98; }
.how-left h2 span { color: var(--teal); display: block; }
.how-left .go { margin-top: 22px; color: #f4f1ea; font-size: 15px; align-self: flex-start; border-bottom: 1px solid rgba(244, 241, 234, .35); padding-bottom: 2px; }
.how-left .go:hover { text-decoration: none; border-color: var(--teal); color: var(--teal); }
.how-right { background: linear-gradient(180deg, #0f3b2e 0%, #2ad3a3 40%, #b7e35a 70%, #f6d5e8 100%); min-height: 430px; padding: 26px; display: flex; flex-direction: column; color: #f4f1ea; --yes: #ffffff; --no: #0b3326; --abs: rgba(255, 255, 255, .55); --seat: rgba(255, 255, 255, .22); }
.how-right h3 { color: #f4f1ea; font-size: clamp(32px, 3vw, 46px); font-weight: 300; line-height: .95; }
.how-right .hemi text { fill: #0b3326 !important; }
.how-right .hemi { margin: auto auto 6px; max-width: 320px; }
.how-right .live { font-size: 13px; color: rgba(11, 51, 38, .85); margin: 0 0 16px; text-align: center; }
.how-right .live b { font-weight: 500; }
.how-right .btn { align-self: flex-start; background: #ececec; color: #333; border-color: #fff; border-radius: 0; font-weight: 400; }

/* ---------- home: numbers, coins, feed ---------- */
.section { padding: 76px 0; }
.section-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 0 0 22px; }
.section-h h2 { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.02; font-weight: 400; }
.section-h h2 span { color: var(--green); }
.section-h .eb { color: var(--green-ink); font-size: 14px; margin-bottom: 10px; letter-spacing: .02em; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 26px 24px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { display: block; font-size: 40px; font-weight: 400; letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1.1; }
.stat span { font-size: 13px; color: var(--muted); }
.coins { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 16px; }
.coin { position: relative; display: grid; grid-template-columns: 60px 1fr auto; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); padding: 16px; color: var(--text); transition: border-color .2s, transform .25s var(--ease), box-shadow .25s; }
.coin:hover { border-color: var(--ink); text-decoration: none; transform: translateY(-2px); box-shadow: 0 16px 30px -22px rgba(14, 19, 32, .45); }
.coin img, .pic { width: 60px; height: 60px; border-radius: 12px; object-fit: cover; background: var(--cream); }
.coin .name { font-weight: 500; color: var(--ink); font-size: 15.5px; }
.coin .sym { color: var(--faint); font-size: 12.5px; margin-left: 6px; letter-spacing: .02em; }
.coin .meta { font-size: 13px; color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; margin-top: 3px; }
.coin .vault { text-align: right; }
.coin .vault b { display: block; font-weight: 500; color: var(--ink); font-size: 16px; font-variant-numeric: tabular-nums; }
.coin .vault span { font-size: 11.5px; color: var(--faint); }
.coin .open { color: var(--green-ink); }
.feed { display: grid; border-top: 1px solid var(--line); }
.feed-item { display: grid; grid-template-columns: 110px 1fr auto; gap: 14px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--text); transition: background .2s; }
.feed-item:hover { background: #fbfaf6; text-decoration: none; }
.feed-item b { font-weight: 500; color: var(--ink); }

/* ---------- home: infra (deep green) ---------- */
.infra { background: var(--deep); color: #f4f1ea; }
.infra-in { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding-top: 88px; padding-bottom: 80px; }
.infra .eb { color: var(--teal); font-size: 40px; font-weight: 400; line-height: 1; }
.infra h2 { color: #f4f1ea; font-size: clamp(36px, 4vw, 60px); line-height: 1; font-weight: 400; margin-top: 18px; }
.infra h2 span { color: var(--teal); }
.infra .copy p { color: rgba(244, 241, 234, .7); font-size: 17px; font-weight: 300; max-width: 460px; margin: 26px 0 0; }
.infra-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(244, 241, 234, .12); border: 1px solid rgba(244, 241, 234, .12); align-self: start; }
.infra-grid div { background: var(--deep); padding: 26px 24px; min-height: 180px; }
.infra-grid h4 { margin: 0 0 12px; font-weight: 400; font-size: 21px; line-height: 1.05; color: #f4f1ea; }
.infra-grid p { margin: 0; font-size: 14px; color: rgba(244, 241, 234, .62); line-height: 1.55; }
.kinds-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.kinds-grid div { background: #fff; padding: 22px; min-height: 150px; }
.kinds-grid b { display: block; font-weight: 500; font-size: 17px; color: var(--ink); margin: 12px 0 6px; }
.kinds-grid span { font-size: 13.5px; color: var(--muted); }
.kinds-grid .n { font-family: var(--mono); font-size: 12px; color: var(--green-ink); }
.cta { background: var(--cream); padding: 96px 0; text-align: center; position: relative; overflow: hidden; }
.cta h2 { font-size: clamp(40px, 5.6vw, 84px); line-height: .98; letter-spacing: -.035em; font-weight: 300; }
.cta .btn { margin-top: 34px; }

/* ---------- coin ---------- */
.coinhead { display: grid; grid-template-columns: 88px 1fr auto; gap: 20px; align-items: center; margin-bottom: 28px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.coinhead .pic { width: 88px; height: 88px; border-radius: 18px; }
.coinhead h1 { font-size: 44px; line-height: 1; letter-spacing: -.03em; }
.coinhead .ticker { color: var(--green-ink); font-size: 15px; letter-spacing: .02em; }
.coinhead .row:first-child { align-items: baseline; }
.tabs { display: flex; gap: 2px; background: var(--cream); border: 1px solid var(--cream2); border-radius: 999px; padding: 3px; }
.tabs button { background: none; border: 0; color: var(--muted); padding: 6px 14px; border-radius: 999px; font-size: 13.5px; }
.tabs button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(14, 19, 32, .12); }
.prop { display: grid; gap: 10px; background: #fff; border: 1px solid var(--line); padding: 18px; color: var(--text); transition: border-color .2s, transform .25s var(--ease); }
.prop:hover { border-color: var(--ink); text-decoration: none; transform: translateY(-1px); }
.prop .t { font-weight: 500; font-size: 17px; color: var(--ink); letter-spacing: -.01em; }
.bar { position: relative; height: 8px; border-radius: 99px; background: #f0ede5; overflow: visible; display: flex; }
.bar i { display: block; height: 100%; }
.bar i:first-child { border-radius: 99px 0 0 99px; }
.bar .y { background: var(--yes); } .bar .n { background: var(--no); } .bar .a { background: var(--abs); }
.bar .q { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--ink); border-radius: 2px; }
.legend { display: flex; gap: 14px; font-size: 12.5px; color: var(--muted); flex-wrap: wrap; }
.legend b { font-weight: 600; }
.legend .y b { color: var(--green-ink); } .legend .n b { color: var(--red-ink); } .legend .a b { color: #5d6475; }
.legend .qm { color: var(--ink); }
.legend .qm::before { content: ""; display: inline-block; width: 2px; height: 11px; background: var(--ink); border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.hold { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14px; }
.hold:first-child { border-top: 0; }
.hold .v { text-align: right; font-variant-numeric: tabular-nums; }
.hold .s { grid-column: 1 / -1; font-size: 12px; color: var(--faint); }
.kinds { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; }
.kind { display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; gap: 4px; text-align: left; background: #fff; border: 1px solid var(--line2); border-radius: 0; padding: 14px 16px; color: var(--text); transition: border-color .2s, background .2s; }
.kind:hover { border-color: var(--ink); }
.kind b { display: block; font-size: 14px; font-weight: 500; color: var(--ink); }
.kind span { display: block; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.kind.on { border-color: var(--green2); background: #effaf4; box-shadow: 0 0 0 3px rgba(29, 154, 108, .12); }

/* ---------- proposal ---------- */
.phead h1 { font-size: 40px; line-height: 1.05; margin: 12px 0 10px; letter-spacing: -.03em; }
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 20px 0 6px; }
.timeline div { font-size: 12px; color: var(--faint); border-top: 3px solid var(--seat); padding-top: 8px; }
.timeline div b { font-weight: 500; }
.timeline div.done { color: var(--muted); border-color: var(--yes); }
.timeline div.now { color: var(--ink); border-color: var(--ink); }
.timeline div.bad { color: #c44b2c; border-color: var(--no); }
.hemi { width: 100%; max-width: 440px; display: block; margin: 0 auto; }
.votebox { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.votebox .btn { padding: 15px; font-size: 16px; }
.votes { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.votes th { text-align: left; color: var(--faint); font-weight: 500; padding: 7px 8px; border-bottom: 1px solid var(--line); }
.votes td { padding: 9px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.votes th:first-child, .votes td:first-child { padding-left: 0; } .votes th:last-child, .votes td:last-child { padding-right: 0; }
.votes td:first-child, .votes td.r { white-space: nowrap; }
.table-scroll { overflow-x: auto; padding: 0 4px; margin: 0 -4px; }
.panel > .between { margin-bottom: 14px; } .panel > .between > h3 { margin-bottom: 0; }
.votes td.r, .votes th.r { text-align: right; font-variant-numeric: tabular-nums; }
.c-for { color: var(--green-ink); font-weight: 600; } .c-against { color: var(--red-ink); font-weight: 600; } .c-abstain { color: #5d6475; font-weight: 600; }
.body { white-space: pre-wrap; color: #3b4253; }

/* ---------- forms ---------- */
.form { max-width: 740px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.drop { display: grid; place-items: center; margin: 0; width: 104px; height: 104px; border-radius: 0; border: 1px dashed var(--line2); background: var(--cream); color: var(--faint); cursor: pointer; overflow: hidden; text-align: center; font-size: 12px; transition: border-color .2s; }
.drop:hover { border-color: var(--ink); }
.drop:has(+ #l-pic:focus-visible) { outline: 2px solid var(--green2); outline-offset: 3px; }
.drop img { width: 100%; height: 100%; object-fit: cover; }
.note { font-size: 13px; color: var(--muted); background: var(--cream); border: 1px solid var(--cream2); padding: 12px 15px; }
.note b { color: var(--ink); font-weight: 500; }
pre.note { color: #3b4253; }
.checks { display: grid; gap: 8px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); background: #fff; font-size: 14px; }
.check b { font-weight: 500; color: var(--ink); }
.check .fix { grid-column: 2; color: #7a5410; font-size: 13px; }
.page-h { margin-bottom: 8px; }
.page-h h1 { font-size: clamp(36px, 4vw, 54px); line-height: 1; letter-spacing: -.03em; }
.page-h h1 span { color: var(--green); }
.back { display: inline-flex; align-items: center; min-height: 40px; }
.dots { overflow: hidden; padding: 4px; margin-left: -4px; margin-right: -4px; column-gap: 17px !important; row-gap: 4px !important; } .dots > * { position: relative; } .dots > * + *::before { content: "·"; position: absolute; left: -11px; color: var(--faint); text-decoration: none; }

/* ---------- toast + demo ---------- */
.toast { position: fixed; bottom: calc(22px + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; z-index: 60; max-width: min(640px, 92vw); box-shadow: 0 16px 40px -16px rgba(14, 19, 32, .6); font-size: 14px; }
.demo { position: fixed; left: 18px; bottom: 18px; z-index: 50; width: 272px; background: #fff; border: 1px solid var(--line2); border-radius: 16px; padding: 13px; font-size: 13px; box-shadow: 0 20px 44px -22px rgba(14, 19, 32, .45); }
.demo h4 { margin: 0 0 8px; font-size: 12.5px; color: var(--green-ink); font-weight: 500; display: flex; justify-content: space-between; letter-spacing: .02em; }
.demo .row { gap: 6px; margin: 6px 0; }
.demo select { padding: 6px 9px; font-size: 13px; border-radius: 10px; width: auto; }
.demo .btn { padding: 6px 10px; font-size: 12.5px; }

@media (max-width: 1000px) {
  .grid2 { grid-template-columns: 1fr; }
  .cards3, .infra-in, .how { grid-template-columns: 1fr; }
  .kinds-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat { border-top: 1px solid var(--line); }
  .stat:nth-child(-n+2) { border-top: 0; }
  .fcard { aspect-ratio: auto; min-height: 240px; }
  .how-wrap { background: linear-gradient(180deg, var(--cream) 0 180px, #fff 180px); }
}
@media (max-width: 760px) {
  .wrap, .hero-in, .hero-feats, .top-in, .foot-in { padding-left: 16px; padding-right: 16px; }
  .view { padding: 24px 16px 60px; }
  .top-in { grid-template-columns: 1fr auto; padding-top: 12px; padding-bottom: 12px; }
  .nav { grid-column: 1 / -1; order: 3; justify-self: stretch; gap: 22px; overflow-x: auto; padding-bottom: 2px; }
  .clock { display: none; }
  .hero { min-height: auto; }
  .hero-in { padding-top: 40px; }
  .hero-feats { gap: 20px; padding-top: 44px; }
  .cream-band, .section, .cta { padding: 56px 0; }
  .fcard { min-height: 220px; }
  .how-left, .how-right { min-height: 340px; padding: 24px; }
  .kinds-grid { grid-template-columns: 1fr; }
  .infra-grid { grid-template-columns: 1fr; }
  .infra-in { padding-top: 60px; padding-bottom: 60px; }
  .coinhead { grid-template-columns: 64px 1fr; }
  .coinhead .pic { width: 64px; height: 64px; }
  .coinhead h1 { font-size: 32px; }
  .coinhead > :last-child { grid-column: 1 / -1; }
  .two { grid-template-columns: 1fr; }
  .feed-item { grid-template-columns: 1fr auto; }
  .feed-item > :first-child { grid-column: 1 / -1; }
  .timeline { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .timeline div { font-size: 11px; }
  .foot-in { grid-template-columns: 1fr; }
  .demo { left: 12px; right: 12px; width: auto; }
  .banner { padding: 10px 16px; }
  .stat b { font-size: 30px; }
  .top-in { row-gap: 2px; padding-bottom: 2px; }
  .nav a { display: inline-block; padding: 10px 0; }
  .top-in, .wrap, .view, .foot-in, .hero-in, .hero-feats { padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
  .phead h1 { font-size: 30px; line-height: 1.08; }
  .tabs button { padding: 10px 16px; }
  .coinhead .row.small a { display: inline-block; padding: 8px 0; }
  .votes th, .votes td { padding-left: 4px; padding-right: 4px; }
  .kinds-grid div { min-height: 0; padding: 18px 20px; } .kinds-grid b { margin-top: 6px; }
  .infra-grid div { min-height: 0; }
  .form .two { row-gap: 0; }
  #banner:not([hidden]) + .view.full .hero { min-height: auto; }
}

/* ---------- the proposal page as a game: the senate floor, teams, meters ---------- */
.game { display: grid; gap: 18px; max-width: 1060px; }
.game .phead h1 { margin-bottom: 8px; }
.arena { position: relative; isolation: isolate; border-radius: 22px; overflow: hidden; border: 1px solid var(--line2);
  background: linear-gradient(180deg, #fbf8f1 0%, #f6f0e2 30%, #eee5d1 31%, #e7dcc4 100%); box-shadow: 0 18px 40px -26px rgba(9,40,30,.35); }
.arena-top { position: absolute; z-index: 1200; top: 12px; left: 14px; right: 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px; pointer-events: none; }
.live { display: inline-flex; align-items: center; gap: 7px; font: 700 11.5px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: rgba(255,255,255,.85); border: 1px solid var(--line2); border-radius: 999px; padding: 7px 11px; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: #b9b4a8; }
.live.on { color: var(--green-ink); } .live.on i { background: #1d9a6c; box-shadow: 0 0 0 0 rgba(29,154,108,.6); animation: livePulse 1.6s infinite; }
.timer { font: 600 13px/1 var(--mono); color: var(--ink); background: rgba(255,255,255,.9); border: 1px solid var(--line2); border-radius: 999px; padding: 7px 12px; white-space: nowrap; }
.floor { position: relative; height: 430px; touch-action: pan-y; }
.floor::before { content: ""; position: absolute; left: -40%; right: -40%; top: 31%; height: 120%; pointer-events: none; transform-origin: 50% 0; transform: perspective(520px) rotateX(64deg);
  background-image: repeating-linear-gradient(90deg, rgba(120,98,60,.13) 0 1px, transparent 1px 70px), repeating-linear-gradient(0deg, rgba(120,98,60,.13) 0 1px, transparent 1px 70px); }
.pads { position: absolute; inset: 0; pointer-events: none; }
.pad { position: absolute; top: 40%; bottom: 3%; display: flex; align-items: flex-end; justify-content: center; border-radius: 50%; }
.pad span { font: 800 13px/1 var(--sans); letter-spacing: .22em; padding-bottom: 6px; opacity: .75; }
.pad-yes { left: 5%; width: 29%; background: radial-gradient(closest-side, rgba(29,154,108,.2), transparent); } .pad-yes span { color: var(--green-ink); }
.pad-abs { left: 37.5%; width: 25%; background: radial-gradient(closest-side, rgba(140,144,154,.18), transparent); } .pad-abs span { color: #6c717c; }
.pad-no { left: 66%; width: 29%; background: radial-gradient(closest-side, rgba(224,96,63,.18), transparent); } .pad-no span { color: var(--red-ink); }
.floor-empty { position: absolute; left: 0; right: 0; top: 56%; text-align: center; color: var(--muted); font-size: 15px; }
.stamp { position: absolute; z-index: 1300; right: 22px; top: 54px; transform: rotate(8deg); font: 800 26px/1 var(--sans); letter-spacing: .06em; padding: 10px 16px; border: 4px solid; border-radius: 10px; background: rgba(255,255,255,.72); animation: stampIn .5s var(--ease) both; }
.stamp.ok { color: var(--green-ink); border-color: var(--green2); } .stamp.bad { color: var(--red-ink); border-color: var(--no); }
/* the senators themselves (placed and moved by senateMount in app.js) */
.sen { position: absolute; left: 0; top: 0; width: 80px; height: 80px; transform-origin: 50% 100%; will-change: transform; text-decoration: none !important; }
.sen .sen-body { position: absolute; inset: 0; will-change: transform; }
/* the 3D senator, rendered from 24 angles into one sheet per toga colour (6 × 4 frames):
   app.js picks the frame from the way each one faces */
.sen .ball, .sen .lid { position: absolute; inset: 0; background: url("orbs/senator3d-abstain.webp") 0 0 / 600% 400% no-repeat; }
.sen.o-for .ball { background-image: url("orbs/senator3d-for.webp"); } .sen.o-against .ball { background-image: url("orbs/senator3d-against.webp"); }
.sen .lid { background-image: url("orbs/senator3d-abstain-blink.webp"); opacity: 0; animation: orbLid 4.3s linear infinite; }
.sen.o-for .lid { background-image: url("orbs/senator3d-for-blink.webp"); animation-duration: 3.7s; } .sen.o-against .lid { background-image: url("orbs/senator3d-against-blink.webp"); animation-duration: 5.1s; }
.sen .ball { filter: drop-shadow(0 4px 6px rgba(60,40,10,.18)); }
.sen .sen-shadow { position: absolute; left: 16%; right: 16%; bottom: -7%; height: 13%; border-radius: 50%; background: radial-gradient(closest-side, rgba(40,28,10,.3), transparent); }
.sen .rank { position: absolute; left: 50%; bottom: -6%; transform: translateX(-50%); font: 700 11px/1 var(--mono); color: #fff; background: rgba(14,19,32,.8); border-radius: 999px; padding: 3px 7px; white-space: nowrap; }
.sen.me .ball { filter: drop-shadow(0 0 3px #fff) drop-shadow(0 0 7px rgba(232,200,114,.95)); }
.sen.me::before { content: "you"; position: absolute; top: -16px; left: 50%; transform: translateX(-50%); font: 700 11px/1 var(--sans); color: var(--ink); background: #ffe9a6; border: 1px solid #e0c060; border-radius: 999px; padding: 3px 8px; }
.sen.sold .ball { filter: saturate(.4) brightness(.95); opacity: .85; }
.confetti { position: absolute; z-index: 1250; width: 8px; height: 5px; border-radius: 2px; pointer-events: none; animation: confetti 1.2s cubic-bezier(.2,.7,.3,1) forwards; }
/* teams */
.teams { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.team { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 12px 14px; }
.team img { width: 56px; height: 56px; flex: none; }
.team b { display: block; font-size: 12px; letter-spacing: .12em; }
.team .n { font: 700 26px/1.1 var(--sans); color: var(--ink); letter-spacing: -.02em; }
.t-yes b { color: var(--green-ink); } .t-no b { color: var(--red-ink); } .t-abs b { color: #6c717c; }
.tbar { height: 8px; border-radius: 99px; background: var(--cream2); overflow: hidden; margin: 6px 0 3px; }
.tbar i { display: block; height: 100%; border-radius: 99px; transition: width .6s var(--ease); }
.t-yes .tbar i { background: linear-gradient(90deg, #1d9a6c, #6fe0ad); } .t-no .tbar i { background: linear-gradient(90deg, #e0603f, #ffa585); } .t-abs .tbar i { background: linear-gradient(90deg, #8a8f99, #cfd2d8); }
/* meters */
.meters { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.meter { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; display: grid; gap: 8px; font-size: 13.5px; }
.badge { font: 700 10.5px/1 var(--sans); letter-spacing: .08em; padding: 4px 7px; border-radius: 999px; background: var(--cream2); color: var(--muted); margin-left: 4px; }
.badge.ok { background: #e3f6ec; color: var(--green-ink); }
.mbar, .tug { position: relative; height: 16px; border-radius: 99px; background: var(--cream2); display: flex; }
.mbar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #17905f, #e8c872); transition: width .6s var(--ease); }
.tug i { display: block; height: 100%; transition: width .6s var(--ease); } .tug .f { background: linear-gradient(90deg, #1d9a6c, #6fe0ad); border-radius: 99px 0 0 99px; } .tug .a { background: linear-gradient(90deg, #ffa585, #e0603f); border-radius: 0 99px 99px 0; }
.flag { position: absolute; top: -6px; bottom: -6px; width: 3px; margin-left: -1.5px; background: var(--ink); border-radius: 2px; }
.flag::after { content: ""; position: absolute; top: -2px; left: 3px; border-left: 10px solid var(--ink); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
/* voting */
.vote-game h3 { margin-top: 0; }
.picks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pick { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 10px 12px; border-radius: 20px; border: 2px solid; font: 800 15px/1 var(--sans); letter-spacing: .06em; background: #fff; transition: transform .15s var(--ease), box-shadow .15s; box-shadow: 0 6px 0 -1px var(--sh); }
.pick img { width: 64px; height: 64px; transition: transform .3s var(--ease); }
.pick:hover { transform: translateY(-3px); } .pick:hover img { transform: translateY(-4px) rotate(-6deg); }
.pick:active { transform: translateY(3px); box-shadow: 0 2px 0 -1px var(--sh); }
.p-yes { color: var(--green-ink); border-color: #9fdcbf; --sh: #9fdcbf; } .p-no { color: var(--red-ink); border-color: #f2b9a6; --sh: #f2b9a6; } .p-abs { color: #5d6270; border-color: #d4d6dc; --sh: #d4d6dc; }
/* the road to done */
.quest { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.quest div { position: relative; display: grid; gap: 3px; justify-items: center; text-align: center; font-size: 12px; color: var(--faint); padding-top: 28px; }
.quest div::before { content: ""; position: absolute; top: 9px; left: -50%; right: 50%; height: 4px; background: var(--seat); }
.quest div:first-child::before { display: none; }
.quest i { position: absolute; top: 0; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--seat); z-index: 1; }
.quest b { color: var(--text); font-weight: 600; }
.quest .done i { background: var(--green2); border-color: var(--green2); } .quest .done::before, .quest .now::before { background: var(--green2); }
.quest .now i { border-color: var(--green2); box-shadow: 0 0 0 5px rgba(29,154,108,.18); animation: livePulse 1.6s infinite; }
.quest .bad i { background: var(--no); border-color: var(--no); }
.receipts summary { cursor: pointer; list-style: none; } .receipts summary::-webkit-details-marker { display: none; }
.receipts summary::before { content: "▸ "; color: var(--muted); } .receipts[open] summary::before { content: "▾ "; }
@keyframes orbLid { 0%, 92%, 97.5%, 100% { opacity: 0; } 93.5%, 96% { opacity: 1; } }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(29,154,108,.55); } 70% { box-shadow: 0 0 0 8px rgba(29,154,108,0); } 100% { box-shadow: 0 0 0 0 rgba(29,154,108,0); } }
@keyframes stampIn { from { transform: rotate(8deg) scale(2.2); opacity: 0; } to { transform: rotate(8deg) scale(1); opacity: 1; } }
@keyframes confetti { 0% { transform: translate(0, 0) rotate(0); opacity: 1; } 100% { transform: translate(var(--dx), calc(var(--dy) + 140px)) rotate(var(--r)); opacity: 0; } }
@media (max-width: 760px) {
  .floor { height: 330px; } .live .lt { display: none; } .teams { grid-template-columns: 1fr; } .meters { grid-template-columns: 1fr; }
  .picks { gap: 8px; } .pick { font-size: 12.5px; padding: 12px 6px; } .pick img { width: 52px; height: 52px; }
  .quest div { font-size: 10.5px; } .quest span { display: none; }
  .stamp { font-size: 19px; top: 48px; right: 12px; }
}
@media (prefers-reduced-motion: reduce) { .sen .lid, .live.on i, .quest .now i, .stamp, .confetti { animation: none; } }

/* ---------- the landing: copy on the left, a demo senate voting on the right ---------- */
.splash-in { display: grid; grid-template-columns: minmax(300px, 0.8fr) 1.2fr; gap: 40px; align-items: center; padding-top: 44px; }
.splash h1 { font-size: clamp(44px, 5.6vw, 88px); margin: 22px 0 22px; }
.splash .hero-desc { max-width: 440px; }
.splash-stage { min-width: 0; }
.splash-arena .floor { height: 470px; }
.splash-arena .sen { pointer-events: none; } /* pretend holders: nothing to click */
.bill { position: absolute; z-index: 1210; left: 50%; top: 52px; width: min(420px, calc(100% - 28px)); transform: translate(-50%, -24px); opacity: 0; transition: transform .5s var(--ease), opacity .4s;
  background: rgba(255,255,255,.94); border: 1px solid var(--line2); border-radius: 16px; padding: 12px 14px 12px; box-shadow: 0 14px 30px -18px rgba(9,40,30,.45); display: grid; gap: 6px; }
.bill.in { transform: translate(-50%, 0); opacity: 1; }
.bill .chip { font-size: 11px; padding: 3px 8px; }
.bill-t { font-size: 17px; line-height: 1.25; color: var(--ink); letter-spacing: -.01em; }
.bill-tally { display: flex; gap: 12px; font: 700 11.5px/1 var(--sans); letter-spacing: .06em; }
.c-yes { color: var(--green-ink); } .c-no { color: var(--red-ink); } .c-abs { color: #6c717c; }
.small-tug { height: 9px; } .small-tug .flag { top: -4px; bottom: -4px; } .small-tug .flag::after { display: none; }
.bill-after { margin: 2px 0 0; font-size: 13px; color: var(--text); }
.phase { font: 800 10.5px/1 var(--sans); letter-spacing: .1em; padding: 4px 8px; border-radius: 999px; background: var(--cream2); color: var(--muted); }
.ph-voting { background: #e3f6ec; color: var(--green-ink); animation: livePulse 1.6s infinite; }
.ph-counting { background: #fff2cc; color: #8a6412; }
.ph-passed { background: var(--green2); color: #fff; } .ph-rejected { background: var(--no); color: #fff; }
.splash-arena .stamp { top: auto; bottom: 26px; right: 26px; font-size: 30px; }
.vote-bubble { position: absolute; z-index: 1240; transform: translate(-50%, -100%); font: 800 12px/1 var(--sans); letter-spacing: .04em; padding: 6px 9px; border-radius: 12px; color: #fff; white-space: nowrap; pointer-events: none; animation: bubbleUp 1.4s var(--ease) forwards; }
.vote-bubble::after { content: ""; position: absolute; left: 50%; bottom: -5px; margin-left: -5px; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 6px solid var(--bb); }
.vb-yes { background: #1d9a6c; --bb: #1d9a6c; } .vb-no { background: #e0603f; --bb: #e0603f; } .vb-abs { background: #8a8f99; --bb: #8a8f99; }
.fx { position: absolute; z-index: 1230; pointer-events: none; font-size: calc(26px * var(--sz)); line-height: 1; }
.fx-burn { bottom: 8%; animation: fxRise 2.4s ease-out forwards; }
.fx-hearts { bottom: 12%; animation: fxRise 2.8s ease-out forwards; }
.fx-coins { top: -30px; width: calc(20px * var(--sz)); height: calc(20px * var(--sz)); border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff6c9 0 12%, #f2c94c 40%, #b8860b 100%); box-shadow: inset 0 -2px 3px rgba(0,0,0,.25); animation: fxFall 2.2s cubic-bezier(.4,.1,.7,1) forwards; }
@keyframes bubbleUp { 0% { transform: translate(-50%, -60%) scale(.4); opacity: 0; } 18% { transform: translate(-50%, -100%) scale(1.08); opacity: 1; } 70% { opacity: 1; } 100% { transform: translate(-50%, -190%) scale(1); opacity: 0; } }
@keyframes fxRise { 0% { transform: translate(0, 0) scale(.3); opacity: 0; } 15% { opacity: 1; transform: translate(0, -20px) scale(1); } 100% { transform: translate(var(--drift), -260px) scale(.6); opacity: 0; } }
@keyframes fxFall { 0% { transform: translate(0, 0) rotateY(0); opacity: 0; } 10% { opacity: 1; } 100% { transform: translate(var(--drift), 520px) rotateY(720deg); opacity: .9; } }
@media (max-width: 980px) {
  .splash-in { grid-template-columns: 1fr; gap: 26px; padding-top: 32px; }
  .splash-arena .floor { height: 380px; }
}
@media (max-width: 760px) {
  .splash-arena .floor { height: 420px; }
  .bill { top: 48px; padding: 8px 10px; gap: 4px; border-radius: 12px; } .bill .between > .small { display: none; } .bill .chip { font-size: 10px; padding: 2px 6px; }
  .bill-t { font-size: 14px; } .bill-tally { font-size: 10.5px; gap: 8px; } .bill-after { font-size: 12px; } .small-tug { height: 7px; }
  .splash-arena .stamp { font-size: 20px; bottom: 16px; right: 14px; }
}
@media (prefers-reduced-motion: reduce) { .vote-bubble, .fx, .ph-voting { animation: none; } }
.unit-in { display: flex; gap: 6px; } .unit-in input { flex: 1; min-width: 0; } .unit-in select { width: auto; flex: none; padding-left: 10px; padding-right: 10px; }

/* the charity search (Donate.gg) */
.dgg-list { display: grid; gap: 6px; margin-top: 8px; max-height: 340px; overflow-y: auto; }
.dgg-list:empty { display: none; }
.dgg-row { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--cream); color: inherit; font: inherit; cursor: pointer; }
.dgg-row:hover, .dgg-row:focus-visible { border-color: var(--amber); outline: none; }
.dgg-row img, .dgg-pick img { width: 40px; height: 40px; border-radius: 10px; object-fit: contain; background: #fff; flex: none; }
.dgg-dot { width: 40px; height: 40px; border-radius: 10px; background: var(--line); flex: none; }
.dgg-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.dgg-txt b { overflow-wrap: anywhere; }
.dgg-none { padding: 8px 2px; }
.dgg-pick { display: flex; align-items: center; gap: 12px; margin-top: 8px; padding: 12px; border-radius: 14px; border: 1px solid var(--amber); background: var(--cream); }
.dgg-pick .btn { flex: none; }
.dgg-badge { display: inline-block; align-self: flex-start; margin-top: 4px; padding: 3px 9px; border-radius: 999px; font: 600 12px/1.4 var(--sans); }
.dgg-badge.ok { background: #e3f6ec; color: var(--green-ink); }
.dgg-badge.wait { background: var(--cream2); color: var(--muted); }
@media (max-width: 560px) { .dgg-pick { flex-wrap: wrap; } }
.dgg-note { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 8px; }
.dgg-note .dgg-badge { margin-top: 0; }
