.tb-screen{z-index:900;color:#f5eedf;background:#120c07;font:16px/1.4 "Source Sans 3",Arial,sans-serif;position:fixed;inset:0;overflow:hidden}.tb-screen:before{content:"";background:url(/art/battle/client_background_battle.png) 50%/cover no-repeat;position:absolute;inset:0}.tb-stage{position:absolute}.tb-field{width:100%;height:100%;display:block}.tb-grid polygon{fill:#1824350d;stroke:#3e2a1bd1;stroke-width:1.35px}.tb-unit{transition:transform .4s linear}.tb-unit image{cursor:var(--cursor-interact,pointer);outline:none}.tb-unit image:focus-visible{filter:drop-shadow(0 0 3px #f5eedf)}.tb-shadow{fill:#000;opacity:.3}.tb-base{stroke-width:2.6px;opacity:1;vector-effect:non-scaling-stroke}.tb-unit.team-a .tb-base{fill:#2461926b;stroke:#b5e5ff}.tb-unit.team-b .tb-base{fill:#8c333a78;stroke:#ffd1bc;stroke-dasharray:5 3}.tb-unit.is-selected .tb-base{stroke:#ffcf6b;stroke-width:3.5px}.tb-unit.is-defeated image{filter:grayscale()brightness(.7);opacity:.65}.tb-labels{pointer-events:none}.tb-nameplate{fill:#152635f2;stroke:#b5e5ff;stroke-width:2px}.tb-indicators.team-b .tb-nameplate{fill:#49252cf4;stroke:#ffd1bc;stroke-dasharray:5 3}.tb-indicators text{fill:#f5eedf;font:700 21px "Source Sans 3",Arial,sans-serif}.tb-indicators .bar-bg{fill:#0b131bcc}.tb-indicators .bar-hp{fill:#7fc77a}.tb-indicators .bar-mana{fill:#5f8fe0}.tb-indicators .bar-unavailable{stroke:#5f8fe0aa;stroke-width:1.2px;stroke-dasharray:3 2}.tb-mode{text-align:center;background:url(/art/battle/client_frame_battle_mode_timer.png) 50%/100% 100% no-repeat;flex-direction:column;justify-content:center;align-items:center;width:min(280px,40vw);min-height:76px;padding:6px 24px 12px;font-family:Cinzel,Georgia,serif;display:flex;position:absolute;top:0;left:50%;transform:translate(-50%)}.tb-mode strong{font-size:22px;font-weight:600}.tb-mode span{font:600 18px "Source Sans 3",Arial,sans-serif}.tb-left,.tb-right{position:absolute;top:50%;transform:translateY(-50%)}.tb-left{left:0}.tb-right{right:0}.tb-screen .battle-side{width:var(--tb-panel-width);height:min(540px,100dvh - 158px);padding:22px clamp(12px,2vw,29px)}.tb-screen .battle-side[data-expanded=false]{width:54px;padding:16px 5px}.tb-screen .battle-side[data-expanded=false] .battle-panel-toggle{position:absolute;top:50%;left:5px;transform:translateY(-50%)}.tb-screen .battle-notice{background:#101b25e6;border-radius:4px;padding:0 6px}.tb-screen .battle-notice.notice-damage{color:#a41425;-webkit-text-stroke:1px #f5eedf;paint-order:stroke fill}.tb-screen .battle-notice.is-critical{color:#a41425;-webkit-text-stroke:1.2px #e4b758}.tb-roster{background:url(/art/battle/client_frame_battle_roster.png) 50%/100% 100% no-repeat;align-items:center;gap:8px;padding:14px 34px 10px;display:flex;position:absolute;bottom:0;left:50%;transform:translate(-50%)}.tb-roster button{color:#f5eedf;width:62px;min-height:48px;cursor:var(--cursor-interact,pointer);background:#152635;border:2px solid #ae8d5155;border-radius:4px;flex-direction:column;align-items:center;gap:2px;padding:3px;font:600 12px "Source Sans 3",Arial,sans-serif;display:flex}.tb-roster button .battle-neutral-portrait{object-fit:cover;width:44px;height:44px}.tb-roster button[data-team=allies]{border-bottom-color:#b5e5ff}.tb-roster button[data-team=mirror]{border-bottom-style:dashed;border-bottom-color:#ffd1bc}.tb-roster button[aria-pressed=true]{border-color:#ffcf6b}.tb-roster button.is-defeated{filter:grayscale();opacity:.6}.tb-count{flex-direction:column;align-items:center;min-width:56px;display:flex}.tb-count small{color:#c3bbaa;font-size:13px}.tb-count b{font:600 22px Cinzel,Georgia,serif}.tb-vs{color:#dabc80;font:600 16px Cinzel,Georgia,serif}.tb-gear{width:52px;height:52px;cursor:var(--cursor-interact,pointer);background:0 0;border:0;place-items:center;padding:0;display:grid;position:absolute;bottom:12px;right:12px}.tb-gear img{filter:drop-shadow(0 3px 6px #0009);width:48px;height:48px}.tb-gear:focus-visible{outline-offset:3px;outline:2px solid #f5eedf}.tb-result{color:#f5eedf;text-shadow:0 2px 6px #000;background:#152635e6;border:1px solid #ae8d51;border-radius:6px;padding:14px 40px;font:600 40px Cinzel,Georgia,serif;position:absolute;top:42%;left:50%;transform:translate(-50%,-50%)}.tb-menu{width:min(360px,100vw - 24px)}.tb-menu-actions{gap:12px;display:grid}.tb-speed{gap:8px;display:flex}.tb-speed button{flex:1}.tb-menu .tb-surrender{background:#702e38;border-color:#ae8d51}@media (width<=1023px),(height<=599px){.tb-mode{width:min(220px,36vw);min-height:54px;padding:4px 16px 8px}.tb-mode strong{font-size:17px}.tb-mode span{font-size:15px}.tb-roster{gap:4px;padding:8px 18px 6px}.tb-roster button{width:48px;font-size:10px}.tb-roster button .battle-neutral-portrait{width:32px;height:32px}.tb-count{min-width:42px}.tb-count b{font-size:17px}.tb-gear{bottom:6px;right:6px}.tb-screen .battle-notice{font-size:17px}.tb-screen .battle-notice>img{width:20px;height:20px}}@media (prefers-reduced-motion:reduce){.tb-unit{transition:none}}.tb-resource-status{color:#f5eedf;text-align:right;text-shadow:0 1px 3px #000;max-width:26%;margin:4px;font-size:12px;position:absolute;top:4px;right:8px}@media (width<=1023px),(height<=599px){.tb-screen .battle-side{height:calc(100dvh - 125px);padding-top:12px;padding-bottom:12px}.tb-screen .battle-panel-toggle span{font-size:13px}.tb-screen .battle-live-identity{grid-template-columns:44px minmax(0,1fr);gap:6px}.tb-screen .battle-live-portrait .battle-neutral-portrait{width:44px;height:49px}.tb-screen .battle-live-portrait small{text-align:center;overflow-wrap:anywhere;display:block;position:static}}.tb-condition-strip{transform-origin:bottom;color:#f5eedf;cursor:pointer;background:#152635ed;border:1px solid #ae8d51;border-radius:4px;justify-content:center;align-items:center;gap:3px;min-width:44px;min-height:44px;padding:3px 5px;font:600 14px "Source Sans 3",sans-serif;display:flex;position:absolute}.tb-condition-strip img{object-fit:contain;width:21px;height:21px}.tb-condition-strip:focus-visible{outline-offset:2px;outline:3px solid #f5eedf}.tb-screen .battle-stats .battle-panel-toggle{justify-content:flex-start}.tb-screen .battle-side[data-expanded=false]{background-size:100% 100%;height:180px}.tb-screen .player-profile-access>span:last-child{display:grid}@media (width<=1023px),(height<=599px){.tb-screen .battle-panel-toggle span{font-size:16px}.tb-screen .battle-panel-toggle .battle-panel-close{font-size:26px}.tb-screen .battle-side{padding-left:16px;padding-right:16px;font-size:14px}.tb-screen .battle-live-resources{margin:12px 0}.tb-screen .battle-live-attributes{gap:8px}.tb-screen .battle-live-identity h3{font-size:17px}.tb-screen .player-profile-access{background:#122532db;max-width:200px;padding-right:4px}.tb-screen .player-profile-access strong{max-width:140px;font-size:14px}.tb-screen .player-profile-access small{font-size:12px}.tb-screen .battle-notice.is-critical{font-size:21px}}.tb-screen .battle-side[data-expanded=true]{padding-inline:30px}.tb-grid [data-setup-side=heroes]{fill:#2c679735;stroke:#34546a}.tb-grid [data-setup-side=opponents]{fill:#903c3e36;stroke:#784842}.tb-flight{opacity:0;animation:linear tb-fly}.tb-flight path{fill:none;stroke:#fbdfaa;stroke-width:3px;stroke-linecap:round;filter:drop-shadow(0 1px 1px #503b24)}@keyframes tb-fly{0%{opacity:1;transform:translate(0)}to{opacity:1;transform:translate(var(--dx),var(--dy))}}.battle-impact-layer .battle-confirmed-impact{opacity:0}
