

.theme-fusion {
  --bg:          #080B1C;
  --bg-card:     #10163A;
  --bg-card-h:   #182048;
  --bg-rgb:      8, 11, 28;
  --nav-rgb:     8, 11, 28;
  --nav-rgb-2:   5, 7, 18;
  --accent-rgb:  64, 116, 255;
  --accent:      #4074FF;
  --accent-l:    #7DA8FF;
  --accent-2-rgb: 201, 92, 255;
  --accent-2:    #C95CFF;
  --accent-2-l:  #D485FF;
  --turquoise:   #AAC4FF;
  --framboise:   #B82EFF;
  --framboise-t: #C95CFF;
  --corail:      #FF32EC;
  --fusion:      linear-gradient(135deg, #B82EFF 0%, #FF32EC 100%);
  --fusion-texte: linear-gradient(#FFFFFF, #FFFFFF);
  --text:        #FFFFFF;
  --text-muted:  #C4C9DE;
  --on-fusion:   #080B1C;
  --border:      rgba(125, 168, 255, .12);
  --border-2:    rgba(255, 255, 255, .06);
  --accent-glow: rgba(184, 46, 255, .28);
  --accent-2-glow: rgba(201, 92, 255, .14);

  --glass:       rgba(16, 21, 48, .62);
  --glass-h:     rgba(24, 31, 66, .72);
  --glass-line:  rgba(125, 168, 255, .16);
  --glass-flou:  blur(14px) saturate(1.25);

  --fx-maille:
    radial-gradient(ellipse 58% 52% at 6% 4%, rgba(64, 116, 255, .74), transparent 70%),
    radial-gradient(ellipse 52% 46% at 98% 24%, rgba(184, 46, 255, .62), transparent 70%),
    radial-gradient(ellipse 58% 46% at 12% 106%, rgba(255, 50, 236, .55), transparent 70%),
    radial-gradient(ellipse 50% 42% at 90% 104%, rgba(64, 116, 255, .38), transparent 70%),
    radial-gradient(ellipse 30% 22% at 58% -6%, rgba(255, 255, 255, .2), transparent 72%),
    linear-gradient(155deg, #101B50 0%, #080B1C 48%, #110A2C 100%);

  --fx-effets:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .05) 1px, transparent 1.4px) 0 0 / 5px 5px,
    linear-gradient(115deg, transparent 28%, rgba(255, 255, 255, .045) 40%, transparent 41.5%, transparent 58%, rgba(255, 255, 255, .03) 66%, transparent 67%);

  --techna-node:   64, 116, 255;
  --techna-node-2: 201, 92, 255;
  --techna-node-3: 255, 50, 236;
  --techna-trail:  170, 196, 255;
  --techna-head:   255, 255, 255;

  --bg-2:        #0B0F26;
  --panel:       var(--glass);
  --panel-solid: #10163A;
  --line:        rgba(125, 168, 255, .13);
  --line-2:      rgba(255, 255, 255, .06);
  --muted:       #C4C9DE;
  --accent-l-rgb: 125, 168, 255;

  --fx-spectre:  linear-gradient(90deg, #7DA8FF, #AAC4FF 30%, #C95CFF 70%, #FF32EC);
  --fx-titre:    linear-gradient(#FFFFFF, #FFFFFF);
  --fx-trait:    linear-gradient(90deg, transparent, rgba(125, 168, 255, .9) 22%, rgba(201, 92, 255, .9) 70%, rgba(255, 50, 236, .8) 88%, transparent);
  --fx-reflet:   linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, .09) 49%, rgba(255, 255, 255, .14) 50%, rgba(255, 255, 255, .09) 51%, transparent 58%);
  --fx-bord:     linear-gradient(90deg, rgba(125, 168, 255, .55), rgba(170, 196, 255, .35), rgba(201, 92, 255, .55), rgba(255, 50, 236, .45), rgba(125, 168, 255, .55));

  --fx-r-s:      8px;
  --fx-r-m:      14px;
  --fx-r-l:      20px;
  --fx-r-pill:   999px;

  --fx-ombre:    0 1px 0 rgba(255, 255, 255, .04) inset, 0 10px 30px -18px rgba(0, 0, 0, .8);
  --fx-ombre-h:  0 1px 0 rgba(255, 255, 255, .07) inset, 0 0 0 1px rgba(125, 168, 255, .22), 0 22px 44px -22px rgba(0, 0, 0, .9), 0 0 32px -8px rgba(64, 116, 255, .35), 0 16px 40px -24px rgba(184, 46, 255, .55);
  --fx-lueur-f:  0 0 0 1px rgba(255, 255, 255, .18) inset, 0 10px 30px -8px rgba(184, 46, 255, .55), 0 4px 18px -6px rgba(255, 50, 236, .45);
  --fx-lueur-c:  0 0 0 1px rgba(125, 168, 255, .45), 0 0 24px -4px rgba(125, 168, 255, .45);
  --fx-anneau:   0 0 0 2px #080B1C, 0 0 0 4px #7DA8FF;

  --fx-verre:    rgba(14, 19, 44, .7);
  --fx-verre-h:  rgba(22, 29, 64, .8);
  --fx-verre-2:  rgba(6, 8, 22, .5);
  --fx-ligne:    rgba(125, 168, 255, .15);
  --fx-ligne-h:  rgba(125, 168, 255, .5);

  --fx-e1: .25rem; --fx-e2: .5rem; --fx-e3: .75rem; --fx-e4: 1rem; --fx-e5: 1.5rem; --fx-e6: 2.25rem; --fx-e7: 3.5rem;

  --fx-ease:     cubic-bezier(.22, .8, .24, 1);
  --fx-ressort:  cubic-bezier(.34, 1.4, .5, 1);
  --fx-d1:       .16s;
  --fx-d2:       .3s;
  --fx-d3:       .6s;

  --fx-voile:    .5;
  color-scheme: dark;
}
@media (max-width: 768px) {
  .theme-fusion {
    --glass-flou: blur(8px) saturate(1.2);
  }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .theme-fusion { --glass: #10163A; --glass-h: #182048; }
}

.theme-fusion body.page,
.theme-fusion .admin-layout { --bg-card: var(--fx-verre); --bg-card-h: var(--fx-verre-h); }

.theme-fusion :where(body.page, body.admin) ::placeholder{ color: var(--text-muted); opacity: 1; }
.theme-fusion :where(body.page, body.admin) ::selection{ background: rgba(184, 46, 255, .35); color: #fff; }
.theme-fusion :where(body.page, body.admin) option, .theme-fusion :where(body.page, body.admin) optgroup{ background-color: #10163A; color: var(--text); }
.theme-fusion body:is(.page, .admin){ scrollbar-color: rgba(125, 168, 255, .35) #080B1C; }
.theme-fusion :where(body.page, body.admin) :focus-visible{ outline: 2px solid var(--accent-l); outline-offset: 3px; }
.theme-fusion :where(body.page, body.admin) a:focus-visible{ border-radius: 4px; }
.theme-fusion :where(body.page, body.admin) a:hover{ color: #B9D0FF; }

.theme-fusion body:has(> .hero){ --fx-voile: .12; }
.theme-fusion body:has(.page-header),
.theme-fusion body:has(.nf){ --fx-voile: .42; }
.theme-fusion body.admin{ --fx-voile: .62; }

.theme-fusion body::before{
  background:
    var(--fx-effets),
    radial-gradient(ellipse 60% 45% at 50% -6%, rgba(64, 116, 255, .2), transparent 72%),
    radial-gradient(ellipse 38% 26% at 18% 106%, rgba(184, 46, 255, .2), transparent 72%),
    radial-gradient(ellipse 38% 26% at 82% 106%, rgba(255, 50, 236, .16), transparent 72%),
    radial-gradient(ellipse 75% 85% at 50% 50%, rgba(8, 11, 28, calc(var(--fx-voile) + .08)) 30%, rgba(8, 11, 28, calc(var(--fx-voile) - .14)) 100%),
    var(--fx-maille),
    #080B1C;
}

.theme-fusion body.page:not(:has(> .hero))::after{
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 560px; z-index: -1; pointer-events: none;
  background:
    linear-gradient(var(--accent-l), var(--accent-l)) 24px calc(var(--nav-h) + 22px) / 38px 1px,
    linear-gradient(var(--accent-l), var(--accent-l)) 24px calc(var(--nav-h) + 22px) / 1px 38px,
    linear-gradient(var(--corail), var(--corail)) calc(100% - 24px) calc(var(--nav-h) + 22px) / 38px 1px,
    linear-gradient(var(--corail), var(--corail)) calc(100% - 24px) calc(var(--nav-h) + 22px) / 1px 38px,
    radial-gradient(ellipse 46% 60% at 50% 0%, rgba(125, 168, 255, .2), transparent 70%),
    radial-gradient(ellipse 26% 34% at 22% 92%, rgba(184, 46, 255, .13), transparent 72%),
    radial-gradient(ellipse 26% 34% at 78% 92%, rgba(255, 50, 236, .11), transparent 72%),
    linear-gradient(rgba(var(--accent-rgb), .05) 1px, transparent 1px) 0 0 / 55px 55px,
    linear-gradient(90deg, rgba(var(--accent-rgb), .05) 1px, transparent 1px) 0 0 / 55px 55px;
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, repeat, repeat;
  -webkit-mask-image: linear-gradient(#000 35%, transparent);
  mask-image: linear-gradient(#000 35%, transparent);
}
@media (max-width: 640px) { .theme-fusion body.page:not(:has(> .hero))::after{ height: 400px; background-size: 0 0, 0 0, 0 0, 0 0, auto, auto, auto, 44px 44px, 44px 44px; } }

html.theme-fusion:has(> body.page):not(:has(> body > .hero))::after{
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 520px; z-index: -1; pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(125, 168, 255, 0) 0 5px, rgba(125, 168, 255, .2) 5px 6px, rgba(125, 168, 255, 0) 6px 11px),
    repeating-linear-gradient(90deg, rgba(170, 196, 255, 0) 0 13px, rgba(170, 196, 255, .14) 13px 14px, rgba(170, 196, 255, 0) 14px 19px);
  -webkit-mask-image: radial-gradient(ellipse 34% 90% at 50% 0%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 34% 90% at 50% 0%, #000 10%, transparent 75%);
}

.theme-fusion body.page h1:not(.lore-title):not(.nf-title),
.theme-fusion :where(body.page, body.admin) .section-title span,
.theme-fusion :where(body.page, body.admin) .wiki-title,
.theme-fusion :where(body.page, body.admin) .featured-title,
.theme-fusion :where(body.page, body.admin) .dl-version{
  background: var(--fx-titre); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 18px rgba(184, 46, 255, .35)) drop-shadow(0 0 30px rgba(64, 116, 255, .3));
}
.theme-fusion body.page h1:not(.lore-title):not(.nf-title){ width: fit-content; max-width: 100%; }
.theme-fusion :where(body.page, body.admin) .wiki-title{ margin-inline: auto; }
html.theme-fusion[data-shiny="shiny"] .poke-name,
html.theme-fusion[data-shiny="chroma"] .poke-name{ background: none; color: var(--text); filter: none; }
html.theme-fusion[data-shiny="shiny"] .poke-name{ color: rgb(70, 160, 218); }
.theme-fusion :where(body.page, body.admin) .wiki-title{ background-image: var(--fusion-texte); }
.theme-fusion :where(body.page, body.admin) .lore-title,
.theme-fusion :where(body.page, body.admin) .nf-title{ color: var(--text); }
.theme-fusion body.page h2{ color: var(--text); }

.theme-fusion :where(body.page, body.admin) :is(.kicker, .kick, .wiki-card-label, .featured-label, .feature-num, .lore-label, .section-sep-label, .nf-kicker, .wiki-cat-label){ color: var(--accent-l); }
.theme-fusion :where(body.page, body.admin) :is(.wiki-card-label, .kicker, .kick, .section-sep-label){ display: flex; align-items: center; gap: .55rem; }
.theme-fusion :where(body.page, body.admin) :is(.wiki-card-label, .kicker, .kick, .section-sep-label)::before{
  content: ''; width: 6px; height: 6px; flex-shrink: 0; transform: rotate(45deg);
  background: linear-gradient(135deg, var(--accent-l), var(--framboise)); box-shadow: 0 0 8px rgba(125, 168, 255, .6);
}
.theme-fusion :where(body.page, body.admin) .section-sep-line,
.theme-fusion :where(body.page, body.admin) .wiki-group-head{ border-bottom: 0; }
.theme-fusion :where(body.page, body.admin) .section-sep-line{ height: 1px; background: linear-gradient(90deg, rgba(125, 168, 255, .55), rgba(201, 92, 255, .35) 45%, transparent); }
.theme-fusion :where(body.page, body.admin) .lore-label{ color: var(--accent-2); }
.theme-fusion :where(body.page, body.admin) .section-sep-label{ font-size: .78rem; letter-spacing: .24em; color: var(--text); text-shadow: 0 0 16px rgba(125, 168, 255, .45); }

.theme-fusion :where(body.page, body.admin) .nav{
  background: linear-gradient(180deg, rgba(8, 11, 28, .82), rgba(8, 11, 28, .62));
  backdrop-filter: var(--glass-flou); -webkit-backdrop-filter: var(--glass-flou);
  border-bottom: 0;
  box-shadow: 0 10px 30px -20px rgba(0, 0, 0, .9);
}
.theme-fusion :where(body.page, body.admin) .nav::after{
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(125, 168, 255, .45) 25%, rgba(201, 92, 255, .4) 70%, transparent);
}
.theme-fusion :where(body.page, body.admin) .nav-brand{ transition: letter-spacing var(--fx-d2) var(--fx-ease), text-shadow var(--fx-d2); }
.theme-fusion :where(body.page, body.admin) .nav-brand span{ color: #fff; }
.theme-fusion :where(body.page, body.admin) .nav-home{ color: #fff; filter: drop-shadow(0 0 8px rgba(184, 46, 255, .55)); }
.theme-fusion :where(body.page, body.admin) .nav-brand:hover{ text-decoration: none; text-shadow: 0 0 18px rgba(125, 168, 255, .45); }
.theme-fusion :where(body.page, body.admin) .nav-links a{
  position: relative; color: var(--text-muted); background: none; border-radius: var(--fx-r-s);
  transition: color var(--fx-d1), background-color var(--fx-d1);
}
.theme-fusion :where(body.page, body.admin) .nav-links a::after{
  content: ''; position: absolute; left: .9rem; right: .9rem; bottom: .1rem; height: 2px; border-radius: 2px;
  background: var(--fx-spectre); transform: scaleX(0); transform-origin: 50% 50%; opacity: .9;
  transition: transform var(--fx-d2) var(--fx-ease);
}
.theme-fusion :where(body.page, body.admin) .nav-links a:hover{ color: var(--text); background: rgba(125, 168, 255, .06); }
.theme-fusion :where(body.page, body.admin) .nav-links a:hover::after{ transform: scaleX(.55); }
.theme-fusion :where(body.page, body.admin) .nav-links a.active{ color: var(--text); background: none; text-shadow: 0 0 14px rgba(125, 168, 255, .4); }
.theme-fusion :where(body.page, body.admin) .nav-links a.active::after{ transform: scaleX(1); box-shadow: 0 0 10px rgba(125, 168, 255, .55); }
.theme-fusion :where(body.page, body.admin) .nav-search,
.theme-fusion :where(body.page, body.admin) .lang-switch{
  background: rgba(16, 21, 48, .55); border-color: rgba(125, 168, 255, .2); border-radius: 10px;
  transition: border-color var(--fx-d1), box-shadow var(--fx-d2), color var(--fx-d1);
}
.theme-fusion :where(body.page, body.admin) .nav-search:hover,
.theme-fusion :where(body.page, body.admin) .nav-search:focus-visible{ border-color: var(--accent-l); box-shadow: var(--fx-lueur-c); color: var(--text); }
.theme-fusion :where(body.page, body.admin) .nav-search kbd{ border-color: rgba(125, 168, 255, .25); background: rgba(125, 168, 255, .08); color: var(--accent-l); }
.theme-fusion :where(body.page, body.admin) .lang-switch a.active{ background: linear-gradient(135deg, rgba(125, 168, 255, .22), rgba(201, 92, 255, .18)); color: var(--text); }
.theme-fusion :where(body.page, body.admin) .lang-switch a:hover{ background: rgba(125, 168, 255, .1); }

.theme-fusion :where(body.page, body.admin) .oss-back{ background: rgba(5, 7, 18, .66); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.theme-fusion :where(body.page, body.admin) .oss-box{
  background: linear-gradient(180deg, rgba(22, 29, 64, .92), rgba(10, 13, 34, .94)); border-color: rgba(125, 168, 255, .3); border-radius: var(--fx-r-l);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 255, 255, .04) inset, 0 0 60px -10px rgba(64, 116, 255, .35), 0 30px 80px -40px rgba(184, 46, 255, .5);
  backdrop-filter: var(--glass-flou); -webkit-backdrop-filter: var(--glass-flou);
}
.theme-fusion :where(body.page, body.admin) .oss-top{ color: var(--accent-l); border-bottom-color: rgba(125, 168, 255, .16); }
.theme-fusion :where(body.page, body.admin) .oss-item{ transition: background-color var(--fx-d1), border-color var(--fx-d1); }
.theme-fusion :where(body.page, body.admin) .oss-item.sel{ background: linear-gradient(90deg, rgba(125, 168, 255, .14), rgba(201, 92, 255, .08)); border-color: rgba(125, 168, 255, .35); box-shadow: inset 2px 0 0 var(--accent-l); }
.theme-fusion :where(body.page, body.admin) .oss-chips button.on{ background: linear-gradient(135deg, rgba(125, 168, 255, .2), rgba(201, 92, 255, .16)); border-color: rgba(125, 168, 255, .5); color: var(--text); }
.theme-fusion :where(body.page, body.admin) .oss-h{ color: var(--accent-l); }

@media (max-width: 640px) {
  .theme-fusion :where(body.page, body.admin) .nav-links{ -webkit-mask-image: linear-gradient(90deg, transparent, #000 8px, #000 calc(100% - 10px), transparent); mask-image: linear-gradient(90deg, transparent, #000 8px, #000 calc(100% - 10px), transparent); }
  .theme-fusion :where(body.page, body.admin) .nav-links a::after{ left: .45rem; right: .45rem; bottom: .05rem; }
}

.theme-fusion :where(body.page, body.admin) .btn{
  position: relative; overflow: hidden; isolation: isolate; border-radius: 10px;
  transition: transform var(--fx-d2) var(--fx-ease), box-shadow var(--fx-d2) var(--fx-ease), filter var(--fx-d1), color var(--fx-d1), border-color var(--fx-d1);
}
.theme-fusion :where(body.page, body.admin) .btn:hover{ text-decoration: none; transform: translateY(-2px); }
.theme-fusion :where(body.page, body.admin) .btn:active{ transform: translateY(0) scale(.97); transition-duration: .08s; }
.theme-fusion :where(body.page, body.admin) .btn:focus-visible{ outline: 0; box-shadow: var(--fx-anneau); }

.theme-fusion :where(body.page, body.admin) .btn::after{
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .38) 50%, transparent 65%);
  transform: translateX(-110%); transition: transform .7s var(--fx-ease);
}
.theme-fusion :where(body.page, body.admin) .btn:hover::after{ transform: translateX(110%); }

.theme-fusion :where(body.page, body.admin) .btn-primary,
.theme-fusion :where(body.page, body.admin) .btn-primary:hover{ background: var(--fusion); color: var(--on-fusion); box-shadow: var(--fx-lueur-f); }
.theme-fusion :where(body.page, body.admin) .btn-primary:hover{ filter: brightness(1.08) saturate(1.05); box-shadow: 0 0 0 1px rgba(255, 255, 255, .28) inset, 0 16px 38px -8px rgba(184, 46, 255, .65), 0 6px 24px -6px rgba(255, 50, 236, .55); }
.theme-fusion :where(body.page, body.admin) .btn-primary:focus-visible{ box-shadow: var(--fx-anneau), var(--fx-lueur-f); }

.theme-fusion :where(body.page, body.admin) .btn-outline{
  color: var(--text); border: 1px solid transparent;
  background: linear-gradient(rgba(10, 13, 34, .86), rgba(10, 13, 34, .86)) padding-box, var(--fx-bord) 0 0 / 200% 100% border-box;
  backdrop-filter: var(--glass-flou); -webkit-backdrop-filter: var(--glass-flou);
  box-shadow: 0 8px 24px -16px rgba(0, 0, 0, .9);
}
.theme-fusion :where(body.page, body.admin) .btn-outline::after{ background: linear-gradient(105deg, transparent 35%, rgba(125, 168, 255, .2) 50%, transparent 65%); }
.theme-fusion :where(body.page, body.admin) .btn-outline:hover{
  color: #fff; border-color: transparent;
  background: linear-gradient(rgba(18, 23, 54, .8), rgba(18, 23, 54, .8)) padding-box, var(--fx-bord) 0 0 / 200% 100% border-box;
  animation: fx-bord 2.4s linear infinite; box-shadow: 0 0 26px -6px rgba(125, 168, 255, .5), 0 12px 30px -18px rgba(184, 46, 255, .7);
}
@keyframes fx-bord { to { background-position: 0 0, 200% 0; } }
.theme-fusion :where(body.page, body.admin) .btn-danger{ background: linear-gradient(135deg, #C03AD9, #9C23B4); color: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14) inset, 0 8px 22px -10px rgba(218, 68, 239, .7); }

.theme-fusion :where(body.page, body.admin) :is(.vs-off a, .foot-links a, .ia-note a, .dp-help a, .enc-empty-sub a, .wiki-card p a, .poke-dex a, .sub a, .wiki-sub a){
  text-decoration: none; border-bottom: 0;
  background: linear-gradient(90deg, var(--accent-l), var(--framboise-t)) 0 100% / 0 1px no-repeat;
  transition: background-size var(--fx-d2) var(--fx-ease), color var(--fx-d1);
}
.theme-fusion :where(body.page, body.admin) :is(.vs-off a, .foot-links a, .ia-note a, .dp-help a, .enc-empty-sub a, .wiki-card p a, .poke-dex a, .sub a, .wiki-sub a):hover{ background-size: 100% 1px; color: var(--text); text-decoration: none; }

.theme-fusion :where(body.page, body.admin) :is(.platform-btn, .social-link, .catch-btn, .cmp-link, .filter-toggle, .type-chip, .enc-chip, .loc-chip, .chip, .wx-chip, .ev-chip, .dp-chip, .dp-btn, .map-link:not(.icon), .nf-links a, .tab-btn, .rm-tab, .ms-btn, .var-tab, .stats-btn, .zone-toggle, .oss-chips button, .nv-chips button, .pick-types button, .tg button, .ev-preset, .btn-s, .rm-items button, .picker button){
  border-radius: var(--fx-r-pill);
  transition: color var(--fx-d1), border-color var(--fx-d1), background-color var(--fx-d1), box-shadow var(--fx-d2) var(--fx-ease), transform var(--fx-d2) var(--fx-ease);
}
.theme-fusion :where(body.page, body.admin) :is(.platform-btn, .social-link, .catch-btn, .cmp-link, .filter-toggle, .type-chip, .enc-chip, .loc-chip, .wx-chip, .ev-chip, .dp-btn, .map-link:not(.icon), .nf-links a, .tab-btn, .rm-tab, .ms-btn, .var-tab, .stats-btn, .zone-toggle, .nv-chips button, .pick-types button, .tg button, .ev-preset, .btn-s, .rm-items button, .picker button):hover{
  border-color: rgba(125, 168, 255, .55); color: var(--text); text-decoration: none;
  box-shadow: 0 0 0 1px rgba(125, 168, 255, .15), 0 0 18px -4px rgba(125, 168, 255, .45); transform: translateY(-1px);
}
.theme-fusion :where(body.page, body.admin) :is(.platform-btn, .social-link, .catch-btn, .cmp-link, .filter-toggle, .type-chip, .enc-chip, .loc-chip, .chip, .tab-btn, .rm-tab, .ms-btn, .var-tab, .nf-links a, .btn-s, .picker button):active{ transform: scale(.96); }

.theme-fusion :where(body.page, body.admin) :is(.filter-toggle.active, .type-chip.active, .enc-chip.active, .chip.active, .tab-btn.active, .rm-tab.on, .ms-btn.active, .var-tab.active, .var-tab.on, .tab.active, .tab.on, .picker button.on, .nv-chips button.on, .tg button.on, .oss-chips button.on, .wx-chip.on, .ev-chip.on){
  color: var(--text); border-color: rgba(125, 168, 255, .55);
  background: linear-gradient(135deg, rgba(125, 168, 255, .22), rgba(201, 92, 255, .16));
  box-shadow: 0 0 0 1px rgba(125, 168, 255, .12) inset, 0 0 20px -6px rgba(125, 168, 255, .55);
}
.theme-fusion :where(body.page, body.admin) .platform-btn{ background: linear-gradient(135deg, rgba(125, 168, 255, .14), rgba(170, 196, 255, .08)); border-color: rgba(125, 168, 255, .35); color: var(--accent-l); }
.theme-fusion :where(body.page, body.admin) .platform-btn:hover{ background: var(--fusion); border-color: transparent; color: var(--on-fusion); box-shadow: var(--fx-lueur-f); }
.theme-fusion :where(body.page, body.admin) .nf-links a.main{ background: var(--fusion); border-color: transparent; color: var(--on-fusion); box-shadow: var(--fx-lueur-f); }
.theme-fusion :where(body.page, body.admin) .nf-links a.main:hover{ color: var(--on-fusion); filter: brightness(1.08); }
.theme-fusion :where(body.page, body.admin) .nf-links a{ background: rgba(14, 19, 44, .7); white-space: nowrap; }

.theme-fusion :where(body.page, body.admin) .tab{ transition: color var(--fx-d1), border-color var(--fx-d1), background-color var(--fx-d1); border-radius: 8px 8px 0 0; }
.theme-fusion :where(body.page, body.admin) .tab:hover{ color: var(--text); background: rgba(125, 168, 255, .06); }
.theme-fusion :where(body.page, body.admin) :is(.tab.active, .tab.on){ border-bottom-color: transparent; background: linear-gradient(180deg, rgba(125, 168, 255, .1), transparent), var(--fx-spectre) 0 100% / 100% 2px no-repeat; box-shadow: none; }

.theme-fusion :where(body.page, body.admin) :is(.view-switch, .shiny-switch){ border-color: rgba(125, 168, 255, .22); background: rgba(14, 19, 44, .6); }
.theme-fusion :where(body.page, body.admin) :is(.view-switch, .shiny-switch) button{ transition: color var(--fx-d1), background-color var(--fx-d1); }
.theme-fusion :where(body.page, body.admin) :is(.view-switch, .shiny-switch) button[aria-pressed="true"]:not([data-sh="shiny"]):not([data-sh="chroma"]){ background: linear-gradient(135deg, rgba(125, 168, 255, .26), rgba(201, 92, 255, .16)); color: var(--text); }

.theme-fusion :where(body.page, body.admin) :is(.wiki-card, .featured-banner, .dl-card-body, .card, .tm-wrap, .help .box, .dex-progress, .rm-panel, .rm-list, .login-box, .item-list > .item-row, .q-card, .sh-table, .ia-sum, .ia-tl, .c-card, .c-res){
  background-color: var(--fx-verre); border-color: var(--fx-ligne); border-radius: var(--fx-r-m);
  background-image: var(--fx-trait); background-size: 46% 1px; background-position: 50% 0; background-repeat: no-repeat;
  box-shadow: var(--fx-ombre);
}

.theme-fusion :where(body.page, body.admin) :is(.feature-card, .lore-entry, a.wiki-cat, .wiki-cat, .pb-card, .ab-card, .item-card, .zone-card, .tr-row:not(.champ), .sh-card, .guide-card, .nv-card, .ev-card, .poke-mini-card, .mon, .news-card, .slot, .aw-grid figure, .dl-older .dl-card-body, .pick){
  background-color: var(--fx-verre); border: 1px solid var(--fx-ligne); border-radius: var(--fx-r-m);
  background-image: var(--fx-trait), var(--fx-reflet);
  background-size: 0% 1px, 300% 100%; background-position: 50% 0, 100% 0; background-repeat: no-repeat;
  box-shadow: var(--fx-ombre);
  transition: transform var(--fx-d2) var(--fx-ease), box-shadow var(--fx-d2) var(--fx-ease), border-color var(--fx-d2), background-color var(--fx-d2), background-size .5s var(--fx-ease), background-position .9s var(--fx-ease);
}
.theme-fusion :where(body.page, body.admin) :is(.feature-card, .lore-entry, a.wiki-cat, .pb-card, .ab-card, .item-card, .tr-row, .sh-card, .guide-card, .nv-card, .ev-card, .poke-mini-card, .mon, .news-card, .slot, .aw-grid figure, .pick):hover{
  transform: translateY(-4px); border-color: var(--fx-ligne-h); background-color: var(--fx-verre-h);
  background-size: 100% 1px, 300% 100%; background-position: 50% 0, 0 0;
  box-shadow: var(--fx-ombre-h);
}
.theme-fusion :where(body.page, body.admin) .zone-card:hover{ border-color: rgba(125, 168, 255, .35); background-size: 100% 1px, 300% 100%; }
.theme-fusion :where(body.page, body.admin) .tr-row:hover{ transform: translateY(-2px); }
.theme-fusion :where(body.page, body.admin) .tr-row.champ{ border-radius: var(--fx-r-m); background: linear-gradient(90deg, rgba(230, 90, 197, .12), var(--fx-verre) 45%); transition: transform var(--fx-d2) var(--fx-ease), box-shadow var(--fx-d2), border-color var(--fx-d2); }
.theme-fusion :where(body.page, body.admin) .tr-row.champ:hover{ border-color: rgba(230, 90, 197, .6); box-shadow: 0 0 28px -8px rgba(230, 90, 197, .45), 0 20px 40px -24px rgba(0, 0, 0, .9); }
.theme-fusion :where(body.page, body.admin) :is(.feature-card, .lore-entry, .wiki-cat)::before{ display: none; }
.theme-fusion :where(body.page, body.admin) :is(.feature-card, .lore-entry)::after{ width: 2px; background: linear-gradient(var(--accent-l), var(--framboise)); }

.theme-fusion :where(body.page, body.admin) :is(.lore-grid, .features-grid, .wiki-categories){ gap: 1rem; background: none; border: 0; border-radius: 0; overflow: visible; }

.theme-fusion :where(body.page, body.admin) :is(.pb-card, .poke-mini-card, .evo-card, .form-card) img{ transition: transform .45s var(--fx-ressort), filter var(--fx-d2); }
.theme-fusion :where(body.page, body.admin) :is(.pb-card, .poke-mini-card, .evo-card, .form-card):hover img{ transform: scale(1.08) translateY(-2px); filter: drop-shadow(0 6px 14px rgba(125, 168, 255, .35)); }
.theme-fusion :where(body.page, body.admin) :is(.evo-img-wrap, .poke-img-placeholder, .pb-img-wrap){ border-radius: var(--fx-r-m); }
.theme-fusion :where(body.page, body.admin) .evo-img-wrap{ background: radial-gradient(circle at 50% 40%, rgba(125, 168, 255, .1), transparent 70%), var(--fx-verre); border-color: var(--fx-ligne); transition: border-color var(--fx-d2), box-shadow var(--fx-d2) var(--fx-ease), transform var(--fx-d2) var(--fx-ease); }
.theme-fusion :where(body.page, body.admin) .evo-card:hover .evo-img-wrap,
.theme-fusion :where(body.page, body.admin) .form-card:hover .evo-img-wrap{ border-color: var(--fx-ligne-h); box-shadow: var(--fx-lueur-c); transform: translateY(-3px); }
.theme-fusion :where(body.page, body.admin) .evo-card.active .evo-img-wrap{ border-color: transparent; background: linear-gradient(rgba(16, 21, 48, .9), rgba(16, 21, 48, .9)) padding-box, var(--fx-bord) border-box; box-shadow: 0 0 26px -4px rgba(125, 168, 255, .45), 0 10px 30px -14px rgba(184, 46, 255, .6); }

.theme-fusion :where(body.page, body.admin) .featured-banner{ background-color: rgba(14, 19, 44, .72); border-radius: var(--fx-r-l); box-shadow: 0 0 0 1px rgba(125, 168, 255, .1) inset, 0 30px 60px -36px rgba(184, 46, 255, .55), 0 0 60px -30px rgba(64, 116, 255, .5); }
.theme-fusion :where(body.page, body.admin) .featured-banner::before{ height: 2px; background: var(--fx-spectre); opacity: .85; }

.theme-fusion body.page table:not(.chart):not(.mx) th{ color: var(--accent-l); border-bottom: 1px solid rgba(125, 168, 255, .28); background: rgba(125, 168, 255, .05); }
.theme-fusion body.page table:not(.chart):not(.mx) tbody tr:nth-child(even) > td{ background-color: rgba(255, 255, 255, .022); }
.theme-fusion body.page table:not(.chart):not(.mx) tbody tr > td{ transition: background-color var(--fx-d1); }
.theme-fusion body.page table:not(.chart):not(.mx) tbody tr:hover > td{ background-color: rgba(125, 168, 255, .08); }
.theme-fusion body.page table:not(.chart):not(.mx) tbody tr:hover > td:first-child{ box-shadow: inset 2px 0 0 var(--accent-l); }
.theme-fusion :where(body.page, body.admin) .moves-table td{ border-bottom-color: rgba(125, 168, 255, .06); }
.theme-fusion :where(body.page, body.admin) .td-lvl{ color: var(--accent-l); }

.theme-fusion :where(body.page, body.admin) .stat-bar-bg{ background: rgba(255, 255, 255, .07); height: 7px; border-radius: 99px; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .4); }
.theme-fusion :where(body.page, body.admin) .stat-bar{ border-radius: 99px; background-image: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .45)) !important; box-shadow: 0 0 10px -1px currentColor; transform-origin: left; }
.theme-fusion :where(body.page, body.admin) :is(.st-bar, .dp-bar, .bar){ border-radius: 99px; }
.theme-fusion :where(body.page, body.admin) .dp-bar i,
.theme-fusion :where(body.page, body.admin) .dp-bar > *{ background: var(--fx-spectre); }

.theme-fusion :where(body.page, body.admin) :is(.type-badge, .tp, .pb-type, .r-type){
  border-radius: var(--fx-r-pill);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 60%), linear-gradient(rgba(5, 7, 18, .45), rgba(5, 7, 18, .45)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 2px 8px -3px rgba(0, 0, 0, .6);
  text-shadow: 0 0 10px rgba(0, 0, 0, .4);
}
.theme-fusion :where(body.page, body.admin) .badge{ border-radius: var(--fx-r-pill); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1); }

.theme-fusion :where(body.page, body.admin) .info-grid{ background: rgba(125, 168, 255, .08); border-color: var(--fx-ligne); border-radius: 12px; }
.theme-fusion :where(body.page, body.admin) .info-cell{ background: rgba(10, 13, 34, .78); transition: background-color var(--fx-d1); }
.theme-fusion :where(body.page, body.admin) .info-cell:hover{ background: rgba(22, 29, 64, .85); }
.theme-fusion :where(body.page, body.admin) .poke-dex{ border-left: 0; background: linear-gradient(var(--accent-l), var(--framboise)) 0 0 / 2px 100% no-repeat; }
@media (max-width: 600px) { .theme-fusion :where(body.page, body.admin) .poke-dex{ border-top: 0; background: linear-gradient(90deg, var(--accent-l), var(--framboise), transparent) 0 0 / 100% 2px no-repeat; } }

.theme-fusion body:is(.page, .admin) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=file]):not(.oss-in), select, textarea){
  background-color: rgba(6, 8, 22, .62); border-color: rgba(125, 168, 255, .22); border-radius: 10px; color: var(--text);
  transition: border-color var(--fx-d1), box-shadow var(--fx-d2) var(--fx-ease), background-color var(--fx-d1);
}
.theme-fusion body:is(.page, .admin) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=file]):not(.oss-in), select, textarea):hover{ border-color: rgba(125, 168, 255, .4); }
.theme-fusion body:is(.page, .admin) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=file]):not(.oss-in), select, textarea):focus{
  outline: 0; border-color: var(--accent-l); background-color: rgba(10, 13, 34, .82);
  box-shadow: 0 0 0 3px rgba(125, 168, 255, .16), 0 0 24px -6px rgba(125, 168, 255, .5), 0 10px 26px -18px rgba(184, 46, 255, .7);
}
.theme-fusion :where(body.page, body.admin) input[type=checkbox],
.theme-fusion :where(body.page, body.admin) input[type=radio],
.theme-fusion :where(body.page, body.admin) input[type=range],
.theme-fusion :where(body.page, body.admin) progress{ accent-color: var(--accent-l); }
.theme-fusion :where(body.page, body.admin) .global-search-input{ border-radius: var(--fx-r-pill); padding-left: 1.4rem; box-shadow: 0 14px 40px -24px rgba(0, 0, 0, .9); }

