* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --epk-page-bg: #000000;
    --epk-grad-r: 10;
    --epk-grad-g: 159;
    --epk-grad-b: 212;
    --epk-accent: #0a9fd4;
    --epk-accent-fg: #ffffff;
    --trxx-accent: var(--epk-accent);
    --epk-muted: #b5b5b5;
    --epk-heading: #ffffff;
    --epk-subheading: #ffffff;
    --epk-glass-bg: rgba(32, 88, 132, 0.38);
    --epk-glass-bg-soft: rgba(24, 72, 108, 0.28);
    --epk-glass-blur: blur(16px) saturate(1.25);
    --epk-glass-border: rgba(255, 255, 255, 0.1);
    --trxx-sidebar-bg: rgba(6, 28, 48, 0.42);
    --trxx-card-bg: rgba(24, 72, 108, 0.32);
    --trxx-card-border: rgba(255, 255, 255, 0.08);
}

html,
body {
    min-height: 100%;
}

body {
    background-color: var(--epk-page-bg);
    color: var(--epk-heading);
    font-family: Poppins, system-ui, sans-serif;
    line-height: 1.5;
    position: relative;
    display: flex;
    flex-direction: column;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: min(72vh, 760px);
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        rgb(var(--epk-grad-r), var(--epk-grad-g), var(--epk-grad-b)) 0%,
        rgba(var(--epk-grad-r), var(--epk-grad-g), var(--epk-grad-b), 0.72) 18%,
        rgba(var(--epk-grad-r), var(--epk-grad-g), var(--epk-grad-b), 0.38) 40%,
        rgba(var(--epk-grad-r), var(--epk-grad-g), var(--epk-grad-b), 0.12) 68%,
        var(--epk-page-bg) 100%
    );
}

body > * {
    position: relative;
    z-index: 1;
}

a {
    color: var(--epk-accent);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a.btn,
a[class*="btn-"],
a.trxx-btn,
a.trxx-checkout-continue,
a.trxx-cart-drawer-checkout,
a.trxx-top-cart-link,
button,
.trxx-cart-modal-continue,
.trxx-checkout-empty-link,
.trxx-cart-drawer-empty-link {
    text-decoration: none;
}

a.btn:hover,
a.btn:focus,
a.btn:focus-visible,
a[class*="btn-"]:hover,
a[class*="btn-"]:focus,
a[class*="btn-"]:focus-visible,
a.trxx-btn:hover,
a.trxx-btn:focus,
a.trxx-btn:focus-visible,
a.trxx-checkout-continue:hover,
a.trxx-checkout-continue:focus,
a.trxx-checkout-continue:focus-visible,
a.trxx-cart-drawer-checkout:hover,
a.trxx-cart-drawer-checkout:focus,
a.trxx-cart-drawer-checkout:focus-visible,
a.trxx-top-cart-link:hover,
a.trxx-top-cart-link:focus,
a.trxx-top-cart-link:focus-visible,
button:hover,
button:focus,
button:focus-visible,
.trxx-cart-modal-continue:hover,
.trxx-cart-modal-continue:focus,
.trxx-cart-modal-continue:focus-visible,
.trxx-checkout-empty-link:hover,
.trxx-checkout-empty-link:focus,
.trxx-checkout-empty-link:focus-visible,
.trxx-cart-drawer-empty-link:hover,
.trxx-cart-drawer-empty-link:focus,
.trxx-cart-drawer-empty-link:focus-visible {
    text-decoration: none !important;
}

.trxx-ou-affiliation-bar {
    width: 100%;
    padding: 0.5rem 1rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.55);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.trxx-ou-affiliation-bar__text {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.55);
}

.trxx-ou-affiliation-bar__link {
    color: inherit;
    text-decoration: none;
}

.trxx-ou-affiliation-bar__link:hover,
.trxx-ou-affiliation-bar__link:focus-visible {
    color: inherit;
    text-decoration: none;
}

.trxx-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: calc(72px + 2rem);
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    flex-wrap: wrap;
}

.trxx-top-brand {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 72px;
}

.trxx-top-ou-logo-link,
.trxx-top-logo-link {
    line-height: 0;
    text-decoration: none;
}

.trxx-top-ou-logo-link:hover,
.trxx-top-logo-link:hover {
    text-decoration: none;
}

.trxx-top-ou-logo {
    display: block;
    width: 72px;
    height: 72px;
    border-radius: 16px;
    object-fit: cover;
}

.trxx-top-logo-link {
    margin-left: 0.2rem;
}

