:root {
    --sr-bg: #0f0f12;
    --sr-bg-elev: rgba(18, 18, 24, 0.82);
    --sr-bg-soft: rgba(255, 255, 255, 0.06);
    --sr-surface: rgba(18, 18, 24, 0.76);
    --sr-surface-strong: rgba(12, 12, 18, 0.92);
    --sr-border: rgba(255, 255, 255, 0.12);
    --sr-border-strong: rgba(202, 169, 110, 0.30);
    --sr-text: #f5f2eb;
    --sr-text-soft: rgba(245, 242, 235, 0.76);
    --sr-text-muted: rgba(245, 242, 235, 0.58);
    --sr-accent: #caa96e;
    --sr-accent-2: #8d6d3a;
    --sr-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    --sr-blur: saturate(160%) blur(18px);
    --sr-radius-sm: 14px;
    --sr-radius: 20px;
    --sr-radius-lg: 28px;
    --sr-topbar-height: 72px;
    --sr-player-height: 84px;
    --sr-mobile-nav-height: 74px;
    --bs-body-bg: #0f0f12;
    --bs-body-color: #f5f2eb;
    --bs-border-color: rgba(255,255,255,0.12);
    --bs-primary: #caa96e;
    --bs-primary-rgb: 202, 169, 110;
    --bs-link-color: #e7d2ac;
    --bs-link-hover-color: #f4e3c1;
}

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

body.sr-body {
    margin: 0;
    color: var(--sr-text);
    background: var(--sr-bg);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

body.sr-body a {
    color: inherit;
}

.sr-min-w-0 {
    min-width: 0;
}

.sr-bg-layer,
.sr-bg-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
}

.sr-bg-layer {
    z-index: -2;
    background: #09090c url('/assets/images/Sage-Records.png') center center / cover no-repeat fixed;
    transform: translateZ(0);
}

.sr-bg-overlay {
    z-index: -1;
    background:
        radial-gradient(circle at top right, rgba(202, 169, 110, 0.18), transparent 28%),
        linear-gradient(180deg, rgba(7, 7, 10, 0.18) 0%, rgba(7, 7, 10, 0.62) 42%, rgba(7, 7, 10, 0.88) 100%);
}

.sr-app-shell {
    min-height: 100vh;
    padding-bottom: calc(var(--sr-player-height) + var(--sr-mobile-nav-height) + 1.25rem);
}

.sr-topbar {
    z-index: 1040;
    background: rgba(10, 10, 14, 0.55);
    backdrop-filter: var(--sr-blur);
    -webkit-backdrop-filter: var(--sr-blur);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sr-topbar-inner {
    min-height: var(--sr-topbar-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.sr-menu-btn,
.sr-icon-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: var(--sr-text);
    border: 1px solid var(--sr-border);
    background: rgba(255, 255, 255, 0.05);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.sr-menu-btn:hover,
.sr-icon-btn:hover,
.sr-menu-btn:focus,
.sr-icon-btn:focus {
    color: var(--sr-text);
    background: rgba(255, 255, 255, 0.09);
    border-color: var(--sr-border-strong);
    transform: translateY(-1px);
}

.sr-icon-btn.active {
    color: var(--sr-text);
    border-color: rgba(202, 169, 110, 0.45);
    background: linear-gradient(180deg, rgba(202, 169, 110, 0.18), rgba(255, 255, 255, 0.06));
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

.sr-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    min-width: 0;
}

.sr-brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid rgba(202, 169, 110, 0.35);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.04);
    flex: 0 0 auto;
}

.sr-brand-mark img,
.sr-drawer-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sr-brand-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.sr-brand-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0.02em;
}

.sr-brand-tagline {
    color: var(--sr-text-muted);
    font-size: 0.78rem;
    line-height: 1.2;
}

.sr-main {
    position: relative;
    z-index: 1;
}

.sr-page-hero {
    padding: 1rem 0 0.5rem;
}

.sr-page-hero-card,
.sr-glass-card,
.sr-drawer-panel {
    background: var(--sr-surface);
    border: 1px solid var(--sr-border);
    box-shadow: var(--sr-shadow);
    border-radius: var(--sr-radius-lg);
    backdrop-filter: var(--sr-blur);
    -webkit-backdrop-filter: var(--sr-blur);
}

.sr-page-hero-card {
    padding: 1.5rem 1.25rem;
}

.sr-kicker {
    color: var(--sr-accent);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.72rem;
    font-weight: 700;
    margin-bottom: 0.55rem;
}

.sr-page-title {
    font-size: clamp(1.6rem, 2vw + 1rem, 2.5rem);
    line-height: 1.05;
    font-weight: 800;
}

.sr-page-intro {
    max-width: 760px;
    color: var(--sr-text-soft);
    font-size: 1rem;
}

.sr-page-content {
    padding-top: 0.75rem;
}

.sr-panel-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-weight: 700;
    color: var(--sr-accent);
    margin-bottom: 0.85rem;
}

.sr-offcanvas {
    --bs-offcanvas-width: min(92vw, 360px);
    color: var(--sr-text);
    background: rgba(8, 8, 11, 0.94);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.sr-drawer-logo {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid rgba(202, 169, 110, 0.35);
}

.sr-drawer-title {
    font-size: 1rem;
    font-weight: 700;
}

.sr-drawer-subtitle {
    color: var(--sr-text-muted);
    font-size: 0.82rem;
}

.sr-drawer-nav {
    display: grid;
    gap: 0.55rem;
}

.sr-drawer-link {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.95rem 1rem;
    border-radius: 16px;
    color: var(--sr-text-soft);
    text-decoration: none;
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.2s ease;
}

.sr-drawer-link:hover,
.sr-drawer-link.active {
    color: var(--sr-text);
    border-color: var(--sr-border-strong);
    background: linear-gradient(180deg, rgba(202, 169, 110, 0.12), rgba(255, 255, 255, 0.04));
}

.sr-drawer-search .input-group-text,
.sr-drawer-search .form-control,
.sr-form-control,
.form-control,
.form-select,
.input-group-text {
    color: var(--sr-text);
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--sr-border);
}

.form-control::placeholder {
    color: rgba(245, 242, 235, 0.42);
}

.form-control:focus,
.form-select:focus,
.btn:focus,
button:focus {
    box-shadow: 0 0 0 0.2rem rgba(202, 169, 110, 0.16) !important;
    border-color: rgba(202, 169, 110, 0.45) !important;
}

.btn-primary,
.sr-btn-primary {
    --bs-btn-bg: #caa96e;
    --bs-btn-border-color: #caa96e;
    --bs-btn-hover-bg: #d7b985;
    --bs-btn-hover-border-color: #d7b985;
    --bs-btn-active-bg: #c39a56;
    --bs-btn-active-border-color: #c39a56;
    --bs-btn-color: #111;
    --bs-btn-hover-color: #111;
    --bs-btn-active-color: #111;
    font-weight: 700;
}

.btn-outline-light {
    --bs-btn-hover-bg: rgba(255,255,255,0.1);
    --bs-btn-hover-border-color: rgba(255,255,255,0.25);
}

.card,
.accordion-item,
.modal-content,
.table-responsive,
.sr-surface-card {
    background: var(--sr-surface);
    border: 1px solid var(--sr-border);
    border-radius: var(--sr-radius);
    box-shadow: var(--sr-shadow);
    backdrop-filter: var(--sr-blur);
    -webkit-backdrop-filter: var(--sr-blur);
}

.card,
.modal-content,
.table-responsive,
.sr-surface-card {
    overflow: hidden;
}

.accordion-button {
    color: var(--sr-text);
    background: rgba(255,255,255,0.03);
}

.accordion-button:not(.collapsed) {
    color: var(--sr-text);
    background: rgba(202, 169, 110, 0.08);
}

.accordion-button::after {
    filter: invert(1);
    opacity: 0.75;
}

.table {
    --bs-table-bg: transparent;
    --bs-table-striped-bg: rgba(255,255,255,0.02);
    --bs-table-hover-bg: rgba(255,255,255,0.035);
    --bs-table-color: var(--sr-text);
    margin-bottom: 0;
}

.table > :not(caption) > * > * {
    border-bottom-color: rgba(255,255,255,0.08);
}

