/* ===================================================
   RUTOR-BEST — Современная тёмная тема
   Версия: 2.0 | Русский интерфейс
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

/* ── CSS Variables ── */
:root {
  --bg-primary:    #0b0e15;
  --bg-secondary:  #111520;
  --bg-card:       #151b28;
  --bg-card-hover: #1a2235;
  --bg-header:     #0d1018;
  --border:        #1e2840;
  --border-light:  #243050;
  --accent:        #f0a500;
  --accent-hover:  #ffc62b;
  --accent-dim:    rgba(240,165,0,.12);
  --green:         #22c55e;
  --green-dim:     rgba(34,197,94,.1);
  --red:           #ef4444;
  --blue:          #3b82f6;
  --blue-dim:      rgba(59,130,246,.1);
  --text-primary:  #e2e8f0;
  --text-muted:    #64748b;
  --text-meta:     #94a3b8;
  --shadow:        0 4px 24px rgba(0,0,0,.5);
  --shadow-card:   0 2px 12px rgba(0,0,0,.4);
  --radius:        10px;
  --radius-sm:     6px;
  --font:          'Montserrat', sans-serif;
  --mono:          'JetBrains Mono', monospace;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 14px;
  color: var(--text-primary);
  background: var(--bg-primary);
  line-height: 1.6;
  min-height: 100vh;
}
a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-hover); }
img { max-width: 100%; border: none; display: block; }
ul, li, dl, dt, dd { list-style: none; }
input, textarea, select { font-family: var(--font); }

/* ── Header ── */
#header {
  background: var(--bg-header);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,.6);
}
.header-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between;
  height: 62px; gap: 20px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 20px; font-weight: 800;
  color: var(--text-primary);
  white-space: nowrap;
}
.logo span { color: var(--accent); }
.logo-icon {
  width: 36px; height: 36px; background: var(--accent);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}

/* ── Header Search ── */
.header-search {
  flex: 1; max-width: 520px;
  display: flex; align-items: center; gap: 0;
}
.header-search form { width: 100%; display: flex; }
.header-search input[type="text"] {
  flex: 1;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  padding: 9px 14px;
  color: var(--text-primary);
  font-size: 13px;
  outline: none;
  transition: border-color .2s;
}
.header-search input[type="text"]:focus { border-color: var(--accent); }
.header-search input[type="text"]::placeholder { color: var(--text-muted); }
.header-search button {
  background: var(--accent);
  border: none; cursor: pointer;
  padding: 9px 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: #000; font-weight: 700; font-size: 13px;
  font-family: var(--font);
  transition: background .2s;
}
.header-search button:hover { background: var(--accent-hover); }

/* ── Nav Menu ── */
#nav-menu {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; gap: 2px; overflow-x: auto;
}
.nav-inner::-webkit-scrollbar { height: 0; }
.nav-inner a {
  color: var(--text-meta);
  padding: 10px 14px;
  font-size: 13px; font-weight: 500;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color .2s, border-color .2s;
}
.nav-inner a:hover,
.nav-inner a.is-active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* ── Main Layout ── */
#wrapper {
  max-width: 1280px; margin: 0 auto;
  padding: 24px 20px;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 24px;
  align-items: start;
}
#content { min-width: 0; }
#sidebar { display: flex; flex-direction: column; gap: 16px; }

/* ── Module / Card ── */
.module {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 16px;
}
.module-head {
  background: var(--bg-secondary);
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px;
}
.module-head h3 {
  font-size: 14px; font-weight: 700;
  color: var(--text-primary);
  letter-spacing: .3px;
}
.module-head .icon { color: var(--accent); font-size: 16px; }
.module-content { padding: 0; }

/* ── News / Torrent List ── */
.news-list { display: flex; flex-direction: column; }
.news-item {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center; gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}
.news-item:last-child { border-bottom: none; }
.news-item:hover { background: var(--bg-card-hover); }