.trxx-top-logo {
    display: block;
    width: calc(32px * 316 / 120);
    height: 32px;
    background-color: var(--epk-accent);
    filter: brightness(1.18);
    -webkit-mask: url('/images/trxx-logo.webp') left center / contain no-repeat;
    mask: url('/images/trxx-logo.webp') left center / contain no-repeat;
}

.trxx-top-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
    margin-left: auto;
}

.trxx-top-utilities {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.trxx-top-menu-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    cursor: pointer;
    line-height: 1;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.trxx-top-menu-btn:hover,
.trxx-top-menu-btn:focus-visible {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.2);
    outline: none;
}

.trxx-top-menu-btn .bi {
    font-size: 1.45rem;
    line-height: 1;
}

.trxx-top-auth-desktop {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
}

.trxx-btn-block {
    width: 100%;
    min-width: 0;
}

.trxx-nav-offcanvas {
    position: fixed;
    inset: 0;
    z-index: 10060;
    pointer-events: none;
    visibility: hidden;
}

.trxx-nav-offcanvas.is-open {
    pointer-events: auto;
    visibility: visible;
}

.trxx-nav-offcanvas__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.trxx-nav-offcanvas.is-open .trxx-nav-offcanvas__backdrop {
    opacity: 1;
}

.trxx-nav-offcanvas__panel {
    position: absolute;
    top: 0;
    left: 0;
    width: min(320px, 100vw);
    height: 100%;
    display: flex;
    flex-direction: column;
    background: rgba(8, 20, 32, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 8px 0 32px rgba(0, 0, 0, 0.35);
    transform: translateX(-100%);
    transition: transform 0.25s ease;
}

.trxx-nav-offcanvas.is-open .trxx-nav-offcanvas__panel {
    transform: translateX(0);
}

.trxx-nav-offcanvas__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.trxx-nav-offcanvas__title {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--epk-muted);
}

.trxx-nav-offcanvas__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    cursor: pointer;
}

.trxx-nav-offcanvas__close:hover,
.trxx-nav-offcanvas__close:focus-visible {
    background: rgba(255, 255, 255, 0.14);
    outline: none;
}

.trxx-nav-offcanvas__links {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding: 1.25rem 1.1rem 1.5rem;
}

body.trxx-nav-open {
    overflow: hidden;
}

.trxx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 8rem;
    min-width: 8rem;
    min-height: 2.4rem;
    padding: 0 1rem;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    border-radius: 999px;
    border: 1px solid transparent;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, filter 0.15s ease;
}

.trxx-btn-ghost {
    color: #f2f2f2;
    background: rgba(0, 0, 0, 0.35);
    border-color: rgba(255, 255, 255, 0.22);
}

.trxx-btn-ghost:hover,
.trxx-btn-ghost.is-active {
    color: var(--epk-accent);
    background: rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.28);
    text-decoration: none;
}

.trxx-btn-solid {
    color: #fff;
    background: var(--epk-accent);
    border-color: var(--epk-accent);
}

.trxx-btn-solid:hover,
.trxx-btn-solid.is-active {
    filter: brightness(0.92);
    text-decoration: none;
}

.trxx-main {
    margin: 0 auto;
    max-width: 960px;
    padding: 3rem 1.5rem 4rem;
    width: 100%;
    flex: 1;
}

.trxx-main-wide {
    flex: 1;
    width: 100%;
    padding: 0 0 3rem;
}

.trxx-browse-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 0;
    min-height: calc(100vh - 160px);
}

.trxx-sidebar {
    padding: 1.25rem 0.75rem 2rem;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--trxx-sidebar-bg);
    backdrop-filter: var(--epk-glass-blur);
    -webkit-backdrop-filter: var(--epk-glass-blur);
}

.trxx-sidebar-label {
    color: var(--epk-muted);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 0 0.75rem;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.genre-link {
    display: block;
    padding: 0.65rem 0.85rem;
    margin-bottom: 0.25rem;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 500;
    transition: background 0.15s ease;
}

.genre-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    text-decoration: none;
}

.trxx-sidebar .genre-link.active,
a.genre-link.active {
    background: var(--epk-glass-bg);
    border: 1px solid var(--epk-glass-border);
    color: #fff;
    font-weight: 500;
}

.trxx-mobile-genre-nav {
    display: none;
}

.mobile-card-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.m-genre-card {
    flex: 1 0 calc(33.33% - 8px);
    min-width: 90px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid transparent;
    border-radius: 10px;
    text-decoration: none !important;
    color: #fff !important;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 500;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.m-genre-card:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff !important;
    text-decoration: none !important;
}

