:root {
  --bg: #05070d;
  --panel: rgba(10, 16, 28, 0.55);
  --panel-solid: rgba(9, 14, 25, 0.92);
  --row: rgba(255, 255, 255, 0.03);
  --row-hover: rgba(47, 129, 255, 0.12);
  --stroke: rgba(90, 170, 255, 0.22);
  --stroke-strong: rgba(90, 190, 255, 0.55);
  --text: #e9f2ff;
  --muted: #9fb2cf;
  --blue: #2f81ff;
  --blue-2: #1a5cff;
  --cyan: #00e5ff;
  --danger: #ff4d5e;
  --ok: #23d18b;
  --warn: #ffd166;
  --glow: 0 0 22px rgba(47, 129, 255, 0.4);
  --radius: 14px;
  --font-cn: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Hiragino Sans GB", system-ui, sans-serif;
  --font-tech: "Orbitron", var(--font-cn);
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
html { background: var(--bg); }
body {
  color: var(--text);
  font-family: var(--font-cn);
  background: transparent;
  min-height: 100vh;
}
a { color: inherit; }

/* -------- 背景层 -------- */
.bg-layer { position: fixed; inset: 0; z-index: -3; background: var(--bg); }
.bg-video, .bg-image {
  position: fixed; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: -2; background: #000;
}
.bg-image { background-size: cover; background-position: center; }
.bg-mask {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1200px 620px at 22% 28%, rgba(20, 60, 130, 0.28), transparent 62%),
    linear-gradient(180deg, rgba(3, 6, 14, var(--mask)) 0%, rgba(3, 6, 14, calc(var(--mask) * 0.85)) 100%);
  --mask: 0.5;
}

/* -------- 页面容器 -------- */
.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 26px 18px 90px;
  animation: floatIn 0.5s ease both;
}
@keyframes floatIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* -------- 顶部 banner -------- */
.banner {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--stroke);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45), var(--glow);
  margin-bottom: 16px;
  min-height: 120px;
  display: flex; align-items: flex-end;
  background: linear-gradient(135deg, rgba(26, 92, 255, 0.35), rgba(0, 229, 255, 0.15));
}
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.9; }
.banner-text {
  position: relative; z-index: 1;
  width: 100%;
  padding: 14px 20px;
  font-size: 15px; letter-spacing: 0.5px;
  color: #fff;
  background: linear-gradient(0deg, rgba(3, 6, 14, 0.8), transparent);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}

/* -------- 主面板 -------- */
.panel {
  background: var(--panel);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

/* 头部信息条 */
.p-head {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.02);
}
.avatar {
  width: 52px; height: 52px; border-radius: 50%;
  object-fit: cover; border: 2px solid var(--stroke-strong); box-shadow: var(--glow);
  flex-shrink: 0;
}
.p-head-main { flex: 1 1 auto; min-width: 0; }
.p-title { font-family: var(--font-tech); font-size: 22px; margin: 0; letter-spacing: 1px; }
.p-sub { font-size: 12px; color: var(--muted); margin-top: 3px; }
.p-head-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.stat-chip {
  font-family: var(--font-tech); font-size: 12px; color: var(--cyan);
  border: 1px solid var(--stroke); border-radius: 20px; padding: 4px 12px;
  white-space: nowrap;
}
.admin-entry {
  cursor: pointer; font-size: 12px; color: var(--text);
  background: transparent; border: 1px solid var(--stroke-strong);
  border-radius: 20px; padding: 5px 14px; transition: all 0.2s ease; text-decoration: none;
}
.admin-entry:hover { background: rgba(47, 129, 255, 0.18); box-shadow: var(--glow); }

/* 工具条 / 面包屑 */
.toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 20px; border-bottom: 1px solid var(--stroke); flex-wrap: wrap;
}
.crumbs { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 13px; }
.crumbs a { color: var(--cyan); text-decoration: none; cursor: pointer; }
.crumbs a:hover { text-shadow: 0 0 10px var(--cyan); }
.crumbs .sep { color: var(--muted); }
.crumbs .cur { color: var(--text); }
.tool-actions { display: flex; gap: 8px; align-items: center; }

