/* [P31] FINAL CLEAN THEME */
/* 1. РОВНО 2 ЦВЕТА (Серый #1e293b и Светло-серый #334155) */
html body.dark, html body.dark main, html body.dark header, html body.dark footer,
html body.dark section, html body.dark .workspace, html body.dark #app,
html body.dark .rotator-section {
  background-color: #1e293b !important;
  background-image: none !important;
}
html body.dark .card, html body.dark .side-panel, html body.dark .editor-pane,
html body.dark .demo-screen, html body.dark .feature, html body.dark .hero-badges span,
html body.dark .side-content, html body.dark .type-card, html body.dark .bento > .card,
html body.dark .side-panel-articles {
  background-color: #334155 !important;
  background-image: none !important;
  border-radius: 12px !important;
}

/* 2. БЕЛЫЙ ТЕКСТ (Футер, Бейджи) */
html body.dark footer, html body.dark footer a, html body.dark footer p,
html body.dark footer span, html body.dark footer li, html body.dark footer .ftr-col a,
html body.dark footer .footer-copy, html body.dark .hero-badges span,
html body.dark .hero-badges a, html body.dark .hero-badges span * {
  color: #ffffff !important;
}
html body.dark footer h4 { color: #5eead4 !important; }

/* 3. УБИРАЕМ ЛИНИИ И РАМКИ */
html body.dark footer { border-top: 1px solid #475569 !important; border-bottom: none !important; }
html body.dark footer h4, html body.dark .ftr-heads { border: none !important; box-shadow: none !important; }
html body.dark header { border-bottom: 1px solid #475569 !important; }
html body.dark #breadcrumbs { border: none !important; }
html body.dark .hero, html body.dark #hero-static, html body.dark #hero-container {
  border: none !important; box-shadow: none !important; background: transparent !important;
}

/* 4. КРОШКИ (ЖЁСТКО) */
html body #breadcrumbs {
  display: flex !important; visibility: visible !important; opacity: 1 !important;
  height: auto !important; color: #ffffff !important; background: transparent !important;
  position: relative !important; z-index: 99999 !important;
}
html body #breadcrumbs a { color: #5eead4 !important; }
