/* =========================================================
   杰哥云盘 · 限时云空间  |  JieGe Cloud · Time-Limited Space
   版权归豆包及杰哥(Jie Ge)所有  Copyright (c) 2026 Doubao & Jie Ge
   ========================================================= */

:root {
  --blue-950: #04122b;
  --blue-900: #061a38;
  --blue-800: #0a2a5e;
  --blue-700: #0f3d8c;
  --blue-600: #1557c0;
  --blue-500: #1f6feb;
  --blue-400: #3f8bff;
  --cyan: #35c2ff;
  --ink: #eaf2ff;
  --ink-2: #b9c9e4;
  --ink-3: #7f93b5;
  --line: rgba(120, 170, 255, .18);
  --glass: rgba(16, 42, 86, .55);
  --glass-2: rgba(10, 30, 62, .78);
  --ok: #24d18f;
  --warn: #ffb02e;
  --danger: #ff5d6c;
  --radius: 16px;
  --shadow: 0 18px 45px rgba(2, 12, 32, .55);
  --ease: cubic-bezier(.22, .8, .3, 1);
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  font-family: "Segoe UI", "Microsoft YaHei", "PingFang SC", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 700px at 12% -10%, #123f8a 0%, transparent 60%),
    radial-gradient(900px 600px at 100% 0%, #0b3d6e 0%, transparent 55%),
    linear-gradient(160deg, var(--blue-950), var(--blue-900) 45%, #031022 100%);
  background-attachment: fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.hidden { display: none !important; }
.muted { color: var(--ink-3); font-size: 13px; line-height: 1.7; }

button, input, select, textarea { font-family: inherit; }

/* ================= 通用控件 ================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 1px solid transparent; border-radius: 11px;
  padding: 11px 18px; font-size: 14px; font-weight: 600;
  cursor: pointer; text-decoration: none; color: #fff;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-primary {
  background: linear-gradient(135deg, var(--blue-500), var(--cyan));
  box-shadow: 0 10px 24px rgba(31, 111, 235, .35);
}
.btn-primary:hover { box-shadow: 0 14px 32px rgba(53, 194, 255, .45); transform: translateY(-1px); }
.btn-ghost { background: rgba(255, 255, 255, .06); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.btn-danger { background: linear-gradient(135deg, #e63946, #ff6b7a); box-shadow: 0 10px 24px rgba(230, 57, 70, .3); }
.btn-ok { background: linear-gradient(135deg, #16a06a, var(--ok)); }
.btn-sm { padding: 7px 12px; font-size: 12.5px; border-radius: 9px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }
.field > span { font-size: 12.5px; color: var(--ink-2); font-weight: 600; letter-spacing: .2px; }
input[type=text], input[type=password], input[type=email], input[type=number], input[type=search], select, textarea {
  width: 100%; padding: 11px 13px; border-radius: 11px;
  border: 1px solid var(--line); background: rgba(4, 16, 38, .6);
  color: var(--ink); font-size: 14px; outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--blue-400);
  box-shadow: 0 0 0 3px rgba(63, 139, 255, .18);
  background: rgba(4, 16, 38, .85);
}
input::placeholder, textarea::placeholder { color: #61789c; }
textarea { resize: vertical; }
select.select { cursor: pointer; }

.check { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--ink-2); margin: 4px 0 14px; cursor: pointer; }
.check input { width: 17px; height: 17px; accent-color: var(--blue-500); margin-top: 1px; }

.form-msg { font-size: 13px; min-height: 18px; margin: 4px 0 10px; color: var(--warn); }
.form-msg.err { color: var(--danger); }
.form-msg.ok { color: var(--ok); }

/* ================= 登录页 ================= */
.auth-screen { position: relative; min-height: 100vh; display: grid; place-items: center; padding: 28px 20px; overflow: hidden; }

.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; animation: float 16s ease-in-out infinite; }
.blob-a { width: 520px; height: 520px; background: #1f6feb; top: -140px; left: -120px; }
.blob-b { width: 420px; height: 420px; background: #35c2ff; bottom: -120px; right: -80px; animation-delay: -5s; }
.blob-c { width: 320px; height: 320px; background: #0f3d8c; top: 40%; left: 46%; animation-delay: -9s; opacity: .35; }
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.12); }
}

.auth-wrap {
  position: relative; z-index: 2; width: min(1060px, 100%);
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 46px; align-items: center;
}

.auth-hero { animation: fadeUp .8s var(--ease) both; }
.brand-badge {
  width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center;
  font-size: 30px; background: linear-gradient(135deg, var(--blue-500), var(--cyan));
  box-shadow: 0 14px 34px rgba(31, 111, 235, .45); margin-bottom: 20px;
}
.brand-badge.sm { width: 40px; height: 40px; font-size: 20px; border-radius: 12px; margin: 0; }
.hero-title { font-size: 44px; line-height: 1.15; margin: 0 0 8px; letter-spacing: -.5px; }
.hero-title em { display: block; font-style: normal; font-size: 22px; color: var(--cyan); font-weight: 600; letter-spacing: 2px; }
.hero-desc { color: var(--ink-2); line-height: 1.85; font-size: 14.5px; max-width: 460px; margin: 14px 0 22px; }
.hero-points { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 12px; }
.hero-points li { display: flex; align-items: center; gap: 14px; font-size: 13.5px; color: var(--ink-2); }
.hero-points b {
  min-width: 84px; text-align: center; padding: 6px 8px; border-radius: 9px;
  background: rgba(53, 194, 255, .12); color: var(--cyan); font-size: 13px; border: 1px solid rgba(53, 194, 255, .25);
}
.hero-copy { font-size: 12px; color: var(--ink-3); letter-spacing: .5px; margin: 0; }

.auth-card {
  background: var(--glass); border: 1px solid var(--line); border-radius: 22px;
  padding: 30px 28px 20px; backdrop-filter: blur(18px);
  box-shadow: var(--shadow); animation: fadeUp .9s var(--ease) .1s both;
}
.auth-tabs { display: flex; gap: 8px; background: rgba(4, 16, 38, .55); padding: 5px; border-radius: 13px; margin-bottom: 22px; }
.auth-tab {
  flex: 1; padding: 10px; border: 0; border-radius: 10px; background: transparent;
  color: var(--ink-3); font-size: 14px; font-weight: 600; cursor: pointer; transition: all .22s var(--ease);
}
.auth-tab.active { background: linear-gradient(135deg, var(--blue-500), var(--blue-400)); color: #fff; box-shadow: 0 8px 20px rgba(31, 111, 235, .35); }
.auth-form { animation: fadeUp .4s var(--ease) both; }
.auth-foot { display: flex; justify-content: flex-end; margin-top: 12px; }
.lang-mini { background: none; border: 1px solid var(--line); color: var(--ink-2); border-radius: 8px; padding: 4px 10px; font-size: 12px; cursor: pointer; }
.hint { font-size: 12px; color: var(--ink-3); line-height: 1.65; margin: 12px 0 0; }
.pwd-wrap { position: relative; }
.pwd-wrap input { padding-right: 44px; }
.eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--ink-3); cursor: pointer; font-size: 15px; padding: 6px 10px; }

/* ================= 主框架 ================= */
.app-screen { display: flex; flex-direction: column; min-height: 100vh; animation: fadeIn .5s var(--ease) both; }

.topbar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 20px;
  padding: 12px 22px; background: rgba(4, 18, 43, .82);
  border-bottom: 1px solid var(--line); backdrop-filter: blur(16px);
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-size: 15.5px; letter-spacing: .3px; }
.brand-text small { font-size: 10.5px; color: var(--cyan); letter-spacing: 1.6px; }