.search {
  position: relative; display: flex; align-items: center;
}
.search input {
  width: 190px; padding: 7px 12px; font-size: 13px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--stroke);
  border-radius: 10px; color: var(--text); font-family: var(--font-cn);
}
.search input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.15); }

/* -------- 文件列表 -------- */
.filelist { width: 100%; }
.fl-head, .fl-row {
  display: grid;
  grid-template-columns: 1fr 110px 90px 150px 120px;
  align-items: center; gap: 8px;
  padding: 11px 20px;
}
.fl-head { color: var(--muted); font-size: 12px; border-bottom: 1px solid var(--stroke); letter-spacing: 0.5px; }
.fl-row {
  border-bottom: 1px solid rgba(90, 170, 255, 0.08);
  font-size: 13.5px; transition: background 0.15s ease;
}
.fl-row:hover { background: var(--row-hover); }
.fl-name { display: flex; align-items: center; gap: 9px; min-width: 0; }
.fl-ico { font-size: 18px; flex-shrink: 0; }
.fl-ico.folder { color: var(--warn); }
.fl-ico.file { color: #7db8ff; }
.fl-ico.link { color: var(--cyan); }
.fl-name .txt {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.fl-name.clickable { cursor: pointer; }
.fl-name.clickable:hover .txt { color: var(--cyan); }
.fl-col { color: var(--muted); font-size: 12.5px; }
.fl-dl { color: var(--cyan); font-family: var(--font-tech); }
.fl-ops { display: flex; gap: 8px; justify-content: flex-end; }
.fl-empty { padding: 40px 20px; text-align: center; color: var(--muted); }
.fl-loading { padding: 30px; text-align: center; color: var(--muted); }

/* -------- 按钮 -------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: none; cursor: pointer; color: #fff; font-size: 13px; font-weight: 600;
  padding: 8px 14px; border-radius: 10px; font-family: var(--font-cn);
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.btn-sm { padding: 5px 11px; font-size: 12px; border-radius: 8px; }
.btn-primary { background: linear-gradient(135deg, var(--blue), var(--blue-2)); box-shadow: 0 6px 16px rgba(26, 92, 255, 0.35); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(47, 129, 255, 0.5), var(--glow); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--stroke-strong); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }
.btn-cyan { background: linear-gradient(135deg, #10c8e0, #0a92c9); box-shadow: 0 6px 16px rgba(0, 200, 230, 0.3); }
.btn-danger { background: linear-gradient(135deg, #ff5d6c, #e02f42); }
.btn-danger:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(224, 47, 66, 0.4); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

/* -------- 悬浮公告 -------- */
.announce {
  position: fixed; right: 22px; top: 22px; z-index: 45;
  width: 280px; max-width: 78vw;
  background: rgba(10, 16, 28, 0.8);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--stroke-strong); border-radius: 14px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5), var(--glow);
  animation: floatIn 0.6s ease both;
}
.announce-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; border-bottom: 1px solid var(--stroke);
  font-weight: 700; font-size: 14px; color: var(--cyan);
}
.announce-body { padding: 12px 14px; font-size: 13px; line-height: 1.7; color: var(--text); max-height: 40vh; overflow-y: auto; }
.announce-x { background: transparent; border: none; color: var(--muted); cursor: pointer; font-size: 15px; }
.announce-x:hover { color: #fff; }

/* -------- 右下角音乐播放器 -------- */
.music {
  position: fixed; right: 22px; bottom: 22px; z-index: 40;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 11px 16px; cursor: pointer;
  border-radius: 40px; border: 1px solid var(--stroke-strong);
  background: rgba(10, 16, 28, 0.72);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  color: var(--text); font-size: 13px; font-weight: 600;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.5), var(--glow);
  transition: all 0.2s ease; max-width: 78vw;
}
.music:hover { transform: translateY(-2px); border-color: var(--cyan); }
.music .m-ico { font-size: 15px; color: var(--cyan); flex-shrink: 0; }
.music.paused .m-ico { color: var(--muted); }
.music .m-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 200px; }
.music .m-next { color: var(--muted); font-size: 14px; }
.music .m-next:hover { color: var(--cyan); }