.news-item-num {
  width: 38px; height: 38px;
  background: var(--accent-dim);
  border: 1px solid var(--accent);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: var(--accent);
  font-family: var(--mono);
}
.news-item-body { min-width: 0; }
.news-item-body a {
  color: var(--text-primary); font-weight: 600; font-size: 13px;
  display: block;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  transition: color .2s;
}
.news-item-body a:hover { color: var(--accent); }
.news-item-meta {
  display: flex; align-items: center; gap: 8px;
  margin-top: 3px; flex-wrap: wrap;
}
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px; font-weight: 600; font-family: var(--mono);
}
.badge-size { background: var(--blue-dim); color: var(--blue); border: 1px solid rgba(59,130,246,.2); }
.badge-cat  { background: var(--accent-dim); color: var(--accent); border: 1px solid rgba(240,165,0,.2); }
.badge-date { background: transparent; color: var(--text-muted); font-size: 11px; }
.badge-new  { background: #16a34a22; color: var(--green); border: 1px solid rgba(34,197,94,.25); }
.badge-views { color: var(--text-muted); font-size: 11px; }

/* ── Main Page Cards (shortstory) ── */
.torrent-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 14px;
  display: flex; flex-direction: column; gap: 10px;
  transition: border-color .2s, background .2s;
}
.torrent-card:hover {
  border-color: var(--border-light);
  background: var(--bg-card-hover);
}
.torrent-card-header {
  display: flex; align-items: flex-start; gap: 12px;
}
.torrent-card-icon {
  width: 44px; height: 44px; min-width: 44px;
  background: var(--accent-dim);
  border: 1px solid rgba(240,165,0,.2);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.torrent-card-title {
  flex: 1; min-width: 0;
}
.torrent-card-title a {
  color: var(--text-primary);
  font-size: 15px; font-weight: 700;
  line-height: 1.4;
  transition: color .2s;
}
.torrent-card-title a:hover { color: var(--accent); }
.torrent-card-meta {
  display: flex; flex-wrap: wrap; gap: 6px;
  align-items: center;
}

/* ── Full Torrent Page ── */
.full-torrent {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.full-torrent-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-secondary);
}
.full-torrent-title {
  font-size: 20px; font-weight: 800;
  color: var(--text-primary);
  line-height: 1.3; margin-bottom: 12px;
}
.full-torrent-body { padding: 24px; }

/* ── Info Table ── */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px; margin-bottom: 20px;
}
.info-block {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
}
.info-block-label {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1px; color: var(--text-muted);
  margin-bottom: 6px;
}
.info-block-value {
  font-size: 14px; font-weight: 600; color: var(--text-primary);
  font-family: var(--mono);
}
.info-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.info-row:last-child { border-bottom: none; }
.info-row-label { color: var(--text-muted); font-weight: 500; }
.info-row-value { color: var(--text-primary); font-weight: 600; font-family: var(--mono); }

/* ── Download Button ── */
.btn-download {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: #fff; font-weight: 700; font-size: 15px;
  padding: 14px 28px; border-radius: var(--radius);
  border: none; cursor: pointer;
  transition: transform .15s, box-shadow .15s;
  font-family: var(--font);
  box-shadow: 0 4px 16px rgba(34,197,94,.3);
  text-decoration: none;
}
.btn-download:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(34,197,94,.45);
  color: #fff;
}
.btn-download svg { width: 18px; height: 18px; }

/* ── Magnet Icon ── */
.magnet-icon { font-size: 16px; }

/* ── NFO / Description ── */
.nfo-block {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-size: 13px;
  color: var(--text-meta);
  line-height: 1.7;
  margin-top: 16px;
}
.nfo-block pre {
  font-family: var(--mono);
  white-space: pre-wrap; word-break: break-all;
  font-size: 12px;
}

/* ── Spoiler ── */
.spoiler-wrap { margin: 14px 0; }
.spoiler-head {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600; font-size: 13px;
  color: var(--accent);
  user-select: none;
  transition: background .2s;
}
.spoiler-head:hover { background: var(--accent-dim); }
.spoiler-body {
  background: var(--bg-secondary);
  border: 1px solid var(--border); border-top: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  padding: 14px 16px;
  font-size: 13px;
  display: none;
}
.spoiler-wrap.open .spoiler-body { display: block; }

/* ── Sidebar ── */
.sidebar-module {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.sidebar-head {
  background: var(--bg-secondary);
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  font-size: 13px; font-weight: 700;
  color: var(--text-primary);
  display: flex; align-items: center; gap: 8px;
}
.sidebar-head .icon { color: var(--accent); }
.sidebar-list { padding: 6px 0; }
.sidebar-list li {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 14px;
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}
.sidebar-list li:last-child { border-bottom: none; }
.sidebar-list li:hover { background: var(--bg-card-hover); }
.sidebar-list li a {
  flex: 1; color: var(--text-meta); font-size: 12px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  transition: color .2s;
}
.sidebar-list li a:hover { color: var(--accent); }
.sidebar-list .sz {
  font-size: 11px; font-weight: 600; font-family: var(--mono);
  color: var(--blue); background: var(--blue-dim);
  padding: 2px 6px; border-radius: 3px; white-space: nowrap;
}

/* ── Categories Sidebar ── */
.cat-list { padding: 8px 0; }
.cat-list li a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 7px 14px; font-size: 13px;
  color: var(--text-meta);
  transition: color .2s, background .15s;
}
.cat-list li a:hover,
.cat-list li a.is-active {
  color: var(--accent);
  background: var(--accent-dim);
}
.cat-count {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  font-size: 11px; font-family: var(--mono);
  padding: 1px 7px; border-radius: 10px;
  color: var(--text-muted);
}

