:root {
  --bg: #ffffff;
  --soft: #fafafa;
  --line: #ebebeb;
  --line-2: #d9d9d9;
  --text: #111111;
  --muted: #6b6b6b;
  --dim: #a3a3a3;
  --accent: #111111;
  --green: #1a7f37;
  --red: #c62828;
  --amber: #9a6700;
  --radius: 8px;
}
* { box-sizing: border-box; }
html { color-scheme: light; }
body { margin: 0; min-height: 100vh; color: var(--text); background: var(--bg); font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
.wrap { width: min(1080px, 100% - 32px); margin: 0 auto; }
.narrow { width: min(560px, 100% - 32px); margin: 0 auto; }
.mono { font-family: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.mini { font-size: 12px; color: var(--muted); }
.link { text-decoration: underline; text-underline-offset: 3px; }
a.coin, .coin { font-weight: 500; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
a.coin:hover { text-decoration-color: var(--text); }

/* header */
.top { height: 60px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 16px; }
.brand img { width: 22px; height: 22px; }
.brand span { display: none; }
.nav { display: flex; gap: 2px; align-items: center; font-size: 14px; }
.nav a { padding: 6px 10px; border-radius: 6px; color: var(--muted); }
.nav a:hover, .nav a.on { color: var(--text); }
.nav .ticker { color: var(--text); }
.nav .cta-sm { color: var(--text); font-weight: 600; }

/* type */
h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.08; font-weight: 600; letter-spacing: -0.035em; margin: 0 0 14px; }
h2 { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 6px; }
h3 { font-weight: 600; }
.crumbs { display: flex; gap: 6px; font-size: 13px; color: var(--muted); margin-top: 28px; }
.crumbs b { color: var(--text); font-weight: 500; }
.crumbs i { font-style: normal; color: var(--dim); }
.sub { color: var(--muted); font-size: 17px; max-width: 600px; margin: 0 0 24px; }
.h2sub { color: var(--muted); margin: 0 0 22px; max-width: 640px; }

/* hero and sections */
.hero { padding: 72px 0 48px; text-align: center; }
.hero .sub { margin-left: auto; margin-right: auto; }
.cta { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
main > section { margin-top: 96px; }
main > section > h2, main > section > .h2sub { text-align: left; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--text); cursor: pointer; background: var(--text); color: #fff; font-weight: 500; font-size: 14px; padding: 9px 18px; border-radius: var(--radius); min-height: 40px; }
.btn:hover { background: #333; }
.btn:disabled { opacity: 0.35; cursor: not-allowed; }
.btn.ghost { background: #fff; color: var(--text); border-color: var(--line-2); }
.btn.ghost:hover { border-color: var(--text); background: #fff; }
.btn.wide { width: 100%; }
.btn.sm { min-height: 32px; padding: 5px 12px; font-size: 13px; }

/* product mock */
.mock { display: grid; grid-template-columns: 1.2fr 1fr; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.mock .pane { padding: 20px; min-width: 0; }
.mock .pane + .pane { border-left: 1px solid var(--line); background: var(--soft); }
.coinhead { display: flex; gap: 12px; align-items: center; }
.coinhead .pic { width: 40px; height: 40px; border-radius: 8px; background: var(--soft); border: 1px solid var(--line); display: grid; place-items: center; font-size: 20px; }
.coinhead .t { font-weight: 600; }
.coinhead .s { color: var(--muted); font-size: 13px; }
.chart { margin-top: 16px; height: 170px; }
.chart svg { width: 100%; height: 100%; }
.mstats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 16px; border-top: 1px solid var(--line); }
.mstats div { padding: 12px 0 0; font-size: 12px; color: var(--muted); }
.mstats b { display: block; color: var(--text); font-size: 15px; font-weight: 600; }
.feedhead { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.live-dot { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 400; font-size: 12px; }
.live-dot::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.feed { display: flex; flex-direction: column; height: 300px; overflow: hidden; }
.call { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); animation: drop 0.35s ease-out; }
.call:last-child { border-bottom: 0; }
@keyframes drop { from { opacity: 0; } }
.call img { width: 30px; height: 30px; border-radius: 6px; image-rendering: pixelated; flex: none; background: var(--line); object-fit: cover; }
.call .who { font-size: 12px; font-weight: 600; display: flex; gap: 6px; align-items: baseline; flex-wrap: wrap; }
.call .who em { font-style: normal; color: var(--dim); font-weight: 400; }
.tag { font-size: 11px; color: var(--muted); font-weight: 400; border: 1px solid var(--line-2); border-radius: 4px; padding: 0 4px; line-height: 16px; }
.call .txt { font-size: 13px; color: #333; white-space: pre-line; overflow-wrap: anywhere; }
.on-page { font-size: 12px; color: var(--muted); font-weight: 400; }

/* features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.features h3 { font-size: 15px; margin: 0 0 6px; }
.features p { margin: 0; color: var(--muted); font-size: 14px; }

/* pricing */
.calc { max-width: 620px; border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.calc .row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.calc .big { font-size: 40px; font-weight: 600; letter-spacing: -0.03em; }
.calc .big small { font-size: 15px; color: var(--muted); font-weight: 400; letter-spacing: 0; }
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 18px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.tier { padding: 10px 12px; font-size: 12px; color: var(--muted); border-left: 1px solid var(--line); }
.tier:first-child { border-left: 0; }
.tier b { display: block; color: var(--text); font-size: 14px; font-weight: 500; font-family: 'JetBrains Mono', monospace; }
.tier.on { background: var(--soft); color: var(--text); }
input[type=range] { width: 100%; accent-color: var(--text); margin: 18px 0 8px; }

/* live */
.livegrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.box { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; min-width: 0; }
.box h4 { margin: 0 0 6px; font-size: 14px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.camp { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 13px; }
.camp:first-of-type { border-top: 0; }
.camp img { width: 28px; height: 28px; border-radius: 6px; object-fit: cover; background: var(--line); }
.camp .grow { flex: 1; min-width: 0; }
.bar { height: 3px; background: var(--line); border-radius: 2px; margin-top: 6px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--text); }
.empty { color: var(--dim); font-size: 13px; padding: 20px 0; text-align: center; }
.totals { display: flex; gap: 48px; margin: 0 0 22px; flex-wrap: wrap; }
.totals div { color: var(--muted); font-size: 13px; }
.totals b { display: block; font-size: 26px; color: var(--text); font-weight: 600; letter-spacing: -0.02em; }

/* faq */
.faq { max-width: 720px; margin-top: 10px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--dim); }
.faq details[open] summary::after { content: '−'; }
.faq p { color: var(--muted); margin: 8px 0 0; }

footer { margin-top: 110px; border-top: 1px solid var(--line); padding: 24px 0; }
footer .fin { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
footer .links { display: flex; gap: 18px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
footer .links a:hover { color: var(--text); }
footer .c { color: var(--dim); font-size: 12px; }

/* forms */
.form { margin-top: 8px; }
.section { border: 1px solid var(--line); border-radius: 12px; padding: 20px; margin-top: 12px; }
.section > h3 { margin: 0 0 4px; font-size: 16px; display: flex; justify-content: space-between; align-items: baseline; }
.section > h3 small { color: var(--dim); font-weight: 400; font-size: 12px; }
label.l, .l { display: block; font-size: 13px; font-weight: 500; margin: 16px 0 6px; }
.l small { color: var(--dim); font-weight: 400; }
.in, textarea.in { width: 100%; background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); padding: 9px 11px; font-size: 14px; outline: none; }
.in:focus { border-color: var(--text); }
textarea.in { resize: vertical; min-height: 56px; }
.help { font-size: 13px; color: var(--muted); margin-top: 6px; }
.help b { color: var(--text); font-weight: 500; }
.err { color: var(--red); font-size: 13px; margin-top: 8px; }
.coincard { display: flex; gap: 12px; align-items: center; margin-top: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); }
.coincard img { width: 36px; height: 36px; border-radius: 6px; object-fit: cover; background: var(--line); }
.coincard .grow { flex: 1; min-width: 0; }
.coincard .s { color: var(--muted); font-size: 12px; }
.seg { display: grid; grid-template-columns: repeat(auto-fit, minmax(80px, 1fr)); border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; }
.seg button { background: #fff; border: 0; border-left: 1px solid var(--line-2); padding: 8px 6px; cursor: pointer; font-size: 13px; }
.seg button:first-child { border-left: 0; }
.seg button b { display: block; font-size: 13px; font-weight: 500; }
.seg button span { color: var(--muted); font-size: 11px; }
.seg button.on { background: var(--text); color: #fff; }
.seg button.on span { color: #bbb; }
.seg button:disabled { color: var(--dim); cursor: not-allowed; }
.filter { padding: 16px 0 0; margin-top: 16px; border-top: 1px solid var(--line); }
.filter .fh { font-weight: 500; font-size: 14px; }
.filter .help { margin: 2px 0 8px; }
.matches { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 13px; }
.matches .faces { display: flex; }
.matches .faces img { width: 22px; height: 22px; border-radius: 5px; margin-left: -5px; border: 2px solid #fff; object-fit: cover; background: var(--line); }
.matches .faces img:first-child { margin-left: 0; }
.addgrid { display: flex; gap: 16px; }
.add { font-size: 13px; font-weight: 500; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.add:hover { text-decoration-color: var(--text); }
.phrase { position: relative; margin-bottom: 8px; }
.phrase textarea { padding-right: 34px; min-height: 48px; }
.phrase .x { position: absolute; right: 6px; top: 6px; width: 24px; height: 24px; border: 0; background: transparent; color: var(--dim); cursor: pointer; font-size: 17px; }
.phrase .x:hover { color: var(--text); }
.phrase .cnt { position: absolute; right: 10px; bottom: 7px; font-size: 10px; color: var(--dim); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chip { font-size: 12px; padding: 2px 8px; border-radius: 5px; border: 1px solid var(--line-2); font-family: 'JetBrains Mono', monospace; }
.chip.bad { color: var(--red); text-decoration: line-through; }
.pics { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; }
.pic-opt { padding: 12px 8px; text-align: center; cursor: pointer; font-size: 13px; border-left: 1px solid var(--line-2); }
.pic-opt:first-child { border-left: 0; }
.pic-opt.on { background: var(--soft); font-weight: 600; }
.pic-opt .faces { display: flex; justify-content: center; margin-bottom: 8px; height: 28px; }
.pic-opt .faces img { width: 28px; height: 28px; border-radius: 6px; margin-left: -6px; border: 2px solid #fff; image-rendering: pixelated; object-fit: cover; background: var(--line); }
.pic-opt .faces img:first-child { margin-left: 0; }
.drop { margin-top: 10px; border: 1px dashed var(--line-2); border-radius: var(--radius); padding: 16px; text-align: center; color: var(--muted); font-size: 13px; cursor: pointer; }
.drop.over { border-color: var(--text); color: var(--text); }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.thumbs div { position: relative; }
.thumbs img { width: 48px; height: 48px; border-radius: 6px; object-fit: cover; }
.thumbs button { position: absolute; top: -6px; right: -6px; width: 18px; height: 18px; border-radius: 50%; border: 0; background: var(--text); color: #fff; font-size: 11px; cursor: pointer; line-height: 1; }
.summary { border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; margin-top: 12px; }
.summary .r { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; padding: 3px 0; color: var(--muted); }
.summary .r b { color: var(--text); font-weight: 500; text-align: right; }
.summary .total { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 12px; }
.summary .total b { font-size: 20px; font-weight: 600; }

/* dashboard */
.dash-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 18px; }
.dash-head .who { display: flex; align-items: center; gap: 14px; min-width: 0; }
.dash-head img { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; background: var(--line); }
.dash-head h1 { font-size: clamp(26px, 4vw, 34px); margin: 0; }
.dash-head .meta { color: var(--muted); font-size: 13px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.tabs { display: flex; gap: 20px; border-bottom: 1px solid var(--line); margin: 22px 0 20px; overflow-x: auto; }
.tabs button { background: none; border: 0; padding: 10px 0; font-weight: 500; font-size: 14px; color: var(--muted); cursor: pointer; border-bottom: 1px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs button.on { color: var(--text); border-bottom-color: var(--text); }
.tabs button span { color: var(--dim); margin-left: 4px; font-size: 12px; }
.panel { border: 1px solid var(--line); border-radius: 12px; padding: 20px; margin-top: 16px; min-width: 0; }
.panel h4 { margin: 0 0 12px; font-size: 14px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.grid2 { display: grid; grid-template-columns: 1.5fr 1fr; gap: 16px; }
.grid2 > .panel { margin-top: 0; }
.paygrid { display: grid; grid-template-columns: 170px 1fr; gap: 22px; align-items: center; }
.qr { width: 170px; height: 170px; border: 1px solid var(--line); border-radius: 10px; padding: 10px; display: grid; place-items: center; }
.qr svg { width: 100%; height: 100%; }
.amount { font-size: 30px; font-weight: 600; letter-spacing: -0.02em; }
.addr { display: flex; gap: 6px; margin-top: 8px; }
.addr code { flex: 1; min-width: 0; overflow-wrap: anywhere; background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 10px; font-size: 12px; }
.small-btn { background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); padding: 0 11px; cursor: pointer; font-size: 13px; min-height: 32px; display: inline-flex; align-items: center; }
.small-btn:hover { border-color: var(--text); }
.waiting { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; margin-top: 14px; }
.spin { width: 13px; height: 13px; border: 2px solid var(--line-2); border-top-color: var(--text); border-radius: 50%; animation: spin 0.8s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); white-space: nowrap; }
.pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--dim); }
.pill.ok::before { background: var(--green); }
.pill.run::before { background: #2563eb; }
.pill.bad::before { background: var(--red); }
.pill.warn::before { background: #d4a017; }
.progress { height: 4px; background: var(--line); border-radius: 2px; overflow: hidden; margin: 14px 0 10px; }
.progress i { display: block; height: 100%; background: var(--text); transition: width 0.5s; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin-top: 6px; }
.kpis div { padding: 14px 14px 0 0; font-size: 12px; color: var(--muted); }
.kpis div + div { padding-left: 14px; border-left: 1px solid var(--line); }
.kpis b { display: block; font-size: 22px; color: var(--text); font-weight: 600; letter-spacing: -0.02em; }
.kpis small { color: var(--dim); }
.hchart { height: 150px; display: flex; align-items: flex-end; gap: 3px; padding-top: 8px; }
.hchart div { flex: 1; background: var(--text); border-radius: 2px 2px 0 0; min-height: 1px; position: relative; }
.hchart div.zero { background: var(--line); }
.hchart div:hover::after { content: attr(data-t); position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); background: var(--text); color: #fff; font-size: 11px; padding: 3px 6px; border-radius: 4px; white-space: nowrap; margin-bottom: 4px; }
.axis { display: flex; justify-content: space-between; font-size: 11px; color: var(--dim); margin-top: 6px; }
table.t { width: 100%; border-collapse: collapse; font-size: 13px; }
table.t th { text-align: left; font-weight: 500; color: var(--muted); font-size: 12px; padding: 8px 10px 8px 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.t td { padding: 10px 10px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
table.t tr:last-child td { border-bottom: 0; }
table.t td.num { font-family: 'JetBrains Mono', monospace; white-space: nowrap; }
.tw { overflow-x: auto; }
.cell { display: flex; align-items: center; gap: 8px; min-width: 0; }
.cell img { width: 24px; height: 24px; border-radius: 5px; object-fit: cover; background: var(--line); flex: none; image-rendering: pixelated; }
.cell .tx { white-space: pre-line; overflow-wrap: anywhere; color: #333; }
.botgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 0 20px; }
.botcard { padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; gap: 10px; align-items: center; }
.botcard img { width: 34px; height: 34px; border-radius: 7px; image-rendering: pixelated; object-fit: cover; background: var(--line); }
.botcard .nm { font-weight: 600; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.botcard .s { font-size: 12px; color: var(--muted); }
.keybox { display: flex; gap: 8px; align-items: center; border-top: 1px solid var(--line); padding-top: 14px; font-size: 13px; margin-top: 18px; flex-wrap: wrap; color: var(--muted); }
.keybox code { background: var(--soft); border: 1px solid var(--line); padding: 3px 7px; border-radius: 5px; font-size: 12px; overflow-wrap: anywhere; color: var(--text); }
.toolbar { display: flex; gap: 8px; flex-wrap: wrap; }
.search { max-width: 240px; }

/* lists */
.olist { border-top: 1px solid var(--line); }
.orow { display: grid; grid-template-columns: 40px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.orow:hover b { text-decoration: underline; }
.orow img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; background: var(--line); }
.prose { max-width: 720px; }
.prose h3 { font-size: 18px; margin: 34px 0 8px; }
.prose p, .prose li { color: #333; }
.flow { display: grid; grid-template-columns: repeat(5, 1fr); margin: 18px 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.flow div { padding: 12px; font-size: 13px; color: var(--muted); border-left: 1px solid var(--line); }
.flow div:first-child { border-left: 0; }
.flow b { display: block; color: var(--text); font-size: 14px; margin-bottom: 2px; }

@media (max-width: 860px) {
  .mock, .livegrid, .grid2 { grid-template-columns: 1fr; }
  .mock .pane + .pane { border-left: 0; border-top: 1px solid var(--line); }
  .features { grid-template-columns: 1fr 1fr; }
  .tiers { grid-template-columns: repeat(2, 1fr); }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .kpis div:nth-child(3) { padding-left: 0; border-left: 0; }
  .flow { grid-template-columns: 1fr; }
  .flow div { border-left: 0; border-top: 1px solid var(--line); }
  .nav .hide-sm { display: none; }
}
@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 32px; }
  .paygrid { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .addr { flex-direction: column; }
  .orow { grid-template-columns: 40px 1fr; }
  .orow > :last-child { grid-column: 2; }
}

/* sliders: one look for every slider, one or two handles */
.rs { position: relative; height: 22px; margin: 8px 0 2px; }
.rs-track { position: absolute; left: 9px; right: 9px; top: 9px; height: 4px; background: var(--line); border-radius: 2px; }
.rs-track i { position: absolute; top: 0; bottom: 0; background: var(--text); border-radius: 2px; }
.rs input[type=range] { position: absolute; left: 0; top: 0; width: 100%; height: 22px; margin: 0; background: transparent; pointer-events: none; -webkit-appearance: none; appearance: none; }
.rs input[type=range]::-webkit-slider-runnable-track { height: 22px; background: transparent; }
.rs input[type=range]::-moz-range-track { background: transparent; }
.rs input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: #fff; border: 2px solid var(--text); cursor: grab; box-sizing: border-box; }
.rs input[type=range]::-moz-range-thumb { pointer-events: auto; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid var(--text); cursor: grab; box-sizing: border-box; }
.rs input[type=range]:disabled::-webkit-slider-thumb { border-color: var(--dim); cursor: default; }
.rs input[type=range]:focus { outline: none; }
.rs input[type=range]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.15); }
.sl-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.sl-head .val { font-weight: 600; font-size: 14px; white-space: nowrap; }
.ticks { display: flex; justify-content: space-between; font-size: 11px; color: var(--dim); }

/* payment window */
.modal { position: fixed; inset: 0; z-index: 50; background: rgba(15, 15, 15, 0.35); display: grid; place-items: center; padding: 16px; overflow-y: auto; }
.modal-card { position: relative; width: min(440px, 100%); background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12); }
.modal-card h3 { margin: 0; font-size: 18px; }
.modal-card .qr { margin: 0 auto 16px; }
.modal-x { position: absolute; top: 10px; right: 12px; background: none; border: 0; font-size: 22px; line-height: 1; color: var(--muted); cursor: pointer; padding: 4px 6px; }
.pw-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.pw-row .amount span { font-size: 16px; color: var(--muted); }
.pw-addr { display: block; font-size: 12px; overflow-wrap: anywhere; margin-top: 2px; }
.prose ul { padding-left: 20px; margin: 8px 0 12px; } .prose li { margin: 4px 0; }

/* dashboard control: time left, speed, top-up */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.grid3 > .panel { margin-top: 0; }
.ctl .big { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 4px; }
.ctl .val { font-weight: 500; color: var(--muted); font-size: 13px; }
button.chip { background: #fff; cursor: pointer; color: var(--text); padding: 5px 10px; }
button.chip.on { background: var(--text); color: #fff; border-color: var(--text); }
@media (max-width: 860px) { .grid3 { grid-template-columns: 1fr; } }

/* order status: ticking clock */
.status-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.clock { font-size: 44px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; margin: 2px 0 4px; }
.clock.muted { color: var(--muted); }
[data-end] { font-variant-numeric: tabular-nums; }
.sl-ends { display: flex; justify-content: space-between; }
.ctl { align-items: start; }
.ctl-foot { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 14px; }
.seg { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 8px; overflow: hidden; margin-bottom: 4px; }
.seg button { background: #fff; border: 0; border-right: 1px solid var(--line); padding: 7px 14px; font: inherit; font-size: 13px; cursor: pointer; font-variant-numeric: tabular-nums; }
.seg button.on { background: var(--text); color: #fff; }
.seg span { padding: 0 12px; font-size: 13px; color: var(--muted); }
@media (max-width: 600px) { .clock { font-size: 34px; } .ctl .pw-row { flex-direction: column; align-items: stretch; } }
.tu-box { border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); padding: 10px 12px; margin: 12px 0 10px; }
.tu-box code { display: block; font-size: 12px; overflow-wrap: anywhere; margin: 4px 0 8px; }
.tu-btns { display: flex; gap: 6px; flex-wrap: wrap; }

/* account */
.link-btn { background: none; border: 0; font: inherit; font-size: 14px; color: var(--muted); padding: 6px 10px; cursor: pointer; }
.link-btn:hover { color: var(--text); }
.nav .btn.sm { margin-left: 4px; }
.acct { position: relative; margin-left: 6px; }
.acct-btn { display: inline-flex; align-items: center; gap: 7px; background: #fff; border: 1px solid var(--line-2); border-radius: 999px; padding: 5px 12px; font: inherit; font-size: 13px; font-family: "JetBrains Mono", monospace; cursor: pointer; }
.acct-btn i { width: 7px; height: 7px; border-radius: 50%; background: #22a861; }
.acct-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 40; min-width: 190px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.08); padding: 4px; }
.acct-menu a, .acct-menu button { display: block; width: 100%; text-align: left; background: none; border: 0; font: inherit; font-size: 14px; color: var(--text); padding: 8px 12px; border-radius: 6px; cursor: pointer; }
.acct-menu a:hover, .acct-menu button:hover { background: var(--soft); }
.auth-tabs { display: flex; gap: 18px; border-bottom: 1px solid var(--line); margin: -4px 0 18px; }
.auth-tabs button { background: none; border: 0; font: inherit; font-size: 14px; font-weight: 500; color: var(--muted); padding: 0 0 10px; border-bottom: 2px solid transparent; margin-bottom: -1px; cursor: pointer; }
.auth-tabs button.on { color: var(--text); border-color: var(--text); }
.keyshow { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; font-size: 13px; overflow-wrap: anywhere; user-select: all; }
.check { display: flex; gap: 8px; align-items: center; font-size: 13px; margin: 16px 0 12px; cursor: pointer; }
.lrow { cursor: pointer; }
tr.lrow:hover td { background: var(--soft); }
a.camp.lrow:hover { background: var(--soft); }
.small-btn.on { background: var(--text); color: #fff; border-color: var(--text); }