/* -------- 进入遮罩（点击任意位置播放）-------- */
.enter-mask {
  position: fixed; inset: 0; z-index: 999;
  display: flex; align-items: center; justify-content: center;
  background: rgba(3, 6, 14, 0.9);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  cursor: pointer; text-align: center; padding: 24px;
  transition: opacity 0.25s ease;
}
.enter-mask .enter-inner { user-select: none; }
.enter-ico { font-size: 54px; color: var(--cyan); animation: enterPulse 1.6s ease-in-out infinite; }
.enter-text { margin-top: 18px; font-size: 20px; font-weight: 700; color: #fff; text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6); }
.enter-sub { margin-top: 10px; font-size: 13px; color: var(--muted); }
@keyframes enterPulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.12); opacity: 0.7; } }

/* -------- 弹窗 -------- */
.modal { position: fixed; inset: 0; z-index: 80; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; }
.modal-mask { position: absolute; inset: 0; background: rgba(3, 5, 12, 0.72); backdrop-filter: blur(4px); }
.modal-card {
  position: relative; z-index: 1; width: 100%; max-width: 440px;
  background: var(--panel-solid); border: 1px solid var(--stroke-strong);
  border-radius: 18px; box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6), 0 0 40px rgba(47, 129, 255, 0.15);
  animation: floatIn 0.3s ease both; max-height: 88vh; overflow-y: auto;
}
.modal-wide { max-width: 720px; }
.modal-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 20px; border-bottom: 1px solid var(--stroke);
  position: sticky; top: 0; background: var(--panel-solid); border-radius: 18px 18px 0 0; z-index: 2;
}
.modal-top h3 { margin: 0; font-size: 17px; letter-spacing: 0.5px; }
.modal-x { background: transparent; border: none; color: var(--muted); font-size: 16px; cursor: pointer; padding: 4px 8px; border-radius: 8px; }
.modal-x:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.modal-body { padding: 20px; }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field > span { font-size: 13px; color: var(--muted); }
.field input, .field select, .field textarea {
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--stroke);
  border-radius: 10px; padding: 10px 12px; color: var(--text);
  font-size: 14px; font-family: var(--font-cn); width: 100%;
}
.field textarea { resize: vertical; min-height: 70px; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.15);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.err { color: var(--danger); font-size: 13px; min-height: 18px; margin: 0 0 6px; }
.hint { font-size: 12px; color: var(--muted); margin: 0 0 12px; line-height: 1.6; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; }

/* 分享结果展示 */
.share-out { background: rgba(0, 229, 255, 0.06); border: 1px solid var(--stroke); border-radius: 12px; padding: 14px; }
.share-line { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 13px; }
.share-line b { color: var(--cyan); }
.share-line code {
  background: rgba(255, 255, 255, 0.06); padding: 4px 8px; border-radius: 6px;
  font-family: var(--font-tech); letter-spacing: 1px; color: var(--warn);
  word-break: break-all;
}

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 40px; transform: translate(-50%, 20px);
  z-index: 120; opacity: 0; pointer-events: none;
  padding: 12px 20px; border-radius: 12px; font-size: 14px;
  background: rgba(10, 16, 28, 0.95); color: #fff;
  border: 1px solid var(--stroke-strong); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  transition: opacity 0.25s ease, transform 0.25s ease; max-width: 86vw; text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast-ok { border-color: rgba(35, 209, 139, 0.6); }
.toast-err { border-color: rgba(255, 77, 94, 0.6); }

.foot { text-align: center; color: var(--muted); font-size: 12px; padding: 18px 0 0; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--cyan); }

/* 上传进度 */
.upbar { height: 6px; border-radius: 6px; background: rgba(255,255,255,0.08); overflow: hidden; margin-top: 6px; }
.upbar > i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--cyan)); transition: width 0.2s ease; }

/* ================= 永硕E盘版式：紧凑表格式（深色科技风） ================= */
.ys-wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 14px 14px 24px;
  animation: floatIn 0.45s ease both;
}

