/* SPACE theme — persisted in Sun-Panel's conf/custom volume. */
@font-face {
  font-family: "Orbitron Space";
  src: url("/custom/orbitron-800.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --space-display: "Orbitron Space", "Eurostile Extended", "Bank Gothic", sans-serif;
  --space-ice: #eef9ff;
  --space-ice-muted: #ccecff;
  --space-glow: rgba(86, 192, 255, 0.65);
}

/* Angular sci-fi identity. */
.logo > span,
.clock-time,
.clock-date,
.clock-week {
  font-family: var(--space-display) !important;
  font-weight: 800 !important;
  letter-spacing: 0.12em;
  text-shadow: 0 0 7px rgba(153, 214, 255, 0.88), 0 0 22px rgba(64, 123, 255, 0.58) !important;
}

.logo > span {
  letter-spacing: 0.22em;
  background: linear-gradient(105deg, #ffffff 8%, #93d7ff 46%, #cfaeff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* White/ice text stays readable against the dark Andromeda background. */
.group-title {
  color: var(--space-ice) !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.95), 0 0 13px var(--space-glow) !important;
}

.app-icon-small-title,
.app-icon-info-title,
.app-icon-info-description {
  color: var(--space-ice) !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.98), 0 0 7px rgba(55, 165, 255, 0.42) !important;
}

/* Iconify SVG paths use currentColor. Override their inherited black fill/color. */
.app-icon svg.iconify,
.app-icon .item-icon svg {
  color: var(--space-ice) !important;
  fill: currentColor !important;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 5px rgba(69, 181, 255, 0.35));
}

.app-icon svg.iconify path,
.app-icon .item-icon svg path {
  fill: currentColor !important;
}


/* Final high-contrast override for every card-caption element, including nested spans on mobile/WebKit. */
.app-icon-small-title,
.app-icon-small-title *,
.app-icon-info-title,
.app-icon-info-title *,
.app-icon-info-description,
.app-icon-info-description * {
  color: #f4fbff !important;
  -webkit-text-fill-color: #f4fbff !important;
  opacity: 1 !important;
  font-weight: 650 !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 1), 0 0 8px rgba(65, 184, 255, 0.62) !important;
}


/* Sun-Panel's small-card layout uses item-card-small-title (not app-icon-small-title). */
.item-card-small-title,
.item-card-small-title *,
.item-card-info-title,
.item-card-info-title *,
.item-card-info-description,
.item-card-info-description * {
  color: #f4fbff !important;
  -webkit-text-fill-color: #f4fbff !important;
  opacity: 1 !important;
  font-weight: 650 !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 1), 0 0 8px rgba(65, 184, 255, 0.62) !important;
}
