/* Keep the gold frame above the banner artwork and contrast scrim. */
body.earn-page #ep-featured-banners .ep-banner-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 4;
    border: 2px solid #d4ad57;
    border-radius: inherit;
    pointer-events: none;
}
body.earn-page #ep-featured-banners .ep-banner-card:hover::after,
body.earn-page #ep-featured-banners .ep-banner-card:focus-visible::after {
    border-color: #f2d58c;
}
body.earn-page #ep-featured-banners .ep-banner-card:focus-visible {
    outline: 2px solid #f2d58c;
    outline-offset: -5px;
}
.tp-sort-menu { overflow: visible; }
.tp-sort-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    height: 100%;
    min-height: 36px;
    padding: 8px 12px;
    border: 0;
    border-radius: inherit;
    background: transparent;
    color: #f2f4f8;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    text-align: left;
    white-space: nowrap;
    cursor: pointer;
}
.tp-sort-trigger > span:last-child { flex: 0 0 16px; width: 16px; height: 16px; color: #aab2c0; }
.tp-sort-options {
    position: absolute;
    top: calc(100% + 7px);
    right: 0;
    z-index: 50;
    width: max(100%, 184px);
    max-width: calc(100vw - 32px);
    padding: 5px;
    border: 1px solid #394252;
    border-radius: 10px;
    background: #151922;
    box-shadow: 0 12px 32px #0008;
}
.tp-sort-options > button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    min-height: 40px;
    padding: 10px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #f2f4f8;
    font-size: 13px;
    line-height: 1.4;
    text-align: left;
    white-space: nowrap;
    cursor: pointer;
}
.tp-sort-options > button:hover,
.tp-sort-options > button:focus-visible { background: #282333; outline: 2px solid #a78bfa; outline-offset: -2px; }
.tp-sort-options > button[aria-checked="true"] { background: #302442; }
.tp-sort-options > button > span:last-child { width: 16px; height: 16px; color: #c4b5fd; visibility: hidden; }
.tp-sort-options > button[aria-checked="true"] > span:last-child { visibility: visible; }
@media (pointer: coarse) {
    .tp-sort-trigger { min-height: 44px; }
    .tp-sort-options > button { min-height: 44px; }
}
