
.main{display:flex;flex-direction:column;min-height:100vh;background:#0d0d0d;color:#eee}
.mtop,.mbot{display:flex;align-items:center;gap:10px;padding:12px 18px}
.mtop{border-bottom:1px solid #2a2a2a}
.mbot{border-top:1px solid #2a2a2a;flex-wrap:wrap;margin-top:auto}
.mtop h2{margin:0;font-size:1.05rem;flex:1}
.share-ic{border:0;padding:6px;display:inline-flex}
.mid{display:flex;align-items:stretch;gap:16px;margin:12px 18px;border:1px solid #333;border-radius:12px;padding:12px}
.cover-col{width:38%;max-width:260px;display:flex;flex-direction:column}
.cover{width:100%;height:240px;object-fit:cover;object-position:center top;border-radius:10px}
.cover-col .info{margin-top:8px;font-size:.75rem;color:#aaa}
.meta{flex:1;display:flex;flex-direction:column;min-width:0;max-height:240px}
.meta .h,.lyrics-full .h{color:#d4a017;font-size:.8rem;margin:0 0 6px}
.meta .txt{flex:1;overflow:auto;color:#ccc;font-size:.9rem}
.lyrics-full{margin:0 18px 10px;border:1px solid #333;border-radius:12px;padding:10px 12px}
.ly-head{display:flex;align-items:center;gap:10px}
#tTrans{margin-left:auto;background:transparent;border:1px solid #d4a017;color:#d4a017;border-radius:8px;padding:4px 10px;cursor:pointer}
#tLyrics{min-height:5rem;white-space:pre-wrap;color:#ccc}
.libbox{padding:10px 18px}
.libtop{display:flex;justify-content:flex-end;gap:6px;margin-bottom:8px}
.libtop button{background:#222;border:1px solid #444;color:#ccc;border-radius:8px;padding:4px 10px;cursor:pointer}
.libtop button.on{border-color:#d4a017;color:#d4a017}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:8px;max-height:280px;overflow:auto}
.grid img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:8px;cursor:pointer}
.mbot button,.mbot a{background:#222;color:#eee;border:1px solid #444;border-radius:8px;padding:8px 12px;text-decoration:none;cursor:pointer}
@media(max-width:800px){.main{display:flex !important}.mid{flex-direction:column}.cover-col{width:100%;max-width:none}.meta{max-height:none}}

.lyrics-full{min-height:220px}
#tLyrics{min-height:180px}
#tTrans{width:148px;margin-left:auto;text-align:center}
.libtop button{min-width:70px}

.cover{height:230px !important;width:100%}
.meta{max-height:230px !important}
.lyrics-full{min-height:260px}
#tLyrics{min-height:220px}
.grid{max-height:160px}

.cover{height:300px !important}
.meta{max-height:300px !important}
.lyrics-full{min-height:350px}
#tLyrics{min-height:310px}
.grid{max-height:100px}

.lyrics-full{min-height:290px}
#tLyrics{min-height:250px}
.grid{max-height:140px}

.grid{max-height:120px;grid-template-columns:repeat(auto-fill,minmax(132px,1fr))}
#tLyrics{
  overflow:auto;
  max-height:250px;
  width:calc(100% - 8px);
}
.ly-head{width:100%}
#tTrans{flex:0 0 148px}

.create-app{align-items:stretch}
.side,.main{min-height:100vh}
.mbot{margin-top:auto}
.grid{max-height:140px;grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}
.grid img{height:140px;width:100%;object-fit:cover;object-position:center top;aspect-ratio:auto}

.create-app{align-items:stretch}
.side{display:flex;flex-direction:column}
.panel{flex:1;overflow:auto}
#go,.btn#go{
  position:sticky;bottom:0;margin:0;border-radius:0;
  height:48px;
}
.mbot{height:48px;padding:0 18px;box-sizing:border-box}
.mbot button,.mbot a{height:36px;display:inline-flex;align-items:center}

#go,.btn#go{position:static !important;height:auto !important;border-radius:8px !important;margin-top:12px !important}
.mbot{height:auto !important;padding:12px 18px !important}
.lyrics-full{min-height:220px !important}
#tLyrics{min-height:180px !important;max-height:180px !important}

.grid{max-height:120px !important}
.grid img{height:120px !important}

.lyrics-full{min-height:200px !important}
#tLyrics{min-height:160px !important;max-height:160px !important}

.cover{height:280px !important}
.meta{max-height:280px !important}
.mbot{margin-top:0 !important}

.create-app{align-items:stretch;min-height:100vh}
.main{display:flex;flex-direction:column;min-height:100vh}
.lyrics-full{flex:1 1 auto;min-height:0}
#tLyrics{height:100%;max-height:none;min-height:0;overflow:auto}
.mbot{margin-top:0;flex:0 0 52px;height:52px;align-items:center}
.libbox{flex:0 0 auto}

.mbot{
  display:flex;
  align-items:center;
  gap:8px;
  height:44px !important;
  padding:0 18px !important;
  margin-top:-24px !important;
  position:relative;
  z-index:2;
}
.mbot button,.mbot a{
  height:32px !important;
  line-height:32px !important;
  padding:0 12px !important;
  box-sizing:border-box;
  font-size:.82rem;
  display:inline-flex !important;
  align-items:center;
}

.mbot{
  height:auto !important;
  padding:12px 18px !important;
  margin-top:-10px !important;
}
.mbot button,.mbot a{
  height:auto !important;
  line-height:normal !important;
  padding:8px 12px !important;
}

.mbot{margin-top:-30px !important}
.lyrics-full{min-height:180px !important}
#tLyrics{min-height:140px !important;max-height:140px !important}

.lyrics-full{min-height:100px !important;flex:none !important}
#tLyrics{min-height:80px !important;max-height:80px !important}
.grid{max-height:100px !important}
.grid img{height:100px !important}
.mbot{
  margin-top:0 !important;
  position:relative !important;
  height:48px !important;
  padding:8px 18px !important;
}
.create-app{min-height:100vh;align-items:stretch}
.side,.main{display:flex;flex-direction:column;min-height:100vh}
.panel{flex:1;overflow:auto}
#go{
  position:static !important;
  margin-top:auto !important;
  height:48px !important;
}

.create-app{display:flex;align-items:stretch;min-height:100vh}
.side,.main{display:flex;flex-direction:column;min-height:100vh}
.panel{flex:1 1 auto;overflow:auto}
.mbot{
  margin-top:auto !important;
  margin-bottom:0 !important;
  height:48px !important;
  display:flex !important;
  align-items:center !important;
}

.create-app,.side,.main{min-height:auto}
.lyrics-full{min-height:180px !important}
#tLyrics{min-height:160px !important;max-height:160px !important}
.grid{max-height:120px !important}
.grid img{height:120px !important}

.lyrics-full{min-height:230px !important}
#tLyrics{min-height:210px !important;max-height:210px !important}
.grid{max-height:100px !important}
.grid img{height:100px !important}

.lyrics-full,.libbox{
  border:1px solid #333 !important;
  border-radius:12px;
  margin-left:18px;
  margin-right:18px;
}
.grid{max-height:120px !important}
.grid img{height:120px !important}

.lyrics-full{min-height:250px !important}
#tLyrics{min-height:230px !important;max-height:230px !important}
.grid{max-height:130px !important}
.grid img{height:130px !important}

.grid{max-height:150px !important}
.grid img{height:150px !important}

.lyrics-full{min-height:260px !important}
#tLyrics{min-height:240px !important;max-height:240px !important}
body,html{min-height:0}
.mbot{margin-top:0 !important;position:relative !important;}
.libbox{padding-bottom:8px;}
.libbox{display:flex;flex-direction:column;min-height:220px}
.libsub{flex:1;min-height:120px}
.mbot{margin-top:8px!important;margin-bottom:0!important}
#pageFoot{clear:both}
.libsub{
  border:1px solid #444;border-radius:8px;padding:8px;min-height:120px
}
.libbox .mbot{
  border:1px solid #444;border-radius:8px;padding:8px 12px!important;
  margin-top:8px!important;position:static!important;top:auto!important
}


.lyrics-full{position:relative;padding-bottom:52px}
.ly-head{position:static}
.ly-head #btnTr{
  position:absolute;
  right:12px;
  bottom:10px;
  top:auto;
  left:auto;
}


.lyrics-full > .ly-head { display: none !important; }
.lyrics-full > #tLyrics:empty,
.lyrics-full > .txt:empty { display: none !important; }
.ly-split .ly-side #btnTr { display: inline-flex !important; }


.lyrics-full:not(:has(.ly-split)):not(:has(#tLyrics)) { display:none !important; }
.ly-main .ly-title ~ .ly-title { display:none !important; }


.lyrics-full{min-height:auto}
.lyrics-full .ly-split{height:100%;border:0}