.theme-fusion :where(body.page, body.admin) :is(.breadcrumb, .crumb){
  width: fit-content; max-width: 100%; padding: .38rem .9rem; border-radius: var(--fx-r-pill);
  background: rgba(14, 19, 44, .62); border: 1px solid rgba(125, 168, 255, .16);
  font-family: var(--font-head); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase;
  box-shadow: 0 8px 24px -18px rgba(0, 0, 0, .9);
}
.theme-fusion :where(body.page, body.admin) :is(.breadcrumb, .crumb) a{ color: var(--text-muted); transition: color var(--fx-d1); }
.theme-fusion :where(body.page, body.admin) :is(.breadcrumb, .crumb) a:hover{ color: var(--accent-l); }
.theme-fusion :where(body.page, body.admin) :is(.breadcrumb, .crumb) > :last-child{ color: var(--text); }

.theme-fusion :where(body.page, body.admin) .dl-older summary{ transition: color var(--fx-d1), letter-spacing var(--fx-d2) var(--fx-ease); }
.theme-fusion :where(body.page, body.admin) .dl-older summary::after{
  display: inline-grid; place-items: center; width: 1.3rem; height: 1.3rem; border-radius: 50%;
  border: 1px solid rgba(125, 168, 255, .35); color: var(--accent-l); font-size: .85rem; transition: transform var(--fx-d2) var(--fx-ease), background-color var(--fx-d1);
}
.theme-fusion :where(body.page, body.admin) .dl-older summary:hover::after{ background: rgba(125, 168, 255, .14); transform: rotate(90deg); }
.theme-fusion :where(body.page, body.admin) .dl-older summary:hover{ color: var(--accent-l); }
.theme-fusion :where(body.page, body.admin) details > summary{ transition: color var(--fx-d1); }
@keyframes fx-entre { from { opacity: 0; transform: translateY(8px); } }

