:root {
    --chw-player-height: 88px;
}

.chw-widget {
    --chw-columns: 4;
    --chw-col-width: calc((100% + 20px) / 4 - 20px);
    --chw-gap: 20px;
    --chw-radius: 18px;
    --chw-card-bg: transparent;
    --chw-accent: #8b5cf6;
    --chw-green: #33d17a;
    --chw-text: #f7f7fb;
    --chw-muted: rgba(247, 247, 251, .52);
    --chw-border: rgba(255, 255, 255, .09);
    position: relative;
    width: 100%;
    color: var(--chw-text);
}

.chw-widget *,
.chw-player * {
    box-sizing: border-box;
}

.chw-items {
    min-width: 0;
}

.chw-layout-grid .chw-items {
    display: grid;
    grid-template-columns: repeat(var(--chw-columns), minmax(0, 1fr));
    gap: var(--chw-gap);
}

.chw-layout-carousel {
    --chw-arrow-offset: 28px;
    padding-inline: 0;
}

.chw-layout-carousel.chw-bleed-left,
.chw-layout-carousel.chw-bleed-right,
.chw-layout-carousel.chw-bleed-full {
    max-width: none;
}

.chw-layout-carousel.chw-bleed-left {
    width: calc(50vw + 50%);
    margin-left: calc(50% - 50vw);
}

.chw-layout-carousel.chw-bleed-right {
    width: calc(50vw + 50%);
}

.chw-layout-carousel.chw-bleed-full {
    width: 100vw;
    margin-left: calc(50% - 50vw);
}

