﻿.pkmn-content {
    overflow-y: auto;
}

.pkmn-loading {
    opacity: 0.85;
    padding: 14px;
    text-align: center;
}

.pkmn-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
    padding: 14px;
}

.pkmn-cameo-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 12px;
    padding: 14px;
}

    .pkmn-cameo-grid .pkmn-tile {
        display: flex;
        align-items: center;
        gap: 10px;
        width: 150px;
        overflow: hidden;
    }

    .pkmn-cameo-grid .pkmn-tile-meta {
        align-self: start;
    }

.pkmn-tile {
    gap: 10px;
    align-items: center;
    position: relative;
    display: block;
    padding: 12px;
    padding-right: 12px;
    min-height: 112px;
    border-radius: 14px;
    background: rgba(0,0,0,0.20);
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow: 0 14px 40px rgba(0,0,0,0.45);
    text-decoration: none;
    color: rgba(255,255,255,0.92);
    transition: transform 120ms ease, border-color 120ms ease, background 120ms ease, box-shadow 120ms ease;
}

    .pkmn-tile:hover {
        transform: translateY(-1px);
        background: rgba(255,255,255,0.04);
        border-color: rgba(255,255,255,0.16);
        box-shadow: 0 16px 46px rgba(0,0,0,0.55);
    }

.pkmn-tile-sprite {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 100px;
    height: 100px;
    object-fit: contain;
    image-rendering: pixelated;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.10));
}

.pkmn-tile-meta {
    min-width: 0;
    position: relative;
    z-index: 2;
    padding-right: 0;
}

.pkmn-tile-name {
    font-weight: 900;
    font-size: 13px;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    line-height: 1.05;
}

.pkmn-tile-sub {
    color: rgba(255,255,255,0.70);
    font-weight: 800;
    font-size: 12px;
    margin-top: 2px;
    white-space: normal;
}

.pkmn-group {
    margin-bottom: 18px;
}

.pkmn-group-head {
    display: flex;
    justify-content: space-between;
    justify-self: center;
    gap: 12px;
    align-items: baseline;
    margin: 10px 2px;
    padding: 0 6px;
}

.pkmn-group-title {
    font-weight: 900;
    color: rgba(255,255,255,0.92);
}

.pkmn-group-meta {
    color: rgba(255,255,255,0.60);
    font-weight: 800;
    font-size: 12px;
}