.theme-fusion :where(body.page, body.admin) :is(.rm-tip, .tip, .tooltip, .c-tip){
  background: rgba(10, 13, 34, .94); border: 1px solid rgba(125, 168, 255, .35); border-radius: 10px; color: var(--text);
  box-shadow: 0 14px 40px -12px rgba(0, 0, 0, .85), 0 0 24px -8px rgba(125, 168, 255, .45);
  backdrop-filter: var(--glass-flou); -webkit-backdrop-filter: var(--glass-flou);
}

.theme-fusion :where(body.page, body.admin) .ia-note{ background: linear-gradient(90deg, rgba(201, 92, 255, .1), rgba(14, 19, 44, .7) 60%); border-color: rgba(201, 92, 255, .28); border-left-color: var(--accent-2); border-radius: 12px; color: var(--text); }

.theme-fusion :where(body.page, body.admin) .spinner{ border-color: rgba(125, 168, 255, .15); border-top-color: var(--accent-l); border-right-color: var(--framboise); }

.theme-fusion :where(body.page, body.admin) footer{
  position: relative; border-top: 0; color: var(--text-muted);
  background: radial-gradient(ellipse 40% 90% at 50% 100%, rgba(184, 46, 255, .1), transparent 70%);
}
.theme-fusion :where(body.page, body.admin) footer::before{ content: ''; position: absolute; top: 0; left: 50%; width: min(760px, 86%); height: 1px; transform: translateX(-50%); background: var(--fx-trait); opacity: .7; }
.theme-fusion :where(body.page, body.admin) footer a:hover{ color: var(--accent-l); }
.theme-fusion :where(body.page, body.admin) .social-link{ background: rgba(14, 19, 44, .65); border-color: rgba(125, 168, 255, .2); color: var(--text-muted); }
.theme-fusion :where(body.page, body.admin) .social-link:hover{ color: var(--text); }

