/* STL Discover - stylesheet
   -------------------------------------------------------------------------
   Served from assets.stltonesdownloads.com beside stl-discover-<version>.js.
   Both carry the same version number and move together; a change goes up
   under a new filename and the page's tags change to match.

   Part zero is the site header, unchanged, from its HTML block.
   Part one is the stylesheet the inline Discover page carried, unchanged.
   Part two (search for PLATFORM) is everything the platform added. */

/* ── SITE HEADER (unchanged) ── */
/* ── Fonts ── */
@font-face {
    font-family: 'SF Pro STL';
    src: url('https://cdn.shopify.com/s/files/1/1958/7295/files/blinkmacsystemfont-regular.woff2?v=1776780716') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro STL';
    src: url('https://cdn.shopify.com/s/files/1/1958/7295/files/blinkmacsystemfont-bold.woff2?v=1776780464') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/* ── Font inheritance roots ── */
#stl-header,
.stl-mobile-menu,
.stl-side-cart,
.stl-modal-container {
    font-family: 'SF Pro STL', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ── Header shell ── */
#stl-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    height: 80px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
    box-sizing: border-box;
}

#stl-header.stl-header--transparent {
    background-color: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

#stl-header.stl-header--scrolled {
    background-color: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* ── Container ── */
#stl-header .stl-header__container {
    width: 100%;
    max-width: 1560px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    box-sizing: border-box;
}

/* On large screens (external monitors), cap the width so content doesn't stretch too wide */
@media (min-width: 1500px) {
    #stl-header .stl-header__container {
        max-width: 1540px !important;
        padding: 0 40px !important;
    }
}

/* On ultra-large screens, allow header to span full width */
@media (min-width: 1920px) {
    #stl-header .stl-header__container {
        max-width: none !important;
        padding: 0 40px !important;
    }
}

/* ── Logo ── */
#stl-header .stl-header__logo {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    margin-left: 0px;
}

#stl-header .stl-header__logo-img {
    height: 50px;
    width: auto;
    display: block;
}

/* ── Nav container ── */
#stl-header .stl-header__nav-container {
    display: flex;
    align-items: center;
    margin-left: auto;
}

#stl-header .stl-header__nav {
    display: flex;
    align-items: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    margin: auto;
    list-style: none;
    padding: 0;
}

#stl-header .stl-header__nav-item {
    position: relative;
    margin: 0 4px;
    height: 80px;
    display: flex;
    align-items: center;
}

#stl-header .stl-header__nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.1px;
    font-family: 'SF Pro STL', -apple-system, BlinkMacSystemFont, sans-serif;
    transition: color 0.2s ease, background-color 0.2s ease;
    padding: 10px 18px;
    border-radius: 999px;
    display: block;
}

#stl-header .stl-header__nav-link:hover {
    color: #fff;
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.10);
}



/* ── Dropdown base ── */
#stl-header .stl-header__dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 220px;
    background-color: rgba(14, 14, 14, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    padding: 8px 5px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, margin-top 0.3s ease;
    margin-top: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1000;
    box-sizing: border-box;
}

#stl-header .stl-header__nav-item:hover .stl-header__dropdown {
    opacity: 1;
    visibility: visible;
    margin-top: 0;
}

/* Force-close dropdown on scroll (overrides :hover state until pointer leaves & re-enters) */
#stl-header.stl-header--dropdown-suppress .stl-header__nav-item:hover .stl-header__dropdown,
#stl-header.stl-header--dropdown-suppress .stl-header__nav-item:hover .stl-header__dropdown--wide {
    opacity: 0 !important;
    visibility: hidden !important;
    margin-top: 10px !important;
}

/* ── Wide products dropdown ── */
#stl-header .stl-header__dropdown--wide {
    width: 780px;
    position: fixed;
    left: 50%;
    top: 70px;
    transform: translateX(-50%);
    padding: 0;
    overflow: hidden;
}

#stl-header .stl-header__nav-item:hover .stl-header__dropdown--wide {
    opacity: 1;
    visibility: visible;
    margin-top: 0;
    top: 70px;
}

/* ── Dropdown heading ── */
#stl-header .stl-header__dropdown-heading {
    font-family: 'SF Pro STL', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    padding: 20px 28px 16px;
    margin: 0;
    display: block;
}

/* ── Dropdown links (community menu) ── */
#stl-header .stl-header__dropdown-link {
    display: block;
    color: #f6f6f6;
    text-decoration: none;
    font-size: 15px;
    padding: 10px 20px;
    font-family: 'SF Pro STL', -apple-system, BlinkMacSystemFont, sans-serif;
    border-radius: 4px;
    margin: 0 5px;
    transition: background-color 0.2s ease, color 0.2s ease;
    box-sizing: border-box;
}

#stl-header .stl-header__dropdown-link:hover {
    color: #fff;
}

/* ── Products grid ── */
#stl-header .stl-header__products-grid {
    display: flex;
    gap: 20px;
    padding: 0 28px 20px;
}

#stl-header .stl-header__product-card {
    flex: 1;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    transition: transform 0.2s ease;
}

#stl-header .stl-header__product-card:hover {
    transform: translateY(-2px);
}

#stl-header .stl-header__product-image {
    width: 100%;
    max-width: 220px;
    margin-bottom: 12px;
}

#stl-header .stl-header__product-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    border: 1px solid transparent;
    display: block;
    transition: border-color 0.2s ease;
}

#stl-header .stl-header__product-card:hover .stl-header__product-image img {
    border-color: rgba(255, 255, 255, 0.1);
}

#stl-header .stl-header__product-name {
    font-family: 'SF Pro STL', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px;
    display: block;
}

#stl-header .stl-header__product-desc {
    font-family: 'SF Pro STL', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    line-height: 1.4;
    display: block;
}

#stl-header .stl-header__dropdown-footer {
    padding: 16px 28px 20px;
}

#stl-header .stl-header__explore-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 15px;
    letter-spacing: 0.1px;
    font-weight: 500;
    font-family: 'SF Pro STL', -apple-system, BlinkMacSystemFont, sans-serif;
    text-decoration: none;
    border-radius: 999px;
    transition: background-color 0.2s ease;
}

#stl-header .stl-header__explore-btn:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

/* ── Icons area ── */
#stl-header .stl-header__icons {
    display: flex;
    align-items: center;
    margin-left: 20px;
    gap: 0;
}

#stl-header .stl-header__icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: white;
    margin-left: 15px;
    display: flex;
    align-items: center;
    padding: 0;
    position: relative;
}

#stl-header .stl-header__cart-icon {
    height: 24px;
    width: 24px;
    display: block;
    color: #fff;
}

#stl-header .stl-header__cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #fff;
    color: #000;
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    font-family: 'SF Pro STL', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ── Login button ── */
#stl-header .stl-header__login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 15px;
    letter-spacing: 0.1px;
    font-weight: 400;
    font-family: 'SF Pro STL', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: background-color 0.2s ease, border-color 0.2s ease;
    margin-right: 8px;
    white-space: nowrap;
    box-sizing: border-box;
}

#stl-header .stl-header__login-btn:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
}

#stl-header .stl-header__login-btn path {
    fill: #fff;
}

#stl-header .stl-header__login-icon {
    display: none;
}

/* ── Mobile menu ── */
.stl-mobile-menu {
    position: fixed;
    top: 0;
    right: -350px;
    width: 350px;
    height: 100%;
    background-color: #101010;
    z-index: 1000;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    font-family: 'SF Pro STL', -apple-system, BlinkMacSystemFont, sans-serif;
    box-sizing: border-box;
}

.stl-mobile-menu.stl-mobile-menu--active {
    right: 0;
}

.stl-mobile-menu__header {
    display: flex;
    justify-content: flex-end;
    padding: 20px;
}

.stl-mobile-menu__close {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
}

.stl-mobile-menu__nav {
    display: flex;
    flex-direction: column;
    padding: 10px 15px;
    flex-grow: 1;
}

.stl-mobile-menu__link {
    color: #f6f6f6;
    text-decoration: none;
    font-size: 16px;
    padding: 12px 15px;
    margin: 4px 0;
    font-family: 'SF Pro STL', -apple-system, BlinkMacSystemFont, sans-serif;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.2s ease, background-color 0.2s ease;
    box-sizing: border-box;
}

.stl-mobile-menu__link::after {
    content: '›';
    font-size: 20px;
    color: transparent;
    transition: color 0.2s ease;
}

.stl-mobile-menu__link:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
}

.stl-mobile-menu__link:hover::after {
    color: #fff;
}

/* Mobile menu overlay */
.stl-mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

.stl-mobile-overlay.stl-mobile-overlay--active {
    display: block;
}

/* ── Side cart ── */
.stl-side-cart {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100%;
    background-color: #0e0e0e;
    border-left: 1px solid rgba(255, 255, 255, 0.06);
    z-index: 1001;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    font-family: 'SF Pro STL', -apple-system, BlinkMacSystemFont, sans-serif;
    box-sizing: border-box;
}

.stl-side-cart.stl-side-cart--active {
    right: 0;
}

.stl-side-cart__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
}

.stl-side-cart__title {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
    font-family: 'SF Pro STL', -apple-system, BlinkMacSystemFont, sans-serif;
    margin: 0;
    display: block;
}

.stl-side-cart__close {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    cursor: pointer;
    color: #fff;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    height: 40px;
    width: 40px;
    margin-right: -8px;
    transition: background-color 0.2s ease;
}

.stl-side-cart__close:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.stl-side-cart__items {
    flex-grow: 1;
    overflow-y: auto;
    padding: 0 32px;
    /* Thin, dark scrollbar instead of the browser's default white one.
       color-scheme makes any remaining native parts render dark too. */
    color-scheme: dark;
    overscroll-behavior: contain; /* scrolling the list doesn't scroll the page */
}

/* Firefox only. Chrome would otherwise let these standard properties
   override the custom scrollbar below and bring back its arrow buttons. */
@supports not selector(::-webkit-scrollbar) {
    .stl-side-cart__items {
        scrollbar-width: thin;
        scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
    }
}

/* Chrome, Safari, Edge */
.stl-side-cart__items::-webkit-scrollbar {
    width: 8px;
}

.stl-side-cart__items::-webkit-scrollbar-track {
    background: transparent;
}

.stl-side-cart__items::-webkit-scrollbar-button {
    display: none;
    height: 0;
}

.stl-side-cart__items::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    border: 2px solid #0e0e0e; /* inset look against the drawer background */
}

.stl-side-cart__items::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

.stl-side-cart__empty {
    padding: 40px 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 16px;
    font-family: 'SF Pro STL', -apple-system, BlinkMacSystemFont, sans-serif;
}

.stl-side-cart__item {
    display: flex;
    padding: 24px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-sizing: border-box;
}

.stl-side-cart__item-image {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-right: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background-color: #1a1a1a;
    display: block;
}

.stl-side-cart__item-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stl-side-cart__item-title {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #fff;
    margin: 0 0 4px;
    font-family: 'SF Pro STL', -apple-system, BlinkMacSystemFont, sans-serif;
    display: block;
}

.stl-side-cart__item-subtitle {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    line-height: 1.4;
    font-weight: 400;
    font-family: 'SF Pro STL', -apple-system, BlinkMacSystemFont, sans-serif;
    display: block;
}

.stl-side-cart__remove-btn {
    align-self: center;
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.4);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
    padding: 0;
    transition: color 0.2s ease;
}

.stl-side-cart__remove-btn:hover {
    color: #fff;
}

/* Removing state: hide the trash icon, disable interaction, show spinner */
.stl-side-cart__remove-btn.stl-is-removing {
    pointer-events: none;
    cursor: default;
    color: rgba(255, 255, 255, 0.4);
}

.stl-side-cart__remove-btn.stl-is-removing svg {
    display: none;
}

.stl-side-cart__remove-btn.stl-is-removing::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-top-color: #fff;
    border-radius: 50%;
    animation: stl-spin 0.6s linear infinite;
}

/* Dim the whole row while its item is being removed */
.stl-side-cart__item.stl-is-removing {
    opacity: 0.5;
    transition: opacity 0.2s ease;
}

@keyframes stl-spin {
    to {
        transform: rotate(360deg);
    }
}

.stl-side-cart__summary {
    padding: 24px 32px 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background-color: #0e0e0e;
    box-sizing: border-box;
}

.stl-side-cart__subtotal-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-top: 12px;
}

.stl-side-cart__subtotal-label {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'SF Pro STL', -apple-system, BlinkMacSystemFont, sans-serif;
}

.stl-side-cart__subtotal-value {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
    font-family: 'SF Pro STL', -apple-system, BlinkMacSystemFont, sans-serif;
}

.stl-side-cart__actions {
    display: flex;
    flex-direction: column;
    margin-top: 8px;
}

.stl-side-cart__checkout-btn {
    background-color: #fff;
    color: #000;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.02em;
    font-family: 'SF Pro STL', -apple-system, BlinkMacSystemFont, sans-serif;
    padding: 16px 12px;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.15s ease, transform 0.15s ease;
    width: 100%;
}

.stl-side-cart__checkout-btn:hover {
    background-color: rgba(255, 255, 255, 0.88);
}

.stl-side-cart__checkout-btn:active {
    background-color: rgba(255, 255, 255, 0.75);
    transform: scale(0.98);
}

/* Cart overlay */
.stl-cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
}

.stl-cart-overlay.stl-cart-overlay--active {
    display: block;
}

/* ── Modals ── */
.stl-modal-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.stl-modal-container.stl-modal-container--active {
    opacity: 1;
    visibility: visible;
}

.stl-modal {
    width: 450px;
    max-width: 85%;
    background-color: #000;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transform: scale(0.95);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, visibility 0.4s ease;
    position: absolute;
    text-align: center;
    box-sizing: border-box;
}

.stl-modal.stl-modal--active {
    transform: scale(1);
    opacity: 1;
    visibility: visible;
}

.stl-modal__header {
    display: flex;
    justify-content: flex-end;
    padding: 16px;
}

.stl-modal__close {
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: #86868b;
    cursor: pointer;
    font-family: 'SF Pro STL', -apple-system, BlinkMacSystemFont, sans-serif;
    transition: color 0.2s ease;
    padding: 0;
}

.stl-modal__close:hover {
    color: #f5f5f7;
}

