.academy-pots-page {
    width: 100%;
    padding: 20px 20px 32px;
    color: #fff;
}

.academy-pots-page * {
    box-sizing: border-box;
}

.academy-pots-hero {
    min-height: 190px;
    padding: 26px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(120deg, #0d1b2f 0%, #101f35 64%, #162b4a 100%);
    border-top: 4px solid var(--ffo-gold, #f0c545);
    border-radius: 5px 5px 0 0;
}

.academy-pots-hero::after {
    width: 270px;
    height: 270px;
    content: "";
    position: absolute;
    top: -145px;
    right: -70px;
    border: 1px solid rgba(240, 197, 69, 0.2);
    border-radius: 50%;
    box-shadow: 0 0 0 36px rgba(240, 197, 69, 0.025), 0 0 0 72px rgba(240, 197, 69, 0.018);
}

.academy-pots-hero__copy,
.academy-pots-total {
    position: relative;
    z-index: 1;
}

.academy-pots-back {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--ffo-gold, #f0c545);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.academy-pots-hero__title-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 13px;
}

.academy-pots-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1;
    letter-spacing: -0.035em;
}

.academy-pots-status {
    padding: 7px 10px;
    background: rgba(240, 197, 69, 0.13);
    border: 1px solid rgba(240, 197, 69, 0.45);
    border-radius: 3px;
    color: var(--ffo-gold, #f0c545);
    font-size: 12px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.academy-pots-hero__copy p {
    max-width: 720px;
    margin: 14px 0 0;
    color: #aebbd0;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 600;
}

.academy-pots-total {
    min-width: 170px;
    padding: 18px;
    display: grid;
    gap: 4px;
    background: rgba(5, 14, 26, 0.66);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    text-align: right;
}

.academy-pots-total strong {
    color: var(--ffo-gold, #f0c545);
    font-size: 38px;
    line-height: 1;
}

.academy-pots-total span {
    color: #aebbd0;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.academy-pots-content {
    padding: 14px;
    background: #07111f;
    border-radius: 0 0 5px 5px;
}

.academy-pots-summary {
    position: sticky;
    top: 68px;
    z-index: 25;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 12px;
    padding: 10px 0;
    background: #07111f;
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.28);
}

.academy-pot-card {
    min-height: 72px;
    padding: 10px 13px;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    align-items: end;
    gap: 6px 12px;
    background: #0b1728;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 3px solid transparent;
    border-radius: 4px;
    color: #fff;
    font: inherit;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.academy-pot-card:hover,
.academy-pot-card:focus-visible {
    background: #101f35;
    border-color: rgba(240, 197, 69, 0.55);
    border-top-color: var(--ffo-gold, #f0c545);
    outline: none;
    transform: translateY(-2px);
}

.academy-pot-card__code {
    grid-row: 1 / 3;
    align-self: center;
    color: rgba(240, 197, 69, 0.34);
    font-size: 25px;
    line-height: 1;
    font-weight: 950;
}

.academy-pot-card strong {
    font-size: 23px;
    line-height: 1;
}

.academy-pot-card__label {
    color: #95a5bc;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 800;
}

.academy-pots-browser {
    overflow: hidden;
    scroll-margin-top: 170px;
    background: #0b1728;
    border-top: 3px solid var(--ffo-gold, #f0c545);
    border-radius: 4px;
}

.academy-pots-browser + .academy-pots-browser {
    margin-top: 12px;
}

.academy-pots-browser__heading {
    min-height: 76px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.academy-pots-eyebrow {
    display: block;
    margin-bottom: 7px;
    color: var(--ffo-gold, #f0c545);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.academy-pots-browser__heading h2 {
    margin: 0;
    font-size: 22px;
}

.academy-pots-browser__heading p {
    margin: 0;
    color: #95a5bc;
    font-size: 13px;
    font-weight: 800;
}

.academy-pots-browser__heading p strong {
    color: var(--ffo-gold, #f0c545);
}

.academy-pots-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.academy-pots-table {
    width: 100%;
    min-width: 920px;
    border-collapse: collapse;
    table-layout: fixed;
}

.academy-pots-table th,
.academy-pots-table td {
    height: 45px;
    padding: 0 8px;
    border-right: 1px solid rgba(255, 255, 255, 0.045);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    text-align: center;
    font-size: 13px;
}

.academy-pots-table th:first-child,
.academy-pots-table td:first-child {
    width: 210px;
    padding-left: 16px;
    text-align: left;
}

.academy-pots-table thead th {
    height: 41px;
    background: #101d31;
    color: #9eabc0;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.academy-pots-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.025);
}

.academy-pots-player strong {
    display: block;
    color: #fff;
    font-size: 14px;
}

.academy-pots-player span {
    display: block;
    margin-top: 2px;
    color: #6f819a;
    font-size: 10px;
    font-weight: 900;
}

.academy-pots-nat {
    color: #aebbd0;
    font-weight: 900;
}

.academy-pots-table td.is-primary {
    background: rgba(240, 197, 69, 0.07);
    color: var(--ffo-gold, #f0c545);
    font-weight: 900;
}

.academy-pots-note {
    margin-top: 12px;
    padding: 16px 18px;
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 18px;
    background: #0b1728;
    border-left: 3px solid var(--ffo-gold, #f0c545);
    border-radius: 3px;
}

.academy-pots-note strong {
    color: var(--ffo-gold, #f0c545);
    font-size: 13px;
    text-transform: uppercase;
}

.academy-pots-note p {
    margin: 0;
    color: #9eabc0;
    font-size: 14px;
    line-height: 1.5;
}

.academy-pots-message,
.academy-pots-empty {
    padding: 34px 18px;
    color: #aebbd0;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
}

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

}

@media (max-width: 640px) {
    .academy-pots-page {
        padding: 12px 10px 24px;
    }

    .academy-pots-hero {
        min-height: 0;
        padding: 22px 18px;
        display: grid;
    }

    .academy-pots-total {
        min-width: 0;
        text-align: left;
    }

    .academy-pots-summary {
        grid-template-columns: 1fr 1fr;
    }

    .academy-pot-card:last-child {
        grid-column: 1 / -1;
    }

    .academy-pots-browser__heading,
    .academy-pots-note {
        align-items: flex-start;
        grid-template-columns: 1fr;
    }

    .academy-pots-note {
        gap: 7px;
    }
}