.nav { display: flex; gap: 4px; flex: 1; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav-item {
  border: 0; background: transparent; color: var(--ink-2); font-size: 13.5px; font-weight: 600;
  padding: 9px 13px; border-radius: 10px; cursor: pointer; white-space: nowrap;
  transition: all .2s var(--ease);
}
.nav-item:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.nav-item.active { background: linear-gradient(135deg, var(--blue-600), var(--blue-500)); color: #fff; box-shadow: 0 8px 20px rgba(31, 111, 235, .35); }

.top-right { display: flex; align-items: center; gap: 12px; }
.lang-btn { background: rgba(255, 255, 255, .07); border: 1px solid var(--line); color: var(--ink); border-radius: 9px; padding: 7px 11px; font-size: 12px; font-weight: 700; cursor: pointer; }
.lang-btn:hover { background: rgba(255, 255, 255, .14); }
.user-chip { display: flex; align-items: center; gap: 9px; padding: 5px 12px 5px 5px; border-radius: 30px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); }
.avatar { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 13px; background: linear-gradient(135deg, var(--blue-500), var(--cyan)); }
.user-meta { display: flex; flex-direction: column; line-height: 1.25; }
.user-meta strong { font-size: 12.5px; }
.user-meta small { font-size: 10.5px; color: var(--cyan); }

.main { flex: 1; width: min(1320px, 100%); margin: 0 auto; padding: 24px 22px 40px; }
.view { display: none; animation: fadeUp .4s var(--ease) both; }
.view.active { display: block; }

/* ================= 统计条 ================= */
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr) 1.5fr; gap: 12px; margin-bottom: 20px; }
.stat-card {
  background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 15px 16px; display: flex; align-items: center; gap: 12px;
  cursor: pointer; transition: transform .22s var(--ease), border-color .22s, box-shadow .22s;
  position: relative; overflow: hidden;
}
.stat-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(135deg, rgba(53, 194, 255, .12), transparent 55%); opacity: 0; transition: opacity .25s;
}
.stat-card:hover { transform: translateY(-3px); border-color: rgba(53, 194, 255, .45); box-shadow: 0 16px 32px rgba(2, 12, 32, .5); }
.stat-card:hover::after { opacity: 1; }
.sc-icon { font-size: 24px; }
.stat-card b { display: block; font-size: 21px; line-height: 1.2; }
.stat-card small { color: var(--ink-3); font-size: 12px; }
.stat-card em { margin-left: auto; font-style: normal; font-size: 11.5px; color: var(--ink-3); }
.stat-card.wide { flex-direction: column; align-items: stretch; gap: 8px; cursor: default; }
.stat-card.wide:hover { transform: none; }
.disk-line { display: flex; justify-content: space-between; align-items: baseline; }
.disk-line b { font-size: 14px; }
.disk-line em { font-size: 11.5px; color: var(--ink-2); font-style: normal; }
.meter { height: 8px; border-radius: 20px; background: rgba(2, 12, 32, .6); overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: 20px; background: linear-gradient(90deg, var(--blue-500), var(--cyan)); transition: width .8s var(--ease); }
.disk-note { font-size: 10.5px; color: var(--ink-3); }

