/* Les Brumes 0.9.4 — vue agrandie et pictogrammes de compétences. */
.scene-heading-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}
.dungeon-expand{white-space:nowrap;font-size:11px;padding:7px 10px}
.dungeon-expanded{overflow:hidden;min-width:0!important}
.dungeon-expanded .topbar,.dungeon-expanded .economy-bar,.dungeon-expanded .app-footer{display:none}
.dungeon-expanded .app{padding:0;max-width:none}
.dungeon-expanded .layout{height:100vh;height:100dvh;min-height:0;gap:0}
.dungeon-expanded .world-panel{position:fixed;inset:0;z-index:20;display:flex;flex-direction:column;width:100%;height:100vh;height:100dvh;min-height:0;border-radius:0;border-width:0}
.dungeon-expanded .scene-heading{padding:7px 14px}
.dungeon-expanded .scene-heading h1{font-size:21px}
.dungeon-expanded .scene-body{flex:1;min-height:0;overflow:hidden}
.dungeon-expanded .canvas-wrap{min-height:0;aspect-ratio:auto}
.dungeon-expanded .action-deck{flex-shrink:0}
.dungeon-expanded .scene-footer{padding:5px 12px}
.dungeon-expanded .modal-backdrop{z-index:30}
.dungeon-expanded .item-comparison{z-index:45}
/* Fullscreen ne rogne pas la carte : même ratio et même projection du curseur. */
@media(max-width:900px){
 .scene-heading-actions{gap:5px;flex-wrap:wrap;justify-content:flex-end}
 .dungeon-expand{font-size:10px;padding:6px 8px}
 .dungeon-expanded .scene-body{grid-template-rows:minmax(0,1fr) minmax(90px,22dvh)}
 .dungeon-expanded .dungeon-hero-host,.dungeon-expanded .dungeon-side-host{max-height:none;overflow:auto}
 .dungeon-expanded .scene-heading .eyebrow,.dungeon-expanded .scene-badge{display:none}
 .dungeon-expanded .scene-heading h1{font-size:17px}
}
@media(max-width:900px) and (orientation:landscape){
 .dungeon-expanded .scene-body{grid-template-areas:"hero map side";grid-template-columns:142px minmax(0,1fr) 155px;grid-template-rows:minmax(0,1fr)}
 .dungeon-expanded .dungeon-hero-host,.dungeon-expanded .dungeon-side-host{padding:8px}
 .dungeon-expanded .scene-footer{display:none}
 .dungeon-expanded .action-deck{padding:4px;min-height:0;gap:4px}
}

.spell-attack{--spell-color:#f57c57;--spell-shadow:#a644293d}
.spell-defense{--spell-color:#76bfff;--spell-shadow:#247bad3d}
.spell-healing{--spell-color:#89e58c;--spell-shadow:#34a3573d}
.spell-support{--spell-color:#f0c866;--spell-shadow:#bf93283d}
.spell-control{--spell-color:#d69afa;--spell-shadow:#9c40c43d}
.spell-mobility{--spell-color:#6ee0d8;--spell-shadow:#309c9c3d}
.spell-emblem{display:inline-block;position:relative;width:46px;height:46px;flex:none;border:1px solid var(--spell-color);border-radius:5px;overflow:hidden;background:#201810;box-shadow:0 0 7px var(--spell-shadow);vertical-align:middle;pointer-events:none}
.spell-picture{position:absolute;inset:0;background-image:url('assets/wakfu/Classes/01_Féca/icone.png');background-size:600% 400%;background-repeat:no-repeat}
.spell-exclusive{position:absolute;bottom:0;right:0;color:#ffe2a2;background:#26180ef2;padding:0 2px;font:12px/14px Georgia,serif;text-shadow:0 1px #000;border-radius:3px 0 0 0}
.spell-role{display:inline-block;color:var(--spell-color);font-size:10px;line-height:1.5;margin:3px 0 4px}
.spell-legend{display:flex;flex-wrap:wrap;gap:7px 15px;margin:12px 0 18px;font-size:11px;color:#eadac0}
.spell-legend>span{display:flex;align-items:center;gap:6px}
.spell-legend i{width:9px;height:9px;border-radius:2px;background:var(--spell-color);box-shadow:0 0 5px var(--spell-shadow)}
.spell-card>.spell-emblem{width:54px;height:54px}
.class-talent-title>.spell-emblem{width:42px;height:42px}
.skill-button,.skill-button:nth-child(n){width:74px;height:72px;flex-shrink:0}
.skill-button:not(.skill-empty){border-color:var(--spell-color,#ad8b56);border-bottom-width:3px;background:#23190f;box-shadow:inset 0 0 12px var(--spell-shadow),0 1px 4px #0005}
.skill-button>.spell-emblem{position:absolute;left:50%;top:3px;transform:translateX(-50%);width:43px;height:43px;margin:0}
.skill-button .skill-name{bottom:2px;padding:0 3px;line-height:10px;max-height:20px;overflow:hidden;color:#ffedcf;text-shadow:0 1px #000}
.skill-button .skill-key,.skill-button .skill-cost{z-index:2;background:#130e0be6;border-radius:2px;padding:0 2px;color:#ffe8bf;font-size:9px;text-shadow:0 1px #000}
.skill-button .skill-cd{background:#120c09a6;color:#fff4dc;text-shadow:0 1px 3px #000}
.skill-button.skill-unavailable{filter:none;opacity:.68}
.skill-button.skill-unavailable .spell-picture{filter:brightness(.72)}
.skill-empty svg{margin-bottom:9px;opacity:.65}
@media(max-width:650px){.skill-button,.skill-button:nth-child(n){width:60px;height:68px}.skill-button>.spell-emblem{width:39px;height:39px}.spell-card{gap:10px}.spell-card>.spell-emblem{width:43px;height:43px}}
@media(max-width:900px) and (orientation:landscape){.dungeon-expanded .skill-button{width:59px;height:60px}.dungeon-expanded .skill-button>.spell-emblem{width:33px;height:33px}.dungeon-expanded .deck-auto{min-width:60px;padding:5px;font-size:10px}}
