/* Scoped to the character adventure. Card duels, raid battles and tutorials retain their layout. */
#aventura-combat-screen.iv91{--iv91-gold:#cba96a;--iv91-cream:#f5e3ba;--iv91-tilt:0deg;background:#08090d;isolation:isolate;overflow:auto!important;overflow-x:hidden!important;overscroll-behavior:contain;color:var(--iv91-cream)}
#aventura-combat-screen.iv91 *{box-sizing:border-box}
#aventura-combat-screen.iv91 .av-arena-bg{position:fixed!important;opacity:1!important;filter:brightness(.68) saturate(.76)!important;background-color:#0b1015!important;transform:none;pointer-events:none}
#aventura-combat-screen.iv91 .av-arena-bg::after{content:"";position:absolute;inset:0;background:linear-gradient(#06080cc2 0%,#080a0d1a 26%,#10101415 48%,#08090ddc 91%),radial-gradient(ellipse at center,transparent 30%,#020308b3 100%)}
#aventura-combat-screen.iv91 .av-arena-sky{opacity:.14!important;animation:none!important}
#aventura-combat-screen.iv91 .av-arena-fog{opacity:.2!important;animation:none!important;pointer-events:none}
#aventura-combat-screen.iv91 .av-combat-chrome{display:flex!important;flex-direction:column!important;min-height:100%!important;height:auto!important;overflow:visible!important;gap:0!important;position:relative!important;z-index:1}
#aventura-combat-screen.iv91 .av-combat-header{display:grid!important;grid-template-columns:115px minmax(0,1fr) 115px!important;min-height:72px!important;padding:10px clamp(12px,3vw,42px)!important;background:linear-gradient(#090a0eef,#171316db)!important;border-bottom:1px solid #9f7b404f!important;box-shadow:0 10px 28px #0005;gap:12px!important}
#aventura-combat-screen.iv91 .av-combat-title{font:600 clamp(12px,1.4vw,19px)/1.3 Georgia,serif!important;letter-spacing:.07em!important;text-align:center;text-wrap:balance}
#aventura-combat-screen.iv91 .av-turn-pill{font:700 10px/1.2 Arial,sans-serif;letter-spacing:.14em;text-transform:uppercase;padding:5px 18px;background:#100f0cf2;border:1px solid #947247;border-radius:2px;color:#eecf8d;margin-top:3px}
#aventura-combat-screen.iv91 .av-turn-pill.enemy-turn{color:#d2bab6;border-color:#74544c;background:#1d1114}
#aventura-combat-screen.iv91 .av-flee-btn{display:flex!important;align-items:center;justify-content:center;min-height:44px!important;width:100%!important;max-width:108px;visibility:visible!important;opacity:1!important;clip-path:none;background:linear-gradient(#231e1c,#100d0f)!important;color:#e7cea0!important;border:1px solid #82663c!important;border-radius:3px;font:700 12px Georgia,serif;padding:10px!important;cursor:pointer}
#aventura-combat-screen.iv91 .av-combat-spacer{flex:none!important;min-width:0!important;gap:6px!important}
#aventura-combat-screen.iv91 .a82-launch{width:44px;height:44px;min-width:44px;flex-basis:44px;position:relative!important;inset:auto!important}
#aventura-combat-screen.iv91 .iv91-location{font:11px/1.5 Arial,sans-serif;letter-spacing:.14em;text-align:center;text-transform:uppercase;color:#d7c39c;padding:13px 14px 2px;min-height:30px;text-shadow:0 2px 4px #000}
#aventura-combat-screen.iv91 .av-combat-arena{display:grid!important;grid-template-columns:1fr 1fr!important;grid-template-rows:auto!important;gap:clamp(36px,10vw,150px)!important;align-items:start!important;align-content:center!important;overflow:visible!important;padding:30px 40px 14px!important;width:min(100%,1040px)!important;max-width:1040px!important;margin:auto!important;min-height:0!important;position:relative;flex:1 0 auto!important;perspective:1100px}
#aventura-combat-screen.iv91 .av-combat-player,#aventura-combat-screen.iv91 .av-combat-enemy{display:flex!important;flex-direction:column!important;width:100%!important;min-width:0!important;max-width:360px!important;justify-self:center;align-self:start;padding:0!important;background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;gap:8px!important;position:relative!important;inset:auto!important;overflow:visible!important;isolation:isolate;transform:none!important}
#aventura-combat-screen.iv91 .av-combat-player{grid-column:1!important;grid-row:1!important}
#aventura-combat-screen.iv91 .av-combat-enemy{grid-column:2!important;grid-row:1!important}
#aventura-combat-screen.iv91 .av-combat-player::after,#aventura-combat-screen.iv91 .av-combat-enemy::after{content:"";position:absolute;left:2%;right:2%;top:calc(var(--iv91-card-h,405px) - 10px);height:32px;z-index:-1;background:radial-gradient(ellipse,#efb45455 0%,#3c28266b 38%,transparent 68%);border-bottom:2px solid #b98d4966;border-radius:50%;filter:blur(1px);pointer-events:none}
#aventura-combat-screen.iv91 .rpg-combat-label,#aventura-combat-screen.iv91 #av-combat-char-name{display:none!important}
#aventura-combat-screen.iv91 .av-combat-portrait,#aventura-combat-screen.iv91 #av-enemy-card-wrap{width:var(--iv91-card-w)!important;height:var(--iv91-card-h)!important;min-height:0!important;max-width:none!important;max-height:none!important;aspect-ratio:2/3!important;border:0!important;border-radius:0!important;overflow:visible!important;background:none!important;box-shadow:none!important;position:relative!important;flex:0 0 auto!important;order:0;margin:0!important;z-index:2}
#aventura-combat-screen.iv91 .av-combat-portrait::before,#aventura-combat-screen.iv91 .av-combat-portrait::after{display:none!important}
#aventura-combat-screen.iv91{--iv91-card-w:clamp(220px,31vh,310px);--iv91-card-h:calc(var(--iv91-card-w)*1.5)}
@supports(height:1dvh){#aventura-combat-screen.iv91{--iv91-card-w:clamp(220px,31dvh,310px)}}
#aventura-combat-screen.iv91 .iv91-card{width:100%;height:100%;position:relative;isolation:isolate;transform:rotateY(var(--iv91-tilt));transition:transform .16s ease-out;--iv91-edge:#c9a972;--iv91-tint:grayscale(1) sepia(.8) saturate(1.1);filter:drop-shadow(0 16px 13px #0009)}
#aventura-combat-screen.iv91 .iv91-champion{--iv91-edge:#89dba6;--iv91-tint:grayscale(1) sepia(1) saturate(2) hue-rotate(76deg)}
#aventura-combat-screen.iv91 .iv91-seasonal{--iv91-edge:#b8a6c6;--iv91-tint:grayscale(1) brightness(.75)}
#aventura-combat-screen.iv91 .iv91-silver{--iv91-edge:#d4e1f2;--iv91-tint:grayscale(1) brightness(1.1)}
#aventura-combat-screen.iv91 .iv91-gold{--iv91-edge:#efd095;--iv91-tint:grayscale(1) sepia(1) saturate(2)}
#aventura-combat-screen.iv91 .iv91-card-depth{position:absolute;inset:4% 1% 1%;border:1px solid #c29b6166;background:linear-gradient(120deg,#0c1115dd,#1b141bd9);border-radius:13px;box-shadow:inset 0 0 26px #000,5px 7px 0 #171416,6px 8px 0 #8f6c3d,0 0 35px #dfa75b12}
#aventura-combat-screen.iv91 .iv91-card-window{position:absolute;inset:13% 6% 8%;background:radial-gradient(ellipse at 50% 28%,#8c604235,#0b10197d 57%,#06080dec);border-left:1px solid #b895544d;border-right:1px solid #b895544d}
#aventura-combat-screen.iv91 .iv91-card-window::after{content:"";position:absolute;inset:12% 9%;border:1px solid #b6944633;border-radius:50%;box-shadow:0 0 35px #b673451a,inset 0 0 35px #bc713e13;transform:rotate(-18deg)}
#aventura-combat-screen.iv91 .iv91-frame{display:block!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;object-fit:fill!important;object-position:center!important;border:0!important;border-radius:0!important;z-index:2;pointer-events:none;filter:var(--iv91-tint)!important;mask-image:linear-gradient(#000 0 14%,transparent 14% 89%,#000 89%),linear-gradient(90deg,#000 0 7%,transparent 7% 93%,#000 93%);-webkit-mask-image:linear-gradient(#000 0 14%,transparent 14% 89%,#000 89%),linear-gradient(90deg,#000 0 7%,transparent 7% 93%,#000 93%)}
#aventura-combat-screen.iv91 .iv91-figure{position:absolute;left:-12%;top:8%;width:124%;height:83%;z-index:3;pointer-events:none;filter:drop-shadow(0 3px 5px #0009);mask-image:linear-gradient(#000 0 78%,transparent 99%);-webkit-mask-image:linear-gradient(#000 0 78%,transparent 99%)}
#aventura-combat-screen.iv91 .iv91-figure img{display:block!important;position:absolute!important;inset:0 auto auto 0!important;width:100%!important;height:auto!important;object-fit:contain!important;object-position:center!important;max-width:none!important;min-width:0!important;transform:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;mix-blend-mode:normal}
#aventura-combat-screen.iv91 .iv91-figure.iv91-portrait{left:8%;top:14%;width:84%;height:77%;z-index:1;mask-image:linear-gradient(#000 0 72%,transparent 100%);-webkit-mask-image:linear-gradient(#000 0 72%,transparent 100%)}
#aventura-combat-screen.iv91 .iv91-portrait img{height:100%!important;object-fit:cover!important;object-position:center top!important;transform:none!important}
#aventura-combat-screen.iv91 .iv91-art-error::after{content:"ILUSTRACIÓN NO DISPONIBLE";position:absolute;inset:25% 15%;display:grid;place-items:center;border:1px solid #a18352;color:#d8c39f;text-align:center;font:11px/1.8 Arial,sans-serif;letter-spacing:.15em}
#aventura-combat-screen.iv91 .iv91-name{position:absolute;left:22%;top:3.5%;width:52%;height:6.5%;display:flex;align-items:center;justify-content:center;text-align:center;font:700 clamp(12px,1.6vw,18px)/1.08 Georgia,serif;text-wrap:balance;overflow-wrap:anywhere;color:#fff0d1;text-shadow:0 2px 3px #000;z-index:5}
#aventura-combat-screen.iv91 .iv91-long-name .iv91-name{font-size:14px}
#aventura-combat-screen.iv91 .iv91-level{position:absolute;top:2.6%;left:79%;width:15%;height:9.4%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;z-index:5;color:#ffe8bb;text-shadow:0 2px 4px #000}
#aventura-combat-screen.iv91 .iv91-level small{font:700 9px/1 Arial,sans-serif;letter-spacing:.08em}
#aventura-combat-screen.iv91 .iv91-level b{font:700 clamp(24px,3vw,32px)/1 Georgia,serif}
#aventura-combat-screen.iv91 .iv91-edition{position:absolute;left:20%;width:60%;bottom:5.5%;z-index:5;font:700 10px/1.2 Georgia,serif;letter-spacing:.16em;text-transform:uppercase;text-align:center;color:#e8d6af}
#aventura-combat-screen.iv91 .av-ext-hp-wrap{order:1!important;position:relative!important;inset:auto!important;width:calc(var(--iv91-card-w) + 10px)!important;max-width:100%!important;margin:0!important;padding:4px 9px!important;height:32px!important;background:linear-gradient(#302822,#141318);border:1px solid #8c724c;border-radius:2px;box-shadow:0 2px 0 #000,inset 0 0 0 2px #070709;z-index:3}
#aventura-combat-screen.iv91 .av-ext-hp-bar-bg{width:100%!important;height:100%!important;margin:0!important;background:#19090d!important;border:1px solid #0c0507!important;border-radius:0!important;box-shadow:inset 0 1px 4px #000!important;overflow:hidden}
#aventura-combat-screen.iv91 .av-ext-hp-bar-fill{height:100%!important;background:linear-gradient(#ed8d7766,#b52c27 20%,#8a161e 64%,#420b17)!important;border-radius:0!important;transition:width .24s ease-out;box-shadow:inset 0 1px 0 #ffd0a755!important}
#aventura-combat-screen.iv91 .av-ext-hp-bar-fill::after{display:none!important}
#aventura-combat-screen.iv91 .av-ext-hp-nums{position:absolute!important;inset:0!important;margin:0!important;display:flex;align-items:center;justify-content:center;font:700 14px/1 Georgia,serif!important;letter-spacing:.02em!important;color:#fff2db!important;text-shadow:0 1px 3px #000,0 0 4px #000;z-index:2}
#aventura-combat-screen.iv91 .av-player-stats{order:2;gap:16px!important;margin:0!important;font:12px/1.4 Arial,sans-serif!important;justify-content:center;flex-wrap:wrap}
#aventura-combat-screen.iv91 .iv91-enemy-stats{order:2;font:12px/1.4 Arial,sans-serif;color:#e1d0ae;text-align:center}
#aventura-combat-screen.iv91 .av-pstat{background:none!important;border:0!important;padding:0!important;color:#e1d0ae!important}
#aventura-combat-screen.iv91 .av-pstat:first-child{display:none!important}
#aventura-combat-screen.iv91 #v57-protection,#aventura-combat-screen.iv91 #territory65-combat{order:3!important;max-width:100%;font:10px/1.35 Arial,sans-serif!important;margin:0!important;padding:4px 7px!important;border-color:#94774a55;background:#0d1118c9!important;text-align:center;color:#d9c59e}
#aventura-combat-screen.iv91 #v57-protection svg{height:14px;width:12px}
#aventura-combat-screen.iv91 #h59-passives,#aventura-combat-screen.iv91 #av49-enemy-skills{order:4!important;margin:0!important;gap:5px;display:flex;flex-wrap:wrap;justify-content:center;max-width:100%}
#aventura-combat-screen.iv91 #h59-passives button,#aventura-combat-screen.iv91 .av49-skill{width:30px;height:30px;min-height:30px;padding:2px;background:#0b0e12;border:1px solid #685638}
#aventura-combat-screen.iv91 #h59-passives .h59-art{width:24px;height:24px}
#aventura-combat-screen.iv91 .av49-skill .v20-skill-art{width:24px;height:24px}
#aventura-combat-screen.iv91 #av49-effects{order:5!important;font:11px/1.3 Arial,sans-serif!important;color:#ddbbaa;background:#0b0d1499;padding:4px;text-align:center}
#aventura-combat-screen.iv91 .iv91-versus{position:absolute;left:50%;top:43%;transform:translate(-50%,-50%) rotate(45deg);width:45px;height:45px;border:1px solid #ae885456;background:#130f13b8;color:transparent;pointer-events:none;box-shadow:0 0 26px #0009}
#aventura-combat-screen.iv91 .iv91-versus::after{content:"VS";position:absolute;inset:0;display:grid;place-items:center;transform:rotate(-45deg);color:#c3a876;font:700 15px Georgia,serif}
#aventura-combat-screen.iv91 .iv91-dock{position:relative;width:min(calc(100% - 40px),1080px);margin:16px auto max(18px,env(safe-area-inset-bottom));padding:20px 26px 15px;background:linear-gradient(120deg,#201822f5,#111017f5 45%,#1c171bf5);border:1px solid #8f6938;box-shadow:0 -15px 50px #0006,0 8px 25px #0008,inset 0 0 0 4px #08090d,inset 0 0 0 5px #ae875a33;z-index:4}
#aventura-combat-screen.iv91 .iv91-dock::before{content:"";position:absolute;inset:-9px;pointer-events:none;z-index:0;border:18px solid transparent;border-image:url('../img/throne-v83/frame.png') 80 fill / 22px / 0 stretch;opacity:.8}
#aventura-combat-screen.iv91 .iv91-dock>*{position:relative;z-index:1}
#aventura-combat-screen.iv91 .iv91-dock-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 10px;font:9px/1.4 Arial,sans-serif;letter-spacing:.18em;color:#b7a382}
#aventura-combat-screen.iv91 .iv91-hint{display:none}
#aventura-combat-screen.iv91 #h59-skill-info{font:10px/1.4 Arial,sans-serif!important;letter-spacing:.015em;padding:3px!important;margin:0!important;color:#c8b691;text-decoration:underline;background:none;border:0;min-height:24px;cursor:pointer}
#aventura-combat-screen.iv91 .av-combat-actions{display:grid!important;grid-template-columns:minmax(150px,190px) minmax(0,1fr) 132px!important;align-items:center!important;width:100%!important;padding:0!important;background:none!important;border:0!important;gap:18px!important;margin:0!important}
#aventura-combat-screen.iv91 .av-combat-actions>button{width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;padding:12px!important;min-height:68px!important;height:68px!important;border-radius:3px!important;clip-path:none!important;transform:none!important;letter-spacing:.08em!important;cursor:pointer;flex:none!important}
#aventura-combat-screen.iv91 #av-btn-attack{display:flex!important;flex-direction:row!important;align-items:center;justify-content:center;gap:10px;background:radial-gradient(ellipse at top,#d7514030,transparent 68%),linear-gradient(#811c25,#51101a 60%,#340d17)!important;color:#ffe7b5!important;border:1px solid #d7ad62!important;box-shadow:inset 0 0 0 3px #311719,inset 0 0 0 4px #b382485e,0 4px 13px #0009!important}
#aventura-combat-screen.iv91 #av-btn-attack:not(:disabled):hover{background:linear-gradient(#a82b32,#641924)!important;box-shadow:inset 0 0 0 3px #3f131a,0 0 18px #d445342f!important}
#aventura-combat-screen.iv91 #av-btn-attack:disabled{opacity:.5!important;filter:saturate(.4);cursor:wait}
#aventura-combat-screen.iv91 #av-btn-attack::before{display:none!important}
#aventura-combat-screen.iv91 .av-action-icon{display:block!important;height:40px;width:40px;flex-shrink:0}
#aventura-combat-screen.iv91 .iv91-sword{display:block;width:100%;height:100%;background:url('../img/throne-v83/icons.png') 66.6667% 0 / 400% 400% no-repeat;filter:drop-shadow(0 2px 3px #000)}
#aventura-combat-screen.iv91 .av-action-label{font:700 19px/1 Georgia,serif!important;letter-spacing:.09em!important}
#aventura-combat-screen.iv91 #av-btn-auto{display:flex!important;flex-direction:column!important;align-items:center;justify-content:center;gap:4px;background:linear-gradient(#272323,#141117)!important;border:1px solid #8f734b!important;color:#e7d5af!important;box-shadow:inset 0 0 0 3px #0a0b10!important}
#aventura-combat-screen.iv91 #av-btn-auto.active,#aventura-combat-screen.iv91 #av-btn-auto.auto-on{border-color:#d7b264!important;background:linear-gradient(#393022,#1f221c)!important;box-shadow:inset 0 0 0 3px #14110f,0 0 15px #c9933028!important}
#aventura-combat-screen.iv91 #av-btn-auto .auto-icon{display:none!important}
#aventura-combat-screen.iv91 #av-btn-auto .auto-label{font:700 10px/1.3 Arial,sans-serif!important;letter-spacing:.1em!important;color:inherit}
#aventura-combat-screen.iv91 #av-btn-auto .auto-timer{font:14px/1 Georgia,serif!important;color:#eed5a0!important;margin:0!important}
#aventura-combat-screen.iv91 #av-skill-bar.s61-support{display:flex!important;align-items:flex-start!important;justify-content:center!important;flex-wrap:wrap!important;gap:12px!important;max-width:none!important;width:100%!important;margin:0!important;padding:0!important;min-width:0!important}
#aventura-combat-screen.iv91 .iv91-skills,#aventura-combat-screen.iv91 .iv91-potions{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;max-width:100%}
#aventura-combat-screen.iv91 .iv91-potions{padding-left:12px;border-left:1px solid #b393584a}
#aventura-combat-screen.iv91 #av-skill-bar .h59-skill{position:relative;display:flex;align-items:center;justify-content:flex-start;flex-direction:column;width:66px!important;min-width:60px!important;max-width:74px!important;height:78px!important;min-height:78px!important;max-height:none!important;padding:5px 3px!important;margin:0!important;gap:3px!important;background:linear-gradient(#292326,#100f15)!important;border:1px solid #94733e;border-radius:2px!important;box-shadow:inset 0 0 0 2px #05070d!important;touch-action:manipulation;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;cursor:pointer}
#aventura-combat-screen.iv91 #av-skill-bar .h59-skill:not(:disabled):hover{border-color:#f1d095;box-shadow:inset 0 0 0 2px #080810,0 0 12px #bc873d55!important}
#aventura-combat-screen.iv91 #av-skill-bar .h59-skill:disabled{opacity:.55;cursor:default}
#aventura-combat-screen.iv91 #av-skill-bar .h59-skill.cooldown{opacity:.82}
#aventura-combat-screen.iv91 #av-skill-bar .h59-art{width:42px!important;height:42px!important;min-height:42px!important;aspect-ratio:1}
#aventura-combat-screen.iv91 #av-skill-bar .h59-skill>span:last-of-type{font:10px/1.12 Arial,sans-serif!important;min-height:22px!important;color:#f2dfb6;letter-spacing:0!important;max-width:100%;text-align:center}
#aventura-combat-screen.iv91 .s61-stock{top:3px;right:3px;font:700 11px/1 Arial,sans-serif;padding:3px;color:#f8e1b8;background:#190d10;border-color:#b38449;z-index:3}
#aventura-combat-screen.iv91 .h59-cooldown{position:absolute;inset:3px 3px auto!important;height:46px;display:flex;flex-direction:column;justify-content:center;align-items:center;background:#06060bbd;color:#f6e7c8;text-shadow:0 2px 4px #000;font:700 22px/1 Georgia,serif;pointer-events:none}
#aventura-combat-screen.iv91 .h59-cooldown b{font:inherit}
#aventura-combat-screen.iv91 .h59-cooldown small{font:700 7px/1.4 Arial,sans-serif;letter-spacing:.12em}
#aventura-combat-screen.iv91 #v57-hero-progress{display:block!important;width:100%!important;max-width:none!important;margin:12px 0 0!important;padding:0!important;border:0!important;background:none!important;border-radius:0!important;box-shadow:none!important}
#aventura-combat-screen.iv91 #v57-hero-progress>img,#aventura-combat-screen.iv91 #v57-hero-progress>div>strong{display:none!important}
#aventura-combat-screen.iv91 .v57-xp{width:100%;margin:0;display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center;padding:0!important;border:0;background:transparent;color:#d0c0a1}
#aventura-combat-screen.iv91 .v57-xp-track{height:7px!important;background:#0c0c11!important;border:1px solid #8c6d3f!important}
#aventura-combat-screen.iv91 .v57-xp-track>i{background:linear-gradient(90deg,#614123,#f4cb75)!important;box-shadow:0 0 5px #e4b34c33}
#aventura-combat-screen.iv91 .v57-xp>small{font:10px Arial,sans-serif;color:#d4bf9c}
#aventura-combat-screen.iv91 .v57-xp-detail{font:11px/1.5 Arial,sans-serif;color:#d9c49e;padding-top:5px}
#aventura-combat-screen.iv91 .av-combat-center{display:block!important;position:relative!important;width:100%!important;margin:7px 0 0!important;padding:0!important;overflow:visible!important}
#aventura-combat-screen.iv91 .rpg-journal{border:0!important;border-top:1px solid #82613b33!important;border-radius:0!important;background:none!important;padding:6px 0 0!important}
#aventura-combat-screen.iv91 .rpg-journal summary{font:10px Arial,sans-serif;color:#b9a37d;cursor:pointer;width:max-content;min-height:20px}
#aventura-combat-screen.iv91 .av-combat-log{font:11px/1.5 Arial,sans-serif!important;max-height:95px!important;padding:6px 0!important;margin-top:4px!important;background:#0b0c1299!important}
#aventura-combat-screen.iv91 .iv91-tooltip{position:fixed;z-index:80;width:max-content;max-width:min(330px,calc(100vw - 20px));padding:13px 16px;background:linear-gradient(#251b22fa,#0c0d14fa);border:1px solid #bd985b;border-radius:3px;color:#eeddbc;font:13px/1.6 Arial,sans-serif;box-shadow:0 6px 26px #000b;pointer-events:none}
#aventura-combat-screen.iv91 button:focus-visible{outline:2px solid #ffe1a0!important;outline-offset:3px}
#aventura-combat-screen.iv91 .iv91-defeated .iv91-figure{filter:grayscale(.9) brightness(.45)}
#aventura-combat-screen.iv91 .iv91-critical .av-ext-hp-wrap{box-shadow:0 0 16px #9a1c364d,inset 0 0 0 2px #070709}
#aventura-combat-screen.iv91 [hidden]{display:none!important}
/* One brief entrance. Cosmetic animations do not delay or acknowledge a server command. */
#aventura-combat-screen.iv91.iv91-enter .iv91-card{animation:iv91-arrive .72s cubic-bezier(.18,.68,.18,1) both}
#aventura-combat-screen.iv91.iv91-enter .av-combat-enemy .iv91-card{animation-delay:.08s}
#aventura-combat-screen.iv91 .iv91-rune{position:absolute;top:calc(var(--iv91-card-h) - 45px);left:2%;width:96%;height:80px;border:2px solid #eac781bb;box-shadow:0 0 18px #e0a65188,inset 0 0 22px #e0a65133;border-radius:50%;transform:rotateX(62deg);pointer-events:none;z-index:0;animation:iv91-rune 1s ease-out both}
#aventura-combat-screen.iv91 .iv91-mote{position:absolute;top:70%;left:calc(12% + var(--n)*14%);width:3px;height:3px;background:#ffe2a1;border-radius:50%;box-shadow:0 0 6px #eeb86d;z-index:4;pointer-events:none;animation:iv91-mote .9s ease-out both;animation-delay:calc(var(--n)*.025s)}
#aventura-combat-screen.iv91 .iv91-fx{position:absolute;inset:12% 0 30%;pointer-events:none;z-index:7;overflow:hidden;animation:iv91-flash .44s ease-out both}
#aventura-combat-screen.iv91 .iv91-fx-strike::before,#aventura-combat-screen.iv91 .iv91-fx-strike::after{content:"";position:absolute;width:80%;height:3px;top:43%;left:10%;background:linear-gradient(90deg,transparent,#fff4d6 45%,#e2b259,transparent);box-shadow:0 0 12px #ffb955;transform:rotate(-33deg)}
#aventura-combat-screen.iv91 .iv91-fx-strike::after{top:54%;left:20%;width:65%;height:2px;opacity:.5}
#aventura-combat-screen.iv91 .iv91-fx-heal{background:radial-gradient(ellipse,#aef2b23a,transparent 64%);box-shadow:inset 0 -12px 20px #9ae7b92b}
@keyframes iv91-arrive{from{opacity:0;transform:translateY(22px) scale(.91) rotateY(-8deg);filter:brightness(1.5) drop-shadow(0 0 16px #f5c45e55)}to{opacity:1;transform:translateY(0) scale(1);filter:drop-shadow(0 16px 13px #0009)}}
@keyframes iv91-rune{0%{opacity:0;scale:.65}30%{opacity:.9}100%{opacity:0;scale:1.15}}
@keyframes iv91-mote{0%{opacity:0;translate:0 10px}22%{opacity:1}100%{opacity:0;translate:0 -95px}}
@keyframes iv91-flash{0%{opacity:0;translate:6px 4px}20%{opacity:.95}100%{opacity:0;translate:-10px -5px}}
@media(min-width:1500px) and (min-height:900px){#aventura-combat-screen.iv91{--iv91-card-w:330px}#aventura-combat-screen.iv91 .av-combat-arena{max-width:1140px!important;width:1140px!important}}
@media(max-width:700px){
 #aventura-combat-screen.iv91{--iv91-card-w:min(42vw,220px);--iv91-card-h:calc(var(--iv91-card-w)*1.5)}
 #aventura-combat-screen.iv91 .av-combat-header{grid-template-columns:56px minmax(0,1fr) 92px!important;padding:8px!important;gap:6px!important;min-height:67px!important}
 #aventura-combat-screen.iv91 .av-flee-btn{font-size:10px!important;padding:8px 3px!important}
 #aventura-combat-screen.iv91 .av-combat-title{font-size:11px!important;letter-spacing:.02em!important}
 #aventura-combat-screen.iv91 .av-turn-pill{font-size:8px;padding:4px 9px;letter-spacing:.08em}
 #aventura-combat-screen.iv91 .iv91-location{font-size:9px;padding:12px 8px 0;letter-spacing:.09em}
 #aventura-combat-screen.iv91 .av-combat-arena{width:100%!important;padding:26px 14px 8px!important;gap:20px!important;align-content:start!important}
 #aventura-combat-screen.iv91 .iv91-name{font-size:12px;line-height:1.05;letter-spacing:-.03em}
 #aventura-combat-screen.iv91 .iv91-long-name .iv91-name{font-size:9px}
 #aventura-combat-screen.iv91 .iv91-level small{font-size:7px}
 #aventura-combat-screen.iv91 .iv91-level b{font-size:23px}
 #aventura-combat-screen.iv91 .iv91-edition{font-size:7px;letter-spacing:.09em}
 #aventura-combat-screen.iv91 .av-combat-player,#aventura-combat-screen.iv91 .av-combat-enemy{gap:6px!important}
 #aventura-combat-screen.iv91 .av-ext-hp-wrap{height:29px!important;width:100%!important;padding:4px 6px!important}
 #aventura-combat-screen.iv91 .av-ext-hp-nums{font-size:12px!important}
 #aventura-combat-screen.iv91 .av-player-stats{font-size:10px!important;gap:10px!important}
 #aventura-combat-screen.iv91 .iv91-enemy-stats{font-size:10px}
 #aventura-combat-screen.iv91 #v57-protection,#aventura-combat-screen.iv91 #territory65-combat{font-size:9px!important;padding:3px 4px!important}
 #aventura-combat-screen.iv91 #h59-passives button,#aventura-combat-screen.iv91 .av49-skill{width:27px;height:27px;min-height:27px}
 #aventura-combat-screen.iv91 #h59-passives .h59-art,#aventura-combat-screen.iv91 .av49-skill .v20-skill-art{width:21px;height:21px}
 #aventura-combat-screen.iv91 .iv91-versus{width:24px;height:24px;top:38%;opacity:.8}
 #aventura-combat-screen.iv91 .iv91-versus::after{font-size:10px}
 #aventura-combat-screen.iv91 .iv91-dock{width:calc(100% - 26px);margin:14px auto max(18px,env(safe-area-inset-bottom));padding:15px 13px 10px}
 #aventura-combat-screen.iv91 .iv91-dock-meta{font-size:8px;letter-spacing:.1em;gap:7px;margin-bottom:9px}
 #aventura-combat-screen.iv91 #h59-skill-info{font-size:9px!important;text-align:right;max-width:60%}
 #aventura-combat-screen.iv91 .av-combat-actions{grid-template-columns:minmax(0,1fr) 112px!important;gap:10px!important}
 #aventura-combat-screen.iv91 #av-btn-attack{grid-column:1;grid-row:1}
 #aventura-combat-screen.iv91 #av-btn-auto{grid-column:2;grid-row:1}
 #aventura-combat-screen.iv91 .av-combat-actions>button{height:55px!important;min-height:55px!important;padding:8px!important}
 #aventura-combat-screen.iv91 .av-action-label{font-size:18px!important}
 #aventura-combat-screen.iv91 .av-action-icon{width:32px;height:32px}
 #aventura-combat-screen.iv91 #av-skill-bar.s61-support{grid-row:2!important;grid-column:1/-1!important;justify-content:center!important;gap:8px!important;padding:3px 0!important}
 #aventura-combat-screen.iv91 #av-skill-bar .h59-skill{width:60px!important;min-width:54px!important;max-width:66px!important;height:74px!important;min-height:74px!important}
 #aventura-combat-screen.iv91 #av-skill-bar .h59-art{width:38px!important;height:38px!important;min-height:38px!important}
 #aventura-combat-screen.iv91 #av-skill-bar .h59-skill>span:last-of-type{font-size:9px!important;min-height:22px!important}
 #aventura-combat-screen.iv91 .iv91-potions{padding-left:8px}
 #aventura-combat-screen.iv91 #v57-hero-progress{margin-top:9px!important}
 #aventura-combat-screen.iv91 .iv91-rune{height:50px;top:calc(var(--iv91-card-h) - 28px)}
}
@media(max-width:370px){#aventura-combat-screen.iv91 .iv91-name{font-size:10px}#aventura-combat-screen.iv91 .iv91-dock{padding-inline:10px}#aventura-combat-screen.iv91 .iv91-skills,#aventura-combat-screen.iv91 .iv91-potions{gap:4px}#aventura-combat-screen.iv91 .av-combat-arena{padding-inline:10px!important;gap:18px!important}}
@media(max-height:550px) and (min-width:701px){#aventura-combat-screen.iv91{--iv91-card-w:170px}#aventura-combat-screen.iv91 .av-combat-arena{padding-top:18px!important;gap:90px!important}#aventura-combat-screen.iv91 .iv91-dock{margin-top:8px}}
@media(prefers-reduced-motion:reduce){#aventura-combat-screen.iv91 .iv91-card,#aventura-combat-screen.iv91 .av-ext-hp-bar-fill{animation:none!important;transition:none!important;transform:none!important}#aventura-combat-screen.iv91 .iv91-rune,#aventura-combat-screen.iv91 .iv91-mote,#aventura-combat-screen.iv91 .iv91-fx{display:none!important}}

@media(max-width:700px){#aventura-combat-screen.iv91 .iv91-figure:not(.iv91-portrait){left:-10%;width:120%}}

/* The victory notification is informational. Keep Stop Automatic and Flee reachable. */
#aventura-combat-screen.iv91 #av-reward-popup{pointer-events:none!important}
#aventura-combat-screen.iv91 #av-reward-inner :is(button,a,input){pointer-events:auto}
