:root { --bg: #f6f7f9; --fg: #16181d; --muted: #6b7280; --accent: #2f7cf6; --card: #fff; --err: #d93025; --ok: #188038; }
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; background: var(--bg); color: var(--fg); }
a { color: var(--accent); }
main { max-width: 1040px; margin: 0 auto; padding: 16px; }
.top { display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; background: #fff; border-bottom: 1px solid #e5e7eb; }
.brand { font-weight: 700; font-size: 20px; color: var(--fg); text-decoration: none; }
.brand span { font-weight: 400; font-size: 13px; color: var(--muted); margin-left: 10px; }
nav { display: flex; gap: 14px; align-items: center; }
nav a { text-decoration: none; }
.foot { text-align: center; color: var(--muted); font-size: 13px; padding: 24px; }
.card { background: var(--card); border-radius: 14px; padding: 20px 24px; margin: 16px 0; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.narrow { max-width: 440px; margin: 24px auto; }
.center { text-align: center; }
.hero { padding: 40px 8px 16px; }
.hero h1 { font-size: 34px; line-height: 1.2; margin: 0 0 12px; }
.lead { font-size: 18px; color: #374151; max-width: 760px; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.btn { display: inline-block; border: 0; background: var(--accent); color: #fff; padding: 10px 18px; border-radius: 10px; font-size: 16px; cursor: pointer; text-decoration: none; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.small { padding: 6px 12px; font-size: 14px; }
.btn.ghost { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
.btn.danger { background: var(--err); }
button.link { background: none; border: 0; color: var(--accent); cursor: pointer; font-size: 16px; padding: 0; }
form.inline { display: inline; }
label { display: block; margin: 10px 0; font-size: 14px; color: #374151; }
input, textarea { display: block; width: 100%; margin-top: 4px; padding: 9px 11px; border: 1px solid #d1d5db; border-radius: 9px; font: inherit; background: #fff; }
label.check { display: flex; gap: 8px; align-items: center; }
label.check input { width: auto; margin: 0; }
.error { color: var(--err); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.between { justify-content: space-between; }
.balance b { font-size: 20px; }
.upload { border-top: 1px solid #eee; padding-top: 8px; }
.drop input { padding: 18px; border-style: dashed; }
.tips { margin: 8px 0 14px; font-size: 14px; color: #374151; }
progress { width: 100%; height: 10px; }
table.list { width: 100%; border-collapse: collapse; }
table.list td, table.list th { padding: 10px 8px; border-bottom: 1px solid #eee; text-align: left; vertical-align: middle; }
td.num { text-align: right; font-variant-numeric: tabular-nums; }
.w30 { width: 30%; }
.badge { display: inline-block; font-size: 13px; padding: 2px 10px; border-radius: 20px; background: #eef2ff; color: #3730a3; }
.badge.ok { background: #e6f4ea; color: var(--ok); }
.badge.err { background: #fce8e6; color: var(--err); }
.pkg { text-align: center; }
.pkg .big { font-size: 28px; font-weight: 700; }
.preview { position: relative; width: 100%; aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; background: #111; }
.preview iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
body.tg { background: #141417; color: #ddd; padding-top: 40vh; }