.stl-modal__body {
    display: flex;
    flex-direction: column;
    padding: 30px 40px 50px;
    text-align: center;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.stl-modal__info {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.stl-modal__title {
    font-size: 48px;
    font-weight: 600;
    color: #f5f5f7;
    font-family: 'SF Pro STL', -apple-system, BlinkMacSystemFont, sans-serif;
    letter-spacing: -0.5px;
    margin: 0 0 15px;
    display: block;
}

.stl-modal__tagline {
    font-size: 28px;
    color: #f5f5f7;
    font-weight: 600;
    font-family: 'SF Pro STL', -apple-system, BlinkMacSystemFont, sans-serif;
    margin: 0 0 30px;
    line-height: 1.0;
    display: block;
}

.stl-modal__desc {
    font-size: 17px;
    line-height: 1.5;
    color: #86868b;
    font-family: 'SF Pro STL', -apple-system, BlinkMacSystemFont, sans-serif;
    margin: 0 0 40px;
    max-width: 500px;
    display: block;
}

.stl-modal__cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.stl-modal__try-btn {
    display: inline-block;
    background-color: #ffc200;
    color: black;
    border-radius: 980px;
    padding: 12px 28px;
    font-size: 17px;
    font-weight: 400;
    font-family: 'SF Pro STL', -apple-system, BlinkMacSystemFont, sans-serif;
    text-decoration: none;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.stl-modal__try-btn:hover {
    background-color: #ffc900;
    box-shadow: 0 0 3px rgba(0, 125, 250, 0.6);
}

.stl-modal__learn-link {
    color: #ececec;
    font-size: 17px;
    font-family: 'SF Pro STL', -apple-system, BlinkMacSystemFont, sans-serif;
    text-decoration: none;
    transition: color 0.2s ease;
}

.stl-modal__learn-link:hover {
    color: #fff;
    text-decoration: underline;
}

/* ── Page blur (scoped to a stl- class instead of bare body::before) ── */
.stl-blur-bg::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 998;
    pointer-events: none;
    opacity: 1;
    transition: backdrop-filter 0.4s ease, opacity 0.4s ease;
}

/* ── Responsive ── */
@media (max-width: 992px) {
    #stl-header .stl-header__nav {
        display: none;
    }

    #stl-header {
        height: 70px;
    }

    #stl-header .stl-header__container {
        padding: 0 8px;
    }

    #stl-header .stl-header__logo-img {
        height: calc(70px * 0.60);
    }

    #stl-header .stl-header__login-btn {
        border: none;
        padding: 0;
        margin-right: 0;
        margin-left: 4px;
        background: transparent;
        color: #fff;
    }

    #stl-header .stl-header__login-btn:hover {
        background: transparent;
        color: #fff;
    }

    #stl-header .stl-header__login-icon {
        display: block;
        width: 24px;
        height: 24px;
        position: relative;
        top: 1px;
        left: 4px;
        color: #fff;
    }

    #stl-header .stl-header__login-icon path {
        fill: currentColor;
    }

    #stl-account-btn-text {
        display: none;
    }

    .stl-modal {
        width: 90%;
    }

    .stl-modal__body {
        padding: 0 24px 40px;
    }

    .stl-modal__title {
        font-size: 32px;
    }

    .stl-modal__tagline {
        font-size: 21px;
    }

    .stl-side-cart {
        width: 100%;
        right: -100%;
    }

    .stl-mobile-menu {
        width: 100%;
        right: -100%;
    }

    #stl-header .stl-header__dropdown--wide {
        width: 100%;
        max-width: 900px;
    }

    #stl-header .stl-header__products-grid {
        flex-direction: column;
        gap: 16px;
    }

    #stl-header .stl-header__product-card {
        flex-direction: row;
        align-items: flex-start;
    }

    #stl-header .stl-header__product-image {
        width: 100px;
        flex-shrink: 0;
        margin-right: 16px;
        margin-bottom: 0;
    }
}

 @font-face {
     font-family: 'STL-SF';
     src: url('https://cdn.shopify.com/s/files/1/1958/7295/files/blinkmacsystemfont-bold.woff2?v=1776780464') format('woff2');
     font-weight: 700;
     font-display: swap;
 }

 @font-face {
     font-family: 'STL-SF';
     src: url('https://cdn.shopify.com/s/files/1/1958/7295/files/BlinkMacSystemFont-Semibold.woff2?v=1779123415') format('woff2');
     font-weight: 600;
     font-display: swap;
 }

 @font-face {
     font-family: 'STL-SF';
     src: url('https://cdn.shopify.com/s/files/1/1958/7295/files/blinkmacsystemfont-regular.woff2?v=1776780716') format('woff2');
     font-weight: 400;
     font-display: swap;
 }

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

 html {
     scroll-behavior: smooth;
 }

 /* ── ROOT ─────────────────────────────────────── */
 #stl-discover {
     background: #000;
     color: #fff;
     font-family: 'STL-SF', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
     -webkit-font-smoothing: antialiased;
     min-height: 100vh;
     padding-top: 100px;
     /* Contain the horizontal profile slide-in. We deliberately use
  `overflow-x: hidden` (NOT `clip`): hidden makes the browser compute
  overflow-y as `auto`, which turns #stl-discover into a vertical scroll
  container. That container is what keeps a long, absolutely-positioned
  artist profile CLIPPED INSIDE the widget instead of overflowing down
  over the Shopify footer beneath it. The only downside was a stray light
  scrollbar on long profiles — so we keep the clipping and just hide that
  scrollbar (rules below). The area stays scrollable via wheel/trackpad/
  touch, and the page's own scrollbar is unaffected. */
     overflow-x: hidden;
     scrollbar-width: none;
     /* Firefox */
     -ms-overflow-style: none;
     /* old Edge / IE */
     position: relative;
 }

 #stl-discover::-webkit-scrollbar {
     width: 0;
     height: 0;
     display: none;
 }

 /* WebKit / Blink */

 /* ── STL ARTISTS LOADING OVERLAY ──────────────── */
 /* Branded loader shown over the Discover widget until the first data load
completes. The backdrop is scoped to #stl-discover (absolute) so it covers
the widget, not the surrounding Shopify header — while the wordmark + bar
are pinned to the centre of the viewport (the widget can be far taller
than one screen, so centring within the backdrop would sit too low). */
 #stl-d-loading {
     position: absolute;
     inset: 0;
     background: #000;
     z-index: 9999;
     transition: opacity 0.4s ease;
 }

 #stl-d-loading.stl-d-loading-hidden {
     opacity: 0;
     pointer-events: none;
 }

 .stl-d-loading-inner {
     position: fixed;
     top: 50%;
     left: 50%;
     transform: translate(-50%, -50%);
     z-index: 10000;
     display: flex;
     flex-direction: column;
     align-items: center;
     gap: 14px;
 }

 .stl-d-loading-wordmark {
     font-size: 18px;
     font-weight: 700;
     letter-spacing: -0.02em;
     color: #fff;
 }

 .stl-d-loading-bar {
     width: 120px;
     height: 2px;
     background: #1a1a1a;
     border-radius: 999px;
     overflow: hidden;
 }

 .stl-d-loading-bar-fill {
     height: 100%;
     width: 40%;
     background: linear-gradient(90deg, #ffc200, #ff9500);
     border-radius: 999px;
     animation: stl-d-loadpulse 1.2s ease-in-out infinite;
 }

 @keyframes stl-d-loadpulse {
     0% {
         transform: translateX(-100%);
     }

     100% {
         transform: translateX(350%);
     }
 }

 /* ── STICKY NAV BAR ───────────────────────────── */
 .stl-d-switcher-bar {
     position: relative;
     z-index: 200;
     background: rgba(0, 0, 0, 0.92);
     backdrop-filter: blur(16px);
     -webkit-backdrop-filter: blur(16px);
     border-bottom: 1px solid rgba(255, 255, 255, 0.07);
     height: 72px;
 }

 .stl-d-switcher-inner {
     max-width: 1540px;
     margin: 0 auto;
     padding: 0 40px;
     display: flex;
     align-items: center;
     gap: 20px;
     height: 100%;
 }

 /* Back button — hidden by default, shown when profile is open */
 .stl-d-back-btn {
     display: inline-flex;
     align-items: center;
     gap: 6px;
     background: rgba(255, 255, 255, 0.07);
     border: 1px solid transparent;
     color: rgba(255, 255, 255, 0.8);
     font-family: inherit;
     font-size: 13px;
     font-weight: 600;
     padding: 6px 14px 6px 10px;
     border-radius: 999px;
     cursor: pointer;
     letter-spacing: -0.01em;
     transition: background 0.15s, color 0.15s;
     white-space: nowrap;
     flex-shrink: 0;
 }

 .stl-d-back-btn:hover {
     background: rgba(255, 255, 255, 0.12);
     color: #fff;
 }

 .stl-d-back-btn svg {
     width: 14px;
     height: 14px;
     flex-shrink: 0;
 }

 .stl-d-back-btn.visible {
     display: flex;
 }

 .stl-d-wordmark {
     font-size: 30px;
     font-weight: 700;
     letter-spacing: -0.035em;
     color: #fff;
     white-space: nowrap;
     flex-shrink: 0;
     text-decoration: none;
     cursor: pointer;
 }

 /* Search in nav bar */
 .stl-d-nav-search-wrap {
     flex: 1;
     max-width: 320px;
     position: relative;
     margin-left: auto;
 }

 /* Hide the inactive panel's search */
 .stl-d-nav-search-wrap.hidden {
     display: none;
 }

 /* Breadcrumb shown in nav when profile open */
 .stl-d-breadcrumb {
     display: none;
     align-items: center;
     gap: 6px;
     font-size: 13px;
     color: rgba(255, 255, 255, 0.4);
     overflow: hidden;
 }

 .stl-d-breadcrumb.visible {
     display: flex;
 }

 .stl-d-breadcrumb-sep {
     flex-shrink: 0;
 }

 .stl-d-breadcrumb-name {
     font-weight: 700;
     color: #fff;
     white-space: nowrap;
     overflow: hidden;
     text-overflow: ellipsis;
 }

 .stl-d-tabs {
     display: flex;
     gap: 2px;
     align-items: center;
     background: rgba(255, 255, 255, 0.06);
     border-radius: 999px;
     padding: 4px;
 }

 .stl-d-tab {
     display: flex;
     align-items: center;
     gap: 8px;
     background: transparent;
     border: 1px solid transparent;
     color: rgba(255, 255, 255, 0.55);
     font-family: inherit;
     font-size: 13px;
     font-weight: 600;
     padding: 9px 18px;
     border-radius: 999px;
     cursor: pointer;
     letter-spacing: -0.01em;
     transition: background 0.15s, color 0.15s;
     white-space: nowrap;
 }

 .stl-d-tab:hover {
     color: rgba(255, 255, 255, 0.8);
     background: rgba(255, 255, 255, 0.06);
 }

 .stl-d-tab.active {
     background: rgba(255, 255, 255, 0.12);
     border-color: transparent;
     color: #fff;
 }

 .stl-d-tab-icon {
     display: none;
 }

 /* ── DISCOVER PANELS ──────────────────────────── */
 .stl-d-discover-wrap {
     /* The discover panels live here; slides left when profile opens */
     transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1),
         opacity 0.25s ease;
     will-change: transform, opacity;
 }

 .stl-d-discover-wrap.pushed {
     transform: translateX(-60px);
     opacity: 0;
     pointer-events: none;
 }

 .stl-d-panel {
     display: none;
 }

 .stl-d-panel.active {
     display: block;
 }

 .stl-d-inner {
     max-width: 1540px;
     margin: 0 auto;
     padding: 40px 40px 80px;
 }

 /* Panel header */
 .stl-d-panel-header {
     display: flex;
     justify-content: space-between;
     align-items: flex-start;
     margin-bottom: 24px;
     gap: 16px;
 }

 .stl-d-panel-header-text h2 {
     font-size: 26px;
     font-weight: 700;
     letter-spacing: -0.03em;
     color: #fff;
     line-height: 1.1;
     margin: 0;
 }

 .stl-d-panel-header-text p {
     font-size: 13px;
     color: rgba(255, 255, 255, 0.45);
     margin: 3px 0 0;
     letter-spacing: -0.01em;
 }

 .stl-d-search-wrapper {
     flex: 1;
     min-width: 200px;
     max-width: 280px;
     position: relative;
 }

 .stl-d-search-input {
     width: 100%;
     background: #0e0e0e;
     color: #fff;
     border: 1px solid rgba(255, 255, 255, 0.08);
     padding: 10px 38px 10px 14px;
     border-radius: 999px;
     font-family: inherit;
     font-size: 13px;
     line-height: 1.4;
     transition: border-color 0.2s, background 0.2s;
     outline: none;
 }

 .stl-d-search-input:focus {
     border-color: rgba(255, 255, 255, 0.2);
     background: #111;
 }

 .stl-d-search-input::placeholder {
     color: rgba(255, 255, 255, 0.3);
 }

 .stl-d-search-icon {
     position: absolute;
     right: 14px;
     top: 50%;
     transform: translateY(-50%);
     width: 16px;
     height: 16px;
     pointer-events: none;
     color: rgba(255, 255, 255, 0.3);
 }

 .stl-d-search-icon::before {
     content: '';
     position: absolute;
     width: 11px;
     height: 11px;
     border: 2px solid currentColor;
     border-radius: 50%;
     top: 0;
     left: 0;
 }

 .stl-d-search-icon::after {
     content: '';
     position: absolute;
     width: 2px;
     height: 6px;
     background: currentColor;
     transform: rotate(-45deg);
     top: 9px;
     left: 9px;
 }

 .stl-d-search-clear {
     display: none;
     position: absolute;
     right: 36px;
     top: 50%;
     transform: translateY(-50%);
     width: 22px;
     height: 22px;
     border: none;
     background: transparent;
     cursor: pointer;
     padding: 0;
     align-items: center;
     justify-content: center;
 }

 .stl-d-search-clear svg {
     width: 100%;
     height: 100%;
     display: block;
 }

 .stl-d-search-clear circle {
     transition: fill 0.15s;
 }

 .stl-d-search-clear:hover circle {
     fill: #4a4a4a;
 }

 /* Popular grid */
 .stl-d-popular-grid {
     display: grid;
     grid-template-columns: repeat(8, 1fr);
     gap: 12px;
     margin-bottom: 40px;
 }

 /* Sections */
 .stl-d-sections {
     display: flex;
     flex-direction: column;
     gap: 48px;
     margin-top: 32px;
 }

 /* AmpHub has no Popular header above its sections, so drop the top margin to
align its first section with where ToneHub/ControlHub content begins. */
 #ah-sections {
     margin-top: 0;
 }

 .stl-d-section {
     margin-bottom: 0;
 }

 .stl-d-section-header {
     display: flex;
     justify-content: space-between;
     align-items: flex-start;
     margin-bottom: 24px;
     gap: 12px;
 }

 .stl-d-section-header>div {
     flex: 1;
     min-width: 0;
 }

 .stl-d-section-title {
     font-size: 26px;
     font-weight: 700;
     letter-spacing: -0.03em;
     color: #fff;
     line-height: 1.1;
     margin: 0;
 }

 .stl-d-section-sub {
     font-size: 13px;
     color: rgba(255, 255, 255, 0.45);
     margin: 3px 0 0;
     letter-spacing: -0.01em;
 }

 .stl-d-show-all {
     background: rgba(255, 255, 255, 0.07);
     border: none;
     color: rgba(255, 255, 255, 0.6);
     cursor: pointer;
     font-family: inherit;
     font-size: 11px;
     font-weight: 600;
     padding: 5px 12px;
     margin: 0;
     border-radius: 999px;
     white-space: nowrap;
     flex-shrink: 0;
     transition: background 0.15s, color 0.15s;
 }

 .stl-d-show-all:hover {
     background: rgba(255, 255, 255, 0.12);
     color: #fff;
 }

 /* ── CARDS ────────────────────────────────────── */
 .expansion-grid-card {
     background: #0e0e0e;
     border-radius: 14px;
     overflow: hidden;
     cursor: pointer;
     transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
     position: relative;
     border: 1px solid rgba(255, 255, 255, 0.06);
     display: block;
     width: 100%;
 }

 .expansion-grid-card:hover {
     background: #111;
     transform: translateY(-2px);
     box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
 }

 .expansion-card-image {
     width: calc(100% - 14px);
     aspect-ratio: 1/1;
     overflow: hidden;
     border-radius: 7px;
     margin: 7px;
     background: #1a1a1a;
     display: block;
 }

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

 .expansion-card-image img[src*="Account_Icon"] {
     object-fit: contain;
     padding: 30%;
     background: #000;
 }

 .expansion-card-content {
     padding: 10px 12px 12px;
     display: flex;
     flex-direction: column;
     gap: 6px;
     min-height: 88px;
 }

 .expansion-card-title {
     font-size: 16px;
     font-weight: 700;
     letter-spacing: -0.02em;
     color: #fff;
     line-height: 1.2;
 }

 .expansion-card-subtitle {
     font-size: 11px;
     color: rgba(255, 255, 255, 0.45);
     line-height: 1.3;
     display: -webkit-box;
     -webkit-line-clamp: 2;
     -webkit-box-orient: vertical;
     overflow: hidden;
     padding-bottom: 8px;
     border-bottom: 1px solid rgba(255, 255, 255, 0.06);
     min-height: 28px;
     margin-bottom: 2px;
 }

 .expansion-card-footer {
     display: flex;
     align-items: center;
     justify-content: space-between;
     margin-top: auto;
 }

 .expansion-card-presets {
     font-size: 10px;
     color: rgba(255, 255, 255, 0.35);
 }

 /* ── ARTIST SPOTLIGHT + SEARCH-RESULT CARDS ──
These rows show artist bios, which are far longer than the short subtitles
elsewhere. The shared subtitle rule puts padding-bottom + a border on the
same element it clamps, which lets a partial extra line bleed into the
padding before overflow clips it (the "cut off mid-word" look). For these
rows we give the card more vertical room, allow 3 lines, and move the
divider off the clamped box so the clamp clips cleanly. */
 #th-trending .expansion-card-content,
 #ch-trending .expansion-card-content,
 #ah-trending .expansion-card-content,
 .stl-d-search-results-section .expansion-card-content {
     min-height: 116px;
 }

 #th-trending .expansion-card-subtitle,
 #ch-trending .expansion-card-subtitle,
 #ah-trending .expansion-card-subtitle,
 .stl-d-search-results-section .expansion-card-subtitle {
     -webkit-line-clamp: 3;
     padding-bottom: 0;
     border-bottom: none;
     min-height: 0;
     margin-bottom: 10px;
 }

 .expansion-download-btn {
     width: 26px;
     height: 26px;
     background: rgba(255, 255, 255, 0.1);
     border: none;
     border-radius: 50%;
     cursor: pointer;
     display: flex;
     align-items: center;
     justify-content: center;
     transition: background 0.15s;
     flex-shrink: 0;
 }

 .expansion-download-btn:hover {
     background: rgba(255, 255, 255, 0.2);
 }


 /* List items */
 .stl-d-list {
     display: grid;
     grid-template-columns: repeat(8, 1fr);
     gap: 12px;
     margin-bottom: 0;
 }

 .stl-d-list-item {
     display: block;
     background: #0e0e0e;
     border-radius: 14px;
     cursor: pointer;
     transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
     border: 1px solid rgba(255, 255, 255, 0.06);
     overflow: hidden;
     position: relative;
 }

 .stl-d-list-item:hover {
     background: #111;
     transform: translateY(-2px);
     box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
 }

 .stl-d-list-avatar {
     width: calc(100% - 14px);
     aspect-ratio: 1/1;
     border-radius: 7px;
     object-fit: cover;
     margin: 7px;
     display: block;
 }

 .stl-d-list-info {
     padding: 4px 12px 12px;
     display: flex;
     flex-direction: column;
     gap: 4px;
 }

 .stl-d-list-name {
     font-size: 13px;
     font-weight: 700;
     letter-spacing: -0.02em;
     color: #fff;
     line-height: 1.2;
 }

 .stl-d-list-sub {
     font-size: 11px;
     color: rgba(255, 255, 255, 0.45);
     line-height: 1.3;
     display: -webkit-box;
     -webkit-line-clamp: 2;
     -webkit-box-orient: vertical;
     overflow: hidden;
     padding-bottom: 8px;
     border-bottom: 1px solid rgba(255, 255, 255, 0.06);
     min-height: 28px;
 }

 .stl-d-list-count {
     font-size: 10px;
     color: rgba(255, 255, 255, 0.35);
     margin-top: 2px;
 }

 .stl-d-list-actions {
     display: none;
 }

 .stl-d-action-btn {
     display: none;
 }

 /* Trend items */
 .stl-d-trend-item {
     display: block;
     background: #0e0e0e;
     border-radius: 14px;
     cursor: pointer;
     transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
     border: 1px solid rgba(255, 255, 255, 0.06);
     overflow: hidden;
     position: relative;
 }

 .stl-d-trend-item:hover {
     background: #111;
     transform: translateY(-2px);
     box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
 }

 .stl-d-trend-icon {
     width: calc(100% - 14px);
     aspect-ratio: 1/1;
     border-radius: 7px;
     overflow: hidden;
     margin: 7px;
     background: #1a1a1a;
     display: block;
 }

 .stl-d-trend-icon img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     display: block;
 }

 .stl-d-trend-icon img[src*="Account_Icon"] {
     object-fit: contain;
     padding: 12px;
     background: #000;
 }

 .stl-d-trend-info {
     padding: 4px 12px 12px;
     display: flex;
     flex-direction: column;
     gap: 4px;
 }

 .stl-d-trend-title {
     font-size: 13px;
     font-weight: 700;
     letter-spacing: -0.02em;
     color: #fff;
     line-height: 1.2;
     margin-bottom: 1px;
 }

 .stl-d-trend-creator {
     font-size: 11px;
     color: rgba(255, 255, 255, 0.45);
     line-height: 1.3;
     display: -webkit-box;
     -webkit-line-clamp: 1;
     -webkit-box-orient: vertical;
     overflow: hidden;
     padding-bottom: 8px;
     border-bottom: 1px solid rgba(255, 255, 255, 0.06);
     cursor: pointer;
     transition: color 0.15s;
 }

 .stl-d-trend-creator:hover {
     color: #EDF11E;
 }

 .stl-d-trend-cat {
     font-size: 10px;
     color: rgba(255, 255, 255, 0.28);
     font-style: italic;
     overflow: hidden;
     text-overflow: ellipsis;
     white-space: nowrap;
     margin-top: 2px;
 }

 .stl-d-trend-actions {
     display: none;
 }

 /* Badges */
 .badge-new,
 .badge-coming-soon {
     position: absolute;
     top: 10px;
     right: 10px;
     padding: 3px 8px;
     border-radius: 10px;
     font-size: 9px;
     font-weight: 700;
     text-transform: uppercase;
     white-space: nowrap;
     z-index: 3;
     line-height: 1;
 }

 .badge-new {
     background: #EDF11E;
     color: #000;
     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
 }

 .badge-coming-soon {
     background: #ffc200;
     color: #000;
 }

 /* Skeletons */
 .stl-d-skeleton {
     background: linear-gradient(90deg, #1a1a1a 25%, #252525 50%, #1a1a1a 75%);
     background-size: 200% 100%;
     animation: stl-shimmer 1.5s infinite;
     border-radius: 14px;
     aspect-ratio: 1/1;
 }

 .stl-d-skeleton-row {
     height: 200px;
     border-radius: 14px;
     margin-bottom: 0;
     background: linear-gradient(90deg, #1a1a1a 25%, #252525 50%, #1a1a1a 75%);
     background-size: 200% 100%;
     animation: stl-shimmer 1.5s infinite;
 }

 @keyframes stl-shimmer {
     0% {
         background-position: 200% 0;
     }

     100% {
         background-position: -200% 0;
     }
 }

 /* Show-all full grid */
 .stl-d-full-grid {
     display: grid;
     grid-template-columns: repeat(6, 1fr);
     gap: 14px;
 }

 .stl-d-empty {
     text-align: center;
     padding: 40px 20px;
     color: rgba(255, 255, 255, 0.4);
     font-size: 13px;
 }

 /* ── ARTIST PROFILE PANEL ─────────────────────── */
 .stl-d-profile-panel {
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     min-height: 100%;
     background: #000;
     padding-top: 172px;
     transform: translateX(100%);
     transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
     will-change: transform;
     z-index: 10;
 }

 .stl-d-profile-panel.visible {
     transform: translateX(0);
 }

 /* Once the slide-in finishes, the panel "docks" into normal flow so the
page has ONE continuous scroll (no hidden inner scroll area) and the
footer sits right after the profile, however long it is. */
 .stl-d-profile-panel.docked {
     position: relative;
     transform: none;
     padding-top: 0 !important;
     min-height: 0;
 }

 /* Profile inner content */
 .stl-d-profile-backbar {
     max-width: 1540px;
     margin: 0 auto;
     padding: 24px 40px 0;
 }

 .stl-d-profile-inner {
     max-width: 1540px;
     margin: 0 auto;
     padding: 24px 40px 80px;
 }

 /* Profile header */
 .stl-d-profile-header {
     display: flex;
     align-items: flex-start;
     gap: 24px;
     padding: 0 0 28px;
 }

 .stl-d-profile-avatar {
     width: 180px;
     height: 180px;
     border-radius: 50%;
     object-fit: cover;
     flex-shrink: 0;
     background: #1a1a1a;
     box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
 }

 /* No-avatar fallback: render the account glyph in white (full opacity),
matching the Discover home-page cards. */
 .stl-d-profile-avatar.stl-d-profile-avatar-default {
     background: #000;
     display: flex;
     align-items: center;
     justify-content: center;
     overflow: hidden;
 }

 .stl-d-profile-avatar.stl-d-profile-avatar-default img {
     width: 42%;
     height: 42%;
     object-fit: contain;
     display: block;
     /* full opacity so the glyph reads white, like the home page */
 }

 .stl-d-profile-avatar-wrap {
     position: relative;
     width: 180px;
     height: 180px;
     flex-shrink: 0;
 }

 .stl-d-profile-avatar-wrap .stl-d-profile-avatar {
     width: 100%;
     height: 100%;
 }

 .stl-d-profile-meta {
     flex: 1;
     min-width: 0;
 }

 .stl-d-profile-name {
     font-size: 28px;
     font-weight: 700;
     letter-spacing: -0.03em;
     color: #fff;
     line-height: 1.1;
     margin-bottom: 8px;
 }

 .stl-d-profile-bio {
     font-size: 14px;
     color: rgba(255, 255, 255, 0.55);
     line-height: 1.55;
     letter-spacing: -0.01em;
     max-width: 600px;
     margin-bottom: 16px;
 }

 .stl-d-profile-bio a {
     color: rgba(255, 255, 255, 0.75);
     text-decoration: underline;
     text-underline-offset: 2px;
 }

 .stl-d-profile-stats {
     display: flex;
     align-items: center;
 }

 .stl-d-stat-pill {
     background: rgba(255, 255, 255, 0.05);
     border: 1px solid rgba(255, 255, 255, 0.1);
     color: rgba(255, 255, 255, 0.75);
     font-family: inherit;
     font-size: 13px;
     font-weight: 500;
     padding: 7px 18px;
     letter-spacing: -0.01em;
     white-space: nowrap;
 }

 .stl-d-stat-pill:first-child {
     border-radius: 999px 0 0 999px;
     border-right: none;
 }

 .stl-d-stat-pill:last-child {
     border-radius: 0 999px 999px 0;
 }

 .stl-d-stat-pill:only-child {
     border-radius: 999px;
     border-right: 1px solid rgba(255, 255, 255, 0.1);
 }

 .stl-d-stat-pill strong {
     color: #fff;
     font-weight: 700;
 }

 /* Filter tabs */
 .stl-d-filter-bar {
     display: flex;
     align-items: center;
     justify-content: space-between;
     gap: 8px;
     margin-top: 32px;
     margin-bottom: 20px;
     flex-wrap: wrap;
 }

 .stl-d-filter-tabs {
     display: flex;
     gap: 6px;
     flex-wrap: wrap;
     align-items: center;
 }

 .stl-d-filter-tab {
     background: rgba(255, 255, 255, 0.05);
     border: 1px solid rgba(255, 255, 255, 0.1);
     color: rgba(255, 255, 255, 0.6);
     font-family: inherit;
     font-size: 12px;
     font-weight: 500;
     padding: 0 14px;
     height: 32px;
     line-height: 32px;
     border-radius: 999px;
     cursor: pointer;
     letter-spacing: -0.01em;
     transition: background 0.15s, color 0.15s, border-color 0.15s;
     white-space: nowrap;
 }

 .stl-d-filter-tab:hover {
     background: rgba(255, 255, 255, 0.09);
     color: #fff;
 }

 .stl-d-filter-tab.active {
     background: #fff;
     border-color: #fff;
     color: #000;
     font-weight: 700;
 }

 /* Preset grid (profile) */
 .stl-d-preset-grid {
     display: grid;
     grid-template-columns: repeat(3, 1fr);
     gap: 12px;
     margin-bottom: 32px;
 }

 .stl-d-preset-card {
     background: #0e0e0e;
     border: 1px solid rgba(255, 255, 255, 0.06);
     border-radius: 16px;
     display: flex;
     align-items: center;
     gap: 14px;
     padding: 16px;
     min-height: 96px;
     transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
     cursor: pointer;
 }

 .stl-d-preset-card:hover {
     background: #111;
     transform: translateY(-2px);
     box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
 }

 .stl-d-preset-thumb {
     width: 68px;
     height: 68px;
     border-radius: 10px;
     object-fit: cover;
     flex-shrink: 0;
     background: #1a1a1a;
 }

 .stl-d-thumb-empty {
     display: flex;
     align-items: center;
     justify-content: center;
     background: #000 !important;
     object-fit: unset;
 }

 .stl-d-preset-thumb.stl-d-avatar-default {
     object-fit: contain;
     padding: 16px;
     background: #000;
 }

 .stl-d-preset-info {
     flex: 1;
     min-width: 0;
 }

 .stl-d-preset-name {
     font-size: 16px;
     font-weight: 700;
     letter-spacing: -0.02em;
     color: #fff;
     white-space: nowrap;
     overflow: hidden;
     text-overflow: ellipsis;
     line-height: 1.2;
     margin-bottom: 4px;
 }

 .stl-d-preset-type {
     font-size: 12px;
     color: rgba(255, 255, 255, 0.4);
     letter-spacing: -0.01em;
 }

 .stl-d-preset-count {
     font-size: 12px;
     color: rgba(255, 255, 255, 0.3);
     letter-spacing: -0.01em;
     margin-top: 3px;
 }

 .stl-d-preset-actions {
     display: flex;
     flex-direction: column;
     align-items: center;
     gap: 4px;
     flex-shrink: 0;
 }

 .stl-d-preset-dl-btn {
     width: 36px;
     height: 36px;
     border-radius: 50%;
     background: rgba(255, 255, 255, 0.08);
     border: none;
     cursor: pointer;
     display: flex;
     align-items: center;
     justify-content: center;
     transition: background 0.15s;
 }

 .stl-d-preset-dl-btn:hover {
     background: rgba(255, 255, 255, 0.15);
 }

 .stl-d-preset-dl-btn svg {
     width: 16px;
     height: 16px;
     stroke: #fff;
     stroke-width: 2;
 }

 .stl-d-preset-dl-count {
     font-size: 12px;
     font-weight: 600;
     color: rgba(255, 255, 255, 0.4);
     text-align: center;
     min-width: 32px;
 }

 /* ── PRESET LIST (profile — 3-up grid; an expanded pack spans full width) ── */
 .stl-d-preset-list {
     display: grid;
     grid-template-columns: repeat(3, minmax(0, 1fr));
     gap: 12px;
     margin-bottom: 32px;
     align-items: stretch;
 }

 /* Let cards shrink below their text's natural width so long names /
equipment lines ellipsize instead of stretching their column. */
 .stl-d-preset-list>* {
     min-width: 0;
 }

 .stl-d-preset-pack.expanded {
     grid-column: 1 / -1;
 }

 /* The pack wrapper stretches with its grid cell; the visible card
inside grows to fill it so pack and preset cards match heights. */
 .stl-d-preset-pack {
     display: flex;
     flex-direction: column;
 }

 .stl-d-preset-pack>.stl-d-preset-row {
     flex: 1 1 auto;
 }

 .stl-d-preset-row {
     background: #0e0e0e;
     border: 1px solid rgba(255, 255, 255, 0.06);
     border-radius: 14px;
     display: flex;
     align-items: center;
     gap: 14px;
     padding: 12px 16px;
     min-height: 96px;
     cursor: pointer;
     transition: background 0.2s;
 }

 .stl-d-preset-row:hover {
     background: #111;
 }

 .stl-d-preset-row-chevron {
     width: 14px;
     height: 14px;
     flex-shrink: 0;
     transition: transform 0.2s;
 }

 .stl-d-preset-row-chevron.open {
     transform: rotate(90deg);
 }

 .stl-d-preset-row-thumb {
     width: 68px;
     height: 68px;
     border-radius: 10px;
     object-fit: cover;
     flex-shrink: 0;
     background: #1a1a1a;
 }

 .stl-d-preset-row-thumb.stl-d-thumb-empty {
     display: flex;
     align-items: center;
     justify-content: center;
     background: #000;
 }

 .stl-d-preset-row-thumb.stl-d-thumb-empty img {
     width: 60%;
     height: 60%;
     object-fit: contain;
     display: block;
 }

 .stl-d-preset-type-icon {
     width: 42px;
     height: 42px;
     flex-shrink: 0;
     object-fit: contain;
 }

 .stl-d-preset-row-info {
     flex: 1;
     min-width: 0;
 }

 .stl-d-preset-row-name {
     font-size: 17px;
     font-weight: 700;
     letter-spacing: -0.02em;
     color: #fff;
     white-space: nowrap;
     overflow: hidden;
     text-overflow: ellipsis;
     line-height: 1.25;
 }

 .stl-d-preset-row-sub {
     font-size: 13px;
     color: rgba(255, 255, 255, 0.4);
     margin-top: 3px;
     white-space: nowrap;
     overflow: hidden;
     text-overflow: ellipsis;
 }

 .stl-d-preset-row-count {
     font-size: 12px;
     color: #EDF11E;
     margin-top: 3px;
 }

 .stl-d-preset-row-actions {
     display: flex;
     align-items: center;
     gap: 10px;
     flex-shrink: 0;
 }

 .stl-d-preset-row-dls {
     font-size: 13px;
     font-weight: 600;
     color: rgba(255, 255, 255, 0.45);
     min-width: 40px;
     text-align: right;
 }

 /* Presets inside an expanded pack — full width, same column as the pack row */
 .stl-d-pack-children {
     display: none;
     flex-direction: column;
     gap: 4px;
     margin: 4px 0;
 }

 .stl-d-pack-children.open {
     display: flex;
 }

 .stl-d-pack-child {
     background: #101010;
     border: 1px solid rgba(255, 255, 255, 0.05);
     border-radius: 10px;
     display: flex;
     align-items: center;
     gap: 12px;
     padding: 10px 14px;
     min-height: 56px;
     cursor: pointer;
     transition: background 0.15s;
 }

 .stl-d-pack-child:hover {
     background: #161616;
 }

 .stl-d-pack-child .stl-d-preset-type-icon {
     width: 38px;
     height: 38px;
 }

 .stl-d-pack-child-name {
     font-size: 15px;
     font-weight: 600;
     color: #ccc;
     white-space: nowrap;
     overflow: hidden;
     text-overflow: ellipsis;
     line-height: 1.3;
 }

 .stl-d-pack-child-type {
     font-size: 13px;
     color: rgba(255, 255, 255, 0.3);
     margin-top: 2px;
 }

 /* Profile skeleton */
 .stl-d-profile-skeleton-header {
     display: flex;
     align-items: flex-start;
     gap: 24px;
     padding: 60px 0 28px;
 }

 .stl-d-profile-skel-avatar {
     width: 180px;
     height: 180px;
     border-radius: 50%;
     flex-shrink: 0;
     background: linear-gradient(90deg, #1a1a1a 25%, #252525 50%, #1a1a1a 75%);
     background-size: 200% 100%;
     animation: stl-shimmer 1.5s infinite;
 }

 .stl-d-profile-skel-meta {
     flex: 1;
     display: flex;
     flex-direction: column;
     gap: 12px;
     padding-top: 16px;
 }

 .stl-d-profile-skel-line {
     border-radius: 6px;
     background: linear-gradient(90deg, #1a1a1a 25%, #252525 50%, #1a1a1a 75%);
     background-size: 200% 100%;
     animation: stl-shimmer 1.5s infinite;
 }

 /* ── UNLOCK MODAL ─────────────────────────────── */
 .stl-d-unlock-overlay {
     display: none;
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100vh;
     height: 100dvh;
     background: rgba(0, 0, 0, 0.75);
     z-index: 999999;
     backdrop-filter: blur(12px);
     -webkit-backdrop-filter: blur(12px);
     overflow-y: auto;
 }

 .stl-d-unlock-overlay.active {
     display: flex;
     align-items: center;
     justify-content: center;
     padding: 40px 20px;
 }

 .stl-d-unlock-box {
     background: #141414;
     color: #fff;
     width: 90%;
     max-width: 520px;
     border-radius: 28px;
     border: 1px solid rgba(255, 255, 255, 0.06);
     position: relative;
     padding: 40px 36px 36px;
     box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
     display: flex;
     flex-direction: column;
     align-items: center;
     text-align: center;
     gap: 16px;
     margin: auto;
 }

 .stl-d-unlock-close {
     position: absolute;
     top: 14px;
     right: 14px;
     width: 46px;
     height: 46px;
     background: transparent;
     color: #fff;
     border: none;
     cursor: pointer;
     display: flex;
     align-items: center;
     justify-content: center;
     line-height: 1;
     padding: 0;
 }

 .stl-d-unlock-close svg {
     width: 100%;
     height: 100%;
     display: block;
 }

 .stl-d-unlock-close circle {
     transition: fill 0.15s;
 }

 .stl-d-unlock-close:hover circle {
     fill: #4a4a4a;
 }

 .stl-d-unlock-icon {
     width: 72px;
     height: 72px;
     border-radius: 18px;
     overflow: hidden;
     flex-shrink: 0;
 }

 .stl-d-unlock-icon img {
     width: 100%;
     height: 100%;
     object-fit: cover;
 }

 .stl-d-unlock-title {
     font-size: 28px;
     font-weight: 700;
     letter-spacing: -0.03em;
     color: #fff;
     line-height: 1.15;
 }

 .stl-d-unlock-sub {
     font-size: 15px;
     color: rgba(255, 255, 255, 0.55);
     line-height: 1.55;
 }

 .stl-d-unlock-btn {
     width: 100%;
     background: #fff;
     color: #000 !important;
     padding: 24px 24px;
     border-radius: 999px;
     font-family: inherit;
     font-size: 16px;
     font-weight: 700;
     border: none;
     cursor: pointer;
     transition: background 0.15s;
     text-decoration: none;
     display: flex;
     align-items: center;
     justify-content: center;
     gap: 8px;
     line-height: 1;
 }

 .stl-d-unlock-btn:hover,
 .stl-d-unlock-btn:focus,
 .stl-d-unlock-btn:active,
 .stl-d-unlock-btn:hover span,
 .stl-d-unlock-btn span {
     color: #000 !important;
 }

 .stl-d-unlock-btn:hover {
     background: #f0f0f0;
 }

 .stl-d-unlock-info {
     width: 100%;
     background: rgba(255, 255, 255, 0.06);
     border-radius: 14px;
     padding: 16px;
     display: flex;
     align-items: center;
     justify-content: center;
     gap: 12px;
     text-align: center;
 }

 .stl-d-unlock-info-title {
     font-size: 14px;
     font-weight: 700;
     color: #fff;
     margin-bottom: 4px;
 }

 .stl-d-unlock-info-body {
     font-size: 13px;
     color: rgba(255, 255, 255, 0.5);
     line-height: 1.5;
 }

 @media(max-width:600px) {
     .stl-d-unlock-box {
         padding: 28px 20px 24px;
         border-radius: 22px;
     }

     .stl-d-unlock-title {
         font-size: 22px;
     }
 }

 /* ── RESPONSIVE ───────────────────────────────── */
 @media (max-width: 1200px) {
     .stl-d-popular-grid {
         grid-template-columns: repeat(4, 1fr);
     }

     .stl-d-list {
         grid-template-columns: repeat(4, 1fr);
     }

     .stl-d-preset-grid {
         grid-template-columns: repeat(2, 1fr);
     }

     .stl-d-preset-list {
         grid-template-columns: repeat(2, minmax(0, 1fr));
     }
 }

 @media (max-width: 900px) {

     /* Pull the whole Discover widget up so its nav sits closer to the site
  header. The profile avatar is in an absolutely-positioned panel pinned
  to the top of #stl-discover, so it stays put — meaning the nav moving up
  also gives the avatar more breathing room. */
     #stl-discover {
         padding-top: 56px;
     }

     .stl-d-switcher-inner {
         padding: 0 16px;
         gap: 12px;
     }

     .stl-d-nav-search-wrap {
         max-width: 180px;
     }

     .stl-d-inner,
     .stl-d-profile-inner {
         padding: 24px 16px 60px;
     }

     .stl-d-popular-grid {
         grid-template-columns: repeat(2, 1fr);
         gap: 8px;
         margin-bottom: 28px;
     }

     .stl-d-list {
         grid-template-columns: repeat(2, 1fr);
     }

     .stl-d-full-grid {
         grid-template-columns: repeat(2, 1fr);
     }

     .stl-d-profile-backbar {
         padding: 16px 16px 0;
     }

     .stl-d-profile-header {
         flex-direction: column;
         align-items: center;
         text-align: center;
         padding: 4px 0 24px;
         gap: 14px;
         overflow: visible;
     }

     .stl-d-profile-avatar {
         width: 140px;
         height: 140px;
         flex-shrink: 0;
         overflow: visible;
     }

     .stl-d-profile-avatar-wrap {
         width: 140px;
         height: 140px;
     }

     .stl-d-profile-meta {
         display: flex;
         flex-direction: column;
         align-items: center;
         width: 100%;
     }

     .stl-d-profile-bio {
         text-align: center;
     }

     .stl-d-profile-stats {
         display: grid;
         grid-template-columns: repeat(3, 1fr);
         gap: 6px;
         width: 100%;
     }

     .stl-d-stat-pill {
         border-radius: 999px !important;
         border: 1px solid rgba(255, 255, 255, 0.1) !important;
         font-size: 13px;
         padding: 10px 6px;
         text-align: center;
         white-space: nowrap;
     }

     .stl-d-preset-grid {
         grid-template-columns: 1fr;
         gap: 8px;
     }

     .stl-d-preset-list {
         grid-template-columns: minmax(0, 1fr);
         gap: 8px;
     }

     .stl-d-preset-row {
         padding: 10px 12px;
         gap: 10px;
         min-height: 80px;
     }

     .stl-d-preset-row-thumb {
         width: 56px;
         height: 56px;
     }

     .stl-d-preset-type-icon {
         width: 36px;
         height: 36px;
     }

     .stl-d-profile-skel-avatar {
         width: 140px;
         height: 140px;
     }

     .stl-d-profile-panel {
         padding-top: 128px;
     }

     #profile-share-btn {
         width: 100%;
         justify-content: center;
         margin-left: 0;
         margin-top: 12px;
         font-size: 15px;
         padding: 15px 16px;
     }
 }

 @media (max-width: 600px) {
     .stl-d-wordmark {
         font-size: 28px;
     }

     .stl-d-panel-header {
         flex-direction: column;
         align-items: flex-start;
     }

     /* Taller search field on mobile; 16px font also stops iOS zoom-on-focus. */
     .stl-d-search-input {
         padding: 15px 46px 15px 18px;
         font-size: 16px;
     }

     .stl-d-search-wrapper {
         max-width: 100%;
         width: 100%;
     }

     .stl-d-popular-grid {
         grid-template-columns: repeat(2, 1fr);
     }

     .stl-d-filter-bar {
         flex-direction: column;
         align-items: flex-start;
         gap: 8px;
         margin-bottom: 14px;
     }

     .stl-d-filter-tab {
         font-size: 13px;
         height: 38px;
         line-height: 38px;
         padding: 0 16px;
     }

     /* Nav bar: two rows on mobile */
     .stl-d-switcher-bar {
         height: auto;
     }

     .stl-d-switcher-inner {
         flex-wrap: wrap;
         height: auto;
         padding: 12px 16px 0;
         gap: 12px;
     }

     /* Tabs row fills full width */
     .stl-d-tabs {
         order: 2;
     }

     .stl-d-wordmark {
         order: 1;
     }

     .stl-d-back-btn {
         order: 0;
     }

     .stl-d-breadcrumb {
         order: 2;
     }

     /* Search drops to its own full-width row. Use margin-bottom (not padding)
  for the row gap so the absolutely-positioned search icon/clear button
  center on the input's height rather than the padded wrapper. */
     .stl-d-nav-search-wrap {
         order: 3;
         max-width: 100%;
         width: 100%;
         margin-left: 0;
         margin-bottom: 12px;
     }

     .stl-d-nav-search-wrap.hidden {
         display: none;
     }
 }

 /* ── SHARE BUTTON & TOAST ── */
 .stl-d-share-btn {
     display: inline-flex;
     align-items: center;
     gap: 7px;
     background: rgba(255, 255, 255, 0.06);
     border: 1px solid rgba(255, 255, 255, 0.12);
     color: rgba(255, 255, 255, 0.75);
     font-family: inherit;
     font-size: 13px;
     font-weight: 500;
     padding: 7px 16px;
     border-radius: 999px;
     cursor: pointer;
     letter-spacing: -0.01em;
     transition: background 0.15s, color 0.15s;
     margin-left: 10px;
     flex-shrink: 0;
 }

 .stl-d-share-btn:hover {
     background: rgba(255, 255, 255, 0.11);
     color: #fff;
 }

 .stl-d-share-btn svg {
     width: 14px;
     height: 14px;
     flex-shrink: 0;
 }

 /* ── "Become an artist" CTA (artist profile footer) ── */
 .stl-d-artist-cta {
     margin: 80px 0 0;
     padding: 72px 40px;
     border-top: 1px solid rgba(255, 255, 255, 0.07);
     display: flex;
     flex-direction: column;
     align-items: center;
     text-align: center;
     gap: 24px;
 }

 .stl-d-artist-cta-label {
     font-size: 13px;
     font-weight: 600;
     letter-spacing: 0.1em;
     text-transform: uppercase;
     color: rgba(255, 255, 255, 0.35);
     margin: 0;
 }

 .stl-d-artist-cta-title {
     font-size: 80px;
     font-weight: 700;
     letter-spacing: -0.04em;
     color: #fff;
     line-height: 1.05;
     margin: 0;
 }

 .stl-d-artist-cta-btn {
     display: inline-block;
     background: #fff;
     color: #000;
     font-family: inherit;
     font-size: 16px;
     font-weight: 700;
     padding: 16px 36px;
     border-radius: 999px;
     text-decoration: none;
     transition: background 0.15s, transform 0.15s;
     margin: 8px 0 0;
 }

 .stl-d-artist-cta-btn:hover {
     background: #f0f0f0;
     color: #000;
     transform: translateY(-2px);
 }

 @media (max-width: 600px) {
     .stl-d-artist-cta {
         margin-top: 48px;
         padding: 48px 16px;
     }

     .stl-d-artist-cta-title {
         font-size: 40px;
     }

     .stl-d-artist-cta-btn {
         font-size: 15px;
         padding: 14px 28px;
     }
 }

 .stl-d-toast {
     position: fixed;
     z-index: 999999;
     background: #141414;
     border: 1px solid rgba(255, 255, 255, 0.06);
     border-radius: 20px;
     padding: 18px 42px 18px 18px;
     min-width: 260px;
     max-width: 320px;
     box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
     transform: translateY(-8px);
     opacity: 0;
     pointer-events: none;
     transition: opacity 0.2s, transform 0.2s;
     display: flex;
     flex-direction: column;
     gap: 0;
 }

 .stl-d-toast.show {
     opacity: 1;
     transform: translateY(0);
     pointer-events: auto;
 }

 .stl-d-toast-icon {
     width: 28px;
     height: 28px;
     border-radius: 50%;
     background: #22c55e;
     display: flex;
     align-items: center;
     justify-content: center;
     margin-bottom: 10px;
 }

 .stl-d-toast-icon svg {
     width: 14px;
     height: 14px;
     stroke: #fff;
     stroke-width: 2.5;
 }

 .stl-d-toast-title {
     font-size: 14px;
     font-weight: 700;
     color: #fff;
     margin-bottom: 3px;
 }

 .stl-d-toast-msg {
     font-size: 12px;
     color: rgba(255, 255, 255, 0.5);
     line-height: 1.4;
 }

 .stl-d-toast-close {
     position: absolute;
     top: 10px;
     right: 10px;
     width: 24px;
     height: 24px;
     background: rgba(255, 255, 255, 0.1);
     border: none;
     border-radius: 50%;
     color: #fff;
     cursor: pointer;
     font-size: 14px;
     line-height: 1;
     display: flex;
     align-items: center;
     justify-content: center;
     transition: background 0.15s;
 }

 .stl-d-toast-close:hover {
     background: rgba(255, 255, 255, 0.18);
 }

/* ═══════════════════════════════════════════════════════════════════════════
   PLATFORM
   Everything above is the stylesheet the inline Discover page carried, moved
   here unchanged, so cards, artist profiles and the unlock window look exactly
   as they did. Everything below is new: the top bar, the views, the Tones
   browser and My Captures.
   ═══════════════════════════════════════════════════════════════════════════ */

#stl-discover,
#stl-header {
    --p-line: rgba(255, 255, 255, 0.08);
    --p-line-2: rgba(255, 255, 255, 0.14);
    --p-fill: rgba(255, 255, 255, 0.06);
    --p-fill-2: rgba(255, 255, 255, 0.1);
    --p-dim: rgba(255, 255, 255, 0.55);
    --p-faint: rgba(255, 255, 255, 0.38);
    --p-card: #0e0e0e;
    --p-accent: #EDF11E;
    --p-good: #58d68d;
    --p-warn: #f5b041;
    --p-bad: #ff6b6b;
}

#stl-discover button,
#stl-discover select,
#stl-discover input {
    font-family: inherit;
}

