
/* LX Music Modern · 0.4.0 · Eye-care mint design.
   Deliberately framework-free: no remote fonts, giant images, animations on
   scroll, layout thrashing or shadow-heavy cards. This sheet is the only
   modern design layer over the legacy functional layout contracts. */
:root{
  color-scheme:light;
  --bg:#f4f8f2;--panel:#fffefa;--surface:#ffffff;--surface2:#edf5ee;
  --mint:#268766;--mint2:#42a785;--text:#243e32;--muted:#687f72;
  --stroke:#dce9de;--shadow:0 6px 22px rgba(39,79,53,.055);
  --light-mint:#e3f3e8;--soft-green:#f0f7ed;--secondary:#48695a;
  --danger:#b44d4c;
}
html,body{
  margin:0;background:var(--bg);color:var(--text);color-scheme:light;
  font:14px/1.55 ui-sans-serif,system-ui,-apple-system,"Segoe UI",
      "PingFang SC","Microsoft YaHei",sans-serif;scroll-behavior:auto;
}
html.modern-web{overflow-x:clip}
html.modern-web body{overflow-x:clip;overflow-y:visible}
html.modern-web #app{min-height:100vh;padding:0;background:var(--bg)}
*,*::before,*::after{box-sizing:border-box}
button,input,select,textarea{font:inherit}
button{touch-action:manipulation;cursor:pointer;transition:background-color .16s ease,border-color .16s ease,color .16s ease}
button:disabled{opacity:.48;cursor:not-allowed}
button:active:not(:disabled){filter:brightness(.97)}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,
.playlist-song-row:focus-visible{outline:2px solid var(--mint);outline-offset:3px}
a{color:var(--mint)}
.hidden,[hidden]{display:none!important}

