/* Lightweight white-label patch for New API.
   Keeps the app close to the original light UI, hides upstream branding,
   and avoids expensive filters or continuous animations. */
:root {
  --lingbai-page: #f6f8fb;
  --lingbai-panel: rgba(255, 255, 255, 0.92);
  --lingbai-line: rgba(24, 40, 67, 0.08);
  --lingbai-accent: #1677ff;
}

html,
body {
  background:
    linear-gradient(180deg, rgba(22, 119, 255, 0.035), transparent 260px),
    var(--lingbai-page) !important;
}

body.codex-tech-theme footer,
body.codex-tech-theme .semi-layout-footer,
body.codex-tech-theme [data-codex-hidden-brand="true"] {
  display: none !important;
}

body.codex-tech-theme::before,
body.codex-tech-theme::after,
#codex-neural-bg {
  display: none !important;
}

body.codex-tech-theme .semi-layout,
body.codex-tech-theme .semi-layout-content,
body.codex-tech-theme .semi-navigation,
body.codex-tech-theme .semi-card,
body.codex-tech-theme .semi-table,
body.codex-tech-theme .semi-tabs-content,
body.codex-tech-theme .pricing-content,
body.codex-tech-theme .pricing-sidebar {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body.codex-tech-theme .semi-card,
body.codex-tech-theme .semi-table,
body.codex-tech-theme .semi-modal-content,
body.codex-tech-theme .semi-sidesheet-content {
  border-color: var(--lingbai-line) !important;
  box-shadow: 0 8px 26px rgba(24, 40, 67, 0.06);
}

body.codex-tech-theme .semi-button-primary {
  box-shadow: 0 6px 16px rgba(22, 119, 255, 0.18);
}

body.codex-tech-theme .classic-home-page .semi-input-wrapper {
  box-shadow: 0 8px 22px rgba(24, 40, 67, 0.06);
}