#stl-discover button,
#stl-discover button:hover {
    text-decoration: none;
}

/* Dark scrollbars and dark native controls, wherever something scrolls. */
#stl-discover,
#stl-header {
    color-scheme: dark;
}

#stl-discover * {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.28) transparent;
}

#stl-discover *::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

#stl-discover *::-webkit-scrollbar-track,
#stl-discover *::-webkit-scrollbar-corner {
    background: transparent;
}

#stl-discover *::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    border: 3px solid transparent;
    background-clip: content-box;
}

#stl-discover *::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

#stl-discover :focus-visible {
    outline: 2px solid var(--p-accent);
    outline-offset: 2px;
}

/* ── Views ─────────────────────────────────────── */
#stl-discover .stl-d-view {
    display: none;
}

#stl-discover .stl-d-view.active {
    display: block;
}

/* The profile is a view like the others now, not a panel that slides over. */
#stl-discover .stl-d-profile-panel {
    position: relative;
    transform: none;
    transition: none;
    padding-top: 0;
    min-height: 0;
}

/* ── Top bar ───────────────────────────────────── */
#stl-discover .stl-d-switcher-inner {
    gap: 18px;
}

#stl-discover .stl-p-nav,#stl-header .stl-p-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: 6px;
}

#stl-discover .stl-p-nav-btn,#stl-header .stl-p-nav-btn {
    background: none;
    border: 0;
    color: var(--p-dim);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -0.01em;
    padding: 9px 14px;
    border-radius: 999px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s;
}

