* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', 'Microsoft YaHei', sans-serif;
    background-color: #1a1a2e;
    color: #ffffff;
    overflow: hidden;
    width: 100vw;
    height: 100vh;
}

.screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(ellipse at center, #1a2a4a 0%, #0d1526 50%, #050a12 100%);
    overflow: hidden;
}

.screen::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 20% 80%, rgba(78, 205, 196, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 107, 107, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 50% 50%, rgba(69, 183, 209, 0.05) 0%, transparent 70%);
    animation: bgPulse 10s ease-in-out infinite;
}

@keyframes bgPulse {
    0%, 100% { transform: translate(-25%, -25%) scale(1); }
    50% { transform: translate(-25%, -25%) scale(1.1); }
}

.start-container, .end-container {
    position: relative;
    text-align: center;
    padding: 50px 40px;
    background: linear-gradient(145deg, rgba(30, 40, 60, 0.9), rgba(15, 25, 45, 0.95));
    border-radius: 25px;
    border: 1px solid rgba(78, 205, 196, 0.3);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    max-width: 420px;
    width: 90%;
    z-index: 1;
}

.main-container {
    display: flex;
    gap: 40px;
    padding: 30px;
    z-index: 1;
    position: relative;
    max-width: 900px;
    width: 95%;
}

.left-panel {
    flex: 0 0 220px;
    display: flex;
    flex-direction: column;
}

.player-section {
    background: linear-gradient(145deg, rgba(30, 40, 60, 0.9), rgba(15, 25, 45, 0.95));
    border-radius: 20px;
    padding: 25px;
    border: 1px solid rgba(78, 205, 196, 0.3);
    text-align: center;
}

.player-section h2 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #4ECDC4;
}

.player-skin-preview {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(78, 205, 196, 0.5);
    overflow: hidden;
}

.player-skin-preview canvas {
    border-radius: 50%;
}

.right-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.game-controls {
    background: linear-gradient(145deg, rgba(30, 40, 60, 0.9), rgba(15, 25, 45, 0.95));
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(78, 205, 196, 0.3);
    text-align: center;
}

.game-controls .title {
    font-size: 42px;
    margin-bottom: 5px;
}

.game-controls .subtitle {
    margin-bottom: 25px;
}

.skin-library-section {
    background: linear-gradient(145deg, rgba(30, 40, 60, 0.9), rgba(15, 25, 45, 0.95));
    border-radius: 20px;
    padding: 25px;
    border: 1px solid rgba(78, 205, 196, 0.3);
    flex: 1;
}

.skin-library-section h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #4ECDC4;
    text-align: center;
}

.skin-library-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.skin-library-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.skin-library-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    border-color: rgba(78, 205, 196, 0.5);
}

