/* =============================================================
   HZ-AI-Pan · 品牌主题层
   配色取自 HZ-AI-Studio 官方标识：青 → 蓝 → 紫 → 洋红
   ============================================================= */

/* ---------- 1. 设计令牌 ---------- */
:root{
  --brand-cyan:#00C8FF;
  --brand-blue:#2F5BFF;
  --brand-violet:#7B3BFF;
  --brand-magenta:#F02BE0;
  --brand-grad:linear-gradient(118deg,#00C8FF 0%,#2F5BFF 36%,#7B3BFF 68%,#F02BE0 100%);
  --brand-grad-btn:linear-gradient(135deg,#2F5BFF 0%,#7B3BFF 100%);
  --brand-tint:linear-gradient(135deg,rgba(0,200,255,.10),rgba(47,91,255,.08) 45%,rgba(240,43,224,.10));

  --bg:#F3F5FB;
  --bg-2:#FFFFFF;
  --surface:#FFFFFF;
  --surface-2:#F8FAFF;
  --surface-glass:rgba(255,255,255,.76);
  --text:#0B1020;
  --text-2:#586180;
  --text-3:#8B93AC;
  --border:#E5E8F4;
  --border-strong:#D2D8EA;
  --shadow-xs:0 1px 2px rgba(11,16,32,.05);
  --shadow-sm:0 4px 14px -6px rgba(17,24,64,.18);
  --shadow:0 16px 40px -20px rgba(17,24,64,.28);
  --shadow-lg:0 30px 70px -30px rgba(17,24,64,.38);
  --glow:0 14px 40px -14px rgba(47,91,255,.55);
  --ring:0 0 0 3px rgba(47,91,255,.16);
  --r-lg:22px;
  --r-md:16px;
  --r-sm:12px;
  --head-h:64px;
  --shell:1180px;
}

[data-theme="dark"]{
  --bg:#070A13;
  --bg-2:#0A0E1B;
  --surface:#0E1425;
  --surface-2:#121A31;
  --surface-glass:rgba(12,17,31,.74);
  --text:#E9EDFA;
  --text-2:#9AA4C4;
  --text-3:#727C9C;
  --border:rgba(255,255,255,.075);
  --border-strong:rgba(255,255,255,.15);
  --shadow-xs:0 1px 2px rgba(0,0,0,.4);
  --shadow-sm:0 6px 20px -10px rgba(0,0,0,.7);
  --shadow:0 20px 50px -24px rgba(0,0,0,.85);
  --shadow-lg:0 36px 80px -34px rgba(0,0,0,.95);
  --glow:0 16px 48px -16px rgba(47,91,255,.55);
  --ring:0 0 0 3px rgba(90,140,255,.22);
  --brand-tint:linear-gradient(135deg,rgba(0,200,255,.11),rgba(47,91,255,.09) 45%,rgba(240,43,224,.10));
}

/* ---------- 2. 基础 ---------- */
*{ -webkit-tap-highlight-color:transparent; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  min-height:100vh;
  display:flex;
  flex-direction:column;
  background:var(--bg);
  color:var(--text);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei","Helvetica Neue",Arial,sans-serif;
  font-size:14px;
  line-height:1.62;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:
    radial-gradient(680px 380px at 12% -6%,rgba(0,200,255,.10),transparent 70%),
    radial-gradient(720px 420px at 88% -12%,rgba(240,43,224,.09),transparent 72%),
    radial-gradient(900px 500px at 50% 108%,rgba(47,91,255,.08),transparent 74%);
}
[data-theme="dark"] body::before{
  background:
    radial-gradient(680px 380px at 12% -6%,rgba(0,200,255,.13),transparent 70%),
    radial-gradient(720px 420px at 88% -12%,rgba(240,43,224,.12),transparent 72%),
    radial-gradient(900px 520px at 50% 106%,rgba(47,91,255,.16),transparent 74%);
}
a{ color:var(--brand-blue); text-decoration:none; transition:color .16s ease; }
a:hover,a:focus{ color:var(--brand-violet); text-decoration:none; }
[data-theme="dark"] a{ color:#7FA6FF; }
[data-theme="dark"] a:hover{ color:#B596FF; }
h1,h2,h3,h4{ margin:0; font-weight:650; letter-spacing:-.01em; color:var(--text); }
img{ max-width:100%; }
hr{ border:0; border-top:1px solid var(--border); }
::selection{ background:rgba(47,91,255,.20); }
.text-muted{ color:var(--text-3) !important; }

.shell{
  width:100%;
  max-width:var(--shell);
  margin:0 auto;
  padding:0 24px;
}

/* ---------- 3. 顶栏 ---------- */
.hz-head{
  position:sticky;
  top:0;
  z-index:60;
  height:var(--head-h);
  background:var(--surface-glass);
  -webkit-backdrop-filter:blur(20px) saturate(180%);
  backdrop-filter:blur(20px) saturate(180%);
  border-bottom:1px solid var(--border);
}
.hz-head-in{
  height:100%;
  display:flex;
  align-items:center;
  gap:20px;
}
.hz-brand{
  display:flex;
  align-items:center;
  gap:11px;
  flex:none;
  color:var(--text);
}
.hz-brand:hover{ color:var(--text); }
.hz-brand img{
  width:34px;
  height:34px;
  display:block;
  filter:drop-shadow(0 4px 12px rgba(47,91,255,.35));
  transition:transform .3s cubic-bezier(.34,1.56,.64,1);
}
.hz-brand:hover img{ transform:rotate(-8deg) scale(1.06); }
.hz-brand-txt{ display:flex; flex-direction:column; line-height:1.15; }
.hz-brand-name{
  font-size:16.5px;
  font-weight:700;
  letter-spacing:-.02em;
  background:var(--brand-grad);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
}
.hz-brand-sub{
  font-size:10px;
  font-weight:500;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--text-3);
}

.hz-nav{ display:flex; align-items:center; gap:2px; margin-left:8px; }
.hz-nav a{
  position:relative;
  display:inline-flex;
  align-items:center;
  gap:7px;
  height:36px;
  padding:0 13px;
  border-radius:10px;
  font-size:13.5px;
  font-weight:500;
  color:var(--text-2);
  white-space:nowrap;
  transition:background .16s ease,color .16s ease;
}
.hz-nav a svg{ width:16px; height:16px; opacity:.8; }
.hz-nav a:hover{ background:rgba(47,91,255,.07); color:var(--text); }
.hz-nav a.is-active{
  background:var(--brand-tint);
  color:var(--brand-blue);
  font-weight:600;
}
[data-theme="dark"] .hz-nav a.is-active{ color:#8FB0FF; }

.hz-head-act{ margin-left:auto; display:flex; align-items:center; gap:8px; }
.hz-icon-btn{
  width:36px; height:36px;
  display:inline-flex; align-items:center; justify-content:center;
  padding:0;
  border:1px solid var(--border);
  border-radius:10px;
  background:var(--surface);
  color:var(--text-2);
  cursor:pointer;
  transition:all .16s ease;
}
.hz-icon-btn:hover{ color:var(--brand-blue); border-color:var(--border-strong); }
.hz-icon-btn svg{ width:17px; height:17px; }
.hz-icon-btn .i-sun{ display:none; }
[data-theme="dark"] .hz-icon-btn .i-sun{ display:block; }
[data-theme="dark"] .hz-icon-btn .i-moon{ display:none; }

.hz-user{
  display:inline-flex;
  align-items:center;
  gap:8px;
  height:36px;
  padding:0 12px 0 8px;
  border:1px solid var(--border);
  border-radius:10px;
  background:var(--surface);
  font-size:13px;
  color:var(--text);
}
.hz-user:hover{ border-color:var(--border-strong); color:var(--text); }
.hz-avatar{
  width:24px; height:24px;
  display:inline-flex; align-items:center; justify-content:center;
  border-radius:7px;
  background:var(--brand-grad-btn);
  color:#fff;
  font-size:11px;
  font-weight:700;
  flex:none;
}
.hz-user-nick{ max-width:110px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

.hz-menu-wrap{ position:relative; }
.hz-menu{
  position:absolute;
  right:0;
  top:calc(100% + 8px);
  min-width:172px;
  padding:6px;
  border:1px solid var(--border);
  border-radius:12px;
  background:var(--surface);
  box-shadow:var(--shadow);
  display:none;
  z-index:70;
}
.hz-menu.show{ display:block; }
.hz-menu a{
  display:flex;
  align-items:center;
  gap:9px;
  padding:9px 11px;
  border-radius:8px;
  font-size:13px;
  color:var(--text-2);
}
.hz-menu a:hover{ background:var(--surface-2); color:var(--text); }
.hz-menu a svg{ width:15px; height:15px; }

/* ---------- 4. 按钮 ---------- */
.hz-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  height:40px;
  padding:0 18px;
  border:1px solid var(--border-strong);
  border-radius:11px;
  background:var(--surface);
  color:var(--text);
  font-size:13.5px;
  font-weight:500;
  line-height:1;
  cursor:pointer;
  white-space:nowrap;
  transition:transform .12s ease,border-color .16s ease,background .16s ease,box-shadow .18s ease,color .16s ease;
}
.hz-btn svg{ width:16px; height:16px; flex:none; }
.hz-btn:hover{ color:var(--text); border-color:var(--brand-blue); background:var(--surface-2); }
.hz-btn:active{ transform:translateY(1px); }
.hz-btn[disabled],.hz-btn.disabled{ opacity:.5; pointer-events:none; }

.hz-btn-primary{
  border:0;
  color:#fff !important;
  background:var(--brand-grad-btn);
  box-shadow:var(--glow);
}
.hz-btn-primary:hover{
  color:#fff !important;
  background:var(--brand-grad-btn);
  filter:brightness(1.07);
  box-shadow:0 18px 46px -14px rgba(47,91,255,.75);
}
.hz-btn-ghost{ background:transparent; border-color:var(--border); }
.hz-btn-danger{
  border:0;
  color:#fff !important;
  background:linear-gradient(135deg,#E11D48,#F43F5E);
  box-shadow:0 10px 30px -12px rgba(225,29,72,.6);
}
.hz-btn-sm{ height:32px; padding:0 12px; font-size:12.5px; border-radius:9px; }
.hz-btn-sm svg{ width:14px; height:14px; }
.hz-btn-lg{ height:46px; padding:0 24px; font-size:14.5px; border-radius:13px; }
.hz-btn-block{ width:100%; }

/* ---------- 5. 表单 ---------- */
.hz-input{
  width:100%;
  height:42px;
  padding:0 13px;
  border:1px solid var(--border-strong);
  border-radius:11px;
  background:var(--surface);
  color:var(--text);
  font-size:13.5px;
  outline:none;
  transition:border-color .16s ease,box-shadow .16s ease;
}
.hz-input::placeholder{ color:var(--text-3); }
.hz-input:focus{ border-color:var(--brand-blue); box-shadow:var(--ring); }
.form-control{
  height:40px;
  border:1px solid var(--border-strong);
  border-radius:10px;
  background:var(--surface);
  color:var(--text);
  box-shadow:none;
  font-size:13.5px;
}
.form-control:focus{
  border-color:var(--brand-blue);
  box-shadow:var(--ring);
}

/* ---------- 6. 首屏 ---------- */
.hz-wrap{ flex:1 0 auto; padding:28px 0 56px; }

.hz-pagehead{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  margin-bottom:16px;
  flex-wrap:wrap;
}
.hz-pagehead h1{ font-size:24px; font-weight:700; letter-spacing:-.03em; }
.hz-pagehead p{ margin:4px 0 0; font-size:13px; color:var(--text-3); }

.hz-hero{
  position:relative;
  overflow:hidden;
  display:grid;
  grid-template-columns:minmax(0,1fr) 320px;
  align-items:center;
  gap:24px;
  padding:40px 42px;
  margin-bottom:22px;
  border:1px solid var(--border);
  border-radius:26px;
  background:
    radial-gradient(560px 300px at 88% 12%,rgba(240,43,224,.10),transparent 72%),
    radial-gradient(520px 300px at 8% 96%,rgba(0,200,255,.12),transparent 70%),
    var(--surface);
  box-shadow:var(--shadow);
}
.hz-hero::after{
  content:"";
  position:absolute;
  left:0; right:0; top:0;
  height:2px;
  background:var(--brand-grad);
  opacity:.9;
}
.hz-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  height:28px;
  padding:0 12px;
  margin-bottom:16px;
  border:1px solid rgba(47,91,255,.18);
  border-radius:999px;
  background:rgba(47,91,255,.06);
  font-size:12px;
  font-weight:500;
  color:var(--brand-blue);
  letter-spacing:.01em;
}
[data-theme="dark"] .hz-eyebrow{
  border-color:rgba(120,160,255,.24);
  background:rgba(47,91,255,.14);
  color:#9DBBFF;
}
.hz-eyebrow i{
  width:6px; height:6px;
  border-radius:50%;
  background:var(--brand-grad);
  box-shadow:0 0 0 3px rgba(47,91,255,.14);
}
.hz-hero h1{
  font-size:40px;
  line-height:1.14;
  letter-spacing:-.035em;
  font-weight:750;
  margin-bottom:14px;
}
.hz-hero h1 em{
  font-style:normal;
  background:var(--brand-grad);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
}
.hz-hero-sub{
  margin:0 0 26px;
  max-width:520px;
  font-size:14.5px;
  line-height:1.75;
  color:var(--text-2);
}
.hz-hero-act{ display:flex; flex-wrap:wrap; gap:10px; }

.hz-hero-facts{
  display:flex;
  gap:0;
  margin-top:28px;
  padding-top:22px;
  border-top:1px solid var(--border);
}
.hz-fact{ flex:1; min-width:0; padding-right:18px; }
.hz-fact + .hz-fact{ padding-left:18px; border-left:1px solid var(--border); }
.hz-fact b{
  display:block;
  font-size:20px;
  font-weight:700;
  letter-spacing:-.02em;
  line-height:1.3;
}
.hz-fact span{ font-size:12px; color:var(--text-3); }

.hz-hero-visual{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:264px;
}
.hz-orbit{
  position:absolute;
  border-radius:50%;
  border:1px solid rgba(47,91,255,.14);
}
[data-theme="dark"] .hz-orbit{ border-color:rgba(120,160,255,.16); }
.hz-orbit-1{ width:212px; height:212px; animation:spin 26s linear infinite; }
.hz-orbit-2{ width:266px; height:266px; border-style:dashed; opacity:.7; animation:spin 44s linear infinite reverse; }
.hz-orbit-1::before,.hz-orbit-2::before{
  content:"";
  position:absolute;
  top:-3px; left:50%;
  width:6px; height:6px;
  margin-left:-3px;
  border-radius:50%;
  background:var(--brand-grad);
  box-shadow:0 0 12px rgba(47,91,255,.9);
}
@keyframes spin{ to{ transform:rotate(360deg); } }

.hz-hero-mark{
  width:196px;
  height:196px;
  position:relative;
  z-index:2;
  filter:drop-shadow(0 24px 48px rgba(47,91,255,.42));
  animation:float 7s ease-in-out infinite;
}
@keyframes float{
  0%,100%{ transform:translateY(0); }
  50%{ transform:translateY(-9px); }
}
.hz-chip{
  position:absolute;
  z-index:3;
  display:inline-flex;
  align-items:center;
  gap:6px;
  height:30px;
  padding:0 11px;
  border:1px solid var(--border);
  border-radius:999px;
  background:var(--surface);
  box-shadow:var(--shadow-sm);
  font-size:12px;
  font-weight:500;
  color:var(--text-2);
  white-space:nowrap;
}
.hz-chip svg{ width:13px; height:13px; color:var(--brand-blue); }
.hz-chip-a{ top:16px; left:2px; }
.hz-chip-b{ top:94px; right:4px; }
.hz-chip-c{ bottom:18px; left:12px; }

/* ---------- 7. 面板 ---------- */
.hz-panel{
  border:1px solid var(--border);
  border-radius:var(--r-lg);
  background:var(--surface);
  box-shadow:var(--shadow-sm);
  overflow:hidden;
}
.hz-panel-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:18px 22px;
  border-bottom:1px solid var(--border);
  flex-wrap:wrap;
}
.hz-panel-title{
  font-size:16px;
  font-weight:650;
  letter-spacing:-.01em;
  display:flex;
  align-items:center;
  gap:9px;
}
.hz-panel-title::before{
  content:"";
  width:3px; height:15px;
  border-radius:2px;
  background:var(--brand-grad);
}
.hz-panel-sub{ margin:5px 0 0 12px; font-size:12.5px; color:var(--text-3); }
.hz-panel-sub a{ text-decoration:underline; text-underline-offset:2px; }
.hz-panel-foot{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:13px 22px;
  border-top:1px solid var(--border);
  background:var(--surface-2);
  flex-wrap:wrap;
}
.hz-count{ font-size:12.5px; color:var(--text-3); }

.hz-search{ position:relative; width:246px; flex:none; }
.hz-search input{
  width:100%;
  height:38px;
  padding:0 40px 0 13px;
  border:1px solid var(--border-strong);
  border-radius:10px;
  background:var(--surface-2);
  color:var(--text);
  font-size:13px;
  outline:none;
  transition:border-color .16s ease,box-shadow .16s ease,background .16s ease;
}
.hz-search input::placeholder{ color:var(--text-3); }
.hz-search input:focus{
  background:var(--surface);
  border-color:var(--brand-blue);
  box-shadow:var(--ring);
}
.hz-search button{
  position:absolute;
  right:4px; top:4px;
  width:30px; height:30px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0;
  border:0;
  border-radius:8px;
  background:transparent;
  color:var(--text-3);
  cursor:pointer;
  transition:color .16s ease,background .16s ease;
}
.hz-search button:hover{ color:var(--brand-blue); background:rgba(47,91,255,.08); }
.hz-search button svg{ width:15px; height:15px; }

/* ---------- 8. 文件列表 ---------- */
.hz-filelist{ list-style:none; margin:0; padding:8px; }
.hz-file{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:14px;
  padding:11px 12px;
  border-radius:14px;
  transition:background .16s ease;
}
.hz-file:hover{ background:var(--surface-2); }
.hz-file-body{ min-width:0; }
.hz-file-name{
  display:block;
  font-size:14.5px;
  font-weight:550;
  color:var(--text);
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.hz-file-name:hover{ color:var(--brand-blue); }
.hz-file-meta{
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:3px;
  font-size:12px;
  color:var(--text-3);
}
.hz-file-meta i{
  width:3px; height:3px;
  border-radius:50%;
  background:currentColor;
  opacity:.5;
  flex:none;
}
.hz-file-act{ display:flex; gap:7px; flex:none; }
.hz-file-act .hz-btn{ height:31px; padding:0 12px; font-size:12.5px; border-radius:9px; }

.hz-type{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  border-radius:12px;
  font-size:10.5px;
  font-weight:700;
  letter-spacing:.06em;
  color:#fff;
  flex:none;
  background:linear-gradient(140deg,#64748B,#94A3B8);
  box-shadow:0 6px 16px -8px rgba(11,16,32,.5);
  user-select:none;
}
.hz-type-img  { background:linear-gradient(140deg,#0EA5A5,#2DD4BF); }
.hz-type-vid  { background:linear-gradient(140deg,#7C3AED,#A78BFA); }
.hz-type-aud  { background:linear-gradient(140deg,#DB2777,#F472B6); }
.hz-type-pdf  { background:linear-gradient(140deg,#DC2626,#F87171); }
.hz-type-doc  { background:linear-gradient(140deg,#2563EB,#60A5FA); }
.hz-type-xls  { background:linear-gradient(140deg,#16A34A,#4ADE80); }
.hz-type-ppt  { background:linear-gradient(140deg,#EA580C,#FB923C); }
.hz-type-zip  { background:linear-gradient(140deg,#D97706,#FBBF24); }
.hz-type-code { background:linear-gradient(140deg,#4F46E5,#818CF8); }
.hz-type-txt  { background:linear-gradient(140deg,#475569,#94A3B8); }
.hz-type-app  { background:linear-gradient(140deg,#0284C7,#38BDF8); }
.hz-type-gen  { background:linear-gradient(140deg,#64748B,#94A3B8); }
.hz-type-xl{ width:76px; height:76px; border-radius:20px; font-size:14px; letter-spacing:.08em; }

.hz-empty{
  padding:52px 20px;
  text-align:center;
  color:var(--text-3);
}
.hz-empty-mark{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:56px; height:56px;
  margin-bottom:14px;
  border:1px dashed var(--border-strong);
  border-radius:16px;
  color:var(--text-3);
  background:var(--surface-2);
}
.hz-empty-mark svg{ width:24px; height:24px; opacity:.7; }
.hz-empty p{ margin:0 0 16px; font-size:13.5px; }

.pagination{ display:flex; gap:4px; margin:0; }
.pagination > li{ display:inline-block; }
.pagination > li > a,
.pagination > li > span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:32px;
  height:32px;
  padding:0 9px;
  margin:0;
  border:1px solid var(--border) !important;
  border-radius:9px !important;
  background:var(--surface) !important;
  color:var(--text-2) !important;
  font-size:12.5px;
  line-height:1;
  float:none;
}
.pagination > li > a:hover{ border-color:var(--brand-blue) !important; color:var(--brand-blue) !important; background:var(--surface) !important; }
.pagination > .active > a{
  border:0 !important;
  background:var(--brand-grad-btn) !important;
  color:#fff !important;
  box-shadow:var(--glow);
}
.pagination > .disabled > a{ opacity:.42; }

/* ---------- 9. 页脚 ---------- */
.hz-foot{
  margin-top:auto;
  border-top:1px solid var(--border);
  background:var(--surface);
  padding:22px 0;
}
.hz-foot-in{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  font-size:12.5px;
  color:var(--text-3);
}
.hz-foot-brand{ display:flex; align-items:center; gap:9px; }
.hz-foot-brand img{ width:22px; height:22px; opacity:.95; }
.hz-foot-brand b{ font-size:13px; color:var(--text); font-weight:600; }
.hz-foot-links{ display:flex; align-items:center; gap:14px; }
.hz-foot-links a{ color:var(--text-3); }
.hz-foot-links a:hover{ color:var(--brand-blue); }

/* ---------- 10. 文件详情页 ---------- */
.hz-crumb{
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:16px;
  font-size:12.5px;
  color:var(--text-3);
}
.hz-crumb a{ color:var(--text-3); }
.hz-crumb a:hover{ color:var(--brand-blue); }
.hz-crumb b{
  color:var(--text);
  font-weight:500;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  max-width:58%;
}

.hz-detail{
  display:grid;
  grid-template-columns:minmax(0,1fr) 322px;
  gap:18px;
  align-items:start;
}
.hz-detail-main,.hz-detail-side{ display:flex; flex-direction:column; gap:18px; min-width:0; }

.hz-preview-head{
  display:flex;
  align-items:center;
  gap:16px;
  padding:20px 22px;
  border-bottom:1px solid var(--border);
}
.hz-preview-title{ min-width:0; }
.hz-preview-title h1{
  font-size:16.5px;
  font-weight:600;
  margin-bottom:5px;
  line-height:1.4;
  word-break:break-all;
}
.hz-preview-title p{ margin:0; font-size:12px; color:var(--text-3); }
.hz-preview-body{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:220px;
  padding:22px;
  background:
    radial-gradient(420px 200px at 50% 0%,rgba(47,91,255,.05),transparent 70%),
    var(--surface-2);
}
.hz-preview-body .view{ padding:0; width:100%; }

/* 媒体容器（admin 预览弹窗与独立播放页共用） */
.view{ width:100%; padding:0; }
.image_view{ display:block; width:100%; text-align:center; }
.image_view img{ display:block; max-width:100%; max-height:440px; margin:0 auto; border-radius:12px; }
.videoplayer{ width:100%; height:500px; }
.filename{ overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.aplayer .aplayer-pic{ height:100px; width:100px; }
.aplayer .aplayer-info{ margin-left:100px; padding:25px 7px 0 10px; height:66px; box-sizing:border-box; }
.aplayer .aplayer-info .aplayer-music .aplayer-title{ font-size:18px; }
.hz-preview-foot{
  display:flex;
  gap:9px;
  flex-wrap:wrap;
  padding:15px 22px;
  border-top:1px solid var(--border);
}
.hz-file-placeholder{ text-align:center; color:var(--text-3); }
.hz-file-placeholder p{ margin:14px 0 0; font-size:13px; }
.hz-blocked{ text-align:center; padding:32px 20px; color:var(--text-3); }
.hz-blocked svg{ width:34px; height:34px; opacity:.45; }
.hz-blocked p{ margin:12px 0 0; font-size:13.5px; }

.hz-links-body{ padding:4px 16px 14px; }
.hz-link-row{ display:flex; align-items:center; gap:10px; padding:7px 0; }
.hz-link-row label{
  width:78px;
  flex:none;
  margin:0;
  font-size:12.5px;
  font-weight:500;
  color:var(--text-3);
}
.hz-link-row input{
  flex:1;
  min-width:0;
  height:36px;
  padding:0 11px;
  border:1px solid var(--border);
  border-radius:9px;
  background:var(--surface-2);
  color:var(--text-2);
  font-size:12px;
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  outline:none;
}
.hz-link-row input:focus{ border-color:var(--brand-blue); background:var(--surface); box-shadow:var(--ring); }
.hz-link-row .hz-btn{ flex:none; }

.hz-info{ list-style:none; margin:0; padding:4px 20px 16px; }
.hz-info li{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:9px 0;
  font-size:12.5px;
  border-bottom:1px dashed var(--border);
}
.hz-info li:last-child{ border-bottom:0; }
.hz-info span{ color:var(--text-3); }
.hz-info b{ font-weight:600; color:var(--text); }

.hz-qr-body{ padding:20px; text-align:center; }
.hz-qr-body img{
  width:150px;
  height:150px;
  padding:7px;
  border-radius:14px;
  background:#fff;
  box-shadow:var(--shadow-xs);
}
.hz-qr-body p{ margin:10px 0 0; font-size:12px; color:var(--text-3); }

.hz-notice-body{
  padding:12px 20px 18px;
  font-size:12.5px;
  line-height:1.85;
  color:var(--text-3);
}
.hz-manage{ display:flex; gap:9px; padding:14px 20px; }

/* ---------- 11. 上传页 ---------- */
.hz-upload{
  display:grid;
  grid-template-columns:minmax(0,1fr) 336px;
  gap:18px;
  align-items:start;
}
.hz-upload-main{ padding:0; }
.hz-upload-side{ display:flex; flex-direction:column; gap:18px; }

.hz-dropzone{
  margin:16px;
  min-height:330px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:2px dashed var(--border-strong);
  border-radius:18px;
  background:var(--surface-2);
  transition:border-color .2s ease,background .2s ease,transform .2s ease;
}
.hz-dropzone:hover{ border-color:rgba(47,91,255,.45); background:rgba(47,91,255,.035); }
.hz-dropzone.is-dragging{
  border-color:var(--brand-blue);
  background:rgba(47,91,255,.08);
  transform:scale(1.008);
}
.hz-dropzone-inner{ width:100%; padding:38px 24px; text-align:center; }
.hz-dropzone-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:62px; height:62px;
  margin-bottom:16px;
  border-radius:19px;
  background:var(--brand-tint);
  color:var(--brand-blue);
}
.hz-dropzone-icon svg{ width:27px; height:27px; }
.hz-dropzone-idle h2{ font-size:18px; font-weight:650; margin-bottom:7px; }
.hz-dropzone-idle p{ margin:0 0 20px; font-size:13px; color:var(--text-3); }

.hz-progress{ height:8px; border-radius:999px; background:rgba(127,127,127,.16); overflow:hidden; }
.hz-progress-bar{
  height:100%;
  border-radius:999px;
  background:var(--brand-grad);
  transition:width .3s ease;
}
.hz-progress-meta{
  display:flex;
  justify-content:space-between;
  gap:12px;
  margin-top:11px;
  font-size:12px;
  color:var(--text-3);
}
.hz-progress-meta .filename{
  flex:1;
  text-align:center;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:var(--text-2);
}

.hz-upload-options{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:16px;
  padding:0 20px 18px;
}
.hz-switch{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin:0;
  font-size:13px;
  font-weight:400;
  color:var(--text-2);
  cursor:pointer;
}
.hz-switch input{ width:15px; height:15px; margin:0; accent-color:var(--brand-blue); cursor:pointer; }
.hz-pwd{ width:100%; }
.hz-pwd input{ max-width:240px; }

.hz-tips{ list-style:none; margin:0; padding:6px 20px 18px; }
.hz-tips li{
  display:flex;
  gap:10px;
  padding:7px 0;
  font-size:12.5px;
  line-height:1.68;
  color:var(--text-3);
}
.hz-tips svg{ width:15px; height:15px; flex:none; margin-top:3px; color:var(--brand-blue); opacity:.85; }
.hz-tips b{ color:var(--text); font-weight:600; }

/* ---------- 12. 登录 / 注册 ---------- */
.auth-wrap{
  display:flex;
  flex:1 0 auto;
  align-items:center;
  justify-content:center;
  min-height:calc(100vh - var(--head-h) - 150px);
  padding:44px 24px;
}
.auth-card{
  width:100%;
  max-width:404px;
  padding:34px 32px 28px;
  border:1px solid var(--border);
  border-radius:24px;
  background:var(--surface);
  box-shadow:var(--shadow);
}
.auth-head{ text-align:center; margin-bottom:24px; }
.auth-head .auth-logo{
  width:62px; height:62px;
  margin:0 auto 14px;
  display:block;
  filter:drop-shadow(0 12px 26px rgba(47,91,255,.4));
}
.auth-head h1{ font-size:20px; font-weight:700; letter-spacing:-.02em; margin-bottom:6px; }
.auth-head p{ margin:0; font-size:12.5px; color:var(--text-3); }
.auth-tabs{
  display:flex;
  gap:4px;
  padding:4px;
  margin-bottom:20px;
  border-radius:12px;
  background:var(--surface-2);
  border:1px solid var(--border);
}
.auth-tabs a{
  flex:1;
  height:34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:9px;
  font-size:13px;
  font-weight:500;
  color:var(--text-3);
}
.auth-tabs a.active{
  background:var(--surface);
  color:var(--text);
  box-shadow:var(--shadow-xs);
}
.auth-form .form-group,.auth-form .auth-field{ margin-bottom:14px; }
.auth-form label{
  display:block;
  margin:0 0 14px;
  font-size:12.5px;
  font-weight:500;
  color:var(--text-2);
}
.auth-form label > input{
  display:block;
  width:100%;
  height:44px;
  margin-top:6px;
  padding:0 13px;
  border:1px solid var(--border-strong);
  border-radius:11px;
  background:var(--surface);
  color:var(--text);
  font-size:14px;
  outline:none;
  transition:border-color .16s ease,box-shadow .16s ease;
}
.auth-form label > input::placeholder{ color:var(--text-3); }
.auth-form label > input:focus{
  border-color:var(--brand-blue);
  box-shadow:var(--ring);
}
.auth-form .form-control,.auth-form .hz-input{ height:44px; border-radius:11px; }
.auth-btn{
  width:100%;
  height:44px;
  border:0;
  border-radius:11px;
  background:var(--brand-grad-btn);
  color:#fff;
  font-size:14px;
  font-weight:600;
  letter-spacing:.01em;
  cursor:pointer;
  box-shadow:var(--glow);
  transition:filter .16s ease,box-shadow .18s ease,transform .12s ease;
}
.auth-btn:hover{ filter:brightness(1.07); box-shadow:0 18px 44px -14px rgba(47,91,255,.72); }
.auth-btn:active{ transform:translateY(1px); }
.auth-note{ margin:16px 0 0; text-align:center; font-size:12px; line-height:1.8; color:var(--text-3); }
.auth-note a{ font-weight:500; }
.auth-alert{
  margin-bottom:16px;
  padding:10px 13px;
  border:1px solid rgba(225,29,72,.28);
  border-radius:10px;
  background:rgba(225,29,72,.07);
  font-size:12.5px;
  color:#D9143F;
}
.auth-divider{
  display:flex;
  align-items:center;
  gap:12px;
  margin:20px 0 14px;
  font-size:11.5px;
  color:var(--text-3);
}
.auth-divider::before,.auth-divider::after{
  content:"";
  flex:1;
  height:1px;
  background:var(--border);
}
.auth-oauth{ display:flex; gap:10px; }
.oauth-btn{
  flex:1;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  height:40px;
  border:1px solid var(--border-strong);
  border-radius:10px;
  background:var(--surface);
  font-size:13px;
  color:var(--text-2);
}
.oauth-btn:hover{ border-color:var(--brand-blue); color:var(--brand-blue); }

/* ---------- 13. 通用提示 ---------- */
.hz-alert{
  display:flex;
  gap:11px;
  padding:12px 15px;
  border:1px solid rgba(47,91,255,.20);
  border-radius:12px;
  background:rgba(47,91,255,.06);
  font-size:13px;
  color:var(--text-2);
}
.hz-alert svg{ width:16px; height:16px; flex:none; margin-top:2px; color:var(--brand-blue); }
.hz-alert-warn{ border-color:rgba(217,119,6,.26); background:rgba(217,119,6,.07); }
.hz-alert-warn svg{ color:#D97706; }
.hz-alert-danger{ border-color:rgba(225,29,72,.24); background:rgba(225,29,72,.07); }
.hz-alert-danger svg{ color:#E11D48; }

.well{ background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); box-shadow:none; }
.container{ max-width:var(--shell); }

/* ---------- 14. 响应式 ---------- */
@media (max-width:1023px){
  .videoplayer{ height:450px; }
  .hz-hero{ grid-template-columns:1fr; padding:32px 28px; }
  .hz-hero-visual{ display:none; }
  .hz-hero h1{ font-size:33px; }
  .hz-detail,.hz-upload{ grid-template-columns:1fr; }
  .hz-detail-side,.hz-upload-side{ display:grid; grid-template-columns:1fr 1fr; }
}
@media (max-width:767px){
  :root{ --head-h:58px; }
  .shell{ padding:0 16px; }
  .hz-wrap{ padding:18px 0 40px; }
  .videoplayer{ height:320px; }
  .hz-brand-sub{ display:none; }
  .hz-brand img{ width:30px; height:30px; }
  .hz-brand-name{ font-size:15px; }

  .hz-head-in{ gap:10px; }
  .hz-nav{
    position:absolute;
    left:0; right:0;
    top:var(--head-h);
    height:46px;
    padding:0 16px;
    margin:0;
    gap:4px;
    overflow-x:auto;
    scrollbar-width:none;
    background:var(--surface-glass);
    -webkit-backdrop-filter:blur(20px);
    backdrop-filter:blur(20px);
    border-bottom:1px solid var(--border);
  }
  .hz-nav::-webkit-scrollbar{ display:none; }
  .hz-nav a{ height:32px; padding:0 11px; font-size:13px; }
  .hz-head{ margin-bottom:46px; }

  .hz-hero{ padding:26px 20px; border-radius:20px; margin-bottom:16px; }
  .hz-hero h1{ font-size:27px; }
  .hz-hero-sub{ font-size:13.5px; margin-bottom:20px; }
  .hz-hero-act .hz-btn{ flex:0 0 auto; min-width:148px; }
  .hz-hero-facts{ margin-top:22px; padding-top:18px; gap:0; }
  .hz-fact{ padding-right:12px; }
  .hz-fact + .hz-fact{ padding-left:12px; }
  .hz-fact b{ font-size:16px; }
  .hz-fact span{ font-size:11px; }

  .hz-panel{ border-radius:16px; }
  .hz-panel-head{ padding:14px 15px; gap:10px; }
  .hz-panel-title{ font-size:15px; }
  .hz-search{ width:100%; }
  .hz-panel-foot{ padding:12px 15px; }
  .hz-count{ font-size:12px; }

  .hz-file{ padding:10px; }
  .hz-type{ width:40px; height:40px; border-radius:11px; font-size:9.5px; }
  .hz-file-name{ font-size:13.5px; }
  .hz-file-meta{ font-size:11px; gap:6px; }

  .hz-detail-side,.hz-upload-side{ display:flex; }
  .hz-preview-head{ padding:15px 16px; }
  .hz-preview-body{ padding:14px; min-height:150px; }
  .hz-preview-foot{ padding:13px 16px; }
  .hz-preview-foot .hz-btn{ flex:1; }
  .hz-link-row{ flex-wrap:wrap; gap:7px; }
  .hz-link-row label{ width:100%; }
  .hz-link-row .hz-btn{ width:100%; }
  .hz-dropzone{ margin:12px; min-height:250px; }
  .hz-dropzone-inner{ padding:28px 16px; }
  .hz-upload-options{ padding:0 14px 16px; gap:12px; }

  .auth-card{ padding:26px 20px 22px; border-radius:20px; }
  .hz-foot-in{ flex-direction:column; gap:10px; text-align:center; }
  .hz-foot-links{ justify-content:center; }
}
@media (max-width:560px){
  .hz-file{ grid-template-columns:auto minmax(0,1fr); gap:10px 11px; }
  .hz-file-act{ grid-column:1 / -1; justify-content:flex-end; }
  .hz-file-act .hz-btn{ flex:0 0 auto; min-width:96px; }
}
@media (max-width:359px){
  .hz-file-act .hz-btn{ flex:1; min-width:0; }
}
@media (max-width:480px){
  .hz-hero-act .hz-btn{ flex:1; min-width:0; }
  .hz-hero h1{ font-size:24px; }
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; }
}
