/* ============================================================
   闁稿繈鍔庨幃鍡樼箾閸欐顔囬柣鎴幖鐎规娊姊块悿顖涘涧 鐠?缂佺姭鍋撴繛韫兌婢?
   ============================================================ */
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f8fbff;
  --line: #d5e6f5;
  --line-soft: #e7f2fb;
  --line-strong: #b6d3ea;
  --text: #14538c;
  --muted: #3f74a8;
  --dim: #7098be;
  --accent: #2f7fd3;
  --blue: #1f6fc0;
  --amber: #c27c00;
  --red: #d95364;
  --green: #228a63;
  --radius: 10px;
  --font: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", "Hiragino Sans GB", system-ui, sans-serif;
  --num: "Bahnschrift", "DIN Alternate", "Segoe UI", var(--font);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 13px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
body.home-page { background: #ffffff; }
body.home-page main { width: 100%; max-width: 1600px; padding-left: 4px; padding-right: 16px; }
body.home-page .app-page.home-works-page { max-width: none; margin: 0; }
body.home-page .page-head { display: none; }
body.me-view .page-head { display: none; }
body.home-page .topbar { background: rgba(255, 255, 255, .96); }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: rgba(47, 127, 211, .25); }
[hidden] { display: none !important; }

::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #b9d6eb; border-radius: 9px; border: 2px solid var(--bg); }