.theme-fusion :where(body.page, body.admin) .fx-cache{ opacity: 0; transform: translateY(18px); }
.theme-fusion :where(body.page, body.admin) .fx-vu{ transition: opacity var(--fx-d3) var(--fx-ease), transform var(--fx-d3) var(--fx-ease) !important; }

@media (prefers-reduced-motion: reduce) {
  .theme-fusion body.page *, .theme-fusion body.page *::before, .theme-fusion body.page *::after, .theme-fusion :where(body.page, body.admin) .admin-layout *{ animation: none !important; transition-duration: .01ms !important; }
  .theme-fusion :where(body.page, body.admin) .btn::after{ display: none; }
}

.theme-fusion :where(body.page, body.admin) .hero{
  background:
    radial-gradient(ellipse 34% 30% at 50% 44%, rgba(8, 11, 28, .55), transparent 72%),
    radial-gradient(ellipse 34% 26% at 37% 102%, rgba(184, 46, 255, .55), transparent 72%),
    radial-gradient(ellipse 36% 26% at 64% 102%, rgba(255, 50, 236, .5), transparent 72%),
    linear-gradient(180deg, rgba(8, 11, 28, .55) 0%, rgba(8, 11, 28, .15) 30%, rgba(8, 11, 28, .2) 70%, rgba(8, 11, 28, .85) 100%),
    transparent;
}

