/* Dark theme for portal.css, generated by theme/gen_dark.py from the module CSS (22 Nov 2026). Do not edit by hand. */
html[data-theme="dark"] {
  color-scheme: dark;
  --navy: #E0E4EB;
  --navy-deep: #E0E4EB;
  --gold: #C4A265;
  --gold-soft: #E8D5A8;
  --gold-dim: #DEC492;
  --text: #E0E4EB;
  --muted: #A0A4B4;
  --line: #22344D;
  --card: #0F1C30;
  --bg: #0A1526;
  --shadow: 0 8px 28px rgba(0,0,0,0.39);
  --shadow-hover: 0 14px 36px rgba(0,0,0,0.55);
}
html[data-theme="dark"],
html[data-theme="dark"] body {
  background: #0A1526;
  color: #E0E4EB;
}
html[data-theme="dark"] .boot-msg {
  color: #A0A4B4;
}
html[data-theme="dark"] .topbar {
  background: rgba(15,28,48,0.92);
  border-bottom: 1px solid #22344D;
}
html[data-theme="dark"] .brand {
  color: #E0E4EB;
}
html[data-theme="dark"] .avatar {
  background: #243960;
  color: #FFFFFF;
}
html[data-theme="dark"] .uname {
  color: #E0E4EB;
}
html[data-theme="dark"] .user-toggle:hover,
html[data-theme="dark"] .user-toggle:focus {
  background: #15253B;
}
html[data-theme="dark"] .chev {
  color: #A0A4B4;
}
html[data-theme="dark"] .menu {
  background: #0F1C30;
  border: 1px solid #22344D;
  box-shadow: 0 14px 36px rgba(0,0,0,0.55);
}
html[data-theme="dark"] .menu button {
  color: #E0E4EB;
}
html[data-theme="dark"] .menu button:hover,
html[data-theme="dark"] .menu button:focus {
  background: #15253B;
}
html[data-theme="dark"] .signbox {
  background: #0F1C30;
  border: 1px solid #22344D;
  box-shadow: 0 8px 28px rgba(0,0,0,0.39);
}
html[data-theme="dark"] .signbox h1 {
  color: #E0E4EB;
}
html[data-theme="dark"] .signbox p {
  color: #A0A4B4;
}
html[data-theme="dark"] .btn {
  border: 1px solid #22344D;
  background: #0F1C30;
  color: #E0E4EB;
}
html[data-theme="dark"] .btn.primary {
  border-color: #3A5588;
  background: #243960;
  color: #FFFFFF;
}
html[data-theme="dark"] .signerr {
  color: #F0C97F;
}
html[data-theme="dark"] .hello {
  color: #E0E4EB;
}
html[data-theme="dark"] .sub {
  color: #A0A4B4;
}
html[data-theme="dark"] .module,
html[data-theme="dark"] .soon {
  color: #E0E4EB;
  background: #0F1C30;
  border: 1px solid #22344D;
  box-shadow: 0 8px 28px rgba(0,0,0,0.39);
}
html[data-theme="dark"] a.module:hover,
html[data-theme="dark"] a.module:focus {
  box-shadow: 0 14px 36px rgba(0,0,0,0.55);
  border-color: #2C405C;
}
html[data-theme="dark"] .module.featured {
  background: radial-gradient(120% 80% at 100% 100%, rgba(196,162,101,0.22) 0%, rgba(196,162,101,0) 55%),
    linear-gradient(165deg, #0F1C30 0%, #3B2D11 55%, #3B2D11 100%);
  border-color: #E4D3A8;
}
html[data-theme="dark"] .icon {
  background: #15253B;
  color: #E0E4EB;
}
html[data-theme="dark"] .module.featured .icon {
  background: #60512A;
  color: #DEC492;
  box-shadow: 0 0 0 6px rgba(0,0,0,0.55);
}
html[data-theme="dark"] .mdetail {
  color: #A0A4B4;
}
html[data-theme="dark"] .mmeta {
  color: #E0E4EB;
}
html[data-theme="dark"] .mmeta span {
  color: #A0A4B4;
}
html[data-theme="dark"] .badge {
  color: #DEC492;
}
html[data-theme="dark"] .soon-flag {
  background: #15253B;
  color: #A0A4B4;
}
html[data-theme="dark"] .soon .icon {
  color: #A0A4B4;
}
html[data-theme="dark"] .empty {
  color: #A0A4B4;
  background: #0F1C30;
  border: 1px solid #22344D;
  box-shadow: 0 8px 28px rgba(0,0,0,0.39);
}
