/* LX Music Web — native-inspired mobile shell v0.4.10
 * All selectors are scoped to mobile-shell-ready and touch breakpoints.
 * Desktop appearance, audio runtime, playlists and existing IDs are intact.
 * The reference is a design-language study, not a pixel-for-pixel copy.
 */
.mobile-menu-button,.mobile-page-title,.mobile-menu-shade,.mobile-channel-toggle{display:none}
@media(max-width:740px){
  html.modern-web.mobile-shell-ready body{
    background:#fcfdfb;color:#294437;
    -webkit-tap-highlight-color:transparent
  }
  html.modern-web.mobile-shell-ready .topbar{
    height:54px!important;min-height:54px;
    border-bottom:1px solid #e9efeb;background:#fff!important;
    box-shadow:none!important
  }
  html.modern-web.mobile-shell-ready .topbar-inner{
    height:54px;padding:0 15px 0 9px!important;gap:8px;
    justify-content:flex-start
  }
  html.modern-web.mobile-shell-ready .brand-block,
  html.modern-web.mobile-shell-ready .topbar-actions{display:none!important}
  html.modern-web.mobile-shell-ready .mobile-menu-button{
    display:grid;place-items:center;flex:0 0 42px;
    width:42px;height:42px;padding:0;
    border:0;background:transparent;color:#416957;
    border-radius:11px;font-size:23px;font-weight:450
  }
  html.modern-web.mobile-shell-ready .mobile-menu-button:hover,
  html.modern-web.mobile-shell-ready .mobile-menu-button:focus-visible{
    background:#eaf5ec;outline:none
  }
  html.modern-web.mobile-shell-ready .mobile-page-title{
    display:block;min-width:0;color:#2b4434;
    font-size:18px;font-weight:730;letter-spacing:.05px
  }
  html.modern-web.mobile-shell-ready .mobile-menu-shade{
    display:block;position:fixed;inset:0;z-index:198;
    border:0;border-radius:0;background:rgba(23,48,31,.25);
    width:100%;height:100dvh;padding:0;cursor:default
  }
  html.modern-web.mobile-shell-ready .mobile-menu-shade[hidden]{display:none!important}
  html.modern-web.mobile-shell-ready .nav-rail{
    display:block!important;position:fixed!important;
    left:0!important;top:0!important;right:auto!important;
    z-index:199!important;width:min(82vw,292px)!important;
    height:100dvh!important;min-height:0!important;
    padding:70px 17px 22px!important;
    border:0!important;border-radius:0!important;
    background:#fbfdfa!important;
    box-shadow:12px 0 32px rgba(25,56,38,.13);
    transform:translate3d(-106%,0,0);
    transition:transform .2s cubic-bezier(.2,.85,.2,1);
    overflow-y:auto!important;overflow-x:hidden!important;
    overscroll-behavior:contain
  }
  html.modern-web.mobile-shell-ready.mobile-nav-open .nav-rail{
    transform:translate3d(0,0,0)
  }
  html.modern-web.mobile-shell-ready .nav-brand{
    display:block;color:#83a18a;font-weight:680;text-align:left;
    padding:0 15px;margin-bottom:18px;font-size:10px;letter-spacing:2px
  }
  html.modern-web.mobile-shell-ready .main-nav{
    display:flex!important;flex-direction:column;gap:4px;
    width:100%;height:auto;overflow:visible!important
  }
  html.modern-web.mobile-shell-ready .nav-item{
    flex:0 0 auto;display:flex!important;flex-direction:row!important;
    align-items:center;justify-content:flex-start;
    gap:15px;width:100%;height:49px!important;min-height:49px!important;
    padding:0 15px!important;border-radius:11px!important;
    font-size:14px!important;text-align:left;color:#466955
  }
  html.modern-web.mobile-shell-ready .nav-item span:last-child{
    display:block;font-size:14px!important;font-weight:580
  }
  html.modern-web.mobile-shell-ready .nav-symbol{
    display:inline-grid;place-items:center;margin:0;flex:0 0 24px;
    width:24px;height:24px;font-size:19px
  }
  html.modern-web.mobile-shell-ready .nav-item.active{
    border:0!important;background:#e6f3e8!important;color:#267b52!important;
    box-shadow:none!important
  }
  html.modern-web.mobile-shell-ready .lx-layout{display:block;min-height:calc(100dvh - 54px)}
  html.modern-web.mobile-shell-ready .main-stage{
    width:100%;min-width:0;background:#fcfdfb!important
  }
  html.modern-web.mobile-shell-ready .persistent-top-stack{
    position:sticky!important;top:54px!important;z-index:43!important;
    background:#fcfdfb!important
  }
  html.modern-web.mobile-shell-ready .global-search-bar{
    padding:9px 16px 7px!important;
    border:0!important;background:#fcfdfb!important;box-shadow:none!important
  }
  html.modern-web.mobile-shell-ready .global-search{
    height:43px;min-height:43px;padding:0 2px;
    background:#f4f7f4!important;border:1px solid #edf1ec!important;
    border-radius:12px!important;box-shadow:none!important
  }
  html.modern-web.mobile-shell-ready .global-search input{
    background:transparent!important;height:41px;font-size:13px
  }
  html.modern-web.mobile-shell-ready .global-search button{
    height:34px;min-height:34px;
    background:#e3f2e6!important;color:#2d8057!important;
    border:0;border-radius:9px!important;font-size:12px
  }
  html.modern-web.mobile-shell-ready .global-search button:hover{background:#d5e9d9!important}
  html.modern-web.mobile-shell-ready .global-status{
    margin:0!important;padding:0 16px 7px!important;min-height:0!important;
    max-height:none!important;border:0!important;border-radius:0!important;
    background:transparent!important;box-shadow:none!important;
    color:#9a6751;font-size:11px
  }
  html.modern-web.mobile-shell-ready .global-status.ready{display:none!important}
  html.modern-web.mobile-shell-ready .view-container{
    padding:8px 16px calc(84px + env(safe-area-inset-bottom))!important;
    max-width:760px
  }
  html.modern-web.mobile-shell-ready .view-panel.active{animation:none!important}
  html.modern-web.mobile-shell-ready .view-header{
    gap:8px;margin:4px 0 13px!important;min-height:33px;
    align-items:center
  }
  html.modern-web.mobile-shell-ready .panel-kicker,
  html.modern-web.mobile-shell-ready .view-note{display:none!important}
  html.modern-web.mobile-shell-ready .view-header h1{
    font-size:20px!important;margin:0!important;line-height:1.25;
    letter-spacing:0;font-weight:690
  }
  /* Search is already named in the top bar; don't repeat a giant header. */
  html.modern-web.mobile-shell-ready #view-search>.view-header{
    justify-content:flex-end;min-height:29px;margin:0 0 11px!important
  }
  html.modern-web.mobile-shell-ready #view-search>.view-header>div:first-child{display:none}
  html.modern-web.mobile-shell-ready .view-tabs{gap:18px}
  html.modern-web.mobile-shell-ready .view-tab{
    min-height:28px;padding:3px 2px;border:0!important;
    border-radius:0!important;background:transparent!important;
    color:#9aaba0!important;font-size:13px;font-weight:640
  }
  html.modern-web.mobile-shell-ready .view-tab.active{
    color:#328d64!important;border-bottom:2px solid #67b68d!important
  }
  html.modern-web.mobile-shell-ready #search-song-view{gap:0!important}
  html.modern-web.mobile-shell-ready #search-song-view>.sub-toolbar{
    position:relative;display:flex;flex-direction:row!important;
    flex-wrap:nowrap;gap:6px;min-height:40px;
    padding:0 0 9px!important;margin:0;
    background:transparent!important;border:0!important;
    box-shadow:none!important
  }
  html.modern-web.mobile-shell-ready #search-song-view>.sub-toolbar>span:first-child{display:none}
  html.modern-web.mobile-shell-ready .mobile-channel-toggle{
    display:inline-flex;align-items:center;justify-content:space-between;
    gap:9px;max-width:100%;width:auto;min-height:34px;
    padding:6px 11px;border:1px solid #e0eae2;border-radius:9px;
    background:#f3f8f4;color:#3f7956;font-size:12px;font-weight:630;
    cursor:pointer;white-space:nowrap
  }
  html.modern-web.mobile-shell-ready #search-song-view>.sub-toolbar .channel-list{
    display:none!important
  }
  html.modern-web.mobile-shell-ready #search-song-view>.sub-toolbar.channel-picker-open .channel-list{
    display:flex!important;position:absolute;z-index:60;
    top:calc(100% - 4px);left:0;right:0;
    width:min(100%,420px);max-width:100%;padding:12px;
    flex-wrap:wrap!important;gap:8px;overflow:visible!important;
    border:1px solid #dceade;border-radius:13px;
    background:#fff;box-shadow:0 14px 25px rgba(28,64,40,.12)
  }
  html.modern-web.mobile-shell-ready #search-song-view .quality-summary{display:none!important}
  html.modern-web.mobile-shell-ready .results-head{
    padding:11px 0 8px!important;margin:0;gap:8px
  }
  html.modern-web.mobile-shell-ready .results-head strong{
    font-size:14px!important;font-weight:700;color:#3a5843
  }
  html.modern-web.mobile-shell-ready .results-head .muted{font-size:11px;color:#97a699}
  html.modern-web.mobile-shell-ready #search-results{
    background:transparent!important;border:0!important
  }
  html.modern-web.mobile-shell-ready #search-results>.search-song-row{
    grid-template-columns:22px minmax(0,1fr) 38px!important;
    grid-template-rows:1fr!important;
    min-height:62px!important;padding:7px 2px!important;
    margin:0!important;gap:7px!important;
    border:0!important;border-bottom:1px solid #eff2ee!important;
    border-radius:0!important;background:transparent!important;
    box-shadow:none!important;transform:none!important
  }
  html.modern-web.mobile-shell-ready #search-results>.search-song-row:hover{
    background:#f6faf5!important
  }
  html.modern-web.mobile-shell-ready #search-results>.search-song-row .song-row-index{
    grid-column:1;grid-row:1;font-size:11px;color:#a9b6a9
  }
  html.modern-web.mobile-shell-ready #search-results>.search-song-row .search-song-main{
    grid-column:2;grid-row:1;min-width:0;
    padding:4px 0;margin:0;box-sizing:border-box
  }
  html.modern-web.mobile-shell-ready #search-results>.search-song-row .song-title{
    font-size:14px!important;font-weight:580!important;
    line-height:1.45!important;letter-spacing:0
  }
  html.modern-web.mobile-shell-ready #search-results>.search-song-row .song-artist{
    font-size:11px!important;line-height:1.45;color:#99a79a
  }
  html.modern-web.mobile-shell-ready #search-results>.search-song-row .search-actions{
    grid-column:3;grid-row:1;gap:0;margin:0;min-width:0;justify-content:flex-end
  }
  html.modern-web.mobile-shell-ready #search-results>.search-song-row .song-action-play{
    display:none!important
  }
  html.modern-web.mobile-shell-ready #search-results>.search-song-row .song-more,
  html.modern-web.mobile-shell-ready #search-results>.search-song-row .song-more>summary{
    display:grid;place-items:center;
    width:38px;min-width:38px;height:42px;min-height:42px;
    border:0!important;background:transparent!important;
    color:#9fac9f!important;border-radius:9px;font-size:20px
  }
  html.modern-web.mobile-shell-ready #search-results>.search-song-row .song-more[open]{
    z-index:50;background:#f1f8f3
  }
  html.modern-web.mobile-shell-ready .infinite-scroll-status{
    padding:18px 10px;font-size:12px;color:#9aab9e
  }
  /* Playlist: album art dominates. Three evenly spaced square covers,
     with secondary actions overlaid instead of a button bar per card. */
  html.modern-web.mobile-shell-ready .playlist-grid{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:18px 12px!important;padding:7px 0 14px!important;
    align-items:start
  }
  html.modern-web.mobile-shell-ready .playlist-card{
    position:relative;min-width:0;overflow:visible;
    padding:0!important;margin:0!important;border:0!important;
    border-radius:0!important;background:transparent!important;
    box-shadow:none!important;cursor:pointer
  }
  html.modern-web.mobile-shell-ready .playlist-card:hover{
    background:transparent!important;box-shadow:none!important;
    transform:none!important
  }
  html.modern-web.mobile-shell-ready .playlist-cover{
    width:100%;height:auto!important;aspect-ratio:1/1;
    border-radius:8px!important;box-shadow:none!important;
    font-size:27px;color:#91ae95
  }
  html.modern-web.mobile-shell-ready .playlist-name{
    display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;
    overflow:hidden;white-space:normal!important;
    font-size:11px!important;line-height:1.4!important;
    height:2.8em;margin:7px 0 0!important;
    font-weight:580!important;color:#4d5d50
  }
  html.modern-web.mobile-shell-ready .playlist-meta{display:none!important}
  html.modern-web.mobile-shell-ready .playlist-card-actions{
    display:block;position:absolute;top:5px;right:5px;
    width:auto;height:auto;margin:0!important;pointer-events:none
  }
  html.modern-web.mobile-shell-ready .playlist-card-actions .playlist-open-button{
    display:none!important
  }
  html.modern-web.mobile-shell-ready .playlist-card-actions button.secondary{
    display:grid;place-items:center;pointer-events:auto;
    width:28px!important;height:28px!important;min-height:28px!important;
    padding:0!important;border:0!important;border-radius:50%!important;
    background:rgba(253,255,252,.88)!important;color:#4a9871!important;
    font-size:0!important;line-height:1
  }
  html.modern-web.mobile-shell-ready .playlist-card-actions button.secondary::before{
    content:'♡';font:700 18px/1 Arial,sans-serif
  }
  html.modern-web.mobile-shell-ready .playlist-card-actions button.secondary.is-favorite::before{
    content:'♥';color:#2c9c68
  }
  html.modern-web.mobile-shell-ready #playlist-filter-stack{
    position:static!important;top:auto!important;
    background:transparent!important;margin-bottom:6px
  }
  html.modern-web.mobile-shell-ready .playlist-filter-stack .sub-toolbar,
  html.modern-web.mobile-shell-ready .category-row,
  html.modern-web.mobile-shell-ready .ranking-source-switch{
    border:0!important;box-shadow:none!important;
    background:transparent!important;border-radius:0!important;
    padding:5px 0!important
  }
  html.modern-web.mobile-shell-ready .category-row{gap:9px!important}
  html.modern-web.mobile-shell-ready .category-row>span,
  html.modern-web.mobile-shell-ready .playlist-service-note>span{display:none}
  html.modern-web.mobile-shell-ready .category-pill,
  html.modern-web.mobile-shell-ready .catalog-source,
  html.modern-web.mobile-shell-ready .channel-button{
    border:0!important;border-radius:8px!important;
    background:transparent!important;color:#8b9e90;
    padding:7px 11px!important;min-height:33px
  }
  html.modern-web.mobile-shell-ready .category-pill.active,
  html.modern-web.mobile-shell-ready .catalog-source.active,
  html.modern-web.mobile-shell-ready .channel-button.active{
    background:#e8f5ea!important;color:#2e8a5b!important
  }
  html.modern-web.mobile-shell-ready #view-playlist .view-header h1,
  html.modern-web.mobile-shell-ready #view-ranking .view-header h1,
  html.modern-web.mobile-shell-ready #view-mylist .view-header h1{
    font-size:20px!important
  }
  html.modern-web.mobile-shell-ready .ranking-layout{
    border:0!important;border-radius:0!important;
    background:transparent!important;box-shadow:none!important
  }
  html.modern-web.mobile-shell-ready .ranking-sidebar{
    border:0!important;background:transparent!important;padding:0!important
  }
  html.modern-web.mobile-shell-ready .ranking-sidebar .subsection-heading{display:none}
  html.modern-web.mobile-shell-ready .ranking-list{padding:4px 0 9px!important}
  html.modern-web.mobile-shell-ready .ranking-item{background:transparent!important}
  html.modern-web.mobile-shell-ready .ranking-content{
    border:0!important;background:transparent!important
  }
  html.modern-web.mobile-shell-ready #ranking-songs>.chart-song-row{
    min-height:61px!important;padding:8px 3px!important;
    margin:0!important;border:0!important;
    border-bottom:1px solid #ecf2ed!important;border-radius:0!important;
    background:transparent!important;box-shadow:none!important
  }
  html.modern-web.mobile-shell-ready .chart-play-btn{
    border:0!important;background:transparent!important;
    color:#6da988!important;min-width:53px!important;width:53px!important
  }
  html.modern-web.mobile-shell-ready .ranking-play-hint{display:none}
  html.modern-web.mobile-shell-ready .ranking-title{padding:12px 4px;font-size:15px}
  html.modern-web.mobile-shell-ready .music-library-workspace{
    border:0!important;box-shadow:none!important;border-radius:0!important
  }
  html.modern-web.mobile-shell-ready .music-library-sidebar{
    padding:0 0 5px!important;border:0!important;background:transparent!important
  }
  html.modern-web.mobile-shell-ready .my-tabs{gap:8px!important}
  html.modern-web.mobile-shell-ready .my-tab{
    box-shadow:none!important;border-radius:9px!important;
    padding:0 11px!important;background:transparent!important;
    border:0!important;color:#819786!important
  }
  html.modern-web.mobile-shell-ready .my-tab.active{
    color:#2e8e60!important;background:#e8f5eb!important
  }
  html.modern-web.mobile-shell-ready .music-library-content{
    padding:0!important;background:transparent!important
  }
  html.modern-web.mobile-shell-ready .library-row.tap-to-play{
    padding:11px 1px!important;
    min-height:63px!important;margin:0!important;
    border-bottom:1px solid #edf1ed!important;background:transparent!important
  }
  html.modern-web.mobile-shell-ready .library-column-header{display:none!important}
  html.modern-web.mobile-shell-ready .library-actions button:first-child{display:none!important}
  /* Single-line mini-player: music stays visible while browsing.
     Seek range remains available as a narrow progress strip. */
  html.modern-web.mobile-shell-ready .player-bar{
    display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;
    grid-template-rows:1fr!important;align-items:center!important;
    position:fixed!important;bottom:0!important;left:0!important;right:0!important;
    width:100%!important;height:calc(65px + env(safe-area-inset-bottom))!important;
    min-height:65px!important;max-height:none!important;
    padding:6px 13px calc(7px + env(safe-area-inset-bottom))!important;
    gap:6px!important;border-top:1px solid #e5ece7!important;
    background:rgba(253,255,252,.98)!important;
    box-shadow:0 -4px 20px rgba(34,68,44,.04)!important;
    z-index:84!important
  }
  html.modern-web.mobile-shell-ready .player-song{
    grid-column:1;grid-row:1;
    display:flex!important;gap:9px!important;
    width:auto!important;min-width:0!important;height:46px!important;
    min-height:46px!important;align-items:center!important
  }
  html.modern-web.mobile-shell-ready .player-art{
    flex:0 0 42px!important;width:42px!important;height:42px!important;
    border-radius:7px!important;box-shadow:none!important
  }
  html.modern-web.mobile-shell-ready .player-meta{min-width:0!important}
  html.modern-web.mobile-shell-ready #player-title{
    max-width:100%;font-size:13px!important;line-height:1.5!important;
    font-weight:620!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis
  }
  html.modern-web.mobile-shell-ready #player-artist{
    max-width:100%;font-size:10px!important;line-height:1.45!important;
    white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#8da095
  }
  html.modern-web.mobile-shell-ready .player-center{
    grid-column:2;grid-row:1;display:flex!important;
    justify-content:center!important;align-items:center!important;
    height:46px!important;min-height:46px!important;
    margin:0!important;padding:0!important
  }
  html.modern-web.mobile-shell-ready .player-transport{
    display:flex!important;align-items:center!important;justify-content:flex-end!important;
    gap:2px!important;width:auto!important;height:44px!important;min-height:44px!important
  }
  html.modern-web.mobile-shell-ready .player-mode-wrap,
  html.modern-web.mobile-shell-ready #prev-track-btn{display:none!important}
  html.modern-web.mobile-shell-ready .player-icon-btn{
    display:grid;place-items:center;
    width:41px!important;min-width:41px!important;height:42px!important;min-height:42px!important;
    border:0!important;border-radius:10px!important;
    color:#4fa679!important;background:transparent!important;box-shadow:none!important
  }
  html.modern-web.mobile-shell-ready .player-main-toggle{
    width:43px!important;min-width:43px!important;
    color:#319866!important;background:transparent!important;
    box-shadow:none!important
  }
  html.modern-web.mobile-shell-ready .player-main-toggle:hover{
    color:#257e53!important;background:#edf7ee!important
  }
  html.modern-web.mobile-shell-ready .player-timeline{
    position:absolute!important;left:0!important;right:0!important;
    top:-4px!important;bottom:auto!important;
    width:100%!important;max-width:none!important;height:7px!important;
    padding:0!important;margin:0!important;gap:0!important
  }
  html.modern-web.mobile-shell-ready .player-time{display:none!important}
  html.modern-web.mobile-shell-ready .player-seek-wrap{
    width:100%;height:7px!important;min-height:7px!important
  }
  html.modern-web.mobile-shell-ready #player-seek{
    width:100%;height:3px!important;padding:0;margin:0;
    accent-color:#79b995
  }
  html.modern-web.mobile-shell-ready #player-seek::-webkit-slider-thumb{
    width:10px;height:10px
  }
  html.modern-web.mobile-shell-ready .player-extras,
  html.modern-web.mobile-shell-ready .player-status{display:none!important}
}
@media(max-width:355px){
  html.modern-web.mobile-shell-ready .view-container{
    padding-left:12px!important;padding-right:12px!important
  }
  html.modern-web.mobile-shell-ready .playlist-grid{gap:14px 9px!important}
  html.modern-web.mobile-shell-ready .playlist-name{font-size:10px!important}
  html.modern-web.mobile-shell-ready .view-tab{font-size:12px}
}
@media(prefers-reduced-motion:reduce){
  html.modern-web.mobile-shell-ready .nav-rail{transition:none!important}
}

