/* ===== MIRRA LABS — Showcase Styles =====
 * Overrides on top of website/style.css for the interactive showcase.
 * Reuses: nav, container, report-hero, report-stats, stat-card, report-section,
 *         section-eyebrow, section-title, section-subtitle, btn, btn-primary,
 *         report-cta-box, report-footer.
 * Adds:   showcase-hero CTA row, segment-grid, matrix, filter-layout, faq, etc.
 */

/* --- Hero CTA row --- */
.showcase-hero-cta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 28px;
}

.showcase-link-secondary {
    color: var(--cream);
    font-size: 15px;
    text-decoration: none;
    border-bottom: 1px solid rgba(247, 242, 236, 0.4);
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
}
.showcase-link-secondary:hover {
    color: var(--terra);
    border-color: var(--terra);
}

.report-cta-actions .showcase-link-secondary {
    color: var(--brown);
    border-color: var(--sand);
}
.report-cta-actions .showcase-link-secondary:hover {
    color: var(--terra-deep);
    border-color: var(--terra);
}

/* --- Section header (eyebrow + title + subtitle stacked) --- */
.section-header {
    margin-bottom: 48px;
    max-width: 720px;
}
.section-header .section-eyebrow { display: block; }
.section-header .section-title   { margin-bottom: 16px; }
.section-header .section-subtitle { margin-bottom: 0; }

/* --- Loading state --- */
.loading-state {
    color: var(--brown);
    font-style: italic;
    padding: 24px 0;
}

/* --- Report lead secondary (companion-link paragraph) --- */
.report-lead-secondary {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--sand);
    font-size: 15px;
    color: var(--brown);
}

/* ===== SEGMENT CARDS GRID ===== */
.segment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.segment-card {
    background: var(--cream);
    border: 1px solid var(--sand);
    border-radius: 8px;
    padding: 24px;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.segment-card:hover {
    border-color: var(--terra);
    box-shadow: 0 4px 18px rgba(218, 119, 86, 0.12);
    transform: translateY(-2px);
}

.segment-card-pop {
    position: absolute;
    top: 12px;
    right: 16px;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--brown);
    text-transform: uppercase;
}

.segment-card-code {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--terra);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.segment-card-label {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--black);
    line-height: 1.2;
    margin-bottom: 12px;
}

.segment-card-n {
    font-size: 13px;
    color: var(--brown);
    margin-bottom: 12px;
}

.segment-card-narrative {
    font-size: 14px;
    color: var(--black);
    line-height: 1.55;
    margin-bottom: 16px;
    flex-grow: 1;
}

.segment-card-verdict {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--sand);
    font-size: 13px;
}

.segment-card-verdict strong {
    color: var(--terra-deep);
    font-weight: 600;
}

.segment-card-blocker {
    color: var(--brown);
    font-size: 12px;
    margin-top: 4px;
}

.segment-card-cta {
    display: inline-block;
    margin-top: 12px;
    color: var(--terra);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

/* Segment-card defining_attrs and extra are intentionally hidden across all
   states. The narrative description carries the same information uniformly;
   showing bullets only on the expanded state made one card visually
   inconsistent with the other four. */
.segment-card-attrs,
.segment-card-extra { display: none; }

.segment-card-attrs {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--sand);
    list-style: none;
    padding-left: 0;
}
.segment-card-attrs li {
    font-size: 13px;
    color: var(--brown);
    padding: 3px 0;
}
.segment-card-attrs li::before {
    content: "·  ";
    color: var(--terra);
    font-weight: 700;
}

/* ===== QUESTION MATRIX ===== */
.matrix-wrapper {
    overflow-x: auto;
    border: 1px solid var(--sand);
    border-radius: 8px;
    background: var(--cream);
}

.matrix-container {
    min-width: 800px;
    padding: 0;
}

.matrix-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.matrix-table th,
.matrix-table td {
    padding: 12px 10px;
    text-align: center;
    border-bottom: 1px solid var(--sand);
    border-right: 1px solid var(--sand);
}

.matrix-table th:last-child,
.matrix-table td:last-child { border-right: none; }
.matrix-table tr:last-child td { border-bottom: none; }

.matrix-table thead th {
    background: var(--white);
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--brown);
    font-size: 12px;
    letter-spacing: 0.5px;
    position: sticky;
    top: 0;
    z-index: 2;
}

.matrix-table th.matrix-segment-col {
    text-align: left;
    background: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--black);
    font-size: 13px;
    width: 220px;
    padding-left: 16px;
}

.matrix-cell {
    cursor: pointer;
    transition: background 0.15s;
    font-weight: 600;
    color: var(--black);
}

.matrix-cell:hover {
    background: rgba(218, 119, 86, 0.1);
}

