
/* Final shared combat presentation. All mechanics remain in the game reducer. */
body[data-layout=sidebar] #app{grid-template-rows:0 minmax(0,1fr) auto!important}body[data-layout=sidebar] .layout-topbar{height:0!important;min-height:0!important;border:0!important;margin:0!important;padding:0!important}.layout-header-context>.layout-location{display:none!important}body[data-layout=sidebar] .layout-navigation{bottom:260px!important;top:182px!important}body[data-layout=sidebar] .citadel-brand{height:150px!important;top:14px!important}body[data-layout=sidebar] .layout-profile{display:none!important}body[data-layout=sidebar] .top-actions{position:fixed!important;left:17px;bottom:18px;width:calc(var(--layout-sidebar) - 34px);display:grid!important;grid-template-columns:1fr;gap:7px!important;z-index:5}body[data-layout=sidebar] .top-actions>button,body[data-layout=sidebar] .top-actions>.layout-language{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:flex-start;gap:8px;font:16px Georgia!important;color:#e9d0a3;min-height:43px!important;height:auto!important;width:100%!important;padding:8px 12px!important;border:0!important;background:none!important;border-radius:0!important;box-shadow:none!important}.layout-language select{flex:1;background:#19120d!important;border:1px solid #98703d!important;color:#f4ddb3;font:14px Georgia!important;min-height:28px}.layout-utility-label{display:inline!important}.top-actions .icon{width:24px;height:24px}.top-actions .smith-button-skin{pointer-events:none}body[data-layout=sidebar] .layout-header-context{position:static}.layout-menu-open{display:none!important}body[data-layout=sidebar] .main-content{grid-row:2;padding-top:12px!important}
.battle-design3,.eb-content .battle-design3{grid-template-columns:minmax(0,1fr) 225px!important;gap:9px!important;max-width:none}.battle-design3 .battle-scene{height:clamp(290px,calc(100dvh - 355px),740px)!important;min-height:290px!important}.battle-design3 .battle-top{top:8px;left:9px;right:9px;gap:7%;}.battle-design3 .battle-top section{padding:7px 10px;border:5px solid #997847;border-image:url('assets/woodland-frame-inset-c-v1.webp') 86 fill/5px;background:#17110de8}.battle-design3 .battle-identity{display:flex;align-items:baseline;gap:10px;justify-content:space-between}.battle-design3 .battle-identity strong{font-size:16px}.battle-design3 .battle-top [data-combat-health]{font-size:19px;white-space:nowrap;margin:0}.battle-design3 .battle-top .meter{height:13px;border:1px solid #c09a65;border-radius:3px;margin:5px 0;background:#0c0807;overflow:hidden}.battle-design3 .battle-top .meter i{background:linear-gradient(#e8a080,#af3e29 40%,#621d17)!important;transition:none!important}.battle-design3 .class-energy{display:flex;align-items:center;gap:6px;flex-wrap:nowrap;font:12px Georgia;margin:0}.battle-design3 .class-energy>strong{font-size:12px!important;white-space:nowrap}.battle-design3 .class-energy>b{font-size:13px;white-space:nowrap}.battle-design3 [data-energy-pips]{gap:4px;flex:1;max-width:100px}.battle-design3 .class-energy i{width:22px;height:9px;flex:1;border:1px solid #8c6c38;border-radius:2px;background:#211b13}.battle-design3 .class-energy i.full{background:linear-gradient(#fff0b6,#d3a844 45%,#9e6726);box-shadow:0 0 4px #c9a25155}.battle-stat-row{display:flex;gap:13px;align-items:center;margin-top:5px;color:#cfb88d;font:12px Georgia}.battle-stat-row>span{display:flex;align-items:center;gap:4px!important;margin:0!important;font:12px Georgia!important;font-weight:normal!important}.battle-stat-row .icon{width:14px;height:14px}.battle-stat-row b{color:#f1d5a4}.battle-design3 .battle-intent{position:static;max-width:none;background:none;border:0;padding:0;margin:0;display:block}.battle-design3 .battle-intent>span{display:flex;gap:8px;align-items:baseline;margin:0!important}.battle-design3 .battle-intent strong{font:13px Georgia!important;color:#e6c283}.battle-design3 .battle-intent b{font:12px Georgia;color:#cdaa85}.battle-design3 .battle-ground{position:absolute;top:108px;bottom:30px;left:3%;right:3%;--hero-height:64cqh;container-type:size;z-index:3}.battle-design3 .hero-fighter{left:10%!important;bottom:0!important;right:auto!important;width:calc(64cqh * .818)!important;height:64cqh!important;max-width:none!important;max-height:none!important;filter:drop-shadow(0 6px 3px #0009)!important;transform-origin:50% 97%;}.live-hero-rig{display:block;width:100%;height:100%;overflow:visible}.live-hero-rig .rig-joint{display:none}.battle-design3 .enemy-fighter{bottom:0!important;left:auto!important;right:8%!important;height:calc(64cqh * var(--enemy-size,1))!important;width:calc(64cqh * var(--enemy-size,1) * var(--enemy-aspect,.65))!important;max-width:none!important;max-height:none!important;filter:drop-shadow(0 6px 3px #0009)!important;transform-origin:50% 97%}.battle-design3 .enemy-fighter>.game-sprite{width:100%;height:100%;display:block}.battle-design3 .arena-companion{left:44%!important;bottom:0!important;height:27cqh!important;width:30cqh!important;max-height:none!important}.battle-pet-portrait,.battle-pet-portrait>.game-sprite{width:100%;height:100%;display:block}.battle-design3 .arena-ground-shadows{display:none}.battle-design3 .battle-command{padding:8px 10px!important;gap:5px!important}.battle-design3 .battle-energy-row{min-height:24px;flex-wrap:nowrap;gap:6px}.battle-design3 .class-statuses{display:flex;flex-wrap:wrap;min-height:0;gap:4px}.battle-design3 .class-statuses span{font-size:11px;padding:3px 5px}.battle-design3 .action-list{width:100%!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:6px!important;margin:0!important}.battle-design3 .action-list .battle-skill{height:123px!important;min-height:0!important;display:block!important;text-align:left;align-items:normal;padding:6px!important;border-width:4px!important;overflow:hidden!important}.battle-design3 .battle-card-heading{display:flex;align-items:center;gap:6px;min-height:32px}.battle-design3 .battle-card-heading .ability-art,.battle-design3 .battle-card-heading .class-ability,.battle-design3 .battle-card-heading .class-skill-icon{width:33px!important;height:33px!important;flex:none;object-fit:contain}.battle-design3 .battle-skill-name{display:block;line-height:1.18;font:14px Georgia;color:#f3dab0}.battle-design3 .battle-shortcut{right:0;left:auto;top:0;font-size:9px;padding:0 2px}.battle-design3 .skill-price{display:none!important}.battle-card-metrics{display:flex;align-items:center;justify-content:space-between;gap:3px;border-block:1px solid #9a753b66;margin:5px 0;padding:4px 0;font:10px Georgia;color:#bda47a}.battle-card-metrics b{font-size:13px;color:#f2d49c}.battle-card-effect{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font:11px/1.4 Georgia;color:#cdb58d}.battle-design3 .battle-turn-summary{font:12px/1.3 Georgia;margin:1px 0!important}.battle-design3 .battle-journal{padding:13px!important;align-self:start}.battle-design3 .battle-journal h2{font-size:21px;margin:4px 0 14px}.battle-design3 .battle-journal p{font-size:14px;line-height:1.45}.battle-design3 .battle-shield{font-size:11px;white-space:nowrap}.battle-design3 .floating-damage{top:40%;opacity:0}.battle-design3 .fighter-ghost{display:none}
@media(min-width:901px) and (max-height:800px){body[data-layout=sidebar] .citadel-brand{height:116px!important;top:6px!important}body[data-layout=sidebar] .layout-navigation{top:137px!important;bottom:218px!important;gap:5px}body[data-layout=sidebar] .layout-navigation>button{height:52px!important;min-height:52px!important;font-size:17px}body[data-layout=sidebar] .top-actions{bottom:10px;gap:5px!important}body[data-layout=sidebar] .top-actions>button,body[data-layout=sidebar] .top-actions>.layout-language{min-height:35px!important;font-size:14px!important;padding:5px 9px!important}.battle-design3 .battle-scene{min-height:255px!important;height:calc(100dvh - 315px)!important}.battle-design3 .action-list .battle-skill{height:110px!important}.battle-design3 .battle-card-heading{min-height:28px}.battle-design3 .battle-card-heading .class-skill-icon{width:28px!important;height:28px!important}.battle-design3 .battle-skill-name{font-size:12px}.battle-design3 .battle-card-metrics{font-size:9px}.battle-design3 .battle-card-effect{font-size:10px}.battle-design3 .battle-ground{top:104px;bottom:23px}.layout-footer{padding-block:5px!important}.layout-footer .footer-resource-badge{max-height:70px}.layout-footer .layout-jobs{display:none}}
@media(max-width:1100px){.battle-design3,.eb-content .battle-design3{grid-template-columns:1fr!important}.battle-design3 .battle-journal{display:flex;align-items:center;gap:10px;grid-column:1;grid-row:3;padding:5px 9px!important}.battle-design3 .battle-journal>h2,.battle-design3 .battle-journal>p{display:none}.battle-design3 .battle-journal details{flex:1}.battle-design3 .battle-journal button{width:auto!important;min-height:35px!important}.battle-design3 .battle-journal summary{min-height:30px;font-size:13px}.battle-design3 .battle-scene{height:clamp(300px,calc(100dvh - 370px),600px)!important}.battle-design3 .battle-card-effect{font-size:11px}}
@media(max-width:900px){body[data-layout=sidebar] #app{grid-template-rows:46px minmax(0,1fr) auto!important}body[data-layout=sidebar] .layout-topbar{height:46px!important;display:flex!important;grid-column:1;grid-row:1;justify-content:flex-start;align-items:center}.layout-menu-open{display:inline-flex!important;margin:5px 9px;position:relative;z-index:9}body[data-layout=sidebar] .citadel-brand{position:absolute!important;left:68px!important;top:2px!important;height:42px!important;width:calc(100vw - 85px)!important;justify-content:flex-start!important}body[data-layout=sidebar] .citadel-brand .citadel-full{display:none!important}body[data-layout=sidebar] .citadel-brand .citadel-compact{display:flex!important}.citadel-compact>img{height:37px;width:37px}.citadel-compact>span{font-size:11px}.citadel-compact .brand-version{display:none}body[data-layout=sidebar] .layout-navigation{top:24px!important;bottom:235px!important;z-index:6}.layout-nav-heading{padding-bottom:4px}body[data-layout=sidebar] .layout-navigation>button{height:56px!important;min-height:56px!important;font-size:18px}body[data-layout=sidebar] .top-actions{visibility:hidden;transform:translateX(-120%);width:min(calc(var(--layout-sidebar) - 32px),calc(88vw - 32px));left:16px;bottom:15px;z-index:7}body[data-layout=sidebar] #app.sidebar-open .top-actions{visibility:visible;transform:none}body[data-layout=sidebar] #app.sidebar-open .citadel-brand{visibility:hidden}.battle-design3 .battle-top{gap:7px;left:5px;right:5px;top:5px}.battle-design3 .battle-top section{padding:5px;border-width:3px;border-image-width:3px}.battle-design3 .battle-identity{display:block}.battle-design3 .battle-identity strong{font-size:12px}.battle-design3 .battle-top [data-combat-health]{font-size:17px;margin-top:3px}.battle-design3 .battle-top .meter{height:10px;margin:4px 0}.battle-design3 .class-energy{gap:3px;font-size:10px}.battle-design3 .class-energy>strong{font-size:10px!important}.battle-design3 .class-energy>b{font-size:11px}.battle-design3 [data-energy-pips]{gap:2px}.battle-design3 .class-energy i{width:10px;height:7px}.battle-stat-row{gap:6px;margin-top:4px;flex-wrap:wrap}.battle-stat-row>span{font-size:10px!important}.battle-stat-row .icon{width:12px;height:12px}.battle-design3 .battle-intent>span{display:block}.battle-design3 .battle-intent strong{font-size:11px!important}.battle-design3 .battle-intent b{font-size:10px}.battle-design3 .battle-ground{top:118px;bottom:25px;left:1%;right:1%}.battle-design3 .hero-fighter{left:5%!important}.battle-design3 .enemy-fighter{right:5%!important}.battle-design3 .battle-scene{height:clamp(320px,43dvh,520px)!important;min-height:320px!important}.battle-design3 .action-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}.battle-design3 .action-list .battle-skill{height:116px!important}.battle-design3 .action-list .battle-skill:last-child{grid-column:1/-1}.battle-design3 .battle-skill-name{font-size:14px}.battle-design3 .battle-card-metrics{font-size:11px}.battle-design3 .battle-card-effect{font-size:12px}.battle-design3 .battle-card-heading .class-skill-icon{width:34px!important;height:34px!important}.battle-design3 .battle-callout{font-size:13px;top:55%}.battle-design3 .battle-round{font-size:10px}.battle-design3 .battle-turn-summary{font-size:12px}.battle-design3 .mobile-battle-pause{font-size:12px!important}.battle-design3 .battle-command{overflow:visible!important}.battle-design3 .battle-journal{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.top-actions{transition:none!important}}

.pet-art-native{background:none!important}.pet-art-native>.game-sprite{display:block;width:100%;height:100%;object-fit:contain}.battle-design3 .battle-pet-portrait{filter:none}.battle-design3 .battle-pet-portrait>.game-sprite{filter:none}

.enemy-puppet.enemy-mirror{transform:scaleX(-1)}.battle-design3 .enemy-puppet .game-sprite{width:100%;height:100%}.battle-design3 .battle-top .battle-shield[hidden]{display:none!important}

@media(min-width:1101px){.battle-design3 .battle-scene{height:clamp(280px,calc(100dvh - 430px),700px)!important;min-height:280px!important}.battle-design3 .battle-stat-row{display:flex!important}.battle-design3 .battle-stat-row>span{display:flex!important;align-items:center!important;gap:4px!important;flex-direction:row!important}}
@media(min-width:901px) and (max-height:800px){.battle-design3 .battle-scene{height:calc(100dvh - 400px)!important;min-height:255px!important}}

.articulated-hero[data-appearance-ready=pending]>.live-hero-rig{visibility:hidden}.articulated-hero[data-appearance-ready=pending]:after{content:"…";position:absolute;left:45%;top:45%;color:#ddc28b;font:28px Georgia}.articulated-hero[data-appearance-ready=error]:after{content:"Obnovit obrázek";color:#dfc28e;font:13px Georgia}

body[data-mode=combat] .eb-content{padding:0!important;max-width:none!important;width:100%!important}body[data-mode=combat] .ep-title{margin:0 0 8px!important;min-height:0!important}body[data-mode=combat] .ep-title h1{font:24px Georgia;margin:5px 0!important}.qa-combat-tools{min-height:30px;font:12px Georgia!important}.qa-combat-tools label{display:flex!important;align-items:center!important;gap:6px!important;font-size:12px!important}.qa-combat-tools select,.qa-combat-tools button{height:29px!important;min-height:29px!important;font:12px Georgia!important;padding:4px 8px!important}

.battle-v100.battle-design3 .battle-skill-name{display:block!important}.battle-v100.battle-design3 .mobile-battle-pause{height:28px!important;min-height:28px!important;padding:3px 8px!important}.battle-v100.battle-design3 .battle-energy-row{min-height:28px!important}.battle-v100.battle-design3 .battle-card-heading{display:flex!important}.battle-v100.battle-design3 .battle-command{padding:5px 9px!important}.battle-v100.battle-design3 .action-list .battle-skill{height:113px!important}.battle-v100.battle-design3 .instant-action-hint{padding:0!important;min-height:0!important}.battle-v100.battle-design3 .battle-card-effect{color:#dbc49b}
@media(min-width:1101px){.battle-v100.battle-design3 .battle-scene{height:clamp(280px,calc(100dvh - 450px),680px)!important}}@media(max-width:900px){.battle-v100.battle-design3 .action-list .battle-skill{height:122px!important}.battle-v100.battle-design3 .battle-skill-name{font-size:14px!important}}

body[data-layout=sidebar][data-mode=combat] #app .eb-content .battle-v100.battle-design3 .action-list button .battle-card-heading,body[data-layout=sidebar][data-mode=combat] #app .eb-content .battle-v100.battle-design3 .action-list button .battle-skill-name{display:flex!important;align-items:center!important}body[data-layout=sidebar][data-mode=combat] #app .eb-content .battle-v100.battle-design3 .action-list button .battle-skill-name{display:block!important;font:14px/1.2 Georgia!important;color:#f0d7aa!important;white-space:normal!important}

body[data-layout=sidebar] .layout-menu-open>.smith-button-label{display:inline!important}body[data-layout=sidebar] .layout-menu-open>.smith-button-label>span{display:none!important}
