.floating-value-js {
    font-size: 28px;
    font-weight: 800;
    filter: saturate(1.6);
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
    position: absolute;
    left: 50%;
    top: 0;
    opacity: 1;
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.02em;
    transform: translateX(-50%);
    text-shadow:
        0 2px 0 rgba(42, 18, 7, 0.9),
        0 0 10px rgba(0, 0, 0, 0.55);
    z-index: 130;
}

.floating-value-js img {
    width: 24px;
    height: 24px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.45));
}

.floating-value-js--damage {
    color: #ff9b87 !important;
}

.floating-value-js--heal {
    color: #87f4a6 !important;
}

.floating-value-js--dodge {
    color: #e7ddab !important;
}

.floating-value-js--critical {
    color: #ffd36d !important;
    text-shadow:
        0 2px 0 rgba(64, 27, 7, 0.95),
        0 0 16px rgba(255, 186, 90, 0.45);
}

.opponent-img {
    transform: scaleX(-1);
    --scale-mult: 1;
}

.flash-dmg-js            { animation: hitShakeJs 0.4s ease, damageFlashJs 0.4s ease; }
.flash-dmg-opponent-js   { animation: hitShakeJsOpponent 0.4s ease, damageFlashJs 0.4s ease; }
.flash-crit-js           { animation: hitShakeJs 0.4s ease, damageFlashJs 0.4s ease; }
.flash-crit-opponent-js  { animation: hitShakeJsOpponent 0.4s ease, damageFlashJs 0.4s ease; }
.flash-heal-js           { animation: healGlowJs 0.55s ease; }
.flash-vampir-js         { animation: healGlowJs 0.55s ease; }
.flash-dodge-js          { animation: dodgeBlinkJs 0.4s ease, grayscale 0.4s ease; }

.flash-dmg-js,
.flash-dmg-opponent-js,
.flash-crit-js,
.flash-crit-opponent-js {
    will-change: translate;
}

@keyframes hitShakeJs {
    0%   { translate: 0 0; }
    25%  { translate: -8px 0; }
    50%  { translate: 8px 0; }
    75%  { translate: -4px 0; }
    100% { translate: 0 0; }
}

@keyframes hitShakeJsOpponent {
    0%   { translate: 0 0; }
    25%  { translate: -8px 0; }
    50%  { translate: 8px 0; }
    75%  { translate: -4px 0; }
    100% { translate: 0 0; }
}

@keyframes hitPulseJs {
    0%, 100% { transform: scale(1); filter: brightness(1); }
    50%      { transform: scale(1); filter: brightness(1.8); }
}

@keyframes hitPulseJsOpponent {
    0%, 100% { transform: scaleX(-1); filter: brightness(1); }
    50%      { transform: scaleX(-1); filter: brightness(1.8); }
}

@keyframes healGlowJs {
    0%, 100% { filter: drop-shadow(0 0 0px cyan); }
    50%      { filter: drop-shadow(0 0 26px rgba(96, 228, 142, 0.98)); }
}

@keyframes dodgeBlinkJs {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.3; }
}

@keyframes grayscale {
    0%, 100% { filter: grayscale(0%); }
    50%      { filter: grayscale(100%); }
}

@keyframes damageFlashJs {
    0% {
        filter: brightness(1);
        -webkit-mask-image: none;
        mask-image: none;
    }
    50% {
        filter: brightness(1.45) saturate(1.25) drop-shadow(0 0 10px rgba(255, 129, 71, 0.9));
        -webkit-mask-image: linear-gradient(to bottom, black calc(100% ), transparent calc(100% ));
        mask-image: linear-gradient(to bottom, black calc(100% ), transparent calc(100%));
    }
    100% {
        filter: brightness(1);
        -webkit-mask-image: none;
        mask-image: none;
    }
}

@keyframes auraIconRiseJs {
    0%   { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(-100px); opacity: 0; }
}

