﻿:root {
    --bg: #f6f7fb;
    --text: #101828;
    --muted: #667085;
    --border: rgba(16,24,40,.2);
    --shadow: 0 10px 30px rgba(16,24,40,.08);
    --shadow2: 0 2px 10px rgba(16,24,40,.06);
    --radius: 18px;
}

* {
    box-sizing: border-box;
}

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
    width: 0px;
    height: 0px;
}

html, body {
    height: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif, ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,"Apple Color Emoji","Segoe UI Emoji";
    color: var(--text);
    background: radial-gradient( 1200px 500px at 20% 0%, rgba(120,160,255,.28), transparent 60% ), radial-gradient( 900px 500px at 80% 10%, rgba(255,200,100,.22), transparent 60% ), var(--bg);
    background-attachment: fixed;
    background-repeat: no-repeat;
}

hr {
    border: none;
    height: 1px;
    background-color: rgba(225,225,225, .9);
    min-width: 100%;
    padding: 0;
    margin: 10px 0 0 0;
}
.wrap {
    max-width: 1400px;
    margin: 14px auto;
    padding: 0 18px 40px;
}

/* ---------- Layout helpers ---------- */
.stack {
    display: flex;
    flex-direction: column;
    gap: 14px;
}



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

    .row.between {
        justify-content: space-between;
        align-items: flex-end;
    }
        /* Any “row between” where one side is text: allow shrink */
        .row.between > :first-child {
            flex: 1;
            min-width: 0;
        }

/* Replace flex row behavior for this form only */
.searchRow {
    display: grid;
    gap: 12px;
    /* input takes remaining space, controls are natural width */
    grid-template-columns: minmax(250px, 1fr) auto auto auto;
    align-items: center;
}

    /* Ensure input can shrink, but not below 250px */
    .searchRow #searchInput {
        min-width: 0; /* important in grid too */
    }

/* When screen is narrow, drop controls below */
@media (max-width: 820px) {
    .searchRow {
        grid-template-columns: 1fr;
    }

        /* Optional: make selects/button full width */
        .searchRow #raritySelection,
        .searchRow #sortOption,
        .searchRow #searchBtn {
            width: 100%;
        }
}



.cardInner {
    padding: 14px;
}

/* ---------- Typography ---------- */
h1 {
    font-family: 'Inter', ui-sans-serif, system-ui;
    margin: 0;
    font-size: 20px;
    letter-spacing: -0.02em;
    line-height: 1.05;
}

h2 {
    font-family: 'Inter', ui-sans-serif, system-ui;
    margin: 0 0 10px 0;
    font-size: 14px;
    letter-spacing: -0.01em;
}

.sub {
    margin: 10px 0;
    color: var(--muted);
    font-size: 14px;
}

.big {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.muted {
    color: var(--muted);
}

/* ---------- Links ---------- */
a {
    color: inherit;
}

    a:hover {
        opacity: .92;
    }

/* ---------- Small UI elements ---------- */
.pill {
    display: inline-flex;
    align-items: center;
    text-transform: uppercase;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(16,24,40,.06);
    color: #344054;
    
}

/* ---------- Cards ---------- */
.card {
    background: var(--card);
    border: 1px solid rgba(16,24,40,.12);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.cardFlush {
    margin-bottom: 0;
    padding: 0;
}

/* ---------- Top bar ---------- */
.topbar {
    
    position: sticky;
    top: 0;
    z-index: 1000; /* stays above cards/tables */
    backdrop-filter: blur(12px);
    background: rgba(246,247,251,.85);
    /* background: var(--bg); */ /* REQUIRED so content doesn't show through */
    padding-top: 12px;
    padding-bottom: 12px;
}
    .topbar::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 1px;
        background: rgba(16,24,40,.08);
    }
@media (max-width: 640px) {
    .topbar {
        position: static;
    }
}

.heroImg {
    max-width: 200px;
    height: auto;
    margin-left: auto;
}

.heroImgAbout {
    width: 80px;
    max-height: 80px;
    margin: 0;
}

.topbarInner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
    min-height: 56px;
}

