:root { --bg:#16181d; --card:#20242c; --line:#333a46; --text:#e6e8ec; --dim:#98a1b0; --acc:#e0a040; }
* { box-sizing:border-box; }
body { margin:0; padding:14px 18px 40px; background:var(--bg); color:var(--text); font:14px/1.4 "Segoe UI",system-ui,sans-serif; }
h1 { font-size:18px; margin:0; }
header { display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin-bottom:10px; }
header .sp { flex:1; }
a.btn, button { background:#2c323d; color:var(--text); border:1px solid var(--line); border-radius:6px; padding:6px 12px; font:inherit; cursor:pointer; text-decoration:none; }
a.btn:hover, button:hover { border-color:var(--acc); }
button.go { background:#2f5d3c; border-color:#3f7d50; } button.warn { background:#6b3030; border-color:#8a4040; }
input, select { background:#14161a; color:var(--text); border:1px solid var(--line); border-radius:5px; padding:6px 8px; font:inherit; }
input:focus, select:focus, button:focus-visible { outline:2px solid var(--acc); outline-offset:1px; }
.hint { color:var(--dim); font-size:12px; }
.bar { display:flex; gap:10px; align-items:center; flex-wrap:wrap; margin:6px 0 10px; }
.bar input[type=search] { min-width:260px; }
label.chk { display:flex; align-items:center; gap:6px; }
.err { color:#ff8080; margin:8px 0; } .ok { color:#5fdf7f; margin:8px 0; }
.login { max-width:340px; margin:12vh auto; background:var(--card); border:1px solid var(--line); border-radius:10px; padding:20px; display:flex; flex-direction:column; gap:10px; }
.login label { display:flex; flex-direction:column; gap:4px; color:var(--dim); font-size:12px; }
.aucwrap { max-height:calc(100vh - 170px); overflow:auto; border-radius:8px; }
table { border-collapse:collapse; width:100%; background:var(--card); }
#tbl { min-width:860px; }
th, td { padding:6px 8px; border-bottom:1px solid var(--line); text-align:left; vertical-align:middle; }
th { color:var(--dim); font-weight:600; font-size:12px; position:sticky; top:0; background:var(--card); z-index:2; box-shadow:0 1px 0 var(--line); cursor:pointer; user-select:none; }
td.n, th.n { text-align:right; white-space:nowrap; }
tr.it { cursor:pointer; } tr.it:hover td { background:#262b35; }
td img.icon { height:42px; width:42px; border-radius:4px; display:block; }
.dim { color:var(--dim); } .unsure { opacity:.5; }
.p0 { color:#ffffff; } .p5 { color:#ff9a1f; } .p1 { color:#3ddc5a; } .p2 { color:#4ea4ff; } .p3 { color:#ff5a5a; } .p4 { color:#ffd23f; }
.bl { color:#ffe14d; }
td.det { background:#1d2129; white-space:normal; padding:10px 12px 12px 56px; }
.aucdet { display:flex; flex-wrap:wrap; gap:18px; align-items:flex-start; }
.aucdet table { width:auto; background:#191c22; }
.aucdet td, .aucdet th { padding:3px 10px; font-size:13px; position:static; box-shadow:none; cursor:default; background:transparent; }
.chartbox { position:relative; flex:1; min-width:320px; }
.chartbox .per button { padding:3px 10px; margin-right:4px; font-size:13px; } .chartbox .per button.on { background:#3a4252; border-color:var(--acc); font-weight:600; }
.chartbox .leg { display:inline-flex; gap:14px; margin-left:12px; font-size:12px; color:var(--dim); vertical-align:middle; }
.chartbox .leg i, .chartbox .tip i { display:inline-block; width:14px; height:3px; border-radius:2px; vertical-align:middle; margin-right:5px; }
.chartbox svg { display:block; margin-top:6px; }
.chartbox .tip { position:absolute; pointer-events:none; background:#101318; border:1px solid var(--line); border-radius:6px; padding:6px 9px; font-size:12px; white-space:nowrap; z-index:5; box-shadow:0 4px 16px #0008; }
.foot { margin-top:8px; }
table.users { width:auto; min-width:0; } table.users th { position:static; cursor:default; }
form.inline { display:flex; gap:6px; margin:0; }
@media (max-width:700px) { body { padding:10px; } .bar input[type=search] { min-width:0; flex:1; } td.det { padding-left:12px; } }
h2 { font-size:15px; margin:18px 0 8px; }
.badge { background:#c0392b; color:#fff; border-radius:9px; padding:0 6px; font-size:12px; margin-left:4px; }
.login a.hint { text-align:center; }
