/* ============================================================
   wp.xin10.top 全新设计体系 v2.0
   纯自研组件库，替代 Bootstrap 3 + Material Design
   ============================================================ */

:root {
  --p1: #2f80f7;            /* 主色起（亮蓝） */
  --p2: #1c5fd4;            /* 主色止（深蓝） */
  --grad: linear-gradient(135deg, var(--p1), var(--p2));
  --ink: #233247;           /* 主文字 */
  --ink-2: #51637f;         /* 次文字 */
  --ink-3: #8fa3bd;         /* 弱文字 */
  --glass: rgba(255, 255, 255, 0.62);
  --glass-2: rgba(255, 255, 255, 0.78);
  --gline: rgba(255, 255, 255, 0.7);
  --shadow: 0 8px 32px rgba(30, 95, 212, 0.12);
  --shadow-lg: 0 14px 44px rgba(30, 95, 212, 0.18);
  --r-lg: 22px; --r-md: 14px; --r-sm: 10px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  font-size: 15px; line-height: 1.65; letter-spacing: .2px;
  color: var(--ink);
  background: #f2f8ff;
}
a { color: var(--p1); text-decoration: none; transition: color .2s; }
a:hover { color: var(--p2); }
h1, h2, h3, h4 { margin: 0 0 .5em; font-weight: 700; color: var(--ink); line-height: 1.3; }
p { margin: 0 0 1em; }
::selection { background: rgba(47, 128, 247, .3); }
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(28, 95, 212, .35); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: rgba(28, 95, 212, .55); }