/* ── Pagination ── */
.pagination-ajax { margin: 20px 0; }
.pagination { display: flex; justify-content: center; }
.pagination-list {
  display: flex; flex-wrap: wrap; gap: 4px;
  align-items: center; justify-content: center;
}
.pagination-list li a,
.pagination-list li span {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 600;
  color: var(--text-meta);
  transition: all .2s;
}
.pagination-list li a:hover {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--accent);
}
.pagination-list li.current a,
.pagination-list li.current span,
.pagination-list li a.current {
  background: var(--accent);
  border-color: var(--accent);
  color: #000; font-weight: 700;
}
.pagination-list li.nav a { width: auto; padding: 0 12px; font-size: 12px; }

/* ── Search Page ── */
.search-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
}
.search-form-wrap h2 {
  font-size: 16px; font-weight: 700; margin-bottom: 16px;
  color: var(--text-primary);
}
.search-row { display: flex; gap: 10px; }
.search-row input[type="text"] {
  flex: 1;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 11px 16px;
  color: var(--text-primary); font-size: 14px;
  outline: none; transition: border-color .2s;
  font-family: var(--font);
}
.search-row input:focus { border-color: var(--accent); }
.btn-search {
  background: var(--accent);
  border: none; cursor: pointer;
  padding: 11px 24px; border-radius: var(--radius-sm);
  color: #000; font-weight: 700; font-size: 14px;
  font-family: var(--font); transition: background .2s;
}
.btn-search:hover { background: var(--accent-hover); }

/* ── Top 100 ── */
.top-list { counter-reset: top-counter; }
.top-item {
  display: grid; grid-template-columns: 28px 1fr auto;
  align-items: center; gap: 10px;
  padding: 10px 18px;
  border-bottom: 1px solid var(--border);
  counter-increment: top-counter;
  transition: background .15s;
}
.top-item:last-child { border-bottom: none; }
.top-item:hover { background: var(--bg-card-hover); }
.top-num {
  font-size: 12px; font-weight: 700; font-family: var(--mono);
  color: var(--text-muted); text-align: center;
}
.top-item:nth-child(1) .top-num { color: #f59e0b; font-size: 15px; }
.top-item:nth-child(2) .top-num { color: #94a3b8; font-size: 14px; }
.top-item:nth-child(3) .top-num { color: #b45309; font-size: 13px; }
.top-item a {
  color: var(--text-meta); font-size: 13px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  transition: color .2s;
}
.top-item a:hover { color: var(--accent); }

/* ── Comments ── */
.comments-section { margin-top: 24px; }
.comment-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.comment-form h3 {
  font-size: 15px; font-weight: 700;
  color: var(--text-primary); margin-bottom: 14px;
}
.form-group { margin-bottom: 12px; }
.form-group label {
  display: block; font-size: 12px; font-weight: 600;
  color: var(--text-muted); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .5px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--text-primary); font-size: 13px;
  outline: none; transition: border-color .2s;
  font-family: var(--font);
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 90px; }
.btn-comment {
  background: var(--accent); border: none; cursor: pointer;
  padding: 10px 24px; border-radius: var(--radius-sm);
  color: #000; font-weight: 700; font-size: 13px;
  font-family: var(--font); transition: background .2s;
}
.btn-comment:hover { background: var(--accent-hover); }

/* ── Footer ── */
#footer {
  background: var(--bg-header);
  border-top: 1px solid var(--border);
  margin-top: 40px; padding: 24px 0;
}
.footer-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
}
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-links a { font-size: 12px; color: var(--text-muted); transition: color .2s; }
.footer-links a:hover { color: var(--accent); }
.footer-copy { font-size: 12px; color: var(--text-muted); }

/* ── Admin Edit Link ── */
a.admin-edit {
  font-size: 11px; color: var(--text-muted);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  padding: 2px 8px; border-radius: 4px;
  margin-left: 8px;
  transition: color .2s;
}
a.admin-edit:hover { color: var(--accent); }

/* ── Notice / Info Blocks ── */
.notice {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 13px; color: var(--text-meta);
}
.notice-green  { border-left-color: var(--green); }
.notice-red    { border-left-color: var(--red); }
.notice-blue   { border-left-color: var(--blue); }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 7px; height: 7px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ── Responsive ── */
@media (max-width: 900px) {
  #wrapper { grid-template-columns: 1fr; }
  #sidebar { order: -1; }
  .info-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .header-inner { height: auto; padding: 10px 14px; flex-wrap: wrap; }
  .header-search { max-width: 100%; }
  .full-torrent-body { padding: 14px; }
}