.m-genre-card.active {
    background: var(--epk-glass-bg) !important;
    border-color: var(--epk-glass-border);
    font-weight: 700;
    color: #fff !important;
}

.trxx-content {
    padding: 1.5rem 1.25rem 2rem;
}

.trxx-browse-search {
    margin-bottom: 1.35rem;
}

.trxx-browse-search-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.trxx-browse-search-field {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    width: 100%;
    padding: 0 0.85rem;
    border-radius: 12px;
    border: 1px solid var(--trxx-card-border);
    background: var(--trxx-card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.trxx-browse-search-field:focus-within {
    border-color: rgba(10, 159, 212, 0.55);
    box-shadow: 0 0 0 3px rgba(10, 159, 212, 0.16);
}

.trxx-browse-search-icon {
    flex: 0 0 auto;
    color: var(--epk-muted);
    font-size: 0.9rem;
    line-height: 1;
    pointer-events: none;
}

.trxx-browse-search-input {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    padding: 0.7rem 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #fff;
    font-family: inherit;
    font-size: 0.9rem;
    text-align: left;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.trxx-browse-search-input::-webkit-search-decoration,
.trxx-browse-search-input::-webkit-search-cancel-button,
.trxx-browse-search-input::-webkit-search-results-button,
.trxx-browse-search-input::-webkit-search-results-decoration {
    -webkit-appearance: none;
    appearance: none;
    display: none;
}

.trxx-browse-search-input::placeholder {
    color: rgba(255, 255, 255, 0.45);
    text-align: left;
}

.trxx-browse-search-input:focus {
    outline: none;
}

.browse-section.is-filter-empty {
    display: none;
}

.trxx-search-results[hidden] {
    display: none !important;
}

.browse-section {
    margin-bottom: 2rem;
}

.row-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.85rem;
}

.row-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
}

.row-title i {
    flex-shrink: 0;
}

.more-link {
    border: 0;
    background: transparent;
    color: var(--epk-accent);
    font: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    padding: 0.25rem 0;
}

.more-link:hover {
    text-decoration: underline;
}

.swipe-row {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    padding-bottom: 10px;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.swipe-row::-webkit-scrollbar {
    display: none;
}

.swipe-row--empty {
    min-height: 72px;
    align-items: center;
}

.swipe-row-placeholder {
    color: rgba(255, 255, 255, 0.42);
    font-size: 0.85rem;
    padding: 0.5rem 0.25rem;
}

.swipe-row .art-card-wrapper {
    flex-shrink: 0;
}

.trxx-pr-group {
    display: flex;
    flex: 0 0 auto;
    gap: 15px;
    align-items: flex-start;
}

.trxx-pr-lead {
    flex: 0 0 180px;
    width: 180px;
    max-width: 180px;
    min-width: 0;
}

.trxx-pr-extras {
    display: none;
    flex: 0 0 auto;
    gap: 15px;
    align-items: flex-start;
}

.trxx-pr-group.is-expanded .trxx-pr-extras {
    display: flex;
}

.trxx-pr-expand-btn {
    position: absolute;
    right: 8px;
    bottom: 8px;
    z-index: 31;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.62);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    line-height: 1;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.trxx-pr-expand-btn:hover,
.trxx-pr-expand-btn:focus-visible {
    background: rgba(10, 159, 212, 0.92);
    border-color: rgba(10, 159, 212, 0.92);
    outline: none;
}

.trxx-pr-group.is-expanded .trxx-pr-expand-btn {
    background: var(--epk-accent);
    border-color: var(--epk-accent);
}

.trxx-pr-expand-btn .bi {
    font-size: 0.95rem;
    pointer-events: none;
}

.trxx-pr-lead .art-card-wrapper,
.trxx-pr-extras .art-card-wrapper {
    flex: 0 0 180px;
    width: 180px;
    max-width: 180px;
}

.genre-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.grid-item {
    flex: 0 0 180px;
}

.art-card-wrapper {
    flex: 0 0 180px;
    width: 180px;
    max-width: 180px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.art-card {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: var(--trxx-card-bg);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--trxx-card-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

.art-card:hover {
    transform: scale(1.04);
    box-shadow: 0 10px 24px rgba(0, 24, 48, 0.35);
}

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

.trxx-art-mode-icon {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.58);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    line-height: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s ease;
    z-index: 4;
}

.trxx-art-mode-icon i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    margin: 0;
}

.art-card:hover .trxx-art-mode-icon.is-play-mode {
    opacity: 1;
}

.trxx-art-card--preview:hover .trxx-art-mode-icon {
    opacity: 1;
}

.trxx-art-flag-mark {
    position: absolute;
    right: 8px;
    bottom: 8px;
    z-index: 5;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.58);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    line-height: 1;
    pointer-events: none;
}

.trxx-cart-btn {
    position: absolute;
    right: 8px;
    bottom: 8px;
    z-index: 30;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    box-shadow: none;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.trxx-cart-btn:hover,
.trxx-cart-btn:focus-visible {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.12);
    color: #fff;
    outline: none;
}

.trxx-cart-btn.is-in-cart {
    background: var(--trxx-accent);
    border-color: var(--trxx-accent);
}

.trxx-cart-btn.is-in-cart:hover,
.trxx-cart-btn.is-in-cart:focus-visible {
    background: var(--trxx-accent);
    border-color: var(--trxx-accent);
    filter: brightness(1.05);
}

.trxx-cart-btn i {
    font-size: 1rem;
    line-height: 1;
    pointer-events: none;
}

.trxx-art-card--preview {
    cursor: pointer;
}

.trxx-art-card--preview.is-playing .trxx-art-mode-icon {
    opacity: 0 !important;
}

.trxx-art-play {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.58);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.15rem;
    padding: 0;
    z-index: 3;
}