/* ---------- 背景光斑 ---------- */
/* ---------- 背景光斑（径向渐变实现，无 blur 开销） ---------- */
.bg-orbs {
  position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background: linear-gradient(160deg, #eef6ff 0%, #f9fcff 40%, #e8f2ff 75%, #f0f8ff 100%);
}
.bg-orbs i { position: absolute; border-radius: 50%; opacity: .6; }
.bg-orbs .o1 { width: 640px; height: 640px; background: radial-gradient(circle, rgba(156,200,255,.8) 0%, rgba(156,200,255,0) 68%); top: -200px; left: -180px; }
.bg-orbs .o2 { width: 560px; height: 560px; background: radial-gradient(circle, rgba(109,179,255,.75) 0%, rgba(109,179,255,0) 68%); top: 26%; right: -200px; }
.bg-orbs .o3 { width: 520px; height: 520px; background: radial-gradient(circle, rgba(199,226,255,.85) 0%, rgba(199,226,255,0) 68%); bottom: -180px; left: 26%; }

/* ---------- 布局 ---------- */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.row { display: flex; flex-wrap: wrap; margin: -14px; }
.col { padding: 14px; }
.col-main { flex: 1 1 620px; min-width: 0; }
.col-side { flex: 0 0 320px; min-width: 0; }
@media (max-width: 900px) {
  .col-main { flex: 1 1 100%; }
  .col-side { flex: 1 1 100%; }
}

/* ---------- 左侧边栏 ---------- */
.side-nav {
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 100;
  width: 248px;
  display: flex; flex-direction: column;
  padding: 28px 18px 22px;
  background: rgba(255, 255, 255, .94);
  border-right: 1px solid var(--gline);
  box-shadow: 4px 0 26px rgba(30, 95, 212, .08);
  transition: transform .3s ease;
  overflow-y: auto;
}
.side-nav .brand {
  display: block; text-align: center;
  font-size: 20px; line-height: 1.5;
  margin: 0 6px 26px; padding: 4px 0;
  flex-shrink: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.side-links { display: flex; flex-direction: column; gap: 6px; overflow-y: auto; min-height: 0; flex-shrink: 1; scrollbar-width: thin; }
.side-links a, .side-foot a {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 14px;
  color: var(--ink-2); font-weight: 500; font-size: 15px;
  transition: all .22s ease;
}
.side-links a i, .side-foot a i { width: 20px; text-align: center; font-size: 15px; }
.side-links a:hover, .side-foot a:hover { color: var(--p1); background: rgba(47, 128, 247, .1); }
.side-links a.on {
  color: #fff; background: var(--grad);
  box-shadow: 0 6px 16px rgba(47, 128, 247, .35);
}
.side-links a.on:hover { color: #fff; }
.side-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .7); flex-shrink: 0; }

.side-mask {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(45, 45, 80, .35);
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.side-mask.show { opacity: 1; pointer-events: auto; }

/* ---------- 主布局（侧栏右侧内容区） ---------- */
.layout { margin-left: 248px; min-height: 100vh; display: flex; flex-direction: column; }
.layout main.wrap { flex: 1; width: 100%; max-width: 1060px; margin: 0 auto; padding: 30px 24px 10px; }

/* 悬浮汉堡按钮（仅移动端） */
.nav-burger {
  position: fixed; top: 16px; left: 16px; z-index: 101;
  display: none;
  width: 46px; height: 46px; border: 1px solid var(--gline); border-radius: 14px;
  background: rgba(255, 255, 255, .95);
  box-shadow: var(--shadow);
  cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-burger span { width: 20px; height: 3px; border-radius: 2px; background: var(--p1); }
@media (max-width: 991px) {
  .side-nav { transform: translateX(-105%); box-shadow: none; }
  .side-nav.open { transform: translateX(0); box-shadow: 0 0 60px rgba(0, 0, 0, .22); }
  .nav-burger { display: flex; }
  .layout { margin-left: 0; }
  .layout main.wrap { padding-top: 82px; }
}

/* ---------- 卡片 ---------- */
.card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--gline);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  padding: 26px 28px;
  margin-bottom: 22px;
}
.card-flush { padding: 0; overflow: hidden; }
.card-head {
  padding: 16px 24px;
  background: var(--grad); color: #fff;
  font-weight: 600; font-size: 15.5px;
  display: flex; align-items: center; gap: 8px;
}
.card-head .fa { font-size: 15px; }
.card-body { padding: 20px 24px; }
.page-title { font-size: 26px; margin-bottom: 4px; }
.page-sub { color: var(--ink-2); font-size: 14px; margin-bottom: 18px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 22px; border: 0; border-radius: 12px;
  font-size: 14.5px; font-weight: 600; font-family: inherit;
  cursor: pointer; letter-spacing: .3px; line-height: 1.4;
  transition: transform .18s ease, box-shadow .18s ease, background .25s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--grad); color: #fff !important; box-shadow: 0 6px 18px rgba(47, 128, 247, .38); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(47, 128, 247, .48); }
.btn-info { background: linear-gradient(135deg, #4facfe, #00c6fb); color: #fff !important; box-shadow: 0 6px 18px rgba(79, 172, 254, .35); }
.btn-info:hover { transform: translateY(-2px); }
.btn-danger { background: linear-gradient(135deg, #f5576c, #e8415d); color: #fff !important; box-shadow: 0 6px 18px rgba(245, 87, 108, .35); }
.btn-danger:hover { transform: translateY(-2px); }
.btn-ghost { background: rgba(255, 255, 255, .65); color: var(--p1) !important; border: 1px solid rgba(255, 255, 255, .85); box-shadow: 0 3px 10px rgba(30, 95, 212, .1); }
.btn-ghost:hover { background: #fff; color: var(--p2) !important; }
.btn-lg { padding: 14px 34px; font-size: 17px; border-radius: 14px; }
.btn-sm { padding: 6px 14px; font-size: 13px; border-radius: 10px; }

/* ---------- 表单 ---------- */
.input {
  width: 100%; padding: 11px 15px;
  background: rgba(255, 255, 255, .62);
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 12px;
  font-size: 14.5px; font-family: inherit; color: var(--ink);
  box-shadow: inset 0 1px 4px rgba(30, 95, 212, .06);
  transition: all .25s ease; outline: none;
}
.input:focus { border-color: var(--p1); background: #fff; box-shadow: 0 0 0 3px rgba(47, 128, 247, .18); }
.input[readonly] { color: var(--ink-2); }
.input-group { display: flex; }
.input-group .input { border-radius: 12px 0 0 12px; border-right: 0; }
.input-group .btn { border-radius: 0 12px 12px 0; white-space: nowrap; }
.field-label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 7px; }
.check {
  display: inline-flex; align-items: center; gap: 8px;
  cursor: pointer; user-select: none; color: var(--ink); font-size: 14.5px;
}
.check input { width: 17px; height: 17px; accent-color: var(--p1); cursor: pointer; }
.help-text { font-size: 12.5px; color: var(--ink-3); margin-top: 6px; }

/* ---------- 搜索条 ---------- */
.search-bar { display: flex; gap: 10px; align-items: center; margin-left: auto; }
.search-bar .input { width: 240px; }
@media (max-width: 767px) {
  .search-bar { margin: 14px 0 4px; width: 100%; }
  .search-bar .input { flex: 1; width: auto; }
}

/* ---------- 表格 ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--r-md); }
table.list { width: 100%; border-collapse: collapse; font-size: 14.5px; }
table.list th {
  text-align: left; padding: 12px 14px; white-space: nowrap;
  color: var(--p2); font-weight: 600; font-size: 13.5px;
  border-bottom: 2px solid rgba(28, 95, 212, .22);
}
table.list td {
  padding: 13px 14px; vertical-align: middle;
  border-bottom: 1px solid rgba(255, 255, 255, .55);
}
table.list tbody tr { transition: background .2s; }
table.list tbody tr:hover { background: rgba(255, 255, 255, .5); }
table.list .ficon { color: var(--p1); margin-right: 7px; }
table.list .fname { font-weight: 500; word-break: break-all; }
.tag {
  display: inline-block; padding: 3px 11px; border-radius: 999px;
  font-size: 12px; font-weight: 600;
  background: rgba(47, 128, 247, .12); color: var(--p2);
}
.dim { color: var(--ink-3); font-size: 13px; }
@media (max-width: 767px) {
  table.list thead { display: none; }
  table.list, table.list tbody, table.list tr, table.list td { display: block; width: 100%; }
  table.list tr {
    background: rgba(255, 255, 255, .5); border-radius: 16px;
    margin-bottom: 12px; padding: 6px 4px;
    border: 1px solid rgba(255, 255, 255, .7);
  }
  table.list td {
    border: 0 !important; padding: 7px 16px;
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
  }
  table.list td::before {
    content: attr(data-label);
    color: var(--ink-3); font-size: 12.5px; font-weight: 600; flex-shrink: 0;
  }
  table.list td.no-label::before { content: none; }
}
.empty-tip { text-align: center; padding: 46px 16px !important; color: var(--ink-3); }
.empty-tip .fa { display: block; font-size: 40px; margin-bottom: 12px; opacity: .5; }

/* ---------- 分页 ---------- */
.pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 18px; }
.pager a, .pager span {
  min-width: 36px; padding: 7px 12px; text-align: center;
  border-radius: 10px; font-size: 13.5px; font-weight: 500;
  background: rgba(255, 255, 255, .6); color: var(--p1);
  border: 1px solid rgba(255, 255, 255, .8);
}
.pager a:hover { background: #fff; color: var(--p2); }
.pager .cur { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 4px 12px rgba(47, 128, 247, .3); }
.pager .off { color: #a9b4cc; background: rgba(255, 255, 255, .35); }
.list-meta { color: var(--ink-2); font-size: 13.5px; }
.list-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 20px; }
.list-foot .pager { margin: 0 0 0 auto; }
@media (max-width: 767px) { .list-foot .pager { margin: 6px auto 0; } }

/* ---------- 上传区 ---------- */
.dropzone {
  min-height: 340px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  border-radius: var(--r-lg); padding: 40px 26px;
  background: rgba(255, 255, 255, 0.7);
  border: 2px dashed rgba(28, 95, 212, .30);
  box-shadow: var(--shadow);
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.dropzone:hover, .dropzone.dragover { border-color: var(--p1); box-shadow: var(--shadow-lg); background: rgba(255, 255, 255, .7); }
.dz-icon {
  width: 86px; height: 86px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--grad); color: #fff; font-size: 34px;
  box-shadow: 0 10px 26px rgba(47, 128, 247, .4);
  margin-bottom: 18px;
}
.dz-title { font-size: 21px; font-weight: 700; color: var(--ink); margin-bottom: 20px; word-break: break-all; }
.dz-options { margin-top: 24px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.dz-options .input { width: 220px; }
.up-progress { width: 100%; max-width: 560px; margin-bottom: 26px; text-align: left; }
.up-meta { display: flex; justify-content: space-between; gap: 10px; margin-top: 8px; font-size: 13px; color: var(--ink-2); }
.up-meta .fname { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; text-align: center; }

/* ---------- 进度条 ---------- */
.progress { height: 14px; border-radius: 999px; background: rgba(255, 255, 255, .55); box-shadow: inset 0 1px 4px rgba(30, 95, 212, .12); overflow: hidden; }
.progress > i {
  display: block; height: 100%; width: 0;
  background: var(--grad); border-radius: 999px;
  transition: width .3s ease;
}

/* ---------- 提示条 ---------- */
.note {
  padding: 13px 16px; border-radius: 12px; font-size: 13.5px;
  background: rgba(255, 255, 255, .5);
  border: 1px solid rgba(255, 255, 255, .7);
  color: var(--ink-2); margin-bottom: 12px;
}
.note b { color: var(--ink); }
.note .fa { color: var(--p1); margin-right: 6px; }
.alert {
  padding: 13px 18px; border-radius: 14px; font-size: 14px;
  border: 1px solid rgba(255, 255, 255, .7); margin-bottom: 12px;
}
.alert-success { background: rgba(226, 248, 232, .88); color: #1e7e46; }
.alert-danger { background: rgba(253, 232, 235, .88); color: #c0392b; }
.alert-warning { background: rgba(255, 246, 224, .88); color: #b7791f; }
.alert-info { background: rgba(232, 243, 255, .88); color: #2361a8; }

/* ---------- Tabs（文件查看页） ---------- */
.tabs { display: flex; gap: 4px; border-bottom: 2px solid rgba(28, 95, 212, .16); margin-bottom: 20px; flex-wrap: wrap; }
.tabs a {
  padding: 11px 20px; border-radius: 12px 12px 0 0;
  color: var(--ink-2); font-weight: 500; font-size: 14.5px; cursor: pointer;
  border-bottom: 2px solid transparent; margin-bottom: -2px;
  transition: all .2s;
}
.tabs a:hover { color: var(--p2); background: rgba(255, 255, 255, .4); }
.tabs a.on { color: var(--p2); background: rgba(255, 255, 255, .55); border-bottom-color: var(--p2); }
.tab-pane { display: none; }
.tab-pane.on { display: block; }
.form-row { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; }
.form-row .field-label { margin: 0; flex: 0 0 96px; text-align: right; }
.form-row .input-group { flex: 1; }
@media (max-width: 767px) {
  .form-row { flex-direction: column; align-items: stretch; gap: 7px; }
  .form-row .field-label { flex: none; text-align: left; }
  .form-row .input-group { width: 100%; }
}

/* ---------- 文件查看 ---------- */
.fv-stage { text-align: center; padding: 26px 10px 10px; }
.fv-icon { font-size: 84px; color: var(--p1); opacity: .85; margin-bottom: 16px; }
.fv-name { font-size: 16px; color: var(--ink-2); word-break: break-all; }
.fv-actions { margin-top: 26px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.image-view img { max-width: 100%; max-height: 480px; border-radius: 14px; box-shadow: var(--shadow); }
.video-view video, .videoplayer { width: 100%; max-height: 480px; min-height: 300px; border-radius: 14px; background: #000; }
.fileinfo { max-width: 640px; margin: 0 auto; }
.fileinfo table { width: 100%; border-collapse: collapse; font-size: 14px; }
.fileinfo th, .fileinfo td { padding: 9px 12px; text-align: left; }
.fileinfo th { color: var(--p2); font-weight: 600; white-space: nowrap; }
.fileinfo tr + tr th, .fileinfo tr + tr td { border-top: 1px solid rgba(255, 255, 255, .6); }
@media (max-width: 767px) {
  .fileinfo th, .fileinfo td { display: block; width: 100%; border-top: 0 !important; padding: 3px 12px; }
  .fileinfo tr { display: block; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.6); }
}
/* 兼容旧类（APlayer/提示等） */
.view { padding-top: 30px; padding-bottom: 30px; text-align: center; }
.elseview { height: 150px; display: flex; align-items: center; justify-content: center; }
.tubiao { font-size: 84px; color: var(--p1); opacity: .85; }
.elsetext { color: var(--ink-2); font-size: 15px; }
.filename { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aplayer .aplayer-pic { height: 100px; width: 100px; }
.aplayer .aplayer-info .aplayer-music .aplayer-title { font-size: 17px; }
.aplayer .aplayer-info { margin-left: 100px; padding: 25px 7px 0 10px; height: 66px; box-sizing: border-box; }

/* ---------- 全屏 loading ---------- */
.veil {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(60, 50, 110, .35);
  display: none; align-items: center; justify-content: center;
}
.veil.show { display: flex; }
.spinner { display: flex; gap: 6px; height: 60px; align-items: center; }
.spinner i { width: 8px; height: 100%; border-radius: 4px; background: #fff; animation: sv 1.2s infinite ease-in-out; }
.spinner i:nth-child(2) { animation-delay: -.1s; }
.spinner i:nth-child(3) { animation-delay: -.2s; }
.spinner i:nth-child(4) { animation-delay: -.3s; }
.spinner i:nth-child(5) { animation-delay: -.4s; }
@keyframes sv { 0%,100%,40% { transform: scaleY(.4); } 20% { transform: scaleY(1); } }
/* 兼容 uploadnew.js 旧类名 */
.colorful_loading_frame { position: fixed; inset: 0; z-index: 9999; background: rgba(60, 50, 110, .35); display: none; align-items: center; justify-content: center; }
.colorful_loading { display: flex; gap: 6px; height: 60px; align-items: center; }
.colorful_loading i { width: 8px; height: 100%; border-radius: 4px; background: #fff; animation: sv 1.2s infinite ease-in-out; }
.colorful_loading .rect2 { animation-delay: -.1s; } .colorful_loading .rect3 { animation-delay: -.2s; }
.colorful_loading .rect4 { animation-delay: -.3s; } .colorful_loading .rect5 { animation-delay: -.4s; }

/* ---------- Toast 公告 ---------- */
.toast {
  position: fixed; left: 50%; bottom: 34px; transform: translateX(-50%) translateY(20px);
  z-index: 10000; max-width: min(520px, 90vw);
  background: rgba(45, 55, 72, .92); color: #fff;
  padding: 13px 22px; border-radius: 14px; font-size: 14px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .25);
  opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .3s;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- 页脚 ---------- */
.site-foot { padding: 30px 0 40px; text-align: center; color: var(--ink-2); font-size: 13.5px; }
.site-foot a { color: var(--p1); font-weight: 500; }

/* ---------- 降级 ---------- */


@media (max-width: 767px) {
  .card { padding: 20px 16px; }
  .card-head { padding: 14px 18px; }
  .card-body { padding: 16px 18px; }
  .page-title { font-size: 22px; }
  .dropzone { min-height: 280px; padding: 30px 18px; }
  .bg-orbs .o1 { width: 300px; height: 300px; }
  .bg-orbs .o2, .bg-orbs .o3 { width: 260px; height: 260px; }
}

/* ============================================================
   动效增强（丝滑层）
   ============================================================ */
/* scroll-behavior 已移除：smooth 在部分设备导致滚轮顿挫 */

@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes slideRight { from { opacity: 0; transform: translateX(-34px); } to { opacity: 1; transform: none; } }
@keyframes gradShift { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes breathe { 0%,100% { box-shadow: 0 6px 18px rgba(47,128,247,.38); } 50% { box-shadow: 0 10px 30px rgba(47,128,247,.55); } }




/* 卡片悬浮反馈 */
.card, .panel { transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.card:hover { box-shadow: var(--shadow-lg); }

/* 品牌渐变流动 */
.brand {
  background: linear-gradient(120deg, var(--p1), var(--p2), #4aa3ff, var(--p1));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 按钮：按压回弹 + 微光扫过 */
.btn { position: relative; overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .3s ease; }
.btn::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.35), transparent);
  transform: translateX(-180%) skewX(-20deg); transition: transform .55s var(--ease);
  pointer-events: none;
}
.btn:hover::before { transform: translateX(320%) skewX(-20deg); }
.btn:active { transform: scale(.96) !important; transition-duration: .08s; }

/* 上传主按钮呼吸 */
/* 呼吸动画已移除：infinite box-shadow 动画持续重绘 */

/* 侧栏链接：图标随 hover 滑动 */
.side-links a i, .side-foot a i { transition: transform .3s var(--ease); }
.side-links a:hover i, .side-foot a:hover i { transform: translateX(3px); }

/* 汉堡 → X 变形 */
.nav-burger { transition: background .25s, transform .2s; }
.nav-burger:active { transform: scale(.92); }
.nav-burger span { transition: transform .35s var(--ease), opacity .25s; transform-origin: center; }
.nav-burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* 表格行点击/悬浮更顺滑 */
table.list tbody tr { transition: background .25s var(--ease); }

/* 输入框过渡统一 */
.input, .form-control { transition: all .3s var(--ease); }

/* Toast 弹性出入 */
.toast { transition: opacity .35s var(--ease), transform .35s var(--ease); }

/* 下拉/抽屉遮罩 */
.side-mask { transition: opacity .35s var(--ease); }

/* ============================================================
   文件夹（我的文件视图）
   ============================================================ */
.folder-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 12px; margin-top: 18px;
}
.folder-card {
  position: relative;
  background: rgba(255, 255, 255, .62);
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 16px; padding: 16px 14px 12px;
  box-shadow: 0 4px 16px rgba(30, 95, 212, .08);
  transition: transform .22s cubic-bezier(.22,1,.36,1), box-shadow .22s;
}
.folder-card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(30, 95, 212, .16); }
.folder-link { display: block; color: inherit; }
.folder-card .ficon { font-size: 30px; color: var(--p1); margin-bottom: 8px; }
.folder-card .fname {
  font-weight: 600; font-size: 14.5px; color: var(--ink);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.folder-card .fops {
  display: flex; gap: 10px; margin-top: 10px; padding-top: 9px;
  border-top: 1px dashed rgba(28, 95, 212, .14);
}
.folder-card .fops a { font-size: 12px; color: var(--ink-2); }
.folder-card .fops a:hover { color: var(--p1); }
.folder-empty {
  grid-column: 1 / -1;
  text-align: center; padding: 26px 10px;
  color: var(--ink-3); font-size: 13.5px;
  background: rgba(255, 255, 255, .4); border-radius: 14px;
  border: 1px dashed rgba(28, 95, 212, .2);
}

/* ---------- 移动文件弹窗 ---------- */
.modal-mask {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(35, 50, 71, .4);
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.modal-mask.show { display: flex; }
.modal-box {
  width: 100%; max-width: 400px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 20px; box-shadow: 0 24px 70px rgba(20, 40, 90, .3);
  padding: 24px 26px 20px;
}
.modal-box h3 { font-size: 17px; margin-bottom: 16px; }
.modal-box h3 .fa { color: var(--p1); margin-right: 4px; }
.move-list { display: flex; flex-direction: column; gap: 8px; max-height: 260px; overflow-y: auto; margin-bottom: 18px; }
.move-list .check {
  padding: 11px 14px; border-radius: 12px;
  background: rgba(47, 128, 247, .05);
  border: 1px solid rgba(47, 128, 247, .12);
}
.move-list .check:has(input:checked) { background: rgba(47, 128, 247, .12); border-color: var(--p1); }
.modal-foot { display: flex; justify-content: flex-end; gap: 10px; }

/* ---------- select 下拉美化 ---------- */
select.input, select.form-control, .input-group select {
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%232f80f7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px !important;
  cursor: pointer;
}

/* ---------- select 展开的选项列表样式 ---------- */
select.input option,
select.form-control option {
  background-color: #ffffff;
  color: #233247;
  font-weight: 500;
  padding: 6px 10px;
}
select.input option:checked,
select.input option:hover,
select.form-control option:checked,
select.form-control option:hover {
  background-color: #2f80f7;
  color: #ffffff;
}

/* ============================================================
   前台登录页
   ============================================================ */
.login-wrap { display: flex; align-items: center; justify-content: center; padding: 40px 16px; min-height: 60vh; }
.login-card-glass {
  width: 100%; max-width: 400px;
  background: rgba(255, 255, 255, .68);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  backdrop-filter: blur(24px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 24px; box-shadow: var(--shadow-lg);
  padding: 42px 38px 30px; text-align: center;
}
.lg-logo {
  width: 74px; height: 74px; margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 22px; background: var(--grad); color: #fff; font-size: 32px;
  box-shadow: 0 10px 26px rgba(47, 128, 247, .4);
}
.login-card-glass h1 { font-size: 21px; margin-bottom: 4px; }
.lg-sub { color: var(--ink-2); font-size: 13px; margin-bottom: 22px; }
.lg-oauth { display: flex; gap: 12px; margin-bottom: 8px; }
.lg-btn-oauth {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px; border-radius: 13px; font-weight: 600; font-size: 14.5px; color: #fff !important;
}
.lg-btn-oauth.qq { background: linear-gradient(135deg, #12b7f5, #0f8fd8); box-shadow: 0 6px 16px rgba(18, 183, 245, .35); }
.lg-btn-oauth.wx { background: linear-gradient(135deg, #2bc35c, #1ba53f); box-shadow: 0 6px 16px rgba(43, 195, 92, .35); }
.lg-btn-oauth:hover { transform: translateY(-2px); }
.lg-divider { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--ink-3); font-size: 12.5px; }
.lg-divider::before, .lg-divider::after { content: ""; flex: 1; height: 1px; background: rgba(28, 95, 212, .14); }
.lg-form .login-field { position: relative; margin-bottom: 14px; text-align: left; }
.lg-form .login-field i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--ink-3); font-size: 14px; }
.lg-form .login-field .input { padding-left: 42px; background: rgba(255, 255, 255, .8); }
.lg-form .btn { width: 100%; padding: 12px; font-size: 15.5px; margin-top: 6px; border-radius: 13px; }
.lg-note { margin-top: 18px; font-size: 12px; color: var(--ink-3); }

/* ---------- card-head 圆角双保险 ---------- */
.card-flush { overflow: hidden !important; }
.card-flush .card-head { border-radius: var(--r-lg) var(--r-lg) 0 0 !important; }