.heal-aura-js {
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,255,255,0.7) 0%, rgba(0,255,255,0) 70%);
    opacity: 0;
    transform: scale(1);
    z-index: 1;
    animation: healAuraPulseJs 0.7s ease-out;
}

@keyframes healAuraPulseJs {
    0%   { opacity: 0; transform: scale(0.8); }
    50%  { opacity: 0.8; transform: scale(1.2); }
    100% { opacity: 0; transform: scale(1.4); }
}

.fade-out {
    transition: opacity 1.0s ease, transform 1.0s ease;
    opacity: 0;
}

.progress-bar__fill.progress-bar_style_hp {
    transition: width 0.3s ease;
}

.pve-shell {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
    color: #eef6f1;
}

.pve-shell__brief {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 12px 14px 11px;
    border: 1px solid var(--fight-edge, rgba(255, 255, 255, 0.12));
    border-radius: 16px;
    background:
        radial-gradient(circle at top center, rgba(255, 196, 94, 0.12), transparent 42%),
        linear-gradient(180deg, var(--fight-surface, rgba(10, 16, 22, 0.82)), var(--fight-surface-strong, rgba(10, 16, 22, 0.92)));
    box-shadow:
        0 10px 22px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 rgba(255, 235, 184, 0.05);
}

.pve-shell__eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--fight-accent, #5bbcff);
}

.pve-shell__headline {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pve-shell__title {
    margin: 0;
    font-size: 21px;
    line-height: 1.1;
    color: #f7e1b0;
}

.pve-shell__subtitle {
    margin: 0;
    color: rgba(238, 246, 241, 0.75);
}

.pve-shell__chips {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.pve-shell__chip {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 42px;
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: rgba(18, 10, 6, 0.45);
}

.pve-shell__chip-label {
    flex: 1;
    color: rgba(238, 246, 241, 0.72);
    font-size: 12px;
}

.pve-shell__chip-value {
    color: #f7e8c2;
    font-size: 12px;
    text-align: right;
}

.pve-shell__chip--accent {
    border-color: rgba(98, 209, 141, 0.28);
    background: rgba(98, 209, 141, 0.12);
}

.pve-shell__chip--danger {
    border-color: rgba(255, 116, 116, 0.24);
    background: rgba(255, 116, 116, 0.1);
}

.pve-shell__chip--reward {
    border-color: rgba(255, 214, 102, 0.24);
    background: rgba(255, 214, 102, 0.1);
}

.fight--pve {
    position: relative;
}

.fight--pve #fightActionsWrapper {
    margin-top: 12px;
}

.fight-actions {
    gap: 10px;
    padding: 8px 0 2px;
}

.fight-view--enhanced .fight-view__background {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    height: var(--fight-stage-height, clamp(320px, 78vw, 560px)) !important;
    min-height: var(--fight-stage-height, clamp(320px, 78vw, 560px));
    border: 1px solid var(--fight-edge, rgba(255, 255, 255, 0.08));
    border-radius: 24px;
    background: var(--fight-backdrop, rgba(6, 10, 15, 0.72));
    box-shadow:
        0 18px 30px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 220, 158, 0.06),
        inset 0 -80px 120px rgba(0, 0, 0, 0.35);
}

.fight-view--enhanced .clan-battle__fight-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.02) contrast(1.05) brightness(0.92);
    transform: scale(1.03);
}

.fight-phaser-layer {
    position: absolute;
    inset: 0;
    z-index: 3;
    overflow: hidden;
    pointer-events: none;
    border-radius: inherit;
}

.fight-phaser-layer canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
    pointer-events: none;
}

.fight-view--phaser-ready .fight-view__avatar-stage {
    opacity: 0 !important;
    visibility: hidden;
}

.fight-view--phaser-ready .fight-view__float-track,
.fight-view--phaser-ready .fight-view__fighter-shadow {
    opacity: 0 !important;
}

