body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background-color: #e0e5ec;
    color: #333;
    line-height: 1.6;
}

.container {
    background-color: #e0e5ec;
    padding: 30px;
    border-radius: 16px;
    margin: 20px 0;
}

h1 {
    text-align: center;
    margin-bottom: 30px;
    font-weight: 600;
    color: #5a6c7d;
    text-shadow: 2px 2px 4px rgba(163, 177, 198, 0.6), -2px -2px 4px rgba(255, 255, 255, 0.8);
}

.beast-chars {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 30px 0;
    font-size: 28px;
    padding: 20px;
    border-radius: 12px;
    background-color: #e0e5ec;
    box-shadow: inset 3px 3px 6px rgba(163, 177, 198, 0.6), inset -3px -3px 6px rgba(255, 255, 255, 0.8);
}

.beast-char {
    text-align: center;
    color: #5a6c7d;
    font-weight: bold;
}

.beast-char div:first-child {
    text-shadow: 2px 2px 3px rgba(163, 177, 198, 0.6), -2px -2px 3px rgba(255, 255, 255, 0.8);
}

.beast-char div:last-child {
    font-size: 16px;
    opacity: 0.8;
}

.input-section {
    margin-bottom: 25px;
}

label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #5a6c7d;
    transition: all 0.2s ease;
}

textarea {
    width: 100%;
    height: 120px;
    padding: 15px;
    border: none;
    border-radius: 12px;
    font-family: monospace;
    margin-bottom: 15px;
    resize: vertical;
    background-color: #e0e5ec;
    box-shadow: inset 3px 3px 6px rgba(163, 177, 198, 0.6), inset -3px -3px 6px rgba(255, 255, 255, 0.8);
    color: #333;
    outline: none;
    transition: all 0.3s ease;
}

textarea::placeholder {
    color: #aaa;
    opacity: 0.8;
}

textarea:focus {
    box-shadow: inset 4px 4px 8px rgba(163, 177, 198, 0.8), inset -4px -4px 8px rgba(255, 255, 255, 0.9);
}

.options-container {
    margin-bottom: 20px;
}

.times-selector {
    display: flex;
    gap: 10px;
    align-items: center;
}

.neomorphic-select {
    padding: 10px 15px;
    background-color: #e0e5ec;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    color: #5a6c7d;
    box-shadow: 4px 4px 8px rgba(163, 177, 198, 0.6), -4px -4px 8px rgba(255, 255, 255, 0.8);
    outline: none;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
}

.neomorphic-select:hover {
    box-shadow: 3px 3px 6px rgba(163, 177, 198, 0.6), -3px -3px 6px rgba(255, 255, 255, 0.8);
}

.neomorphic-select:focus {
    box-shadow: inset 3px 3px 6px rgba(163, 177, 198, 0.6), inset -3px -3px 6px rgba(255, 255, 255, 0.8);
}

.neomorphic-input {
    padding: 10px 15px;
    background-color: #e0e5ec;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    color: #5a6c7d;
    box-shadow: inset 3px 3px 6px rgba(163, 177, 198, 0.6), inset -3px -3px 6px rgba(255, 255, 255, 0.8);
    outline: none;
    font-size: 14px;
    width: 100px;
}

.button-group {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 25px 0;
}

button {
    padding: 12px 24px;
    background-color: #e0e5ec;
    color: #5a6c7d;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    box-shadow: 5px 5px 10px rgba(163, 177, 198, 0.6), -5px -5px 10px rgba(255, 255, 255, 0.8);
    transition: all 0.2s ease;
    outline: none;
    font-size: 15px;
}

button:hover {
    box-shadow: 4px 4px 8px rgba(163, 177, 198, 0.6), -4px -4px 8px rgba(255, 255, 255, 0.8);
}

button:active {
    box-shadow: inset 3px 3px 6px rgba(163, 177, 198, 0.6), inset -3px -3px 6px rgba(255, 255, 255, 0.8);
}

.stats {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    font-size: 14px;
    color: #666;
    padding: 10px 15px;
    background-color: #e0e5ec;
    border-radius: 8px;
    box-shadow: inset 2px 2px 4px rgba(163, 177, 198, 0.6), inset -2px -2px 4px rgba(255, 255, 255, 0.8);
}

.fps-counter {
    position: fixed;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    background-color: rgba(224, 229, 236, 0.8);
    border-radius: 6px;
    font-size: 14px;
    color: #5a6c7d;
    box-shadow: 3px 3px 6px rgba(163, 177, 198, 0.6), -3px -3px 6px rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
    body {
        padding: 20px 10px;
    }
    
    .container {
        padding: 20px 15px;
    }
    
    /* 移动端按钮横向排列 */
    .button-group {
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        gap: 8px !important;
        overflow-x: auto !important;
        padding-bottom: 8px !important;
    }
    
    .button-group button {
        width: 80px !important;
        flex-shrink: 0 !important;
        padding: 10px 5px !important;
        font-size: 13px !important;
    }
}

@media (max-width: 480px) {
    .beast-chars {
        gap: 15px;
        font-size: 20px;
        padding: 15px;
    }
    
    textarea {
        height: 100px;
    }
    
    .stats {
        flex-direction: column;
        gap: 5px;
    }
    
    /* 优化移动端按钮布局 */
    .button-group {
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        gap: 8px !important;
        overflow-x: auto !important;
        padding-bottom: 8px !important;
        white-space: nowrap;
    }
    
    .button-group button {
        width: 80px !important;
        flex-shrink: 0 !important;
        padding: 10px 5px !important;
        font-size: 13px !important;
    }
}