/* ------------------------------------------------------------ 濡絾鐗犻妴?*/
.home-view { display: block; }
.app-nav { display: none; }
.mobile-work-list { display: none; }
.home-filters { display: flex; flex-direction: column; gap: 6px; padding: 10px 0 14px; margin-bottom: 4px; border-bottom: 1px solid var(--line-soft); }
.home-filter-row { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; }
.home-filter-label { width: 34px; flex: none; color: var(--dim); font-size: 9.5px; letter-spacing: .08em; }
.home-chip { height: 25px; padding: 0 8px; border: 1px solid var(--line); border-radius: 5px; background: transparent; color: var(--muted); font-size: 10px; }
.home-chip b { margin-left: 3px; color: var(--dim); font-family: var(--num); font-weight: 500; }
.home-chip:hover { color: var(--text); border-color: #9ec4e2; }
.home-chip.active { color: var(--text); border-color: rgba(47, 127, 211, .35); background: rgba(47, 127, 211, .07); }
.home-chip.active b { color: var(--accent); }
.home-empty { grid-column: 1 / -1; border: 1px dashed var(--line); border-radius: 9px; padding: 34px; text-align: center; color: var(--dim); font-size: 11px; }
.home-sortbar { display: flex; align-items: center; gap: 8px; padding: 0 0 14px; color: var(--dim); font-size: 9.5px; letter-spacing: .08em; }
.home-sortbar select { height: 28px; border: 1px solid var(--line); border-radius: 5px; background: var(--surface); color: var(--text); padding: 0 8px; font-size: 10.5px; }
.home-expand { display: flex; justify-content: center; padding: 16px 0 18px; }
.search-view { max-width: 1100px; margin: 0 auto; padding: 12px 0 40px; }
.search-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 4px 0 12px; border-bottom: 1px solid var(--line-soft); margin-bottom: 12px; }
.search-head h2 { margin: 0; font-size: 16px; }
.search-head span { color: var(--dim); font-size: 10.5px; }
.search-head b { color: var(--accent); font-family: var(--num); }
.search-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.site-ranking { padding: 2px 0 20px; }
#rankingView.site-mode > :not(#siteRanking) { display: none !important; }
#rankingView.site-mode #siteRanking { display: block !important; }
.site-rank-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.site-rank-head h2 { margin: 0; font-size: 20px; }
.site-rank-head span { display: block; color: var(--dim); font-size: 10px; margin-top: 3px; }
.site-rank-head > b { color: var(--accent); font-family: var(--num); font-size: 12px; }
.site-rank-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.site-rank-chip { height: 26px; padding: 0 10px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); color: var(--muted); font-size: 10px; }
.site-rank-chip b { color: var(--dim); font-family: var(--num); margin-left: 3px; }
.site-rank-chip.active { border-color: rgba(47, 127, 211, .4); background: rgba(47, 127, 211, .08); color: var(--accent); }
.site-rank-list { border: 1px solid var(--line); border-radius: 10px; background: var(--surface); overflow: hidden; }
.site-rank-row { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-bottom: 1px solid var(--line-soft); cursor: pointer; }
.site-rank-row:last-child { border-bottom: 0; }
.site-rank-row:hover { background: var(--surface-2); }
.site-rank-num { width: 22px; flex: none; color: var(--dim); font-family: var(--num); font-size: 11px; text-align: center; }
.site-rank-num.top { color: var(--accent); }
.site-rank-cover { width: 34px; height: 48px; border-radius: 4px; overflow: hidden; flex: none; background: var(--surface-2); }
.site-rank-cover img { width: 100%; height: 100%; object-fit: cover; }
.site-rank-info { flex: 1; min-width: 0; }
.site-rank-info b { display: block; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.site-rank-info em { display: block; color: var(--dim); font-style: normal; font-size: 9px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.site-rank-row > strong { color: var(--accent); font-family: var(--num); font-size: 13px; flex: none; }
#rankingView.analytics-mode > :not(#adminAnalytics) { display: none !important; }
.analytics-page { padding: 2px 0 20px; }
.analytics-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.analytics-head h2 { margin: 0; font-size: 22px; }
.analytics-head span { display: block; color: var(--dim); font-size: 10px; margin-top: 3px; }
.analytics-head > b { color: var(--accent); font-family: var(--num); font-size: 12px; }
.analytics-head-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.analytics-head-actions b { color: var(--accent); font-family: var(--num); font-size: 12px; }
.analytics-head-actions button { height: 28px; padding: 0 10px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--accent); font-size: 9.5px; }
.app-page.metrics-page { max-width: 1280px; margin: 0 auto; }
.analysis-subnav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 4px; margin-bottom: 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); max-width: 560px; }
.analysis-subnav button { height: 32px; border: 0; border-radius: 6px; background: transparent; color: var(--dim); font-size: 10.5px; }
.analysis-subnav button.active { background: rgba(47, 127, 211, .1); color: var(--accent); font-weight: 600; }
.analysis-scope { grid-column: 1 / -1; color: var(--dim); font-size: 8.5px; text-align: right; padding: 1px 4px 0; }
.metrics-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.metrics-head h2 { margin: 0; font-size: 22px; }
.metrics-head span { display: block; color: var(--dim); font-size: 10px; margin-top: 3px; }
.metrics-head > b { color: var(--accent); font-family: var(--num); font-size: 12px; }
.metrics-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 9px; }
.metrics-summary > div { border: 1px solid var(--line); border-radius: 8px; background: var(--surface); padding: 9px 11px; }
.metrics-summary span { display: block; color: var(--dim); font-size: 8.5px; }
.metrics-summary b { display: block; color: var(--accent); font-family: var(--num); font-size: 16px; margin-top: 2px; }
.metrics-toolbar { display: flex; gap: 7px; margin-bottom: 8px; }
.metrics-toolbar input { flex: 1; height: 34px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); padding: 0 10px; font-size: 11px; }
.metrics-toolbar select { height: 34px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--muted); font-size: 10px; padding: 0 7px; }
.metrics-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 9px; }
.metrics-chips button { height: 26px; padding: 0 10px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); color: var(--muted); font-size: 9.5px; }
.metrics-chips button.active { border-color: rgba(47, 127, 211, .4); background: rgba(47, 127, 211, .08); color: var(--accent); }
.metrics-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.metrics-head-row, .metrics-row { display: grid; grid-template-columns: 28px minmax(190px, 1.5fr) 54px minmax(130px, .9fr) 48px 42px 42px 52px 52px 58px 46px 88px; gap: 7px; align-items: center; min-width: 1020px; }
.metrics-head-row { padding: 8px 12px; border-bottom: 1px solid var(--line); color: var(--dim); font-size: 8.5px; }
.metrics-head-row span:nth-child(n+5) { text-align: right; }
.metrics-list { max-height: 620px; overflow-y: auto; }
.metrics-row { padding: 9px 12px; border-bottom: 1px solid var(--line-soft); cursor: pointer; }
.metrics-row:hover { background: var(--surface-2); }
.metrics-index { color: var(--dim); font-family: var(--num); font-size: 9px; }
.metrics-work { min-width: 0; }
.metrics-work b { display: block; color: var(--text); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.metrics-work em { display: block; color: var(--dim); font-style: normal; font-size: 8.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.metrics-row > span:nth-child(3), .metrics-row > span:nth-child(4) { color: var(--muted); font-size: 9.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.metrics-row > strong, .metrics-row > span:nth-child(6), .metrics-row > span:nth-child(7), .metrics-row > span:nth-child(8), .metrics-row > span:nth-child(9), .metrics-row > span:nth-child(10), .metrics-row > span:nth-child(11), .metrics-row > span:nth-child(12) { text-align: right; color: var(--muted); font-family: var(--num); font-size: 10px; font-weight: 400; }
.metrics-row > strong { color: var(--accent); }
.metrics-source { color: var(--dim) !important; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 9px !important; }
.metrics-row > em { color: var(--accent); font-style: normal; font-size: 9px; text-align: right; white-space: nowrap; }
.metrics-pager { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 10px; color: var(--dim); font-size: 10px; }
.metrics-pager button { height: 28px; padding: 0 10px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--muted); font-size: 10px; }
.metrics-pager button:disabled { opacity: .4; cursor: default; }
.analytics-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; margin-bottom: 12px; }
.analytics-kpi { border: 1px solid var(--line); border-radius: 11px; background: var(--surface); padding: 14px; }
.analytics-kpi span { display: block; color: var(--dim); font-size: 9.5px; }
.analytics-kpi b { display: block; margin-top: 4px; color: var(--accent); font-family: var(--num); font-size: 23px; }
.analytics-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.analytics-card { border: 1px solid var(--line); border-radius: 11px; background: var(--surface); padding: 14px; min-width: 0; }
.analytics-wide { grid-column: 1 / -1; }
.analytics-card-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; }
.analytics-card-head h3 { margin: 0; font-size: 13px; }
.analytics-card-head span { color: var(--dim); font-size: 9px; }
.analytics-bar-row { display: flex; align-items: center; gap: 8px; margin: 7px 0; font-size: 10px; }
.analytics-bar-row > span { width: 72px; flex: none; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.analytics-bar-row > b { width: 34px; flex: none; text-align: right; color: var(--muted); font-family: var(--num); font-size: 10px; }
.analytics-bar { flex: 1; height: 6px; border-radius: 4px; background: var(--surface-2); overflow: hidden; }
.analytics-bar i { display: block; height: 100%; border-radius: 4px; background: var(--accent); }
.analytics-hist { display: flex; align-items: flex-end; gap: 8px; height: 120px; padding-top: 8px; }
.analytics-col { flex: 1; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 3px; }
.analytics-col b { color: var(--muted); font-family: var(--num); font-size: 9px; }
.analytics-col i { width: 100%; max-width: 30px; min-height: 2px; border-radius: 3px 3px 0 0; background: rgba(47, 127, 211, .65); }
.analytics-col span { color: var(--dim); font-size: 8px; }
.analytics-top-row { display: flex; align-items: center; gap: 9px; padding: 6px 0; border-bottom: 1px solid var(--line-soft); cursor: pointer; }
.analytics-top-row:last-child { border-bottom: 0; }
.analytics-rank { width: 20px; flex: none; color: var(--dim); font-family: var(--num); font-size: 10px; }
.analytics-rank.top { color: var(--accent); }
.analytics-top-body { flex: 1; min-width: 0; }
.analytics-top-body b { display: block; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 2px; }
.analytics-top-body small { display: block; color: var(--dim); font-size: 8.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.analytics-top-row > strong { width: 38px; text-align: right; color: var(--accent); font-family: var(--num); font-size: 11px; flex: none; }
.analytics-filter-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 9px; }
.analytics-filter-chips button { height: 26px; padding: 0 9px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); color: var(--muted); font-size: 9.5px; }
.analytics-filter-chips button b { color: var(--dim); font-family: var(--num); margin-left: 2px; }
.analytics-filter-chips button.active { border-color: rgba(47, 127, 211, .4); background: rgba(47, 127, 211, .08); color: var(--accent); }
.analytics-work-head, .analytics-work-row { display: grid; grid-template-columns: 24px minmax(190px, 1fr) 54px 52px 62px; gap: 8px; align-items: center; min-width: 520px; }
.analytics-work-head { padding: 0 6px 6px; border-bottom: 1px solid var(--line); color: var(--dim); font-size: 8.5px; }
.analytics-work-head span:nth-child(n+3) { text-align: right; }
.analytics-work-list { max-height: 520px; overflow: auto; }
.analytics-work-row { padding: 8px 6px; border-bottom: 1px solid var(--line-soft); cursor: pointer; }
.analytics-work-row:hover { background: var(--surface-2); }
.analytics-work-main { min-width: 0; }
.analytics-work-main b { display: block; color: var(--text); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.analytics-work-main span { display: block; color: var(--dim); font-size: 8.5px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.analytics-work-row > span:nth-child(n+3) { text-align: right; color: var(--muted); font-family: var(--num); font-size: 10px; }
.analytics-num { color: var(--accent) !important; }
.analytics-work-row > em { color: var(--accent); font-style: normal; font-size: 9px; text-align: right; white-space: nowrap; }
@media (max-width: 900px) {
  .analytics-kpis { grid-template-columns: repeat(3, 1fr); }
  .analytics-grid { grid-template-columns: 1fr; }
  .analytics-wide { grid-column: auto; }
}
@media (max-width: 560px) {
  .analytics-kpis { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .analytics-kpi { padding: 9px 8px; }
  .analytics-kpi span { font-size: 8px; }
  .analytics-kpi b { font-size: 17px; margin-top: 3px; }
  .analytics-grid { gap: 8px; }
  .analytics-card { padding: 12px; }
  .analytics-head { flex-wrap: wrap; align-items: center; gap: 6px; }
  .analytics-head > div:first-child > span { display: none; }
  .analytics-head-actions { width: 100%; justify-content: space-between; }
  .analytics-head h2 { font-size: 20px; }
  .analytics-hist { height: 110px; }
}
.app-page { padding: 2px 0 20px; max-width: 820px; margin: 0 auto; }
.app-page.home-works-page { max-width: none; display: grid; grid-template-columns: 600px minmax(0, 1fr) 260px; gap: 20px; align-items: start; }
.home-visual { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); position: sticky; top: 76px; }
.home-carousel { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--surface-2); }
.home-carousel-track { display: flex; height: 100%; transition: transform .45s ease; }
.home-carousel-slide { position: relative; flex: 0 0 100%; height: 100%; overflow: hidden; }
.home-carousel-link { display: block; width: 100%; height: 100%; }
.home-carousel-slide > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.home-carousel-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.home-carousel-placeholder b { color: #fff; font-size: 22px; letter-spacing: .08em; }
.home-carousel-placeholder span { color: rgba(255,255,255,.8); font-family: var(--num); font-size: 8px; letter-spacing: .2em; }
.home-carousel-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 10px 9px; background: linear-gradient(transparent, rgba(5, 20, 35, .72)); }
.home-carousel-caption b { display: block; color: #fff; font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home-carousel-caption span { color: rgba(255,255,255,.75); font-size: 9px; }
.home-carousel-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 22px; height: 22px; border: 0; border-radius: 50%; background: rgba(0,0,0,.35); color: #fff; font-size: 16px; line-height: 1; opacity: 0; transition: opacity .18s; }
.home-carousel:hover .home-carousel-arrow { opacity: 1; }
.home-carousel-arrow.prev { left: 5px; }
.home-carousel-arrow.next { right: 5px; }
.home-carousel-dots { position: absolute; left: 0; right: 0; bottom: 7px; display: flex; justify-content: center; gap: 4px; z-index: 2; }
.home-carousel-dots button { width: 4px; height: 4px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.5); }
.home-carousel-dots button.active { width: 10px; border-radius: 2px; background: #fff; }
.home-visual > b { color: var(--text); font-size: 10px; font-weight: 500; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home-visual > span { color: var(--dim); font-size: 8px; }
.home-rank-entry { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; padding: 10px 11px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-2); color: var(--text); }
.home-rank-entry:hover { border-color: rgba(47, 127, 211, .45); background: rgba(47, 127, 211, .05); }
.home-rank-entry b { font-size: 12px; }
.home-rank-entry span { color: var(--dim); font-size: 8.5px; }
.home-works-main { min-width: 0; }
@media (max-width: 1400px) {
  body.home-page main { padding-left: 20px; padding-right: 20px; }
  .app-page.home-works-page { grid-template-columns: 440px minmax(0, 1fr) 240px; }
}
@media (max-width: 1200px) {
  .app-page.home-works-page { grid-template-columns: minmax(0, 1fr) 230px; }
  .home-visual { display: none; }
}
.home-category-aside { border: 1px solid var(--line); border-radius: 10px; background: var(--surface); padding: 12px; position: sticky; top: 76px; }
.home-category-head { margin-bottom: 8px; }
.home-category-head b { display: block; font-size: 13px; color: var(--text); }
.home-cat-item { display: flex; align-items: center; gap: 7px; width: 100%; height: 32px; border: 0; border-radius: 6px; background: transparent; color: var(--muted); padding: 0 7px; font-size: 10.5px; text-align: left; }
.home-cat-item:hover { background: var(--surface-2); color: var(--text); }
.home-cat-item.active { background: rgba(47, 127, 211, .08); color: var(--accent); }
.home-cat-item b { font-weight: 500; flex: 1; }
.home-cat-item em { color: var(--dim); font-style: normal; font-family: var(--num); font-size: 9.5px; }
.home-cat-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--mc, var(--accent)); flex: none; }
.leaderboard-page { max-width: 1100px; }
.lb-head { margin-bottom: 14px; }
.lb-head h2 { margin: 0; font-size: 22px; }
.lb-head span { display: block; color: var(--dim); font-size: 10px; margin-top: 3px; }
.lb-top3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.lb-card { position: relative; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 12px; cursor: pointer; }
.lb-card:hover { border-color: rgba(47, 127, 211, .35); }
.lb-rank-1 { border-color: rgba(47, 127, 211, .4); box-shadow: 0 10px 26px rgba(47, 127, 211, .08); }
.lb-badge { position: absolute; top: 10px; left: 10px; z-index: 1; padding: 2px 7px; border-radius: 9px; background: rgba(47, 127, 211, .9); color: #fff; font-family: var(--num); font-size: 9px; }
.lb-cover { width: 100%; aspect-ratio: 3 / 4; border-radius: 7px; overflow: hidden; background: var(--surface-2); display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 28px; }
.lb-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lb-card-body { padding: 9px 2px 6px; }
.lb-card-body b { display: block; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-card-body span { display: block; color: var(--dim); font-size: 9px; margin-top: 1px; }
.lb-metrics { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; border-top: 1px solid var(--line-soft); padding-top: 7px; }
.lb-metrics strong { color: var(--accent); font-family: var(--num); font-size: 20px; }
.lb-metrics em { color: var(--dim); font-style: normal; font-size: 8px; }
.lb-metrics span { color: var(--muted); font-size: 8.5px; margin-left: auto; }
.lb-list { border: 1px solid var(--line); border-radius: 10px; background: var(--surface); overflow: hidden; }
.lb-row { display: grid; grid-template-columns: 36px minmax(0, 1fr) 64px 54px 54px; gap: 9px; align-items: center; padding: 10px 12px; border-bottom: 1px solid var(--line-soft); cursor: pointer; }
.lb-row:last-child { border-bottom: 0; }
.lb-row:hover { background: var(--surface-2); }
.lb-rank { color: var(--dim); font-family: var(--num); font-size: 11px; }
.lb-row-title { min-width: 0; }
.lb-row-title b { display: block; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-row-title span { display: block; color: var(--dim); font-size: 8.5px; }
.lb-row > strong { color: var(--accent); font-family: var(--num); font-size: 12px; text-align: right; }
.lb-row > span:nth-child(4), .lb-row > span:nth-child(5) { color: var(--muted); font-family: var(--num); font-size: 10px; text-align: right; }
.admin-page { max-width: 1080px; }
.user-home-page { max-width: 960px; }
.uh-space { border: 1px solid var(--line); border-radius: 14px; overflow: visible; background: var(--surface); margin-bottom: 14px; }
.uh-banner { height: 132px; border-radius: 13px 13px 0 0; border-bottom: 1px solid var(--line-soft); background: radial-gradient(circle at 12% 18%, rgba(47, 127, 211, .12), transparent 26%), repeating-linear-gradient(135deg, rgba(47, 127, 211, .055) 0 1px, transparent 1px 16px), linear-gradient(105deg, #f7fbff, #edf6ff 55%, #fbfdff); position: relative; overflow: hidden; }
.uh-banner::before { content: ""; position: absolute; left: 20px; top: 20px; width: 62px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--accent), rgba(47, 127, 211, .15)); }
.uh-banner::after { content: ""; position: absolute; left: -8%; right: -8%; bottom: -72px; height: 118px; border-radius: 50%; background: rgba(47, 127, 211, .05); }
.uh-space-body { padding: 0 18px 14px; }
.uh-space-top { display: flex; align-items: flex-end; gap: 12px; margin-top: 0; position: relative; z-index: 2; }
.uh-avatar-wrap { position: relative; flex: none; margin-top: -32px; }
.uh-space .uh-avatar { width: 84px; height: 84px; border: 4px solid #fff; margin: 0; flex: none; padding: 0; box-shadow: 0 4px 14px rgba(47, 82, 112, .14); cursor: pointer; }
.uh-avatar-menu { position: absolute; left: 0; top: calc(100% + 5px); z-index: 25; width: 168px; padding: 5px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); box-shadow: 0 14px 34px rgba(47, 82, 112, .2); }
.uh-avatar-menu button { display: flex; align-items: center; gap: 7px; width: 100%; border: 0; border-radius: 6px; background: transparent; color: var(--muted); text-align: left; padding: 7px 8px; font-size: 10.5px; }
.uh-avatar-menu button:hover { background: var(--surface-2); color: var(--text); }
.uh-avatar-menu button span { width: 15px; color: var(--accent); text-align: center; }
.uh-avatar-menu button.danger { color: var(--red); }
.uh-space-info { flex: 1; min-width: 0; padding-bottom: 2px; text-align: left; }
.uh-space-info h2 { margin: 0 0 1px; font-size: 20px; }
.uh-space-info .uh-id, .uh-space-info .uh-joined { text-align: left; }
.uh-space-actions { display: flex; align-items: center; gap: 6px; padding-bottom: 4px; }
.uh-space-actions .uh-follow { margin: 0; }
.uh-space .uh-stats { justify-content: flex-start; gap: 24px; margin-top: 13px; padding-top: 10px; border-top: 1px solid var(--line-soft); flex-wrap: wrap; }
.uh-space .uh-stat { min-width: 52px; text-align: left; }
.uh-work-cover { position: relative; }
.uh-work-heat { position: absolute; left: 5px; bottom: 5px; padding: 1px 5px; border-radius: 4px; background: rgba(0, 0, 0, .55); color: #fff; font-family: var(--num); font-size: 8px; }
@media (max-width: 760px) {
  .uh-banner { height: 96px; }
  .uh-space-body { padding: 0 12px 12px; }
  .uh-space-top { margin-top: 0; gap: 9px; }
  .uh-avatar-wrap { margin-top: -24px; }
  .uh-space .uh-avatar { width: 66px; height: 66px; border-width: 3px; }
  .uh-avatar-menu { width: 158px; }
  .uh-space-info h2 { font-size: 17px; }
  .uh-space .uh-stats { gap: 14px 18px; }
}
.feed-page { max-width: 680px; }
.feed-compose { margin-bottom: 12px; }
.feed-guest { border: 1px solid var(--line); border-radius: 11px; background: var(--surface); padding: 16px; display: flex; flex-direction: column; gap: 5px; align-items: flex-start; }
.feed-guest b { font-size: 12px; }
.feed-guest > span { color: var(--dim); font-size: 9.5px; }
.feed-guest .feed-login { margin-top: 6px; }
.feed-head { display: flex; align-items: center; justify-content: space-between; margin: 0 0 9px; }
.feed-count { color: var(--dim); font-size: 9.5px; }
.feed-tabs { display: flex; gap: 3px; padding: 3px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.feed-tabs button { height: 24px; padding: 0 10px; border: 0; border-radius: 5px; background: transparent; color: var(--dim); font-size: 9.5px; }
.feed-tabs button.active { background: rgba(47, 127, 211, .08); color: var(--accent); }
.feed-filters { margin-bottom: 10px; }
.feed-filters input { width: 100%; height: 30px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--text); padding: 0 9px; font-size: 10px; }
.feed-topics { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 6px; }
.feed-topics button { height: 24px; padding: 0 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--dim); font-size: 9px; }
.feed-topics button.active { border-color: rgba(47, 127, 211, .4); background: rgba(47, 127, 211, .06); color: var(--accent); }
.post-composer { border: 1px solid var(--line); border-radius: 11px; background: var(--surface); padding: 12px; }
.post-compose-head { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; }
.post-compose-head b { font-size: 10.5px; font-weight: 500; }
.post-content { width: 100%; min-height: 76px; resize: vertical; border: 0; outline: none; background: transparent; color: var(--text); font-family: inherit; font-size: 12px; line-height: 1.7; }
.post-topic { width: 100%; height: 26px; margin-bottom: 3px; border: 0; border-bottom: 1px solid var(--line-soft); outline: none; background: transparent; color: var(--accent); font-family: inherit; font-size: 10px; }
.post-preview-inner { position: relative; display: inline-block; margin-top: 6px; }
.post-preview img { max-width: 100%; max-height: 260px; border-radius: 7px; display: block; }
.post-preview-remove { position: absolute; top: 6px; right: 6px; height: 24px; padding: 0 8px; border: 0; border-radius: 12px; background: rgba(0,0,0,.55); color: #fff; font-size: 9px; }
.post-count { color: var(--dim); font-family: var(--num); font-size: 8.5px; margin-left: auto; margin-right: 8px; }
.post-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line-soft); }
.post-upload { color: var(--accent); font-size: 10px; cursor: pointer; }
.post-upload input { display: none; }
.post-submit { height: 30px; padding: 0 14px; border: 0; border-radius: 15px; background: var(--accent); color: #fff; font-size: 10px; }
.post-submit:disabled { opacity: .55; }
.post-msg { margin: 6px 0 0; color: var(--red); font-size: 9px; min-height: 11px; }
.feed-login { width: 100%; height: 42px; border: 1px dashed var(--line); border-radius: 9px; background: var(--surface); color: var(--accent); font-size: 11px; }
.feed-list { display: flex; flex-direction: column; gap: 8px; }
.post-card { border: 1px solid var(--line); border-radius: 11px; background: var(--surface); padding: 12px; }
.post-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.post-author { display: flex; align-items: center; gap: 8px; border: 0; background: transparent; padding: 0; text-align: left; color: var(--text); }
.post-avatar { width: 34px; height: 34px; flex: none; border-radius: 50%; overflow: hidden; background: var(--surface-2); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 12px; }
.post-avatar img { width: 100%; height: 100%; object-fit: cover; }
.post-author-info b { display: block; font-size: 10.5px; font-weight: 500; }
.post-author-info em { display: block; color: var(--dim); font-style: normal; font-size: 8.5px; }
.post-delete { border: 0; background: transparent; color: var(--red); font-size: 9px; }
.post-content-text { margin: 9px 0 0; color: var(--text); font-size: 11.5px; line-height: 1.7; white-space: pre-wrap; word-break: break-word; }
.post-image { width: 100%; max-height: 520px; object-fit: contain; border-radius: 8px; margin-top: 8px; background: var(--surface-2); }
.post-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; padding-top: 7px; border-top: 1px solid var(--line-soft); }
.post-foot-left { display: flex; align-items: center; gap: 8px; min-width: 0; }
.post-time { color: var(--dim); font-family: var(--num); font-size: 8.5px; }
.post-topic-tag { border: 0; background: transparent; color: var(--accent); font-size: 9px; padding: 0; }
.post-fav { border: 0; background: transparent; color: var(--dim); font-size: 9.5px; padding: 0; }
.post-fav.active { color: var(--accent); }
.post-fav span { font-size: 12px; }
.uh-compose { margin-top: 14px; }
.uh-section .feed-list { gap: 7px; }
.uh-card { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); padding: 22px; text-align: center; margin-bottom: 14px; }
.uh-avatar { width: 78px; height: 78px; border-radius: 50%; overflow: hidden; margin: 0 auto 9px; background: var(--surface-2); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 30px; }
.uh-avatar img { width: 100%; height: 100%; object-fit: cover; }
.uh-card h2 { margin: 0 0 3px; font-size: 20px; }
.uh-id { display: block; color: var(--accent); font-family: var(--num); font-size: 10px; }
.uh-joined { display: block; color: var(--dim); font-size: 9px; margin-top: 2px; }
.uh-follow { margin-top: 9px; height: 28px; padding: 0 16px; border: 1px solid var(--accent); border-radius: 14px; background: var(--accent); color: #fff; font-size: 9.5px; }
.uh-follow.following { background: transparent; color: var(--accent); }
.uh-stats { display: flex; justify-content: center; gap: 28px; margin-top: 14px; }
.uh-stats div { min-width: 60px; }
.uh-stat { min-width: 60px; }
.uh-stat b { display: block; color: var(--text); font-family: var(--num); font-size: 18px; }
.uh-stat span { color: var(--dim); font-size: 9px; }
.uh-tabs { display: flex; align-items: center; gap: 2px; border-bottom: 1px solid var(--line); margin: 0 0 12px; }
.uh-tabs button { height: 36px; padding: 0 14px; border: 0; background: transparent; color: var(--dim); font-size: 10.5px; position: relative; }
.uh-tabs button.active { color: var(--accent); }
.uh-tabs button.active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; background: var(--accent); border-radius: 2px; }
.uh-tabs em { margin-left: 4px; color: var(--dim); font-style: normal; font-family: var(--num); font-size: 8.5px; }
.uh-content { min-height: 80px; }
.uh-pager { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 12px 0 2px; color: var(--dim); font-size: 9.5px; }
.uh-pager button { height: 26px; padding: 0 10px; border: 1px solid var(--line); border-radius: 5px; background: var(--surface); color: var(--muted); font-size: 9.5px; }
.uh-pager button:disabled { opacity: .4; }
.uh-user-list { display: flex; flex-direction: column; gap: 4px; }
.uh-stats b { display: block; color: var(--text); font-family: var(--num); font-size: 18px; }
.uh-stats span { color: var(--dim); font-size: 9px; }
.uh-section { margin-top: 14px; }
.uh-section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px; }
.uh-section-head h3 { margin: 0; font-size: 13px; }
.uh-section-head span { color: var(--dim); font-size: 9px; }
.uh-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
.uh-work { border: 1px solid var(--line); border-radius: 9px; background: var(--surface); padding: 7px; cursor: pointer; min-width: 0; }
.uh-work:hover { background: var(--surface-2); }
.uh-work-cover { width: 100%; aspect-ratio: 16 / 9; border-radius: 5px; overflow: hidden; background: var(--surface-2); display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 20px; }
.uh-work-cover img { width: 100%; height: 100%; object-fit: cover; }
.uh-work b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; color: var(--text); font-size: 10px; font-weight: 500; overflow: hidden; margin-top: 5px; line-height: 1.45; }
.uh-work > span { display: block; color: var(--dim); font-size: 8.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 760px) {
  .uh-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .uh-card { padding: 16px; }
}
.user-detail-page { max-width: 720px; }
.fan-card { width: min(460px, 100%); }
.fan-card h2 { margin: 0 0 10px; }
.fan-list { display: flex; flex-direction: column; gap: 5px; max-height: 420px; overflow-y: auto; margin-bottom: 12px; }
.fan-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; border-bottom: 1px solid var(--line-soft); padding: 7px 0; }
.fan-user { display: flex; align-items: center; gap: 8px; border: 0; background: transparent; padding: 0; text-align: left; color: var(--text); min-width: 0; }
.fan-avatar { width: 34px; height: 34px; border-radius: 50%; overflow: hidden; flex: none; background: var(--surface-2); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 12px; }
.fan-avatar img { width: 100%; height: 100%; object-fit: cover; }
.fan-user b { display: block; font-size: 10.5px; font-weight: 500; }
.fan-user em { display: block; color: var(--dim); font-style: normal; font-size: 8.5px; }
.fan-follow { height: 25px; padding: 0 10px; border: 1px solid var(--accent); border-radius: 13px; background: var(--accent); color: #fff; font-size: 9px; }
.fan-follow.following { background: transparent; color: var(--accent); }
.fan-self { color: var(--dim); font-size: 9px; padding: 0 10px; }
.user-detail-top { margin-bottom: 10px; }
.user-detail-top button { border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--muted); font-size: 10px; padding: 5px 8px; }
.user-detail-card { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 20px; text-align: center; }
.user-detail-avatar { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; margin: 0 auto 8px; background: var(--surface-2); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 24px; }
.user-detail-avatar img { width: 100%; height: 100%; object-fit: cover; }
.user-detail-card h2 { margin: 0 0 3px; font-size: 18px; }
.user-detail-id { display: block; color: var(--accent); font-family: var(--num); font-size: 10px; }
.user-detail-role { display: block; color: var(--dim); font-size: 9px; margin-top: 2px; }
.user-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; text-align: left; }
.user-detail-grid > div { border: 1px solid var(--line-soft); border-radius: 7px; padding: 9px; }
.user-detail-grid span { display: block; color: var(--dim); font-size: 8.5px; }
.user-detail-grid b { display: block; color: var(--text); font-size: 10.5px; font-weight: 500; margin-top: 2px; word-break: break-all; }
.user-detail-grid b.good { color: var(--green); }
.user-detail-grid b.bad { color: var(--red); }
.user-detail-note { margin: 12px 0 0; color: var(--red); font-size: 10px; }
.data-backend-page { max-width: 1100px; }
.db-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.db-head h2 { margin: 0; font-size: 22px; }
.db-head span { display: block; color: var(--dim); font-size: 10px; margin-top: 3px; }
.db-head > b { color: var(--accent); font-family: var(--num); font-size: 12px; }
.db-section { margin-bottom: 12px; }
.db-section-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.db-section-head h3 { margin: 0; }
.db-section-head p { margin: 4px 0 0; color: var(--dim); font-size: 9.5px; }
.db-slide-form { margin-bottom: 10px; }
.db-image-preview { min-height: 110px; border: 1px dashed var(--line); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--dim); font-size: 9px; overflow: hidden; background: var(--surface-2); }
.db-image-preview img { max-height: 180px; max-width: 100%; object-fit: contain; }
.db-view-toolbar { display: flex; align-items: center; gap: 6px; margin-bottom: 7px; flex-wrap: wrap; }
.db-view-toolbar input { flex: 1; min-width: 140px; height: 28px; border: 1px solid var(--line); border-radius: 5px; background: var(--surface); padding: 0 8px; font-size: 10px; }
.db-view-toolbar select { height: 28px; border: 1px solid var(--line); border-radius: 5px; background: var(--surface); color: var(--muted); font-size: 9.5px; padding: 0 5px; }
.db-view-toolbar button { height: 28px; border: 1px solid var(--line); border-radius: 5px; background: transparent; color: var(--red); font-size: 9.5px; padding: 0 7px; }
.db-view-toolbar span { color: var(--dim); font-size: 9px; font-family: var(--num); }
.db-view-row[hidden] { display: none; }
.db-slide-list { display: flex; flex-direction: column; gap: 6px; }
.db-slide-row { display: flex; align-items: center; gap: 9px; border: 1px solid var(--line-soft); border-radius: 8px; padding: 7px; background: var(--surface-2); }
.db-slide-index { color: var(--dim); font-family: var(--num); font-size: 9px; width: 18px; flex: none; }
.db-slide-row img { width: 70px; height: 42px; border-radius: 5px; object-fit: cover; background: var(--surface); flex: none; }
.db-slide-row > div { flex: 1; min-width: 0; }
.db-slide-row b { display: block; color: var(--text); font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.db-slide-row em { display: block; color: var(--dim); font-style: normal; font-size: 8.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.db-slide-row button { border: 1px solid var(--line); border-radius: 4px; background: transparent; color: var(--muted); font-size: 9.5px; padding: 3px 7px; }
.db-slide-row button[data-db-slide-delete] { color: var(--red); }
.db-view-list { max-height: 460px; overflow-y: auto; border: 1px solid var(--line-soft); border-radius: 8px; }
.db-view-row { display: grid; grid-template-columns: minmax(0, 1fr) 80px 120px; gap: 8px; align-items: center; padding: 7px 9px; border-bottom: 1px solid var(--line-soft); }
.db-view-row:last-child { border-bottom: 0; }
.db-view-row b { color: var(--text); font-size: 10px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.db-view-row span { color: var(--dim); font-size: 9px; }
.db-view-row input { height: 26px; border: 1px solid var(--line); border-radius: 5px; background: var(--surface); color: var(--text); padding: 0 7px; font-family: var(--num); font-size: 10px; text-align: right; }
.admin-page:focus { outline: none; }
.profile-form { max-width: 640px; }
.profile-card { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 18px; }
.profile-avatar-row { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; margin-bottom: 14px; border-bottom: 1px solid var(--line-soft); }
.profile-avatar-row .avatar-preview { width: 84px; height: 84px; flex: none; border-radius: 50%; overflow: hidden; background: var(--surface-2); display: flex; align-items: center; justify-content: center; }
.profile-avatar-row .avatar-preview img { width: 100%; height: 100%; object-fit: cover; }
.profile-avatar-initial { color: var(--accent); font-size: 30px; font-weight: 500; }
.profile-avatar-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.profile-avatar-copy > b { font-size: 11px; }
.profile-avatar-copy > span { color: var(--dim); font-size: 8.5px; }
.profile-upload { position: relative; display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-2); color: var(--accent); font-size: 9.5px; cursor: pointer; }
.profile-upload input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.profile-section-title { margin: 14px 0 6px; padding-top: 10px; border-top: 1px solid var(--line-soft); color: var(--dim); font-size: 9px; letter-spacing: .06em; }
.profile-section-title:first-of-type { border-top: 0; padding-top: 0; }
.profile-card .btn-primary { width: 100%; margin-top: 12px; }
.profile-id { color: var(--accent); font-family: var(--num); font-size: 10px; margin: -4px 0 8px; }
.profile-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin: 6px 0 12px; }
.profile-meta > div { border: 1px solid var(--line-soft); border-radius: 7px; background: var(--surface-2); padding: 8px 9px; }
.profile-meta span { display: block; color: var(--dim); font-size: 8.5px; }
.profile-meta b { display: block; color: var(--text); font-size: 10px; font-weight: 500; margin-top: 2px; word-break: break-all; }
.profile-meta b.good { color: var(--green); }
.profile-meta b.bad { color: var(--red); }
@media (max-width: 760px) {
  .profile-meta { grid-template-columns: 1fr; }
}
.app-page-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.ent-page-head { justify-content: flex-end; }
.app-page-kicker { color: var(--dim); font-size: 10px; letter-spacing: .08em; }
.app-page-head #favPageSummary { color: var(--accent); font-family: var(--num); font-size: 11px; }
.app-fav-public { margin-bottom: 4px; }
.app-favorites-list { max-height: none; gap: 7px; }
.app-login-card { border: 1px solid var(--line); border-radius: 10px; background: var(--surface); padding: 22px 16px; text-align: center; }
.app-login-card b { display: block; color: var(--text); font-size: 13px; }
.app-login-card p { color: var(--dim); font-size: 10px; margin: 6px 0 14px; }
.app-search-landing { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 20px 16px; max-width: 820px; margin: 0 auto; }
.app-search-landing h2 { margin: 0 0 4px; font-size: 20px; }
.app-search-landing p { margin: 0 0 14px; color: var(--dim); font-size: 10.5px; }
.app-search-hints { display: flex; flex-wrap: wrap; gap: 6px; }
.app-search-hints button { border: 1px solid var(--line); border-radius: 14px; background: var(--surface-2); color: var(--muted); font-size: 10px; padding: 6px 10px; }
.search-landing-section { margin: 0 0 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line-soft); }
.search-empty-small { margin: 0; color: var(--dim); font-size: 9.5px; }
.search-history { margin: 0 0 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line-soft); }
.search-history-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 7px; }
.search-history-head b { font-size: 10.5px; color: var(--text); font-weight: 500; }
.search-history-head span { color: var(--dim); font-size: 9px; }
.search-history-list { display: flex; flex-wrap: wrap; gap: 6px; }
.search-history-item { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-2); overflow: hidden; }
.search-history-item > button:first-child { border: 0; background: transparent; color: var(--muted); font-size: 10px; padding: 5px 4px 5px 10px; max-width: 160px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-history-remove { width: 20px; height: 24px; border: 0; background: transparent; color: var(--dim); font-size: 13px; padding: 0; }
.search-history-remove:hover { color: var(--red); }
.search-tabs { display: flex; align-items: center; gap: 2px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.search-tabs button { position: relative; height: 36px; padding: 0 14px; border: 0; background: transparent; color: var(--dim); font-size: 11px; }
.search-tabs button.active { color: var(--accent); font-weight: 500; }
.search-tabs button.active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--accent); }
.search-tabs em { margin-left: 4px; color: var(--dim); font-style: normal; font-family: var(--num); font-size: 8.5px; }
.search-tools { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; color: var(--dim); font-size: 9px; }
.search-tools label { display: inline-flex; align-items: center; gap: 5px; }
.search-tools select { height: 26px; border: 1px solid var(--line); border-radius: 5px; background: var(--surface); color: var(--muted); font-size: 9.5px; padding: 0 5px; }
.search-users { margin-bottom: 14px; }
.search-posts { display: flex; flex-direction: column; gap: 7px; margin-top: 4px; }
.search-post { border: 1px solid var(--line); border-radius: 9px; background: var(--surface); padding: 10px; cursor: pointer; }
.search-post:hover { background: var(--surface-2); }
.search-post-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.search-post-head b { font-size: 10.5px; font-weight: 500; }
.search-post-head span { color: var(--dim); font-size: 8.5px; }
.search-post p { margin: 5px 0 4px; color: var(--text); font-size: 10.5px; line-height: 1.6; white-space: pre-wrap; word-break: break-word; }
.search-post-topic { color: var(--accent); font-size: 9px; }.search-users-head { margin-bottom: 6px; }
.search-users-head h3 { margin: 0; font-size: 13px; }
.search-user-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 7px; }
.search-user { display: flex; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); padding: 8px; cursor: pointer; }
.search-user:hover { background: var(--surface-2); }
.search-user-avatar { width: 34px; height: 34px; flex: none; border-radius: 50%; overflow: hidden; background: var(--surface-2); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 13px; }
.search-user-avatar img { width: 100%; height: 100%; object-fit: cover; }
.search-user b { display: block; color: var(--text); font-size: 10.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-user > div > span { display: block; color: var(--accent); font-family: var(--num); font-size: 8.5px; margin-top: 1px; }
.search-user > div > em { display: block; color: var(--dim); font-style: normal; font-size: 8.5px; margin-top: 1px; }
.app-search-tip { display: block; color: var(--dim); font-size: 9px; margin-top: 12px; }
.me-profile { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 16px; margin-bottom: 12px; }
.me-profile-avatar-col { display: flex; flex-direction: column; align-items: center; gap: 3px; flex: none; }
.me-profile-edit { border: 0; background: transparent; color: var(--accent); font-size: 9px; padding: 0; }
.me-profile-edit:hover { text-decoration: underline; }
.me-avatar-btn { display: flex; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: 50%; background: transparent; flex: none; }
.me-avatar-btn:hover { outline: 2px solid rgba(47, 127, 211, .4); outline-offset: 2px; }
.me-profile img, .me-avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: var(--surface-2); display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 22px; flex: none; }
.me-profile h2 { margin: 0; font-size: 18px; }
.me-profile p { margin: 3px 0 0; color: var(--dim); font-size: 10px; }
.me-actions { display: flex; flex-direction: column; gap: 7px; }
.me-history { border: 1px solid var(--line); border-radius: 10px; background: var(--surface); padding: 12px; display: flex; flex-direction: column; gap: 6px; }
.me-history-head { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto auto; gap: 8px; align-items: center; }
.me-history-icon { color: var(--accent); font-size: 17px; text-align: center; }
.me-history-head b { font-size: 11px; color: var(--text); font-weight: 500; }
.me-history-head em { color: var(--dim); font-style: normal; font-size: 9px; }
.me-history-head button { border: 0; background: transparent; color: var(--dim); font-size: 9.5px; padding: 0; }
.me-history-list { display: flex; flex-direction: column; gap: 6px; max-height: 380px; overflow-y: auto; }
.history-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 9px; }
.history-head span { color: var(--dim); font-size: 10px; }
.history-head button { border: 0; background: transparent; color: var(--accent); font-size: 10px; padding: 0; }
.history-tabs { display: flex; align-items: center; gap: 2px; border-bottom: 1px solid var(--line); margin-bottom: 9px; flex-wrap: wrap; }
.history-tabs::-webkit-scrollbar { display: none; }
.history-tabs button { position: relative; flex: none; height: 32px; padding: 0 11px; border: 0; background: transparent; color: var(--dim); font-size: 9.5px; }
.history-tabs button.active { color: var(--accent); }
.history-tabs button.active::after { content: ""; position: absolute; left: 9px; right: 9px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--accent); }
.history-tabs em { margin-left: 3px; color: var(--dim); font-style: normal; font-family: var(--num); font-size: 8px; }
.history-list { display: flex; flex-direction: column; gap: 6px; }
.me-history-item { display: flex; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); padding: 7px; cursor: pointer; }
.me-history-item:hover { background: var(--surface-2); }
.me-history-item:focus-visible { outline: 2px solid rgba(47, 127, 211, .35); outline-offset: 1px; }
.me-history-cover { width: 34px; height: 48px; border-radius: 4px; overflow: hidden; flex: none; background: var(--surface-2); display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 14px; }
.me-history-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.me-history-item b { display: block; color: var(--text); font-size: 10.5px; font-weight: 500; }
.me-history-item em { display: block; color: var(--dim); font-style: normal; font-size: 8.5px; margin-top: 2px; }
.history-main { flex: 1; min-width: 0; }
.history-side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: none; }
.history-side time { color: var(--dim); font-family: var(--num); font-size: 8px; }
.history-side button { border: 0; background: transparent; color: var(--red); font-size: 8.5px; padding: 0; }
.me-action { display: grid; grid-template-columns: 28px 1fr auto; gap: 8px; align-items: center; width: 100%; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); padding: 12px; text-align: left; color: var(--text); }
.me-action span { color: var(--accent); font-size: 17px; text-align: center; }
.me-action b { font-size: 11.5px; font-weight: 500; }
.me-action em { color: var(--dim); font-style: normal; font-size: 9px; }
.me-action.danger { color: var(--red); }
.me-guest { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 26px 16px; text-align: center; }
.me-guest .me-avatar { margin: 0 auto 12px; }
.me-guest h2 { margin: 0 0 5px; font-size: 18px; }
.me-guest p { margin: 0 0 15px; color: var(--dim); font-size: 10.5px; }
.creator-form-card { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 18px; margin-top: 10px; }
.creator-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); padding: 11px 12px; }
.creator-toolbar > div { display: flex; align-items: center; gap: 8px; }
.creator-toolbar-actions { flex-wrap: wrap; justify-content: flex-end; }
.creator-manage, .creator-select-all { height: 30px; padding: 0 10px; border: 1px solid var(--line); border-radius: 15px; background: transparent; color: var(--muted); font-size: 9.5px; }
.creator-delete-selected { height: 30px; padding: 0 10px; border: 1px solid rgba(248, 113, 113, .3); border-radius: 15px; background: transparent; color: var(--red); font-size: 9.5px; }
.creator-delete-selected:disabled { opacity: .45; }
.creator-select { width: 16px; height: 16px; accent-color: var(--accent); flex: none; }
.creator-item.selected { border-color: rgba(47, 127, 211, .4); background: rgba(47, 127, 211, .05); }
.creator-toolbar b { font-size: 13px; }
.creator-toolbar-note { display: none !important; color: var(--dim); font-size: 10px; }
.creator-toolbar span { color: var(--dim); font-size: 9.5px; }
.creator-new { height: 30px; padding: 0 11px; border: 1px solid rgba(47, 127, 211, .35); border-radius: 15px; background: rgba(47, 127, 211, .08); color: var(--accent); font-size: 10.5px; flex: none; }
.creator-new:hover { background: rgba(47, 127, 211, .14); }
.creator-form-actions { display: flex; gap: 8px; margin-top: 12px; }
.creator-form-actions .btn-primary { height: 34px; }
.creator-form-card h2 { margin: 0 0 5px; font-size: 18px; }
.creator-form-card > p { margin: 0 0 15px; color: var(--dim); font-size: 10.5px; }
.creator-title-field, .creator-quick-row label, .creator-cover-row label { display: flex; flex-direction: column; gap: 4px; color: var(--muted); font-size: 10px; }
.creator-title-field { margin-bottom: 10px; }
.creator-quick-row, .creator-cover-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.creator-form input, .creator-form select, .creator-form textarea { border: 1px solid var(--line); border-radius: 7px; background: var(--surface-2); color: var(--text); padding: 9px 10px; font-size: 11.5px; outline: 0; width: 100%; }
.creator-more { margin: 4px 0 12px; border-top: 1px solid var(--line-soft); padding-top: 10px; }
.creator-more summary { cursor: pointer; color: var(--muted); font-size: 10.5px; margin-bottom: 10px; }
.creator-more summary:hover { color: var(--accent); }
.creator-file-label input { padding: 7px 8px; font-size: 10px; }
.creator-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.creator-grid label { display: flex; flex-direction: column; gap: 4px; color: var(--muted); font-size: 10px; }
.creator-full { grid-column: 1 / -1; }
.creator-grid input, .creator-grid select, .creator-grid textarea { border: 1px solid var(--line); border-radius: 7px; background: var(--surface-2); color: var(--text); padding: 9px 10px; font-size: 11.5px; outline: 0; }
.creator-grid textarea { resize: vertical; min-height: 66px; }
.creator-cover-preview { grid-column: 1 / -1; min-height: 56px; margin-bottom: 10px; border: 1px dashed var(--line); border-radius: 7px; display: flex; align-items: center; justify-content: center; color: var(--dim); font-size: 9.5px; overflow: hidden; }
.creator-cover-preview img { max-height: 120px; max-width: 100%; object-fit: contain; }
.creator-form > .btn-primary { margin-top: 12px; }
.creator-list-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 22px 0 9px; }
.creator-list-head h2 { margin: 0; font-size: 16px; }
.creator-list-head span { color: var(--dim); font-size: 9.5px; }
.creator-list { display: flex; flex-direction: column; gap: 7px; }
.creator-item { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); padding: 8px; }
.creator-cover { width: 38px; height: 52px; border-radius: 4px; overflow: hidden; background: var(--surface-2); flex: none; display: flex; align-items: center; justify-content: center; color: var(--accent); }
.creator-cover img { width: 100%; height: 100%; object-fit: cover; }
.creator-item-body { flex: 1; min-width: 0; }
.creator-item-body b { display: block; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.creator-item-body em { display: block; color: var(--dim); font-style: normal; font-size: 9.5px; margin-top: 2px; }
.creator-delete { border: 1px solid rgba(248, 113, 113, .3); border-radius: 6px; background: transparent; color: var(--red); font-size: 9.5px; padding: 4px 8px; }
.creator-file { border: 1px solid var(--line); border-radius: 6px; color: var(--accent); font-size: 9px; padding: 4px 7px; text-decoration: none; }
.creator-view { border: 1px solid var(--line); border-radius: 6px; background: transparent; color: var(--muted); font-size: 9px; padding: 4px 7px; }
.creator-file-info { color: var(--dim); font-size: 8.5px; align-self: end; padding-bottom: 3px; }
.drawer-file { display: inline-block; margin: 5px 0; color: var(--accent); font-size: 9.5px; text-decoration: none; border-bottom: 1px dashed currentColor; }
.creator-ai { border: 1px solid rgba(47, 127, 211, .35); border-radius: 6px; background: rgba(47, 127, 211, .08); color: var(--accent); font-size: 9.5px; padding: 5px 8px; white-space: nowrap; }
.creator-ai:disabled { opacity: .55; }
.creator-status { color: var(--green); font-size: 9px; white-space: nowrap; }
.creator-status.rejected { color: var(--red); }
.review-creator-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line-soft); }
.review-creator-row:last-child { border-bottom: 0; }
.review-creator-cover { width: 40px; height: 56px; border-radius: 4px; overflow: hidden; flex: none; background: var(--surface-2); }
.review-creator-cover img { width: 100%; height: 100%; object-fit: cover; }
.review-creator-body { flex: 1; min-width: 0; }
.review-creator-body b { display: block; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.review-creator-body span { display: block; color: var(--dim); font-size: 9.5px; margin-top: 2px; }
.review-creator-actions { display: flex; gap: 6px; flex: none; }
.review-creator-actions .btn-primary, .review-creator-actions .btn-ghost { height: 28px; padding: 0 9px; font-size: 10px; }
.review-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.review-head h3 { margin: 0; }
.review-head > b { color: var(--accent); font-family: var(--num); font-size: 11px; white-space: nowrap; }
.review-filters { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.review-filters button { height: 28px; padding: 0 11px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--muted); font-size: 10px; }
.review-filters button b { color: var(--dim); margin-left: 3px; font-family: var(--num); }
.review-filters button.active { border-color: rgba(47, 127, 211, .4); background: rgba(47, 127, 211, .08); color: var(--accent); }
.review-list { display: flex; flex-direction: column; gap: 8px; }
.review-card { display: flex; align-items: center; gap: 11px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.review-cover { width: 42px; height: 58px; border-radius: 4px; overflow: hidden; flex: none; background: var(--surface-2); }
.review-cover img { width: 100%; height: 100%; object-fit: cover; }
.review-body { flex: 1; min-width: 0; }
.review-title { display: flex; align-items: center; gap: 7px; min-width: 0; }
.review-title b { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.review-badge { flex: none; padding: 1px 6px; border-radius: 8px; font-size: 8.5px; }
.review-badge.pending { color: var(--amber); background: rgba(194, 124, 0, .1); }
.review-badge.approved { color: var(--green); background: rgba(34, 138, 99, .1); }
.review-badge.rejected { color: var(--red); background: rgba(217, 83, 100, .1); }
.review-body p { margin: 3px 0 0; color: var(--muted); font-size: 9.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.review-body em { display: block; margin-top: 3px; color: var(--dim); font-style: normal; font-size: 8.5px; }
.review-actions { display: flex; gap: 6px; flex: none; }
.review-actions .btn-primary, .review-actions .btn-ghost { height: 28px; padding: 0 9px; font-size: 10px; }
.ent-upload-card .creator-ai { margin-top: 6px; }
.ent-upload-card .ent-recognized { display: inline-block; margin-top: 5px; color: var(--green); font-size: 8.5px; }
.ent-video-head { margin: 24px 0 10px; }
.ent-video-head .creator-new { margin-left: auto; }
.video-composer { margin-bottom: 12px; }
.video-form { border: 1px solid var(--line); border-radius: 10px; background: var(--surface); padding: 14px; }
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.video-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 9px; }
.video-filter { height: 26px; padding: 0 9px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); color: var(--muted); font-size: 9.5px; }
.video-filter b { color: var(--dim); font-family: var(--num); margin-left: 2px; }
.video-filter.active { border-color: rgba(47, 127, 211, .4); background: rgba(47, 127, 211, .08); color: var(--accent); }
.video-card { position: relative; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); overflow: hidden; }
.video-link { display: block; padding: 7px; }
.video-cover { width: 100%; aspect-ratio: 16 / 9; border-radius: 5px; overflow: hidden; background: #eaf3fb; display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 24px; }
.video-cover img { width: 100%; height: 100%; object-fit: cover; }
.video-link b { display: block; margin-top: 6px; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.video-link em { display: block; color: var(--dim); font-style: normal; font-size: 9px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.video-delete { position: absolute; top: 9px; right: 9px; width: 22px; height: 22px; border: 1px solid rgba(248, 113, 113, .35); border-radius: 50%; background: rgba(255,255,255,.86); color: var(--red); font-size: 13px; line-height: 18px; padding: 0; }
.creator-empty, .creator-loading { border: 1px dashed var(--line); border-radius: 10px; color: var(--dim); font-size: 10.5px; text-align: center; padding: 22px 14px; }
.ent-category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ent-category { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-height: 74px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); text-align: left; transition: .18s; }
.ent-category:hover { border-color: var(--mc, var(--accent)); background: var(--surface-2); }
.ent-category-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mc, var(--accent)); margin-bottom: 4px; }
.ent-category b { font-size: 13px; }
.ent-category em { color: var(--dim); font-style: normal; font-size: 9px; }
.ent-category.active { border-color: var(--mc, var(--accent)); background: rgba(47, 127, 211, .06); }
.ent-guide { color: var(--dim); font-size: 10.5px; text-align: center; border: 1px dashed var(--line); border-radius: 9px; padding: 16px 12px; margin: 14px 0 0; }
.ent-upload-head { margin: 22px 0 10px; }
.ent-upload-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.ent-upload-card { border: 1px solid var(--line); border-radius: 10px; background: var(--surface); padding: 8px; cursor: pointer; min-width: 0; }
.ent-upload-card:hover { border-color: rgba(47, 127, 211, .4); }
.ent-upload-cover { width: 100%; height: 180px; border-radius: 6px; overflow: hidden; background: var(--surface-2); margin-bottom: 7px; display: flex; align-items: center; justify-content: center; color: var(--accent); }
.ent-upload-cover img { width: 100%; height: 100%; object-fit: cover; }
.ent-upload-cover span { font-size: 28px; color: var(--dim); }
.ent-upload-card b { display: block; font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ent-upload-card em { display: block; color: var(--muted); font-style: normal; font-size: 9.5px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ent-upload-card span { display: block; color: var(--dim); font-size: 9px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ent-hot-head { margin: 22px 0 9px; }
.ent-work-row { display: flex; align-items: center; gap: 10px; padding: 8px 2px; border-bottom: 1px solid var(--line-soft); cursor: pointer; }
.ent-work-row:last-child { border-bottom: 0; }
.ent-rank { width: 22px; flex: none; color: var(--dim); font-family: var(--num); font-size: 11px; text-align: center; }
.ent-rank.top { color: var(--accent); }
.ent-cover { width: 34px; height: 48px; border-radius: 4px; overflow: hidden; flex: none; background: var(--surface-2); }
.ent-cover img { width: 100%; height: 100%; object-fit: cover; }
.ent-work-info { flex: 1; min-width: 0; }
.ent-work-info b { display: block; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ent-work-info em { display: block; color: var(--dim); font-style: normal; font-size: 9px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ent-work-row > strong { color: var(--accent); font-family: var(--num); font-size: 13px; flex: none; }
.ent-ranking { display: flex; flex-direction: column; }
.ent-ranking-row { display: flex; align-items: center; gap: 10px; padding: 9px 2px; border-bottom: 1px solid var(--line-soft); cursor: pointer; }
.ent-ranking-row:last-child { border-bottom: 0; }
.ent-heat { flex: none; text-align: right; min-width: 48px; }
.ent-heat strong { display: block; color: var(--accent); font-family: var(--num); font-size: 13px; }
.ent-heat span { display: block; color: var(--dim); font-size: 8.5px; }
.search-grid.single { grid-template-columns: minmax(0, 680px); }
.search-item { display: flex; gap: 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); padding: 11px; cursor: pointer; min-width: 0; }
.search-item:hover { border-color: #9ec4e2; background: var(--surface-2); }
.search-item > img { width: 60px; height: 84px; object-fit: cover; border-radius: 4px; border: 1px solid var(--line-soft); flex: none; }
.search-item-body { min-width: 0; flex: 1; }
.search-item-kicker { color: var(--dim); font-size: 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-item h3 { margin: 2px 0; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-item p { margin: 0; color: var(--muted); font-size: 9.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-item-stats { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 7px; color: var(--dim); font-size: 9px; }
.search-item-stats b { color: var(--accent); font-family: var(--num); font-size: 10.5px; }
.search-card { display: flex; gap: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 18px; cursor: pointer; }
.search-card:hover { border-color: #9ec4e2; background: var(--surface-2); }
.search-card > img { width: 110px; height: 154px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line-soft); flex: none; }
.search-card-body { min-width: 0; }
.search-kicker { color: var(--dim); font-size: 10px; letter-spacing: .04em; }
.search-card h2 { margin: 4px 0 3px; font-size: 20px; }
.search-sub { margin: 0; color: var(--muted); font-size: 10.5px; line-height: 1.8; }
.search-synopsis { margin: 10px 0 12px; color: var(--muted); font-size: 11px; line-height: 1.8; }
.search-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); padding: 10px 0; }
.search-stats label { display: block; color: var(--dim); font-size: 9px; margin-bottom: 2px; }
.search-stats b { font-family: var(--num); font-size: 16px; color: var(--accent); }
.search-note { margin: 9px 0 0; color: var(--dim); font-size: 9.5px; }
.search-empty { border: 1px dashed var(--line); border-radius: 10px; padding: 44px; text-align: center; color: var(--dim); font-size: 11px; line-height: 1.8; }
.search-more { display: flex; justify-content: center; padding: 18px 0; }
.section-head { display: flex; align-items: baseline; gap: 10px; margin: 8px 0 12px; }
.section-head h2 { margin: 0; font-size: 17px; font-weight: 650; letter-spacing: -.01em; }
.section-head span { color: var(--dim); font-size: 11px; }
.top3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 24px; }
#homeTopTitle { font-size: 21px; }
.top10-sub-head { margin: 22px 0 10px; }
.top10-sub-head h2 { font-size: 15px; }
.top10-sub-head span { color: var(--dim); font-size: 10px; }
.top3-card { display: flex; gap: 16px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); cursor: pointer; transition: .18s; position: relative; }
.top3-card:first-child { background: linear-gradient(135deg, rgba(47, 127, 211, .08), var(--surface) 60%); border-color: rgba(47, 127, 211, .38); box-shadow: 0 10px 28px rgba(47, 127, 211, .06); }
.top3-card:hover { border-color: #b6d3ea; background: var(--surface-2); transform: translateY(-1px); }
.top3-card img { width: 96px; height: 134px; border-radius: 7px; object-fit: cover; background: var(--surface-2); flex: none; border: 1px solid var(--line-soft); }
.top3-body { min-width: 0; padding-top: 2px; }
.top3-rank { display: inline-flex; align-items: center; height: 18px; padding: 0 7px; border-radius: 9px; background: rgba(47, 127, 211, .1); font-family: var(--num); font-size: 10px; letter-spacing: .08em; }
.top3-title { margin-top: 5px; font-size: 16px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 240px; }
.top3-meta { margin-top: 4px; color: var(--dim); font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 240px; }
.top3-stats { display: flex; gap: 12px; margin-top: 12px; align-items: baseline; }
.top3-stats b { font-family: var(--num); font-size: 23px; color: var(--text); font-weight: 650; }
.top3-stats b small { font-size: 9px; color: var(--dim); font-weight: 400; margin-left: 2px; }
.top3-stats span { color: var(--dim); font-size: 10px; }
.home-table { border: 1px solid var(--line); border-radius: 10px; background: var(--surface); overflow: hidden; }
.home-table table { min-width: 680px; }
.home-cta { text-align: center; padding: 24px 0 6px; }
.home-cta p { margin: 8px 0 0; color: var(--dim); font-size: 10.5px; }
.btn-primary { height: 36px; padding: 0 18px; border: 1px solid rgba(47, 127, 211, .3); border-radius: 7px; background: rgba(47, 127, 211, .1); color: var(--accent); font-size: 12px; font-weight: 600; }
.btn-primary:hover { background: rgba(47, 127, 211, .16); }
.translate-btn { margin-left: auto; border: 1px solid var(--line); border-radius: 5px; background: transparent; color: var(--accent); font-size: 10px; padding: 3px 7px; }
.translate-btn:hover { border-color: rgba(47, 127, 211, .4); }

/* ------------------------------------------------------------ 濡炪倛鍩栭悥?*/
.topbar {
  position: sticky; top: 0; z-index: 80;
  display: flex; align-items: center; gap: 26px;
  height: 60px; padding: 0 28px;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.topbar .search {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(420px, 32vw); z-index: 1;
}
.brand { display: flex; align-items: center; gap: 9px; flex: none; }
.topbar-left { display: flex; align-items: center; gap: 8px; flex: none; }
.site-notice { border-bottom: 1px solid rgba(47, 127, 211, .18); background: rgba(47, 127, 211, .05); color: var(--muted); font-size: 10.5px; text-align: center; padding: 7px 16px; }
.site-notice b { color: var(--accent); font-weight: 500; }
.logo { width: 18px; height: 18px; border: 1.5px solid var(--accent); border-radius: 50%; position: relative; }
.logo::after { content: ""; position: absolute; width: 3px; height: 3px; border-radius: 50%; background: var(--accent); left: 50%; top: 50%; transform: translate(-50%, -50%); }
.brand-name { font-weight: 700; font-size: 14px; letter-spacing: .02em; }
.brand-en { font-family: var(--num); font-size: 9px; letter-spacing: .16em; color: var(--dim); margin-left: 2px; }

.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav button {
  border: 0; background: transparent; color: var(--muted);
  padding: 6px 12px; border-radius: 6px; font-size: 13px; font-weight: 500;
}
.main-nav button:hover { color: var(--text); background: var(--surface-2); }
.main-nav button.active { color: var(--accent); background: transparent; box-shadow: inset 0 -2px var(--accent); border-radius: 0; }

.actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.notice-btn { position: relative; width: auto; height: 30px; display: flex; align-items: center; justify-content: center; gap: 5px; padding: 0 9px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface-2); color: var(--muted); }
.notice-btn svg { width: 15px; height: 15px; flex: none; }
.notice-label { font-size: 10px; white-space: nowrap; }
.notice-btn:hover { color: var(--accent); border-color: var(--line-strong); }
.notice-btn svg { width: 15px; height: 15px; }
.notice-btn #noticeBadge { position: absolute; top: -5px; right: -5px; min-width: 14px; height: 14px; padding: 0 3px; border-radius: 8px; background: var(--accent); color: #071014; font-size: 8px; line-height: 14px; text-align: center; font-family: var(--num); }
.notice-btn #noticeBadge[hidden] { display: none; }
.announcement-bar { display: flex; align-items: center; gap: 8px; padding: 7px 28px; border-bottom: 1px solid var(--line-soft); background: rgba(47, 127, 211, .035); color: var(--muted); font-size: 10.5px; overflow-anchor: none; }
.announcement-bar[hidden] { display: none; }
.ann-type { flex: none; color: var(--accent); border: 1px solid rgba(47, 127, 211, .25); border-radius: 4px; padding: 1px 5px; font-size: 9px; }
#annBarText { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#annBarClose { margin-left: auto; flex: none; border: 0; background: transparent; color: var(--dim); font-size: 15px; padding: 0 2px; }
.notice-pop { position: fixed; top: 66px; left: 24px; right: auto; z-index: 60; width: 360px; max-height: calc(100vh - 86px); overflow-y: auto; padding: 14px; border: 1px solid var(--line-strong); border-radius: 10px; background: rgba(255,255,255,.98); box-shadow: 0 18px 50px rgba(0, 0, 0, .45); }
.notice-pop[hidden] { display: none; }
.notice-pop-head { display: flex; justify-content: space-between; gap: 8px; border-bottom: 1px solid var(--line-soft); padding-bottom: 8px; margin-bottom: 9px; }
.notice-pop-head b { display: block; color: var(--text); font-size: 12px; }
.notice-pop-head span { display: block; color: var(--dim); font-size: 9px; margin-top: 2px; }
#noticeClose { border: 0; background: transparent; color: var(--dim); font-size: 18px; line-height: 1; }
.notice-auto { border: 1px solid rgba(47, 127, 211, .24); background: rgba(47, 127, 211, .055); border-radius: 7px; padding: 8px 10px; margin-bottom: 8px; }
.notice-auto b { display: block; color: var(--accent); font-size: 10px; margin-bottom: 2px; }
.notice-auto p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.65; }
.notice-card { border-bottom: 1px solid var(--line-soft); padding: 8px 0; }
.notice-card:last-child { border-bottom: 0; }
.notice-card-head { display: flex; align-items: center; gap: 6px; margin-bottom: 3px; }
.notice-card-head b { color: var(--text); font-size: 10.5px; font-weight: 600; }
.notice-card p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.65; }
.notice-empty { color: var(--dim); font-size: 10px; padding: 8px 0; }
.weather-pill { display: flex; align-items: center; gap: 5px; height: 30px; padding: 0 9px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface-2); color: var(--muted); font-size: 10px; white-space: nowrap; }
.weather-pill b { color: var(--accent); font-family: var(--num); font-weight: 500; }
.tw-sep { color: var(--dim); font-size: 9px; }
.tw-pop { width: 360px; }
.tw-divider { display: flex; align-items: center; gap: 7px; margin: 9px 0 5px; color: var(--dim); font-size: 9px; letter-spacing: .1em; }
.tw-divider::before, .tw-divider::after { content: ""; height: 1px; flex: 1; background: var(--line-soft); }
.time-pop-head { display: flex; justify-content: space-between; gap: 8px; border-bottom: 1px solid var(--line-soft); padding-bottom: 8px; }
.time-pop-head b { display: block; color: var(--text); font-size: 12px; }
.time-pop-head span { display: block; color: var(--dim); font-size: 9px; margin-top: 2px; }
.time-main { padding: 11px 0 7px; }
.time-main span { display: block; color: var(--dim); font-size: 9.5px; }
.time-main b { display: block; color: var(--text); font-family: var(--num); font-size: 30px; font-weight: 400; line-height: 1.2; letter-spacing: .02em; }
.time-main em { display: block; color: var(--muted); font-style: normal; font-size: 10px; margin-top: 2px; }
.time-main small { display: block; color: var(--dim); font-size: 9px; margin-top: 3px; }
.time-controls { display: flex; align-items: center; justify-content: space-between; gap: 8px; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); padding: 7px 0; color: var(--muted); font-size: 9.5px; }
.time-controls select { height: 25px; max-width: 170px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface-2); color: var(--text); font-size: 9.5px; padding: 0 5px; }
.time-24 { display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.world-clocks { display: flex; flex-direction: column; gap: 3px; padding: 8px 0; }
.world-clock { display: grid; grid-template-columns: 1fr 70px 44px; gap: 6px; align-items: center; border-bottom: 1px solid var(--line-soft); padding: 4px 0; color: var(--muted); font-size: 10px; }
.world-clock:last-child { border-bottom: 0; }
.world-clock b { color: var(--text); font-weight: 500; }
.world-clock em { color: var(--dim); font-style: normal; text-align: right; font-family: var(--num); }
.time-note { margin: 2px 0 0; color: var(--dim); font-size: 8.5px; }
.weather-pill:hover { border-color: var(--line-strong); color: var(--text); }
.weather-pill b { color: var(--accent); font-family: var(--num); font-weight: 500; }
.weather-pop { position: fixed; top: 66px; left: 24px; right: auto; z-index: 60; width: 342px; max-height: calc(100vh - 86px); overflow-y: auto; padding: 14px; border: 1px solid var(--line-strong); border-radius: 10px; background: rgba(255,255,255,.98); box-shadow: 0 18px 50px rgba(0, 0, 0, .45); }
.weather-pop[hidden] { display: none; }
.wx-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.wx-head b { display: block; color: var(--text); font-size: 13px; }
.wx-head span { display: block; color: var(--dim); font-size: 9px; margin-top: 2px; }
.wx-close { border: 0; background: transparent; color: var(--dim); font-size: 18px; line-height: 1; padding: 0 3px; }
.wx-search { display: flex; gap: 5px; margin: 10px 0 8px; }
.wx-search input { flex: 1; height: 28px; min-width: 0; border: 1px solid var(--line); border-radius: 5px; background: var(--surface-2); color: var(--text); padding: 0 7px; font-size: 10px; }
.wx-search button, .wx-actions button { height: 28px; border: 1px solid var(--line); border-radius: 5px; background: transparent; color: var(--muted); font-size: 10px; padding: 0 8px; }
.wx-results { border: 1px solid var(--line); border-radius: 6px; margin-bottom: 8px; overflow: hidden; }
.wx-results button { display: block; width: 100%; text-align: left; border: 0; border-bottom: 1px solid var(--line-soft); background: var(--surface-2); color: var(--muted); padding: 6px 8px; font-size: 10px; }
.wx-results button:last-child { border-bottom: 0; }
.wx-now { display: flex; align-items: center; gap: 11px; padding: 12px 0 4px; }
.wx-now b { display: block; color: var(--text); font-family: var(--num); font-size: 30px; font-weight: 400; line-height: 1.1; }
.wx-now span { display: block; color: var(--muted); font-size: 10px; margin-top: 3px; }
.wx-today { margin-left: auto; text-align: right; color: var(--muted); font-size: 10px; }
.wx-today em { display: block; color: var(--dim); font-style: normal; margin-top: 3px; }
.wx-meta { display: flex; gap: 12px; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); padding: 7px 0; color: var(--dim); font-size: 9.5px; }
.wx-meta b { color: var(--muted); font-weight: 500; }
.wx-forecast { display: flex; flex-direction: column; gap: 3px; padding: 8px 0; }
.wx-day { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 10px; }
.wx-day span:first-child { width: 44px; color: var(--dim); }
.wx-day em { margin-left: auto; color: var(--dim); font-style: normal; }
.wx-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 3px; }
.wx-actions label { display: flex; align-items: center; gap: 4px; color: var(--dim); font-size: 9.5px; }
.wx-attribution { margin: 9px 0 0; color: var(--dim); font-size: 8.5px; }
.weather-fx { position: fixed; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.weather-fx .drop { position: absolute; top: -20px; width: 1px; height: 14px; background: rgba(110, 200, 230, .5); animation: wx-fall linear infinite; }
.weather-fx .flake { position: absolute; top: -12px; width: 5px; height: 5px; border-radius: 50%; background: rgba(235, 245, 255, .75); animation: wx-fall linear infinite; }
.weather-fx .fog { position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgba(190, 205, 215, .1), transparent); animation: wx-fog 9s ease-in-out infinite alternate; }
@keyframes wx-fall { to { transform: translateY(110vh); } }
@keyframes wx-fog { from { opacity: .35; } to { opacity: .8; } }
.search {
  display: flex; align-items: center; gap: 7px;
  width: 190px; height: 32px; padding: 0 4px 0 10px;
  border: 1px solid var(--line); border-radius: 7px; background: var(--surface);
}
.search:focus-within { border-color: #9ec4e2; }
.search svg { width: 15px; height: 15px; color: var(--dim); flex: none; }
.search input { width: 100%; min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; font-size: 12px; }
.search-submit { width: 25px; height: 25px; flex: none; display: grid; place-items: center; border: 0; border-radius: 5px; background: transparent; color: var(--dim); cursor: pointer; }
.search-submit svg { width: 14px; height: 14px; }
.search-submit:hover { color: #fff; background: var(--accent); }
.search input::placeholder { color: var(--dim); }
.icon-btn {
  width: 32px; height: 32px; display: inline-grid; place-items: center;
  border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--muted);
}
.icon-btn svg { width: 16px; height: 16px; }
.icon-btn:hover { color: var(--text); border-color: #9ec4e2; }
.icon-btn.loading svg { animation: spin 1s linear infinite; }
.message-btn { position: relative; }
.message-badge { position: absolute; top: -5px; right: -5px; min-width: 15px; height: 15px; padding: 0 3px; border-radius: 8px; background: #e05252; color: #fff; font-size: 8px; line-height: 15px; text-align: center; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ------------------------------------------------------------ 濡炪倗鏁诲?*/
main { width: min(1280px, 100%); margin: 0 auto; padding: 30px 28px 40px; }
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.page-back { display: inline-flex; align-items: center; gap: 6px; height: 30px; margin: 0 0 6px; padding: 0 12px 0 5px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface-2); color: var(--muted); font-size: 10.5px; transition: .18s; }
.page-back:hover { color: var(--text); border-color: rgba(47, 127, 211, .4); background: rgba(47, 127, 211, .06); transform: translateX(-2px); }
.page-back-icon { width: 21px; height: 21px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(47, 127, 211, .13); color: var(--accent); flex: none; }
.page-back-icon svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .18s; }
.page-back:hover .page-back-icon svg { transform: translateX(-2px); }
.detail-back { display: inline-flex; align-items: center; gap: 6px; border: 0; background: transparent; color: var(--muted); font-size: 10px; padding: 2px 6px 2px 0; }
.detail-back:hover { color: var(--text); }
.detail-back .page-back-icon { width: 18px; height: 18px; }
.detail-back .page-back-icon svg { width: 11px; height: 11px; }
.detail-open .page-back { display: none; }
.page-head h1 { margin: 0 0 4px; font-size: 24px; line-height: 1.25; letter-spacing: -.01em; font-weight: 700; }
.page-sub { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.page-head p { margin: 0; color: var(--muted); font-size: 12.5px; }
.head-meta { color: var(--dim); font-size: 11.5px; text-align: right; line-height: 1.7; white-space: nowrap; }
.head-meta b { color: var(--muted); font-weight: 500; }

/* ------------------------------------------------------------ 濠殿垱甯婄划娆撳礆閸℃闅?*/
.medium-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 18px; overflow-x: auto; }
.medium-tabs button {
  position: relative; border: 0; background: transparent; color: var(--muted);
  padding: 9px 13px 11px; font-size: 13px; font-weight: 500; white-space: nowrap;
}
.medium-tabs button .count { margin-left: 6px; font-family: var(--num); font-size: 10.5px; color: var(--dim); }
.medium-tabs button:hover { color: var(--text); }
.medium-tabs button.active { color: var(--text); }
.medium-tabs button.active::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; background: var(--accent); border-radius: 2px; }
.medium-tabs button.active .count { color: var(--accent); }

