/* Blue accents only; scene geometry and particle rendering stay in style.css. */
:root {
  --accent-deep: #195977;
  --accent-mid: #237fa5;
  --accent-light: #78cedd;
  --accent-wash: #edf7fa;
}
.primary .profile-ripple {
  filter: drop-shadow(0 4px 8px rgba(22, 83, 115, .19));
}
.primary:hover .profile-ripple,
.primary:focus-visible .profile-ripple {
  filter: drop-shadow(0 7px 12px rgba(22, 83, 115, .28));
}
.profile-ripple path { stroke: rgba(234, 251, 255, .65); stroke-width: .65; }
.primary-label { text-shadow: 0 1px 2px rgba(10, 57, 83, .2); }
.primary-arrow { color: #d8f5fb; }
.header nav a { transition: color .3s ease; }
.header nav a:hover, .header nav [aria-current],
.heading > a, .detail, .date { color: var(--accent-deep); }
.header nav [aria-current]:after {
  background: linear-gradient(90deg, var(--accent-deep), var(--accent-light));
}
.heading > a { transition: color .3s ease; }
.heading > a:hover { color: var(--accent-mid); }
.heading > a span { color: var(--accent-mid); }
.detail:after {
  background: linear-gradient(90deg, var(--accent-deep), var(--accent-light) 65%, transparent);
}
.detail span {
  color: var(--accent-deep);
  border-color: rgba(66, 145, 171, .35);
  background: linear-gradient(145deg, #fff 5%, #eef8fb 60%, #d4ecf2);
  box-shadow: inset 0 1px 0 #fff, 0 2px 5px rgba(25, 89, 119, .07);
}
.card a:hover .detail span, .card a:focus-visible .detail span {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent-deep), var(--accent-mid) 65%, #5bb8cd);
}
.news-type {
  background: linear-gradient(120deg, #164f6e, #277f9f 58%, #60b6c9);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 2px 5px rgba(25,89,119,.12);
  border-radius: 2px;
}
.news a:hover { background: linear-gradient(100deg, #edf7fa, rgba(255,255,255,.5)); }
.slide-dot { border-color: #448da8; }
.slide-dot.is-active {
  background: linear-gradient(135deg, var(--accent-deep), #69c5d6);
  box-shadow: 0 0 5px rgba(72, 163, 191, .25);
}
.slide-dot.is-active:before, .slide-dot.is-active:after { border-color: #72b7cb; }
.pause-slider { color: var(--accent-deep); }
.play {
  background: linear-gradient(135deg, rgba(17,72,105,.94), rgba(45,140,169,.88));
  border-color: rgba(255,255,255,.9);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 5px 16px rgba(18,70,98,.22);
  transition: background .3s ease, box-shadow .3s ease;
}
.video:hover .play, .video:focus-visible .play {
  background: linear-gradient(135deg, #195977, #369fbb);
  box-shadow: 0 6px 22px rgba(18,70,98,.3);
}
.back-top { color: var(--accent-deep); border-color: rgba(167,211,225,.65); }
.back-top:hover { background: linear-gradient(145deg, #fff, #e9f6fa); }
@media(prefers-reduced-motion:reduce) {
  .header nav a, .heading > a, .play { transition:none; }
}

/* Static CSS rules avoid zero-height SVG gradient bounds and JS-only rendering. */
.heading .section-rule {
  position:relative; display:block; flex:1 1 0%; min-width:12px;
  height:2px; order:1; overflow:hidden; transform-origin:left center;
  background:linear-gradient(90deg,#195977 0%,#348fae 42%,#70b8ce 78%,#afd7e3 100%);
}
.heading .section-rule:after {
  content:''; position:absolute; inset:0 auto 0 0; width:30%;
  background:linear-gradient(90deg,transparent,#bd964b 35%,#f5d995 50%,#bd964b 65%,transparent);
  transform:translateX(-120%); opacity:0; pointer-events:none;
}
@media(prefers-reduced-motion:no-preference) {
  .heading.is-line-visible .section-rule { animation:section-rule-reveal 6s cubic-bezier(.45,0,.55,1) both; }
  .heading.is-line-visible .section-rule:after {
    opacity:1; animation:heading-gold 6s ease-in-out 6s infinite backwards;
  }
  @keyframes section-rule-reveal { from { transform:scaleX(.04); } to { transform:scaleX(1); } }
}
