/* App Election Day strip. Same paint as www .dd-banner (www/css/decision-desk.css):
   solid #0d1f0e bar, #e7ffe4 text, #c8ffb0 link, white Dismiss.
   These colors are set on the strip itself. Page looks and light/dark do not
   restyle them. Like www, the strip sits in normal flow just below
   .site-header. The header already pads the top safe area, so the strip
   pads only the sides and the header keeps its normal height. */
.app-eday-banner {
  position: relative;
  z-index: 980;
  box-sizing: border-box;
  background: #0d1f0e !important;
  color: #e7ffe4 !important;
  border-bottom: 2px solid #39ff14;
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
  font-family: "Onest", "Inter", system-ui, sans-serif;
}

.app-eday-banner__inner {
  box-sizing: border-box;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.45rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.app-eday-banner a,
.app-eday-banner a:hover,
.app-eday-banner a:focus,
.app-eday-banner a:visited {
  flex: 1 1 auto;
  min-width: 0;
  background: transparent !important;
  color: #c8ffb0 !important;
  font-family: "Onest", "Inter", system-ui, sans-serif !important;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.35;
  text-decoration: underline !important;
  text-underline-offset: 0.15em;
  text-decoration-color: #c8ffb0 !important;
}

.app-eday-banner button,
.app-eday-banner button:hover,
.app-eday-banner button:focus {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: transparent !important;
  color: #ffffff !important;
  font: 700 0.78rem/1 "Onest", "Inter", system-ui, sans-serif !important;
  cursor: pointer;
}

.app-eday-banner a:focus-visible,
.app-eday-banner button:focus-visible {
  outline: 3px solid #39ff14;
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .app-eday-banner__inner {
    align-items: flex-start;
  }

  .app-eday-banner a {
    padding-top: 0.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .app-eday-banner,
  .app-eday-banner a,
  .app-eday-banner button {
    transition: none;
    animation: none;
  }
}