.sr-social-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.sr-social-row a {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    border: 1px solid var(--sr-border);
    background: rgba(255, 255, 255, 0.04);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.sr-social-row a:hover {
    transform: translateY(-1px);
    border-color: var(--sr-border-strong);
    background: rgba(202, 169, 110, 0.12);
}

.sr-mobile-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1035;
    height: var(--sr-mobile-nav-height);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    padding: 0.4rem 0.4rem calc(0.4rem + env(safe-area-inset-bottom));
    background: rgba(8, 8, 12, 0.82);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

.sr-mobile-nav-link {
    appearance: none;
    color: var(--sr-text-muted);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.28rem;
    font-size: 0.72rem;
    font-weight: 600;
    border-radius: 16px;
}

.sr-mobile-nav-link i {
    font-size: 1rem;
}

.sr-mobile-nav-link.active {
    color: var(--sr-text);
    background: rgba(255, 255, 255, 0.05);
}

.sr-empty-state {
    padding: 2rem 1.25rem;
    text-align: center;
    color: var(--sr-text-muted);
    border: 1px dashed rgba(255,255,255,0.15);
    border-radius: var(--sr-radius);
    background: rgba(255,255,255,0.03);
}

@media (min-width: 992px) {
    .sr-app-shell {
        padding-bottom: calc(var(--sr-player-height) + 1.5rem);
    }

    .sr-page-hero {
        padding-top: 1.35rem;
    }

    .sr-page-hero-card {
        padding: 1.9rem 1.7rem;
    }
}

@media (max-width: 991.98px) {
    .sr-brand-title {
        font-size: 0.96rem;
    }

    .sr-brand-tagline {
        font-size: 0.75rem;
    }
}

@media (max-width: 575.98px) {
    :root {
        --sr-topbar-height: 68px;
        --sr-player-height: 80px;
        --sr-mobile-nav-height: 72px;
    }

    .sr-page-hero-card {
        padding: 1.2rem 1rem;
        border-radius: 22px;
    }

    .sr-page-intro {
        font-size: 0.95rem;
    }

    .sr-bg-layer {
        background-attachment: scroll;
        background-position: center center;
    }
}

/* =========================================================
   Tracks page
========================================================= */
.page-tracks .sr-page-hero-card {
    background: linear-gradient(180deg, rgba(18, 18, 24, 0.82), rgba(14, 14, 20, 0.72));
}

.sr-mobile-filter-note {
    color: var(--sr-text-muted);
    font-size: 0.82rem;
    line-height: 1.45;
}

.sr-track-pill {
    color: #111 !important;
    background: linear-gradient(180deg, #ead7b2, #caa96e) !important;
    border: 0;
    padding: 0.6rem 0.85rem;
    font-weight: 700;
}

.sr-track-accordion .accordion-item + .accordion-item {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.sr-track-item {
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.sr-track-toggle {
    padding: 1rem 1.1rem;
}

.sr-track-row {
    width: 100%;
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    padding-right: 0.65rem;
}

.sr-track-index {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--sr-accent);
    background: rgba(202, 169, 110, 0.10);
    border: 1px solid rgba(202, 169, 110, 0.18);
    font-size: 0.88rem;
    font-weight: 800;
}

.sr-track-main {
    min-width: 0;
}

.sr-track-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sr-track-subtitle {
    color: var(--sr-text-muted);
    font-size: 0.88rem;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 0.18rem;
}

.sr-track-duration {
    color: var(--sr-text-soft);
    font-weight: 700;
    font-size: 0.9rem;
}

.sr-track-cover-wrap {
    aspect-ratio: 1 / 1;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: var(--sr-shadow);
    background: rgba(255,255,255,0.04);
}

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

.sr-track-meta-card {
    min-height: 100%;
    padding: 0.95rem 1rem;
    border-radius: 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
}

.sr-track-meta-label {
    color: var(--sr-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.7rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.sr-track-meta-value {
    color: var(--sr-text);
    font-weight: 700;
    line-height: 1.25;
}

.sr-track-description {
    color: var(--sr-text-soft);
    line-height: 1.65;
}

.sr-track-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.sr-genre-pill {
    color: var(--sr-text) !important;
    background: rgba(255,255,255,0.06) !important;
    border: 1px solid rgba(255,255,255,0.10);
    padding: 0.45rem 0.7rem;
}

.sr-lyrics-pre {
    margin: 0;
    white-space: pre-wrap;
    word-break: break-word;
    color: var(--sr-text);
    font-family: inherit;
    font-size: 0.98rem;
    line-height: 1.7;
}

@media (max-width: 767.98px) {
    .sr-track-toggle {
        padding: 0.95rem 0.95rem;
    }

    .sr-track-row {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 0.8rem;
        padding-right: 1.7rem;
    }

    .sr-track-duration {
        grid-column: 2;
        font-size: 0.78rem;
    }

    .sr-track-title,
    .sr-track-subtitle {
        white-space: normal;
    }

    .sr-track-action-row {
        gap: 0.5rem;
    }
}


/* =========================================================
   Home page
========================================================= */
.page-home .sr-app-shell {
    padding-top: 0;
}

.sr-home-hero {
    padding-top: 1rem;
}

.sr-home-hero-card {
    position: relative;
    overflow: hidden;
    padding: 1.5rem;
    min-height: 100%;
    background:
        linear-gradient(135deg, rgba(202, 169, 110, 0.16), rgba(255, 255, 255, 0.03)),
        rgba(13, 13, 18, 0.72);
}

.sr-home-hero-card::before {
    content: "";
    position: absolute;
    inset: auto -12% -30% auto;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(202, 169, 110, 0.22), transparent 65%);
    pointer-events: none;
}

.sr-home-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--sr-accent);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 0.85rem;
}

.sr-home-title {
    font-size: clamp(2rem, 3vw + 1rem, 4rem);
    line-height: 0.98;
    font-weight: 800;
    margin-bottom: 1rem;
    max-width: 10ch;
}

.sr-home-copy {
    color: var(--sr-text-soft);
    font-size: 1rem;
    max-width: 60ch;
}

.sr-home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.25rem;
}

.sr-home-actions .btn {
    min-width: 160px;
}

.sr-home-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.sr-home-stat {
    position: relative;
    padding: 1rem 1rem 1.05rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.sr-home-stat-label {
    color: var(--sr-text-muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.sr-home-stat-value {
    font-size: clamp(1.55rem, 2vw, 2.1rem);
    line-height: 1;
    font-weight: 800;
}

.sr-home-stat-note {
    margin-top: 0.45rem;
    color: var(--sr-text-muted);
    font-size: 0.8rem;
}

.sr-home-section {
    margin-top: 1.25rem;
}

.sr-home-section-card {
    padding: 1.2rem;
}

.sr-home-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.sr-home-section-title {
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0;
}

.sr-home-section-copy {
    color: var(--sr-text-muted);
    margin: 0.35rem 0 0;
    max-width: 60ch;
}

.sr-home-track-list,
.sr-home-album-list {
    display: grid;
    gap: 0.9rem;
}

.sr-home-track-card,
.sr-home-album-card,
.sr-home-artist-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
}

.sr-home-track-card {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 0.95rem;
    padding: 0.85rem;
}

.sr-home-cover {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

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

.sr-home-track-title,
.sr-home-album-title,
.sr-home-artist-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

.sr-home-track-meta,
.sr-home-album-meta,
.sr-home-artist-meta {
    color: var(--sr-text-muted);
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.sr-home-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0.7rem 0 0.9rem;
}

.sr-home-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.76rem;
    line-height: 1;
    font-weight: 700;
    padding: 0.45rem 0.6rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--sr-text-soft);
}

.sr-home-inline-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.sr-home-album-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sr-home-album-card {
    padding: 0.85rem;
}

.sr-home-album-cover {
    aspect-ratio: 1 / 1;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 0.9rem;
}

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

.sr-home-artist-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
}

.sr-home-artist-visual {
    aspect-ratio: 16 / 10;
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sr-home-artist-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sr-home-artist-body {
    padding: 1rem;
}

.sr-home-artist-text {
    color: var(--sr-text-soft);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0.8rem 0 1rem;
}

.sr-home-link-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.sr-home-link-card {
    text-decoration: none;
    color: var(--sr-text);
    padding: 1rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.sr-home-link-card:hover {
    transform: translateY(-1px);
    color: var(--sr-text);
    border-color: var(--sr-border-strong);
    background: rgba(202, 169, 110, 0.08);
}

.sr-home-link-icon {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    margin-bottom: 0.85rem;
    background: rgba(255, 255, 255, 0.05);
    color: var(--sr-accent);
}

.sr-home-link-title {
    font-size: 0.98rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.sr-home-link-copy {
    color: var(--sr-text-muted);
    font-size: 0.85rem;
    line-height: 1.55;
}

@media (min-width: 1200px) {
    .sr-home-section-card {
        padding: 1.35rem;
    }
}

@media (max-width: 991.98px) {
    .sr-home-title {
        max-width: 100%;
    }
}

@media (max-width: 767.98px) {
    .sr-home-hero-card {
        padding: 1.2rem;
    }

    .sr-home-actions .btn {
        width: 100%;
    }

    .sr-home-album-list,
    .sr-home-link-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 575.98px) {
    .sr-home-stat-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .sr-home-track-card {
        grid-template-columns: 64px minmax(0, 1fr);
        gap: 0.8rem;
    }

    .sr-home-cover {
        width: 64px;
        height: 64px;
    }
}


/* =========================================================
   Albums page
========================================================= */
.page-albums .sr-page-hero-card {
    background: linear-gradient(180deg, rgba(18, 18, 24, 0.82), rgba(14, 14, 20, 0.72));
}

.sr-album-pill {
    color: #111 !important;
    background: linear-gradient(180deg, #ead7b2, #caa96e) !important;
    border: 0;
    padding: 0.6rem 0.85rem;
    font-weight: 700;
}

.sr-album-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.sr-album-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--sr-shadow);
    backdrop-filter: var(--sr-blur);
    -webkit-backdrop-filter: var(--sr-blur);
}

.sr-album-cover-wrap {
    aspect-ratio: 1 / 1;
    background: rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

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

.sr-album-card-body {
    padding: 1rem;
}

.sr-album-title {
    font-size: 1.15rem;
    line-height: 1.15;
    font-weight: 800;
}

.sr-album-subtitle {
    color: var(--sr-text-muted);
    font-size: 0.92rem;
}

.sr-album-chip {
    color: var(--sr-text) !important;
    background: rgba(255,255,255,0.06) !important;
    border: 1px solid rgba(255,255,255,0.10);
    padding: 0.45rem 0.7rem;
}

.sr-album-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.sr-album-meta-card {
    min-height: 100%;
    padding: 0.9rem 0.95rem;
    border-radius: 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
}

.sr-album-meta-label {
    color: var(--sr-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.68rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.sr-album-meta-value {
    color: var(--sr-text);
    font-weight: 700;
    line-height: 1.25;
}

.sr-album-description {
    color: var(--sr-text-soft);
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sr-album-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

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

@media (max-width: 767.98px) {
    .sr-album-grid,
    .sr-album-meta-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .sr-album-action-row {
        gap: 0.5rem;
    }
}


.sr-artist-pill {
    color: #141419 !important;
    background: rgba(245, 242, 235, 0.95) !important;
}

.sr-artist-profile-card {
    position: relative;
}

.sr-artist-profile-card-inner,
.sr-artist-panel {
    padding: 1.25rem;
}

.sr-artist-profile-card-inner {
    position: sticky;
    top: calc(var(--sr-topbar-height) + 1rem);
}

.sr-artist-visual-wrap {
    aspect-ratio: 1 / 1;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
}

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

.sr-artist-profile-body {
    padding-top: 1rem;
}

.sr-artist-profile-title {
    font-size: clamp(1.65rem, 1.2rem + 1.4vw, 2.35rem);
    font-weight: 800;
    line-height: 1.05;
    margin: 0;
}

.sr-artist-profile-subtitle {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem 1rem;
    margin-top: 0.7rem;
    color: var(--sr-text-soft);
    font-size: 0.95rem;
}

.sr-artist-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
}

.sr-artist-stat-card {
    padding: 0.95rem;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.09);
    background: rgba(255,255,255,0.04);
}

.sr-artist-stat-label {
    color: var(--sr-text-muted);
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.sr-artist-stat-value {
    font-size: 1.2rem;
    font-weight: 800;
}

.sr-artist-bio {
    color: var(--sr-text-soft);
    line-height: 1.68;
    font-size: 0.98rem;
}

.sr-artist-profile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.sr-artist-section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.sr-artist-section-title {
    font-size: clamp(1.15rem, 1rem + 0.7vw, 1.55rem);
    font-weight: 800;
}

.sr-artist-section-copy {
    color: var(--sr-text-soft);
}

.sr-artist-track-list,
.sr-artist-album-grid,
.sr-artist-roster-grid {
    display: grid;
    gap: 1rem;
}

.sr-artist-track-card {
    display: grid;
    grid-template-columns: auto 68px minmax(0, 1fr) auto;
    gap: 0.95rem;
    align-items: center;
    padding: 0.9rem;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.09);
    background: rgba(255,255,255,0.04);
}

.sr-artist-track-index {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--sr-accent);
    background: rgba(202, 169, 110, 0.1);
    border: 1px solid rgba(202, 169, 110, 0.25);
}

.sr-artist-track-cover {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
}

.sr-artist-track-cover img,
.sr-artist-release-cover img,
.sr-artist-roster-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sr-artist-track-title,
.sr-artist-release-title,
.sr-artist-roster-title {
    font-weight: 700;
    font-size: 1rem;
}

.sr-artist-track-meta,
.sr-artist-release-meta,
.sr-artist-roster-meta {
    color: var(--sr-text-muted);
    font-size: 0.9rem;
}

.sr-artist-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.55rem;
}

.sr-artist-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--sr-text-soft);
    font-size: 0.78rem;
}

.sr-artist-track-actions,
.sr-artist-release-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    justify-content: flex-end;
}