.matrix-cell-empty {
    color: var(--sand);
    cursor: default;
}

.matrix-cell-na {
    color: var(--sand);
    font-style: italic;
}

.matrix-cell-value {
    display: block;
    font-size: 14px;
}

.matrix-cell-detail {
    display: block;
    font-size: 11px;
    color: var(--brown);
    margin-top: 2px;
    font-weight: 400;
}

.matrix-note {
    margin-top: 12px;
    font-size: 13px;
    color: var(--brown);
    font-style: italic;
}

/* Heatmap shading: terra intensity scales with value */
.matrix-cell[data-intensity="0"] { background: var(--cream); }
.matrix-cell[data-intensity="1"] { background: rgba(218, 119, 86, 0.06); }
.matrix-cell[data-intensity="2"] { background: rgba(218, 119, 86, 0.13); }
.matrix-cell[data-intensity="3"] { background: rgba(218, 119, 86, 0.22); }
.matrix-cell[data-intensity="4"] { background: rgba(218, 119, 86, 0.34); }
.matrix-cell[data-intensity="5"] { background: rgba(218, 119, 86, 0.48); color: var(--white); }

/* ===== COMPARE VIEW ===== */
.compare-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 36px;
    align-items: center;
}

.compare-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.compare-slot {
    display: flex;
    align-items: center;
    gap: 8px;
}

.compare-slot-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--brown);
    font-weight: 600;
}

.compare-select {
    padding: 8px 14px;
    border: 1px solid var(--sand);
    border-radius: 4px;
    background: var(--cream);
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--black);
    cursor: pointer;
    min-width: 220px;
}

.compare-select:focus {
    outline: none;
    border-color: var(--terra);
    box-shadow: 0 0 0 3px rgba(218, 119, 86, 0.15);
}

.compare-results {
    display: grid;
    gap: 24px;
}

.compare-question-row {
    background: var(--cream);
    border: 1px solid var(--sand);
    border-radius: 8px;
    padding: 24px;
}

.compare-question-label {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 18px;
}

.compare-grid {
    display: grid;
    gap: 18px;
}
.compare-grid[data-cols="2"] { grid-template-columns: 1fr 1fr; }
.compare-grid[data-cols="3"] { grid-template-columns: 1fr 1fr 1fr; }

.compare-pane {
    background: var(--white);
    border-radius: 6px;
    padding: 16px;
    border: 1px solid var(--sand);
}

.compare-pane-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 10px;
    gap: 8px;
}

.compare-pane-label {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--black);
    line-height: 1.2;
}

.compare-pane-code {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--terra);
    text-transform: uppercase;
}

.compare-pane-chart {
    height: 200px;
    position: relative;
}

/* ===== FACETED FILTER ===== */
.filter-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    align-items: start;
}

.filter-controls {
    background: var(--cream);
    border: 1px solid var(--sand);
    border-radius: 8px;
    padding: 24px;
    position: sticky;
    top: 80px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}

.filter-group {
    margin-bottom: 24px;
}
.filter-group:last-child { margin-bottom: 0; }

.filter-group-label {
    display: block;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--brown);
    margin-bottom: 12px;
}

.filter-checkbox-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    font-size: 14px;
    color: var(--black);
    cursor: pointer;
}
.filter-checkbox-row input[type="checkbox"] {
    accent-color: var(--terra);
    cursor: pointer;
}
.filter-checkbox-row span.filter-checkbox-count {
    margin-left: auto;
    font-size: 12px;
    color: var(--brown);
}

.filter-slider-group {
    margin-bottom: 8px;
}
.filter-slider-row {
    display: flex;
    gap: 8px;
    align-items: center;
}
.filter-slider-row input[type="number"] {
    width: 90px;
    padding: 6px 8px;
    border: 1px solid var(--sand);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 13px;
}
.filter-slider-row input[type="number"]:focus {
    outline: none;
    border-color: var(--terra);
}
.filter-slider-row span {
    color: var(--brown);
    font-size: 13px;
}

.filter-radio-row {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    margin-right: 8px;
    margin-bottom: 6px;
    border: 1px solid var(--sand);
    border-radius: 999px;
    font-size: 13px;
    cursor: pointer;
    background: var(--white);
    transition: all 0.15s;
}
.filter-radio-row.selected {
    background: var(--terra);
    color: var(--white);
    border-color: var(--terra);
}
.filter-radio-row input { display: none; }

/* Filter results pane */
.filter-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 12px 18px;
    background: var(--cream);
    border: 1px solid var(--sand);
    border-radius: 6px;
}

