/* 2025 Cup: original silver artwork is the visual heading. */
#competition > .cup-heading-v162 {
  position:relative;
  isolation:isolate;
  display:grid;
  justify-items:center;
  text-align:center;
  gap:clamp(4px,1vw,10px);
  margin:0 0 clamp(24px,4vw,52px);
  max-width:none;
  padding:clamp(14px,2.5vw,32px) 0 clamp(10px,2vw,24px);
}
#competition > .cup-heading-v162::before {
  content:"";
  position:absolute;
  z-index:-1;
  inset:-8% 0 -8%;
  pointer-events:none;
  background:radial-gradient(ellipse 48% 72% at 54% 54%, #36506a33 0%, #2433471c 56%, transparent 100%);
}
#competition > .cup-heading-v162 > .small-label {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:clamp(10px,2vw,25px);
  color:#d1b789;
  margin:0;
  letter-spacing:.12em;
}
#competition > .cup-heading-v162 > .small-label::before,
#competition > .cup-heading-v162 > .small-label::after {
  content:"";
  height:1px;
  width:clamp(16px,5vw,66px);
  background:linear-gradient(90deg,transparent,#c8aa727d);
}
#competition > .cup-heading-v162 > .small-label::after { transform:scaleX(-1); }
#competition > .cup-heading-v162 > h2 { margin:0; width:min(100%,420px); }
#competition .cup-mark-v161 { display:block; width:100%; height:auto; }
@media(max-width:650px) {
 #competition > .cup-heading-v162 > h2 { width:min(100%,clamp(222px,72vw,300px)); }
 #competition > .cup-heading-v162::before { background:radial-gradient(ellipse 65% 68% at 54% 54%,#36506a32,transparent); }
}

/* Continuous silver pass. Both ends are beyond the art before the phase resets. */
.cup-metal-v163 { position:relative; display:block; }
@media(prefers-reduced-motion:no-preference) {
  @supports ((mask-image:url("assets/2025-official/world-excellence-cup-2025.png")) or (-webkit-mask-image:url("assets/2025-official/world-excellence-cup-2025.png"))) {
    body.motion-on:not(.motion-paused) .cup-metal-v163::after {
      content:"";
      position:absolute;
      inset:0;
      pointer-events:none;
      -webkit-mask:url("assets/2025-official/world-excellence-cup-2025.png") center / 100% 100% no-repeat;
      mask:url("assets/2025-official/world-excellence-cup-2025.png") center / 100% 100% no-repeat;
      background-image:linear-gradient(106deg,transparent 38%,#c0def919 43.5%,#d3eaff68 47%,#e7f3ffb2 49%,#f9fcfff0 50.2%,#f4faffcf 51%,#d9ebff78 53%,#b8d7f326 56.5%,transparent 62%);
      background-size:300% 100%;
      background-repeat:no-repeat;
      animation:cup-silver-passage-v164 2.25s linear infinite;
    }
    @keyframes cup-silver-passage-v164 {
      from { background-position:0% 0; }
      to { background-position:100% 0; }
    }
  }
}