.trxx-art-play i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    margin: 0;
}

.trxx-art-play .pr-cd-ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: none;
    pointer-events: none;
}

.trxx-art-play .pr-cd-bg {
    stroke: rgba(255, 255, 255, 0.28);
}

.trxx-art-play .pr-cd-fg {
    stroke: var(--epk-accent, #0a9fd4);
    stroke-linecap: round;
    transition: stroke-dashoffset 0.1s linear;
}

.trxx-art-play .pr-cd-num {
    display: none;
    position: absolute;
    inset: 0;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1;
    z-index: 1;
}

.trxx-art-play.has-preview-cap {
    opacity: 0;
    pointer-events: none;
}

.art-card.is-playing .trxx-art-play.has-preview-cap {
    opacity: 1;
    z-index: 6;
}

.trxx-art-play.is-playing {
    cursor: default;
}

.trxx-art-play.is-playing.has-preview-cap {
    background: rgba(0, 0, 0, 0.58) !important;
}

.trxx-art-play.is-playing.has-preview-cap .pr-cd-num {
    display: flex;
    color: #fff;
}

.trxx-art-play.is-playing.has-preview-cap i {
    display: none;
}

.trxx-art-play.is-playing.has-preview-cap .pr-cd-ring {
    display: block;
}

.trxx-art-card--ondemand {
    cursor: pointer;
}

.trxx-art-card--ondemand.is-playing {
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.35);
}

.trxx-art-card--ondemand.is-playing .trxx-art-mode-icon {
    opacity: 0 !important;
}

body.trxx-has-bottom-player {
    padding-bottom: calc(6.5rem + env(safe-area-inset-bottom, 0px));
}

.trxx-bottom-player {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    transform: translateY(100%);
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
    visibility: hidden;
}

.trxx-bottom-player.is-open {
    transform: translateY(0);
    pointer-events: auto;
    visibility: visible;
}

.trxx-bottom-player-inner {
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.35);
}

.trxx-bottom-player-play,
.trxx-bottom-player-close {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    padding: 0;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.15s ease, transform 0.15s ease;
}

.trxx-bottom-player-play:hover,
.trxx-bottom-player-close:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: scale(1.04);
}

.trxx-bottom-player-art {
    width: 72px;
    height: 72px;
    border-radius: 4px;
    object-fit: cover;
    display: block;
    background: #111;
    flex-shrink: 0;
}

.trxx-bottom-player-main,
.trxx-bottom-player-meta {
    min-width: 0;
    max-width: 14rem;
}