/* ------------------------------------------------------------ 婵帗绮屽畷鐔兼閵忊剝绶?*/
.board { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.board-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 16px 18px 14px; border-bottom: 1px solid var(--line-soft); }
.board-title h2 { margin: 0 0 3px; font-size: 16px; font-weight: 650; }
.board-title p { margin: 0; color: var(--dim); font-size: 11.5px; line-height: 1.6; max-width: 720px; }
.board-tools { display: flex; gap: 8px; flex: none; }
select {
  height: 30px; padding: 0 26px 0 9px; border: 1px solid var(--line); border-radius: 6px;
  background: var(--surface-2); color: var(--text); font-size: 11.5px; outline: 0;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--dim) 50%), linear-gradient(135deg, var(--dim) 50%, transparent 50%);
  background-position: calc(100% - 13px) 13px, calc(100% - 9px) 13px;
  background-size: 4px 4px, 4px 4px;
  background-repeat: no-repeat;
}
select:focus { border-color: #9ec4e2; }
select option { background: #eaf3fb; }

.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
thead th {
  text-align: left; padding: 10px 12px; font-size: 10.5px; font-weight: 500; color: var(--dim);
  border-bottom: 1px solid var(--line-soft); white-space: nowrap;
  position: sticky; top: 0; background: var(--surface); z-index: 2;
}
thead th:first-child { padding-left: 18px; width: 52px; }
tbody tr { border-bottom: 1px solid var(--line-soft); cursor: pointer; }
tbody tr:last-child { border-bottom: 0; }
tbody tr:hover { background: var(--surface-2); }
tbody td { padding: 10px 12px; vertical-align: middle; font-size: 12.5px; }
tbody td:first-child { padding-left: 18px; }

.rank { font-family: var(--num); font-size: 13px; color: var(--dim); font-weight: 600; }
.rank.top { color: var(--accent); }

.work { display: flex; align-items: center; gap: 10px; min-width: 250px; }
.work img { width: 38px; height: 53px; border-radius: 4px; object-fit: cover; background: var(--surface-2); flex: none; border: 1px solid var(--line-soft); }
.work-info { min-width: 0; }
.work-title { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 330px; }
.work-sub { margin-top: 2px; color: var(--dim); font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 330px; }

.track { color: var(--muted); font-size: 11.5px; white-space: nowrap; }
.track i { display: inline-block; width: 5px; height: 5px; margin-right: 6px; border-radius: 50%; background: var(--tc, var(--accent)); vertical-align: 1px; }
.market { color: var(--muted); font-size: 11.5px; white-space: nowrap; }

.heat-cell { display: flex; align-items: center; gap: 8px; }
.heat-bar { width: 64px; height: 4px; border-radius: 4px; background: #dcebf8; overflow: hidden; }
.heat-bar i { display: block; height: 100%; border-radius: 4px; background: var(--accent); }
.heat-value { font-family: var(--num); font-size: 13px; font-weight: 600; min-width: 34px; }
.grade { font-family: var(--num); font-size: 9px; color: var(--dim); border: 1px solid var(--line); border-radius: 3px; padding: 0 4px; }

.momentum { color: var(--muted); font-size: 11.5px; white-space: nowrap; }
.momentum b { font-family: var(--num); font-weight: 600; color: var(--text); margin-right: 4px; }
.momentum.hot b { color: var(--amber); }
.momentum.cool { color: var(--dim); }

.score { font-family: var(--num); font-size: 12.5px; }
.score span { color: var(--dim); font-size: 9.5px; }
.score.none { color: var(--dim); font-size: 11px; }
.source { color: var(--dim); font-size: 10.5px; line-height: 1.5; max-width: 110px; }

.rep-cell { display: flex; align-items: center; gap: 9px; }
.rep-value { font-family: var(--num); font-size: 14px; font-weight: 650; color: var(--accent); min-width: 34px; }
.rep-label { color: var(--muted); font-size: 10.5px; white-space: nowrap; }
.good-rate { font-family: var(--num); font-size: 12px; color: var(--green); }
.rep-bar { display: flex; width: 68px; height: 4px; border-radius: 4px; overflow: hidden; background: #dcebf8; }
.rep-bar .pos { background: var(--green); }
.rep-bar .neg { background: var(--red); }
.rep-split { display: flex; flex-direction: column; gap: 3px; }
.rep-split .labels { display: flex; justify-content: space-between; width: 68px; font-family: var(--num); font-size: 9px; color: var(--dim); }
.rep-split .labels b { font-weight: 500; color: var(--muted); }
.sample { color: var(--dim); font-size: 10.5px; white-space: nowrap; }
.aspect-summary { color: var(--muted); font-size: 11px; line-height: 1.5; max-width: 200px; }
.aspect-summary .pos { color: var(--green); }
.aspect-summary .neg { color: var(--red); }

.board-empty { padding: 46px 20px; text-align: center; color: var(--muted); font-size: 12.5px; line-height: 1.8; }
.board-empty b { color: var(--text); font-weight: 600; }
.board-foot { display: flex; justify-content: space-between; gap: 14px; padding: 10px 18px; border-top: 1px solid var(--line-soft); color: var(--dim); font-size: 10.5px; flex-wrap: wrap; }
.board-foot b { color: var(--muted); font-weight: 500; }

.medium-tracks { display: flex; flex-wrap: wrap; gap: 6px; padding: 9px 18px; border-bottom: 1px solid var(--line-soft); overflow-x: auto; }
.track-chip {
  display: inline-flex; align-items: center; gap: 6px; flex: none;
  height: 26px; padding: 0 9px; border: 1px solid var(--line); border-radius: 5px;
  background: transparent; color: var(--muted); font-size: 10.5px;
}
.track-chip b { font-family: var(--num); font-weight: 500; color: var(--dim); }
.track-chip:hover { color: var(--text); border-color: #9ec4e2; }
.track-chip.active { color: var(--text); border-color: rgba(47, 127, 211, .35); background: rgba(47, 127, 211, .07); }
.track-chip.active b { color: var(--accent); }
.medium-tracks.regions { padding-top: 0; border-bottom: 1px solid var(--line-soft); }
.filter-label { display: inline-flex; align-items: center; color: var(--dim); font-size: 9.5px; letter-spacing: .08em; margin-right: 2px; }
.ai-conclusion { margin-top: 9px; border: 1px solid rgba(47, 127, 211, .2); background: rgba(47, 127, 211, .05); border-radius: 7px; padding: 8px 10px; color: var(--text); font-size: 11px; line-height: 1.7; }
.ai-block p, .ai-cols p { margin: 4px 0 0; color: var(--muted); font-size: 10.5px; line-height: 1.7; }

.charts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.chart-card { border: 1px solid var(--line); border-radius: 7px; background: var(--surface-2); padding: 9px; display: flex; flex-direction: column; justify-content: center; }
.chart-card h4 { margin: 0 0 4px; color: var(--muted); font-size: 10px; font-weight: 500; }
.chart-card svg { width: 100%; height: auto; max-height: 150px; display: block; }
.chart-card.wide { align-items: center; }
.chart-card.wide svg { max-width: 170px; }
.chart-empty { color: var(--dim); font-size: 10px; padding: 20px 4px; text-align: center; }
.review-list { display: flex; flex-direction: column; gap: 0; }
.review-item { padding: 9px 0; border-bottom: 1px solid var(--line-soft); }
.review-item:last-child { border-bottom: 0; }
.review-item .head { display: flex; align-items: center; gap: 7px; margin-bottom: 3px; }
.review-item .tag { font-size: 9px; padding: 1px 5px; border-radius: 3px; border: 1px solid var(--line); color: var(--dim); }
.review-item .tag.pos { color: var(--green); border-color: rgba(134, 239, 172, .25); }
.review-item .tag.neg { color: var(--red); border-color: rgba(248, 113, 113, .25); }
.review-item .head b { font-size: 10px; font-weight: 500; color: var(--muted); }
.review-item .head span { margin-left: auto; font-family: var(--num); font-size: 9px; color: var(--dim); }
.review-item p { margin: 0; color: var(--muted); font-size: 10.5px; line-height: 1.7; }
.review-item .aspects { margin-top: 3px; display: flex; gap: 4px; flex-wrap: wrap; }
.review-item .aspects span { font-size: 9px; color: var(--dim); border: 1px solid var(--line-soft); border-radius: 3px; padding: 0 4px; }
.review-original { margin-top: 4px; }
.review-original summary { cursor: pointer; color: var(--dim); font-size: 9.5px; }
.review-original p { margin: 4px 0 0; color: var(--dim); font-size: 10px; line-height: 1.65; }

/* ------------------------------------------------------------ 閻犙勭洴娴?*/
.track-board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.track-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 15px; }
.track-card-head { display: flex; align-items: baseline; gap: 8px; }
.track-card-head h3 { margin: 0; font-size: 13.5px; font-weight: 600; }
.track-card-head .n { margin-left: auto; font-family: var(--num); font-size: 12px; color: var(--accent); }
.track-card p { margin: 3px 0 10px; color: var(--dim); font-size: 10.5px; }
.track-meter { height: 3px; background: #dcebf8; border-radius: 3px; overflow: hidden; margin-bottom: 10px; }
.track-meter i { display: block; height: 100%; background: var(--tc, var(--accent)); }
.track-card ol { margin: 0; padding: 0; list-style: none; }
.track-card li { display: flex; gap: 7px; padding: 4px 0; color: var(--muted); font-size: 11px; cursor: pointer; }
.track-card li:hover { color: var(--text); }
.track-card li .idx { font-family: var(--num); color: var(--dim); width: 13px; flex: none; }
.track-card li .name { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track-card li .val { font-family: var(--num); color: var(--dim); }

/* ------------------------------------------------------------ 濡炪倓绲婚崜?*/
footer { display: flex; gap: 8px 18px; flex-wrap: wrap; margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--dim); font-size: 10.5px; }
footer a { margin-left: auto; color: var(--muted); }
footer a:hover { color: var(--text); }

/* ------------------------------------------------------------ 闁规儼妫勯惇?*/
.overlay { position: fixed; inset: 0; z-index: 50; background: rgba(4, 7, 11, .66); }
.drawer {
  position: fixed; top: var(--topbar-h, 60px); left: 0; right: 0; bottom: 0; z-index: 70;
  width: auto; overflow-y: auto;
  background: var(--surface); border: 0; border-radius: 0;
  box-shadow: none;
  animation: slide .2s ease;
}
.drawer-head, .drawer-body { max-width: 1180px; margin-left: auto; margin-right: auto; }
.detail-bar { display: flex; align-items: center; gap: 10px; height: 32px; padding: 0 6px 0 10px; margin-left: 4px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-2); flex: none; }
.detail-bar[hidden] { display: none; }
.detail-bar span { color: var(--text); font-size: 10px; letter-spacing: .08em; }
.detail-bar button { border: 0; background: transparent; color: var(--muted); font-size: 10px; padding: 3px 5px; }
.detail-bar button:hover { color: var(--accent); }
.detail-bar .detail-back .page-back-icon { color: var(--accent); font-size: 0; }
#detailClose { font-size: 16px; line-height: 1; }
@keyframes slide { from { transform: translateX(18px); opacity: .5; } to { transform: translateX(0); opacity: 1; } }
.drawer-close {
  position: sticky; top: 12px; float: right; z-index: 2;
  width: 30px; height: 30px; margin: 12px 14px 0 0;
  border: 1px solid var(--line); border-radius: 50%; background: var(--surface-2); color: var(--muted); font-size: 17px; line-height: 1;
}
.drawer-close:hover { color: var(--text); }
.drawer-head { display: flex; gap: 15px; padding: 22px 20px 16px; border-bottom: 1px solid var(--line-soft); }
.drawer-head img { width: 84px; height: 118px; border-radius: 6px; object-fit: cover; background: var(--surface-2); border: 1px solid var(--line); flex: none; }
.drawer-head-info { min-width: 0; padding-top: 2px; }
.drawer-kicker { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 7px; }
.pill { font-size: 10px; color: var(--muted); border: 1px solid var(--line); border-radius: 4px; padding: 1px 6px; }
.pill.accent { color: var(--accent); border-color: rgba(47, 127, 211, .25); }
.drawer-title { margin: 0 0 2px; font-size: 19px; line-height: 1.35; font-weight: 700; }
.drawer-sub { color: var(--dim); font-size: 11px; }
.drawer-body { padding: 16px 20px 28px; }
.drawer-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 18px; }
.stat { border: 1px solid var(--line); border-radius: 7px; padding: 8px 9px; background: var(--surface-2); }
.stat label { display: block; color: var(--dim); font-size: 9.5px; }
.stat b { display: block; font-family: var(--num); font-size: 17px; font-weight: 650; margin-top: 2px; }
.stat b small { font-size: 9px; color: var(--dim); font-weight: 400; margin-left: 2px; }

.section { margin-top: 18px; }
.section h3 { margin: 0 0 8px; font-size: 12.5px; font-weight: 600; color: var(--text); }
.note { color: var(--dim); font-size: 11px; line-height: 1.75; }
.take { color: var(--muted); font-size: 11.5px; line-height: 1.8; border-left: 2px solid var(--line); padding-left: 10px; }

.hb { display: flex; flex-direction: column; gap: 6px; }
.hb-row { display: grid; grid-template-columns: 62px 1fr 28px; gap: 8px; align-items: center; color: var(--muted); font-size: 10.5px; }
.hb-track { height: 4px; border-radius: 4px; background: #dcebf8; overflow: hidden; }
.hb-track i { display: block; height: 100%; background: var(--accent); border-radius: 4px; }
.hb-row b { font-family: var(--num); color: var(--dim); font-weight: 500; text-align: right; }

.reasons { display: flex; flex-direction: column; gap: 6px; }
.reason { display: flex; gap: 9px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface-2); }
.reason .ico { width: 20px; flex: none; text-align: center; font-size: 12px; }
.reason b { display: block; font-size: 11.5px; font-weight: 600; }
.reason p { margin: 1px 0 0; color: var(--dim); font-size: 10.5px; line-height: 1.65; }

.rep-box { border: 1px solid var(--line); border-radius: 8px; padding: 12px; background: var(--surface-2); }
.rep-top { display: flex; align-items: baseline; gap: 8px; }
.rep-top b { font-family: var(--num); font-size: 24px; color: var(--accent); }
.rep-top span { color: var(--muted); font-size: 11px; }
.rep-top .conf { margin-left: auto; color: var(--dim); font-size: 10px; }
.rep-splitbar { display: flex; height: 6px; border-radius: 6px; overflow: hidden; background: #dcebf8; margin: 10px 0 6px; }
.rep-splitbar .pos { background: var(--green); }
.rep-splitbar .neg { background: var(--red); }
.rep-legend { display: flex; justify-content: space-between; color: var(--dim); font-size: 9.5px; font-family: var(--num); }
.rep-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.rep-col h4 { margin: 0 0 5px; font-size: 10.5px; font-weight: 600; }
.rep-col.pos h4 { color: var(--green); }
.rep-col.neg h4 { color: var(--red); }
.rep-col ul { margin: 0; padding: 0; list-style: none; }
.rep-col li { color: var(--muted); font-size: 10.5px; line-height: 1.65; padding: 3px 0; border-bottom: 1px solid var(--line-soft); }
.rep-col li:last-child { border-bottom: 0; }
.rep-col li b { color: var(--text); font-weight: 500; display: block; }
.rep-item-head { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; }
.rep-item-head b { display: inline; }
.rep-item-head span { color: var(--dim); font-family: var(--num); font-size: 9px; flex: none; }
.rep-col li p { margin: 2px 0 0; color: var(--muted); font-size: 10px; line-height: 1.6; }
.quote { margin: 7px 0 0; color: var(--muted); font-size: 10.5px; line-height: 1.7; border-left: 2px solid var(--line); padding-left: 8px; }
.quote small { display: block; color: var(--dim); font-size: 9.5px; margin-top: 1px; }
.aspect-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.aspect-tags span { font-size: 10px; color: var(--muted); border: 1px solid var(--line); border-radius: 4px; padding: 1px 6px; }

.sources { display: flex; flex-direction: column; gap: 5px; }
.source-row { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 6px; padding: 7px 9px; font-size: 10.5px; color: var(--dim); }
.source-row b { color: var(--muted); font-weight: 500; min-width: 72px; }
.source-row span { color: var(--muted); }
.source-row a { margin-left: auto; color: var(--accent); }

/* ------------------------------------------------------------ 鐎殿喖婀遍悰?/ Toast */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; background: rgba(4, 7, 11, .72); padding: 20px; }
.modal-card { position: relative; width: min(680px, 100%); max-height: 86vh; overflow-y: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.modal-card h2 { margin: 0 0 14px; font-size: 17px; }
.confirm-card { width: min(400px, 100%); }
.confirm-card p { color: var(--muted); font-size: 11.5px; line-height: 1.8; margin: 0 0 16px; }
.confirm-actions { display: flex; justify-content: flex-end; gap: 8px; }
.modal-close { position: absolute; top: 12px; right: 12px; width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--muted); font-size: 16px; }
.method-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.method-grid b { font-size: 12px; }
.method-grid p { margin: 4px 0 0; color: var(--muted); font-size: 11.5px; line-height: 1.75; }
.modal-note { margin: 16px 0 0; color: var(--dim); font-size: 10.5px; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 100; transform: translate(-50%, 10px); opacity: 0; pointer-events: none;
  padding: 8px 14px; border-radius: 7px; background: #ffffff; border: 1px solid var(--line); color: var(--text); font-size: 11.5px; transition: .2s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.bad { border-color: rgba(248, 113, 113, .35); }
.toast.good { border-color: rgba(47, 127, 211, .35); }

/* ------------------------------------------------------------ 閻犳劧绠戣ぐ?*/
.avatar-wrap { position: relative; flex: none; margin-right: 2px; }
.avatar-btn {
  position: relative; width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid var(--surface); overflow: hidden;
  background: var(--surface-2); color: var(--muted);
  font-family: var(--num); font-size: 13px; font-weight: 700;
  box-shadow: 0 0 0 1px var(--line-strong);
  transition: box-shadow .18s, transform .18s;
}
.avatar-btn:hover { box-shadow: 0 0 0 2px rgba(47, 127, 211, .55); transform: translateY(-1px); }
.avatar-wrap:hover .avatar-btn { transform: scale(1.22); box-shadow: 0 0 0 2px rgba(47, 127, 211, .55), 0 8px 22px rgba(47, 82, 112, .18); }
.avatar-btn #avatarInitial { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; overflow: hidden; border-radius: 50%; }
.avatar-btn #avatarInitial img { display: block; width: 100%; height: 100%; object-fit: cover; }
.avatar-btn.guest { color: var(--dim); border-style: dashed; box-shadow: none; }
.avatar-btn.role-1 { box-shadow: 0 0 0 2px rgba(47, 127, 211, .55); }
.avatar-btn.role-2 { box-shadow: 0 0 0 2px rgba(194, 124, 0, .45); }
.avatar-btn.role-3 { box-shadow: 0 0 0 2px rgba(47, 143, 214, .45); }
.avatar-menu {
  position: absolute; right: -4px; top: calc(100% + 10px); z-index: 70; width: 264px;
  padding: 10px; border: 1px solid var(--line); border-radius: 14px;
  background: var(--surface); box-shadow: 0 22px 56px rgba(47, 82, 112, .24);
}
.avatar-menu::before { content: ""; position: absolute; top: -6px; right: 18px; width: 10px; height: 10px; background: var(--surface); border-left: 1px solid var(--line); border-top: 1px solid var(--line); transform: rotate(45deg); }
.avatar-menu-head { display: flex; flex-direction: column; align-items: center; gap: 3px; width: 100%; margin: -10px -10px 8px; padding: 13px 12px 11px; border: 0; border-bottom: 1px solid var(--line-soft); border-radius: 14px 14px 0 0; background: linear-gradient(160deg, rgba(47,127,211,.10), rgba(47,127,211,.02) 65%, transparent); text-align: center; }
.avatar-menu-avatar { width: 68px; height: 68px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--surface-2); color: var(--accent); font-family: var(--num); font-size: 24px; border: 3px solid var(--surface); box-shadow: 0 4px 16px rgba(47,82,112,.18); }
.avatar-menu-avatar img { width: 100%; height: 100%; display: block; object-fit: cover; }
.avatar-menu-user { min-width: 0; width: 100%; }
.avatar-menu-user b { display: block; color: var(--text); font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.avatar-menu-user span { display: block; color: var(--dim); font-size: 9.5px; margin-top: 3px; }
.avatar-menu-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px; }
.avatar-menu-links > button { display: flex; align-items: center; gap: 7px; width: 100%; border: 0; border-radius: 8px; background: transparent; color: var(--muted); text-align: left; padding: 8px 8px; font-size: 10.5px; }
.avatar-menu-links > button:hover { background: var(--surface-2); color: var(--text); }
.avatar-menu-links > button[data-avatar-action="logout"] { grid-column: 1 / -1; margin-top: 4px; border-top: 1px solid var(--line-soft); border-radius: 0 0 8px 8px; color: var(--red); padding-top: 9px; }
.am-icon { width: 16px; flex: none; color: var(--dim); text-align: center; font-size: 13px; }
@media (max-width: 520px) { .avatar-menu { width: min(264px, calc(100vw - 20px)); right: -6px; } }
.auth-card { width: min(400px, 100%); }
.auth-card h2 { margin-bottom: 12px; }
.auth-tabs { display: flex; gap: 4px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.auth-forgot { height: 30px; margin-top: 4px; padding: 0; border: 0; background: transparent; color: var(--accent); font-size: 10px; text-align: left; }
.auth-forgot:hover { text-decoration: underline; }.auth-tabs button { border: 0; background: transparent; color: var(--muted); padding: 7px 10px 9px; font-size: 11.5px; }
.auth-tabs button.active { color: var(--text); border-bottom: 2px solid var(--accent); }
.auth-form { display: flex; flex-direction: column; gap: 9px; }
.auth-form label { display: flex; flex-direction: column; gap: 4px; color: var(--dim); font-size: 10.5px; }
.auth-form input, .field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 6px; background: var(--surface-2);
  color: var(--text); padding: 7px 9px; font-size: 12px; outline: 0;
}
.auth-form input:focus, .field input:focus, .field select:focus, .field textarea:focus { border-color: #9ec4e2; }
.pw-wrap { position: relative; display: flex; width: 100%; }
.pw-wrap input { padding-right: 38px; }
.pw-toggle { position: absolute; right: 2px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border: 0; background: transparent; color: var(--dim); padding: 0; }
.pw-toggle:hover { color: var(--accent); }
.pw-toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.auth-form .btn-primary { margin-top: 4px; }
.auth-note { color: var(--dim); font-size: 10px; line-height: 1.7; margin: 12px 0 0; }
.account-info { padding: 10px 12px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface-2); margin-bottom: 12px; }
.account-head { display: flex; align-items: center; gap: 10px; }
.account-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; color: var(--accent); font-family: var(--num); font-size: 16px; font-weight: 700; flex: none; overflow: hidden; }
.account-avatar img { width: 100%; height: 100%; object-fit: cover; }
.account-info b { display: block; font-size: 15px; }
.account-info span { color: var(--muted); font-size: 11px; }
.auth-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.avatar-preview { display: flex; align-items: center; gap: 10px; color: var(--dim); font-size: 10px; }
.avatar-preview img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); }
.btn-ghost { height: 34px; padding: 0 12px; border: 1px solid var(--line); border-radius: 6px; background: transparent; color: var(--muted); font-size: 11.5px; }

.admin-card { width: min(1080px, 100%); }
.admin-kpis { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; margin-bottom: 10px; }
.admin-kpis > div { border: 1px solid var(--line); border-radius: 7px; background: var(--surface-2); padding: 8px 10px; }
.admin-kpis span { display: block; color: var(--dim); font-size: 9px; }
.admin-kpis b { display: block; margin-top: 2px; color: var(--accent); font-family: var(--num); font-size: 15px; font-weight: 500; }
.admin-layout { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 18px; align-items: start; }
.admin-tabs { display: flex; flex-direction: column; gap: 2px; border-right: 1px solid var(--line); padding-right: 10px; position: sticky; top: 0; align-self: start; }
.admin-tabs button { border: 0; border-left: 2px solid transparent; background: transparent; color: var(--muted); padding: 8px 9px; font-size: 10.5px; text-align: left; border-radius: 0 5px 5px 0; }
.admin-tabs button:hover { color: var(--text); background: var(--surface-2); }
.admin-tabs button.active { color: var(--accent); border-left-color: var(--accent); background: rgba(47, 127, 211, .05); }
.admin-content { min-width: 0; }
.admin-panel[hidden] { display: none; }
.admin-group-title { color: var(--accent); font-size: 9.5px; letter-spacing: .1em; border-bottom: 1px solid var(--line-soft); padding-bottom: 4px; margin-top: 2px; }