.fight-view--phaser-ready .fight-view__header--abs {
    z-index: 6 !important;
}

.clan-battle__fight-view {
    position: relative;
    overflow: hidden;
}

.clan-battle__respawn-notice {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 214, 102, 0.16);
    border-radius: 12px;
    background: rgba(8, 10, 15, 0.76);
    z-index: 4;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.26);
}

.clan-battle__respawn-panel {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-right: 10px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 214, 102, 0.16);
    border-radius: 12px;
    background: rgba(8, 10, 15, 0.64);
}

.fight-view--phaser-ready .clan-battle__avatar-wrapper {
    opacity: 0 !important;
    visibility: hidden !important;
}

.fight-view__veil {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(180deg, rgba(28, 14, 6, 0.18) 0%, rgba(14, 7, 4, 0.52) 100%),
        radial-gradient(circle at center, transparent 30%, rgba(0, 0, 0, 0.22) 100%);
}

.fight-view__ambient {
    position: absolute;
    top: 12%;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    filter: blur(24px);
    opacity: 0.55;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(circle, var(--fight-fog, rgba(24, 42, 60, 0.28)) 0%, transparent 70%);
}

.fight-view__ambient--left {
    left: -24px;
}

.fight-view__ambient--right {
    right: -18px;
}

.fight-view--enhanced .fight-view__header-panel {
    width: calc(50% - 18px);
    max-width: 280px;
    border: 1px solid var(--fight-edge, rgba(255, 255, 255, 0.08));
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(36, 22, 12, 0.82), rgba(13, 8, 5, 0.94)),
        var(--fight-surface, rgba(10, 16, 22, 0.82));
    backdrop-filter: blur(8px);
    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.22),
        0 0 0 1px rgba(255, 230, 176, 0.03) inset;
}

.fight-view--enhanced .fight-view__wrapper {
    gap: 5px;
    padding: 8px 10px 9px;
}

.fight-view--enhanced .fight-view__title {
    font-weight: 700;
    letter-spacing: 0.01em;
}

.fight-view--enhanced .fight-view__param,
.fight-view--enhanced .fight-view__attack {
    gap: 4px;
}

.fight-view--enhanced .fight-view__attack {
    min-height: 20px;
    color: #fff6d8;
}

.fight-view--enhanced .fight-view__bars {
    margin-top: 2px;
}

.fight-view--enhanced .progress-bar {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.32);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.45);
}

.fight-view--enhanced .progress-bar__fill.progress-bar_style_hp {
    background: linear-gradient(90deg, #4cd079 0%, #80f099 44%, var(--fight-accent, #d7ab53) 100%);
    box-shadow: 0 0 14px var(--fight-glow, rgba(91, 188, 255, 0.24));
}

.fight-view--enhanced .fight-view__avatar-stage {
    position: relative;
    z-index: 1;
    height: 100%;
    padding: 0 16px 0;
}

.fight-view--enhanced .fight-view__player-container,
.fight-view--enhanced .fight-view__opponent-container {
    position: relative;
    z-index: 1;
}

.fight-view--enhanced .fight__avatar--new {
    height: clamp(120px, 30vw, 160px) !important;
    width: auto !important;
    max-width: 180px;
    filter:
        drop-shadow(0 14px 18px rgba(0, 0, 0, 0.48))
        drop-shadow(0 0 10px rgba(255, 151, 74, 0.12));
    transition: transform 0.28s ease, filter 0.28s ease;
}

.fight-view--enhanced .fight__avatar--tall {
    height: clamp(190px, 48vw, 320px) !important;
    width: auto !important;
    max-width: 260px;
}

.fight-view--enhanced #healContainerWrapperPlayer,
.fight-view--enhanced #damageContainerWrapperPlayer,
.fight-view--enhanced #healContainerWrapperOpponent,
.fight-view--enhanced #damageContainerWrapperOpponent {
    position: absolute !important;
    top: 14% !important;
    left: 50% !important;
    right: auto !important;
    z-index: 110 !important;
    transform: translateX(-50%) !important;
    font-size: clamp(22px, 5vw, 30px) !important;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-shadow:
        0 2px 0 rgba(37, 17, 7, 0.95),
        0 0 10px rgba(0, 0, 0, 0.55) !important;
    pointer-events: none;
}