/* v0.4.9: consistent playlist tiles across desktop/tablet.
   Each row's controls share one baseline, even for 1- and 2-line titles. */
html.modern-web #playlist-featured .playlist-card,
html.modern-web #playlist-results .playlist-card,
html.modern-web #playlist-favorite-list .playlist-card{
  display:flex;flex-direction:column;min-width:0;
}
@media(min-width:741px){
  html.modern-web :is(#playlist-featured,#playlist-results,#playlist-favorite-list) .playlist-name{
    display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;
    white-space:normal;min-height:3.0em;max-height:3.0em;
    overflow:hidden;line-height:1.5
  }
  html.modern-web :is(#playlist-featured,#playlist-results,#playlist-favorite-list) .playlist-meta{
    display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;
    min-height:3.0em;max-height:3.0em;
    overflow:hidden;line-height:1.5
  }
  html.modern-web :is(#playlist-featured,#playlist-results,#playlist-favorite-list) .playlist-card-actions{
    margin-top:auto;padding-top:12px;
    display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    align-items:stretch;gap:8px
  }
  html.modern-web :is(#playlist-featured,#playlist-results,#playlist-favorite-list) .playlist-card-actions button{
    display:flex;justify-content:center;align-items:center;
    width:100%;min-height:38px;height:38px!important;
    margin:0!important;padding:0 7px!important;
    border-radius:9px!important;line-height:1.2;
    font-size:12px!important;white-space:nowrap
  }
}
html.modern-web .playlist-scroll-footer{
  display:block;text-align:center;padding:19px 10px 30px;
  min-height:48px;color:#829787;font-size:12px;
  letter-spacing:.15px
}
html.modern-web .playlist-scroll-footer[hidden]{display:none!important}
html.modern-web .playlist-scroll-footer.is-error{
  color:#aa6853;cursor:pointer;text-decoration:underline
}
html.modern-web #playlist-detail-footer{padding:17px 8px 24px}
html.modern-web #playlist-load-more-btn{min-height:38px}
@media(max-width:740px){
  /* Menus are portaled into <body>, not clipped by the main scroll area. */
  html.modern-web.mobile-shell-ready body.mobile-menu-locked{
    overflow:hidden!important;overscroll-behavior:none
  }
  html.modern-web.mobile-shell-ready .mobile-menu-shade{z-index:998!important}
  html.modern-web.mobile-shell-ready .nav-rail{
    z-index:999!important;max-height:100dvh!important;
    height:100dvh!important;padding-top:16px!important;
    border-right:1px solid #e4eee5!important;
    display:flex!important;flex-direction:column
  }
  html.modern-web.mobile-shell-ready .mobile-drawer-heading{
    display:flex;align-items:center;justify-content:space-between;
    flex:0 0 auto;min-height:48px;
    padding:0 3px 10px 13px;margin-bottom:13px;
    border-bottom:1px solid #ecf2ed;
    color:#2c7451;font-size:18px
  }
  html.modern-web.mobile-shell-ready .mobile-drawer-close{
    display:grid;place-items:center;
    width:42px;height:42px;min-height:42px;padding:0;
    border:0;border-radius:11px;background:#edf6ef;
    color:#417759;font-size:27px;font-weight:400
  }
  html.modern-web.mobile-shell-ready .nav-brand{margin-bottom:11px!important}
  html.modern-web.mobile-shell-ready .main-nav{flex:0 0 auto}
  html.modern-web.mobile-shell-ready .playlist-scroll-footer{
    padding:21px 5px 24px;font-size:12px
  }
}
@media(min-width:741px){
  .mobile-drawer-heading{display:none!important}
}