.brandLogo {
    margin-left: 17px;
    max-width: 200px;
    height: auto;
    display: block;
}

.brandLogoLg {
    max-width: 225px;
}

.brandLogoXl {
    max-width: 300px;
}

.navWrap {
    margin-left: auto;
    display: flex;
    justify-content: flex-end;
    padding-right: 18px;
}

@media (max-width:640px) {
    .navWrap {
        margin-left: 0;
        padding-right: 0;
        width: 100%;
        justify-content: flex-start;
    }
}



.navPills {
    font-family: 'Inter', ui-sans-serif, system-ui;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px;
    border-radius: 999px;
    /* background: rgba(255,255,255,.9); */
    /* border: 1px solid rgba(16,24,40,.12); */
    /* box-shadow: var(--shadow2); */
    /* backdrop-filter: blur(10px); */
}

.navPill {
    display: inline-flex;
    align-items: center;
    justify-content: end;
    height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    color: var(--text);
    border: 1px solid transparent;
    letter-spacing: .02em;
}

    .navPill:hover {
        background: rgba(16,24,40,.06);
    }

    .navPill.isActive {
        background: #d2d662ff;
        color: #000;
    }

        .navPill.isActive:hover {
            background: #7a7d25ff;
        }

/* --- Mobile hamburger --- */
.navToggle {
    margin-right: 20px;
    display: none; /* desktop hidden */
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(16,24,40,.12);
    background: rgba(255,255,255,.9);
    box-shadow: var(--shadow2);
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

/* the "3 lines" */
.burger {
    width: 18px;
    height: 2px;
    background: rgba(16,24,40,.75);
    position: relative;
    display: block;
    border-radius: 999px;
}

    .burger::before,
    .burger::after {
        content: "";
        position: absolute;
        left: 0;
        width: 18px;
        height: 2px;
        background: rgba(16,24,40,.75);
        border-radius: 999px;
    }

    .burger::before {
        top: -6px;
    }

    .burger::after {
        top: 6px;
    }

/* --- Desktop stays the same --- */

/* --- Mobile behavior --- */
@media (max-width: 640px) {
    .navToggle {
        display: inline-flex; /* show hamburger */
    }

    /* hide pills until opened */
    .navPills {
        margin-right: 20px;
        display: none;
        position: absolute;
        right: 0;
        top: calc(100% + 8px);
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        padding: 8px;
        width: 220px;
        border-radius: 14px;
        background: rgba(255,255,255,.95);
        border: 1px solid rgba(16,24,40,.12);
        box-shadow: var(--shadow);
        z-index: 50;
    }

        .navPills.isOpen {
            display: flex;
        }

    /* make each pill full-width in dropdown */
    .navPill {
        justify-content: flex-start;
        width: 100%;
    }

    /* ensure navWrap can position dropdown */
    .navWrap {
        position: relative;
    }
}

/* Floating back-to-top button */
.backToTop {
    background: #d2d662ff;
    color: #000;
    /* border: 1px solid var(--border); */
    box-shadow: var(--shadow2);
    position: fixed;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%) translateY(10px);
    z-index: 9999;
    /* start hidden */
    opacity: 0;
    pointer-events: none;
    transition: opacity 160ms ease, transform 160ms ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    color: var(--text);
    border: 1px solid transparent;
    letter-spacing: .02em;

}
    .backToTop:hover {
        background: #7a7d25ff;
        cursor: pointer;
    }

    /* visible state */
    .backToTop.isVisible {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
        pointer-events: auto;
    }


/* ---------- Hero (index/about) ---------- */
.heroTitle {
    font-weight: 500;
    letter-spacing: .03em;
    font-size: 28px;

    text-transform: uppercase;
    
}

.heroSub {
    margin-top: 10px;
    font-size: 20px;
    font-weight: 500;
    color: var(--muted);
    line-height: 1.5;
}
.heroBody {
    font-size: 14px;
    margin-top: 10px;
    font-weight: 400;
    line-height: 1.5;
}