.fight-view--enhanced .fight__avatar--tall + #healContainerWrapperPlayer,
.fight-view--enhanced .fight__avatar--tall + #damageContainerWrapperPlayer {
    top: 10% !important;
}

.fight-float-anchor {
    position: absolute !important;
    top: 16% !important;
    left: 50% !important;
    right: auto !important;
    z-index: 110 !important;
    transform: translateX(-50%) !important;
    text-shadow:
        0 2px 0 rgba(37, 17, 7, 0.95),
        0 0 10px rgba(0, 0, 0, 0.55) !important;
    pointer-events: none;
}

.fight-float-anchor--tall {
    top: 10% !important;
}

.fight-float-anchor--heal,
.fight-float-anchor--damage {
    color: inherit !important;
}

.btn--battle.is-busy,
.fight-actions .btn[aria-disabled="true"] {
    pointer-events: none;
    opacity: 0.72;
    filter: saturate(0.8);
}

.floating-value-js {
    font-family: Georgia, serif;
    font-size: clamp(26px, 6vw, 34px);
    letter-spacing: 0.01em;
    animation: floatValuePopJs 220ms ease-out;
}

.floating-value-js--damage {
    color: #ffb095 !important;
}

.floating-value-js--heal {
    color: #9ef2a8 !important;
}

.floating-value-js--dodge {
    color: #f1e3b7 !important;
    font-style: italic;
}

.fight-view--enhanced .fight-view__background {
    border: 1px solid rgba(211, 165, 92, 0.34);
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(13, 8, 5, 0.16), rgba(8, 5, 3, 0.52)),
        var(--fight-backdrop, rgba(6, 10, 15, 0.72));
    box-shadow:
        0 18px 34px rgba(0, 0, 0, 0.36),
        0 0 0 1px rgba(255, 214, 132, 0.03) inset,
        inset 0 1px 0 rgba(255, 227, 163, 0.08),
        inset 0 -90px 120px rgba(0, 0, 0, 0.42);
}

.fight-view--enhanced .clan-battle__fight-image {
    filter: saturate(0.98) contrast(1.08) brightness(0.86) sepia(0.08);
    transform: scale(1.02);
}

.fight-view__ornament,
.fight-view__frame-glow,
.fight-view__stage-floor,
.fight-view__stage-smoke {
    position: absolute;
    pointer-events: none;
}

.fight-view__ornament {
    left: 14px;
    right: 14px;
    height: 30px;
    z-index: 2;
    opacity: 0.9;
    background:
        radial-gradient(circle at 12% 50%, rgba(255, 212, 125, 0.28), transparent 16%),
        radial-gradient(circle at 88% 50%, rgba(255, 212, 125, 0.28), transparent 16%),
        linear-gradient(90deg, transparent 0%, rgba(212, 168, 102, 0.42) 18%, rgba(255, 226, 165, 0.2) 50%, rgba(212, 168, 102, 0.42) 82%, transparent 100%);
}

.fight-view__ornament--top {
    top: 8px;
}

.fight-view__ornament--bottom {
    bottom: 8px;
    transform: scaleY(-1);
}

.fight-view__frame-glow {
    inset: 0;
    z-index: 1;
    box-shadow:
        inset 0 0 0 1px rgba(255, 218, 150, 0.08),
        inset 0 0 36px rgba(255, 161, 92, 0.1),
        inset 0 -24px 48px rgba(0, 0, 0, 0.22);
}

