:root { color-scheme: dark; }
body {
    font-family: system-ui, -apple-system, sans-serif;
    background: #0b1220; /* Matching your live_state default */
    color: #e8e9ed;
    margin: 0;
    padding: 1rem;
}

/* Dynamic Grid: Adapts based on number of columns */
.columns-wrap {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.column {
    background: #111318;
    border: 1px solid #2a2d34;
    border-radius: 0.75rem;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
}

.column h2 {
    text-align: center;
    color: #6aa7ff;
    margin: 0 0 1rem 0;
    font-size: 1.5rem;
    border-bottom: 1px solid #2a2d34;
    padding-bottom: 0.5rem;
}

/* Card Tiles */
.card {
    background: #181b22;
    border: 1px solid #2a2d34;
    border-radius: 0.5rem;
    padding: 0.5rem;
    margin-bottom: 0.75rem;
    text-align: center;
    position: relative;
    transition: transform 0.1s ease;
}

.card:hover { transform: scale(1.05); z-index: 10; border-color: #6aa7ff; }

.card img.thumb {
    width: 100%;
    aspect-ratio: 2.5/3.5;
    border-radius: 0.4rem;
    object-fit: cover;
    margin-bottom: 0.5rem;
}

.card .name { font-weight: bold; font-size: 0.9rem; margin-bottom: 2px; }
.card .price { color: #9fd39f; font-weight: bold; }

/* Foil & Serialized Effects */
.card.foil { border-color: #ffd700; box-shadow: inset 0 0 10px rgba(255,215,0,0.1); }
.card.serialized { border-color: #ff4040; box-shadow: 0 0 15px rgba(255,64,64,0.3); }/* CSS Document */

