.mf-fa-icon,
.mf-row-fa-icon,
.mf-inline-fa-icon,
.mf-live-stat-icon,
.mf-song-row button,
.mf-chart-row button,
.mf-new-song button,
.mf-community-row b{
    display:inline-flex;
    align-items:center;
    justify-content:center;
}

.mf-row-fa-icon{
    color:currentColor;
    font-size:17px;
    line-height:1;
}

.mf-song-row button i,
.mf-chart-row button i,
.mf-new-song button i{
    font-size:14px;
    line-height:1;
}

.mf-new-song button i{
    font-size:15px;
}

.mf-inline-fa-icon{
    width:14px;
    height:14px;
    margin-inline-end:4px;
    font-size:13px;
    line-height:1;
}

.mf-community-row b i{
    font-size:16px;
    line-height:1;
}

.mf-live-stat-icon{
    width:54px;
    height:54px;
    justify-self:end;
    color:#111827;
    font-size:36px;
    line-height:1;
}

.mf-live-stat-card.is-blue .mf-live-stat-icon{
    color:#147cff;
}

.mf-community-card{
    overflow:hidden;
    display:flex;
    flex-direction:column;
    min-height:0;
}

.mf-community-card .mf-card-head{
    flex:0 0 auto;
    border-bottom:1px solid rgba(15,23,42,.07);
}

.mf-community-card .mf-card-head small{
    display:block;
    margin-top:3px;
    color:#8a96a8;
    font-size:12px;
    font-weight:900;
}