.skin-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ball-icon {
    background: linear-gradient(135deg, #FF6B6B, #FF8E8E);
}

.spore-icon {
    background: linear-gradient(135deg, #FFA500, #FFB347);
    width: 35px;
    height: 35px;
}

.aura-icon {
    background: transparent;
    border: 3px solid #9370DB;
    box-shadow: 0 0 10px rgba(147, 112, 219, 0.5);
}

.cloth-icon {
    background: linear-gradient(135deg, #4169E1, #6495ED);
}

.spike-icon {
    background: #00FF00;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    border-radius: 0;
}

.ai-icon {
    background: linear-gradient(135deg, #FF6B6B, #FF8E8E);
    font-size: 14px;
    font-weight: bold;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
}

.secondary-icon {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    font-size: 14px;
    font-weight: bold;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
}

.upload-icon {
    background: rgba(255, 255, 255, 0.1);
    border: 2px dashed rgba(78, 205, 196, 0.5);
    font-size: 24px;
    color: #4ECDC4;
}

.cursor-icon {
    background: linear-gradient(135deg, #9370DB, #BA55D3);
    font-size: 18px;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
}

.upload-item .skin-icon {
    border-radius: 50%;
}

.skin-library-item span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.upload-type-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    justify-content: center;
}

.upload-type-btn {
    padding: 8px 16px;
    font-size: 13px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #FFFFFF;
    cursor: pointer;
    transition: all 0.3s;
}

.upload-type-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.upload-type-btn.active {
    background: linear-gradient(45deg, #4ECDC4, #44A08D);
    border-color: transparent;
}

.title {
    font-size: 52px;
    font-weight: bold;
    background: linear-gradient(135deg, #FF6B6B 0%, #FFE66D 25%, #4ECDC4 50%, #45B7D1 75%, #FF6B6B 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
    animation: titleShine 3s linear infinite;
    text-shadow: 0 0 40px rgba(78, 205, 196, 0.5);
}

@keyframes titleShine {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.subtitle {
    font-size: 16px;
    color: rgba(78, 205, 196, 0.8);
    margin-bottom: 35px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.input-group {
    margin-bottom: 20px;
}

#playerName {
    width: 100%;
    padding: 15px 20px;
    font-size: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    outline: none;
    transition: all 0.3s ease;
}

#playerName:focus {
    border-color: #4ECDC4;
    box-shadow: 0 0 15px rgba(78, 205, 196, 0.3);
}

#playerName::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

button {
    width: 100%;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    background: linear-gradient(45deg, #FF6B6B, #4ECDC4);
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(78, 205, 196, 0.4);
}

button:active {
    transform: translateY(0);
}

.instructions {
    margin-top: 30px;
    text-align: left;
}

.instructions h3 {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
    text-align: center;
}

.instructions ul {
    list-style: none;
    padding: 0;
}

.instructions li {
    padding: 8px 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 10px;
}

.key {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    font-size: 12px;
    font-weight: bold;
    min-width: 80px;
    text-align: center;
}

#gameCanvas {
    display: block;
    width: 100%;
    height: 100%;
}

.end-container h1 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #FF6B6B;
}

#finalStats {
    margin: 20px 0;
    text-align: left;
}

#finalStats p {
    padding: 10px 0;
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#finalStats span {
    float: right;
    color: #4ECDC4;
    font-weight: bold;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.title {
    animation: pulse 2s ease-in-out infinite;
}

@media (max-width: 480px) {
    .title {
        font-size: 36px;
    }
    
    .start-container, .end-container {
        padding: 20px;
    }
    
    button {
        padding: 12px 20px;
        font-size: 16px;
    }
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 15px;
    padding: 0;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h2 {
    margin: 0;
    font-size: 20px;
    color: #FFFFFF;
}

.close-btn {
    font-size: 28px;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: color 0.3s;
}

.close-btn:hover {
    color: #FF6B6B;
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    padding: 15px 20px;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    background: rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.upload-section {
    text-align: center;
    margin-bottom: 20px;
}

.upload-btn {
    background: linear-gradient(45deg, #4ECDC4, #45B7D1);
    padding: 10px 25px;
}

.canvas-container {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
}

.crop-controls {
    text-align: center;
}

.crop-controls p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

.size-control label {
    color: rgba(255, 255, 255, 0.8);
}

.size-control input[type="range"] {
    width: 200px;
    vertical-align: middle;
}

.current-skin {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.current-skin h4 {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
}

.skin-preview-container {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

#currentSkinPreview {
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.clear-skin-btn {
    background: linear-gradient(45deg, #FF6B6B, #EC7063);
    padding: 8px 20px;
    font-size: 14px;
}

.confirm-btn {
    background: linear-gradient(45deg, #4ECDC4, #45B7D1);
    padding: 10px 25px;
}

.cancel-btn {
    background: linear-gradient(45deg, #666, #888);
    padding: 10px 25px;
}

.settings-btn {
    background: linear-gradient(45deg, #666, #888);
    margin-top: 10px;
    padding: 10px 20px;
    font-size: 14px;
}

.settings-modal {
    max-width: 450px;
}

.settings-modal-horizontal {
    max-width: 900px;
    width: 90%;
    max-height: 85vh;
}

.modal-body-horizontal {
    display: flex;
    gap: 20px;
    padding: 20px;
    max-height: 60vh;
    overflow-y: auto;
}

.settings-column {
    flex: 1;
    min-width: 250px;
}

.settings-column .setting-group {
    margin-bottom: 15px;
}

.setting-group {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.setting-group h4 {
    color: #4ECDC4;
    margin-bottom: 10px;
}

.setting-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    font-size: 14px;
    margin-bottom: 10px;
}

.setting-group select option {
    background: #1a1a2e;
    color: #FFFFFF;
}

.volume-control {
    margin-top: 10px;
}

.volume-control label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.volume-control input[type="range"] {
    width: 150px;
    vertical-align: middle;
    margin-left: 10px;
}

.checkbox-group {
    margin: 8px 0;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 8px;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.setting-row {
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.setting-row label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.setting-row select {
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    font-size: 14px;
    min-width: 100px;
}

.setting-row select option {
    background: #1a1a2e;
    color: #FFFFFF;
}

.reset-btn {
    background: linear-gradient(45deg, #FF6B6B, #EC7063);
    padding: 10px 20px;
}

.death-modal {
    max-width: 350px;
    text-align: center;
}

.death-modal .modal-header h2 {
    color: #FF6B6B;
}

.death-stats {
    margin-bottom: 20px;
}

.death-stats p {
    padding: 10px 0;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.death-stats span {
    color: #4ECDC4;
    font-weight: bold;
}

.death-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.home-btn {
    background: linear-gradient(45deg, #666, #888);
    padding: 12px 25px;
}

.respawn-btn {
    background: linear-gradient(45deg, #4ECDC4, #45B7D1);
    padding: 12px 25px;
}

.skin-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.skin-btn {
    flex: 1;
    padding: 10px 15px;
    font-size: 14px;
    background: linear-gradient(45deg, #666, #888);
}

.aura-btn {
    flex: 1;
    padding: 10px 15px;
    font-size: 14px;
    background: linear-gradient(45deg, #9370DB, #BA55D3);
}

.cloth-btn {
    flex: 1;
    padding: 10px 15px;
    font-size: 14px;
    background: linear-gradient(45deg, #4169E1, #6495ED);
}

.spike-btn {
    flex: 1;
    padding: 10px 15px;
    font-size: 14px;
    background: linear-gradient(45deg, #228B22, #32CD32);
}

.spike-shape-controls {
    margin-top: 15px;
    text-align: center;
}

.spike-shape-controls label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.spike-shape-controls input[type="range"] {
    width: 150px;
    margin-left: 10px;
    vertical-align: middle;
}

.aura-modal {
    max-width: 600px;
}

.aura-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    max-height: 400px;
    overflow-y: auto;
    padding: 10px;
}

.aura-item, .cloth-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.aura-item:hover, .cloth-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.aura-item.selected, .cloth-item.selected {
    border-color: #4ECDC4;
    background: rgba(78, 205, 196, 0.1);
}

.aura-preview, .cloth-preview {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 10px;
    position: relative;
}

.aura-name, .cloth-name {
    font-size: 14px;
    font-weight: bold;
    color: #FFFFFF;
    margin-bottom: 5px;
}

.aura-desc, .cloth-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
}

.custom-upload-section {
    margin-bottom: 15px;
    text-align: center;
}

.upload-custom-btn {
    padding: 10px 20px;
    font-size: 14px;
    background: linear-gradient(45deg, #9370DB, #BA55D3);
    border: none;
    border-radius: 8px;
    color: #FFFFFF;
    cursor: pointer;
    transition: all 0.3s;
}

.upload-custom-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(147, 112, 219, 0.4);
}

.effect-hint {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    margin-bottom: 15px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.skin-modal {
    max-width: 500px;
}

.skin-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.skin-tab {
    flex: 1;
    padding: 10px 15px;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s;
}

.skin-tab:hover {
    background: rgba(255, 255, 255, 0.15);
}

.skin-tab.active {
    background: linear-gradient(45deg, #4ECDC4, #45B7D1);
    border-color: transparent;
    color: #FFFFFF;
}

.skin-tab-content {
    min-height: 200px;
}

.skin-library {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    max-height: 250px;
    overflow-y: auto;
    padding: 10px;
}

.skin-library::-webkit-scrollbar {
    width: 6px;
}

.skin-library::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.skin-library::-webkit-scrollbar-thumb {
    background: rgba(78, 205, 196, 0.5);
    border-radius: 3px;
}

.skin-library-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s;
}

.skin-library-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.skin-library-item canvas {
    border-radius: 50%;
}

.skin-item-buttons {
    display: flex;
    gap: 5px;
    width: 100%;
}

.skin-select-btn {
    flex: 1;
    padding: 5px 8px;
    font-size: 12px;
    background: linear-gradient(45deg, #4ECDC4, #45B7D1);
    border-radius: 5px;
}

.skin-delete-btn {
    padding: 5px 10px;
    font-size: 14px;
    background: linear-gradient(45deg, #FF6B6B, #EC7063);
    border-radius: 5px;
}

.empty-library {
    grid-column: 1 / -1;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    padding: 40px 20px;
}

.gif-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 20px;
}

.gif-preview canvas {
    border-radius: 50%;
    border: 2px solid rgba(78, 205, 196, 0.5);
}

.gif-info {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.cheat-menu {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(145deg, rgba(20, 20, 40, 0.98), rgba(10, 10, 30, 0.98));
    border-radius: 15px;
    border: 2px solid rgba(255, 100, 100, 0.5);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    z-index: 10000;
    min-width: 320px;
    max-width: 400px;
}

.cheat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 100, 100, 0.3);
    background: rgba(255, 100, 100, 0.1);
    border-radius: 13px 13px 0 0;
}

.cheat-header h3 {
    color: #FF6B6B;
    font-size: 18px;
    margin: 0;
}

.cheat-close {
    color: #FF6B6B;
    font-size: 24px;
    cursor: pointer;
    transition: transform 0.3s;
}

.cheat-close:hover {
    transform: rotate(90deg);
}

.cheat-body {
    padding: 20px;
    max-height: 400px;
    overflow-y: auto;
}

.cheat-section {
    margin-bottom: 20px;
}

.cheat-section h4 {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cheat-row {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.cheat-row button {
    flex: 1;
    min-width: 80px;
    padding: 8px 12px;
    font-size: 12px;
    background: rgba(255, 100, 100, 0.2);
    border: 1px solid rgba(255, 100, 100, 0.3);
    border-radius: 6px;
    color: #FFFFFF;
    cursor: pointer;
    transition: all 0.3s;
}

.cheat-row button:hover {
    background: rgba(255, 100, 100, 0.4);
    transform: translateY(-2px);
}

.cheat-row button:active {
    transform: translateY(0);
}

.cheat-row input {
    flex: 1;
    min-width: 100px;
    padding: 8px 12px;
    font-size: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: #FFFFFF;
    outline: none;
}

.cheat-row input:focus {
    border-color: rgba(255, 100, 100, 0.5);
}

.cheat-row input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.cheat-status {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cheat-status p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin: 5px 0;
}

.cheat-status span {
    color: #4ECDC4;
    font-weight: bold;
}

.cheat-status span.active {
    color: #FF6B6B;
}

.cursor-presets-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin: 15px 0;
}

.cursor-preset-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.cursor-preset-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(78, 205, 196, 0.5);
}

.cursor-preset-item.selected {
    border-color: #4ECDC4;
    background: rgba(78, 205, 196, 0.2);
}

.cursor-preview {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-bottom: 5px;
}

.default-cursor {
    background: radial-gradient(circle, #FFFFFF 0%, #FFFFFF 30%, transparent 30%);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.blue-cursor {
    background: radial-gradient(circle, #4169E1 0%, #4169E1 40%, transparent 40%);
    box-shadow: 0 0 10px rgba(65, 105, 225, 0.5);
}

.red-cursor {
    background: radial-gradient(circle, #FF6B6B 0%, #FF6B6B 40%, transparent 40%);
    box-shadow: 0 0 10px rgba(255, 107, 107, 0.5);
}

.yellow-cursor {
    background: radial-gradient(circle, #FFD700 0%, #FFD700 40%, transparent 40%);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.green-cursor {
    background: radial-gradient(circle, #00FF00 0%, #00FF00 40%, transparent 40%);
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.cursor-preset-item span {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
}

.canvas-container {
    position: relative;
    display: inline-block;
    margin: 10px 0;
}

.cursor-draw-controls {
    margin-top: 10px;
}

.cursor-draw-controls p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 10px;
}

.draw-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.draw-buttons button {
    padding: 8px 16px;
    font-size: 12px;
    background: rgba(78, 205, 196, 0.2);
    border: 1px solid rgba(78, 205, 196, 0.5);
    border-radius: 6px;
    color: #FFFFFF;
    cursor: pointer;
    transition: all 0.3s;
}

.draw-buttons button:hover {
    background: rgba(78, 205, 196, 0.4);
}

.cursor-size-setting {
    margin: 15px 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.custom-cursor {
    position: fixed;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
}
