/* Section des héros : invocation et commandes de la vidéo. */
/* Le temple encadre la vraie invocation du jeu, sans recadrer la scène en portrait. */
.heroes-scene { position: relative; isolation: isolate; overflow: hidden; padding: 32px 24px 94px; background: url("/images/temple.png") center 61% / cover no-repeat #102b45; }
.heroes-scene::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, #071729, #07172960 18%, #09244066 67%, #071729), linear-gradient(90deg, #071c35a6, transparent 35%, transparent 65%, #071c35a6); }
.heroes-scene .rune-title { width: min(760px, 100%); min-height: 182px; font-size: 45px; }
.invocation-shrine { position: relative; width: min(380px, 100%); margin: 21px auto 0; }
.invocation-shrine::before { content: ""; position: absolute; z-index: -1; left: 50%; bottom: -25px; width: 165%; height: 155px; transform: translateX(-50%); background: url("/images/socle-rond.png") center / 100% 100% no-repeat; filter: drop-shadow(0 18px 12px #03111d); }
.invocation-frame { position: relative; padding: 0; border: 22px solid transparent; border-image: url("/images/socle-pierre.png") 180 stretch; background: transparent; box-shadow: 0 0 80px #58cfff20, 0 20px 40px #010c21c0; }
.invocation-video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: contain; background: #071729 url("/images/temple.png") center / cover no-repeat; }
.invocation-caption { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; align-items: center; min-height: 70px; margin: 17px -38px 0; padding: 11px 16px; color: #fff2d1; font-family: var(--display); font-size: 20px; text-align: center; text-shadow: 0 2px 0 #03152b; }
.invocation-toggle { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 9px; padding: 10px 15px; border: 1px solid #73c7e5; border-radius: 4px; background: #0b2b47f0; color: #e0f7ff; font-family: var(--body); font-size: 12px; font-weight: 900; line-height: 1.3; cursor: pointer; touch-action: manipulation; }
.invocation-toggle[hidden] { display: none; }
.invocation-toggle-icon { width: 13px; color: var(--gold); font-size: 13px; text-shadow: none; }
.invocation-toggle:hover { border-color: #c3f5ff; background: #123e61; }
.invocation-toggle:focus-visible { outline: 3px solid #bcf5ff; outline-offset: 5px; }
.invocation-unavailable { position: relative; margin-top: 14px; padding: 12px 16px; border: 1px solid #5682a4; background: #071729ed; color: #e8f5ff; font-size: 13px; font-weight: 800; line-height: 1.5; text-align: center; }
@media (max-width: 760px) {
    .heroes-scene { padding: 20px 20px 68px; background-position: 50% 62%; }
    .heroes-scene .scene-heading { padding-inline: 0; }
    .heroes-scene .rune-title { min-height: 145px; padding-inline: 65px; font-size: 35px; }
    .invocation-shrine { width: min(340px, 100%); margin-top: 24px; }
    .invocation-caption { margin-inline: -8px; padding-inline: 0; font-size: 19px; }
}
@media (max-width: 440px) {
    .heroes-scene .rune-title { min-height: 116px; padding: 27px 47px 30px; font-size: 27px; }
    .invocation-shrine { margin-top: 20px; }
    .invocation-frame { border-width: 18px; }
    .invocation-caption { flex-direction: column; gap: 8px; margin-top: 13px; font-size: 18px; }
}
@media (max-width: 360px) {
    .heroes-scene .rune-title { min-height: 105px; padding-inline: 37px; font-size: 24px; }
}
@media print {
    .heroes-scene { break-inside: avoid; }
}