.fight-view__stage-floor {
    left: 8%;
    right: 8%;
    bottom: 14px;
    height: 120px;
    z-index: 0;
    border-radius: 50%;
    background:
        radial-gradient(circle at center, rgba(255, 194, 107, 0.22) 0%, rgba(255, 126, 49, 0.14) 32%, rgba(31, 16, 7, 0.04) 62%, transparent 74%),
        radial-gradient(circle at center, rgba(255, 243, 198, 0.12) 0%, transparent 54%);
    filter: blur(2px);
}

.fight-view__stage-smoke {
    left: -6%;
    right: -6%;
    bottom: -8px;
    height: 128px;
    z-index: 1;
    background:
        radial-gradient(circle at 50% 50%, rgba(212, 170, 110, 0.14), transparent 34%),
        linear-gradient(180deg, rgba(24, 14, 8, 0) 0%, rgba(16, 10, 6, 0.38) 100%);
    filter: blur(16px);
}

.fight-view--enhanced .fight-view__header-panel {
    border-color: rgba(211, 165, 92, 0.34);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(48, 28, 15, 0.92), rgba(17, 10, 6, 0.96)),
        var(--fight-surface, rgba(10, 16, 22, 0.82));
    box-shadow:
        0 14px 30px rgba(0, 0, 0, 0.26),
        0 0 0 1px rgba(255, 229, 172, 0.03) inset;
}

.fight-view--enhanced .fight-view__title {
    font-family: Georgia, serif;
    color: #f7e7bc;
    text-shadow: 0 1px 0 rgba(42, 20, 9, 0.95);
}

.fight-view--enhanced .fight-view__param,
.fight-view--enhanced .fight-view__attack {
    color: #eadfbc;
}

.fight-view--enhanced .progress-bar {
    height: 10px;
    border-color: rgba(218, 173, 103, 0.16);
    background: rgba(8, 4, 2, 0.62);
    box-shadow:
        inset 0 1px 2px rgba(0, 0, 0, 0.45),
        inset 0 0 0 1px rgba(255, 233, 185, 0.02);
}

.fight-view--enhanced .fight-view__avatar-stage {
    position: absolute !important;
    inset: 0 !important;
    z-index: 3;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 12px 0;
    pointer-events: none;
}

.fight-view--enhanced .clan-battle__avatar-wrapper.fight-view__avatar-stage {
    background: transparent !important;
    border: none !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: space-between !important;
}

.fight-view--enhanced .fight-view__fighter {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    align-self: stretch;
    flex: 0 0 46%;
    width: 46%;
    height: 100%;
    min-height: 0;
    padding-bottom: 0;
    overflow: visible;
    pointer-events: none;
}

.fight-view--enhanced .fight-view__player-container {
    padding-left: 1.5%;
}

.fight-view--enhanced .fight-view__opponent-container {
    padding-right: 1.5%;
}

.fight-view--enhanced .fight-view__fighter-shadow {
    position: absolute;
    left: 10%;
    right: 10%;
    bottom: 2px;
    height: 28px;
    z-index: 0;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.52) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 76%);
    filter: blur(4px);
}

.fight-view--enhanced .fight-view__fighter--tall .fight-view__fighter-shadow {
    left: 4%;
    right: 4%;
}

.fight-view--enhanced .fight__avatar--new {
    position: relative;
    display: block;
    align-self: flex-end;
    flex: 0 0 auto;
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: contain;
    z-index: 2;
    height: clamp(150px, 38vw, 220px) !important;
    width: min(42vw, 220px) !important;
    max-width: 220px;
    filter:
        drop-shadow(0 16px 24px rgba(0, 0, 0, 0.56))
        drop-shadow(0 0 18px rgba(255, 149, 74, 0.14));
    transition: transform 0.28s ease, filter 0.28s ease, opacity 0.28s ease;
}

.fight-view--enhanced .fight__avatar--tall {
    height: clamp(220px, 56vw, 340px) !important;
    width: min(50vw, 300px) !important;
    max-width: 300px;
}

