/* One restrained action language for the public site, tinted by its season. */
html[data-season]{
    --action-solid:color-mix(in srgb,var(--season-main) 45%,#22334b);
    --action-solid-hover:color-mix(in srgb,var(--season-main) 58%,#22334b);
    --action-edge:color-mix(in srgb,var(--season-main) 31%,rgba(255,255,255,.24));
    --action-shadow:color-mix(in srgb,var(--season-main) 16%,rgba(1,9,22,.26));
}
html[data-season] .nav-wrap .container{width:min(1340px,calc(100% - 32px))}

/* One shared site header: the home page, Events and Gazette keep the same
   surface, typography and states. Page styles must not restyle this shell. */
html[data-season] body .site-global-nav{
    font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    color:#fff;
    background:rgba(5,8,19,.9);
    border-bottom-color:rgba(255,255,255,.1);
    box-shadow:0 16px 45px rgba(0,0,0,.2);
    backdrop-filter:blur(22px) saturate(140%);
}
html[data-season] body .site-global-nav :is(.brand-text,.menu a){color:#fff}
html[data-season] body .site-global-nav .brand-text small{color:rgba(255,255,255,.5)}
html[data-season] body .site-global-nav .menu a:is(:hover,.is-active){color:#fff;background:rgba(255,255,255,.09)}
html[data-season] body .site-global-nav .menu-toggle{border-color:rgba(255,255,255,.16);background:rgba(255,255,255,.07)}
html[data-season] body .site-global-nav .menu-toggle span{background:#fff}

html[data-theme="light"][data-season] body .site-global-nav{
    color:#153b38;
    background:rgba(248,242,226,.93);
    border-bottom-color:rgba(20,59,55,.13);
    box-shadow:0 14px 38px rgba(48,65,49,.12);
}
html[data-theme="light"][data-season] body .site-global-nav :is(.brand-text,.menu a){color:#153b38}
html[data-theme="light"][data-season] body .site-global-nav .brand-text small{color:#718078}
html[data-theme="light"][data-season] body .site-global-nav .menu a:is(:hover,.is-active){color:#153b38;background:rgba(20,59,55,.08)}
html[data-theme="light"][data-season] body .site-global-nav .menu-toggle{border-color:rgba(20,59,55,.14);background:rgba(255,255,255,.55)}
html[data-theme="light"][data-season] body .site-global-nav .menu-toggle span{background:#153b38}

html[data-theme][data-season="halloween"] body .site-global-nav{
    color:#f7f0df;
    border-bottom-color:rgba(177,109,221,.23);
    background:linear-gradient(90deg,rgba(8,4,12,.97),rgba(23,8,31,.95),rgba(8,4,12,.97));
    box-shadow:0 12px 35px rgba(0,0,0,.62),0 1px 0 rgba(129,255,60,.06);
    backdrop-filter:blur(18px) saturate(135%);
}
html[data-theme][data-season="halloween"] body .site-global-nav :is(.brand-text,.menu a){color:#f5eedf}
html[data-theme][data-season="halloween"] body .site-global-nav .brand-text small{color:#9b8ca2}
html[data-theme][data-season="halloween"] body .site-global-nav .menu a:is(:hover,.is-active){color:#c6ff73;background:rgba(126,255,59,.075)}
html[data-theme][data-season="halloween"] body .site-global-nav .menu-toggle{border-color:rgba(190,126,227,.28);background:rgba(20,9,28,.88)}
html[data-theme][data-season="halloween"] body .site-global-nav .menu-toggle span{background:#c9ff77}

html[data-theme="light"][data-season="automne"] body .site-global-nav{
    color:#40271d;
    border-bottom-color:rgba(126,68,36,.22);
    background:rgba(247,231,201,.94);
    box-shadow:0 14px 38px rgba(83,46,27,.13);
}
html[data-theme="light"][data-season="automne"] body .site-global-nav :is(.brand-text,.menu a){color:#40271d}
html[data-theme="light"][data-season="automne"] body .site-global-nav .brand-text small{color:#8a674f}
html[data-theme="light"][data-season="automne"] body .site-global-nav .menu a:is(:hover,.is-active){color:#4a281a;background:rgba(174,82,35,.12)}

html[data-theme="dark"][data-season="automne"] body .site-global-nav{
    color:#fff1cf;
    border-bottom-color:rgba(216,111,37,.22);
    background:rgba(24,12,8,.94);
    box-shadow:0 14px 38px rgba(0,0,0,.3);
}
html[data-theme="dark"][data-season="automne"] body .site-global-nav :is(.brand-text,.menu a){color:#fff1cf}
html[data-theme="dark"][data-season="automne"] body .site-global-nav .brand-text small{color:#b99e85}
html[data-theme="dark"][data-season="automne"] body .site-global-nav .menu a:is(:hover,.is-active){color:#fff8df;background:rgba(216,111,37,.13)}

html[data-theme="light"][data-season="hiver"] body .site-global-nav{
    color:#173852;
    border-bottom-color:rgba(62,151,196,.25);
    background:rgba(235,248,255,.94);
    box-shadow:0 14px 38px rgba(28,92,133,.13),inset 0 -1px rgba(255,255,255,.8);
}
html[data-theme="light"][data-season="hiver"] body .site-global-nav :is(.brand-text,.menu a){color:#173852}
html[data-theme="light"][data-season="hiver"] body .site-global-nav .brand-text small{color:#628097}
html[data-theme="light"][data-season="hiver"] body .site-global-nav .menu a:is(:hover,.is-active){color:#0d4263;background:rgba(57,165,208,.13)}
html[data-theme="light"][data-season="hiver"] body .site-global-nav .menu-toggle{border-color:rgba(52,142,186,.2);background:rgba(246,252,255,.75)}
html[data-theme="light"][data-season="hiver"] body .site-global-nav .menu-toggle span{background:#1d5978}

html[data-theme="dark"][data-season="hiver"] body .site-global-nav{
    color:#edfaff;
    border-bottom-color:rgba(90,202,234,.23);
    background:rgba(4,10,20,.94);
    box-shadow:0 14px 38px rgba(0,0,0,.34),inset 0 -1px rgba(120,220,244,.05);
}
html[data-theme="dark"][data-season="hiver"] body .site-global-nav :is(.brand-text,.menu a){color:#edfaff}
html[data-theme="dark"][data-season="hiver"] body .site-global-nav .brand-text small{color:#91afc3}
html[data-theme="dark"][data-season="hiver"] body .site-global-nav .menu a:is(:hover,.is-active){color:#fff;background:rgba(85,201,234,.14)}

html[data-season] body .footer.home-footer-v3{
    font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
@media (min-width:921px) and (max-width:1260px){
    html[data-season] .nav-wrap .nav{position:relative}
    html[data-season] .nav-wrap .menu-toggle{display:inline-flex;margin-left:auto}
    html[data-season] .nav-wrap .menu{
        position:absolute;
        top:calc(100% + 8px);
        right:16px;
        z-index:120;
        display:none;
        width:min(320px,calc(100vw - 32px));
        flex-direction:column;
        align-items:stretch;
        gap:4px;
        padding:12px;
        border:1px solid var(--card-border);
        border-radius:16px;
        background:var(--panel-strong);
        box-shadow:var(--shadow);
        backdrop-filter:blur(16px);
    }
    html[data-season] .nav-wrap .menu.is-open{display:flex}
    html[data-season] .nav-wrap .menu a{padding:11px 14px}
}

html[data-season] :is(.home-v2 .home-btn,.home-footer-cta a,.nav-actions .btn,.events-page-v2 .btn,.gazette-lead-action,.gazette-reader-close,.gazette-reader-dialog>footer button){
    position:relative;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:14px;
    min-height:50px;
    padding:0 19px;
    border:1px solid transparent;
    border-radius:12px!important;
    font-family:"Manrope",sans-serif;
    font-size:13px;
    font-weight:800;
    line-height:1.2;
    letter-spacing:-.01em;
    text-decoration:none;
    text-align:center;
    box-shadow:none;
    transition:background-color .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease;
}

html[data-season] :is(.home-v2 .home-btn,.home-footer-cta a,.nav-actions .btn,.events-page-v2 .btn,.gazette-lead-action,.gazette-reader-close,.gazette-reader-dialog>footer button):is(:hover,:focus-visible){
    transform:translateY(-2px);
}
html[data-season] :is(.home-v2 .home-btn,.home-footer-cta a,.nav-actions .btn,.events-page-v2 .btn,.gazette-lead-action,.gazette-reader-close,.gazette-reader-dialog>footer button):focus-visible{
    outline:3px solid color-mix(in srgb,var(--season-warm) 75%,#fff);
    outline-offset:3px;
}
html[data-season] :is(.nav-actions .btn,.events-page-v2 .btn)::after{display:none}

html[data-season] :is(.home-v2 .home-btn-primary,.home-v2 .home-btn-light,.home-v2 .home-ecurie-button,.home-footer-cta a:not(.is-secondary),.nav-actions .btn-primary,.events-page-v2 .btn-primary,.gazette-lead-action){
    border-color:color-mix(in srgb,var(--season-main) 35%,#324458)!important;
    background:var(--action-solid)!important;
    color:#fff!important;
    box-shadow:0 8px 20px var(--action-shadow),inset 0 1px rgba(255,255,255,.16)!important;
}
html[data-season] :is(.home-v2 .home-btn-primary,.home-v2 .home-btn-light,.home-v2 .home-ecurie-button,.home-footer-cta a:not(.is-secondary),.nav-actions .btn-primary,.events-page-v2 .btn-primary,.gazette-lead-action):is(:hover,:focus-visible){
    border-color:color-mix(in srgb,var(--season-main) 56%,#5a7485)!important;
    background:var(--action-solid-hover)!important;
    color:#fff!important;
    box-shadow:0 12px 26px var(--action-shadow),inset 0 1px rgba(255,255,255,.2)!important;
}

html[data-season] :is(.home-v2 .home-btn-ghost,.home-v2 .home-btn-outline,.home-footer-cta a.is-secondary,.nav-actions .menu-ecurie,.events-page-v2 .btn-secondary,.gazette-reader-close,.gazette-reader-dialog>footer button){
    border-color:var(--action-edge)!important;
    background:rgba(8,20,35,.7)!important;
    color:#f5f8fb!important;
    box-shadow:inset 0 1px rgba(255,255,255,.07)!important;
    backdrop-filter:blur(12px);
}
html[data-season] :is(.home-v2 .home-btn-ghost,.home-v2 .home-btn-outline,.home-footer-cta a.is-secondary,.nav-actions .menu-ecurie,.events-page-v2 .btn-secondary,.gazette-reader-close,.gazette-reader-dialog>footer button):is(:hover,:focus-visible){
    border-color:color-mix(in srgb,var(--season-main) 58%,rgba(255,255,255,.46))!important;
    background:rgba(20,39,56,.88)!important;
    color:#fff!important;
    box-shadow:0 8px 22px rgba(2,12,25,.18)!important;
}
html[data-theme="light"][data-season] :is(.home-v2 .home-btn-ghost,.home-v2 .home-btn-outline,.home-footer-cta a.is-secondary,.nav-actions .menu-ecurie,.events-page-v2 .btn-secondary){
    border-color:color-mix(in srgb,var(--season-main) 25%,#cdd5d8)!important;
    background:rgba(255,255,255,.86)!important;
    color:#18343c!important;
    box-shadow:0 3px 12px rgba(16,42,50,.05)!important;
}
html[data-theme="light"][data-season] :is(.home-v2 .home-btn-ghost,.home-v2 .home-btn-outline,.home-footer-cta a.is-secondary,.nav-actions .menu-ecurie,.events-page-v2 .btn-secondary):is(:hover,:focus-visible){
    background:#fff!important;
    color:#102c35!important;
    box-shadow:0 9px 22px rgba(16,42,50,.1)!important;
}
/* The opening image is always dark, even when the page uses the light theme. */
html[data-theme="light"][data-season] .home-hero-v5 .home-btn-ghost{
    border-color:rgba(255,255,255,.34)!important;
    background:rgba(8,20,35,.68)!important;
    color:#fff!important;
}
html[data-theme="light"][data-season] .home-hero-v5 .home-btn-ghost:is(:hover,:focus-visible){
    background:rgba(20,39,56,.88)!important;
    color:#fff!important;
}

html[data-season] .home-v2 .home-btn>span,
html[data-season] .home-footer-cta a>span,
html[data-season] .gazette-lead-action>span{
    display:grid;
    place-items:center;
    width:26px;
    height:26px;
    flex:none;
    border:1px solid rgba(255,255,255,.22);
    border-radius:8px;
    background:rgba(255,255,255,.1);
    font:800 14px/1 "Manrope",sans-serif;
    transition:transform .18s ease;
}
html[data-season] :is(.home-v2 .home-btn,.home-footer-cta a,.gazette-lead-action):hover>span{transform:translate(2px,-2px)}
html[data-season] .gazette-lead-action{text-transform:none;cursor:pointer}
html[data-season] .gazette-lead-action>span{color:#fff}
html[data-theme="light"][data-season] :is(.home-v2 .home-btn-ghost,.home-v2 .home-btn-outline,.home-footer-cta a.is-secondary)>span{
    border-color:rgba(20,53,61,.14);
    background:rgba(20,53,61,.06);
}

html[data-season] .nav-actions .btn{min-height:42px;padding-inline:14px;font-size:12px}
html[data-season] .nav-actions .menu-ecurie{gap:9px;color:#f5f8fb!important}
html[data-theme="light"][data-season] .nav-actions .menu-ecurie{color:#18343c!important}
html[data-season] .nav-actions .menu-ecurie img{
    width:22px;
    height:22px;
    object-fit:contain;
    border-radius:6px;
    filter:none;
}
html[data-season] .home-v2 .home-quest-reward .home-btn,
html[data-season] .home-v2 .home-recruitment .home-btn-light{
    border-color:color-mix(in srgb,var(--season-main) 35%,#324458)!important;
    background:var(--action-solid)!important;
    color:#fff!important;
    box-shadow:0 8px 20px var(--action-shadow),inset 0 1px rgba(255,255,255,.16)!important;
}
html[data-season] .home-v2 .home-quest-reward .home-btn:is(:hover,:focus-visible),
html[data-season] .home-v2 .home-recruitment .home-btn-light:is(:hover,:focus-visible){
    background:var(--action-solid-hover)!important;
    color:#fff!important;
}

@media(prefers-reduced-motion:reduce){
    html[data-season] :is(.home-v2 .home-btn,.home-footer-cta a,.nav-actions .btn,.events-page-v2 .btn,.gazette-lead-action,.gazette-reader-close,.gazette-reader-dialog>footer button){transition:none}
    html[data-season] :is(.home-v2 .home-btn,.home-footer-cta a,.nav-actions .btn,.events-page-v2 .btn,.gazette-lead-action,.gazette-reader-close,.gazette-reader-dialog>footer button):is(:hover,:focus-visible){transform:none}
}

/* Retour en haut : un petit médaillon de voyage inspiré de l'interface Dofus. */
.dofus-back-to-top{
    position:fixed;
    z-index:96;
    right:clamp(14px,2vw,28px);
    bottom:clamp(68px,7vh,86px);
    width:58px;
    height:62px;
    display:grid;
    place-items:center;
    padding:0;
    border:0;
    background:none;
    color:#fff8dc;
    cursor:pointer;
    opacity:0;
    visibility:hidden;
    transform:translateY(18px) scale(.88);
    transition:opacity .22s ease,visibility .22s ease,transform .22s cubic-bezier(.2,.75,.25,1);
    filter:drop-shadow(0 9px 10px rgba(4,12,20,.3));
}
.dofus-back-to-top.is-visible{
    opacity:1;
    visibility:visible;
    transform:translateY(0) scale(1);
}
.dofus-back-to-top__frame,
.dofus-back-to-top__jewel{
    position:absolute;
    inset:0;
    clip-path:polygon(50% 0,88% 17%,100% 55%,74% 94%,50% 100%,26% 94%,0 55%,12% 17%);
}
.dofus-back-to-top__frame{
    background:linear-gradient(145deg,#fff2ac 0%,#bc7a25 26%,#6d3e16 58%,#e6b24b 82%,#fff0a5 100%);
    box-shadow:inset 0 0 0 1px rgba(255,246,181,.72);
}
.dofus-back-to-top__jewel{
    inset:5px;
    display:grid;
    place-items:center;
    overflow:hidden;
    background:
        radial-gradient(circle at 36% 25%,rgba(255,255,255,.34),transparent 18%),
        linear-gradient(145deg,color-mix(in srgb,var(--season-alt,#57a8b8) 54%,#173344),color-mix(in srgb,var(--season-main,#7659c9) 68%,#172235));
    border:1px solid rgba(255,255,255,.2);
}
.dofus-back-to-top__jewel::before{
    content:"";
    position:absolute;
    inset:8px;
    clip-path:inherit;
}
.dofus-back-to-top svg{
    position:relative;
    z-index:1;
    width:25px;
    height:25px;
    overflow:visible;
    filter:drop-shadow(0 2px 2px rgba(4,11,20,.65));
    transition:transform .18s ease;
}
.dofus-back-to-top::after{
    content:attr(data-label);
    position:absolute;
    top:50%;
    right:calc(100% + 9px);
    padding:7px 10px;
    border:1px solid color-mix(in srgb,var(--season-main,#7659c9) 30%,rgba(255,255,255,.2));
    border-radius:8px;
    background:rgba(7,18,30,.9);
    color:#fff;
    font:800 10px/1 "Manrope",sans-serif;
    letter-spacing:.06em;
    text-transform:uppercase;
    white-space:nowrap;
    opacity:0;
    transform:translate(4px,-50%);
    transition:opacity .16s ease,transform .16s ease;
    pointer-events:none;
}
.dofus-back-to-top:is(:hover,:focus-visible){transform:translateY(-3px) scale(1.04)}
.dofus-back-to-top:is(:hover,:focus-visible) svg{transform:translateY(-3px)}
.dofus-back-to-top:is(:hover,:focus-visible)::after{opacity:1;transform:translate(0,-50%)}
.dofus-back-to-top:focus-visible{outline:3px solid color-mix(in srgb,var(--season-warm,#f2c85c) 75%,#fff);outline-offset:4px}
.dofus-back-to-top:active{transform:translateY(0) scale(.96)}

html[data-theme="light"] .dofus-back-to-top::after{background:rgba(250,247,235,.94);color:#18343c}

@media(max-width:620px){
    .dofus-back-to-top{right:12px;bottom:58px;width:51px;height:55px}
    .dofus-back-to-top::after{display:none}
}
@media(prefers-reduced-motion:reduce){
    .dofus-back-to-top,.dofus-back-to-top svg{transition:none}
}

/* Halloween uses one palette in both site modes: no white or brown controls. */
html[data-season="halloween"]{
    --action-solid:#671d78;
    --action-solid-hover:#842794;
    --action-edge:rgba(189,92,224,.46);
    --action-shadow:rgba(71,10,91,.42);
}
html[data-theme][data-season="halloween"] :is(.home-v2 .home-btn-primary,.home-v2 .home-btn-light,.home-v2 .home-ecurie-button,.home-footer-cta a:not(.is-secondary),.nav-actions .btn-primary,.events-page-v2 .btn-primary,.gazette-lead-action,.home-v2 .home-quest-reward .home-btn){
    border-color:#d5652c!important;
    background:linear-gradient(135deg,#40104f 0%,#791f78 48%,#bb422d 100%)!important;
    color:#fff7e9!important;
    box-shadow:0 10px 28px rgba(93,19,112,.42),0 0 18px rgba(173,73,207,.14),inset 0 1px rgba(255,255,255,.14)!important;
}
html[data-theme][data-season="halloween"] :is(.home-v2 .home-btn-primary,.home-v2 .home-btn-light,.home-v2 .home-ecurie-button,.home-footer-cta a:not(.is-secondary),.nav-actions .btn-primary,.events-page-v2 .btn-primary,.gazette-lead-action,.home-v2 .home-quest-reward .home-btn):is(:hover,:focus-visible){
    border-color:#c6ff73!important;
    background:linear-gradient(135deg,#561565 0%,#972a88 48%,#df5f29 100%)!important;
    color:#fff!important;
    box-shadow:0 13px 32px rgba(97,20,119,.5),0 0 24px rgba(142,255,70,.16)!important;
}
html[data-theme][data-season="halloween"] :is(.home-v2 .home-btn-ghost,.home-v2 .home-btn-outline,.home-footer-cta a.is-secondary,.nav-actions .menu-ecurie,.events-page-v2 .btn-secondary,.gazette-reader-close,.gazette-reader-dialog>footer button){
    border-color:rgba(186,91,218,.48)!important;
    background:linear-gradient(145deg,rgba(37,10,49,.94),rgba(10,4,15,.94))!important;
    color:#f8edff!important;
    box-shadow:0 8px 22px rgba(0,0,0,.34),inset 0 1px rgba(212,145,238,.1)!important;
}
html[data-theme][data-season="halloween"] :is(.home-v2 .home-btn-ghost,.home-v2 .home-btn-outline,.home-footer-cta a.is-secondary,.nav-actions .menu-ecurie,.events-page-v2 .btn-secondary,.gazette-reader-close,.gazette-reader-dialog>footer button):is(:hover,:focus-visible){
    border-color:#baff70!important;
    background:linear-gradient(145deg,#391049,#16071f)!important;
    color:#caff82!important;
    box-shadow:0 10px 28px rgba(0,0,0,.4),0 0 20px rgba(130,255,67,.1)!important;
}
html[data-theme][data-season="halloween"] .nav-actions .menu-ecurie{color:#f8edff!important}

/* Autumn navigation stays readable over the dark copper header. */
html[data-theme="dark"][data-season="automne"] body.home-page-v2 .nav-actions .menu-ecurie{
    border-color:rgba(224,145,72,.48)!important;
    background:linear-gradient(145deg,rgba(91,45,25,.96),rgba(42,23,16,.96))!important;
    color:#fff4dc!important;
    text-shadow:0 1px 5px rgba(0,0,0,.58);
    box-shadow:0 8px 22px rgba(18,9,5,.28),inset 0 1px rgba(255,226,174,.13)!important;
}
html[data-theme="dark"][data-season="automne"] body.home-page-v2 .nav-actions .menu-ecurie span{color:inherit!important}
html[data-theme="dark"][data-season="automne"] body.home-page-v2 .nav-actions .menu-ecurie:is(:hover,:focus-visible){
    border-color:#efb465!important;
    background:linear-gradient(145deg,#754021,#4a2819)!important;
    color:#fff9e9!important;
}

/* Autumn dark actions use the copper, bark and amber palette of the scene. */
html[data-theme="dark"][data-season="automne"] :is(.home-hero-v5 .home-btn-ghost,.home-footer-cta a.is-secondary){
    border-color:rgba(224,145,72,.48)!important;
    background:linear-gradient(145deg,rgba(91,45,25,.96),rgba(42,23,16,.96))!important;
    color:#fff4dc!important;
    text-shadow:0 1px 5px rgba(0,0,0,.48);
    box-shadow:0 8px 22px rgba(18,9,5,.28),inset 0 1px rgba(255,226,174,.13)!important;
}
html[data-theme="dark"][data-season="automne"] :is(.home-hero-v5 .home-btn-ghost,.home-footer-cta a.is-secondary):is(:hover,:focus-visible){
    border-color:#efb465!important;
    background:linear-gradient(145deg,#754021,#4a2819)!important;
    color:#fff9e9!important;
    box-shadow:0 12px 28px rgba(18,9,5,.36),0 0 22px rgba(216,111,37,.1)!important;
}
html[data-theme="dark"][data-season="automne"] .home-v2 .home-ecurie-button{
    border-color:#d89049!important;
    background:linear-gradient(135deg,#d86f25,#a64d24 58%,#70401f)!important;
    color:#fff7e5!important;
    box-shadow:0 10px 25px rgba(88,35,14,.38),inset 0 1px rgba(255,226,174,.28)!important;
}
html[data-theme="dark"][data-season="automne"] .home-v2 .home-ecurie-button:is(:hover,:focus-visible){
    border-color:#f0b66d!important;
    background:linear-gradient(135deg,#eb8130,#b85928 58%,#7e4823)!important;
    color:#fffaf0!important;
    box-shadow:0 14px 32px rgba(88,35,14,.46),0 0 24px rgba(216,111,37,.13)!important;
}
html[data-theme="dark"][data-season="automne"] :is(.home-hero-v5 .home-btn-ghost,.home-footer-cta a.is-secondary,.home-v2 .home-ecurie-button)>span{
    border-color:rgba(244,184,107,.3);
    background:rgba(255,218,158,.1);
    color:inherit;
}
html[data-theme][data-season="halloween"] :is(.home-v2 .home-btn,.home-footer-cta a,.gazette-lead-action)>span{
    border-color:rgba(199,123,230,.32);
    background:rgba(23,5,31,.34);
}

/* Arakne de rappel : sa marque dorsale conserve le sens « vers le haut ». */
html[data-season="halloween"] .dofus-back-to-top.is-arakne{
    width:76px;
    height:70px;
    color:#2a1235;
    filter:drop-shadow(0 11px 8px rgba(0,0,0,.48)) drop-shadow(0 0 10px rgba(143,255,74,.18));
}
html[data-season="halloween"] .dofus-back-to-top.is-arakne .dofus-back-to-top__frame,
html[data-season="halloween"] .dofus-back-to-top.is-arakne .dofus-back-to-top__jewel{
    inset:0;
    clip-path:none;
    border:0;
    background:none;
    box-shadow:none;
    overflow:visible;
}
html[data-season="halloween"] .dofus-back-to-top.is-arakne .dofus-back-to-top__frame{
    inset:-8px;
    border-radius:50%;
    opacity:.42;
    background:
        repeating-conic-gradient(from 8deg,rgba(196,145,218,.38) 0 1deg,transparent 1deg 30deg),
        repeating-radial-gradient(circle,transparent 0 9px,rgba(173,113,199,.25) 10px 11px,transparent 12px 18px);
    mask-image:radial-gradient(circle,#000 0 64%,transparent 72%);
}
html[data-season="halloween"] .dofus-back-to-top.is-arakne svg{
    width:72px;
    height:64px;
    overflow:visible;
    filter:drop-shadow(0 3px 2px rgba(0,0,0,.72));
    animation:dofus-arakne-idle 3.2s ease-in-out infinite;
}
html[data-season="halloween"] .dofus-back-to-top.is-arakne .arakne-legs{stroke:#8b4cac}
html[data-season="halloween"] .dofus-back-to-top.is-arakne .arakne-abdomen{fill:#351143;stroke:#c264dc;stroke-width:2.2}
html[data-season="halloween"] .dofus-back-to-top.is-arakne .arakne-head{fill:#17091f;stroke:#e16d2e;stroke-width:2.2}
html[data-season="halloween"] .dofus-back-to-top.is-arakne .arakne-eyes{fill:#c6ff72}
html[data-season="halloween"] .dofus-back-to-top.is-arakne .arakne-fangs{fill:none;stroke:#f4dfed;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
html[data-season="halloween"] .dofus-back-to-top.is-arakne .arakne-up{fill:none;stroke:#baff70;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 3px #8fff49)}
html[data-season="halloween"] .dofus-back-to-top.is-arakne::after{
    border-color:rgba(188,89,220,.48);
    background:rgba(15,4,21,.95);
    color:#caff82;
}
html[data-season="halloween"] .dofus-back-to-top.is-arakne:is(:hover,:focus-visible) svg{transform:none;animation-duration:.7s}

@keyframes dofus-arakne-idle{
    0%,100%{transform:translateY(0) rotate(-1deg)}
    48%{transform:translateY(-4px) rotate(1deg)}
    56%{transform:translateY(-3px) rotate(-.5deg)}
}
@media(max-width:620px){
    html[data-season="halloween"] .dofus-back-to-top.is-arakne{width:65px;height:60px}
    html[data-season="halloween"] .dofus-back-to-top.is-arakne svg{width:62px;height:56px}
}
@media(prefers-reduced-motion:reduce){
    html[data-season="halloween"] .dofus-back-to-top.is-arakne svg{animation:none}
}

/* Flocon de rappel pour l'hiver. */
html[data-season="hiver"] .dofus-back-to-top.is-snowflake{
    width:70px;
    height:70px;
    color:#e9fbff;
    filter:drop-shadow(0 10px 12px rgba(5,31,51,.4)) drop-shadow(0 0 13px rgba(103,220,248,.42));
}
html[data-season="hiver"] .dofus-back-to-top.is-snowflake .dofus-back-to-top__frame{
    inset:1px;
    clip-path:polygon(50% 0,62% 13%,79% 9%,83% 27%,100% 36%,90% 52%,100% 67%,82% 74%,78% 93%,60% 87%,50% 100%,38% 87%,21% 92%,17% 74%,0 65%,10% 51%,0 35%,17% 27%,21% 9%,39% 13%);
    background:linear-gradient(145deg,#f5fdff 0%,#7cddf4 25%,#397fb6 57%,#a8ebfa 80%,#fff 100%);
    box-shadow:inset 0 0 0 1px rgba(255,255,255,.72);
}
html[data-season="hiver"] .dofus-back-to-top.is-snowflake .dofus-back-to-top__jewel{
    inset:6px;
    clip-path:polygon(50% 0,62% 14%,79% 10%,83% 28%,100% 36%,90% 52%,100% 67%,81% 74%,77% 92%,60% 87%,50% 100%,38% 87%,21% 92%,17% 74%,0 65%,10% 51%,0 35%,17% 27%,21% 10%,39% 14%);
    border:1px solid rgba(224,249,255,.62);
    background:radial-gradient(circle at 34% 24%,rgba(255,255,255,.72),transparent 18%),linear-gradient(145deg,#20608d,#0a2946 68%,#3655a0);
    box-shadow:inset 0 0 20px rgba(118,225,248,.22);
}
html[data-theme="light"][data-season="hiver"] .dofus-back-to-top.is-snowflake .dofus-back-to-top__jewel{
    background:radial-gradient(circle at 34% 24%,rgba(255,255,255,.9),transparent 18%),linear-gradient(145deg,#3b9cc5,#245c92 68%,#617bd0);
}
html[data-season="hiver"] .dofus-back-to-top.is-snowflake svg{
    width:48px;
    height:48px;
    overflow:visible;
    filter:drop-shadow(0 0 4px rgba(207,249,255,.9));
    animation:dofus-snowflake-idle 8s linear infinite;
}
html[data-season="hiver"] .dofus-back-to-top.is-snowflake .snowflake-glow{stroke:#e9fbff}
html[data-season="hiver"] .dofus-back-to-top.is-snowflake .snowflake-core{fill:#fff;filter:drop-shadow(0 0 5px #9feaff)}
html[data-season="hiver"] .dofus-back-to-top.is-snowflake:is(:hover,:focus-visible){transform:translateY(-4px) scale(1.07)}
html[data-season="hiver"] .dofus-back-to-top.is-snowflake:is(:hover,:focus-visible) svg{transform:none;animation-duration:2.2s}
html[data-season="hiver"] .dofus-back-to-top.is-snowflake::after{border-color:rgba(103,210,238,.46);background:rgba(5,24,40,.94);color:#e8faff}

@keyframes dofus-snowflake-idle{
    from{transform:rotate(0deg)}
    to{transform:rotate(360deg)}
}
@media(max-width:620px){
    html[data-season="hiver"] .dofus-back-to-top.is-snowflake{width:60px;height:60px}
    html[data-season="hiver"] .dofus-back-to-top.is-snowflake svg{width:41px;height:41px}
}
@media(prefers-reduced-motion:reduce){
    html[data-season="hiver"] .dofus-back-to-top.is-snowflake svg{animation:none}
}

/* Feuille morte de rappel pour l'automne. */
html[data-season="automne"] .dofus-back-to-top.is-autumn-leaf{
    width:70px;
    height:70px;
    color:#ffe6a1;
    filter:drop-shadow(0 10px 11px rgba(55,24,10,.42)) drop-shadow(0 0 10px rgba(213,103,37,.3));
}
html[data-season="automne"] .dofus-back-to-top.is-autumn-leaf .dofus-back-to-top__frame{
    inset:1px;
    clip-path:polygon(50% 0,88% 17%,100% 55%,74% 94%,50% 100%,26% 94%,0 55%,12% 17%);
    background:linear-gradient(145deg,#ffe49a 0%,#d4772c 27%,#713817 61%,#e6a33d 82%,#fff0ad 100%);
}
html[data-season="automne"] .dofus-back-to-top.is-autumn-leaf .dofus-back-to-top__jewel{
    inset:6px;
    clip-path:polygon(50% 0,88% 17%,100% 55%,74% 94%,50% 100%,26% 94%,0 55%,12% 17%);
    border:1px solid rgba(255,226,154,.42);
    background:radial-gradient(circle at 34% 24%,rgba(255,239,176,.24),transparent 20%),linear-gradient(145deg,#713719,#2c1710 70%,#5a2b18);
    box-shadow:inset 0 0 18px rgba(225,118,42,.18);
}
html[data-theme="light"][data-season="automne"] .dofus-back-to-top.is-autumn-leaf .dofus-back-to-top__jewel{
    background:radial-gradient(circle at 34% 24%,rgba(255,245,194,.42),transparent 20%),linear-gradient(145deg,#b95624,#6f3218 70%,#93491e);
}
html[data-season="automne"] .dofus-back-to-top.is-autumn-leaf svg{
    width:49px;
    height:49px;
    overflow:visible;
    filter:drop-shadow(0 2px 2px rgba(42,16,7,.6));
    animation:dofus-autumn-leaf-idle 4.8s ease-in-out infinite;
}
html[data-season="automne"] .dofus-back-to-top.is-autumn-leaf .autumn-leaf-body{
    fill:#d76b25;
    stroke:#ffd277;
    stroke-width:2.2;
}
html[data-season="automne"] .dofus-back-to-top.is-autumn-leaf .autumn-leaf-vein{
    stroke:#ffe7a2;
    stroke-width:2.4;
    stroke-linecap:round;
    stroke-linejoin:round;
}
html[data-season="automne"] .dofus-back-to-top.is-autumn-leaf:is(:hover,:focus-visible){transform:translateY(-4px) scale(1.07)}
html[data-season="automne"] .dofus-back-to-top.is-autumn-leaf:is(:hover,:focus-visible) svg{transform:none;animation-duration:1.5s}
html[data-season="automne"] .dofus-back-to-top.is-autumn-leaf::after{border-color:rgba(224,133,65,.48);background:rgba(38,17,10,.95);color:#fff1cf}

@keyframes dofus-autumn-leaf-idle{
    0%,100%{transform:translateY(0) rotate(-8deg)}
    50%{transform:translateY(-4px) rotate(8deg)}
}
@media(max-width:620px){
    html[data-season="automne"] .dofus-back-to-top.is-autumn-leaf{width:60px;height:60px}
    html[data-season="automne"] .dofus-back-to-top.is-autumn-leaf svg{width:42px;height:42px}
}
@media(prefers-reduced-motion:reduce){
    html[data-season="automne"] .dofus-back-to-top.is-autumn-leaf svg{animation:none}
}

/* Gros cadeau de rappel pour Noël. */
html[data-season="noel"] .dofus-back-to-top.is-christmas-gift{
    width:82px;
    height:78px;
    color:#fff4c7;
    filter:drop-shadow(0 11px 10px rgba(25,5,12,.42)) drop-shadow(0 0 13px rgba(255,207,83,.28));
}
html[data-season="noel"] .dofus-back-to-top.is-christmas-gift .dofus-back-to-top__frame,
html[data-season="noel"] .dofus-back-to-top.is-christmas-gift .dofus-back-to-top__jewel{
    inset:0;
    clip-path:none;
    overflow:visible;
    border:0;
    background:none;
    box-shadow:none;
}
html[data-season="noel"] .dofus-back-to-top.is-christmas-gift .dofus-back-to-top__frame{
    inset:4px 2px 0;
    border-radius:50%;
    background:radial-gradient(circle,rgba(255,213,92,.22),transparent 68%);
    animation:dofus-christmas-gift-aura 2.8s ease-in-out infinite;
}
html[data-season="noel"] .dofus-back-to-top.is-christmas-gift svg{
    width:80px;
    height:74px;
    overflow:visible;
    filter:drop-shadow(0 3px 2px rgba(45,7,13,.46));
    animation:dofus-christmas-gift-idle 3.6s ease-in-out infinite;
}
html[data-season="noel"] .dofus-back-to-top.is-christmas-gift .gift-shadow{fill:rgba(24,5,12,.3)}
html[data-season="noel"] .dofus-back-to-top.is-christmas-gift .gift-body{fill:#d91f3c;stroke:#fff0b4;stroke-width:2}
html[data-season="noel"] .dofus-back-to-top.is-christmas-gift .gift-body-shade{fill:#a90f2b;opacity:.58}
html[data-season="noel"] .dofus-back-to-top.is-christmas-gift :is(.gift-ribbon-v,.gift-ribbon-h){fill:#ffd15b;stroke:#fff0a8;stroke-width:1}
html[data-season="noel"] .dofus-back-to-top.is-christmas-gift .gift-lid-box{fill:#ef3651;stroke:#fff0b4;stroke-width:2}
html[data-season="noel"] .dofus-back-to-top.is-christmas-gift :is(.gift-bow,.gift-knot){fill:#ffd15b;stroke:#fff2b7;stroke-width:1.5}
html[data-season="noel"] .dofus-back-to-top.is-christmas-gift .gift-lid{transform-origin:42px 38px;transition:transform .22s ease}
html[data-season="noel"] .dofus-back-to-top.is-christmas-gift .gift-sparkles{fill:#fff7d6;stroke:#fff7d6;stroke-width:2;stroke-linecap:round;filter:drop-shadow(0 0 4px #ffd96a);animation:dofus-christmas-gift-sparkle 2s ease-in-out infinite}
html[data-season="noel"] .dofus-back-to-top.is-christmas-gift:is(:hover,:focus-visible){transform:translateY(-5px) scale(1.08)}
html[data-season="noel"] .dofus-back-to-top.is-christmas-gift:is(:hover,:focus-visible) svg{transform:none;animation-duration:1.3s}
html[data-season="noel"] .dofus-back-to-top.is-christmas-gift:is(:hover,:focus-visible) .gift-lid{transform:translateY(-5px) rotate(-2deg)}
html[data-season="noel"] .dofus-back-to-top.is-christmas-gift::after{border-color:rgba(255,207,83,.48);background:rgba(34,8,18,.95);color:#fff1bd}

@keyframes dofus-christmas-gift-idle{
    0%,100%{transform:translateY(0) rotate(-1deg)}
    50%{transform:translateY(-4px) rotate(1deg)}
}
@keyframes dofus-christmas-gift-aura{
    0%,100%{opacity:.46;transform:scale(.9)}
    50%{opacity:.9;transform:scale(1.1)}
}
@keyframes dofus-christmas-gift-sparkle{
    0%,100%{opacity:.42}
    45%{opacity:1}
    70%{opacity:.62}
}
@media(max-width:620px){
    html[data-season="noel"] .dofus-back-to-top.is-christmas-gift{width:68px;height:65px}
    html[data-season="noel"] .dofus-back-to-top.is-christmas-gift svg{width:66px;height:61px}
}
@media(prefers-reduced-motion:reduce){
    html[data-season="noel"] .dofus-back-to-top.is-christmas-gift :is(svg,.dofus-back-to-top__frame,.gift-sparkles){animation:none}
}

/* Fusée de fête du Nouvel An, commune à toutes les pages. */
html[data-season="nouvel_an"] .dofus-back-to-top.is-newyear-firework{
    width:78px;height:92px;color:#ffe5a0;
    filter:drop-shadow(0 5px 6px rgba(22,8,35,.4));
}
html[data-season="nouvel_an"] .is-newyear-firework :is(.dofus-back-to-top__frame,.dofus-back-to-top__jewel){
    inset:0;clip-path:none;background:none;border:0;box-shadow:none;overflow:visible;
}
html[data-season="nouvel_an"] .is-newyear-firework .dofus-back-to-top__frame{
    background:radial-gradient(ellipse,rgba(239,201,109,.14),transparent 65%);
}
html[data-season="nouvel_an"] .is-newyear-firework svg{
    width:78px;height:92px;filter:drop-shadow(0 2px 1px rgba(22,8,35,.35));
    transform:rotate(12deg);transition:transform .25s ease;
}
html[data-season="nouvel_an"] .is-newyear-firework .rocket-flame{
    transform-origin:44px 68px;animation:dofus-newyear-flame 3s ease-in-out infinite;
}
html[data-season="nouvel_an"] .is-newyear-firework .firework-sparks{
    animation:dofus-newyear-sparks 5s ease-in-out infinite;
}
html[data-season="nouvel_an"] .is-newyear-firework:is(:hover,:focus-visible) svg{transform:translateY(-5px) rotate(0deg)}
html[data-season="nouvel_an"] .is-newyear-firework::after{
    border-color:#b89553;background:#241330;color:#fff3cd;
}
html[data-season="nouvel_an"] .is-newyear-firework:focus-visible{outline-color:#efc96d;border-radius:16px}
@keyframes dofus-newyear-flame{
    0%,100%{transform:scaleY(.85);opacity:.75}
    50%{transform:scaleY(1);opacity:1}
}
@keyframes dofus-newyear-sparks{
    0%,60%,100%{opacity:.5}
    75%{opacity:1}
}
@media(max-width:620px){
    html[data-season="nouvel_an"] .dofus-back-to-top.is-newyear-firework,
    html[data-season="nouvel_an"] .is-newyear-firework svg{width:64px;height:76px}
}
@media(prefers-reduced-motion:reduce){
    html[data-season="nouvel_an"] .is-newyear-firework :is(.rocket-flame,.firework-sparks){animation:none}
}

/* La couronne du Wa remplace la flèche pendant la Galette des Was. */
html[data-season="galette_des_was"] .dofus-back-to-top.is-wa-crown{width:80px;height:72px;filter:drop-shadow(0 5px 5px rgba(67,29,9,.3))}
html[data-season="galette_des_was"] .is-wa-crown :is(.dofus-back-to-top__frame,.dofus-back-to-top__jewel){inset:0;clip-path:none;background:none;border:0;box-shadow:none;overflow:visible}
html[data-season="galette_des_was"] .is-wa-crown .dofus-back-to-top__frame{background:radial-gradient(ellipse,rgba(255,195,109,.18),transparent 70%)}
html[data-season="galette_des_was"] .is-wa-crown svg{width:80px;height:72px;filter:drop-shadow(0 2px 1px rgba(67,29,9,.25));transform:rotate(-6deg);transition:transform .25s ease}
html[data-season="galette_des_was"] .is-wa-crown:is(:hover,:focus-visible) svg{transform:translateY(-4px) rotate(3deg)}
html[data-season="galette_des_was"] .is-wa-crown .wa-crown-sparkles{animation:dofus-wa-crown-shine 6s ease-in-out infinite}
html[data-season="galette_des_was"] .is-wa-crown::after{border-color:#c99458;background:#31180b;color:#fff1d8}
html[data-season="galette_des_was"] .is-wa-crown:focus-visible{outline:3px solid #df932c;outline-offset:3px;border-radius:16px}
@keyframes dofus-wa-crown-shine{0%,65%,100%{opacity:.3}75%,85%{opacity:1}}
@media(max-width:620px){html[data-season="galette_des_was"] .dofus-back-to-top.is-wa-crown,html[data-season="galette_des_was"] .is-wa-crown svg{width:66px;height:60px}}
@media(prefers-reduced-motion:reduce){html[data-season="galette_des_was"] .is-wa-crown .wa-crown-sparkles{animation:none}html[data-season="galette_des_was"] .is-wa-crown svg{transition:none}html[data-season="galette_des_was"] .is-wa-crown:is(:hover,:focus-visible) svg{transform:none}}

/* Birthday cake, shared by the homepage, Events and Gazette. */
html[data-season="anniversaire"] .dofus-back-to-top.is-birthday-cake{width:76px;height:82px;filter:drop-shadow(0 4px 5px rgba(38,15,55,.35))}
html[data-season="anniversaire"] .is-birthday-cake :is(.dofus-back-to-top__frame,.dofus-back-to-top__jewel){inset:0;clip-path:none;background:none;border:0;box-shadow:none;overflow:visible}
html[data-season="anniversaire"] .is-birthday-cake .dofus-back-to-top__jewel::before{display:none}
html[data-season="anniversaire"] .is-birthday-cake svg{width:76px;height:82px;overflow:visible;filter:drop-shadow(0 2px 1px rgba(38,15,55,.3));transition:transform .25s ease}
html[data-season="anniversaire"] .is-birthday-cake .birthday-cake-flame{transform-origin:44px 21px;filter:drop-shadow(0 0 3px #ffd36b)}
html[data-season="anniversaire"] .is-birthday-cake.is-visible .birthday-cake-flame{animation:dofus-birthday-candle 2.4s ease-in-out infinite}
html[data-season="anniversaire"] .is-birthday-cake.is-visible .birthday-cake-confetti{animation:dofus-birthday-confetti 4s ease-in-out infinite}
html[data-season="anniversaire"] .is-birthday-cake:is(:hover,:focus-visible) svg{transform:translateY(-4px) rotate(-3deg)}
html[data-season="anniversaire"] .is-birthday-cake::after{border-color:#cda45e;background:#2a173e;color:#fff0c9}
html[data-season="anniversaire"] .is-birthday-cake:focus-visible{outline-color:#d3ae64;border-radius:16px}
html.home-experience-paused[data-season="anniversaire"] .is-birthday-cake :is(.birthday-cake-flame,.birthday-cake-confetti){animation-play-state:paused}
@keyframes dofus-birthday-candle{0%,100%{transform:rotate(-5deg) scaleY(.95)}50%{transform:rotate(6deg) scaleY(1.08)}}
@keyframes dofus-birthday-confetti{0%,100%{opacity:.55;transform:translateY(0)}50%{opacity:1;transform:translateY(-2px)}}
@media(max-width:620px){html[data-season="anniversaire"] .dofus-back-to-top.is-birthday-cake,html[data-season="anniversaire"] .is-birthday-cake svg{width:64px;height:69px}}
@media(prefers-reduced-motion:reduce){html[data-season="anniversaire"] .is-birthday-cake :is(.birthday-cake-flame,.birthday-cake-confetti){animation:none!important}html[data-season="anniversaire"] .is-birthday-cake svg{transition:none}}