.chw-layout-carousel .chw-items {
    display: flex;
    gap: var(--chw-gap);
    overflow-x: auto;
    padding: 2px 2px 12px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.chw-layout-carousel .chw-items::-webkit-scrollbar {
    display: none;
}

.chw-layout-carousel .chw-track-card {
    flex: 0 0 var(--chw-col-width);
    min-width: 0;
    scroll-snap-align: start;
}

.chw-track-card {
    position: relative;
    min-width: 0;
    border-radius: var(--chw-radius);
    background: var(--chw-card-bg);
    transition: transform .22s ease, background-color .22s ease;
}

.chw-layout-grid .chw-track-card,
.chw-layout-carousel .chw-track-card {
    padding: 0;
}

.chw-cover-wrap {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: var(--chw-radius);
    background: #11131a;
    box-shadow: inset 0 0 0 1px var(--chw-border);
}

.chw-cover {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease, filter .25s ease;
}

.chw-cover-placeholder {
    background:
        radial-gradient(circle at 30% 20%, rgba(139, 92, 246, .65), transparent 45%),
        linear-gradient(145deg, #151822, #08090e);
}

.chw-track-card:hover .chw-cover {
    transform: scale(1.025);
}

.chw-track-card.is-current .chw-cover-wrap {
    box-shadow: inset 0 0 0 2px var(--chw-green), 0 0 0 1px var(--chw-green);
}

.chw-play {
    position: absolute;
    right: 14px;
    bottom: 14px;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #07130c;
    background: var(--chw-green);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .38);
    cursor: pointer;
    opacity: 0;
    transform: translateY(7px);
    transition: opacity .2s ease, transform .2s ease, background-color .2s ease;
    z-index: 4;
}

.chw-track-card:hover .chw-play,
.chw-track-card:focus-within .chw-play,
.chw-track-card.is-current .chw-play,
.chw-layout-hero .chw-play {
    opacity: 1;
    transform: translateY(0);
}

.chw-play:hover {
    background: #58e493;
}

.chw-play svg,
.chw-player button svg,
.chw-player-volume-wrap > svg,
.chw-carousel-arrow svg {
    display: block;
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.chw-pause-icon {
    display: none;
}

.is-playing .chw-play-icon,
.chw-player.is-playing .chw-player-toggle .chw-play-icon {
    display: none;
}

.is-playing .chw-pause-icon,
.chw-player.is-playing .chw-player-toggle .chw-pause-icon {
    display: block;
}

.chw-track-info {
    min-width: 0;
    padding: 13px 2px 2px;
}

.chw-track-title {
    margin: 0;
    color: var(--chw-text);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chw-track-title a {
    color: inherit;
    text-decoration: none;
}

.chw-track-artist {
    margin-top: 2px;
    color: rgba(247, 247, 251, .74);
    font-size: 14px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chw-track-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px 10px;
    margin-top: 7px;
    color: var(--chw-muted);
    font-size: 12px;
    line-height: 1.35;
}

.chw-track-meta > * + *::before {
    content: "·";
    margin-right: 8px;
    color: rgba(255, 255, 255, .25);
}

.chw-track-meta a {
    color: inherit;
    text-decoration: none;
}

.chw-track-meta a:hover,
.chw-track-title a:hover {
    color: var(--chw-green);
}

.chw-spotify-badge {
    display: inline-flex;
    align-items: center;
    color: #1ed760 !important;
    font-weight: 700;
}

.chw-rank {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    display: grid;
    place-items: center;
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    color: #fff;
    background: rgba(5, 6, 10, .72);
    backdrop-filter: blur(12px);
    font-size: 14px;
    font-weight: 800;
}

.chw-carousel-arrow {
    position: absolute;
    top: calc(50% - 40px);
    z-index: 8;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid var(--chw-border);
    border-radius: 50%;
    color: #fff;
    background: rgba(8, 9, 14, .86);
    box-shadow: 0 10px 26px rgba(0, 0, 0, .26);
    cursor: pointer;
    transform: translateY(-50%);
}

.chw-carousel-prev { left: calc(-1 * var(--chw-arrow-offset)); }
.chw-carousel-next { right: calc(-1 * var(--chw-arrow-offset)); }

.chw-layout-carousel.chw-bleed-left .chw-carousel-prev,
.chw-layout-carousel.chw-bleed-full .chw-carousel-prev {
    left: 10px;
}

.chw-layout-carousel.chw-bleed-right .chw-carousel-next,
.chw-layout-carousel.chw-bleed-full .chw-carousel-next {
    right: 10px;
}

.chw-layout-chart .chw-items,
.chw-layout-compact .chw-items {
    display: grid;
    gap: 8px;
}

.chw-layout-compact .chw-items {
    gap: 4px;
}

.chw-layout-chart,
.chw-layout-chart .chw-items,
.chw-layout-chart .chw-track-card {
    width: 100%;
    max-width: none;
}

.chw-layout-chart .chw-track-card,
.chw-layout-compact .chw-track-card {
    display: grid;
    grid-template-columns: 52px 72px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    min-height: 82px;
    padding: 5px 18px 5px 8px;
    border: 1px solid var(--chw-border);
    background: var(--chw-card-bg, rgba(255, 255, 255, .035));
}

.chw-layout-chart .chw-track-card:not(.chw-has-rank) {
    grid-template-columns: 72px minmax(0, 1fr);
}

.chw-layout-chart .chw-track-card.chw-has-row-play {
    grid-template-columns: 52px 72px minmax(0, 1fr) 42px;
}

.chw-layout-chart .chw-track-card.chw-has-row-play:not(.chw-has-rank) {
    grid-template-columns: 72px minmax(0, 1fr) 42px;
}

.chw-layout-chart .chw-rank,
.chw-layout-compact .chw-rank {
    position: static;
    border: 0;
    color: rgba(255, 255, 255, .84);
    background: none;
    backdrop-filter: none;
    font-size: 25px;
}

.chw-layout-chart .chw-cover-wrap,
.chw-layout-compact .chw-cover-wrap {
    width: 72px;
    height: 72px;
    border-radius: calc(var(--chw-radius) * .65);
}

.chw-layout-chart .chw-track-info,
.chw-layout-compact .chw-track-info {
    padding: 0 62px 0 0;
}

.chw-layout-chart .chw-track-info {
    padding-right: 0;
}

.chw-layout-chart .chw-play,
.chw-layout-compact .chw-play {
    right: 10px;
    bottom: 50%;
    width: 42px;
    height: 42px;
    transform: translateY(50%);
}

.chw-layout-chart .chw-play {
    right: 6px;
    width: 36px;
    height: 36px;
    opacity: 0;
    transform: translateY(calc(50% + 6px));
}

.chw-layout-chart .chw-play-row,
.chw-layout-chart .chw-track-card:hover .chw-play-row,
.chw-layout-chart .chw-track-card:focus-within .chw-play-row,
.chw-layout-chart .chw-track-card.is-current .chw-play-row,
.chw-layout-chart .chw-track-card.is-playing .chw-play-row {
    position: static;
    right: auto;
    bottom: auto;
    justify-self: end;
    width: 36px;
    height: 36px;
    opacity: 1;
    transform: none;
}

.chw-style-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 5px;
}

.chw-style-chips a,
.chw-style-chips span {
    display: inline-flex;
    align-items: center;
    min-height: 19px;
    padding: 2px 7px;
    border-radius: 999px;
    color: #07130c;
    background: color-mix(in srgb, var(--chw-green) 88%, white);
    font-size: 10px;
    font-weight: 750;
    line-height: 1;
    text-decoration: none;
}

.chw-layout-chart .chw-track-card:hover .chw-play,
.chw-layout-chart .chw-track-card:focus-within .chw-play,
.chw-layout-chart .chw-track-card.is-current .chw-play,
.chw-layout-chart .chw-track-card.is-playing .chw-play {
    opacity: 1;
    transform: translateY(50%);
}

.chw-layout-chart .chw-track-card.is-playing .chw-play,
.chw-layout-compact .chw-track-card.is-playing .chw-play {
    transform: translateY(50%);
}

.chw-layout-compact .chw-track-card {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 10px;
    min-height: 52px;
    padding: 3px 8px 3px 4px;
}

.chw-layout-compact .chw-rank {
    display: none;
}

.chw-layout-compact .chw-cover-wrap {
    width: 46px;
    height: 46px;
    border-radius: calc(var(--chw-radius) * .45);
}

.chw-layout-compact .chw-track-info {
    padding: 0;
}

.chw-layout-compact .chw-track-title {
    font-size: 14px;
    line-height: 1.12;
}

.chw-layout-compact .chw-track-artist {
    margin-top: 1px;
    font-size: 12px;
    line-height: 1.15;
}

.chw-layout-compact .chw-track-meta {
    gap: 2px 7px;
    margin-top: 2px;
    font-size: 10px;
    line-height: 1.15;
}

.chw-layout-compact .chw-play {
    right: 4px;
    bottom: 4px;
    width: 28px;
    height: 28px;
    opacity: 0;
    transform: translateY(4px);
}

.chw-layout-compact .chw-track-card:hover .chw-play,
.chw-layout-compact .chw-track-card:focus-within .chw-play,
.chw-layout-compact .chw-track-card.is-current .chw-play,
.chw-layout-compact .chw-track-card.is-playing .chw-play {
    opacity: 1;
    transform: none;
}

.chw-layout-chart .chw-track-card.chw-cover-only {
    grid-template-columns: 52px 72px;
    width: max-content;
    min-height: 0;
    padding-right: 8px;
}

.chw-layout-chart .chw-track-card.chw-cover-only:not(.chw-has-rank) {
    grid-template-columns: 72px;
}

.chw-layout-chart .chw-track-card.chw-cover-only.chw-has-row-play {
    grid-template-columns: 52px 72px 42px;
}

.chw-layout-chart .chw-track-card.chw-cover-only.chw-has-row-play:not(.chw-has-rank) {
    grid-template-columns: 72px 42px;
}

.chw-layout-compact .chw-track-card.chw-cover-only {
    grid-template-columns: 46px;
    width: 46px;
    min-height: 0;
    padding: 0;
}

.chw-layout-hero .chw-items {
    display: grid;
    gap: var(--chw-gap);
}

.chw-layout-hero {
    min-width: 0;
    max-width: 100%;
    container: chw-hero / inline-size;
}

.chw-layout-hero .chw-track-card {
    display: grid;
    grid-template-columns: minmax(0, min(46%, 480px)) minmax(0, 1fr);
    align-items: center;
    gap: clamp(16px, 4cqi, 54px);
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    padding: clamp(12px, 3.5cqi, 42px);
    border: 1px solid var(--chw-border);
    background:
        radial-gradient(circle at 15% 20%, color-mix(in srgb, var(--chw-accent) 26%, transparent), transparent 42%),
        var(--chw-card-bg, rgba(255, 255, 255, .035));
}

.chw-layout-hero .chw-cover-wrap {
    width: 100%;
    max-width: none;
}

.chw-layout-hero .chw-track-info {
    padding: 0;
}

.chw-layout-hero .chw-track-title {
    font-size: clamp(24px, 6cqi, 60px);
    line-height: 1.02;
    white-space: normal;
}

.chw-layout-hero .chw-track-artist {
    margin-top: clamp(4px, 1.2cqi, 12px);
    font-size: clamp(15px, 2.6cqi, 25px);
}

.chw-layout-hero .chw-track-meta {
    margin-top: 18px;
    font-size: 14px;
}

.chw-layout-hero .chw-rank {
    top: 30px;
    left: 30px;
    min-width: 52px;
    height: 52px;
    font-size: 21px;
}

.chw-layout-hero .chw-play {
    width: clamp(42px, 8cqi, 62px);
    height: clamp(42px, 8cqi, 62px);
}

.chw-layout-hero .chw-track-card.chw-cover-only {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
}

@container chw-hero (max-width: 680px) {
    .chw-layout-hero .chw-track-card {
        grid-template-columns: minmax(0, 1fr);
        gap: clamp(12px, 4cqi, 22px);
    }

    .chw-layout-hero .chw-track-title {
        font-size: clamp(24px, 9cqi, 42px);
    }

    .chw-layout-hero .chw-rank {
        top: clamp(18px, 5cqi, 28px);
        left: clamp(18px, 5cqi, 28px);
    }
}

.chw-empty {
    padding: 24px;
    border: 1px dashed rgba(255, 255, 255, .18);
    border-radius: 14px;
    color: rgba(255, 255, 255, .58);
    text-align: center;
}

.chw-track-search {
    --chw-search-bg: rgba(255, 255, 255, .035);
    --chw-search-accent: #33d17a;
    --chw-search-text: #f7f7fb;
    --chw-search-radius: 20px;
    padding: clamp(20px, 4vw, 42px);
    border: 1px solid var(--chw-border);
    border-radius: var(--chw-search-radius);
    color: var(--chw-search-text);
    background: var(--chw-search-bg);
}

.chw-search-heading {
    margin: 0;
    color: inherit;
    font-size: clamp(25px, 3.4vw, 42px);
    line-height: 1.08;
}

.chw-search-description {
    max-width: 720px;
    margin: 9px 0 20px;
    color: color-mix(in srgb, var(--chw-search-text) 65%, transparent);
    font-size: 14px;
    line-height: 1.45;
}

.chw-search-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    width: 100%;
}

.chw-search-form input[type="search"] {
    width: 100%;
    min-height: 52px;
    margin: 0;
    padding: 0 17px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: calc(var(--chw-search-radius) * .62);
    outline: none;
    color: var(--chw-search-text);
    background: rgba(4, 6, 10, .6);
    box-shadow: none;
    font: inherit;
}

.chw-search-form input[type="search"]:focus {
    border-color: var(--chw-search-accent);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--chw-search-accent) 22%, transparent);
}