.fight-view--enhanced .fight-view__float-track {
    position: absolute !important;
    top: 20% !important;
    left: 50% !important;
    right: auto !important;
    width: min(100%, 220px);
    height: 0;
    z-index: 6 !important;
    transform: translateX(-50%) !important;
    pointer-events: none;
}

.fight-view--enhanced .fight-view__fighter--tall .fight-view__float-track {
    top: 13% !important;
}

.fight-view--enhanced .fight-actions {
    padding: 12px 0 4px;
}

.fight-actions .btn--battle {
    position: relative;
    min-width: 142px;
    background: linear-gradient(#8c6730 50%, #634218 50%);
    border-color: #b48542 #b48542 #553713 #553713;
    outline: 2px solid #190f06;
    box-shadow:
        inset 0 1px 0 rgba(255, 227, 163, 0.18),
        0 3px 0 rgba(18, 10, 6, 0.6);
}

.fight-actions .btn--battle::after {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 2px;
    border: 1px solid rgba(255, 224, 155, 0.12);
    pointer-events: none;
}

.fight-actions .btn--battle:hover {
    filter: brightness(1.05);
}

.pve-shell__brief {
    border-color: rgba(211, 165, 92, 0.28);
    background:
        radial-gradient(circle at top center, rgba(255, 197, 97, 0.14), transparent 42%),
        linear-gradient(180deg, rgba(44, 25, 12, 0.9), rgba(17, 10, 6, 0.96));
    box-shadow:
        0 14px 28px rgba(0, 0, 0, 0.26),
        inset 0 1px 0 rgba(255, 235, 184, 0.06);
}

.pve-shell__title {
    font-family: Georgia, serif;
    letter-spacing: 0.01em;
}

.heal-aura-js {
    background:
        radial-gradient(circle, rgba(125, 241, 155, 0.48) 0%, rgba(125, 241, 155, 0.1) 46%, transparent 72%),
        radial-gradient(circle, rgba(255, 216, 128, 0.22) 0%, transparent 76%);
}

.impact-burst-js {
    position: absolute;
    width: 128px;
    height: 128px;
    margin-left: -64px;
    margin-top: -64px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 5;
    background:
        radial-gradient(circle, rgba(255, 240, 182, 0.98) 0%, rgba(255, 171, 82, 0.78) 17%, rgba(255, 88, 40, 0.28) 46%, transparent 74%);
    box-shadow:
        0 0 24px rgba(255, 176, 96, 0.28),
        0 0 44px rgba(255, 110, 58, 0.16);
    mix-blend-mode: screen;
    animation: impactBurstFadeJs 520ms ease-out forwards;
}

.impact-burst-js--heal {
    background:
        radial-gradient(circle, rgba(169, 255, 193, 0.9) 0%, rgba(87, 222, 121, 0.48) 18%, rgba(87, 222, 121, 0.16) 42%, transparent 72%);
}

.impact-shard-js {
    position: absolute;
    width: 22px;
    height: 8px;
    border-radius: 999px;
    pointer-events: none;
    z-index: 6;
    background: linear-gradient(90deg, rgba(255, 244, 196, 0.95) 0%, rgba(255, 143, 72, 0.95) 58%, rgba(255, 82, 41, 0) 100%);
    box-shadow: 0 0 14px rgba(255, 166, 92, 0.34);
    mix-blend-mode: screen;
}

.impact-shard-js--heal {
    background: linear-gradient(90deg, rgba(212, 255, 222, 0.96) 0%, rgba(101, 239, 159, 0.92) 56%, rgba(101, 239, 159, 0) 100%);
    box-shadow: 0 0 14px rgba(101, 239, 159, 0.34);
}

.fight-strike-weapon-js,
.fight-strike-trail-js {
    position: absolute;
    pointer-events: none;
    z-index: 7;
    transform-origin: 50% 76%;
    will-change: transform, opacity;
}

.fight-strike-weapon-js {
    width: 120px;
    height: 120px;
    object-fit: contain;
    filter:
        drop-shadow(0 0 10px rgba(255, 214, 153, 0.42))
        drop-shadow(0 0 20px rgba(255, 124, 62, 0.3));
}

.fight-strike-weapon-js--critical {
    filter:
        drop-shadow(0 0 12px rgba(255, 235, 163, 0.62))
        drop-shadow(0 0 26px rgba(255, 170, 84, 0.42));
}

.fight-strike-weapon-js--energy {
    border-radius: 999px;
    background:
        linear-gradient(90deg, rgba(255, 247, 205, 0.98) 0%, rgba(255, 151, 73, 0.92) 54%, rgba(255, 89, 43, 0.08) 100%);
    box-shadow:
        0 0 18px rgba(255, 187, 101, 0.4),
        0 0 34px rgba(255, 108, 55, 0.26);
}

.fight-strike-trail-js {
    width: 126px;
    height: 26px;
    border-radius: 999px;
    background:
        linear-gradient(90deg, rgba(255, 250, 221, 0.88) 0%, rgba(255, 181, 88, 0.82) 46%, rgba(255, 91, 43, 0) 100%);
    mix-blend-mode: screen;
    filter: blur(1px);
}

.fight-strike-trail-js--critical {
    background:
        linear-gradient(90deg, rgba(255, 246, 192, 0.98) 0%, rgba(255, 206, 104, 0.9) 34%, rgba(255, 112, 43, 0.18) 76%, rgba(255, 112, 43, 0) 100%);
    box-shadow: 0 0 16px rgba(255, 202, 116, 0.28);
}

.swing-player-js {
    animation: fighterLungePlayerJs 320ms ease;
}

.swing-opponent-js {
    animation: fighterLungeOpponentJs 320ms ease;
}

@keyframes floatValuePopJs {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(14px) scale(0.7);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0) scale(1);
    }
}