.filter-n-badge {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--black);
}
.filter-n-badge[data-tier="caveat"] { color: var(--terra-deep); }
.filter-n-badge[data-tier="warn"]   { color: #C44; }

.filter-reset {
    background: none;
    border: 1px solid var(--sand);
    border-radius: 4px;
    padding: 6px 14px;
    font-size: 13px;
    color: var(--brown);
    cursor: pointer;
    transition: all 0.15s;
}
.filter-reset:hover {
    border-color: var(--terra);
    color: var(--terra);
}

.filter-charts {
    display: grid;
    gap: 24px;
}

.filter-chart-card {
    background: var(--cream);
    border: 1px solid var(--sand);
    border-radius: 8px;
    padding: 20px;
    position: relative;
}

.filter-chart-question {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 6px;
    line-height: 1.3;
}

.filter-chart-axis {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--terra);
    font-weight: 600;
    margin-bottom: 12px;
}

.filter-chart-canvas {
    height: 220px;
    position: relative;
}

/* Cell-size caveats */
.cell-caveat {
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: 4px;
    font-size: 13px;
}
.cell-caveat[data-tier="caveat"] {
    background: rgba(218, 119, 86, 0.12);
    border-left: 3px solid var(--terra);
    color: var(--terra-deep);
}
.cell-caveat[data-tier="warn"] {
    background: rgba(196, 68, 68, 0.1);
    border-left: 3px solid #C44;
    color: #A33;
}

.filter-chart-suppressed {
    background: rgba(196, 68, 68, 0.06);
    color: #A33;
    text-align: center;
    padding: 60px 20px;
    border-radius: 6px;
    font-style: italic;
    border: 2px dashed rgba(196, 68, 68, 0.3);
}

/* ===== FAQ ===== */
.faq-container {
    display: grid;
    gap: 16px;
    max-width: 820px;
}

.faq-category {
    margin-top: 20px;
    margin-bottom: 4px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--terra);
}
.faq-category:first-child { margin-top: 0; }

.faq-item {
    border: 1px solid var(--sand);
    border-radius: 6px;
    background: var(--cream);
    transition: border-color 0.15s;
}
.faq-item[open] { border-color: var(--terra); }

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 16px 22px;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--black);
    position: relative;
    padding-right: 48px;
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    font-weight: 300;
    color: var(--terra);
    line-height: 1;
}
.faq-item[open] summary::after { content: "−"; }

.faq-answer {
    padding: 0 22px 18px 22px;
    font-size: 15px;
    color: var(--black);
    line-height: 1.6;
}
.faq-answer p { margin-bottom: 10px; }
.faq-answer p:last-child { margin-bottom: 0; }

/* ===== CTA box variants ===== */
.report-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
    margin-top: 12px;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .filter-layout {
        grid-template-columns: 1fr;
    }
    .filter-controls {
        position: static;
        max-height: none;
    }
    .compare-grid[data-cols="2"],
    .compare-grid[data-cols="3"] {
        grid-template-columns: 1fr;
    }
    .matrix-container { min-width: 700px; }
}

@media (max-width: 600px) {
    .segment-grid {
        grid-template-columns: 1fr;
    }
    .showcase-hero-cta {
        flex-direction: column;
        align-items: flex-start;
    }
    .filter-summary {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* ===== VN HNW additions ===== */

/* Darker overlay over the hero image so the cream-colored title and subtitle
   read cleanly against a busy editorial illustration. Overrides the lighter
   default report-hero-overlay from website/style.css. */
.showcase-hero .report-hero-overlay {
    background: linear-gradient(
        to top,
        rgba(20, 14, 10, 0.95) 0%,
        rgba(28, 20, 14, 0.82) 40%,
        rgba(44, 36, 32, 0.55) 80%,
        rgba(44, 36, 32, 0.4) 100%
    );
}

/* Segment card with avatar (vertical layout: avatar on top, body below) */
.segment-card.character-card-static {
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    overflow: hidden;
}
.segment-card-avatar {
    background: linear-gradient(180deg, var(--white) 0%, var(--cream) 100%);
    padding: 24px 20px 12px;
    text-align: center;
    border-bottom: 1px solid var(--sand);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 220px;
}
.segment-card-avatar img {
    max-width: 90%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: inline-block;
}
.segment-card-body {
    padding: 18px 22px 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.segment-card-body .segment-card-code { display: block; margin-bottom: 4px; }
.segment-card-body .segment-card-label { margin-bottom: 6px; }
.segment-card-body .segment-card-n { margin-bottom: 12px; font-size: 13px; }

/* ===== COMPARE — pickers and character cards ===== */

.compare-pickers {
    display: grid;
    gap: 28px;
    margin-bottom: 36px;
}

.compare-picker-block {
    background: var(--cream);
    border: 1px solid var(--sand);
    border-radius: 8px;
    padding: 20px 22px;
}
.compare-picker-label {
    display: block;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--brown);
    margin-bottom: 14px;
}

.compare-character-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
}
.character-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: var(--white);
    border: 2px solid var(--sand);
    border-radius: 8px;
    padding: 14px 10px;
    cursor: pointer;
    transition: all 0.15s;
    font-family: var(--font-body);
    text-align: center;
}
.character-tile:hover {
    border-color: var(--terra);
    transform: translateY(-2px);
}
.character-tile.selected {
    border-color: var(--terra);
    background: rgba(218, 119, 86, 0.08);
    box-shadow: 0 4px 14px rgba(218, 119, 86, 0.18);
}
.character-tile-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: linear-gradient(180deg, var(--cream) 0%, rgba(218, 119, 86, 0.08) 100%);
    overflow: hidden;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.character-tile-avatar img {
    max-width: 90%;
    max-height: 90%;
    width: auto;
    height: auto;
    object-fit: contain;
}
.character-tile-code {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--terra);
    text-transform: uppercase;
}
.character-tile-label {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--black);
}
.character-tile-n {
    font-size: 11px;
    color: var(--brown);
}