/* v0.4.10 — standalone source picker and single-screen playlist details.
   Both overlays live at body level to escape sticky/animation contexts. */
html.modern-web #view-playlist.is-detail-open #playlist-featured,
html.modern-web #view-playlist.is-detail-open #playlist-featured-footer,
html.modern-web #view-playlist.is-detail-open #playlist-filter-stack{
  display:none!important;
}
html.modern-web #view-playlist.is-detail-open #playlist-detail-panel{
  display:block!important;width:100%;max-width:100%;
}
@media(max-width:740px){
  html.modern-web.mobile-shell-ready body>#channel-list.mobile-channel-popover{
    position:fixed!important;z-index:1100!important;
    display:flex!important;flex-wrap:wrap!important;
    gap:8px!important;
    top:var(--picker-top,160px)!important;
    left:var(--picker-left,15px)!important;
    width:var(--picker-width,300px)!important;
    max-width:calc(100vw - 16px)!important;
    height:auto!important;max-height:min(240px,45dvh)!important;
    margin:0!important;padding:12px!important;
    overflow-x:hidden!important;overflow-y:auto!important;
    border:1px solid #d6e8dc!important;border-radius:13px!important;
    background:#fff!important;color:#335c45!important;
    box-shadow:0 12px 32px rgba(35,72,48,.16)!important;
    box-sizing:border-box!important;
    -webkit-overflow-scrolling:touch
  }
  html.modern-web.mobile-shell-ready body>#channel-list.mobile-channel-popover .channel-button{
    display:inline-flex!important;align-items:center;justify-content:center;
    min-height:40px!important;padding:8px 11px!important;
    white-space:nowrap!important;font-size:12px!important;
    border-radius:9px!important
  }
  html.modern-web.mobile-shell-ready .nav-rail .main-nav{
    display:flex!important;flex-direction:column!important;
    width:100%!important;min-width:0!important;
    padding:0!important
  }
  html.modern-web.mobile-shell-ready .nav-rail .nav-item{
    display:grid!important;
    grid-template-columns:26px minmax(0,1fr)!important;
    justify-content:stretch!important;align-items:center!important;
    gap:14px!important;width:100%!important;min-width:0!important;
    max-width:none!important;flex:0 0 auto!important;
    padding:0 15px!important;box-sizing:border-box!important;
    text-align:left!important
  }
  html.modern-web.mobile-shell-ready .nav-rail .nav-item .nav-symbol{
    grid-column:1;grid-row:1;justify-self:center;width:24px!important;
    min-width:24px!important
  }
  html.modern-web.mobile-shell-ready .nav-rail .nav-item span:last-child{
    grid-column:2;grid-row:1;display:block!important;
    min-width:0!important;max-width:none!important;width:auto!important;
    overflow:visible!important;white-space:nowrap!important;
    word-break:keep-all!important;writing-mode:horizontal-tb!important;
    font-size:14px!important;line-height:1.2!important
  }
  html.modern-web.mobile-shell-ready #view-playlist.is-detail-open .playlist-detail-panel{
    margin-top:4px!important;border-radius:14px!important
  }
}

/* FyMusic modern mobile ergonomics: 44px touch targets with visible
   keyboard focus, without adding animation or reflow-heavy effects. */
@media(max-width:740px){
  html.modern-web.mobile-shell-ready .mobile-menu-button,
  html.modern-web.mobile-shell-ready .mobile-drawer-close{
    width:44px!important;height:44px!important;
    min-width:44px!important;min-height:44px!important
  }
  html.modern-web.mobile-shell-ready .mobile-channel-toggle,
  html.modern-web.mobile-shell-ready body>#channel-list.mobile-channel-popover .channel-button{
    min-height:44px!important
  }
  html.modern-web.mobile-shell-ready .mobile-menu-button:focus-visible,
  html.modern-web.mobile-shell-ready .mobile-drawer-close:focus-visible,
  html.modern-web.mobile-shell-ready .mobile-channel-toggle:focus-visible,
  html.modern-web.mobile-shell-ready body>#channel-list.mobile-channel-popover .channel-button:focus-visible{
    outline:2px solid #2d9465!important;outline-offset:2px!important
  }
  html.modern-web.mobile-shell-ready .mobile-menu-button:focus-visible{
    background:#eaf5ec!important
  }
}