.sr-artist-album-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sr-artist-release-card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 1rem;
    padding: 1rem;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,0.09);
    background: rgba(255,255,255,0.04);
}

.sr-artist-release-cover {
    width: 112px;
    height: 112px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
}

.sr-artist-release-copy {
    color: var(--sr-text-soft);
    font-size: 0.92rem;
    line-height: 1.55;
    margin-top: 0.5rem;
}

.sr-artist-release-actions {
    margin-top: 0.8rem;
}

.sr-artist-roster-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sr-artist-roster-card {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 0.85rem;
    align-items: center;
    width: 100%;
    padding: 0.85rem 0.95rem;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.09);
    background: rgba(255,255,255,0.04);
    color: var(--sr-text);
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.sr-artist-roster-card:hover,
.sr-artist-roster-card.active {
    transform: translateY(-1px);
    border-color: rgba(202, 169, 110, 0.32);
    background: rgba(202, 169, 110, 0.08);
}

.sr-artist-roster-visual {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
}

@media (max-width: 1199.98px) {
    .sr-artist-profile-card-inner {
        position: static;
    }
}

@media (max-width: 991.98px) {
    .sr-artist-album-grid,
    .sr-artist-roster-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .sr-artist-profile-card-inner,
    .sr-artist-panel {
        padding: 1rem;
    }

    .sr-artist-track-card,
    .sr-artist-release-card {
        grid-template-columns: 1fr;
    }

    .sr-artist-track-cover,
    .sr-artist-release-cover {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .sr-artist-track-actions,
    .sr-artist-release-actions {
        justify-content: flex-start;
    }

    .sr-artist-stat-grid {
        grid-template-columns: 1fr;
    }
}


/* ========================================
   Release page
======================================== */
.sr-release-pill {
    color: #111;
    background: rgba(255,255,255,0.92) !important;
}

.sr-release-sidebar,
.sr-release-panel {
    padding: 1.25rem;
}

.sr-release-sidebar {
    position: relative;
}

.sr-release-cover-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.04);
    box-shadow: var(--sr-shadow);
}

.sr-release-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sr-release-sticky-copy {
    position: sticky;
    top: calc(var(--sr-topbar-height) + 1rem);
    padding-top: 1.2rem;
}

.sr-release-title {
    font-size: clamp(1.8rem, 2vw + 1rem, 2.7rem);
    line-height: 1.05;
    font-weight: 800;
}

.sr-release-artist {
    color: var(--sr-accent);
    font-size: 1rem;
    font-weight: 700;
}

.sr-release-description,
.sr-release-section-copy {
    color: var(--sr-text-soft);
    line-height: 1.65;
}

.sr-release-section-title {
    font-size: 1.35rem;
    font-weight: 700;
}

.sr-release-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.sr-release-stat-card {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 0.95rem 1rem;
    border-radius: 18px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
}

.sr-release-stat-label {
    color: var(--sr-text-muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.sr-release-stat-value {
    font-size: 1rem;
    color: var(--sr-text);
}

.sr-release-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.sr-release-track-list {
    display: grid;
    gap: 0.9rem;
}

.sr-release-track-card {
    display: grid;
    grid-template-columns: 56px 88px minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,0.09);
    background: rgba(255,255,255,0.04);
}

.sr-release-track-index {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(202, 169, 110, 0.12);
    border: 1px solid rgba(202, 169, 110, 0.24);
    color: var(--sr-accent);
    font-size: 1rem;
    font-weight: 800;
}

.sr-release-track-cover-wrap {
    width: 88px;
    height: 88px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
}

.sr-release-track-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sr-release-track-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
}

.sr-release-track-title {
    font-size: 1.05rem;
    font-weight: 700;
}

.sr-release-track-meta,
.sr-release-track-desc {
    color: var(--sr-text-muted);
    font-size: 0.92rem;
}

.sr-release-track-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--sr-text-soft);
    font-size: 0.78rem;
    white-space: nowrap;
}

.sr-release-track-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    justify-content: flex-end;
}

