/* Urgent service outage — temporary overlay for downloads / payments / GitHub */
:root {
  --outage-banner-h: 0px;
}

#sologem-outage-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2147483000;
  background: linear-gradient(180deg, #3a0a0a 0%, #1a0505 100%);
  border-bottom: 2px solid #ff4d4d;
  color: #fff5f5;
  font-family: "Figtree", system-ui, sans-serif;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
}

#sologem-outage-banner .outage-inner {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0.85rem 0 0.95rem;
  display: grid;
  gap: 0.35rem;
}

#sologem-outage-banner .outage-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: #ff8a8a;
}

#sologem-outage-banner .outage-kicker::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #ff3b3b;
  box-shadow: 0 0 0 0 rgba(255, 59, 59, 0.7);
  animation: outage-pulse 1.4s ease-out infinite;
}

@keyframes outage-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 59, 59, 0.65);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 59, 59, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 59, 59, 0);
  }
}

#sologem-outage-banner strong {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  letter-spacing: -0.02em;
  color: #fff;
}

#sologem-outage-banner p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #f0d0d0;
  max-width: 62rem;
}

#sologem-outage-banner a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

#sologem-outage-banner a:hover {
  color: #ffb4b4;
}

body.sologem-outage-active {
  padding-top: var(--outage-banner-h) !important;
}

/* Keep fixed/sticky site chrome below the banner */
body.sologem-outage-active .nav,
body.sologem-outage-active .site-header,
body.sologem-outage-active header.site-header,
body.sologem-outage-active header.nav,
body.sologem-outage-active .nav-bar,
body.sologem-outage-active header {
  top: var(--outage-banner-h) !important;
}

a[data-outage-disabled],
button[data-outage-disabled] {
  opacity: 0.45 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  filter: grayscale(0.35);
  text-decoration: line-through !important;
}

[data-site-patch-hidden="1"] {
  display: none !important;
}

/* High-contrast panel: DeskCore hero is a light theme — dark text on solid elevated surface */
.deskcore-whats-new {
  margin-top: 1.1rem;
  max-width: 36rem;
  padding: 1.05rem 1.15rem 1.1rem;
  border: 1px solid rgba(13, 17, 20, 0.18);
  border-radius: 2px;
  background: #f4f7f5;
  color: #1a2e24;
  font-size: 0.92rem;
  line-height: 1.5;
  box-shadow: 0 10px 28px rgba(7, 9, 11, 0.12);
}

.deskcore-whats-new strong {
  display: block;
  margin-bottom: 0.5rem;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0d1114;
  font-size: 1.02rem;
}

.deskcore-whats-new ul {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.32rem;
  color: #1a2e24;
}

.deskcore-whats-new li {
  color: #1a2e24;
}

.deskcore-whats-new-links {
  margin: 0.8rem 0 0;
  font-size: 0.86rem;
  color: #2a3d34;
}

.deskcore-whats-new-links strong {
  display: inline;
  font-size: inherit;
  letter-spacing: 0;
  color: #0d1114;
}

.deskcore-whats-new-links a {
  color: #0a6b3c;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.deskcore-whats-new-links a:hover {
  color: #085530;
}

@media (max-width: 640px) {
  #sologem-outage-banner .outage-inner {
    padding: 0.75rem 0 0.85rem;
  }

  #sologem-outage-banner p {
    font-size: 0.86rem;
  }
}