/* Fixed musical identity, clean navigation, easy-to-read green text. */
html.modern-web .topbar{
  position:sticky;top:0;left:auto;right:auto;z-index:100;
  width:100%;height:72px;background:rgba(254,255,251,.98);
  color:var(--text);border:0;border-bottom:1px solid var(--stroke);
  box-shadow:0 2px 12px rgba(48,82,52,.035);
}
.topbar-inner{height:100%;padding:0 clamp(18px,2.3vw,34px);gap:16px;display:flex;align-items:center;justify-content:space-between}
.brand-block{position:relative;padding-left:51px;min-width:0}
.brand-block::before{
  content:"♫";position:absolute;left:0;top:50%;transform:translateY(-50%);
  display:grid;place-items:center;width:41px;height:41px;border-radius:13px;
  color:#fff;background:linear-gradient(135deg,#56b894,#25866c);font-size:25px
}
html.modern-web .brand{color:#203e30;font-size:20px;letter-spacing:-.65px;font-weight:790;line-height:1.25}
html.modern-web .subtitle{color:#84998b;font-size:10px;letter-spacing:.5px;margin-top:3px;opacity:1}
.topbar-actions{display:flex;align-items:center;gap:9px;min-width:0}
html.modern-web .topbar-chip{
  margin:0;padding:6px 12px;border:1px solid var(--stroke);border-radius:30px;
  color:#678274;background:#f4f9f3;font-size:11px;font-weight:570
}
html.modern-web .top-source-indicator{
  color:#247958;background:#e8f6e9;border-color:#c6e7d0;max-width:250px;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap
}
html.modern-web .lx-layout{display:flex;align-items:stretch;min-height:calc(100vh - 72px);padding:0;background:var(--bg)}
html.modern-web .nav-rail{
  position:sticky;top:72px;left:auto;bottom:auto;align-self:flex-start;
  width:206px;flex:0 0 206px;height:calc(100vh - 72px);
  padding:25px 13px;background:#eaf4e9;border-right:1px solid #d9e9da;
  overflow-x:hidden!important;overflow-y:auto;z-index:44;
}
html.modern-web .nav-brand{
  display:block;text-align:left;margin:5px 12px 20px;
  color:#7b9d85;font-size:10px;font-weight:750;letter-spacing:2px;
  white-space:nowrap;overflow:hidden
}
html.modern-web .main-nav{display:grid;gap:5px}
html.modern-web .nav-item{
  width:100%;min-width:0;height:47px;min-height:47px;display:flex;align-items:center;
  justify-content:flex-start;gap:12px;margin:0;padding:0 14px;
  border:1px solid transparent;border-radius:12px;background:transparent;
  color:#557364;font-size:13px;font-weight:630
}
html.modern-web .nav-item span:last-child{display:inline}
html.modern-web .nav-item:hover{color:#24694e;background:#dff0e2}
html.modern-web .nav-item.active,html.modern-web .nav-item.active:hover{
  background:#fffefa;border-color:#d3e8d8;color:#217856;
  box-shadow:0 2px 9px rgba(33,103,73,.045),inset 3px 0 #54b58b
}
html.modern-web .nav-symbol{width:22px;height:24px;margin:0;font-size:20px;display:grid;place-items:center;flex:0 0 22px}
html.modern-web .main-stage{flex:1;min-width:0;margin:0;background:var(--bg)}

/* Search remains visible on all views for consistent keyboard shortcuts. */
html.modern-web .persistent-top-stack{
  position:sticky;top:72px;z-index:48;background:rgba(244,248,242,.98);
  border-bottom:1px solid var(--stroke);box-shadow:none
}
html.modern-web .global-search-bar{
  position:relative;top:auto;display:flex;align-items:center;gap:12px;
  padding:16px clamp(20px,3vw,44px) 8px;background:transparent;border:0
}
html.modern-web .global-search{
  display:flex;align-items:center;flex:1;max-width:none;min-width:0;
  height:52px;padding:0 5px 0 7px;background:#fff;
  border:1px solid #cfe0d2;border-radius:14px;overflow:hidden;
  box-shadow:0 2px 12px rgba(25,75,49,.035)
}
html.modern-web .global-search:focus-within{border-color:#7cbda0;box-shadow:0 0 0 3px #ddf2e6}
html.modern-web .search-icon{width:43px;flex:0 0 43px;color:#398a68;font-size:25px;text-align:center}
html.modern-web .global-search input{
  height:48px;min-width:0;flex:1;border:0;background:#fff;color:#263e31;
  font-size:14px;padding:0 8px;outline:0
}
html.modern-web .global-search input::placeholder{color:#9aaca1}
html.modern-web .global-search input:disabled{background:#f6f8f5;color:#839489}
html.modern-web .global-search button{
  min-height:40px;height:40px;flex:0 0 auto;border:0;border-radius:10px;
  background:#2e936f;color:#fff;font-size:13px;font-weight:720;
  padding:0 24px;margin:0
}
html.modern-web .global-search button:hover{background:#217854}
html.modern-web .search-context{margin:0;color:#788d7c;font-size:11px;white-space:nowrap;max-width:150px}
html.modern-web .global-status{
  margin:0 clamp(20px,3vw,44px) 9px;padding:5px 11px;min-height:25px;
  max-height:80px;overflow:auto;border:1px solid #deecdf;border-radius:8px;
  color:#657d6d;background:#eef6eb;font-size:11px;line-height:1.4;
  box-shadow:none;word-break:break-word
}
html.modern-web .global-status.ready{color:#267852;background:#e5f5e8;border-color:#d0e9d3}
html.modern-web .global-status.warn{color:#926527;background:#fff7e7;border-color:#f4dfbb}
html.modern-web .global-status.fail{color:#a84842;background:#fff1ee;border-color:#efcfca}
html.modern-web .status button{border:1px solid #c5e0cf;border-radius:7px;color:#287a59;background:#fff;padding:4px 10px;margin-left:8px}

/* Text hierarchy is intentionally dark on light: no near-white titles. */
html.modern-web .view-container{
  width:100%;max-width:1660px;margin:0 auto;
  padding:30px clamp(20px,3vw,44px) 160px;background:transparent
}
html.modern-web .view-panel{display:none;background:transparent}
html.modern-web .view-panel.active{display:block;animation:panel-enter .18s ease-out both}
@keyframes panel-enter{from{opacity:.65}to{opacity:1}}
html.modern-web .view-header{
  display:flex;align-items:center;justify-content:space-between;gap:15px;
  margin:0 0 22px;padding:0 2px
}
html.modern-web .panel-kicker{color:#5d9a71;font-size:10px;font-weight:800;letter-spacing:2.6px}
html.modern-web .view-header h1{
  color:#254432;font-size:clamp(27px,2.45vw,35px);font-weight:790;
  letter-spacing:-1px;line-height:1.18;margin:5px 0 0
}
html.modern-web .view-note,html.modern-web .muted,html.modern-web .quality-summary{
  color:#758a7b;font-size:12px
}
html.modern-web .view-tabs,html.modern-web .my-tabs{display:flex;flex-wrap:wrap;gap:6px}
html.modern-web .view-tab,html.modern-web .my-tab{
  min-height:36px;margin:0;padding:0 15px;background:#fff;
  border:1px solid #d9e8dc;border-radius:9px;color:#547260;font-size:12px;font-weight:650
}
html.modern-web .view-tab.active,html.modern-web .my-tab.active{
  color:#fff;background:#2e936f;border-color:#2e936f
}

/* Filter bars are light, low-noise. Native sticky positioning is retained. */
html.modern-web #search-song-view{display:grid;gap:12px}
html.modern-web #search-playlist-view.hidden{display:none}
html.modern-web .sub-toolbar,html.modern-web .category-row{
  display:flex;flex-wrap:wrap;align-items:center;gap:9px;padding:13px 16px;
  background:#fff;border:1px solid var(--stroke);border-radius:13px;
  color:#637d6b;font-size:12px
}
html.modern-web .sub-toolbar>span:first-child,
html.modern-web .category-row>span:first-child{font-weight:650;white-space:nowrap}
html.modern-web .channel-list,html.modern-web .platform-pills{display:flex;gap:7px;flex-wrap:wrap;min-width:0}
html.modern-web .channel-button,html.modern-web .platform-pill,html.modern-web .category-pill{
  min-height:33px;margin:0;padding:0 12px;border-radius:8px;
  border:1px solid #dce8dd;background:#f4f8f3;color:#607868;
  font-size:12px;font-weight:570
}
html.modern-web .channel-button.active,html.modern-web .platform-pill.active,html.modern-web .category-pill.active{
  border-color:#b8ddc6;background:#e4f3e7;color:#247956;font-weight:740
}
html.modern-web .channel-button:hover,html.modern-web .category-pill:hover,
html.modern-web .platform-pill:not(:disabled):hover{background:#e7f3e9;color:#287b58}
html.modern-web .platform-pill.disabled{opacity:.37}
html.modern-web .quality-summary{margin-left:auto;flex:0 1 auto;max-width:100%;font-size:11px}
html.modern-web .results-head{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding:12px 3px 9px;color:#335b43;background:transparent;font-size:13px
}
html.modern-web .results-head strong{color:#345f47;font-size:15px;font-weight:760}
html.modern-web .results-list{background:transparent;border:0}
html.modern-web .results-list:empty:after{
  content:"这里还没有内容，试着搜索一首喜欢的歌";display:block;
  padding:58px 16px;margin:10px 0;background:#fffefa;border:1px dashed #d4e4d6;
  border-radius:13px;text-align:center;color:#90a497;font-size:13px
}
html.modern-web #ranking-songs:empty:after{content:"选择左侧榜单，发现好听的歌曲"}
html.modern-web #playlist-detail-songs:empty:after{content:"暂无歌曲"}
html.modern-web #search-results{counter-reset:song;overflow:visible;padding:0}
html.modern-web #playlist-results{padding-top:8px}
html.modern-web .search-row{
  display:flex;flex-wrap:nowrap;align-items:center;gap:13px;
  min-height:61px;margin:0 0 6px;padding:9px 15px;
  background:#fff;border:1px solid #e2ece3;border-radius:10px;
  box-shadow:none;transition:border-color .14s ease,background-color .14s ease
}
html.modern-web #search-results>.search-row:before{
  content:counter(row);counter-increment:row;display:block;flex:0 0 28px;
  width:28px;text-align:center;color:#9baa9d;font-size:12px;font-weight:630
}
html.modern-web #search-results{counter-reset:row}
html.modern-web .search-row:hover,
html.modern-web .library-row:hover,
html.modern-web #playlist-detail-songs>.playlist-song-row:hover{
  background:#f3faf3;border-color:#c4e0ca;transform:none
}
html.modern-web .search-row>b{
  flex:2;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  font-size:14px;color:#294838;font-weight:690
}
html.modern-web .search-row>span{
  flex:1;min-width:0;color:#708779;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap
}
html.modern-web .search-row .search-source{
  flex:0 0 auto;color:#3e8562;border:0;border-radius:6px;background:#eef6ee;
  font-size:11px;padding:4px 8px;margin:0
}
html.modern-web .search-actions{display:flex;align-items:center;justify-content:flex-end;flex:0 0 auto;gap:6px;margin:0;white-space:nowrap}
html.modern-web .search-actions button,html.modern-web .library-actions button,
html.modern-web .playlist-card-actions button{
  min-height:32px;height:auto;padding:5px 10px;margin:0;
  border:1px solid #d9e8dd;border-radius:8px;
  background:#fff!important;color:#46745b!important;font-size:12px;font-weight:650
}
html.modern-web .search-actions button:first-child,
html.modern-web .playlist-song-play{
  border-color:#bfe3cd!important;background:#e6f6eb!important;color:#267a55!important
}
html.modern-web .search-actions button:hover,
html.modern-web .library-actions button:hover{background:#e9f5eb!important;color:#226747!important}

/* Album art is the hero. 200px+ cards rather than seven cramped tiles. */
html.modern-web .playlist-grid{
  display:grid;grid-template-columns:repeat(auto-fill,minmax(205px,1fr));
  gap:17px;padding:9px 0;max-width:100%
}
html.modern-web .playlist-card{
  min-width:0;overflow:hidden;background:#fff;border:1px solid var(--stroke);
  border-radius:15px;padding:11px;box-shadow:var(--shadow);
  transition:border-color .18s ease,box-shadow .18s ease
}
html.modern-web .playlist-card:hover{background:#fff;border-color:#acd5ba;box-shadow:0 9px 22px rgba(42,105,63,.09);transform:none}
html.modern-web .playlist-cover{
  height:auto;aspect-ratio:1/1;width:100%;
  border-radius:11px;background:#e6f0e6;background-size:cover;background-position:center;
  color:#57936f;font-size:40px
}
html.modern-web .playlist-name{
  color:#2d4a38;font-size:13px;font-weight:720;line-height:1.5;
  margin-top:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap
}
html.modern-web .playlist-meta{font-size:11px;color:#86988b;margin-top:4px;line-height:1.5}
html.modern-web .playlist-card-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:12px}
html.modern-web .playlist-card-actions button{width:100%;margin:0;min-height:34px}
html.modern-web .playlist-card-actions button:first-child{
  background:#2e936f!important;border-color:#2e936f!important;color:#fff!important
}
html.modern-web .playlist-card-actions button:first-child:hover{background:#237955!important}

/* Playlist detail keeps semantic table columns and touch-friendly mobile rows. */
html.modern-web .playlist-detail-panel{
  background:#fff;border:1px solid var(--stroke);border-radius:17px;overflow:hidden;
  box-shadow:var(--shadow)
}
html.modern-web .playlist-detail-toolbar{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:15px 19px;background:#f3f9f2;border:0;border-bottom:1px solid var(--stroke)
}
html.modern-web .playlist-detail-toolbar button{
  border-radius:9px;min-height:36px;padding:0 14px;font-size:12px
}
html.modern-web #playlist-play-all-btn{color:#fff;background:#308d68;border:1px solid #308d68}
html.modern-web .playlist-detail-header{background:#fff;padding:22px 24px;gap:21px}
html.modern-web .playlist-detail-cover{border-radius:13px;background-color:#e6f2e7;color:#4e8c65}
html.modern-web .playlist-detail-meta h2{color:#254431;font-size:23px}
html.modern-web .playlist-detail-creator,html.modern-web .playlist-detail-count,
html.modern-web .playlist-detail-description{color:#708576;font-size:12px}
html.modern-web .playlist-table-heading{background:#f4f8f2;color:#678271;border-color:var(--stroke)}
html.modern-web #playlist-detail-songs{background:#fff;padding:0 14px 8px}
html.modern-web #playlist-detail-songs>.playlist-song-row{
  display:flex;align-items:center;flex-wrap:nowrap;min-height:55px;
  max-width:100%;margin:0;padding:0 5px;border:0;border-bottom:1px solid #eaf1e9;
  border-radius:0;background:#fff;color:#355443;box-shadow:none
}
html.modern-web #playlist-detail-songs>.playlist-song-row:before{display:none}
html.modern-web #playlist-detail-songs>.playlist-song-row>.song-main b{color:#2b4a36;font-size:14px;font-weight:680}
html.modern-web #playlist-detail-songs>.playlist-song-row>.playlist-song-artist,
html.modern-web #playlist-detail-songs>.playlist-song-row>.playlist-song-album,
html.modern-web #playlist-detail-songs>.playlist-song-row>.playlist-song-duration{color:#728b7a}
html.modern-web #playlist-detail-songs>.playlist-song-row>.playlist-song-actions{margin:0}
html.modern-web #playlist-load-more-btn{display:block;margin:15px auto;padding:9px 19px}

/* Ranking no longer a giant gray slab; each selection clearly contrasts. */
html.modern-web .ranking-layout{
  display:flex;min-height:450px;background:#fff;border:1px solid var(--stroke);
  border-radius:17px;overflow:hidden;box-shadow:var(--shadow)
}
html.modern-web .ranking-sidebar{
  width:215px;flex:0 0 215px;padding:16px 12px;background:#f2f8f0;
  border-right:1px solid var(--stroke)
}
html.modern-web .subsection-heading{padding:4px 12px 10px;color:#4e755b;font-size:12px;font-weight:780}
html.modern-web .ranking-list{margin-top:3px}
html.modern-web .ranking-item{
  display:block;width:100%;min-height:40px;margin:2px 0;padding:7px 13px;
  color:#587561;background:transparent;border:0;border-radius:9px;
  font-size:12px;font-weight:580;text-align:left
}
html.modern-web .ranking-item:hover{background:#e5f1e5;color:#26734c}
html.modern-web .ranking-item.active{background:#d9eee0;color:#24764e;font-weight:760}
html.modern-web .ranking-content{flex:1;min-width:0;background:#fff}
html.modern-web .ranking-title{
  padding:18px 20px;color:#284b37;background:#fff;
  border:0;border-bottom:1px solid var(--stroke);font-size:18px;font-weight:760
}
html.modern-web #ranking-songs{background:#fff;padding:8px 15px;overflow:visible}

/* Library is a readable list rather than solid dark stripes. */
html.modern-web .my-tabs{margin:0 0 16px}
html.modern-web .my-panel,html.modern-web .queue-panel{
  background:#fff;border:1px solid var(--stroke);border-radius:16px;
  padding:18px 20px;margin:0 0 15px;box-shadow:var(--shadow)
}
html.modern-web .list-toolbar{padding:0 0 13px;margin:0 0 5px;border-color:var(--stroke);color:#355744}
html.modern-web .list-toolbar strong{color:#2e513c;font-size:15px}
html.modern-web .library-row{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  margin:0;padding:13px 8px;min-height:63px;
  border:0;border-bottom:1px solid #e8efe7;border-radius:0;
  background:#fff;box-shadow:none
}
html.modern-web .library-row:last-child{border-bottom:0}
html.modern-web .library-title{color:#2c4937;font-size:14px;font-weight:650}
html.modern-web .library-meta{color:#839688;font-size:12px}
html.modern-web .library-actions{display:flex;flex:0 0 auto;gap:6px;margin:0}
html.modern-web .library-list:empty:after{
  content:"还没有内容";display:block;text-align:center;padding:45px;color:#8a9d8e;font-size:13px
}

/* Settings deliberately short and structured; source status is one compact box. */
html.modern-web .settings-section{
  background:#fff;border:1px solid var(--stroke);border-radius:16px;
  padding:24px 26px;margin:0 0 16px;box-shadow:var(--shadow)
}
html.modern-web .settings-section h2{color:#284a37;font-size:17px;font-weight:770;margin:0 0 12px}
html.modern-web .setting-row-inline{
  display:flex;align-items:center;justify-content:space-between;gap:18px;
  padding:14px 0;border-color:#e8f0e8;color:#365941
}
html.modern-web .setting-row-inline strong{font-size:13px}
html.modern-web .setting-row-inline p{color:#849588;font-size:12px;line-height:1.55}
html.modern-web .setting-row-inline select,html.modern-web .settings-section input[type=text]{
  width:auto;min-width:180px;max-width:100%;background:#fbfefa;
  border:1px solid #cfe1d1;border-radius:10px;color:#2c4b38;padding:10px 12px
}
html.modern-web .settings-section button{
  min-height:34px;margin:0;background:#e6f3e9;color:#2b7751;
  border:1px solid #c9e4d2;border-radius:9px;padding:7px 13px;font-size:12px;font-weight:660
}
html.modern-web .settings-section button:hover{background:#d7eddf}
html.modern-web .setting-actions{display:flex;flex-wrap:wrap;align-items:center;gap:9px;padding-top:13px}
html.modern-web #inline-save-settings,html.modern-web #restore-default-sources-btn{
  color:#fff;background:#2e936f;border-color:#2e936f
}
html.modern-web #inline-save-settings:hover,html.modern-web #restore-default-sources-btn:hover{background:#237a55}
html.modern-web .source-setting-actions{margin:11px 0}
html.modern-web .active-source-summary{
  padding:12px 15px;margin:11px 0;
  border:1px solid #cbe8d2;border-left:3px solid #55b68b;border-radius:10px;
  background:#eef8ee;color:#2c6f4f;font-size:12px
}
html.modern-web .active-source-summary-name{color:#246f4b;font-size:13px}
html.modern-web .source-item,html.modern-web .source-item.is-active-source{
  border:1px solid #cce8d3;border-left:3px solid #62b68e;
  border-radius:10px;padding:12px 14px;margin:8px 0;background:#f6fbf4;color:#2a543c
}
html.modern-web .source-name{color:#2c6545;font-size:13px}
html.modern-web .source-meta{font-size:11px;color:#688271;line-height:1.5}
html.modern-web .source-current-badge{background:#318b64;border-radius:9px}
html.modern-web .badge{background:#e6f3e9;color:#2d815b}
html.modern-web .version-detail strong{color:#2c5940}
html.modern-web .check-row{border-color:var(--stroke)}
html.modern-web .runtime-info{background:#f3f9f3;color:#54715d;border:1px solid var(--stroke);border-radius:10px}

/* The fixed bottom player is bright but restrained, not a black band. */
html.modern-web .player-bar{
  position:fixed;left:0;right:0;bottom:0;z-index:70;
  width:100%;height:94px;min-height:94px;
  padding:12px clamp(17px,2.4vw,38px);gap:25px;
  display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;
  background:rgba(252,255,250,.985);color:#315440;
  border:0;border-top:1px solid #cfe2d2;
  box-shadow:0 -5px 24px rgba(38,71,48,.075)
}
html.modern-web .player-song{flex:0 1 255px;width:255px;min-width:0;display:flex;align-items:center}
html.modern-web .player-art{
  flex:0 0 52px;width:52px;height:52px;margin-right:12px;border-radius:13px;
  color:#fff;background:linear-gradient(135deg,#5bbd91,#278868);font-size:26px
}
html.modern-web #player-title{
  color:#274a36;font-size:14px;font-weight:780;white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
html.modern-web #player-artist{color:#7e9485;font-size:12px}
html.modern-web #player-network-hint{
  display:block;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  color:#92662b;font-size:11px;line-height:1.25
}
html.modern-web #player-network-hint[hidden]{display:none}
html.modern-web.is-offline #player-network-hint{color:#a04d38}
html.modern-web .player-center{
  flex:1 1 0%;display:flex;flex-direction:column;justify-content:center;
  align-items:stretch;min-width:0;gap:2px
}
html.modern-web .player-transport{
  display:flex;align-items:center;justify-content:center;
  gap:16px;height:43px;min-height:43px
}
html.modern-web .player-icon-btn{
  display:inline-flex;align-items:center;justify-content:center;
  flex:0 0 auto;width:38px;min-width:38px;height:38px;min-height:38px;
  border:0!important;border-radius:50%;padding:0!important;
  color:#668b73!important;background:transparent!important;box-shadow:none!important
}
html.modern-web .player-icon-btn:hover{color:#267d57!important;background:#e5f3e7!important}
html.modern-web .player-main-toggle{
  width:48px;min-width:48px;height:48px;min-height:48px;
  background:#30936c!important;color:#fff!important;
  box-shadow:0 4px 12px rgba(32,113,79,.15)!important
}
html.modern-web .player-main-toggle:hover{background:#237851!important;color:#fff!important}
html.modern-web .player-icon-btn svg.hidden{display:none!important}
html.modern-web .player-timeline{
  display:flex;align-items:center;gap:9px;width:100%;max-width:760px;
  min-width:0;margin:0 auto;height:23px;padding:0 4px;color:#658775
}
html.modern-web .player-time{
  display:block;flex:0 0 38px;min-width:38px;font-size:11px;color:#6f8c77;
  font-variant-numeric:tabular-nums;white-space:nowrap
}
html.modern-web .player-seek-wrap{display:flex;flex:1 1 auto;min-width:0;height:22px;align-items:center;position:relative}
html.modern-web #player-seek{
  display:block;flex:1 1 auto;width:100%;min-width:0;height:6px;
  background:#d6e6d8;border-radius:99px;cursor:pointer;accent-color:var(--mint)
}
html.modern-web #player-seek::-webkit-slider-thumb{background:#308d67;border-color:#fff}
html.modern-web .player-seek-preview{background:#2d835e;color:#fff}
html.modern-web .player-mode-menu{
  bottom:47px;left:-14px;background:#fff;color:#2e4f3c;
  border:1px solid #d6e5d8;border-radius:12px;box-shadow:0 12px 30px rgba(26,58,37,.13)
}
html.modern-web .player-mode-menu button{background:#fff!important;color:#3b684e!important}
html.modern-web .player-mode-menu button:hover,
html.modern-web .player-mode-menu button.is-selected{background:#e5f4e9!important;color:#237f56!important}
html.modern-web .player-mode-menu .mode-glyph{color:#42aa78}
html.modern-web .player-mode-menu button.is-selected .mode-glyph{color:#208d5c}
html.modern-web .player-extras{display:flex;align-items:center;flex:0 1 165px;min-width:0}
html.modern-web .player-lyric{color:#718b7b;font-size:11px}
html.modern-web #player-volume{accent-color:var(--mint)}
html.modern-web .player-status{display:none}
html.modern-web .native-audio-transport,
html.modern-web .legacy-media-panel{display:none!important}
html.is-resolving #player-title::after{content:" · 连接中";font-size:11px;color:#98672f;font-weight:500}
html.is-playing .player-art{box-shadow:0 0 0 4px #e0f2e5}

/* Remove inactive legacy settings widgets visually while preserving contracts. */
/* User-owned LX sources remain selectable on Web; the Android
   companion continues to expose only its Flower reload control. */
html.modern-web.native-companion .source-setting-actions>:not(#restore-default-sources-btn),
html.modern-web.native-companion .settings-section [for="source-url"],
html.modern-web.native-companion #source-url,
html.modern-web.native-companion .source-buttons{display:none!important}
html.modern-web .settings-section:has(#runtime-info){display:none!important}
html.modern-web .source-setting-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
html.modern-web #source-url{display:block;width:100%;max-width:680px}
html.modern-web .source-buttons{display:flex;flex-wrap:wrap;gap:8px;margin-top:9px}
/* The quality downgrade toggle is now a visible consent control. */

/* Only first 10 new entries fade in; no continuous animations or huge blur. */
.reveal-item{animation:row-appear .22s ease-out both}
@keyframes row-appear{from{opacity:.45}to{opacity:1}}
@media(max-width:1160px) and (min-width:741px){
  html.modern-web .nav-rail{width:80px;flex-basis:80px;padding:20px 8px}
  html.modern-web .nav-brand{margin-left:0;margin-right:0;font-size:9px;text-align:center;letter-spacing:.6px}
  html.modern-web .nav-item{justify-content:center;padding:0;gap:0}
  html.modern-web .nav-item span:last-child{display:none}
  html.modern-web .player-extras{flex-basis:100px}
  html.modern-web .playlist-grid{grid-template-columns:repeat(auto-fill,minmax(178px,1fr))}
}
@media(max-width:740px){
  html.modern-web .topbar{height:64px}
  .topbar-inner{padding:0 14px}
  .brand-block{padding-left:39px}
  .brand-block::before{width:32px;height:32px;border-radius:10px;font-size:20px}
  html.modern-web .brand{font-size:16px}
  html.modern-web .subtitle{font-size:9px;white-space:nowrap}
  .topbar-actions .topbar-chip:first-child{display:none}
  html.modern-web .top-source-indicator{max-width:37vw;padding:5px 8px;font-size:10px}
  html.modern-web .lx-layout{display:block;min-height:calc(100vh - 64px)}
  html.modern-web .nav-rail{
    position:sticky;top:64px;left:0;right:0;z-index:49;
    width:100%;height:auto;min-height:0;flex:0 0 auto;
    padding:5px 8px;background:#ecf5ea;border:0;border-bottom:1px solid #d4e5d6;
    overflow-x:hidden!important;overflow-y:visible
  }
  html.modern-web .nav-brand{display:none}
  html.modern-web .main-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px}
  html.modern-web .nav-item{
    display:flex;flex-direction:column;align-items:center;justify-content:center;
    gap:0;min-width:0;height:50px;min-height:50px;padding:4px 1px;
    border-radius:8px;font-size:10px;line-height:1.1
  }
  html.modern-web .nav-item span:last-child{display:block;font-size:10px}
  html.modern-web .nav-symbol{font-size:18px;width:23px;height:24px;flex:0 0 23px}
  html.modern-web .main-stage{width:100%;margin:0}
  html.modern-web .persistent-top-stack{top:120px;z-index:48}
  html.modern-web .global-search-bar{padding:10px 12px 5px;gap:7px}
  html.modern-web .global-search{height:46px;padding:0 4px 0 0;border-radius:11px}
  html.modern-web .search-icon{width:32px;flex-basis:32px;font-size:20px}
  html.modern-web .global-search input{height:43px;padding:0 5px;font-size:13px}
  html.modern-web .global-search button{height:35px;min-height:35px;padding:0 12px;font-size:12px}
  html.modern-web .search-context{display:none}
  html.modern-web .global-status{margin:0 12px 7px;padding:4px 8px;font-size:10px;max-height:70px}
  html.modern-web .view-container{padding:20px 14px 165px}
  html.modern-web .view-header{margin-bottom:17px;gap:8px;align-items:center}
  html.modern-web .view-header h1{font-size:27px;margin-top:3px}
  html.modern-web .view-note{display:none}
  html.modern-web .view-tabs{flex-shrink:0}
  html.modern-web .view-tab{padding:0 11px;min-height:34px}
  html.modern-web .sub-toolbar,html.modern-web .category-row{padding:11px;gap:7px}
  html.modern-web .channel-list,html.modern-web .platform-pills{
    flex-wrap:nowrap;overflow-x:auto;max-width:100%;-webkit-overflow-scrolling:touch
  }
  html.modern-web .category-row{overflow-x:auto;flex-wrap:nowrap}
  html.modern-web .channel-button,html.modern-web .platform-pill,
  html.modern-web .category-pill{flex:0 0 auto;min-height:33px}
  html.modern-web .quality-summary{margin:0;flex-basis:100%;font-size:10px}
  html.modern-web .results-head{padding:8px 2px;font-size:12px}
  html.modern-web .results-head strong{font-size:14px}
  html.modern-web .search-row{
    display:grid;grid-template-columns:25px minmax(0,1fr) auto;
    gap:5px 8px;min-height:75px;padding:10px 11px;align-items:center
  }
  html.modern-web #search-results>.search-row:before{grid-column:1;grid-row:1}
  html.modern-web .search-row>b{grid-column:2;grid-row:1;min-width:0}
  html.modern-web .search-row>span{grid-column:2;grid-row:2}
  html.modern-web .search-row .search-source{grid-column:3;grid-row:1}
  html.modern-web .search-actions{grid-column:1/-1;grid-row:3;justify-content:flex-start;gap:6px;margin:4px 0 0}
  html.modern-web .search-actions button{min-height:31px;padding:5px 11px}
  html.modern-web .playlist-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;padding:8px 0}
  html.modern-web .playlist-card{padding:8px;border-radius:12px}
  html.modern-web .playlist-cover{border-radius:8px}
  html.modern-web .playlist-name{font-size:12px}
  html.modern-web .playlist-meta{font-size:10px}
  html.modern-web .playlist-card-actions{grid-template-columns:1fr 1fr;gap:5px}
  html.modern-web .playlist-card-actions button{padding:4px 5px;min-height:32px;font-size:11px}
  html.modern-web .playlist-detail-toolbar{padding:11px;flex-wrap:wrap}
  html.modern-web .playlist-detail-actions{display:flex;gap:6px;flex-wrap:wrap}
  html.modern-web .playlist-detail-header{padding:14px;gap:10px}
  html.modern-web .playlist-detail-cover{flex-basis:84px;width:84px;height:84px}
  html.modern-web .playlist-detail-meta h2{font-size:17px}
  html.modern-web .ranking-layout{display:block;min-height:300px}
  html.modern-web .ranking-sidebar{
    width:100%;max-height:175px;overflow-y:auto;border:0;border-bottom:1px solid var(--stroke);padding:10px
  }
  html.modern-web .ranking-list{display:flex;gap:5px;overflow-x:auto}
  html.modern-web .ranking-item{flex:0 0 auto;width:auto;min-height:33px;padding:5px 11px}
  html.modern-web .ranking-title{padding:12px 15px;font-size:16px}
  html.modern-web #ranking-songs{padding:7px}
  html.modern-web .my-panel,html.modern-web .queue-panel,
  html.modern-web .settings-section{padding:15px;margin-bottom:12px;border-radius:12px}
  html.modern-web .setting-row-inline{align-items:flex-start;flex-wrap:wrap;gap:8px}
  html.modern-web .setting-row-inline select{max-width:100%;min-width:150px}
  html.modern-web .player-bar{
    height:130px;min-height:130px;max-height:130px;
    display:flex;flex-direction:column;flex-wrap:nowrap;
    align-content:normal;justify-content:center;align-items:stretch;
    gap:4px;padding:8px 12px
  }
  html.modern-web .player-song{
    width:100%;max-width:100%;flex:0 0 auto;
    height:36px;min-height:36px;margin:0
  }
  html.modern-web .player-art{
    width:35px;height:35px;flex:0 0 35px;border-radius:9px;
    margin-right:8px;font-size:19px
  }
  html.modern-web .player-center{
    width:100%;max-width:100%;height:72px;min-height:0;
    flex:1 1 auto;gap:1px;margin:0
  }
  html.modern-web .player-transport{height:42px;min-height:42px;gap:18px}
  html.modern-web .player-icon-btn{height:36px;min-height:36px;width:36px;min-width:36px}
  html.modern-web .player-main-toggle{width:43px;min-width:43px;height:43px;min-height:43px}
  html.modern-web .player-timeline{height:24px;max-width:100%;gap:6px}
  html.modern-web .player-time{flex-basis:35px;min-width:35px;font-size:10px}
  html.modern-web .player-extras{display:none}
  html.modern-web #app{padding-bottom:0}
}
@media(max-width:360px){
  html.modern-web .player-transport{gap:11px}
  html.modern-web .top-source-indicator{max-width:30vw}
  html.modern-web .playlist-grid{gap:8px}
}
@media(prefers-reduced-motion:reduce){
  html.modern-web *,html.modern-web *::before,html.modern-web *::after{
    animation-duration:.01ms!important;animation-iteration-count:1!important;
    transition-duration:.01ms!important;scroll-behavior:auto!important
  }
}

/* The search input belongs on search and playlist, not in Settings/Charts. */
html.modern-web[data-active-view="ranking"] .global-search-bar,
html.modern-web[data-active-view="mylist"] .global-search-bar,
html.modern-web[data-active-view="settings"] .global-search-bar{display:none}

/* Discovery hero fills the previous enormous empty white canvas, while
   disappearing as soon as real results render. */
html.modern-web #search-results:empty::after{display:none}
html.modern-web .search-inspiration{
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  min-height:320px;max-width:880px;margin:17px auto 0;padding:38px 22px;
  border:1px dashed #d1e6d3;border-radius:20px;
  background:linear-gradient(145deg,#f9fdf7,#eaf5e9);
  text-align:center;color:#315c45
}
html.modern-web #search-song-view:has(#search-results:not(:empty)) .search-inspiration{display:none}
html.modern-web .search-inspiration-icon{
  display:grid;place-items:center;width:68px;height:68px;border-radius:20px;
  background:#d6edde;color:#368d65;font-size:34px;margin:0 0 14px
}
html.modern-web .search-inspiration h2{color:#28543d;font-size:22px;font-weight:770;margin:0 0 6px}
html.modern-web .search-inspiration p{color:#6f8978;font-size:13px;margin:0 0 23px}
html.modern-web .search-suggestions{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px}
html.modern-web .search-suggestions button{
  padding:8px 18px;min-height:36px;border:1px solid #bedeca;border-radius:99px;
  color:#307956;background:#fff;font-size:13px;font-weight:620
}
html.modern-web .search-suggestions button:hover{border-color:#7fc29b;background:#e9f6e9}
html.modern-web .search-inspiration-foot{
  color:#8ba08f;font-size:11px;margin-top:24px;letter-spacing:.2px
}
@media(max-width:740px){
  html.modern-web .search-inspiration{min-height:285px;padding:26px 14px;margin-top:6px}
  html.modern-web .search-inspiration h2{font-size:20px}
  html.modern-web .search-suggestions button{padding:7px 13px}
}
/* Mobile playlist songs remain two-row touch targets (not cramped six-column
   desktop tables), even though this stylesheet defines desktop flex rows. */
@media(max-width:680px){
  html.modern-web #playlist-detail-songs>.playlist-song-row{
    display:flex;flex-wrap:wrap;align-items:center;gap:0;
    min-height:68px;padding:9px 3px
  }
  html.modern-web #playlist-detail-songs>.playlist-song-row>.playlist-song-index{
    display:block;flex:0 0 28px;width:28px
  }
  html.modern-web #playlist-detail-songs>.playlist-song-row>.song-main{
    display:block;flex:1 1 0;min-width:0;padding-right:5px
  }
  html.modern-web #playlist-detail-songs>.playlist-song-row>.playlist-song-artist,
  html.modern-web #playlist-detail-songs>.playlist-song-row>.playlist-song-album,
  html.modern-web #playlist-detail-songs>.playlist-song-row>.playlist-song-duration{display:none}
  html.modern-web #playlist-detail-songs>.playlist-song-row>.playlist-song-actions{
    display:flex;flex:0 0 auto;width:auto;max-width:100%;margin:0
  }
}

/* v0.4.1 Music library: a persistent category rail and a separately scrolling
   song pane, with all existing storage/playlist IDs retained. */
html.modern-web #view-mylist .music-library-workspace{
  display:grid;grid-template-columns:238px minmax(0,1fr);
  gap:0;height:clamp(420px,calc(100dvh - 290px),840px);
  min-height:0;overflow:hidden;border:1px solid #d7e8da;
  border-radius:18px;background:#fff;
  box-shadow:0 7px 28px rgba(44,85,58,.045)
}
html.modern-web #view-mylist .music-library-sidebar{
  display:flex;flex-direction:column;min-width:0;
  padding:21px 12px 15px;background:#edf6eb;
  border-right:1px solid #d7e9da
}
html.modern-web #view-mylist .library-sidebar-caption{
  color:#73917b;font-size:11px;letter-spacing:1.7px;
  font-weight:780;padding:0 13px 15px
}
html.modern-web #view-mylist .my-tabs{
  display:flex;flex-direction:column;align-items:stretch;gap:6px;margin:0
}
html.modern-web #view-mylist .my-tab{
  display:flex;align-items:center;justify-content:flex-start;
  gap:10px;width:100%;height:47px;min-height:47px;
  margin:0;padding:0 12px;text-align:left;font-size:13px;
  border:1px solid transparent;border-radius:11px;
  background:transparent;color:#587767
}
html.modern-web #view-mylist .my-tab:hover{background:#e2f0e1}
html.modern-web #view-mylist .my-tab.active{
  color:#237a55;background:#fff;border-color:#d5e9d8;
  box-shadow:inset 3px 0 #4cb287,0 2px 9px rgba(49,103,68,.03)
}
html.modern-web #view-mylist .my-tab-icon{
  flex:0 0 23px;font-size:19px;text-align:center;line-height:1
}
html.modern-web #view-mylist .my-tab-text{min-width:0;white-space:nowrap}
html.modern-web #view-mylist .library-tab-count{
  margin-left:auto;min-width:24px;padding:2px 7px;
  border-radius:8px;background:#e0ede1;
  color:#5d8068;font-size:11px;text-align:center;font-variant-numeric:tabular-nums
}
html.modern-web #view-mylist .my-tab.active .library-tab-count{background:#e6f4ea;color:#277e5a}
html.modern-web #view-mylist .library-sidebar-footer{
  margin-top:auto;padding:18px 12px 0;font-size:11px;line-height:1.6;
  border-top:1px solid #d9e8d8;color:#839887
}
html.modern-web #view-mylist .music-library-content{
  min-width:0;min-height:0;overflow-y:auto;overflow-x:hidden;
  overscroll-behavior:contain;scrollbar-gutter:stable;
  padding:0 22px 18px;background:#fff
}
html.modern-web #view-mylist .my-panel,
html.modern-web #view-mylist .queue-panel{
  margin:0;padding:0;background:transparent;border:0;box-shadow:none;
  border-radius:0;min-width:0
}
html.modern-web #view-mylist .my-panel.hidden,
html.modern-web #view-mylist .queue-panel.hidden{display:none!important}
html.modern-web #view-mylist .list-toolbar{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  min-height:75px;margin:0;padding:13px 2px;border-bottom:1px solid #e3eee4
}
html.modern-web #view-mylist .list-toolbar strong{font-size:17px;color:#2a523b}
html.modern-web #view-mylist .library-column-header{
  display:flex;align-items:center;justify-content:space-between;
  position:sticky;top:0;z-index:2;
  height:37px;padding:0 9px;margin:0;
  color:#849889;background:#f6faf4;border-bottom:1px solid #e5efe7;
  font-size:11px;font-weight:650
}
html.modern-web #view-mylist .library-row{
  min-height:67px;margin:0;padding:12px 9px;border:0;
  border-bottom:1px solid #eaf1ea;border-radius:0
}
html.modern-web #view-mylist .library-title{font-size:14px;color:#2b5138}
html.modern-web #view-mylist .library-meta{font-size:12px}
html.modern-web #view-mylist .library-actions button{min-height:32px}
html.modern-web #view-mylist #playlist-favorite-list{padding:13px 0}
@media(max-width:900px) and (min-width:741px){
  html.modern-web #view-mylist .music-library-workspace{grid-template-columns:184px minmax(0,1fr)}
  html.modern-web #view-mylist .music-library-sidebar{padding:16px 7px}
  html.modern-web #view-mylist .music-library-content{padding:0 13px 16px}
}
@media(max-width:740px){
  html.modern-web #view-mylist .music-library-workspace{
    display:flex;flex-direction:column;height:auto;min-height:0;overflow:visible
  }
  html.modern-web #view-mylist .music-library-sidebar{
    display:block;padding:12px 10px 8px;border:0;border-bottom:1px solid #daeadc
  }
  html.modern-web #view-mylist .library-sidebar-caption,
  html.modern-web #view-mylist .library-sidebar-footer{display:none}
  html.modern-web #view-mylist .my-tabs{
    display:flex;flex-direction:row;gap:6px;overflow-x:auto;
    scrollbar-width:none;padding-bottom:4px
  }
  html.modern-web #view-mylist .my-tabs::-webkit-scrollbar{display:none}
  html.modern-web #view-mylist .my-tab{
    flex:0 0 auto;width:auto;padding:0 10px;height:41px;min-height:41px;
    font-size:12px;gap:5px
  }
  html.modern-web #view-mylist .my-tab-icon{font-size:16px;flex-basis:18px}
  html.modern-web #view-mylist .library-tab-count{margin-left:2px}
  html.modern-web #view-mylist .music-library-content{
    max-height:none;overflow:visible;padding:0 12px 18px
  }
  html.modern-web #view-mylist .list-toolbar{min-height:65px}
  html.modern-web #view-mylist .library-row{gap:6px;padding:11px 3px}
  html.modern-web #view-mylist .library-title{font-size:13px}
  html.modern-web #view-mylist .library-actions{gap:5px}
  html.modern-web #view-mylist .library-actions button{font-size:11px;padding:5px 8px}
}


/* v0.4.2 Interaction audit: playlist discovery controls are unavailable
   inside a specific playlist. Make the state distinction unambiguous. */
html.modern-web #view-playlist.is-detail-open #playlist-filter-stack{display:none!important}
html.modern-web[data-active-view="playlist"].is-playlist-detail .global-search-bar{display:none!important}
html.modern-web #view-playlist.is-detail-open>.view-header{margin-bottom:14px}
html.modern-web #view-playlist.is-detail-open>.view-header h1{font-size:22px}
html.modern-web #view-playlist.is-detail-open>.view-header .view-note{display:none}
html.modern-web .playlist-service-note{
  display:flex;align-items:center;gap:12px;min-height:52px;background:#f6faf5
}
html.modern-web .playlist-service-label{
  color:#387e5b;background:#e3f3e6;padding:6px 13px;
  border:1px solid #c5e5d0;border-radius:8px;font-size:12px
}
html.modern-web .ranking-content .empty-note button{
  margin-left:8px;padding:5px 12px;border:1px solid #addac0;border-radius:8px;
  color:#287953;background:#e8f6ed
}
html.modern-web #playlist-detail-panel{scroll-margin-top:145px}
html.modern-web #playlist-back-btn{border:1px solid #cbded1;background:#fff;color:#3b7957}
html.modern-web #playlist-back-btn:hover{background:#e8f4e9}

/* Dedicated lyrics experience: light, readable, never blocks audio playback. */
html.modern-web .player-lyrics-toggle{
  margin-left:9px;font-size:15px;font-weight:780;
  color:#25835e!important;border:1px solid #cfe7d8!important;
  background:#e8f5e8!important;border-radius:11px!important;
  width:36px;min-width:36px;height:36px;min-height:36px
}
html.modern-web .player-lyrics-toggle:hover{
  color:#fff!important;background:#32966e!important
}
html.modern-web .player-lyric{
  padding:2px 5px;min-width:0;max-width:190px;
  border:0;background:transparent;color:#668874;
  text-align:left;font-size:11px;cursor:pointer;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
html.modern-web .player-lyric:hover{color:#238158;text-decoration:underline}
html.lyrics-open body{overflow:hidden}
html.modern-web .lyrics-overlay{
  position:fixed;inset:0;z-index:250;display:flex;justify-content:flex-end;
  color:#254332
}
html.modern-web .lyrics-overlay.hidden{display:none!important}
html.modern-web .lyrics-backdrop{
  position:absolute;inset:0;width:100%;height:100%;
  background:rgba(20,44,31,.42);border:0;border-radius:0;padding:0;
  cursor:default
}
html.modern-web .lyrics-sheet{
  position:relative;display:flex;flex-direction:column;
  width:min(535px,100vw);height:100%;height:100dvh;
  border-left:1px solid #cfe4d2;
  background:linear-gradient(160deg,#fcfffa 0%,#f1f8ee 100%);
  box-shadow:-15px 0 45px rgba(20,53,33,.12);
  overflow:hidden;
  animation:lyrics-arrive .2s ease-out both
}
@keyframes lyrics-arrive{from{transform:translateX(14px);opacity:.8}to{transform:translateX(0);opacity:1}}
html.modern-web .lyrics-sheet-header{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:21px 23px 17px;border-bottom:1px solid #e0eee0
}
html.modern-web .lyrics-sheet-heading h2{
  margin:4px 0 0;color:#274b36;font-size:20px;font-weight:770
}
html.modern-web .lyrics-sheet-actions{display:flex;align-items:center;gap:7px}
html.modern-web .lyrics-sheet-actions button{
  padding:8px 12px;border:1px solid #d7e8dc;
  border-radius:10px;background:#fff;color:#4a7a5d;font-size:12px
}
html.modern-web #lyrics-close-btn{
  display:grid;place-items:center;width:38px;height:38px;padding:0;
  font-size:18px;color:#5c7869
}
html.modern-web .lyrics-sheet-actions button:hover{background:#e9f7eb;border-color:#aad6bb}
html.modern-web .lyrics-song-head{
  display:flex;align-items:center;gap:14px;padding:24px 29px 17px;
  border-bottom:1px solid #e6f1e7
}
html.modern-web .lyrics-art{
  display:grid;place-items:center;flex:0 0 58px;width:58px;height:58px;
  border-radius:17px;background:linear-gradient(145deg,#91d3a8,#349773);
  color:#fff;font-size:28px;box-shadow:0 6px 14px rgba(57,131,87,.1)
}
html.modern-web .lyrics-song-meta{min-width:0}
html.modern-web #lyrics-title{
  margin:0;color:#294c39;font-size:17px;font-weight:740;
  overflow-wrap:anywhere;line-height:1.45
}
html.modern-web .lyrics-song-meta .muted{font-size:13px}
html.modern-web .lyrics-status{color:#728f7b;font-size:12px;margin-top:7px}
html.modern-web .lyrics-status.warn{color:#94662c}
html.modern-web .lyrics-status.fail{color:#a95450}
html.modern-web .lyrics-scroll{
  min-height:0;flex:1 1 auto;overflow:auto;
  scrollbar-gutter:stable;overscroll-behavior:contain;
  padding:35px 31px 70px
}
html.modern-web .lyrics-lines{min-height:100%;display:flex;flex-direction:column;justify-content:flex-start}
html.modern-web .lyrics-line{
  padding:10px 10px;min-height:43px;border-radius:10px;
  font-size:17px;line-height:1.7;color:#789582;
  letter-spacing:.1px;transition:color .16s ease,background-color .16s ease
}
html.modern-web .lyrics-line.active{
  background:#e1f2e4;color:#23805a;
  font-size:20px;font-weight:760
}
html.modern-web .lyrics-empty{
  display:grid;place-items:center;min-height:195px;
  padding:22px;text-align:center;color:#839c89;font-size:14px;line-height:1.8
}
html.modern-web .lyrics-sheet-footer{
  padding:15px 20px;border-top:1px solid #e0ece2;
  background:#f4faf2;text-align:center;font-size:11px;color:#8ca391
}
@media(max-width:740px){
  html.modern-web .lyrics-sheet{width:100%;border:0}
  html.modern-web .lyrics-sheet-header{padding:15px 16px 12px}
  html.modern-web .lyrics-song-head{padding:16px 17px 13px}
  html.modern-web .lyrics-scroll{padding:20px 16px 46px}
  html.modern-web .lyrics-line{font-size:16px}
  html.modern-web .lyrics-line.active{font-size:18px}
  html.modern-web .player-lyrics-toggle{
    margin-left:2px;height:34px;min-height:34px;
    width:34px;min-width:34px
  }
  html.modern-web .player-transport{gap:clamp(8px,3vw,15px)}
  html.modern-web #view-playlist.is-detail-open>.view-header h1{font-size:19px}
}
@media(prefers-reduced-motion:reduce){
  html.modern-web .lyrics-sheet{animation:none}
  html.modern-web .lyrics-line{transition:none}
}

/* v0.4.3 Fullscreen listening — a real music experience, not a side drawer.
   Gentle mint palette; zero looping motion or heavy GPU filters. */
html.modern-web .player-art{
  display:grid;place-items:center;position:relative;overflow:hidden;
  border:0;padding:0;cursor:pointer;flex-shrink:0;
}
html.modern-web .player-art:focus-visible{outline:3px solid #2b936f;outline-offset:3px}
html.modern-web .player-art img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  border-radius:inherit;background:#d9ebdf
}
html.modern-web .player-art img[hidden],html.modern-web .now-playing-cover-box img[hidden]{display:none}
html.modern-web .player-art.has-album-art .player-cover-fallback,
html.modern-web .now-playing-cover-box.has-album-art .now-playing-cover-fallback{display:none}
html.modern-web .player-art:hover{box-shadow:0 0 0 3px #c8e6d4}
html.modern-web #open-lyrics-btn{display:none!important}
html.modern-web .lyrics-overlay{
  position:fixed;inset:0;z-index:250;display:block;
  width:100vw;height:100vh;height:100dvh;
  margin:0;padding:0;overflow:hidden;background:#f7fbf5
}
html.modern-web .lyrics-overlay.hidden{display:none!important}
html.modern-web .lyrics-sheet.now-playing-screen{
  display:flex;flex-direction:column;position:relative;
  width:100vw;max-width:none;height:100vh;height:100dvh;
  max-height:none;min-height:0;margin:0;border:0;border-radius:0;
  overflow:hidden;box-shadow:none;animation:none;
  background:linear-gradient(135deg,#fcfefb 0%,#f0f7ef 100%)
}
html.modern-web .now-playing-screen .lyrics-sheet-header{
  flex:0 0 73px;min-height:73px;padding:13px clamp(22px,3vw,54px);
  border-bottom:1px solid #e1ece0;background:rgba(254,255,250,.92)
}
html.modern-web .now-playing-header-brand{display:flex;align-items:center;gap:12px}
html.modern-web .now-playing-brand-mark{
  display:grid;place-items:center;width:43px;height:43px;
  border-radius:13px;background:#e4f2e7;color:#2d8e67;font-size:24px
}
html.modern-web .now-playing-screen .lyrics-sheet-heading h2{font-size:19px;margin:2px 0 0}
html.modern-web .now-playing-screen .lyrics-sheet-actions button{
  min-height:38px;padding:8px 15px;border-radius:10px
}
html.modern-web .now-playing-body{
  display:grid;grid-template-columns:minmax(250px,35%) minmax(0,65%);
  flex:1 1 auto;min-height:0;overflow:hidden
}
html.modern-web .now-playing-album-column{
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:28px;min-width:0;min-height:0;padding:30px clamp(18px,3vw,50px);
  border-right:1px solid #e3eee1;
  background:linear-gradient(155deg,#eef7ed 0%,#f5faf3 66%,#e7f4ea 100%);
  overflow:auto
}
html.modern-web .now-playing-cover-box{
  position:relative;display:grid;place-items:center;flex:0 0 auto;
  width:min(100%,350px,38vh);aspect-ratio:1/1;
  max-height:350px;border-radius:17px;
  background:linear-gradient(140deg,#d9ece0,#b7dcc7);
  box-shadow:0 15px 34px rgba(26,80,44,.13);overflow:hidden
}
html.modern-web .now-playing-cover-box img{
  display:block;position:absolute;inset:0;width:100%;height:100%;
  object-fit:cover;background:#dcefe2
}
html.modern-web .now-playing-cover-fallback{
  color:#67ac85;font-size:88px;text-align:center
}
html.modern-web .now-playing-screen .lyrics-song-meta{
  width:min(100%,355px);min-width:0;text-align:center;
  padding:0 0 4px
}
html.modern-web .now-playing-screen #lyrics-title{
  font-size:clamp(19px,2vw,26px);font-weight:820;color:#27543a;
  line-height:1.45;overflow-wrap:anywhere
}
html.modern-web #now-playing-artist{margin-top:7px;font-size:15px;color:#3f7c58;font-weight:660}
html.modern-web #now-playing-album,
html.modern-web #now-playing-platform{
  font-size:12px;color:#849889;margin-top:7px
}
html.modern-web .now-playing-screen .lyrics-status{
  font-size:11px;margin-top:14px;color:#7e9b85;line-height:1.55
}
html.modern-web .now-playing-detail-column{
  display:flex;flex-direction:column;min-width:0;min-height:0;
  overflow:hidden;padding:0 clamp(20px,3.5vw,70px)
}
html.modern-web .now-playing-tabs{
  display:flex;justify-content:center;flex:0 0 auto;gap:7px;
  height:74px;align-items:center;border-bottom:1px solid #e2ece2
}
html.modern-web .now-playing-tab{
  min-width:115px;min-height:39px;padding:8px 18px;
  border-radius:11px;border:1px solid transparent;
  background:transparent;color:#809687;font-size:14px;font-weight:670
}
html.modern-web .now-playing-tab.active{
  background:#e2f3e6;border-color:#c7e7d1;color:#247d58
}
html.modern-web .now-playing-tab:hover{background:#edf7ed;color:#357e5d}
html.modern-web .now-playing-tab-content{
  display:flex;flex:1 1 auto;min-height:0;min-width:0;
  flex-direction:column;overflow:hidden
}
html.modern-web .now-playing-tab-content.hidden,
html.modern-web .now-playing-tab-content[hidden]{display:none!important}
html.modern-web .now-playing-screen .lyrics-scroll{
  flex:1 1 auto;min-height:0;min-width:0;overflow-y:auto;overflow-x:hidden;
  overscroll-behavior:contain;scrollbar-gutter:stable;
  padding:0 12px;background:transparent;scroll-behavior:auto
}
html.modern-web .now-playing-screen .lyrics-lines{
  display:flex;flex-direction:column;justify-content:flex-start;
  min-height:100%;padding:clamp(100px,32vh,330px) 0;
  gap:3px
}
html.modern-web .now-playing-screen .lyrics-line{
  flex:0 0 auto;display:block;min-height:46px;
  margin:0;padding:9px 12px;border-radius:10px;
  background:transparent;color:#8ea496;
  text-align:center;font-size:clamp(16px,1.5vw,22px);
  font-weight:480;line-height:1.6;
  transition:color .17s ease,background-color .17s ease
}
html.modern-web .now-playing-screen .lyrics-line.active{
  background:#e3f4e6;color:#237e58;
  font-size:clamp(19px,1.7vw,24px);font-weight:780
}
html.modern-web .now-playing-screen .lyrics-empty{
  flex:1;min-height:100px;padding:20px;font-size:15px
}
html.modern-web #comments-view{overflow:hidden}
html.modern-web .comments-title-row{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:23px 6px 16px;border-bottom:1px solid #e4ede3
}
html.modern-web .comments-title-row h3{color:#28513b;margin:0;font-size:20px}
html.modern-web .comments-title-row p{color:#819587;font-size:12px;margin:5px 0 0}
html.modern-web .comments-title-row button{
  border:1px solid #d4e7d8;border-radius:8px;background:#fff;
  color:#33835d;padding:7px 15px;font-size:12px
}
html.modern-web .comments-status{
  padding:14px 7px;color:#809788;font-size:12px
}
html.modern-web .comments-list{
  flex:1 1 auto;overflow-y:auto;overscroll-behavior:contain;
  min-height:0;padding:0 7px 18px;scrollbar-gutter:stable
}
html.modern-web .now-comment-card{
  padding:18px 11px;border-bottom:1px solid #e4eee3
}
html.modern-web .now-comment-head{
  display:flex;justify-content:space-between;gap:10px;align-items:center;
  font-size:12px;color:#718d7b
}
html.modern-web .now-comment-head strong{color:#427958;font-weight:730}
html.modern-web .now-comment-card p{
  color:#3c5946;white-space:pre-wrap;overflow-wrap:anywhere;
  font-size:14px;line-height:1.75;margin:8px 0 0
}
html.modern-web .comments-link-wrap{
  flex:0 0 auto;text-align:right;padding:13px 7px;
  border-top:1px solid #e0ece0;font-size:12px
}
html.modern-web .comments-link-wrap[hidden]{display:none}
html.modern-web .now-playing-transport{
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:5px;flex:0 0 108px;min-height:108px;padding:11px 22px;
  background:#f9fcf7;border-top:1px solid #dce9de
}
html.modern-web .now-playing-transport-buttons{
  display:flex;justify-content:center;align-items:center;gap:31px
}
html.modern-web .now-playing-transport-buttons button{
  width:39px;height:39px;min-height:39px;
  display:grid;place-items:center;padding:0;border:0;
  border-radius:50%;background:transparent;color:#55886a
}
html.modern-web .now-playing-transport-buttons button:hover{background:#e6f4e8;color:#267956}
html.modern-web .now-playing-transport-buttons .detail-main-toggle{
  width:49px;height:49px;min-height:49px;
  background:#2e946b;color:#fff;
  box-shadow:0 5px 14px rgba(36,112,66,.15)
}
html.modern-web .now-playing-transport-buttons .detail-main-toggle:hover{
  background:#287a59;color:#fff
}
html.modern-web .detail-main-toggle [hidden]{display:none!important}
/* Explicit SVG visibility state for the immersive Play/Pause button. */
html.modern-web #detail-toggle-btn.is-playing .detail-play-icon{display:none!important}
html.modern-web #detail-toggle-btn:not(.is-playing) .detail-pause-icon{display:none!important}
html.modern-web .now-playing-timeline{
  display:flex;align-items:center;gap:12px;width:min(690px,100%);
  color:#698b74;font-size:11px;font-variant-numeric:tabular-nums
}
html.modern-web .now-playing-timeline span{flex:0 0 40px;white-space:nowrap;text-align:center}
html.modern-web .now-playing-timeline input{
  flex:1 1 auto;min-width:0;height:7px;accent-color:#2e936b;cursor:pointer
}
html.modern-web .now-playing-timeline input:disabled{cursor:default;opacity:.52}
@media(max-width:740px){
  html.modern-web .now-playing-screen .lyrics-sheet-header{flex-basis:59px;min-height:59px;padding:9px 13px}
  html.modern-web .now-playing-brand-mark{width:35px;height:35px;font-size:20px}
  html.modern-web .now-playing-screen .lyrics-sheet-heading h2{font-size:15px}
  html.modern-web .now-playing-screen .lyrics-sheet-actions button{padding:7px 10px;font-size:11px;min-height:34px}
  html.modern-web .now-playing-body{display:flex;flex-direction:column}
  html.modern-web .now-playing-album-column{
    display:flex;flex:0 0 auto;min-height:90px;max-height:130px;
    flex-direction:row;justify-content:flex-start;align-items:center;
    gap:13px;padding:12px 17px;border-right:0;border-bottom:1px solid #e1eee1;
    overflow:hidden
  }
  html.modern-web .now-playing-cover-box{
    width:76px;height:76px;max-height:76px;flex:0 0 76px;
    border-radius:11px;box-shadow:0 4px 12px rgba(39,87,53,.08)
  }
  html.modern-web .now-playing-cover-fallback{font-size:35px}
  html.modern-web .now-playing-screen .lyrics-song-meta{text-align:left;min-width:0;max-width:100%}
  html.modern-web .now-playing-screen #lyrics-title{
    font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis
  }
  html.modern-web #now-playing-artist{font-size:12px;margin-top:2px}
  html.modern-web #now-playing-album{display:none}
  html.modern-web #now-playing-platform{font-size:10px;margin-top:2px}
  html.modern-web .now-playing-screen .lyrics-status{display:none}
  html.modern-web .now-playing-detail-column{flex:1 1 auto;padding:0 12px}
  html.modern-web .now-playing-tabs{height:50px}
  html.modern-web .now-playing-tab{min-height:34px;font-size:12px;min-width:105px}
  html.modern-web .now-playing-screen .lyrics-scroll{padding:0 3px}
  html.modern-web .now-playing-screen .lyrics-lines{padding:clamp(85px,23vh,210px) 0}
  html.modern-web .now-playing-screen .lyrics-line{font-size:15px;line-height:1.6;padding:8px 6px}
  html.modern-web .now-playing-screen .lyrics-line.active{font-size:17px}
  html.modern-web .comments-title-row{padding:11px 4px}
  html.modern-web .comments-title-row h3{font-size:16px}
  html.modern-web .now-playing-transport{flex-basis:92px;min-height:92px;gap:2px;padding:5px 11px}
  html.modern-web .now-playing-transport-buttons{gap:23px}
  html.modern-web .now-playing-transport-buttons .detail-main-toggle{width:43px;height:43px;min-height:43px}
  html.modern-web .now-playing-timeline{gap:6px}
  html.modern-web .now-playing-timeline span{flex-basis:34px;font-size:10px}
}
@media(max-width:380px){
  html.modern-web .now-playing-screen .lyrics-sheet-actions #lyrics-refresh-btn{display:none}
  html.modern-web .now-playing-album-column{padding:8px 12px}
  html.modern-web .now-playing-cover-box{flex-basis:60px;width:60px;height:60px}
}
@media(prefers-reduced-motion:reduce){
 html.modern-web .now-playing-screen .lyrics-line{transition:none}
}

/* Small secondary controls; visual emphasis stays on play/pause. */
html.modern-web #detail-mode-btn{
  width:auto;min-width:65px;padding:0 10px;height:33px;min-height:33px;
  background:#e7f3e8;color:#448563;border:1px solid #cde5d2;
  border-radius:9px;font-size:11px;font-weight:690
}
html.modern-web #detail-mode-btn:hover{color:#287b55;background:#d7eddf}
html.modern-web .now-playing-volume{
  display:flex;gap:7px;align-items:center;flex:0 0 125px;
  color:#67967a;font-size:16px
}
html.modern-web .now-playing-volume input{min-width:0;width:100%;flex:1;accent-color:#2e936b}
@media(max-width:740px){
  html.modern-web .now-playing-volume{flex-basis:55px}
  html.modern-web .now-playing-volume span{display:none}
  html.modern-web #detail-mode-btn{min-width:51px;font-size:10px;padding:0 4px}
  html.modern-web .now-playing-transport-buttons{gap:clamp(12px,3vw,23px)}
}

/* v0.4.4 focused UX: one clean back affordance and discoverable tabs. */
html.modern-web #lyrics-close-btn{
  display:inline-flex!important;align-items:center;justify-content:center;
  gap:7px;width:auto!important;min-width:114px;height:40px!important;
  padding:8px 15px!important;font-size:13px!important;font-weight:710;
  white-space:nowrap;border:1px solid #c9e3d2;border-radius:10px;
  color:#376f50;background:#fff;line-height:1.3
}
html.modern-web #lyrics-close-btn span{display:inline-block;line-height:1;font-size:22px}
html.modern-web #lyrics-close-btn:hover{background:#e8f5e9;border-color:#96c6a7}
html.modern-web .catalog-source-tabs,html.modern-web .ranking-source-switch{
  display:flex;align-items:center;gap:9px;flex-wrap:wrap
}
html.modern-web .ranking-source-switch{
  margin:0 0 13px;padding:10px 14px;
  border:1px solid #d8e9db;border-radius:12px;background:#f9fcf7
}
html.modern-web .catalog-source{
  min-height:35px;padding:7px 16px;
  border:1px solid #d5e6d7;border-radius:10px;
  color:#607a66;background:#fff;font-size:13px;font-weight:620
}
html.modern-web .catalog-source.active{
  color:#267c54;background:#dff2e4;border-color:#a5dab8
}
html.modern-web .catalog-source:hover{border-color:#93cbac}
html.modern-web .comment-sort-bar{
  display:flex;gap:8px;align-items:center;flex-shrink:0;
  padding:9px 5px;border-bottom:1px solid #e4eee4
}
html.modern-web .comment-sort{
  padding:7px 14px;border-radius:9px;border:1px solid #d6e8da;
  background:#fff;color:#728b78;font-size:12px;font-weight:700
}
html.modern-web .comment-sort.active{
  color:#238055;background:#e2f3e5;border-color:#abd8ba
}
html.modern-web .comments-pagination{
  display:flex;justify-content:space-between;align-items:center;flex-shrink:0;
  padding:9px 8px;gap:10px;border-top:1px solid #e5eee4;
  font-size:11px;color:#829887
}
html.modern-web #comments-load-more{
  padding:7px 15px;min-height:33px;border:1px solid #bcdcc7;
  border-radius:9px;background:#e9f6ec;color:#287753;font-weight:700
}
html.modern-web #comments-load-more[hidden]{display:none!important}
@media(max-width:740px){
  html.modern-web #lyrics-close-btn{min-width:84px;padding:6px 10px!important;font-size:11px!important}
  html.modern-web .catalog-source{font-size:12px;padding:6px 10px;min-height:33px}
  html.modern-web .comments-pagination{font-size:10px}
}

/* v0.4.5: consistent music-list interaction and explicit quality policy. */
html.modern-web .quality-fallback-choice{
  display:flex!important;align-items:flex-start;gap:12px;
  padding:13px 14px;margin:8px 0 0;background:#f3faf3;
  border:1px solid #daeade;border-radius:12px;cursor:pointer;
  color:#335744
}
html.modern-web .quality-fallback-choice input{
  display:block!important;flex:0 0 18px;width:18px;height:18px;
  accent-color:#2e936f;margin:2px 0 0;cursor:pointer
}
html.modern-web .quality-fallback-choice strong{display:block;font-size:13px;color:#355d44}
html.modern-web .quality-fallback-choice small{
  display:block;margin-top:5px;font-size:11px;line-height:1.6;color:#718b77
}
html.modern-web .quality-effect-hint{
  margin:10px 0 0;font-size:11px;line-height:1.6;color:#698476
}
html.modern-web .quality-playing-summary{
  background:#eaf6ed;border-left:3px solid #56ad83;
  color:#326e4a;border-radius:5px;padding:10px 12px;
  font-size:12px;line-height:1.6;margin:12px 0 0
}
html.modern-web #inline-replay-quality{min-height:36px}
html.modern-web .ranking-play-hint{
  color:#859d8b;font-size:11px;padding:10px 19px 0;margin:0
}
html.modern-web .chart-song-row{
  display:grid!important;
  grid-template-columns:30px minmax(0,1fr) auto;
  align-items:center;gap:12px;min-height:60px;
  padding:9px 13px;cursor:default
}
html.modern-web .chart-song-number{
  color:#92a89a;font-size:12px;text-align:center;font-variant-numeric:tabular-nums
}
/* Legacy search-row counter generated an extra grid child and squeezed
   phone song titles into a 23px column. Chart rows own their number now. */
html.modern-web #ranking-songs>.chart-song-row::before{
  content:none!important;display:none!important
}
html.modern-web .chart-song-row:nth-child(-n+3) .chart-song-number{
  color:#2d956b;font-weight:850
}
html.modern-web .chart-song-info{
  display:flex;flex-direction:column;align-items:flex-start;justify-content:center;
  gap:4px;min-width:0;width:100%;overflow:hidden;cursor:pointer;
  padding:5px 8px;margin:-5px -8px;border-radius:8px
}
html.modern-web .chart-song-info:hover,
html.modern-web .chart-song-info:focus-visible{background:#eaf6ed}
html.modern-web .chart-song-info:focus-visible{
  outline:2px solid #69b78b;outline-offset:2px
}
html.modern-web .chart-song-info b{
  display:block;max-width:100%;min-width:0;overflow:hidden;
  white-space:nowrap;text-overflow:ellipsis;
  color:#2b513a;font-size:13px;font-weight:710
}
html.modern-web .chart-song-info span{
  display:block;max-width:100%;overflow:hidden;white-space:nowrap;
  text-overflow:ellipsis;color:#819785;font-size:11px
}
html.modern-web .chart-play-btn,
html.modern-web #retry-rank-songs,
html.modern-web #ranking-retry{
  display:inline-flex;align-items:center;justify-content:center;
  flex:0 0 auto;width:auto;min-width:80px;height:36px;min-height:36px;
  padding:7px 14px;border:1px solid #b8ddc6;border-radius:9px;
  background:#e3f4e8!important;color:#28815a!important;
  font-size:12px;font-weight:760;box-shadow:none!important;cursor:pointer;
  transition:background-color .15s ease,border-color .15s ease
}
html.modern-web .chart-play-btn:hover,
html.modern-web #retry-rank-songs:hover,
html.modern-web #ranking-retry:hover{
  border-color:#72bd91;background:#d3eddd!important
}
html.modern-web .chart-play-btn:focus-visible{outline:2px solid #4da776;outline-offset:2px}
@media(max-width:740px){
  html.modern-web .view-container{padding:13px 10px 154px}
  html.modern-web .ranking-source-switch{padding:8px;gap:6px}
  html.modern-web .ranking-sidebar{
    max-height:none;padding:8px 6px 6px;overflow:visible
  }
  html.modern-web .ranking-sidebar .subsection-heading{padding:2px 6px 7px}
  html.modern-web .ranking-list{
    overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;
    padding:0 0 7px;scroll-snap-type:x proximity;
  }
  html.modern-web .ranking-item{scroll-snap-align:start}
  html.modern-web #ranking-songs{padding:7px 6px}
  html.modern-web .chart-song-row{
    grid-template-columns:23px minmax(0,1fr) 70px;
    gap:6px;padding:8px 9px;min-height:62px
  }
  html.modern-web .chart-song-info{min-width:0;margin:0;padding:4px 2px}
  html.modern-web .chart-song-info b{font-size:13px}
  html.modern-web .chart-song-info span{font-size:11px}
  html.modern-web .chart-play-btn{width:70px;min-width:70px;height:36px;padding:5px 4px;font-size:11px}
  html.modern-web .ranking-title{padding:11px 12px}
  html.modern-web .ranking-play-hint{padding:8px 12px 0}
  html.modern-web .settings-section{padding:15px 12px}
  html.modern-web .quality-fallback-choice{padding:11px 12px}
  html.modern-web .setting-row-inline select{width:100%;min-width:0;max-width:100%}
}
@media(max-width:420px){
  html.modern-web .topbar{height:57px}
  html.modern-web .brand-block{padding-left:34px}
  .brand-block::before{width:29px;height:29px;font-size:18px}
  html.modern-web .brand{font-size:14px}
  html.modern-web .subtitle{font-size:8px}
  html.modern-web .top-source-indicator{max-width:38vw;font-size:9px}
  html.modern-web .nav-rail{
    top:57px;padding:2px 4px
  }
  html.modern-web .main-nav{gap:1px}
  html.modern-web .nav-item{
    min-height:43px;height:43px;border-radius:8px;gap:1px;
    padding:3px 1px;font-size:9px
  }
  html.modern-web .nav-symbol{height:19px;flex-basis:19px;font-size:15px}
  html.modern-web .nav-item span:last-child{font-size:9px}
  html.modern-web .persistent-top-stack{top:102px}
  html.modern-web .view-header h1{font-size:24px}
  html.modern-web .view-container{padding:11px 8px 144px}
  html.modern-web .ranking-source-switch{margin-bottom:8px}
  html.modern-web .ranking-title{font-size:15px}
  html.modern-web .chart-song-row{padding:7px 8px}
  html.modern-web .player-bar{height:124px;min-height:124px;max-height:124px}
  html.modern-web .player-transport{height:40px;min-height:40px}
}
@media(max-width:345px){
  html.modern-web .chart-song-row{grid-template-columns:20px minmax(0,1fr) 62px;gap:4px}
  html.modern-web .chart-play-btn{width:62px;min-width:62px}
  html.modern-web .ranking-play-hint{font-size:10px}
}
@media(prefers-reduced-motion:reduce){
  html.modern-web .chart-play-btn{transition:none}
}

/* Explicit full-width ranking cascade at compact widths. Older inherited
   flex/min-content rules must not shrink the content pane to its button. */
@media(max-width:740px){
 html.modern-web #view-ranking .ranking-layout{
   display:block!important;width:100%!important;min-width:0!important;max-width:100%!important
 }
 html.modern-web #view-ranking .ranking-content{
   display:block!important;flex:none!important;
   width:100%!important;min-width:0!important;max-width:100%!important
 }
 html.modern-web #view-ranking #ranking-songs{
   display:block!important;width:100%!important;min-width:0!important;
   max-width:100%!important;box-sizing:border-box
 }
 html.modern-web #view-ranking #ranking-songs>.chart-song-row{
   width:100%!important;max-width:100%!important;min-width:0!important;
   box-sizing:border-box
 }
}

/* Pin chart cells to explicit grid tracks. The legacy .search-row styles
   include generated counters/old grid placement, which must not auto-place
   title and play controls into unexpected tracks on small screens. */
html.modern-web #ranking-songs>.chart-song-row>.chart-song-number{
  grid-column:1!important;grid-row:1!important;min-width:0
}
html.modern-web #ranking-songs>.chart-song-row>.chart-song-info{
  grid-column:2!important;grid-row:1!important;
  width:100%!important;min-width:0!important;
  max-width:100%!important;box-sizing:border-box
}
html.modern-web #ranking-songs>.chart-song-row>.chart-play-btn{
  grid-column:3!important;grid-row:1!important;
  justify-self:end!important;max-width:100%!important
}

/* v0.4.6 — concise touch-first discovery, no visual scrollbar gutters.
   Scrolling remains enabled for keyboard/touch/trackpads. */
html.modern-web{
  scrollbar-width:thin;
  scrollbar-color:#bfdcc6 transparent
}
html.modern-web *{
  scrollbar-width:thin;
  scrollbar-color:#c5ddca transparent
}
html.modern-web ::-webkit-scrollbar{width:6px;height:5px}
html.modern-web ::-webkit-scrollbar-track{background:transparent}
html.modern-web ::-webkit-scrollbar-thumb{
  background:#bad7c1;border-radius:99px;border:1px solid transparent
}
html.modern-web ::-webkit-scrollbar-thumb:hover{background:#86ba99}
html.modern-web .main-nav,
html.modern-web .channel-list,
html.modern-web .ranking-list,
html.modern-web .category-row,
html.modern-web .my-tabs,
html.modern-web .platform-pills{
  scrollbar-width:none!important;scrollbar-gutter:auto!important
}
html.modern-web .main-nav::-webkit-scrollbar,
html.modern-web .channel-list::-webkit-scrollbar,
html.modern-web .ranking-list::-webkit-scrollbar,
html.modern-web .category-row::-webkit-scrollbar,
html.modern-web .my-tabs::-webkit-scrollbar,
html.modern-web .platform-pills::-webkit-scrollbar{display:none!important}
html.modern-web .comments-list,
html.modern-web .lyrics-scroll,
html.modern-web .music-library-content{
  scrollbar-gutter:auto!important;
  overscroll-behavior:contain
}
html.modern-web .infinite-scroll-status{
  text-align:center;padding:17px 12px;
  color:#5a8b6d;font-size:12px;font-weight:550;
  background:transparent
}
html.modern-web .infinite-scroll-status[hidden]{display:none!important}
html.modern-web .infinite-scroll-status[data-finished="1"]{
  color:#859a8b
}
html.modern-web .quality-summary{
  display:inline-flex;align-items:center;flex:0 1 auto;
  max-width:100%;min-width:0;
  padding:5px 9px;border-radius:99px;
  color:#538268;background:#edf7ee;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  font-size:11px;line-height:1.35;letter-spacing:0
}
html.modern-web .quality-summary .quality-summary-detail{display:none}
html.modern-web .sub-toolbar{
  gap:10px;align-items:center;flex-wrap:wrap
}
html.modern-web .sub-toolbar>span:first-child{
  flex:0 0 auto;font-size:11px;font-weight:650;color:#789581
}
/* Reset buttons originally inherited old browser/native outlines. */
html.modern-web .list-toolbar button,
html.modern-web .library-actions button,
html.modern-web .search-actions button,
html.modern-web .playlist-detail-actions button,
html.modern-web .now-playing-screen button,
html.modern-web .my-tabs button,
html.modern-web #retry-song-search{
  -webkit-appearance:none;appearance:none;
  font-family:inherit;font-size:12px;line-height:1.3;font-weight:640;
  background:#fff;color:#397f58;border:1px solid #cee5d4;
  border-radius:9px;box-shadow:none;outline:none
}
html.modern-web .list-toolbar button:hover,
html.modern-web .library-actions button:hover,
html.modern-web .search-actions button:hover{
  border-color:#9bd0ae;background:#edf8ef;color:#23764e
}
html.modern-web .list-toolbar button:focus-visible,
html.modern-web .search-actions button:focus-visible,
html.modern-web .library-actions button:focus-visible{
  outline:2px solid #66af8a;outline-offset:2px
}
html.modern-web .list-toolbar button{
  padding:6px 12px;min-height:34px
}
html.modern-web #comments-load-more{display:none!important}
html.modern-web .comments-pagination{
  padding:8px 12px;justify-content:center;min-height:33px
}
@media(max-width:740px){
  html.modern-web .nav-rail{overflow-x:hidden!important}
  html.modern-web .main-nav{min-width:0;overflow:visible}
  html.modern-web .nav-item{min-width:0}
  html.modern-web .channel-list{
    width:100%;min-width:0;max-width:100%;
    overflow-x:auto;flex-wrap:nowrap
  }
  html.modern-web .sub-toolbar{
    display:flex;gap:7px 8px;align-items:center;
    padding:11px 12px;min-width:0
  }
  html.modern-web .sub-toolbar>span:first-child{flex:0 0 auto}
  html.modern-web .quality-summary{
    flex:0 0 auto;margin:0;
    max-width:100%;font-size:10px;padding:4px 8px
  }
  html.modern-web[data-active-view="search"] .global-status.ready{display:none}
  html.modern-web .results-head{padding:11px 2px;margin-top:2px}
  html.modern-web .view-container{padding-left:12px;padding-right:12px}
  html.modern-web .search-row{
    display:grid;grid-template-columns:20px minmax(0,1fr) auto;
    grid-template-rows:auto auto auto;
    gap:2px 7px;min-height:0;
    padding:10px 10px 9px;margin-bottom:8px;
    border-radius:12px
  }
  html.modern-web #search-results>.search-row:before{
    grid-column:1;grid-row:1;
    font-size:11px;align-self:center
  }
  html.modern-web #search-results>.search-row>b{
    grid-column:2;grid-row:1;
    font-size:13px;line-height:1.45
  }
  html.modern-web #search-results>.search-row>span{
    display:block!important;grid-column:2;grid-row:2;
    font-size:10px;line-height:1.3;margin:0;
    color:#829d8c
  }
  html.modern-web #search-results>.search-row>.search-source{
    grid-column:3;grid-row:1;
    font-size:9px;padding:3px 5px
  }
  html.modern-web #search-results>.search-row>.search-actions{
    grid-column:2/-1;grid-row:3;
    display:flex;align-items:center;flex-wrap:nowrap;
    width:100%;gap:5px;margin:7px 0 0;min-width:0
  }
  html.modern-web #search-results>.search-row>.search-actions button{
    min-width:0;flex:0 1 auto;
    padding:7px 9px;min-height:34px;font-size:11px;
    white-space:nowrap;border-radius:8px
  }
  html.modern-web #search-results>.search-row>.search-actions button:first-child{
    background:#e6f5ea!important;border-color:#bfe3ca;
    color:#298253!important
  }
  html.modern-web .comments-list{padding:0 4px 8px}
  html.modern-web .now-comment-card{padding:14px 7px}
  html.modern-web .now-comment-card p{font-size:13px;line-height:1.65}
  html.modern-web .comments-title-row{padding:9px 4px 10px}
  html.modern-web .comments-title-row h3{font-size:16px}
  html.modern-web .comments-title-row p{font-size:11px;line-height:1.5}
  html.modern-web .comment-sort-bar{padding:8px 3px}
  html.modern-web .comment-sort{min-height:34px}
}
@media(max-width:430px){
  html.modern-web .topbar{height:56px}
  html.modern-web .nav-rail{top:56px;padding:4px 3px}
  html.modern-web .nav-item{height:45px;min-height:45px}
  html.modern-web .persistent-top-stack{top:106px}
  html.modern-web .view-container{padding:13px 10px 149px}
  html.modern-web .view-header{margin-bottom:14px}
  html.modern-web .view-header h1{font-size:24px}
  html.modern-web .sub-toolbar{margin:0;padding:10px 11px}
  html.modern-web .quality-summary{font-size:10px;letter-spacing:0}
  html.modern-web .view-tabs{gap:5px}
  html.modern-web .view-tab{padding:5px 11px}
  html.modern-web .player-bar{padding:6px 10px;gap:2px}
  html.modern-web .player-song{height:34px;min-height:34px}
  html.modern-web .player-center{height:70px}
  html.modern-web .player-transport{gap:14px}
  html.modern-web .search-row{padding:9px 8px}
}
@media(max-width:350px){
  html.modern-web #search-results>.search-row>.search-actions button{
    font-size:10px;padding:6px 7px
  }
  html.modern-web .sub-toolbar>span:first-child{font-size:10px}
}

/* v0.4.7: consistent accessible controls and significantly calmer mobile
   song-list density. This overrides the legacy three-row search layout. */
html.modern-web #search-results>.search-song-row{
  display:grid!important;
  grid-template-columns:28px minmax(0,1fr) auto auto;
  align-items:center;gap:12px;
  width:100%;min-width:0;min-height:60px;
  margin:0 0 5px;padding:7px 12px;box-sizing:border-box;
  background:#fff;border:1px solid #e0ece2;border-radius:11px;
  transition:background-color .12s ease,border-color .12s ease
}
html.modern-web #search-results>.search-song-row::before{
  display:none!important;content:none!important
}
html.modern-web #search-results>.search-song-row:hover{
  background:#f5faf4;border-color:#b8dac1
}
html.modern-web #search-results>.search-song-row .song-row-index{
  grid-column:1;grid-row:1;min-width:0;white-space:nowrap;
  color:#9bad9e;font-variant-numeric:tabular-nums;
  text-align:center;font-size:12px;font-weight:650
}
html.modern-web #search-results>.search-song-row .search-song-main{
  grid-column:2;grid-row:1;min-width:0;max-width:100%;width:100%;
  cursor:pointer;display:flex;flex-direction:column;justify-content:center;
  gap:4px;border-radius:7px;padding:4px 5px;margin:-4px -5px;
  box-sizing:content-box
}
html.modern-web #search-results>.search-song-row .search-song-main:hover{
  background:#e9f6eb
}
html.modern-web #search-results>.search-song-row .search-song-main:focus-visible{
  outline:2px solid #57aa7e;outline-offset:3px
}
html.modern-web #search-results>.search-song-row .song-title{
  color:#2d5039;font-size:13px;font-weight:730;
  display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  max-width:100%;line-height:1.45
}
html.modern-web #search-results>.search-song-row .song-artist{
  color:#829c8a;font-size:11px;
  display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  max-width:100%;line-height:1.35
}
/* KG version disambiguation: album + duration on a third compact line. */
html.modern-web #search-results>.search-song-row .song-version-meta{
  color:#718979;font-size:10px;line-height:1.3;
  display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  max-width:100%;font-variant-numeric:tabular-nums
}
html.modern-web #search-results>.search-song-row>.search-source{
  grid-column:3;grid-row:1;justify-self:end;
  margin:0;white-space:nowrap;font-size:10px
}
html.modern-web #search-results>.search-song-row>.search-actions{
  grid-column:4;grid-row:1;min-width:0;max-width:100%;width:auto;
  display:flex;align-items:center;justify-content:flex-end;gap:7px;margin:0
}
html.modern-web #search-results>.search-song-row .search-actions>button{
  flex:0 0 auto;min-width:58px;min-height:34px;height:34px;
  padding:6px 10px;white-space:nowrap;border:1px solid #cee4d4;
  border-radius:9px;background:#fff!important;color:#3a7957!important;
  box-shadow:none!important;font-size:12px;font-weight:680
}
html.modern-web #search-results>.search-song-row .search-actions>.song-action-play{
  min-width:53px;border-color:#b8dec6;background:#e6f4e8!important;
  color:#288056!important
}
html.modern-web #search-results>.search-song-row .search-actions>button:hover{
  background:#ecf7ed!important;border-color:#8dcaa0
}
html.modern-web #search-results>.search-song-row .song-more{display:none}
html.modern-web #search-results>.search-song-row :is(button,summary):focus-visible{
  outline:2px solid #52a978;outline-offset:3px
}
html.modern-web :is(#playlist-load-more-btn,
  #clear-history-btn,#clear-favorites-btn,#clear-queue-btn,
  #playlist-back-btn,#playlist-favorite-btn,
  #playlist-play-all-btn,#retry-song-search){
  -webkit-appearance:none!important;appearance:none!important;
  display:inline-flex;align-items:center;justify-content:center;
  border:1px solid #bcdcc6!important;border-radius:10px!important;
  background:#e7f5eb!important;color:#2b7d53!important;
  padding:8px 14px;min-height:36px;line-height:1.25;
  font-size:12px;font-weight:650;line-height:1.25;font-family:inherit;
  box-shadow:none!important;
  cursor:pointer;transition:background-color .12s ease,border-color .12s ease
}
html.modern-web #playlist-load-more-btn{
  display:flex!important;width:max-content;
  margin:17px auto 20px;min-width:145px;
  background:#e5f4e8!important;border-color:#bbddc4!important;
  color:#2d8058!important
}
html.modern-web #playlist-load-more-btn.hidden{display:none!important}
html.modern-web :is(#playlist-load-more-btn,
  #clear-history-btn,#clear-favorites-btn,#clear-queue-btn,
  #playlist-back-btn,#playlist-favorite-btn,#playlist-play-all-btn):hover{
  background:#d7efdf!important;border-color:#80c39a!important
}
html.modern-web :is(#playlist-load-more-btn,
  #clear-history-btn,#clear-favorites-btn,#clear-queue-btn):focus-visible{
  outline:2px solid #55ac80;outline-offset:2px
}
/* Match old playlist actions with ranking/music library action tokens. */
html.modern-web #playlist-detail-songs .playlist-song-actions button{
  -webkit-appearance:none;appearance:none;
  display:inline-flex;align-items:center;justify-content:center;
  border:1px solid #cbe6d3!important;border-radius:9px!important;
  background:#f4faf5!important;color:#34815e!important;
  box-shadow:none!important;font-weight:650;
  min-width:34px;min-height:34px
}
html.modern-web #playlist-detail-songs .playlist-song-actions .playlist-song-play{
  color:#2b8159!important;background:#e4f4e8!important;
}
html.modern-web #view-mylist .list-toolbar button{
  -webkit-appearance:none!important;appearance:none!important;
  background:#e8f5eb!important;
  border-color:#c8e4d1!important;
  border-radius:9px!important;color:#31805c!important;
  box-shadow:none!important
}
@media(max-width:740px){
  /* Reduce permanent chrome: player always exposes playback status, so the
     extra sticky success banner needn't take another row of mobile space. */
  html.modern-web .global-status.ready{display:none!important}
  html.modern-web #search-results>.search-song-row{
    grid-template-columns:22px minmax(0,1fr) auto;
    grid-template-rows:1fr;
    column-gap:8px;min-height:62px;padding:7px 10px;margin-bottom:5px
  }
  html.modern-web #search-results>.search-song-row .song-row-index{
    grid-column:1;grid-row:1;font-size:11px
  }
  html.modern-web #search-results>.search-song-row .search-song-main{
    grid-column:2;grid-row:1;min-width:0;align-self:center;
    padding:4px 2px;margin:0;box-sizing:border-box
  }
  html.modern-web #search-results>.search-song-row .song-title{font-size:13px}
  html.modern-web #search-results>.search-song-row .song-artist{font-size:11px}
  html.modern-web #search-results>.search-song-row>.search-source{display:none!important}
  html.modern-web #search-results>.search-song-row>.search-actions{
    grid-column:3;grid-row:1;display:flex;align-items:center;gap:6px;
    width:auto;max-width:none;margin:0;padding:0
  }
  html.modern-web #search-results>.search-song-row .search-actions>.song-action-play{
    display:inline-flex!important;align-items:center;justify-content:center;
    width:40px;min-width:40px;min-height:40px;height:40px;
    border-radius:11px;padding:0;font-size:15px
  }
  html.modern-web #search-results>.search-song-row .search-actions>.song-action-queue,
  html.modern-web #search-results>.search-song-row .search-actions>.song-action-favorite{
    display:none!important
  }
  html.modern-web #search-results>.search-song-row .song-more{
    display:block;flex:0 0 40px;position:relative;width:40px;height:40px;
    z-index:3
  }
  html.modern-web #search-results>.search-song-row .song-more[open]{z-index:50}
  html.modern-web #search-results>.search-song-row .song-more>summary{
    display:grid;place-items:center;width:40px;height:40px;
    list-style:none;border:1px solid #d1e6d7;border-radius:11px;
    background:#fff;color:#4c8664;font-size:18px;font-weight:800;
    cursor:pointer;line-height:1
  }
  html.modern-web #search-results>.search-song-row .song-more>summary::-webkit-details-marker{display:none}
  html.modern-web #search-results>.search-song-row .song-more-menu{
    position:absolute;z-index:51;right:0;top:45px;min-width:139px;
    display:flex;flex-direction:column;gap:5px;padding:8px;
    border-radius:12px;border:1px solid #cfe4d5;background:#fff;
    box-shadow:0 12px 28px rgba(29,75,45,.13)
  }
  html.modern-web #search-results>.search-song-row .song-more-menu button{
    display:block!important;width:100%;text-align:center;
    min-height:35px;padding:7px 9px;border:0!important;
    background:#f0f8f0!important;color:#387c58!important;border-radius:8px
  }
  html.modern-web #search-results>.search-song-row .song-more-menu button:hover{
    background:#dff0e4!important
  }
  html.modern-web #view-playlist.is-detail-open>.view-header{display:none}
  html.modern-web #playlist-detail-songs{padding:0 7px 9px}
  html.modern-web #playlist-detail-songs>.playlist-song-row{
    min-height:60px;padding:8px 4px
  }
  html.modern-web #playlist-detail-songs>.playlist-song-row>.song-main b{font-size:13px}
  html.modern-web #view-mylist .list-toolbar{min-height:51px;padding:10px 2px}
  html.modern-web #view-mylist .list-toolbar strong{font-size:15px}
  html.modern-web #playlist-load-more-btn{min-height:40px}
}
@media(max-width:430px){
  html.modern-web .view-container{padding:11px 9px 145px}
  html.modern-web #search-results>.search-song-row{
    grid-template-columns:21px minmax(0,1fr) 84px;
    min-height:62px;column-gap:5px;padding:7px 8px
  }
  html.modern-web #search-results>.search-song-row .search-actions{
    grid-column:3;gap:4px
  }
  html.modern-web #search-results>.search-song-row .search-actions>.song-action-play{
    width:40px;min-width:40px
  }
  html.modern-web #search-results>.search-song-row .song-more{width:40px;flex-basis:40px}
  html.modern-web #search-results>.search-song-row .song-row-index{font-size:11px}
  html.modern-web .view-header{margin-bottom:11px}
  html.modern-web .results-head{padding:6px 2px 9px}
  html.modern-web .sub-toolbar{padding:9px 10px;gap:6px}
  html.modern-web .global-search-bar{padding-top:6px;padding-bottom:6px}
  html.modern-web .search-inspiration{min-height:240px}
}
@media(max-width:360px){
  html.modern-web #search-results>.search-song-row{
    grid-template-columns:18px minmax(0,1fr) 76px;column-gap:4px;padding:6px
  }
  html.modern-web #search-results>.search-song-row .search-actions>.song-action-play,
  html.modern-web #search-results>.search-song-row .song-more,
  html.modern-web #search-results>.search-song-row .song-more>summary{
    width:36px;min-width:36px;height:38px;min-height:38px
  }
}