#stl-discover .stl-p-nav-btn:hover,#stl-header .stl-p-nav-btn:hover {
    color: #fff;
    background: var(--p-fill);
}

#stl-discover .stl-p-nav-btn.active,#stl-header .stl-p-nav-btn.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

#stl-discover .stl-d-nav-search-wrap {
    max-width: 420px;
}

#stl-discover .stl-d-search-input {
    padding-right: 64px;
}

#stl-discover .stl-d-breadcrumb {
    flex-shrink: 1;
    min-width: 0;
}

#stl-discover .stl-p-topacts {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

#stl-discover .stl-p-acct,#stl-header .stl-p-acct {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    padding: 0 14px 0 5px;
    border-radius: 999px;
    background: var(--p-fill);
    border: 1px solid var(--p-line);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s;
}

#stl-discover .stl-p-acct:hover,#stl-header .stl-p-acct:hover {
    background: var(--p-fill-2);
}

#stl-discover .stl-p-acct img,#stl-header .stl-p-acct img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    background: #1a1a1a;
}

#stl-discover .stl-p-acct img.is-glyph,#stl-header .stl-p-acct img.is-glyph {
    object-fit: contain;
    padding: 6px;
}

/* ── Buttons ───────────────────────────────────── */
#stl-discover .stl-p-btn,#stl-header .stl-p-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 40px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid var(--p-line-2);
    background: var(--p-fill);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -0.01em;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, opacity 0.15s;
}