.chw-search-form button {
    min-height: 52px;
    padding: 0 22px;
    border: 0;
    border-radius: calc(var(--chw-search-radius) * .62);
    color: #07130c;
    background: var(--chw-search-accent);
    font: inherit;
    font-weight: 750;
    cursor: pointer;
}

.chw-search-status {
    min-height: 19px;
    margin: 7px 2px 0;
    color: color-mix(in srgb, var(--chw-search-text) 48%, transparent);
    font-size: 11px;
}

.chw-search-results {
    display: grid;
    gap: 6px;
}

.chw-search-result {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 62px;
    padding: 4px 8px 4px 4px;
    border: 1px solid var(--chw-border);
    background: rgba(4, 6, 10, .38);
}

.chw-search-result .chw-cover-wrap {
    width: 54px;
    height: 54px;
    border-radius: calc(var(--chw-search-radius) * .42);
}

.chw-search-result .chw-track-info {
    padding: 0;
}

.chw-search-result .chw-track-title {
    font-size: 15px;
    line-height: 1.15;
}

.chw-search-result .chw-track-artist {
    margin-top: 2px;
    font-size: 12px;
}

.chw-search-result .chw-track-meta {
    margin-top: 3px;
    font-size: 10px;
}

.chw-search-play {
    position: static;
    width: 40px;
    height: 40px;
    opacity: 1;
    transform: none;
    background: var(--chw-search-accent);
}

