/* The daily-prize artwork sits on its own stage; the prize details remain live HTML. */
.rule-panel-art.art-daily {
  isolation: isolate;
  background:
    radial-gradient(ellipse at 52% 72%, #3a96c5 0%, #1c68a2 37%, transparent 68%),
    linear-gradient(140deg, #0b3569 0%, #145893 54%, #082f66 100%);
}

.rule-panel-art.art-daily::before {
  z-index: 0;
  inset: 12% 9% 4%;
  background: radial-gradient(ellipse at center, #a6dfff49 0%, #5cbafa1e 37%, transparent 68%);
  pointer-events: none;
}

.rule-panel-art.art-daily::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: 10%;
  right: 10%;
  bottom: 10%;
  height: 33%;
  border-radius: 50%;
  background: radial-gradient(ellipse, #061e4b80, transparent 70%);
  filter: blur(12px);
  pointer-events: none;
}

.rule-panel-art.art-daily img {
  z-index: 1;
  right: 4%;
  bottom: 10px;
  width: 92%;
  max-height: calc(100% - 86px);
  transform-origin: 50% 67%;
  filter: drop-shadow(0 26px 28px #031f4c5c);
}

.rule-panel-art.art-daily .art-line {
  z-index: 0;
  left: 50%;
  bottom: -49%;
  width: 90%;
  height: auto;
  aspect-ratio: 1;
  border: 1px solid #b7e8ff58;
  border-top-color: #f4d993b3;
  box-shadow: 0 0 24px #a9dcff1c, inset 0 0 20px #73d4ff15;
  transform: translateX(-50%) rotate(-20deg);
  pointer-events: none;
}

.mobile-rule-list details:first-child .mobile-rule-body img {
  height: 188px;
  background: radial-gradient(ellipse at 50% 75%, #3b98c5, #175992 68%, #0a356c);
}

.rule-panel-copy .rule-note-link,
.mobile-rule-note a,
.faq-list a {
  color: #0b66ad;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rule-panel-copy .rule-note-link:hover,
.mobile-rule-note a:hover,
.faq-list a:hover {
  color: #084b81;
}

.rule-panel-copy .rule-note-link:focus-visible,
.mobile-rule-note a:focus-visible,
.faq-list a:focus-visible {
  outline: 3px solid #d6ae5b;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: no-preference) {
  .rule-panel:not([hidden]) .art-daily img {
    animation: rule-daily-float 6.8s ease-in-out infinite;
  }

  .rule-panel:not([hidden]) .art-daily::before {
    animation: rule-daily-glow 5.2s ease-in-out infinite;
  }

  .rule-panel:not([hidden]) .art-daily .art-line {
    animation: rule-daily-orbit 18s linear infinite;
  }

  @keyframes rule-daily-float {
    0%, 100% { translate: 0 0; rotate: 0deg; }
    50% { translate: 0 -8px; rotate: -0.7deg; }
  }

  @keyframes rule-daily-glow {
    0%, 100% { opacity: .55; scale: .96; }
    50% { opacity: 1; scale: 1.04; }
  }

  @keyframes rule-daily-orbit {
    from { transform: translateX(-50%) rotate(-20deg); }
    to { transform: translateX(-50%) rotate(340deg); }
  }
}