@media (max-width: 1199.98px) {
    .sr-release-sticky-copy {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .sr-release-sidebar,
    .sr-release-panel {
        padding: 1rem;
    }

    .sr-release-stat-grid {
        grid-template-columns: 1fr;
    }

    .sr-release-track-card {
        grid-template-columns: 1fr;
        align-items: flex-start;
    }

    .sr-release-track-index {
        width: 48px;
        height: 48px;
        border-radius: 14px;
    }

    .sr-release-track-cover-wrap {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .sr-release-track-title-row,
    .sr-release-track-actions {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* ---------------------------------
   Videos page
--------------------------------- */
.sr-video-pill,
.sr-video-chip,
.sr-video-genre {
    background: rgba(255, 255, 255, 0.08) !important;
    color: var(--sr-text) !important;
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.sr-video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.sr-video-card,
.sr-video-modal-content {
    background: var(--sr-surface);
    border: 1px solid var(--sr-border);
    border-radius: var(--sr-radius-lg);
    box-shadow: var(--sr-shadow);
    backdrop-filter: var(--sr-blur);
    -webkit-backdrop-filter: var(--sr-blur);
    overflow: hidden;
}

.sr-video-poster-wrap {
    position: relative;
    aspect-ratio: 16 / 9;
    background: rgba(255, 255, 255, 0.04);
    overflow: hidden;
}

.sr-video-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sr-video-play-btn {
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(15, 15, 18, 0.68);
    color: var(--sr-text);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.sr-video-play-btn:hover,
.sr-video-play-btn:focus {
    color: var(--sr-text);
    border-color: var(--sr-border-strong);
    background: rgba(15, 15, 18, 0.84);
}

.sr-video-card-body {
    padding: 1.15rem;
}

.sr-video-title {
    font-size: 1.2rem;
    line-height: 1.15;
    font-weight: 800;
    margin: 0 0 0.45rem;
}

.sr-video-meta {
    color: var(--sr-text-soft);
    margin-bottom: 0.85rem;
}

.sr-video-description {
    color: var(--sr-text-muted);
    min-height: 3.75rem;
    margin-bottom: 1rem;
}

.sr-video-genre-row,
.sr-video-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.sr-video-genre-row {
    margin-bottom: 1rem;
}

.sr-video-action-row .btn {
    border-radius: 999px;
}

.sr-video-modal-frame {
    background: #050507;
}


.sr-video-modal {
    z-index: 1088;
}

.sr-video-modal-backdrop {
    z-index: 1080;
}

.sr-video-modal-content {
    isolation: isolate;
}

.sr-video-modal-content .modal-header,
.sr-video-modal-content .modal-footer {
    position: sticky;
    z-index: 4;
    background: rgba(10, 10, 14, 0.94);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.sr-video-modal-content .modal-header {
    top: 0;
}

.sr-video-modal-content .modal-footer {
    bottom: 0;
}

.sr-video-modal-content .modal-body {
    position: relative;
    z-index: 1;
}

.sr-video-modal-close {
    position: relative;
    z-index: 6;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.9rem;
    height: 2.9rem;
    min-width: 2.9rem;
    min-height: 2.9rem;
    border-radius: 999px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.28);
    color: rgba(255,255,255,0.96);
    cursor: pointer;
    pointer-events: auto;
    -webkit-tap-highlight-color: transparent;
}

.sr-video-modal-close i {
    font-size: 1.15rem;
    line-height: 1;
    pointer-events: none;
}

.sr-video-modal-close:hover,
.sr-video-modal-close:focus,
.sr-video-modal-close:focus-visible {
    background-color: rgba(202, 169, 110, 0.18);
    border-color: rgba(202, 169, 110, 0.45);
    color: #fff;
    outline: none;
}

.sr-video-modal-frame {
    position: relative;
    z-index: 1;
    min-height: min(70vh, calc(100vh - 14rem));
}

@media (max-width: 767.98px) {
    .sr-video-modal-content .modal-header,
    .sr-video-modal-content .modal-footer {
        padding-inline: 0.9rem;
    }

    .sr-video-modal-close {
        width: 2.5rem;
        height: 2.5rem;
        min-width: 2.5rem;
        min-height: 2.5rem;
    }

    .sr-video-modal-frame {
        min-height: min(56vh, calc(100vh - 12rem));
    }
}

.sr-video-modal-frame iframe,
.sr-video-modal-frame video {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.sr-video-modal-fallback {
    min-height: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

@media (max-width: 991.98px) {
    .sr-video-grid {
        grid-template-columns: 1fr;
    }
}


/* ---------------------------------
   Portal page
--------------------------------- */
.sr-portal-action-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.sr-portal-action-card,
.sr-portal-utility-link,
.sr-portal-stat-card,
.sr-portal-track-card,
.sr-portal-release-card,
.sr-portal-support-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.sr-portal-action-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 22px;
    color: var(--sr-text);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.sr-portal-action-card:hover,
.sr-portal-action-card:focus,
.sr-portal-utility-link:hover,
.sr-portal-utility-link:focus {
    transform: translateY(-2px);
    border-color: rgba(202, 169, 110, 0.45);
    color: var(--sr-text);
    background: rgba(255, 255, 255, 0.07);
}

.sr-portal-action-icon {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    font-size: 1.2rem;
    color: var(--sr-accent);
    background: rgba(202, 169, 110, 0.10);
    border: 1px solid rgba(202, 169, 110, 0.24);
}

.sr-portal-action-copy {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.sr-portal-action-copy strong {
    font-size: 1rem;
}

.sr-portal-action-copy span:last-child {
    color: var(--sr-text-soft);
    font-size: 0.94rem;
}

.sr-portal-link-stack {
    display: grid;
    gap: 0.75rem;
}

.sr-portal-utility-link {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.95rem 1rem;
    border-radius: 18px;
    color: var(--sr-text-soft);
    text-decoration: none;
}

.sr-portal-utility-link span:first-child {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: var(--sr-accent);
    background: rgba(202, 169, 110, 0.10);
    border: 1px solid rgba(202, 169, 110, 0.20);
}

.sr-portal-stat-card {
    border-radius: 22px;
    padding: 1.1rem 1rem;
    height: 100%;
}

.sr-portal-stat-label {
    color: var(--sr-accent);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.72rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.sr-portal-stat-value {
    font-size: clamp(2rem, 3vw, 2.7rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.6rem;
}

.sr-portal-stat-value--small {
    font-size: 1.15rem;
    line-height: 1.2;
}

.sr-portal-stat-note {
    color: var(--sr-text-muted);
    font-size: 0.85rem;
}

.sr-portal-track-list,
.sr-portal-release-list {
    display: grid;
    gap: 0.9rem;
}

.sr-portal-track-card,
.sr-portal-release-card {
    display: grid;
    gap: 1rem;
    border-radius: 22px;
    padding: 0.95rem;
}

.sr-portal-track-card {
    grid-template-columns: 72px minmax(0, 1fr) auto;
    align-items: center;
}

.sr-portal-release-card {
    grid-template-columns: 92px minmax(0, 1fr);
    align-items: center;
}

.sr-portal-track-cover-wrap,
.sr-portal-release-cover-wrap {
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
}

.sr-portal-track-cover-wrap {
    width: 72px;
    height: 72px;
}

.sr-portal-release-cover-wrap {
    width: 92px;
    height: 92px;
}

.sr-portal-track-cover,
.sr-portal-release-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sr-portal-track-copy,
.sr-portal-release-copy {
    min-width: 0;
}

.sr-portal-track-title,
.sr-portal-release-title {
    font-size: 1.02rem;
    line-height: 1.15;
    font-weight: 800;
    margin: 0 0 0.35rem;
}

.sr-portal-track-meta,
.sr-portal-release-meta {
    color: var(--sr-text-soft);
    font-size: 0.92rem;
}

.sr-portal-track-actions,
.sr-portal-release-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.sr-portal-support-box {
    border-radius: 24px;
    padding: 1.1rem;
}

.sr-portal-support-kicker {
    color: var(--sr-accent);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.72rem;
    font-weight: 700;
    margin-bottom: 0.65rem;
}

.sr-portal-social-row {
    margin-top: 0.25rem;
}

@media (max-width: 991.98px) {
    .sr-portal-action-grid {
        grid-template-columns: 1fr;
    }

    .sr-portal-track-card {
        grid-template-columns: 72px minmax(0, 1fr);
    }

    .sr-portal-track-actions {
        grid-column: 1 / -1;
    }
}

@media (max-width: 575.98px) {
    .sr-portal-track-card,
    .sr-portal-release-card {
        grid-template-columns: 1fr;
    }

    .sr-portal-track-cover-wrap,
    .sr-portal-release-cover-wrap {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
    }
}


/* V2.9 - legal page cluster */
.sr-legal-card {
    overflow: hidden;
}

.sr-legal-meta {
    text-align: left;
}

.sr-legal-callout {
    padding: 1rem 1.1rem;
    border-radius: 18px;
    border: 1px solid rgba(202, 169, 110, 0.24);
    background: linear-gradient(180deg, rgba(202, 169, 110, 0.10), rgba(255, 255, 255, 0.04));
    color: var(--sr-text-soft);
}

.sr-legal-toc {
    display: grid;
    gap: 0.65rem;
}

.sr-legal-toc a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0.8rem 1rem;
    border-radius: 16px;
    color: var(--sr-text);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.sr-legal-toc a:hover,
.sr-legal-toc a:focus {
    color: var(--sr-text);
    border-color: var(--sr-border-strong);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
}

.sr-legal-list {
    margin: 0;
    padding-left: 1.2rem;
    color: var(--sr-text-soft);
}

.sr-legal-list li + li {
    margin-top: 0.55rem;
}

.page-terms .sr-page-hero-card {
    background: linear-gradient(180deg, rgba(18, 18, 24, 0.76), rgba(18, 18, 24, 0.88));
}

@media (min-width: 1200px) {
    .page-terms .sr-legal-card {
        position: relative;
    }
}


/* =========================
   Cookies page cluster
========================= */
.sr-cookie-chip-card,
.sr-cookie-note-box {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 1rem;
}

.sr-cookie-chip-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    margin-bottom: 0.85rem;
    color: var(--sr-accent-strong);
    background: rgba(202, 169, 110, 0.12);
    border: 1px solid rgba(202, 169, 110, 0.24);
}

.page-cookies .sr-legal-card {
    scroll-margin-top: 96px;
}


/* =========================
   Privacy page cluster
========================= */
.sr-privacy-data-card,
.sr-privacy-note-box {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 1rem;
}

.sr-privacy-card-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    margin-bottom: 0.85rem;
    color: var(--sr-accent-strong);
    background: rgba(202, 169, 110, 0.12);
    border: 1px solid rgba(202, 169, 110, 0.24);
}

.page-privacy .sr-legal-card {
    scroll-margin-top: 96px;
}




/* =========================
   Sitemap page cluster
========================= */
.sr-sitemap-link-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    min-height: 100%;
    padding: 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--sr-text);
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.sr-sitemap-link-card:hover,
.sr-sitemap-link-card:focus {
    color: var(--sr-text);
    border-color: var(--sr-border-strong);
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-1px);
}

.sr-sitemap-link-icon {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    flex: 0 0 46px;
    color: var(--sr-accent-strong);
    background: rgba(202, 169, 110, 0.12);
    border: 1px solid rgba(202, 169, 110, 0.24);
}

.sr-sitemap-link-copy {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 0;
}

.sr-sitemap-link-copy strong {
    font-size: 1rem;
    line-height: 1.15;
}

.sr-sitemap-link-copy span:last-child {
    color: var(--sr-text-soft);
    font-size: 0.94rem;
}

.sr-sitemap-stat-card {
    height: 100%;
    border-radius: 20px;
    padding: 1rem 1.1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.sr-sitemap-stat-label {
    color: var(--sr-text-soft);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.72rem;
    font-weight: 700;
    margin-bottom: 0.55rem;
}

.sr-sitemap-stat-value {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.45rem;
}

.sr-sitemap-stat-note {
    color: var(--sr-text-soft);
    font-size: 0.88rem;
}

.page-sitemap .sr-legal-card {
    scroll-margin-top: 96px;
}

@media (max-width: 575.98px) {
    .sr-sitemap-link-card {
        gap: 0.85rem;
    }
}



/* =========================
   About page cluster
========================= */
.sr-about-card {
    overflow: hidden;
}

.sr-about-callout,
.sr-about-highlight-card,
.sr-about-pillar-card,
.sr-about-stat-card {
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.sr-about-callout,
.sr-about-highlight-card,
.sr-about-pillar-card,
.sr-about-stat-card {
    padding: 1rem 1.05rem;
}

.sr-about-callout {
    background: linear-gradient(180deg, rgba(202, 169, 110, 0.10), rgba(255, 255, 255, 0.04));
    border-color: rgba(202, 169, 110, 0.22);
    color: var(--sr-text-soft);
}

.sr-about-pillar-icon,
.sr-about-link-icon {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    flex: 0 0 46px;
    color: var(--sr-accent-strong);
    background: rgba(202, 169, 110, 0.12);
    border: 1px solid rgba(202, 169, 110, 0.24);
}

.sr-about-link-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    min-height: 100%;
    padding: 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--sr-text);
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.sr-about-link-card:hover,
.sr-about-link-card:focus {
    color: var(--sr-text);
    border-color: var(--sr-border-strong);
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-1px);
}

.sr-about-link-copy {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 0;
}

.sr-about-link-copy strong {
    font-size: 1rem;
    line-height: 1.15;
}

.sr-about-link-copy span:last-child,
.sr-about-stat-note {
    color: var(--sr-text-soft);
    font-size: 0.94rem;
}

.sr-about-stat-label {
    color: var(--sr-text-soft);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.72rem;
    font-weight: 700;
    margin-bottom: 0.55rem;
}

.sr-about-stat-value {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.45rem;
}

.page-about .sr-about-card {
    scroll-margin-top: 96px;
}

@media (max-width: 575.98px) {
    .sr-about-link-card {
        gap: 0.85rem;
    }
}


/* =========================
   Contact page cluster
========================= */
.sr-contact-card {
    overflow: hidden;
}

.sr-contact-primary-card,
.sr-contact-secondary-card,
.sr-contact-topic-card,
.sr-contact-template-card,
.sr-contact-stat-card {
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1rem 1.05rem;
}

.sr-contact-primary-card {
    background: linear-gradient(180deg, rgba(202, 169, 110, 0.08), rgba(255, 255, 255, 0.04));
    border-color: rgba(202, 169, 110, 0.22);
}

.sr-contact-icon,
.sr-contact-topic-icon,
.sr-contact-social-icon {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    flex: 0 0 46px;
    color: var(--sr-accent-strong);
    background: rgba(202, 169, 110, 0.12);
    border: 1px solid rgba(202, 169, 110, 0.24);
}

.sr-contact-label {
    color: var(--sr-text-soft);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.72rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.sr-contact-email-box {
    padding: 0.95rem 1rem;
    border-radius: 16px;
    background: rgba(10, 10, 12, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.10);
    word-break: break-word;
}

.sr-contact-topic-card,
.sr-contact-stat-card {
    height: 100%;
}

.sr-contact-template-card {
    background: rgba(10, 10, 12, 0.42);
}

.sr-contact-template {
    margin: 0;
    white-space: pre-wrap;
    color: var(--sr-text-soft);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
    font-size: 0.92rem;
    line-height: 1.55;
}

.sr-contact-social-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 100%;
    padding: 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--sr-text);
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.sr-contact-social-card:hover,
.sr-contact-social-card:focus {
    color: var(--sr-text);
    border-color: var(--sr-border-strong);
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-1px);
}

.sr-contact-social-copy {
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
    min-width: 0;
    flex: 1 1 auto;
}

.sr-contact-social-copy span:last-child {
    color: var(--sr-text-soft);
    font-size: 0.94rem;
}

.sr-contact-social-arrow {
    color: var(--sr-text-soft);
    flex: 0 0 auto;
}

.sr-contact-stat-value {
    font-size: clamp(1.8rem, 3vw, 2.35rem);
    font-weight: 800;
    line-height: 1;
}

.page-contact .sr-contact-card {
    scroll-margin-top: 96px;
}

@media (max-width: 575.98px) {
    .sr-contact-social-card {
        gap: 0.85rem;
    }
}


/* Search page cluster */
.sr-search-card,
.sr-search-group-card,
.sr-search-aside-card {
    overflow: hidden;
}

.sr-search-pill {
    background: rgba(255, 255, 255, 0.08) !important;
    color: var(--sr-text) !important;
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.58rem 0.9rem;
}

.sr-search-group-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--sr-accent-strong);
    background: rgba(202, 169, 110, 0.12);
    border: 1px solid rgba(202, 169, 110, 0.24);
    flex: 0 0 48px;
}

.sr-search-list,
.sr-search-results-stack {
    display: grid;
    gap: 0.9rem;
}

.sr-search-mini-card,
.sr-search-result-card,
.sr-search-summary-box {
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.sr-search-mini-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1rem;
}

.sr-search-mini-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.24rem;
}

.sr-search-mini-copy strong {
    display: block;
}

.sr-search-mini-copy span {
    color: var(--sr-text-soft);
    font-size: 0.92rem;
    display: block;
}

.sr-search-result-card {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 1rem;
    padding: 1rem;
}

.sr-search-result-media {
    width: 88px;
    height: 88px;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.sr-search-result-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sr-search-result-copy {
    min-width: 0;
}

.sr-search-result-type,
.sr-search-summary-label {
    color: var(--sr-accent);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.72rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.sr-search-result-title {
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.2;
}

.sr-search-result-meta {
    color: var(--sr-text-soft);
    font-size: 0.93rem;
    margin-bottom: 0.55rem;
}

.sr-search-result-text {
    color: var(--sr-text-soft);
    font-size: 0.95rem;
    line-height: 1.58;
}

.sr-search-result-actions {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.sr-search-summary-box {
    padding: 0.95rem 1rem;
}

.sr-search-summary-value {
    font-size: 1rem;
    font-weight: 700;
    word-break: break-word;
}

.page-search .sr-search-group-card,
.page-search .sr-search-aside-card {
    scroll-margin-top: 96px;
}

@media (min-width: 768px) {
    .sr-search-result-card {
        grid-template-columns: 92px minmax(0, 1fr);
    }
}

@media (max-width: 575.98px) {
    .sr-search-mini-card {
        flex-direction: column;
        align-items: stretch;
    }

    .sr-search-result-card {
        grid-template-columns: 1fr;
    }

    .sr-search-result-media {
        width: 100%;
        height: 180px;
    }
}


/* =========================================================
   V2.18 polish pass
========================================================= */
html {
    scroll-behavior: smooth;
}

body.sr-body ::selection {
    background: rgba(202, 169, 110, 0.28);
    color: #fff;
}

body.sr-body::-webkit-scrollbar,
.sr-player-queue-list::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

body.sr-body::-webkit-scrollbar-thumb,
.sr-player-queue-list::-webkit-scrollbar-thumb {
    background: rgba(202, 169, 110, 0.32);
    border-radius: 999px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

body.sr-body::-webkit-scrollbar-track,
.sr-player-queue-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
}

.sr-skip-link {
    position: fixed;
    left: 1rem;
    top: 0.75rem;
    z-index: 1200;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: rgba(12, 12, 18, 0.96);
    border: 1px solid rgba(202, 169, 110, 0.4);
    color: var(--sr-text);
    text-decoration: none;
    transform: translateY(-140%);
    transition: transform 0.2s ease;
    box-shadow: var(--sr-shadow);
}

.sr-skip-link:focus,
.sr-skip-link:focus-visible {
    transform: translateY(0);
}

.sr-topbar {
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.sr-topbar::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(202, 169, 110, 0.32), transparent);
    opacity: 0.85;
}

.sr-page-hero-card {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(202, 169, 110, 0.14), transparent 30%),
        linear-gradient(180deg, rgba(18, 18, 24, 0.84), rgba(14, 14, 20, 0.74));
}

.sr-page-hero-card::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent 35%);
}

.sr-page-content {
    padding-top: 1rem;
}

.sr-surface-card,
.card,
.accordion-item,
.modal-content {
    transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.sr-surface-card:hover,
.sr-surface-card:focus-within,
.card:hover,
.accordion-item:has(.accordion-button:not(.collapsed)) {
    border-color: rgba(202, 169, 110, 0.24);
}

.sr-drawer-link span:first-child {
    width: 1.25rem;
    text-align: center;
}

.sr-drawer-panel {
    position: relative;
    overflow: hidden;
}
.sr-drawer-panel {
    padding: 1rem;
}

.sr-drawer-utility-zone {
    margin-top: auto;
    display: grid;
    gap: 0.85rem;
    padding-top: 1rem;
}

.sr-drawer-follow-panel {
    padding-bottom: 0.9rem;
}

.sr-drawer-search .input-group {
    align-items: stretch;
}

.sr-drawer-search .input-group-text,
.sr-drawer-search .form-control {
    min-height: 3.15rem;
}

.sr-drawer-search .input-group-text {
    padding-inline: 1rem 0.75rem;
    border-top-left-radius: 1rem;
    border-bottom-left-radius: 1rem;
}

.sr-drawer-search .form-control {
    border-top-right-radius: 1rem;
    border-bottom-right-radius: 1rem;
    font-size: 0.98rem;
    padding-right: 1rem;
}

.sr-social-row {
    justify-content: flex-start;
}

.sr-social-row a {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}


.sr-drawer-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 40%);
}

.sr-sidebar-sticky {
    position: sticky;
    top: calc(var(--sr-topbar-height) + 1rem);
}

.sr-empty-state {
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.sr-empty-state .fa-solid,
.sr-empty-state .fa-regular,
.sr-empty-state .fa-brands {
    color: var(--sr-accent);
}

.sr-track-pill,
.sr-home-chip,
.sr-album-pill,
.sr-artist-pill,
.sr-release-pill,
.sr-video-pill,
.sr-search-pill,
.sr-home-chip,
.sr-album-chip,
.sr-artist-chip,
.sr-video-chip,
.sr-release-track-chip,
.sr-genre-pill {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.sr-album-card,
.sr-home-album-card,
.sr-video-card,
.sr-release-track-card,
.sr-artist-release-card,
.sr-search-result-card,
.sr-portal-track-card,
.sr-portal-release-card,
.sr-about-link-card,
.sr-sitemap-link-card,
.sr-contact-social-card,
.sr-contact-topic-card,
.sr-privacy-data-card,
.sr-cookie-chip-card {
    height: 100%;
}

.sr-album-cover-wrap,
.sr-home-album-cover,
.sr-home-artist-visual,
.sr-artist-visual-wrap,
.sr-release-cover-wrap,
.sr-video-poster-wrap,
.sr-portal-track-cover-wrap,
.sr-portal-release-cover-wrap,
.sr-release-track-cover-wrap {
    position: relative;
    overflow: hidden;
}

.sr-album-cover-img,
.sr-home-album-cover img,
.sr-home-artist-visual img,
.sr-artist-visual-img,
.sr-release-cover,
.sr-video-poster,
.sr-portal-track-cover,
.sr-portal-release-cover,
.sr-release-track-cover {
    transition: transform 0.28s ease;
}

.sr-album-card:hover .sr-album-cover-img,
.sr-home-album-card:hover .sr-home-album-cover img,
.sr-artist-release-card:hover .sr-artist-release-cover,
.sr-release-track-card:hover .sr-release-track-cover,
.sr-video-card:hover .sr-video-poster,
.sr-portal-track-card:hover .sr-portal-track-cover,
.sr-portal-release-card:hover .sr-portal-release-cover {
    transform: scale(1.03);
}

.sr-track-action-row,
.sr-video-action-row,
.sr-release-action-row,
.sr-release-track-actions,
.sr-home-inline-actions,
.sr-artist-track-actions,
.sr-portal-track-actions,
.sr-portal-release-actions,
.sr-album-action-row,
.sr-artist-profile-actions,
.sr-artist-release-actions {
    gap: 0.75rem;
}

.sr-legal-meta,
.sr-search-result-meta,
.sr-release-track-meta,
.sr-track-subtitle,
.sr-video-meta,
.sr-home-track-meta,
.sr-portal-track-meta,
.sr-portal-release-meta,
.sr-artist-release-meta,
.sr-artist-roster-meta {
    color: var(--sr-text-muted);
}

.sr-legal-toc {
    top: calc(var(--sr-topbar-height) + 1rem);
}

@media (max-width: 991.98px) {
    .sr-page-content {
        padding-top: 0.85rem;
    }

    .sr-sidebar-sticky,
    .sr-legal-toc {
        position: static;
        top: auto;
    }
}

@media (max-width: 767.98px) {
    .sr-page-hero {
        padding-top: 0.8rem;
    }

    .sr-page-title {
        letter-spacing: -0.02em;
    }

    .sr-track-row {
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 0.85rem;
        padding-right: 0;
    }

    .sr-track-row > :last-child {
        grid-column: 1 / -1;
        display: flex;
        justify-content: flex-start;
        padding-left: calc(48px + 0.85rem);
        margin-top: -0.2rem;
    }

    .sr-track-toggle {
        padding: 0.95rem 0.9rem;
    }

    .sr-track-title,
    .sr-release-track-title,
    .sr-search-result-title,
    .sr-video-title,
    .sr-album-title,
    .sr-home-track-title,
    .sr-artist-track-title,
    .sr-portal-track-title,
    .sr-portal-release-title {
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
    }

    .sr-mobile-nav-link {
        gap: 0.2rem;
        font-size: 0.68rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}


.sr-site-footer {
    position: relative;
    z-index: 1;
    padding: 0 0 1rem;
}

.sr-site-footer-card {
    background: linear-gradient(180deg, rgba(18, 18, 24, 0.82), rgba(12, 12, 18, 0.95));
    border: 1px solid var(--sr-border);
    border-radius: var(--sr-radius-lg);
    box-shadow: var(--sr-shadow);
    backdrop-filter: var(--sr-blur);
    -webkit-backdrop-filter: var(--sr-blur);
    padding: 1.25rem;
}

.sr-site-footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sr-site-footer-brand img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(202, 169, 110, 0.35);
}

.sr-site-footer-title,
.sr-site-footer-heading {
    font-weight: 700;
}

.sr-site-footer-title {
    font-size: 1rem;
    margin-bottom: 0.35rem;
}

.sr-site-footer-copy {
    color: var(--sr-text-soft);
    max-width: 40rem;
}

.sr-site-footer-heading {
    color: var(--sr-accent);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.74rem;
    margin-bottom: 0.85rem;
}

.sr-site-footer-links {
    display: grid;
    gap: 0.55rem;
}

.sr-site-footer-links a,
.sr-site-footer-bottom a {
    color: var(--sr-text-soft);
    text-decoration: none;
}

.sr-site-footer-links a:hover,
.sr-site-footer-links a.active,
.sr-site-footer-bottom a:hover {
    color: var(--sr-text);
}

.sr-site-footer-links a.active {
    font-weight: 600;
}

.sr-site-footer-links a.active::before {
    content: '•';
    display: inline-block;
    margin-right: 0.45rem;
    color: var(--sr-accent);
}

.sr-site-footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.sr-site-footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--sr-border);
    background: rgba(255,255,255,0.04);
}

.sr-site-footer-bottom {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    align-items: center;
    color: var(--sr-text-muted);
    font-size: 0.92rem;
}

.sr-site-footer-divider {
    opacity: 0.6;
}

.sr-utility-stack {
    display: grid;
    gap: 1rem;
}

.sr-404-code {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(202, 169, 110, 0.28);
    background: rgba(202, 169, 110, 0.10);
    color: var(--sr-accent);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.sr-link-list {
    display: grid;
    gap: 0.75rem;
}

.sr-link-list a {
    text-decoration: none;
}

@media (max-width: 991.98px) {
    .sr-site-footer-card {
        padding: 1rem;
    }

    .sr-site-footer-brand {
        align-items: flex-start;
    }
}


/* V2.22 seamless navigation layer */
.sr-navigation-progress {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1085;
    width: 100%;
    height: 3px;
    opacity: 0;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(201,163,92,0.0) 0%, rgba(201,163,92,0.95) 50%, rgba(255,229,176,1) 100%);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.24s ease, opacity 0.24s ease;
    box-shadow: 0 0 18px rgba(201,163,92,0.45);
}

.sr-navigation-progress.is-active {
    opacity: 1;
}

.sr-main.is-loading {
    opacity: 0.72;
    transform: translateY(6px);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.sr-main.is-ready {
    opacity: 1;
    transform: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.sr-body.sr-route-transition .sr-topbar,
.sr-body.sr-route-transition .sr-mobile-nav,
.sr-body.sr-route-transition .sr-site-footer-card,
.sr-body.sr-route-transition .sr-player-bar {
    backdrop-filter: blur(16px);
}

/* V2.25 final visual polish + mobile spacing pass */

:root {
    --sr-content-gap: 1rem;
}

.sr-app-shell {
    padding-bottom: calc(var(--sr-player-height) + var(--sr-mobile-nav-height) + 2rem + env(safe-area-inset-bottom));
}

.sr-topbar-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
}

.sr-topbar-route {
    flex: 0 1 auto;
    min-width: 0;
    display: inline-flex;
    align-items: center;
}

.sr-topbar-route-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(202, 169, 110, 0.18);
    background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03));
    color: rgba(255,255,255,0.88);
    box-shadow: 0 10px 24px rgba(0,0,0,0.16);
    white-space: nowrap;
}