.chw-search-actions {
    display: flex;
    align-items: center;
    gap: 7px;
}

.chw-search-share {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid color-mix(in srgb, var(--chw-search-text) 18%, transparent);
    border-radius: 50%;
    color: color-mix(in srgb, var(--chw-search-text) 72%, transparent);
    background: rgba(255, 255, 255, .035);
    cursor: pointer;
}

.chw-search-share:hover,
.chw-search-share:focus-visible {
    border-color: var(--chw-search-accent);
    outline: none;
    color: var(--chw-search-text);
    background: color-mix(in srgb, var(--chw-search-accent) 16%, transparent);
}

.chw-search-share svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
}

.chw-search-result:hover .chw-search-play,
.chw-search-result:focus-within .chw-search-play,
.chw-search-result.is-current .chw-search-play {
    opacity: 1;
    transform: none;
}

.chw-search-empty {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 10px;
    padding: 13px 15px;
    border: 1px dashed rgba(255, 255, 255, .17);
    border-radius: calc(var(--chw-search-radius) * .6);
    color: color-mix(in srgb, var(--chw-search-text) 65%, transparent);
    font-size: 13px;
}

.chw-search-empty[hidden] {
    display: none;
}

.chw-search-empty a,
.chw-search-empty strong {
    color: var(--chw-search-accent);
    text-decoration: none;
}

