/* React Bits BorderGlow adapted to the site's existing semantic search labels. */
:is(.search,.more-game-search,.wizard-game-search,.picker-search,.country-search).border-glow-card {
  --edge-proximity:0;
  --cursor-angle:45deg;
  --edge-sensitivity:30;
  --color-sensitivity:calc(var(--edge-sensitivity) + 20);
  --border-radius:28px;
  --glow-padding:40px;
  --cone-spread:25;
  --fill-opacity:.5;
  --card-bg:#120F17;
  --glow-x:50%;
  --glow-y:50%;
  position:relative!important;
  border-radius:var(--border-radius)!important;
  isolation:isolate!important;
  transform:translate3d(0,0,.01px);
  border:1px solid rgb(255 255 255/15%)!important;
  background:var(--card-bg)!important;
  overflow:visible!important;
  box-shadow:rgba(0,0,0,.1) 0 1px 2px,rgba(0,0,0,.1) 0 2px 4px,rgba(0,0,0,.1) 0 4px 8px,rgba(0,0,0,.1) 0 8px 16px,rgba(0,0,0,.1) 0 16px 32px,rgba(0,0,0,.1) 0 32px 64px!important;
}
html body :is(.search,.more-game-search,.wizard-game-search,.picker-search,.country-search).border-glow-card.border-glow-field {
  --card-bg:#120F17!important;
  background:#120F17!important;
  background-color:#120F17!important;
  background-image:none!important;
}
:is(.search,.more-game-search,.wizard-game-search,.picker-search,.country-search).border-glow-card::before,
:is(.search,.more-game-search,.wizard-game-search,.picker-search,.country-search).border-glow-card::after {
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  pointer-events:none;
  transition:opacity .25s ease-out;
}
/* The prompt palette is clipped to a true one-pixel ring for 5:1 search fields.
   This preserves the moving white/gold peak and pink/blue tail without the
   center-origin wedge produced by the demo card's much taller geometry. */
html body :is(.search,.more-game-search,.wizard-game-search,.picker-search,.country-search).border-glow-card.border-glow-field::before {
  z-index:1!important;
  border:0!important;
  padding:1px!important;
  background:radial-gradient(128px circle at var(--glow-x) var(--glow-y),#fff 0%,#fffdf5 12%,hsl(40deg 96% 86%) 34%,#f472b6 62%,#38bdf8 82%,transparent 100%)!important;
  mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0)!important;
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0)!important;
  mask-composite:exclude!important;
  -webkit-mask-composite:xor!important;
  opacity:clamp(0,calc(((var(--edge-proximity) - var(--color-sensitivity))/(100 - var(--color-sensitivity)))*1.25),1)!important;
  filter:drop-shadow(0 0 3px rgb(255 253 245/.98)) drop-shadow(0 0 10px hsl(40deg 94% 84%/.78)) drop-shadow(0 0 24px hsl(40deg 90% 76%/.38))!important;
}
/* Retain the supplied soft-light mesh fill near the active edge. */
:is(.search,.more-game-search,.wizard-game-search,.picker-search,.country-search).border-glow-card::after {
  z-index:0;
  border:1px solid transparent!important;
  background:var(--gradient-one) padding-box,var(--gradient-two) padding-box,var(--gradient-three) padding-box,var(--gradient-four) padding-box,var(--gradient-five) padding-box,var(--gradient-six) padding-box,var(--gradient-seven) padding-box,var(--gradient-base) padding-box!important;
  mask-image:linear-gradient(to bottom,black,black),radial-gradient(ellipse at 50% 50%,black 40%,transparent 65%),radial-gradient(ellipse at 66% 66%,black 5%,transparent 40%),radial-gradient(ellipse at 33% 33%,black 5%,transparent 40%),radial-gradient(ellipse at 66% 33%,black 5%,transparent 40%),radial-gradient(ellipse at 33% 66%,black 5%,transparent 40%),conic-gradient(from var(--cursor-angle) at center,transparent 5%,black 15%,black 85%,transparent 95%)!important;
  mask-composite:subtract,add,add,add,add,add!important;
  opacity:calc(var(--fill-opacity)*(var(--edge-proximity) - var(--color-sensitivity))/(100 - var(--color-sensitivity)))!important;
  mix-blend-mode:soft-light!important;
}
:is(.search,.more-game-search,.wizard-game-search,.picker-search,.country-search).border-glow-card:not(:hover):not(:focus-within)::before,
:is(.search,.more-game-search,.wizard-game-search,.picker-search,.country-search).border-glow-card:not(:hover):not(:focus-within)::after {
  opacity:0!important;
  transition:opacity .75s ease-in-out;
}
/* The legacy sprite is removed; the ring's drop-shadows provide the outer halo. */
:is(.search,.more-game-search,.wizard-game-search,.picker-search,.country-search).border-glow-card>.edge-light {display:none!important}
:is(.search,.more-game-search,.wizard-game-search,.picker-search,.country-search).border-glow-card>input,
:is(.search,.more-game-search,.wizard-game-search,.picker-search,.country-search).border-glow-card>span:not(.edge-light) {position:relative;z-index:2}
:is(.search,.more-game-search,.wizard-game-search,.picker-search,.country-search).border-glow-card input {background:transparent!important;background-image:none!important;min-width:0}
@media(prefers-reduced-motion:reduce){
  :is(.search,.more-game-search,.wizard-game-search,.picker-search,.country-search).border-glow-card::before,
  :is(.search,.more-game-search,.wizard-game-search,.picker-search,.country-search).border-glow-card::after {transition:none}
}