.sr-topbar-route-chip i {
    color: rgba(202, 169, 110, 0.9);
    flex: 0 0 auto;
}

.sr-topbar-route-copy {
    min-width: 0;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.08rem;
}

.sr-topbar-route-detail {
    display: inline-block;
    min-width: 0;
    max-width: 15rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: rgba(255,255,255,0.62);
    font-size: 0.71rem;
    line-height: 1.15;
    letter-spacing: 0.01em;
}

.sr-topbar-route-detail.is-empty {
    display: none;
}

#srTopbarRouteLabel {
    display: inline-block;
    min-width: 0;
    max-width: 14rem;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}


.sr-main {
    padding-bottom: 0.6rem;
}

.sr-page-hero {
    padding-bottom: 0.2rem;
}

.sr-page-intro {
    max-width: 68ch;
    line-height: 1.62;
}

.sr-page-content > .container,
.sr-page-content > .container-fluid {
    display: grid;
    gap: var(--sr-content-gap);
}

.btn,
.form-control,
.form-select,
.input-group-text,
.accordion-button,
.modal-content,
.card,
.sr-glass-card,
.sr-surface-card {
    border-radius: min(var(--sr-radius), 20px);
}

.btn,
.sr-mobile-nav-link,
.sr-drawer-link,
.sr-site-footer-links a,
.sr-site-footer-social a,
.sr-social-row a {
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover,
.btn:focus-visible,
.sr-site-footer-social a:hover,
.sr-social-row a:hover {
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
}

.sr-glass-card,
.sr-surface-card,
.card,
.accordion-item,
.modal-content,
.sr-page-hero-card,
.sr-site-footer-card,
.sr-player-bar,
.sr-player-sheet {
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.26);
}

