/* The arena owns the space freed by the removed descriptions. */
.atb-dock .combat-notices{display:none}
.atb-battle .atb-action{box-sizing:border-box;height:100.3px;min-height:100.3px;padding:4px 3px;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:34px 25px 19px 10px;gap:1px;align-content:center;justify-items:center;border-radius:15px 15px 10px 10px}
.atb-battle .atb-action .ability-icon{height:34px;width:44px}.atb-battle .atb-action strong{min-height:0;align-self:center;font-size:12px;line-height:12px}.atb-battle .atb-action .action-cost{min-height:0;line-height:10px;font-size:9px;align-self:center}.atb-battle .atb-action .action-affinity{height:10px;min-height:10px;font-size:9px;line-height:10px}
.atb-battle .atb-actor{--foot-y:65%;--foot-width:55px;--foot-x:50%}
.atb-battle .atb-actor::before{content:"";position:absolute;left:50%;top:var(--foot-y);width:var(--foot-width);height:clamp(5px,calc(var(--foot-width)*.2),16px);translate:-50% -50%;background:radial-gradient(ellipse,#000d 0%,#0207118c 40%,transparent 73%);pointer-events:none;z-index:-1}
.atb-battle .atb-actor .atb-ground,.atb-battle .atb-actor.foe.affected:not(.fallen) .atb-ground{top:var(--foot-y);bottom:auto;left:50%;right:auto;width:min(100%,calc(var(--foot-width)*1.4));translate:-50% -50%;height:24px}
.atb-battle .atb-actor.foe.affected:not(.fallen) .atb-ground{height:30px}
.atb-battle .atb-actor::before,.atb-battle .atb-actor .atb-ground,.atb-battle .atb-actor.foe.affected:not(.fallen) .atb-ground{left:var(--foot-x)}
.atb-battle .atb-actor.foe.focused:not(.fallen) .target-rift img{opacity:1;filter:drop-shadow(0 0 4px #a2e9ff)}
#combatChronicle{flex:none;margin-left:auto;margin-right:8px;width:36px;height:36px;min-width:36px;padding:5px;border:1px solid #89b7cb70;border-radius:9px;background:linear-gradient(145deg,#273e50,#0c1724);box-shadow:inset 0 0 0 2px #08121b}
#combatChronicle img{width:100%;height:100%;object-fit:contain}#combatChronicle[hidden]{display:none}
#battleChronicle{width:min(560px,calc(100% - 20px));max-height:calc(100dvh - 20px);padding:0;border:1px solid #779eaf88;border-radius:15px;background:linear-gradient(150deg,#172534,#090f19);color:#dce9ef;overflow:hidden}
#battleChronicle[open]{display:flex;flex-direction:column}#battleChronicle::backdrop{background:#03070bc9;backdrop-filter:blur(3px)}
.chronicle-head{display:flex;gap:10px;align-items:center;padding:10px 14px;flex:none;border-bottom:1px solid #5d859b55;background:#13202f}.chronicle-head>img{width:31px;height:31px}.chronicle-head h2{font:21px Georgia;margin:0}.chronicle-head small{font:10px system-ui;color:#9eb6c5}.chronicle-head button{margin-left:auto;flex:none;width:40px;height:40px;padding:0;font-size:25px}
.chronicle-body{padding:14px;overflow:auto;min-height:0;overscroll-behavior:contain;scrollbar-color:#5e8293 #0b1420}.chronicle-body h3{font:17px Georgia;color:#c5e5f1;margin:18px 0 10px}.chronicle-body p{font:12px/1.5 system-ui}.chronicle-entry{padding:12px 10px;border:1px solid #5c81972c;border-left:2px solid #72a8bf;margin:7px 0;border-radius:4px;background:#11213288;font:12px/1.45 system-ui}.chronicle-entry[data-side=enemy]{border-left-color:#bc7b80;background:#25182055}.chronicle-entry[data-side=pet]{border-left-color:#a792c7}.chronicle-entry header{display:flex;gap:10px;justify-content:space-between;margin-bottom:5px}.chronicle-entry time{color:#9eb0bd;font:11px system-ui;white-space:nowrap}.chronicle-entry ul{padding-left:17px;margin:5px 0 0}.chronicle-entry li{margin:3px 0;overflow-wrap:anywhere}.chronicle-entry .heal{color:#b6dfba}.chronicle-entry .damage{color:#e8b5a9}.chronicle-entry .shield{color:#a8d3ef}.chronicle-entry .status{color:#d6c2ed}.chronicle-entry .muted{color:#9bb1c3}.chronicle-refresh{padding:8px 14px;border-top:1px solid #41617666;display:flex;align-items:center;justify-content:space-between;gap:10px;font:11px system-ui;flex:none}.chronicle-refresh button{padding:7px 10px;font-size:12px;min-height:36px}.chronicle-empty{color:#aac0ce;text-align:center;padding:25px 10px}
@media(max-width:700px){.atb-battle .atb-action{height:95.2px;min-height:95.2px;grid-template-rows:31px 24px 18px 10px}.atb-battle .atb-action .ability-icon{height:31px;width:41px}.atb-battle .atb-action strong{font-size:11px}}
@media(max-width:360px){.atb-battle .atb-action{height:90.95px;min-height:90.95px;grid-template-rows:28px 24px 17px 10px;padding:3px}.atb-battle .atb-action .ability-icon{height:28px;width:38px}}
@media(max-height:650px) and (max-width:700px){.atb-battle .atb-action{height:88.4px;min-height:88.4px;grid-template-rows:27px 22px 18px 10px;gap:1px;padding:3px}.atb-battle .atb-action .ability-icon{height:27px;width:37px}.atb-battle .atb-action strong{font-size:10px;line-height:11px}.atb-battle .atb-action .action-cost{font-size:8px;line-height:9px}}
@media(orientation:landscape) and (max-height:500px){.atb-battle .atb-action{height:66.3px;min-height:66.3px;grid-template-columns:32px minmax(0,1fr);grid-template-rows:23px 18px 10px;column-gap:3px;padding:4px}.atb-battle .atb-action .ability-icon{grid-row:1/4;height:34px;width:32px}.atb-battle .atb-action strong{font-size:10px;line-height:11px}}