/* ---- 顶部蓝色标题条 ---- */
.ys-topbar {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 16px; margin-bottom: 10px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue-2), var(--blue) 55%, #2aa8ff);
  border: 1px solid var(--stroke-strong);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), var(--glow);
}
.ys-avatar { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(255, 255, 255, 0.6); flex-shrink: 0; }
.ys-avatar:not([src]), .ys-avatar[src=""] { display: none; }
.ys-sitetitle { margin: 0; font-size: 18px; font-weight: 700; color: #fff; letter-spacing: 0.5px; text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35); white-space: nowrap; }
.ys-sitesub { font-size: 12px; color: rgba(255, 255, 255, 0.82); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ys-adminlink {
  margin-left: auto; font-size: 12px; color: #fff; text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.6); border-radius: 6px; padding: 4px 10px;
  white-space: nowrap; transition: background 0.15s ease;
}
.ys-adminlink:hover { background: rgba(255, 255, 255, 0.18); }

/* ---- 主体两栏 ---- */
.ys-main {
  display: grid;
  grid-template-columns: 262px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

/* ---- 左栏 ---- */
.ys-left {
  background: var(--panel-solid);
  border: 1px solid var(--stroke); border-radius: 8px;
  overflow: hidden;
  display: flex; flex-direction: column;
  max-height: calc(100vh - 92px);
}
.ys-menu { display: flex; border-bottom: 1px solid var(--stroke); flex-shrink: 0; }
.ys-tab {
  flex: 1 1 0; text-align: center; cursor: pointer; text-decoration: none;
  font-size: 12.5px; color: var(--muted);
  padding: 8px 4px; border-right: 1px solid var(--stroke);
  transition: all 0.15s ease; white-space: nowrap; background: transparent;
}
.ys-tab:last-child { border-right: none; }
.ys-tab:hover { color: var(--text); background: rgba(47, 129, 255, 0.12); }
.ys-tab.active { color: #fff; background: linear-gradient(180deg, var(--blue), var(--blue-2)); font-weight: 600; }

.ys-msgbox { padding: 10px; display: flex; flex-direction: column; min-height: 0; flex: 1 1 auto; }
.msg-form { display: flex; flex-direction: column; gap: 6px; margin-bottom: 8px; flex-shrink: 0; }
.msg-row1 { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.mf-label { font-size: 12px; color: var(--muted); flex-shrink: 0; }
.msg-row1 input[type="text"] {
  flex: 1 1 auto; min-width: 60px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--stroke);
  border-radius: 6px; padding: 5px 8px; color: var(--text); font-size: 12.5px; font-family: var(--font-cn);
}
.mf-check { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; color: var(--muted); cursor: pointer; white-space: nowrap; }
.mf-check input { accent-color: var(--blue); }
.msg-form textarea {
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--stroke);
  border-radius: 6px; padding: 6px 8px; color: var(--text); font-size: 12.5px;
  font-family: var(--font-cn); width: 100%; resize: vertical; min-height: 54px; line-height: 1.5;
}
.msg-form input:focus, .msg-form textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 2px rgba(0, 229, 255, 0.15); }
.msg-row2 { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mf-tip { font-size: 11px; color: var(--muted); }
.ys-btn {
  cursor: pointer; border: 1px solid var(--stroke-strong); color: var(--text);
  background: rgba(255, 255, 255, 0.05); border-radius: 6px; padding: 5px 12px;
  font-size: 12.5px; font-family: var(--font-cn); transition: all 0.15s ease; white-space: nowrap;
}
.ys-btn:hover { background: rgba(47, 129, 255, 0.16); }
.ys-btn-blue { background: linear-gradient(135deg, var(--blue), var(--blue-2)); border-color: transparent; color: #fff; font-weight: 600; }
.ys-btn-blue:hover { box-shadow: var(--glow); filter: brightness(1.05); }
.msg-off { font-size: 12px; color: var(--warn); background: rgba(255, 209, 102, 0.08); border: 1px dashed rgba(255, 209, 102, 0.4); border-radius: 6px; padding: 8px; text-align: center; margin-bottom: 8px; flex-shrink: 0; }

.msg-list { overflow-y: auto; display: flex; flex-direction: column; gap: 6px; min-height: 0; flex: 1 1 auto; padding-right: 2px; }
.msg-item { border: 1px solid rgba(90, 170, 255, 0.14); border-radius: 6px; padding: 6px 8px; font-size: 12.5px; line-height: 1.5; background: rgba(255, 255, 255, 0.02); }
.msg-item.pinned { border-color: var(--stroke-strong); background: rgba(47, 129, 255, 0.08); }
.msg-item .m-top { display: flex; align-items: center; gap: 6px; margin-bottom: 3px; }
.msg-item .m-name { color: var(--cyan); font-weight: 600; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.msg-item .m-pin { color: var(--warn); font-size: 10.5px; }
.msg-item .m-body { color: var(--text); word-break: break-word; white-space: pre-wrap; }
.msg-item .m-meta { display: flex; justify-content: flex-end; gap: 8px; color: var(--muted); font-size: 10.5px; margin-top: 3px; }
.msg-item .m-reply { margin-top: 5px; padding: 5px 8px; border-left: 2px solid var(--cyan); background: rgba(0, 229, 255, 0.06); border-radius: 0 6px 6px 0; color: var(--muted); font-size: 12px; }
.msg-item .m-reply b { color: var(--cyan); }
.msg-empty { padding: 20px 8px; text-align: center; color: var(--muted); font-size: 12.5px; }

/* ---- 右栏 ---- */
.ys-right {
  min-width: 0;
  background: var(--panel-solid);
  border: 1px solid var(--stroke); border-radius: 8px;
  overflow: hidden;
}
.ys-listhead {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 7px 14px;
  background: linear-gradient(135deg, var(--blue-2), var(--blue) 60%, #2aa8ff);
  color: #fff;
}
.lh-title { font-size: 14px; font-weight: 700; letter-spacing: 0.5px; text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35); white-space: nowrap; }
.lh-meta { font-size: 12px; color: rgba(255, 255, 255, 0.9); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.ys-crumbrow {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 7px 12px; border-bottom: 1px solid var(--stroke); flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.02);
}
.ys-crumbs { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; font-size: 12.5px; min-width: 0; }
.ys-crumbs a { color: var(--cyan); text-decoration: none; cursor: pointer; }
.ys-crumbs a:hover { text-shadow: 0 0 8px var(--cyan); }
.ys-crumbs .sep { color: var(--muted); }
.ys-crumbs .cur { color: var(--text); }
.ys-tools { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.ys-count { font-size: 12px; color: var(--muted); white-space: nowrap; }
.ys-tools input {
  width: 150px; padding: 5px 10px; font-size: 12.5px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--stroke);
  border-radius: 6px; color: var(--text); font-family: var(--font-cn);
}
.ys-tools input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 2px rgba(0, 229, 255, 0.15); }

/* ---- 密集单行文件列表 ---- */
.ys-filelist { display: flex; flex-direction: column; }
.fl-line {
  display: flex; align-items: center; gap: 8px;
  padding: 4px 14px; min-height: 26px;
  border-bottom: 1px solid rgba(90, 170, 255, 0.09);
  font-size: 13px; transition: background 0.12s ease;
}
.fl-line:hover { background: var(--row-hover); }
.fl-line .fl-mark { color: var(--danger); font-size: 11px; font-family: var(--font-tech); flex-shrink: 0; width: 16px; text-align: center; }
.fl-line .fl-ico { font-size: 15px; flex-shrink: 0; }
.fl-line .fl-ico.folder { color: var(--warn); }
.fl-line .fl-ico.file { color: #7db8ff; }
.fl-line .fl-ico.link { color: var(--cyan); }
.fl-line .fl-name {
  flex: 1 1 auto; min-width: 0; color: var(--text); text-decoration: none;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.fl-line a.fl-name:hover, .fl-line .fl-name.clickable:hover { color: var(--cyan); }
.fl-line .fl-name.clickable { cursor: pointer; }
.fl-line .fl-meta { flex-shrink: 0; color: var(--muted); font-size: 11.5px; display: flex; align-items: center; gap: 12px; }
.fl-line .fl-meta .m-size { min-width: 62px; text-align: right; }
.fl-line .fl-meta .m-dl { color: var(--cyan); font-family: var(--font-tech); min-width: 34px; text-align: right; }
.fl-line .fl-meta .m-time { min-width: 96px; text-align: right; }

/* ---- 底栏（右对齐小按钮）---- */
.ys-foot { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; padding: 12px 4px 4px; }
.ys-foot #beian { margin-right: auto; font-size: 11.5px; color: var(--muted); text-decoration: none; }
.ys-foot #beian:hover { color: var(--cyan); }
.ys-footmenu { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.ys-footbtn {
  cursor: pointer; text-decoration: none; font-size: 12px; color: var(--warn);
  border: 1px solid rgba(255, 209, 102, 0.35); border-radius: 6px; padding: 4px 12px;
  background: rgba(255, 209, 102, 0.06); transition: all 0.15s ease; white-space: nowrap;
}
.ys-footbtn:hover { background: rgba(255, 209, 102, 0.16); color: #fff; }

/* 访问口令 / 权限遮罩 */
.gate-mask {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center; padding: 24px;
  background: rgba(3, 6, 14, 0.9);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.gate-card {
  width: 100%; max-width: 360px; text-align: center;
  background: var(--panel-solid); border: 1px solid var(--stroke-strong);
  border-radius: 18px; padding: 28px 24px; box-shadow: 0 24px 70px rgba(0,0,0,0.6), var(--glow);
  animation: floatIn 0.35s ease both;
}
.gate-ico { font-size: 44px; color: var(--cyan); }
.gate-title { font-size: 19px; font-weight: 700; margin-top: 12px; }
.gate-sub { font-size: 13px; color: var(--muted); margin-top: 8px; line-height: 1.6; }
.gate-form { display: flex; gap: 8px; margin-top: 18px; }
.gate-form input {
  flex: 1 1 auto; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--stroke);
  border-radius: 10px; padding: 10px 12px; color: var(--text); font-size: 14px; font-family: var(--font-cn);
}
.gate-form input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.15); }
.gate-admin { display: inline-block; margin-top: 16px; font-size: 12.5px; color: var(--cyan); text-decoration: none; }
.gate-admin:hover { text-shadow: 0 0 10px var(--cyan); }

/* 在线列表 / 举报 弹窗内容 */
.ol-list { display: flex; flex-direction: column; gap: 6px; max-height: 50vh; overflow-y: auto; }
.ol-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; padding: 8px 10px; background: rgba(255,255,255,0.03); border: 1px solid var(--stroke); border-radius: 9px; }
.ol-item .ol-ip { font-family: var(--font-tech); color: var(--cyan); }
.ol-item .ol-time { color: var(--muted); font-size: 12px; }
.ol-count { font-family: var(--font-tech); color: var(--warn); font-size: 15px; margin-bottom: 12px; }

/* -------- 响应式 -------- */
@media (max-width: 860px) {
  .ys-main { grid-template-columns: 1fr; }
  .ys-left { order: 2; max-height: none; }
  .ys-right { order: 1; }
  .msg-list { max-height: 46vh; }
}
@media (max-width: 560px) {
  .ys-topbar { flex-wrap: wrap; }
  .ys-adminlink { margin-left: 0; }
  .lh-meta { font-size: 11px; }
  .fl-line .fl-meta { gap: 8px; }
  .fl-line .fl-meta .m-dl, .fl-line .fl-meta .m-time { display: none; }
  .ys-tools input { width: 110px; }
  .announce { right: 12px; top: 12px; width: 220px; }
  .music { right: 12px; bottom: 12px; }
  .music .m-name { max-width: 110px; }
  .field-row { grid-template-columns: 1fr; }
}
/* share.html 旧列表在窄屏下的降级（.filelist 由分享页复用）*/
@media (max-width: 760px) {
  .filelist .fl-head { display: none; }
  .filelist .fl-row { grid-template-columns: 1fr auto; grid-template-areas: "name ops" "meta ops"; row-gap: 4px; }
  .filelist .fl-row .fl-name { grid-area: name; }
  .filelist .fl-row .fl-ops { grid-area: ops; }
  .filelist .fl-row .fl-col.size { grid-area: meta; }
  .filelist .fl-row .fl-col.dl, .filelist .fl-row .fl-col.time { display: none; }
  .search input { width: 130px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