.pokeLogo {
    max-width: 400px;
    height: auto;
    display: block;
    padding: 0 25px;
}

/* ---------- Header block (index) ---------- */
.header {
    font-family: Roboto Condensed, ui-sans-serif, system-ui;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: flex-start;
}

.headerLeft {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    min-width: 0;
}

.headerText {
    display: flex;
    flex-direction: column;
}


    .headerText .sub {
        /* margin-top: 6px; */
    }

.leaderboardHeader {
    display: flex;
    gap: 14px;
    margin-bottom: 14px;
    align-items: center;
    justify-content: flex-start;
}


.leaderboardHeaderText {
    min-width: 0;
}

@media (max-width: 820px) {
    .leaderboardHeader {
        flex-direction: column;
    }

    .heroRow {
        display: flex;
        align-items: flex-start;
        gap: 14px;
    }
    .heroImg {
        width: 100%;
    }
}


/* ---------- Tables ---------- */
table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

thead th {

    font-size: 12px;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 6px;
    color: var(--muted);
    font-weight: 500;
    vertical-align: top;
    position: sticky;
    top: 0;
    z-index: 2;
    background: rgba(225,225,225,.5);
    backdrop-filter: blur(10px);

    padding: 10px 10px;
    border-bottom: 1px solid var(--border);
    text-align: center;
}

tbody td {
    padding: 18px 14px;
    border-bottom: 1px solid rgba(16,24,40,.06);
    font-size: 14px;
    text-align: center;
    vertical-align: middle;
}

    tbody td:first-child {
        text-align: center;
    }



tbody tr:last-child td {
    border-bottom: none;
}

tbody tr {
    transition: background .15s ease, transform .12s ease;
}

    tbody tr:hover {
        background: rgba(210,214,98,1);
    }

/* clickable leaderboard rows */
tr.rowLink {
    cursor: pointer;
}

    tr.rowLink:hover td {
        background: rgba(16,24,40,.06);
    }

    tr.rowLink:active td {
        background: rgba(210,214,98,1);
    }

.num {
    text-align: center;
    font-variant-numeric: tabular-nums;
}



/* sorting affordance */
th[data-sort] {
    cursor: pointer;
    user-select: none;
}

th .sort {
    display: inline-flex;
    align-items: flex-start; /* 🔑 THIS */
    justify-content: flex-start;
    gap: 6px;
}


    /* Only affects headers you opt-in with sortStack */
    th .sort.sortStack {
        display: flex;
        flex-direction: column;
        align-items: center; /* horizontal centering */
        justify-content: flex-start; /* 🔑 top */
        gap: 6px;
    }


        th .sort.sortStack .sortTop {
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }

/* optional: smaller pill for header */
.pillTiny {
    width: 50px;
    height: 22px; /* optional but helps visual balance */
    display: inline-flex;
    align-items: center; /* vertical centering */
    justify-content: center; /* horizontal centering */
    padding: 0; /* remove side padding since width is fixed */
    font-size: 11px;
    letter-spacing: .08em;
}

/* rank badge */
.rankBadge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(16,24,40,.06);
    font-weight: 800;
}

/* Scrollable leaderboard container */
.tableScroll {
    --rowH: 72px;
    --headH: 72px;
    max-height: calc(var(--headH) + (3.75 * var(--rowH)));
    overflow-y: auto;
    overflow-x: hidden;
    border-radius: 16px;
}



#table tbody td {
    height: var(--rowH);
    padding-top: 0;
    padding-bottom: 0;
}

.tableScroll::after {
    content: "";
    position: sticky;
    bottom: 0;
    display: block;
    height: 18px;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(246,247,251,0), rgba(246,247,251,1));
}

.tableScrollCards {
    max-height: calc(var(--headH) + (7.5 * var(--rowH)));
}

/* leaderboard row content helpers (used by JS output) */
.setLink {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
}