.compare-question-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 10px;
}
.question-tile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--white);
    border: 2px solid var(--sand);
    border-radius: 6px;
    padding: 12px 14px;
    cursor: pointer;
    transition: all 0.15s;
    font-family: var(--font-body);
    text-align: left;
}
.question-tile:hover {
    border-color: var(--terra);
}
.question-tile.selected {
    border-color: var(--terra);
    background: rgba(218, 119, 86, 0.08);
}
.question-tile-id {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--terra);
    text-transform: uppercase;
}
.question-tile-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--black);
    line-height: 1.3;
}
.question-tile-scope {
    font-size: 11px;
    color: var(--brown);
    margin-top: 2px;
}

/* ===== CHARACTER CARDS (RPG-style result panels) ===== */

.character-cards-grid {
    display: grid;
    gap: 24px;
    margin-top: 12px;
}
.character-cards-grid[data-cols="2"] { grid-template-columns: 1fr 1fr; }
.character-cards-grid[data-cols="3"] { grid-template-columns: 1fr 1fr 1fr; }

.character-card {
    background: var(--cream);
    border: 1px solid var(--sand);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
}

.character-card-header {
    display: flex;
    gap: 18px;
    padding: 22px;
    background: linear-gradient(135deg, var(--white) 0%, var(--cream) 100%);
    border-bottom: 1px solid var(--sand);
    align-items: flex-start;
}
.character-card-avatar {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(218, 119, 86, 0.08), rgba(196, 181, 168, 0.15));
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.character-card-avatar img {
    max-width: 95%;
    max-height: 95%;
    width: auto;
    height: auto;
    object-fit: contain;
}
.character-card-meta {
    flex-grow: 1;
    min-width: 0;
}
.character-card-code {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--terra);
    text-transform: uppercase;
    margin-bottom: 4px;
}
.character-card-name {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--black);
    margin-bottom: 4px;
}
.character-card-stage {
    font-size: 13px;
    color: var(--brown);
    margin-bottom: 4px;
}
.character-card-n {
    font-size: 12px;
    color: var(--brown);
    margin-bottom: 10px;
}
.character-card-tags {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.character-card-tags li {
    font-size: 11px;
    color: var(--brown);
    background: rgba(218, 119, 86, 0.08);
    border: 1px solid var(--sand);
    padding: 3px 8px;
    border-radius: 999px;
}

.character-card-stats {
    padding: 16px 22px 22px;
}
.character-card-stats-title {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--terra);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--terra);
    display: inline-block;
}

.stat-block {
    margin-bottom: 18px;
}
.stat-block:last-child { margin-bottom: 0; }

.stat-block-label {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--black);
    line-height: 1.3;
    margin-bottom: 8px;
}
.stat-block-id {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--terra);
    margin-right: 6px;
    text-transform: uppercase;
    vertical-align: middle;
}
.stat-block-chart {
    height: 180px;
    position: relative;
}
.stat-block-na,
.stat-block-suppressed {
    font-size: 12px;
    color: var(--brown);
    font-style: italic;
    padding: 14px;
    background: rgba(0, 0, 0, 0.025);
    border-radius: 4px;
    text-align: center;
}

/* Matrix segment cell with avatar */
.matrix-segment-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}
.matrix-segment-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(180deg, var(--cream) 0%, rgba(218, 119, 86, 0.06) 100%);
    object-fit: contain;
    flex-shrink: 0;
    padding: 3px;
}

@media (max-width: 900px) {
    .character-cards-grid[data-cols="2"],
    .character-cards-grid[data-cols="3"] {
        grid-template-columns: 1fr;
    }
    .character-card-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .character-card-tags {
        justify-content: center;
    }
}