.sr-drawer-link,
.sr-mobile-nav-link {
    position: relative;
}

.sr-mobile-nav {
    box-shadow: 0 -10px 28px rgba(0, 0, 0, 0.22);
}

.sr-mobile-nav-link.active::before {
    content: '';
    position: absolute;
    top: 0.2rem;
    left: 50%;
    width: 22px;
    height: 3px;
    border-radius: 999px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, rgba(202, 169, 110, 0.4), rgba(234, 215, 178, 0.9));
}

.sr-mobile-nav-link span {
    line-height: 1.1;
}

.sr-site-footer {
    padding: 0 0 1.25rem;
}

.sr-site-footer-card {
    position: relative;
    overflow: hidden;
}

.sr-site-footer-card::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(255,255,255,0.04), transparent 42%);
}

.sr-site-footer-bottom {
    justify-content: flex-start;
}

.sr-empty-state,
.sr-utility-stack > * {
    scroll-margin-top: calc(var(--sr-topbar-height) + 1rem);
}

@media (min-width: 992px) {
    .sr-page-content {
        padding-top: 1.05rem;
    }

    .sr-site-footer {
        padding-bottom: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    :root {
        --sr-content-gap: 0.9rem;
    }

    .sr-page-hero-card,
    .sr-site-footer-card,
    .sr-glass-card,
    .sr-surface-card,
    .card,
    .modal-content {
        border-radius: 22px;
    }

    .sr-page-content {
        padding-top: 0.75rem;
    }

    .sr-site-footer {
        padding-bottom: 1rem;
    }

    .sr-site-footer-bottom {
        font-size: 0.86rem;
        gap: 0.4rem;
    }
}

@media (max-width: 430px) {
    :root {
        --sr-content-gap: 0.8rem;
    }

    .sr-topbar-inner {
        gap: 0.75rem;
    }

    .sr-topbar-route-chip {
        padding: 0.48rem 0.72rem;
    }

    #srTopbarRouteLabel {
        max-width: 7.5rem;
        font-size: 0.84rem;
    }

    .sr-topbar-route-detail {
        max-width: 7.5rem;
        font-size: 0.64rem;
    }

    .sr-brand {
        gap: 0.7rem;
    }

    .sr-brand-mark {
        width: 42px;
        height: 42px;
    }

    .sr-page-hero-card {
        padding: 1.05rem 0.95rem;
    }

    .sr-page-title {
        font-size: clamp(1.45rem, 6vw, 1.9rem);
    }

    .sr-page-intro {
        font-size: 0.93rem;
        line-height: 1.58;
    }

    .sr-mobile-nav-link {
        font-size: 0.64rem;
    }
}


