/* 字号调节。
   全站字号写死的 px，改 html{font-size} 没用，所以这里把「真正要读的」那些文字
   改成跟着 --fs 倍数走。按钮、图标、导航这些不动，免得布局被撑坏。
   面向的是看歌词吃力的长辈，所以只放大内容，不放大外壳。 */
:root { --fs: 1; }
html[data-fs="l"]  { --fs: 1.16; }
html[data-fs="xl"] { --fs: 1.34; }

/* 歌曲列表 */
html body .song-title              { font-size: calc(16px * var(--fs)); }
html body .toolbar input           { font-size: calc(16px * var(--fs)); }
html body .tags button             { font-size: calc(13px * var(--fs)); }

/* 播放页：滚动歌词是重中之重 */
html body #lyric-strip p           { font-size: calc(15px * var(--fs)); }
html body #lyric-strip p.on        { font-size: calc(18px * var(--fs)); }
html body #lyric-strip p.none      { font-size: calc(14px * var(--fs)); }
html body #now-page .now-top       { font-size: calc(18px * var(--fs)); }
html body #now-page h2             { font-size: calc(19px * var(--fs)); }
html body #now-page .lyrics pre    { font-size: calc(16px * var(--fs)); }
/* 播放页顶上那个歌名由 player2.css 单独管着，选择器要压过它 */
html body.player2 #now-page .now-top strong { font-size: calc(17px * var(--fs)); }
/* 顶部和底部播放条上的歌名 */
html body #home-bar .hb-name       { font-size: calc(13.5px * var(--fs)); }
html body .now strong              { font-size: calc(16px * var(--fs)); }

/* 首页精选 / 我的 / 歌单 */
html body .pk-name                 { font-size: calc(15.5px * var(--fs)); }
html body .mine-row .mt b          { font-size: calc(16px * var(--fs)); }
html body #list-sheet .pl-row      { font-size: calc(15px * var(--fs)); }

/* 使用手册和模块页正文 */
html body .mod-sub                 { font-size: calc(14px * var(--fs)); }
html body .mc-name                 { font-size: calc(16px * var(--fs)); }
html body .mc-desc                 { font-size: calc(12.5px * var(--fs)); }
html body .mod-sec li              { font-size: calc(14px * var(--fs)); }
html body .mod-pick label          { font-size: calc(14.5px * var(--fs)); }

/* AI 助手的对话 */
html body .hm                      { font-size: calc(15px * var(--fs)); }
html body .hm .hs                  { font-size: calc(14px * var(--fs)); }

/* 字大了以后列表那一行要给够高度，不然字会贴边 */
html[data-fs="l"] body #songs li,
html[data-fs="xl"] body #songs li  { padding-top: 13px; padding-bottom: 13px; }
html[data-fs="xl"] body #lyric-strip { line-height: 1.75; }

/* 设置面板里的那三个按钮 */
#fs-group .fs-btns { display: flex; gap: 8px; }
#fs-group .fs-btns button {
  flex: 1; min-height: 44px; padding: 8px 10px; border: 0; border-radius: 12px;
  font: inherit; font-weight: 700; background: #eaf6fd; color: #1f6f9b; box-shadow: none;
}
#fs-group .fs-btns button.on { color: #fff; background: linear-gradient(180deg, #62c0f0, #2f8fdd); }
#fs-group .fs-btns button[data-fs="m"]  { font-size: 15px; }
#fs-group .fs-btns button[data-fs="l"]  { font-size: 17px; }
#fs-group .fs-btns button[data-fs="xl"] { font-size: 19px; }

/* 首页今日金句：长辈读经文，字号设置必须管到这里 */
html body #verse-box .vs-text { font-size: calc(16px * var(--fs)); }
html body #verse-box .vs-ref  { font-size: calc(12.5px * var(--fs)); }