#stl-discover .stl-p-btn:hover,#stl-header .stl-p-btn:hover {
    background: var(--p-fill-2);
}

#stl-discover .stl-p-btn svg,#stl-header .stl-p-btn svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

#stl-discover .stl-p-btn-primary,#stl-header .stl-p-btn-primary {
    background: #fff;
    border-color: #fff;
    color: #000;
    font-weight: 700;
}

#stl-discover .stl-p-btn-primary:hover,#stl-header .stl-p-btn-primary:hover {
    background: #e9e9e9;
}

/* The storefront theme recolours buttons and links on hover, which turned the
   words on a white button white. Every state is spelled out, and marked
   important, the same way the unlock button's already is. */
#stl-discover .stl-p-btn,#stl-header .stl-p-btn,
#stl-discover .stl-p-btn:hover,
#stl-header .stl-p-btn:hover,
#stl-discover .stl-p-btn:focus,
#stl-header .stl-p-btn:focus,
#stl-discover .stl-p-btn:active,
#stl-header .stl-p-btn:active,
#stl-discover .stl-p-btn:visited,
#stl-header .stl-p-btn:visited,
#stl-discover .stl-p-acct,
#stl-header .stl-p-acct,
#stl-discover .stl-p-acct:hover,
#stl-header .stl-p-acct:hover,
#stl-discover .stl-p-acct:focus,
#stl-header .stl-p-acct:focus,
#stl-discover .stl-p-acct:visited,
#stl-header .stl-p-acct:visited {
    color: #fff !important;
    text-decoration: none !important;
}

#stl-discover .stl-p-btn-primary,#stl-header .stl-p-btn-primary,
#stl-discover .stl-p-btn-primary:hover,
#stl-header .stl-p-btn-primary:hover,
#stl-discover .stl-p-btn-primary:focus,
#stl-header .stl-p-btn-primary:focus,
#stl-discover .stl-p-btn-primary:active,
#stl-header .stl-p-btn-primary:active,
#stl-discover .stl-p-btn-primary:visited,
#stl-header .stl-p-btn-primary:visited,
#stl-discover .stl-p-btn-danger,
#stl-header .stl-p-btn-danger,
#stl-discover .stl-p-btn-danger:hover,
#stl-header .stl-p-btn-danger:hover,
#stl-discover .stl-p-btn-danger:focus,
#stl-header .stl-p-btn-danger:focus,
#stl-discover .stl-p-btn-danger:active,
#stl-header .stl-p-btn-danger:active {
    color: #000 !important;
}

#stl-discover .stl-p-chip.on:not(.is-q),
#stl-discover .stl-p-chip.on:not(.is-q):hover {
    color: #000 !important;
}

#stl-discover a.stl-p-opt,
#stl-discover a.stl-p-opt:hover,
#stl-discover a.stl-p-opt:visited {
    color: rgba(255, 255, 255, 0.86) !important;
    text-decoration: none !important;
}

#stl-discover .stl-p-btn-danger,#stl-header .stl-p-btn-danger {
    background: var(--p-bad);
    border-color: var(--p-bad);
    color: #000;
    font-weight: 700;
}

#stl-discover .stl-p-btn-danger:hover,#stl-header .stl-p-btn-danger:hover {
    background: #ff8585;
}

#stl-discover .stl-p-btn-wide,#stl-header .stl-p-btn-wide {
    min-width: 200px;
}

#stl-discover .stl-p-iconbtn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 0;
    background: transparent;
    color: var(--p-dim);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

#stl-discover .stl-p-iconbtn:hover {
    background: var(--p-fill-2);
    color: #fff;
}

#stl-discover .stl-p-iconbtn svg {
    width: 18px;
    height: 18px;
}

/* ── Explore ───────────────────────────────────── */
#view-explore .stl-d-tabs {
    display: inline-flex;
    margin-bottom: 24px;
}


#stl-discover .stl-p-promo-kicker {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--p-accent);
    margin-bottom: 12px;
}


#stl-discover .stl-p-promo-acts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}


#stl-discover .stl-p-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

#stl-discover .stl-p-arrow:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.3);
}

#stl-discover .stl-p-arrow svg {
    width: 16px;
    height: 16px;
}

#stl-discover .stl-p-sec {
    margin-bottom: 48px;
}

#stl-discover .stl-p-sec-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

#stl-discover .stl-p-sec-head h2 {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.1;
}

#stl-discover .stl-p-sec-head p {
    margin-top: 6px;
    font-size: 13px;
    color: var(--p-dim);
}

#view-explore .stl-d-popular-grid {
    margin-bottom: 0;
}

#stl-discover .stl-p-cols {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

#stl-discover .stl-p-ranklist {
    border: 1px solid var(--p-line);
    border-radius: 14px;
    background: var(--p-card);
    overflow: hidden;
}

#stl-discover .stl-p-rank {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 14px 10px 10px;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.15s;
}

#stl-discover .stl-p-rank:last-child {
    border-bottom: 0;
}

#stl-discover .stl-p-rank:hover {
    background: #151515;
}

#stl-discover .stl-p-rank-img {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    object-fit: cover;
    background: #1a1a1a;
    flex-shrink: 0;
}

#stl-discover .stl-p-rank.is-round .stl-p-rank-img {
    border-radius: 50%;
}

#stl-discover .stl-p-rank-img[src*="Account_Icon"] {
    object-fit: contain;
    padding: 14px;
}

#stl-discover .stl-p-rank-text {
    min-width: 0;
    flex: 1;
}

#stl-discover .stl-p-rank-name {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#stl-discover .stl-p-rank-sub {
    margin-top: 3px;
    font-size: 12px;
    color: var(--p-dim);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#stl-discover .stl-p-rank-n {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--p-fill);
    color: var(--p-dim);
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
}

#stl-discover .stl-p-promo,
#stl-discover .stl-p-gate {
    border: 1px solid var(--p-line);
    border-radius: 20px;
    background: linear-gradient(135deg, #131309 0%, #0b0b0b 55%);
    padding: 36px 40px;
}

#stl-discover .stl-p-promo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

#stl-discover .stl-p-promo-title,
#stl-discover .stl-p-gate h1 {
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.05;
}

#stl-discover .stl-p-promo p,
#stl-discover .stl-p-gate p {
    margin-top: 10px;
    max-width: 560px;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.68);
}

#stl-discover .stl-p-promo .stl-p-promo-acts {
    margin-top: 0;
}

#stl-discover .stl-p-gate {
    margin: 0;
}

/* ── Page heads ────────────────────────────────── */
#stl-discover .stl-p-pagehead {
    margin-bottom: 24px;
}

#stl-discover .stl-p-pagehead h1,
#stl-discover .stl-p-capwho h1 {
    font-size: 34px;
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.05;
}

#stl-discover .stl-p-pagehead p {
    margin-top: 8px;
    font-size: 14px;
    color: var(--p-dim);
}

/* ── Browser panel (Tones, My Captures) ────────── */
#stl-discover .stl-p-panel {
    border: 1px solid var(--p-line);
    border-radius: 18px;
    background: #090909;
}

#stl-discover .stl-p-kinds {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--p-line);
}

#stl-discover .stl-p-kind {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    background: none;
    border: 0;
    border-radius: 999px;
    padding: 9px 16px;
    color: var(--p-dim);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
}

#stl-discover .stl-p-kind span {
    font-weight: 500;
    letter-spacing: 0;
    color: var(--p-faint);
    font-variant-numeric: tabular-nums;
}

#stl-discover .stl-p-kind:hover {
    color: #fff;
    background: var(--p-fill);
}

#stl-discover .stl-p-kind.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

#stl-discover .stl-p-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--p-line);
}

#stl-discover .stl-p-filters:empty {
    display: none;
}

#stl-discover .stl-p-filter {
    position: relative;
}

#stl-discover .stl-p-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 0 12px 0 16px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: var(--p-fill);
    color: rgba(255, 255, 255, 0.82);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

#stl-discover .stl-p-filter-btn:hover,
#stl-discover .stl-p-filter.open .stl-p-filter-btn {
    background: var(--p-fill-2);
    color: #fff;
}

#stl-discover .stl-p-filter-btn.on {
    border-color: var(--p-accent);
    color: #fff;
}

#stl-discover .stl-p-filter-n {
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--p-accent);
    color: #000;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#stl-discover .stl-p-chev {
    width: 14px;
    height: 14px;
    opacity: 0.6;
    transition: transform 0.15s;
}

#stl-discover .stl-p-filter.open .stl-p-chev {
    transform: rotate(180deg);
}

#stl-discover .stl-p-pop {
    position: absolute;
    z-index: 60;
    top: calc(100% + 8px);
    left: 0;
    min-width: 220px;
    max-width: min(320px, 86vw);
    max-height: 340px;
    overflow-y: auto;
    padding: 6px;
    border-radius: 14px;
    border: 1px solid var(--p-line-2);
    background: #161616;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.6);
}

#stl-discover .stl-p-pop.is-menu {
    left: auto;
    right: 0;
    min-width: 240px;
}

#stl-discover .stl-p-pop-empty {
    padding: 12px;
    font-size: 13px;
    color: var(--p-dim);
}

#stl-discover .stl-p-opt {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 9px 10px;
    border: 0;
    border-radius: 9px;
    background: none;
    color: rgba(255, 255, 255, 0.86);
    font-size: 13px;
    font-weight: 500;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

#stl-discover .stl-p-opt:hover {
    background: var(--p-fill-2);
    color: #fff;
}

#stl-discover .stl-p-opt.is-danger {
    color: var(--p-bad);
}

#stl-discover .stl-p-check {
    width: 16px;
    height: 16px;
    border-radius: 5px;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    flex-shrink: 0;
    position: relative;
}

#stl-discover .stl-p-opt.on .stl-p-check {
    background: var(--p-accent);
    border-color: var(--p-accent);
}

#stl-discover .stl-p-opt.on .stl-p-check::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 1px;
    width: 4px;
    height: 8px;
    border: solid #000;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

#stl-discover .stl-p-opt-l {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#stl-discover .stl-p-opt-n {
    color: var(--p-faint);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}

#stl-discover .stl-p-clear {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    margin-left: auto;
    padding: 0 12px;
    border: 0;
    border-radius: 999px;
    background: none;
    color: var(--p-dim);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
}

#stl-discover .stl-p-clear:hover {
    color: #fff;
    background: var(--p-fill);
}

#stl-discover .stl-p-clear svg {
    width: 13px;
    height: 13px;
}

#stl-discover .stl-p-chips {
    display: flex;
    gap: 6px;
    padding: 14px 16px 0;
    overflow-x: auto;
    scrollbar-width: none;
}

#stl-discover .stl-p-chips::-webkit-scrollbar {
    display: none;
}

#stl-discover .stl-p-chips:empty {
    display: none;
}

#stl-discover .stl-p-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid var(--p-line-2);
    background: none;
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

#stl-discover .stl-p-chip:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

#stl-discover .stl-p-chip.on {
    background: #fff;
    border-color: #fff;
    color: #000;
    font-weight: 700;
}

