* { box-sizing: border-box; }
:root {
  --bg: #0b0f1a;
  --surface: #10152a;
  --ink: #eef1fb;
  --muted: #8790ad;
  --accent: #22e3ff;
  --accent-ink: #051019;
  --border: #1c2338;
  --edited-ink: #ffd23f;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 1px 4px rgba(0,0,0,.35);
  --shadow-lg: 0 8px 24px rgba(0,0,0,.5), 0 2px 10px rgba(0,0,0,.4);
  --header-bg: #060810;
  --nav-bg: #05060c;
}
body { margin: 0; font-family: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", system-ui, sans-serif; background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; display: block; }

/* ── Header ────────────────────────────────────────────── */
.site-header { background: var(--header-bg); color: #fff; position: sticky; top: 0; z-index: 10; }
.brand-row { display: flex; align-items: center; justify-content: space-between; max-width: 1180px; margin: 0 auto; padding: 16px 20px; }
.brand { color: #fff; font-weight: 800; font-size: 1.35rem; text-decoration: none; letter-spacing: -.03em; }
.brand span { color: var(--accent); }
.brand.has-logo-img, .footer-logo.has-logo-img, .auth-brand.has-logo-img { display: inline-flex; align-items: center; }
.site-logo-img { display: block; height: 34px; width: auto; }
.footer-logo .site-logo-img { height: 30px; }
.auth-brand.has-logo-img { justify-content: center; }
.auth-brand .site-logo-img { height: 38px; }
.brand-actions { display: flex; align-items: center; gap: 10px; }
.nav-user { color: #94a3b8; font-size: .85rem; margin-right: 4px; }
.btn-ghost, .btn-solid { font-size: .85rem; font-weight: 600; text-decoration: none; padding: 7px 14px; border-radius: var(--radius-sm); }
.btn-ghost { color: #cbd5e1; }
.btn-ghost:hover { color: #fff; }
.btn-solid { background: var(--accent); color: var(--accent-ink); }
.btn-solid:hover { background: #00c2dd; }
.navbar { border-top: 1px solid rgba(255,255,255,.06); background: var(--nav-bg); position: relative; }
.navbar .nav-links { max-width: 1180px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; gap: 20px; height: 42px; font-size: .88rem; }
.nav-links > a { color: #94a3b8; text-decoration: none; transition: color .15s; }
.nav-links > a:hover { color: #fff; }

.dropdown { position: relative; display: flex; align-items: center; }
.dropdown-toggle { color: #94a3b8; text-decoration: none; font-size: .88rem; white-space: nowrap; }
.dropdown:hover .dropdown-toggle, .dropdown-toggle:hover { color: #fff; }
.dropdown-menu {
  display: none; position: absolute; top: 100%; left: 0; min-width: 200px;
  background: #1e293b; border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius-sm);
  box-shadow: 0 12px 32px rgba(0,0,0,.4); padding: 6px; z-index: 20;
}
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a { display: block; padding: 8px 12px; border-radius: 6px; color: #cbd5e1; text-decoration: none; font-size: .88rem; }
.dropdown-menu a:hover { background: rgba(255,255,255,.08); color: #fff; }

/* Invisible bridge so the mouse can travel from toggle to menu without losing hover */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
}

/* ── Mega menu ─────────────────────────────────────────── */
.mega-dropdown { position: static; }
.mega-menu {
  display: none; position: absolute; left: 0; right: 0; top: 100%;
  background: #1e293b; border-top: 1px solid rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.06);
  box-shadow: 0 16px 40px rgba(0,0,0,.5); z-index: 20;
  padding: 24px calc((100% - 1180px) / 2 + 20px);
  flex-wrap: wrap; gap: 28px;
}
.mega-dropdown:hover .mega-menu { display: flex; }

/* Invisible bridge so the mouse can travel from nav link to the mega menu */
.mega-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}
.mega-col { min-width: 150px; }
.mega-col-title { display: block; font-weight: 700; font-size: .9rem; color: #fff; text-decoration: none; margin-bottom: 8px; }
.mega-col-title:hover { color: var(--accent); }
.mega-col-link { display: block; padding: 4px 0; font-size: .85rem; color: #94a3b8; text-decoration: none; }
.mega-col-link:hover { color: #fff; }
.dropdown-menu-right { left: auto; right: 0; border-radius: var(--radius-sm); }
.dropdown-menu .dropdown-divider-top { border-top: 1px solid rgba(255,255,255,.08); margin-top: 6px; padding-top: 10px; }
.user-dropdown .dropdown-toggle { font-size: .85rem; display: flex; align-items: center; gap: 8px; }

/* ── Notifications ─────────────────────────────────────── */
.notif-bell { position: relative; color: #94a3b8; padding: 4px; }
.notif-dropdown:hover .notif-bell { color: #fff; }
.notif-badge {
  position: absolute; top: -4px; right: -4px; background: var(--accent); color: var(--accent-ink);
  font-size: .65rem; font-weight: 700; min-width: 16px; height: 16px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center; padding: 0 3px;
}
.notif-menu { min-width: 300px; padding: 6px; }
.notif-empty { padding: 14px 12px; color: #94a3b8; font-size: .85rem; margin: 0; }
.notif-item { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; font-size: .85rem; line-height: 1.4; white-space: normal; }
.notif-item.notif-unread { background: rgba(34,227,255,.1); border-radius: 6px; }
.notif-item.notif-unread:hover { background: rgba(34,227,255,.16); }
.notif-text { flex: 1; min-width: 0; }
.notif-thumb { flex-shrink: 0; width: 40px; height: 40px; border-radius: 6px; object-fit: cover; background: #334155; }
.notif-thumb-placeholder { display: flex; align-items: center; justify-content: center; color: #64748b; font-size: 1rem; }
.notif-time { display: block; color: #94a3b8; font-size: .75rem; margin-top: 2px; }

.avatar { border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.avatar-sm { width: 26px; height: 26px; }
.avatar-xs { width: 18px; height: 18px; }
.avatar-lg { width: 96px; height: 96px; }
.avatar-placeholder { border-radius: 50%; background: #334155; color: #94a3b8; display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
.avatar-placeholder.avatar-lg { font-size: 2rem; }
.byline { display: inline-flex; align-items: center; gap: 6px; vertical-align: middle; color: inherit; text-decoration: none; }
.byline:hover { color: var(--accent); }

.avatar-edit-wrap { position: relative; display: inline-block; cursor: pointer; margin-bottom: 8px; }
.avatar-edit-wrap:hover .avatar-lg { filter: brightness(.9); }
.avatar-edit-badge {
  position: absolute; right: -2px; bottom: -2px; width: 30px; height: 30px; border-radius: 50%;
  background: var(--header-bg); color: #fff; display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--bg); box-shadow: var(--shadow);
}
.avatar-edit-wrap:hover .avatar-edit-badge { background: var(--accent); }

/* ── Cover image ───────────────────────────────────────── */
.profile-cover-card:hover { transform: none; }
.cover-edit-wrap { position: relative; display: block; cursor: pointer; }
.cover-image { height: 160px; width: 100%; background: linear-gradient(135deg, #1b2340, #060810); background-size: cover; background-position: center; border-radius: var(--radius) var(--radius) 0 0; }
.cover-edit-badge {
  position: absolute; right: 14px; bottom: 14px; display: flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 999px; background: rgba(0,0,0,.55); color: #fff;
  border: none; font-size: .82rem; font-weight: 600; backdrop-filter: blur(4px);
}
.cover-edit-wrap:hover .cover-edit-badge { background: var(--accent); }

.profile-avatar-body { position: relative; padding-top: 0; }
.avatar-edit-wrap-overlay { margin-top: -48px; margin-left: 18px; }
.avatar-edit-wrap-overlay .avatar-lg, .avatar-edit-wrap-overlay .avatar-placeholder { border: 4px solid var(--surface); }

.avatar-reposition-btn, .cover-reposition-btn {
  background: none; border: 1px solid var(--border); border-radius: 999px; padding: 5px 12px;
  font-size: .78rem; font-weight: 600; color: var(--muted); cursor: pointer;
}
.avatar-reposition-btn:hover, .cover-reposition-btn:hover { background: rgba(255,255,255,.06); color: var(--ink); }
.avatar-reposition-btn { margin: 6px 0 0 18px; display: inline-block; }
.cover-reposition-btn { position: absolute; left: 14px; top: 14px; background: rgba(255,255,255,.9); backdrop-filter: blur(4px); }

.cropper-panel { margin-top: 14px; }
.cropper-panel-cover { padding: 0 14px 14px; }
.cropper-viewport {
  width: 260px; height: 260px; border-radius: 50%; overflow: hidden; position: relative;
  background: var(--header-bg); border: 1px solid var(--border); cursor: grab; touch-action: none;
}
.cropper-viewport:active { cursor: grabbing; }
.cropper-viewport img { position: absolute; left: 0; top: 0; max-width: none; user-select: none; -webkit-user-drag: none; }
.cropper-zoom { width: 260px; margin-top: 10px; }
.cropper-viewport-cover { width: 520px; max-width: 100%; height: 140px; border-radius: var(--radius-sm); }
.cropper-zoom-cover { width: 520px; max-width: 100%; }
.cropper-hint { font-size: .8rem; color: var(--muted); margin: 6px 0 0; }

.site-main { max-width: 1180px; margin: 0 auto; padding: 28px 20px; min-height: 60vh; }

/* ── Footer ────────────────────────────────────────────── */
.site-footer { background: var(--header-bg); color: #94a3b8; margin-top: 48px; }
.footer-inner { max-width: 1180px; margin: 0 auto; padding: 40px 20px 28px; display: flex; flex-wrap: wrap; gap: 40px; }
.footer-brand { flex: 1; min-width: 200px; }
.footer-logo { font-weight: 800; font-size: 1.2rem; color: #fff; text-decoration: none; letter-spacing: -.02em; }
.footer-logo span { color: var(--accent); }
.footer-tagline { margin: 8px 0 0; font-size: .85rem; color: #64748b; }
.footer-col { min-width: 140px; }
.footer-col h4 { margin: 0 0 12px; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: #64748b; }
.footer-col a { display: block; color: #94a3b8; text-decoration: none; font-size: .88rem; padding: 4px 0; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06); padding: 16px 20px;
  display: flex; align-items: center; justify-content: center; gap: 16px;
  font-size: .8rem; color: #64748b;
}
.footer-bottom p { margin: 0; }
.footer-rss-link { color: #64748b; text-decoration: none; }
.footer-rss-link:hover { color: #fff; }

h1 { font-size: 1.9rem; letter-spacing: -.02em; margin: 0 0 20px; }
h2 { font-size: 1.4rem; letter-spacing: -.02em; }

/* ── Gate banner ───────────────────────────────────────── */
.gate-banner { background: linear-gradient(135deg, rgba(34,227,255,.1), rgba(255,46,136,.08)); border: 1px solid rgba(34,227,255,.3); border-radius: var(--radius); padding: 18px 20px; margin: 0 0 24px; }
.gate-banner a { color: var(--accent); font-weight: 700; text-decoration: none; }

/* ── Post grid / cards ─────────────────────────────────── */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-bottom: 32px; }
.post-grid > .post-card:first-child { grid-column: 1 / -1; }
.post-grid > .post-card:first-child .thumb-wrap { aspect-ratio: 21/8; }
.post-grid > .post-card:first-child h2 { font-size: 1.6rem; }
.post-grid-plain > .post-card:first-child { grid-column: auto; }
.post-grid-plain > .post-card:first-child .thumb-wrap { aspect-ratio: 16/9; }
.post-grid-plain > .post-card:first-child h2 { font-size: 1.1rem; }

/* ── Hero ──────────────────────────────────────────────── */
.hero-card { display: block; position: relative; border-radius: 14px; overflow: hidden; margin-bottom: 28px; text-decoration: none; aspect-ratio: 21/9; background: linear-gradient(135deg, #1b2340, #060810); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 28px; background: linear-gradient(to top, rgba(15,23,42,.92) 0%, rgba(15,23,42,.7) 35%, transparent 65%);
}
.hero-title { color: #fff; font-size: 2rem; margin: 10px 0 6px; letter-spacing: -.02em; }
.hero-excerpt { color: #cbd5e1; font-size: 1rem; max-width: 700px; margin: 0 0 10px; }
.hero-byline { color: #cbd5e1; }

/* ── Page hero (About, Team, Stats, Contact, etc) ───────── */
.page-hero {
  background: linear-gradient(135deg, #1b2340, #060810);
  border-radius: 14px; padding: 52px 32px; text-align: center; margin-bottom: 32px;
}
.page-hero-icon {
  display: flex; align-items: center; justify-content: center; margin: 0 auto 18px;
  width: 60px; height: 60px; border-radius: 50%; background: rgba(34,227,255,.18);
  font-size: 1.7rem;
}
.page-hero-title { color: #fff; font-size: 2.1rem; margin: 0 0 10px; letter-spacing: -.02em; }
.page-hero-sub { color: #cbd5e1; font-size: 1.02rem; max-width: 560px; margin: 0 auto; line-height: 1.5; }
.hero-byline:hover { color: #fff; }

/* ── Category quick-links ──────────────────────────────── */
.cat-quicklinks { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.cat-quicklinks a {
  background: var(--surface); border: 1px solid var(--border); color: var(--ink); text-decoration: none;
  font-size: .85rem; font-weight: 600; padding: 6px 16px; border-radius: 999px;
  transition: background .15s, color .15s, border-color .15s;
}
.cat-quicklinks a:hover { background: var(--header-bg); color: #fff; border-color: var(--header-bg); }

/* ── Section headings ──────────────────────────────────── */
.section-heading { display: flex; align-items: baseline; justify-content: space-between; margin: 0 0 16px; }
.section-heading h2 { margin: 0; }
.section-heading a { font-size: .85rem; font-weight: 600; color: var(--accent); text-decoration: none; }
.section-heading a:hover { text-decoration: underline; }

/* ── Empty states ──────────────────────────────────────── */
.empty-section {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 24px; margin-bottom: 32px; text-align: center;
}
.empty-section-icon {
  display: flex; align-items: center; justify-content: center; margin: 0 auto 12px;
  width: 48px; height: 48px; border-radius: 50%; background: rgba(34,227,255,.1);
  font-size: 1.4rem;
}
.empty-section-title { font-weight: 700; font-size: .98rem; margin: 0 0 4px; }
.empty-section-sub { color: var(--muted); font-size: .85rem; margin: 0; }
.empty-box { text-align: center; padding: 20px 10px; }
.empty-box-icon { display: flex; align-items: center; justify-content: center; margin: 0 auto 8px; width: 36px; height: 36px; border-radius: 50%; background: rgba(34,227,255,.1); font-size: 1.1rem; }
.empty-box-text { color: var(--muted); font-size: .85rem; margin: 0; }
.empty-pill { display: inline-flex; align-items: center; gap: 6px; background: var(--surface); border: 1px dashed var(--border); color: var(--muted); font-size: .85rem; font-weight: 600; padding: 7px 16px; border-radius: 999px; }

/* ── Newsletter ────────────────────────────────────────── */
.newsletter-box {
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  background: var(--header-bg); color: #fff; border-radius: var(--radius); padding: 28px 32px; margin-top: 12px;
}
.newsletter-box h2 { margin: 0 0 4px; }
.newsletter-box p { margin: 0; color: #94a3b8; font-size: .92rem; }
.newsletter-form-wrap { min-width: 280px; }
.newsletter-input-row { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter-form input[type=email] { padding: 11px 14px; border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.08); color: #fff; min-width: 220px; }
.newsletter-form input::placeholder { color: #64748b; }
.newsletter-form .btn-solid { background: var(--accent); }
.newsletter-consent { display: flex; align-items: flex-start; gap: 7px; margin-top: 10px; font-size: .78rem; color: #94a3b8; cursor: pointer; }
.newsletter-consent input { width: auto; margin-top: 2px; }
.newsletter-consent a { color: #cbd5e1; text-decoration: underline; }
.newsletter-consent a:hover { color: #fff; }
.newsletter-message { margin: 10px 0 0; color: #fbbf24; font-size: .88rem; }

/* ── Post cards ────────────────────────────────────────── */
.post-card {
  background: var(--surface); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.thumb-wrap { position: relative; aspect-ratio: 16/9; background: linear-gradient(135deg, #1b2340, #060810); overflow: hidden; }
.thumb-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.post-card:hover .thumb-wrap img { transform: scale(1.03); }
.thumb-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #64748b; font-size: 2rem; }
.type-tag { display: inline-block; align-self: flex-start; background: rgba(0,0,0,.65); color: #fff; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 4px 9px; border-radius: 999px; }
.thumb-wrap .type-tag { position: absolute; top: 10px; left: 10px; }
.thumb-wrap .rating { position: absolute; top: 10px; right: 10px; }

.post-card-body { padding: 16px 18px 18px; flex: 1; display: flex; flex-direction: column; }
.post-card-body h2 { margin: 0 0 8px; font-size: 1.1rem; line-height: 1.35; }
.post-card-body h2 a { text-decoration: none; }
.post-card-body h2 a:hover { color: var(--accent); }
.post-card-body p { margin: 0 0 10px; color: var(--muted); font-size: .92rem; line-height: 1.55; flex: 1; }
.meta { color: var(--muted); font-size: .82rem; }

.rating { display: inline-block; align-self: flex-start; background: var(--accent); color: var(--accent-ink); font-weight: 800; border-radius: 6px; padding: 3px 9px; font-size: .85rem; }

/* ── Stars ─────────────────────────────────────────────── */
.star-rating { position: relative; display: inline-block; font-family: Georgia, serif; font-size: 1.1rem; line-height: 1; letter-spacing: 2px; color: #39415c; }
.star-rating::before { content: "\2605\2605\2605\2605\2605"; }
.star-rating-fill { position: absolute; top: 0; left: 0; overflow: hidden; white-space: nowrap; color: #f59e0b; }
.star-rating-fill::before { content: "\2605\2605\2605\2605\2605"; }

/* ── Score breakdown ───────────────────────────────────── */
.score-breakdown { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 20px; }
.score-breakdown h3 { margin: 0 0 14px; font-size: 1rem; }
.score-row { display: flex; align-items: center; gap: 8px; padding: 6px 0; }
.score-row .score-label { width: 84px; flex-shrink: 0; font-size: .82rem; color: var(--muted); }
.score-row .star-rating { flex: 1; }
.score-row .score-value { width: 28px; flex-shrink: 0; text-align: right; font-weight: 700; font-size: .82rem; }
.score-overall-row { border-top: 1px solid var(--border); margin-top: 8px; padding-top: 14px; }
.score-overall-row .score-label { font-weight: 700; color: var(--ink); }
.score-overall-row .star-rating { font-size: 1.2rem; }
.score-overall-row .score-value { font-size: 1rem; color: var(--accent); }

.review-layout { display: flex; gap: 32px; align-items: flex-start; }
.review-main { flex: 1; min-width: 0; }
.review-sidebar { width: 280px; flex-shrink: 0; position: sticky; top: 120px; }
@media (max-width: 900px) {
  .review-layout { flex-direction: column; }
  .review-sidebar { width: 100%; position: static; }
}

.home-layout { display: flex; gap: 32px; align-items: flex-start; }
.home-main { flex: 1; min-width: 0; }
.home-sidebar { width: 280px; flex-shrink: 0; position: sticky; top: 120px; }
@media (max-width: 900px) {
  .home-layout { flex-direction: column; }
  .home-sidebar { width: 100%; position: static; }
}

.sidebar-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; }
.sidebar-box + .sidebar-box { margin-top: 20px; }
.sidebar-box h3 { margin: 0 0 10px; font-size: 1rem; }
.sidebar-latest-list { list-style: none; margin: 0; padding: 0; }
.sidebar-latest-list li { border-bottom: 1px solid var(--border); }
.sidebar-latest-list li:last-child { border-bottom: none; }
.sidebar-latest-list a { display: flex; gap: 10px; padding: 10px 0; text-decoration: none; color: var(--ink); font-size: .85rem; line-height: 1.4; }
.sidebar-latest-list a:hover { color: var(--accent); }
.sidebar-latest-num { flex-shrink: 0; font-weight: 800; color: var(--accent); width: 16px; }

.product-info-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; }
.product-info-box h3 { margin: 0 0 12px; font-size: 1rem; }
.info-row { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--border); font-size: .85rem; }
.info-row:last-of-type { border-bottom: none; }
.info-label { color: var(--muted); }
.info-value { font-weight: 600; text-align: right; }
.info-link { display: block; width: 100%; text-align: center; margin-top: 14px; box-sizing: border-box; }

.cat-chip { display: inline-block; background: rgba(34,227,255,.12); color: var(--accent); font-size: .78rem; font-weight: 600; padding: 2px 9px; border-radius: 999px; }

/* ── Full post ─────────────────────────────────────────── */
.post-full .cover-wrap { aspect-ratio: 21/9; border-radius: var(--radius); overflow: hidden; margin-bottom: 20px; background: linear-gradient(135deg, #1b2340, #060810); }
.post-full .cover-wrap img { width: 100%; height: 100%; object-fit: cover; }
.post-full h1 { margin-bottom: 8px; }
.post-full .excerpt { color: var(--muted); font-size: 1.05rem; }
.post-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.post-title-row h1 { flex: 1; }
.quick-edit-btn { flex-shrink: 0; white-space: nowrap; margin-top: 4px; }
.post-content { line-height: 1.75; font-size: 1.02rem; }
.post-content img { border-radius: var(--radius-sm); margin: 16px 0; }
.video-embed { position: relative; aspect-ratio: 16/9; margin: 20px 0; border-radius: var(--radius-sm); overflow: hidden; background: #000; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.post-content-faded {
  max-height: 220px; overflow: hidden; position: relative;
  mask-image: linear-gradient(to bottom, #000 40%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent 100%);
}

/* ── Pros/cons ─────────────────────────────────────────── */
.pros-cons-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0; }
.pros-cons-box { border-radius: var(--radius-sm); padding: 16px 18px; }
.pros-cons-box h3 { margin: 0 0 8px; font-size: .95rem; }
.pros-cons-box p { margin: 0; line-height: 1.6; }
.pros-box { background: rgba(61,220,151,.12); border: 1px solid rgba(61,220,151,.3); }
.pros-box h3 { color: #3ddc97; }
.cons-box { background: rgba(255,46,136,.12); border: 1px solid rgba(255,46,136,.3); }
.cons-box h3 { color: #ff5c85; }
.verdict-box { background: rgba(255,255,255,.04); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px 18px; margin: 0 0 24px; }
.verdict-box h3 { margin: 0 0 8px; font-size: .95rem; }
.verdict-box p { margin: 0; line-height: 1.6; }
@media (max-width: 640px) { .pros-cons-grid { grid-template-columns: 1fr; } }

/* ── Author card ───────────────────────────────────────── */
.author-card { margin-top: 32px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.team-card { margin-top: 0; transition: transform .15s, box-shadow .15s; }
.team-card:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .team-grid { grid-template-columns: 1fr; } }

.author-card-cover { height: 70px; background-size: cover; background-position: center; background-color: #334155; }
.author-card-row { display: flex; align-items: flex-start; gap: 16px; padding: 20px; }
.author-card.has-cover .author-card-row { padding-top: 0; margin-top: -28px; }
.author-card.has-cover .author-card-avatar .avatar-lg, .author-card.has-cover .author-card-avatar .avatar-placeholder { border: 3px solid var(--surface); }
.author-card-avatar { flex-shrink: 0; }
.author-card-body { flex: 1; min-width: 0; }
.author-card-label { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; margin-bottom: 2px; }
.author-card.has-cover .author-card-label { color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.5); }
.author-card-name { display: inline-block; font-size: 1.1rem; font-weight: 700; color: var(--ink); text-decoration: none; }
.author-card-name:hover { color: var(--accent); }
.author-card-bio { margin: 6px 0 0; font-size: .88rem; color: var(--muted); line-height: 1.5; }
.author-card-profile-link { flex-shrink: 0; align-self: center; }
@media (max-width: 560px) { .author-card-row { flex-wrap: wrap; } .author-card-profile-link { margin-left: 64px; } }

.author-facts { display: flex; border-top: 1px solid var(--border); }
.author-fact { flex: 1; padding: 12px 20px; border-right: 1px solid var(--border); min-width: 0; }
.author-fact:last-child { border-right: none; }
.author-fact-label { display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; margin-bottom: 3px; }
.author-fact-value { font-size: .85rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.author-fact-value.accent { color: var(--accent); }
.author-fact-value.edited { color: var(--edited-ink); }
@media (max-width: 560px) { .author-facts { flex-wrap: wrap; } .author-fact { flex: 1 1 50%; border-bottom: 1px solid var(--border); } }

/* ── Comments ──────────────────────────────────────────── */
.comments-section { max-width: 720px; margin: 40px auto 0; }
.comments-section h2 { font-size: 1.3rem; margin: 0 0 16px; }
.comment { display: flex; gap: 12px; margin-bottom: 18px; }
.comment-reply { margin-left: 44px; }
.comment-body { flex: 1; min-width: 0; }
.comment-meta { font-size: .85rem; color: var(--muted); margin-bottom: 4px; }
.comment-body p { margin: 0 0 6px; line-height: 1.55; }
.reply-toggle { background: none; border: none; color: var(--muted); font-size: .8rem; font-weight: 600; cursor: pointer; padding: 0; }
.reply-toggle:hover { color: var(--accent); }
.comment-form textarea { width: 100%; padding: 10px; border: 1px solid var(--border); border-radius: var(--radius-sm); font: inherit; resize: vertical; }
.comment-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(34,227,255,.1); }
.comment-reply-form { margin-top: 10px; }

/* ── Forms ─────────────────────────────────────────────── */
form.stacked label { display: block; margin: 12px 0 4px; font-weight: 600; font-size: .9rem; }
form.stacked input, form.stacked textarea, form.stacked select { width: 100%; padding: 10px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: .95rem; }
form.stacked input:focus, form.stacked textarea:focus, form.stacked select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(34,227,255,.1); }
.btn { display: inline-block; background: var(--header-bg); color: #fff; border: none; padding: 11px 18px; border-radius: var(--radius-sm); cursor: pointer; text-decoration: none; font-weight: 600; font-size: .92rem; transition: background .15s; }
.btn:hover { background: #1e293b; }
.btn-subscribed { background: var(--surface); color: var(--ink); border: 1px solid var(--border); }
.btn-subscribed:hover { background: rgba(255,46,136,.12); color: #ff5c85; border-color: rgba(255,46,136,.3); }
.error { color: #ff5c85; margin: 10px 0; }
.success-msg { color: #3ddc97; background: rgba(61,220,151,.12); border: 1px solid rgba(61,220,151,.3); border-radius: var(--radius-sm); padding: 10px 12px; margin: 0 0 16px; font-size: .9rem; }

/* ── Account settings ──────────────────────────────────── */
.settings-layout { display: flex; gap: 28px; align-items: flex-start; }
.settings-nav { display: flex; flex-direction: column; gap: 2px; width: 200px; flex-shrink: 0; }
.settings-tab-btn { text-align: left; background: none; border: none; border-radius: var(--radius-sm); padding: 10px 14px; font-size: .92rem; font-weight: 600; color: var(--muted); cursor: pointer; }
.settings-tab-btn:hover { background: rgba(255,255,255,.06); color: var(--ink); }
.settings-tab-btn.active { background: var(--header-bg); color: #fff; }
.settings-content { flex: 1; min-width: 0; }
.settings-panel { display: none; }
.settings-panel.active { display: block; }
.settings-content h3 { margin: 0 0 14px; font-size: 1.05rem; }

.btn-ghost-inline { background: none; border: 1px solid var(--border); border-radius: 7px; padding: 7px 12px; font-size: .85rem; font-weight: 600; cursor: pointer; color: var(--ink); text-decoration: none; }
.btn-ghost-inline:hover { background: rgba(255,255,255,.06); }

.connection-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--border); }
.connection-row:last-child { border-bottom: none; }

.totp-status { display: inline-block; border-radius: 999px; padding: 6px 14px; font-size: .85rem; font-weight: 600; margin: 0 0 10px; }
.totp-active { background: rgba(61,220,151,.12); color: #3ddc97; }
.totp-pending { background: rgba(255,210,63,.12); color: #ffd23f; }
.totp-inactive { background: rgba(255,255,255,.06); color: var(--muted); }
.totp-secret-wrap { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.06); border-radius: var(--radius-sm); padding: 10px 14px; margin-bottom: 14px; }
.totp-secret-label { font-size: .78rem; color: var(--muted); }
.totp-secret-key { font-family: monospace; font-size: .98rem; letter-spacing: .1em; }
.totp-code-input { width: 100%; max-width: 200px; padding: 10px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 1.1rem; letter-spacing: .25em; text-align: center; }

/* ── Auth pages ────────────────────────────────────────── */
.auth-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px;
  background: linear-gradient(135deg, #0b0f1a, #1b2340);
}
.auth-card { width: 100%; max-width: 380px; background: var(--surface); border-radius: 16px; padding: 36px 32px; box-shadow: 0 20px 60px rgba(0,0,0,.45); }
.auth-card-wide { max-width: 520px; }
.field-row { display: flex; gap: 12px; }
.field-row > div { flex: 1; }
.checkbox-row { display: flex; align-items: flex-start; gap: 8px; margin: 16px 0 0; font-size: .82rem; color: var(--muted); font-weight: 400; cursor: pointer; }
.checkbox-row input { width: auto; margin-top: 2px; }
.checkbox-row a { color: var(--accent); font-weight: 600; }

.auth-body { display: flex; gap: 20px; margin-top: 22px; }
.auth-form-col { flex: 1; min-width: 0; }
.auth-form-col label:first-of-type { margin-top: 0; }
.oauth-rail {
  display: flex; flex-direction: column; justify-content: center; gap: 10px;
  padding-left: 20px; border-left: 1px solid var(--border);
  width: 130px; flex-shrink: 0;
}
.oauth-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 10px; border-radius: var(--radius-sm); font-weight: 600; font-size: .82rem;
  text-decoration: none; border: 1px solid var(--border);
  transition: filter .15s, transform .15s;
}
.oauth-btn:hover { filter: brightness(.95); transform: translateY(-1px); }
.oauth-btn svg { flex-shrink: 0; }
.oauth-discord { background: #5865f2; border-color: #5865f2; color: #fff; }
.oauth-google  { background: #fff; color: #1f1f1f; }
.oauth-steam   { background: #1b2838; border-color: #1b2838; color: #fff; }
.auth-brand { display: block; text-align: center; font-weight: 800; font-size: 1.5rem; text-decoration: none; color: var(--ink); margin-bottom: 4px; letter-spacing: -.02em; }
.auth-brand span { color: var(--accent); }
.auth-subtitle { text-align: center; color: var(--muted); font-size: .9rem; margin: 0 0 26px; }
.auth-card .error { background: rgba(255,46,136,.12); border: 1px solid rgba(255,46,136,.3); border-radius: var(--radius-sm); padding: 10px 12px; font-size: .88rem; margin: 0 0 16px; }
.auth-card label { display: block; font-size: .82rem; font-weight: 600; color: var(--muted); margin: 14px 0 6px; }
.auth-card label:first-of-type { margin-top: 0; }
.auth-card input { width: 100%; padding: 11px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: .95rem; }
.auth-card input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(34,227,255,.15); }
.auth-forgot-link { display: inline-block; margin-top: 8px; font-size: .82rem; color: var(--muted); text-decoration: none; }
.auth-forgot-link:hover { color: var(--accent); }
.auth-submit { width: 100%; margin-top: 22px; background: var(--accent); color: var(--accent-ink); border: none; padding: 12px; border-radius: var(--radius-sm); font-weight: 700; font-size: .95rem; cursor: pointer; }
.auth-submit:hover { background: #00c2dd; }
.auth-switch { text-align: center; font-size: .88rem; color: var(--muted); margin-top: 22px; }
.auth-switch a { color: var(--accent); font-weight: 600; text-decoration: none; }

/* ── Admin header ──────────────────────────────────────── */
.admin-header-bar { background: var(--header-bg); border-bottom: 1px solid rgba(255,255,255,.06); position: sticky; top: 0; z-index: 100; }
.admin-header-inner { max-width: 1180px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; height: 48px; }
.admin-header-left { display: flex; align-items: center; gap: 24px; }
.admin-header-right { display: flex; align-items: center; gap: 12px; }
.admin-header-brand { color: #fff; font-weight: 800; font-size: .95rem; text-decoration: none; }
.admin-header-brand:hover { color: var(--accent); }
.admin-header-nav { display: flex; align-items: center; gap: 4px; }
.admin-header-nav a { color: #94a3b8; text-decoration: none; font-size: .82rem; font-weight: 600; padding: 6px 12px; border-radius: 6px; transition: color .15s, background .15s; }
.admin-header-nav a:hover { color: #fff; background: rgba(255,255,255,.06); }
.admin-header-nav a.active { color: #fff; background: rgba(255,255,255,.1); }
.admin-header-site-link { color: #94a3b8; text-decoration: none; font-size: .82rem; font-weight: 600; padding: 6px 12px; border-radius: 6px; border: 1px solid rgba(255,255,255,.15); }
.admin-header-site-link:hover { color: #fff; border-color: rgba(255,255,255,.3); }
.admin-header-bar .nav-user { color: #94a3b8; font-size: .82rem; }
.admin-header-bar .dropdown-menu { top: 100%; }
.admin-nav-dropdown { position: relative; display: flex; align-items: center; }
.admin-nav-dropdown .dropdown-toggle { color: #94a3b8; font-size: .82rem; font-weight: 600; padding: 6px 12px; border-radius: 6px; text-decoration: none; }
.admin-nav-dropdown .dropdown-toggle:hover { color: #fff; background: rgba(255,255,255,.06); }
.admin-nav-dropdown .dropdown-toggle.active { color: #fff; background: rgba(255,255,255,.1); }
.admin-nav-dropdown:hover .dropdown-toggle { color: #fff; background: rgba(255,255,255,.1); }
.admin-nav-dropdown:hover .dropdown-menu { display: block; }

.admin-type-tabs { display: flex; gap: 0; }
.admin-type-tab {
  display: inline-block; padding: 8px 20px; font-weight: 600; font-size: .88rem;
  text-decoration: none; color: var(--muted); border: 1px solid var(--border);
  background: var(--surface); transition: background .15s, color .15s;
}
.admin-type-tab:first-child { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.admin-type-tab:last-child { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin-left: -1px; }
.admin-type-tab:hover { background: rgba(255,255,255,.04); color: var(--ink); }
.admin-type-tab.active { background: var(--header-bg); color: #fff; border-color: var(--header-bg); z-index: 1; }

.admin-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.admin-card-body { padding: 18px 20px; }
.admin-card h3 { margin: 0 0 14px; font-size: 1.05rem; }

.edit-image-row { display: flex; gap: 16px; }
.edit-image-row > div { flex: 1; }
.edit-image-preview { width: 100%; height: 100px; border-radius: var(--radius-sm); overflow: hidden; background: rgba(255,255,255,.06); margin-bottom: 8px; display: flex; align-items: center; justify-content: center; }
.edit-image-preview img { width: 100%; height: 100%; object-fit: cover; }
.edit-image-preview-cover { height: 60px; }
.edit-image-placeholder { color: var(--muted); font-size: .82rem; }

.admin-tabs { display: flex; gap: 0; border-bottom: 2px solid var(--border); }
.admin-tab { display: inline-block; padding: 10px 22px; font-weight: 600; font-size: .88rem; text-decoration: none; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -2px; transition: color .15s, border-color .15s; }
.admin-tab:hover { color: var(--ink); }
.admin-tab.active { color: var(--ink); border-bottom-color: var(--accent); }

/* ── Admin layout ──────────────────────────────────────── */
.admin-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.admin-header h1 { margin: 0; }
.admin-header-actions { display: flex; gap: 10px; }
.admin-dashboard { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin-bottom: 32px; }
.admin-dash-card { display: block; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s; }
.admin-dash-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.admin-dash-icon { font-size: 1.6rem; margin-bottom: 8px; }
.admin-dash-card h3 { margin: 0 0 4px; font-size: 1rem; }
.admin-dash-card p { margin: 0; font-size: .85rem; color: var(--muted); }

/* ── Admin tables ──────────────────────────────────────── */
.admin-table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.admin-table th { text-align: left; padding: 12px 14px; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: rgba(255,255,255,.04); border-bottom: 1px solid var(--border); }
.admin-table td { padding: 12px 14px; border-bottom: 1px solid var(--border); font-size: .9rem; vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: rgba(255,255,255,.03); }
.admin-table-title { font-weight: 600; }
.admin-table-title a { text-decoration: none; }
.admin-table-title a:hover { color: var(--accent); }
.admin-table-actions { white-space: nowrap; display: flex; gap: 6px; align-items: center; }
.admin-empty { text-align: center; color: var(--muted); padding: 32px 14px; }
.admin-meta { color: var(--muted); font-size: .82rem; }
.admin-comment-body { max-width: 400px; line-height: 1.5; }

/* ── Admin filters ─────────────────────────────────────── */
.admin-filter-bar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.admin-filter-bar select, .admin-filter-bar input[type="text"] { padding: 8px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: .88rem; }
.admin-filter-bar select:focus, .admin-filter-bar input[type="text"]:focus { outline: none; border-color: var(--accent); }
.admin-filter-bar .btn { font-size: .88rem; }
.admin-filter-bar .active { background: var(--header-bg); color: #fff; border-color: var(--header-bg); }

.admin-two-col { display: grid; grid-template-columns: 300px 1fr; gap: 32px; align-items: start; }
.admin-two-col h2 { margin-top: 0; }
@media (max-width: 768px) { .admin-two-col { grid-template-columns: 1fr; } }

/* ── Status badges ─────────────────────────────────────── */
.status-badge { display: inline-block; font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.status-published { background: rgba(61,220,151,.12); color: #3ddc97; }
.status-draft { background: rgba(255,255,255,.06); color: var(--muted); }
.status-pending { background: rgba(255,210,63,.12); color: #ffd23f; }
.status-rejected { background: rgba(255,46,136,.12); color: #ff5c85; }
.type-tag-article { background: rgba(255,255,255,.08); color: var(--ink); }
.type-tag-review { background: rgba(255,46,136,.14); color: #ff5c85; }
.comment-status-pending td { background: rgba(255,210,63,.05); }
.comment-status-rejected td { background: rgba(255,46,136,.05); }
.btn-active { background: rgba(61,220,151,.12); color: #3ddc97; border-color: rgba(61,220,151,.3); }
.btn-danger { color: #ff5c85; }
.btn-danger:hover { background: rgba(255,46,136,.12); border-color: rgba(255,46,136,.3); }

/* ── Editor ────────────────────────────────────────────── */
.editor-layout { display: grid; grid-template-columns: 1fr 280px; gap: 24px; align-items: start; }
.editor-main { display: flex; flex-direction: column; gap: 16px; }
.editor-sidebar { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 100px; }
.editor-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; }
.editor-card h3 { margin: 0 0 12px; font-size: 1rem; }
.editor-card label { display: block; font-weight: 600; font-size: .85rem; margin: 10px 0 4px; }
.editor-card label:first-child { margin-top: 0; }
.editor-card input[type="text"], .editor-card input[type="url"], .editor-card input[type="number"], .editor-card input[type="date"], .editor-card textarea, .editor-card select { width: 100%; padding: 9px 10px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: .92rem; }
.editor-card input:focus, .editor-card textarea:focus, .editor-card select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(34,227,255,.1); }
.editor-card textarea { resize: vertical; }
.editor-row { display: flex; gap: 12px; }
.editor-row > div { flex: 1; }
.editor-publish-info { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.editor-publish-btns { display: flex; gap: 8px; margin-top: 12px; }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: #00c2dd; }
.editor-thumb-preview { margin-bottom: 10px; }
.editor-thumb-preview img { width: 100%; border-radius: var(--radius-sm); border: 1px solid var(--border); }

/* ── Rich text toolbar ─────────────────────────────────── */
.editor-toolbar {
  display: flex; gap: 2px; flex-wrap: wrap; padding: 8px 10px; background: rgba(255,255,255,.04);
  border: 1px solid var(--border); border-bottom: none; border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}
.ed-btn { background: none; border: 1px solid transparent; border-radius: 4px; padding: 5px 9px; font-size: .82rem; cursor: pointer; color: var(--ink); font-weight: 600; }
.ed-btn:hover { background: rgba(255,255,255,.06); border-color: var(--border); }
.ed-sep { width: 1px; background: var(--border); margin: 0 4px; }
.editor-content { min-height: 400px; padding: 14px; border: 1px solid var(--border); border-radius: 0 0 var(--radius-sm) var(--radius-sm); font-family: inherit; font-size: .95rem; line-height: 1.7; outline: none; }
.editor-content:focus { border-color: var(--accent); }

/* ── Criteria rows ─────────────────────────────────────── */
.criteria-rows { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.criteria-row { display: flex; gap: 8px; align-items: center; }
.criteria-row input[type="text"] { flex: 2; }
.criteria-row input[type="number"] { flex: 1; }

@media (max-width: 900px) {
  .editor-layout { grid-template-columns: 1fr; }
  .editor-sidebar { position: static; }
}

/* ── OAuth settings cards ─────────────────────────────────── */
.oauth-card {
  background: var(--surface); border-radius: 10px;
  box-shadow: var(--shadow); margin-bottom: 10px; overflow: hidden;
  transition: box-shadow .15s;
}
.oauth-card:hover { box-shadow: var(--shadow-lg); }
.oauth-card-header { display: flex; align-items: center; gap: 12px; padding: 14px 16px; cursor: pointer; user-select: none; }
.oauth-toggle { position: relative; width: 40px; height: 22px; flex-shrink: 0; appearance: none; -webkit-appearance: none; background: #39415c; border-radius: 11px; outline: none; cursor: pointer; transition: background .2s; }
.oauth-toggle::after { content: ''; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; background: #fff; border-radius: 50%; transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.15); }
.oauth-toggle:checked { background: var(--accent); }
.oauth-toggle:checked::after { transform: translateX(18px); }
.oauth-card-label { font-weight: 600; font-size: .92rem; color: var(--ink); }
.oauth-card-body { padding: 0 16px 16px; }
.oauth-card-body label { display: block; font-size: .8rem; color: var(--muted); margin-bottom: 4px; margin-top: 12px; }
.oauth-card-body label:first-child { margin-top: 0; }
.oauth-card-body input[type="password"] { width: 100%; box-sizing: border-box; }
.oauth-card-collapsed .oauth-card-body { display: none; }
.oauth-card:not(.oauth-card-collapsed) .oauth-card-header { border-left: 3px solid var(--accent); }
.oauth-card-header:has(.oauth-toggle[name="oauth_discord_enabled"]:checked) { border-left-color: #5865f2; }
.oauth-card-header:has(.oauth-toggle[name="oauth_google_enabled"]:checked) { border-left-color: #4285f4; }
.oauth-card-header:has(.oauth-toggle[name="oauth_steam_enabled"]:checked) { border-left-color: #1b2838; }
