
/* Décors vivants du Tonton — un univers par rubrique. */
body{--world-scene:url('/channel-world-v52.webp');--world-tint:#111c30;--world-gold:#dfb86e;--world-glow:#84e6ff}
body[data-world="gaming"]{--world-scene:url('/gaming-v10.webp');--world-tint:#21192c;--world-glow:#dbb0ff}
body[data-world="fantasy"]{--world-scene:url('/final-fantasy-guild-v63.webp');--world-tint:#14263b;--world-glow:#81eaff}
body[data-world="music"]{--world-scene:url('/pixel-echo-duet-v56.webp');--world-tint:#29152f;--world-glow:#f4acee}
body[data-world="gothic"]{--world-scene:url('/missoskour-tv-v1.webp');--world-tint:#291c26;--world-glow:#edbd83}
body[data-world="travel"]{--world-scene:url('/travel-carnet-v1.webp');--world-tint:#28281e;--world-glow:#b8ebbf}
body[data-world="archive"]{--world-scene:url('/grenier-v14.webp');--world-tint:#2c211c;--world-glow:#ffd38b}
body[data-world="forum"]{--world-scene:url('/forum-bg-v16.webp');--world-tint:#201d32;--world-glow:#a9b4ff}
.world-panel,.world-surface{background-color:var(--world-tint)!important;background-image:linear-gradient(110deg,color-mix(in srgb,var(--world-tint) 89%,transparent),color-mix(in srgb,var(--world-tint) 69%,transparent)),var(--world-scene)!important;background-position:center;background-size:cover;border-color:var(--world-gold)!important;box-shadow:inset 0 0 0 1px #ffe0a132,0 9px 26px #0004;text-shadow:0 1px 3px #000c}
.world-panel{position:relative;isolation:isolate}.world-panel>.world-rail{grid-column:1/-1;flex-basis:100%;min-width:0}.world-surface:hover{border-color:#fff0b6!important}
.world-panel:where(.group){padding:clamp(18px,3vw,30px);border:1px solid var(--world-gold);margin-top:26px}.world-panel:where(.group)>h2{color:#ffe5b4}.world-surface:where(.link,.identity){background-size:auto,cover;background-position:center}
.world-panel:where(.ff-intro,.ff-archive,.ff-hero-copy,.ff-album){background-image:linear-gradient(105deg,#102138d9,#102138b8),var(--world-scene)!important}.ff-hero-copy{border-bottom:3px double #d6b26e}.ff-album-heading{background:transparent}.ff-memory-frame figcaption{background:linear-gradient(100deg,#172c3de8,#303545c9),var(--world-scene) center/cover;border-color:#e0b66e}
.world-rail{height:80px;width:100%;position:relative;overflow:hidden;pointer-events:none;margin:20px 0 0;contain:layout paint;opacity:.97;border-bottom:1px solid #e8c67c55;background:radial-gradient(ellipse at 50% 100%,color-mix(in srgb,var(--world-glow) 17%,transparent),transparent 65%)}
.world-rail:before{content:'';position:absolute;inset:auto 0 0;height:8px;background:repeating-linear-gradient(90deg,transparent 0 14px,#dfbb6b99 14px 18px,transparent 18px 37px,#89d7f455 37px 40px);animation:world-sparkle 4s ease-in-out infinite}
.world-actor{position:absolute;left:0;bottom:6px;width:76px;height:76px;animation:world-cross 18s linear infinite;will-change:transform}.world-sprite{display:block;width:100%;height:100%;background-image:url('/world-sprites-v62.webp');background-size:300% 200%;background-repeat:no-repeat;image-rendering:pixelated;filter:drop-shadow(0 4px 7px #020a1e);animation:world-bob 1.9s ease-in-out infinite}
.world-mog .world-sprite{background-position:0 0}.world-chocobo .world-sprite{background-position:50% 0;animation:world-run .25s steps(2,end) infinite}.world-ifrit .world-sprite{background-position:100% 0}.world-shiva .world-sprite{background-position:0 100%}.world-bahamut .world-sprite{background-position:50% 100%}.world-music .world-sprite{background-position:100% 100%}
.world-actor:nth-child(2){animation-delay:-8s;animation-duration:23s;opacity:.85}.world-actor:nth-child(3){animation-delay:-15s;animation-duration:28s}.world-actor.world-chocobo{animation-duration:12s}.world-mog{bottom:12px}.world-mog .world-sprite{animation-duration:1.3s}
.world-summon{animation:world-invoke 12s ease-in-out infinite;left:auto;right:10%;width:90px;height:90px;bottom:0}.world-summon:before{content:'';position:absolute;inset:auto 4% 0;height:18px;border:2px solid var(--world-glow);border-radius:50%;box-shadow:0 0 12px var(--world-glow),inset 0 0 10px var(--world-glow);animation:world-circle 3s linear infinite}.world-ifrit{--world-glow:#ff9457}.world-shiva{--world-glow:#a0edff}.world-bahamut{--world-glow:#c6a2ff}
.world-note{position:absolute;font-size:22px;color:var(--world-glow);animation:world-notes 4s ease-in-out infinite;bottom:10px;left:22%}.world-note:nth-of-type(2){left:65%;animation-delay:-2s}.world-lantern{position:absolute;right:10%;top:9px;width:16px;height:24px;background:#ffd391;border:3px solid #ae7042;box-shadow:0 0 20px #ffc97e;animation:world-lantern 3.5s ease-in-out infinite;transform-origin:top}.world-lantern:after{content:'';position:absolute;left:4px;top:22px;height:13px;border-left:2px solid #f8bb70}.world-plane{position:absolute;left:0;top:14px;width:43px;height:26px;animation:world-cross 18s linear infinite}.world-plane:before{content:'';position:absolute;inset:8px 0;background:#e7d6a8;clip-path:polygon(0 35%,42% 35%,58% 0,72% 0,65% 35%,100% 45%,100% 65%,62% 65%,49% 100%,35% 100%,40% 65%,0 65%)}
.world-orb{position:absolute;width:10px;height:10px;left:22%;bottom:15px;background:#fbd895;box-shadow:0 0 15px #ffd58c;animation:world-notes 5s ease-in-out infinite}.world-orb:nth-child(2){left:72%;animation-delay:-2.5s}.world-tome{position:absolute;left:45%;bottom:8px;width:42px;height:27px;border:2px solid #c59a63;background:linear-gradient(90deg,#eddbac 48%,#7d513a 48% 52%,#eddbac 52%);transform:perspective(90px) rotateX(20deg);animation:world-bob 4s ease-in-out infinite}.world-equalizer{position:absolute;left:10%;right:10%;bottom:8px;height:30px;display:flex;align-items:end;gap:5px;justify-content:space-between;opacity:.55}.world-equalizer i{width:5px;height:25px;background:var(--world-glow);animation:world-meter 1s ease-in-out infinite alternate;transform-origin:bottom}.world-equalizer i:nth-child(3n){animation-delay:-.4s;height:35px}.world-equalizer i:nth-child(2n){animation-delay:-.7s;height:15px}
.world-motion-control{display:block;margin:18px auto;padding:8px 13px;font:inherit;font-size:12px;border:1px solid #c7a269;color:#ffe8b9;background:#271e27;cursor:pointer}.world-motion-control:hover{background:#403043}.world-motion-paused .world-rail *,.world-motion-paused .world-rail:before{animation-play-state:paused!important}.world-motion-paused .game-sprite,.world-motion-paused .cameo-star{animation-play-state:paused!important}
@keyframes world-cross{0%{transform:translateX(-85px)}100%{transform:translateX(var(--world-travel,700px))}}@keyframes world-bob{0%,100%{transform:translateY(0) rotate(-3deg)}50%{transform:translateY(-9px) rotate(3deg)}}@keyframes world-run{0%{transform:translateY(0) rotate(-3deg)}100%{transform:translateY(-4px) rotate(3deg)}}@keyframes world-invoke{0%,12%,85%,100%{opacity:0;transform:translateY(35px) scale(.6)}25%,70%{opacity:1;transform:translateY(0) scale(1)}}@keyframes world-circle{to{transform:rotateY(360deg)}}@keyframes world-sparkle{50%{opacity:.25}}@keyframes world-notes{0%,100%{opacity:0;transform:translateY(8px)}30%,70%{opacity:1}90%{transform:translateY(-30px)}}@keyframes world-lantern{0%,100%{transform:rotate(-7deg)}50%{transform:rotate(7deg)}}@keyframes world-meter{to{transform:scaleY(.3)}}
@media(max-width:650px){.world-rail{height:66px;margin-top:14px}.world-actor{width:62px;height:62px}.world-summon{width:74px;height:74px}.world-panel:where(.group){padding:17px}.world-surface:where(.pixel-caption){background-image:linear-gradient(#142638d9,#142638d9),var(--world-scene)!important}.world-panel:where(.ff-intro){padding:22px}}
@media(prefers-reduced-motion:reduce){.world-rail *,.world-rail:before{animation:none!important}.world-actor{left:auto;right:5%;opacity:1}.world-actor:nth-child(2){right:40%}.world-summon{transform:none;opacity:1}.world-plane{left:15%}.world-note,.world-orb{opacity:.7}}

/* Les légendes remplissent les cartes sans laisser de bande vide. */
.artist-grid{align-items:stretch}.artist-card{height:100%;background:#211b2c!important}.artist-card>img{display:block;flex:0 0 auto;width:100%;max-width:100%;object-fit:cover}.artist-card>.artist-copy{flex:1;display:flex;flex-direction:column;background-position:center;background-size:cover}.artist-card>.artist-copy>strong{margin-top:auto;padding-top:18px}.artist-card[href*="tonton"]{--world-scene:url('/tonton-singer-v51.webp')}.artist-card[href*="miss-oskour"]{--world-scene:url('/miss-oskour-portrait-v49.webp')}.artist-card[href*="pixel-echo"]{--world-scene:url('/pixel-echo-duet-v56.webp')}
body:is([data-world="music"],[data-world="gothic"]) :is(.video-frame,.artist-heading,.artist-subnav){background-image:linear-gradient(105deg,#21172ce8,#21172cbb),var(--world-scene)!important;background-size:cover!important;background-position:center!important}
body:is([data-world="music"],[data-world="gothic"]) :is(.crt-scene,.short-mirror-scene,.jeanne-tiktok-scene,.echo-illustration){line-height:0}body:is([data-world="music"],[data-world="gothic"]) :is(.crt-scene,.short-mirror-scene,.jeanne-tiktok-scene,.echo-illustration)>img{display:block;width:100%;height:auto;object-fit:cover}body:is([data-world="music"],[data-world="gothic"]) :is(.crt-play,.short-mirror-play,.jeanne-tiktok-play,.echo-screen){line-height:normal}

/* Supprimer l'ancien espace réservé aux personnages masqués. */
.artist-card.pixel-box{padding:0!important}.artist-card>img{height:auto!important;aspect-ratio:3/2!important;object-fit:cover!important}.artist-card>.artist-copy{min-height:225px}.link.pixel-box,.identity.pixel-box,.bottom.pixel-box,.platform-panel.pixel-box,.relics.pixel-box{padding-bottom:22px!important}.card.pixel-box{padding-bottom:24px!important}.visit-counter.pixel-box{padding-bottom:14px!important}

/* Accueil : le texte se pose sur la bannière, sans deuxième illustration. */
body[data-world="home"] .party-banner .pixel-caption{background:none!important;background-image:none!important;box-shadow:none!important;border:0!important;text-shadow:2px 2px 0 #101427,0 2px 8px #071124;padding:0}body[data-world="home"] .party-banner .pixel-caption::before,body[data-world="home"] .party-banner .pixel-caption::after{display:none!important}

/* Jeux vidéo : album entier et une illustration par lecteur. */
body[data-world="gaming"] .ff-entry>img{aspect-ratio:auto!important;height:auto!important;width:100%;object-fit:contain!important;max-height:none}
body[data-world="gaming"] .video-frame-live{--video-cover:url('/video-cover-gaming-v58.webp')}
body[data-world="gaming"] .video-frame-video{--video-cover:url('/gaming-v10.webp')}
body[data-world="gaming"] .video-frame-short{--video-cover:url('/ff-protector-v61.webp')}

/* Jeux vidéo : scènes complètes, commandes dans un coin dégagé. */
body[data-world="gaming"] .ff-entry{display:flex;flex-direction:column;padding:0;gap:0;overflow:hidden}body[data-world="gaming"] .ff-entry>img{display:block;flex:none;width:100%;height:auto!important;aspect-ratio:auto!important;object-fit:contain!important;border:0}body[data-world="gaming"] .ff-entry>div{width:100%;padding:clamp(20px,3vw,34px)}body[data-world="gaming"] .ff-entry>.world-rail{margin:0;width:calc(100% - 40px)}
body[data-world="gaming"] .video-frame-video{--video-cover:url('/gaming-arcade-v66.webp')}body[data-world="gaming"] .video-frame-video .video-stage{aspect-ratio:3/2}body[data-world="gaming"] .video-frame-short .video-stage{aspect-ratio:1;max-width:none}body[data-world="gaming"] :is(.video-frame-video,.video-frame-short) .video-play{background-size:100% 100%!important}body[data-world="gaming"] :is(.video-frame-video,.video-frame-short) .video-play:before{left:auto;right:18px;top:auto;bottom:18px;transform:none;width:54px;height:54px;font-size:26px}body[data-world="gaming"] :is(.video-frame-video,.video-frame-short) .video-play:hover:before{transform:scale(1.06)}body[data-world="gaming"] :is(.video-frame-video,.video-frame-short) .video-play:after{left:12px;right:82px;bottom:24px;transform:none;width:auto;max-width:none;font-size:12px;padding:7px 10px}

body[data-world="gaming"] .ff-entry{background:#14243c!important;background-image:none!important}body[data-world="gaming"] .video-frame-video .video-stage:has(iframe){aspect-ratio:16/9}body[data-world="gaming"] .video-frame-short .video-stage:has(iframe){aspect-ratio:9/16;max-width:320px;margin-inline:auto}

body[data-world="gaming"] .video-frame-live .video-stage{aspect-ratio:1}body[data-world="gaming"] .video-frame-live .video-stage:has(iframe){aspect-ratio:16/9}body[data-world="gaming"] .video-frame-live .video-play{background-size:100% 100%!important}

body[data-world="gaming"] .ff-entry>div:not(.world-rail){display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 24px;padding:20px 26px;background:linear-gradient(120deg,#2b211e,#403026);border-top:2px solid #c4a267}body[data-world="gaming"] .ff-entry>div>:is(span,h2,p){grid-column:1;margin:0}body[data-world="gaming"] .ff-entry h2{font-size:28px}body[data-world="gaming"] .ff-entry p{font-size:14px}body[data-world="gaming"] .ff-entry .ff-action{grid-column:2;grid-row:1/4;align-self:center;text-align:center;max-width:300px}body[data-world="gaming"] .ff-entry>.world-rail{display:none}@media(max-width:650px){body[data-world="gaming"] .ff-entry>div:not(.world-rail){grid-template-columns:1fr;padding:18px;gap:10px}body[data-world="gaming"] .ff-entry .ff-action{grid-column:1;grid-row:auto;max-width:none}}