.chw-player {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 999999;
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(360px, 1.7fr) minmax(150px, 1fr);
    align-items: center;
    gap: 24px;
    min-height: var(--chw-player-height);
    padding: 10px clamp(16px, 3vw, 42px);
    border-top: 1px solid rgba(255, 255, 255, .1);
    color: #f8f8fb;
    background: rgba(8, 9, 13, .95);
    box-shadow: 0 -20px 50px rgba(0, 0, 0, .3);
    backdrop-filter: blur(22px) saturate(140%);
    transform: translateY(110%);
    transition: transform .28s ease;
}

.chw-player.is-active {
    transform: translateY(0);
}

body.chw-player-is-active {
    padding-bottom: var(--chw-player-height) !important;
}

.chw-player-track {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.chw-player-cover {
    width: 62px;
    height: 62px;
    flex: 0 0 62px;
    border-radius: 9px;
    object-fit: cover;
    background: #151721;
}

.chw-player-copy {
    display: grid;
    min-width: 0;
}

.chw-player-title,
.chw-player-event {
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chw-player-title {
    font-size: 15px;
    font-weight: 750;
}

.chw-player-artist {
    overflow: hidden;
    margin-top: 2px;
    color: rgba(255, 255, 255, .6);
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chw-player-event {
    margin-top: 3px;
    color: rgba(255, 255, 255, .42);
    font-size: 11px;
}

.chw-player-transport {
    display: grid;
    gap: 7px;
}

.chw-player-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.chw-player button {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    color: rgba(255, 255, 255, .75);
    background: transparent;
    cursor: pointer;
}

.chw-player button:hover {
    color: #fff;
}

.chw-player .chw-player-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #07130c;
    background: #33d17a;
}

.chw-player-progress-row {
    display: grid;
    grid-template-columns: 38px minmax(100px, 1fr) 38px;
    align-items: center;
    gap: 9px;
    color: rgba(255, 255, 255, .5);
    font-size: 10px;
    font-variant-numeric: tabular-nums;
}

.chw-player input[type="range"] {
    width: 100%;
    height: 4px;
    margin: 0;
    padding: 0;
    accent-color: #33d17a;
    cursor: pointer;
}

.chw-player-volume-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.chw-player-volume-wrap > svg {
    width: 19px;
    color: rgba(255, 255, 255, .55);
}

.chw-player-volume {
    max-width: 120px;
}

@media (max-width: 900px) {
    :root { --chw-player-height: 82px; }
    .chw-player {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 14px;
    }
    .chw-player-transport {
        display: contents;
    }
    .chw-player-buttons {
        grid-column: 2;
        grid-row: 1;
    }
    .chw-player-progress-row {
        position: absolute;
        top: -3px;
        right: 0;
        left: 0;
        display: block;
    }
    .chw-player-progress-row span { display: none; }
    .chw-player-volume-wrap { display: none; }
}

@media (max-width: 767px) {
    .chw-widget {
        --chw-columns: 2;
        --chw-col-width: min(74vw, 280px);
        --chw-gap: 14px;
    }
    .chw-layout-carousel .chw-items {
        margin-inline: -2px;
    }
    .chw-carousel-arrow {
        top: 42%;
        width: 34px;
        height: 34px;
    }
    .chw-play {
        right: 10px;
        bottom: 10px;
        width: 42px;
        height: 42px;
        opacity: 1;
        transform: none;
    }
    .chw-track-title { font-size: 15px; }
    .chw-track-artist { font-size: 13px; }
    .chw-track-meta { font-size: 11px; }
    .chw-layout-chart .chw-track-card,
    .chw-layout-compact .chw-track-card {
        grid-template-columns: 38px 58px minmax(0, 1fr);
        gap: 9px;
        min-height: 68px;
        padding: 4px 8px;
    }
    .chw-layout-chart .chw-track-card.chw-has-row-play {
        grid-template-columns: 38px 58px minmax(0, 1fr) 32px;
    }
    .chw-layout-chart .chw-track-card.chw-has-row-play:not(.chw-has-rank) {
        grid-template-columns: 58px minmax(0, 1fr) 32px;
    }
    .chw-layout-chart .chw-cover-wrap,
    .chw-layout-compact .chw-cover-wrap {
        width: 58px;
        height: 58px;
    }
    .chw-layout-chart .chw-track-info,
    .chw-layout-compact .chw-track-info {
        padding-right: 42px;
    }
    .chw-layout-chart .chw-track-info {
        padding-right: 0;
    }
    .chw-layout-chart .chw-play,
    .chw-layout-compact .chw-play {
        right: 5px;
        width: 36px;
        height: 36px;
    }
    .chw-layout-chart .chw-play-row,
    .chw-layout-chart .chw-track-card:hover .chw-play-row,
    .chw-layout-chart .chw-track-card:focus-within .chw-play-row,
    .chw-layout-chart .chw-track-card.is-current .chw-play-row,
    .chw-layout-chart .chw-track-card.is-playing .chw-play-row {
        position: static;
        right: auto;
        bottom: auto;
        width: 30px;
        height: 30px;
        opacity: 1;
        transform: none;
    }
    .chw-layout-chart .chw-play,
    .chw-layout-chart .chw-track-card:hover .chw-play,
    .chw-layout-chart .chw-track-card:focus-within .chw-play,
    .chw-layout-chart .chw-track-card.is-current .chw-play,
    .chw-layout-chart .chw-track-card.is-playing .chw-play {
        right: 4px;
        bottom: 4px;
        width: 30px;
        height: 30px;
        opacity: 1;
        transform: none;
    }
    .chw-layout-chart .chw-rank { font-size: 19px; }
    .chw-layout-compact .chw-track-card {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 8px;
        min-height: 48px;
        padding: 3px 6px 3px 3px;
    }
    .chw-layout-compact .chw-cover-wrap {
        width: 42px;
        height: 42px;
    }
    .chw-layout-compact .chw-track-info { padding-right: 0; }
    .chw-layout-compact .chw-play,
    .chw-layout-compact .chw-track-card:hover .chw-play,
    .chw-layout-compact .chw-track-card:focus-within .chw-play,
    .chw-layout-compact .chw-track-card.is-current .chw-play,
    .chw-layout-compact .chw-track-card.is-playing .chw-play {
        right: 3px;
        bottom: 3px;
        width: 26px;
        height: 26px;
        opacity: 1;
        transform: none;
    }
    .chw-layout-chart .chw-track-card.chw-cover-only {
        grid-template-columns: 38px 58px;
        width: max-content;
    }
    .chw-layout-chart .chw-track-card.chw-cover-only:not(.chw-has-rank) {
        grid-template-columns: 58px;
    }
    .chw-layout-chart .chw-track-card.chw-cover-only.chw-has-row-play {
        grid-template-columns: 38px 58px 32px;
    }
    .chw-layout-chart .chw-track-card.chw-cover-only.chw-has-row-play:not(.chw-has-rank) {
        grid-template-columns: 58px 32px;
    }
    .chw-layout-compact .chw-track-card.chw-cover-only {
        grid-template-columns: 42px;
        width: 42px;
        padding: 0;
    }
    .chw-search-form { grid-template-columns: 1fr; }
    .chw-search-form button { min-height: 46px; }
    .chw-search-result {
        grid-template-columns: 46px minmax(0, 1fr) auto;
        gap: 8px;
        min-height: 54px;
        padding: 4px;
    }
    .chw-search-result .chw-cover-wrap {
        width: 46px;
        height: 46px;
    }
    .chw-search-play {
        width: 34px;
        height: 34px;
    }
    .chw-search-actions { gap: 5px; }
    .chw-search-share {
        width: 32px;
        height: 32px;
    }
    .chw-layout-hero .chw-track-card {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 18px;
    }
    .chw-layout-hero .chw-track-title { font-size: clamp(28px, 10vw, 44px); }
    .chw-layout-hero .chw-rank { top: 28px; left: 28px; }
    .chw-player {
        padding: 9px 10px;
    }
    .chw-player-cover {
        width: 54px;
        height: 54px;
        flex-basis: 54px;
    }
    .chw-player-buttons { gap: 4px; }
    .chw-player-prev,
    .chw-player-next { display: none !important; }
    .chw-player-title { font-size: 13px; }
    .chw-player-event { display: none; }
}

@media (hover: none) {
    .chw-layout-chart .chw-play,
    .chw-layout-chart .chw-track-card:hover .chw-play,
    .chw-layout-chart .chw-track-card:focus-within .chw-play,
    .chw-layout-chart .chw-track-card.is-current .chw-play,
    .chw-layout-chart .chw-track-card.is-playing .chw-play {
        right: 4px;
        bottom: 4px;
        width: 30px;
        height: 30px;
        opacity: 1;
        transform: none;
    }
    .chw-layout-compact .chw-play,
    .chw-layout-compact .chw-track-card:hover .chw-play,
    .chw-layout-compact .chw-track-card:focus-within .chw-play,
    .chw-layout-compact .chw-track-card.is-current .chw-play,
    .chw-layout-compact .chw-track-card.is-playing .chw-play {
        right: 4px;
        bottom: 4px;
        width: 28px;
        height: 28px;
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .chw-widget *,
    .chw-player {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
