
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --char-width: clamp(56px, 18vw, 96px);
            --stab-distance: clamp(70px, 25vw, 160px);
            --blood-pool-scale: 0.2;
        }

        html,
        body {
            height: 100%;
            background: #0a0a12;
            font-family: 'Georgia', serif;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            touch-action: manipulation;
            -webkit-tap-highlight-color: transparent;
            user-select: none;
            -webkit-user-select: none;
            color: #eee;
        }

        #stage {
            width: min(100vw, calc(100vh * 9 / 16));
            height: min(100vh, calc(100vw * 16 / 9));
            aspect-ratio: 9 / 16;
            display: flex;
            flex-direction: column;
            padding: clamp(8px, 2vw, 16px);
            gap: clamp(6px, 1.2vh, 12px);
            background: #14141f;
            box-shadow: 0 0 40px rgba(150, 0, 0, 0.3);
            border-radius: 12px;
            overflow: hidden;
            position: relative;
        }

        @supports (height: 100dvh) {
            #stage {
                width: min(100vw, calc(100dvh * 9 / 16));
                height: min(100dvh, calc(100vw * 16 / 9));
            }
        }

        h1 {
            font-size: clamp(1.2rem, 5vw, 2.2rem);
            color: #b71c1c;
            text-shadow: 0 0 20px rgba(183, 28, 28, 0.6), 0 0 40px rgba(183, 28, 28, 0.3);
            text-align: center;
            letter-spacing: 2px;
            font-weight: 700;
        }

        #narrative {
            font-size: clamp(0.75rem, 2.8vw, 1.05rem);
            font-style: italic;
            color: #ddd;
            min-height: 2.8em;
            text-align: center;
            line-height: 1.5;
            background: rgba(10, 10, 22, 0.88);
            padding: 10px 18px;
            border-radius: 14px;
            border: 1px solid rgba(183, 28, 28, 0.35);
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.06);
            transition: all 0.3s;
            position: relative;
            backdrop-filter: blur(8px);
            text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
        }

        #narrative::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 18%;
            width: 0;
            height: 0;
            border-left: 10px solid transparent;
            border-right: 10px solid transparent;
            border-top: 12px solid rgba(10, 10, 22, 0.88);
            filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.4));
        }

        #narrative.love {
            border-color: rgba(233, 30, 99, 0.5);
            color: #ff8a80;
            box-shadow: 0 4px 16px rgba(233, 30, 99, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.06);
        }

        #narrative.gaslight {
            border-color: rgba(123, 31, 162, 0.5);
            color: #ce93d8;
            box-shadow: 0 4px 16px rgba(123, 31, 162, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.06);
        }

        #game-area {
            position: relative;
            flex: 1;
            min-height: 0;
            width: 100%;
            background:
                radial-gradient(ellipse at 25% 15%, rgba(50, 60, 100, 0.18) 0%, transparent 50%),
                radial-gradient(ellipse at 75% 85%, rgba(35, 25, 50, 0.35) 0%, transparent 55%),
                radial-gradient(ellipse at bottom, #1a1a2e, #0a0a14);
            border: 2px solid #3a2a2a;
            border-radius: clamp(8px, 2vw, 14px);
            overflow: hidden;
            box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.9), 0 0 30px rgba(0, 0, 0, 0.5);
        }

        #weapon-select {
            position: absolute;
            bottom: clamp(10px, 3vh, 18px);
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: clamp(8px, 3vw, 18px);
            z-index: 20;
            background: rgba(0, 0, 0, 0.7);
            padding: 6px 12px;
            border-radius: 30px;
            backdrop-filter: blur(4px);
            border: 1px solid #444;
        }

        .weapon-btn {
            background: none;
            border: none;
            color: #888;
            padding: 4px 8px;
            cursor: pointer;
            border-radius: 20px;
            transition: all 0.2s;
            touch-action: manipulation;
            line-height: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: clamp(1.2rem, 5vw, 2rem);
        }

        .weapon-btn.active {
            color: #fff;
            background: #b71c1c;
            box-shadow: 0 0 20px rgba(183, 28, 28, 0.6);
            transform: scale(1.1);
        }

        .weapon-btn.active-love {
            background: #e91e63;
            box-shadow: 0 0 20px rgba(233, 30, 99, 0.6);
        }

        .weapon-btn.active-gaslight {
            background: #7b1fa2;
            box-shadow: 0 0 20px rgba(123, 31, 162, 0.6);
        }

        .weapon-btn:not(.active):hover {
            color: #ddd;
        }

        .weapon-btn img {
            height: 1.4em;
            width: auto;
            display: block;
            filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.3));
        }

        .weapon-btn.active img {
            filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.3));
        }

        .character {
            position: absolute;
            width: var(--char-width);
            height: calc(var(--char-width) * 3);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: flex-end;
            transition: transform 0.3s, opacity 0.5s;
            filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.7));
            z-index: 6;
        }

        .arm {
            position: absolute;
            top: 30%;
            width: 14%;
            height: 32%;
            background: #2a2a3a;
            border-radius: 8px 8px 4px 4px;
            z-index: 5;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
            transition: transform 0.3s ease;
            transform-origin: top center;
        }

        .arm.left {
            left: 12%;
            transform: rotate(12deg);
        }

        .arm.right {
            right: 12%;
            transform: rotate(-12deg);
        }

        #laura .arm.right.armed {
            transform: rotate(-80deg);
            transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
            background: #1a1a2a;
        }

        #laura .arm.right.recoil {
            transform: rotate(-95deg) translateX(-6px);
            transition: transform 0.08s;
        }

        #friend .arm.left {
            transform: rotate(8deg);
        }
        #friend .arm.right {
            transform: rotate(-8deg);
        }

        .character .head {
            width: 50%;
            height: 24%;
            position: relative;
            border-radius: 50%;
            overflow: hidden;
            border: 2px solid #333;
            box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
            z-index: 6;
        }

        .character .head img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .character .head .dead-overlay {
            position: absolute;
            inset: 0;
            background: rgba(120, 0, 0, 0.5);
            border-radius: 50%;
            opacity: 0;
            transition: opacity 0.6s;
        }

        .character .head.dead .dead-overlay {
            opacity: 1;
        }

        .character .head.dead img {
            filter: grayscale(0.7) brightness(0.5);
        }

        .character .body {
            width: 62%;
            height: 50%;
            border-radius: 12% 12% 8% 8%;
            margin-top: 1%;
            position: relative;
            z-index: 4;
        }

        .character .body::after {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: inherit;
            background: linear-gradient(to bottom, rgba(255, 255, 255, 0.05), transparent);
            pointer-events: none;
        }

        .character .legs {
            width: 100%;
            height: 24%;
            display: flex;
            justify-content: center;
            gap: 8%;
            margin-top: 1%;
            z-index: 4;
        }

        .character .leg {
            width: 28%;
            height: 100%;
            background: #3a3a4a;
            border-radius: 0 0 8px 8px;
            box-shadow: inset 0 -4px 6px rgba(0, 0, 0, 0.4);
        }

        #laura {
            left: 14%;
            bottom: 28%;
        }
        #laura .body {
            background: #000;
        }

        #friend {
            right: 14%;
            bottom: 28%;
            cursor: pointer;
            touch-action: manipulation;
            transition: transform 0.15s, opacity 0.5s;
        }
        #friend .body {
            background: #000;
        }

        #friend.hit {
            animation: hitShake 0.3s;
        }

        @keyframes hitShake {
            0% { transform: translateX(0); }
            25% { transform: translateX(-8px) rotate(-3deg); }
            50% { transform: translateX(8px) rotate(3deg); }
            75% { transform: translateX(-4px); }
            100% { transform: translateX(0); }
        }

        #friend.love-effect {
            animation: lovePulse 0.6s;
        }

        @keyframes lovePulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.08); filter: drop-shadow(0 0 20px #e91e63); }
            100% { transform: scale(1); }
        }

        #friend.gaslight-effect {
            animation: gaslightShock 0.5s;
        }

        @keyframes gaslightShock {
            0% { transform: scale(1) rotate(0); filter: drop-shadow(0 0 10px #7b1fa2); }
            30% { transform: scale(0.9) rotate(-8deg); filter: drop-shadow(0 0 40px #7b1fa2); }
            70% { transform: scale(1.05) rotate(4deg); filter: drop-shadow(0 0 20px #7b1fa2); }
            100% { transform: scale(1) rotate(0); filter: drop-shadow(0 0 0px); }
        }

        #friend.dead {
            transform: rotate(90deg) translateX(30%) scale(0.9);
            opacity: 0.6;
            transition: transform 0.8s, opacity 0.8s;
        }

        #knife {
            position: absolute;
            pointer-events: none;
            z-index: 8;
            opacity: 0;
            transition: opacity 0.3s, transform 0.1s;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: clamp(28px, 8vw, 48px);
            line-height: 1;
            filter: drop-shadow(0 0 8px rgba(200, 0, 0, 0.4));
            width: auto;
            height: auto;
            left: 0;
            top: 0;
            bottom: auto;
        }

        /* Zentrierung der Waffe (ersetzt Inline-transform) */
        #knife.centered {
            transform: translate(-50%, -50%);
        }

        #knife.visible {
            opacity: 1;
        }

        #knife.stab {
            transform: translate(calc(-50% + var(--stab-distance)), -50%) rotate(20deg);
        }

        #knife img {
            height: 1.2em;
            width: auto;
            display: block;
            filter: drop-shadow(0 0 6px rgba(200, 0, 0, 0.5));
        }

        /* --- BLOOD SYSTEM --- */
        #blood-ground {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 45%;
            pointer-events: none;
            z-index: 3;
            overflow: hidden;
        }

        #blood-pool {
            position: absolute;
            bottom: -10%;
            left: 50%;
            transform: translateX(-50%) scale(0);
            width: 120%;
            height: 80%;
            background:
                radial-gradient(ellipse at 50% 70%, rgba(139, 0, 0, 0.9) 0%, rgba(74, 0, 0, 0.75) 35%, rgba(30, 0, 0, 0.55) 60%, transparent 82%),
                radial-gradient(ellipse at 38% 55%, rgba(180, 20, 20, 0.55) 0%, transparent 45%),
                radial-gradient(ellipse at 62% 78%, rgba(100, 0, 0, 0.8) 0%, transparent 55%),
                radial-gradient(ellipse at 50% 50%, rgba(160, 10, 10, 0.45) 0%, transparent 65%),
                radial-gradient(ellipse at 45% 65%, rgba(200, 30, 30, 0.2) 0%, transparent 30%);
            border-radius: 48% 52% 32% 28% / 55% 50% 35% 30%;
            transition: transform 1.2s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.8s;
            opacity: 0;
            box-shadow:
                0 0 80px rgba(120, 0, 0, 0.45),
                inset 0 0 60px rgba(80, 0, 0, 0.5),
                inset 0 -8px 30px rgba(160, 20, 20, 0.25);
            z-index: 2;
        }

        #blood-pool::after {
            content: '';
            position: absolute;
            top: 22%;
            left: 32%;
            width: 22%;
            height: 14%;
            background: radial-gradient(ellipse, rgba(255, 180, 180, 0.12) 0%, transparent 70%);
            border-radius: 50%;
            pointer-events: none;
        }

        #blood-pool.active {
            opacity: 1;
            transform: translateX(-50%) scale(1);
        }

        #blood-smear {
            position: absolute;
            inset: 0;
            pointer-events: none;
            z-index: 4;
            opacity: 0;
            transition: opacity 1.5s;
            background:
                radial-gradient(ellipse at 70% 80%, rgba(120, 0, 0, 0.25) 0%, transparent 55%),
                radial-gradient(ellipse at 30% 70%, rgba(100, 0, 0, 0.2) 0%, transparent 50%),
                radial-gradient(ellipse at 50% 90%, rgba(140, 0, 0, 0.3) 0%, transparent 65%);
        }

        #blood-smear.active {
            opacity: 1;
        }

        .screen-blood {
            position: absolute;
            pointer-events: none;
            z-index: 18;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(120, 0, 0, 0.7) 0%, rgba(60, 0, 0, 0.4) 50%, transparent 100%);
            animation: screenBloodFade 8s forwards;
            filter: blur(2px);
        }

        @keyframes screenBloodFade {
            0% { opacity: 1; transform: scale(0.5); }
            20% { opacity: 0.8; transform: scale(1); }
            100% { opacity: 0.2; transform: scale(1.1); }
        }

        .blood-patch {
            position: absolute;
            border-radius: 50%;
            background: radial-gradient(ellipse at center, #8b0000 0%, #4a0000 70%, transparent 100%);
            opacity: 0;
            animation: bleedOut 4s forwards;
            transform-origin: center;
        }

        @keyframes bleedOut {
            0% { opacity: 0.6; transform: scale(0.3); }
            100% { opacity: 0.9; transform: scale(1.8); }
        }

        .blood-patch.permanent {
            animation: none;
            opacity: 0.95;
            transform: scale(2.2);
            transition: transform 6s, opacity 6s;
        }

        .drop {
            position: absolute;
            width: 7px;
            height: 18px;
            background: radial-gradient(ellipse at 50% 20%, #c62828 0%, #8b0000 40%, #3a0000 100%);
            border-radius: 40% 40% 50% 50% / 30% 30% 70% 70%;
            pointer-events: none;
            z-index: 5;
            animation: fallDrop 2.2s forwards;
            box-shadow: 0 1px 3px rgba(100, 0, 0, 0.4);
        }

        @keyframes fallDrop {
            0% { opacity: 1; transform: translateY(0) scale(0.5); }
            100% { opacity: 0; transform: translateY(100px) scale(0.15); }
        }

        .blood-splatter {
            position: absolute;
            pointer-events: none;
            animation: splatterFly 0.7s forwards;
            z-index: 6;
            border-radius: 50%;
        }

        @keyframes splatterFly {
            0% { transform: translate(0, 0) scale(0.3); opacity: 1; }
            100% { transform: translate(var(--sx), var(--sy)) scale(2.8); opacity: 0; }
        }

        .blood-smear-trail {
            position: absolute;
            pointer-events: none;
            z-index: 5;
            border-radius: 50% 0 50% 0;
            background: radial-gradient(ellipse, rgba(139, 0, 0, 0.7) 0%, rgba(74, 0, 0, 0.4) 50%, transparent 100%);
            animation: smearTrail 2s forwards;
            filter: blur(1px);
        }

        @keyframes smearTrail {
            0% { transform: translate(0, 0) scaleX(0.3) scaleY(0.4); opacity: 0.8; }
            100% { transform: translate(var(--sx), var(--sy)) scaleX(1.5) scaleY(0.8); opacity: 0; }
        }

        .heart-float {
            position: absolute;
            font-size: clamp(24px, 6vw, 48px);
            pointer-events: none;
            z-index: 7;
            animation: heartRise 1.5s forwards;
        }

        @keyframes heartRise {
            0% { opacity: 1; transform: translateY(0) scale(0.5) rotate(0deg); }
            100% { opacity: 0; transform: translateY(-120px) scale(1.5) rotate(20deg); }
        }

        .broken-heart {
            position: absolute;
            font-size: clamp(24px, 6vw, 48px);
            pointer-events: none;
            z-index: 7;
            animation: heartBreak 1.2s forwards;
        }

        @keyframes heartBreak {
            0% { opacity: 1; transform: scale(0.5) rotate(0deg) translate(0,0); }
            50% { opacity: 1; transform: scale(1.3) rotate(20deg) translate(10px,-20px); }
            100% { opacity: 0; transform: scale(0.2) rotate(40deg) translate(30px,-80px); }
        }

        .dark-aura {
            position: absolute;
            inset: 0;
            background: radial-gradient(ellipse at 70% 80%, rgba(123, 31, 162, 0.3), transparent 70%);
            pointer-events: none;
            z-index: 2;
            opacity: 0;
            transition: opacity 0.6s;
        }

        .dark-aura.active {
            opacity: 1;
        }

        #blood-vignette {
            position: absolute;
            inset: 0;
            pointer-events: none;
            z-index: 12;
            opacity: 0;
            transition: opacity 0.8s;
            background: radial-gradient(ellipse at center, transparent 40%, rgba(100, 0, 0, 0.5) 80%, rgba(80, 0, 0, 0.8) 100%);
        }

        #blood-vignette.active {
            opacity: 1;
        }

        #health-bar-container {
            position: absolute;
            top: clamp(8px, 2vh, 14px);
            right: clamp(8px, 2.5vw, 16px);
            width: clamp(120px, 45%, 220px);
            z-index: 15;
            background: rgba(0, 0, 0, 0.5);
            padding: 4px 10px;
            border-radius: 12px;
            backdrop-filter: blur(4px);
            border: 1px solid #3a2a2a;
        }

        #health-bar-label {
            font-size: clamp(0.6rem, 2vw, 0.8rem);
            margin-bottom: 2px;
            text-align: right;
            color: #ddd;
        }

        #health-bar {
            width: 100%;
            height: clamp(12px, 2.5vh, 18px);
            background: #1a1a1a;
            border-radius: 9px;
            overflow: hidden;
            border: 1px solid #444;
        }

        #health-fill {
            height: 100%;
            background: linear-gradient(to right, #b71c1c, #e53935);
            width: 100%;
            transition: width 0.4s ease;
            border-radius: 9px;
            box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.2);
        }

        #stabs-counter {
            position: absolute;
            top: clamp(8px, 2vh, 14px);
            left: clamp(8px, 2.5vw, 16px);
            font-size: clamp(0.7rem, 2.4vw, 0.95rem);
            color: #aaa;
            z-index: 15;
            background: rgba(0, 0, 0, 0.4);
            padding: 4px 10px;
            border-radius: 12px;
            backdrop-filter: blur(4px);
            border: 1px solid #3a2a2a;
        }

        #stabs-counter span {
            color: #b71c1c;
            font-weight: bold;
        }

        #game-over {
            display: flex;
            display: none;
            flex-direction: column;
            position: absolute;
            inset: 0;
            background: rgba(0, 0, 0, 0.8);
            align-items: center;
            justify-content: center;
            text-align: center;
            z-index: 30;
            padding: clamp(16px, 5vw, 32px);
            backdrop-filter: blur(6px);
        }

        #game-over h2 {
            margin: 0;
            font-size: clamp(2.5rem, 10vw, 4.5rem);
            color: #b71c1c;
            text-shadow: 0 0 40px rgba(183, 28, 28, 0.9), 0 0 80px rgba(183, 28, 28, 0.5);
            letter-spacing: 4px;
        }

        #game-over p {
            margin-top: 10px;
            margin-bottom: 0;
            font-size: clamp(0.9rem, 3vw, 1.2rem);
            color: #ccc;
        }

        #restart-btn {
            margin-top: 18px;
            padding: clamp(10px, 2.5vh, 14px) clamp(20px, 6vw, 32px);
            font-size: clamp(0.9rem, 3vw, 1.1rem);
            background: #b71c1c;
            color: white;
            border: none;
            border-radius: 30px;
            cursor: pointer;
            font-family: inherit;
            transition: background 0.2s, transform 0.1s;
            box-shadow: 0 0 30px rgba(183, 28, 28, 0.3);
        }

        #restart-btn:hover {
            background: #d32f2f;
            transform: scale(1.03);
        }

        .floor {
            position: absolute;
            bottom: 0;
            width: 100%;
            height: clamp(22px, 6vh, 36px);
            background: linear-gradient(to bottom, #1e1e2e, #11111e);
            border-top: 1px solid rgba(100, 100, 140, 0.15);
            box-shadow: inset 0 4px 14px rgba(0, 0, 0, 0.7), 0 -1px 0 rgba(255, 255, 255, 0.03);
            z-index: 2;
        }

        .floor::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(90deg, transparent 15%, rgba(255, 255, 255, 0.02) 40%, transparent 65%);
            pointer-events: none;
        }

        .bg-moonlight {
            position: absolute;
            inset: 0;
            background:
                linear-gradient(135deg, rgba(80, 100, 160, 0.07) 0%, transparent 40%),
                linear-gradient(225deg, rgba(60, 80, 120, 0.04) 0%, transparent 30%);
            pointer-events: none;
            z-index: 1;
            animation: moonPulse 8s ease-in-out infinite alternate;
        }

        @keyframes moonPulse {
            0%   { opacity: 0.7; }
            100% { opacity: 1; }
        }

        .bg-fog {
            position: absolute;
            bottom: 0;
            left: -10%;
            width: 120%;
            pointer-events: none;
            z-index: 1;
            filter: blur(10px);
            background: radial-gradient(ellipse at 50% 100%, rgba(140, 150, 175, 0.3) 0%, transparent 65%);
            animation: fogDrift 14s ease-in-out infinite alternate;
        }

        .bg-fog.fog-1 { height: 35%; opacity: 0.12; }
        .bg-fog.fog-2 { height: 25%; opacity: 0.08; animation-duration: 22s; animation-delay: -7s; }
        .bg-fog.fog-3 { height: 18%; opacity: 0.05; animation-duration: 30s; animation-delay: -14s; }

        @keyframes fogDrift {
            0%   { transform: translateX(-1.5%) translateY(0); }
            50%  { transform: translateX(0.5%) translateY(-2px); }
            100% { transform: translateX(1.5%) translateY(0); }
        }

        .bg-vignette {
            position: absolute;
            inset: 0;
            pointer-events: none;
            z-index: 1;
            background: radial-gradient(ellipse at center, transparent 45%, rgba(0, 0, 0, 0.4) 100%);
        }

        #bleed-glow {
            position: absolute;
            inset: 0;
            pointer-events: none;
            z-index: 2;
            background: radial-gradient(ellipse at 70% 80%, rgba(100, 0, 0, 0.15), transparent 60%);
            opacity: 0;
            transition: opacity 2s;
        }

        #bleed-glow.active {
            opacity: 1;
        }

        #bleed-glow.love-glow {
            background: radial-gradient(ellipse at 70% 80%, rgba(233, 30, 99, 0.2), transparent 60%);
            transition: opacity 0.5s;
        }

        #bleed-glow.gaslight-glow {
            background: radial-gradient(ellipse at 70% 80%, rgba(123, 31, 162, 0.4), transparent 70%);
            transition: opacity 0.5s;
        }

        .muzzle-flash {
            position: absolute;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: radial-gradient(circle, #fff9c4 0%, #ffeb3b 30%, #ff9800 60%, transparent 100%);
            pointer-events: none;
            z-index: 10;
            animation: muzzleFade 0.15s forwards;
            filter: blur(4px);
        }

        @keyframes muzzleFade {
            0% { transform: scale(0.3); opacity: 1; }
            100% { transform: scale(2.5); opacity: 0; }
        }

        .bullet {
            position: absolute;
            width: 12px;
            height: 6px;
            background: #ffcc80;
            border-radius: 50%;
            pointer-events: none;
            z-index: 9;
            box-shadow: 0 0 12px #ff9800, 0 0 24px #ff5722;
            transition: all 0.15s linear;
        }

        .impact {
            position: absolute;
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background: radial-gradient(circle, #ff6d00 0%, #ff3d00 40%, #d50000 70%, transparent 100%);
            pointer-events: none;
            z-index: 9;
            animation: impactExplode 0.3s forwards;
            filter: blur(6px);
        }

        @keyframes impactExplode {
            0% { transform: scale(0.2); opacity: 1; }
            100% { transform: scale(2.5); opacity: 0; }
        }

        .spark {
            position: absolute;
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: #ffcc02;
            pointer-events: none;
            z-index: 8;
            animation: sparkFly 0.4s forwards;
        }

        @keyframes sparkFly {
            0% { transform: translate(0, 0) scale(1); opacity: 1; }
            100% { transform: translate(var(--sx), var(--sy)) scale(0); opacity: 0; }
        }
    