        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Microsoft YaHei', sans-serif;
        }
        
        body {
            background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 20px;
        }
        
        .container {
            background-color: rgba(255, 255, 255, 0.95);
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            width: 100%;
            max-width: 800px;
            padding: 30px;
            text-align: center;
            position: relative;
        }
        
        h1 {
            color: #d63031;
            margin-bottom: 10px;
            font-size: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }
        
        .icon {
            font-size: 28px;
        }
        
        .subtitle {
            color: #666;
            margin-bottom: 30px;
            font-size: 16px;
        }
        
        .setup-section {
            background-color: #f8f9fa;
            border-radius: 10px;
            padding: 20px;
            margin-bottom: 40px;
            transition: all 0.5s ease;
        }
        
        .setup-section.hidden {
            display: none;
        }
        
        .setup-title {
            font-size: 20px;
            color: #d63031;
            margin-bottom: 15px;
        }
        
        .setup-controls {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            justify-content: center;
        }
        
        .control-group {
            flex: 1;
            min-width: 200px;
            text-align: left;
        }
        
        label {
            display: block;
            margin-bottom: 8px;
            font-weight: bold;
            color: #555;
        }
        
        input, select, button {
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 8px;
            font-size: 16px;
            width: 100%;
        }
        
        button {
            background: linear-gradient(to right, #d63031, #e17055);
            color: white;
            border: none;
            cursor: pointer;
            font-weight: bold;
            transition: all 0.3s;
            margin-top: 10px;
        }
        
        button:hover {
            background: linear-gradient(to right, #c23616, #d63031);
            transform: translateY(-2px);
        }
        
        .boss-container {
            position: relative;
            margin: 40px auto;
            width: 300px;
            height: 350px;
        }
        
        .boss {
            position: relative;
            width: 100%;
            height: 100%;
        }
        
        .head {
            position: absolute;
            top: 50px;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 100px;
            background: #ffd7b5;
            border-radius: 50%;
            cursor: pointer;
            z-index: 10;
            transition: transform 0.1s;
        }
        
        .hair {
            position: absolute;
            top: -10px;
            left: 0;
            width: 100%;
            height: 40px;
            background: #2d3436;
            border-radius: 50% 50% 0 0;
        }
        
        .face {
            position: absolute;
            top: 30px;
            left: 50%;
            transform: translateX(-50%);
            width: 80%;
            height: 70%;
        }
        
        .eyes {
            position: absolute;
            top: 20px;
            width: 100%;
            display: flex;
            justify-content: space-around;
        }
        
        .eye {
            width: 15px;
            height: 15px;
            background: #2d3436;
            border-radius: 50%;
        }
        
        .mouth {
            position: absolute;
            bottom: 15px;
            left: 50%;
            transform: translateX(-50%);
            width: 30px;
            height: 5px;
            background: #d63031;
            border-radius: 5px;
        }
        
        .body {
            position: absolute;
            top: 150px;
            left: 50%;
            transform: translateX(-50%);
            width: 120px;
            height: 150px;
            background: #2d3436;
            border-radius: 10px 10px 0 0;
        }
        
        .tie {
            position: absolute;
            top: 10px;
            left: 50%;
            transform: translateX(-50%);
            width: 20px;
            height: 50px;
            background: #d63031;
            border-radius: 0 0 5px 5px;
            z-index: 5;
        }
        
        .arm {
            position: absolute;
            top: 30px;
            width: 20px;
            height: 80px;
            background: #ffd7b5;
        }
        
        .arm.left {
            left: -20px;
            border-radius: 10px 0 0 10px;
        }
        
        .arm.right {
            right: -20px;
            border-radius: 0 10px 10px 0;
        }
        
        .legs-container {
            position: absolute;
            top: 300px;
            left: 50%;
            transform: translateX(-50%);
            width: 120px;
            display: flex;
            justify-content: space-between;
        }
        
        .leg {
            width: 30px;
            height: 60px;
            background: #2d3436;
            border-radius: 0 0 5px 5px;
        }
        
        .hit-effect {
            position: absolute;
            top: 10px;
            left: 50%;
            transform: translateX(-50%);
            font-size: 24px;
            font-weight: bold;
            color: #d63031;
            opacity: 0;
            pointer-events: none;
        }
        
        .counter {
            font-size: 24px;
            font-weight: bold;
            color: #d63031;
            margin-top: 20px;
        }
        
        .instructions {
            margin-top: 20px;
            font-size: 14px;
            color: #666;
        }
        
        .female .hair {
            background: #a55eea;
            height: 60px;
        }
        
        .female .body {
            background: #a55eea;
        }
        
        .female .tie {
            background: #fd79a8;
        }
        
        .female .leg {
            background: #a55eea;
        }
        
        @keyframes hit {
            0% { transform: translateX(-50%) scale(1); }
            25% { transform: translateX(-50%) scale(0.95); }
            50% { transform: translateX(-50%) scale(0.9); }
            100% { transform: translateX(-50%) scale(1); }
        }
        
        @keyframes floatUp {
            0% { opacity: 1; transform: translateX(-50%) translateY(0); }
            100% { opacity: 0; transform: translateX(-50%) translateY(-50px); }
        }
        
        @keyframes stickHit {
            0% { 
                transform: translateY(0) rotate(0deg);
            }
            50% { 
                transform: translateY(40px) rotate(5deg);
            }
            70% {
                transform: translateY(45px) rotate(5deg);
            }
            100% { 
                transform: translateY(0) rotate(0deg);
            }
        }
        
        .hit-animation {
            animation: hit 0.4s ease;
        }
        
        .float-up {
            animation: floatUp 0.5s ease-out forwards;
        }
        
        /* 将名字标签放在领带下方 */
        .name-tag {
            position: absolute;
            top: 115px;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(214, 48, 49, 0.8);
            color: white;
            padding: 3px 8px;
            border-radius: 3px;
            font-size: 12px;
            font-weight: bold;
            z-index: 4;
            white-space: nowrap;
            max-width: 100px;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        
        /* 棍子样式 - 修正位置和动画方向 */
        .stick-container {
            position: absolute;
            top: 0px;
            left: 20%;
            transform: translateX(-50%);
            width: 180px;
            height: 20px;
            z-index: 20;
        }
        
        .stick {
            position: absolute;
            top: 0;
            left: 0;
            width: 180px;
            height: 12px;
            background: linear-gradient(to right, #8B4513, #A0522D);
            border-radius: 6px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
        }
        
        .stick::before {
            content: "";
            position: absolute;
            left: -10px;
            top: 50%;
            transform: translateY(-50%);
            width: 20px;
            height: 20px;
            background: #8B4513;
            border-radius: 50%;
        }
        
        .stick::after {
            content: "";
            position: absolute;
            right: -5px;
            top: 50%;
            transform: translateY(-50%);
            width: 16px;
            height: 16px;
            background: #D2691E;
            border-radius: 50%;
        }
        
        .stick-animation {
            animation: stickHit 0.2s ease-out;
        }
        
        .sound-control {
            margin-top: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }
        
        .sound-control label {
            margin-bottom: 0;
        }
        
        .sound-control input {
            width: auto;
        }
        
        .reset-btn {
            background: linear-gradient(to right, #0984e3, #74b9ff);
            margin-top: 15px;
        }
        
        .edit-btn {
            background: linear-gradient(to right, #00b894, #55efc4);
            margin-top: 15px;
            display: none;
        }