.setText {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.setCode {
    color: var(--muted);
    font-weight: 600;
    font-size: 12px;
    border: 1px solid rgba(16,24,40,.12);
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(255,255,255,.5);
}

.chev {
    color: #98A2B3;
    margin-left: 2px;
}

/* Set logo in table */
.setLogoBox {
    width: 100px;
    height: 55px;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 4px;
    flex: 0 0 auto;
}



.setLogoImg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* gain/loss chip */
.gl {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 92px;
    padding: 6px 10px;
    border-radius: 999px;
    font-variant-numeric: tabular-nums;
    font-size: 14px;
    font-weight: 800;
    border: 1px solid rgba(16,24,40,.10);
    background: rgba(255,255,255,.55);
}

    .gl.pos {
        color: rgba(2,122,72,.95);
        background: rgba(2,122,72,.08);
        border-color: rgba(2,122,72,.18);
    }

    .gl.neg {
        color: rgba(180,35,24,.95);
        background: rgba(180,35,24,.08);
        border-color: rgba(180,35,24,.18);
    }

    .gl.neu {
        color: rgba(52,64,84,.9);
        background: rgba(16,24,40,.06);
        border-color: rgba(16,24,40,.10);
    }




.miniChartWrap {
    width: 140px;
    height: 44px;
    margin: 0 auto; /* centers in the cell */
}

canvas.miniChart {
    width: 100%;
    height: 100%;
    display: block;
}



/* ---------- Inputs / buttons (calculator) ---------- */
.input {
    height: 44px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(16,24,40,.12);
    background: rgba(255,255,255,.65);
    outline: none;
    box-shadow: var(--shadow2);
    font: inherit;
}

    .input:focus {
        border-color: rgba(120,160,255,.55);
    }

select.input {
    cursor: pointer;
}

.inputFull {
    width: 100%;
}

.field {
    min-width: 180px;
}

.fieldGrow {
    min-width: 280px;
    flex: 1;
}

.fieldLabel {
    font-size: 12px;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 6px;
    color: var(--muted);
}

.btnRow {
    display: flex;
    gap: 10px;
}

.btn {
    height: 44px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1px solid rgba(16,24,40,.12);
    background: rgba(255,255,255,.75);
    box-shadow: var(--shadow2);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

    .btn:hover {
        opacity: .95;
    }

    .btn.secondary {
        background: rgba(16,24,40,.06);
    }

    .btn:disabled {
        opacity: .45;
        cursor: not-allowed;
    }

.calcRow {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-top: 14px;
    flex-wrap: wrap;
    align-items: center;
}

/* ---------- Set page header ---------- */
canvas {
    width: 100%;
    display: block;
}

#setHeader .cardInner {
    padding: 14px;
}

.setHeaderWrap {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 18px;
}

.setHeaderLeft {
    display: flex;
    align-items: stretch;
    gap: 18px;
    flex: 1 1 420px;
    min-width: 320px;
}

.setHeaderLogo {

    max-width: 220px;
    min-width: 150px;
    object-fit: contain;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

@media (max-width:780px) {
    .setHeaderLogo {
        max-width: 150px;
    }
}

.setHeaderContent {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.setHeaderStats {
    display: flex;
    gap: 24px;
    margin-top: 10px;
    align-items: flex-end;
    font-size: 17px;
}

.setHeaderRight {
    flex: 1 1 420px;
    min-width: 360px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.setHeaderChartTitle {
    font-size: 12px;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

/* the card area that holds the chart */
.evChartWrap {
    
    max-height: 120px;
}

/* ensure canvas respects container */
#evChart {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

/* ---------- Details accordion (rarity) ---------- */
.rarityDetails {
    border-radius: 14px;
    border: 1px solid rgba(16,24,40,.10);
    background: rgba(255,255,255,.55);
    box-shadow: var(--shadow2);
}

.raritySummary {
    cursor: pointer;
    padding: 14px 16px;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .02em;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .raritySummary::-webkit-details-marker {
        display: none;
    }

    .raritySummary::after {
        content: "▾";
        font-size: 14px;
        opacity: .6;
        transition: transform .2s ease;
    }

.rarityDetails[open] .raritySummary::after {
    transform: rotate(180deg);
}

.rarityContent {
    padding: 16px;
    overflow: hidden;
}

.rarityDetails:not([open]) .rarityContent {
    display: none;
}

/* ---------- About page ---------- */
.aboutGrid2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

@media (max-width:780px) {
    .aboutGrid2 {
        grid-template-columns: 1fr;
    }
}

.aboutCardTitle {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 0 0 12px 0;
}

.aboutCardBody {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.aboutThumb {
    width: 250px;
    height: 175px;
    border-radius: 16px;
    border: 1px solid rgba(16,24,40,.10);
    background: rgba(255,255,255,.55);
    box-shadow: var(--shadow2);
    display: flex;
    overflow: hidden;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
}

    .aboutThumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.aboutText {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.aboutDesc {
    color: var(--muted);
    font-size: 14px;
    /* line-height: 1.55; */
}

.aboutCta {
    margin-top: 12px;
    display: flex;
    justify-content: center;
}

.aboutBtn {
    background: #d2d662ff;
    color: #000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    box-shadow: var(--shadow2);
}

    .aboutBtn:hover {
        opacity: .94;
        background: #7a7d25ff;
    }

@media (max-width:520px) {
    .aboutCardBody {
        flex-direction: column;
    }

    .aboutThumb {
        width: 100%;
        max-width: 360px;
        height: 160px;
    }
}

.yt-wrap {
    max-width: 500px;
    gap: 20px;
    aspect-ratio: 16 / 9; /* keeps video proportional */
    border-radius: 12px;
    overflow: hidden; /* THIS is what clips the iframe */
}

    .yt-wrap iframe {
        width: 100%;
        height: 100%;
        border: 0;
    }


/* optional: bigger logo just inside calcSummary */
#calcSummary .setLogoBox {
    min-width: 200px;
    min-height: 150px;
    
}

#calcSummary .setLogoImg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.setsGrid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

@media (max-width: 980px) {
    .setsGrid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 720px) {
    .setsGrid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 420px) {
    .setsGrid {
        grid-template-columns: 1fr;
    }
}

.setTile {
    text-decoration: none;
    color: inherit;
    display: block;
}

.setTileCard {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: rgba(255,255,255,.55);
    box-shadow: var(--shadow2);
    overflow: hidden;
    transition: background .15s ease;
}

    .setTileCard:hover {
        background: rgba(16,24,40,.06); /* matches your nav hover */
    }

.setTile img {
    max-width: 220px;
    width: 100%;
    height: 85px;
    object-fit: contain;
    display: block;
}

.cardResult {
    display: flex;
    flex-direction: column;
}

.cardImageWrap {
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    background: rgba(255,255,255,.55);
    border: 1px solid rgba(16,24,40,.08);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

    .cardImageWrap img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding: 10px;
    }

.cardTitle {
    margin-top: 10px;
    font-weight: 800;
    line-height: 1.15;
}

.cardMeta {
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.35;
    
    min-width: 0; /* 🔥 critical flex fix */
    overflow-wrap: anywhere; /* prevents long strings breaking layout */
}

.cardPrice {
    margin-top: 10px;
    font-weight: 900;
}


.cardResultsGrid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

@media (max-width: 1100px) {
    .cardResultsGrid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .cardResultsGrid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .cardResultsGrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobile: stack everything so nothing is squeezed */
@media (max-width: 720px) {
    .cardLayout {
        grid-template-columns: 1fr !important; /* becomes single column */
    }

    /* Optional: keep the image from being too tall on mobile */
    .cardImage img {
        max-height: 420px !important;
    }

    /* Optional: raw price a bit smaller so it fits nicely */
    .rawPrice {
        font-size: 28px !important;
    }

    /* Your lower PSA section becomes full-width under everything */
    .cardLower {
        margin-top: 14px !important;
    }

    /* If your .row.between uses flex, this prevents label/value collisions */
    .row.between {
        flex-wrap: wrap;
    }

        .row.between .num {
            margin-left: auto;
        }
}