.trxx-bottom-player-transport {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.trxx-bottom-player-progress-wrap {
    flex: 1;
    min-width: 0;
}

.trxx-bottom-player-artist {
    margin: 0 0 0.12rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.trxx-bottom-player-artist:empty {
    display: none;
    margin: 0;
}

.trxx-bottom-player-title {
    margin: 0;
    color: #fff;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: uppercase;
}

.trxx-bottom-player-progress {
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
}

.trxx-bottom-player-seek {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    cursor: pointer;
    margin: 0;
}

.trxx-bottom-player-seek::-webkit-slider-runnable-track {
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(
        to right,
        var(--epk-accent) 0%,
        var(--epk-accent) var(--bp-progress, 0%),
        rgba(255, 255, 255, 0.18) var(--bp-progress, 0%),
        rgba(255, 255, 255, 0.18) 100%
    );
}

.trxx-bottom-player-seek::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    margin-top: -4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.trxx-bottom-player-seek::-moz-range-track {
    height: 4px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
}

.trxx-bottom-player-seek::-moz-range-progress {
    height: 4px;
    border-radius: 999px;
    background: var(--epk-accent);
}

.trxx-bottom-player-seek::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.trxx-bottom-player-times {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    font-variant-numeric: tabular-nums;
}

.trxx-bottom-player-links {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 2rem;
    flex-shrink: 0;
}

.trxx-bottom-player-links:empty {
    display: none;
}

.trxx-bottom-player-link {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: #3a3a3a;
    color: #bbb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    line-height: 1;
    text-decoration: none;
    flex-shrink: 0;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.trxx-bottom-player-link:hover {
    filter: brightness(1.08);
    transform: scale(1.06);
}

.trxx-bottom-player-link i.rotate-bandcamp {
    display: inline-block;
    transform: rotate(52deg);
}

.bi.epk-bandcamp::before {
    content: "";
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M0 18.75l7.126-13.5H24l-7.126 13.5H0z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M0 18.75l7.126-13.5H24l-7.126 13.5H0z'/%3E%3C/svg%3E") center / contain no-repeat;
}

@media (max-width: 640px) {
    .trxx-bottom-player-inner {
        grid-template-columns: auto minmax(0, 1fr) auto auto;
        grid-template-rows: auto auto;
    }

    .trxx-bottom-player-meta {
        max-width: none;
    }

    .trxx-bottom-player-transport {
        grid-column: 1 / -1;
    }
}

.search-browse-card-meta {
    width: 100%;
    margin-top: 0.65rem;
    text-align: center;
}

.search-browse-card-artist,
.search-browse-card-title {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-browse-card-artist {
    color: var(--epk-muted);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.search-browse-card-title {
    color: #fff;
    font-size: 0.72rem;
    font-weight: 500;
    margin-top: 0.15rem;
}

.genre-heading {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.page-heading {
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.page-lead {
    color: var(--epk-muted);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    max-width: 42rem;
}

.placeholder-panel {
    background: var(--epk-glass-bg-soft);
    border: 1px dashed var(--epk-glass-border);
    border-radius: 16px;
    color: var(--epk-muted);
    padding: 2rem;
    text-align: center;
    backdrop-filter: var(--epk-glass-blur);
    -webkit-backdrop-filter: var(--epk-glass-blur);
}

.trxx-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--epk-muted);
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.trxx-foot-nav {
    display: flex;
    gap: 1rem;
}

.trxx-foot-nav a {
    color: var(--epk-muted);
    font-size: 0.85rem;
}

.trxx-foot-nav a:hover {
    color: #fff;
}

.trxx-foot-copy {
    font-size: 0.85rem;
}

@media (max-width: 900px) {
    .trxx-browse-layout {
        grid-template-columns: 1fr;
    }

    .trxx-sidebar--desktop {
        display: none;
    }

    .trxx-mobile-genre-nav {
        display: block;
        margin-bottom: 1.25rem;
    }
}

@media (max-width: 768px) {
    .trxx-top-menu-btn {
        display: inline-flex;
    }

    .trxx-top-auth-desktop {
        display: none;
    }

    .swipe-row {
        --trxx-swipe-card: min(180px, calc((100vw - 1.25rem - 15px) / 2.2));
        margin-right: -1.25rem;
        padding-right: 1.25rem;
        -webkit-overflow-scrolling: touch;
    }

    .swipe-row .art-card-wrapper,
    .swipe-row .trxx-pr-lead,
    .trxx-pr-lead .art-card-wrapper,
    .trxx-pr-extras .art-card-wrapper {
        flex: 0 0 var(--trxx-swipe-card);
        width: var(--trxx-swipe-card);
        max-width: var(--trxx-swipe-card);
    }
}

@media (max-width: 640px) {
    .trxx-top {
        align-items: flex-start;
    }

    .genre-grid .grid-item,
    .genre-grid .art-card-wrapper {
        flex-basis: calc(50% - 10px);
        width: calc(50% - 10px);
        max-width: calc(50% - 10px);
    }
}