@keyframes impactBurstFadeJs {
    0% {
        opacity: 0;
        transform: scale(0.42);
    }
    35% {
        opacity: 1;
        transform: scale(1.06);
    }
    100% {
        opacity: 0;
        transform: scale(1.42);
    }
}

@keyframes fighterLungePlayerJs {
    0%, 100% {
        transform: translate3d(0, 0, 0);
    }
    45% {
        transform: translate3d(16px, -6px, 0);
    }
}

@keyframes fighterLungeOpponentJs {
    0%, 100% {
        transform: translate3d(0, 0, 0);
    }
    45% {
        transform: translate3d(-16px, -6px, 0);
    }
}

@media (max-width: 560px) {
    .pve-shell__chips {
        grid-template-columns: 1fr;
    }

    .fight-view--enhanced .fight-view__header-panel {
        width: calc(50% - 12px);
    }

    .fight-view--enhanced .fight-view__wrapper {
        padding: 7px 8px 8px;
    }

    .fight-view--enhanced .fight-view__fighter {
        width: 48%;
    }

    .fight-view--enhanced .fight__avatar--new {
        height: clamp(132px, 38vw, 178px) !important;
        width: min(40vw, 168px) !important;
        max-width: 168px;
    }

    .fight-view--enhanced .fight__avatar--tall {
        height: clamp(196px, 56vw, 270px) !important;
        width: min(48vw, 230px) !important;
        max-width: 230px;
    }
}

.clan-battle-live-shell {
    --cb-panel: rgba(15, 18, 24, 0.9);
    --cb-border: rgba(255, 255, 255, 0.08);
    --cb-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
    display: grid;
    gap: 14px;
    padding: 12px;
}

.clan-battle-live-header,
.clan-battle-live-stage,
.clan-battle-live-actions,
.clan-battle-live-map,
.clan-battle-live-panels,
.clan-battle-admin-box {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)), var(--cb-panel);
    border: 1px solid var(--cb-border);
    border-radius: 18px;
    box-shadow: var(--cb-shadow);
}

