/* Neon fuse on the store kit panes (cards and the featured pane).
   On hover or keyboard focus a lit spark runs once around the border in the kit's own colour (--tc),
   leaving a neon tube behind it that stays lit while the pane is active. Drawn with SVG inside a
   pointer-events:none layer, so it never blocks clicks and never changes the layout. */
.kfuse{position:absolute;inset:0;z-index:7;pointer-events:none;border-radius:inherit;opacity:0;transition:opacity .28s ease}
.kfuse svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible;display:block}
.kfuse rect{fill:none;vector-effect:non-scaling-stroke}
.kfuse .kf-cord{stroke:color-mix(in srgb,var(--tc) 38%,transparent);stroke-width:1.5;stroke-dasharray:2 5}
.kfuse .kf-halo{stroke:var(--tc);stroke-width:7;opacity:.55}
.kfuse .kf-tube{stroke:var(--tc);stroke-width:2.6}
.kfuse .kf-core{stroke:color-mix(in srgb,var(--tc) 30%,#fff);stroke-width:1.1}
.kfuse .kf-head{stroke:#fff;stroke-width:4;stroke-linecap:round}
.kfuse .kf-headglow{stroke:var(--tc);stroke-width:12;stroke-linecap:round;opacity:.9}
.kfuse .kf-lit{transition:opacity .25s}
.kfuse.burnt .kf-lit{animation:kfNeon 3.6s linear infinite}
.kfuse.flash .kf-lit{animation:kfFlash .5s ease-out}
.kfuse.burnt .kf-cord,.kfuse.static .kf-cord{opacity:0;transition:opacity .4s}
.kf-spark{position:absolute;left:0;top:0;width:3px;height:3px;margin:-1.5px 0 0 -1.5px;border-radius:50%;background:#fff;box-shadow:0 0 6px 2px var(--tc),0 0 2px #fff;pointer-events:none;will-change:transform,opacity}
@keyframes kfNeon{0%,100%{opacity:1}6%{opacity:.82}7%{opacity:1}47%{opacity:.94}48%{opacity:.7}49%{opacity:1}72%{opacity:.96}}
@keyframes kfFlash{0%{opacity:1;filter:brightness(2.2)}100%{opacity:1;filter:none}}
/* lit pane: the neon ring, plus a soft bleed of the kit's colour spilling out round the pane and pooling
   underneath it, and a tiny extra lift (2px above the normal hover) as it lights */
.card.k-lit,.feature.k-lit{box-shadow:0 24px 50px -24px rgba(0,0,0,.9),0 0 46px -14px var(--tc),0 0 0 1px color-mix(in srgb,var(--tc) 60%,transparent),0 0 90px -24px color-mix(in srgb,var(--tc) 45%,transparent),0 34px 80px -44px color-mix(in srgb,var(--tc) 70%,transparent)}
.feature{transition:transform .5s var(--ease),box-shadow .5s}
.card.k-lit{transform:translateY(-8px)}
.feature.k-lit{transform:translateY(-2px)}
.kfuse.on{opacity:1}
/* card hover glow and border colour step aside while the neon tube is lit */
.card.k-lit{border-color:transparent}
.feature{position:relative}
.sound-tg{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 14px;border:1px solid var(--line2,rgba(255,255,255,.14));border-radius:999px;background:transparent;color:var(--muted,#9aa);font:600 12px/1 var(--f-cond,inherit);letter-spacing:.12em;text-transform:uppercase;cursor:pointer;transition:color .25s,border-color .25s}
.sound-tg:hover,.sound-tg:focus-visible{color:var(--text,#fff);border-color:var(--teal,#e0782f)}
.sound-tg svg{width:16px;height:16px;flex:none}
.sound-tg .s-off{display:none}
.sound-tg[aria-pressed="false"] .s-on{display:none}
.sound-tg[aria-pressed="false"] .s-off{display:inline}
.toolbar .sound-tg{margin-left:auto}
/* ultra-premium glass: when a kit lights, its pane turns to lit glass (edge light along the top and sides,
   a glow pooling at the bottom in the kit's colour, a cool sheen in the corner) and a specular streak
   sweeps across it in time with the crystal clink */
.kf-glass{position:absolute;inset:0;border-radius:inherit;overflow:hidden;opacity:0;transition:opacity .45s ease;
  background:linear-gradient(158deg,rgba(255,255,255,.12) 0%,rgba(255,255,255,.035) 22%,rgba(255,255,255,0) 42%),radial-gradient(90% 55% at 50% 0%,color-mix(in srgb,var(--tc) 11%,transparent),transparent 70%),linear-gradient(0deg,color-mix(in srgb,var(--tc) 10%,transparent),transparent 26%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.34),inset 0 0 0 1px rgba(255,255,255,.07),inset 1px 0 0 rgba(255,255,255,.08),inset -1px 0 0 rgba(255,255,255,.05),inset 0 -26px 44px -34px color-mix(in srgb,var(--tc) 70%,transparent)}
.kf-glass::after{content:"";position:absolute;top:-20%;bottom:-20%;left:0;width:38%;background:linear-gradient(100deg,transparent 0%,rgba(255,255,255,0) 30%,rgba(255,255,255,.16) 46%,rgba(255,255,255,.42) 50%,rgba(255,255,255,.16) 54%,transparent 70%);transform:translateX(-140%) skewX(-14deg);opacity:0}
.kfuse.on .kf-glass{opacity:1}
.kfuse.on:not(.static) .kf-glass::after{animation:kfSheen 1.2s .05s cubic-bezier(.22,.7,.2,1) both}
@keyframes kfSheen{0%{transform:translateX(-140%) skewX(-14deg);opacity:0}12%{opacity:1}100%{transform:translateX(330%) skewX(-14deg);opacity:0}}
/* the glass surfaces round the kits: sound toggle, the hover pill on the art, and the sticky toolbar */
.sound-tg{background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.015));box-shadow:inset 0 1px 0 rgba(255,255,255,.12),inset 0 -1px 0 rgba(0,0,0,.35);transition:color .25s,border-color .25s,box-shadow .25s}
.sound-tg[aria-pressed="true"]{box-shadow:inset 0 1px 0 rgba(255,255,255,.16),inset 0 -1px 0 rgba(0,0,0,.35),0 0 16px -6px color-mix(in srgb,var(--teal,#e0782f) 70%,transparent)}
.c-art .breach{background:linear-gradient(180deg,rgba(255,255,255,.12),rgba(255,255,255,.02)),rgba(7,9,11,.62);backdrop-filter:blur(10px) saturate(1.5);-webkit-backdrop-filter:blur(10px) saturate(1.5);box-shadow:inset 0 1px 0 rgba(255,255,255,.28),0 8px 22px -10px rgba(0,0,0,.9),0 0 16px -6px var(--tc)}
@media (min-width:761px) and (hover:hover){
  .toolbar{background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,0) 46%),linear-gradient(180deg,rgba(14,20,24,.76),rgba(8,11,14,.86));backdrop-filter:blur(14px) saturate(1.6);-webkit-backdrop-filter:blur(14px) saturate(1.6);box-shadow:inset 0 1px 0 rgba(255,255,255,.1),inset 0 0 0 1px rgba(255,255,255,.025),inset 0 -1px 0 rgba(0,0,0,.4),0 18px 40px -28px rgba(0,0,0,.95)}
}
@media (forced-colors:active){.kf-glass{display:none}}
@media (prefers-reduced-motion:reduce){
  .kf-glass,.feature{transition:none}
  .kf-glass::after{display:none}
  .kfuse{transition:none}
  .kfuse .kf-head,.kfuse .kf-headglow{display:none}
  .kfuse.burnt .kf-lit,.kfuse.flash .kf-lit{animation:none}
  .kf-spark{display:none}
}