:root {
  --bg: #ffffff; --card: #f6f8f6; --ink: #1c2b26; --mute: #66756e; --line: #dfe6e1;
  --g: #1f7a4f; --g-ink: #ffffff; --tint: #e6f1ea; --red: #c0392b; --ok: #1f7a4f;
  --bam: #c4e2d1; --bpm: #57b583; --hero: #d8ecdf;
  --r: 16px;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0e1512; --card: #16211c; --ink: #e8f1ec; --mute: #93a59b; --line: #263730; --g: #3fae7a; --g-ink: #07140d; --tint: #1d2e26; --red: #ff7a66; --ok: #57c68a; --bam: #2b4a3b; --bpm: #2f8f63; --hero: #1b3127; }
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
body { padding-bottom: env(safe-area-inset-bottom); }
.page { max-width: 560px; margin: 0 auto; padding: env(safe-area-inset-top) 0 calc(32px + env(safe-area-inset-bottom)); }
.page > div > *:not(.appbar):not(.hero) { margin-left: 16px; margin-right: 16px; }
.page > div > .btn { width: auto; }
.pad { padding: 24px 16px; }
.err { color: var(--red); }
.muted { color: var(--mute); font-size: 15px; }
h1 { font-size: 27px; line-height: 1.15; margin: 4px 0 10px; letter-spacing: -.3px; }
h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .09em; color: var(--mute); margin: 26px 0 10px; }
h3 { font-size: 16px; margin: 18px 0 8px; }
.card h2 { margin-top: 0; }
.brand { font-weight: 800; letter-spacing: .02em; font-size: 22px; color: var(--ink); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; margin: 0 0 14px; }
.card.empty { text-align: center; padding: 40px 16px; }
.card.empty .ico { width: 34px; height: 34px; color: var(--g); margin-bottom: 8px; }
.card.empty .btn { margin-top: 10px; }
.spons { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--mute); margin-bottom: 4px; }
.phase { color: var(--mute); margin: 0 0 12px; font-size: 15px; }
.status { margin: 12px 0 0; font-size: 15px; color: var(--mute); min-height: 1em; }
.opts { display: grid; gap: 10px; }
.opt { font: inherit; font-weight: 700; font-size: 17px; text-align: left; padding: 15px 16px; border-radius: 14px; border: 2px solid var(--g); background: var(--bg); color: var(--ink); cursor: pointer; }
.opt.on { background: var(--g); color: var(--g-ink); }
.opt:disabled { opacity: .45; cursor: default; }
input, select, textarea { font: inherit; font-size: 16px; width: 100%; padding: 12px 14px; margin: 0 0 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--ink); }
textarea { resize: vertical; margin: 0; }
.btn { display: block; text-align: center; text-decoration: none; font: inherit; font-weight: 700; width: 100%; padding: 14px 16px; border: 0; border-radius: 14px; background: var(--g); color: var(--g-ink); cursor: pointer; }
.btn[hidden] { display: none; }
.btn.small { display: inline-block; width: auto; padding: 10px 18px; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); margin-top: 8px; margin-bottom: 8px; }
.link { font: inherit; font-size: 14px; background: none; border: 0; padding: 4px 6px; color: var(--mute); cursor: pointer; }
.link.on { color: var(--g); font-weight: 700; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
.chip { font: inherit; font-size: 14px; white-space: nowrap; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; }
.chip.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip small { opacity: .7; }
.res { margin-top: 4px; }
.res-meta { color: var(--mute); font-size: 14px; margin-bottom: 8px; }
.res-row { margin: 0 0 16px; }
.res-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; }
.res-label { font-weight: 700; }
.delta { font-size: 13px; font-weight: 700; color: var(--mute); }
.delta.up { color: var(--ok); } .delta.down { color: var(--red); }
.shift { margin: 10px 0 6px; }
.moves { margin: 0; padding-left: 20px; color: var(--mute); font-size: 15px; }
.cm-group { border-top: 1px solid var(--line); padding: 10px 0; }
.cm { padding: 2px 0; }
.cm.reply { margin: 8px 0 0 14px; padding-left: 12px; border-left: 3px solid var(--line); }
.cm.gone p { color: var(--mute); font-style: italic; }
.cm p { margin: 2px 0 2px; white-space: pre-wrap; overflow-wrap: anywhere; }
.cm-head { font-size: 15px; }
.cm-acts { display: flex; gap: 4px; margin-left: -6px; }
.sway { margin-left: 8px; font-size: 12px; font-weight: 700; color: var(--ok); border: 1px solid var(--ok); border-radius: 999px; padding: 1px 8px; }
.compose { margin-top: 12px; display: grid; gap: 8px; }
.compose .btn { justify-self: end; }
.replying { font-size: 14px; color: var(--mute); }
.row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.row:first-of-type { border-top: 0; }
.col { display: flex; flex-direction: column; }
.joinrow { display: flex; gap: 8px; margin-top: 10px; }
.joinrow input, .joinrow select { margin: 0; }
.mono { font-family: ui-monospace, Menlo, monospace; letter-spacing: .1em; }
.hist-head { all: unset; display: grid; gap: 3px; width: 100%; cursor: pointer; }
.hist .mine { font-size: 15px; }
.detail { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 10px; }
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 11px 18px; border-radius: 999px; font-size: 15px; z-index: 50; max-width: 90vw; }
.toast.bad { background: var(--red); color: #fff; }
.sheet-bg { position: fixed; inset: 0; background: rgba(0,0,0,.45); display: flex; align-items: flex-end; z-index: 40; }
.sheet { background: var(--card); width: 100%; max-width: 560px; margin: 0 auto; border-radius: 20px 20px 0 0; padding: 20px 16px calc(20px + env(safe-area-inset-bottom)); max-height: 80vh; overflow: auto; }
.sheet h3 { margin-top: 0; font-size: 20px; }
.sheet-list { display: grid; gap: 8px; margin: 12px 0; }
.pick { all: unset; display: grid; gap: 2px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.pick span { color: var(--mute); font-size: 15px; overflow-wrap: anywhere; }
[hidden] { display: none !important; }
.card.empty h2 { text-transform: none; font-size: 22px; letter-spacing: 0; color: var(--ink); margin: 0 0 6px; }

.ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.appbar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: var(--bg); border-bottom: 1px solid var(--line); min-height: 56px; }
.appbar.home { justify-content: space-between; padding: 10px 16px; }
.back { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: var(--ink); text-decoration: none; }
.who { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 600; background: var(--bg); }
.who .ico { width: 18px; height: 18px; color: var(--g); }
.who.static { border: 0; color: var(--mute); font-weight: 500; padding-right: 4px; }
.hero { padding: 26px 16px 22px; background: radial-gradient(120% 90% at 100% 0%, var(--hero), transparent 65%), linear-gradient(var(--tint), var(--bg)); }
.hero h1 { font-size: 30px; line-height: 1.12; margin: 6px 0 8px; letter-spacing: -.4px; }
.eyebrow { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.hero .opts { margin-top: 4px; }
.btn.play { margin-top: 14px; }
.pills { display: flex; justify-content: center; gap: 10px; margin-top: 6px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; background: var(--bg); }
.pill .ico { width: 18px; height: 18px; color: var(--g); }
.plus-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.badge { font-size: 11px; font-weight: 800; letter-spacing: .1em; color: var(--g-ink); background: var(--g); padding: 3px 9px; border-radius: 999px; }
.sr { position: absolute; left: -9999px; }
.appbar + * { margin-top: 14px; }
.appbar + .hero { margin-top: 0; }


.head-right { display: flex; align-items: center; gap: 8px; }
.burger { display: grid; align-content: center; justify-items: center; gap: 5px; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); cursor: pointer; flex: none; }
.burger i { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); }
.drawer-bg { position: fixed; inset: 0; z-index: 45; background: rgba(0,0,0,.42); animation: fade .2s ease both; }
.drawer { position: absolute; top: 0; right: 0; bottom: 0; width: min(84vw, 310px); background: var(--bg); border-left: 1px solid var(--line); box-shadow: -8px 0 28px rgba(0,0,0,.2); padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom); display: flex; flex-direction: column; animation: slidein .24s cubic-bezier(.2,.8,.2,1) both; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 19px; }
.drawer-x { font: inherit; font-size: 28px; line-height: 1; width: 40px; height: 40px; border: 0; background: none; color: var(--mute); cursor: pointer; }
.drawer-list { padding: 8px; overflow: auto; }
.drawer-item { display: flex; align-items: center; gap: 14px; padding: 14px 12px; border-radius: 12px; color: var(--ink); text-decoration: none; font-weight: 600; cursor: pointer; }
.drawer-item .ico { color: var(--g); }
.drawer-item:active { background: var(--tint); }
.drawer-item .badge { margin-left: auto; }
.drawer-item.locked { opacity: .55; }
.drawer-item.locked .ico { color: var(--mute); }
.drawer-sep { height: 1px; background: var(--line); margin: 8px 4px; }
@keyframes slidein { from { transform: translateX(100%); } to { transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.dock { margin-top: 16px; margin-bottom: 14px; }

.tag { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); border: 1px solid var(--line); border-radius: 999px; padding: 2px 8px; white-space: nowrap; }
.fine.left { text-align: left; margin: 0; }
.mini-bar { display: flex; height: 12px; border-radius: 6px; overflow: hidden; background: var(--line); }
.mini-bar i { display: block; height: 100%; }
.mini-key { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 7px; font-size: 13px; color: var(--mute); }
.mini-key span { display: inline-flex; align-items: center; gap: 5px; }
.mini-key span i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.mini-key em { margin-left: auto; font-style: normal; }
.o0 { background: #1f7a4f; } .o1 { background: #9bcfb3; } .o2 { background: #57b583; } .o3 { background: #b9c6bf; }
@keyframes unfold { from { opacity: 0; transform: perspective(700px) rotateX(-70deg) translateY(-10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .node, .trail-label, .node-detail, .drawer, .drawer-bg { animation: none; } }
.plus-row { display: flex; align-items: center; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r); color: var(--g); text-decoration: none; background: var(--bg); }
.plus-row .badge { margin-left: auto; }
.link.center { display: block; text-align: center; margin-top: 8px; text-decoration: none; }
.price { font-size: 38px; font-weight: 800; margin: 6px 0 10px; }
.price small { font-size: 16px; font-weight: 500; color: var(--mute); }
.perks { padding-left: 20px; margin: 0 0 16px; line-height: 1.6; }
.perks .soon { color: var(--mute); }
.fine { font-size: 13px; margin: 10px 0 0; text-align: center; }
.appbar + .map-q { margin-top: 14px; }

/* v8: strength scale, bottom bar, tally */
.o0 { background: #1f7a4f; } .o1 { background: #9bcfb3; } .o2 { background: #57b583; } .o3 { background: #b9c6bf; }
.split { display: flex; height: 16px; border-radius: 8px; overflow: hidden; background: var(--line); margin: 6px 0 12px; }
.split i { display: block; height: 100%; }
.stat-row { display: grid; grid-template-columns: auto 1fr auto; column-gap: 10px; align-items: baseline; padding: 6px 0; }
.stat-row small { grid-column: 2 / 4; margin-top: -2px; font-size: 13px; }
.dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; }
.feel { margin: 16px 0 14px; }
.feel[hidden] { display: none; }
.feel-q { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; margin-bottom: 8px; }
.feel-q strong { color: var(--g); font-size: 20px; }
.scale { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; }
.sc { font: inherit; font-size: 15px; font-weight: 700; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--mute); cursor: pointer; padding: 0; }
.sc.on { background: var(--g); border-color: var(--g); color: var(--g-ink); }
.sc:disabled { opacity: .5; cursor: default; }
.scale-ends { display: flex; justify-content: space-between; font-size: 12px; color: var(--mute); margin-top: 6px; }
.page:has(.tabbar) { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; width: 100%; max-width: 560px; margin: 0 auto !important; z-index: 20; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--bg); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
.tab { all: unset; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 6px 2px; border-radius: 12px; color: var(--mute); text-align: center; cursor: pointer; min-width: 0; }
.tab .ico { width: 24px; height: 24px; }
.tab span { font-size: 12px; font-weight: 700; color: var(--ink); line-height: 1.1; }
.tab small { font-size: 11px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tab.on { background: var(--tint); color: var(--g); }
.tab.on span { color: var(--g); }
.tab.dim { opacity: .6; }
.tab:focus-visible { outline: 2px solid var(--g); }
.gm-bg { position: fixed; inset: 0; background: rgba(0,0,0,.28); z-index: -1; }
.gm-bg[hidden], .gmenu[hidden] { display: none; }
.gmenu { position: absolute; left: 8px; right: 8px; bottom: calc(100% + 6px); max-height: 60vh; overflow: auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 10px 30px rgba(0,0,0,.2); padding: 6px; }
.gm-item { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 10px; color: var(--ink); text-decoration: none; }
.gm-item:hover, .gm-item:focus-visible { background: var(--tint); }
.gm-item strong { flex: 1; }
.gm-item small { color: var(--mute); }
.gm-item .ico { width: 20px; height: 20px; color: var(--g); }
.gm-sep { height: 1px; background: var(--line); margin: 4px 6px; }
.tcols { display: grid; gap: 18px; margin-top: 10px; }
.tcol { min-width: 0; display: flex; flex-direction: column; }
.tcol-head { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; margin-bottom: 8px; min-width: 0; }
.tcol-head span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bars { display: flex; align-items: flex-end; gap: 3px; height: 120px; padding: 0 4px; border-bottom: 2px solid var(--ink); background: repeating-linear-gradient(to top, transparent 0, transparent calc(25% - 1px), var(--line) calc(25% - 1px), var(--line) 25%); border-radius: 6px 6px 0 0; }
.bar { flex: 1 1 0; max-width: 18px; min-width: 4px; border-radius: 4px 4px 0 0; }
.bar.me { outline: 2px solid var(--ink); outline-offset: 1px; }
.postal { display: grid; gap: 6px; margin-top: 12px; }
.found { margin: 0 0 12px; font-size: 14px; min-height: 20px; color: var(--mute); }
.found.ok { color: var(--ok); font-weight: 600; }
.found.bad { color: var(--red); }
.votecard { padding: 12px 14px; }
.vc-sum { display: flex; align-items: center; gap: 12px; }
.vc-txt { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 4px; }
.vc-txt small { flex-basis: 100%; }
.vc-btn { margin: 0 !important; }
.vc-body { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 4px; }
.tcols + .fine { margin-top: 12px; }
.vc-body[hidden] { display: none; }
body:has(.tabbar) .toast { bottom: calc(100px + env(safe-area-inset-bottom)); }

.streakrow{display:flex;align-items:center;gap:.75rem;margin-top:.9rem;flex-wrap:wrap}
.streak{font-weight:700;color:var(--ink,#124a30)}

/* v10: donut charts */
.donut-wrap{display:flex;justify-content:center;margin:8px 0 14px}
.donut{display:block;max-width:100%}
.donut .ds{stroke-linecap:butt}
.ds0{stroke:#1f7a4f}.ds1{stroke:#9bcfb3}.ds2{stroke:#57b583}.ds3{stroke:#b9c6bf}
.ds-empty{stroke:var(--line)}
.donut .me{stroke-opacity:1;filter:drop-shadow(0 0 1.2px var(--ink))}
.dn-big{font-size:17px;font-weight:800;text-anchor:middle;fill:var(--ink)}
.dn-sm{font-size:7px;text-anchor:middle;fill:currentColor;opacity:.65}

/* v11: splash */
.splash{padding:28px 18px 40px;max-width:480px;margin:0 auto}
.brand.big{font-size:30px;font-weight:900;letter-spacing:.06em;color:var(--green,#1f7a4f);margin-bottom:6px}
.splash h1{font-size:26px;line-height:1.15;margin:0 0 18px}
.steps{list-style:none;padding:0;margin:0 0 18px;display:grid;gap:14px}
.steps li{display:flex;gap:12px;align-items:flex-start}
.steps .sn{flex:none;width:28px;height:28px;border-radius:50%;background:#1f7a4f;color:#fff;font-weight:800;display:grid;place-items:center}
.steps p{margin:2px 0 0}
.zipcard{margin:6px 0 18px}
.zip-q{font-weight:700;display:block;margin-bottom:4px}
.splash input.zip,.splash select{width:100%;margin-top:8px}
.splash .btn.play{width:100%}
.splash .skip{display:block;margin:14px auto 0}

/* v12: free group, faces */
.avatar{display:inline-grid;place-items:center;border-radius:50%;background:#cfe6da;color:#124a30;font-weight:800;overflow:hidden;flex:none;vertical-align:middle}
.avatar img{width:100%;height:100%;object-fit:cover;display:block}
.cm-head .avatar{margin-right:6px}
.photo-row{display:flex;gap:12px;align-items:flex-start;margin:12px 0}
.photo-acts{display:flex;gap:12px;align-items:center}
.faces-col{margin:14px 0 4px}
.faces-head{display:flex;align-items:center;gap:6px;margin-bottom:8px}
.faces{display:flex;flex-wrap:wrap;gap:12px}
.face{display:flex;flex-direction:column;align-items:center;width:64px;text-align:center}
.face small{margin-top:3px;max-width:64px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.face-av{position:relative;display:inline-block}
.face-av .str{position:absolute;right:-6px;bottom:-4px;min-width:20px;height:20px;border-radius:10px;background:#1f7a4f;color:#fff;font-size:12px;display:grid;place-items:center;border:2px solid var(--bg,#fff)}
.face.me .avatar{outline:3px solid #1f7a4f;outline-offset:1px}
.invite{display:flex;align-items:center;gap:12px;margin:10px 0}
.invite .code{font-size:24px;letter-spacing:.12em}
/* v12: daily loop */
.tl { display: flex; gap: 6px; margin: 4px 0 12px; }
.tl-step { flex: 1; text-align: center; font-size: 12px; font-weight: 700; padding: 6px 4px; border-radius: 999px; background: var(--bg); color: var(--mute); border: 1px solid var(--line); white-space: nowrap; }
.tl-step.done { color: var(--ink); opacity: .55; }
.tl-step.on { background: var(--g); color: var(--g-ink); border-color: var(--g); }
.upd { font-size: 14px; color: var(--ink); background: var(--tint); border-radius: 10px; padding: 7px 10px; margin: 8px 0; line-height: 1.5; }
.upd.flip { border-left: 4px solid var(--g); }
.upd .dot { vertical-align: middle; }
.upd-by { font-weight: 600; color: var(--g); }
.flipped { color: var(--g); font-weight: 700; font-size: 11px !important; }
.card.award { text-align: center; background: var(--hero); border-color: transparent; }
.aw-title { font-size: 24px; font-weight: 800; margin: 4px 0; }
.card.award p { margin: 0; }
.aw-row { display: grid; grid-template-columns: 90px 1fr; column-gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.aw-row:first-of-type { border-top: 0; }
.aw-row strong { grid-row: span 2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aw-row span { font-weight: 700; }
.aw-row.me strong, .aw-row.me span { color: var(--g); }
.aw-pill { display: inline-block; font-size: 13px; font-weight: 700; color: var(--g); }
.democlock { border-top: 1px solid var(--line); margin-top: 12px; padding: 12px 16px; }
.chips.wrap { flex-wrap: wrap; margin-top: 6px; }
.pill.demo { padding: 3px 9px; font-size: 12px; color: var(--g); }
.link-row { color: inherit; text-decoration: none; align-items: center; }
.place select { margin-bottom: 10px; }

/* ===== v13: playful 8-bit theme (overrides everything above) ===== */
@font-face { font-family: 'Press Start 2P'; src: url(/fonts/press-start-2p.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'Atkinson Hyperlegible Mono'; src: url(/fonts/atkinson-hyperlegible-mono-latin-400-normal.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Atkinson Hyperlegible Mono'; src: url(/fonts/atkinson-hyperlegible-mono-latin-700-normal.woff2) format('woff2'); font-weight: 700 900; font-display: swap; }
:root {
  --bg: #fcf0d4; --card: #ffffff; --ink: #1a1a1a; --mute: #5c5470; --line: #1a1a1a; --edge: #1a1a1a;
  --g: #e4002b; --g-ink: #ffffff; --tint: #fff3b0; --red: #c4001f; --ok: #008a2e;
  --sky: #5c94fc; --coin: #fcbc1c; --pipe: #00a83a; --brick: #c84c0c; --hero: #fff3b0; --wood: #b0703a;
  --picket: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='32' shape-rendering='crispEdges'%3E%3Crect x='0' y='11' width='24' height='7' fill='%231a1a1a'/%3E%3Crect x='0' y='12' width='24' height='4' fill='%238a5226'/%3E%3Crect x='0' y='16' width='24' height='1' fill='%235e3414'/%3E%3Crect x='0' y='22' width='24' height='7' fill='%231a1a1a'/%3E%3Crect x='0' y='23' width='24' height='4' fill='%238a5226'/%3E%3Crect x='0' y='27' width='24' height='1' fill='%235e3414'/%3E%3Crect x='9' y='0' width='6' height='2' fill='%231a1a1a'/%3E%3Crect x='7' y='2' width='10' height='2' fill='%231a1a1a'/%3E%3Crect x='5' y='4' width='14' height='28' fill='%231a1a1a'/%3E%3Crect x='9' y='2' width='6' height='2' fill='%23b0703a'/%3E%3Crect x='7' y='4' width='10' height='28' fill='%23b0703a'/%3E%3Crect x='8' y='5' width='2' height='26' fill='%23d4955a'/%3E%3Crect x='15' y='5' width='2' height='27' fill='%237a4520'/%3E%3Crect x='11' y='14' width='2' height='2' fill='%234a2a10'/%3E%3Crect x='11' y='24' width='2' height='2' fill='%234a2a10'/%3E%3C/svg%3E");
  --px: 4px; --r: 0px;
  --pixel: 'Press Start 2P', ui-monospace, monospace; --body: 'Atkinson Hyperlegible Mono', ui-monospace, Menlo, monospace;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #10102a; --card: #22224a; --ink: #f8f8f8; --mute: #b8b0d8; --line: #000000; --edge: #000000;
    --g: #ff3b5c; --g-ink: #ffffff; --tint: #34346a; --red: #ff6b7f; --ok: #5cf08a; --sky: #1c2c78; --hero: #34346a; }
}
html, body { font-family: var(--body); font-size: 17px; line-height: 1.4;
  background-color: var(--bg);
  background-image: radial-gradient(color-mix(in srgb, var(--ink) 9%, transparent) 1px, transparent 1.5px); background-size: 16px 16px; }
* { border-radius: 0 !important; }
:focus-visible { outline: 3px dashed var(--g) !important; outline-offset: 3px; }

/* type */
h1, .hero h1, .splash h1 { font-family: var(--pixel); font-size: 19px; line-height: 1.5; letter-spacing: 0; }
h2, .card.empty h2 { font-family: var(--pixel); font-size: 11px; line-height: 1.6; letter-spacing: .04em; color: var(--ink); }
.card.empty h2 { font-size: 13px; text-transform: none; }
h3, .sheet h3 { font-family: var(--pixel); font-size: 12px; line-height: 1.6; }
.brand { font-family: var(--pixel); font-size: 13px; white-space: nowrap; color: var(--g); text-shadow: 2px 2px 0 var(--edge); }
.brand.big { font-size: 26px; color: var(--g); text-shadow: 4px 4px 0 var(--edge); letter-spacing: .04em; margin-bottom: 14px; }
.eyebrow, .tag, .badge, .spons { font-family: var(--pixel); font-size: 10px; letter-spacing: .06em; }
.muted, .phase, .status { color: var(--mute); }

/* chunky pixel boxes: a 4px frame with notched corners */
.card, .sheet, .gmenu, .pick, .plus-row, .tl-step, .upd {
  border: 0 !important;
  box-shadow: 0 calc(-1 * var(--px)) 0 0 var(--edge), 0 var(--px) 0 0 var(--edge), calc(-1 * var(--px)) 0 0 0 var(--edge), var(--px) 0 0 0 var(--edge);
}
.card { margin: 8px 4px 22px; }
.page > div > *:not(.appbar):not(.hero).card { margin-left: 20px; margin-right: 20px; }
.card.award { background: var(--coin); color: #1a1a1a; }
.card.award .muted, .card.award p { color: #1a1a1a; }
.card.award .aw-title { font-family: var(--pixel); font-size: 18px; line-height: 1.5; margin: 10px 0; }
.card.award .aw-title::before, .card.award .aw-title::after { content: '★'; color: #fff; text-shadow: 2px 2px 0 #1a1a1a; margin: 0 8px; }
.card.plus, .card.plan { background: var(--tint); }

/* buttons press down like a d-pad */
.btn, .opt, .sc, .chip, .burger, .who, .pill, .back, .drawer-x {
  border: 3px solid var(--edge) !important; box-shadow: 4px 4px 0 var(--edge); transition: transform .05s, box-shadow .05s;
}
.btn { font-family: var(--pixel); font-size: 12px; line-height: 1.5; padding: 15px 14px; background: var(--g); color: var(--g-ink); text-shadow: 2px 2px 0 rgba(0,0,0,.35); }
.btn.small { font-size: 10px; padding: 10px 14px; }
.btn.ghost { background: var(--card); color: var(--ink); text-shadow: none; }
.btn:active, .opt:active, .sc:active, .chip:active, .burger:active, .who:active, .pill:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--edge); }
.btn.play { background: var(--pipe); font-size: 15px; }
.btn.play::before { content: '▶ '; }

/* options and the 1-10 scale */
.opt { background: var(--card); font-size: 19px; padding: 14px 16px 14px 40px; position: relative; }
.opt.on { background: var(--sky); color: #fff; text-shadow: 2px 2px 0 rgba(0,0,0,.4); }
.opt.on::before { content: '▶'; position: absolute; left: 14px; animation: blink 1s steps(1) infinite; }
.sc { font-family: var(--pixel); font-size: 10px; background: var(--card); color: var(--ink); border-width: 2px !important; box-shadow: 2px 2px 0 var(--edge); }
.sc.on { background: var(--coin); color: #1a1a1a; }
.feel-q strong { font-family: var(--pixel); font-size: 14px; color: var(--g); }
.scale { gap: 5px; }

/* inputs */
input, select, textarea { border: 3px solid var(--edge); background: var(--card); font-family: var(--body); font-size: 16px; }
input:focus, select:focus, textarea:focus { outline: none; background: var(--tint); }

/* header, drawer, chips */
.appbar { background: var(--card); border-bottom: 4px solid var(--edge); }
.who { background: var(--coin); color: #1a1a1a; font-weight: 700; padding: 6px 10px; }
.who .ico { color: #1a1a1a; }
.who.static { background: none; border: 0 !important; box-shadow: none; color: var(--mute); }
.burger { background: var(--card); }
.burger i { height: 4px; width: 20px; }
.drawer { background: var(--card); border-left: 4px solid var(--edge); box-shadow: none; animation-timing-function: steps(6); }
.drawer-head { font-family: var(--pixel); font-size: 12px; border-bottom: 4px solid var(--edge); }
.drawer-item { font-weight: 700; font-size: 17px; }
.drawer-item:active, .drawer-item:hover { background: var(--tint); }
.drawer-item:hover::after { content: '◀'; margin-left: auto; color: var(--g); }
.drawer-sep { height: 4px; background: var(--edge); }
.chip { background: var(--card); font-weight: 700; border-width: 2px !important; box-shadow: 2px 2px 0 var(--edge); padding: 6px 12px; }
.chip.on { background: var(--sky); color: #fff; }
.chips { padding: 4px 4px 10px; }
.badge { background: var(--g); color: #fff; padding: 4px 7px; }
.pill.demo { font-family: var(--pixel); font-size: 9px; background: var(--coin); color: #1a1a1a; border-width: 2px !important; box-shadow: 2px 2px 0 var(--edge); }

/* hero: blue sky over a wooden picket fence */
.hero { background: var(--sky); color: #fff; padding-bottom: 56px; position: relative; border-bottom: 4px solid var(--edge); }
.hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 32px;
  background: var(--picket) repeat-x left bottom / 24px 32px; image-rendering: pixelated; }
.hero h1 { color: #fff; text-shadow: 3px 3px 0 var(--edge); }
.hero .eyebrow, .hero .phase { color: #fff; opacity: .92; }
.hero .status { color: #fff; }
.hero .feel-q, .hero .scale-ends, .hero .muted { color: #fff; }
.hero .feel-q strong { color: var(--coin); text-shadow: 2px 2px 0 var(--edge); }

/* day timeline: three level markers */
.tl { gap: 10px; margin: 10px 4px 16px; }
.tl-step { font-family: var(--pixel); font-size: 9px; line-height: 1.5; padding: 8px 2px; background: var(--card); color: var(--ink); }
.tl-step.done { opacity: .7; }
.tl-step.on { background: var(--coin); color: #1a1a1a; }
.tl-step.on::before { content: '★ '; }

/* chat */
.cm-group { border-top: 3px dotted var(--edge); }
.cm-head strong { font-weight: 700; }
.cm.reply { border-left: 4px solid var(--edge); }
.upd { background: var(--tint); margin: 12px 4px; font-size: 15px; }
.upd.flip { border-left: 0 !important; background: color-mix(in srgb, var(--coin) 55%, var(--card)); }
.upd.flip::before { content: '⇄ '; font-weight: 900; color: var(--g); }
.upd-by { color: var(--g); font-weight: 700; }
.sway { font-family: var(--pixel); font-size: 9px; border: 2px solid var(--ok); padding: 2px 6px; }
.compose .btn { font-size: 10px; }

/* members, faces, awards */
.o0, .steps .sn { background: var(--g); } .o1 { background: var(--sky); } .o2 { background: var(--pipe); } .o3 { background: var(--coin); }
.ds0 { stroke: var(--g); } .ds1 { stroke: var(--sky); } .ds2 { stroke: var(--pipe); } .ds3 { stroke: var(--coin); }
.ds-empty { stroke: color-mix(in srgb, var(--ink) 15%, transparent); }
.donut .ds0 { stroke: var(--g); } .donut .ds1 { stroke: var(--sky); } .donut .ds2 { stroke: var(--pipe); } .donut .ds3 { stroke: var(--coin); }
.dn-big { font-family: var(--pixel); font-size: 12px; }
.dn-sm { font-family: var(--body); }
.dot { width: 12px; height: 12px; box-shadow: 0 0 0 2px var(--edge); }
.split, .mini-bar { border: 3px solid var(--edge); height: 20px; }
.avatar { background: var(--coin); color: #1a1a1a; font-family: var(--pixel); font-size: 12px !important; box-shadow: 0 0 0 3px var(--edge); }
.face.me .avatar { outline: 3px solid var(--g); outline-offset: 3px; }
.face-av .str { background: var(--g); font-family: var(--pixel); font-size: 8px; border: 2px solid var(--edge); }
.face small { font-size: 14px; }
.aw-row { border-top: 3px dotted var(--edge); }
.aw-row:first-of-type { border-top: 0; }
.aw-row span { font-family: var(--pixel); font-size: 11px; line-height: 1.6; }
.aw-row.me span::before { content: '★ '; color: var(--coin); text-shadow: 1px 1px 0 var(--edge); }
.aw-pill { font-family: var(--pixel); font-size: 10px; }
.streak { font-family: var(--pixel); font-size: 11px; }
.price { font-family: var(--pixel); font-size: 26px; color: var(--g); text-shadow: 3px 3px 0 var(--edge); }
.price small { font-family: var(--body); text-shadow: none; }
.perks li::marker { content: '■ '; color: var(--g); }
.invite .code { font-family: var(--pixel); font-size: 18px; background: var(--coin); color: #1a1a1a; padding: 8px 10px; box-shadow: 0 0 0 3px var(--edge); }
.shift strong { font-family: var(--pixel); color: var(--g); }

/* splash */
.splash h1 { font-size: 17px; }
.steps { gap: 18px; }
.steps .sn { font-family: var(--pixel); font-size: 12px; color: #fff; box-shadow: 0 0 0 3px var(--edge), 3px 3px 0 3px var(--edge); }
.steps li:nth-child(2) .sn { background: var(--sky); } .steps li:nth-child(3) .sn { background: var(--pipe); } .steps li:nth-child(4) .sn { background: var(--coin); color: #1a1a1a; }
.steps strong { font-family: var(--pixel); font-size: 11px; line-height: 1.6; }
.found.ok { color: var(--ok); font-weight: 700; }
.found.ok::before { content: '✓ '; }

/* dialogs and toasts: RPG text boxes */
.toast { font-family: var(--pixel); font-size: 10px; line-height: 1.6; background: #1a1a1a; color: #fff; border: 4px solid #fff; box-shadow: 0 0 0 4px #1a1a1a; padding: 12px 16px; }
.toast.bad { background: var(--red); }
.sheet { margin-bottom: 0; }
.pick { margin: 4px; background: var(--card); }
.pick:active { background: var(--tint); }
.tabbar { border-top: 4px solid var(--edge); background: var(--card); }
.tab.on { background: var(--tint); }

@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .opt.on::before { animation: none; } .btn, .opt, .sc, .chip { transition: none; } }

/* v14: longer brand ("The Fence") — let the username chip shrink instead of the menu */
.appbar.home { gap: 10px; }
.appbar.home .brand { flex: 0 0 auto; }
.head-right { min-width: 0; flex: 0 1 auto; }
.head-right .who { min-width: 0; flex: 0 1 auto; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; display: inline-block; max-width: 100%; }
.head-right .who .ico { vertical-align: -3px; margin-right: 6px; }
.head-right .pill.demo, .head-right .burger { flex: 0 0 auto; }

/* v14: "I'm on the fence" — the built-in last answer, in fence-wood brown */
.of { background: var(--wood); }
.dsf, .donut .dsf { stroke: var(--wood); }
.opt.fence-opt { margin-top: 6px; background: #f3dcc0; color: #4a2a10; font-size: 15px; }
.opt.fence-opt::after { content: ''; position: absolute; right: 12px; top: 50%; width: 48px; height: 32px; margin-top: -16px;
  background: inherit; background-image: var(--picket); background-size: 24px 32px; image-rendering: pixelated; }
.opt.fence-opt.on { background: var(--wood); color: #fff; }
.opt.fence-opt.on::after { background-color: var(--wood); }
.feel-fence { margin: 6px 2px 14px; font-size: 15px; line-height: 1.5; }
@media (prefers-color-scheme: dark) { .opt.fence-opt { background: #3a2a1c; color: #f3dcc0; } }

/* v15: emoji avatars, the fence field, replies on vote changes */
/* v16: emoji avatars are 8-bit sprites (app/sprites.png?v=a99285cf) */
.spr { display: inline-block; flex: none; background-image: url(/sprites.png?v=a99285cf); background-repeat: no-repeat; image-rendering: pixelated; image-rendering: crisp-edges; vertical-align: middle; }
.av-pick { display: flex; align-items: center; justify-content: center; }
.avatar.emo { font-size: var(--es, 20px) !important; color: #1a1a1a; font-family: system-ui, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; line-height: 1; }
.avbox .photo-row { margin-bottom: 12px; }
.av-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(40px, 1fr)); gap: 6px; margin: 8px 0 12px; }
.av-pick { font-size: 22px; line-height: 1; height: 40px; border: 2px solid var(--edge); background: var(--card); cursor: pointer; padding: 0;
  font-family: system-ui, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; }
.av-pick.on { background: var(--coin); box-shadow: inset 0 0 0 3px var(--edge); }
.av-pick.perk { border-color: #f8b800; box-shadow: 0 0 0 2px #f8b800; }
.av-pick.perk.on { box-shadow: inset 0 0 0 3px var(--edge), 0 0 0 2px #f8b800; }
.av-colors { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.av-sw { width: 34px; height: 34px; border: 3px solid var(--edge); cursor: pointer; padding: 0; }
.av-sw.on { outline: 3px solid var(--coin); outline-offset: 2px; }

.ff { position: relative; width: min(100%, 320px); margin: 10px auto 12px; background: #8fd16a;
  background-image: radial-gradient(#6fb64c 1.5px, transparent 1.6px); background-size: 16px 16px;
  border: 4px solid var(--edge); box-shadow: 4px 4px 0 var(--edge); overflow: hidden; }
.ff-svg { position: absolute; inset: 0; width: 100%; height: 100%; shape-rendering: crispEdges; }
.ff-edge { stroke: var(--edge); stroke-linecap: square; }
.ff-rail { stroke: var(--wood); stroke-linecap: square; }
.ff-post { fill: #d08a4c; stroke: var(--edge); stroke-width: 2; }
.ff-l { position: absolute; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 5px; background: #fff; color: #1a1a1a;
  border: 2px solid var(--edge); padding: 2px 6px; font-size: 13px; white-space: nowrap; z-index: 2; }
.ff-l span { overflow: hidden; min-width: 0; flex: 1; white-space: normal; line-height: 1.1; font-size: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ff-l b { font-family: var(--pixel); font-size: 10px; }
.ff-l .dot { flex: none; width: 10px; height: 10px; }
.ff-p { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; width: 70px; z-index: 3; }
.ff-p small { font-size: 11px; line-height: 1.1; margin-top: 2px; max-width: 70px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  background: rgba(255,255,255,.85); color: #1a1a1a; padding: 0 3px; }
.ff-p.me .avatar { outline: 3px solid var(--g); outline-offset: 2px; }
.ff-p.me small { background: var(--coin); font-weight: 700; }
.ff-p.sitter .avatar { box-shadow: 0 0 0 3px var(--wood), 0 0 0 5px var(--edge); }
.ff-p .str { right: -8px; bottom: -6px; }
.ff-p .sw-mark { position: absolute; left: -8px; top: -6px; font-style: normal; background: var(--coin); color: #1a1a1a; border: 2px solid var(--edge);
  font-size: 10px; line-height: 14px; width: 18px; text-align: center; }
@media (prefers-color-scheme: dark) { .ff { background-color: #2f6b2a; background-image: radial-gradient(#245320 1.5px, transparent 1.6px); } }

.upd .avatar { margin-right: 2px; box-shadow: 0 0 0 2px var(--edge); }
.upd .upd-reply { margin-left: 8px; font-size: 14px; }
.upd-group > .cm.reply { margin-top: 6px; }

/* v17: notifications card */
.notify-list { display: grid; gap: 10px; margin: 10px 0 14px; }
.notify-list .check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.notify-list .check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--coin, #fcbc1c); flex: none; }
.notifybox .row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

/* v18: award badges. The sprite stays full size; the award floats over the top-right corner (app/badges.png?v=b3a8aff9) */
.avatar { position: relative; }
.avatar.awarded { overflow: visible; }
.avatar.awarded img { position: absolute; inset: 0; }
.avatar .aw-badge { position: absolute; top: 0; right: 0; transform: translate(45%, -45%); z-index: 2; display: block; line-height: 0; background: #f6ead0; box-shadow: 0 0 0 2px var(--edge); }
.bdg-i { display: block; background-image: url(/badges.png?v=b3a8aff9); background-repeat: no-repeat; image-rendering: pixelated; image-rendering: crisp-edges; }
.aw-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; margin-top: 8px; }
.aw-pick { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 4px 8px; border: 2px solid var(--edge); background: var(--card); cursor: pointer; font: inherit; font-size: 11px; line-height: 1.2; text-align: center; color: inherit; }
.aw-pick.on { border-color: var(--g); box-shadow: 0 0 0 2px var(--g); }
.aw-av { display: flex; justify-content: center; margin: 10px 0 6px; }
/* demo: every award with its badge and blurb */
.aw-all { margin-top: 14px; text-align: left; }
.aw-all .aw-row { grid-template-columns: 32px 1fr; align-items: center; }
.aw-all .aw-row > :first-child { grid-row: span 2; align-self: start; }
.aw-all .aw-row strong { grid-row: auto; white-space: normal; }
/* accounts */
.auth .card { margin-top: 14px; }
.auth h1 { margin-bottom: 8px; }
.reco { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.reco .code { font-family: ui-monospace, Menlo, monospace; font-size: 20px; letter-spacing: .06em; user-select: all; -webkit-user-select: all; }
.invlink { font-family: ui-monospace, Menlo, monospace; font-size: 14px; word-break: break-all; padding: 12px; margin: 10px 0; border: 1px dashed var(--line); border-radius: 12px; user-select: all; -webkit-user-select: all; }
.pklist .row small { font-size: 13px; }
.howto{margin:6px 0 4px;padding-left:22px;text-align:left}
.howto li{margin:6px 0;line-height:1.4}
.splash .card{text-align:left;margin:0 0 14px}
.drawer-item.sub{padding-left:44px;font-size:15px}
.drawer-item.sub .gdot{width:8px;height:8px;border-radius:50%;background:currentColor;opacity:.45;margin-right:10px;flex:none}
/* welcome pages: swipe with scroll-snap, dots below */
.splash.paged{padding:0;height:100vh;height:100dvh;display:flex;flex-direction:column;box-sizing:border-box}
.pager{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch;flex:1;min-height:0;align-items:stretch}
.pager::-webkit-scrollbar{display:none}
.pager .wpage{flex:0 0 100%;scroll-snap-align:start;scroll-snap-stop:always;padding:20px 18px 12px;box-sizing:border-box;overflow-y:auto;overscroll-behavior:contain}
.pager-nav{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 18px calc(14px + env(safe-area-inset-bottom))}
.dots{display:flex;gap:10px;justify-content:center;flex:1}
.dot-btn{width:12px;height:12px;padding:0;border-radius:50%;border:2px solid currentColor;background:transparent;opacity:.5;cursor:pointer}
.dot-btn.on{background:currentColor;opacity:1}
.splash .wpage .btn.play{margin-top:6px}
main.page:has(.splash.paged){padding:0}
.page > div > .splash.paged{margin:0;padding-top:env(safe-area-inset-top)}
.pager .wpage[hidden]{display:none}
.dot-btn:disabled{opacity:.2;cursor:default}

.fb-bg{display:flex;align-items:center;justify-content:center;padding:16px}
.fbbox{width:100%;max-width:440px;margin:0;background:var(--card,#fff);position:relative;z-index:1}
.fbbox textarea{width:100%;box-sizing:border-box;font:inherit;padding:10px;border-radius:12px;border:1px solid var(--line,#ccc);background:transparent;color:inherit;resize:vertical}
.fbbox .row{justify-content:flex-end;gap:12px;margin-top:10px}
.fb-body{white-space:pre-wrap;word-break:break-word}
button.drawer-item{background:none;border:0;font:inherit;color:inherit;width:100%;text-align:left;cursor:pointer}
.gp-mem{display:flex;align-items:flex-start;gap:12px;padding:10px 0;border-top:1px solid var(--line)}
.gp-mem:first-of-type{border-top:0}
.gp-who{flex:1;min-width:0}
.gp-tag{margin-left:8px;font-size:.75em;padding:1px 6px;border:1px solid var(--line);border-radius:6px;opacity:.8}
.gp-v{display:block;opacity:.7}.gp-v.yes{color:#1f8a3a;opacity:1}
.gp-aw{font-size:.9em;margin-top:2px}.gp-total{font-weight:700}
.gp-top{padding:8px 0;border-top:1px solid var(--line)}.gp-top:first-of-type{border-top:0}
.gp-body{margin:0 0 4px;white-space:pre-wrap;word-break:break-word}
.grp-row{display:flex;align-items:center;gap:8px}.grp-row .link-row{flex:1}
.grp-leave{flex:none}
/* group page: past polls carousel */
.pp-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pp-ctl { display: flex; align-items: center; gap: 8px; }
.pp-count { font-family: var(--pixel); font-size: 10px; white-space: nowrap; }
.pp-nav { min-width: 36px; padding: 6px 8px; font-size: 14px; }
.pp-nav:disabled { opacity: .35; }
.pp-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin-top: 8px; }
.pp-track::-webkit-scrollbar { display: none; }
.pp-slide { flex: 0 0 100%; scroll-snap-align: start; min-width: 0; }
.pp-slide .map-q { margin: 6px 0 10px; }

/* suggest a question */
.sg-ans { display: grid; gap: 8px; margin: 8px 0; }
.sg-mine h3 { margin-top: 18px; }
.sg-row { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-top: 1px solid var(--line, rgba(0,0,0,.1)); }
.sg-row small { white-space: nowrap; }
.sg-act { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: flex-end; }
.sg-act input { width: auto; }
.drawer-item .badge { margin-left: auto; }
.row.sg-admin { flex-direction: column; align-items: stretch; }
.sg-admin .sg-act { justify-content: flex-start; }
.sg-admin .sg-act .btn { width: auto; flex: 0 0 auto; padding-left: 18px; padding-right: 18px; }
/* why you got the award */
.aw-row strong { grid-row: span 3; }
.aw-row .aw-why { grid-column: 2; }
.aw-why { display: block; font-size: 13px; line-height: 1.35; margin-top: 4px; font-style: italic; }
.card.award p.aw-why { font-size: 14px; }

/* admin numbers */
.num-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 8px 0; }
.num-tile { background: var(--bg); border: 2px solid var(--line); padding: 10px 6px; text-align: center; }
.num-tile b { display: block; font-size: 22px; line-height: 1.1; }
.num-tile small { display: block; font-size: 11px; line-height: 1.2; color: var(--mute); margin-top: 4px; }
.num-day { display: grid; grid-template-columns: 84px 1fr 32px; column-gap: 8px; align-items: center; padding: 4px 0; }
.num-date { font-size: 12px; white-space: nowrap; }
.num-bar { height: 12px; background: var(--card); border: 1px solid var(--line); }
.num-bar i { display: block; height: 100%; background: var(--g, #2f8f63); min-width: 2px; }
.num-v { text-align: right; font-weight: 700; font-size: 14px; }
.num-extra { grid-column: 2 / 4; font-size: 11px; }
/* launch: terms checkbox, delete account, buying Plus, banning */
.check.agree { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; text-align: left; font-size: 14px; margin: 10px 0; }
.check.agree input { width: 20px; height: 20px; margin-top: 1px; flex: none; accent-color: var(--g); }
.check.agree a { color: var(--g); }
.btn.danger { background: var(--red); color: #fff; margin-top: 8px; }
.link.danger { color: var(--red); }
.buy .btn + .btn { margin-top: 10px; }
.legal { max-width: 680px; margin: 0 auto; padding: 24px 20px 64px; line-height: 1.6; text-align: left; }
.legal h1 { margin-bottom: 4px; } .legal h2 { margin-top: 28px; font-size: 18px; }
.legal a { color: var(--g); } .legal ul { padding-left: 20px; } .legal li { margin: 6px 0; }