/* Shared list-tap affordance for recent plays, favourites, and queue.
   Playback still triggers only from the row body, never from its actions. */
html.modern-web .library-row.tap-to-play .library-main{
  cursor:pointer;min-width:0;border-radius:7px
}
html.modern-web .library-row.tap-to-play .library-main:hover{background:#eef8f0}
html.modern-web .library-row.tap-to-play .library-main:focus-visible{
  outline:2px solid #58ae7e;outline-offset:3px
}
@media(max-width:740px){
  html.modern-web #view-mylist .library-row.tap-to-play{
    display:flex;align-items:center;justify-content:space-between;
    gap:9px;min-height:60px;padding:9px 4px;
  }
  html.modern-web #view-mylist .library-row .library-main{
    flex:1 1 auto;min-width:0;padding-right:4px
  }
  html.modern-web #view-mylist .library-row .library-title{
    white-space:nowrap;overflow:hidden;text-overflow:ellipsis
  }
  html.modern-web #view-mylist .library-row .library-actions{
    flex:0 0 auto;display:flex;align-items:center
  }
  html.modern-web #view-mylist .library-row .library-actions button{
    min-height:35px;padding:6px 9px;border-radius:9px
  }
  html.modern-web #playlist-detail-songs>.playlist-song-row{
    cursor:pointer
  }
  html.modern-web #playlist-detail-songs>.playlist-song-row:focus-visible{
    outline:2px solid #58ae7e;outline-offset:-2px
  }
}

