:root{
  --lb-primary:#0d6efd;
  --lb-secondary:#6c757d;
  --lb-bg:#f5f7fb;
  --lb-text:#1f2937;
  --lb-card:#ffffff;
  --lb-border:rgba(15,23,42,.08);
  --lb-shadow:0 12px 32px rgba(15,23,42,.08);
}
html[data-bs-theme='dark']{
  --lb-bg:#0f172a;
  --lb-text:#e2e8f0;
  --lb-card:#111827;
  --lb-border:rgba(255,255,255,.08);
  --lb-shadow:0 12px 32px rgba(0,0,0,.35);
}
body{background:linear-gradient(180deg,#fbfdff 0,#f3f7fc 100%);color:var(--lb-text);font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif}
html[data-bs-theme='dark'] body{background:linear-gradient(180deg,#0b1220 0,#111827 100%)}
.navbar-glass{backdrop-filter:blur(10px);background:color-mix(in srgb, var(--lb-card) 90%, transparent)}
.brand-badge{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:14px;background:linear-gradient(135deg,var(--lb-primary),#8ab4ff);color:#fff;font-weight:700;margin-right:.6rem;box-shadow:var(--lb-shadow)}
.hero-card,.post-card,.feature-card,.admin-card,.stat-card,.media-card{background:var(--lb-card);border:1px solid var(--lb-border);border-radius:24px;box-shadow:var(--lb-shadow)}
.hero-card{padding:2rem}
.gradient-text{background:linear-gradient(135deg,var(--lb-primary),#6ea8fe);-webkit-background-clip:text;background-clip:text;color:transparent}
.section-title{font-size:2rem;font-weight:800;margin-bottom:1rem}
.post-card,.feature-card,.admin-card,.stat-card,.media-card{padding:1.25rem}
.post-card:hover,.feature-card:hover,.media-card:hover{transform:translateY(-4px);transition:.25s ease}
.badge-soft{background:rgba(13,110,253,.09);color:var(--lb-primary);border-radius:999px;padding:.45rem .8rem}
.content-html img{max-width:100%;border-radius:18px}
.content-html{line-height:1.8}
.content-html iframe{max-width:100%}
.footer-cta{background:linear-gradient(135deg,#fff,#eef5ff)}
.admin-body{background:#f3f6fb}
html[data-bs-theme='dark'] .admin-body{background:#0b1220}
.admin-shell{display:grid;grid-template-columns:280px 1fr;min-height:100vh}
.admin-sidebar{background:var(--lb-card);border-right:1px solid var(--lb-border);padding:1.5rem;display:flex;flex-direction:column;justify-content:space-between;position:sticky;top:0;height:100vh}
.admin-main{padding:1.5rem}
.admin-sidebar .nav-link{color:var(--lb-text);border-radius:14px;padding:.75rem 1rem;display:flex;gap:.75rem;align-items:center}
.admin-sidebar .nav-link:hover,.admin-sidebar .nav-link.active{background:#eef4ff;color:var(--lb-primary)}
html[data-bs-theme='dark'] .admin-sidebar .nav-link:hover,html[data-bs-theme='dark'] .admin-sidebar .nav-link.active{background:rgba(13,110,253,.15)}
.admin-brand{display:flex;align-items:center;gap:.75rem}
.data-table thead th{font-size:.9rem;color:#64748b}
.data-table tbody tr{vertical-align:middle}
.editor-shell{border:1px solid #dee2e6;border-radius:18px;overflow:hidden;background:var(--lb-card)}
.editor-shell .ql-toolbar{border:none;border-bottom:1px solid #e9ecef}
.editor-shell .ql-container{border:none;min-height:280px;font-size:1rem}
.theme-preview{min-height:220px;background:linear-gradient(135deg,#ffffff,#eff5ff);border:1px dashed #cbd5e1;border-radius:22px;padding:1.5rem}
.ajax-status{display:none}
.ajax-status.show{display:inline-flex}
.cover-thumb,.media-thumb{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:18px;background:#eef2f7}
.metric-chip{padding:.8rem 1rem;border:1px solid var(--lb-border);border-radius:18px;background:color-mix(in srgb, var(--lb-card) 94%, #fff)}
@media (max-width: 991.98px){.admin-shell{grid-template-columns:1fr}.admin-sidebar{position:relative;height:auto}.hero-card{padding:1.5rem}}


.footer-link{color:inherit;text-decoration:none;padding:.3rem .6rem}.footer-link:hover{text-decoration:underline}.language-pill{min-width:44px}.admin-card code{white-space:pre-wrap;word-break:break-all}