/* THE WHITE BUTTON: ultra-shiny sparkling chrome (owner 2026-11-19: "all of our white buttons need to appear metallic like
   ultra shiny sparkling chrome"). "Mercury & Starlight", variant 4 of four designed by AG and chosen by the owner.
   The one definition of the primary button in dark mode, loaded by every public and console page after their other
   stylesheets. Light mode keeps its dark-metal button (wevs-glass.css). Organisers' voter pages keep the organiser's own colour. */
body:not(.light-mode) .btn:not(.btn-ghost){
  position:relative; overflow:hidden; isolation:isolate; -webkit-mask-image:-webkit-radial-gradient(white, black);
  transition:transform .18s cubic-bezier(.2,.8,.2,1), box-shadow .22s ease, filter .22s ease;
  color:#09101d !important; text-shadow:0 1px 0 rgba(255,255,255,.92); border:1px solid #1d2026 !important;
  background:
    radial-gradient(120% 60% at 24% 8%, rgba(255,255,255,.78) 0%, transparent 55%),
    radial-gradient(90% 50% at 82% 92%, rgba(224,242,254,.62) 0%, transparent 60%),
    linear-gradient(180deg,#ffffff 0%,#dbe1eb 6%,#5c6678 13%,#7f8b9f 18%,#eef3f9 28%,#ffffff 42%,#f5f7fb 68%,#bcc5d3 88%,#99a3b4 96%,#f1f5f9 100%) !important;
  box-shadow:inset 0 2px 1px #ffffff, inset 1px 0 2px rgba(255,255,255,.75), inset -1px 0 2px rgba(255,255,255,.55),
    inset 0 -3px 3px rgba(29,32,38,.45), 0 1px 0 rgba(255,255,255,.32), 0 10px 28px rgba(0,0,0,.68), 0 0 20px rgba(226,232,240,.25) !important; }
body:not(.light-mode) .btn:not(.btn-ghost)::before{ content:""; position:absolute; inset:0; pointer-events:none;
  background:
    radial-gradient(circle at 14% 24%, #ffffff 0%, rgba(255,255,255,.9) 1.5px, rgba(186,230,253,.4) 4px, transparent 10px),
    radial-gradient(circle at 78% 18%, #ffffff 0%, rgba(255,255,255,.95) 2px, rgba(186,230,253,.45) 5px, transparent 12px),
    radial-gradient(circle at 88% 76%, #ffffff 0%, rgba(255,255,255,.85) 1.5px, transparent 9px),
    radial-gradient(circle at 34% 84%, #ffffff 0%, rgba(224,242,254,.7) 1.5px, transparent 8px);
  animation:wevs-dust 3.2s ease-in-out infinite; }
body:not(.light-mode) .btn:not(.btn-ghost)::after{ content:""; position:absolute; top:-45%; bottom:-45%; width:48%; left:-70%;
  transform:skewX(-22deg); pointer-events:none;
  background:linear-gradient(90deg,transparent 0%,rgba(255,255,255,.12) 25%,rgba(255,255,255,.96) 50%,rgba(255,255,255,.18) 75%,transparent 100%);
  animation:wevs-chrome-sweep 4.8s ease-in-out infinite; animation-delay:var(--glint-delay,0s); }
@media (hover:hover){ body:not(.light-mode) .btn:not(.btn-ghost):hover{ transform:translateY(-1.5px); filter:brightness(1.05);
  box-shadow:inset 0 2px 1.5px #ffffff, inset 0 -3px 3px rgba(29,32,38,.4), 0 14px 34px rgba(0,0,0,.75), 0 0 28px rgba(224,242,254,.48) !important; } }
body:not(.light-mode) .btn:not(.btn-ghost):disabled, body:not(.light-mode) .btn:not(.btn-ghost)[disabled]{ filter:grayscale(.4) brightness(.85); }
@keyframes wevs-chrome-sweep{ 0%,62%{ left:-70%; } 82%,100%{ left:135%; } }
@keyframes wevs-dust{ 0%,100%{ opacity:.45; filter:brightness(.95); } 50%{ opacity:1; filter:brightness(1.25); } }
@media (prefers-reduced-motion: reduce){
  body:not(.light-mode) .btn:not(.btn-ghost)::before, body:not(.light-mode) .btn:not(.btn-ghost)::after{ animation:none !important; }
  body:not(.light-mode) .btn:not(.btn-ghost)::after{ display:none; }
  body:not(.light-mode) .btn:not(.btn-ghost){ transition:none; } }

/* THE SECONDARY BUTTON: high-gloss solid deep navy like a cut blue diamond / sapphire.
   Partner to the "Mercury & Starlight" chrome primary (chosen-primary-wevs-chrome.css); stays darker and calmer. */
body:not(.light-mode) .btn.btn-ghost{
  position:relative; overflow:hidden; overflow:clip; isolation:isolate; -webkit-tap-highlight-color:transparent;
  transition:box-shadow .22s ease, filter .22s ease, border-color .22s ease;
  color:#ffffff !important; text-shadow:0 1px 2px rgba(2,6,23,.92), 0 0 10px rgba(2,6,23,.55);
  border:1px solid #2b5a9e !important;
  background:
    linear-gradient(180deg,rgba(224,242,254,.34) 0%,rgba(125,211,252,.16) 12%,rgba(56,189,248,.05) 25%,transparent 27%),
    linear-gradient(180deg,transparent 0%,transparent 17%,rgba(186,230,253,.11) 18.5%,transparent 20.5%,transparent 78%,rgba(56,189,248,.16) 80%,rgba(125,211,252,.08) 84%,transparent 86%),
    radial-gradient(ellipse 68% 58% at 50% 52%,rgba(5,17,48,.88) 0%,rgba(6,20,56,.74) 58%,transparent 100%),
    conic-gradient(from 0deg at 0% 50%,rgba(186,230,253,.28) 0deg,rgba(56,189,248,.18) 34deg,rgba(37,99,235,.26) 36deg,rgba(15,45,118,.14) 62deg,transparent 65deg,transparent 115deg,rgba(37,99,235,.22) 118deg,rgba(56,189,248,.32) 144deg,rgba(10,30,82,.42) 146deg,rgba(4,12,36,.35) 180deg,transparent 181deg),
    conic-gradient(from 0deg at 100% 50%,transparent 0deg,transparent 179deg,rgba(4,12,36,.35) 180deg,rgba(56,189,248,.30) 214deg,rgba(37,99,235,.22) 216deg,transparent 244deg,transparent 296deg,rgba(15,45,118,.16) 298deg,rgba(56,189,248,.20) 324deg,rgba(186,230,253,.28) 326deg,rgba(224,242,254,.24) 360deg),
    radial-gradient(56% 42% at 22% 96%,rgba(56,189,248,.42) 0%,rgba(29,78,216,.24) 48%,transparent 80%),
    radial-gradient(54% 42% at 78% 95%,rgba(125,211,252,.34) 0%,rgba(37,99,235,.24) 50%,transparent 82%),
    radial-gradient(48% 30% at 50% 0%,rgba(224,242,254,.26) 0%,rgba(56,189,248,.10) 55%,transparent 82%),
    linear-gradient(180deg,#0d2b6c 0%,#091f52 18%,#051336 48%,#071947 76%,#0b2664 90%,#040e29 100%) !important;
  box-shadow:
    inset 0 1.5px 0 rgba(224,242,254,.80),
    inset 0 3px 6px rgba(56,189,248,.26),
    inset 1px 0 1.5px rgba(125,211,252,.34),
    inset -1px 0 1.5px rgba(56,189,248,.26),
    inset 0 -1px 0 rgba(125,211,252,.30),
    inset 0 -4px 6px rgba(2,6,23,.88),
    0 1px 0 rgba(125,211,252,.14),
    0 10px 26px rgba(0,0,0,.72),
    0 0 18px rgba(56,189,248,.18) !important;
}
body:not(.light-mode) .btn.btn-ghost::before{
  content:""; position:absolute; inset:0; z-index:-1; border-radius:inherit; pointer-events:none; opacity:.78;
  background:
    radial-gradient(circle at 10% 20%,#ffffff 0%,rgba(186,230,253,.92) 1.2px,rgba(56,189,248,.42) 3.5px,transparent 8px),
    radial-gradient(circle at 88% 18%,#ffffff 0%,rgba(224,242,254,.95) 1.4px,rgba(56,189,248,.45) 4px,transparent 9px),
    radial-gradient(circle at 84% 84%,#e0f2fe 0%,rgba(125,211,252,.85) 1.2px,rgba(37,99,235,.35) 3.5px,transparent 8px),
    radial-gradient(circle at 16% 84%,#e0f2fe 0%,rgba(125,211,252,.78) 1.2px,rgba(56,189,248,.32) 3.5px,transparent 8px);
}
body:not(.light-mode) .btn.btn-ghost::after{
  content:""; position:absolute; top:-45%; bottom:-45%; left:0; width:44%; z-index:-1; pointer-events:none;
  background:linear-gradient(90deg,transparent 0%,rgba(56,189,248,.14) 24%,rgba(224,242,254,.70) 50%,rgba(56,189,248,.16) 76%,transparent 100%);
  -webkit-mask-image:linear-gradient(180deg,#000 0%,#000 22%,rgba(0,0,0,.14) 38%,rgba(0,0,0,.14) 62%,#000 78%,#000 100%);
  mask-image:linear-gradient(180deg,#000 0%,#000 22%,rgba(0,0,0,.14) 38%,rgba(0,0,0,.14) 62%,#000 78%,#000 100%);
  transform:translate3d(-160%,0,0) skewX(-22deg);
}
@media (hover:hover){
  body:not(.light-mode) .btn.btn-ghost:hover{
    border-color:#4a89d6 !important; filter:brightness(1.12) saturate(1.08);
    box-shadow:
      inset 0 1.5px 0 rgba(240,249,255,.92),
      inset 0 3px 8px rgba(56,189,248,.38),
      inset 1px 0 2px rgba(186,230,253,.45),
      inset -1px 0 2px rgba(125,211,252,.34),
      inset 0 -1px 0 rgba(125,211,252,.40),
      inset 0 -4px 6px rgba(2,6,23,.84),
      0 1px 0 rgba(186,230,253,.20),
      0 14px 32px rgba(0,0,0,.78),
      0 0 26px rgba(56,189,248,.34) !important;
  }
  body:not(.light-mode) .btn.btn-ghost:hover::before{ opacity:1; }
}
body:not(.light-mode) .btn.btn-ghost:active{
  filter:brightness(.98) saturate(1.1);
  box-shadow:
    inset 0 1.5px 0 rgba(186,230,253,.65),
    inset 0 2px 6px rgba(2,6,23,.55),
    inset 0 -2px 4px rgba(2,6,23,.90),
    0 4px 14px rgba(0,0,0,.76),
    0 0 12px rgba(56,189,248,.22) !important;
}
body:not(.light-mode) .btn.btn-ghost:focus-visible{
  outline:2px solid #7dd3fc; outline-offset:2px;
}
body:not(.light-mode) .btn.btn-ghost:disabled,
body:not(.light-mode) .btn.btn-ghost[disabled]{
  filter:grayscale(.45) brightness(.80); opacity:.72; transform:none;
}
body:not(.light-mode) .btn.btn-ghost:disabled::before,
body:not(.light-mode) .btn.btn-ghost[disabled]::before{
  animation:none !important; opacity:.35;
}
body:not(.light-mode) .btn.btn-ghost:disabled::after,
body:not(.light-mode) .btn.btn-ghost[disabled]::after{
  animation:none !important; display:none;
}
@keyframes wevs-sapphire-glint{
  0%,68%{ transform:translate3d(-160%,0,0) skewX(-22deg); }
  86%,100%{ transform:translate3d(340%,0,0) skewX(-22deg); }
}
@keyframes wevs-sapphire-fire{
  0%,100%{ opacity:.52; filter:brightness(.95); }
  50%{ opacity:.96; filter:brightness(1.22); }
}
@media (prefers-reduced-motion: no-preference){
  body:not(.light-mode) .btn.btn-ghost{
    transition:transform .18s cubic-bezier(.2,.8,.2,1), box-shadow .22s ease, filter .22s ease, border-color .22s ease;
  }
  body:not(.light-mode) .btn.btn-ghost::before{
    animation:wevs-sapphire-fire 5.4s ease-in-out infinite;
  }
  body:not(.light-mode) .btn.btn-ghost::after{
    animation:wevs-sapphire-glint 7.2s ease-in-out infinite; animation-delay:var(--glint-delay,1.8s);
  }
  body:not(.light-mode) .btn.btn-ghost:active{ transform:translateY(0) scale(.985); }
}
@media (prefers-reduced-motion: no-preference) and (hover:hover){
  body:not(.light-mode) .btn.btn-ghost:hover{ transform:translateY(-1.5px); }
}
@media (prefers-reduced-motion: reduce){
  body:not(.light-mode) .btn.btn-ghost::after{ display:none; }
}