#stl-discover .stl-p-chip.is-q,
#stl-discover .stl-p-chip.is-q:hover {
    background: rgba(237, 241, 30, 0.1);
    border-color: var(--p-accent);
    color: var(--p-accent) !important;
    font-weight: 600;
}

#stl-discover .stl-p-chip svg {
    width: 12px;
    height: 12px;
}

#stl-discover .stl-p-strip {
    padding: 0 16px;
}

#stl-discover .stl-p-people {
    display: flex;
    gap: 8px;
    padding-top: 16px;
    overflow-x: auto;
    scrollbar-width: none;
}

#stl-discover .stl-p-person {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 14px 0 5px;
    border-radius: 999px;
    border: 1px solid var(--p-line);
    background: var(--p-card);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
    cursor: pointer;
}

#stl-discover .stl-p-person:hover {
    background: #181818;
}

#stl-discover .stl-p-person img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    background: #1a1a1a;
}

#stl-discover .stl-p-covers {
    display: grid;
    grid-template-columns: repeat(10, minmax(0, 1fr));
    gap: 10px;
    padding-top: 16px;
}

#stl-discover .stl-p-cover {
    position: relative;
    aspect-ratio: 1/1;
    padding: 0;
    border: 0;
    border-radius: 10px;
    overflow: hidden;
    background: #1a1a1a;
    cursor: pointer;
    transition: transform 0.2s;
}

#stl-discover .stl-p-cover:hover {
    transform: translateY(-2px);
}

#stl-discover .stl-p-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* A soft shade along the bottom so the name reads over any photo. */
#stl-discover .stl-p-cover::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 46%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0));
    pointer-events: none;
}

#stl-discover .stl-p-cover-name {
    position: absolute;
    z-index: 1;
    right: 8px;
    bottom: 7px;
    left: 44px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.2;
    text-align: right;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

#stl-discover .stl-p-cover-n {
    z-index: 1;
    position: absolute;
    left: 6px;
    bottom: 6px;
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

#stl-discover .stl-p-listhead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 20px 16px 12px;
}

#view-artists .stl-p-listhead {
    padding: 0 0 12px;
}

#stl-discover .stl-p-count {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
}

#view-artists .stl-p-count {
    font-size: 13px;
    font-weight: 500;
    color: var(--p-dim);
    margin-bottom: 14px;
}

#stl-discover #view-artists .stl-p-count:empty {
    display: none;
}

#stl-discover .stl-p-sort {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--p-dim);
}

#stl-discover .stl-p-sort select {
    appearance: none;
    -webkit-appearance: none;
    height: 36px;
    padding: 0 34px 0 14px;
    border-radius: 999px;
    border: 1px solid var(--p-line-2);
    background: #0e0e0e url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 12px center / 14px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

#stl-discover .stl-p-list {
    padding: 0 8px 8px;
}

#stl-discover .stl-p-item {
    border-radius: 12px;
}

#stl-discover .stl-p-item.open,
#stl-discover .stl-p-item.playing {
    background: #101010;
}

#stl-discover .stl-p-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 9px 10px;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.15s;
}

#stl-discover .stl-p-row.is-cap {
    cursor: default;
}

#stl-discover .stl-p-row:hover {
    background: #131313;
}

#stl-discover .stl-p-row-skel {
    height: 62px;
    margin-bottom: 6px;
    cursor: default;
    background: linear-gradient(90deg, #101010 25%, #191919 50%, #101010 75%);
    background-size: 200% 100%;
    animation: stl-shimmer 1.5s infinite;
}

#stl-discover .stl-p-row-lead {
    width: 16px;
    flex-shrink: 0;
    display: flex;
    color: var(--p-accent);
}

#stl-discover .stl-p-row-lead svg {
    width: 16px;
    height: 16px;
    transition: transform 0.15s;
}

#stl-discover .stl-p-item.open .stl-p-row-lead svg {
    transform: rotate(90deg);
}

#stl-discover .stl-p-row-thumb {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    object-fit: cover;
    background: #1a1a1a;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#stl-discover .stl-p-row-thumb.is-empty img,
#stl-discover img.stl-p-row-thumb[src*="Account_Icon"] {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
}

#stl-discover .stl-p-row-thumb.is-pack {
    width: 40px;
    height: 40px;
}

#stl-discover .stl-p-row-main {
    flex: 1;
    min-width: 0;
}

#stl-discover .stl-p-row-title {
    display: flex;
    align-items: baseline;
    gap: 10px;
    min-width: 0;
}

#stl-discover .stl-p-row-name {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#stl-discover .stl-p-row-artist {
    background: none;
    border: 0;
    padding: 0;
    color: var(--p-dim);
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
    max-width: 45%;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
}

#stl-discover .stl-p-row-artist:hover {
    color: #fff;
    text-decoration: underline;
}

#stl-discover .stl-p-row-date {
    color: var(--p-faint);
    font-size: 12px;
    white-space: nowrap;
    flex-shrink: 0;
}

#stl-discover .stl-p-row-tags {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    min-width: 0;
    overflow: hidden;
}

#stl-discover .stl-p-tag {
    display: inline-flex;
    align-items: center;
    height: 20px;
    padding: 0 7px;
    border-radius: 5px;
    background: var(--p-fill-2);
    color: rgba(255, 255, 255, 0.82);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
}

#stl-discover .stl-p-tag.is-plain {
    background: none;
    border: 1px solid var(--p-line-2);
    color: var(--p-dim);
    font-weight: 500;
}

#stl-discover .stl-p-tag.is-pack {
    background: rgba(237, 241, 30, 0.14);
    color: var(--p-accent);
}

#stl-discover .stl-p-tag.is-preset {
    background: rgba(120, 170, 255, 0.16);
    color: #a9c8ff;
}

#stl-discover .stl-p-tag.is-ready {
    background: rgba(88, 214, 141, 0.14);
    color: var(--p-good);
}

#stl-discover .stl-p-tag.is-training {
    background: rgba(245, 176, 65, 0.14);
    color: var(--p-warn);
}

#stl-discover .stl-p-tag.is-failed {
    background: rgba(255, 107, 107, 0.14);
    color: var(--p-bad);
}

#stl-discover .stl-p-row-gear {
    color: var(--p-faint);
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

#stl-discover .stl-p-row-err {
    margin-top: 6px;
    font-size: 12px;
    color: var(--p-bad);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#stl-discover .stl-p-row-end {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

#stl-discover .stl-p-row-dls {
    font-size: 12px;
    color: var(--p-dim);
    font-variant-numeric: tabular-nums;
}

#stl-discover .stl-p-row .stl-d-preset-dl-btn {
    color: #fff;
}

#stl-discover .stl-p-row .stl-d-preset-dl-btn svg,
#stl-discover .stl-p-kids .stl-d-preset-dl-btn svg {
    width: 16px;
    height: 16px;
    stroke-width: 2;
}

#stl-discover .stl-d-preset-dl-btn:disabled {
    opacity: 0.4;
    cursor: wait;
}

#stl-discover .stl-p-kids {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 4px 10px 12px 40px;
}

#stl-discover .stl-p-more {
    display: flex;
    justify-content: center;
    padding: 16px;
}

#stl-discover .stl-p-more:empty {
    display: none;
}

#stl-discover .stl-p-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 56px 20px;
    text-align: center;
}

#stl-discover .stl-p-empty strong {
    font-size: 17px;
    letter-spacing: -0.02em;
}

#stl-discover .stl-p-empty span {
    font-size: 13px;
    color: var(--p-dim);
    max-width: 460px;
    line-height: 1.5;
}

#stl-discover .stl-p-empty .stl-p-btn {
    margin-top: 8px;
}

/* ── My Captures ───────────────────────────────── */
#stl-discover .stl-p-caphead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

#stl-discover .stl-p-caphead .stl-p-promo-acts {
    margin-top: 0;
}

#stl-discover .stl-p-capwho {
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 0;
}

#stl-discover .stl-p-capwho h1 {
    margin-bottom: 12px;
    overflow-wrap: anywhere;
}

#stl-discover .stl-p-capav {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    background: #1a1a1a;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#stl-discover .stl-p-capav.is-empty img {
    width: 44%;
    height: 44%;
    object-fit: contain;
}

#stl-discover .stl-p-capnote {
    margin-top: 10px;
    font-size: 12px;
    color: var(--p-dim);
}

#stl-discover .stl-p-packtiles {
    display: flex;
    gap: 10px;
    padding-top: 16px;
    overflow-x: auto;
    scrollbar-width: none;
}

#stl-discover .stl-p-packtile {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 180px;
    max-width: 280px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--p-line);
    background: var(--p-card);
    color: #fff;
    text-align: left;
    cursor: pointer;
    flex-shrink: 0;
}

#stl-discover .stl-p-packtile:hover {
    background: #161616;
}

#stl-discover .stl-p-packtile.on {
    border-color: var(--p-accent);
}

#stl-discover .stl-p-packtile-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

#stl-discover .stl-p-packtile strong {
    font-size: 13px;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#stl-discover .stl-p-packtile span {
    font-size: 12px;
    color: var(--p-dim);
}

#stl-discover .stl-p-cap-match {
    width: 150px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
    text-align: right;
}

#stl-discover .stl-p-cap-match strong {
    font-size: 15px;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}

#stl-discover .stl-p-cap-match span {
    font-size: 11.5px;
    color: var(--p-dim);
}

#stl-discover .stl-p-cap-match.is-fail span {
    color: var(--p-bad);
}

#stl-discover .stl-p-bar {
    height: 4px;
    border-radius: 999px;
    background: var(--p-fill-2);
    overflow: hidden;
}

#stl-discover .stl-p-bar i {
    display: block;
    height: 100%;
    background: var(--p-warn);
    border-radius: 999px;
    transition: width 0.6s ease;
}

#stl-discover .stl-p-menuwrap {
    position: relative;
}

/* ── Compare (the capture page's comparison, same parts) ── */
#stl-discover .stl-p-compare {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: -0.02em;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.12s, color 0.12s, border-color 0.12s;
}

#stl-discover .stl-p-compare svg {
    width: 15px;
    height: 15px;
}

#stl-discover .stl-p-compare:hover {
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.32);
}

#stl-discover .stl-p-compare.on,
#stl-discover .stl-p-compare.on:hover {
    background: #fff;
    border-color: #fff;
    color: #000 !important;
}

#stl-discover .stl-p-cmp {
    padding: 4px 10px 14px;
}

#stl-discover .stl-p-cmp-card {
    background: #161616;
    border: 1px solid var(--p-line-2);
    border-radius: 18px;
    padding: 18px;
}

#stl-discover .stl-p-cmp-card.is-waiting {
    text-align: center;
    padding: 30px 18px 34px;
}

#stl-discover .stl-p-cmp-prep {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}

#stl-discover .stl-p-cmp-top {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

#stl-discover .stl-p-seg {
    display: inline-flex;
    background: var(--p-fill);
    border-radius: 999px;
    padding: 4px;
    gap: 4px;
}

#stl-discover .stl-p-segbtn {
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.02em;
    padding: 7px 22px;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.12s, color 0.12s;
}

#stl-discover .stl-p-segbtn:hover {
    color: #fff;
}

#stl-discover .stl-p-segbtn.on,
#stl-discover .stl-p-segbtn.on:hover {
    background: #fff;
    color: #000 !important;
}

#stl-discover .stl-p-cmp-close {
    margin-left: auto;
    border: 0;
    background: transparent;
    color: var(--p-faint);
    cursor: pointer;
    padding: 6px;
    border-radius: 999px;
    display: inline-flex;
}

#stl-discover .stl-p-cmp-close:hover {
    background: var(--p-fill-2);
    color: #fff;
}

#stl-discover .stl-p-cmp-close .stl-p-chev {
    width: 22px;
    height: 22px;
    opacity: 1;
}

#stl-discover .stl-p-wave {
    position: relative;
    height: 96px;
    cursor: pointer;
}

#stl-discover .stl-p-wave.is-skel {
    border-radius: 10px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
    background-size: 200% 100%;
    animation: stl-shimmer 1.4s linear infinite;
}

#stl-discover .stl-p-wave-canvas {
    display: block;
    width: 100%;
    height: 100%;
}

#stl-discover .stl-p-wave-head {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 2px;
    background: #fff;
    pointer-events: none;
}

#stl-discover .stl-p-wave.is-skel .stl-p-wave-head {
    display: none;
}

#stl-discover .stl-p-wave-marks {
    position: relative;
    height: 20px;
    margin-top: 6px;
}

#stl-discover .stl-p-wave-marks:empty {
    display: none;
}

#stl-discover .stl-p-wave-mark {
    position: absolute;
    transform: translateX(-50%);
    font-size: 13px;
    color: var(--p-faint);
    white-space: nowrap;
}

#stl-discover .stl-p-cmp-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 14px 0 16px;
}

#stl-discover .stl-p-cmp-play {
    height: 44px;
    padding: 0 20px;
    gap: 8px;
    border-radius: 999px;
    border: 0;
    background: #fff;
    color: #000 !important;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.02em;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
}

#stl-discover .stl-p-cmp-play:hover {
    background: #e9e9e9;
}

#stl-discover .stl-p-cmp-play:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

#stl-discover .stl-p-cmp-play svg {
    width: 17px;
    height: 17px;
    flex: none;
    pointer-events: none;
}

#stl-discover .stl-p-cmp-playword {
    min-width: 34px;
    text-align: left;
    pointer-events: none;
}

#stl-discover .stl-p-cmp-clock {
    font-variant-numeric: tabular-nums;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.02em;
}

#stl-discover .stl-p-cmp-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

#stl-discover .stl-p-cmp-chip {
    border: 0;
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.02em;
    padding: 8px 16px;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.12s, color 0.12s;
}

#stl-discover .stl-p-cmp-chip:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

#stl-discover .stl-p-cmp-chip.on,
#stl-discover .stl-p-cmp-chip.on:hover {
    background: #fff;
    color: #000 !important;
}

#stl-discover .stl-p-cmp-status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    font-size: 14px;
    color: var(--p-faint);
}

#stl-discover .stl-p-cmp-card.is-waiting .stl-p-cmp-status {
    justify-content: center;
}

#stl-discover .stl-p-cmp-status.is-bad {
    color: var(--p-warn);
}

#stl-discover .stl-p-cmp-retry {
    border: 0;
    background: transparent;
    color: #fff;
    text-decoration: underline;
    cursor: pointer;
    font-size: 14px;
    padding: 0;
}

#stl-discover .stl-p-cmp-spin {
    width: 14px;
    height: 14px;
    flex: none;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-top-color: #fff;
    animation: stl-p-spin 0.7s linear infinite;
}

@keyframes stl-p-spin {
    to {
        transform: rotate(360deg);
    }
}

#stl-discover .stl-p-cmp-foot {
    display: flex;
    align-items: center;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--p-line);
}

#stl-discover .stl-p-cmp-hint {
    font-size: 14px;
    color: var(--p-faint);
}

#stl-discover .stl-p-cmp-hint kbd {
    font-family: inherit;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: rgba(255, 255, 255, 0.7);
    background: var(--p-fill-2);
    border-radius: 5px;
    padding: 1px 6px;
    font-size: 13px;
}

/* ── My Public Captures ────────────────────────── */
#stl-discover .stl-p-panel.is-public .stl-p-sort,
#stl-discover .stl-p-panel.is-public .stl-p-filters {
    display: none;
}

#stl-discover .stl-p-pubtabs {
    padding-top: 16px;
}

#stl-discover .stl-p-pubtabs .stl-d-filter-tab span {
    margin-left: 4px;
    font-weight: 500;
    opacity: 0.6;
}

#stl-discover .stl-p-publiclist {
    padding: 0 8px 8px;
}

/* ── Dialog and notices ────────────────────────── */
#stl-discover .stl-p-dialog {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

