:root {
  color-scheme: light;
  --background: #f5f7f8;
  --surface: #ffffff;
  --muted-surface: #f7f9fa;
  --border: #e5eaed;
  --text: #22313a;
  --secondary: #566770;
  --muted: #63727b;
  --accent: #0d8073;
  --accent-hover: #09685e;
  --accent-soft: #edf7f4;
  --amber: #97651f;
  --red: #b84444;
  --radius: 14px;
  --shadow: 0 2px 6px #22313a03;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; color: var(--text); background: var(--background); font: 14px/1.6 "Segoe UI", "Microsoft YaHei", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
button, a, select, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { opacity: .5; cursor: not-allowed; }
button, a, input, .select-control { transition: background-color .16s, border-color .16s, color .16s, box-shadow .16s; }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
[hidden] { display: none !important; }
svg.lucide { display: inline-block; width: 16px; height: 16px; flex-shrink: 0; stroke-width: 1.8; vertical-align: middle; }
.topbar { position: sticky; top: 0; z-index: 20; background: var(--surface); border-bottom: 1px solid var(--border); }
.topbar-inner { min-height: 72px; max-width: 1160px; padding: 14px 24px; margin: auto; display: flex; align-items: center; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; flex-shrink: 0; }
.brand > svg { width: 25px; height: 25px; color: var(--accent); }
.brand h1 { margin: 0; font-size: 18px; font-weight: 700; }
.searchbox { position: relative; flex: 1; min-width: 0; max-width: 460px; margin-left: 12px; }
.searchbox > svg { position: absolute; left: 13px; top: 13px; color: var(--muted); pointer-events: none; }
.searchbox input { width: 100%; height: 42px; padding: 0 12px 0 39px; border: 1px solid var(--border); background: var(--muted-surface); border-radius: 10px; color: var(--text); }
.searchbox input:focus, .select-control:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px #0d807310; }
.searchbox input::placeholder { color: var(--muted); font-size: 12px; }
.top-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 38px; padding: 8px 13px; border: 1px solid var(--border); border-radius: 9px; color: var(--secondary); background: var(--surface); font-size: 12px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.button:hover:not(:disabled) { background: var(--muted-surface); border-color: #cbd7d9; color: var(--text); }
.button.icon-button { width: 38px; height: 38px; padding: 0; flex-shrink: 0; }
.primary-button { background: var(--accent); border-color: var(--accent); color: #fff; min-width: 109px; }
.primary-button:hover:not(:disabled) { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; }
.author-chip { display: flex; align-items: center; gap: 9px; margin-left: auto; padding: 5px 11px; border: 1px solid var(--border); border-radius: 10px; color: var(--secondary); background: var(--surface); font-size: 12px; min-width: 0; max-width: 175px; text-decoration: none; }
.author-chip:hover, .author-chip[aria-current="page"] { border-color: #c8e3dc; background: var(--accent-soft); color: var(--accent); }
.author-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.author-chip-text { display: flex; flex-direction: column; min-width: 0; line-height: 18px; }
.author-chip small { color: var(--muted); font: 10px/15px Consolas, monospace; white-space: nowrap; }
.filterbar { background: var(--surface); border-bottom: 1px solid var(--border); }
.filterbar-inner { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; max-width: 1160px; min-height: 56px; padding: 10px 24px; margin: auto; font-size: 12px; color: var(--secondary); }
.connection { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; min-width: 60px; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.status-dot.pending { background: #c99337; }
.status-dot.error { background: var(--red); }
.filter-controls { display: flex; gap: 8px; }
.select-control { display: inline-flex; align-items: center; gap: 3px; padding-left: 9px; background: var(--muted-surface); border: 1px solid var(--border); border-radius: 8px; }
.select-control > svg { width: 14px; height: 14px; color: var(--muted); }
.select-control select { min-width: 0; height: 32px; padding: 0 7px; border: none; outline: none; color: var(--secondary); background: transparent; font-size: 12px; cursor: pointer; }
.countdown { display: flex; align-items: center; gap: 7px; margin-left: auto; white-space: nowrap; color: var(--muted); }
.countdown time { min-width: 64px; color: var(--secondary); font: 600 12px/1.5 Consolas, monospace; }
.feed { width: min(1160px, 100%); margin: 0 auto; padding: 26px 24px 48px; }
.feed-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 24px; margin-bottom: 18px; font-size: 12px; color: var(--muted); }
.totals { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 18px; }
.totals b { color: var(--text); font-weight: 650; margin: 0 3px; font-variant-numeric: tabular-nums; }
.totals .admin-count b { color: var(--accent); }
#refresh-time { flex-shrink: 0; font-variant-numeric: tabular-nums; font-size: 11px; }
.sync-warning { margin: 16px 0; padding: 12px 15px; border: 1px solid #efdfbf; border-radius: 10px; background: #fffbf2; color: var(--amber); font-size: 12px; overflow-wrap: anywhere; }
.article-list { display: grid; gap: 16px; }
.article-card { min-width: 0; padding: 22px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.article-head { display: flex; align-items: flex-start; gap: 12px; }
.article-title { flex: 1; min-width: 0; margin: 0; font-size: 16px; line-height: 1.65; font-weight: 650; overflow-wrap: anywhere; }
.status-pill { display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0; padding: 2px 9px; border: 1px solid transparent; border-radius: 6px; font-size: 11px; white-space: nowrap; line-height: 20px; }
.status-pill > svg { width: 12px; height: 12px; }
.status-public { color: var(--secondary); background: #f0f4f5; }
.status-locked { color: var(--amber); background: #fbf4e8; }
.status-admin { color: var(--accent); background: var(--accent-soft); }
.article-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 14px; margin: 9px 0 16px; color: var(--muted); font-size: 11px; }
.article-meta > span { display: inline-flex; align-items: center; gap: 4px; }
.article-meta svg { width: 12px; height: 12px; }
.article-meta .price { color: var(--secondary); font-weight: 600; }
.article-meta .tag { padding-left: 10px; border-left: 1px solid var(--border); color: var(--secondary); }
.sales-count { display: inline-flex; align-items: center; gap: 2px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.article-subtitle { color: var(--secondary); font-size: 12px; margin: 0 0 14px; overflow-wrap: anywhere; }
.locked-body { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 15px; background: var(--muted-surface); border: 1px solid #edf0f2; border-radius: 10px; }
.lock-label { display: flex; flex-direction: column; gap: 4px; }
.lock-label > span { display: inline-flex; align-items: center; gap: 7px; color: var(--secondary); font-size: 12px; }
.lock-label time { color: var(--muted); font-size: 11px; }
.locked-body .button { color: var(--accent); }
.body-label { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.body-provenance { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 12px; min-width: 0; flex: 1; font-size: 11px; }
.body-provenance > span { display: inline-flex; align-items: center; gap: 5px; color: var(--accent); min-width: 0; }
.body-provenance > .source-link { display: inline; color: var(--muted); overflow-wrap: anywhere; }
.source-link a { color: var(--secondary); text-decoration-color: #bdc8ce; text-underline-offset: 3px; }
.source-link a:hover { color: var(--accent); }
.body-label .icon-button { height: 28px; width: 28px; min-height: 28px; border-color: transparent; }
.body-label .icon-button svg { width: 14px; height: 14px; }
.content-text { margin: 0; padding: 14px 16px; color: #35464e; background: var(--muted-surface); border: 1px solid #edf0f2; border-radius: 10px; font: 600 15px/1.9 Consolas, "Microsoft YaHei", monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.content-text.admin-data { background: #f5faf8; border-color: #e3efe9; }
.pending-body { color: var(--muted); font-size: 12px; padding: 12px 0; }
.history { margin-top: 16px; padding-top: 13px; border-top: 1px solid var(--border); }
.history summary { display: flex; align-items: center; gap: 6px; cursor: pointer; color: var(--secondary); font-size: 12px; list-style: none; }
.history summary::-webkit-details-marker { display: none; }
.history summary > svg { width: 14px; height: 14px; transition: transform .15s; }
.history[open] summary > svg { transform: rotate(90deg); }
.history summary .history-count { margin-left: auto; color: var(--muted); }
.history-list { padding-top: 4px; }
.history-item { padding: 12px 0; border-bottom: 1px solid var(--border); }
.history-item:last-child { padding-bottom: 0; border-bottom: 0; }
.history-head { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 5px 10px; font-size: 11px; color: var(--muted); margin-bottom: 7px; }
.history-title { flex: 1; min-width: 150px; color: var(--secondary); font-size: 12px; overflow-wrap: anywhere; }
.result-badge { border-radius: 4px; padding: 1px 6px; font-size: 10px; white-space: nowrap; }
.result-badge.hit { background: #fff1f1; color: var(--red); }
.result-badge.miss { background: #f0f3f4; color: var(--secondary); }
.history-content { margin: 0; color: var(--secondary); font: 13px/1.8 Consolas, "Microsoft YaHei", monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.empty-state { text-align: center; padding: 64px 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); color: var(--muted); font-size: 13px; }
.empty-state > svg { width: 32px; height: 32px; color: #9ba9af; }
.empty-state p { margin: 14px 0; }
.spinner { display: inline-block; width: 26px; height: 26px; border: 2px solid var(--border); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; }
.is-busy svg { animation: spin 1s linear infinite; }
.feed-end { min-height: 80px; padding-top: 28px; display: flex; flex-direction: column; align-items: center; gap: 13px; color: var(--muted); font-size: 11px; }
.back-to-top { position: fixed; bottom: 24px; right: 24px; z-index: 10; box-shadow: 0 4px 16px #22313a0a; }
.toasts { position: fixed; bottom: 24px; right: 76px; z-index: 100; display: grid; gap: 8px; width: min(360px, calc(100vw - 96px)); }
.toast { background: #273b3e; border-left: 3px solid #70c0a8; color: #fff; border-radius: 10px; padding: 12px 15px; font-size: 12px; box-shadow: 0 5px 20px #22313a14; overflow-wrap: anywhere; }
.toast.error { border-left-color: #f3ab6b; }
#scroll-sentinel { height: 1px; }
.profile-open .searchbox, .profile-open .top-actions, .profile-open .filterbar { display: none; }
.profile-open .author-chip { margin-left: auto; }
.profile-toolbar { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.profile-page-title { min-width: 0; margin-right: auto; }
.profile-page-title h2 { margin: 0; font-size: 22px; font-weight: 650; }
.profile-page-title p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.admin-shell, .admin-main { min-width: 0; }
.account-card { padding: 22px 22px 0; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.admin-account-bar { display: flex; align-items: center; gap: 16px; padding-bottom: 21px; }
.profile-avatar { width: 64px; height: 64px; flex-shrink: 0; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: var(--accent-soft); }
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.profile-avatar > span { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; color: var(--accent); }
.profile-avatar svg { width: 28px; height: 28px; }
.profile-name { min-width: 0; flex: 1; }
.profile-eyebrow { color: var(--muted); font-size: 11px; }
.profile-name h3 { margin: 0 0 3px; font-size: 20px; line-height: 1.5; font-weight: 650; overflow-wrap: anywhere; }
.profile-id { display: flex; align-items: center; gap: 6px; font: 12px/1.5 Consolas, monospace; color: var(--secondary); }
.profile-id b { font-weight: 500; }
.profile-id .icon-button { width: 25px; height: 25px; min-height: 25px; border-color: transparent; border-radius: 6px; }
.profile-id svg { width: 13px; height: 13px; }
.admin-account-links { display: flex; align-items: center; gap: 8px; margin-left: 8px; }
.admin-account-meta { display: grid; gap: 5px; text-align: right; }
.admin-account-meta small { color: var(--muted); font-size: 11px; }
.account-state { display: inline-flex; justify-content: flex-end; align-items: center; gap: 6px; color: var(--accent); font-size: 12px; }
.account-state i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.profile-jump-nav { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 0; border-top: 1px solid var(--border); }
.profile-jump-nav button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 36px; padding: 7px 14px; border: 0; border-radius: 8px; color: var(--secondary); background: transparent; font-size: 12px; }
.profile-jump-nav button:hover { color: var(--accent); background: var(--accent-soft); }
.profile-jump-nav svg { width: 15px; height: 15px; }
.admin-section { margin-top: 28px; }
.admin-section, .admin-panel { scroll-margin-top: 94px; }
.admin-section-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 12px; margin-bottom: 14px; }
.admin-section-heading h3 { margin: 0; font-size: 14px; font-weight: 650; }
.admin-section-heading > svg { color: var(--muted); }
.admin-section-heading time, .section-hint, .panel-badge { color: var(--muted); font-size: 11px; }
.admin-stat-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.admin-stat { min-width: 0; padding: 18px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); color: var(--text); text-align: left; box-shadow: var(--shadow); }
button.admin-stat:hover { border-color: #b8d8ce; background: #fbfdfc; }
.admin-stat span, .admin-stat small { display: block; color: var(--secondary); font-size: 12px; }
.admin-stat strong { display: block; margin: 8px 0 5px; font-size: 28px; line-height: 1.25; font-weight: 650; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.admin-stat small { color: var(--muted); font-size: 11px; }
.admin-function-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.admin-function-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-content: start; align-items: center; gap: 14px 8px; min-width: 0; padding: 18px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); color: var(--text); text-align: left; box-shadow: var(--shadow); }
.admin-function-card:not(:disabled):hover { border-color: #b8d8ce; background: #fbfdfc; }
.admin-function-card.is-disabled { opacity: 1; cursor: not-allowed; }
.admin-function-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: var(--accent); background: var(--accent-soft); }
.admin-function-icon svg { width: 18px; height: 18px; }
.admin-function-copy { display: grid; grid-column: 1 / -1; gap: 4px; min-width: 0; }
.admin-function-copy b { font-size: 13px; font-weight: 600; }
.admin-function-copy small { color: var(--muted); font-size: 11px; overflow-wrap: anywhere; }
.admin-function-status { justify-self: end; padding: 2px 7px; border-radius: 5px; color: var(--accent); background: var(--accent-soft); font-size: 10px; white-space: nowrap; }
.admin-function-card.is-disabled .admin-function-icon { color: #829097; background: #f2f5f6; }
.admin-function-card.is-disabled .admin-function-status { color: var(--muted); background: #f2f5f6; }
.admin-function-card.is-disabled .admin-function-copy b { color: var(--secondary); }
.admin-columns { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; gap: 16px; }
.admin-panel { min-width: 0; padding: 22px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.admin-table-wrap { max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 12px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.admin-table th { color: var(--muted); font-weight: 500; background: var(--muted-surface); }
.admin-table th, .admin-table td { padding: 12px 10px; border-bottom: 1px solid var(--border); text-align: left; }
.admin-table th:first-child { border-radius: 7px 0 0 7px; }
.admin-table th:last-child { border-radius: 0 7px 7px 0; }
.admin-table td { color: var(--secondary); }
.admin-table tbody tr:last-child td { border-bottom: 0; }
.table-status { display: inline-block; padding: 2px 7px; border-radius: 5px; color: var(--accent); background: var(--accent-soft); font-size: 10px; white-space: nowrap; }
.table-status.pending { color: var(--amber); background: #fbf4e8; }
.recent-table th:first-child { width: 50%; }
.recent-table td:first-child { min-width: 190px; white-space: normal; }
.recent-table td small { display: block; margin-top: 3px; color: var(--muted); font: 10px/1.5 Consolas, monospace; }
.article-row-link { padding: 0; border: 0; color: var(--text); background: transparent; text-align: left; font-size: 12px; overflow-wrap: anywhere; }
.article-row-link:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.table-empty { padding: 32px 10px !important; color: var(--muted) !important; text-align: center !important; }
.panel-note { margin: 12px 0 0; color: var(--amber); font-size: 11px; }
.profile-details { margin: 0; font-size: 12px; }
.profile-details > div { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--border); }
.profile-details > div:first-child { padding-top: 2px; }
.profile-details > div:last-child { padding-bottom: 0; border-bottom: 0; }
.profile-details dt { color: var(--muted); }
.profile-details dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.profile-introduction { white-space: pre-wrap; }
.profile-types { display: flex; flex-wrap: wrap; gap: 6px; }
.profile-types span { padding: 1px 7px; border-radius: 5px; color: var(--secondary); background: var(--muted-surface); font-size: 11px; }
.contact-link { display: inline-flex; align-items: center; gap: 5px; color: var(--accent); text-decoration: none; max-width: 100%; }
.contact-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.contact-link svg { width: 13px; height: 13px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 1050px) {
  .admin-stat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .admin-function-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .admin-account-bar { flex-wrap: wrap; }
  .admin-account-links { width: 100%; margin-left: 80px; }
}
@media (max-width: 800px) {
  .topbar-inner { flex-wrap: wrap; gap: 10px; padding: 12px 20px; }
  .searchbox { order: 4; flex-basis: 100%; max-width: none; margin: 0; }
  .top-actions { margin-left: auto; }
  .author-chip { margin-left: 0; max-width: 140px; }
  .filterbar-inner { padding: 10px 20px; gap: 10px 14px; }
  .filter-controls { order: 3; width: 100%; }
  .select-control { flex: 1; min-width: 0; }
  .select-control select { width: 100%; }
  .feed { padding: 22px 20px 40px; }
  .article-card { padding: 18px; }
  .admin-columns { grid-template-columns: minmax(0, 1fr); }
  .admin-function-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .topbar-inner { gap: 8px; padding: 10px 14px; min-height: 64px; }
  .brand { gap: 7px; }
  .brand > svg { width: 22px; height: 22px; }
  .brand h1 { font-size: 16px; }
  .author-chip { max-width: 102px; padding: 4px 7px; gap: 5px; font-size: 11px; }
  .author-chip > svg { display: none; }
  .primary-button { min-width: 96px; padding: 8px 10px; }
  .filterbar-inner { padding: 10px 14px; }
  .filter-controls { gap: 6px; }
  .select-control { padding-left: 5px; }
  .select-control > svg { display: none; }
  .select-control select { font-size: 11px; padding-left: 2px; }
  .feed { padding: 20px 14px 36px; }
  .feed-heading { align-items: flex-start; flex-direction: column; gap: 5px; margin-bottom: 14px; }
  .totals { gap: 5px 12px; }
  .article-list { gap: 12px; }
  .article-card { padding: 16px; }
  .article-head { gap: 8px; }
  .article-title { font-size: 15px; }
  .article-meta { gap: 5px 10px; }
  .content-text { font-size: 14px; padding: 12px; }
  .status-pill { padding: 1px 6px; }
  .status-pill > svg { display: none; }
  .profile-toolbar { gap: 8px; margin-bottom: 18px; }
  .profile-page-title h2 { font-size: 20px; }
  .profile-page-title p { font-size: 11px; }
  .profile-toolbar .back-link { padding: 8px 10px; }
  .account-card { padding: 18px 16px 0; }
  .admin-account-bar { gap: 12px; padding-bottom: 16px; }
  .profile-avatar { width: 56px; height: 56px; border-radius: 14px; }
  .profile-name h3 { font-size: 18px; }
  .admin-account-meta { width: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; text-align: left; }
  .admin-account-meta small { font-size: 10px; }
  .admin-account-links { margin-left: 0; }
  .admin-account-links .button { flex: 1; }
  .profile-jump-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 10px 0; }
  .profile-jump-nav button { min-height: 40px; padding: 8px 6px; }
  .admin-section { margin-top: 24px; }
  .admin-section, .admin-panel { scroll-margin-top: 84px; }
  .admin-section-heading { margin-bottom: 12px; }
  .admin-section-heading time { font-size: 10px; }
  .admin-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .admin-stat { padding: 16px; }
  .admin-stat strong { font-size: 26px; }
  .admin-function-grid { gap: 10px; }
  .admin-function-card { padding: 16px; }
  .admin-panel { padding: 18px 16px; }
  .profile-details > div { gap: 12px; }
  .back-to-top { bottom: 16px; right: 16px; }
  .toasts { bottom: 16px; right: 64px; width: min(360px, calc(100vw - 80px)); }
}
@media (max-width: 380px) {
  .top-actions { gap: 5px; }
  .topbar-inner { column-gap: 6px; }
  .author-chip { max-width: 83px; }
  .brand { gap: 5px; }
  .brand h1 { font-size: 15px; }
  .primary-button { min-width: 88px; font-size: 11px; }
  .profile-toolbar .back-link svg { display: none; }
  .admin-function-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
