/* Homepage-only compact entrances, immediately before the existing account link. */
body.home-compact .site-header{flex-wrap:wrap!important;row-gap:10px}
body.home-compact .site-header>#navigation{order:3;flex:1 0 100%;width:100%;height:auto;position:static;max-width:100%}
body.home-compact .site-header>.header-actions{display:flex!important;align-items:center;flex-wrap:nowrap;flex:0 1 auto;gap:8px;min-width:0;max-width:100%;margin-left:auto}
body.home-compact .site-header #navigation .header-account-mobile{display:none!important}
body.home-compact .header-actions .home-play-portals{display:flex;align-items:stretch;flex:0 1 auto;gap:8px;width:auto;min-width:0;margin:0}
body.home-compact .header-actions .home-play-portals>a{position:relative;isolation:isolate;overflow:hidden;display:grid;grid-template-columns:52px minmax(0,1fr);align-items:center;gap:8px;flex:0 1 200px;width:200px;max-width:none;min-width:0;height:68px;min-height:68px;margin:0;padding:6px 8px;border:1px solid #ba96ec;border-radius:10px;color:#fff0d6;text-decoration:none;box-shadow:inset 0 1px #fff4d633,0 2px 7px #27113922;animation:none;transition:filter .18s}
body.home-compact .header-actions .home-play-portals>a::before,body.home-compact .header-actions .home-play-portals>a::after{content:none}
body.home-compact .header-actions .home-universes-access{background:linear-gradient(105deg,#17182fe6,#38294fba),url('/cartes-numeriques/catalogue-assets/planete-etoiles.webp') center/cover}
body.home-compact .header-actions .home-arenas-access{border-color:#c49345;background:radial-gradient(ellipse at 10% 10%,#62335988,transparent 65%),linear-gradient(130deg,#120c1b,#352038 55%,#1b1025)}
body.home-compact .header-actions .home-play-portals>a:hover{filter:brightness(1.15)}
body.home-compact .header-actions .home-play-portals>a:focus-visible{outline:3px solid #7854a2;outline-offset:3px}
.header-actions .home-worlds-copy{display:block;min-width:0;text-align:center}
.header-actions .home-worlds-copy strong{display:block;font:700 12px/1.2 Cinzel,Georgia,serif;color:#fff0d6;text-wrap:balance;text-shadow:0 1px 3px #100b1b}
.header-actions .home-worlds-copy strong span{display:inline;color:#d4b2ff;white-space:nowrap}
.header-actions .home-arenas-access .home-worlds-copy strong span{color:#ffcf7b}
.header-actions .home-worlds-copy small{display:none}
.header-actions .home-worlds-fan,.header-actions .home-arena-duel{position:relative;display:block;width:52px;height:54px;filter:drop-shadow(0 2px 3px #0008)}
.header-actions .world-card{position:absolute;bottom:4px;width:25px;height:39px;object-fit:contain;transform-origin:50% 100%;border-radius:2px}
.header-actions .world-card-one{left:0;transform:rotate(-14deg)}.header-actions .world-card-two{left:13px;z-index:2;transform:translateY(-3px)}.header-actions .world-card-three{right:0;transform:rotate(14deg)}
.header-actions .home-arena-duel img{position:absolute;top:6px;width:26px;height:40px;object-fit:contain;border-radius:2px}
.header-actions .home-arena-card-one{left:0;transform:rotate(-13deg)}.header-actions .home-arena-card-two{right:0;transform:rotate(13deg)}
.header-actions .home-arena-versus{position:absolute;z-index:1;left:19px;top:23px;display:grid;place-items:center;width:15px;height:15px;border:1px solid #f3bc61;border-radius:50%;background:#21112bf2;color:#ffdc91;font:700 7px/1 Georgia,serif}
@media(min-width:901px){body.home-compact .site-header>#navigation{justify-content:center;padding-top:2px}}
@media(max-width:1100px){body.home-compact .site-header>.header-actions{flex-basis:100%;justify-content:flex-end}}
@media(max-width:599px){
 body.home-compact .site-header>.header-actions{gap:6px}
 body.home-compact .header-actions .home-play-portals{flex:1 1 0;gap:6px}
 body.home-compact .header-actions .home-play-portals>a{flex:1 1 0;width:auto;height:80px;min-height:80px;grid-template-columns:minmax(0,1fr);padding:6px;border-radius:8px}
 .header-actions .home-worlds-fan,.header-actions .home-arena-duel{display:none}
 .header-actions .home-worlds-copy strong{font-family:Arial,sans-serif;font-size:clamp(10px,2.8vw,11px);line-height:1.15}
 body.home-compact .header-actions>.header-account{flex:none;padding:9px 10px;min-height:44px;font-size:12px}
}
@media(prefers-reduced-motion:reduce){body.home-compact .header-actions .home-play-portals>a{transition:none}}
