:root { --bg:#0e0e10; --card:#18181c; --line:#2a2a30; --text:#f4f2ee; --muted:#9a978f; --accent:#ffd23f; --ok:#3ecf8e; --warn:#ff9f43; --err:#ff6b6b; }
* { box-sizing: border-box; }
body { margin:0; background:var(--bg); color:var(--text); font:16px/1.5 -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif; }
main { max-width: 640px; margin: 0 auto; padding: 28px 18px 60px; }
h1 { font-size: clamp(30px, 8vw, 44px); line-height: 1.08; margin: 6px 0 14px; letter-spacing: -0.02em; }
h2 { font-size: 20px; margin: 0 0 12px; }
.kicker { text-transform: uppercase; letter-spacing: .08em; font-size: 12px; color: var(--accent); margin: 0; font-weight: 700; }
.lede { color: #d6d3cc; margin: 0 0 22px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px; margin: 0 0 16px; }
.live { border-color: #3a3520; }
.big { font-size: clamp(56px, 18vw, 92px); font-weight: 800; line-height: 1; margin: 10px 0 6px; letter-spacing: -0.03em; }
.small-big { font-size: 28px; }
.clock { font-size: 22px; font-weight: 700; margin: 12px 0 0; font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.warnline { color: var(--warn); margin: 6px 0 0; }
.history { list-style: none; padding: 0; margin: 14px 0 0; border-top: 1px solid var(--line); }
.history li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.history b { font-variant-numeric: tabular-nums; }
label { display: block; font-size: 14px; color: #d6d3cc; margin: 0 0 12px; }
.opt { color: var(--muted); font-weight: 400; }
input, textarea { display: block; width: 100%; margin-top: 6px; background: #0f0f12; color: var(--text); border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; font: inherit; }
input:focus, textarea:focus { outline: 2px solid var(--accent); border-color: transparent; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .row { grid-template-columns: 1fr; } }
.money { display: flex; align-items: center; gap: 6px; font-size: 32px; font-weight: 800; }
.money input { font-size: 32px; font-weight: 800; margin: 0; }
.check { display: flex; gap: 10px; align-items: flex-start; }
.check input { width: auto; margin: 4px 0 0; }
a { color: var(--accent); }
button { width: 100%; background: var(--accent); color: #111; border: 0; border-radius: 12px; padding: 15px; font: inherit; font-weight: 800; font-size: 17px; cursor: pointer; }
button:disabled { opacity: .6; cursor: wait; }
.error { color: var(--err); }
.notice { border-radius: 12px; padding: 14px 16px; margin: 0 0 16px; font-weight: 600; }
.notice.ok { background: rgba(62,207,142,.14); border: 1px solid var(--ok); }
.notice.warn { background: rgba(255,159,67,.12); border: 1px solid var(--warn); }
.bars { display: flex; align-items: flex-end; gap: 4px; height: 140px; padding: 0 0 18px; overflow-x: auto; }
.bar { position: relative; flex: 1 0 14px; max-width: 34px; height: 100%; display: flex; align-items: flex-end; }
.bar span { display: block; width: 100%; background: var(--accent); border-radius: 4px 4px 0 0; }
.bar em { position: absolute; bottom: -18px; left: 0; right: 0; text-align: center; font-size: 10px; color: var(--muted); font-style: normal; }
.how ol { padding-left: 20px; margin: 0 0 10px; }
.how li { margin: 0 0 6px; }
footer { text-align: center; margin-top: 24px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
td, th { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