.theme-fusion :where(body.page, body.admin) .hero::before,
.theme-fusion :where(body.page, body.admin) .wiki-hero::before{ animation: none; }

.theme-fusion :where(body.page, body.admin) .hero::after{
  background:
    repeating-linear-gradient(90deg, rgba(125, 168, 255, 0) 0 4px, rgba(125, 168, 255, .32) 4px 5px, rgba(125, 168, 255, 0) 5px 9px),
    repeating-linear-gradient(90deg, rgba(170, 196, 255, 0) 0 11px, rgba(170, 196, 255, .22) 11px 12px, rgba(170, 196, 255, 0) 12px 17px),
    radial-gradient(ellipse 26% 70% at 50% 100%, rgba(64, 116, 255, .5), transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 40% 75% at 50% 100%, #000 20%, transparent 78%);
  mask-image: radial-gradient(ellipse 40% 75% at 50% 100%, #000 20%, transparent 78%);
}
.theme-fusion :where(body.page, body.admin) .hero-corner::before,
.theme-fusion :where(body.page, body.admin) .hero-corner::after{ background: var(--accent-l); }
.theme-fusion :where(body.page, body.admin) .hero-corner.br::before,
.theme-fusion :where(body.page, body.admin) .hero-corner.br::after,
.theme-fusion :where(body.page, body.admin) .hero-corner.bl::before,
.theme-fusion :where(body.page, body.admin) .hero-corner.bl::after{ background: var(--corail); }
.theme-fusion :where(body.page, body.admin) .hero-eyebrow{ color: var(--accent-l); background: radial-gradient(closest-side, rgba(8, 11, 28, .85), rgba(8, 11, 28, .55) 65%, rgba(8, 11, 28, 0)); }
.theme-fusion :where(body.page, body.admin) .hero-logo{ mix-blend-mode: normal; filter: drop-shadow(0 6px 34px rgba(170, 196, 255, .38)); }
.theme-fusion :where(body.page, body.admin) .hero-stats{ background: rgba(8, 11, 28, .6); border-color: rgba(125, 168, 255, .22); border-radius: 12px; backdrop-filter: var(--glass-flou); -webkit-backdrop-filter: var(--glass-flou); }
.theme-fusion :where(body.page, body.admin) .hero-stat{ border-right-color: rgba(125, 168, 255, .16); transition: background-color var(--fx-d2); }
.theme-fusion :where(body.page, body.admin) .hero-stat:hover{ background: rgba(125, 168, 255, .08); }
.theme-fusion :where(body.page, body.admin) .hero-stat .num{ color: var(--accent-l); }

.theme-fusion :where(body.page, body.admin) .hero{
  padding-bottom: 11rem;
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 calc(100% - 10rem), transparent 100%);
  mask-image: linear-gradient(180deg, #000 0, #000 calc(100% - 10rem), transparent 100%);
}
.theme-fusion :where(body.page, body.admin) .lore-section::before{ display: none; }
.theme-fusion :where(body.page, body.admin) .lore-section{
  margin-top: -6rem; padding-top: calc(var(--lore-pad, 6rem) + 6rem);
  background:
    radial-gradient(ellipse 30% 9rem at 38% 9rem, rgba(184, 46, 255, .14), transparent 75%),
    radial-gradient(ellipse 32% 9rem at 63% 9rem, rgba(255, 50, 236, .12), transparent 75%),
    radial-gradient(ellipse 22% 10rem at 50% 10rem, rgba(64, 116, 255, .12), transparent 75%),
    radial-gradient(ellipse 45% 40% at 85% 30%, rgba(170, 196, 255, .08), transparent 70%);
}
.theme-fusion :where(body.page, body.admin) .features-section{ background: radial-gradient(ellipse 45% 40% at 12% 50%, rgba(184, 46, 255, .07), transparent 70%); }
.theme-fusion :where(body.page, body.admin) .lore-title{ text-shadow: 0 0 30px rgba(125, 168, 255, .25); }
.theme-fusion :where(body.page, body.admin) .lore-title::after{ content: ''; display: block; width: 84px; height: 3px; margin-top: 1rem; border-radius: 3px; background: var(--fusion); box-shadow: 0 0 16px rgba(184, 46, 255, .5); }
.theme-fusion :where(body.page, body.admin) .lore-entry,
.theme-fusion :where(body.page, body.admin) .feature-card{ padding: 1.75rem 1.9rem; }
.theme-fusion :where(body.page, body.admin) .lore-year{ color: #fff; width: fit-content; text-shadow: 0 0 18px rgba(184, 46, 255, .45); }
.theme-fusion :where(body.page, body.admin) .lore-event{ color: var(--accent-l); }
.theme-fusion :where(body.page, body.admin) .feature-num{ color: var(--accent-2); }
.theme-fusion :where(body.page, body.admin) .feature-card:hover .feature-name,
.theme-fusion :where(body.page, body.admin) a.wiki-cat:hover .wiki-cat-title{ color: #fff; text-shadow: 0 0 16px rgba(125, 168, 255, .45); }
.theme-fusion :where(body.page, body.admin) .feature-card img.px{ transition: transform .45s var(--fx-ressort), filter var(--fx-d2); }
.theme-fusion :where(body.page, body.admin) .feature-card:hover img.px{ transform: translateY(-6px) scale(1.04); filter: drop-shadow(0 10px 18px rgba(125, 168, 255, .35)); }

.theme-fusion :where(body.page, body.admin) .page-header{ border-bottom: 0; padding: 4.5rem 0 2.75rem; margin-bottom: 2.5rem; overflow: visible; }
.theme-fusion :where(body.page, body.admin) .page-header::before{ background: none; }
.theme-fusion :where(body.page, body.admin) .page-header::after{ content: ''; position: absolute; left: 0; bottom: 0; width: min(420px, 70%); height: 2px; border-radius: 2px; background: var(--fx-spectre); box-shadow: 0 0 14px rgba(125, 168, 255, .4); }
.theme-fusion :where(body.page, body.admin) .page-header h1{ font-size: clamp(2.2rem, 6vw, 3.4rem); }
.theme-fusion :where(body.page, body.admin) .page-header p{ color: var(--text); opacity: .82; }

.theme-fusion :where(body.page, body.admin) .dl-card{ border-radius: var(--fx-r-m); transition: transform var(--fx-d2) var(--fx-ease), box-shadow var(--fx-d2); }
.theme-fusion :where(body.page, body.admin) .dl-card:hover{ transform: translateY(-3px); box-shadow: var(--fx-ombre-h); }
.theme-fusion :where(body.page, body.admin) .dl-card-header{ background: linear-gradient(135deg, rgba(125, 168, 255, .14), rgba(201, 92, 255, .07)); border-color: var(--fx-ligne); border-radius: var(--fx-r-m) var(--fx-r-m) 0 0; }
.theme-fusion :where(body.page, body.admin) .dl-card-body{ border-radius: 0 0 var(--fx-r-m) var(--fx-r-m); border-top: 0; background-image: none; }
.theme-fusion :where(body.page, body.admin) .dl-older summary span{ border-color: rgba(125, 168, 255, .4); color: var(--accent-l); background: rgba(125, 168, 255, .08); }

.theme-fusion :where(body.page, body.admin) .nf::before{
  content: ''; position: absolute; left: 50%; top: 46%; width: min(720px, 120vw); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(125, 168, 255, .16), rgba(184, 46, 255, .1) 40%, transparent 68%);
}
.theme-fusion :where(body.page, body.admin) .nf-code{ background: none; color: #fff; -webkit-text-fill-color: #fff; filter: drop-shadow(0 0 34px rgba(125, 168, 255, .35)); }
.theme-fusion :where(body.page, body.admin) .nf-text{ color: var(--text); opacity: .85; }

.theme-fusion :where(body.page, body.admin) .sim-ferme-k{ display: flex; align-items: center; justify-content: center; gap: .55rem; color: var(--accent-l) !important; font-size: .74rem !important; }
.theme-fusion :where(body.page, body.admin) .sim-ferme-k::before{ content: ''; width: 6px; height: 6px; transform: rotate(45deg); background: linear-gradient(135deg, var(--accent-l), var(--framboise)); box-shadow: 0 0 8px rgba(125, 168, 255, .6); }
.theme-fusion :where(body.page, body.admin) .sim-ferme h1{ margin-inline: auto; }
.theme-fusion :where(body.page, body.admin) .sim-ferme > p:not(.sim-ferme-liens){ color: var(--text) !important; opacity: .84; }
.theme-fusion :where(body.page, body.admin) .sim-ferme-liens{ display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; font-size: 0; }
.theme-fusion :where(body.page, body.admin) .sim-ferme-liens a{
  font-size: .9rem; padding: .55rem 1.1rem; border-radius: var(--fx-r-pill); color: var(--text); background: rgba(14, 19, 44, .7); border: 1px solid rgba(125, 168, 255, .25);
  transition: transform var(--fx-d2) var(--fx-ease), box-shadow var(--fx-d2) var(--fx-ease), border-color var(--fx-d1);
}
.theme-fusion :where(body.page, body.admin) .sim-ferme-liens a:hover{ text-decoration: none; transform: translateY(-2px); border-color: rgba(125, 168, 255, .55); box-shadow: 0 0 18px -4px rgba(125, 168, 255, .45); }
.theme-fusion :where(body.page, body.admin) .sim-ferme-liens a:first-child{ background: var(--fusion); border-color: transparent; color: var(--on-fusion); font-weight: 600; box-shadow: var(--fx-lueur-f); }

.theme-fusion :where(body.page, body.admin) .aw-grid figure{ overflow: hidden; }

.theme-fusion :where(body.page, body.admin) .wiki-hero{ background: radial-gradient(ellipse 50% 32% at 50% 12%, rgba(125, 168, 255, .12), transparent 70%); }
.theme-fusion :where(body.page, body.admin) .wiki-hero::before{ -webkit-mask-image: linear-gradient(#000, transparent 520px); mask-image: linear-gradient(#000, transparent 520px); }
.theme-fusion :where(body.page, body.admin) .wiki-sub{ color: var(--text); }
.theme-fusion :where(body.page, body.admin) .wiki-title{ filter: drop-shadow(0 0 26px rgba(184, 46, 255, .25)); }
.theme-fusion :where(body.page, body.admin) .wip-badge{ border-radius: var(--fx-r-pill); background: rgba(201, 92, 255, .08); box-shadow: 0 0 18px -6px rgba(201, 92, 255, .6); }
.theme-fusion :where(body.page, body.admin) .wiki-group-head{ position: relative; }
.theme-fusion :where(body.page, body.admin) .wiki-group-head::after{ content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, rgba(125, 168, 255, .55), rgba(201, 92, 255, .3) 40%, transparent); }
.theme-fusion :where(body.page, body.admin) .wiki-group-title{ color: var(--accent-l); text-shadow: 0 0 18px rgba(125, 168, 255, .35); }
.theme-fusion :where(body.page, body.admin) .wiki-cat{ padding: 1.4rem 1.5rem; }
.theme-fusion :where(body.page, body.admin) .wiki-cat-off{ opacity: .55; }
@media (max-width: 600px) { .theme-fusion :where(body.page, body.admin) .wiki-hero{ padding-left: 1rem; padding-right: 1rem; } }

.theme-fusion body.admin .login-screen{ background: radial-gradient(ellipse 50% 40% at 50% 30%, rgba(125, 168, 255, .14), transparent 70%), radial-gradient(ellipse 40% 30% at 50% 100%, rgba(184, 46, 255, .16), transparent 70%); }
.theme-fusion body.admin .login-box{ border-radius: var(--fx-r-l); background-size: 70% 2px; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .9), 0 0 60px -20px rgba(64, 116, 255, .45); backdrop-filter: var(--glass-flou); -webkit-backdrop-filter: var(--glass-flou); }
.theme-fusion body.admin :is(.login-box h1, .panel-header h2){ background: var(--fx-titre); -webkit-background-clip: text; background-clip: text; color: transparent; width: fit-content; }
.theme-fusion body.admin .sidebar{ background: linear-gradient(180deg, rgba(16, 21, 48, .86), rgba(8, 11, 28, .9)); border-right: 0; box-shadow: 1px 0 0 rgba(125, 168, 255, .16), 20px 0 50px -30px rgba(0, 0, 0, .9); backdrop-filter: var(--glass-flou); -webkit-backdrop-filter: var(--glass-flou); }
.theme-fusion body.admin .sidebar-logo{ border-bottom-color: rgba(125, 168, 255, .16); }
.theme-fusion body.admin .sidebar-logo span{ color: #fff; letter-spacing: .08em; text-transform: uppercase; font-family: var(--font-head); }
.theme-fusion body.admin .nav-item{ position: relative; border-radius: 10px; transition: color var(--fx-d1), background-color var(--fx-d1), transform var(--fx-d2) var(--fx-ease); }
.theme-fusion body.admin .nav-item:hover{ background: rgba(125, 168, 255, .08); color: var(--text); transform: translateX(3px); text-decoration: none; }
.theme-fusion body.admin .nav-item.active{ background: linear-gradient(90deg, rgba(125, 168, 255, .2), rgba(201, 92, 255, .1)); color: var(--text); box-shadow: inset 2px 0 0 var(--accent-l), 0 0 22px -8px rgba(125, 168, 255, .55); }
.theme-fusion body.admin .sidebar hr{ border-color: rgba(125, 168, 255, .12) !important; }
.theme-fusion body.admin .panel-header{ border-bottom: 0; position: relative; }
.theme-fusion body.admin .panel-header::after{ content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, rgba(125, 168, 255, .55), rgba(201, 92, 255, .3) 45%, transparent); }
.theme-fusion body.admin .modal-overlay{ background: rgba(5, 7, 18, .7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.theme-fusion body.admin .modal{ background: linear-gradient(180deg, rgba(22, 29, 64, .95), rgba(10, 13, 34, .97)); border-color: rgba(125, 168, 255, .3); border-radius: var(--fx-r-l); box-shadow: 0 30px 90px rgba(0, 0, 0, .65), 0 0 60px -20px rgba(64, 116, 255, .45); animation: fx-entre .3s var(--fx-ease); }
.theme-fusion body.admin .item-list > .item-row{ transition: border-color var(--fx-d2), box-shadow var(--fx-d2), transform var(--fx-d2) var(--fx-ease); }
.theme-fusion body.admin .item-list > .item-row:hover{ border-color: var(--fx-ligne-h); box-shadow: var(--fx-ombre-h); transform: translateY(-2px); }
.theme-fusion body.admin .form-group label{ color: var(--text-muted); letter-spacing: .02em; }

@media (max-width: 768px) {
  .theme-fusion body.admin .admin-layout{ flex-direction: column; }
  .theme-fusion body.admin .sidebar{ position: sticky; top: 0; bottom: auto; transform: none; width: auto; min-height: 0; flex-direction: row; align-items: center; gap: .5rem; padding: .55rem .75rem; overflow-x: auto; scrollbar-width: none; box-shadow: 0 1px 0 rgba(125, 168, 255, .16); }
  .theme-fusion body.admin .sidebar::-webkit-scrollbar{ display: none; }
  .theme-fusion body.admin .sidebar-logo{ border: 0; margin: 0; padding: 0 .4rem 0 0; flex-shrink: 0; }
  .theme-fusion body.admin .sidebar-nav{ display: flex; flex-direction: row; align-items: center; gap: .25rem; }
  .theme-fusion body.admin .sidebar hr{ display: none; }
  .theme-fusion body.admin .nav-item{ white-space: nowrap; flex-shrink: 0; padding: .45rem .75rem; font-size: .82rem; }
  .theme-fusion body.admin .nav-item:hover{ transform: none; }
  .theme-fusion body.admin .nav-item.active{ box-shadow: inset 0 -2px 0 var(--accent-l); }
  .theme-fusion body.admin .sidebar-footer{ margin: 0; padding: 0; border: 0; flex-shrink: 0; }
  .theme-fusion body.admin .main{ margin-left: 0; max-width: 100%; padding: 1.5rem 1rem; }
}

.theme-fusion body:has(> header.top) {
  background:
    radial-gradient(ellipse 34% 22% at 30% 103%, rgba(184, 46, 255, .32), transparent 72%),
    radial-gradient(ellipse 34% 22% at 70% 103%, rgba(255, 50, 236, .28), transparent 72%),
    linear-gradient(180deg, rgba(8, 11, 28, .78) 0%, rgba(8, 11, 28, .62) 40%, rgba(8, 11, 28, .72) 100%),
    var(--fx-maille),
    var(--bg);
  background-attachment: fixed;
}

.theme-fusion body:has(#battle.on),
.theme-fusion body.arene,
.theme-fusion body.rediffusion {
  background:
    linear-gradient(rgba(8, 11, 28, .86), rgba(8, 11, 28, .9)),
    var(--fx-maille),
    var(--bg);
  background-attachment: fixed;
}
.theme-fusion .top { background: rgba(8, 11, 28, .72); backdrop-filter: var(--glass-flou); -webkit-backdrop-filter: var(--glass-flou); border-bottom-color: rgba(125, 168, 255, .14); }
.theme-fusion .card { background: var(--glass); border-color: var(--glass-line); backdrop-filter: var(--glass-flou); -webkit-backdrop-filter: var(--glass-flou); }
.theme-fusion .btn.primary,
.theme-fusion .btn.primary:hover:not(:disabled),
.theme-fusion .mode-btn,
.theme-fusion .mode-btn:hover { background: var(--fusion); color: var(--on-fusion); border-color: transparent; box-shadow: 0 0 0 1px rgba(255, 255, 255, .18) inset, 0 10px 30px rgba(184, 46, 255, .3); }
.theme-fusion #fight-hint, .theme-fusion #match-hint { color: var(--text); }
.theme-fusion .mode-btn span { color: var(--on-fusion); opacity: .85; }
.theme-fusion #home-hero h1,
.theme-fusion .result-card h2.win { background: var(--fusion-texte); -webkit-background-clip: text; background-clip: text; color: transparent; }
.theme-fusion .st-bar i,
.theme-fusion .rd-barre i { background: linear-gradient(90deg, var(--accent-l), var(--accent-2)); }
.theme-fusion select,
.theme-fusion input[type=search],
.theme-fusion input[type=number],
.theme-fusion .field { background: rgba(5, 7, 18, .55); }

.theme-fusion .hud,
.theme-fusion .banner { background: rgba(8, 11, 28, .84); border-color: var(--glass-line); }

.theme-fusion .mv { background-color: rgba(5, 7, 18, .62); }
.theme-fusion .tp { background: linear-gradient(rgba(var(--c), .16), rgba(var(--c), .16)), rgba(5, 7, 18, .72); }
.theme-fusion .dock { background: var(--glass); backdrop-filter: var(--glass-flou); -webkit-backdrop-filter: var(--glass-flou); }

.theme-fusion .turn-chip { background: rgba(8, 11, 28, .72); color: var(--text); border-radius: 6px; padding: .1rem .45rem; }
