@import url('https://fonts.googleapis.com/css2?family=Noto+Color+Emoji&display=swap');

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    font-family: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.game-page-main {
    height: 100svh;
    display: flex;
    flex-direction: column;
    padding-bottom: 0px;
    padding-top: 0px;
}

.sound-icon,
.system-font {
    font-family: "Noto Color Emoji", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-size: 1.2rem;
}

.ins {
    font-style: italic;
    font-size: 0.9rem;
    color: var(--pico-muted-color);
}

.game-grid {
    flex: 1;
    display: grid;
    grid-template-columns: auto 1fr 1fr;
    gap: 2rem;
    margin-top: 1rem;
    overflow: hidden;
    min-height: 0;
}

.game-column {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.players-column {
    overflow-y: auto;
    min-height: 0;
    padding-right: 0.5rem;
}

.card-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 0;
}

.card-svg {
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.2));
    max-height: 100%;
    max-width: 100%;
    height: auto;
    width: auto;
}

.player-list-game {
    list-style: none;
    padding: 0;
    margin: 0;
}

.player-item-game {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: var(--pico-card-background-color);
    border-radius: 8px;
    margin-bottom: 0.5rem;
    box-shadow: var(--pico-card-box-shadow);
    transition: box-shadow 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

@keyframes winner-shine {
    0% {
        box-shadow: 0 0 10px 4px rgba(255, 215, 0, 0.7), 0 0 30px 10px rgba(255, 255, 200, 0.4);
        background-color: rgba(255, 215, 0, 0.15);
    }

    50% {
        box-shadow: 0 0 25px 12px rgba(255, 215, 0, 1.0), 0 0 60px 20px rgba(255, 255, 255, 0.6);
        background-color: rgba(255, 215, 0, 0.35);
    }

    100% {
        box-shadow: 0 0 10px 4px rgba(255, 215, 0, 0.7), 0 0 30px 10px rgba(255, 255, 200, 0.4);
        background-color: rgba(255, 215, 0, 0.15);
    }
}

.player-shine {
    animation: winner-shine 0.5s ease-in-out 2;
    box-shadow: 0 0 20px 8px rgba(255, 215, 0, 0.8), 0 0 50px 15px rgba(255, 255, 200, 0.5) !important;
    background-color: rgba(255, 215, 0, 0.25) !important;
    border-radius: 12px;
}