/* we-earn · 云涌世纪 —— 晴空 + 云朵 + 糖果色，圆润卡通风 */
:root {
  --sky1:#eaf3ff; --sky2:#f5eeff; --ink:#2b2d5c; --muted:#7c7fa6; --line:#e6e4f5; --card:#fffffffa;
  --pri:#5b7cff; --pri2:#8f6bff; --pink:#ff7eb6; --mint:#2fc39a; --sun:#ffb938; --coral:#ff6b6b;
  --r:18px; --shadow:0 6px 0 #dcd8f3, 0 12px 28px rgba(91,124,255,.12);
}
* { box-sizing:border-box; }
a { color:var(--pri); font-weight:600; text-decoration:none; } a:hover { color:var(--pink); }
body { margin:0; color:var(--ink); font:14px/1.65 "PingFang SC","HarmonyOS Sans SC","Microsoft YaHei",system-ui,sans-serif;
  background:radial-gradient(circle at 12% 8%, #fff 0 60px, transparent 61px), radial-gradient(circle at 88% 14%, #fff8 0 90px, transparent 91px),
  linear-gradient(160deg, var(--sky1), var(--sky2) 55%, #fff4f9); min-height:100vh; }
body::before { content:""; position:fixed; inset:0; pointer-events:none; opacity:.5;
  background-image:radial-gradient(#c9c3ff 1.2px, transparent 1.2px); background-size:22px 22px; mask-image:linear-gradient(#000, transparent 70%); }
header { position:sticky; top:0; z-index:5; display:flex; align-items:center; gap:14px; padding:10px 22px;
  background:#ffffffcc; backdrop-filter:blur(10px); border-bottom:2px solid #fff; box-shadow:0 4px 18px rgba(91,124,255,.08); }
.brand { display:flex; align-items:center; gap:10px; text-decoration:none; color:var(--ink); }
.brand img { height:34px; filter:drop-shadow(0 3px 0 #d6defd); }
.brand b { font-size:20px; font-weight:800; letter-spacing:.5px; background:linear-gradient(90deg,var(--pri),var(--pri2),var(--pink)); -webkit-background-clip:text; color:transparent; }
.brand small { font-size:11px; color:var(--muted); display:block; margin-top:-4px; }
header .sp { flex:1; }
header a, header button.link { color:var(--muted); background:none; border:0; cursor:pointer; font:inherit; font-size:13px; text-decoration:none; padding:6px 10px; border-radius:99px; }
header a:hover, header button.link:hover { background:#eef0ff; color:var(--pri); }
.who { display:flex; align-items:center; gap:8px; font-weight:600; }
.who .av { width:30px; height:30px; border-radius:50%; display:grid; place-items:center; color:#fff; font-size:13px; background:linear-gradient(135deg,var(--pink),var(--pri2)); box-shadow:0 3px 0 #e8c9f0; }
main { position:relative; max-width:1120px; margin:22px auto 60px; padding:0 18px; }
.hero { display:flex; align-items:center; gap:18px; padding:18px 22px; margin-bottom:18px; border-radius:24px; color:#fff;
  background:linear-gradient(120deg,#6f8dff,#9b7bff 55%,#ff8fc4); box-shadow:0 8px 0 #c9bdf7, 0 18px 40px rgba(143,107,255,.25); overflow:hidden; position:relative; }
.hero::after { content:""; position:absolute; right:-40px; top:-40px; width:200px; height:200px; border-radius:50%; background:#ffffff22; }
.hero img { width:96px; height:96px; object-fit:contain; flex:none; animation:bob 3s ease-in-out infinite; filter:drop-shadow(0 6px 8px rgba(43,45,92,.25)); }
.hero h2 { margin:0; font-size:20px; } .hero p { margin:4px 0 0; opacity:.92; }
@keyframes bob { 50% { transform:translateY(-6px) rotate(-3deg); } }
.card { position:relative; background:var(--card); border:2px solid #fff; border-radius:var(--r); padding:18px 20px; margin-bottom:18px; box-shadow:var(--shadow); }
.card h2 { font-size:16px; margin:0 0 14px; display:flex; align-items:center; gap:8px; }
.card h2::before { content:""; width:10px; height:10px; border-radius:4px; background:linear-gradient(135deg,var(--sun),var(--pink)); transform:rotate(45deg); }
.row { display:flex; gap:14px; flex-wrap:wrap; align-items:flex-end; }
.row > label { display:flex; flex-direction:column; gap:5px; font-size:12px; color:var(--muted); font-weight:600; min-width:150px; }
input, select, textarea { font:inherit; padding:9px 12px; border:2px solid var(--line); border-radius:12px; background:#fff; color:var(--ink); transition:.15s; }
input:focus, select:focus, textarea:focus { outline:none; border-color:var(--pri); box-shadow:0 0 0 4px #5b7cff22; }
input[type=file] { padding:7px; border-style:dashed; background:#fafaff; }
textarea { width:100%; min-height:64px; }
button.btn { font:inherit; font-weight:700; cursor:pointer; border:0; border-radius:14px; padding:9px 18px; color:#fff;
  background:linear-gradient(180deg,#7491ff,var(--pri)); box-shadow:0 4px 0 #3f5fd9; transition:transform .08s, box-shadow .08s; }
button.btn:active { transform:translateY(3px); box-shadow:0 1px 0 #3f5fd9; }
button.btn.ghost { color:var(--ink); background:#fff; box-shadow:0 4px 0 #dcd8f3; border:2px solid var(--line); }
button.btn.ok { background:linear-gradient(180deg,#4fd8b0,var(--mint)); box-shadow:0 4px 0 #1f9a78; }
button.btn.err { background:linear-gradient(180deg,#ff8a8a,var(--coral)); box-shadow:0 4px 0 #d64848; }
button.btn.sun { background:linear-gradient(180deg,#ffd06a,var(--sun)); box-shadow:0 4px 0 #d9951a; color:#5a3b00; }
button.btn:disabled { opacity:.45; cursor:not-allowed; transform:none; }
table { width:100%; border-collapse:separate; border-spacing:0; font-size:13px; }
th, td { padding:9px 10px; text-align:left; vertical-align:top; border-bottom:1.5px dashed var(--line); }
th { color:var(--muted); font-weight:700; white-space:nowrap; background:#f6f5ff; border-bottom:0; }
th:first-child { border-radius:10px 0 0 10px; } th:last-child { border-radius:0 10px 10px 0; }
tr:hover td { background:#fbfaff; }
td.num, th.num { text-align:right; font-variant-numeric:tabular-nums; }
.tag { display:inline-block; padding:2px 10px; border-radius:99px; font-size:12px; font-weight:700; background:#eef0ff; color:var(--pri); }
.tag.ok { background:#e3faf3; color:#14946f; } .tag.warn { background:#fff4dc; color:#b77700; } .tag.err { background:#ffe8ea; color:#d63f4f; } .tag.gray { background:#f1f1f6; color:var(--muted); }
.issues { margin:6px 0 0; padding-left:18px; font-size:12px; }
.issues .error { color:#d63f4f; } .issues .warn { color:#b77700; } .issues .info { color:var(--muted); }
.muted { color:var(--muted); font-size:12px; }
.tabs { display:flex; gap:8px; margin-bottom:18px; flex-wrap:wrap; }
.tabs button { font:inherit; font-weight:700; cursor:pointer; padding:8px 16px; border-radius:99px; border:2px solid #fff; background:#ffffffb0; color:var(--muted); box-shadow:0 3px 0 #dcd8f3; }
.tabs button.on { color:#fff; background:linear-gradient(120deg,var(--pri),var(--pri2)); box-shadow:0 3px 0 #4a3fc0; }
.hint { display:flex; gap:10px; align-items:center; background:#fffbea; border:2px solid #ffe7a3; color:#7a5600; padding:10px 14px; border-radius:14px; font-size:13px; }
.hint::before { content:"⏰"; }
.stats { display:grid; grid-template-columns:repeat(auto-fit,minmax(170px,1fr)); gap:14px; }
.stat { padding:14px 16px; border-radius:16px; background:linear-gradient(160deg,#fff,#f4f2ff); border:2px solid #fff; box-shadow:0 4px 0 #e4e0fa; }
.stat b { display:block; font-size:22px; font-weight:800; color:var(--pri2); font-variant-numeric:tabular-nums; }
.stat:nth-child(2) b { color:var(--mint); } .stat:nth-child(3) b { color:var(--sun); } .stat:nth-child(4) b { color:var(--pink); }
.empty { text-align:center; padding:18px; color:var(--muted); } .empty img { width:72px; opacity:.9; display:block; margin:0 auto 6px; }
#toast { position:fixed; bottom:28px; left:50%; transform:translateX(-50%); background:var(--ink); color:#fff; padding:10px 18px; border-radius:99px; display:none; z-index:9; box-shadow:0 6px 0 #14163a; font-weight:600; }
.login { max-width:440px; margin:10vh auto 0; text-align:center; }
.login img.m { width:150px; animation:bob 3s ease-in-out infinite; }
.login h1 { font-size:30px; margin:8px 0 2px; font-weight:900; background:linear-gradient(90deg,var(--pri),var(--pri2),var(--pink)); -webkit-background-clip:text; color:transparent; }
@media (max-width:640px) { .card { overflow-x:auto; } .row > label { min-width:100%; } th, td { padding:7px 5px; } .hero img { width:64px; height:64px; } header { padding:8px 12px; } .brand small { display:none; } }