.admin-overview-grid { display: grid; grid-template-columns: 1fr; gap: 0 18px; }
.admin-media-row { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line-soft); padding: 4px 0; color: var(--muted); font-size: 10px; }
.admin-media-row b { color: var(--accent); font-family: var(--num); font-weight: 500; }
.admin-recent { border-bottom: 1px solid var(--line-soft); padding: 5px 0; }
.admin-recent b { display: block; color: var(--text); font-size: 10.5px; font-weight: 500; }
.admin-recent span { color: var(--dim); font-size: 9px; }
.admin-work-tools { display: flex; gap: 6px; margin-bottom: 6px; }
.admin-notice-list { border: 1px solid var(--line-soft); border-radius: 6px; padding: 4px 9px; max-height: 220px; overflow-y: auto; }
.admin-notice-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) 110px 76px; gap: 6px; align-items: center; border-bottom: 1px solid var(--line-soft); padding: 6px 0; color: var(--muted); font-size: 10px; }
.admin-notice-row:last-child { border-bottom: 0; }
.admin-notice-row b { color: var(--text); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-notice-state { color: var(--dim); font-size: 9px; }
.admin-notice-state.on { color: var(--accent); }
.admin-notice-actions { display: flex; gap: 3px; }
.admin-notice-actions button { border: 1px solid var(--line); border-radius: 4px; background: transparent; color: var(--muted); font-size: 9px; padding: 2px 4px; }
.admin-notice-actions button:last-child { color: var(--red); border-color: rgba(248, 113, 113, .3); }
.admin-perm { display: flex; flex-direction: column; gap: 5px; margin-bottom: 8px; }
.admin-perm > div { border: 1px solid var(--line-soft); border-radius: 6px; padding: 7px 9px; background: var(--surface-2); }
.ai-connect { border: 1px solid var(--line-soft); border-radius: 7px; background: var(--surface-2); padding: 8px 10px; margin-bottom: 10px; }
.ai-status { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 10px; }
.ai-status .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--dim); }
.ai-status.on { color: var(--accent); }
.ai-status.on .dot { background: var(--accent); box-shadow: 0 0 8px rgba(47, 127, 211, .5); }
.ai-config { margin-top: 7px; }
.ai-config summary { color: var(--dim); font-size: 9.5px; cursor: pointer; }
.ai-config .admin-grid { margin-top: 8px; }
.admin-perm b { display: block; color: var(--text); font-size: 10.5px; font-weight: 600; margin-bottom: 2px; }
.admin-perm span { color: var(--muted); font-size: 9.5px; line-height: 1.65; }
.admin-subtitle { margin-top: 14px !important; }
.admin-work-tools .admin-work-search { flex: 1; margin-bottom: 0; }
.admin-work-tools select { width: 120px; border: 1px solid var(--line); border-radius: 5px; background: var(--surface-2); color: var(--text); font-size: 10px; padding: 0 6px; }
.admin-delete-all { height: 30px; margin-left: auto; padding: 0 9px; border: 1px solid rgba(217, 83, 100, .35); border-radius: 6px; background: rgba(217, 83, 100, .06); color: var(--red); font-size: 9.5px; white-space: nowrap; }
.admin-delete-all:disabled { opacity: .4; cursor: default; }
#confirmOk:disabled { opacity: .5; cursor: wait; }
.admin-pager { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 9px 0 3px; color: var(--muted); font-size: 9.5px; }
.admin-pager button { border: 1px solid var(--line); border-radius: 4px; background: transparent; color: var(--muted); font-size: 9.5px; padding: 3px 8px; }
.admin-pager button:disabled { opacity: .35; }
.admin-pager button:not(:disabled):hover { color: var(--accent); border-color: rgba(47, 127, 211, .35); }
.admin-work-actions { display: flex; gap: 3px; }
.admin-source-row { display: grid; grid-template-columns: 80px 44px 60px 1fr; gap: 6px; align-items: center; border-bottom: 1px solid var(--line-soft); padding: 5px 0; color: var(--muted); font-size: 9.5px; }
.admin-source-row b { color: var(--text); font-weight: 500; }
.admin-source-row .ok { color: var(--green); }
.admin-source-row .bad { color: var(--red); }
.admin-source-row em { color: var(--dim); font-style: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-maint-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; margin: 9px 0; }
.admin-maint-grid > div { border: 1px solid var(--line-soft); border-radius: 7px; background: var(--surface-2); padding: 8px; }
.admin-maint-grid span { display: block; color: var(--dim); font-size: 8px; }
.admin-maint-grid b { display: block; margin-top: 3px; font-size: 10px; font-weight: 600; }
.admin-maint-grid b.ok { color: var(--green); }
.admin-maint-grid b.warn { color: #b7791f; }
.admin-maint-grid b.bad { color: var(--red); }
.admin-msg.warn { color: #b7791f; }
.maint-task-list { display: flex; flex-direction: column; gap: 4px; margin: 9px 0; }
.maint-task { display: grid; grid-template-columns: 130px minmax(0, 1fr) 48px; gap: 8px; align-items: center; border: 1px solid var(--line-soft); border-radius: 6px; padding: 6px 8px; font-size: 9px; }
.maint-task b { font-weight: 500; }
.maint-task span { color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.maint-task em { color: var(--dim); font-style: normal; text-align: right; }
.maint-task.ok b { color: var(--green); }
.maint-task.warn b { color: #b7791f; }
.maint-task.bad b { color: var(--red); }
.security-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; margin: 9px 0; }
.security-grid > div { border: 1px solid var(--line-soft); border-radius: 7px; background: var(--surface-2); padding: 8px; }
.security-grid span { display: block; color: var(--dim); font-size: 8px; }
.security-grid b { display: block; margin-top: 3px; font-size: 10px; }
.security-grid b.ok { color: var(--green); }
.security-grid b.warn { color: #b7791f; }
.security-meta { display: flex; flex-wrap: wrap; gap: 7px 14px; color: var(--dim); font-size: 8.5px; margin: 8px 0; }
.security-pass { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin: 10px 0; }
.security-pass input { flex: 1; min-width: 180px; height: 30px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface-2); color: var(--text); padding: 0 8px; font-size: 9.5px; }
.security-pass button { height: 30px; font-size: 9px; }
.security-backups h4 { margin: 10px 0 6px; font-size: 10px; }
.security-backup-row { display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--line-soft); padding: 5px 0; font-size: 8.5px; color: var(--muted); }
.security-backup-row b { color: var(--text); font-weight: 500; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.security-backup-row em { color: var(--accent); font-style: normal; }
@media (max-width: 760px) { .security-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .admin-maint-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.admin-section { border-top: 1px solid var(--line-soft); padding-top: 14px; margin-top: 14px; }
.admin-section h3 { margin: 0 0 8px; font-size: 13px; }
.admin-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.admin-grid .wide { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 3px; color: var(--dim); font-size: 10px; }
.field textarea { min-height: 64px; resize: vertical; }
#siteCustomCssInput, #siteCustomJsInput { min-height: 120px; font-family: Consolas, "Courier New", monospace; font-size: 10px; line-height: 1.6; }
.admin-actions { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.lookup-bar { display: flex; gap: 6px; padding: 8px; border: 1px solid rgba(47, 127, 211, .22); border-radius: 7px; background: rgba(47, 127, 211, .04); flex-wrap: wrap; }
.lookup-bar input { flex: 1; min-width: 220px; border: 1px solid var(--line); border-radius: 5px; background: var(--surface); color: var(--text); padding: 7px 9px; font-size: 11px; }
.lookup-bar .btn-primary, .lookup-bar .btn-ghost { height: 30px; flex: none; }
.lookup-bar + .admin-msg { margin-top: 0; }
.medium-picker { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 7px; background: var(--surface-2); padding: 9px 11px; }
.medium-picker > div { flex: 1; min-width: 220px; }
.medium-picker b { display: block; color: var(--text); font-size: 11px; }
.medium-picker span { display: block; margin-top: 2px; color: var(--dim); font-size: 9.5px; }
.medium-picker select { height: 32px; border: 1px solid var(--line); border-radius: 5px; background: var(--surface); color: var(--text); padding: 0 10px; font-size: 11px; }
.medium-picker em { color: var(--accent); font-size: 10px; font-style: normal; }
.user-row { display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line-soft); padding: 8px 0; color: var(--muted); font-size: 11px; }
.user-identity { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.user-name-line { display: flex; align-items: baseline; gap: 6px; min-width: 0; }
.user-row .user-identity b { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-row .user-identity .role { color: var(--dim); font-size: 9px; }
.user-id { font-style: normal; color: var(--accent); font-family: var(--num); font-size: 9px; }
.user-actions { display: flex; align-items: center; gap: 4px; flex: none; }
.user-tools { margin: 8px 0 10px; }
.user-tools input { width: 100%; height: 32px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface-2); color: var(--text); padding: 0 9px; font-size: 10.5px; }
.user-email { color: var(--dim); font-size: 9px; }
.user-pass { color: var(--dim); font-size: 9px; display: inline-flex; align-items: center; gap: 4px; }
.user-pass em { font-style: normal; color: var(--muted); }
.user-row .user-pass button { border: 0; color: var(--accent); font-size: 9px; padding: 0; }
.user-more { width: 100%; margin-top: 6px; border: 1px dashed var(--line); border-radius: 5px; background: transparent; color: var(--accent); font-size: 9.5px; padding: 6px; }
.generated-password { border: 1px solid var(--line); border-radius: 8px; background: var(--surface-2); color: var(--accent); font-family: var(--num); font-size: 18px; letter-spacing: 1px; text-align: center; padding: 14px; margin-bottom: 14px; user-select: all; }
.admin-work-search { width: 100%; height: 32px; border: 1px solid var(--line); border-radius: 5px; background: var(--surface-2); color: var(--text); padding: 0 9px; font-size: 11px; margin-bottom: 6px; }
.admin-work-list { max-height: 260px; overflow-y: auto; border: 1px solid var(--line-soft); border-radius: 6px; padding: 4px 9px; }
.admin-work-row { display: grid; grid-template-columns: 52px minmax(0, 1fr) minmax(0, 160px) 44px 86px; gap: 7px; align-items: center; border-bottom: 1px solid var(--line-soft); padding: 6px 0; color: var(--muted); font-size: 10px; }
.admin-work-row:last-child { border-bottom: 0; }
.admin-work-row b { color: var(--text); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-work-row span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-work-medium { color: var(--accent); font-size: 9px; }
.admin-work-row em { color: var(--dim); font-family: var(--num); font-style: normal; text-align: right; }
.admin-work-row button { border: 1px solid rgba(248, 113, 113, .3); border-radius: 4px; background: transparent; color: var(--red); font-size: 9.5px; padding: 3px 4px; }.user-row b { color: var(--text); font-weight: 500; min-width: 110px; }
.user-row .role { color: var(--dim); }
.user-row .state { margin-left: 0; flex: none; }
.user-row .state.off { color: var(--red); }
.user-row button { border: 1px solid var(--line); border-radius: 4px; background: transparent; color: var(--red); font-size: 10px; padding: 2px 6px; }
.user-row button[data-ban-user], .user-row button[data-unban-user] { color: var(--accent); border-color: rgba(47, 127, 211, .3); }
.user-row button[data-user-detail] { color: var(--accent); }
.user-row button.danger { color: var(--red); }
.user-row .ban-duration { height: 24px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface-2); color: var(--muted); font-size: 9.5px; padding: 0 4px; }
.user-row select option { background: var(--surface); }
@media (max-width: 760px) {
  .user-row { flex-wrap: wrap; }
  .user-identity { flex-basis: 100%; }
  .user-actions { margin-left: auto; }
  .user-row .state { margin-left: 0; }
  .admin-kpis { grid-template-columns: repeat(2, 1fr); }
  .admin-work-tools { flex-wrap: wrap; }
  .admin-delete-all { margin-left: auto; }
}
.admin-msg { color: var(--dim); font-size: 10.5px; margin: 8px 0 0; }
.drawer-admin { display: flex; gap: 6px; margin-left: auto; }
.fav-btn { display: inline-flex; align-items: center; gap: 4px; margin-top: 7px; border: 1px solid var(--line); border-radius: 5px; background: transparent; color: var(--muted); font-size: 10px; padding: 4px 8px; }
.fav-btn:hover { color: var(--accent); border-color: rgba(47, 127, 211, .35); }
.fav-btn.on { color: #2f7fd3; border-color: rgba(47, 127, 211, .4); }
.favorites-card { width: min(620px, 100%); }
.fav-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line-soft); padding-bottom: 9px; }
.fav-public { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 10.5px; }
.fav-public input { accent-color: var(--accent); }
#favSummary { color: var(--accent); font-family: var(--num); font-size: 10.5px; }
.fav-note { color: var(--dim); font-size: 9.5px; margin: 7px 0; }
.favorites-list { display: flex; flex-direction: column; gap: 5px; max-height: 52vh; overflow-y: auto; }
.fav-item { display: flex; align-items: center; gap: 9px; width: 100%; border: 1px solid var(--line-soft); border-radius: 6px; background: var(--surface-2); padding: 6px; text-align: left; color: var(--text); }
.fav-item:hover { border-color: var(--line-strong); }
.fav-item img { width: 34px; height: 48px; object-fit: cover; border-radius: 3px; flex: none; }
.fav-item b { display: block; font-size: 10.5px; font-weight: 500; }
.fav-item em { display: block; color: var(--dim); font-style: normal; font-size: 9px; margin-top: 2px; }
.fav-empty { color: var(--dim); font-size: 10px; padding: 14px 0; text-align: center; }
.fav-folder-actions { display: flex; justify-content: flex-end; margin-bottom: 8px; }
.fav-folder-actions button { height: 27px; padding: 0 10px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--accent); font-size: 9.5px; }
.fav-picker-new { color: var(--accent) !important; border-top: 1px solid var(--line-soft) !important; border-radius: 0 0 6px 6px !important; margin-top: 4px; }
.fav-picker-empty { color: var(--dim); font-size: 9px; padding: 6px 8px; }
.fav-folder-modal { width: min(380px, 100%); }
.fav-folder-modal h2 { margin: 0 0 10px; font-size: 16px; }
.fav-folder-list { display: flex; flex-direction: column; gap: 4px; max-height: 310px; overflow-y: auto; margin-bottom: 8px; }
.fav-folder-choice { display: flex; align-items: center; gap: 8px; width: 100%; border: 1px solid var(--line-soft); border-radius: 8px; background: var(--surface-2); color: var(--text); padding: 9px; text-align: left; }
.fav-folder-choice.active { border-color: rgba(47, 127, 211, .45); background: rgba(47, 127, 211, .06); }
.fav-folder-radio { width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--line-strong); flex: none; }
.fav-folder-choice.active .fav-folder-radio { border: 3px solid var(--accent); }
.fav-folder-choice b { font-size: 10.5px; font-weight: 500; }
.fav-folder-choice em { margin-left: auto; color: var(--dim); font-style: normal; font-size: 8.5px; }
.fav-folder-new { width: 100%; height: 30px; margin-bottom: 12px; border: 1px dashed var(--line); border-radius: 6px; background: transparent; color: var(--accent); font-size: 9.5px; }
.msg-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 10px; min-height: 460px; }
.msg-sidebar, .msg-main { border: 1px solid var(--line); border-radius: 10px; background: var(--surface); overflow: hidden; }
.msg-sidebar { padding: 10px; }
.msg-sidebar h3 { margin: 0 0 8px; font-size: 12px; }
.msg-conv-list { display: flex; flex-direction: column; gap: 4px; max-height: 520px; overflow-y: auto; }
.msg-conv { display: flex; align-items: center; gap: 7px; width: 100%; border: 0; border-radius: 7px; background: transparent; padding: 7px; text-align: left; color: var(--text); }
.msg-conv:hover, .msg-conv.active { background: var(--surface-2); }
.msg-avatar { width: 27px; height: 27px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; overflow: hidden; flex: none; font-size: 10px; color: var(--accent); }
.msg-avatar img { width: 100%; height: 100%; object-fit: cover; }
.msg-conv-main { min-width: 0; flex: 1; }
.msg-conv-main b, .msg-conv-main em { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.msg-conv-main b { font-size: 9.5px; font-weight: 500; }
.msg-conv-main em { color: var(--dim); font-style: normal; font-size: 8.5px; margin-top: 2px; }
.msg-conv i { min-width: 15px; height: 15px; border-radius: 8px; background: var(--accent); color: #fff; font-size: 8px; font-style: normal; display: grid; place-items: center; }
.msg-main { display: flex; flex-direction: column; min-height: 460px; }
.msg-peer-head { display: flex; align-items: baseline; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--line-soft); }
.msg-peer-head b { font-size: 12px; }
.msg-peer-head span { color: var(--dim); font-size: 8.5px; }
.msg-thread { flex: 1; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 8px; background: var(--surface-2); }
.msg-bubble-row { display: flex; }
.msg-bubble-row.self { justify-content: flex-end; }
.msg-bubble { max-width: 76%; border: 1px solid var(--line-soft); border-radius: 9px; background: var(--surface); padding: 7px 9px; }
.msg-bubble-row.self .msg-bubble { background: rgba(47, 127, 211, .1); border-color: rgba(47, 127, 211, .2); }
.msg-bubble p { margin: 0; font-size: 10px; line-height: 1.6; color: var(--text); }
.msg-bubble time { display: block; color: var(--dim); font-size: 7.5px; margin-top: 3px; }
.msg-compose { display: flex; gap: 7px; padding: 9px 10px; border-top: 1px solid var(--line-soft); }
.msg-compose textarea { flex: 1; min-height: 34px; max-height: 90px; resize: vertical; border: 1px solid var(--line); border-radius: 7px; background: var(--surface-2); color: var(--text); padding: 7px 8px; font-size: 10px; }
.msg-compose button { height: 34px; }
.msg-empty { color: var(--dim); font-size: 10px; padding: 18px 10px; }
.uh-follow.ghost { background: transparent; color: var(--muted); border-color: var(--line); }
@media (max-width: 760px) { .msg-layout { grid-template-columns: 1fr; } .msg-main { min-height: 380px; } .msg-sidebar { max-height: 210px; } }
.folder-name-input { width: 100%; height: 34px; margin-bottom: 4px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface-2); color: var(--text); padding: 0 9px; font-size: 11px; }
.fav-post-item { display: block; width: 100%; border: 1px solid var(--line-soft); border-radius: 6px; background: var(--surface-2); color: var(--text); text-align: left; padding: 8px 9px; }
.fav-post-item:hover { border-color: var(--line-strong); }
.fav-post-item b { display: block; font-size: 10px; font-weight: 500; }
.fav-post-item span { display: block; color: var(--dim); font-size: 9px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.drawer-head-info { position: relative; }
.fav-picker { position: absolute; left: 0; top: 42px; z-index: 30; width: 178px; padding: 6px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); box-shadow: 0 14px 34px rgba(47, 82, 112, .2); }
.fav-picker-title { color: var(--dim); font-size: 8.5px; padding: 4px 6px 6px; }
.fav-picker button { display: block; width: 100%; border: 0; border-radius: 6px; background: transparent; color: var(--muted); text-align: left; padding: 6px 8px; font-size: 10px; }
.fav-picker button:hover, .fav-picker button.active { background: var(--surface-2); color: var(--accent); }
.fav-picker button.danger { color: var(--red); border-top: 1px solid var(--line-soft); border-radius: 0 0 6px 6px; margin-top: 4px; }
.fav-category { border: 1px solid var(--line); border-radius: 9px; background: var(--surface); padding: 10px; margin-bottom: 9px; }
.fav-category-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 7px; }
.fav-category-head b { font-size: 11px; font-weight: 500; }
.fav-category-head em { color: var(--dim); font-style: normal; font-size: 8.5px; margin-left: 5px; }
.fav-category-controls { display: flex; align-items: center; gap: 7px; }
.fav-category-controls > button { border: 0; background: transparent; color: var(--dim); font-size: 8.5px; padding: 0; }
.fav-category-controls > button:hover { color: var(--accent); }
.fav-category-controls > button.danger { color: var(--red); }
.fav-cat-public { display: inline-flex; align-items: center; gap: 4px; color: var(--dim); font-size: 9px; cursor: pointer; }
.fav-cat-public input { accent-color: var(--accent); }
.fav-category-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 5px; }
@media (max-width: 760px) {
  .fav-category-list { grid-template-columns: 1fr; }
}
.drawer-admin button, .review-edit, .review-del { border: 1px solid var(--line); border-radius: 4px; background: transparent; color: var(--muted); font-size: 10px; padding: 2px 6px; }
.drawer-admin button:hover, .review-edit:hover, .review-del:hover { color: var(--text); border-color: #9ec4e2; }
.review-edit { margin-left: 6px; color: var(--accent); }
.review-del { margin-left: 6px; color: var(--red); }
.review-toggle { margin-top: 8px; border: 0; background: transparent; color: var(--accent); font-size: 10.5px; padding: 0; }
.review-toggle:hover { text-decoration: underline; }
.ai-verdict { border-left: 2px solid var(--accent); padding: 6px 0 6px 10px; color: var(--text); font-size: 12px; line-height: 1.75; margin-bottom: 10px; }
.ai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ai-grid > div { border: 1px solid var(--line); border-radius: 7px; background: var(--surface-2); padding: 8px 9px; }
.ai-grid label { display: block; color: var(--dim); font-size: 9.5px; margin-bottom: 2px; }
.ai-grid p { margin: 0; color: var(--muted); font-size: 10.5px; line-height: 1.65; }
.ai-block, .ai-cols { margin-top: 8px; }
.ai-block b, .ai-cols b { font-size: 10.5px; color: var(--text); font-weight: 600; }
.ai-block ul, .ai-cols ul { margin: 4px 0 0; padding-left: 15px; color: var(--muted); font-size: 10.5px; line-height: 1.7; }
.ai-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ai-cols > div { border: 1px solid var(--line); border-radius: 7px; padding: 8px 9px; background: var(--surface-2); }
.add-review { display: grid; grid-template-columns: 64px 1fr; gap: 6px; margin-top: 10px; }
.add-review input, .add-review textarea { border: 1px solid var(--line); border-radius: 5px; background: var(--surface-2); color: var(--text); font-size: 11px; padding: 5px 7px; }
.add-review textarea { grid-column: 1 / -1; min-height: 48px; }
.add-review .btn-primary { grid-column: 1 / -1; height: 30px; }

/* ------------------------------------------------------------ 闁告繂绉寸花鎻掝嚕?*/
@media (max-width: 900px) {
  .topbar { flex-wrap: wrap; height: auto; padding: 10px 16px; gap: 8px; }
  .brand { flex: 1; }
  .topbar-left { flex: 1; }
  .main-nav { order: 3; width: 100%; }
  .actions { width: 100%; }
  .topbar .search { flex: 1; width: auto; position: static; transform: none; left: auto; top: auto; }
  main { padding: 20px 16px 30px; }
  .page-head { flex-direction: column; align-items: flex-start; }
  .head-meta { text-align: left; }
  .board-head { flex-direction: column; }
  .board-tools { width: 100%; }
  .board-tools select { flex: 1; }
  .track-board { grid-template-columns: 1fr 1fr; }
  .method-grid { grid-template-columns: 1fr; }
  .weather-pop { left: 12px; right: 12px; top: 112px; width: auto; }
  .notice-pop { left: 12px; right: 12px; top: 112px; width: auto; }
  .detail-bar { order: 3; margin-left: 0; }
  .drawer { border-radius: 0; }
  .admin-layout { grid-template-columns: 1fr; gap: 0; }
  .admin-tabs { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 4px; margin-bottom: 10px; background: var(--surface); z-index: 3; }
  .admin-tabs button { white-space: nowrap; border-left: 0; border-bottom: 2px solid transparent; border-radius: 0; }
  .admin-tabs button.active { border-left-color: transparent; border-bottom-color: var(--accent); }
  .admin-overview-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  html, body { overflow-x: hidden; }
  body { padding-bottom: 76px; }
  .topbar { display: flex; flex-wrap: wrap; height: auto; padding: 8px 14px 6px; gap: 6px; }
  .brand { order: 1; flex: 1; min-width: 0; }
  .brand-name { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .actions { display: contents; }
  .topbar-left { order: 1; flex: 1; min-width: 0; gap: 5px; }
  .notice-btn { order: 2; }
  .weather-pill { order: 3; }
  .weather-pill #weatherCity { display: none; }
  #refreshBtn { order: 2; }
  .topbar .search { order: 3; flex: 1 0 100%; width: 100%; margin-top: 2px; }
  body:not(.mobile-search-page):not(.home-page) .search { display: none; }
  .avatar-wrap { display: none; }
  .main-nav { display: none; }
  .app-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: repeat(3, 1fr); padding: 5px 8px calc(5px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(255,255,255,.96); backdrop-filter: blur(16px); box-shadow: 0 -12px 30px rgba(0, 0, 0, .28); }
  .app-nav.three { grid-template-columns: repeat(3, 1fr); }
  body.detail-open .app-nav { display: none; }
  .app-nav button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; height: 48px; border: 0; border-radius: 8px; background: transparent; color: var(--dim); font-size: 9px; }
  .app-nav button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .app-nav button.active { color: var(--accent); background: rgba(47, 127, 211, .06); }
  .topbar { padding: 8px 14px; gap: 7px; }
  .brand-name { font-size: 13px; }
  .main-nav { display: none; }
  .actions { gap: 5px; }
  .search { height: 34px; }
  .page-head { flex-wrap: wrap; gap: 8px; margin-bottom: 14px; align-items: flex-start; }
  .page-head h1 { font-size: 21px; }
  .head-meta { display: none; }
  .page-back { display: none !important; }
  body.my-subpage .page-back { display: inline-flex !important; }
  body.detail-open .page-back { display: none !important; }
  body.analytics-view .page-head { margin: 0 0 8px; display: block; }
  body.analytics-view #pageTitle, body.analytics-view #pageSub { display: none; }
  body.analytics-view .page-back { margin: 0; }
  body.analytics-view .analytics-page { padding: 0; }
  body.analytics-view .analytics-head { margin-bottom: 12px; }
  .analysis-subnav { max-width: none; margin-bottom: 10px; }
  .analytics-head-actions button { display: none; }
  .app-page.metrics-page { max-width: none; margin: 0; }
  .metrics-head h2 { font-size: 20px; }
  .metrics-toolbar input { min-width: 0; }
  .metrics-list { max-height: none; }
  .detail-bar { order: 3; width: 100%; justify-content: space-between; margin: 0; }
  main { padding: 14px 14px 20px; }
  body.home-page main { padding-left: 14px; padding-right: 14px; }
  .home-filters { gap: 4px; padding: 2px 0 10px; }
  .app-page { max-width: none; margin: 0; }
  .app-page.home-works-page { max-width: none; display: block; }
  .data-backend-page { max-width: none; }
  .db-head { align-items: flex-start; }
  .db-section-head { flex-wrap: wrap; }
  .db-view-row { grid-template-columns: minmax(0, 1fr) 100px; }
  .db-view-row span { display: none; }
  .home-category-aside { display: none; }
  .home-visual { display: flex; position: static; width: 100%; padding: 0; margin-bottom: 12px; border: 0; background: transparent; }
  .home-carousel { aspect-ratio: 16 / 9; border-radius: 10px; }
  .home-visual > b, .home-visual > span { display: none; }
  .leaderboard-page { max-width: none; }
  .lb-top3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lb-row { grid-template-columns: 28px minmax(0, 1fr) 52px 40px 40px; gap: 6px; padding: 9px 10px; }
  .creator-form-card { padding: 14px; }
  .creator-grid { grid-template-columns: 1fr; }
  .creator-quick-row, .creator-cover-row { grid-template-columns: 1fr; }
  .review-card { flex-wrap: wrap; }
  .review-cover { width: 38px; height: 52px; }
  .review-actions { width: 100%; justify-content: flex-end; }
  .creator-full { grid-column: auto; }
  .ent-upload-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-search-landing { max-width: none; margin: 0; }
  .home-filter-row { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 3px; scrollbar-width: none; }
  .home-filter-row::-webkit-scrollbar { display: none; }
  .home-filter-label { width: 30px; font-size: 9px; }
  .home-chip { flex: none; height: 28px; border-radius: 14px; }
  .top3 { display: grid; grid-template-columns: 1fr; gap: 8px; overflow: visible; margin-bottom: 18px; }
  .top3-card { flex: none; width: auto; padding: 13px; gap: 12px; }
  .top3-card img { width: 74px; height: 104px; }
  .top3-title { font-size: 15px; max-width: 220px; }
  .top3-meta { max-width: 220px; }
  .top3-stats { margin-top: 7px; }
  .top3-stats b { font-size: 21px; }
  .home-table, #board .table-wrap { display: none; }
  .mobile-work-list { display: flex; flex-direction: column; gap: 8px; }
  .m-work-card { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); padding: 9px; position: relative; }
  .m-work-rank { flex: none; width: 22px; color: var(--dim); font-family: var(--num); font-size: 11px; text-align: center; }
  .m-work-rank.top { color: var(--accent); }
  .m-work-cover { flex: none; width: 48px; height: 68px; border-radius: 5px; overflow: hidden; background: var(--surface-2); }
  .m-work-cover img { width: 100%; height: 100%; object-fit: cover; }
  .m-work-info { flex: 1; min-width: 0; }
  .m-work-info b { display: block; color: var(--text); font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .m-work-info > span { display: block; color: var(--dim); font-size: 9px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .m-work-metrics { display: flex; gap: 8px; margin-top: 5px; }
  .m-work-metrics em { color: var(--muted); font-style: normal; font-family: var(--num); font-size: 9px; }
  .m-work-metrics em:first-child { color: var(--accent); }
  .m-work-heat { height: 3px; border-radius: 3px; background: #dcebf8; margin-top: 6px; overflow: hidden; }
  .m-work-heat i { display: block; height: 100%; border-radius: 3px; background: var(--accent); }
  .m-work-chev { color: var(--dim); font-size: 18px; flex: none; }
  .mobile-empty { color: var(--dim); font-size: 10px; text-align: center; padding: 18px 0; }
  footer { display: none; }
  .home-expand .btn-ghost { width: 100%; height: 38px; border-radius: 9px; }
  .search-grid { grid-template-columns: 1fr; }
  .section-head { margin-top: 4px; }
  .board-foot { font-size: 9px; }
  .app-nav { box-shadow: 0 -12px 30px rgba(0, 0, 0, .28); }
}

@media (max-width: 560px) {
  .brand-en { display: none; }
  .weather-pill #weatherCity { display: none; }
  .page-head h1 { font-size: 20px; }
  .track-board { grid-template-columns: 1fr; }
  .drawer-head { padding: 16px; }
  .drawer-head img { width: 68px; height: 96px; }
  .drawer-body { padding: 14px 16px 24px; }
  .drawer-stats { grid-template-columns: 1fr 1fr; }
  .rep-cols { grid-template-columns: 1fr; }
  .charts { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .weather-fx { display: none; }
}


@media (max-width: 760px) {
  .user-detail-grid { grid-template-columns: 1fr; }
}

@media (min-width: 761px) {
  #pageBack, #detailBack, #userDetailBack { display: none !important; }
}


/* 娑撳﹣绱舵担婊冩惂 */
.creator-hero { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; text-align: center; padding: 28px 16px 24px; margin-bottom: 14px; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(160deg, rgba(47,127,211,.09), rgba(47,127,211,.02) 62%, var(--surface)); }
.creator-hero-kicker { color: var(--accent); font-size: 9px; letter-spacing: .16em; }
.creator-hero h1 { margin: 0; font-size: 26px; }
.creator-hero p { margin: 0 0 8px; color: var(--dim); font-size: 10.5px; }
.creator-hero-btn { height: 34px; padding: 0 18px; border: 1px solid rgba(47,127,211,.35); border-radius: 17px; background: var(--accent); color: #fff; font-size: 11px; }
.creator-form-title { text-align: center; margin-bottom: 12px; }
.creator-form-title span { color: var(--accent); font-size: 8.5px; letter-spacing: .16em; }
.creator-form-title h2 { margin: 2px 0 3px; font-size: 19px; }
.creator-form-title p { margin: 0; color: var(--dim); font-size: 9.5px; }
.creator-upload-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.creator-upload-box { display: flex; flex-direction: column; gap: 3px; padding: 12px; border: 1px dashed var(--line-strong); border-radius: 9px; background: var(--surface-2); cursor: pointer; }
.creator-upload-box:hover { border-color: var(--accent); }
.creator-upload-box b { color: var(--text); font-size: 10.5px; font-weight: 500; }
.creator-upload-box span { color: var(--dim); font-size: 8.5px; }
.creator-upload-box input { width: 100%; margin-top: 5px; color: var(--dim); font-size: 8.5px; }
.creator-form-card { max-width: 620px; margin: 0 auto; }
@media (max-width: 600px) { .creator-upload-grid { grid-template-columns: 1fr; } .creator-hero h1 { font-size: 23px; } }

/* 閹貉冨煑闂堛垺婢?*/
.control-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 20px 22px; margin-bottom: 12px; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(140deg, rgba(47,127,211,.10), rgba(47,127,211,.02) 65%, var(--surface)); }
.control-kicker { color: var(--accent); font-size: 8.5px; letter-spacing: .16em; }
.control-hero h1 { margin: 3px 0 4px; font-size: 24px; }
.control-hero p { margin: 0; color: var(--dim); font-size: 10px; }
.control-hero-status { text-align: right; flex: none; }
.control-hero-status b { display: block; font-size: 11px; }
.control-hero-status b.ok { color: var(--green); }
.control-hero-status b.warn { color: #b7791f; }
.control-hero-status b.bad { color: var(--red); }
.control-hero-status span { color: var(--dim); font-size: 8.5px; }
.control-tabs { display: flex; gap: 3px; padding: 4px; margin-bottom: 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); max-width: 420px; }
.control-tabs button { flex: 1; height: 31px; border: 0; border-radius: 6px; background: transparent; color: var(--dim); font-size: 10.5px; }
.control-tabs button.active { color: var(--accent); background: rgba(47,127,211,.1); font-weight: 600; }
.control-kpis { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 7px; margin-bottom: 10px; }
.control-kpis > div { padding: 9px; border: 1px solid var(--line-soft); border-radius: 8px; background: var(--surface); }
.control-kpis span { display: block; color: var(--dim); font-size: 8px; }
.control-kpis b { display: block; margin-top: 3px; color: var(--text); font-size: 11px; font-weight: 600; }
.control-kpis b.ok { color: var(--green); }
.control-kpis b.bad { color: var(--red); }
.control-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.control-card { border: 1px solid var(--line); border-radius: 10px; background: var(--surface); padding: 11px 12px; }
.control-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.control-card-head h3 { margin: 0; font-size: 11px; }
.control-card-head span { color: var(--dim); font-size: 8px; }
.control-checks { display: flex; flex-direction: column; gap: 4px; }
.control-checks > div { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; gap: 6px; align-items: center; font-size: 9px; }
.control-checks i { width: 15px; height: 15px; display: grid; place-items: center; border-radius: 50%; font-style: normal; font-size: 8px; }
.control-checks .ok i { color: var(--green); background: rgba(34,197,94,.1); }
.control-checks .warn i { color: #b7791f; background: rgba(183,121,31,.12); }
.control-checks b { color: var(--dim); font-size: 8.5px; font-weight: 400; }
.control-lines { display: flex; flex-direction: column; gap: 5px; }
.control-line { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 9px; }
.control-line span { color: var(--dim); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.control-line b, .control-line em { color: var(--muted); font-style: normal; font-weight: 500; font-size: 9px; flex: none; }
.control-line b.ok { color: var(--green); }
.control-line b.warn { color: #b7791f; }
.control-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 11px; }
.control-actions button { height: 30px; padding: 0 12px; border-radius: 7px; font-size: 9.5px; }
@media (max-width: 900px) { .control-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } .control-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .control-hero { align-items: flex-start; flex-direction: column; } .control-hero-status { text-align: left; } .control-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.home-visual-subtitle { width: 100%; padding: 1px 2px 0; color: var(--accent); font-size: 9px; letter-spacing: .18em; text-align: left; }

.ai-module-grid { display: flex; flex-wrap: wrap; gap: 5px; margin: 8px 0 9px; }
.ai-module-grid button { height: 27px; padding: 0 9px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-2); color: var(--muted); font-size: 9px; }
.ai-module-grid button:hover { border-color: rgba(47,127,211,.4); color: var(--accent); background: rgba(47,127,211,.06); }
.ai-history { margin-top: 10px; border-top: 1px solid var(--line-soft); padding-top: 9px; }
.ai-history-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 5px; }
.ai-history-head b { font-size: 10px; font-weight: 500; }
.ai-history-head span { color: var(--dim); font-size: 8.5px; }
.ai-history-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 4px 0; font-size: 9px; color: var(--muted); border-bottom: 1px dashed var(--line-soft); }
.ai-history-row em { color: var(--dim); font-style: normal; flex: none; font-size: 8px; }

.user-account { color: var(--muted); font-size: 9px; }

/* 妫ｆ牠銆夐崝銊︹偓?*/
.feed-hero { padding: 22px 24px; margin-bottom: 14px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(150deg, rgba(47,127,211,.11), rgba(47,127,211,.025) 62%, var(--surface)); }
.feed-hero-kicker { color: var(--accent); font-size: 8.5px; letter-spacing: .16em; }
.feed-hero h1 { margin: 4px 0 5px; font-size: 25px; letter-spacing: -.01em; }
.feed-hero p { margin: 0; color: var(--dim); font-size: 10.5px; }
#homeView .feed-compose { margin-bottom: 14px; }
#homeView .feed-head { margin-top: 4px; }
.uh-space .uh-stat { border: 0; background: transparent; padding: 0; cursor: pointer; text-align: left; }
.uh-space .uh-stat:hover b, .uh-space .uh-stat.active b { color: var(--accent); }
.uh-space .uh-stat.active span { color: var(--accent); }
@media (max-width: 700px) { .feed-hero { padding: 18px 16px; } .feed-hero h1 { font-size: 22px; } }

.feed-hero-subtitle { display: block; margin-bottom: 3px; color: var(--text); font-size: 12px; font-weight: 600; letter-spacing: .08em; }

@media (max-width: 760px) {
  #messageBtn { order: 2; margin-left: auto; }
  #historyBtn { order: 2; }
}

/* 濡楀矂娼扮粩顖氼潗缂佸牅濞囬悽銊︻攽闂堛垹顕遍懜顏庣礉娑撳秵妯夌粈鐑樺閺堝搫绨抽柈銊ㄥ綅閸?*/
@media (hover: hover) and (pointer: fine) {
  .app-nav { display: none !important; }
  body { padding-bottom: 0; }
}

/* 濡楀矂娼版い鍫曞劥閸忋儱褰?*/
.top-action { width: auto; height: 34px; padding: 0 10px; gap: 6px; border-radius: 17px; display: inline-flex; align-items: center; }
.top-action svg { width: 16px; height: 16px; }
.top-action-label { color: var(--muted); font-size: 10px; white-space: nowrap; }
.top-action:hover .top-action-label { color: var(--text); }
.actions .avatar-btn { width: 44px; height: 44px; }
.actions .avatar-wrap { margin-left: 2px; }
@media (max-width: 760px) {
  .top-action { width: 32px; height: 32px; padding: 0; gap: 0; border-radius: 7px; }
  .top-action-label { display: none; }
  .actions .avatar-btn { width: 40px; height: 40px; }
}

/* 缁変椒淇婃い?*/
.msg-page-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.msg-page-head h2 { margin: 0; font-size: 19px; }
.msg-page-head p { margin: 2px 0 0; color: var(--dim); font-size: 9px; }
.msg-new-btn { height: 31px; padding: 0 12px; border: 1px solid rgba(47,127,211,.35); border-radius: 16px; background: rgba(47,127,211,.08); color: var(--accent); font-size: 9.5px; }
.msg-new-panel { margin-bottom: 10px; padding: 9px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); }
.msg-new-panel > input { width: 100%; height: 32px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface-2); color: var(--text); padding: 0 9px; font-size: 10px; }
.msg-user-results { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.msg-user-results > button { display: flex; align-items: center; gap: 5px; border: 1px solid var(--line-soft); border-radius: 14px; background: var(--surface-2); padding: 4px 8px 4px 4px; color: var(--text); font-size: 9px; }
.msg-user-results > button b { font-weight: 500; }
.msg-user-results > button em { color: var(--dim); font-style: normal; font-size: 8px; }
.msg-side-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 6px; }
.msg-side-head h3 { margin: 0; font-size: 11px; }
.msg-side-head span { color: var(--dim); font-size: 8px; }
.msg-conv-search { width: 100%; height: 28px; margin-bottom: 6px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface-2); color: var(--text); padding: 0 8px; font-size: 9px; }
.msg-peer-head > div { min-width: 0; flex: 1; }
.msg-peer-head > div b { display: block; color: var(--text); font-size: 11px; }
.msg-peer-head > div span { color: var(--dim); font-size: 8px; }
.msg-peer-avatar { width: 30px; height: 30px; }
.msg-refresh { height: 24px; padding: 0 8px; border: 1px solid var(--line); border-radius: 12px; background: transparent; color: var(--dim); font-size: 8.5px; }
.msg-refresh:hover { color: var(--accent); border-color: rgba(47,127,211,.35); }
.msg-conv[hidden] { display: none; }
@media (max-width: 760px) { .msg-page-head { margin-bottom: 8px; } .msg-layout { min-height: 0; } .msg-sidebar { max-height: 240px; } }

/* 濡楀矂娼伴崣鍏呯瑐鐟欐帡銆庢惔蹇ョ窗閸樺棗褰?閳?婢舵潙鍎?閳?缁変椒淇?*/
@media (min-width: 761px) {
  .actions .avatar-wrap { order: 1; margin-left: 2px; }
  .actions #messageBtn { order: 2; }
  .actions #historyBtn { order: 3; }
  .actions { gap: 7px; }
  .top-action { height: 36px; }
  #messageBtn { background: rgba(47, 127, 211, .09); border-color: rgba(47, 127, 211, .28); color: var(--accent); }
  #messageBtn .top-action-label { color: var(--accent); }
  #messageBtn:hover { background: rgba(47, 127, 211, .15); border-color: rgba(47, 127, 211, .48); }
}

/* 妞ゅ爼鍎撮幃顒佽癁鐏忓繑顢?*/
.top-hover-pop { position: fixed; z-index: 120; width: 278px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: 0 18px 46px rgba(47,82,112,.2); }
.top-pop-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 7px; }
.top-pop-head b { font-size: 11px; }
.top-pop-head span { color: var(--dim); font-size: 8px; }
.top-pop-list { display: flex; flex-direction: column; gap: 3px; }
.top-pop-row { display: flex; align-items: center; gap: 7px; width: 100%; border: 0; border-radius: 7px; background: transparent; padding: 6px; text-align: left; color: var(--text); }
.top-pop-row:hover { background: var(--surface-2); }
.top-pop-row > span:not(.msg-avatar) { min-width: 0; flex: 1; }
.top-pop-row b, .top-pop-row em { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.top-pop-row b { font-size: 9.5px; font-weight: 500; }
.top-pop-row em { color: var(--dim); font-style: normal; font-size: 8px; margin-top: 2px; }
.top-pop-row i { min-width: 15px; height: 15px; border-radius: 8px; background: var(--accent); color: #fff; font-size: 8px; font-style: normal; display: grid; place-items: center; }
.top-pop-empty { margin: 8px 2px; color: var(--dim); font-size: 9px; }
.top-pop-more { width: 100%; height: 28px; margin-top: 6px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface-2); color: var(--accent); font-size: 9px; }
.top-pop-more:hover { border-color: rgba(47,127,211,.4); }
@media (max-width: 760px) { .top-hover-pop { display: none !important; } }

/* 娑撴挻鐖?*/
.columns-page { max-width: 1040px; }
.columns-hero { padding: 24px 22px; margin-bottom: 14px; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(150deg, rgba(47,127,211,.09), rgba(47,127,211,.02) 65%, var(--surface)); }
.columns-hero > span { color: var(--accent); font-size: 8.5px; letter-spacing: .18em; }
.columns-hero h1 { margin: 4px 0 5px; font-size: 27px; }
.columns-hero p { margin: 0; color: var(--dim); font-size: 10.5px; }
.columns-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.column-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); padding: 0; text-align: left; color: var(--text); }
.column-card > img, .column-placeholder { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; background: var(--surface-2); display: grid; place-items: center; color: var(--accent); font-size: 30px; }
.column-card-body { padding: 11px 12px 13px; }
.column-card-body > span { color: var(--accent); font-size: 8px; letter-spacing: .1em; }
.column-card-body h2 { margin: 3px 0 4px; font-size: 15px; }
.column-card-body p { margin: 0 0 7px; color: var(--dim); font-size: 9.5px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.column-card-body em { color: var(--dim); font-style: normal; font-size: 8.5px; }
.column-card:hover { border-color: rgba(47,127,211,.4); transform: translateY(-1px); }
.column-empty, .column-detail .creator-loading { padding: 30px; text-align: center; color: var(--dim); font-size: 10px; }
.column-back { margin: 0 0 10px; height: 29px; padding: 0 10px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); color: var(--muted); font-size: 9.5px; }
.column-article { max-width: 760px; margin: 0 auto; }
.column-cover { width: 100%; max-height: 420px; object-fit: cover; border-radius: 12px; margin-bottom: 14px; }
.column-kicker { color: var(--accent); font-size: 8.5px; letter-spacing: .16em; }
.column-article h1 { margin: 5px 0 6px; font-size: 28px; line-height: 1.3; }
.column-meta { padding-bottom: 12px; border-bottom: 1px solid var(--line-soft); color: var(--dim); font-size: 9px; }
.column-content { padding-top: 14px; }
.column-content p { margin: 0 0 14px; color: var(--text); font-size: 13px; line-height: 1.9; }
.column-admin-list { display: flex; flex-direction: column; gap: 4px; margin-top: 10px; }
.column-admin-row { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border: 1px solid var(--line-soft); border-radius: 6px; }
.column-admin-row > div { flex: 1; min-width: 0; }
.column-admin-row b, .column-admin-row em { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.column-admin-row b { font-size: 10px; }
.column-admin-row em { color: var(--dim); font-style: normal; font-size: 8px; }
.column-admin-row > span { font-size: 8px; }
.column-admin-row > span.ok { color: var(--green); }
.column-admin-row > span.warn { color: #b7791f; }
.column-admin-row button { height: 24px; padding: 0 7px; border: 1px solid var(--line); border-radius: 5px; background: transparent; color: var(--muted); font-size: 8.5px; }
@media (max-width: 700px) { .columns-grid { grid-template-columns: 1fr; } .column-article h1 { font-size: 22px; } .column-content p { font-size: 12px; } }

.avatar-menu-stats { display: flex; gap: 18px; align-items: center; padding: 5px 8px 9px; margin-bottom: 6px; border-bottom: 1px solid var(--line-soft); }
.avatar-menu-stats span { color: var(--dim); font-size: 9px; }
.avatar-menu-stats b { margin-right: 3px; color: var(--text); font-family: var(--num); font-size: 13px; font-weight: 600; }

.columns-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; }
.column-publish { height: 33px; padding: 0 14px; border: 1px solid rgba(47,127,211,.35); border-radius: 17px; background: rgba(47,127,211,.08); color: var(--accent); font-size: 9.5px; flex: none; }
@media (max-width: 600px) { .columns-hero { align-items: flex-start; flex-direction: column; } }

/* 閸愭瑤绗撻弽?*/
.column-editor-page { max-width: 820px; }
.column-editor-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.column-editor-head > div { flex: 1; }
.column-editor-head span { color: var(--accent); font-size: 8.5px; letter-spacing: .16em; }
.column-editor-head h1 { margin: 3px 0 4px; font-size: 24px; }
.column-editor-head p { margin: 0; color: var(--dim); font-size: 9.5px; }
.column-editor-form { display: grid; gap: 10px; }
.column-editor-form > label { display: flex; flex-direction: column; gap: 4px; color: var(--dim); font-size: 9px; }
.column-editor-form input, .column-editor-form select, .column-editor-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--text); padding: 8px 9px; font-size: 11px; }
.column-editor-form textarea { min-height: 280px; line-height: 1.7; resize: vertical; }
.column-editor-form .creator-upload-box { display: flex; align-items: center; gap: 8px; padding: 10px; }
.column-editor-form .creator-upload-box em { color: var(--dim); font-style: normal; font-size: 8.5px; }
.column-cover-preview { min-height: 42px; display: flex; align-items: center; justify-content: center; border: 1px dashed var(--line); border-radius: 8px; color: var(--dim); font-size: 9px; overflow: hidden; }
.column-cover-preview img { width: 100%; max-height: 260px; object-fit: cover; }
.column-admin-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.column-admin-head h3 { margin-top: 0; }
@media (max-width: 600px) { .column-editor-head { flex-direction: column; } .column-editor-form textarea { min-height: 220px; } }

