* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, sans-serif;
}

body.darkmode {
    background: #0f1115;
    color: #e5e7eb;

    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;
}

.game {
    width: 100%;
    max-width: 500px;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.portrait {
    width: 100%;
    max-width: 320px;

    border-radius: 12px;
    border: 1px solid #2a2f3a;
}

.buttons {
    display: flex;
    gap: 1rem;
}

button {
    width: 80px;
    height: 45px;

    background: #1a1d24;
    color: #e5e7eb;

    border: 1px solid #2a2f3a;
    border-radius: 8px;

    font-size: 1rem;
    font-weight: 500;

    cursor: pointer;
    transition: 0.15s ease;
}

button:hover {
    background: #252a35;
    border-color: #3a4150;
}

button:active {
    transform: scale(0.97);
}

.lists {
    width: 100%;
    display: flex;
    gap: 1rem;
}

.Slist,
.Plist {
    flex: 1;
    min-height: 120px;

    padding: 1rem;

    border: 1px solid #2a2f3a;
    border-radius: 10px;

    background: #14171d;

    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-content: flex-start;

    font-size: 0.85rem;
    letter-spacing: 1px;
    color: #9ca3af;
}

.Slist {
    border-top: 2px solid #3b82f6;
}

.Plist {
    border-top: 2px solid #ec4899;
}

.Slist img,
.Plist img {
    width: 60px;
    border-radius: 6px;
    border: 1px solid #2a2f3a;
}