#stl-discover .stl-p-dialog.active {
    display: flex;
}

#stl-discover .stl-p-dialog-box {
    width: 100%;
    max-width: 440px;
    padding: 28px;
    border-radius: 20px;
    border: 1px solid var(--p-line-2);
    background: #141414;
}

#stl-discover .stl-p-dialog-title {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.03em;
}

#stl-discover .stl-p-dialog-body {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.72);
}

#stl-discover .stl-p-dialog-acts {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

#stl-discover .stl-p-snack {
    position: fixed;
    left: 50%;
    bottom: 28px;
    z-index: 100001;
    max-width: min(520px, calc(100vw - 32px));
    padding: 12px 18px;
    border-radius: 12px;
    border: 1px solid var(--p-line-2);
    background: #1b1b1b;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
    transform: translate(-50%, 20px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
}

#stl-discover .stl-p-snack.show {
    opacity: 1;
    transform: translate(-50%, 0);
}

#stl-discover .stl-p-snack.is-error {
    border-color: var(--p-bad);
}

/* ── Responsive ────────────────────────────────── */
@media (max-width: 1200px) {
    #stl-discover .stl-p-covers {
        grid-template-columns: repeat(8, minmax(0, 1fr));
    }

    #stl-discover .stl-p-covers .stl-p-cover:nth-child(n+9) {
        display: none;
    }

    #stl-discover .stl-p-cols {
        gap: 20px;
    }

}

@media (max-width: 900px) {
    #stl-discover .stl-p-nav,    #stl-header .stl-p-nav {
        order: 2;
        width: 100%;
        margin-left: 0;
        overflow-x: auto;
        scrollbar-width: none;
    }

    #stl-discover .stl-p-topacts {
        order: 1;
        margin-left: auto;
    }

    #stl-discover .stl-d-nav-search-wrap {
        max-width: 100%;
    }

    #stl-discover .stl-d-breadcrumb {
        order: 1;
    }


    #stl-discover .stl-p-cols {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    #stl-discover .stl-p-promo,
    #stl-discover .stl-p-gate {
        padding: 28px 20px;
    }

    #stl-discover .stl-p-covers {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    #stl-discover .stl-p-covers .stl-p-cover:nth-child(n+5) {
        display: none;
    }

    #stl-discover .stl-p-row {
        gap: 10px;
        padding: 9px 6px;
        flex-wrap: wrap;
    }

    #stl-discover .stl-p-row-main {
        flex-basis: 0;
    }

    #stl-discover .stl-p-row-title {
        flex-direction: column;
        gap: 2px;
    }

    #stl-discover .stl-p-row-artist {
        max-width: 100%;
    }

    #stl-discover .stl-p-row-tags {
        flex-wrap: wrap;
    }

    #stl-discover .stl-p-row-dls {
        display: none;
    }

    #stl-discover .stl-p-cap-match {
        order: 5;
        width: 100%;
        padding-left: 48px;
        text-align: left;
        flex-direction: row;
        align-items: baseline;
        gap: 8px;
    }

    #stl-discover .stl-p-cap-match.is-train {
        flex-direction: column;
    }

    #stl-discover .stl-p-kids {
        padding-left: 10px;
    }

    #stl-discover .stl-p-compare span {
        display: none;
    }

    #stl-discover .stl-p-compare {
        width: 36px;
        padding: 0;
        justify-content: center;
    }

    #stl-discover .stl-p-cmp {
        padding: 4px 0 10px;
    }

    #stl-discover .stl-p-cmp-card {
        padding: 14px;
    }

    #stl-discover .stl-p-segbtn {
        padding: 7px 16px;
        font-size: 14px;
    }

    #stl-discover .stl-p-wave {
        height: 76px;
    }

    #stl-discover .stl-p-wave-marks {
        display: none;
    }

    #stl-discover .stl-p-cmp-chip {
        font-size: 13px;
        padding: 7px 13px;
    }

    #stl-discover .stl-p-filter-btn,
    #stl-discover .stl-p-clear {
        height: 40px;
    }

    #stl-discover .stl-p-pop {
        position: fixed;
        left: 12px;
        right: 12px;
        top: auto;
        bottom: 12px;
        max-width: none;
        max-height: 60vh;
    }

    #stl-discover .stl-p-pop.is-menu {
        left: 12px;
        right: 12px;
    }

    #stl-discover .stl-p-capav {
        width: 72px;
        height: 72px;
    }

    #stl-discover .stl-p-pagehead h1,
    #stl-discover .stl-p-capwho h1 {
        font-size: 26px;
    }

    #stl-discover .stl-p-acct span,    #stl-header .stl-p-acct span {
        display: none;
    }

    #stl-discover .stl-p-acct,    #stl-header .stl-p-acct {
        padding: 0 5px;
    }
}

@media (prefers-reduced-motion: reduce) {

    #stl-discover .stl-p-row-skel,
    #stl-discover .stl-p-wave.is-skel,
    #stl-discover .stl-p-cmp-spin {
        animation-duration: 3s;
    }

    #stl-discover .stl-p-btn,    #stl-header .stl-p-btn,
    #stl-discover .stl-p-row,
    #stl-discover .stl-p-cover,
    #stl-discover .stl-p-snack {
        transition: none;
    }
}

/* The artist's name beside Back, now that the bar it used to sit in is gone. */
#stl-discover .stl-p-backbar {
    display: flex;
    align-items: center;
    gap: 14px;
}

#stl-discover .stl-d-switcher-bar[hidden] {
    display: none;
}

/* One column for every view. Explore, Tones, Artists, My Captures and artist
   profiles all sit in the same 1540px column with the same gutters, stated
   once here so no view can drift from the others. */
#stl-discover .stl-d-inner,
#stl-discover .stl-d-profile-inner,
#stl-discover .stl-d-profile-backbar,
#stl-discover .stl-d-switcher-inner {
    width: 100%;
    max-width: 1540px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 40px;
    padding-right: 40px;
    box-sizing: border-box;
}

#stl-discover .stl-d-profile-inner {
    padding-top: 24px;
}

@media (max-width: 900px) {

    #stl-discover .stl-d-inner,
    #stl-discover .stl-d-profile-inner,
    #stl-discover .stl-d-profile-backbar,
    #stl-discover .stl-d-switcher-inner {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   DISCOVER IN THE SITE HEADER
   The header above is the site's own, unchanged. On this page its centre links
   give way to Discover's views and search, and the full site menu stays where
   it always was, behind the menu button.
   ═══════════════════════════════════════════════════════════════════════════ */
#stl-header.stl-header--discover .stl-header__nav {
    display: none;
}

#stl-header.stl-header--discover .stl-header__container {
    gap: 8px;
}

/* The site's own account button gives way to Discover's, which shows who is
   signed in and opens My Captures. */
#stl-header.stl-header--discover .stl-header__login-btn {
    display: none;
}

/* On a wide screen the header is the site's: logo at the left edge of the
   window, cart and menu at the right. Discover's block does not follow them
   out there - it takes the same 1540px column and 40px gutters as the page
   content, so the headline sits over the left edge of the page and the account
   button over the right. Below 1920px there is not the room to do both, and
   the block simply follows the logo. */
@media (min-width: 1920px) {
    #stl-header.stl-header--discover .stl-p-tools-slot {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 1540px;
        max-width: 100%;
        margin: 0;
        padding: 0 40px;
        border-left: 0;
        box-sizing: border-box;
    }
}

#stl-header .stl-d-wordmark,
#stl-p-subbar .stl-d-wordmark {
    font-family: 'STL-SF', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    color: #fff !important;
    text-decoration: none !important;
}

#stl-header .stl-d-wordmark {
    font-size: 26px;
    line-height: 1;
    margin-right: 4px;
}

#stl-header.stl-header--discover .stl-header__nav-container {
    margin-left: 16px;
    flex-shrink: 0;
}

#stl-header .stl-p-tools-slot {
    flex: 1;
    min-width: 0;
    margin-left: 24px;
    padding-left: 24px;
    border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.stl-p-tools {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.stl-p-tools button,
.stl-p-tools input {
    font-family: inherit;
}

#stl-header .stl-p-nav {
    margin-left: 0;
    flex-shrink: 0;
}

#stl-header .stl-p-nav-btn {
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.1px;
    padding: 10px 16px;
    color: rgba(255, 255, 255, 0.9);
}

#stl-header .stl-p-nav-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

#stl-header .stl-p-nav-btn.active {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

#stl-header .stl-d-nav-search-wrap {
    flex: 1;
    max-width: 560px;
    margin-left: 4px;
}

.stl-p-toolacts {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    flex-shrink: 0;
}

#stl-header #stl-p-newcapture {
    height: 38px;
}

@media (max-width: 1919px) {
    #stl-header #stl-p-newcapture {
        display: none;
    }
}

@media (max-width: 1560px) {
    #stl-header .stl-p-acct span {
        display: none;
    }

    #stl-header .stl-p-acct {
        padding: 0 5px;
    }
}

#stl-p-subbar #stl-p-newcapture {
    display: none;
}

#stl-header .stl-d-search-input {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
    padding-right: 64px;
    font-size: 14px;
}

#stl-header .stl-d-search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

#stl-header .stl-d-search-input:focus {
    background: rgba(0, 0, 0, 0.55);
    border-color: rgba(255, 255, 255, 0.3);
}

#stl-header .stl-p-acct {
    font-family: 'STL-SF', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
}

#stl-header .stl-p-acct span {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
}

#stl-header :focus-visible {
    outline: 2px solid #EDF11E;
    outline-offset: 2px;
}

/* The bar the tools drop into on a narrow screen. */
#stl-p-subbar .stl-p-tools {
    width: 100%;
}

@media (max-width: 1280px) {
    #stl-header .stl-p-tools-slot {
        margin-left: 16px;
        padding-left: 16px;
    }

    #stl-header .stl-p-tools {
        gap: 10px;
    }

    #stl-header .stl-d-wordmark {
        font-size: 22px;
    }

    #stl-header .stl-p-nav-btn {
        padding: 10px 12px;
    }
}

@media (max-width: 1240px) {

    /* Hidden until the script has moved the tools into the page bar. */
    #stl-header .stl-p-tools-slot {
        display: none;
    }
}

@media (max-width: 992px) {
    #stl-discover {
        padding-top: 70px;
    }

    #stl-p-subbar .stl-p-tools {
        flex-wrap: wrap;
        gap: 12px;
    }

    #stl-p-subbar .stl-d-wordmark,
    #stl-p-subbar .stl-p-toolacts {
        order: 1;
    }

    #stl-p-subbar .stl-p-nav {
        order: 2;
        margin-left: 0;
        width: 100%;
        overflow-x: auto;
        scrollbar-width: none;
    }

    #stl-p-subbar .stl-d-nav-search-wrap {
        order: 3;
        max-width: 100%;
        width: 100%;
        margin-left: 0;
    }

    #stl-p-subbar .stl-d-switcher-inner {
        height: auto;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    #stl-discover #stl-p-subbar {
        height: auto;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   OTHER SCREEN SIZES
   Three bands below the desktop layout:
     tablet landscape / small laptop   901 - 1240px   views and search in the page bar
     tablet portrait                   641 - 900px    four-across grids, banner still a row
     phone                             up to 640px    stacked banner, rows rebuilt as a grid
   Plus rules for touch, whatever the width.
   ═══════════════════════════════════════════════════════════════════════════ */

/* A grid column may never be wider than its track. Without this a long name
   set not to wrap pushes its column past the edge of a phone. */
#stl-discover .stl-p-col,
#stl-discover .stl-p-panel,
#stl-discover .stl-p-capwho > div {
    min-width: 0;
}

@media (max-width: 1240px) {

    /* In the page bar the search needs the room more than the name does. */
    #stl-p-subbar .stl-p-acct span {
        display: none;
    }

    #stl-p-subbar .stl-p-acct {
        padding: 0 5px;
    }

    #stl-p-subbar .stl-d-nav-search-wrap {
        flex: 1;
        max-width: none;
    }

    #stl-p-subbar .stl-p-nav {
        margin-left: 4px;
    }
}

@media (max-width: 1100px) {


    #stl-discover .stl-p-cols {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }

    #stl-discover .stl-p-cap-match {
        width: 120px;
    }
}

/* ── Tablet portrait and below ─────────────────── */
@media (max-width: 900px) {
    #stl-discover .stl-p-cols {
        grid-template-columns: minmax(0, 1fr);
        gap: 36px;
    }

    /* Four across on a tablet. The carried-over rule drops straight to two,
       which on a 768px screen makes every card nearly half the page. */
    #stl-discover .stl-d-popular-grid,
    #stl-discover .stl-d-list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 10px;
    }


    #stl-discover .stl-p-covers {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    #stl-discover .stl-p-covers .stl-p-cover:nth-child(n+5) {
        display: block;
    }

    #stl-discover .stl-p-covers .stl-p-cover:nth-child(n+7) {
        display: none;
    }

    /* Tabs and filters become one swipeable line each instead of wrapping
       into three. Their menus open as a sheet at the bottom of the screen
       at this size, so nothing is cut off by the scrolling. */
    #stl-discover .stl-p-kinds,
    #stl-discover .stl-p-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    #stl-discover .stl-p-kinds::-webkit-scrollbar,
    #stl-discover .stl-p-filters::-webkit-scrollbar,
    #stl-discover .stl-p-people::-webkit-scrollbar,
    #stl-discover .stl-p-packtiles::-webkit-scrollbar,
    #stl-discover .stl-p-nav::-webkit-scrollbar {
        display: none;
    }

    #stl-discover .stl-p-kind,
    #stl-discover .stl-p-filter,
    #stl-discover .stl-p-clear {
        flex-shrink: 0;
        white-space: nowrap;
    }

    #stl-discover .stl-p-filter {
        position: static;
    }

    #stl-discover .stl-p-pop,
    #stl-discover .stl-p-pop.is-menu {
        bottom: calc(12px + env(safe-area-inset-bottom, 0px));
        z-index: 1000;
        box-shadow: 0 -8px 60px rgba(0, 0, 0, 0.8);
    }

    #stl-discover .stl-p-opt {
        padding: 13px 12px;
        font-size: 15px;
    }

    #stl-discover .stl-p-snack {
        bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    }

    #stl-discover .stl-p-caphead {
        gap: 16px;
        margin-bottom: 20px;
    }

    /* On a tablet the match stays where it is on a desktop: before the
       buttons, not after them. */
    #stl-discover .stl-p-row.is-cap {
        flex-wrap: nowrap;
    }

    #stl-discover .stl-p-cap-match {
        order: 0;
        width: 104px;
        padding-left: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 3px;
        text-align: right;
    }

    #stl-discover .stl-p-promo {
        gap: 20px;
    }
}