/* 娑撳﹣绱剁憴鍡涱暥 */
.video-form-card { max-width: 760px; margin: 0 auto 14px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.video-form-head { margin-bottom: 12px; }
.video-form-head span { color: var(--accent); font-size: 8.5px; letter-spacing: .16em; }
.video-form-head h3 { margin: 3px 0 3px; font-size: 19px; }
.video-form-head p { margin: 0; color: var(--dim); font-size: 9.5px; }
.video-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.video-form-grid > label { display: flex; flex-direction: column; gap: 4px; color: var(--dim); font-size: 9px; }
.video-form-grid .creator-full { grid-column: 1 / -1; }
.video-form-grid input, .video-form-grid select, .video-form-grid textarea { width: 100%; border: 1px solid var(--line); border-radius: 7px; background: var(--surface-2); color: var(--text); padding: 8px 9px; font-size: 11px; }
.video-cover-preview { min-height: 42px; display: flex; align-items: center; justify-content: center; border: 1px dashed var(--line); border-radius: 8px; color: var(--dim); font-size: 9px; overflow: hidden; }
.video-cover-preview img { width: 100%; max-height: 240px; object-fit: cover; }
@media (max-width: 600px) { .video-form-grid { grid-template-columns: 1fr; } }

/* 閸愭瑤绗撻弽蹇庣喘閸?*/
.column-editor-form { padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.column-editor-form > label { color: var(--dim); font-size: 9px; }
.column-editor-form input, .column-editor-form select, .column-editor-form textarea { background: var(--surface-2); font-size: 11px; }
.column-editor-form textarea { min-height: 320px; }
.column-editor-meta { display: flex; justify-content: space-between; gap: 8px; color: var(--dim); font-size: 8.5px; }
.column-editor-form .admin-actions { position: sticky; bottom: 8px; padding: 9px; margin: 0 -4px -4px; border: 1px solid var(--line-soft); border-radius: 8px; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); }

/* 濡楀矂娼板Ο顏嗗閸掑棛琚€佃壈鍩?*/
@media (min-width: 761px) {
  .main-nav button { padding: 6px 7px; font-size: 11px; white-space: nowrap; }
  .topbar .search { width: min(380px, 28vw); }
}
@media (min-width: 761px) and (max-width: 1280px) {
  #weatherCity { display: none; }
}
@media (min-width: 761px) and (max-width: 1400px) {
  .topbar .search { width: min(320px, 24vw); }
}

/* 閸斻劍鈧胶閮寸紒鐔剁喘閸?*/
.feed-page { max-width: 720px; }
.feed-page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.feed-page-head h1 { margin: 0; font-size: 21px; }
.feed-page-head .feed-count { display: block; margin-top: 2px; color: var(--dim); font-size: 9px; }
.feed-page-tools { display: flex; align-items: center; gap: 6px; }
.feed-sort { display: flex; padding: 2px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); }
.feed-sort button { height: 22px; padding: 0 8px; border: 0; border-radius: 5px; background: transparent; color: var(--dim); font-size: 9px; }
.feed-sort button.active { background: rgba(47,127,211,.09); color: var(--accent); }
.feed-refresh { height: 28px; padding: 0 9px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--muted); font-size: 9px; }
.feed-refresh:hover { color: var(--accent); border-color: rgba(47,127,211,.35); }
.feed-filter-card { padding: 7px; margin-bottom: 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.feed-filter-card .feed-tabs { border: 0; background: transparent; padding: 0 0 6px; }
.feed-filter-card #feedSearch { height: 29px; background: var(--surface-2); }
.feed-filter-card .feed-topics { margin-top: 5px; }
.post-composer { padding: 14px; }
.post-compose-head { align-items: flex-start; }
.post-compose-head > div b { display: block; font-size: 11px; font-weight: 500; }
.post-compose-head > div span { display: block; color: var(--dim); font-size: 8.5px; margin-top: 1px; }
.post-topic-line { display: flex; align-items: center; gap: 3px; margin: 6px 0 1px; border-bottom: 1px solid var(--line-soft); }
.post-topic-line > span { color: var(--accent); font-size: 11px; }
.post-topic-line .post-topic { flex: 1; border-bottom: 0; margin: 0; }
.post-content { min-height: 92px; }
.post-actions { justify-content: flex-end; }
.post-upload { display: inline-flex; align-items: center; gap: 5px; margin-right: auto; }
.post-upload svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.post-submit { min-width: 64px; transition: .16s; }
.post-submit:not(:disabled):hover { background: #256fb8; }
.post-image-wrap { display: block; width: 100%; padding: 0; border: 0; background: transparent; margin-top: 8px; cursor: zoom-in; }
.post-image-wrap .post-image { margin-top: 0; }
.post-content-text.clamp { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.post-expand { margin-top: 3px; border: 0; background: transparent; color: var(--accent); font-size: 9px; padding: 0; }
.post-fav { display: inline-flex; align-items: center; gap: 4px; }
.post-fav b { font-weight: 400; }
.post-fav em { font-style: normal; font-family: var(--num); font-size: 8.5px; }
.feed-empty { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 46px 18px; border: 1px dashed var(--line); border-radius: 12px; background: var(--surface); text-align: center; }
.feed-empty b { font-size: 12px; font-weight: 500; }
.feed-empty span { color: var(--dim); font-size: 9.5px; }
.image-lightbox { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(8, 15, 24, .86); backdrop-filter: blur(3px); }
.image-lightbox img { max-width: min(1100px, 94vw); max-height: 90vh; border-radius: 10px; object-fit: contain; box-shadow: 0 24px 70px rgba(0,0,0,.4); }
.image-lightbox-close { position: absolute; top: 16px; right: 18px; width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; background: rgba(0,0,0,.3); color: #fff; font-size: 22px; line-height: 1; }
@media (max-width: 600px) {
  .feed-page-head { align-items: flex-start; }
  .feed-page-head h1 { font-size: 19px; }
  .post-content { min-height: 82px; }
  .feed-filter-card { padding: 6px; }
}

/* 缁旀牜澧楅崚鍡欒閻╃鎻?*/
.ent-category-strip { display: none; }
@media (max-width: 760px) {
  .ent-category-grid { display: none; }
  .ent-category-strip { display: flex; gap: 5px; overflow-x: auto; padding: 0 0 9px; margin-bottom: 8px; scrollbar-width: none; }
  .ent-category-strip::-webkit-scrollbar { display: none; }
  .ent-category-strip button { flex: none; height: 29px; padding: 0 11px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); color: var(--dim); font-size: 9.5px; white-space: nowrap; }
  .ent-category-strip button.active { border-color: rgba(47,127,211,.4); background: rgba(47,127,211,.08); color: var(--accent); }
  .ent-category-strip button em { margin-left: 4px; color: var(--dim); font-style: normal; font-family: var(--num); font-size: 8px; }
}
@media (min-width: 761px) {
  .topbar .search { width: min(420px, 32vw); }
}

/* 缁旀牜澧楁穱婵堟殌閸掑棛琚崡鏇炲帗閸楋紕澧?*/
@media (max-width: 760px) {
  .ent-category-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-bottom: 10px; }
  .ent-category-strip { display: none; }
  .ent-category { min-height: 68px; padding: 10px; }
  .ent-category b { font-size: 11px; }
  .ent-category em { font-size: 8px; }
}

/* 閻絻鍓崇粩顖欏▏閻劑銆婇柈銊γ悧鍫濆瀻缁紮绱濋崚鍡欒妞ゅ吀绗夐崘宥嗘▔缁€鍝勫礋閸忓啫宕遍悧?*/
@media (min-width: 761px) {
  .ent-category-grid, .ent-category-strip { display: none; }
  .topbar .search { width: min(380px, 28vw); }
  .main-nav button { padding: 6px 7px; font-size: 11px; white-space: nowrap; }
}
@media (min-width: 761px) and (max-width: 1400px) {
  .topbar .search { width: min(320px, 24vw); }
}

/* 妫ｆ牠銆夋担婊冩惂閸欏厖鏅舵稉鎾寸埉 */
.home-right-rail { position: sticky; top: 76px; display: flex; flex-direction: column; gap: 12px; align-self: start; }
.home-right-rail .home-category-aside { position: static; }
.home-column-panel { padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.home-column-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.home-column-head b { font-size: 13px; font-weight: 500; }
.home-column-head button { border: 0; background: transparent; color: var(--accent); font-size: 8.5px; padding: 0; }
.home-column-list { display: flex; flex-direction: column; gap: 4px; }
.home-column-item { display: flex; align-items: flex-start; gap: 7px; width: 100%; padding: 5px; border: 0; border-radius: 6px; background: transparent; text-align: left; color: var(--text); }
.home-column-item:hover { background: var(--surface-2); }
.home-column-item img, .home-column-thumb { width: 54px; height: 40px; flex: none; border-radius: 5px; object-fit: cover; background: var(--surface-2); display: grid; place-items: center; color: var(--accent); font-size: 13px; }
.home-column-item > span:last-child { min-width: 0; flex: 1; }
.home-column-item b, .home-column-item em { display: block; overflow: hidden; text-overflow: ellipsis; }
.home-column-item b { font-size: 9.5px; font-weight: 500; white-space: nowrap; }
.home-column-item em { margin-top: 2px; color: var(--dim); font-style: normal; font-size: 8px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.home-column-empty { padding: 10px 2px; color: var(--dim); font-size: 8.5px; }
@media (max-width: 1200px) and (min-width: 761px) {
  .home-right-rail { position: static; }
}
@media (max-width: 760px) {
  .home-right-rail { position: static; margin-top: 12px; }
  .home-column-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-column-item img, .home-column-thumb { width: 46px; height: 36px; }
}

/* 娑擃亙姹夋稉濠氥€夋担婊冩惂閸欏厖鏅舵稉鎾寸埉 */
.uh-works-layout { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 14px; align-items: start; }
.uh-works-main { min-width: 0; }
.uh-column-rail { position: sticky; top: 76px; padding: 11px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); }
.uh-column-rail-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 7px; }
.uh-column-rail-head b { font-size: 12px; font-weight: 500; }
.uh-column-rail-head span { color: var(--dim); font-size: 8px; }
.uh-column-rail-list { display: flex; flex-direction: column; gap: 3px; }
.uh-column-card { display: flex; align-items: flex-start; gap: 7px; width: 100%; padding: 5px; border: 0; border-radius: 6px; background: transparent; color: var(--text); text-align: left; }
.uh-column-card:hover { background: var(--surface-2); }
.uh-column-card img, .uh-column-thumb { width: 50px; height: 37px; flex: none; border-radius: 5px; object-fit: cover; background: var(--surface-2); display: grid; place-items: center; color: var(--accent); font-size: 12px; }
.uh-column-card > span:last-child { min-width: 0; flex: 1; }
.uh-column-card b, .uh-column-card em { display: block; overflow: hidden; text-overflow: ellipsis; }
.uh-column-card b { font-size: 9.5px; font-weight: 500; white-space: nowrap; }
.uh-column-card em { margin-top: 2px; color: var(--dim); font-style: normal; font-size: 8px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
@media (max-width: 760px) {
  .uh-works-layout { grid-template-columns: 1fr; }
  .uh-column-rail { position: static; }
  .uh-column-rail-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 娑擃亙姹夋稉濠氥€夐崝銊︹偓浣风瑓閺傚湱瀚粩瀣╃瑩閺?*/
.uh-own-columns { margin-top: 20px; padding-top: 15px; border-top: 1px solid var(--line); }
.uh-own-columns-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.uh-own-columns-head h3 { margin: 0; font-size: 16px; }
.uh-own-columns-head span { margin-left: 6px; color: var(--dim); font-size: 8.5px; }
.uh-own-columns-head button { height: 27px; padding: 0 10px; border: 1px solid rgba(47,127,211,.35); border-radius: 14px; background: rgba(47,127,211,.07); color: var(--accent); font-size: 8.5px; }
.uh-own-columns .columns-grid { gap: 8px; }
.uh-own-columns .column-card-body h2 { font-size: 13px; }
@media (min-width: 761px) {
  .topbar .search { width: min(420px, 32vw); }
}

/* 娑撴挻鐖?/ 鐟欏棝顣堕弨鎯版 */
.column-detail-actions { display: flex; align-items: center; gap: 7px; margin: 9px 0 2px; flex-wrap: wrap; }
.content-fav { display: inline-flex; align-items: center; gap: 4px; height: 28px; padding: 0 10px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--muted); font-size: 9px; }
.content-fav span { font-size: 13px; }
.content-fav em { font-style: normal; color: var(--dim); font-family: var(--num); font-size: 8px; }
.content-fav.active { border-color: rgba(47,127,211,.4); color: var(--accent); background: rgba(47,127,211,.07); }
.column-edit, .column-delete { height: 27px; padding: 0 9px; border: 1px solid var(--line); border-radius: 13px; background: transparent; color: var(--muted); font-size: 8.5px; }
.column-delete { color: var(--red); }
.video-card { position: relative; }
.video-card > .content-fav { position: absolute; top: 7px; right: 36px; z-index: 3; height: 24px; padding: 0 8px; background: rgba(255,255,255,.92); backdrop-filter: blur(6px); font-size: 8px; }
.video-card > .content-fav span { font-size: 11px; }
.fav-content-list { display: flex; flex-direction: column; gap: 4px; }
.fav-content-row { display: flex; align-items: center; gap: 8px; padding: 6px 7px; border: 1px solid var(--line-soft); border-radius: 7px; }
.fav-content-main { flex: 1; min-width: 0; border: 0; background: transparent; text-align: left; color: var(--text); padding: 0; }
.fav-content-main b, .fav-content-main span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fav-content-main b { font-size: 10px; font-weight: 500; }
.fav-content-main span { color: var(--dim); font-size: 8.5px; margin-top: 2px; }
.fav-content-remove { flex: none; height: 24px; padding: 0 7px; border: 1px solid var(--line); border-radius: 12px; background: transparent; color: var(--dim); font-size: 8px; }
.fav-content-remove:hover { color: var(--red); border-color: rgba(220,70,70,.35); }


/* 绠＄悊闈㈡澘鍒嗗尯浣滃搧鏁?*/
.admin-media-summary { display: flex; gap: 8px; margin-bottom: 9px; }
.admin-media-summary > div { flex: 1; min-width: 0; padding: 8px 9px; border: 1px solid var(--line-soft); border-radius: 7px; background: var(--surface-2); }
.admin-media-summary span { display: block; color: var(--dim); font-size: 8px; }
.admin-media-summary b { display: block; margin-top: 2px; color: var(--text); font-family: var(--num); font-size: 15px; }
.admin-media-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; }
.admin-media-card { padding: 7px 8px; border: 1px solid var(--line-soft); border-radius: 7px; background: var(--surface); }
.admin-media-card-head { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.admin-media-card-head span { display: flex; align-items: center; gap: 4px; color: var(--muted); font-size: 8.5px; }
.admin-media-card-head i { width: 5px; height: 5px; border-radius: 50%; background: var(--mc); }
.admin-media-card-head b { color: var(--text); font-family: var(--num); font-size: 11px; font-weight: 500; }
.admin-media-bar { height: 3px; margin-top: 5px; border-radius: 2px; background: var(--surface-2); overflow: hidden; }
.admin-media-bar i { display: block; height: 100%; border-radius: 2px; background: var(--mc); transition: width .3s; }
.admin-media-card em { display: block; margin-top: 3px; color: var(--dim); font-style: normal; font-family: var(--num); font-size: 7.5px; text-align: right; }
@media (max-width: 760px) { .admin-media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* 鍔ㄦ€佺鐞?*/
.admin-post-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.admin-post-head h3 { margin-top: 0; }
.admin-post-head > span { color: var(--dim); font-size: 8.5px; }
.admin-post-search { width: 100%; height: 30px; margin-bottom: 7px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface-2); color: var(--text); padding: 0 9px; font-size: 9.5px; }
.admin-post-list { display: flex; flex-direction: column; gap: 4px; }
.admin-post-row { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border: 1px solid var(--line-soft); border-radius: 7px; }
.admin-post-main { flex: 1; min-width: 0; }
.admin-post-main > div { display: flex; align-items: baseline; gap: 6px; }
.admin-post-main b { color: var(--text); font-size: 9.5px; font-weight: 500; }
.admin-post-main em { color: var(--dim); font-style: normal; font-size: 8px; }
.admin-post-main p { margin: 2px 0 0; color: var(--muted); font-size: 9px; line-height: 1.45; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-post-fav { flex: none; color: var(--dim); font-size: 8.5px; }
.admin-post-delete { flex: none; height: 23px; padding: 0 7px; border: 1px solid rgba(220,70,70,.3); border-radius: 5px; background: transparent; color: var(--red); font-size: 8px; }

/* 澶村儚鑿滃崟娣卞害浼樺寲 */
.avatar-menu { width: 300px; }
.avatar-menu-head { flex-direction: row; align-items: center; text-align: left; gap: 9px; padding: 12px; }
.avatar-menu-avatar { width: 46px; height: 46px; font-size: 18px; border-width: 2px; box-shadow: none; }
.avatar-menu-id { flex: 1; min-width: 0; }
.avatar-menu-id b { display: block; font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.avatar-menu-id span { display: block; margin-top: 2px; color: var(--dim); font-size: 8.5px; }
.avatar-menu-home { flex: none; height: 25px; padding: 0 8px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); color: var(--accent); font-size: 8px; }
.avatar-menu-stats { display: flex; gap: 5px; padding: 0 0 8px; margin-bottom: 4px; }
.avatar-menu-stats > button { flex: 1; display: flex; align-items: baseline; justify-content: center; gap: 4px; height: 30px; border: 1px solid var(--line-soft); border-radius: 7px; background: var(--surface-2); color: var(--dim); }
.avatar-menu-stats > button:hover { border-color: rgba(47,127,211,.35); background: rgba(47,127,211,.06); }
.avatar-menu-stats > button b { margin: 0; font-size: 12px; }
.avatar-menu-stats > button span { font-size: 8px; }
.avatar-menu-section { padding: 6px 8px 4px; color: var(--dim); font-size: 7.5px; letter-spacing: .12em; }
.avatar-menu-links > button { padding: 7px 8px; font-size: 10px; }
.avatar-menu-links > button[data-avatar-action="logout"] { margin-top: 2px; }

/* 鎺у埗闈㈡澘娣卞害浼樺寲 */
.control-hero-status { display: flex; align-items: center; gap: 16px; text-align: right; }
.control-score-box { text-align: center; }
.control-score-box b { display: block; color: var(--accent); font-family: var(--num); font-size: 26px; line-height: 1; font-weight: 700; }
.control-score-box > span { display: block; margin-top: 3px; color: var(--dim); font-size: 7.5px; }
.control-score-box > i { display: block; width: 72px; height: 3px; margin-top: 5px; border-radius: 2px; background: var(--surface-2); overflow: hidden; }
.control-score-box > i > em { display: block; height: 100%; border-radius: 2px; background: var(--accent); }
.control-kpis { grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); }
.control-disk { height: 4px; margin-top: 6px; border-radius: 2px; background: var(--surface-2); overflow: hidden; }
.control-disk i { display: block; height: 100%; border-radius: 2px; background: linear-gradient(90deg, var(--accent), #7fb6e8); }
@media (max-width: 760px) {
  .control-hero-status { gap: 10px; }
  .control-score-box b { font-size: 22px; }
  .control-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 鍏ㄧ珯鑱氬悎鎼滅储 */
.search-kbd { position: absolute; right: 34px; top: 50%; transform: translateY(-50%); padding: 1px 4px; border: 1px solid var(--line); border-radius: 4px; color: var(--dim); font-family: var(--num); font-size: 7.5px; white-space: nowrap; pointer-events: none; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 500; padding: 8px 12px; border-radius: 7px; background: var(--accent); color: #fff; font-size: 10px; }
.skip-link:focus { top: 10px; }
.command-palette { position: fixed; inset: 0; z-index: 400; display: flex; align-items: flex-start; justify-content: center; padding: 11vh 18px 18px; background: rgba(12, 22, 34, .38); backdrop-filter: blur(4px); }
.command-box { width: min(640px, 100%); max-height: 72vh; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: 0 28px 80px rgba(20, 44, 68, .3); overflow: hidden; }
.command-input-row { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--line-soft); }
.command-input-row > span { color: var(--accent); font-size: 18px; }
.command-input-row input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; color: var(--text); font-size: 14px; }
.command-input-row kbd { padding: 2px 5px; border: 1px solid var(--line); border-radius: 4px; color: var(--dim); font-family: var(--num); font-size: 8px; }
.command-results { flex: 1; overflow-y: auto; padding: 6px; }
.command-group { padding: 7px 8px 4px; color: var(--dim); font-size: 7.5px; letter-spacing: .12em; }
.command-row { display: flex; align-items: center; gap: 9px; width: 100%; padding: 8px 9px; border: 0; border-radius: 8px; background: transparent; color: var(--text); text-align: left; }
.command-row:hover, .command-row.active { background: rgba(47,127,211,.08); }
.command-type { flex: none; min-width: 32px; padding: 2px 5px; border-radius: 4px; background: var(--surface-2); color: var(--dim); font-size: 8px; text-align: center; }
.command-row > span:last-child { min-width: 0; flex: 1; }
.command-row b, .command-row em { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.command-row b { font-size: 11px; font-weight: 500; }
.command-row em { margin-top: 2px; color: var(--dim); font-style: normal; font-size: 8.5px; }
.command-empty { padding: 28px; color: var(--dim); font-size: 10px; text-align: center; }
.command-foot { display: flex; gap: 12px; padding: 8px 14px; border-top: 1px solid var(--line-soft); color: var(--dim); font-size: 8px; }
body.command-open { overflow: hidden; }
:focus-visible { outline: 2px solid rgba(47,127,211,.55); outline-offset: 2px; }
@media (max-width: 760px) {
  .command-palette { padding: 8vh 10px 10px; }
  .command-box { max-height: 78vh; }
  .search-kbd { display: none; }
}

/* 鍏ㄧ珯浣撻獙缁嗚妭 */
html { scroll-behavior: smooth; }
img { max-width: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* 鍔ㄦ€佹悳绱㈡ */
.feed-search-wrap { position: relative; display: flex; align-items: center; }
.feed-search-wrap > svg { position: absolute; left: 11px; width: 15px; height: 15px; fill: none; stroke: var(--dim); stroke-width: 1.7; stroke-linecap: round; pointer-events: none; }
.feed-search-wrap #feedSearch { width: 100%; height: 36px; padding: 0 34px 0 33px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface-2); color: var(--text); font-size: 10px; transition: .18s; }
.feed-search-wrap #feedSearch:focus { border-color: rgba(47,127,211,.5); background: var(--surface); box-shadow: 0 0 0 3px rgba(47,127,211,.08); outline: none; }
.feed-search-wrap #feedSearch::placeholder { color: var(--dim); }
.feed-search-clear { position: absolute; right: 8px; width: 20px; height: 20px; border: 0; border-radius: 50%; background: var(--line-soft); color: var(--muted); font-size: 13px; line-height: 1; display: grid; place-items: center; padding: 0; }
.feed-search-clear:hover { background: rgba(220,70,70,.1); color: var(--red); }
.feed-filter-card #feedSearch { height: 36px; background: var(--surface-2); }

/* 澶村儚鑿滃崟鍏虫敞/绮変笣鏂囧瓧瀵归綈 */
.avatar-menu-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.avatar-menu-stats > button { height: 46px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; text-align: center; }
.avatar-menu-stats > button > span { order: 1; margin: 0; color: var(--dim); font-size: 8.5px; line-height: 1.2; letter-spacing: .04em; }
.avatar-menu-stats > button > b { order: 2; margin: 0; color: var(--text); font-size: 14px; line-height: 1.1; }
.avatar-menu-stats > button:hover > span { color: var(--accent); }

/* 鍏ㄧ珯璁捐绯荤粺鏀跺彛 */
:root {
  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius-md: 11px;
  --radius-lg: 14px;
  --shadow-card: 0 10px 28px rgba(35, 72, 105, .07);
  --shadow-pop: 0 20px 60px rgba(25, 55, 84, .18);
}
body { background: radial-gradient(circle at 12% -8%, rgba(47,127,211,.055), transparent 30%), var(--bg, #f5f8fc); }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { transition: color .16s ease, background-color .16s ease, border-color .16s ease, opacity .16s ease, transform .16s ease; }
button:active:not(:disabled) { transform: translateY(1px); }
input:focus-visible, select:focus-visible, textarea:focus-visible { border-color: rgba(47,127,211,.5); box-shadow: 0 0 0 3px rgba(47,127,211,.08); }
.app-page { animation: pageIn .26s ease both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.post-card, .column-card, .ent-upload-card, .video-card, .uh-work, .fav-item { transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
@media (hover: hover) and (pointer: fine) {
  .post-card:hover, .ent-upload-card:hover, .video-card:hover, .uh-work:hover, .fav-item:hover { border-color: rgba(47,127,211,.28); box-shadow: var(--shadow-card); transform: translateY(-1px); }
}
* { scrollbar-width: thin; scrollbar-color: rgba(47,127,211,.22) transparent; }
*::-webkit-scrollbar { width: 7px; height: 7px; }
*::-webkit-scrollbar-thumb { border-radius: 4px; background: rgba(47,127,211,.2); }
*::-webkit-scrollbar-track { background: transparent; }
::selection { background: rgba(47,127,211,.2); }

/* 绉诲姩绔繁搴︿紭鍖?*/
@media (max-width: 760px) {
  .topbar { padding-top: calc(8px + env(safe-area-inset-top)); }
  .app-nav { padding-bottom: calc(6px + env(safe-area-inset-bottom)); }
  .app-nav button { height: 50px; border-radius: 10px; gap: 3px; font-size: 9.5px; }
  .app-nav button svg { width: 21px; height: 21px; }
  .app-nav button.active { background: rgba(47,127,211,.09); color: var(--accent); }
  .app-nav button:active { background: rgba(47,127,211,.14); }
  .toast { bottom: calc(78px + env(safe-area-inset-bottom)); max-width: calc(100vw - 32px); text-align: center; }
  .app-page { padding-left: 12px; padding-right: 12px; }
  .post-card, .column-card, .video-card, .uh-space, .fav-category { border-radius: 11px; }
  .post-composer { border-radius: 12px; }
  .feed-filter-card { position: sticky; top: calc(46px + env(safe-area-inset-top)); z-index: 12; backdrop-filter: blur(10px); background: rgba(255,255,255,.94); }
  .command-box, .auth-card, .drawer { max-height: calc(100dvh - 28px - env(safe-area-inset-bottom)); }
  .mobile-feed-fab { position: fixed; right: 16px; bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 38; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--accent); color: #fff; font-size: 24px; line-height: 1; box-shadow: 0 10px 28px rgba(47,127,211,.35); display: grid; place-items: center; }
  .mobile-feed-fab:active { transform: scale(.94); }
  body.detail-open .mobile-feed-fab { display: none; }
  * { -webkit-overflow-scrolling: touch; }
  .app-nav, .topbar { touch-action: manipulation; }
}
.mobile-feed-fab { display: none; }
@media (max-width: 760px) {
  .mobile-feed-fab { display: grid; }
  .feed-filter-card { top: calc(84px + env(safe-area-inset-top)); }
}

/* 澶у笀绾ц瑙夋牎鍑?*/
@media (min-width: 761px) {
  .topbar { gap: 18px; }
  .main-nav { gap: 1px; }
  .main-nav button { padding: 7px 8px; font-size: 14px; font-weight: 600; letter-spacing: .01em; }
  .main-nav button.active { border-radius: 7px; box-shadow: none; background: rgba(47,127,211,.09); }
  .topbar .search { width: min(360px, 27vw); }
  .topbar .search input { padding-right: 40px; }
  .home-cat-item { height: 34px; font-size: 11.5px; }
  .home-category-head b { font-size: 14px; }
  .ent-upload-card b { font-size: 12px; }
  .post-content-text { font-size: 12px; }
}
@media (min-width: 761px) and (max-width: 1400px) {
  .topbar .search { width: min(310px, 24vw); }
  #weatherCity, .brand-en { display: none; }
}
@media (max-width: 760px) {
  .app-nav button { font-size: 10px; }
  .me-action b { font-size: 11px; }
}

/* 涓汉涓婚〉鏀惰棌鍖哄潡 */
.uh-own-favorites { margin-top: 20px; padding-top: 15px; border-top: 1px solid var(--line); }
.uh-own-favorites .uh-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.uh-fav-posts { display: flex; flex-direction: column; gap: 4px; margin-top: 7px; }
.uh-fav-post { display: flex; align-items: baseline; gap: 7px; width: 100%; padding: 7px 8px; border: 1px solid var(--line-soft); border-radius: 7px; background: var(--surface); color: var(--text); text-align: left; }
.uh-fav-post:hover { background: var(--surface-2); }
.uh-fav-post b { flex: none; font-size: 9px; font-weight: 500; color: var(--accent); }
.uh-fav-post span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--dim); font-size: 8.5px; }
@media (max-width: 760px) { .uh-own-favorites .uh-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* 鐢佃剳绔叏绔欏瓧浣撳彲璇绘€т紭鍖?*/
@media (min-width: 761px) {
  body { font-size: 14px; line-height: 1.65; }
  p { font-size: 13.5px; line-height: 1.7; }
  .app-page-head span, .page-head p, .page-head span { font-size: 11px; }
  .post-content-text { font-size: 14px; line-height: 1.75; }
  .column-content p { font-size: 15px; line-height: 1.95; }
  .column-card-body h2 { font-size: 16px; }
  .column-card-body p { font-size: 12.5px; line-height: 1.6; }
  .column-card-body em, .column-card-body > span { font-size: 10px; }
  .ent-upload-card b { font-size: 13.5px; }
  .ent-upload-card em { font-size: 11px; }
  .ent-upload-card span { font-size: 10.5px; }
  .video-card b { font-size: 13px; }
  .video-card em { font-size: 10.5px; }
  .post-author-info b { font-size: 12px; }
  .post-author-info em { font-size: 10px; }
  .post-time, .post-topic-tag, .post-fav { font-size: 10.5px; }
  .feed-count, .feed-tabs button, .feed-sort button, .feed-topics button, .feed-refresh { font-size: 11px; }
  .feed-search-wrap #feedSearch { font-size: 11.5px; }
  .home-cat-item { font-size: 12px; }
  .uh-work b { font-size: 12px; }
  .uh-work > span { font-size: 10px; }
  .avatar-menu-links > button { font-size: 11.5px; }
  .avatar-menu-section { font-size: 9px; }
  .avatar-menu-stats > button > span { font-size: 9.5px; }
  .app-page button { font-size: 11.5px; }
  .app-page input, .app-page select, .app-page textarea { font-size: 12.5px; }
  .app-page .admin-msg, .app-page .auth-note { font-size: 11px; line-height: 1.6; }
  .admin-section h3, .control-card-head h3 { font-size: 13px; }
  .admin-panel p, .control-card p { font-size: 11px; }
  .control-line span, .control-line b, .control-checks > div { font-size: 10.5px; }
  .control-kpis span { font-size: 9.5px; }
  .control-kpis b { font-size: 13px; }
  .admin-media-card-head span { font-size: 10px; }
  .admin-media-card-head b { font-size: 12px; }
  .admin-post-main b { font-size: 11px; }
  .admin-post-main p, .admin-post-main em { font-size: 10px; }
  .column-admin-row b { font-size: 11px; }
  .column-admin-row em, .column-admin-row > span { font-size: 9.5px; }
  .work-content, .work-synopsis, .detail-synopsis { font-size: 13.5px; line-height: 1.8; }
}
@media (min-width: 761px) {
  .app-page em, .app-page small { font-size: 10.5px; }
  .control-line em, .control-card-head span { font-size: 10px; }
  .admin-post-main p, .admin-post-main em { font-size: 10.5px; }
  .column-admin-row em, .column-admin-row > span { font-size: 10px; }
}

/* 棣栭〉鍝佺墝绉诲埌瀵艰埅宸?*/
.main-brand { display: inline-flex; align-items: center; padding: 0 13px 0 2px; margin-right: 6px; border-right: 1px solid var(--line); font-size: 20px; font-weight: 800; letter-spacing: .03em; white-space: nowrap; background: linear-gradient(120deg, #14538c, #2f7fd3 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (min-width: 761px) and (max-width: 1400px) {
  .topbar-left { display: none; }
  .main-brand { font-size: 18px; padding-right: 10px; }
}
@media (max-width: 760px) { .main-brand { display: none; } }

/* Q 鐗堜笁鍙欐秱鍝佺墝 */
.main-brand {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  padding: 3px 10px 2px; margin: 0 2px 0 0; border: 1px solid #cbe7ff; border-radius: 14px;
  background: linear-gradient(145deg, #f3fbff, #dff2ff 60%, #ffeef6);
  -webkit-background-clip: border-box; background-clip: border-box;
  color: #2477c9; font-family: "YouYuan", "Yuanti SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 21px; font-weight: 900; letter-spacing: .06em; line-height: 1.15;
  text-shadow: 0 1px 0 #fff, 0 3px 8px rgba(47,127,211,.16);
  transform: rotate(-2deg); transition: transform .18s ease, box-shadow .18s ease;
}
.main-brand::after { content: "✦"; margin-left: 3px; color: #ff9ec7; font-size: 11px; transform: translateY(-5px); }
.main-brand:hover { transform: rotate(0) scale(1.04); box-shadow: 0 5px 16px rgba(47,127,211,.16); }
@media (min-width: 761px) and (max-width: 1400px) {
  .topbar-left { display: flex; }
  .main-nav button { padding: 6px 6px; font-size: 13px; }
  .topbar .search { width: min(300px, 22vw); }
}
@media (min-width: 761px) and (max-width: 1150px) { .weather-pill { display: none; } }
@media (max-width: 760px) {
  .main-brand { display: inline-flex; font-size: 17px; padding: 2px 8px; margin-right: 2px; }
  .main-brand::after { font-size: 9px; }
}

/* 鎶曠涓庡鏍哥郴缁熶紭鍖?*/
.creator-review-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; margin: 0 0 12px; }
.creator-review-summary > div { padding: 9px 10px; border: 1px solid var(--line-soft); border-radius: 8px; background: var(--surface); }
.creator-review-summary span { display: block; color: var(--dim); font-size: 8.5px; }
.creator-review-summary b { display: block; margin-top: 3px; font-family: var(--num); font-size: 17px; }
.creator-review-summary .warn b { color: #b7791f; }
.creator-review-summary .ok b { color: var(--green); }
.creator-review-summary .bad b { color: var(--red); }
.creator-review-note { display: block; margin-top: 3px; color: var(--red); font-size: 9px; line-height: 1.45; }
.review-note { display: block; margin-top: 4px; color: var(--red); font-size: 9px; }
.admin-submission-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; }
.admin-submission-stats > div { padding: 7px 8px; border: 1px solid var(--line-soft); border-radius: 7px; background: var(--surface); }
.admin-submission-stats span { display: block; color: var(--dim); font-size: 8px; }
.admin-submission-stats b { display: block; margin-top: 2px; font-family: var(--num); font-size: 14px; }
.admin-submission-stats .warn b { color: #b7791f; }
.admin-submission-stats .ok b { color: var(--green); }
.admin-submission-stats .bad b { color: var(--red); }
.admin-rate { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.admin-rate > span { color: var(--dim); font-size: 8.5px; }
.admin-rate > b { color: var(--accent); font-family: var(--num); font-size: 12px; }
.admin-rate > i { flex: 1; height: 4px; border-radius: 2px; background: var(--surface-2); overflow: hidden; }
.admin-rate > i > em { display: block; height: 100%; border-radius: 2px; background: var(--accent); }
@media (max-width: 760px) { .creator-review-summary, .admin-submission-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* 鎵嬫満绔晫闈㈡牎鍑?*/
@media (max-width: 760px) {
  .main-brand { display: none !important; }
  .topbar { padding: 8px 12px 7px; gap: 6px; }
  .topbar-left { flex: none; }
  .weather-pill { height: 27px; padding: 0 7px; font-size: 9px; gap: 4px; }
  .topbar .search { height: 34px; }
  .topbar .search input { font-size: 11px; }
  .top-actions .top-action, .top-action { width: 31px; height: 31px; }
  .app-page { padding-left: 0; padding-right: 0; }
  .page-head { gap: 6px; margin-bottom: 11px; }
  .page-head h1, .feed-page-head h1 { font-size: 21px; }
  .app-page-head { margin-bottom: 8px; }
  .app-page-head .app-page-kicker { font-size: 9px; }
  .app-page-head span:last-child { font-size: 9px; }
  .home-works-main .app-page-head { padding: 2px 0; }
  .ent-upload-card { border-radius: 10px; }
  .ent-upload-card b { font-size: 11.5px; line-height: 1.4; }
  .ent-upload-card em { font-size: 9.5px; }
  .ent-upload-card span { font-size: 9px; }
  .post-card { padding: 11px; }
  .post-content-text { font-size: 12.5px; line-height: 1.75; }
  .post-author-info b { font-size: 11px; }
  .post-author-info em { font-size: 9.5px; }
  .post-time, .post-topic-tag, .post-fav { font-size: 9.5px; }
  .column-card-body { padding: 10px 11px 12px; }
  .column-card-body h2 { font-size: 14px; line-height: 1.45; }
  .column-card-body p { font-size: 10.5px; }
  .column-content p { font-size: 13.5px; line-height: 1.9; }
  .column-article h1 { font-size: 22px; }
  .video-card b { font-size: 11.5px; }
  .video-card em { font-size: 9.5px; }
  .uh-space-body { padding: 0 11px 11px; }
  .uh-space-info h2 { font-size: 18px; }
  .me-action { border-radius: 10px; }
  .me-action b { font-size: 11px; }
  .me-action em { font-size: 9px; }
  .app-nav button { height: 52px; }
  .app-nav button span { font-size: 9.5px; }
  .control-actions, .admin-actions { flex-wrap: wrap; }
  .control-hero { align-items: flex-start; }
  .command-palette { padding-top: 7vh; }
  .image-lightbox { padding: 10px; }
}


/* 手机端顶栏图标最终校准 */
@media (max-width: 760px) {
  .main-brand { display: none !important; }
  .actions .top-action, .top-action { width: 34px; height: 34px; border-radius: 9px; padding: 0; }
  .top-action svg { width: 18px; height: 18px; }
  #messageBtn { background: rgba(47,127,211,.07); border-color: rgba(47,127,211,.22); color: var(--accent); }
  #historyBtn { background: var(--surface); color: var(--muted); }
  #messageBtn .message-badge { top: -4px; right: -4px; }
  .topbar-left { flex: 0 0 auto; min-width: 0; }
}

/* 手机端搜索框紧跟时间 */
@media (max-width: 760px) {
  .topbar { flex-wrap: nowrap; align-items: center; }
  .topbar-left { order: 1; flex: 0 0 auto; min-width: 0; }
  .topbar .search { order: 2; position: static; transform: none; left: auto; top: auto; flex: 1 1 auto; width: auto; min-width: 0; height: 31px; margin: 0 2px; }
  .topbar .search input { font-size: 10.5px; }
  .search-submit { width: 22px; height: 22px; }
  .search-submit svg { width: 13px; height: 13px; }
  #messageBtn, #historyBtn { order: 3; }
  .actions { display: contents; }
  body:not(.mobile-search-page) .topbar .search { display: flex; }
  .weather-pill { flex: none; }
}

/* 手机端搜索并入时间栏 */
@media (max-width: 760px) {
  .topbar-left { display: flex; flex: 1 1 auto; min-width: 0; align-items: center; }
  .topbar-left .search.search-inline { display: flex !important; position: static; transform: none; left: auto; top: auto; flex: 1 1 auto; width: auto; min-width: 0; height: 31px; margin: 0 0 0 5px; }
  .topbar-left .search.search-inline input { font-size: 10.5px; }
  .topbar-left .search.search-inline .search-submit { width: 22px; height: 22px; }
  .topbar-left .search.search-inline .search-submit svg { width: 13px; height: 13px; }
  .topbar-left .search.search-inline .search-kbd { display: none; }
  #mainBrand { display: none !important; }
}
@media (max-width: 760px) {
  .topbar-left { flex: 1 1 auto; max-width: calc(100% - 78px); }
  #messageBtn, #historyBtn { flex: none; display: inline-grid !important; }
  .topbar-left .search.search-inline input { min-width: 0; }
}
@media (max-width: 760px) {
  .topbar-left { flex: 1 1 auto; width: 100%; max-width: none; min-width: 0; }
  .topbar-left .search.search-inline { flex: 1 1 auto; min-width: 0; margin-left: 4px; }
  #messageBtn, #historyBtn { flex: 0 0 34px; }
}
@media (max-width: 760px) {
  .topbar-left > .weather-pill { order: 0; }
  .topbar-left > .search.search-inline { order: 1; }
  .topbar-left > #messageBtn { order: 2; }
  .topbar-left > #historyBtn { order: 3; }
}
@media (max-width: 760px) {
  .topbar-left { flex: 1 1 0; width: auto; max-width: none; overflow: hidden; }
  .topbar-left .search.search-inline { flex: 1 1 0; min-width: 48px; }
}

/* 作品管理进一步优化 */
.creator-filter-bar { display: flex; align-items: center; gap: 8px; margin: 0 0 9px; flex-wrap: wrap; }
.creator-status-filters { display: flex; gap: 3px; padding: 3px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.creator-status-filters button { height: 26px; padding: 0 10px; border: 0; border-radius: 5px; background: transparent; color: var(--dim); font-size: 9.5px; }
.creator-status-filters button.active { background: rgba(47,127,211,.09); color: var(--accent); }
.creator-filter-bar #creatorSearch { flex: 1; min-width: 180px; height: 32px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--text); padding: 0 10px; font-size: 10px; }
.creator-item-actions { display: flex; align-items: center; gap: 5px; flex: none; }
.creator-status { flex: none; }
.creator-status.approved { background: rgba(34,138,99,.08); color: var(--green); }
.creator-status.rejected { background: rgba(217,83,100,.08); color: var(--red); }
@media (max-width: 760px) {
  .creator-filter-bar { align-items: stretch; }
  .creator-filter-bar #creatorSearch { flex: 1 0 100%; }
  .creator-item-actions { flex-wrap: wrap; justify-content: flex-end; }
}
@media (max-width: 760px) {
  .topbar-left { overflow: visible; }
  .topbar-left .search.search-inline { max-width: calc(100% - 176px); }
}
@media (max-width: 760px) {
  .topbar-left .search.search-inline { flex: 0 0 calc(100% - 176px) !important; width: calc(100% - 176px) !important; max-width: calc(100% - 176px) !important; }
  #messageBtn, #historyBtn { flex: 0 0 34px !important; width: 34px !important; }
}
@media (max-width: 760px) {
  #timePillClock, .tw-sep { display: none !important; }
  .weather-pill { gap: 3px; padding: 0 6px; }
}

/* ========== 全站视觉大师级迭代 v2 ========== */
:root {
  --brand-grad: linear-gradient(120deg, #2f7fd3, #57a8e8 55%, #7fc4ee);
  --brand-soft: linear-gradient(140deg, rgba(47,127,211,.09), rgba(87,168,232,.04));
  --ease-soft: cubic-bezier(.22, .7, .25, 1);
}
body { letter-spacing: .005em; }
h1, h2, h3 { letter-spacing: -.01em; }
.page-head h1, .app-page-head h1, .feed-page-head h1 { font-weight: 750; }
.section-head h2 { position: relative; padding-left: 10px; }
.section-head h2::before { content: ""; position: absolute; left: 0; top: 50%; width: 3px; height: 15px; border-radius: 2px; background: var(--brand-grad); transform: translateY(-50%); }
.btn-primary { border: 0; background: var(--brand-grad); box-shadow: 0 6px 16px rgba(47,127,211,.22); }
.btn-primary:hover { filter: brightness(1.04); box-shadow: 0 8px 22px rgba(47,127,211,.28); }
.btn-primary:disabled { box-shadow: none; }
.btn-ghost { background: var(--surface); }
.ent-upload-card, .video-card, .column-card, .post-card { border-color: rgba(181,214,239,.75); background: linear-gradient(180deg, #ffffff, #fbfdff); }
.ent-upload-cover, .video-cover, .column-card > img, .column-placeholder { overflow: hidden; }
.ent-upload-cover img, .video-cover img, .column-card > img { transition: transform .45s var(--ease-soft), filter .3s ease; }
@media (hover: hover) and (pointer: fine) {
  .ent-upload-card:hover .ent-upload-cover img,
  .video-card:hover .video-cover img,
  .column-card:hover > img { transform: scale(1.045); filter: saturate(1.05); }
  .btn-primary:hover { transform: translateY(-1px); }
}
.creator-empty { position: relative; padding: 32px 18px; border-style: dashed; background: linear-gradient(180deg, rgba(47,127,211,.035), transparent); }
.creator-empty::before { content: "✦"; display: block; margin-bottom: 7px; color: var(--accent); font-size: 19px; opacity: .55; }
.creator-loading { position: relative; overflow: hidden; background: linear-gradient(90deg, #f7fbff, #eef7ff, #f7fbff); }
.creator-loading::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.7), transparent); transform: translateX(-100%); animation: shimmer 1.3s infinite; }
@keyframes shimmer { to { transform: translateX(100%); } }
.topbar { box-shadow: 0 1px 0 rgba(181,214,239,.35); }
.topbar .search { transition: box-shadow .2s ease, border-color .2s ease, background .2s ease; }
.topbar .search:focus-within { border-color: rgba(47,127,211,.45); background: #fff; box-shadow: 0 0 0 3px rgba(47,127,211,.09); }
.app-nav button { position: relative; }
.app-nav button.active::after { content: ""; position: absolute; bottom: 3px; left: 50%; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); transform: translateX(-50%); }
.fav-category, .uh-space, .control-card, .admin-section { border-color: rgba(181,214,239,.72); }
.control-card, .admin-section { background: linear-gradient(180deg, #fff, #fcfdff); }
@media (max-width: 760px) {
  body { letter-spacing: 0; }
  .topbar { box-shadow: 0 2px 12px rgba(45,86,120,.06); }
  .post-card, .ent-upload-card, .video-card, .column-card { box-shadow: 0 2px 9px rgba(45,86,120,.035); }
  .btn-primary { box-shadow: 0 4px 12px rgba(47,127,211,.2); }
  .creator-empty { padding: 26px 14px; }
  .creator-empty::before { font-size: 16px; margin-bottom: 5px; }
  .section-head h2 { padding-left: 9px; }
  .section-head h2::before { height: 13px; width: 3px; }
}
@media (max-width: 760px) {
  .topbar-left .search.search-inline {
    flex: 1 1 auto !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
  }
  .topbar-left .search.search-inline input { width: 100%; min-width: 0; }
}

/* 电脑端空状态统一为横向条 */
@media (min-width: 761px) {
  .creator-empty, .column-empty, .feed-empty {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;
    min-height: 54px;
    padding: 13px 18px;
    border: 1px dashed var(--line);
    border-radius: 9px;
    background: linear-gradient(90deg, rgba(47,127,211,.035), rgba(47,127,211,.01));
    color: var(--dim);
    font-size: 10.5px;
    line-height: 1.5;
    text-align: center;
  }
  .creator-empty::before, .column-empty::before, .feed-empty::before {
    content: "✦";
    margin: 0;
    color: var(--accent);
    font-size: 13px;
    opacity: .6;
  }
  .feed-empty b, .feed-empty span { display: inline; }
  .feed-empty b { font-size: 10.5px; }
  .feed-empty span { font-size: 10px; }
  .column-empty { margin: 0; }
}
@media (min-width: 761px) {
  .creator-empty::before, .column-empty::before, .feed-empty::before { display: inline; }
}

/* 头像完美填充 */
.avatar-btn {
  padding: 0;
  display: grid;
  place-items: center;
  line-height: 1;
  appearance: none;
  -webkit-appearance: none;
}
.avatar-btn #avatarInitial {
  position: relative;
  width: 100%;
  height: 100%;
  line-height: 1;
}
.avatar-btn #avatarInitial img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
}
.uh-avatar { padding: 0; line-height: 1; }
.uh-avatar img, .avatar-menu-avatar img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; }
@media (min-width: 761px) {
  .creator-empty, .column-empty, .feed-empty {
    width: 100%;
    height: 54px;
    min-height: 54px;
    padding: 0 18px;
    margin: 0;
    box-sizing: border-box;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 10.5px;
  }
  .feed-empty b, .feed-empty span { font-size: 10.5px; }
  .creator-empty::before, .column-empty::before, .feed-empty::before { display: inline; margin: 0; }
}
@media (max-width: 760px) {
  .creator-empty, .column-empty, .feed-empty {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
    width: 100%;
    min-height: 54px;
    height: auto;
    padding: 11px 14px;
    margin: 0;
    box-sizing: border-box;
    border: 1px dashed var(--line);
    border-radius: 9px;
    background: linear-gradient(90deg, rgba(47,127,211,.035), rgba(47,127,211,.01));
    color: var(--dim);
    font-size: 10px;
    line-height: 1.45;
    text-align: center;
    white-space: normal;
    overflow: hidden;
  }
  .creator-empty::before, .column-empty::before, .feed-empty::before {
    display: inline;
    margin: 0;
    font-size: 12px;
  }
  .feed-empty b, .feed-empty span { display: inline; font-size: 10px; }
}

/* 空状态与视频虚线格同宽同高 */
.ent-upload-grid > .creator-empty,
.video-grid > .creator-empty,
.columns-grid > .column-empty {
  grid-column: 1 / -1;
  width: 100%;
  justify-self: stretch;
}
@media (min-width: 761px) {
  .ent-upload-grid > .creator-empty,
  .video-grid > .creator-empty,
  .columns-grid > .column-empty,
  .creator-empty, .column-empty, .feed-empty { height: 54px; min-height: 54px; }
}

/* 新一轮排版与组件收敛 */
@media (min-width: 761px) {
  .page-head h1, .app-page-head h1 { font-size: clamp(24px, 2.2vw, 32px); }
  .section-head h2, .creator-list-head h2 { font-size: clamp(16px, 1.25vw, 19px); }
  .post-card, .ent-upload-card, .column-card, .video-card { padding: 13px; }
  .ent-upload-grid, .video-grid, .columns-grid { gap: 11px; }
}
.toast { border-radius: 10px; box-shadow: 0 12px 34px rgba(25,55,84,.16); backdrop-filter: blur(10px); background: rgba(255,255,255,.97); }
.auth-modal, .drawer, .confirm-modal { backdrop-filter: blur(3px); }
.command-box, .auth-card, .drawer, .confirm-card { box-shadow: 0 24px 70px rgba(25,55,84,.22); }
@media (max-width: 760px) {
  .page-head h1, .app-page-head h1 { font-size: clamp(20px, 5.4vw, 24px); }
  .post-card, .ent-upload-card, .column-card, .video-card { padding: 11px; }
  .toast { border-radius: 9px; }
}

/* 轮播滑动与点击 */
.home-carousel { touch-action: pan-y; cursor: grab; }
.home-carousel:active { cursor: grabbing; }
.home-carousel-slide { cursor: pointer; user-select: none; -webkit-user-select: none; }
.home-carousel-slide:focus-visible { outline: 2px solid rgba(47,127,211,.55); outline-offset: -3px; }
.home-carousel-slide img, .home-carousel-link img { -webkit-user-drag: none; user-select: none; }
.home-carousel-arrow, .home-carousel-dots button { touch-action: manipulation; }
.home-carousel-slide[role="button"] { transition: filter .2s ease; }
@media (hover: hover) and (pointer: fine) {
  .home-carousel-slide[role="button"]:hover { filter: brightness(1.02); }
}

/* 轮播 UI 精修 */
.home-carousel {
  border-radius: 15px;
  border: 1px solid rgba(181,214,239,.75);
  box-shadow: 0 14px 38px rgba(30, 72, 108, .14);
  background: #eaf5ff;
}
.home-carousel-track { transition: transform .52s cubic-bezier(.22,.7,.25,1); }
.home-carousel-slide > img { transform: scale(1.001); }
.home-carousel-caption { padding: 52px 16px 20px; background: linear-gradient(180deg, transparent, rgba(7, 26, 44, .18) 30%, rgba(7, 26, 44, .82)); }
.home-carousel-caption b { font-size: 15px; letter-spacing: .01em; text-shadow: 0 2px 12px rgba(0,0,0,.2); }
.home-carousel-caption span { display: inline-block; margin-top: 4px; padding: 2px 7px; border-radius: 9px; background: rgba(255,255,255,.14); color: rgba(255,255,255,.9); font-size: 9px; backdrop-filter: blur(6px); }
.home-carousel-arrow { width: 32px; height: 32px; background: rgba(255,255,255,.9); color: #1c5f9c; font-size: 20px; box-shadow: 0 4px 14px rgba(10,35,58,.18); opacity: .78; backdrop-filter: blur(8px); }
.home-carousel-arrow:hover { background: #fff; color: var(--accent); opacity: 1; transform: translateY(-50%) scale(1.04); }
.home-carousel-arrow.prev { left: 9px; }
.home-carousel-arrow.next { right: 9px; }
.home-carousel-dots { left: auto; right: 13px; bottom: 10px; gap: 5px; align-items: center; }
.home-carousel-dots button { width: 5px; height: 5px; background: rgba(255,255,255,.55); transition: .2s; }
.home-carousel-dots button.active { width: 15px; border-radius: 3px; background: #fff; }
.home-carousel-count { position: absolute; top: 11px; right: 12px; z-index: 2; padding: 4px 8px; border: 1px solid rgba(255,255,255,.28); border-radius: 12px; background: rgba(7,26,44,.35); color: rgba(255,255,255,.9); font-family: var(--num); font-size: 8px; letter-spacing: .08em; backdrop-filter: blur(7px); }
.home-carousel-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; z-index: 3; background: rgba(255,255,255,.16); }
.home-carousel-progress i { display: block; width: 100%; height: 100%; background: rgba(255,255,255,.88); transform-origin: left; animation: carouselProgress 4.5s linear; }
@keyframes carouselProgress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.home-carousel:hover .home-carousel-progress i { animation-play-state: paused; }
.home-carousel:hover .home-carousel-arrow { opacity: 1; }
@media (max-width: 760px) {
  .home-carousel { border-radius: 13px; box-shadow: 0 8px 24px rgba(30,72,108,.12); }
  .home-carousel-caption { padding: 42px 12px 17px; }
  .home-carousel-caption b { font-size: 13px; }
  .home-carousel-arrow { width: 28px; height: 28px; font-size: 17px; opacity: .9; }
  .home-carousel-count { top: 8px; right: 9px; font-size: 7.5px; }
  .home-carousel-dots { right: 10px; bottom: 8px; }
}

/* 分类浏览 UI 优化 */
.home-category-aside {
  padding: 14px;
  border-radius: 12px;
  border-color: rgba(181,214,239,.8);
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  box-shadow: 0 8px 26px rgba(35,72,105,.06);
}
.home-category-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 9px; }
.home-category-head b { font-size: 14px; font-weight: 650; }
.home-category-head span { color: var(--dim); font-size: 8.5px; font-family: var(--num); }
.home-cat-item {
  height: 38px;
  margin-bottom: 3px;
  padding: 0 9px;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 11.5px;
  transition: .18s ease;
}
.home-cat-item:last-child { margin-bottom: 0; }
.home-cat-item:hover { background: var(--surface-2); color: var(--text); transform: translateX(2px); }
.home-cat-item.active {
  color: var(--accent);
  border-color: rgba(47,127,211,.16);
  background: linear-gradient(100deg, rgba(47,127,211,.1), rgba(47,127,211,.035));
  box-shadow: inset 3px 0 var(--accent);
}
.home-cat-item b { font-weight: 550; }
.home-cat-item em {
  min-width: 24px;
  padding: 2px 6px;
  border-radius: 9px;
  background: var(--surface-2);
  color: var(--dim);
  font-size: 8.5px;
  text-align: center;
}
.home-cat-item.active em { background: rgba(47,127,211,.12); color: var(--accent); }
.home-cat-dot { width: 7px; height: 7px; box-shadow: 0 0 0 3px rgba(47,127,211,.06); }
.home-cat-item.active .home-cat-dot { box-shadow: 0 0 0 3px rgba(47,127,211,.14); }

/* 分类卡片同步优化 */
.ent-category { transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.ent-category b { font-size: 12px; font-weight: 600; }
.ent-category em { margin-top: 2px; padding: 2px 6px; border-radius: 8px; background: var(--surface-2); color: var(--dim); font-size: 8px; }
.ent-category.active { border-color: var(--mc, var(--accent)); background: linear-gradient(140deg, rgba(47,127,211,.09), rgba(47,127,211,.02)); box-shadow: inset 0 0 0 1px rgba(47,127,211,.08); }
@media (hover: hover) and (pointer: fine) { .ent-category:hover { transform: translateY(-1px); } }

/* 顶部导航 UI 优化 */
.main-nav button { display: inline-flex; align-items: center; gap: 5px; }
.main-nav button::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--nav-tone, var(--dim)); opacity: .75; flex: none; transition: .18s ease; }
.main-nav button[data-tone="home"] { --nav-tone: var(--accent); }
.main-nav button[data-tone="acg"] { --nav-tone: #22b8d4; }
.main-nav button[data-tone="reading"] { --nav-tone: #9a7bea; }
.main-nav button[data-tone="screen"] { --nav-tone: #e0a13a; }
.main-nav button[data-tone="video"] { --nav-tone: #2f8fd6; }
.main-nav button[data-tone="columns"] { --nav-tone: #8fa6ba; }
.main-nav button[data-tone="feed"] { --nav-tone: #2da67a; }
.main-nav button.active::before { opacity: 1; transform: scale(1.25); box-shadow: 0 0 0 3px rgba(47,127,211,.1); }
.main-nav button.active { background: linear-gradient(180deg, rgba(47,127,211,.1), rgba(47,127,211,.045)); box-shadow: inset 0 0 0 1px rgba(47,127,211,.08); }
.main-nav button:hover::before { opacity: 1; }
@media (min-width: 761px) and (max-width: 1400px) { .main-nav button { padding: 6px 7px; font-size: 12.5px; gap: 4px; } }

/* 首页排行榜卡片 */
.home-rank-card { margin-top: 9px; border: 1px solid var(--line); border-radius: 11px; background: linear-gradient(180deg, #ffffff, #fbfdff); overflow: hidden; box-shadow: 0 6px 20px rgba(35,72,105,.05); }
.home-rank-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; padding: 9px 11px; border: 0; border-bottom: 1px solid var(--line-soft); background: transparent; color: var(--text); text-align: left; }
.home-rank-head > div { display: flex; align-items: baseline; gap: 6px; }
.home-rank-head span { color: var(--accent); font-size: 8px; letter-spacing: .1em; }
.home-rank-head b { font-size: 11.5px; font-weight: 600; }
.home-rank-head em { color: var(--accent); font-style: normal; font-size: 8.5px; }
.home-rank-head:hover em { text-decoration: underline; }
.home-rank-list { display: flex; flex-direction: column; }
.home-rank-row { display: flex; align-items: center; gap: 7px; width: 100%; padding: 7px 11px; border: 0; border-bottom: 1px solid var(--line-soft); background: transparent; color: var(--text); text-align: left; }
.home-rank-row:last-child { border-bottom: 0; }
.home-rank-row:hover { background: rgba(47,127,211,.045); }
.home-rank-no { width: 20px; flex: none; color: var(--accent); font-family: var(--num); font-size: 11px; font-weight: 600; }
.home-rank-row b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; font-weight: 500; }
.home-rank-row em { flex: none; color: var(--dim); font-style: normal; font-family: var(--num); font-size: 8.5px; }
.home-rank-empty { padding: 12px; color: var(--dim); font-size: 9px; text-align: center; }

/* 排行榜 UI 优化 */
.lb-head p { margin: 4px 0 0; color: var(--dim); font-size: 9.5px; }
.lb-card { background: linear-gradient(180deg, #ffffff, #fbfdff); transition: .2s ease; }
.lb-card:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(35,72,105,.1); }
.lb-rank-1 { border-color: rgba(226,166,45,.5); background: linear-gradient(160deg, #fffdf5, #fff); }
.lb-rank-2 { border-color: rgba(148,163,184,.5); background: linear-gradient(160deg, #fbfdff, #fff); }
.lb-rank-3 { border-color: rgba(190,132,90,.45); background: linear-gradient(160deg, #fffaf5, #fff); }
.lb-rank-1 .lb-badge { background: linear-gradient(120deg, #d69a1f, #f0bd4f); color: #4a3403; }
.lb-rank-2 .lb-badge { background: linear-gradient(120deg, #7f91a3, #b7c5d2); color: #20303d; }
.lb-rank-3 .lb-badge { background: linear-gradient(120deg, #a9663e, #d1956e); color: #fff; }
.lb-list-head { display: grid; grid-template-columns: 36px minmax(0, 1fr) 64px 54px 54px; gap: 9px; padding: 0 12px 6px; color: var(--dim); font-size: 8px; letter-spacing: .06em; }
.lb-row { transition: background .16s ease; }
.lb-row:hover { background: rgba(47,127,211,.04); }
.lb-rank { color: var(--dim); font-family: var(--num); font-size: 11px; }
.lb-row-title b { font-size: 11px; }
.lb-row-title span { font-size: 8.5px; }
@media (max-width: 760px) {
  .lb-list-head { display: none; }
  .lb-card:hover { transform: none; }
  .lb-head p { font-size: 9px; }
}

/* 顶部搜索与账号区 UI 精修 */
@media (min-width: 761px) {
  .topbar { height: 64px; }
  .topbar .search { height: 38px; padding: 0 5px 0 12px; border: 1px solid rgba(181,214,239,.85); border-radius: 19px; background: linear-gradient(180deg, #ffffff, #f8fcff); box-shadow: 0 3px 12px rgba(35,72,105,.05); }
  .topbar .search input { font-size: 11.5px; }
  .topbar .search:focus-within { border-color: rgba(47,127,211,.55); background: #fff; box-shadow: 0 0 0 3px rgba(47,127,211,.1), 0 8px 22px rgba(35,72,105,.08); }
  .search-submit { width: 28px; height: 28px; border-radius: 50%; }
  .search-submit svg { width: 15px; height: 15px; }
  .search-kbd { right: 40px; }
  .top-action { height: 36px; padding: 0 11px; gap: 6px; border-radius: 18px; background: rgba(255,255,255,.75); }
  .top-action:hover { background: #fff; border-color: rgba(47,127,211,.3); }
  .top-action-label { font-size: 10px; }
  .top-action svg { width: 17px; height: 17px; }
  #messageBtn { box-shadow: 0 3px 12px rgba(47,127,211,.1); }
  .avatar-wrap { margin-left: 5px; }
  .actions .avatar-btn { width: 43px; height: 43px; border-width: 3px; }
  .avatar-wrap:hover .avatar-btn { transform: scale(1.06); box-shadow: 0 0 0 3px rgba(47,127,211,.22), 0 8px 20px rgba(35,72,105,.15); }
}
.avatar-status { position: absolute; right: 1px; bottom: 2px; z-index: 3; width: 10px; height: 10px; border: 2px solid #fff; border-radius: 50%; background: #2da67a; box-shadow: 0 1px 4px rgba(20,60,40,.2); }
.avatar-btn.guest + .avatar-status { display: none; }
@media (max-width: 760px) {
  .topbar { height: auto; }
  .avatar-status { display: none; }
}

/* 在线状态点 */
.avatar-status { background: #b9c7d6; }
.avatar-status.online { background: #2da67a; }
.avatar-status.offline { background: #b9c7d6; }
.avatar-btn.guest + .avatar-status { display: block; }
.msg-avatar { position: relative; overflow: visible; }
.msg-avatar img { border-radius: 50%; object-fit: cover; width: 100%; height: 100%; }
.presence-dot { position: absolute; right: -1px; bottom: -1px; width: 9px; height: 9px; border: 2px solid #fff; border-radius: 50%; background: #b9c7d6; box-shadow: 0 1px 3px rgba(20,45,65,.15); }
.presence-dot.online { background: #2da67a; }
.presence-dot.offline { background: #b9c7d6; }

/* 个人主页与关注列表在线点 */
.uh-avatar-wrap { position: relative; }
.uh-presence { right: 1px; bottom: 3px; z-index: 6; width: 14px; height: 14px; border-width: 3px; }
.fan-avatar { position: relative; overflow: visible; }
.fan-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.fan-avatar .presence-dot { right: -1px; bottom: -1px; width: 9px; height: 9px; }
.search-user-avatar { position: relative; overflow: visible; }
.search-user-avatar .presence-dot { right: -1px; bottom: -1px; width: 8px; height: 8px; border-width: 2px; }

/* 在线状态视觉精修 */
.avatar-status, .presence-dot {
  background: linear-gradient(145deg, #c7d3df, #aebdcc);
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(20, 45, 65, .18);
  transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}
.avatar-status.online, .presence-dot.online {
  background: linear-gradient(145deg, #45c795, #21996e);
  box-shadow: 0 0 0 2px rgba(45, 166, 122, .14), 0 2px 7px rgba(20, 90, 65, .22);
}
.avatar-status.offline, .presence-dot.offline {
  background: linear-gradient(145deg, #c7d3df, #aebdcc);
  box-shadow: 0 1px 4px rgba(20, 45, 65, .12);
}
.avatar-status.online::after, .presence-dot.online::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 2px solid rgba(45, 166, 122, .35);
  border-radius: 50%;
  animation: presencePulse 2.1s ease-out infinite;
}
@keyframes presencePulse {
  0% { transform: scale(.65); opacity: .85; }
  70% { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}
.avatar-status { width: 11px; height: 11px; right: 0; bottom: 2px; }
.uh-presence { width: 15px; height: 15px; right: 0; bottom: 3px; }
.presence-dot { width: 10px; height: 10px; }
.msg-avatar .presence-dot { width: 9px; height: 9px; }
.fan-avatar .presence-dot, .search-user-avatar .presence-dot { width: 9px; height: 9px; }
@media (hover: hover) and (pointer: fine) {
  .msg-avatar:hover .presence-dot, .fan-avatar:hover .presence-dot { transform: scale(1.15); }
}
@media (max-width: 760px) {
  .presence-dot { border-width: 2px; }
  .uh-presence { width: 14px; height: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .avatar-status.online::after, .presence-dot.online::after { animation: none; }
}

/* 头像内更换提示 */
.uh-avatar { position: relative; overflow: hidden; }
.uh-avatar-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 9px;
  border-radius: inherit;
  background: linear-gradient(180deg, transparent 38%, rgba(7,24,40,.58));
  color: #fff;
  font-size: 9px;
  line-height: 1.2;
  letter-spacing: .02em;
  text-shadow: 0 1px 4px rgba(0,0,0,.35);
  opacity: 0;
  transition: opacity .18s ease;
  pointer-events: none;
}
.uh-avatar:hover .uh-avatar-overlay, .uh-avatar:focus-visible .uh-avatar-overlay { opacity: 1; }
@media (hover: none) {
  .uh-avatar-overlay { opacity: 1; background: linear-gradient(180deg, transparent 55%, rgba(7,24,40,.52)); padding-bottom: 7px; font-size: 8px; }
}

/* 个人主页 UI 升级 */
.uh-space { border-radius: 16px; border-color: rgba(181,214,239,.8); box-shadow: 0 12px 36px rgba(35,72,105,.08); }
.uh-banner { height: 148px; background: radial-gradient(circle at 16% 22%, rgba(87,168,232,.22), transparent 30%), radial-gradient(circle at 88% 80%, rgba(47,127,211,.12), transparent 32%), linear-gradient(105deg, #f4faff, #e8f4ff 52%, #fbfdff); }
.uh-banner::before { left: 24px; top: 22px; width: 82px; height: 4px; border-radius: 4px; }
.uh-banner::after { left: 55%; right: -16%; bottom: -92px; height: 170px; background: rgba(47,127,211,.06); }
.uh-space-body { padding: 0 22px 18px; }
.uh-space-top { gap: 15px; }
.uh-avatar-wrap { margin-top: -46px; }
.uh-space .uh-avatar { width: 96px; height: 96px; border-width: 4px; box-shadow: 0 8px 24px rgba(35,72,105,.18), 0 0 0 1px rgba(181,214,239,.5); }
.uh-space-info { padding-bottom: 5px; }
.uh-space-info h2 { display: flex; align-items: center; gap: 7px; margin: 0 0 6px; font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.uh-role { padding: 2px 7px; border: 1px solid rgba(47,127,211,.2); border-radius: 8px; background: rgba(47,127,211,.07); color: var(--accent); font-size: 8px; font-weight: 500; }
.uh-profile-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.uh-space-info .uh-id, .uh-space-info .uh-joined { display: inline-block; margin: 0; padding: 2px 7px; border-radius: 7px; background: var(--surface-2); color: var(--dim); font-family: var(--num); font-size: 8.5px; }
.uh-space-info .uh-id { color: var(--accent); background: rgba(47,127,211,.07); }
.uh-space-actions { gap: 7px; padding-bottom: 5px; }
.uh-space-actions .uh-follow { height: 31px; padding: 0 15px; border-radius: 16px; font-size: 10px; }
.uh-space-actions .uh-follow.ghost { border-color: var(--line-strong); background: #fff; color: var(--muted); }
.uh-space .uh-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 16px; padding-top: 0; border-top: 0; }
.uh-space .uh-stat { min-width: 0; padding: 9px 11px; border: 1px solid var(--line-soft); border-radius: 10px; background: linear-gradient(180deg, #ffffff, #fbfdff); text-align: left; transition: .18s ease; }
.uh-space .uh-stat:hover { border-color: rgba(47,127,211,.25); background: #fff; transform: translateY(-1px); }
.uh-space .uh-stat.active { border-color: rgba(47,127,211,.28); background: linear-gradient(140deg, rgba(47,127,211,.09), rgba(47,127,211,.025)); box-shadow: inset 3px 0 var(--accent); }
.uh-space .uh-stat b { font-size: 17px; line-height: 1.2; }
.uh-space .uh-stat span { display: block; margin-top: 2px; font-size: 8.5px; }
.uh-content { margin-top: 4px; }
@media (max-width: 760px) {
  .uh-banner { height: 118px; }
  .uh-space-body { padding: 0 14px 14px; }
  .uh-avatar-wrap { margin-top: -36px; }
  .uh-space .uh-avatar { width: 78px; height: 78px; border-width: 3px; }
  .uh-space-top { align-items: flex-start; flex-wrap: wrap; gap: 9px; }
  .uh-space-info h2 { font-size: 19px; margin-top: 2px; }
  .uh-space-actions { margin-left: auto; padding-top: 48px; }
  .uh-space .uh-stats { gap: 6px; margin-top: 12px; }
  .uh-space .uh-stat { padding: 8px 9px; }
  .uh-space .uh-stat b { font-size: 15px; }
  .uh-space .uh-stat span { font-size: 8px; }
}
@media (max-width: 760px) {
  .uh-space-top { flex-wrap: nowrap; align-items: flex-end; gap: 10px; }
  .uh-space-info { min-width: 0; }
  .uh-space-actions { margin-left: auto; padding-top: 0; padding-bottom: 2px; flex: none; }
  .uh-space-actions .uh-follow { height: 28px; padding: 0 11px; font-size: 9px; }
  .uh-space-info h2 { font-size: 18px; }
  .uh-profile-meta { gap: 4px; }
  .uh-space-info .uh-id, .uh-space-info .uh-joined { font-size: 8px; padding: 2px 5px; }
}

/* 个人主页名片 · 梵高星夜质感 */
.uh-space {
  border-color: rgba(160, 186, 208, .8);
  background: linear-gradient(165deg, #fffdf6 0%, #f7fbff 48%, #eaf2fa 100%);
  box-shadow: 0 16px 44px rgba(24, 55, 92, .13), inset 0 0 0 1px rgba(255,255,255,.6);
}
.uh-banner {
  height: 172px;
  background:
    radial-gradient(circle at 16% 28%, rgba(255, 226, 139, .9) 0 2px, transparent 3px),
    radial-gradient(circle at 34% 18%, rgba(255, 239, 180, .75) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 72% 30%, rgba(255, 222, 125, .75) 0 2px, transparent 3px),
    radial-gradient(circle at 86% 58%, rgba(255, 239, 176, .65) 0 1.5px, transparent 2.5px),
    radial-gradient(ellipse at 78% 92%, rgba(63, 111, 173, .85), transparent 46%),
    radial-gradient(ellipse at 18% 92%, rgba(19, 53, 98, .9), transparent 50%),
    radial-gradient(ellipse at 52% 74%, rgba(93, 150, 200, .55), transparent 55%),
    linear-gradient(118deg, #0e2a50 0%, #1c477c 28%, #346b9f 52%, #6fa6c9 72%, #d9bf72 100%);
  border-bottom-color: rgba(20, 50, 82, .25);
}
.uh-banner::before {
  content: "";
  position: absolute;
  left: auto;
  top: -54px;
  right: 8%;
  width: 190px;
  height: 150px;
  border: 2px solid rgba(255, 224, 145, .38);
  border-radius: 48% 52% 58% 42% / 55% 45% 55% 45%;
  background: transparent;
  box-shadow: inset 0 0 28px rgba(255, 218, 120, .12), 0 0 0 12px rgba(255, 224, 145, .06), 0 0 0 26px rgba(255, 224, 145, .035);
  transform: rotate(-18deg);
}
.uh-banner::after {
  content: "✦";
  position: absolute;
  left: 12%;
  top: 46%;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 235, 175, .82);
  font-size: 22px;
  text-shadow: 0 0 16px rgba(255, 218, 120, .55);
}
.uh-space .uh-avatar {
  border-color: #f8e4aa;
  box-shadow: 0 0 0 3px rgba(19, 53, 98, .28), 0 10px 28px rgba(15, 40, 70, .28);
}
.uh-space-info h2 {
  color: #1b3a60;
  font-family: "Songti SC", "STSong", "Noto Serif SC", serif;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: .02em;
}
.uh-role {
  border-color: rgba(191, 148, 53, .35);
  background: rgba(244, 210, 122, .16);
  color: #8a6420;
  font-family: inherit;
}
.uh-space-info .uh-id {
  background: rgba(28, 71, 124, .08);
  color: #235a91;
}
.uh-space-info .uh-joined {
  background: rgba(244, 210, 122, .14);
  color: #7d6327;
}
.uh-space .uh-stat {
  border-color: rgba(170, 194, 214, .55);
  background: linear-gradient(160deg, rgba(255,255,255,.88), rgba(247, 251, 255, .72));
  box-shadow: 0 3px 9px rgba(24, 55, 92, .035);
}
.uh-space .uh-stat:hover { box-shadow: 0 6px 16px rgba(24, 55, 92, .07); }
.uh-space .uh-stat.active {
  border-color: rgba(191, 148, 53, .38);
  background: linear-gradient(140deg, rgba(244, 210, 122, .2), rgba(47, 127, 211, .06));
  box-shadow: inset 3px 0 #d8ac4b;
}
.uh-space .uh-stat.active b { color: #8a6420; }
.uh-space .uh-stat.active span { color: #a0782c; }
@media (max-width: 760px) {
  .uh-banner { height: 132px; }
  .uh-banner::before { width: 132px; height: 105px; right: 2%; top: -38px; }
  .uh-banner::after { font-size: 16px; left: 9%; }
  .uh-space-info h2 { font-size: 19px; }
}

/* 星夜下的撑阳伞女孩 */
.uh-banner-art {
  position: absolute;
  right: 3.5%;
  bottom: -2px;
  z-index: 2;
  height: 104%;
  aspect-ratio: 210 / 190;
  opacity: .98;
  pointer-events: none;
  filter: drop-shadow(0 8px 12px rgba(8, 26, 48, .24));
  animation: parasolFloat 7s ease-in-out infinite;
}
.uh-banner-art svg { display: block; width: 100%; height: 100%; }
.uh-parasol { filter: drop-shadow(0 3px 5px rgba(8,26,48,.18)); }
.uh-girl { filter: drop-shadow(0 4px 5px rgba(8,26,48,.16)); }
@keyframes parasolFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-3px) rotate(-1deg); }
}
@media (max-width: 760px) {
  .uh-banner-art { height: 92%; right: -1%; opacity: .88; }
}
@media (prefers-reduced-motion: reduce) {
  .uh-banner-art { animation: none; }
}

/* 个人名片收窄与浅色星夜 */
.uh-space { max-width: 940px; margin-left: auto; margin-right: auto; }
.uh-content { max-width: 940px; margin-left: auto; margin-right: auto; }
.uh-banner {
  background:
    radial-gradient(circle at 16% 28%, rgba(255, 232, 160, .85) 0 2px, transparent 3px),
    radial-gradient(circle at 34% 18%, rgba(255, 242, 196, .7) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 72% 30%, rgba(255, 229, 150, .7) 0 2px, transparent 3px),
    radial-gradient(circle at 86% 58%, rgba(255, 243, 200, .6) 0 1.5px, transparent 2.5px),
    radial-gradient(ellipse at 78% 92%, rgba(137, 184, 218, .55), transparent 48%),
    radial-gradient(ellipse at 18% 92%, rgba(46, 94, 145, .48), transparent 52%),
    radial-gradient(ellipse at 52% 74%, rgba(173, 211, 236, .45), transparent 55%),
    linear-gradient(118deg, #3b6b9b 0%, #4f84b1 26%, #74a7c8 52%, #a9cfe3 74%, #e6cc88 100%);
}
.uh-banner::before {
  border-color: rgba(255, 231, 164, .5);
  box-shadow: inset 0 0 28px rgba(255, 224, 145, .16), 0 0 0 12px rgba(255, 231, 164, .08), 0 0 0 26px rgba(255, 231, 164, .045);
}
.uh-banner::after { color: rgba(255, 240, 190, .9); }
.uh-space .uh-avatar { border-color: #fbe9b8; box-shadow: 0 0 0 3px rgba(36, 83, 128, .18), 0 10px 28px rgba(25, 65, 105, .22); }
.uh-space { box-shadow: 0 14px 40px rgba(35, 85, 130, .1), inset 0 0 0 1px rgba(255,255,255,.65); }
@media (max-width: 760px) {
  .uh-space, .uh-content { max-width: none; }
}
.uh-banner { background: radial-gradient(circle at 16% 28%, rgba(255,232,160,.9) 0 2px, transparent 3px), radial-gradient(circle at 72% 30%, rgba(255,229,150,.75) 0 2px, transparent 3px), radial-gradient(ellipse at 78% 92%, rgba(145,190,222,.5), transparent 48%), radial-gradient(ellipse at 18% 92%, rgba(78,126,170,.32), transparent 52%), linear-gradient(118deg, #5888b2 0%, #6b9dc3 30%, #8cbad8 58%, #b8d9ea 78%, #eed699 100%); }
.uh-banner-art { display: none !important; }

/* 头像菜单 UI 更新 */
.avatar-menu {
  width: 282px;
  padding: 12px;
  border-radius: 16px;
  border-color: rgba(181,214,239,.85);
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  box-shadow: 0 24px 60px rgba(25,55,84,.2), 0 2px 8px rgba(25,55,84,.06);
}
.avatar-menu-head { padding: 2px 3px 11px; border-bottom: 1px solid var(--line-soft); gap: 9px; }
.avatar-menu-avatar { width: 42px; height: 42px; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(181,214,239,.8), 0 4px 12px rgba(35,72,105,.12); }
.avatar-menu-id b { font-size: 12.5px; }
.avatar-menu-id span { margin-top: 2px; font-size: 8.5px; }
.avatar-menu-home { height: 25px; padding: 0 9px; border: 1px solid rgba(47,127,211,.18); border-radius: 12px; background: rgba(47,127,211,.06); color: var(--accent); font-size: 8.5px; }
.avatar-menu-home:hover { background: rgba(47,127,211,.11); }
.avatar-menu-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.avatar-menu-stats button { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 7px 9px; border: 1px solid var(--line-soft); border-radius: 9px; background: linear-gradient(180deg, #fbfdff, #f7fbff); }
.avatar-menu-stats button:hover { border-color: rgba(47,127,211,.25); background: #fff; }
.avatar-menu-stats b { font-size: 15px; line-height: 1.2; }
.avatar-menu-stats span { font-size: 8px; }
.avatar-menu-section { margin: 10px 0 5px; padding: 0 4px; font-size: 7.5px; letter-spacing: .1em; }
.avatar-menu-links { gap: 2px; }
.avatar-menu-links button { min-height: 35px; padding: 5px 7px; border-radius: 8px; gap: 8px; font-size: 10.5px; }
.avatar-menu-links button:hover { background: rgba(47,127,211,.055); color: var(--accent); }
.avatar-menu-links .am-icon { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: rgba(47,127,211,.07); color: var(--accent); font-size: 11px; flex: none; }
.avatar-menu-footer { margin-top: 9px; padding-top: 8px; border-top: 1px solid var(--line-soft); }
.avatar-menu-footer button { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 34px; padding: 5px 7px; border: 0; border-radius: 8px; background: transparent; color: var(--red); font-size: 10.5px; text-align: left; }
.avatar-menu-footer button:hover { background: rgba(217,83,100,.06); }
.avatar-menu-footer .am-icon { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: rgba(217,83,100,.07); font-size: 11px; }

/* 专栏审核 UI */
.column-admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin: 9px 0; }
.column-admin-stats > div { padding: 8px 10px; border: 1px solid var(--line-soft); border-radius: 8px; background: linear-gradient(180deg, #fff, #fbfdff); }
.column-admin-stats span { display: block; color: var(--dim); font-size: 8px; }
.column-admin-stats b { display: block; margin-top: 2px; font-family: var(--num); font-size: 15px; }
.column-admin-stats .warn b { color: #b7791f; }
.column-admin-stats .ok b { color: var(--green); }
.column-admin-stats .bad b { color: var(--red); }
.column-admin-main { min-width: 0; flex: 1; }
.column-admin-main b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.column-admin-main em { display: block; margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--dim); font-style: normal; font-size: 8.5px; }
.column-status { flex: none; padding: 3px 8px; border-radius: 9px; font-size: 8px; }
.column-status.pending { background: rgba(183,121,31,.1); color: #a06a16; }
.column-status.approved { background: rgba(34,138,99,.09); color: var(--green); }
.column-status.rejected { background: rgba(217,83,100,.09); color: var(--red); }
.column-status.draft { background: var(--surface-2); color: var(--dim); }
.column-admin-actions { display: flex; align-items: center; gap: 4px; flex: none; }
.column-admin-actions button { height: 25px; padding: 0 8px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--muted); font-size: 8.5px; }
.column-admin-actions button:hover { border-color: rgba(47,127,211,.3); color: var(--accent); }
.column-admin-actions button.ok { border-color: rgba(34,138,99,.25); color: var(--green); background: rgba(34,138,99,.04); }
.column-admin-actions button.bad { border-color: rgba(217,83,100,.22); color: var(--red); background: rgba(217,83,100,.03); }
.column-admin-actions button.danger { color: var(--red); }
.column-card-body { position: relative; }
.column-card-status { position: absolute; top: 8px; right: 8px; padding: 2px 6px; border-radius: 7px; background: rgba(183,121,31,.12); color: #9a6718; font-style: normal; font-size: 7.5px; }
.column-card-status.rejected { background: rgba(217,83,100,.1); color: var(--red); }
.column-card-status.draft { background: rgba(100,116,139,.1); color: var(--dim); }
.column-review-tip { padding: 9px 11px; border: 1px dashed rgba(183,121,31,.35); border-radius: 8px; background: rgba(244,210,122,.1); color: #8a6420; font-size: 9.5px; line-height: 1.5; }
@media (max-width: 760px) {
  .column-admin-stats { grid-template-columns: repeat(2, 1fr); }
  .column-admin-row { flex-wrap: wrap; }
  .column-admin-actions { width: 100%; justify-content: flex-end; }
}
.column-review-banner { margin: 0 0 12px; padding: 10px 13px; border: 1px solid rgba(183,121,31,.3); border-radius: 9px; background: rgba(244,210,122,.12); color: #8a6420; font-size: 10px; line-height: 1.6; }
.column-review-banner.rejected { border-color: rgba(217,83,100,.28); background: rgba(217,83,100,.05); color: var(--red); }
.column-review-banner.draft { border-color: var(--line); background: var(--surface-2); color: var(--dim); }
.column-admin-row > .column-admin-actions { flex: none; width: auto; }
.column-admin-row > .column-admin-main { flex: 1; min-width: 0; }

/* 点赞系统 */
.like-btn { display: inline-flex; align-items: center; gap: 4px; height: 29px; padding: 0 9px; border: 1px solid var(--line); border-radius: 15px; background: #fff; color: var(--muted); font-size: 9px; transition: .16s ease; }
.like-btn span { color: #94a6b8; font-size: 13px; line-height: 1; }
.like-btn em { color: var(--dim); font-style: normal; font-family: var(--num); font-size: 8.5px; }
.like-btn:hover { border-color: rgba(217,83,100,.28); color: var(--red); background: rgba(217,83,100,.035); }
.like-btn:hover span { color: var(--red); }
.like-btn.active { border-color: rgba(217,83,100,.3); background: rgba(217,83,100,.07); color: var(--red); }
.like-btn.active span { color: var(--red); }
.like-btn.active em { color: var(--red); }
.like-btn:disabled { opacity: .55; }
.drawer-like-row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.column-detail-actions .like-btn { margin-right: 2px; }
.post-foot .like-btn { flex: none; }
@media (max-width: 760px) {
  .like-btn { height: 28px; padding: 0 8px; }
  .post-foot .like-btn b, .post-foot .post-fav b { font-size: 8.5px; }
}

/* 个人主页快捷操作与内容面板 */
.uh-quick-actions { display: flex; align-items: center; gap: 6px; margin-top: 12px; padding-top: 11px; border-top: 1px solid var(--line-soft); flex-wrap: wrap; }
.uh-quick-actions button { display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 11px; border: 1px solid rgba(47,127,211,.18); border-radius: 14px; background: rgba(47,127,211,.045); color: var(--accent); font-size: 9px; transition: .16s ease; }
.uh-quick-actions button span { font-size: 11px; }
.uh-quick-actions button:hover { border-color: rgba(47,127,211,.35); background: rgba(47,127,211,.09); transform: translateY(-1px); }
.uh-own-columns, .uh-own-favorites { margin-top: 16px; padding: 14px 15px; border: 1px solid var(--line-soft); border-radius: 13px; background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(250,253,255,.78)); }
.uh-own-columns-head { margin-bottom: 11px; }
.uh-own-columns-head h3 { font-size: 15px; }
.uh-own-columns-head span { padding: 2px 7px; border-radius: 8px; background: var(--surface-2); font-size: 8px; }
.uh-own-columns-head button { height: 26px; padding: 0 11px; font-size: 8.5px; }
.uh-own-columns .columns-grid { gap: 9px; }
.uh-own-favorites .uh-grid { gap: 9px; }
@media (max-width: 760px) {
  .uh-quick-actions { flex-wrap: nowrap; overflow-x: auto; margin-left: -2px; margin-right: -2px; padding-bottom: 2px; scrollbar-width: none; }
  .uh-quick-actions::-webkit-scrollbar { display: none; }
  .uh-quick-actions button { flex: none; height: 27px; padding: 0 9px; font-size: 8.5px; }
  .uh-own-columns, .uh-own-favorites { margin-top: 13px; padding: 12px; border-radius: 11px; }
  .uh-own-columns-head h3 { font-size: 14px; }
}

/* 个人主页姓名与 ID 居中 */
.uh-space-info { text-align: center; }
.uh-space-info h2 { justify-content: center; text-align: center; }
.uh-profile-meta { justify-content: center; }
.uh-space-actions { align-self: flex-end; }
@media (max-width: 760px) {
  .uh-space-info { text-align: center; }
  .uh-space-info h2 { justify-content: center; }
  .uh-profile-meta { justify-content: center; }
}

/* 头像菜单头像与ID居中 */
.avatar-menu-head { flex-direction: column; align-items: center; justify-content: center; gap: 7px; text-align: center; }
.avatar-menu-head .avatar-menu-avatar { margin: 0 auto; }
.avatar-menu-id { align-items: center; text-align: center; width: 100%; }
.avatar-menu-id b, .avatar-menu-id span { text-align: center; }

/* 写专栏页面 UI */
.column-editor-page { max-width: 1080px; margin: 0 auto; }
.column-editor-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 16px; }
.column-editor-head > div { flex: 1; }
.column-editor-head span { color: var(--accent); font-size: 8px; letter-spacing: .12em; }
.column-editor-head h1 { margin: 3px 0 4px; font-size: clamp(22px, 2.4vw, 30px); }
.column-editor-head p { margin: 0; color: var(--dim); font-size: 10px; }
.column-editor-layout { display: grid; grid-template-columns: minmax(0, 1fr) 318px; gap: 16px; align-items: start; }
.column-editor-main { min-width: 0; }
.column-editor-side { position: sticky; top: 78px; display: flex; flex-direction: column; gap: 12px; }
.column-editor-card { padding: 17px; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(180deg, #fff, #fcfdff); box-shadow: 0 8px 26px rgba(35,72,105,.05); }
.ce-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 13px; padding-bottom: 10px; border-bottom: 1px solid var(--line-soft); }
.ce-card-head h2 { margin: 0; font-size: 14px; }
.ce-card-head span { color: var(--dim); font-size: 8px; }
.ce-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 15px; }
.ce-field > span { color: var(--text); font-size: 10px; font-weight: 600; }
.ce-field em { color: var(--dim); font-style: normal; font-size: 8px; }
.ce-field input, .ce-field textarea, .ce-field select { width: 100%; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--text); padding: 10px 12px; font-size: 12px; resize: vertical; }
.ce-field input:focus, .ce-field textarea:focus, .ce-field select:focus { outline: none; border-color: rgba(47,127,211,.5); box-shadow: 0 0 0 3px rgba(47,127,211,.08); }
.ce-title input { padding: 13px 14px; font-size: 18px; font-weight: 650; }
.ce-field textarea { min-height: 430px; line-height: 1.9; font-size: 12.5px; }
.column-editor-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 9px; border-top: 1px solid var(--line-soft); color: var(--dim); font-size: 8.5px; }
.column-cover-preview { display: grid; place-items: center; width: 100%; aspect-ratio: 16 / 10; margin-bottom: 10px; border: 1px dashed var(--line-strong); border-radius: 10px; overflow: hidden; background: var(--surface-2); color: var(--dim); }
.column-cover-preview img { width: 100%; height: 100%; object-fit: cover; }
.ce-cover-empty { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.ce-cover-empty b { font-size: 22px; color: var(--accent); opacity: .5; }
.ce-cover-empty span { font-size: 8.5px; }
.ce-upload { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 9px; border: 1px solid rgba(47,127,211,.22); border-radius: 9px; background: rgba(47,127,211,.04); color: var(--accent); cursor: pointer; text-align: center; }
.ce-upload input { display: none; }
.ce-upload span { font-size: 9.5px; font-weight: 550; }
.ce-upload em { color: var(--dim); font-style: normal; font-size: 8px; }
.ce-write-tips { margin: 10px 0; padding: 9px 10px; border-radius: 8px; background: rgba(244,210,122,.1); }
.ce-write-tips b { display: block; color: #8a6420; font-size: 8.5px; }
.ce-write-tips span { display: block; margin-top: 3px; color: #9a7a3e; font-size: 8.5px; line-height: 1.55; }
.ce-actions { display: flex; gap: 7px; margin-top: 12px; }
.ce-actions .btn-primary { flex: 1; height: 36px; }
.ce-actions .btn-ghost { height: 36px; padding: 0 14px; }
@media (max-width: 900px) {
  .column-editor-layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 12px; }
  .column-editor-card { padding: 14px; }
}
@media (max-width: 760px) {
  .column-editor-page { max-width: none; }
  .column-editor-head { gap: 9px; margin-bottom: 12px; }
  .column-editor-head h1 { font-size: 21px; }
  .column-editor-layout { display: flex; flex-direction: column; gap: 11px; }
  .column-editor-side { position: static; width: 100%; }
  .column-editor-card { padding: 13px; border-radius: 12px; }
  .ce-title input { font-size: 16px; padding: 11px 12px; }
  .ce-field textarea { min-height: 320px; font-size: 12px; }
  .column-editor-meta { font-size: 8px; }
  .ce-cover-card { order: 2; }
  .ce-publish-card { order: 1; }
  .column-cover-preview { aspect-ratio: 16 / 9; }
}

/* 上传作品 UI */
.creator-form-card { max-width: 1040px; margin: 0 auto; padding: 18px; border: 1px solid var(--line); border-radius: 15px; background: linear-gradient(180deg, #fff, #fcfdff); box-shadow: 0 12px 34px rgba(35,72,105,.07); }
.creator-form-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 15px; padding-bottom: 13px; border-bottom: 1px solid var(--line-soft); }
.creator-form-head span { color: var(--accent); font-size: 8px; letter-spacing: .12em; }
.creator-form-head h2 { margin: 3px 0 4px; font-size: 20px; }
.creator-form-head p { margin: 0; color: var(--dim); font-size: 9.5px; line-height: 1.6; }
.creator-form-badge { flex: none; padding: 4px 9px; border-radius: 9px; background: rgba(183,121,31,.1); color: #a06a16; font-size: 8px; }
.creator-form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 14px; align-items: start; }
.creator-form-main { min-width: 0; }
.creator-form-side { display: flex; flex-direction: column; gap: 11px; }
.creator-form-section { padding: 15px; border: 1px solid var(--line-soft); border-radius: 12px; background: #fff; }
.creator-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line-soft); }
.creator-section-head h3 { margin: 0; font-size: 13px; }
.creator-section-head span { color: var(--dim); font-size: 8px; }
.creator-title-field input { font-size: 17px; font-weight: 650; padding: 12px 13px; }
.creator-cover-drop { position: relative; display: block; cursor: pointer; }
.creator-cover-drop > input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.creator-cover-preview { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 100%; aspect-ratio: 3 / 4; max-height: 280px; border: 1px dashed var(--line-strong); border-radius: 10px; background: linear-gradient(145deg, #f7fbff, #eef7ff); color: var(--dim); overflow: hidden; text-align: center; }
.creator-cover-preview img { width: 100%; height: 100%; object-fit: cover; }
.creator-cover-preview b { color: var(--accent); font-size: 26px; font-weight: 300; }
.creator-cover-preview span { color: var(--accent); font-size: 9.5px; }
.creator-cover-preview em { color: var(--dim); font-style: normal; font-size: 8px; }
.creator-cover-drop:hover .creator-cover-preview { border-color: rgba(47,127,211,.45); background: #fff; }
.creator-file-drop { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 13px; border: 1px dashed var(--line-strong); border-radius: 9px; background: var(--surface-2); cursor: pointer; text-align: center; }
.creator-file-drop input { display: none; }
.creator-file-drop b { color: var(--accent); font-size: 10px; }
.creator-file-drop span { color: var(--dim); font-size: 8px; }
.creator-file-drop:hover { border-color: rgba(47,127,211,.4); background: #fff; }
.creator-submit-card { background: linear-gradient(160deg, #fbfdff, #f7fbff); }
.creator-review-note { padding: 8px 9px; border-radius: 8px; background: rgba(244,210,122,.12); color: #8a6420; font-size: 8.5px; line-height: 1.55; }
.creator-form-actions { display: flex; gap: 7px; margin-top: 11px; }
.creator-form-actions .btn-primary { flex: 1; height: 35px; }
.creator-form-actions .btn-ghost { height: 35px; padding: 0 12px; }
.creator-form .creator-file-info { margin-top: 7px; color: var(--dim); font-size: 8.5px; overflow-wrap: anywhere; }
.creator-form .auth-note { margin: 8px 0 0; }
@media (max-width: 900px) { .creator-form-layout { grid-template-columns: minmax(0,1fr) 280px; gap: 11px; } .creator-form-card { padding: 14px; } }
@media (max-width: 760px) {
  .creator-form-card { padding: 12px; border-radius: 12px; }
  .creator-form-head h2 { font-size: 18px; }
  .creator-form-layout { display: flex; flex-direction: column; gap: 10px; }
  .creator-form-side { width: 100%; }
  .creator-form-section { padding: 12px; }
  .creator-cover-preview { aspect-ratio: 16 / 9; max-height: 210px; }
  .creator-title-field input { font-size: 15px; }
}

/* 全站丝滑性能层 */
html { scroll-behavior: smooth; overscroll-behavior-y: none; }
body { text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
button, a, [role="button"] { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.app-page:not([hidden]) { animation: uiPageIn .2s ease both; }
@keyframes uiPageIn { from { opacity: .65; transform: translateY(3px); } to { opacity: 1; transform: translateY(0); } }
.home-carousel-track { will-change: transform; }
.feed-list, .creator-list, .uh-content, .fan-list, .column-admin-list { -webkit-overflow-scrolling: touch; }
.lb-row, .creator-item, .fan-row { content-visibility: auto; contain-intrinsic-size: auto 64px; }
.post-card, .ent-upload-card, .column-card, .video-card, .home-rank-card { contain: layout style; }
.feed-search-wrap input, .topbar .search input { scroll-margin: 0; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
.review-card { cursor: pointer; transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease; }
.review-card:hover { border-color: rgba(47,127,211,.3); box-shadow: 0 6px 18px rgba(35,72,105,.07); transform: translateY(-1px); }
.review-view { height: 25px; padding: 0 9px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--muted); font-size: 8.5px; }
.review-view:hover { border-color: rgba(47,127,211,.3); color: var(--accent); }

/* 作品详细审核 */
.review-modal { position: fixed; inset: 0; z-index: 130; display: grid; place-items: center; padding: 22px; background: rgba(10, 28, 48, .48); backdrop-filter: blur(5px); }
.review-modal[hidden] { display: none; }
.review-dialog { position: relative; width: min(960px, 100%); max-height: 90vh; overflow: auto; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(180deg, #fff, #fbfdff); box-shadow: 0 30px 90px rgba(8, 28, 50, .3); padding: 20px; }
.review-close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--muted); font-size: 17px; }
.review-close:hover { color: var(--red); border-color: rgba(217,83,100,.3); }
.review-detail-head { padding-right: 34px; margin-bottom: 14px; }
.review-detail-head > span { color: var(--accent); font-size: 8px; letter-spacing: .12em; }
.review-detail-head h2 { margin: 3px 0 7px; font-size: 22px; }
.review-detail-head > div { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.review-detail-head em { color: var(--dim); font-style: normal; font-size: 9px; }
.review-detail-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr); gap: 16px; align-items: start; }
.review-detail-media { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.review-video { width: 100%; max-height: 430px; border-radius: 10px; background: #091522; }
.review-audio { width: 100%; margin: 8px 0; }
.review-pdf { width: 100%; height: 430px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.review-file-image, .review-detail-cover { width: 100%; max-height: 330px; object-fit: contain; border-radius: 9px; background: var(--surface-2); }
.review-file-link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; border: 1px dashed var(--line-strong); border-radius: 9px; color: var(--accent); font-size: 10px; }
.review-media-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; min-height: 180px; border: 1px dashed var(--line-strong); border-radius: 9px; background: var(--surface-2); color: var(--dim); }
.review-media-empty b { font-size: 26px; opacity: .5; }
.review-media-empty span { font-size: 9px; }
.review-detail-info { padding: 13px; border: 1px solid var(--line-soft); border-radius: 11px; background: linear-gradient(180deg, #fff, #fbfdff); }
.review-detail-info dl { display: flex; flex-direction: column; gap: 7px; margin: 0 0 12px; }
.review-detail-info dl > div { display: flex; justify-content: space-between; gap: 10px; padding-bottom: 6px; border-bottom: 1px solid var(--line-soft); }
.review-detail-info dt { color: var(--dim); font-size: 8.5px; }
.review-detail-info dd { margin: 0; color: var(--text); font-size: 9.5px; text-align: right; overflow-wrap: anywhere; }
.review-synopsis { margin-bottom: 11px; }
.review-synopsis b { font-size: 9px; }
.review-synopsis p { margin: 4px 0 0; color: var(--muted); font-size: 9.5px; line-height: 1.7; }
.review-detail-info .review-note { display: block; margin: 0 0 10px; padding: 7px 9px; border-radius: 7px; background: rgba(217,83,100,.06); color: var(--red); font-size: 9px; }
.review-detail-actions { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.review-detail-actions .btn-primary, .review-detail-actions .btn-ghost { height: 32px; padding: 0 12px; font-size: 9px; }
.review-detail-actions .danger { color: var(--red); }
body.review-modal-open { overflow: hidden; }
@media (max-width: 760px) {
  .review-modal { padding: 10px; }
  .review-dialog { padding: 14px; max-height: 94vh; border-radius: 14px; }
  .review-detail-head h2 { font-size: 18px; }
  .review-detail-grid { grid-template-columns: 1fr; }
  .review-video { max-height: 260px; }
  .review-pdf { height: 280px; }
}
.review-card[hidden] { display: none !important; }

/* 作品内容在线观看与阅读 */
.work-content-preview { margin: 0 0 16px; padding: 13px; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(180deg, #fff, #fbfdff); }
.work-preview-head { display: flex; align-items: baseline; justify-content: space-between; gap: 9px; margin-bottom: 9px; }
.work-preview-head h3 { margin: 0; font-size: 14px; }
.work-preview-head a { color: var(--accent); font-size: 8.5px; }
.work-video-player { display: block; width: 100%; max-height: 480px; border-radius: 9px; background: #07121f; }
.work-audio-player { display: block; width: 100%; margin: 6px 0; }
.work-image-reader { display: block; width: 100%; max-height: 560px; object-fit: contain; border-radius: 9px; background: var(--surface-2); }
.work-pdf-reader { display: block; width: 100%; height: 560px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.work-text-reader { max-height: 520px; overflow: auto; padding: 16px 18px; border: 1px solid var(--line-soft); border-radius: 9px; background: #fffdf8; color: #29313b; font-family: "Songti SC", "STSong", serif; font-size: 13px; line-height: 2; white-space: pre-wrap; overflow-wrap: anywhere; }
.work-text-reader::-webkit-scrollbar { width: 7px; }
.work-text-reader::-webkit-scrollbar-thumb { border-radius: 6px; background: rgba(47,127,211,.22); }
.work-file-open { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; width: 100%; border: 1px dashed var(--line-strong); border-radius: 9px; color: var(--accent); font-size: 10px; }
.work-file-open:hover { border-color: rgba(47,127,211,.45); background: rgba(47,127,211,.035); }
@media (max-width: 760px) {
  .work-content-preview { padding: 10px; margin-bottom: 12px; }
  .work-video-player { max-height: 300px; }
  .work-pdf-reader { height: 420px; }
  .work-text-reader { max-height: 420px; padding: 13px 14px; font-size: 12px; line-height: 1.9; }
}
.creator-medium-note { margin: -4px 0 11px; color: var(--dim); font-size: 8.5px; line-height: 1.6; }

/* 上传视频作品卡片 */
.video-work-card { cursor: pointer; }
.video-work-card .video-cover { position: relative; }
.video-work-card .video-cover img { transition: transform .35s ease; }
.video-work-card:hover .video-cover img { transform: scale(1.035); }
.video-play-badge { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(6,22,38,.55); color: #fff; font-style: normal; font-size: 12px; transform: translate(-50%, -50%); backdrop-filter: blur(6px); pointer-events: none; }

/* 视频详情：适中播放器与评论优先 */
.drawer.video-detail .drawer-head,
.drawer.video-detail .drawer-body { width: min(1040px, 100%); margin-left: auto; margin-right: auto; }
.work-content-preview.is-video { width: min(880px, 100%); margin: 0 auto 14px; padding: 0; border: 0; background: transparent; }
.work-content-preview.is-video .work-preview-head { padding: 0 2px; margin-bottom: 8px; }
.work-content-preview.is-video .work-video-player {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  max-height: min(52vh, 500px);
  object-fit: contain;
  border-radius: 12px;
  background: #060f1a;
  box-shadow: 0 10px 30px rgba(8, 25, 44, .18);
}
.work-preview-head > div { display: flex; align-items: center; gap: 10px; }
.work-comment-jump { border: 0; background: transparent; color: var(--accent); font-size: 8.5px; padding: 0; }
.work-comment-jump:hover { text-decoration: underline; }
.drawer.video-detail .drawer-stats { margin-top: 4px; }
.drawer-comments { scroll-margin-top: 80px; }
.drawer.video-detail .drawer-comments { margin-top: 12px; }
@media (max-width: 760px) {
  .work-content-preview.is-video { width: 100%; margin-bottom: 11px; }
  .work-content-preview.is-video .work-video-player { max-height: 56vh; border-radius: 9px; }
  .drawer.video-detail .drawer-head, .drawer.video-detail .drawer-body { width: 100%; }
}
.work-download { display: inline-flex; align-items: center; height: 27px; padding: 0 10px; border: 1px solid rgba(47,127,211,.25); border-radius: 14px; background: rgba(47,127,211,.06); color: var(--accent); font-size: 8.5px; }
.work-download:hover { background: rgba(47,127,211,.11); }
.work-file-open[download] { border-style: solid; background: rgba(47,127,211,.05); }
.work-file-unavailable { display: flex; align-items: center; justify-content: center; min-height: 90px; border: 1px dashed var(--line-strong); border-radius: 9px; background: var(--surface-2); color: var(--dim); font-size: 9.5px; }

/* 视频信息置于播放器下方 */
.drawer.video-detail .drawer-head { width: 100%; max-width: 880px; margin: 0 auto; padding: 14px 2px 10px; border-bottom: 0; gap: 0; }
.drawer.video-detail .drawer-head > img { display: none; }
.drawer.video-detail .drawer-head-info { width: 100%; padding-top: 0; }
.drawer.video-detail .drawer-title { margin: 2px 0 4px; font-size: 20px; }
.drawer.video-detail .drawer-sub { font-size: 9.5px; }
.drawer.video-detail .drawer-body { padding-top: 12px; }
.drawer.video-detail .drawer-stats { margin-top: 4px; }
@media (max-width: 760px) {
  .drawer.video-detail .drawer-head { max-width: none; padding: 11px 0 8px; }
  .drawer.video-detail .drawer-title { font-size: 18px; }
}
.work-content-preview.is-video { width: min(1000px, 100%); }
.work-content-preview.is-video .work-video-player { max-height: min(62vh, 620px); }
.drawer.video-detail .drawer-head { max-width: 1000px; }

/* 视频详情双栏：播放与相关推荐 */
.drawer.video-detail .drawer-body.video-body-grid { display: grid; grid-template-columns: minmax(0, 1fr) 292px; gap: 18px; align-items: start; width: min(1240px, 100%); }
.video-main-col { min-width: 0; }
.video-side-col { position: sticky; top: 78px; align-self: start; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(180deg, #fff, #fbfdff); }
.video-up-card { display: flex; align-items: center; gap: 8px; padding-bottom: 10px; margin-bottom: 9px; border-bottom: 1px solid var(--line-soft); }
.video-up-avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(145deg, #dceeff, #a9cde9); color: #235a91; font-size: 12px; font-weight: 600; flex: none; }
.video-up-card > div { flex: 1; min-width: 0; }
.video-up-card b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
.video-up-card em { display: block; color: var(--dim); font-style: normal; font-size: 8px; }
.video-up-card button { height: 24px; padding: 0 9px; border: 1px solid rgba(47,127,211,.25); border-radius: 12px; background: rgba(47,127,211,.06); color: var(--accent); font-size: 8px; flex: none; }
.video-side-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px; }
.video-side-head b { font-size: 12px; }
.video-side-head span { color: var(--dim); font-size: 8px; }
.video-side-list { display: flex; flex-direction: column; gap: 7px; max-height: calc(100vh - 250px); overflow: auto; }
.video-side-item { display: flex; gap: 8px; align-items: flex-start; width: 100%; padding: 0; border: 0; background: transparent; text-align: left; }
.video-side-thumb { display: grid; place-items: center; width: 84px; height: 52px; border-radius: 7px; overflow: hidden; background: linear-gradient(145deg, #eaf5ff, #d6e9f8); color: var(--accent); font-size: 13px; flex: none; }
.video-side-thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-side-item > span:last-child { min-width: 0; }
.video-side-item b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 9.5px; line-height: 1.45; }
.video-side-item em { display: block; margin-top: 3px; color: var(--dim); font-style: normal; font-size: 8px; }
.video-side-item:hover b { color: var(--accent); }
.video-side-empty { color: var(--dim); font-size: 9px; text-align: center; padding: 12px 0; }
@media (max-width: 980px) {
  .drawer.video-detail .drawer-body.video-body-grid { display: block; width: 100%; }
  .video-side-col { display: none; }
}

/* 视频播放器页 UI 精修 */
.drawer.video-detail { background: linear-gradient(180deg, #f4f9fe, #fbfdff 320px); }
.drawer.video-detail .drawer-body.video-body-grid { gap: 20px; padding-top: 18px; }
.drawer.video-detail .work-content-preview.is-video { padding: 10px; border-radius: 16px; background: linear-gradient(150deg, #0a1622, #122a40); box-shadow: 0 18px 44px rgba(4, 18, 32, .28); }
.drawer.video-detail .work-content-preview.is-video .work-preview-head { padding: 1px 4px 9px; margin: 0; }
.drawer.video-detail .work-content-preview.is-video .work-preview-head h3 { color: rgba(255,255,255,.9); font-size: 11px; letter-spacing: .04em; }
.drawer.video-detail .work-comment-jump { color: rgba(255,255,255,.72); }
.drawer.video-detail .work-comment-jump:hover { color: #fff; }
.drawer.video-detail .work-video-player { border-radius: 10px; box-shadow: none; }
.drawer.video-detail .drawer-head { margin-top: 12px; padding: 15px 16px 13px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.drawer.video-detail .drawer-title { font-size: 21px; line-height: 1.35; }
.drawer.video-detail .drawer-kicker { margin-bottom: 8px; }
.drawer.video-detail .pill { border-radius: 8px; padding: 2px 7px; font-size: 8.5px; }
.drawer.video-detail .drawer-like-row { margin-top: 10px; gap: 7px; }
.drawer.video-detail .drawer-like-row .like-btn, .drawer.video-detail .fav-btn { height: 31px; border-radius: 16px; }
.drawer.video-detail .drawer-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 12px 0 14px; }
.drawer.video-detail .stat { border-radius: 10px; padding: 10px 11px; background: linear-gradient(180deg, #fff, #f8fcff); }
.drawer.video-detail .stat label { font-size: 8.5px; }
.drawer.video-detail .stat b { font-size: 17px; }
.drawer.video-detail .drawer-comments { margin-top: 14px; padding: 15px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.drawer.video-detail .drawer-comments > h3 { margin-top: 0; }
.drawer.video-detail .video-side-col { border-radius: 13px; box-shadow: 0 8px 24px rgba(35,72,105,.05); }
.video-up-card { padding: 11px; margin: -2px -2px 10px; border: 0; border-radius: 10px; background: linear-gradient(145deg, #f2f9ff, #e8f4ff); }
.video-up-card button { background: #fff; }
.video-side-item { padding: 5px; border-radius: 8px; transition: background .16s ease; }
.video-side-item:hover { background: rgba(47,127,211,.06); }
.video-side-thumb { width: 82px; height: 50px; }
@media (max-width: 760px) {
  .drawer.video-detail .work-content-preview.is-video { padding: 6px; border-radius: 12px; }
  .drawer.video-detail .drawer-head { padding: 12px; border-radius: 11px; }
  .drawer.video-detail .drawer-title { font-size: 18px; }
  .drawer.video-detail .drawer-stats { gap: 6px; }
  .drawer.video-detail .drawer-comments { padding: 12px; border-radius: 11px; }
}
.drawer.video-detail .drawer-stats { grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); }

/* 视频作者信息在播放器上方 */
.video-uploader-bar { display: flex; align-items: center; gap: 9px; width: 100%; margin-bottom: 10px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(180deg, #fff, #fbfdff); }
.video-uploader-bar .video-up-avatar { width: 36px; height: 36px; }
.video-uploader-bar > div { flex: 1; min-width: 0; }
.video-uploader-bar b { display: block; font-size: 11px; }
.video-uploader-bar em { display: block; color: var(--dim); font-style: normal; font-size: 8px; }
.video-uploader-bar button { height: 27px; padding: 0 11px; border: 1px solid rgba(47,127,211,.25); border-radius: 14px; background: rgba(47,127,211,.06); color: var(--accent); font-size: 8.5px; flex: none; }
.video-uploader-bar button:hover { background: rgba(47,127,211,.11); }
@media (max-width: 760px) {
  .video-uploader-bar { padding: 8px 10px; margin-bottom: 8px; border-radius: 9px; }
}

/* 右侧评分卡 */
.video-rating-card { display: flex; flex-direction: column; align-items: center; gap: 1px; margin-bottom: 11px; padding: 12px; border-radius: 10px; background: linear-gradient(145deg, #f4f9ff, #fff9e9); border: 1px solid rgba(191,148,53,.2); }
.video-rating-card span { color: var(--dim); font-size: 8px; letter-spacing: .06em; }
.video-rating-card b { color: #8a6420; font-family: var(--num); font-size: 27px; line-height: 1.1; }
.video-rating-card em { color: #a0782c; font-style: normal; font-size: 8px; }
@media (max-width: 980px) {
  .drawer.video-detail .drawer-body.video-body-grid { display: block; width: 100%; }
  .video-side-col { display: block; position: static; margin-top: 12px; }
  .video-side-list { max-height: none; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
  .video-side-item { min-width: 0; }
  .video-side-thumb { width: 78px; height: 48px; }
}
@media (max-width: 560px) {
  .video-side-list { grid-template-columns: 1fr; }
}
.video-uploader-bar .video-up-avatar { display: none; }
.video-uploader-bar .video-up-avatar { display: grid; }
.video-up-avatar { overflow: hidden; }
.video-up-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

/* 视频首页改为横向卡片 */
.video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.video-card { border-radius: 9px; }
.video-link { display: grid; grid-template-columns: 140px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 7px; }
.video-link .video-cover { grid-row: 1 / 3; width: 100%; height: auto; aspect-ratio: 16 / 9; }
.video-link b { align-self: end; margin-top: 0; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.45; font-size: 10.5px; }
.video-link em { align-self: start; margin-top: 3px; }
.video-work-card { display: grid; grid-template-columns: 140px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 7px; }
.video-work-card .video-cover { grid-row: 1 / 3; margin: 0; }
.video-work-card b { align-self: end; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.45; font-size: 10.5px; }
.video-work-card em { align-self: start; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 760px) {
  .video-grid { grid-template-columns: 1fr; }
  .video-link, .video-work-card { grid-template-columns: 122px minmax(0, 1fr); }
  .video-link b, .video-work-card b { font-size: 10px; }
}

/* 视频页信息行与分享 */
.video-info-line { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 7px 0 2px; }
.video-info-line:empty { display: none; }
.video-info-line span { padding: 2px 7px; border-radius: 7px; background: var(--surface-2); color: var(--dim); font-family: var(--num); font-size: 8px; }
.video-share { height: 31px; padding: 0 13px; border: 1px solid var(--line); border-radius: 16px; background: #fff; color: var(--muted); font-size: 9px; }
.video-share:hover { border-color: rgba(47,127,211,.3); color: var(--accent); background: rgba(47,127,211,.04); }
.drawer-comments h3 em { margin-left: 7px; color: var(--dim); font-style: normal; font-size: 8.5px; font-weight: 400; }

/* 首页视频固定为宽幅横向长条 */
#homeWorks.video-grid { grid-template-columns: 1fr; }
#homeWorks.video-grid .video-link,
#homeWorks.video-grid .video-work-card { grid-template-columns: 220px minmax(0, 1fr); }
#homeWorks.video-grid .video-link b,
#homeWorks.video-grid .video-work-card b { font-size: 11px; }
@media (max-width: 760px) {
  #homeWorks.video-grid .video-link,
  #homeWorks.video-grid .video-work-card { grid-template-columns: 120px minmax(0, 1fr); }
}

/* 首页排版参考 AcFun / B 站 */
.app-page.home-works-page {
  grid-template-columns: minmax(0, 1fr) 286px;
  grid-template-areas: "visual categories" "main main";
  gap: 16px 18px;
}
.home-visual { grid-area: visual; position: relative; top: auto; width: 100%; padding: 0; border: 0; border-radius: 0; background: transparent; display: block; }
.home-carousel { width: 100%; aspect-ratio: 21 / 9; border-radius: 14px; }
.home-rank-card { margin-top: 10px; }
.home-works-main { grid-area: main; }
.home-category-aside { grid-area: categories; position: sticky; top: 76px; align-self: start; }
#homeWorks, #homeWorks.ent-upload-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1180px) {
  .app-page.home-works-page { grid-template-columns: minmax(0, 1fr) 250px; }
  #homeWorks, #homeWorks.ent-upload-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .app-page.home-works-page { grid-template-columns: minmax(0, 1fr); grid-template-areas: "visual" "categories" "main"; }
  .home-category-aside { position: static; }
  #homeWorks, #homeWorks.ent-upload-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .app-page.home-works-page { display: block; }
  .home-carousel { aspect-ratio: 16 / 9; }
  #homeWorks, #homeWorks.ent-upload-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.video-side-col { position: static; top: auto; }

/* 首页排版：B站式横幅 + 横向分类 + 内容网格 */
.app-page.home-works-page {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "visual" "categories" "main";
  gap: 13px;
}
.home-visual { grid-area: visual; width: 100%; }
.home-carousel { width: 100%; aspect-ratio: 21 / 8; border-radius: 15px; }
.home-rank-card { margin-top: 9px; }
.home-category-aside {
  grid-area: categories;
  display: flex;
  align-items: center;
  gap: 10px;
  position: static;
  width: 100%;
  padding: 8px 10px;
  border-radius: 11px;
  overflow: hidden;
}
.home-category-head { flex: none; margin: 0; padding: 0 4px; white-space: nowrap; }
.home-category-head b { font-size: 12px; }
.home-category-head span { font-size: 8px; }
#homeCategoryList { display: flex; align-items: center; gap: 5px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
#homeCategoryList::-webkit-scrollbar { display: none; }
.home-cat-item { flex: none; width: auto; height: 31px; margin: 0; padding: 0 10px; border-radius: 16px; border: 1px solid transparent; }
.home-cat-item:hover { transform: none; }
.home-cat-item.active { box-shadow: inset 0 0 0 1px rgba(47,127,211,.12); background: rgba(47,127,211,.1); }
.home-cat-item em { min-width: 18px; padding: 1px 5px; }
.home-works-main { grid-area: main; }
#homeWorks, #homeWorks.ent-upload-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 1400px) { #homeWorks, #homeWorks.ent-upload-grid { grid-template-columns: repeat(4, minmax(0,1fr)); } }
@media (max-width: 1100px) { #homeWorks, #homeWorks.ent-upload-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 900px) {
  .home-carousel { aspect-ratio: 21 / 9; }
  #homeWorks, #homeWorks.ent-upload-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .app-page.home-works-page { display: block; }
  .home-category-aside { display: flex; margin-bottom: 10px; padding: 7px 8px; }
  .home-category-head { display: none; }
  #homeCategoryList { gap: 4px; }
  .home-cat-item { height: 29px; padding: 0 9px; font-size: 10px; }
  .home-carousel { aspect-ratio: 16 / 9; }
  #homeWorks, #homeWorks.ent-upload-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
}
.home-visual { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 10px; align-items: start; }
.home-rank-card { margin-top: 0; }
@media (max-width: 1100px) {
  .home-visual { grid-template-columns: minmax(0, 1fr); }
  .home-rank-card { margin-top: 8px; }
}
@media (max-width: 760px) {
  .home-category-aside { display: none !important; }
}

/* 首页轮播右侧推荐视频列 */
.home-side-stack { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.home-video-recs { border: 1px solid var(--line); border-radius: 11px; background: linear-gradient(180deg, #fff, #fbfdff); overflow: hidden; }
.home-video-recs-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 10px; border-bottom: 1px solid var(--line-soft); }
.home-video-recs-head > div { display: flex; align-items: baseline; gap: 5px; }
.home-video-recs-head span { color: var(--accent); font-size: 7.5px; letter-spacing: .1em; }
.home-video-recs-head b { font-size: 11px; }
.home-video-recs-head button { border: 0; background: transparent; color: var(--accent); font-size: 8px; }
.home-video-recs-list { display: flex; flex-direction: column; }
.home-video-rec { display: flex; gap: 7px; width: 100%; padding: 6px 8px; border: 0; border-bottom: 1px solid var(--line-soft); background: transparent; text-align: left; }
.home-video-rec:last-child { border-bottom: 0; }
.home-video-rec:hover { background: rgba(47,127,211,.045); }
.home-video-rec-thumb { display: grid; place-items: center; width: 72px; height: 41px; border-radius: 6px; overflow: hidden; background: linear-gradient(145deg, #e9f5ff, #d5e9f8); color: var(--accent); font-size: 10px; flex: none; }
.home-video-rec-thumb img { width: 100%; height: 100%; object-fit: cover; }
.home-video-rec > span:last-child { min-width: 0; }
.home-video-rec b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 9px; line-height: 1.4; }
.home-video-rec em { display: block; margin-top: 2px; color: var(--dim); font-style: normal; font-size: 7.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 1100px) {
  .home-side-stack { display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
}
@media (max-width: 760px) {
  .home-side-stack { display: flex; }
  .home-video-recs-list { display: grid; grid-template-columns: 1fr 1fr; }
  .home-video-rec { border-bottom: 0; }
}

/* 竖版首页视频：B站 App 双列卡片 */
@media (max-width: 760px) {
  #homeWorks.video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  #homeWorks.video-grid .video-link,
  #homeWorks.video-grid .video-work-card { display: block; padding: 0; }
  #homeWorks.video-grid .video-cover { width: 100%; aspect-ratio: 16 / 9; border-radius: 8px 8px 0 0; }
  #homeWorks.video-grid .video-link b,
  #homeWorks.video-grid .video-work-card b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 7px 8px 0; font-size: 10.5px; line-height: 1.45; }
  #homeWorks.video-grid .video-link em,
  #homeWorks.video-grid .video-work-card em { display: block; margin: 3px 8px 8px; font-size: 8.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  #homeWorks.video-grid .video-card { border-radius: 9px; }
}

/* 竖版排行榜卡片拉长 */
@media (max-width: 760px) {
  .lb-top3 { grid-template-columns: 1fr; gap: 8px; margin-bottom: 12px; }
  .lb-card { display: grid; grid-template-columns: 78px minmax(0, 1fr); grid-template-areas: "cover body" "cover metrics"; column-gap: 11px; padding: 10px; min-height: 104px; align-items: stretch; }
  .lb-cover { grid-area: cover; width: 78px; height: 100%; min-height: 100px; aspect-ratio: auto; border-radius: 8px; }
  .lb-card-body { grid-area: body; padding: 2px 0 5px; align-self: start; }
  .lb-card-body b { font-size: 12.5px; }
  .lb-metrics { grid-area: metrics; border-top: 0; padding-top: 0; align-self: end; }
  .lb-metrics strong { font-size: 17px; }
  .lb-badge { top: 8px; left: 8px; font-size: 8px; }
  .lb-row { min-height: 58px; padding: 11px 10px; }
  .lb-row-title b { font-size: 11.5px; }
}

/* 竖版首页视频恢复横向宽幅卡片 */
@media (max-width: 760px) {
  #homeWorks.video-grid { display: grid; grid-template-columns: 1fr; gap: 8px; }
  #homeWorks.video-grid .video-link,
  #homeWorks.video-grid .video-work-card { display: grid; grid-template-columns: 122px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 7px; }
  #homeWorks.video-grid .video-cover { grid-row: 1 / 3; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 6px; }
  #homeWorks.video-grid .video-link b,
  #homeWorks.video-grid .video-work-card b { align-self: end; margin: 0; font-size: 10.5px; line-height: 1.45; }
  #homeWorks.video-grid .video-link em,
  #homeWorks.video-grid .video-work-card em { align-self: start; margin: 3px 0 0; font-size: 8.5px; }
}

/* 轮播右侧：专栏 / 算法推荐视频独立两栏 */
.app-page.home-works-page {
  grid-template-columns: minmax(0, 1fr) 226px 268px;
  grid-template-areas: "visual categories recommendations" "main main main";
  gap: 14px;
}
.home-visual { grid-area: visual; display: flex; flex-direction: column; align-items: stretch; width: 100%; }
.home-carousel { aspect-ratio: 16 / 8; }
.home-side-stack { display: flex; flex-direction: column; }
.home-category-aside { grid-area: categories; display: block; position: static; width: 100%; padding: 12px; overflow: visible; }
.home-category-head { display: flex; align-items: baseline; justify-content: space-between; margin: 0 0 8px; padding: 0 3px; }
#homeCategoryList { display: flex; flex-direction: column; gap: 2px; overflow: visible; }
.home-cat-item { width: 100%; height: 34px; padding: 0 8px; border-radius: 8px; }
.home-cat-item:hover { transform: none; }
.home-video-rail { grid-area: recommendations; display: block; align-self: start; width: 100%; }
.home-video-rail .home-video-recs { border-radius: 12px; box-shadow: 0 8px 24px rgba(35,72,105,.05); }
.home-works-main { grid-area: main; }
@media (max-width: 1180px) {
  .app-page.home-works-page { grid-template-columns: minmax(0, 1fr) 238px; grid-template-areas: "visual categories" "recommendations recommendations" "main main"; }
  .home-video-rail .home-video-recs-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .home-video-rail .home-video-rec { border-bottom: 0; }
}
@media (max-width: 900px) {
  .app-page.home-works-page { grid-template-columns: minmax(0, 1fr); grid-template-areas: "visual" "categories" "recommendations" "main"; }
  .home-video-rail .home-video-recs-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .home-video-rail { display: none; }
  .home-category-aside { display: none !important; }
}

/* 手机排行榜：全宽长卡片，占据屏幕 */
@media (max-width: 760px) {
  .lb-top3 { display: flex; flex-direction: column; gap: 12px; }
  .lb-card { display: flex; flex-direction: column; width: 100%; min-height: 64vh; padding: 0; overflow: hidden; border-radius: 14px; }
  .lb-cover { width: 100%; height: 46vh; min-height: 300px; aspect-ratio: auto; border-radius: 0; flex: none; }
  .lb-card-body { flex: 1; padding: 14px 14px 8px; }
  .lb-card-body b { font-size: 18px; line-height: 1.35; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .lb-card-body span { margin-top: 5px; font-size: 10px; }
  .lb-metrics { margin-top: auto; padding: 10px 14px 14px; border-top: 1px solid var(--line-soft); }
  .lb-metrics strong { font-size: 24px; }
  .lb-metrics em { font-size: 9px; }
  .lb-metrics span { font-size: 9px; }
  .lb-badge { top: 12px; left: 12px; padding: 4px 10px; font-size: 10px; border-radius: 10px; }
}

/* 轮播下方分类，排行榜与推荐在右侧 */
.app-page.home-works-page {
  grid-template-columns: minmax(0, 1fr) 300px;
  grid-template-areas: "visual rail" "categories rail" "main rail";
  gap: 12px 16px;
}
.home-visual { grid-area: visual; display: block; width: 100%; }
.home-carousel { aspect-ratio: 21 / 9; }
.home-category-aside { grid-area: categories; display: flex; align-items: center; gap: 9px; width: 100%; padding: 8px 10px; border-radius: 11px; overflow: hidden; }
.home-category-head { flex: none; margin: 0; white-space: nowrap; }
#homeCategoryList { display: flex; align-items: center; gap: 5px; flex: 1; min-width: 0; overflow-x: auto; }
.home-cat-item { flex: none; width: auto; height: 31px; margin: 0; padding: 0 10px; border-radius: 16px; }
.home-video-rail { grid-area: rail; display: flex; flex-direction: column; gap: 9px; width: 100%; align-self: start; }
.home-video-rail .home-rank-card { margin-top: 0; }
.home-works-main { grid-area: main; }
#homeWorks, #homeWorks.ent-upload-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1180px) {
  .app-page.home-works-page { grid-template-columns: minmax(0, 1fr) 260px; }
  #homeWorks, #homeWorks.ent-upload-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .app-page.home-works-page { grid-template-columns: minmax(0, 1fr); grid-template-areas: "visual" "categories" "rail" "main"; }
  #homeWorks, #homeWorks.ent-upload-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .app-page.home-works-page { display: grid; grid-template-columns: 1fr; grid-template-areas: "visual" "rail" "main"; }
  .home-category-aside { display: none !important; }
  .home-video-rail { display: flex; }
  .home-video-rail .home-video-recs { display: none; }
  .home-carousel { aspect-ratio: 16 / 9; }
  #homeWorks, #homeWorks.ent-upload-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 分类横向、排行榜仅标题 */
.app-page.home-works-page .home-category-aside { display: flex !important; flex-direction: row !important; align-items: center; }
.app-page.home-works-page #homeCategoryList { display: flex !important; flex-direction: row !important; align-items: center; overflow-x: auto; }
.app-page.home-works-page .home-cat-item { width: auto !important; flex: none; }
.home-rank-row em { display: none; }
.home-rank-row b { font-size: 10.5px; }
.home-rank-card .home-rank-head b { font-size: 11.5px; }

/* 轮播左侧占三分之二，推荐视频占三分之一 */
.home-visual { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 10px; align-items: stretch; }
.home-visual .home-carousel { width: 100%; height: 100%; min-height: 210px; aspect-ratio: auto; }
.home-hero-recs { min-width: 0; display: flex; }
.home-hero-recs .home-video-recs { display: flex; flex-direction: column; width: 100%; }
.home-hero-recs .home-video-recs-list { flex: 1; overflow: auto; }
.home-hero-recs .home-video-rec-thumb { width: 62px; height: 35px; }
.home-hero-recs .home-video-rec b { font-size: 8.5px; }
@media (max-width: 760px) {
  .home-visual { display: block; }
  .home-hero-recs { display: none; }
  .home-visual .home-carousel { min-height: 0; aspect-ratio: 16 / 9; }
}

/* 视频加载状态 */
.video-player-shell { position: relative; width: 100%; min-height: 0; }
.video-player-shell .work-video-player, .video-player-shell .review-video { display: block; width: 100%; }
.video-loading { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; border-radius: inherit; background: rgba(5, 15, 28, .42); color: rgba(255,255,255,.9); font-size: 9px; pointer-events: none; transition: opacity .2s ease, visibility .2s ease; }
.video-loading.hidden { opacity: 0; visibility: hidden; }
.video-loading.failed { background: rgba(20, 30, 45, .72); color: #ffb3bd; }
.video-loading i { width: 22px; height: 22px; border: 2px solid rgba(255,255,255,.28); border-top-color: #fff; border-radius: 50%; animation: videoSpin .75s linear infinite; }
.video-loading.failed i { display: none; }
@keyframes videoSpin { to { transform: rotate(360deg); } }
.home-visual { display: block; }
.home-visual .home-carousel { width: 100%; height: auto; min-height: 0; aspect-ratio: 21 / 9; }
.home-hero-recs { display: none !important; }

/* 竖版首页独立布局，不受电脑端改版影响 */
@media (max-width: 760px) {
  .app-page.home-works-page { display: grid; grid-template-columns: 1fr; grid-template-areas: "visual" "rail" "main"; gap: 10px; }
  .home-visual { display: block; width: 100%; }
  .home-visual .home-carousel { width: 100%; height: auto; min-height: 0; aspect-ratio: 16 / 9; }
  .home-category-aside { display: none !important; }
  .home-video-rail { display: block; width: 100%; margin: 0; }
  .home-video-rail .home-video-recs { display: none !important; }
  .home-works-main { grid-area: main; }
  #homeWorks:not(.video-grid) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
}

/* 轮播恢复之前的高度 */
@media (min-width: 761px) {
  .home-visual .home-carousel { height: 340px; min-height: 0; aspect-ratio: auto; }
}
@media (min-width: 761px) and (max-width: 1180px) {
  .home-visual .home-carousel { height: 300px; }
}

/* 轮播竖切一小块给推荐视频 */
.home-visual { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 1fr); gap: 10px; align-items: stretch; }
.home-visual .home-carousel { width: 100%; height: 340px; min-height: 0; aspect-ratio: auto; }
.home-hero-recs { display: flex !important; min-width: 0; }
.home-hero-recs .home-video-recs { display: flex; flex-direction: column; width: 100%; height: 340px; }
.home-hero-recs .home-video-recs-list { flex: 1; overflow: auto; }
.home-hero-recs .home-video-rec { padding: 6px 7px; gap: 6px; }
.home-hero-recs .home-video-rec-thumb { width: 52px; height: 32px; }
.home-hero-recs .home-video-rec b { font-size: 8px; }
.home-hero-recs .home-video-rec em { font-size: 7px; }
@media (min-width: 761px) and (max-width: 1180px) {
  .home-visual .home-carousel, .home-hero-recs .home-video-recs { height: 300px; }
}
@media (max-width: 760px) {
  .home-visual { display: block; }
  .home-hero-recs { display: none !important; }
  .home-visual .home-carousel { height: auto; aspect-ratio: 16 / 9; }
}

/* 竖版首页最终锁定 */
@media (max-width: 760px) {
  .app-page.home-works-page { display: grid !important; width: 100% !important; grid-template-columns: 1fr !important; grid-template-areas: "visual" "rail" "main" !important; gap: 10px !important; }
  .home-visual { display: block !important; width: 100% !important; }
  .home-visual .home-carousel { width: 100% !important; height: auto !important; min-height: 0 !important; aspect-ratio: 16 / 9 !important; }
  .home-hero-recs { display: none !important; }
  .app-page.home-works-page .home-category-aside { display: none !important; }
  .home-video-rail { display: block !important; width: 100% !important; margin: 0 !important; }
  .home-video-rail .home-video-recs { display: none !important; }
  .home-works-main { width: 100% !important; grid-area: main !important; }
  .app-page.home-works-page #homeWorks:not(.video-grid) { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 8px !important; }
  .app-page.home-works-page #homeWorks.video-grid { display: grid !important; grid-template-columns: 1fr !important; gap: 8px !important; }
}

/* 轮播再缩短，减少图片裁切 */
@media (min-width: 761px) {
  .home-visual .home-carousel { height: 280px; }
  .home-hero-recs .home-video-recs { height: 280px; }
}
@media (min-width: 761px) and (max-width: 1180px) {
  .home-visual .home-carousel { height: 250px; }
  .home-hero-recs .home-video-recs { height: 250px; }
}

/* 手机下拉刷新 */
.pull-refresh { display: none; }
@media (max-width: 760px) {
  html, body { overscroll-behavior-y: contain; }
  .pull-refresh { position: fixed; top: 54px; left: 50%; z-index: 880; display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 13px; border: 1px solid var(--line); border-radius: 17px; background: rgba(255,255,255,.96); box-shadow: 0 6px 18px rgba(35,72,105,.12); color: var(--muted); font-size: 9px; opacity: 0; pointer-events: none; transform: translate(-50%, -56px); transition: opacity .18s ease; }
  .pull-refresh.pulling, .pull-refresh.ready, .pull-refresh.refreshing { opacity: 1; }
  .pull-refresh.ready { color: var(--accent); border-color: rgba(47,127,211,.35); }
  .pull-refresh i { width: 13px; height: 13px; border: 2px solid rgba(47,127,211,.25); border-top-color: var(--accent); border-radius: 50%; }
  .pull-refresh.ready i { transform: rotate(180deg); border-color: var(--accent); border-right-color: transparent; }
  .pull-refresh.refreshing i { animation: videoSpin .75s linear infinite; }
}

/* 电脑端轮播只缩短高度，宽度保持全宽 */
@media (min-width: 761px) {
  .home-visual { display: block; }
  .home-visual .home-carousel { width: 100%; height: 240px; min-height: 0; aspect-ratio: auto; }
  .home-hero-recs { display: none !important; }
}
@media (min-width: 761px) and (max-width: 1180px) {
  .home-visual .home-carousel { height: 220px; }
}

/* 电脑轮播恢复标准 16:9 画幅 */
@media (min-width: 761px) {
  .home-visual .home-carousel { width: 100%; height: auto !important; max-height: none; aspect-ratio: 16 / 9 !important; }
}

/* 手机端品牌 Logo */
.mobile-brand { display: none; }
@media (max-width: 760px) {
  .mobile-brand { display: inline-flex; align-items: center; justify-content: center; width: 35px; height: 35px; flex: none; border-radius: 9px; overflow: hidden; box-shadow: 0 2px 8px rgba(35,72,105,.12); }
  .mobile-brand img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .topbar-left { gap: 6px; }
}

/* 浏览器顶栏只保留品牌图标 */
.weather-pill, #weatherPill { display: none !important; }
.mobile-brand { display: inline-flex !important; align-items: center; justify-content: center; width: 34px; height: 34px; flex: none; border-radius: 9px; overflow: hidden; }
.mobile-brand img { width: 100%; height: 100%; object-fit: contain; display: block; }
@media (max-width: 760px) {
  .mobile-brand { width: 35px; height: 35px; }
}

/* 品牌名称与标语 */
.mobile-brand { width: auto !important; height: 40px !important; gap: 7px; overflow: visible !important; }
.mobile-brand img { width: 34px !important; height: 34px !important; flex: none; }
.brand-copy { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.brand-copy b { color: var(--text); font-size: 12px; line-height: 1.2; letter-spacing: .04em; white-space: nowrap; }
.brand-copy em { color: var(--dim); font-style: normal; font-size: 6.5px; line-height: 1.2; letter-spacing: .01em; white-space: nowrap; }
.mobile-slogan { display: none; }
@media (max-width: 760px) {
  .mobile-brand { height: 36px !important; }
  .mobile-brand img { width: 35px !important; height: 35px !important; }
  .brand-copy em { display: none; }
  .brand-copy b { font-size: 11px; }
  .mobile-slogan { display: block; padding: 5px 12px 6px; color: var(--dim); font-size: 8px; letter-spacing: .08em; text-align: center; background: #fff; border-bottom: 1px solid var(--line-soft); }
}

/* 标语独立一行，避免挤压顶部导航 */
.brand-copy em { display: none !important; }
.mobile-slogan { display: block; padding: 6px 16px 7px; color: var(--dim); font-size: 8.5px; letter-spacing: .14em; text-align: center; background: #fff; border-bottom: 1px solid var(--line-soft); }
@media (max-width: 760px) {
  .mobile-slogan { padding: 5px 12px 6px; font-size: 8px; letter-spacing: .08em; }
}

/* 顶部导航栏加高 */
@media (min-width: 761px) {
  .topbar { height: 68px; padding: 0 30px; }
}
@media (max-width: 760px) {
  .topbar { height: 62px; padding-left: 12px; padding-right: 12px; }
}

/* 顶栏只留更大的 Logo */
.mobile-brand { width: 48px !important; height: 48px !important; border-radius: 11px; }
.mobile-brand img { width: 48px !important; height: 48px !important; }
@media (max-width: 760px) {
  .mobile-brand { width: 44px !important; height: 44px !important; }
  .mobile-brand img { width: 44px !important; height: 44px !important; }
}

/* Logo 旁品牌名与标语 */
.brand-copy em { display: block !important; font-size: 6.5px; line-height: 1.25; letter-spacing: .01em; }
.brand-copy b { font-size: 12px; }
@media (max-width: 760px) {
  .brand-copy em { display: block !important; font-size: 6px; }
  .brand-copy b { font-size: 11px; }
}

/* 站内视频：16:9 封面卡片，标题压在封面上 */
.video-grid,
#homeWorks.video-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px !important;
}
.video-card { border: 0 !important; border-radius: 10px !important; background: #0b1522 !important; overflow: hidden !important; }
.video-link,
#homeWorks.video-grid .video-link,
#homeWorks.video-grid .video-work-card,
.video-work-card {
  position: relative;
  display: block !important;
  padding: 0 !important;
  border-radius: 10px;
  overflow: hidden;
  background: #0b1522;
}
.video-cover,
#homeWorks.video-grid .video-cover {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9 !important;
  border-radius: 0 !important;
  grid-row: auto !important;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #dcebf8;
}
.video-cover img { width: 100%; height: 100%; object-fit: cover; }
.video-link::after,
.video-work-card::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 54%;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.82));
  pointer-events: none;
  z-index: 1;
}
.video-link b,
#homeWorks.video-grid .video-link b,
#homeWorks.video-grid .video-work-card b,
.video-work-card b {
  position: absolute;
  left: 10px; right: 10px; bottom: 22px;
  z-index: 2;
  margin: 0 !important;
  color: #fff;
  font-size: 12px;
  line-height: 1.42;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 1px 8px rgba(0,0,0,.55);
}
.video-link em,
#homeWorks.video-grid .video-link em,
#homeWorks.video-grid .video-work-card em,
.video-work-card em {
  position: absolute;
  left: 10px; right: 10px; bottom: 8px;
  z-index: 2;
  margin: 0 !important;
  color: rgba(255,255,255,.78);
  font-size: 8.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.video-play-badge { z-index: 2; }
.video-card > .content-fav, .video-delete { z-index: 4; }
@media (max-width: 760px) {
  .video-grid, #homeWorks.video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 8px !important; }
  .video-link b, .video-work-card b { font-size: 10.5px; bottom: 20px; }
}

/* 视频卡片不显示作者 */
.video-link em,
.video-work-card em,
#homeWorks.video-grid .video-link em,
#homeWorks.video-grid .video-work-card em { display: none !important; }
.video-link b,
.video-work-card b,
#homeWorks.video-grid .video-link b,
#homeWorks.video-grid .video-work-card b { bottom: 10px !important; }

/* 站内作品卡片不显示作者 */
.ent-upload-card em { display: none !important; }
.ent-upload-card b { margin-bottom: 2px; }

/* 所有分区里的视频作品统一使用视频卡 */
.ent-video-card { position: relative; padding: 0 !important; border: 0 !important; border-radius: 10px !important; background: #0b1522 !important; overflow: hidden !important; }
.ent-video-card .ent-upload-cover { width: 100%; height: auto !important; aspect-ratio: 16 / 9; margin: 0 !important; border-radius: 0 !important; }
.ent-video-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 54%; background: linear-gradient(180deg, transparent, rgba(0,0,0,.82)); pointer-events: none; z-index: 1; }
.ent-video-card > b { position: absolute; left: 10px; right: 10px; bottom: 21px; z-index: 2; margin: 0; color: #fff; font-size: 12px; line-height: 1.42; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-shadow: 0 1px 8px rgba(0,0,0,.55); }
.ent-video-card > span { position: absolute; left: 10px; right: 10px; bottom: 7px; z-index: 2; margin: 0; color: rgba(255,255,255,.78); font-size: 8.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 760px) {
  .ent-video-card > b { font-size: 10.5px; bottom: 19px; }
}

/* 去掉首页分类浏览 */
.home-category-aside { display: none !important; }
.app-page.home-works-page { grid-template-areas: "visual rail" "main rail" !important; }
@media (max-width: 900px) {
  .app-page.home-works-page { grid-template-areas: "visual" "rail" "main" !important; }
}
.home-rank-card { display: none !important; }

/* 竖版：去掉分类入口，视频一行两个 */
@media (max-width: 760px) {
  .app-nav button[data-app-nav="category"] { display: none !important; }
  #homeWorks.video-grid,
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 8px !important; }
  #homeWorks.video-grid .video-link,
  #homeWorks.video-grid .video-work-card,
  .video-grid .video-link,
  .video-grid .video-work-card { display: block !important; padding: 0 !important; }
  #homeWorks.video-grid .video-cover,
  .video-grid .video-cover { grid-row: auto !important; width: 100% !important; height: auto !important; aspect-ratio: 16 / 9 !important; }
}

/* 竖版首页动态区（只读，可评论收藏） */
.home-feed-preview { display: none; }
.post-comment-btn { height: 28px; padding: 0 10px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--muted); font-size: 8.5px; display: inline-flex; align-items: center; gap: 4px; }
.post-comment-btn em { font-style: normal; color: var(--dim); font-family: var(--num); }
.post-comments-modal { position: fixed; inset: 0; z-index: 1200; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(8, 18, 32, .45); backdrop-filter: blur(4px); }
.post-comments-modal[hidden] { display: none; }
.post-comments-dialog { width: min(460px, 100%); max-height: min(72vh, 620px); display: flex; flex-direction: column; border-radius: 16px; background: #fff; box-shadow: 0 24px 60px rgba(5,20,40,.22); overflow: hidden; }
.post-comments-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line-soft); }
.post-comments-head span { color: var(--accent); font-size: 7.5px; letter-spacing: .1em; }
.post-comments-head h3 { margin: 2px 0 0; font-size: 17px; }
.post-comments-head button { width: 30px; height: 30px; border: 0; border-radius: 50%; background: var(--surface-2); color: var(--muted); font-size: 17px; }
.post-comments-list { flex: 1; min-height: 120px; overflow-y: auto; padding: 10px 14px; }
.post-comment-row { display: flex; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--line-soft); }
.post-comment-avatar { width: 28px; height: 28px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: #e5f2ff; color: var(--accent); font-size: 10px; flex: none; }
.post-comment-avatar img { width: 100%; height: 100%; object-fit: cover; }
.post-comment-row b { display: block; font-size: 9px; }
.post-comment-row p { margin: 3px 0; font-size: 11px; line-height: 1.55; word-break: break-word; }
.post-comment-row em { color: var(--dim); font-size: 7.5px; font-style: normal; }
.post-comments-empty { padding: 30px 0; text-align: center; color: var(--dim); font-size: 10px; }
.post-comments-form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line-soft); background: #fff; }
.post-comments-form textarea { flex: 1; min-height: 42px; max-height: 90px; resize: vertical; padding: 8px 10px; border: 1px solid var(--line); border-radius: 9px; font-size: 10px; }
.post-comments-form button { flex: none; height: 36px; padding: 0 13px; font-size: 9px; }
.post-comments-open { overflow: hidden; }
@media (max-width: 760px) {
  .app-page.home-works-page { grid-template-areas: "visual" "feed" "rail" "main" !important; }
  .home-feed-preview { display: block; grid-area: feed; width: 100%; border: 1px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; }
  .home-feed-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-bottom: 1px solid var(--line-soft); }
  .home-feed-head > div { display: flex; align-items: baseline; gap: 5px; }
  .home-feed-head span { color: var(--accent); font-size: 7.5px; letter-spacing: .1em; }
  .home-feed-head b { font-size: 12px; }
  .home-feed-head button { border: 0; background: transparent; color: var(--accent); font-size: 8.5px; }
  .home-feed-list { display: flex; flex-direction: column; gap: 7px; padding: 9px; }
  .home-feed-list .post-card { border-radius: 9px; }
  .home-feed-list .post-card .post-delete { display: none; }
  .home-feed-loading, .home-feed-empty { padding: 20px 0; text-align: center; color: var(--dim); font-size: 9px; }
}

/* 动态页只读：不能发动态 */
.feed-compose, #mobileFeedFab { display: none !important; }
@media (max-width: 760px) {
  .app-page.home-works-page { grid-template-areas: "visual" "rail" "main" !important; }
}