.mf-community-toolbar{
    
    
    justify-content:flex-start;
    padding:12px 18px;
    border-bottom:1px solid rgba(15,23,42,.07);
    background:linear-gradient(180deg,#fff,#fbfdff);
}

.mf-community-tabs{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:4px;
    width:100%;
    padding:4px;
    border:1px solid rgba(15,23,42,.08);
    border-radius:10px;
    background:#f4f7fb;
}

.mf-community-tab{
    border:0;
    background:transparent;
    color:#526176;
    height:32px;
    padding:0 10px;
    border-radius:7px;
    font-family:inherit;
    font-size:13px;
    font-weight:1000;
    cursor:pointer;
    transition:background-color .18s ease, color .18s ease;
}

.mf-community-tab:hover{
    color:#147cff;
    background:rgba(255,255,255,.7);
}

.mf-community-tab.is-active{
    color:#fff;
    background:linear-gradient(135deg,#147cff,#0f6ff0);
    box-shadow:0 8px 18px rgba(20,124,255,.18);
}

.mf-community-feed{
    flex:1 1 auto;
    min-height:0;
    max-height:330px;
    overflow-y:auto;
    overscroll-behavior:contain;
    scrollbar-width:thin;
    background:#fff;
}

.mf-community-feed::-webkit-scrollbar{
    width:7px;
}

.mf-community-feed::-webkit-scrollbar-thumb{
    background:rgba(20,124,255,.24);
    border-radius:10px;
}

.mf-community-feed::-webkit-scrollbar-track{
    background:rgba(15,23,42,.04);
}

.mf-community-activity{
    position:relative;
    display:grid;
    grid-template-columns:42px minmax(0,1fr) 34px;
    gap:12px;
    align-items:center;
    min-height:68px;
    padding:11px 18px;
    color:#111827;
    text-decoration:none;
    border-bottom:1px solid rgba(15,23,42,.06);
    background:#fff;
    transition:background-color .18s ease, border-color .18s ease, color .18s ease;
}

.mf-community-activity:hover{
    background:#f8fbff;
}

.mf-community-activity.is-hidden{
    display:none;
}

.mf-community-avatar{
    width:42px;
    height:42px;
    border-radius:50%;
    overflow:hidden;
    display:grid;
    place-items:center;
    background:linear-gradient(135deg,#147cff,#59c7ff);
    color:#fff;
    font-weight:1000;
    font-size:16px;
    box-shadow:0 0 0 3px #f3f8ff;
}

.mf-community-avatar img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.mf-community-copy{
    min-width:0;
    display:block;
}

.mf-community-copy strong{
    display:block;
    font-size:14px;
    font-weight:1000;
    color:#111827;
    line-height:1.35;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.mf-community-copy strong em{
    font-style:normal;
    color:#147cff;
}

.mf-community-copy p{
    margin:2px 0 0;
    color:#637186;
    font-size:12.5px;
    line-height:1.35;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.mf-community-meta{
    display:flex;
    align-items:center;
    gap:7px;
    margin-top:5px;
    color:#8a96a8;
    font-size:12px;
    font-weight:850;
    line-height:1;
}

.mf-community-meta em{
    font-style:normal;
    color:#147cff;
}

.mf-community-type{
    width:34px;
    height:34px;
    border-radius:8px;
    display:grid;
    place-items:center;
    color:#147cff;
    background:#eef6ff;
    border:1px solid rgba(20,124,255,.13);
    font-size:14px;
}

.mf-community-activity[data-community-type="comment"] .mf-community-type{
    color:#7c3aed;
    background:#f5f0ff;
    border-color:rgba(124,58,237,.14);
}

.mf-community-live-dot{
    display:inline-block;
    width:7px;
    height:7px;
    margin-inline-end:6px;
    border-radius:999px;
    background:#147cff;
    box-shadow:0 0 0 0 rgba(20,124,255,.32);
    animation:mfCommunityPulse 1.6s ease-in-out infinite;
}

@keyframes mfCommunityPulse{
    0%{box-shadow:0 0 0 0 rgba(20,124,255,.32);}
    70%{box-shadow:0 0 0 7px rgba(20,124,255,0);}
    100%{box-shadow:0 0 0 0 rgba(20,124,255,0);}
}

.mf-community-empty{
    padding:24px 18px;
    color:#516073;
}

.mf-community-empty strong{
    display:block;
    color:#111827;
    font-size:16px;
    font-weight:1000;
    margin-bottom:6px;
}

.mf-community-empty p{
    margin:0;
    font-size:14px;
    line-height:1.65;
}

@media(max-width:760px){
    .mf-community-toolbar{
        padding:11px 14px;
    }
    .mf-community-tabs{
        gap:7px;
    }
    .mf-community-tab{
        height:33px;
        padding:0 8px;
        font-size:12.5px;
    }
    .mf-community-feed{
        max-height:292px;
    }
    .mf-community-activity{
        grid-template-columns:40px minmax(0,1fr) 32px;
        padding:10px 14px;
        min-height:66px;
    }
    .mf-community-avatar{
        width:40px;
        height:40px;
    }
    .mf-community-type{
        width:32px;
        height:32px;
    }
}

@media(max-width:760px){
    .mf-live-stat-icon{
        width:44px;
        height:44px;
        font-size:30px;
    }
}

/* =========================================================
   Home new songs — action feedback animations
========================================================= */
.mf-new-song-tools button{
    position:relative;
    transform:translateZ(0);
    transition:transform .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.mf-new-song-tools button i{
    transform-origin:center;
    transition:transform .18s ease, color .18s ease;
}

.mf-new-song-tools button:active i{
    transform:scale(.84);
}

.mf-new-song-tools [data-home-like-song].is-liked{
    color:#ef3f66;
}

.mf-new-song-tools [data-home-add-playlist].is-added{
    color:#147cff;
}

@media (prefers-reduced-motion:reduce){
    .mf-new-song-tools button,
    .mf-new-song-tools button i{
        transition:none!important;
    }
}


/* =========================================================
   Home albums — NEW badge only
   Keeps the existing album grid/card sizing and layout intact.
========================================================= */
.mf-albums-card .mf-album-card{
    position:relative;
}

.mf-albums-card .mf-album-new-badge{
    position:absolute;
    top:10px;
    right:10px;
    z-index:4;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:25px;
    padding:0 9px;
    border:1px solid rgba(255,255,255,.78);
    border-radius:3px;
    background:#147cff;
    color:#fff;
    box-shadow:0 5px 14px rgba(20,124,255,.18);
    font-size:11px;
    line-height:1;
    font-weight:950;
    letter-spacing:.01em;
    pointer-events:none;
    animation:mfAlbumNewBadgeIn .42s cubic-bezier(.2,.8,.2,1) both;
}

@keyframes mfAlbumNewBadgeIn{
    from{opacity:0;transform:translateY(-4px) scale(.96);}
    to{opacity:1;transform:translateY(0) scale(1);}
}

@media(max-width:760px){
    .mf-albums-card .mf-album-new-badge{
        top:8px;
        right:8px;
        min-height:23px;
        padding:0 8px;
        font-size:10px;
    }
}

@media(prefers-reduced-motion:reduce){
    .mf-albums-card .mf-album-new-badge{animation:none!important;}
}


/* =========================================================
   Home albums — professional square cover treatment
   Keeps the existing 2x2 layout. Video-thumbnail sources are
   cropped slightly deeper so built-in letterbox bars disappear.
========================================================= */
.mf-albums-card .mf-album-cover-frame{
    position:relative;
    display:block;
    width:100%;
    aspect-ratio:1/1;
    overflow:hidden;
    border-radius:3px !important;
    background:#eef3f8;
    box-shadow:0 10px 24px rgba(15,35,70,.10);
    isolation:isolate;
}

.mf-albums-card .mf-album-cover-frame > img{
    display:block;
    width:100%;
    height:100%;
    margin:0 !important;
    border-radius:0 !important;
    box-shadow:none !important;
    object-fit:cover;
    object-position:center;
    transform:scale(1.002);
    transition:transform .32s cubic-bezier(.2,.7,.2,1), filter .32s ease;
}

/* YouTube/video thumbnails often contain black bars inside the actual image.
   A deeper center crop removes those bars while preserving the card size. */
.mf-albums-card .mf-album-cover-frame.is-video-source > img{
    transform:scale(1.34);
}

@media (hover:hover) and (pointer:fine){
    .mf-albums-card .mf-album-card:hover .mf-album-cover-frame > img{
        transform:scale(1.035);
        filter:saturate(1.025) contrast(1.015);
    }
    .mf-albums-card .mf-album-card:hover .mf-album-cover-frame.is-video-source > img{
        transform:scale(1.375);
    }
}

@media (prefers-reduced-motion:reduce){
    .mf-albums-card .mf-album-cover-frame > img{
        transition:none !important;
    }
}

/* =========================================================
   Music FM — Unified Home Blocks UI v18
   One premium interaction language across every homepage block.
   Keeps the newsroom dark; all regular cards share the same shell,
   header rhythm, row hover, motion timing and focus treatment.
========================================================= */

.mf-home-section{
    --mf-home-ui-blue:#147cff;
    --mf-home-ui-cyan:#59c7ff;
    --mf-home-ui-ink:#111827;
    --mf-home-ui-muted:#667085;
    --mf-home-ui-line:#e4ebf5;
    --mf-home-ui-hover:#f6f9fe;
    --mf-home-ui-hover-strong:#f2f7fd;
    --mf-home-ui-border:#dfe7f3;
    --mf-home-ui-ease:cubic-bezier(.22,.61,.36,1);
}

/* ---------- one card shell ---------- */
.mf-home-section .mf-home-card{
    border-radius:4px !important;
    overflow:hidden;
    
}

.mf-home-section .mf-home-card:not(.mf-newsroom-card){
    background:#fff !important;
    
    
}



/* ---------- one header system ---------- */
.mf-home-section .mf-home-card:not(.mf-newsroom-card) > .mf-card-head{
    min-height:64px !important;
    padding:15px 18px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:14px !important;
    border-bottom:1px solid var(--mf-home-ui-line) !important;
    background:linear-gradient(180deg,#fff 0%,#f7f9fc 100%) !important;
    box-shadow:none !important;
}

.mf-home-section .mf-home-card:not(.mf-newsroom-card) > .mf-card-head > div{
    min-width:0;
}

.mf-home-section .mf-home-card:not(.mf-newsroom-card) > .mf-card-head span:not(.mf-live-pill){
    display:block;
    color:var(--mf-home-ui-blue) !important;
    font-family:"Heebo",Arial,sans-serif !important;
    font-size:11px !important;
    line-height:1 !important;
    font-weight:950 !important;
    letter-spacing:.5px !important;
}

.mf-home-section .mf-home-card:not(.mf-newsroom-card) > .mf-card-head h2{
    margin:4px 0 0 !important;
    color:var(--mf-home-ui-ink) !important;
    font-family:"Heebo",Arial,sans-serif !important;
    font-size:21px !important;
    line-height:1 !important;
    font-weight:950 !important;
    letter-spacing:0 !important;
}

.mf-home-section .mf-home-card:not(.mf-newsroom-card) > .mf-card-head > a{
    flex:0 0 auto;
    color:var(--mf-home-ui-blue) !important;
    font-family:"Heebo",Arial,sans-serif !important;
    font-size:13px !important;
    line-height:1.1 !important;
    font-weight:950 !important;
    white-space:nowrap;
    text-decoration:none !important;
    transition:opacity .2s ease,transform .2s var(--mf-home-ui-ease) !important;
}

@media (hover:hover) and (pointer:fine){
    .mf-home-section .mf-home-card:not(.mf-newsroom-card) > .mf-card-head > a:hover{
        color:var(--mf-home-ui-blue) !important;
        opacity:.76;
        transform:translateX(-2px);
    }
}

/* Community keeps the same header as every other regular card.
   Its live activity count is displayed in the toolbar below the header. */
.mf-community-toolbar{
    display:grid;
    grid-template-columns:auto minmax(0,1fr);
    align-items:center;
    gap:10px;
}

.mf-community-summary{
    display:inline-flex;
    align-items:center;
    gap:5px;
    color:#8a96a8;
    font-size:10.5px;
    line-height:1;
    font-weight:850;
    white-space:nowrap;
}

.mf-community-summary .mf-community-live-dot{
    width:6px;
    height:6px;
    margin:0;
}

/* ---------- one row interaction system ---------- */
.mf-news-row,
.mf-ranked-row,
.mf-song-row,
.mf-community-activity,
.mf-dedication-post-mini{
    position:relative;
    overflow:hidden;
    background:#fff;
    transition:
        background-color .22s var(--mf-home-ui-ease),
        box-shadow .22s ease,
        border-color .22s ease !important;
}

/* keep dividers identical and quiet */
.mf-news-list > .mf-news-row,
.mf-ranked-list > .mf-ranked-row,
.mf-song-list > .mf-song-row,
.mf-community-feed > .mf-community-activity,
.mf-dedications-list > .mf-dedication-post-mini{
    border-bottom-color:var(--mf-home-ui-line) !important;
}

.mf-news-list > .mf-news-row:last-child,
.mf-ranked-list > .mf-ranked-row:last-child,
.mf-song-list > .mf-song-row:last-child,
.mf-community-feed > .mf-community-activity:last-child,
.mf-dedications-list > .mf-dedication-post-mini:last-child{
    border-bottom:0 !important;
}

@media (hover:hover) and (pointer:fine){
    

    /* no surprise blue text on hover: the row moves visually through its
       background and accent rail, while content keeps its original hierarchy */
    .mf-news-row:hover h3,
    .mf-ranked-row:hover p,
    .mf-song-row:hover > span,
    .mf-community-activity:hover .mf-community-copy strong,
    .mf-community-activity:hover .mf-community-copy p,
    .mf-dedication-post-mini:hover .mf-dedication-content p{
        color:inherit !important;
    }

    .mf-news-row:hover h3,
    .mf-ranked-row:hover p,
    .mf-song-row:hover > span,
    .mf-community-activity:hover .mf-community-copy strong{
        color:var(--mf-home-ui-ink) !important;
    }

    

    .mf-community-activity:hover .mf-community-avatar,
    .mf-dedication-post-mini:hover .mf-dedication-avatar{
        transform:scale(1.035) !important;
    }

    .mf-song-row:hover button{
        border-color:#b9d6fb;
        background:#fafdff;
        
        
    }
}

.mf-news-row:active,
.mf-ranked-row:active,
.mf-song-row:active,
.mf-community-activity:active,
.mf-dedication-post-mini:active{
    background:var(--mf-home-ui-hover-strong) !important;
}

.mf-news-row img,
.mf-ranked-row img,
.mf-song-row img,
.mf-community-avatar,
.mf-dedication-avatar,
.mf-song-row button{
    transition:
        transform .24s var(--mf-home-ui-ease),
        border-color .22s ease,
        background-color .22s ease,
        box-shadow .22s ease !important;
}

/* ---------- dark newsroom: same behavior, dark palette ---------- */
.mf-newsroom-card .mf-newsroom-row{
    position:relative;
    overflow:hidden;
    transition:
        background-color .22s var(--mf-home-ui-ease),
        box-shadow .22s ease !important;
}

@media (hover:hover) and (pointer:fine){
    .mf-newsroom-card .mf-newsroom-row:hover{
        
        
        color:#fff !important;
    }

    .mf-newsroom-card .mf-newsroom-row:hover strong{
        color:#fff !important;
    }

    .mf-newsroom-card .mf-newsroom-row:hover .mf-row-fa-icon{
        transform:scale(1.06);
        color:#fff;
    }
}

.mf-newsroom-card .mf-row-fa-icon{
    transition:transform .22s var(--mf-home-ui-ease),color .22s ease;
}

/* ---------- standalone feature block ---------- */
.mf-magazine-feature{
    overflow:hidden;
    background:#fff;
    transition:background-color .22s var(--mf-home-ui-ease) !important;
}

.mf-magazine-feature img{
    transition:transform .34s var(--mf-home-ui-ease),filter .28s ease !important;
}

@media (hover:hover) and (pointer:fine){
    .mf-magazine-feature:hover{
        background:var(--mf-home-ui-hover) !important;
        color:var(--mf-home-ui-ink) !important;
    }

    .mf-magazine-feature:hover h3{
        color:var(--mf-home-ui-ink) !important;
    }

    .mf-magazine-feature:hover img{
        transform:scale(1.018);
        filter:saturate(1.025) contrast(1.01);
    }
}

/* ---------- album tiles ---------- */
.mf-album-card{
    border-radius:3px;
    transition:
        transform .24s var(--mf-home-ui-ease),
        background-color .22s ease,
        box-shadow .22s ease !important;
}

@media (hover:hover) and (pointer:fine){
    .mf-album-card:hover{
        transform:translateY(-2px);
        background:var(--mf-home-ui-hover);
        
        color:var(--mf-home-ui-ink) !important;
    }

    .mf-album-card:hover h3{
        color:var(--mf-home-ui-ink) !important;
    }
}

/* ---------- new-music image tiles ---------- */
.mf-new-song{
    transition:
        transform .24s var(--mf-home-ui-ease),
        border-color .22s ease,
        box-shadow .24s ease !important;
}

@media (hover:hover) and (pointer:fine){
    .mf-new-song:hover{
        transform:translateY(-2px);
        border-color:rgba(20,124,255,.34);
        
    }
}

/* ---------- live-stat tiles ---------- */
.mf-live-stat-card{
    transition:
        transform .22s var(--mf-home-ui-ease),
        border-color .22s ease,
        box-shadow .22s ease,
        background-color .22s ease !important;
}

@media (hover:hover) and (pointer:fine){
    .mf-live-stat-card:hover{
        transform:translateY(-2px);
        border-color:#d6e3f2;
        
    }
}

/* ---------- keyboard polish ---------- */
.mf-home-card a:focus-visible,
.mf-home-card button:focus-visible,
.mf-live-stat-card:focus-visible{
    outline:2px solid rgba(20,124,255,.42);
    outline-offset:-2px;
}

@media(max-width:760px){
    .mf-community-toolbar{
        grid-template-columns:1fr;
        gap:8px;
    }

    .mf-community-summary{
        justify-self:start;
        font-size:10px;
    }

    .mf-home-section .mf-home-card:not(.mf-newsroom-card) > .mf-card-head{
        min-height:58px !important;
        padding:13px 14px !important;
    }

    .mf-home-section .mf-home-card:not(.mf-newsroom-card) > .mf-card-head h2{
        font-size:18px !important;
    }
}

@media(prefers-reduced-motion:reduce){
    .mf-home-section .mf-home-card,
    .mf-news-row,
    .mf-ranked-row,
    .mf-song-row,
    .mf-newsroom-row,
    .mf-community-activity,
    .mf-dedication-post-mini,
    .mf-magazine-feature,
    .mf-magazine-feature img,
    .mf-album-card,
    .mf-new-song,
    .mf-live-stat-card{
        transition:none !important;
        transform:none !important;
    }
}

/* Final specificity locks for the already-customized hot-news and newsroom cards. */


/* Live stats sit outside .mf-home-section, so expose the same motion token there. */
.mf-live-stats-2026{
    --mf-home-ui-ease:cubic-bezier(.22,.61,.36,1);
}

/* =========================================================
   Music FM — Homepage Blocks Premium Consistency v19
   - Cards stay perfectly still on hover (shadow only)
   - Rows use one refined hover language
   - TRENDING typography matches HOT SONGS / MAGAZINE exactly
   - Existing site colours are preserved
========================================================= */

/* ---------- Card motion: shadow only, never move the block ---------- */
.mf-home-section .mf-home-card{
    
    
    will-change:box-shadow;
}



/* ---------- Dashboard text: one real typographic system ---------- */


/* The middle TRENDING block was receiving a smaller global paragraph size.
   Lock it to the exact same text metrics as the neighbouring cards. */
html body main .mf-home-dashboard .mf-ranked-row p{
    font-family:"Heebo",Arial,sans-serif !important;
    font-size:calc(var(--mf-content-font-desktop,16.5px) + .5px) !important;
    line-height:1.38 !important;
    font-weight:950 !important;
    letter-spacing:0 !important;
}

/* Secondary text stays consistent without changing its existing colour. */


/* ---------- Rows: same premium hover, no physical movement ---------- */


@media (hover:hover) and (pointer:fine){
    .mf-news-row:hover,
    .mf-ranked-row:hover,
    .mf-song-row:hover,
    .mf-community-activity:hover,
    .mf-dedication-post-mini:hover{
        
        
        box-shadow:
            inset 0 1px 0 rgba(255,255,255,.92),
            inset 0 -1px 0 rgba(20,124,255,.045) !important;
    }

    .mf-newsroom-card .mf-newsroom-row:hover{
        transform:none !important;
        background:rgba(89,199,255,.075) !important;
        box-shadow:
            inset 0 1px 0 rgba(255,255,255,.025),
            inset 0 -1px 0 rgba(89,199,255,.055) !important;
    }

    /* Keep all text colours exactly as designed; hover is expressed by the row background. */
    .mf-news-row:hover h3,
    .mf-ranked-row:hover p,
    .mf-song-row:hover > span,
    .mf-news-row:hover small,
    .mf-song-row:hover small,
    .mf-community-activity:hover .mf-community-copy strong,
    .mf-community-activity:hover .mf-community-copy p,
    .mf-dedication-post-mini:hover .mf-dedication-content p{
        color:inherit !important;
    }

    

    /* Refined media feedback: image breathes, row/card itself never shifts. */
    

    .mf-song-row:hover button{
        transform:none !important;
        box-shadow:0 5px 12px rgba(20,124,255,.08);
    }
}

/* ---------- Secondary homepage tiles: no lift animation ---------- */
.mf-album-card,
.mf-new-song,
.mf-live-stat-card{
    transform:none !important;
}

@media (hover:hover) and (pointer:fine){
    .mf-album-card:hover,
    .mf-new-song:hover,
    .mf-live-stat-card:hover{
        transform:none !important;
    }

    .mf-album-card:hover{
        box-shadow:0 11px 24px rgba(15,35,70,.075) !important;
    }

    .mf-new-song:hover{
        box-shadow:0 14px 30px rgba(7,24,50,.15) !important;
    }

    .mf-live-stat-card:hover{
        box-shadow:
            0 12px 27px rgba(15,35,70,.08),
            inset 0 1px 0 rgba(255,255,255,.90) !important;
    }
}

/* Final lock: no old hover rule may reintroduce vertical movement. */
@media (hover:hover) and (pointer:fine){
    .mf-home-dashboard .mf-home-card:hover,
    .mf-home-three .mf-home-card:hover,
    .mf-home-wide .mf-home-card:hover{
        transform:none !important;
    }
}

/* =========================================================
   Music FM — Homepage Blocks precision pass v20
   - Exact compact content typography across the three dashboard cards
   - Card stays fixed in place
   - Premium shadow fades in/out smoothly instead of popping
   - Existing colour palette is untouched
========================================================= */

/* Exact content typography: MAGAZINE is the visual reference. */
.mf-home-dashboard .mf-news-row h3,
.mf-home-dashboard .mf-ranked-row p,
.mf-home-dashboard .mf-song-row > span{
    font-family:"Heebo",Arial,sans-serif !important;
    font-size:15px !important;
    line-height:1.35 !important;
    font-weight:950 !important;
    font-style:normal !important;
    letter-spacing:0 !important;
    text-rendering:optimizeLegibility;
    -webkit-font-smoothing:antialiased;
}

/* Preserve the smaller secondary line below songs/news. */
.mf-home-dashboard .mf-news-row small,
.mf-home-dashboard .mf-song-row small{
    font-family:"Heebo",Arial,sans-serif !important;
    font-size:12px !important;
    line-height:1.3 !important;
    letter-spacing:0 !important;
}

/*
   Use identical shadow stacks in rest + hover states.
   Matching stacks lets the browser interpolate every layer smoothly,
   so the shadow grows organically rather than appearing in one frame.
*/
.mf-home-section .mf-home-card:not(.mf-newsroom-card){
    transform:none !important;
    border-color:var(--mf-home-ui-border) !important;
    box-shadow:
        0 7px 20px rgba(15,35,70,.045),
        0 2px 6px rgba(15,35,70,.018),
        0 0 0 1px rgba(20,124,255,0),
        inset 0 1px 0 rgba(255,255,255,.82) !important;
    transition:
        box-shadow .48s cubic-bezier(.16,1,.30,1),
        border-color .38s ease !important;
    will-change:box-shadow;
}

.mf-home-section .mf-newsroom-card{
    transform:none !important;
    box-shadow:
        0 8px 22px rgba(5,19,42,.12),
        0 2px 7px rgba(5,19,42,.05),
        0 0 0 1px rgba(89,199,255,0),
        inset 0 1px 0 rgba(255,255,255,.035) !important;
    transition:
        box-shadow .48s cubic-bezier(.16,1,.30,1),
        border-color .38s ease !important;
    will-change:box-shadow;
}

@media (hover:hover) and (pointer:fine){
    .mf-home-section .mf-home-card:not(.mf-newsroom-card):hover{
        
        border-color:var(--mf-home-ui-border) !important;
        
    }

    .mf-home-section .mf-newsroom-card:hover{
        
        border-color:#123463 !important;
        
    }
}

/* Rows also fade instead of flashing; no text colour changes and no movement. */
.mf-news-row,
.mf-ranked-row,
.mf-song-row,
.mf-community-activity,
.mf-dedication-post-mini,
.mf-newsroom-card .mf-newsroom-row{
    transform:none !important;
    transition:
        background-color .30s cubic-bezier(.22,.61,.36,1),
        box-shadow .30s cubic-bezier(.22,.61,.36,1),
        border-color .30s ease !important;
}

@media (hover:hover) and (pointer:fine){
    .mf-news-row:hover,
    .mf-ranked-row:hover,
    .mf-song-row:hover,
    .mf-community-activity:hover,
    .mf-dedication-post-mini:hover{
        transform:none !important;
        background:var(--mf-home-ui-hover) !important;
    }

    .mf-home-dashboard .mf-news-row:hover h3,
    .mf-home-dashboard .mf-ranked-row:hover p,
    .mf-home-dashboard .mf-song-row:hover > span{
        color:var(--mf-home-ui-ink) !important;
    }

    .mf-news-row:hover img,
    .mf-ranked-row:hover img,
    .mf-song-row:hover img{
        transform:scale(1.012) !important;
    }
}

@media(max-width:760px){
    .mf-home-dashboard .mf-news-row h3,
    .mf-home-dashboard .mf-ranked-row p,
    .mf-home-dashboard .mf-song-row > span{
        font-size:14px !important;
        line-height:1.35 !important;
    }
}


/* =========================================================
   Music FM — Homepage blocks precision pass v21
   Visual calibration + shared premium row interaction.
========================================================= */

/* TRENDING has less usable width because rank + artwork share the row.
   14px gives it the same perceived scale as the neighbouring content. */
html body main .mf-home-dashboard .mf-ranked-row p,
.mf-home-dashboard .mf-ranked-row p{
    font-family:"Heebo",Arial,sans-serif !important;
    font-size:14px !important;
    line-height:1.38 !important;
    font-weight:950 !important;
    font-style:normal !important;
    letter-spacing:0 !important;
    text-rendering:optimizeLegibility;
    -webkit-font-smoothing:antialiased;
}

/* Shared row canvas: nothing moves. Background + blue rail animate gently. */
.mf-home-dashboard .mf-news-row,
.mf-home-dashboard .mf-ranked-row,
.mf-home-dashboard .mf-song-row,
.mf-home-section .mf-community-activity,
.mf-home-section .mf-dedication-post-mini,
.mf-home-section .mf-newsroom-card .mf-newsroom-row{
    position:relative !important;
    isolation:isolate;
    transform:none !important;
    box-shadow:none !important;
    transition:
        background-color .34s cubic-bezier(.22,.61,.36,1),
        border-color .34s ease !important;
}

.mf-home-dashboard .mf-news-row::after,
.mf-home-dashboard .mf-ranked-row::after,
.mf-home-dashboard .mf-song-row::after,
.mf-home-section .mf-community-activity::after,
.mf-home-section .mf-dedication-post-mini::after,
.mf-home-section .mf-newsroom-card .mf-newsroom-row::after{
    content:"";
    position:absolute;
    z-index:3;
    top:12%;
    right:0;
    width:3px;
    height:76%;
    border-radius:2px 0 0 2px;
    background:#147cff;
    opacity:0;
    transform:scaleY(.34);
    transform-origin:center;
    box-shadow:0 0 0 rgba(20,124,255,0);
    pointer-events:none;
    transition:
        opacity .28s ease,
        transform .38s cubic-bezier(.16,1,.30,1),
        box-shadow .38s ease;
}

.mf-home-section .mf-newsroom-card .mf-newsroom-row::after{
    background:#59c7ff;
}

@media (hover:hover) and (pointer:fine){
    .mf-home-dashboard .mf-news-row:hover,
    .mf-home-dashboard .mf-ranked-row:hover,
    .mf-home-dashboard .mf-song-row:hover,
    .mf-home-section .mf-community-activity:hover,
    .mf-home-section .mf-dedication-post-mini:hover{
        transform:none !important;
        background:#f6f9fe !important;
        box-shadow:none !important;
    }

    .mf-home-section .mf-newsroom-card .mf-newsroom-row:hover{
        transform:none !important;
        background:rgba(89,199,255,.075) !important;
        box-shadow:none !important;
    }

    .mf-home-dashboard .mf-news-row:hover::after,
    .mf-home-dashboard .mf-ranked-row:hover::after,
    .mf-home-dashboard .mf-song-row:hover::after,
    .mf-home-section .mf-community-activity:hover::after,
    .mf-home-section .mf-dedication-post-mini:hover::after,
    .mf-home-section .mf-newsroom-card .mf-newsroom-row:hover::after{
        opacity:.58;
        transform:scaleY(1);
        box-shadow:0 0 10px rgba(20,124,255,.10);
    }

    .mf-home-section .mf-newsroom-card .mf-newsroom-row:hover::after{
        opacity:.78;
        box-shadow:0 0 11px rgba(89,199,255,.16);
    }

    /* Hover never recolours the typography. */
    .mf-home-dashboard .mf-news-row:hover h3,
    .mf-home-dashboard .mf-ranked-row:hover p,
    .mf-home-dashboard .mf-song-row:hover > span,
    .mf-home-dashboard .mf-news-row:hover small,
    .mf-home-dashboard .mf-song-row:hover small{
        color:inherit !important;
    }
}

/* Cards remain physically fixed. Only the shadow breathes in/out. */
.mf-home-section .mf-home-card{
    transform:none !important;
    transition:
        box-shadow .60s cubic-bezier(.16,1,.30,1),
        border-color .46s ease !important;
}

@media (hover:hover) and (pointer:fine){
    .mf-home-section .mf-home-card:not(.mf-newsroom-card):hover{
        transform:none !important;
        box-shadow:
            0 19px 44px rgba(15,35,70,.095),
            0 7px 18px rgba(15,35,70,.036),
            0 0 0 1px rgba(20,124,255,.025),
            inset 0 1px 0 rgba(255,255,255,.94) !important;
    }

    .mf-home-section .mf-newsroom-card:hover{
        transform:none !important;
        box-shadow:
            0 20px 46px rgba(5,19,42,.215),
            0 7px 18px rgba(5,19,42,.09),
            0 0 0 1px rgba(89,199,255,.022),
            inset 0 1px 0 rgba(255,255,255,.05) !important;
    }
}

@media(max-width:760px){
    html body main .mf-home-dashboard .mf-ranked-row p,
    .mf-home-dashboard .mf-ranked-row p{
        font-size:13px !important;
        line-height:1.38 !important;
    }
}

/* =========================================================
   Music FM — v22 hot-news interaction parity
   Make MAGAZINE rows behave exactly like the shared homepage rows.
========================================================= */
.mf-home-dashboard .mf-hot-news-card .mf-news-row{
    border-right:0 !important;
    border-bottom:1px solid #e4ebf5 !important;
    background:#fff !important;
    transition:
        background-color .34s cubic-bezier(.22,.61,.36,1),
        border-color .34s ease !important;
}

.mf-home-dashboard .mf-hot-news-card .mf-news-row:last-child{
    border-bottom:0 !important;
}

/* The hot-news component used ::after as its inset divider. Reclaim the
   same pseudo-element for the shared premium hover rail and use the normal
   row border above as the separator, matching TRENDING / HOT SONGS. */
.mf-home-dashboard .mf-hot-news-card .mf-news-row::after,
.mf-home-dashboard .mf-hot-news-card .mf-news-row:not(:last-child)::after{
    content:"" !important;
    position:absolute !important;
    z-index:3 !important;
    top:12% !important;
    right:0 !important;
    bottom:auto !important;
    left:auto !important;
    width:3px !important;
    height:76% !important;
    border-radius:2px 0 0 2px !important;
    background:#147cff !important;
    opacity:0 !important;
    transform:scaleY(.34) !important;
    transform-origin:center !important;
    box-shadow:0 0 0 rgba(20,124,255,0) !important;
    pointer-events:none !important;
    transition:
        opacity .28s ease,
        transform .38s cubic-bezier(.16,1,.30,1),
        box-shadow .38s ease !important;
}

@media (hover:hover) and (pointer:fine){
    .mf-home-dashboard .mf-hot-news-card .mf-news-row:hover{
        border-right:0 !important;
        background:#f6f9fe !important;
        box-shadow:none !important;
        transform:none !important;
    }

    .mf-home-dashboard .mf-hot-news-card .mf-news-row:hover::after,
    .mf-home-dashboard .mf-hot-news-card .mf-news-row:not(:last-child):hover::after{
        opacity:.58 !important;
        transform:scaleY(1) !important;
        box-shadow:0 0 10px rgba(20,124,255,.10) !important;
    }

    .mf-home-dashboard .mf-hot-news-card .mf-news-row:hover h3,
    .mf-home-dashboard .mf-hot-news-card .mf-news-row:hover small{
        color:inherit !important;
    }

    .mf-home-dashboard .mf-hot-news-card .mf-news-row:hover img{
        transform:scale(1.012) !important;
        filter:none !important;
    }
}


/* =========================================================
   V23 — Newsroom header action matches the shared card-link interaction.
   Keeps the dark card cyan palette; only the label text and hover motion change.
========================================================= */
.mf-home-section .mf-newsroom-card > .mf-card-head > a{
    flex:0 0 auto;
    color:#59c7ff !important;
    font-family:"Heebo",Arial,sans-serif !important;
    font-size:13px !important;
    line-height:1.1 !important;
    font-weight:950 !important;
    white-space:nowrap;
    text-decoration:none !important;
    transform:translateX(0);
    opacity:1;
    transition:
        opacity .20s ease,
        transform .20s var(--mf-home-ui-ease) !important;
}

@media (hover:hover) and (pointer:fine){
    .mf-home-section .mf-newsroom-card > .mf-card-head > a:hover{
        color:#59c7ff !important;
        opacity:.76;
        transform:translateX(-2px);
    }
}

.mf-home-section .mf-newsroom-card > .mf-card-head > a:focus-visible{
    outline:2px solid rgba(89,199,255,.50);
    outline-offset:4px;
}