/* FyMusic immersive transport: touch-friendly seeking without creating
   a second slider or a polling animation loop. */
html.modern-web #detail-seek{
  min-height:40px;touch-action:pan-x;
}
html.modern-web #detail-seek:focus-visible{
  outline:2px solid #2b936f;outline-offset:2px;border-radius:8px;
}
@media(max-width:740px){
  html.modern-web .now-playing-transport{
    flex-basis:112px!important;min-height:112px!important;
    padding-bottom:calc(7px + env(safe-area-inset-bottom))!important
  }
  html.modern-web .now-playing-transport-buttons button{
    min-width:44px!important;width:44px!important;
    min-height:44px!important;height:44px!important
  }
  html.modern-web .now-playing-transport-buttons .detail-main-toggle{
    min-width:48px!important;width:48px!important;
    min-height:48px!important;height:48px!important
  }
  html.modern-web #detail-seek{
    min-height:44px;height:44px;touch-action:pan-x
  }
}
@media(max-width:740px) and (max-height:500px){
  html.modern-web .now-playing-album-column{max-height:65px;min-height:65px;padding:3px 12px}
  html.modern-web .now-playing-cover-box{width:48px;height:48px;max-height:48px;flex-basis:48px}
  html.modern-web .now-playing-tabs{height:42px}
}
