body {
    font-family: 'Arial', sans-serif;
    text-align: center;
    background-color: #f4f4f4;
    margin: 0;
    padding: 40px 20px;
    touch-action: manipulation;
}

.container {
    max-width: 90%;
    margin: auto;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

h1 {
    margin-bottom: 20px;
    font-size: 2em;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

h1 img {
    width: 80px;
    height: 80px;
}

.player-input {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}

.player-input input {
    width: 100%;
    max-width: 400px;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 16px;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
    -webkit-text-size-adjust: 100%;
    -webkit-appearance: none;
    caret-color: transparent;
}

.sort-container {
    margin-top: 20px;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sort-container label {
    font-size: 1.1em;
    margin-bottom: 5px;
}

.player {
    margin: 30px 0;
    padding: 20px;
    border-radius: 12px;
    background: #e3f2fd;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.player h3 {
    margin: 0;
    font-size: 1.3em;
}

.player p {
    margin: 8px 0;
    font-size: 1.1em;
    font-weight: bold;
}

.player .actions, .player .inline-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

button {
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    font-size: 1em;
    white-space: nowrap;
}

.btn-positive {
    background: #4CAF50;
    color: white;
}

.btn-negative {
    background: #f44336;
    color: white;
}

.btn-reset {
    background: #ff9800;
    color: white;
}

.btn-delete {
    background: #d9534f;
    color: white;
}

.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f5f5dc;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.splash-screen img {
    width: 160px;
    height: 160px;
}

@media (max-width: 600px) {
    .container {
        max-width: 95%;
        padding: 20px;
    }
    h1 img {
        width: 60px;
        height: 60px;
    }
    button {
        font-size: 0.9em;
        padding: 8px 12px;
    }
    .player {
        padding: 15px;
    }
    .player .actions, .player .inline-actions {
        gap: 8px;
    }
    input[type="text"] {
        font-size: 16px;
        user-select: none;
        -webkit-user-select: none;
        -webkit-text-size-adjust: 100%;
        -webkit-appearance: none;
        caret-color: transparent;
    }
}