/* ── Phone ─────────────────────────────────────── */
@media (max-width: 640px) {

    #stl-discover .stl-d-popular-grid,
    #stl-discover .stl-d-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    #stl-discover .stl-p-covers {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
    }

    #stl-discover .stl-p-covers .stl-p-cover:nth-child(n+5) {
        display: none;
    }


    #stl-discover .stl-p-sec {
        margin-bottom: 32px;
    }

    #stl-discover .stl-p-sec-head h2 {
        font-size: 21px;
    }

    #stl-discover .stl-p-panel {
        border-radius: 14px;
    }

    #stl-discover .stl-p-kinds,
    #stl-discover .stl-p-filters {
        padding: 10px 12px;
    }

    #stl-discover .stl-p-chips {
        padding: 12px 12px 0;
    }

    #stl-discover .stl-p-strip {
        padding: 0 12px;
    }

    #stl-discover .stl-p-listhead {
        padding: 16px 12px 8px;
    }

    #stl-discover #view-artists .stl-p-listhead {
        padding: 0 0 12px;
    }

    #stl-discover .stl-p-list {
        padding: 0 4px 6px;
    }

    #stl-discover .stl-p-count {
        font-size: 16px;
    }

    #stl-discover .stl-p-sort > span {
        display: none;
    }

    /* A row on a phone. The name gets the top line beside the artwork with
       the buttons at the end of it; the tags take the full width underneath,
       two lines at most, instead of a tall stack squeezed beside the
       buttons. */
    #stl-discover .stl-p-row {
        display: grid;
        grid-template-columns: auto 44px minmax(0, 1fr) auto;
        column-gap: 10px;
        row-gap: 8px;
        align-items: center;
        padding: 10px 8px;
    }

    #stl-discover .stl-p-row.is-cap {
        grid-template-columns: 44px minmax(0, 1fr) auto;
    }

    #stl-discover .stl-p-row-skel {
        display: block;
    }

    #stl-discover .stl-p-row-main {
        display: contents;
    }

    #stl-discover .stl-p-row-lead {
        grid-column: 1;
        grid-row: 1;
    }

    #stl-discover .stl-p-row-thumb {
        grid-column: 2;
        grid-row: 1;
    }

    #stl-discover .stl-p-row-title {
        grid-column: 3;
        grid-row: 1;
        min-width: 0;
    }

    #stl-discover .stl-p-row-end {
        grid-column: 4;
        grid-row: 1;
        gap: 6px;
    }

    #stl-discover .stl-p-row.is-cap .stl-p-row-thumb {
        grid-column: 1;
    }

    #stl-discover .stl-p-row.is-cap .stl-p-row-title {
        grid-column: 2;
    }

    #stl-discover .stl-p-row.is-cap .stl-p-row-end {
        grid-column: 3;
    }

    #stl-discover .stl-p-row-tags {
        grid-column: 2 / -1;
        grid-row: 2;
        margin-top: 0;
        flex-wrap: wrap;
        max-height: 46px;
        overflow: hidden;
    }

    #stl-discover .stl-p-row.is-cap .stl-p-row-tags,
    #stl-discover .stl-p-row.is-cap .stl-p-row-err,
    #stl-discover .stl-p-row.is-cap .stl-p-cap-match {
        grid-column: 1 / -1;
    }

    #stl-discover .stl-p-row-err {
        grid-column: 2 / -1;
        grid-row: 3;
        margin-top: 0;
        white-space: normal;
    }

    #stl-discover .stl-p-cap-match {
        grid-row: 4;
        width: auto;
        padding-left: 0;
        flex-direction: row;
        align-items: baseline;
        gap: 8px;
        text-align: left;
    }

    #stl-discover .stl-p-cap-match.is-train {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }

    #stl-discover .stl-p-row-gear {
        display: none;
    }

    #stl-discover .stl-p-row-name {
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        line-height: 1.25;
    }

    #stl-discover .stl-p-kids {
        padding: 2px 6px 10px;
    }

    /* My Captures */
    #stl-discover .stl-p-capwho {
        gap: 14px;
        width: 100%;
    }

    #stl-discover .stl-p-capav {
        width: 64px;
        height: 64px;
    }

    #stl-discover .stl-p-capwho h1 {
        font-size: 22px;
        margin-bottom: 10px;
    }

    #stl-discover .stl-p-capwho .stl-d-profile-stats {
        flex-wrap: wrap;
        gap: 6px;
        justify-content: flex-start;
    }

    #stl-discover .stl-p-capwho .stl-d-stat-pill {
        padding: 6px 12px;
        font-size: 12px;
    }

    #stl-discover .stl-p-caphead .stl-p-promo-acts {
        width: 100%;
    }

    #stl-discover .stl-p-caphead .stl-p-promo-acts .stl-p-btn {
        flex: 1;
    }

    #stl-discover .stl-p-packtile {
        min-width: 150px;
        padding: 10px 12px;
    }

    #stl-discover .stl-p-publiclist {
        padding: 0 6px 8px;
    }

    #stl-discover .stl-p-cmp-top {
        margin-bottom: 14px;
    }

    #stl-discover .stl-p-cmp-bar {
        margin: 12px 0 14px;
    }

    #stl-discover .stl-p-promo .stl-p-promo-acts,
    #stl-discover .stl-p-gate .stl-p-promo-acts {
        width: 100%;
    }

    #stl-discover .stl-p-dialog-box {
        padding: 22px;
    }

    #stl-discover .stl-p-dialog-acts .stl-p-btn {
        flex: 1;
    }

    #stl-discover .stl-p-empty {
        padding: 40px 16px;
    }
}

/* ── Touch, at any width ───────────────────────── */
@media (hover: none), (pointer: coarse) {

    /* Space and A are keys. Nobody on a phone has them. */
    #stl-discover .stl-p-cmp-foot {
        display: none;
    }

    #stl-discover .stl-p-chip {
        height: 36px;
        padding: 0 14px;
        font-size: 13px;
    }

    #stl-discover .stl-p-arrow {
        width: 40px;
        height: 40px;
    }


    #stl-discover .stl-p-kind {
        padding: 11px 16px;
    }

    #stl-discover .stl-p-wave {
        touch-action: manipulation;
    }

    /* iOS zooms the page when a field under 16px takes focus. */
    #stl-discover .stl-p-sort select,
    #stl-p-subbar .stl-d-search-input,
    #stl-header .stl-d-search-input {
        font-size: 16px;
    }

    #stl-discover .stl-p-sort select {
        height: 40px;
    }

    /* Hover lifts stick after a tap on a touch screen. */
    #stl-discover .expansion-grid-card:hover,
    #stl-discover .stl-p-cover:hover {
        transform: none;
    }
}

/* The carried-over phone rules set overflow: visible on the profile photo.
   Current browsers honour that on an image, which lets it paint outside its
   own rounded corners - a square photo over a round frame. */
#stl-discover img.stl-d-profile-avatar {
    overflow: clip;
}

/* One clear button, not two: the browser adds its own to a search field. */
#stl-p-search::-webkit-search-cancel-button,
#stl-p-search::-webkit-search-decoration {
    -webkit-appearance: none;
    appearance: none;
    display: none;
}

#stl-p-search:focus-visible {
    outline-offset: -1px;
}

/* A phone on its side is wide but very short. Menus open as the bottom sheet
   there too, so they are never below the fold. */
@media (max-height: 520px) {
    #stl-discover .stl-p-filter {
        position: static;
    }

    #stl-discover .stl-p-pop,
    #stl-discover .stl-p-pop.is-menu {
        position: fixed;
        left: 12px;
        right: 12px;
        top: auto;
        bottom: calc(10px + env(safe-area-inset-bottom, 0px));
        max-width: none;
        max-height: 70vh;
        z-index: 1000;
    }
}

/* ── Tab bars on a phone ───────────────────────────
   Explore / Tones / Artists / My Captures takes the same look as the
   ToneHub / ControlHub / AmpHub switch (a rounded tray with the current tab
   raised), and both run the full width of the screen with their tabs sharing
   it equally. */
@media (max-width: 640px) {
    #stl-discover #stl-p-subbar .stl-p-nav {
        display: flex;
        gap: 2px;
        width: 100%;
        margin-left: 0;
        padding: 4px;
        box-sizing: border-box;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.06);
        overflow: visible;
    }

    #stl-discover #stl-p-subbar .stl-p-nav-btn {
        flex: 1 1 0;
        min-width: 0;
        padding: 9px 4px;
        border: 1px solid transparent;
        border-radius: 999px;
        background: transparent;
        color: rgba(255, 255, 255, 0.55);
        font-size: 13px;
        font-weight: 600;
        letter-spacing: -0.01em;
        text-align: center;
        white-space: nowrap;
    }

    #stl-discover #stl-p-subbar .stl-p-nav-btn.active {
        background: rgba(255, 255, 255, 0.12);
        color: #fff;
    }

    /* "My Captures" is the long one: it takes a little more of the row so no
       label is cut. */
    #stl-discover #stl-p-subbar .stl-p-nav-btn[data-view="captures"] {
        flex-grow: 1.5;
    }

    #stl-discover #view-explore .stl-d-tabs {
        display: flex;
        width: 100%;
        box-sizing: border-box;
    }

    #stl-discover #view-explore .stl-d-tab {
        flex: 1 1 0;
        min-width: 0;
        justify-content: center;
        padding: 9px 4px;
        white-space: nowrap;
    }
}

@media (max-width: 640px) and (hover: none), (max-width: 640px) and (pointer: coarse) {
    #stl-discover #stl-p-subbar .stl-p-nav-btn,
    #stl-discover #view-explore .stl-d-tab {
        padding-top: 11px;
        padding-bottom: 11px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   FEATURED BANNER
   The artist's photo fills the right of the card at full height and fades
   into black towards the left, where the words sit. No blurred background and
   no separate square of artwork: the photo is the picture.
   ═══════════════════════════════════════════════════════════════════════════ */
#stl-discover .stl-p-hero {
    position: relative;
    display: flex;
    overflow: hidden;
    min-height: 420px;
    margin-bottom: 48px;
    border-radius: 20px;
    border: 1px solid var(--p-line);
    background: #0b0b0b;
}

#stl-discover .stl-p-hero-skel {
    background: linear-gradient(90deg, #111 25%, #1b1b1b 50%, #111 75%);
    background-size: 200% 100%;
    animation: stl-shimmer 1.5s infinite;
}

/* The words may run on over the faded edge of the photo, so the column is a
   little wider than its share and sits above the picture. */
#stl-discover .stl-p-hero-body {
    position: relative;
    z-index: 2;
    flex: 1;
    min-width: 0;
    margin-right: -140px;
    padding: 48px 0 48px 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#stl-discover .stl-p-hero-kicker {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--p-accent);
    margin-bottom: 14px;
}

#stl-discover .stl-p-hero-title {
    font-size: clamp(34px, 4.6vw, 68px);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 1;
    text-wrap: balance;
}

#stl-discover .stl-p-hero-sub {
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.76);
}

#stl-discover .stl-p-hero-acts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

#stl-discover .stl-p-hero-photo {
    position: relative;
    width: 56%;
    flex-shrink: 0;
    background: #141414;
}

/* Faces sit in the upper part of these photos, so the crop favours the top. */
#stl-discover .stl-p-hero-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 22%;
    display: block;
}

/* The long fade. */
#stl-discover .stl-p-hero-photo::before {
    content: "";
    position: absolute;
    z-index: 1;
    left: -1px;
    top: 0;
    bottom: 0;
    width: 42%;
    background: linear-gradient(90deg, #0b0b0b 0%, rgba(11, 11, 11, 0.72) 38%, rgba(11, 11, 11, 0) 100%);
    pointer-events: none;
}

#stl-discover .stl-p-hero-arrows {
    position: absolute;
    z-index: 2;
    right: 24px;
    bottom: 24px;
    display: flex;
    gap: 8px;
}

#stl-discover .stl-p-hero-arrows .stl-p-arrow {
    width: 44px;
    height: 44px;
    background: rgba(12, 12, 12, 0.72);
    border-color: rgba(255, 255, 255, 0.22);
}

#stl-discover .stl-p-hero-arrows .stl-p-arrow:hover {
    background: rgba(40, 40, 40, 0.9);
}

/* Position marks, under the buttons. The mark is drawn by ::before so the
   button itself can be a decent size to press. */
#stl-discover .stl-p-hero-dots {
    display: flex;
    align-items: center;
    margin: 22px 0 0 -6px;
}

#stl-discover .stl-p-hero-dot {
    width: 18px;
    height: 24px;
    padding: 0;
    border: 0;
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: width 0.25s ease;
}

#stl-discover .stl-p-hero-dot::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.42);
    transition: width 0.25s ease, background 0.2s;
}

#stl-discover .stl-p-hero-dot:hover::before {
    background: rgba(255, 255, 255, 0.8);
}

#stl-discover .stl-p-hero-dot.on {
    width: 34px;
}

#stl-discover .stl-p-hero-dot.on::before {
    width: 22px;
    background: #fff;
}

@media (max-width: 1100px) {
    #stl-discover .stl-p-hero {
        min-height: 380px;
    }

    #stl-discover .stl-p-hero-body {
        padding: 40px 0 40px 40px;
        margin-right: -110px;
    }

    #stl-discover .stl-p-hero-photo {
        width: 52%;
    }
}

/* Tablet portrait: still side by side. */
@media (max-width: 900px) {
    #stl-discover .stl-p-hero {
        min-height: 330px;
        margin-bottom: 36px;
    }

    #stl-discover .stl-p-hero-body {
        padding: 32px 0 32px 28px;
        margin-right: -80px;
    }

    #stl-discover .stl-p-hero-sub {
        font-size: 14px;
        margin-top: 12px;
    }

    #stl-discover .stl-p-hero-photo {
        width: 50%;
    }

    #stl-discover .stl-p-hero-arrows {
        right: 16px;
        bottom: 16px;
    }
}

/* Phone: the photo across the top, fading down into the card; words under. */
@media (max-width: 640px) {
    #stl-discover .stl-p-hero {
        flex-direction: column-reverse;
        min-height: 0;
        margin-bottom: 32px;
        border-radius: 16px;
    }

    #stl-discover .stl-p-hero-body {
        margin: -34px 0 0;
        padding: 0 18px 22px;
    }

    #stl-discover .stl-p-hero-title {
        font-size: 30px;
    }

    #stl-discover .stl-p-hero-sub {
        margin-top: 10px;
    }

    #stl-discover .stl-p-hero-acts {
        margin-top: 18px;
    }

    #stl-discover .stl-p-hero-dots {
        margin-top: 16px;
    }

    #stl-discover .stl-p-hero-photo {
        width: 100%;
        height: 230px;
    }

    #stl-discover .stl-p-hero-photo::before {
        left: 0;
        right: 0;
        top: auto;
        bottom: -1px;
        width: auto;
        height: 62%;
        background: linear-gradient(0deg, #0b0b0b 0%, rgba(11, 11, 11, 0.7) 40%, rgba(11, 11, 11, 0) 100%);
    }

    #stl-discover .stl-p-hero-arrows {
        right: 12px;
        top: 12px;
        bottom: auto;
    }

    #stl-discover .stl-p-hero-arrows .stl-p-arrow {
        width: 40px;
        height: 40px;
    }
}

@media (hover: none), (pointer: coarse) {
    #stl-discover .stl-p-hero-dot {
        height: 32px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #stl-discover .stl-p-hero-skel {
        animation-duration: 3s;
    }

    #stl-discover .stl-p-hero-dot,
    #stl-discover .stl-p-hero-dot::before {
        transition: none;
    }
}


/* ── Phone top bar order (1.1.13) ─────────────────
   Discover and the account button, then ToneHub / ControlHub / AmpHub (on
   Explore only), then the search, then Explore / Tones / Artists /
   My Captures. The product switch is drawn into the bar by the script and
   the copy inside Explore is hidden at this size. */
#stl-discover .stl-p-prodslot,
#stl-header .stl-p-prodslot {
    display: none;
}

@media (max-width: 640px) {
    #stl-discover[data-view="explore"] #stl-p-subbar .stl-p-prodslot {
        display: block;
        order: 2;
        width: 100%;
    }

    #stl-discover #stl-p-subbar .stl-p-prodslot .stl-d-tabs {
        display: flex;
        width: 100%;
        box-sizing: border-box;
        margin: 0;
    }

    #stl-discover #stl-p-subbar .stl-p-prodslot .stl-d-tab {
        flex: 1 1 0;
        min-width: 0;
        justify-content: center;
        padding: 11px 4px;
        white-space: nowrap;
    }

    #stl-discover #stl-p-subbar .stl-d-nav-search-wrap {
        order: 3;
    }

    #stl-discover #stl-p-subbar .stl-p-nav {
        order: 4;
    }

    #stl-discover #view-explore .stl-d-inner > .stl-d-tabs {
        display: none;
    }
}