/* V2.26 touch + accessibility pass */
html {
    scroll-padding-top: calc(var(--sr-topbar-height) + 1rem);
}


.sr-body * {
    -webkit-tap-highlight-color: rgba(202, 169, 110, 0.18);
}

.sr-body a,
.sr-body button,
.sr-body input,
.sr-body select,
.sr-body textarea,
.sr-body [role="button"] {
    touch-action: manipulation;
}

.sr-body :focus-visible {
    outline: 2px solid rgba(202, 169, 110, 0.95);
    outline-offset: 2px;
}

.sr-page-title,
.sr-section-title,
.card-title,
h1,
h2,
h3 {
    scroll-margin-top: calc(var(--sr-topbar-height) + 1rem);
}

.sr-brand-title,
.sr-page-title,
.sr-player-track,
.sr-player-meta {
    overflow-wrap: anywhere;
}

.sr-site-footer a,
.sr-drawer-link,
.sr-mobile-nav-link {
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.18em;
}

@media (hover: none) and (pointer: coarse) {
    .sr-menu-btn:hover,
    .sr-icon-btn:hover,
    .sr-drawer-link:hover,
    .sr-mobile-nav-link:hover {
        transform: none;
    }
}

@media (max-width: 575.98px) {
    .sr-app-shell {
        padding-bottom: calc(var(--sr-player-height) + var(--sr-mobile-nav-height) + 2.5rem + env(safe-area-inset-bottom));
    }

    .sr-page-hero-card {
        padding: 1.2rem 1rem;
    }

    .sr-site-footer-card {
        padding: 1.1rem 1rem;
    }

    .sr-site-footer-bottom {
        row-gap: 0.45rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html:focus-within {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}


/* V2.27 resilience + shell feedback */
.sr-shell-toast-host {
    position: fixed;
    top: max(1rem, env(safe-area-inset-top, 0px) + 0.5rem);
    right: max(1rem, env(safe-area-inset-right, 0px) + 0.5rem);
    z-index: 1095;
    display: grid;
    gap: 0.75rem;
    width: min(22rem, calc(100vw - 1.5rem));
    pointer-events: none;
}

.sr-shell-toast {
    pointer-events: auto;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(10, 12, 16, 0.88);
    box-shadow: 0 1rem 2.25rem rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(18px);
    color: rgba(255, 255, 255, 0.96);
    transform: translateY(-8px);
    opacity: 0;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.sr-shell-toast.is-visible {
    transform: translateY(0);
    opacity: 1;
}

.sr-shell-toast.is-success {
    border-color: rgba(116, 200, 138, 0.34);
}

.sr-shell-toast.is-error {
    border-color: rgba(255, 116, 116, 0.34);
}

.sr-shell-toast.is-warning {
    border-color: rgba(240, 191, 87, 0.34);
}

.sr-shell-toast-icon {
    flex: 0 0 auto;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(223, 192, 125, 0.96);
}

.sr-shell-toast-copy {
    min-width: 0;
    flex: 1 1 auto;
    display: grid;
    gap: 0.2rem;
}

.sr-shell-toast-title {
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.2;
}

.sr-shell-toast-message {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.4;
}

.sr-shell-toast-close {
    flex: 0 0 auto;
    align-self: center;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.95rem;
    line-height: 1;
    padding: 0.15rem;
}

.sr-shell-toast-close:hover,
.sr-shell-toast-close:focus-visible {
    color: rgba(255, 255, 255, 0.98);
}

@media (max-width: 575.98px) {
    .sr-shell-toast-host {
        left: max(0.75rem, env(safe-area-inset-left, 0px) + 0.5rem);
        right: max(0.75rem, env(safe-area-inset-right, 0px) + 0.5rem);
        width: auto;
    }
}


/* V2.29 drawer cleanup */
.sr-offcanvas {
    --bs-offcanvas-width: min(22rem, calc(100vw - 1.2rem));
}

.sr-offcanvas .offcanvas-header {
    padding-top: max(1rem, env(safe-area-inset-top, 0px) + 0.5rem);
}

.sr-offcanvas .offcanvas-body {
    overscroll-behavior: contain;
    padding-bottom: max(1rem, env(safe-area-inset-bottom, 0px) + 0.75rem);
    gap: 0.85rem;
}

.sr-drawer-search .form-control {
    min-width: 0;
}

@media (max-height: 760px) {
    .sr-offcanvas .offcanvas-body {
        gap: 0.65rem;
    }

    .sr-drawer-utility-zone {
        gap: 0.7rem;
        padding-top: 0.75rem;
    }

    .sr-social-row {
        gap: 0.5rem;
    }
}

@media (max-width: 399.98px) {
    .sr-drawer-panel {
        padding: 0.9rem;
    }

    .sr-drawer-search .form-control {
        font-size: 0.94rem;
    }

    .sr-social-row {
        gap: 0.55rem;
    }
}

@media (max-width: 359.98px) {
    .sr-topbar-route {
        display: none;
    }
}


body.sr-video-overlay-open {
    overflow: hidden;
}

.sr-video-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
    padding: clamp(0.75rem, 2vw, 1.5rem);
}

.sr-video-overlay[hidden] {
    display: none !important;
}

.sr-video-overlay-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 3, 6, 0.82);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.sr-video-overlay-dialog {
    position: relative;
    z-index: 1;
    width: min(1220px, calc(100vw - 2rem));
    max-height: calc(100vh - 2rem);
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    overflow: hidden;
    border-radius: 1.5rem;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(9, 11, 17, 0.975);
    box-shadow: 0 1.5rem 4rem rgba(0,0,0,0.52);
}

.sr-video-overlay-header,
.sr-video-overlay-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.125rem;
    background: rgba(10, 10, 14, 0.96);
    border-color: rgba(255,255,255,0.08);
}