.clan-battle-live-header {
    padding: 12px;
}

.clan-battle-live-scoreboard {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.clan-battle-live-score {
    min-width: 110px;
    padding: 8px 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
}

.clan-battle-live-score__label,
.clan-battle-live-score__value {
    display: block;
}

.clan-battle-live-score__label {
    font-size: 12px;
    opacity: 0.8;
}

.clan-battle-live-score__value {
    font-size: 18px;
    font-weight: 700;
}

.clan-battle-live-status {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.clan-battle-live-status__item {
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
}

.clan-battle-live-stage {
    display: grid;
    grid-template-columns: minmax(90px, 1fr) minmax(0, 2fr) minmax(90px, 1fr);
    gap: 10px;
    align-items: stretch;
    padding: 12px;
}

.clan-battle-live-fighter {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
}

.clan-battle-live-fighter__name {
    font-weight: 700;
    font-size: 16px;
}

.clan-battle-live-fighter__meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
}

.clan-battle-live-scene {
    position: relative;
    overflow: hidden;
    min-height: 260px;
    border-radius: 16px;
}

.clan-battle-live-scene__image {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
}

.clan-battle-live-scene__overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 18%, rgba(255, 245, 200, 0.14), transparent 42%),
        linear-gradient(180deg, rgba(8, 10, 15, 0.15), rgba(8, 10, 15, 0.52));
}

.clan-battle-live-scene__avatars {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 20px 28px 8px;
}

.clan-battle-live-scene__notice {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(6, 8, 12, 0.72);
}

.clan-battle-live-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px;
}

.clan-battle-live-map {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 12px;
}

.clan-battle-live-map__card {
    display: grid;
    gap: 6px;
    padding: 10px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    text-decoration: none;
    color: inherit;
}

.clan-battle-live-map__card--current {
    border-color: rgba(255, 214, 102, 0.55);
    box-shadow: 0 0 0 1px rgba(255, 214, 102, 0.25);
}

.clan-battle-live-map__image {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 10px;
}

.clan-battle-live-map__name {
    font-weight: 700;
}

.clan-battle-live-map__counts {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 13px;
}

.clan-battle-live-map__flag,
.clan-battle-live-map__owner {
    font-size: 12px;
}

.clan-battle-live-panels {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 12px;
}

.clan-battle-live-panel {
    padding: 10px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
}

.clan-battle-live-panel__title {
    margin-bottom: 8px;
    font-weight: 700;
}

.clan-battle-live-log {
    display: grid;
    gap: 8px;
    max-height: 260px;
    overflow: auto;
}

.clan-battle-live-log__item {
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
}

.clan-battle-live-command-list {
    display: grid;
    gap: 8px;
}

.clan-battle-admin-box {
    display: grid;
    gap: 12px;
    margin: 12px 0;
    padding: 12px;
}

.clan-battle-admin-box__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.clan-battle-admin-box__row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: end;
}

.clan-battle-admin-box__row label {
    display: grid;
    gap: 6px;
    min-width: 140px;
}

.clan-battle-admin-box__row input[type="number"],
.clan-battle-admin-box__row select {
    min-height: 34px;
    padding: 6px 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: inherit;
}

.clan-battle-admin-box__checkbox {
    display: flex !important;
    align-items: center;
    gap: 8px;
    min-width: auto !important;
}

.clan-battle-monitor {
    display: grid;
    gap: 10px;
}

.clan-battle-monitor__card {
    padding: 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
}

.clan-battle-monitor__head,
.clan-battle-monitor__scores {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.clan-battle-monitor__logs {
    display: grid;
    gap: 6px;
}

.clan-battle-monitor__log,
.clan-battle-monitor__empty {
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
}

@media (max-width: 640px) {
    .clan-battle-live-stage,
    .clan-battle-live-panels {
        grid-template-columns: 1fr;
    }

    .clan-battle-live-map {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
