html,
body {
  background: #000;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

#sunnah-loading {
  align-items: center;
  background: #000;
  color: #DCB532;
  display: flex;
  flex-direction: column;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  gap: 12px;
  inset: 0;
  justify-content: center;
  position: fixed;
  text-align: center;
  transition: opacity 180ms ease;
  z-index: 1;
}

#sunnah-loading .sunnah-loading-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.1;
  margin: 0;
}

#sunnah-loading p {
  color: rgba(220, 181, 50, 0.72);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.sunnah-loading-mark {
  align-items: center;
  border: 1px solid rgba(220, 181, 50, 0.38);
  border-radius: 999px;
  display: flex;
  height: 72px;
  justify-content: center;
  margin-bottom: 4px;
  width: 72px;
}

.sunnah-loading-mark::before {
  animation: sunnah-spin 900ms linear infinite;
  border: 3px solid rgba(220, 181, 50, 0.2);
  border-radius: 999px;
  border-top-color: #DCB532;
  content: "";
  height: 34px;
  width: 34px;
}

.flutter-loaded #sunnah-loading {
  opacity: 0;
  pointer-events: none;
}

#sunnah-consent-banner {
  align-items: center;
  background: rgba(5, 5, 5, 0.98);
  border: 1px solid rgba(220, 181, 50, 0.36);
  border-radius: 8px;
  bottom: 16px;
  box-shadow: 0 18px 64px rgba(0, 0, 0, 0.44);
  color: rgba(255, 255, 255, 0.88);
  display: flex;
  flex-wrap: wrap;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  gap: 12px;
  left: 16px;
  line-height: 1.45;
  max-width: 760px;
  padding: 14px;
  position: fixed;
  right: 16px;
  z-index: 999998;
}

#sunnah-consent-banner p {
  flex: 1 1 320px;
  font-size: 14px;
  margin: 0;
}

#sunnah-consent-banner a {
  color: #F0CF5A;
}

#sunnah-consent-banner button {
  border: 1px solid rgba(220, 181, 50, 0.48);
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  min-height: 44px;
  padding: 0 16px;
}

#sunnah-consent-accept {
  background: #DCB532;
  color: #000;
}

#sunnah-consent-reject {
  background: transparent;
  color: rgba(220, 181, 50, 0.92);
}

@keyframes sunnah-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  #sunnah-loading,
  .sunnah-loading-mark::before {
    animation: none;
    transition: none;
  }
}