.sr-video-overlay-header {
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.sr-video-overlay-header .min-w-0 {
    min-width: 0;
    flex: 1 1 auto;
    padding-right: 0.75rem;
}

.sr-video-overlay-header .h4 {
    line-height: 1.15;
    max-width: min(100%, 52rem);
    overflow-wrap: anywhere;
}

.sr-video-overlay-footer {
    border-top: 1px solid rgba(255,255,255,0.08);
    flex-wrap: wrap;
}

.sr-video-overlay-body {
    min-height: 0;
    overflow: hidden;
    background: #050507;
}

.sr-video-overlay-frame {
    height: min(72vh, calc(100vh - 13rem));
    max-height: calc(100vh - 13rem);
    background: #050507;
}

.sr-video-overlay-frame iframe,
.sr-video-overlay-frame video {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    background: #000;
}

.sr-video-overlay-close {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    min-width: 3rem;
    border-radius: 999px;
    padding: 0;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.96);
    box-shadow: 0 0.4rem 1rem rgba(0,0,0,0.28);
}

.sr-video-overlay-close:hover,
.sr-video-overlay-close:focus-visible {
    background: rgba(202,169,110,0.18);
    border-color: rgba(202,169,110,0.45);
    color: #fff;
    outline: none;
}

@media (max-width: 767.98px) {
    .sr-video-overlay {
        padding: 0.5rem;
    }

    .sr-video-overlay-dialog {
        width: calc(100vw - 1rem);
        max-height: calc(100vh - 1rem);
        border-radius: 1rem;
    }

    .sr-video-overlay-header,
    .sr-video-overlay-footer {
        padding: 0.85rem;
    }

    .sr-video-overlay-header {
        align-items: flex-start;
    }

    .sr-video-overlay-header .h4 {
        font-size: 1.15rem;
        padding-right: 0.25rem;
    }

    .sr-video-overlay-close {
        width: 2.65rem;
        height: 2.65rem;
        min-width: 2.65rem;
    }

    .sr-video-overlay-frame {
        height: min(56vh, calc(100vh - 12.5rem));
        max-height: calc(100vh - 12.5rem);
    }
}


/* V2.39 live QA + microfix pass */
.sr-topbar-route-chip {
    max-width: min(46vw, 24rem);
}

.sr-topbar-route-copy {
    width: 100%;
}

#srTopbarRouteLabel,
.sr-topbar-route-detail {
    width: 100%;
}

.sr-home-track-title,
.sr-home-album-title,
.sr-video-title,
.sr-album-title,
.sr-release-track-title,
.sr-artist-track-title,
.sr-artist-release-title,
.sr-portal-track-title,
.sr-portal-release-title,
.sr-search-result-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sr-track-action-row .btn,
.sr-video-action-row .btn,
.sr-release-action-row .btn,
.sr-release-track-actions .btn,
.sr-home-inline-actions .btn,
.sr-artist-track-actions .btn,
.sr-portal-track-actions .btn,
.sr-portal-release-actions .btn,
.sr-album-action-row .btn,
.sr-artist-profile-actions .btn,
.sr-artist-release-actions .btn,
.sr-search-result-actions .btn {
    min-height: 2.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sr-video-overlay-header .h4 {
    padding-right: 0.5rem;
}

.sr-video-overlay-close {
    margin-left: 0.25rem;
}

@media (max-width: 991.98px) {
    .sr-topbar-route-chip {
        max-width: min(42vw, 20rem);
    }
}

@media (max-width: 767.98px) {
    .sr-topbar-route-chip {
        max-width: min(48vw, 16rem);
    }

    .sr-home-track-title,
    .sr-home-album-title,
    .sr-video-title,
    .sr-album-title,
    .sr-release-track-title,
    .sr-artist-track-title,
    .sr-artist-release-title,
    .sr-portal-track-title,
    .sr-portal-release-title,
    .sr-search-result-title {
        -webkit-line-clamp: 3;
    }
}

/* V2.43 mobile header revert + hide page title only */
@media (max-width: 575.98px) {
    .sr-topbar-route {
        display: none !important;
    }
}


/* V2.44 mobile-first microfix sweep */
@media (max-width: 575.98px) {
    .sr-surface-card .card-body,
    .sr-site-footer-card {
        padding: 1rem;
    }

    .sr-home-hero-card,
    .sr-page-hero-card,
    .sr-release-hero-card,
    .sr-artist-profile-card,
    .sr-video-overlay-card {
        padding: 1rem;
    }

    .input-group-lg > .form-control,
    .input-group-lg > .input-group-text,
    .form-select-lg,
    .btn-lg {
        min-height: 52px;
        font-size: 0.98rem;
    }

    .input-group-lg > .form-control::placeholder,
    .form-control::placeholder {
        font-size: 0.92rem;
    }

    .sr-home-actions,
    .sr-home-inline-actions,
    .sr-track-action-row,
    .sr-video-action-row,
    .sr-release-action-row,
    .sr-release-track-actions,
    .sr-artist-track-actions,
    .sr-portal-track-actions,
    .sr-portal-release-actions,
    .sr-album-action-row,
    .sr-artist-profile-actions,
    .sr-artist-release-actions,
    .sr-search-result-actions {
        gap: 0.55rem;
    }

    .sr-home-actions .btn,
    .sr-home-inline-actions .btn,
    .sr-track-action-row .btn,
    .sr-video-action-row .btn,
    .sr-release-action-row .btn,
    .sr-release-track-actions .btn,
    .sr-artist-track-actions .btn,
    .sr-portal-track-actions .btn,
    .sr-portal-release-actions .btn,
    .sr-album-action-row .btn,
    .sr-artist-profile-actions .btn,
    .sr-artist-release-actions .btn,
    .sr-search-result-actions .btn {
        flex: 1 1 calc(50% - 0.3rem);
        min-width: 0;
        justify-content: center;
    }

    .sr-home-stat-grid,
    .sr-home-album-grid,
    .sr-video-grid,
    .sr-album-grid,
    .sr-artist-release-grid,
    .sr-search-grid,
    .sr-portal-release-grid {
        gap: 0.8rem;
    }

    .sr-mobile-nav {
        padding-bottom: env(safe-area-inset-bottom);
    }
}

@media (max-width: 430px) {
    .input-group-lg > .form-control,
    .input-group-lg > .input-group-text,
    .form-select-lg,
    .btn-lg {
        min-height: 50px;
        font-size: 0.95rem;
    }

    .sr-home-actions .btn,
    .sr-home-inline-actions .btn,
    .sr-track-action-row .btn,
    .sr-video-action-row .btn,
    .sr-release-action-row .btn,
    .sr-release-track-actions .btn,
    .sr-artist-track-actions .btn,
    .sr-portal-track-actions .btn,
    .sr-portal-release-actions .btn,
    .sr-album-action-row .btn,
    .sr-artist-profile-actions .btn,
    .sr-artist-release-actions .btn,
    .sr-search-result-actions .btn {
        flex-basis: 100%;
    }

    .sr-mobile-nav-link {
        font-size: 0.64rem;
    }
}
