/* =====================================================================
   数字音乐管理平台 - 商务风格样式表
   ===================================================================== */

:root {
    --primary: #2b6cf6;
    --primary-dark: #1d55d0;
    --primary-light: #eaf1ff;
    --dark: #14161d;
    --dark-2: #1d2029;
    --bg: #f4f6fa;
    --card: #ffffff;
    --text: #1f2430;
    --text-2: #5b6478;
    --muted: #8d96a8;
    --border: #e9edf5;
    --green: #12b76a;
    --red: #f04438;
    --orange: #f79009;
    --radius: 10px;
    --shadow: 0 1px 3px rgba(23, 43, 77, .06), 0 6px 18px rgba(23, 43, 77, .05);
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
    font-size: 14px;
    color: var(--text);
    background: var(--bg);
    min-width: 1180px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 600; }
p { margin: 0 0 10px; }
ul { margin: 0; padding: 0; list-style: none; }
.ico { vertical-align: -3px; }
.muted { color: var(--muted); }
.text-2 { color: var(--text-2); }
.mt0 { margin-top: 0 !important; }
.mt10 { margin-top: 10px; }
.mt16 { margin-top: 16px; }
.mt20 { margin-top: 20px; }
.mb10 { margin-bottom: 10px; }
.mb16 { margin-bottom: 16px; }
.mb20 { margin-bottom: 20px; }
.tc { text-align: center; }
.tr { text-align: right; }
.flex { display: flex; align-items: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap10 { gap: 10px; }
.gap16 { gap: 16px; }
.nowrap { white-space: nowrap; }
.hidden { display: none !important; }

/* ---------------- 顶部导航 ---------------- */
.topbar {
    height: 60px;
    background: var(--dark);
    display: flex;
    align-items: center;
    padding: 0 24px;
    position: sticky;
    top: 0;
    z-index: 100;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { height: 30px; }
.brand-mark { display: inline-flex; }
.brand-text { color: #fff; font-size: 17px; font-weight: 600; letter-spacing: .5px; }
.topnav { display: flex; gap: 6px; margin-left: 60px; flex: 1; }
.topnav a { color: #cfd4e0; padding: 8px 18px; border-radius: 6px; font-size: 15px; }
.topnav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.topbar-right { display: flex; align-items: center; gap: 16px; }
.topbar-right .top-user { color: #fff; font-size: 14px; }
.topbar-right .top-link { color: #cfd4e0; font-size: 14px; display: inline-flex; align-items: center; gap: 4px; }
.topbar-right .top-link:hover { color: #fff; }
.bell { position: relative; color: #cfd4e0; display: inline-flex; }
.bell:hover { color: #fff; }
.bell em {
    position: absolute; top: -7px; right: -9px; background: var(--red); color: #fff;
    font-size: 11px; font-style: normal; padding: 0 5px; border-radius: 9px; line-height: 16px; min-width: 16px; text-align: center;
}
.btn-upload {
    display: inline-flex; align-items: center; gap: 6px;
    border: 1px solid rgba(255, 255, 255, .55); color: #fff; border-radius: 6px;
    padding: 6px 14px; font-size: 14px;
}
.btn-upload:hover { background: #fff; color: var(--dark); }

/* ---------------- 布局 ---------------- */
.layout { display: flex; align-items: stretch; min-height: calc(100vh - 60px); }
.sidebar {
    width: 210px; flex: 0 0 210px; background: #fff; border-right: 1px solid var(--border);
    padding: 10px 0 40px;
}
.side-nav { width: 100%; }
.nav-group { border-bottom: 1px solid transparent; }
.nav-title {
    display: flex; align-items: center; gap: 10px; padding: 13px 20px; color: var(--text-2);
    cursor: pointer; font-size: 14.5px; user-select: none;
}
.nav-title:hover { color: var(--primary); }
.nav-title span { flex: 1; }
.nav-title .arrow { width: 7px; height: 7px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg); transition: transform .2s; }
.nav-group.open .nav-title .arrow { transform: rotate(-135deg); }
.nav-group.open .nav-title { color: var(--text); font-weight: 600; }
.nav-list { display: none; padding: 0 0 8px; }
.nav-group.open .nav-list { display: block; }
.nav-list a {
    display: flex; align-items: center; padding: 9px 20px 9px 48px; color: var(--text-2); font-size: 14px;
    border-left: 3px solid transparent;
}
.nav-list a:hover { color: var(--primary); background: #f8faff; }
.nav-list a.active { color: var(--primary); background: var(--primary-light); border-left-color: var(--primary); font-weight: 600; }
.nav-badge { margin-left: auto; background: var(--red); color: #fff; font-style: normal; font-size: 11px; padding: 1px 6px; border-radius: 8px; }
.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.crumb { padding: 16px 24px 0; color: var(--muted); font-size: 13.5px; }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--primary); }
.crumb .sep { margin: 0 8px; }
.crumb .cur { color: var(--text-2); }
.page { padding: 16px 24px 40px; }
.site-footer { padding: 18px 24px; color: var(--muted); font-size: 12.5px; text-align: center; display: flex; gap: 16px; justify-content: center; }
.admin-topbar { background: linear-gradient(90deg, #14161d 0%, #1d2440 100%); }
.admin-topbar .brand-text { font-size: 16px; }
.admin-body .main { background: var(--bg); }

/* ---------------- 卡片 ---------------- */
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 18px; }
.card-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 20px; border-bottom: 1px solid var(--border);
}
.card-title { font-size: 16px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.card-title .sub { font-size: 13px; color: var(--muted); font-weight: 400; margin-left: 8px; }
.card-body { padding: 18px 20px; }
.card-body.tight { padding: 12px 20px; }
.card-body.flush { padding: 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.grid-main-side { display: grid; grid-template-columns: 1fr 340px; gap: 18px; align-items: start; }

/* ---------------- 快捷入口 ---------------- */
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.quick-item {
    background: linear-gradient(180deg, #eef4ff 0%, #e3ecff 100%);
    border-radius: 10px; padding: 20px 10px; text-align: center; color: var(--text);
    transition: transform .15s, box-shadow .15s;
}
.quick-item:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(43, 108, 246, .16); color: var(--primary); }
.quick-item .q-ico { display: block; margin-bottom: 8px; color: var(--primary); }
.quick-item .q-text { font-size: 14px; }

/* ---------------- 统计 ---------------- */
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat .stat-label { color: var(--muted); font-size: 13px; }
.stat .stat-value { font-size: 24px; font-weight: 700; letter-spacing: .5px; }
.stat .stat-value.small { font-size: 20px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat-grid .stat-cell { padding: 6px 10px; }
.stat-grid .stat-cell + .stat-cell { border-left: 1px solid var(--border); }
.stat-line { display: flex; justify-content: space-between; align-items: baseline; padding: 9px 0; border-bottom: 1px dashed var(--border); }
.stat-line:last-child { border-bottom: 0; }
.stat-line .k { color: var(--text-2); }
.stat-line .v { font-weight: 600; }
.big-number { font-size: 26px; font-weight: 700; }

/* ---------------- 图表 ---------------- */
.chart-wrap { position: relative; height: 210px; }
.chart-legend { display: flex; gap: 18px; flex-wrap: wrap; margin: 6px 0 10px; font-size: 13px; color: var(--text-2); }
.chart-legend i { display: inline-block; width: 14px; height: 3px; border-radius: 2px; margin-right: 6px; vertical-align: 3px; }

/* ---------------- 表格 ---------------- */
.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table th {
    text-align: left; font-weight: 600; color: var(--text-2); background: #fafbfe;
    padding: 11px 12px; border-bottom: 1px solid var(--border); white-space: nowrap;
}
.table td { padding: 11px 12px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table tbody tr:hover { background: #fafcff; }
.table tbody tr:last-child td { border-bottom: 0; }
.table .col-id { width: 60px; color: var(--muted); }
.table .actions { white-space: nowrap; }
.table .actions a, .table .actions button { margin-right: 8px; font-size: 13px; }
.table-wrap { overflow-x: auto; }
.table-sm th, .table-sm td { padding: 7px 10px; font-size: 13px; }
.thumb { width: 44px; height: 44px; border-radius: 6px; object-fit: cover; background: #f0f2f7; }
.thumb-lg { width: 110px; height: 110px; border-radius: 8px; object-fit: cover; background: #f0f2f7; }

/* ---------------- 徽标 ---------------- */
.tag { display: inline-block; padding: 1px 9px; border-radius: 10px; font-size: 12px; line-height: 19px; white-space: nowrap; }
.tag-gray { background: #f0f2f7; color: #6b7280; }
.tag-blue { background: #e8f0ff; color: var(--primary); }
.tag-green { background: #e6f7ef; color: var(--green); }
.tag-red { background: #fdeceb; color: var(--red); }
.tag-orange { background: #fff5e6; color: var(--orange); }
.tag-purple { background: #f2ecff; color: #7c3aed; }

/* ---------------- 按钮 ---------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    border: 1px solid var(--border); background: #fff; color: var(--text);
    padding: 8px 16px; border-radius: 7px; font-size: 14px; cursor: pointer;
    transition: all .15s; font-family: inherit; line-height: 1.4;
}
.btn:hover { border-color: #cfd8ea; color: var(--primary); }
.btn-primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }
.btn-danger { background: #fff; border-color: #ffd4d0; color: var(--red); }
.btn-danger:hover { background: var(--red); border-color: var(--red); color: #fff; }
.btn-success { background: var(--green); border-color: var(--green); color: #fff; }
.btn-success:hover { filter: brightness(.94); color: #fff; }
.btn-ghost { background: transparent; border-color: transparent; color: var(--primary); }
.btn-ghost:hover { background: var(--primary-light); }
.btn-sm { padding: 4px 12px; font-size: 13px; border-radius: 6px; }
.btn-lg { padding: 11px 26px; font-size: 15px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: not-allowed; }
.btn-group { display: inline-flex; gap: 8px; flex-wrap: wrap; }

/* ---------------- 表单 ---------------- */
.form-row { margin-bottom: 18px; }
.form-row > label, .form-label {
    display: block; margin-bottom: 7px; font-size: 14px; color: var(--text-2); font-weight: 500;
}
.form-row .req::after { content: '*'; color: var(--red); margin-left: 3px; }
.input, .select, .textarea {
    width: 100%; border: 1px solid #dfe5f0; border-radius: 7px; padding: 9px 12px;
    font-size: 14px; color: var(--text); background: #fff; font-family: inherit; transition: border-color .15s, box-shadow .15s;
}
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(43, 108, 246, .12); }
.input::placeholder, .textarea::placeholder { color: #b3bacb; }
.textarea { min-height: 96px; resize: vertical; line-height: 1.7; }
.select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238d96a8' stroke-width='2'><path d='M6 9l6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px; }
.form-tip { font-size: 12.5px; color: var(--muted); margin-top: 5px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.form-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 20px; }
.form-inline { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.form-inline .form-row { margin-bottom: 0; }
.checkbox, .radio { display: inline-flex; align-items: center; gap: 6px; margin-right: 16px; cursor: pointer; font-size: 14px; }
.checkbox input, .radio input { width: 15px; height: 15px; accent-color: var(--primary); }
.check-list { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.error-text { color: var(--red); font-size: 12.5px; margin-top: 5px; }
.char-count { float: right; font-size: 12px; color: var(--muted); }
.input-group { display: flex; gap: 8px; }
.input-group .input { flex: 1; }

/* 上传框 */
.upload-box {
    border: 1.5px dashed #d3dcec; border-radius: 9px; padding: 22px; text-align: center;
    background: #fafcff; cursor: pointer; transition: border-color .15s, background .15s;
}
.upload-box:hover { border-color: var(--primary); background: #f5f9ff; }
.upload-box .u-ico { color: var(--primary); }
.upload-box .u-text { margin-top: 6px; color: var(--text-2); font-size: 13.5px; }
.upload-box .u-tip { color: var(--muted); font-size: 12.5px; margin-top: 3px; }
.upload-box input[type=file] { display: none; }
.preview-box { display: flex; gap: 14px; align-items: flex-start; margin-top: 12px; }
.cover-preview { width: 96px; height: 96px; border-radius: 8px; object-fit: cover; border: 1px solid var(--border); background: #f4f6fa; }
.avatar-preview { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; border: 1px solid var(--border); }

/* ---------------- 提示 ---------------- */
.alert {
    position: relative; padding: 11px 36px 11px 14px; border-radius: 8px; margin-bottom: 14px; font-size: 13.5px;
    border: 1px solid transparent;
}
.alert-success { background: #e9f9f1; color: #087443; border-color: #c4eeda; }
.alert-error { background: #fdeceb; color: #b42318; border-color: #fbd5d1; }
.alert-warning { background: #fff7e8; color: #b54708; border-color: #fce3b6; }
.alert-info { background: #eaf1ff; color: #1d55d0; border-color: #cfe0ff; }
.alert-close { position: absolute; right: 12px; top: 9px; cursor: pointer; opacity: .5; font-size: 16px; }
.alert-close:hover { opacity: 1; }

.empty-state { text-align: center; padding: 46px 20px; color: var(--muted); }
.empty-state .ico { color: #c8d0e0; margin-bottom: 10px; }

/* ---------------- 分页 ---------------- */
.pager { display: flex; align-items: center; gap: 6px; padding: 14px 20px; flex-wrap: wrap; }
.pager a { padding: 5px 11px; border: 1px solid var(--border); border-radius: 6px; color: var(--text-2); font-size: 13px; background: #fff; }
.pager a:hover { border-color: var(--primary); color: var(--primary); }
.pager a.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.pager-info { margin-right: auto; color: var(--muted); font-size: 13px; }

/* ---------------- 标签页 ---------------- */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); padding: 0 20px; }
.tabs a, .tabs button {
    padding: 12px 16px; color: var(--text-2); font-size: 14px; border: 0; background: transparent;
    border-bottom: 2px solid transparent; cursor: pointer; font-family: inherit;
}
.tabs a.active, .tabs button.active { color: var(--primary); border-bottom-color: var(--primary); font-weight: 600; }
.tabs a .num, .tabs button .num { color: var(--red); font-style: normal; }

/* ---------------- 弹窗 / 侧滑 ---------------- */
.modal-mask {
    position: fixed; inset: 0; background: rgba(19, 24, 36, .45); z-index: 900;
    display: flex; align-items: center; justify-content: center; padding: 30px;
}
.modal {
    background: #fff; border-radius: 12px; width: 560px; max-width: 100%; max-height: 88vh;
    display: flex; flex-direction: column; box-shadow: 0 20px 50px rgba(15, 23, 42, .25); overflow: hidden;
}
.modal.wide { width: 860px; }
.modal-head { padding: 15px 20px; border-bottom: 1px solid var(--border); font-size: 15px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
.modal-body { padding: 18px 20px; overflow: auto; }
.modal-foot { padding: 13px 20px; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: 10px; }
.modal-close { cursor: pointer; color: var(--muted); font-size: 20px; line-height: 1; }
.modal-close:hover { color: var(--red); }

.popup-layer { position: fixed; inset: 0; background: rgba(19, 24, 36, .38); z-index: 950; display: flex; align-items: center; justify-content: center; }
.popup-box { background: #fff; border-radius: 12px; width: 520px; max-width: 92%; overflow: hidden; box-shadow: 0 20px 50px rgba(15, 23, 42, .25); }
.popup-head { padding: 14px 20px; background: var(--primary); color: #fff; font-weight: 600; display: flex; justify-content: space-between; }
.popup-close { cursor: pointer; }
.popup-body { padding: 18px 20px; max-height: 60vh; overflow: auto; }
.popup-foot { padding: 12px 20px; border-top: 1px solid var(--border); text-align: right; }

/* ---------------- 作品卡片（专辑墙） ---------------- */
.album-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.album-card { background: #fff; border-radius: 10px; overflow: hidden; border: 1px solid var(--border); transition: box-shadow .15s; }
.album-card:hover { box-shadow: 0 8px 22px rgba(23, 43, 77, .1); }
.album-cover { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; background: #eef1f7; }
.album-info { padding: 10px 12px 12px; font-size: 12.5px; color: var(--text-2); }
.album-info .a-name { font-size: 13.5px; font-weight: 600; color: var(--text); margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.album-info div { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 个人资料卡 */
.profile-card { text-align: center; padding: 22px 18px; }
.profile-card .p-logo { width: 96px; margin: 0 auto 12px; }
.profile-card .p-name { font-size: 15px; font-weight: 600; margin-bottom: 14px; line-height: 1.5; }
.profile-card .p-line { text-align: left; color: var(--text-2); font-size: 13px; margin-bottom: 6px; }
.profile-card .p-line .k { color: var(--muted); }

/* ---------------- 登录/注册 ---------------- */
.auth-wrap {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #14161d 0%, #1d2b4d 55%, #2b6cf6 100%);
    padding: 40px 20px;
}
.auth-box { background: #fff; border-radius: 14px; width: 440px; padding: 34px 36px 30px; box-shadow: 0 24px 60px rgba(8, 15, 30, .35); }
.auth-box.wide { width: 520px; }
.auth-box .a-title { font-size: 21px; font-weight: 600; margin-bottom: 6px; }
.auth-box .a-sub { color: var(--muted); font-size: 13.5px; margin-bottom: 24px; }
.auth-foot { text-align: center; color: var(--muted); font-size: 13.5px; margin-top: 16px; }
.auth-brand { text-align: center; color: #fff; margin-bottom: 22px; }
.auth-brand .b-name { font-size: 22px; font-weight: 600; letter-spacing: 1px; }

/* ---------------- 富文本编辑器 ---------------- */
.rich-toolbar { display: flex; gap: 4px; flex-wrap: wrap; padding: 8px; background: #fafbfe; border: 1px solid #dfe5f0; border-bottom: 0; border-radius: 7px 7px 0 0; }
.rich-toolbar button {
    border: 1px solid transparent; background: transparent; padding: 4px 9px; border-radius: 5px;
    cursor: pointer; font-size: 13px; color: var(--text-2); font-family: inherit;
}
.rich-toolbar button:hover { background: #eef2fa; color: var(--primary); }
.rich-editor { border: 1px solid #dfe5f0; border-radius: 0 0 7px 7px; min-height: 260px; padding: 14px; background: #fff; overflow: auto; }
.rich-editor:focus { outline: none; border-color: var(--primary); }
.rich-editor img { max-width: 100%; }

/* ---------------- 详情页 ---------------- */
.detail-row { display: flex; padding: 11px 0; border-bottom: 1px dashed var(--border); font-size: 14px; }
.detail-row:last-child { border-bottom: 0; }
.detail-row .d-label { width: 120px; color: var(--muted); flex: 0 0 120px; }
.detail-row .d-value { flex: 1; word-break: break-word; }
.upc-box {
    display: flex; align-items: center; gap: 12px; background: var(--primary-light);
    border: 1px dashed #b9cdfb; border-radius: 9px; padding: 14px 18px;
}
.upc-code { font-size: 24px; font-weight: 700; letter-spacing: 3px; color: var(--primary); font-family: Consolas, Monaco, monospace; }
.timeline { position: relative; padding-left: 22px; }
.timeline::before { content: ''; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 2px; background: var(--border); }
.timeline-item { position: relative; padding: 0 0 18px; }
.timeline-item::before { content: ''; position: absolute; left: -21px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: #fff; border: 2px solid var(--primary); }
.timeline-item .t-title { font-weight: 600; margin-bottom: 2px; }
.timeline-item .t-meta { color: var(--muted); font-size: 12.5px; }

/* 歌词/免责 */
.lyric-box { background: #fafbfe; border: 1px solid var(--border); border-radius: 8px; padding: 14px; white-space: pre-wrap; line-height: 1.9; color: var(--text-2); max-height: 320px; overflow: auto; }
.tpl-box { background: #fafbfe; border: 1px solid var(--border); border-radius: 8px; padding: 18px; white-space: pre-wrap; line-height: 2; font-size: 14px; }

/* 音频播放器 */
audio { width: 100%; height: 38px; }
.audio-row { display: flex; align-items: center; gap: 12px; background: #fafbfe; border: 1px solid var(--border); border-radius: 8px; padding: 10px 14px; }

/* 收益数字 */
.amount { font-family: Consolas, Monaco, monospace; font-weight: 600; }
.amount-plus { color: var(--green); }
.amount-minus { color: var(--red); }

/* 表格内搜索栏 */
.toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 14px 20px; border-bottom: 1px solid var(--border); }
.toolbar .spacer { flex: 1; }
.toolbar .input, .toolbar .select { width: auto; min-width: 150px; }

.batch-bar { display: flex; align-items: center; gap: 14px; padding: 10px 20px; background: #f8faff; border-bottom: 1px solid var(--border); font-size: 13.5px; }
.batch-bar .sel-count { color: var(--primary); font-weight: 600; }

/* 帮助中心 */
.help-layout { display: grid; grid-template-columns: 220px 1fr; gap: 18px; align-items: start; }
.help-menu { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 10px 0; }
.help-menu .h-cat { padding: 10px 18px 6px; color: var(--muted); font-size: 12.5px; letter-spacing: 1px; }
.help-menu a { display: block; padding: 8px 18px; color: var(--text-2); font-size: 13.5px; }
.help-menu a:hover { background: #f8faff; color: var(--primary); }
.help-menu a.active { background: var(--primary-light); color: var(--primary); font-weight: 600; }
.article-body { line-height: 2; color: var(--text-2); font-size: 14.5px; }
.article-body img { max-width: 100%; }

/* 公告列表 */
.notice-item { padding: 16px 0; border-bottom: 1px dashed var(--border); }
.notice-item:last-child { border-bottom: 0; }
.notice-item .n-title { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.notice-item .n-time { color: var(--muted); font-size: 12.5px; }

@media (max-width: 1400px) {
    .album-grid { grid-template-columns: repeat(3, 1fr); }
    .quick-grid { grid-template-columns: repeat(4, 1fr); }
}