/* ── Header user buttons ── */
.btn-hdr-ghost {
  font-size:12px;color:var(--text-muted);padding:6px 12px;
  border:1px solid var(--border);border-radius:6px;
  transition:color .2s,border-color .2s;
}
.btn-hdr-ghost:hover{color:var(--accent);border-color:var(--accent);}
.btn-hdr-accent {
  font-size:12px;color:#000;background:var(--accent);
  padding:6px 14px;border-radius:6px;font-weight:700;
  transition:background .2s;
}
.btn-hdr-accent:hover{background:var(--accent-hover);color:#000;}
.hdr-user{font-size:12px;color:var(--text-meta);}

/* ── Utility ── */
.text-center { text-align: center; }
.mt-10 { margin-top: 10px; }
.mt-16 { margin-top: 16px; }
.mb-10 { margin-bottom: 10px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-8 { gap: 8px; }
hr { border: none; border-top: 1px solid var(--border); margin: 14px 0; }

/* ── Category Icons (before menu items) ── */
.cat-icon { font-size: 14px; margin-right: 4px; }

/* ── New / Updated Tag ── */
.tag-new {
  display: inline-block;
  background: var(--green); color: #000;
  font-size: 9px; font-weight: 800; letter-spacing: .5px;
  padding: 1px 5px; border-radius: 3px;
  text-transform: uppercase; margin-left: 6px;
  vertical-align: middle;
}

/* ── Torrent meta bar ── */
.torrent-meta-bar {
  display: flex; flex-wrap: wrap; gap: 8px;
  align-items: center; padding: 12px 18px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  font-size: 12px;
}
.meta-pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: 20px;
  font-size: 12px; font-weight: 600;
}
.meta-pill.size   { background: var(--blue-dim);  color: var(--blue);  }
.meta-pill.cat    { background: var(--accent-dim); color: var(--accent);}
.meta-pill.date   { background: #1e2840; color: var(--text-muted); }
.meta-pill.author { background: #1e2840; color: var(--text-meta); }
.meta-pill.views  { background: #1e2840; color: var(--text-muted); }

/* ════════════════════════════════════════
   LOGIN.TPL — Блок авторизации в шапке
   ════════════════════════════════════════ */

.hdr-auth-wrap { display: flex; align-items: center; }

/* Гость */
.header-guest-block { display: flex; gap: 8px; align-items: center; white-space: nowrap; }
.hdr-btn-reg {
  font-size: 12px; color: var(--text-muted);
  padding: 6px 12px; border: 1px solid var(--border);
  border-radius: 6px; transition: color .2s, border-color .2s;
}
.hdr-btn-reg:hover { color: var(--accent); border-color: var(--accent); }
.hdr-btn-login {
  font-size: 12px; color: #000; background: var(--accent);
  padding: 6px 14px; border-radius: 6px; font-weight: 700;
  transition: background .2s;
}
.hdr-btn-login:hover { background: var(--accent-hover); }

/* Авторизованный */
.header-user-block { position: relative; }
.hdr-username {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--text-primary);
  padding: 6px 12px; border: 1px solid var(--border);
  border-radius: 6px; cursor: pointer; white-space: nowrap;
  transition: border-color .2s;
}
.hdr-username:hover { border-color: var(--accent); color: var(--accent); }
.hdr-avatar-ic { font-size: 14px; }
.hdr-pm-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 18px; height: 18px; background: var(--accent);
  color: #000; font-size: 10px; font-weight: 800;
  border-radius: 9px; padding: 0 4px;
}
.hdr-pm-count { color: var(--accent); font-weight: 700; margin-left: 4px; }

/* Дропдаун меню */
.hdr-user-menu {
  display: none; position: absolute; top: calc(100% + 6px); right: 0;
  background: var(--bg-secondary); border: 1px solid var(--border-light);
  border-radius: 8px; min-width: 200px; z-index: 200;
  box-shadow: 0 8px 24px rgba(0,0,0,.5);
  overflow: hidden;
}
.header-user-block:hover .hdr-user-menu { display: block; }
.hdr-user-menu ul { list-style: none; padding: 6px 0; margin: 0; }
.hdr-user-menu ul li a {
  display: block; padding: 8px 14px;
  font-size: 13px; color: var(--text-meta);
  transition: background .15s, color .15s;
}
.hdr-user-menu ul li a:hover { background: var(--bg-card); color: var(--accent); }
.hdr-menu-sep { border-top: 1px solid var(--border); margin: 4px 0; }
.hdr-menu-admin a { color: var(--red) !important; }
.hdr-logout-link { color: var(--text-muted) !important; }
.hdr-logout-link:hover { color: var(--red) !important; }
