/* ============ 主题变量（rbowo 风格） ============ */
:root {
  --paper: #F5F1EA;
  --ink: #1A1713;
  --accent: #B0402A;
  --line: rgba(26, 23, 19, .16);
  --muted: rgba(26, 23, 19, .58);
  --bg-elev: #EDE8DD;
  --shadow: rgba(26, 23, 19, .14);
  --serif: 'Noto Serif SC', 'Songti SC', serif;
  --mono: 'IBM Plex Mono', 'Consolas', monospace;
  --pad: clamp(20px, 4vw, 64px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --h1: clamp(36px, 5vw, 64px);
  --row-title: clamp(17px, 2vw, 24px);
}
[data-theme="dark"] {
  --paper: #16130F;
  --ink: #EDE6D8;
  --accent: #D2604A;
  --line: rgba(237, 230, 216, .17);
  --muted: rgba(237, 230, 216, .55);
  --bg-elev: #221E17;
  --shadow: rgba(0, 0, 0, .5);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
/* 第16条：去掉页面默认的最右侧滚动条（保留滚动能力） */
html { scrollbar-width: none; }
html::-webkit-scrollbar { width: 0; display: none; }
html, body { margin: 0; padding: 0; overflow-x: clip; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  line-height: 1.7;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  transition: background-color .4s, color .4s;
}
/* 噪点纹理 */
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: .05;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="120" height="120"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="2"/></filter><rect width="120" height="120" filter="url(%23n)" opacity="0.4"/></svg>');
}
[data-theme="dark"] body::after { opacity: .07; }
::selection { background: var(--accent); color: var(--paper); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, select { font: inherit; color: inherit; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
img { display: block; max-width: 100%; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; }
.muted { color: var(--muted); }
.accent { color: var(--accent); }
.container { max-width: 1280px; margin-inline: auto; padding-inline: var(--pad); width: 100%; }

/* ============ 导航 ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px var(--pad);
  transition: padding .4s, background-color .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: var(--paper); border-color: var(--line); padding-block: 12px; }
.nav-logo { font-weight: 900; font-size: 18px; letter-spacing: .04em; }
.nav-logo .mono { color: var(--muted); margin-left: 10px; font-weight: 400; }
.nav-links { display: flex; gap: clamp(12px, 3vw, 36px); }
.nav-links button {
  position: relative; font-family: var(--mono); font-size: 12px;
  letter-spacing: .14em; padding-block: 4px; transition: color .3s;
}
.nav-links button::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav-links button:hover { color: var(--accent); }
.nav-links button:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-links button.active { color: var(--accent); }
.nav-links button.active::after { transform: scaleX(1); }

/* ============ 主区域 ============ */
main { flex: 1 0 auto; padding-top: 72px; padding-bottom: 160px; }
.view { display: none; animation: viewIn .5s var(--ease) both; }
.view.is-active { display: block; }
@keyframes viewIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.page-title { font-size: var(--h1); font-weight: 900; margin: 8px 0 4px; letter-spacing: .02em; }
.page-sub { color: var(--muted); margin-bottom: 28px; font-size: 14px; }

/* ============ 搜索 ============ */
.search-box {
  display: flex; align-items: center; gap: 14px;
  border: 2px solid var(--line); border-radius: 18px; padding: 10px 18px; margin-bottom: 30px;
  transition: border-color .3s, box-shadow .35s var(--ease), transform .35s var(--ease);
}
.search-box:focus-within {
  border-color: var(--accent);
  box-shadow: 0 14px 38px var(--shadow);
  transform: translateY(-2px);
}
.search-box input {
  flex: 1; background: none; border: none; font-size: clamp(15px, 1.8vw, 19px);
  font-family: var(--serif); color: var(--ink);
  outline: none !important; box-shadow: none !important; /* 去掉聚焦时输入框本身的直角长方形轮廓 */
}
.search-box input::placeholder { color: var(--muted); opacity: .6; }
.search-box button { font-family: var(--mono); font-size: 13px; letter-spacing: .1em; color: var(--accent); white-space: nowrap; }
.search-box select {
  background: none; border: 1px solid var(--line); padding: 4px 8px;
  font-family: var(--mono); font-size: 12px; border-radius: 4px;
}
[data-theme="dark"] .search-box select option { background: var(--bg-elev); }

/* ============ 歌曲行 ============ */
.song-list { display: flex; flex-direction: column; }
.song-row {
  display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center;
  padding: 12px 8px; border-bottom: 1px solid var(--line);
  cursor: pointer; transition: background-color .2s, transform .25s var(--ease), box-shadow .25s var(--ease);
  animation: rowIn .55s var(--ease) backwards;
}
.song-row:hover { background: rgba(176, 64, 42, .05); transform: translateY(-2px); }
@keyframes rowIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.song-row.playing .song-name { color: var(--accent); }
.song-index { font-family: var(--mono); font-size: 12px; color: var(--muted); text-align: center; }
.song-info { min-width: 0; }
.song-name { font-size: var(--row-title); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.song-singer { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.song-meta { display: flex; align-items: center; gap: 10px; }
.song-quality { font-family: var(--mono); font-size: 11px; border: 1px solid var(--line); border-radius: 3px; padding: 1px 6px; color: var(--muted); }

/* 来源徽章（kw/tx/wy） */
.song-source {
  font-family: var(--mono); font-size: 10px; letter-spacing: .08em;
  border-radius: 3px; padding: 2px 7px; line-height: 1.4;
  background: var(--bg-elev); color: var(--muted);
  transition: all .2s;
}
.song-source[data-source="tx"] { color: #2c6e8f; }
.song-source[data-source="wy"] { color: #a33a3a; }
.song-source[data-source="kw"] { color: #8f6a2c; }
[data-theme="dark"] .song-source[data-source="tx"] { color: #7fb6d0; }
[data-theme="dark"] .song-source[data-source="wy"] { color: #d07a7a; }
[data-theme="dark"] .song-source[data-source="kw"] { color: #d0ab6a; }

.song-actions { display: flex; gap: 6px; opacity: 0; transition: opacity .2s; }
.song-row:hover .song-actions { opacity: 1; }
.icon-btn {
  width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 50%; transition: all .25s var(--ease); flex-shrink: 0;
}
.icon-btn:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.icon-btn svg { width: 15px; height: 15px; fill: currentColor; }
.icon-btn svg [stroke] { stroke: currentColor; }
.icon-btn svg text { fill: currentColor; }

/* ============ 侧栏歌单（我的音乐） ============ */
.list-layout { display: grid; grid-template-columns: 240px 1fr; gap: 32px; }
@media (max-width: 720px) { .list-layout { grid-template-columns: 1fr; } }
.aside-lists { display: flex; flex-direction: column; gap: 2px; }
.aside-lists .aside-head { font-family: var(--mono); font-size: 11px; letter-spacing: .15em; color: var(--muted); margin: 18px 0 8px; }
.aside-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 12px; border-radius: 6px; cursor: pointer;
  transition: background .2s, color .2s, transform .25s var(--ease); font-size: 14px;
}
.aside-item:hover { background: rgba(176, 64, 42, .07); transform: translateX(3px); }
.aside-item.active { background: var(--accent); color: var(--paper); }
.aside-item .cnt { font-family: var(--mono); font-size: 11px; opacity: .7; }

/* ============ 播放栏（底部固定） ============ */
.playbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
  background: var(--paper); border-top: 1px solid var(--line);
  padding: 10px var(--pad) 14px;
  transform: translateY(100%); transition: transform .45s var(--ease);
}
.playbar.show { transform: none; }
.playbar-inner {
  max-width: 1280px; margin-inline: auto;
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: center;
}
.play-now { display: flex; align-items: center; gap: 12px; min-width: 0; }
.play-cover {
  width: 44px; height: 44px; border-radius: 6px; background: var(--bg-elev); object-fit: cover; flex-shrink: 0;
  animation: coverIn .45s var(--ease);
}
@keyframes coverIn { from { opacity: 0; transform: scale(.86); } to { opacity: 1; transform: none; } }
.play-info { min-width: 0; cursor: pointer; }
.play-title { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; animation: viewIn .4s var(--ease); }
.play-singer { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.play-ctrl { display: flex; align-items: center; gap: 10px; }
.play-ctrl .icon-btn.main { width: 46px; height: 46px; background: var(--ink); color: var(--paper); border: none; }
.play-ctrl .icon-btn.main:hover { background: var(--accent); color: var(--paper); transform: none; }
.play-ctrl .icon-btn.main:active { transform: scale(.84); transition: transform .12s var(--ease); }
.play-ctrl .icon-btn.main svg { width: 18px; height: 18px; }
.play-right { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.play-time { font-family: var(--mono); font-size: 11px; color: var(--muted); white-space: nowrap; }

/* 加载中：主按钮呼吸 + 顶部细进度条 */
.icon-btn.main.loading { animation: breathe 1.4s ease-in-out infinite; }
@keyframes breathe { 0%,100% { opacity: 1; } 50% { opacity: .45; } }
.playbar .progress-bar.loading-fill::before,
.progress-fill.loading { background: linear-gradient(90deg, transparent, var(--accent), transparent); background-size: 200% 100%; animation: slideLoad 1.2s linear infinite; }
@keyframes slideLoad { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* 进度条 */
.progress-bar { position: relative; height: 14px; display: flex; align-items: center; cursor: pointer; }
.progress-bar::before { content: ''; position: absolute; inset-inline: 0; height: 2px; background: var(--line); border-radius: 2px; }
.progress-fill { position: absolute; left: 0; height: 2px; background: var(--accent); border-radius: 2px; width: 0; }
.progress-thumb {
  position: absolute; width: 10px; height: 10px; background: var(--accent); border-radius: 50%;
  left: 0; transform: translateX(-50%); transition: transform .15s;
}
.progress-bar:hover .progress-thumb { transform: translateX(-50%) scale(1.4); }

/* ============ 歌词页（全屏播放） ============ */
.now-page {
  position: fixed; inset: 0; z-index: 70; background: var(--paper);
  transform: translateY(100%); transition: transform .5s var(--ease);
  display: flex; flex-direction: column; overflow: hidden; overscroll-behavior: contain;
}
.now-page.show { transform: none; }
.now-header { display: flex; justify-content: space-between; align-items: center; padding: 20px var(--pad); flex-shrink: 0; }
.now-body {
  flex: 1; display: grid; grid-template-columns: minmax(0, 380px) 1fr; gap: 40px;
  align-content: start; padding: 8px var(--pad) 24px; max-width: 1280px; margin-inline: auto; width: 100%;
  min-height: 0; overflow-y: auto; overscroll-behavior: contain;
}
@media (max-width: 860px) { .now-body { grid-template-columns: 1fr; overflow-y: auto; } .now-cover-wrap { max-width: 260px; margin-inline: auto; } }
@media (max-height: 760px) { .now-body { grid-template-columns: minmax(0, 260px) 1fr; gap: 24px; } }
.now-cover {
  width: 100%; aspect-ratio: 1; border-radius: 12px; object-fit: cover; background: var(--bg-elev);
  box-shadow: 0 24px 60px var(--shadow); align-self: center;
  animation: coverIn .5s var(--ease);
}
.cover-placeholder {
  width: 100%; aspect-ratio: 1; border-radius: 12px; background: var(--bg-elev);
  display: flex; align-items: center; justify-content: center; color: var(--muted);
  box-shadow: 0 24px 60px var(--shadow); animation: breathe 1.6s ease-in-out infinite;
}
.cover-placeholder svg { width: 28%; height: 28%; }
.now-info { display: flex; flex-direction: column; min-height: 0; }
.now-info .now-title { font-size: clamp(28px, 4vw, 44px); font-weight: 900; margin: 0 0 6px; }
.now-info .now-singer { font-size: 16px; color: var(--muted); margin-bottom: 20px; }
.now-info .play-actions { display: flex; gap: 10px; margin-bottom: 22px; }

/* 点赞按钮状态 */
.icon-btn.loved { border-color: var(--accent); color: var(--accent); }
.icon-btn.loved:hover { color: var(--accent); }
.icon-btn.loved .heart-path { fill: var(--accent); stroke: var(--accent); }
.icon-btn:active { transform: scale(.92); }

/* 歌词：可点击/自动换行/居中高亮（第1条） */
.lyric-box {
  position: relative; /* 让 line.offsetTop 相对本容器，居中计算才正确 */
  flex: 1; overflow-y: auto; max-height: 46vh; min-height: 0;
  overscroll-behavior: contain;
  mask-image: linear-gradient(transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(transparent, #000 10%, #000 90%, transparent);
  /* 滚动条与背景统一（细+半透明+同色系） */
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.lyric-box::-webkit-scrollbar { width: 4px; }
.lyric-box::-webkit-scrollbar-track { background: transparent; }
.lyric-box::-webkit-scrollbar-thumb { background: var(--line); border-radius: 2px; }
.lyric-box::-webkit-scrollbar-thumb:hover { background: var(--muted); }
.lyric-box.loading { display: flex; align-items: center; justify-content: center; min-height: 120px; }
.lyric-box.loading::after { content: ''; width: 22px; height: 22px; border: 2px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.lyric-line {
  padding: 9px 4px; color: var(--muted); transition: color .35s, font-weight .3s, opacity .3s;
  font-size: 17px; line-height: 1.65;
  white-space: normal; word-break: break-word; overflow-wrap: anywhere; /* 超宽自动换行，禁横向滚动 */
  cursor: pointer; border-radius: 6px;
}
.lyric-line:hover { color: var(--ink); background: rgba(176, 64, 42, .05); }
.lyric-line.active { color: var(--ink); font-weight: 700; font-size: 18.5px; padding-inline: 2px; } /* 用字号变化代替 transform，避免撑出横向滚动 */
.lyric-line.pending { opacity: .45; }
.lyric-box.no-click .lyric-line { cursor: default; }
.lyric-box.no-click .lyric-line:hover { background: none; }

/* ============ 设置 ============ */
.setting-group { margin-bottom: 40px; }
.setting-group h3 { font-family: var(--mono); font-size: 12px; letter-spacing: .15em; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.setting-row { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); gap: 20px; }
.setting-row .desc { font-size: 13px; color: var(--muted); }
.seg { display: flex; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.seg button { padding: 6px 14px; font-family: var(--mono); font-size: 12px; transition: all .2s; }
.seg button.active { background: var(--ink); color: var(--paper); }
.switch { width: 44px; height: 24px; border: 1px solid var(--line); border-radius: 12px; position: relative; transition: all .25s; }
.switch::after { content: ''; position: absolute; top: 3px; left: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--muted); transition: all .25s; }
.switch.on { background: var(--accent); border-color: var(--accent); }
.switch.on::after { left: 22px; background: var(--paper); }

/* ============ 悬浮按钮 ============ */
.dock { position: fixed; bottom: 90px; z-index: 56; }
.dock-l { left: 22px; }
.dock button {
  height: 42px; min-width: 42px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 21px; background: var(--paper);
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em; gap: 6px;
  box-shadow: 0 6px 18px var(--shadow); transition: all .25s;
}
.dock button:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* ============ 品牌 logo ============ */
.nav-logo { font-weight: 900; font-size: 20px; letter-spacing: .02em; display: inline-flex; align-items: baseline; gap: 2px; }
.nav-logo span:not(.mono) { color: var(--accent); }
.nav-logo .mono { color: var(--muted); margin-left: 10px; font-weight: 400; font-size: 12px; }

/* ============ 全屏播放页底部控制 ============ */
.now-bottom {
  flex-shrink: 0;
  padding: 12px var(--pad) 26px;
  background: linear-gradient(transparent, var(--paper) 40%);
}
.now-bottom .playbar-inner { max-width: 1280px; }

/* 播放模式按钮激活态 */
.icon-btn.mode-active { color: var(--accent); border-color: var(--accent); }

/* 链接按钮 */
.link-btn { color: var(--accent); font-size: 12px; letter-spacing: .12em; padding: 6px 10px; border-radius: 4px; transition: background .2s; }
.link-btn:hover { background: rgba(176, 64, 42, .08); }

/* 封面加载占位（播放栏小图） */
.play-cover.pending { display: flex !important; align-items: center; justify-content: center; }
.play-cover.pending::after { content: ''; width: 16px; height: 16px; border: 2px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; }

/* ============ 空状态/加载 ============ */
.empty { text-align: center; color: var(--muted); padding: 60px 0; font-size: 14px; }
.loading-spin { display: inline-block; width: 26px; height: 26px; border: 2px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============ toast ============ */
.toast-wrap { position: fixed; top: 76px; left: 50%; transform: translateX(-50%); z-index: 80; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast {
  background: var(--ink); color: var(--paper); padding: 9px 20px; border-radius: 6px;
  font-size: 13px; box-shadow: 0 10px 30px var(--shadow); animation: toastIn .3s var(--ease);
}
@keyframes toastIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }

/* ============ 藏单选歌弹层 ============ */
.modal-mask { position: fixed; inset: 0; background: rgba(22, 19, 15, .4); z-index: 75; display: flex; align-items: center; justify-content: center; animation: toastIn .25s; }
.modal { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 22px; min-width: 300px; max-width: 90vw; max-height: 70vh; overflow-y: auto; box-shadow: 0 30px 80px rgba(0,0,0,.3); animation: modalIn .32s var(--ease); }
@keyframes modalIn { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
.modal h4 { margin: 0 0 12px; font-size: 17px; }
.modal .list-pick { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 6px; cursor: pointer; }
.modal .list-pick:hover { background: rgba(176, 64, 42, .07); }
.modal .list-pick .cnt { font-family: var(--mono); font-size: 11px; color: var(--muted); }

/* ============ 自定义音源下拉（第19条） ============ */
.custom-select { position: relative; flex-shrink: 0; }
.cs-btn {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .06em;
  transition: border-color .25s, transform .25s var(--ease);
}
.cs-btn:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
.cs-btn svg { width: 12px; height: 12px; fill: currentColor; transition: transform .25s var(--ease); }
.cs-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.cs-menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 128px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 18px 48px var(--shadow); z-index: 65; overflow: hidden;
  animation: menuIn .28s var(--ease);
}
.cs-menu[hidden] { display: none; }
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px) scale(.97); } to { opacity: 1; transform: none; } }
.cs-option { padding: 10px 16px; cursor: pointer; font-size: 14px; transition: background .2s, color .2s; }
.cs-option:hover { background: rgba(176, 64, 42, .07); }
.cs-option.active { color: var(--accent); font-weight: 700; }

/* ============ 搜索排序条 / 热歌榜头 ============ */
.sort-bar { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; animation: viewIn .4s var(--ease); }
.sort-bar .mono { letter-spacing: .12em; }
.seg-btn {
  font-family: var(--mono); font-size: 12px; letter-spacing: .04em;
  padding: 5px 14px; border: 1px solid var(--line); border-radius: 16px;
  transition: all .25s var(--ease);
}
.seg-btn:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
.seg-btn.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.hot-head { margin-bottom: 4px; padding-bottom: 10px; border-bottom: 1px solid var(--line); animation: viewIn .4s var(--ease); }
.hot-head .mono { color: var(--accent); letter-spacing: .16em; }

/* ============ 新建歌单弹窗（第10条） ============ */
.create-modal { min-width: 320px; }
.modal-input {
  width: 100%; background: var(--bg-elev); border: 1px solid var(--line);
  border-radius: 8px; padding: 10px 14px; font-size: 15px; margin-bottom: 18px;
  transition: border-color .25s;
}
.modal-input:focus { border-color: var(--accent); }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; }
.modal-btn { padding: 8px 20px; border-radius: 8px; font-size: 13px; border: 1px solid var(--line); transition: all .2s var(--ease); }
.modal-btn.cancel:hover { border-color: var(--muted); transform: translateY(-1px); }
.modal-btn.ok { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.modal-btn.ok:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-1px); }

/* ============ 小屏控制条防挤 ============ */
@media (max-width: 900px) {
  .playbar-inner { grid-template-columns: 1fr auto; gap: 10px; }
  .play-right { grid-column: 1 / -1; justify-content: center; }
  .play-time { margin-right: auto; }
}