/* ================= 工具栏 ================= */
.toolbar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.cat-tabs { display: flex; gap: 6px; background: var(--glass); padding: 5px; border-radius: 13px; border: 1px solid var(--line); flex-wrap: wrap; }
.cat-tab { border: 0; background: transparent; color: var(--ink-2); padding: 8px 13px; border-radius: 9px; font-size: 13px; font-weight: 600; cursor: pointer; transition: all .2s var(--ease); }
.cat-tab:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.cat-tab.active { background: linear-gradient(135deg, var(--blue-500), var(--cyan)); color: #fff; }
.tool-right { margin-left: auto; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.tool-right .select { width: auto; min-width: 128px; padding: 9px 12px; font-size: 13px; }
.search { display: flex; align-items: center; gap: 8px; background: rgba(4, 16, 38, .6); border: 1px solid var(--line); border-radius: 11px; padding: 0 12px; transition: border-color .2s; }
.search:focus-within { border-color: var(--blue-400); }
.search input { border: 0; background: none; padding: 10px 0; width: 170px; }
.search span { font-size: 13px; opacity: .7; }

.library-head { display: flex; align-items: center; gap: 10px; margin: 4px 0 14px; }
.library-head h2 { font-size: 17px; margin: 0; font-weight: 700; }
.count-pill { background: rgba(53, 194, 255, .14); color: var(--cyan); border: 1px solid rgba(53, 194, 255, .28); border-radius: 20px; padding: 2px 11px; font-size: 12px; font-weight: 700; }

/* ================= 资料卡片 ================= */
.item-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 14px; }
.item {
  background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; display: flex; flex-direction: column; gap: 11px;
  position: relative; overflow: hidden; animation: fadeUp .45s var(--ease) both;
  transition: transform .22s var(--ease), border-color .22s, box-shadow .22s;
}
.item:hover { transform: translateY(-3px); border-color: rgba(53, 194, 255, .42); box-shadow: 0 18px 34px rgba(2, 12, 32, .5); }
.item.st-expired { opacity: .62; }
.item.st-recycled { opacity: .7; border-style: dashed; }
.item-top { display: flex; align-items: flex-start; gap: 12px; }
.item-ico {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 21px; flex: 0 0 auto;
  background: linear-gradient(135deg, rgba(31, 111, 235, .35), rgba(53, 194, 255, .18));
  border: 1px solid rgba(63, 139, 255, .3);
}
.item-ico.video { background: linear-gradient(135deg, rgba(255, 93, 108, .3), rgba(255, 176, 46, .18)); border-color: rgba(255, 93, 108, .3); }
.item-ico.audio { background: linear-gradient(135deg, rgba(36, 209, 143, .3), rgba(53, 194, 255, .16)); border-color: rgba(36, 209, 143, .3); }
.item-ico.document { background: linear-gradient(135deg, rgba(63, 139, 255, .35), rgba(120, 180, 255, .16)); }
.item-ico.file { background: linear-gradient(135deg, rgba(160, 130, 255, .32), rgba(53, 194, 255, .14)); border-color: rgba(160, 130, 255, .3); }
.item-title { font-size: 14px; font-weight: 600; line-height: 1.45; word-break: break-all; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.item-sub { font-size: 11.5px; color: var(--ink-3); margin-top: 3px; }
.item-foot { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pill { font-size: 11px; padding: 3px 9px; border-radius: 20px; border: 1px solid var(--line); color: var(--ink-2); background: rgba(255, 255, 255, .04); }
.pill.ok { color: var(--ok); border-color: rgba(36, 209, 143, .35); background: rgba(36, 209, 143, .1); }
.pill.warn { color: var(--warn); border-color: rgba(255, 176, 46, .35); background: rgba(255, 176, 46, .1); }
.pill.danger { color: var(--danger); border-color: rgba(255, 93, 108, .35); background: rgba(255, 93, 108, .1); }
.pill.forever { color: var(--cyan); border-color: rgba(53, 194, 255, .35); background: rgba(53, 194, 255, .1); }
.item-actions { display: flex; gap: 6px; margin-top: auto; padding-top: 4px; flex-wrap: wrap; }
.icon-btn {
  border: 1px solid var(--line); background: rgba(255, 255, 255, .05); color: var(--ink-2);
  border-radius: 9px; padding: 6px 10px; font-size: 12px; cursor: pointer; transition: all .18s;
  display: inline-flex; align-items: center; gap: 5px;
}
.icon-btn:hover { background: rgba(63, 139, 255, .22); color: #fff; border-color: rgba(63, 139, 255, .5); }
.icon-btn.danger:hover { background: rgba(255, 93, 108, .22); border-color: rgba(255, 93, 108, .5); color: #ffd7db; }
.item-badge-expired { position: absolute; top: 10px; right: 10px; font-size: 10.5px; color: var(--danger); background: rgba(255, 93, 108, .14); border: 1px solid rgba(255, 93, 108, .3); padding: 2px 8px; border-radius: 20px; }

.empty { text-align: center; padding: 60px 20px; color: var(--ink-3); }
.empty-ico { font-size: 46px; margin-bottom: 10px; opacity: .8; }
.empty p { margin: 0 0 4px; font-size: 15px; color: var(--ink-2); }

/* ================= 面板 / 表格 ================= */
.panel {
  background: var(--glass); border: 1px solid var(--line); border-radius: 18px;
  padding: 22px; margin-bottom: 18px;
}
.panel h2 { font-size: 16px; margin: 0 0 14px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; flex-wrap: wrap; }
.panel-head h2 { margin: 0; }
.kv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.kv-grid > div { background: rgba(4, 16, 38, .45); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.kv-grid small { display: block; font-size: 11px; color: var(--ink-3); margin-bottom: 4px; }
.kv-grid b { font-size: 13.5px; word-break: break-all; }

.form-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin-bottom: 8px; }
.form-grid.two { grid-template-columns: 1fr 1fr; }

.table-scroll { overflow-x: auto; border-radius: 12px; }
.data-table, .perm-table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 620px; }
.data-table th, .perm-table th {
  text-align: left; padding: 10px 12px; font-size: 11.5px; color: var(--ink-3);
  font-weight: 700; letter-spacing: .4px; border-bottom: 1px solid var(--line); white-space: nowrap;
}
.data-table td, .perm-table td { padding: 11px 12px; border-bottom: 1px solid rgba(120, 170, 255, .09); vertical-align: middle; }
.data-table tr:hover td { background: rgba(63, 139, 255, .07); }
.data-table td b { font-weight: 600; word-break: break-all; }
.perm-table td { color: var(--ink-2); }
.perm-table td:nth-child(n+2) { text-align: center; }

.req-list { display: grid; gap: 12px; }
.req-item { background: rgba(4, 16, 38, .45); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.req-item .who { font-weight: 700; }
.req-item .why { color: var(--ink-3); font-size: 12.5px; flex: 1; min-width: 160px; }
.req-item .acts { display: flex; gap: 8px; }

/* ================= 弹窗 ================= */
.modal {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  background: rgba(2, 8, 20, .72); backdrop-filter: blur(6px); padding: 20px;
  animation: fadeIn .22s ease both;
}
.modal-card {
  width: min(560px, 100%);
  background: linear-gradient(170deg, #0a2450, #05142e);
  border: 1px solid rgba(120, 170, 255, .26); border-radius: 20px; padding: 22px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .6); animation: popIn .28s var(--ease) both;
  max-height: 92vh; overflow-y: auto;
}
.modal-card.lg { width: min(980px, 100%); }
.modal-card.sm { width: min(420px, 100%); }
.modal-card.center { text-align: center; }
.modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.modal-head h3 { margin: 0; font-size: 16px; }
.x { background: rgba(255, 255, 255, .06); border: 1px solid var(--line); color: var(--ink-2); width: 30px; height: 30px; border-radius: 9px; cursor: pointer; font-size: 13px; }
.x:hover { background: rgba(255, 93, 108, .2); color: #fff; }
.modal-foot { display: flex; justify-content: flex-end; gap: 10px; align-items: center; margin-top: 16px; }
.confirm-text { font-size: 14px; line-height: 1.7; color: var(--ink-2); margin: 0 0 8px; }
.bye-ico { font-size: 44px; margin-bottom: 6px; }

.drop {
  border: 2px dashed rgba(63, 139, 255, .4); border-radius: 14px; padding: 30px 20px; text-align: center;
  cursor: pointer; transition: all .22s var(--ease); background: rgba(4, 16, 38, .4);
}
.drop:hover, .drop.over { border-color: var(--cyan); background: rgba(53, 194, 255, .1); transform: scale(1.01); }
.drop-ico { font-size: 30px; color: var(--cyan); margin-bottom: 6px; }
.drop p { margin: 0 0 4px; font-size: 14px; }
.drop small { color: var(--ink-3); font-size: 11.5px; }
.up-list { display: grid; gap: 6px; margin: 12px 0; max-height: 150px; overflow-y: auto; }
.up-row { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; background: rgba(4, 16, 38, .5); border: 1px solid var(--line); border-radius: 9px; padding: 8px 11px; }
.up-row span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.up-row span:last-child { color: var(--ink-3); flex: 0 0 auto; }

.progress { height: 8px; border-radius: 20px; background: rgba(2, 12, 32, .7); overflow: hidden; margin: 14px 0 0; }
.progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue-500), var(--cyan)); transition: width .3s; }

.preview-body { border-radius: 12px; overflow: hidden; background: #020a16; min-height: 160px; display: grid; place-items: center; }
.preview-body video, .preview-body img { width: 100%; max-height: 66vh; object-fit: contain; background: #000; }
.preview-body audio { width: 100%; padding: 26px 18px; }
.preview-body iframe { width: 100%; height: 66vh; border: 0; background: #fff; }
.preview-body pre { width: 100%; margin: 0; padding: 18px; max-height: 62vh; overflow: auto; font-size: 12.5px; line-height: 1.7; color: #cfe0ff; white-space: pre-wrap; word-break: break-word; background: #04101f; }
.preview-lock { padding: 46px 20px; text-align: center; color: var(--warn); }
.preview-lock .lk { font-size: 34px; display: block; margin-bottom: 8px; }

/* ================= 提示 ================= */
.toast-wrap { position: fixed; right: 18px; bottom: 18px; z-index: 200; display: grid; gap: 10px; }
.toast {
  background: rgba(9, 28, 58, .96); border: 1px solid var(--line); border-left: 4px solid var(--cyan);
  border-radius: 11px; padding: 12px 16px; font-size: 13px; min-width: 220px; max-width: 360px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .5); animation: slideIn .3s var(--ease) both;
}
.toast.ok { border-left-color: var(--ok); }
.toast.err { border-left-color: var(--danger); }
.toast.warn { border-left-color: var(--warn); }

.loading { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: rgba(2, 8, 20, .5); backdrop-filter: blur(3px); }
.spin { width: 40px; height: 40px; border-radius: 50%; border: 3px solid rgba(63, 139, 255, .25); border-top-color: var(--cyan); animation: spin .8s linear infinite; }

.foot {
  text-align: center; padding: 20px; font-size: 11.5px; color: var(--ink-3);
  border-top: 1px solid var(--line); background: rgba(4, 14, 32, .6);
}
.foot .dot { margin: 0 8px; opacity: .5; }

/* ================= 动画 ================= */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes popIn { from { opacity: 0; transform: scale(.95) translateY(10px); } to { opacity: 1; transform: scale(1) translateY(0); } }
@keyframes slideIn { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ================= 响应式 ================= */
@media (max-width: 1120px) {
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-card.wide { grid-column: span 2; }
  .auth-wrap { grid-template-columns: 1fr; gap: 26px; }
  .auth-hero { text-align: center; }
  .hero-desc { margin-inline: auto; }
  .hero-points { max-width: 420px; margin-inline: auto; }
  .hero-title { font-size: 34px; }
}
@media (max-width: 860px) {
  .topbar { flex-wrap: wrap; gap: 10px; padding: 10px 14px; }
  .nav { order: 3; width: 100%; flex: 1 0 100%; }
  .top-right { margin-left: auto; }
  .main { padding: 16px 14px 30px; }
  .item-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
  .tool-right { width: 100%; }
  .search { flex: 1; }
  .search input { width: 100%; }
}
@media (max-width: 560px) {
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .stat-card { padding: 12px; }
  .stat-card b { font-size: 18px; }
  .stat-card em { display: none; }
  .item-grid { grid-template-columns: 1fr; }
  .user-meta { display: none; }
  .form-grid.two { grid-template-columns: 1fr; }
  .hero-title { font-size: 27px; }
  .auth-card { padding: 22px 18px 16px; }
  .modal-card { padding: 18px; }
  .btn { padding: 10px 15px; }
}