/* BAGWORK — timeline-native. Pure black, hairline borders, white pills, one blue. */
:root {
  --bg: #000;
  --bg-1: #0a0a0a;
  --bg-2: #16181c;
  --bg-3: #1d1f23;
  --hover: rgba(231, 233, 234, .06);
  --line: #2f3336;
  --line-2: #3e4144;
  --text: #e7e9ea;
  --dim: #8b9095;
  --faint: #5b6065;
  --blue: #1d9bf0;
  --blue-dim: rgba(29, 155, 240, .14);
  --green: #00ba7c;
  --green-dim: rgba(0, 186, 124, .14);
  --pink: #f91880;
  --gold: #ffd400;

  --sans: 'Inter', -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --side: 275px;
  --r: 16px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 15px/1.45 var(--sans); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.mono { font-family: var(--mono); }
.dim { color: var(--dim); }
.blue { color: var(--blue); }
.green { color: var(--green); }

/* ── Shell: sidebar + top bar + content ─────────────────── */
.side {
  position: fixed; inset: 0 auto 0 0; width: var(--side); z-index: 30;
  display: flex; flex-direction: column;
  padding: 10px 12px 14px;
  border-right: 1px solid var(--line);
  background: var(--bg);
}
.side-top { display: flex; align-items: center; justify-content: space-between; padding: 4px 8px 14px; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo svg, .logo-img { width: 30px; height: 30px; border-radius: 8px; }
.logo span { font: 800 20px/1 var(--sans); letter-spacing: -.03em; }
.collapse { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); background: none; display: grid; place-items: center; color: var(--dim); cursor: pointer; }
.collapse:hover { background: var(--hover); color: var(--text); }
.menu { display: grid; gap: 2px; }
.menu a {
  display: flex; align-items: center; gap: 18px;
  padding: 11px 14px; border-radius: 999px; width: fit-content;
  font-size: 19px; letter-spacing: -.01em; color: var(--text);
  transition: background .15s;
}
.menu a:hover { background: var(--hover); }
.menu a[aria-current=page] { font-weight: 700; }
.menu svg { width: 24px; height: 24px; flex: none; }
.side-cta { margin: 18px 4px 0; width: calc(100% - 8px); }
.side-foot { margin-top: auto; display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 999px; }
.side-foot:hover { background: var(--hover); }
.side-foot .who { min-width: 0; flex: 1; line-height: 1.25; }
.side-foot b { display: block; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-foot small { color: var(--dim); font-size: 14px; }

.shell { margin-left: var(--side); min-height: 100vh; }
.topbar {
  position: sticky; top: 0; z-index: 20;
  height: 60px; display: flex; align-items: center; gap: 16px; padding: 0 16px;
  background: rgba(0, 0, 0, .72); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar .m-logo { display: none; }
.search {
  flex: 1; max-width: 560px; margin: 0 auto; position: relative;
}
.search input {
  width: 100%; height: 44px; padding: 0 16px 0 44px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 999px;
  font-size: 15px; outline: none; transition: border-color .15s, background .15s;
}
.search input::placeholder { color: var(--dim); }
.search input:focus { border-color: var(--blue); background: var(--bg); }
.search > svg { position: absolute; left: 16px; top: 13px; width: 18px; height: 18px; color: var(--dim); pointer-events: none; }
.search-pop {
  position: absolute; top: 52px; left: 0; right: 0;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: 0 0 18px rgba(255, 255, 255, .08); overflow: hidden;
}
.top-actions { display: flex; gap: 8px; flex: none; }

/* ── Pills ─────────────────────────────────────────────── */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 18px; border-radius: 999px;
  font: 700 15px/1 var(--sans); cursor: pointer; white-space: nowrap;
  border: 1px solid var(--line-2); background: transparent; color: var(--text);
  transition: background .15s, opacity .15s;
}
.pill:hover { background: var(--hover); }
.pill-white { background: var(--text); color: #0f1419; border-color: var(--text); }
.pill-white:hover { background: #d7dbdc; }
.pill-blue { background: var(--blue); border-color: var(--blue); color: #fff; }
.pill-blue:hover { background: #1a8cd8; }
.pill-lg { height: 52px; padding: 0 28px; font-size: 17px; }
.pill-sm { height: 32px; padding: 0 14px; font-size: 14px; }
.pill[disabled] { opacity: .5; pointer-events: none; }
.pill svg { width: 16px; height: 16px; }

/* ── Hero ──────────────────────────────────────────────── */
.hero { text-align: center; padding: clamp(48px, 8vw, 96px) 20px clamp(40px, 5vw, 64px); }
.hero h1 {
  margin: 0 auto; max-width: 15ch;
  font: 700 clamp(44px, 6.4vw, 84px)/1.02 var(--sans);
  letter-spacing: -.045em;
}
.hero h1 .xmark { display: inline-block; width: .78em; height: .78em; vertical-align: -.06em; margin: 0 .04em; }
.hero p {
  margin: 22px auto 0; max-width: 560px;
  font-size: clamp(16px, 1.6vw, 19px); line-height: 1.55; color: var(--dim);
}
.hero p b { color: var(--text); font-weight: 600; }
.inline-chip {
  display: inline-flex; align-items: center; gap: 6px; vertical-align: 1px;
  padding: 2px 10px 2px 4px; margin: 0 2px; border: 1px solid var(--line-2); border-radius: 999px;
  color: var(--text); font-weight: 600; font-size: .9em;
}
.inline-chip i { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font: 800 10px/1 var(--sans); font-style: normal; }
.hero-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.live {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 26px;
  padding: 6px 14px 6px 10px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 13px; color: var(--dim);
}
.live::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(0,186,124,.6); animation: ping 1.8s infinite; }
.live b { color: var(--text); font-weight: 600; }
@keyframes ping { 70% { box-shadow: 0 0 0 7px rgba(0,186,124,0); } }

/* ── Bento ─────────────────────────────────────────────── */
.bento { max-width: 1240px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.card {
  position: relative; overflow: hidden;
  background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--r);
  min-width: 0;
}
.card-foot {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  display: flex; justify-content: space-between; align-items: center;
  padding: 40px 18px 14px;
  background: linear-gradient(transparent, var(--bg-1) 55%);
  font-size: 15px; font-weight: 600;
}
.card-foot a { color: var(--dim); font-weight: 500; }
.card-foot a:hover { color: var(--text); }
.card-label { font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.span-3 { grid-column: span 3; } .span-2 { grid-column: span 2; } .span-6 { grid-column: span 6; }
@media (max-width: 1100px) { .span-2 { grid-column: span 3; } .span-2:last-child { grid-column: span 6; } }
@media (max-width: 760px) { .bento { grid-template-columns: 1fr; padding: 0 12px; } .span-3, .span-2, .span-2:last-child, .span-6 { grid-column: 1; } }

/* Payroll card: masonry of mini posts */
.wall { height: 300px; padding: 12px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.wall-col { display: flex; flex-direction: column; gap: 10px; animation: drift 38s linear infinite; }
.wall-col:nth-child(2) { animation-duration: 46s; animation-direction: reverse; }
.wall-col:nth-child(3) { animation-duration: 42s; }
@keyframes drift { to { transform: translateY(-50%); } }
.mini { background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: 12.5px; }
.mini-h { display: flex; align-items: center; gap: 7px; margin-bottom: 6px; min-width: 0; }
.mini-h b { font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-t { color: var(--dim); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mini-f { display: flex; justify-content: space-between; margin-top: 8px; font: 600 11.5px var(--mono); }
.mini-f .pts { color: var(--green); }

/* Payments card: receipt stack */
.pays { height: 300px; padding: 14px 22px; overflow: hidden; mask: linear-gradient(transparent, #000 14%, #000 80%, transparent); -webkit-mask: linear-gradient(transparent, #000 14%, #000 80%, transparent); }
.pays-track { display: flex; flex-direction: column; gap: 10px; animation: drift 30s linear infinite; }
.pay { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 14px; padding: 12px 16px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; }
.pay-amt { font: 700 22px/1.1 var(--sans); letter-spacing: -.02em; }
.pay-to { font-size: 13px; color: var(--dim); }
.pay-to b { color: var(--text); font-weight: 600; }
.pay-flow { display: flex; align-items: center; gap: 8px; color: var(--faint); }
.pay-time { font-size: 12px; color: var(--dim); align-self: end; }
.coin { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, #9945ff, #14f195); display: grid; place-items: center; font: 800 11px var(--sans); color: #000; }

/* Stat card */
.stat { padding: 20px 20px 0; height: 210px; display: flex; flex-direction: column; }
.stat-top { display: flex; justify-content: space-between; }
.big { margin-top: 12px; font: 700 clamp(34px, 3.4vw, 44px)/1 var(--sans); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.big small { font-size: .45em; color: var(--dim); font-weight: 600; letter-spacing: 0; margin-left: 6px; }
.spark { margin-top: auto; height: 80px; width: 100%; }

/* Lookup card */
.lookup { padding: 20px; height: 210px; display: flex; flex-direction: column; gap: 12px; }
.lookup-in { position: relative; }
.lookup-in input { width: 100%; height: 44px; padding: 0 14px 0 38px; border-radius: 12px; border: 2px solid var(--text); background: var(--bg); font: 500 14px var(--mono); outline: none; }
.lookup-in svg { position: absolute; left: 13px; top: 14px; width: 16px; height: 16px; color: var(--dim); }
.person { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--bg-2); min-width: 0; }
.person .meta { min-width: 0; flex: 1; line-height: 1.3; }
.person b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.person small { color: var(--dim); font-size: 13px; }
.person .num { font: 700 14px var(--mono); text-align: right; }

/* Spec card */
.spec { padding: 20px; height: 210px; overflow: hidden; }
.spec p { margin: 0 0 12px; font-size: 13px; color: var(--dim); line-height: 1.5; }
.spec table { width: 100%; border-collapse: collapse; font: 500 12.5px/1 var(--mono); }
.spec th { text-align: left; font-weight: 500; color: var(--faint); letter-spacing: .08em; padding: 0 0 8px; }
.spec td { padding: 5px 0; }
.spec td:first-child { color: var(--dim); width: 44px; }

/* ── Avatars ───────────────────────────────────────────── */
.av { width: 40px; height: 40px; border-radius: 50%; flex: none; object-fit: cover; background: var(--bg-3); display: grid; place-items: center; font: 700 16px/1 var(--sans); color: #fff; }
.av-sm { width: 22px; height: 22px; font-size: 10px; }
.av-md { width: 32px; height: 32px; font-size: 13px; }
.av-xl { width: 134px; height: 134px; font-size: 52px; border: 4px solid var(--bg); }

/* ── Timeline + right rail ─────────────────────────────── */
.cols { max-width: 1040px; margin: clamp(56px, 7vw, 96px) auto 0; padding: 0 24px; display: grid; grid-template-columns: minmax(0, 600px) 350px; gap: 30px; justify-content: center; }
@media (max-width: 1100px) { .cols { grid-template-columns: minmax(0, 640px); } .rail { display: none; } }
@media (max-width: 760px) { .cols { padding: 0; } }
.timeline { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
@media (max-width: 760px) { .timeline { border-radius: 0; border-left: none; border-right: none; } }
.tl-head { padding: 16px 16px 0; }
.tl-head h2 { margin: 0; font: 800 20px/1.2 var(--sans); letter-spacing: -.02em; }
.tl-head p { margin: 2px 0 0; font-size: 13px; color: var(--dim); }
.tabs { display: flex; border-bottom: 1px solid var(--line); margin-top: 8px; overflow-x: auto; scrollbar-width: none; }
.tabs button { flex: 1; min-width: 90px; background: none; border: none; cursor: pointer; padding: 16px 12px 0; color: var(--dim); font-weight: 500; transition: background .15s; }
.tabs button:hover { background: var(--hover); }
.tabs button span { display: inline-block; padding-bottom: 14px; border-bottom: 4px solid transparent; }
.tabs button[aria-selected=true] { color: var(--text); font-weight: 700; }
.tabs button[aria-selected=true] span { border-color: var(--blue); }

.row { display: flex; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); transition: background .15s; }
.row:hover { background: rgba(255,255,255,.03); }
.row:last-child { border-bottom: none; }
.row-body { flex: 1; min-width: 0; }
.row-h { display: flex; align-items: center; gap: 4px; min-width: 0; font-size: 15px; }
.row-h b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-h .handle { color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-h .sep { color: var(--dim); }
.rank { width: 40px; flex: none; text-align: center; font: 700 15px/40px var(--mono); color: var(--dim); }
.rank.top { color: var(--gold); }
.row-text { margin-top: 2px; overflow-wrap: anywhere; }
.row-text .tag { color: var(--blue); }
.actions { display: flex; justify-content: space-between; max-width: 440px; margin-top: 10px; color: var(--dim); font-size: 13px; }
.actions span { display: inline-flex; align-items: center; gap: 6px; }
.actions svg { width: 17px; height: 17px; }
.actions .earn { color: var(--green); font-weight: 600; font-family: var(--mono); }
.badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.badge { font: 600 11.5px/1 var(--sans); padding: 5px 9px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); color: var(--dim); }
.badge.blue { background: var(--blue-dim); border-color: transparent; color: var(--blue); }
.badge.green { background: var(--green-dim); border-color: transparent; color: var(--green); }
.lb-right { text-align: right; flex: none; }
.lb-sol { font: 700 16px var(--mono); color: var(--green); }
.lb-pts { font-size: 13px; color: var(--dim); }
.empty { padding: 48px 20px; text-align: center; color: var(--dim); }
.more { display: block; padding: 16px; color: var(--blue); }
.more:hover { background: var(--hover); }

.rail { display: flex; flex-direction: column; gap: 16px; }
.rail-sticky { position: sticky; top: 76px; display: flex; flex-direction: column; gap: 16px; }
.box { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.box h3 { margin: 0; padding: 12px 16px; font: 800 20px/1.2 var(--sans); letter-spacing: -.02em; }
.box-pad { padding: 0 16px 16px; }
.box p { margin: 0 0 12px; }
.follow { display: flex; align-items: center; gap: 12px; padding: 12px 16px; transition: background .15s; }
.follow:hover { background: var(--hover); }
.follow .meta { flex: 1; min-width: 0; line-height: 1.3; }
.follow b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.follow small { color: var(--dim); }
.clock { font: 700 34px/1 var(--mono); letter-spacing: -.02em; margin: 4px 0 14px; }
.trend { padding: 12px 16px; transition: background .15s; }
.trend:hover { background: var(--hover); }
.trend small { color: var(--dim); font-size: 13px; display: block; }
.trend b { display: block; margin: 2px 0; }

/* ── Sections ──────────────────────────────────────────── */
.section { max-width: 1040px; margin: clamp(72px, 9vw, 120px) auto 0; padding: 0 24px; }
.section-h { text-align: center; margin-bottom: 36px; }
.section-h h2 { margin: 0; font: 700 clamp(32px, 4.2vw, 52px)/1.05 var(--sans); letter-spacing: -.04em; }
.section-h p { margin: 14px auto 0; max-width: 560px; color: var(--dim); font-size: 17px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 24px; }
.step-n { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--text); color: #000; font-weight: 800; margin-bottom: 18px; }
.step h3 { margin: 0 0 8px; font: 700 22px/1.15 var(--sans); letter-spacing: -.02em; }
.step p { margin: 0; color: var(--dim); }

.scale { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 860px) { .scale { grid-template-columns: 1fr; } }
.scale-card { padding: 24px; }
.rates { width: 100%; border-collapse: collapse; margin-top: 14px; }
.rates td { padding: 11px 0; border-bottom: 1px solid var(--line); }
.rates td:last-child { text-align: right; font: 600 14px var(--mono); }
.rates tr.h td { padding-top: 22px; font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); border-bottom: none; }
.formula { margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: var(--bg-2); font: 500 13px/1.8 var(--mono); overflow-x: auto; white-space: nowrap; color: var(--dim); }
.formula b { color: var(--blue); font-weight: 600; }
.field { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; margin-top: 16px; }
.field label { font-size: 14px; color: var(--dim); }
.field output { font: 600 14px var(--mono); }
.field input[type=range] { grid-column: 1 / -1; width: 100%; accent-color: var(--blue); }
.seg { display: flex; gap: 6px; margin-top: 16px; }
.seg button { flex: 1; height: 36px; border-radius: 999px; border: 1px solid var(--line-2); background: none; cursor: pointer; font-weight: 600; font-size: 14px; }
.seg button[aria-pressed=true] { background: var(--text); color: #000; border-color: var(--text); }
.result { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.result div { font-size: 13px; color: var(--dim); }
.result b { display: block; margin-top: 4px; font: 700 36px/1 var(--sans); letter-spacing: -.03em; color: var(--text); }
.result div:last-child b { color: var(--blue); }

.rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 960px) { .rules { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .rules { grid-template-columns: 1fr; } }
.rule { padding: 22px; }
.rule-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-dim); color: var(--blue); margin-bottom: 16px; }
.rule-ico svg { width: 20px; height: 20px; }
.rule h3 { margin: 0 0 6px; font: 700 17px/1.25 var(--sans); letter-spacing: -.01em; }
.rule p { margin: 0; font-size: 14px; color: var(--dim); }
.rule code { font: 600 13px var(--mono); color: var(--blue); }

.faq { max-width: 720px; margin: 0 auto; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: none; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 20px; display: flex; justify-content: space-between; gap: 16px; font-weight: 600; transition: background .15s; }
.faq summary:hover { background: var(--hover); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--dim); font-size: 20px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--dim); }

.end { text-align: center; padding: clamp(80px, 10vw, 140px) 20px; }
.end h2 { margin: 0; font: 700 clamp(40px, 6vw, 76px)/1 var(--sans); letter-spacing: -.045em; }
.end p { color: var(--dim); font-size: 18px; margin: 18px 0 30px; }
.foot { border-top: 1px solid var(--line); padding: 24px; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; color: var(--dim); }
.foot p { margin: 0; }

/* ── Profile (timecard) ────────────────────────────────── */
.profile { max-width: 600px; margin: 0 auto; border-left: 1px solid var(--line); border-right: 1px solid var(--line); min-height: calc(100vh - 60px); }
.app-cols { display: grid; grid-template-columns: minmax(0, 600px) 350px; gap: 30px; justify-content: center; padding: 0 24px; }
.app-cols .profile { margin: 0; }
@media (max-width: 1100px) { .app-cols { grid-template-columns: minmax(0, 600px); } .app-cols .rail { display: none; } }
@media (max-width: 760px) { .app-cols { padding: 0; } .profile { border: none; } }
.banner { height: 200px; background:
  radial-gradient(120% 140% at 0% 0%, rgba(29,155,240,.55), transparent 55%),
  radial-gradient(90% 120% at 100% 100%, rgba(0,186,124,.35), transparent 60%),
  repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 1px, transparent 1px 28px),
  repeating-linear-gradient(0deg, rgba(255,255,255,.04) 0 1px, transparent 1px 28px),
  #0d1117; }
.p-top { padding: 12px 16px 0; position: relative; }
.p-top .av-xl { margin-top: -78px; }
.p-actions { position: absolute; right: 16px; top: 12px; display: flex; gap: 8px; }
.p-name { margin-top: 12px; font: 800 20px/1.2 var(--sans); letter-spacing: -.02em; display: flex; align-items: center; gap: 8px; }
.p-handle { color: var(--dim); }
.p-bio { margin: 12px 0 0; }
.p-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 12px; color: var(--dim); font-size: 15px; }
.p-meta span { display: inline-flex; align-items: center; gap: 4px; }
.p-meta svg { width: 18px; height: 18px; }
.p-stats { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 12px; font-size: 15px; color: var(--dim); }
.p-stats b { color: var(--text); font-weight: 700; }
.notice { margin: 16px 16px 0; padding: 12px 14px; border-radius: 12px; background: rgba(249,24,128,.1); color: #ff7ab5; font-size: 14px; }
.notice b { color: #fff; }
.composer { display: flex; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.composer textarea { width: 100%; min-height: 56px; resize: none; background: none; border: none; outline: none; color: var(--text); font: 400 20px/1.35 var(--sans); padding: 8px 0; }
.composer textarea::placeholder { color: var(--dim); }
.composer-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.checks { display: flex; gap: 14px; font-size: 13px; }
.ok { color: var(--green); } .no { color: var(--pink); }
.row.docked .earn { color: var(--pink); }
.wallet-card { padding: 16px; }
.addr { font: 500 13px/1.5 var(--mono); word-break: break-all; padding: 12px; border-radius: 12px; background: var(--bg-2); margin: 10px 0 12px; }
.rail-line { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; }
.stub-row { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.stub-row:last-child { border-bottom: none; }
.signin { max-width: 600px; margin: 0 auto; padding: clamp(48px, 10vw, 110px) 20px; text-align: center; }
.signin h1 { margin: 0; font: 700 clamp(40px, 6vw, 64px)/1.03 var(--sans); letter-spacing: -.045em; }
.signin ol { list-style: none; padding: 0; margin: 36px 0; text-align: left; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.signin li { display: flex; gap: 14px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.signin li:last-child { border-bottom: none; }
.signin li .step-n { margin: 0; flex: none; width: 30px; height: 30px; font-size: 14px; }

.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 60; background: var(--blue); color: #fff; padding: 12px 18px; border-radius: 6px; font-size: 15px; box-shadow: 0 8px 30px rgba(0,0,0,.6); max-width: calc(100vw - 32px); }

/* ── Mobile: sidebar becomes X-style bottom tab bar ─────── */
@media (max-width: 1000px) {
  :root { --side: 88px; }
  .side { align-items: center; padding: 10px 8px; }
  .side-top { flex-direction: column; gap: 10px; padding: 4px 0 14px; }
  .logo span, .collapse, .menu a span, .side-foot .who, .side-foot > svg { display: none; }
  .menu a { padding: 12px; }
  .side-cta { width: 52px; height: 52px; padding: 0; font-size: 0; margin: 18px 0 0; }
  .side-cta::after { content: '+'; font-size: 26px; font-weight: 400; }
}
@media (max-width: 640px) {
  .side { top: auto; bottom: 0; right: 0; width: auto; height: 58px; flex-direction: row; justify-content: space-around; padding: 0 8px; border-right: none; border-top: 1px solid var(--line); background: rgba(0,0,0,.92); backdrop-filter: blur(12px); }
  .side-top, .side-cta, .side-foot { display: none; }
  .menu { display: flex; justify-content: space-around; width: 100%; }
  .menu a:nth-child(n+5) { display: none; }
  .shell { margin-left: 0; padding-bottom: 64px; }
  .topbar { padding: 0 12px; gap: 10px; }
  .topbar .m-logo { display: block; flex: none; }
  .top-actions .pill:not(.pill-white) { display: none; }
  .search input { height: 38px; }
  .search > svg { top: 10px; }
  .search-pop { top: 46px; }
  .hero h1 { font-size: 42px; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ── Payouts feed (X Money style receipts) ─────────────── */
.pays-live { animation: none; padding-top: 6px; }
.pays-live .pay { transition: transform .5s cubic-bezier(.2,.8,.2,1), opacity .5s; }
.pay-in { animation: payIn .6s cubic-bezier(.2,.8,.2,1); border-color: rgba(29,155,240,.55); }
.pay-in .pay-amt { animation: amtFlash 1.6s ease-out; }
@keyframes payIn { from { opacity: 0; transform: translateY(-22px) scale(.97); } }
@keyframes amtFlash { 0%, 40% { color: var(--green); } 100% { color: var(--text); } }
.pay .coin { object-fit: cover; background: #000; border: 1px solid var(--line-2); }
.av-wrap { position: relative; display: inline-flex; }
.xbadge { position: absolute; right: -4px; bottom: -3px; width: 15px; height: 15px; border-radius: 50%; background: #000; border: 1.5px solid var(--bg-2); display: grid; place-items: center; }
.xbadge svg { width: 8px; height: 8px; color: #fff; }
.badge.ex { margin-left: 6px; font-size: 10.5px; padding: 3px 7px; vertical-align: 2px; }
.pays:has(.pays-live) { mask: linear-gradient(#000 62%, transparent); -webkit-mask: linear-gradient(#000 62%, transparent); }
