/* Melopod's music wall. Every rule is scoped to the homepage. */
body.mp-home {--scene-accent:var(--mp-purple,#7358e8);--scene-ink:var(--mp-text,#222134);--scene-muted:var(--mp-muted,#777589);--scene-surface:var(--mp-surface,#fff);--scene-line:var(--mp-line,#eeedf5);--scene-gap:20px;background:var(--mp-bg,#f8f8fc)}
.mp-home .content {max-width:1680px;padding:22px 30px 110px!important;box-sizing:border-box}
.mp-home #home {min-width:0}
.mp-home .scene-masthead {display:flex;justify-content:space-between;align-items:center;gap:30px;margin:0 0 22px}
.mp-home .scene-kicker {display:block;font-size:10px;letter-spacing:.2em;font-weight:750;color:var(--scene-muted);margin-bottom:9px}
.mp-home .scene-heading h1 {font-size:clamp(30px,3.2vw,43px);line-height:1.06;letter-spacing:-1.7px;font-weight:750;color:var(--scene-ink);margin:0}
.mp-home .scene-heading h1 em {font-family:Elsie,Georgia,serif;font-weight:900;font-style:normal;color:var(--scene-accent);letter-spacing:-1.2px}
.mp-home .scene-connect {display:flex;align-items:center;gap:18px}
.mp-home .scene-connect p {font-size:12px;line-height:1.6;margin:0 0 8px;color:var(--scene-muted)}
.mp-home .scene-connect p strong {color:var(--scene-ink);font-weight:650}
.mp-home .scene-connect .scene-collaborations-button {display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;max-width:100%;box-sizing:border-box;padding:10px 15px;border:1px solid var(--scene-line);border-radius:10px;background:var(--scene-surface);color:var(--scene-ink);font-size:12px;font-weight:650;line-height:1.35;text-decoration:none;box-shadow:0 2px 5px #0000000a;transition:border-color .16s ease,background-color .16s ease}
.mp-home .scene-connect .scene-collaborations-button:hover {border-color:var(--scene-accent);background:color-mix(in srgb,var(--scene-accent) 8%,var(--scene-surface))}
.mp-home .scene-connect .scene-collaborations-button img {flex:none;width:18px;height:18px}
.mp-home .scene-connect .scene-collaborations-button span {display:block}
@media(prefers-reduced-motion:reduce) {.mp-home .scene-connect .scene-collaborations-button {transition:none}}
.mp-home .scene-connect a img {filter:brightness(0)}
.mp-home.theme-dark .scene-connect a img {filter:brightness(0) invert(1)}

.mp-home .scene-avatar-stack {display:flex;padding-left:14px}
.mp-home .scene-avatar-stack>span {display:grid;place-items:center;flex:none;width:43px;height:43px;border:3px solid var(--mp-bg);border-radius:50%;background:var(--scene-line);color:var(--scene-accent);font-size:13px;font-weight:750;overflow:hidden;margin-left:-14px}
.mp-home .scene-avatar-stack img {width:100%;height:100%;object-fit:cover}
.mp-home .scene-paths {display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:10px;margin:0 0 23px}
.mp-home .scene-path {display:flex;align-items:center;gap:9px;min-width:0;padding:7px;background:var(--scene-surface);color:var(--scene-ink);border:1px solid transparent;border-radius:13px;text-align:left;font-family:inherit;font-size:11px;font-weight:650;cursor:pointer;transition:transform .15s,border-color .15s}
.mp-home .scene-path:hover {border-color:var(--scene-accent);transform:translateY(-2px)}
.mp-home .scene-path.active {border-color:var(--scene-accent);box-shadow:0 0 0 1px var(--scene-accent)}
.mp-home .scene-path-art {display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;overflow:hidden;border-radius:8px;background:var(--scene-line)}
.mp-home .scene-path-art>img {width:100%;height:100%;object-fit:cover}
.mp-home .scene-path-art>.scene-path-icon {width:23px;height:23px;filter:brightness(0);object-fit:contain}
.mp-home.theme-dark .scene-path-art>.scene-path-icon {filter:brightness(0) invert(1)}
.mp-home .mp-feed-heading {margin-bottom:12px;align-items:center}
.mp-home .mp-feed-heading h2 {font-size:20px;font-weight:700;letter-spacing:-.5px}
.mp-home .mp-feed-heading p {font-size:11px;margin-top:4px}
.mp-home .ecosystem-filter-sticky {margin-bottom:12px;background:var(--mp-bg);padding-top:8px;padding-bottom:8px;border:0}
.mp-home .ecosystem-interest-pill {min-height:38px;font-size:11px;border:0;background:var(--scene-surface);color:var(--scene-muted)}
.mp-home .ecosystem-interest-pill.active {background:var(--scene-ink);color:var(--scene-surface)}
.mp-home .ecosystem-filter-status:empty {display:none}
.mp-home #feedGrid {display:grid!important;columns:auto!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;column-gap:var(--scene-gap)!important;row-gap:var(--scene-gap);align-items:start;grid-auto-flow:row;margin:0;width:100%}
.mp-home #feedGrid.scene-masonry {grid-auto-rows:8px;row-gap:0!important}
.mp-home #feedGrid>[data-ecosystem-item] {display:block!important;width:100%!important;min-width:0;max-width:100%;height:auto!important;align-self:start;box-sizing:border-box;margin:0!important;break-inside:avoid;border:0!important;border-radius:16px;overflow:hidden;box-shadow:none!important;background:var(--scene-surface)!important;transform:none!important}
.mp-home #feedGrid>[hidden] {display:none!important}
.mp-home #feedGrid [data-mp-ad-slot] {grid-column:1/-1;margin:0!important;align-self:start;max-width:100%}
.mp-home .ecosystem-home-media {position:relative;overflow:hidden;aspect-ratio:4/3}
.mp-home .ecosystem-home-media>a {display:block;width:100%;height:100%}
.mp-home .ecosystem-home-media>a>img {display:block;height:100%!important;min-height:0!important;max-height:none!important;width:100%;object-fit:cover;transition:transform .25s}
.mp-home #feedGrid :is(.ecosystem-home-card--track,.ecosystem-home-card--beat,.ecosystem-home-card--freestyle) .ecosystem-home-media {aspect-ratio:1}
.mp-home #feedGrid .ecosystem-home-card--track .ecosystem-home-media::after {content:"";position:absolute;inset:auto 0 0;height:70px;background:linear-gradient(transparent,#0003);pointer-events:none}
.mp-home #feedGrid .scene-card--lead {outline:1px solid var(--scene-accent);outline-offset:0}
.mp-home .ecosystem-home-fallback {display:grid;place-items:center;width:100%;height:100%;min-height:0!important;background:var(--scene-line);color:var(--scene-accent);font-family:Elsie,Georgia,serif;font-size:clamp(36px,5vw,76px)}
.mp-home .ecosystem-home-fallback i {display:none}
.mp-home .ecosystem-inline-play {position:absolute;z-index:2;inset:auto 12px 12px auto;width:50px!important;height:50px!important;min-width:50px;padding:0;border:0;border-radius:50%;display:grid;place-items:center;background:#15131d!important;box-shadow:0 3px 16px #0004;cursor:pointer;transition:transform .16s}
.mp-home .ecosystem-inline-play:hover {transform:scale(1.07)}
.mp-home .ecosystem-inline-play img {width:22px!important;height:22px!important;min-height:0!important;filter:brightness(0) invert(1)!important}
.mp-home .ecosystem-inline-play.is-playing {outline:3px solid var(--scene-accent);outline-offset:3px}
.mp-home .scene-playing .mp-card-title {color:var(--scene-accent)!important}
.mp-home :is(.ecosystem-card-type-label,.video-type-badge) {z-index:2;top:10px;left:10px;background:#171420bb!important;color:#fff!important;border:0!important;border-radius:6px!important;font-size:9px!important;letter-spacing:.1em;padding:5px 7px;backdrop-filter:blur(5px)}
.mp-home .ecosystem-context-label {left:10px;right:auto;top:39px;font-size:9px;box-shadow:none}
.mp-home #feedGrid .mp-card-body {padding:14px 14px 0!important}
.mp-home :is(.ecosystem-home-card--track,.ecosystem-home-card--beat,.ecosystem-home-card--freestyle) .mp-card-body {display:flex;flex-direction:column}
.mp-home :is(.ecosystem-home-card--track,.ecosystem-home-card--beat,.ecosystem-home-card--freestyle) .mp-card-title {order:-1}
.mp-home .mp-card-title {font-size:17px!important;line-height:1.25;font-weight:750!important;letter-spacing:-.35px;margin:0 0 9px!important;overflow-wrap:anywhere;color:var(--scene-ink)}
.mp-home .mp-card-title a {color:inherit}
.mp-home .mp-card-creator {display:grid;grid-template-columns:30px minmax(0,1fr) auto;gap:8px;margin-bottom:10px}
.mp-home .mp-card-avatar {width:30px;height:30px;min-width:30px;font-size:10px}
.mp-home .mp-card-creator-copy strong {font-size:11px;font-weight:650}
.mp-home .mp-card-creator-copy small {font-size:9px}
.mp-home .mp-card-follow {font-size:9px;padding:6px 8px;min-height:34px;max-width:76px}
.mp-home .mp-card-description {font-size:11px!important;line-height:1.6!important;-webkit-line-clamp:2;margin-bottom:10px!important}
.mp-home .ecosystem-home-meta {gap:6px}
.mp-home .ecosystem-home-meta span {background:transparent!important;font-size:10px!important;font-weight:550!important;padding:0 5px 0 0!important}
.mp-home .scene-actions {display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:9px 10px 12px}
.mp-home .scene-actions .mp-content-actions {display:flex;align-items:center;flex-wrap:wrap;gap:1px;min-width:0;flex:1;padding:0!important;margin:0}
.mp-home .scene-actions .mp-content-action {display:inline-flex;align-items:center;justify-content:center;gap:4px;padding:5px;min-width:35px;min-height:38px;height:auto;border-radius:8px;background:transparent;color:var(--scene-muted);font-size:10px}
.mp-home .scene-actions .mp-content-action b {font-size:10px;font-weight:500}
.mp-home .scene-actions .mp-content-action img {width:16px;height:16px}
.mp-home .scene-actions .mp-content-action:hover {background:var(--scene-line)}
.mp-home .scene-actions .mp-view-count {order:3;flex:0 0 100%;margin:0;padding:0 4px;color:var(--scene-muted);font-size:10px;line-height:1.4}
.mp-home .scene-actions .scene-collab {margin-left:auto;display:inline-flex;gap:6px;align-items:center;justify-content:center;min-width:38px;min-height:38px;width:auto;height:auto;padding:8px;border:0;background:var(--scene-line);border-radius:8px;color:var(--scene-ink)}
.mp-home .scene-actions .scene-collab span {font-size:10px;white-space:nowrap}
.mp-home .scene-actions .scene-collab.requested {background:#22a35a!important;color:#fff}
.mp-home #feedGrid .ecosystem-home-video .video-thumbnail-link {display:block;aspect-ratio:16/9!important;height:auto!important;min-height:0!important;border-radius:0}
.mp-home #feedGrid .ecosystem-home-video :is(.ecosystem-video-thumb,video) {width:100%;height:100%;object-fit:cover;min-height:0;max-height:none}
.mp-home .video-play-circle {width:44px;height:44px;background:#15131d!important;border:0}
.mp-home .video-play-circle img {filter:brightness(0) invert(1)!important;width:20px;height:20px}
.mp-home #feedGrid .post-card-open {min-height:0!important;background:var(--scene-line)!important}
.mp-home #feedGrid .post-grid-image {display:block;width:100%;height:auto!important;max-height:420px;min-height:0!important;object-fit:cover}
.mp-home #feedGrid .post-card-placeholder {display:block;min-height:140px;padding:23px 18px;text-align:left;font-family:Elsie,Georgia,serif;font-size:22px;line-height:1.35;color:var(--scene-ink);box-sizing:border-box}
.mp-home #feedGrid :is(.ecosystem-home-card--world,.ecosystem-home-card--course) .ecosystem-home-media {aspect-ratio:4/3}
.mp-home #feedGrid :is(.ecosystem-home-card--competition,.ecosystem-home-card--concert) .ecosystem-home-media {aspect-ratio:16/10}
.mp-home .scene-duration {position:absolute;z-index:2;bottom:13px;left:12px;padding:4px 6px;font-size:10px;border-radius:5px;background:#15131d99;color:white;font-variant-numeric:tabular-nums}
.mp-home .ecosystem-player {position:fixed;z-index:90;left:var(--scene-player-left,104px);right:16px;bottom:calc(var(--scene-nav-height,0px) + 12px);width:auto;max-width:740px;display:grid;grid-template-columns:minmax(0,1fr) 44px 34px 34px;gap:8px;align-items:center;box-sizing:border-box;padding:12px 14px;border:1px solid var(--scene-line);border-radius:16px;background:var(--scene-surface);color:var(--scene-ink);box-shadow:0 10px 40px #0002}
.mp-home .ecosystem-player[hidden] {display:none!important}
.mp-home .ecosystem-player-copy strong {font-size:13px}.mp-home .ecosystem-player-copy small {color:var(--scene-muted);font-size:11px}
.mp-home .ecosystem-player button {width:44px;height:44px;border:0;border-radius:50%;background:var(--scene-line);color:var(--scene-ink);font-size:23px}
.mp-home .ecosystem-player button img {width:20px;height:20px;filter:brightness(0)}
.mp-home.theme-dark .ecosystem-player button img {filter:brightness(0) invert(1)}
.mp-home #scenePlayerOpen {width:34px;height:44px;display:grid;place-items:center;color:var(--scene-muted)}
.mp-home #scenePlayerOpen svg {width:20px;height:20px}
.mp-home #scenePlayerClose {width:34px;border-radius:8px;background:transparent}
.mp-home .scene-player-progress {grid-column:1/4;display:flex;align-items:center;gap:8px;min-width:0;font-size:10px;line-height:1.4;color:var(--scene-muted);font-variant-numeric:tabular-nums}
.mp-home .scene-player-progress input {flex:1;min-width:0;height:22px;accent-color:var(--scene-accent)}
.mp-home .scene-player-volume {display:none}
.mp-home #scenePlayerStatus {grid-column:1/-1;font-size:11px;color:var(--scene-muted);line-height:1.5;margin:0}
.mp-home.scene-player-open .content {padding-bottom:calc(170px + var(--scene-nav-height,0px))!important}
.mp-home .story-shelf {margin-top:26px;margin-bottom:0;border:0;background:var(--scene-surface)}
.mp-home :is(.scene-path,.scene-collab,.ecosystem-inline-play,a,button,input):focus-visible {outline:3px solid var(--scene-accent);outline-offset:3px}
@media(min-width:1550px) {.mp-home #feedGrid {grid-template-columns:repeat(5,minmax(0,1fr))!important}}
@media(max-width:1200px) {.mp-home #feedGrid {grid-template-columns:repeat(3,minmax(0,1fr))!important}.mp-home .scene-paths {gap:6px}.mp-home .scene-path {flex-direction:column;padding:8px 3px;gap:5px;text-align:center}.mp-home .scene-path-art {width:36px;height:36px;flex-basis:36px}}
@media(max-width:850px) {.mp-home .content {padding:18px 18px 110px!important}.mp-home #feedGrid {grid-template-columns:repeat(2,minmax(0,1fr))!important;--scene-gap:16px}.mp-home .scene-avatar-stack {display:none}.mp-home .scene-connect {gap:0}.mp-home .scene-connect p {font-size:11px}.mp-home .scene-actions .scene-collab span {display:none}.mp-home .scene-actions .scene-collab {width:40px;min-height:40px;flex:none}.mp-home .scene-path {font-size:10px}.mp-home .scene-heading h1 {font-size:34px}.mp-home .ecosystem-player {left:12px;right:12px;bottom:calc(var(--scene-nav-height,70px) + 12px + env(safe-area-inset-bottom,0px));max-width:none}}
@media(max-width:600px) {.mp-home .content {padding:15px 12px 110px!important}.mp-home .scene-masthead {align-items:flex-start;gap:12px;margin-bottom:17px}.mp-home .scene-heading h1 {font-size:28px;line-height:1.1;letter-spacing:-1px}.mp-home .scene-kicker {font-size:8px;margin-bottom:7px;letter-spacing:.15em}.mp-home .scene-connect p {display:none}.mp-home .scene-connect .scene-collaborations-button {width:126px;gap:7px;padding:9px 8px;font-size:11px;line-height:1.35;margin-top:15px}.mp-home .scene-connect .scene-collaborations-button span {min-width:0;text-align:left}.mp-home .scene-paths {grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-bottom:18px}.mp-home .scene-path {flex-direction:row;gap:5px;padding:7px 4px;font-size:9px;border-radius:10px}.mp-home .scene-path-art {width:25px;height:25px;flex-basis:25px;border-radius:5px}.mp-home .scene-path-art>.scene-path-icon {width:17px;height:17px}.mp-home .scene-path--competition {font-size:8px}.mp-home #feedGrid {--scene-gap:12px}.mp-home #feedGrid>[data-ecosystem-item] {border-radius:12px}.mp-home .mp-feed-heading h2 {font-size:18px}.mp-home .mp-feed-heading p {font-size:10px}.mp-home .ecosystem-interest-pill {font-size:10px;min-height:36px;padding:7px 11px}.mp-home .ecosystem-filter-sticky {margin:0 -2px 10px;padding:7px 2px}.mp-home #feedGrid .mp-card-body {padding:10px 10px 0!important}.mp-home .mp-card-title {font-size:14px!important;letter-spacing:-.2px}.mp-home .mp-card-creator {grid-template-columns:24px minmax(0,1fr);gap:6px}.mp-home .mp-card-avatar {width:24px;height:24px;min-width:24px;font-size:9px}.mp-home .mp-card-follow {grid-column:2;justify-self:start;min-height:32px;font-size:9px;padding:5px 8px}.mp-home .mp-card-creator-copy strong {font-size:10px}.mp-home .mp-card-creator-copy small {font-size:8px}.mp-home .mp-card-description {font-size:10px!important;-webkit-line-clamp:3}.mp-home .ecosystem-home-meta span {font-size:9px!important}.mp-home .scene-actions {padding:7px 6px 9px;gap:1px}.mp-home .scene-actions .mp-content-action {min-width:32px;min-height:40px;padding:6px}.mp-home .scene-actions .mp-content-action b {display:none}.mp-home .scene-actions .mp-content-actions {flex:none;width:100%;justify-content:space-between}.mp-home .scene-actions .mp-view-count {order:0;flex:1;font-size:9px;margin:0;min-width:0;padding:3px 2px}.mp-home .scene-actions .scene-collab {order:2;width:38px;min-width:38px}.mp-home .ecosystem-inline-play {width:44px!important;height:44px!important;min-width:44px;inset:auto 9px 9px auto}.mp-home .ecosystem-inline-play img {width:20px!important;height:20px!important}.mp-home #feedGrid .post-card-placeholder {font-size:18px;padding:20px 12px;min-height:150px}.mp-home .ecosystem-context-label {display:none}.mp-home .ecosystem-card-type-label,.mp-home .video-type-badge {font-size:8px!important;left:7px;top:7px;padding:4px 5px}.mp-home .scene-player-progress {grid-column:1/-1}.mp-home .ecosystem-player {padding:10px 11px;gap:5px}}
@media(prefers-reduced-motion:reduce) {.mp-home :is(.scene-path,.ecosystem-inline-play,.ecosystem-home-media img) {transition:none}.mp-home #feedGrid {animation:none}.mp-home * {scroll-behavior:auto!important}}
@media(min-width:601px) {.mp-home .scene-player-progress {grid-column:1/3}.mp-home .scene-player-volume {grid-column:3/5;display:flex;align-items:center;gap:4px;min-width:0}.mp-home .scene-player-volume input {width:100%;min-width:0;accent-color:var(--scene-accent)}.mp-home .scene-player-volume img {width:15px;height:15px;filter:brightness(0)}.mp-home.theme-dark .scene-player-volume img {filter:brightness(0) invert(1)}}
.mp-home .scene-actions .mp-content-action img {filter:brightness(0)!important}
.mp-home.theme-dark .scene-actions .mp-content-action img {filter:brightness(0) invert(1)!important}
.mp-home .scene-actions .mp-content-action.active img {filter:none!important}
@media(max-width:600px) {.mp-home .scene-path {flex-direction:column;justify-content:center;gap:4px;padding:7px 3px;font-size:9px}.mp-home .scene-path--competition {font-size:9px}}

/* Editorial corners: only homepage card shells and discovery controls.
   Avatars, records, play controls and the decorative paperclip stay circular. */
.mp-home #feedGrid > [data-ecosystem-item],
.mp-home #feedGrid > .scene-creator-stack {
 border-radius:0!important;
 border:1px solid var(--card-line,var(--scene-line))!important;
}
.mp-home #feedGrid .creator-stack-card {
 border-radius:0!important;
 border:1px solid var(--creator-photo);
 border-color:color-mix(in srgb,var(--creator-ink) 24%,var(--creator-paper));
}
.mp-home #feedGrid :is(.ecosystem-home-media,.post-card-open,.post-grid-image,.video-thumbnail-link,.ecosystem-video-thumb,.mp-cinema-stage,.mp-card-body,.scene-actions,.creator-stack-portrait),
.mp-home #feedGrid .ecosystem-home-media > a > img,
.mp-home #feedGrid .video-thumbnail-link > :is(img,video,iframe),
.mp-home #feedGrid .mp-paper-card::before {
 border-radius:0!important;
}
.mp-home :is(.ecosystem-interest-pill,.scene-path,.scene-path-art),
.mp-home .scene-connect .scene-collaborations-button {border-radius:0!important}
.mp-home .scene-collab .scene-collab-icon {width:18px;height:18px;flex:none;display:block;color:inherit}
.mp-home .creator-stack-controls .creator-stack-triangle {width:12px;height:12px;display:block;fill:currentColor}
