/* 深色整页音乐播放器（仿 25pan/Spotify） */
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
/* 去掉移动端点击出现的蓝色/灰色高亮框；保留键盘可见焦点 */
:focus { outline: none; }
:focus:not(:focus-visible) { outline: none; }
:root {
  --bg: #0b0b0f; --bg2: #121218; --panel: #16161d; --side: #0d0d12;
  --text: #ececf1; --muted: #9aa0a8; --line: rgba(255,255,255,.08);
  --accent: #22c55e; --accent2: #3b82f6; --qq: #31c27c; --ncm: #f43f5e;
}
html, body { height: 100%; }
body {
  background: var(--bg); color: var(--text); overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Roboto, sans-serif;
}
a { color: inherit; text-decoration: none; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,.12); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,.22); }

.layout { display: grid; grid-template-columns: 232px 1fr; height: 100vh; overflow: hidden; }

/* ===== 侧边栏 ===== */
.sidebar { background: var(--side); border-right: 1px solid var(--line); display: flex;
  flex-direction: column; padding: 18px 12px; overflow-y: auto; min-height: 0; }
.brand { display: flex; align-items: center; gap: 10px; padding: 6px 10px 18px; font-weight: 800; font-size: 18px; }
.brand .dot { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, var(--accent), var(--accent2)); }
.brand .brand-logo { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; flex: 0 0 auto;
  box-shadow: 0 2px 8px rgba(0,0,0,.4); }
.nav { display: flex; flex-direction: column; gap: 2px; }
.nav .item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px;
  color: var(--muted); cursor: pointer; font-size: 14px; transition: background .15s, color .15s; }
.nav .item:hover { background: rgba(255,255,255,.06); color: var(--text); }
.nav .item.active { background: rgba(255,255,255,.10); color: #fff; }
.nav .item svg { width: 20px; height: 20px; flex: 0 0 auto; }
.side-title { font-size: 12px; color: var(--muted); padding: 18px 12px 8px; display: flex;
  justify-content: space-between; align-items: center; }
.side-title button { background: none; border: none; color: var(--muted); font-size: 18px; cursor: pointer; line-height: 1; }
.side-title button:hover { color: #fff; }
.myplaylists { display: flex; flex-direction: column; gap: 1px; }
.myplaylists .pl { padding: 8px 12px; border-radius: 8px; color: var(--muted); cursor: pointer;
  font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.myplaylists .pl:hover { background: rgba(255,255,255,.06); color: var(--text); }
.sidebar .spacer { flex: 1; }
.back-link { margin-top: 10px; align-self: flex-start; display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 10px; color: var(--muted); cursor: pointer;
  border: 1px solid var(--line); background: rgba(255,255,255,.03); }
.back-link svg { width: 18px; height: 18px; }
.back-link:hover { color: #fff; background: rgba(255,255,255,.08); }

/* ===== 主区 ===== */
.main { display: flex; flex-direction: column; min-width: 0; min-height: 0; background:
  radial-gradient(1200px 400px at 70% -10%, rgba(59,130,246,.12), transparent), var(--bg); }
.topbar { display: flex; align-items: center; gap: 14px; padding: calc(16px + env(safe-area-inset-top)) 26px 16px; flex: 0 0 auto; }
.search { flex: 1; max-width: 520px; display: flex; align-items: center; gap: 8px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 8px 16px; }
.search input { flex: 1; background: none; border: none; outline: none; color: var(--text); font-size: 14px; }
.search svg { width: 18px; height: 18px; color: var(--muted); }
.src-toggle { display: inline-flex; background: var(--panel); border: 1px solid var(--line);
  border-radius: 18px; overflow: hidden; }
.src-toggle button { background: none; border: none; color: var(--muted); padding: 7px 14px;
  cursor: pointer; font-size: 13px; }
.src-toggle button.active { background: rgba(255,255,255,.12); color: #fff; }

.view { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 6px 26px 140px; }
.section-title { font-size: 20px; font-weight: 700; margin: 18px 0 14px; }
.row-head { display: flex; align-items: center; justify-content: space-between; margin: 22px 0 12px; }
.row-head h2 { font-size: 19px; font-weight: 700; }
.refresh-btn { display: inline-flex; align-items: center; gap: 6px; background: var(--panel); border: 1px solid var(--line);
  color: var(--muted); border-radius: 16px; padding: 6px 14px; font-size: 13px; cursor: pointer; transition: color .15s, border-color .15s; }
.refresh-btn:hover { color: #fff; border-color: var(--accent); }
.refresh-btn svg { width: 15px; height: 15px; }
.refresh-btn.spinning svg { animation: rb-spin .8s linear infinite; }
@keyframes rb-spin { to { transform: rotate(360deg); } }

/* 卡片网格 */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 18px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px;
  min-width: 0; cursor: pointer; transition: background .18s, transform .18s; }
.card:hover { background: #1d1d26; transform: translateY(-3px); }
/* 用 padding-top 撑出 1:1 正方形：不依赖 aspect-ratio（部分手机内置浏览器/WebView 不支持，
   会导致封面按图片原始尺寸撑大）。图片绝对定位铺满并裁切。 */
.card .cover { position: relative; width: 100%; height: 0; padding-top: 100%; border-radius: 10px; overflow: hidden;
  background: #222; margin-bottom: 10px; }
.card .cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.card .play-fab { position: absolute; right: 10px; bottom: 10px; width: 42px; height: 42px; border-radius: 50%;
  background: var(--accent); color: #04210f; display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(8px); transition: .18s; box-shadow: 0 8px 20px rgba(0,0,0,.4); }
.card:hover .play-fab { opacity: 1; transform: translateY(0); }
.card .play-fab svg { width: 22px; height: 22px; }
.card .name { font-size: 14px; font-weight: 600; line-height: 1.35; max-height: 2.7em; overflow: hidden; }
.card .sub { font-size: 12px; color: var(--muted); margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.badge { display: inline-block; font-size: 10px; padding: 1px 6px; border-radius: 6px; vertical-align: middle; margin-right: 6px; }
.badge.qq { background: rgba(49,194,124,.18); color: var(--qq); }
.badge.ncm { background: rgba(230,75,83,.18); color: var(--ncm); }

/* 详情头 */
.detail-head { display: flex; gap: 24px; align-items: flex-end; margin: 8px 0 24px; }
.detail-head .cover { width: 200px; height: 200px; border-radius: 14px; object-fit: cover;
  box-shadow: 0 18px 50px rgba(0,0,0,.5); flex: 0 0 auto; background: #222; }
.detail-head .meta { min-width: 0; }
.detail-head .meta .kind { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.detail-head .meta h1 { font-size: 30px; margin: 8px 0; }
.detail-head .meta .desc { font-size: 13px; color: var(--muted); max-height: 4.5em; overflow: hidden; line-height: 1.5; }
.detail-head .meta .actions { margin-top: 16px; display: flex; gap: 12px; }
.btn-play { background: var(--accent); color: #04210f; border: none; border-radius: 22px;
  padding: 10px 24px; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.btn-play:hover { filter: brightness(1.08); }
.btn-play svg, .btn-ghost svg { width: 18px; height: 18px; flex: 0 0 auto; }
.btn-ghost { background: rgba(255,255,255,.1); color: #fff; border: none; border-radius: 22px;
  padding: 10px 18px; cursor: pointer; }
.btn-ghost:hover { background: rgba(255,255,255,.2); }

/* 歌曲列表 */
.songlist { display: flex; flex-direction: column; }
.song-row { display: grid; grid-template-columns: 36px 40px 1fr auto; align-items: center; gap: 12px;
  padding: 8px 10px; border-radius: 8px; cursor: pointer; }
.song-row:hover { background: rgba(255,255,255,.06); }
.song-row.playing { color: var(--accent); }
.song-row .idx { color: var(--muted); font-size: 13px; text-align: center; }
.song-row .rc { width: 40px; height: 40px; border-radius: 6px; object-fit: cover; background: #222; }
.song-row .ti { min-width: 0; }
.song-row .ti .nm { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.song-row .ti .ar { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.song-row .act { display: flex; align-items: center; gap: 14px; opacity: 0; transition: opacity .15s; }
.song-row:hover .act { opacity: 1; }
.song-row .act .dur { color: var(--muted); font-size: 12px; opacity: 1; }
.song-row .iconbtn { background: none; border: none; color: var(--muted); cursor: pointer; display: flex; }
.song-row .iconbtn:hover { color: #fff; }
.song-row .iconbtn.liked { color: var(--ncm); }
.song-row .iconbtn svg { width: 18px; height: 18px; }
.song-row .act .dur { min-width: 40px; text-align: right; }

.loading, .empty-tip { color: var(--muted); padding: 40px; text-align: center; font-size: 14px; }

/* ===== 首页轮播（平铺叠层 + 推荐人面板，仿 25pan：中心卡突出、两侧小而后退） ===== */
.carousel { position: relative; height: 208px; margin: 10px 0 28px; overflow: hidden; }
.cstage { position: relative; height: 180px; }
.cslide { position: absolute; top: 0; left: 50%; width: min(620px, 60%); height: 180px; margin-left: calc(min(620px, 60%) / -2);
  border-radius: 14px; overflow: hidden; cursor: pointer; display: flex; background: #16161d; will-change: transform;
  box-shadow: 0 18px 44px rgba(0,0,0,.5); transition: transform .5s cubic-bezier(.22,.61,.36,1), opacity .5s ease; }
.cslide.active { box-shadow: 0 24px 60px rgba(0,0,0,.6); }
.cslide:not(.active)::after { content: ""; position: absolute; inset: 0; z-index: 6; background: rgba(8,8,12,.5); }
/* 整卡专辑取色底（模糊封面）→ 右侧推荐人面板随专辑变色，仿 25pan */
.cs-bg { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center;
  filter: blur(26px) brightness(.5) saturate(1.3); transform: scale(1.25); }
/* 左：封面 + 标题 + 播放 */
.cs-main { position: relative; z-index: 1; flex: 1 1 62%; min-width: 0; background-size: cover; background-position: center; }
.cs-mask { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.08) 35%, rgba(0,0,0,.85)); }
.cs-like { position: absolute; top: 12px; left: 12px; width: 30px; height: 30px; border-radius: 50%; z-index: 2;
  background: rgba(0,0,0,.4); border: none; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.cs-like svg { width: 15px; height: 15px; }
.cs-count { position: absolute; top: 14px; right: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 3px;
  font-size: 12px; color: #fff; background: rgba(0,0,0,.42); padding: 3px 9px; border-radius: 11px; }
.cs-count svg { width: 11px; height: 11px; }
.cs-info { position: absolute; left: 18px; right: 64px; bottom: 16px; z-index: 2; }
.cs-title { font-size: 18px; font-weight: 800; color: #fff; margin-bottom: 6px; text-shadow: 0 2px 10px rgba(0,0,0,.6);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cs-desc { font-size: 12px; color: rgba(255,255,255,.72); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cs-play { position: absolute; right: 16px; bottom: 14px; width: 42px; height: 42px; border-radius: 50%; z-index: 3;
  background: var(--accent); color: #04210f; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.45); transition: transform .15s; }
.cs-play:hover { transform: scale(1.08); }
.cs-play svg { width: 20px; height: 20px; }
/* 右：推荐人面板（半透明，露出模糊专辑底 → 随专辑变色） */
.cs-side { position: relative; z-index: 1; flex: 0 0 38%; background: rgba(14,14,20,.46); backdrop-filter: blur(2px);
  padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.cs-side-h { font-size: 12px; color: var(--muted); text-align: right; }
.cs-rec { display: flex; align-items: center; gap: 8px; }
.cs-av { width: 28px; height: 28px; border-radius: 7px; flex: 0 0 auto; object-fit: cover; background: #fff; display: block; }
.cs-rec-n { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cs-side-desc { font-size: 12px; color: var(--muted); line-height: 1.5; overflow: hidden;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
/* 左右箭头 */
.carr { position: absolute; top: 50%; transform: translateY(-50%); z-index: 12; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.1); border: none; color: #fff; font-size: 20px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background .2s; }
.carr:hover { background: rgba(255,255,255,.22); }
.cprev { left: 6px; } .cnext { right: 6px; }
/* 左右点击区（替代箭头）：覆盖两侧空白，z-index 低于卡片(8~10) → 点空白切换、点卡片照常 */
.czone { position: absolute; top: 0; bottom: 26px; width: 42%; z-index: 1; cursor: pointer; }
.czone-l { left: 0; } .czone-r { right: 0; }
.cdots { position: absolute; left: 0; right: 0; bottom: 0; z-index: 13; display: flex; gap: 8px; justify-content: center; }
.cdot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.3); cursor: pointer; transition: .2s; }
.cdot.active { background: var(--accent); width: 22px; border-radius: 4px; }

/* ===== 歌单分类条（仿 25pan：精选/抖音/... + 最新/最热） ===== */
.cat-bar { margin: 4px 0 18px; }
.cat-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.cat-chips .chip { background: var(--panel); border: 1px solid var(--line); color: var(--muted); border-radius: 16px;
  padding: 6px 16px; font-size: 13px; cursor: pointer; transition: .15s; }
.cat-chips .chip:hover { color: #fff; }
.cat-chips .chip.active { background: var(--accent); border-color: var(--accent); color: #04210f; font-weight: 600; }
.cat-sort { display: flex; gap: 16px; }
.cat-sort .sort { background: none; border: none; color: var(--muted); font-size: 14px; cursor: pointer; padding: 2px 0; position: relative; }
.cat-sort .sort.active { color: #fff; font-weight: 700; }
.cat-sort .sort.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--accent); border-radius: 2px; }

/* 卡片封面播放量角标 */
.cover-count { position: absolute; top: 8px; right: 8px; z-index: 2; display: inline-flex; align-items: center; gap: 2px;
  font-size: 11px; color: #fff; background: rgba(0,0,0,.45); padding: 2px 7px; border-radius: 9px; }
.cover-count svg { width: 10px; height: 10px; }

/* ===== 列表头（仿 25pan：标题 + 播放全部 共N首，无大封面） ===== */
.list-head { margin: 6px 0 18px; }
.btn-back { display: inline-flex; align-items: center; gap: 4px; background: rgba(255,255,255,.08); color: var(--text);
  border: none; border-radius: 20px; padding: 7px 14px 7px 10px; font-size: 13px; cursor: pointer; margin-bottom: 14px; }
.btn-back:hover { background: rgba(255,255,255,.16); }
.btn-back svg { width: 16px; height: 16px; }
.list-head .lh-top { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.list-head .lh-top h1 { font-size: 26px; font-weight: 800; }
.list-head .lh-kind { font-size: 12px; color: var(--muted); }
.list-head .lh-desc { font-size: 13px; color: var(--muted); margin-top: 8px; line-height: 1.5;
  max-height: 3em; overflow: hidden; }
.list-head .lh-bar { display: flex; align-items: center; gap: 16px; margin-top: 16px; }
.list-head .lh-count { font-size: 13px; color: var(--muted); }

/* 排行榜分组标题 */
.group-title { font-size: 17px; font-weight: 700; margin: 26px 0 14px; padding-left: 10px;
  border-left: 3px solid var(--accent); }
.group-title:first-child { margin-top: 6px; }

/* 背景设置预览 */
.bg-preview { position: relative; height: 120px; margin-top: 16px; border-radius: 12px; overflow: hidden;
  background: radial-gradient(130% 100% at 28% 12%, #3a2330, #1a1118 60%, #08080c 100%); }
.bg-preview span { position: absolute; border-radius: 50%; filter: blur(26px); opacity: 0; }
.bg-preview.fluid span { opacity: .8; }
.bg-preview span:nth-child(1) { width: 120px; height: 120px; left: -10px; top: -20px; background: #c2607a; animation: bpA 6s ease-in-out infinite; }
.bg-preview span:nth-child(2) { width: 100px; height: 100px; right: 10px; top: 20px; background: #6a3550; animation: bpB 7s ease-in-out infinite; }
.bg-preview span:nth-child(3) { width: 90px; height: 90px; left: 40%; bottom: -20px; background: #8a4a64; animation: bpA 8s ease-in-out infinite; }
@keyframes bpA { 0%,100%{transform:translate(0,0)} 50%{transform:translate(20px,14px)} }
@keyframes bpB { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-18px,10px)} }

/* ===== 账户区 / 顶栏按钮 ===== */
.icon-btn { background: var(--panel); border: 1px solid var(--line); color: var(--muted); width: 40px; height: 40px;
  border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.icon-btn:hover { color: #fff; background: #1d1d26; }
.icon-btn svg { width: 20px; height: 20px; }
.account { padding: 10px 12px; border-top: 1px solid var(--line); }
.account .login-btn { width: 100%; background: var(--accent); color: #04210f; border: none; border-radius: 20px;
  padding: 9px; font-weight: 700; cursor: pointer; }
.account .user { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.account .user .av { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg,var(--accent),var(--accent2));
  display: flex; align-items: center; justify-content: center; font-weight: 700; color: #fff; flex: 0 0 auto; }
.account .user .em { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account .user .lo { background: none; border: none; color: var(--muted); cursor: pointer; font-size: 12px; }
.account .user .lo:hover { color: #fff; }

/* ===== 弹窗（登录/设置 通用） ===== */
.ov-mask { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 10000; display: none;
  align-items: center; justify-content: center; backdrop-filter: blur(4px); }
.ov-mask.open { display: flex; }
.ov-card { background: #16161d; border: 1px solid var(--line); border-radius: 16px; width: 420px; max-width: 92vw;
  max-height: 88vh; overflow-y: auto; padding: 24px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.ov-card h2 { font-size: 18px; display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.ov-card .close-x { margin-left: auto; cursor: pointer; color: var(--muted); background: none; border: none; font-size: 20px; }
.ov-card .close-x:hover { color: #fff; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.field input { width: 100%; background: #0f0f15; border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 12px; color: var(--text); outline: none; font-size: 14px; }
.field input:focus { border-color: var(--accent2); }
.field .with-btn { display: flex; gap: 8px; }
.field .with-btn input { flex: 1; }
.field .code-btn { white-space: nowrap; background: var(--panel); border: 1px solid var(--line); color: #fff;
  border-radius: 10px; padding: 0 12px; cursor: pointer; font-size: 13px; }
.field .code-btn:disabled { opacity: .5; cursor: default; }
.ov-card .primary { width: 100%; background: var(--accent); color: #04210f; border: none; border-radius: 22px;
  padding: 11px; font-weight: 700; cursor: pointer; margin-top: 6px; font-size: 15px; }
.ov-card .switch-mode { text-align: center; margin-top: 14px; font-size: 13px; color: var(--muted); }
.ov-card .switch-mode a { color: var(--accent2); cursor: pointer; }
.ov-msg { font-size: 13px; min-height: 18px; margin-top: 4px; }
.ov-msg.err { color: #f87171; } .ov-msg.ok { color: var(--accent); }

/* ===== 设置面板 ===== */
.set-card { width: 720px; }
.set-tabs { display: flex; gap: 8px; background: #0f0f15; border: 1px solid var(--line); border-radius: 12px; padding: 6px; margin-bottom: 18px; }
.set-tabs button { flex: 1; background: none; border: none; color: var(--muted); padding: 9px; border-radius: 8px;
  cursor: pointer; font-size: 14px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.set-tabs button.active { background: var(--accent2); color: #fff; }
.set-panel { background: #0f0f15; border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.set-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); }
.set-row:last-child { border-bottom: none; }
.set-block { padding: 14px 0; border-bottom: 1px solid var(--line); }
.set-block:last-child { border-bottom: none; }
.set-block > .lbl { font-size: 14px; margin-bottom: 12px; }
.set-label { font-size: 14px; }
/* 开关 */
.sw { width: 46px; height: 26px; border-radius: 13px; background: #3a3a44; position: relative; cursor: pointer; transition: background .2s; flex: 0 0 auto; }
.sw.on { background: var(--accent); }
.sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: left .2s; }
.sw.on::after { left: 23px; }
/* 滑块 */
.range-row { display: flex; align-items: center; gap: 14px; }
.range-row input[type=range] { flex: 1; accent-color: var(--accent2); }
.px-box { width: 72px; background: #16161d; border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; color: #fff; text-align: center; }
.presets { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.presets button { background: #16161d; border: 1px solid var(--line); color: var(--muted); border-radius: 8px; padding: 6px 14px; cursor: pointer; font-size: 13px; }
.presets button.active { background: var(--accent2); color: #fff; border-color: var(--accent2); }
/* 颜色 */
.color-row { display: flex; align-items: center; gap: 12px; }
.color-row input[type=color] { width: 44px; height: 32px; border: none; background: none; cursor: pointer; }
.swatches { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.swatch { width: 30px; height: 30px; border-radius: 50%; cursor: pointer; border: 2px solid transparent; }
.swatch.active { border-color: #fff; }
.preview-btn { width: 100%; background: #16161d; border: 1px solid var(--line); color: #fff; border-radius: 10px; padding: 14px; cursor: pointer; margin-top: 16px; font-weight: 600; }
.preview-btn:hover { background: #1d1d26; }
.opt-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.opt { background: #16161d; border: 1px solid var(--line); border-radius: 10px; padding: 16px; cursor: pointer; text-align: center; }
.opt.active { border-color: var(--accent); color: #fff; }
.opt .t { font-size: 14px; }
.opt .d { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* ===== 底部播放条（仿 Mio Music：进度条置顶 + 三栏布局） ===== */
/* 悬浮、居中于主内容区（避开左侧栏）、不占满全屏 */
.playbar { position: fixed; left: calc((100% + 232px) / 2); transform: translateX(-50%); bottom: 14px;
  width: min(1080px, calc(100vw - 232px - 44px));
  background: rgba(13,13,18,.96); backdrop-filter: blur(16px); border: 1px solid var(--line); border-radius: 16px;
  display: flex; flex-direction: column; z-index: 100; box-shadow: 0 14px 44px rgba(0,0,0,.5); }
/* 默认公式已按 232px 侧栏偏移居中于主区，一直保持到 820px 移动端贴底；
   不要在侧栏仍可见(>820)时改成 viewport 居中，否则播放条会压到侧栏上。 */
/* 律动波形（封面取色，在进度条上方；左右两端渐隐） */
.pb-viz { display: block; width: 100%; height: 42px; pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); }
/* 进度条（仿 QQ：在中间传输控制下方，两侧是时间，不占满整条） */
.pb-progress { position: relative; flex: 1 1 auto; min-width: 60px; height: 16px; cursor: pointer; z-index: 2; }
.pb-progress::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%);
  height: 4px; background: rgba(255,255,255,.16); border-radius: 999px; transition: height .15s; }
.pb-fill { position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 0%; height: 4px;
  background: var(--accent); border-radius: 999px; transition: height .15s; }
.pb-progress:hover::before, .pb-progress:hover .pb-fill { height: 6px; }
/* 悬停歌词气泡（进度条上方，随光标 X，不显示圆点游标） */
/* 悬停歌词：透明无底，只显示文字（描边阴影保证可读） */
.pb-tip { position: absolute; bottom: calc(100% + 6px); left: 0; transform: translateX(-50%); max-width: 420px;
  padding: 0 4px; background: none; border: none; box-shadow: none;
  color: #fff; font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  text-shadow: 0 1px 4px rgba(0,0,0,.9), 0 0 2px rgba(0,0,0,.85);
  pointer-events: none; opacity: 0; transition: opacity .12s; z-index: 5; }
.pb-tip.show { opacity: 1; }

/* 三栏内容 */
.pb-content { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 22px 12px; min-height: 0; }

/* 左：封面 + 信息 + 操作 */
.pb-left { display: flex; align-items: center; flex: 1; min-width: 0; }
.pb-cover-wrap { position: relative; width: 50px; height: 50px; flex: 0 0 auto; border-radius: 6px; overflow: hidden;
  margin-right: 12px; box-shadow: 0 4px 14px rgba(0,0,0,.4); }
.pb-cover { width: 50px; height: 50px; object-fit: cover; background: #222; cursor: pointer; display: block; }
.pb-cover-expand { position: absolute; inset: 0; border: none; cursor: pointer; background: rgba(0,0,0,.5); color: #fff;
  display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .18s; }
.pb-cover-wrap:hover .pb-cover-expand { opacity: 1; }
.pb-cover-expand svg { width: 20px; height: 20px; }
/* 固定信息区宽度 → 操作键不随歌词长短左右抖动 */
.pb-info { flex: 1 1 auto; min-width: 0; }
.pb-info .nm { font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; margin-bottom: 3px; }
.pb-info .ar { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pb-info .pb-lyric-line { font-size: 12px; line-height: 1.3; color: var(--accent); white-space: nowrap; overflow: hidden; display: none; }
.pb-info.has-lyric .pb-lyric-line { display: block; }
.pb-info.has-lyric .ar { display: none; }
/* 歌词过长不省略：内层包一层，溢出时横向来回滚动完整显示 */
.pb-lyric-line .pbl-in { display: inline-block; white-space: nowrap; will-change: transform; }
.pb-lyric-line.marquee .pbl-in { animation: pbl-marq var(--pbl-dur, 8s) ease-in-out infinite alternate; }
@keyframes pbl-marq { from { transform: translateX(0); } to { transform: translateX(var(--pbl-dist, 0)); } }
.pb-lyric-line.wbw .kw { background: linear-gradient(90deg, var(--accent) var(--p, 0%), rgba(255,255,255,.4) var(--p, 0%));
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.pb-left-actions { display: flex; align-items: center; gap: 4px; margin-left: 12px; flex: 0 0 auto; }
/* ===== 统一控件设计：圆形图标键 + 文字胶囊两类，全栏一致 ===== */
/* 通用图标键（左操作区 / 扩展区 / 词 共用：34px 圆，muted→白，active 强调色） */
.pb-act, .pb-extra .pb-ctrl, .pb-word { width: 34px; height: 34px; flex: 0 0 auto; padding: 0;
  background: none; border: none; cursor: pointer; color: var(--muted); display: inline-flex;
  align-items: center; justify-content: center; border-radius: 50%; transition: color .15s, background .15s, transform .12s; }
.pb-act:hover, .pb-extra .pb-ctrl:hover, .pb-word:hover { color: #fff; background: rgba(255,255,255,.09); }
.pb-act:active, .pb-extra .pb-ctrl:active, .pb-word:active { transform: scale(.9); }
.pb-act svg, .pb-extra .pb-ctrl svg, .pb-mode svg { width: 18px; height: 18px; }
.pb-act.liked { color: var(--ncm); }
.pb-extra .pb-ctrl.active, .pb-word.active { color: var(--accent); }
.pb-word { font-size: 14px; font-weight: 700; line-height: 1; }

/* 中：传输控制（上） + 进度条行（下，时间在两侧） */
.pb-center { display: flex; flex-direction: column; align-items: center; gap: 7px; flex: 1 1 0; min-width: 0; }
.pb-transport { display: flex; align-items: center; justify-content: center; gap: 12px; }
.pb-seek { display: flex; align-items: center; gap: 10px; width: 100%; }
.pb-seek .pb-t { font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; flex: 0 0 auto; min-width: 38px; }
.pb-seek .pb-t:first-child { text-align: right; }
.pb-seek .pb-t:last-child { text-align: left; }
/* 传输键（上一首/下一首）：圆形图标键，图标偏大、颜色近白 */
.pb-transport .pb-ctrl { width: 38px; height: 38px; padding: 0; background: none; border: none; cursor: pointer;
  color: var(--text); display: inline-flex; align-items: center; justify-content: center; border-radius: 50%;
  transition: color .15s, background .15s, transform .12s; }
.pb-transport .pb-ctrl:hover { color: #fff; background: rgba(255,255,255,.09); }
.pb-transport .pb-ctrl:active { transform: scale(.9); }
.pb-transport .pb-ctrl svg { width: 23px; height: 23px; }
/* 播放/暂停：强调色圆钮（放在 .pb-transport .pb-ctrl 之后，同特异性靠源序覆盖尺寸） */
.pb-transport .pb-play { width: 66px; height: 42px; border-radius: 999px; background: var(--accent); color: #04210f;
  box-shadow: 0 6px 18px rgba(34,197,94,.42); }
.pb-transport .pb-play:hover { background: var(--accent); color: #04210f; filter: brightness(1.06); transform: scale(1.05); }
.pb-transport .pb-play svg { width: 20px; height: 20px; }

/* 右：扩展控制 */
.pb-right { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex: 1; min-width: 0; }
.pb-extra { display: flex; align-items: center; gap: 4px; flex: 0 0 auto; }
/* 文字胶囊：倍速 + 音质 统一成一对 chip */
.pb-speed { position: relative; flex: 0 0 auto; }
.pb-speed-btn, .pb-q-btn { display: inline-flex; align-items: center; justify-content: center; height: 30px; padding: 0 12px;
  background: rgba(255,255,255,.05); border: 1px solid transparent; border-radius: 999px; color: var(--muted);
  font-size: 12.5px; font-weight: 600; line-height: 1; white-space: nowrap; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.pb-speed-btn:hover, .pb-q-btn:hover { background: rgba(255,255,255,.1); color: #fff; }
.pb-speed.open .pb-speed-btn, .pb-q.open .pb-q-btn { background: rgba(255,255,255,.1); color: #fff; border-color: var(--line); }
.pb-q-btn svg { display: none; }   /* 旧下拉箭头 svg 不显示，保持纯文字胶囊 */
.pb-speed-menu { position: absolute; bottom: calc(100% + 12px); left: 50%; transform: translateX(-50%); width: 92px;
  background: #16161d; border: 1px solid var(--line); border-radius: 12px; padding: 5px; box-shadow: 0 16px 44px rgba(0,0,0,.55); display: none; z-index: 130; }
.pb-speed.open .pb-speed-menu { display: block; }
.pb-speed-menu div { padding: 7px 10px; border-radius: 8px; cursor: pointer; font-size: 13px; text-align: center; color: var(--muted); }
.pb-speed-menu div:hover { background: rgba(255,255,255,.07); color: #fff; }
.pb-speed-menu div.active { color: var(--accent); }
.pb-vol { position: relative; display: flex; align-items: center; }
.pb-vol-pop { position: absolute; bottom: calc(100% + 14px); left: 50%; transform: translateX(-50%);
  display: none; flex-direction: column; align-items: center; gap: 8px; width: 48px; padding: 14px 0 6px;
  background: #16161d; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 14px 40px rgba(0,0,0,.5); z-index: 130; }
.pb-vol.open .pb-vol-pop { display: flex; }
.pb-vol.open > .pb-ctrl { color: #fff; background: rgba(255,255,255,.1); }
.pb-vol-track { position: relative; width: 4px; height: 110px; border-radius: 999px;
  background: rgba(255,255,255,.16); cursor: pointer; }
.pb-vol-fill { position: absolute; left: 0; bottom: 0; width: 100%; border-radius: inherit; background: #e8e8ee; }
.pb-vol-thumb { position: absolute; left: 50%; transform: translate(-50%, 50%); bottom: 100%;
  width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 1px 5px rgba(0,0,0,.55); pointer-events: none; }
.pb-vol-num { font-size: 11px; color: var(--muted); user-select: none; }
.pb-vol-mute { display: flex; align-items: center; justify-content: center; width: 100%;
  padding: 7px 0 5px; margin-top: 1px; border: none; border-top: 1px solid var(--line);
  background: none; color: rgba(255,255,255,.65); cursor: pointer; }
.pb-vol-mute:hover { color: #fff; }
.pb-vol-mute.muted { color: #f43f5e; }
.pb-vol-mute svg { width: 16px; height: 16px; }
/* 音质自定义下拉 */
.pb-q { position: relative; }
.pb-q-menu { position: absolute; bottom: calc(100% + 12px); right: 0; width: 188px; background: #16161d;
  border: 1px solid var(--line); border-radius: 12px; padding: 6px; box-shadow: 0 14px 40px rgba(0,0,0,.5);
  display: none; z-index: 130; }
.pb-q.open .pb-q-menu { display: block; }
.pb-q-item { display: flex; flex-direction: column; gap: 2px; padding: 9px 12px; border-radius: 8px; cursor: pointer; }
.pb-q-item:hover { background: rgba(255,255,255,.07); }
.pb-q-item.active { background: rgba(34,197,94,.14); }
.pb-q-item b { font-size: 13px; font-weight: 600; }
.pb-q-item.active b { color: var(--accent); }
.pb-q-item span { font-size: 11px; color: var(--muted); }
/* 窗口变窄时，右栏次要控件分级隐藏，避免压到中间。（进度条/时间在中栏，会自动收缩，不隐藏） */

@media (max-width: 1080px) { .pb-q { display: none; } }
@media (max-width: 1000px) { .pb-left-actions, .pb-vol { display: none; } }
@media (max-width: 920px)  { .pb-speed, .pb-info .pb-lyric-line { display: none; } }

/* 播放队列面板 */
.queue-panel { position: fixed; right: 16px; bottom: 135px; width: 360px; max-width: 92vw;
  max-height: 56vh; background: rgba(20,20,26,.97); backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: 14px; z-index: 120; display: none;
  flex-direction: column; box-shadow: 0 18px 60px rgba(0,0,0,.55); overflow: hidden; }
.queue-panel.open { display: flex; }
.qp-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); font-weight: 700; }
.qp-head .qp-count { font-size: 12px; color: var(--muted); font-weight: 400; }
.qp-list { overflow-y: auto; padding: 6px; }
.qp-row { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 8px; cursor: pointer; }
.qp-row:hover { background: rgba(255,255,255,.06); }
.qp-row.playing { color: var(--accent); }
.qp-row .qi { width: 22px; text-align: center; font-size: 12px; color: var(--muted); flex: 0 0 auto; }
.qp-row.playing .qi { color: var(--accent); }
.qp-row .qt { min-width: 0; flex: 1 1 auto; }
.qp-row .qn { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qp-row .qa { font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qp-row .qx { opacity: 0; background: none; border: none; color: var(--muted); cursor: pointer; font-size: 17px;
  flex: 0 0 auto; margin-left: auto; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; border-radius: 6px; }
.qp-row:hover .qx { opacity: .8; }
.qp-row .qx:hover { opacity: 1 !important; background: rgba(255,255,255,.08); }
.qp-row .qx:hover { color: #f87171; }
.qp-head .qp-clear { background: none; border: none; color: var(--muted); cursor: pointer; font-size: 12px; }
.qp-head .qp-clear:hover { color: #f87171; }
.qp-head .qp-close { background: none; border: none; color: var(--muted); cursor: pointer; font-size: 22px; line-height: 1; padding: 0 2px; }
.qp-head .qp-close:hover { color: #fff; }
.qp-head .qp-right { display: flex; align-items: center; gap: 12px; }

/* 评论面板（z-index 提到全屏播放页 9999 之上，两处共用） */
.comment-panel { position: fixed; right: 20px; top: 76px; bottom: 135px; width: 430px; max-width: 94vw; z-index: 10001;
  background: rgba(22,22,28,.99); border: 1px solid rgba(255,255,255,.08); border-radius: 16px;
  box-shadow: 0 24px 70px rgba(0,0,0,.6); display: none; flex-direction: column; overflow: hidden;
  animation: cm-slide-in .32s cubic-bezier(.22,.61,.36,1); }
.comment-panel.open { display: flex; }
@keyframes cm-slide-in { from { transform: translateX(30px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
.comment-panel.open { display: flex; }
.cm-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.cm-title { font-weight: 700; font-size: 15px; }
.cm-count { font-style: normal; font-weight: 400; font-size: 12px; color: var(--muted); margin-left: 4px; }
.cm-tabs { display: flex; gap: 6px; margin-left: auto; }
.cm-tabs button { background: none; border: 1px solid var(--line); color: var(--muted); font-size: 12px; cursor: pointer;
  padding: 4px 12px; border-radius: 12px; transition: .15s; }
.cm-tabs button.active { background: var(--accent); border-color: var(--accent); color: #04210f; font-weight: 600; }
.cm-close { background: none; border: none; color: var(--muted); font-size: 20px; cursor: pointer; line-height: 1; }
.cm-close:hover { color: #fff; }
.cm-list { flex: 1; overflow-y: auto; padding: 4px 16px 14px; }
.cm-section { font-size: 12px; color: var(--muted); margin: 14px 0 6px; font-weight: 700; }
.cm-row { display: flex; gap: 10px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.05); }
.cm-av { width: 34px; height: 34px; border-radius: 50%; flex: 0 0 auto; object-fit: cover; background: #222; }
.cm-body { min-width: 0; flex: 1; }
.cm-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cm-user { font-size: 13px; color: var(--accent2); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cm-like { font-size: 12px; color: var(--muted); display: inline-flex; align-items: center; gap: 3px; flex: 0 0 auto; }
.cm-like svg { width: 12px; height: 12px; }
.cm-text { font-size: 14px; line-height: 1.55; margin: 4px 0; color: var(--text); word-break: break-word; white-space: pre-wrap; }
.cm-meta { font-size: 11px; color: var(--muted); }
.cm-loading, .cm-empty { text-align: center; color: var(--muted); padding: 34px; font-size: 14px; }

/* 加入歌单弹窗 */
.modal-mask { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 10000; display: none;
  align-items: center; justify-content: center; }
.modal-mask.open { display: flex; }
.modal { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 20px;
  width: 320px; max-height: 70vh; overflow-y: auto; }
.modal h3 { font-size: 16px; margin-bottom: 14px; }
.modal .pl-opt { padding: 10px 12px; border-radius: 8px; cursor: pointer; font-size: 14px; }
.modal .pl-opt:hover { background: rgba(255,255,255,.08); }
.modal .new { color: var(--accent); }

/* ===== 移动端适配 ===== */
.menu-btn { display: none; }
.sidebar-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 199; opacity: 0; pointer-events: none; transition: opacity .25s; }
.sidebar-backdrop.show { opacity: 1; pointer-events: auto; }

@media (max-width: 820px) {
  .menu-btn { display: flex; flex: 0 0 auto; }
  .layout { grid-template-columns: 1fr; }
  /* 侧边栏 → 滑出抽屉 */
  .sidebar { position: fixed; left: 0; top: 0; bottom: 0; width: 270px; max-width: 82vw; z-index: 200;
    padding-top: env(safe-area-inset-top);
    transform: translateX(-100%); transition: transform .3s cubic-bezier(.22,.61,.36,1); box-shadow: 10px 0 50px rgba(0,0,0,.55); }
  .sidebar.open { transform: translateX(0); }
  /* 顶栏避开状态栏/刘海（edge-to-edge 下的安全区） */
  .topbar { padding: calc(10px + env(safe-area-inset-top)) 14px 10px; gap: 10px; }
  .search { max-width: none; }
  .view { padding: 6px 14px 150px; }

  /* 卡片网格：自适应小列 */
  .cards { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 12px; }
  .card .name { font-size: 13px; }

  /* 轮播：只留封面卡，去掉推荐人面板/箭头 */
  .carousel { height: 178px; margin: 6px 0 20px; }
  .cstage { height: 150px; }
  .cslide { width: min(440px, 88%); height: 150px; margin-left: calc(min(440px, 88%) / -2); }
  .cs-side { display: none; }
  .cs-main { flex: 1 1 100%; }
  .carr { display: none; }
  .cs-title { font-size: 16px; }

  /* 分组/标题字号 */
  .list-head .lh-top h1 { font-size: 21px; }
  .row-head h2, .section-title { font-size: 17px; }
  .group-title { font-size: 15px; }

  /* 歌曲行：操作键常显（移动端无 hover），缩紧间距 */
  .song-row { grid-template-columns: 28px 38px 1fr auto; gap: 8px; padding: 8px 6px; }
  .song-row .act { opacity: 1; gap: 10px; }
  .song-row .act .dur { display: none; }

  /* 播放栏：贴底全宽、精简控件（其余在全屏页操作） */
  .playbar { left: 0 !important; right: 0; transform: none !important; bottom: 0; width: 100% !important;
    padding-bottom: env(safe-area-inset-bottom);
    border-radius: 14px 14px 0 0; border-left: none; border-right: none; border-bottom: none; box-shadow: 0 -6px 24px rgba(0,0,0,.5); }
  .pb-viz { height: 28px; }
  .pb-content { padding: 4px 12px 10px; }
  .pb-left { flex: 1; min-width: 0; }
  .pb-info { flex: 1 1 auto; }
  .pb-left-actions, .pb-speed, .pb-q, .pb-vol, .pb-word, .pb-mode { display: none; }
  .pb-right { flex: 0 0 auto; }
  .pb-extra { gap: 4px; }
  .pb-center { gap: 8px; }
  .pb-center .pb-ctrl svg { width: 22px; height: 22px; }
  .pb-play { width: 58px; height: 38px; }

  /* 队列/评论面板 → 底部弹出抽屉，占满宽度 */
  .queue-panel, .comment-panel { left: 0; right: 0; bottom: 0; top: auto; width: 100%; max-width: 100%;
    max-height: 72vh; border-radius: 16px 16px 0 0; }

  /* 弹窗（登录/设置/加歌单）自适应 */
  .ov-card { width: 94vw; padding: 20px; }
  .set-card { width: 96vw; }
  .set-tabs { flex-wrap: wrap; gap: 6px; }
  .set-tabs button { flex: 1 0 40%; }
  .opt-grid { grid-template-columns: 1fr 1fr; }
  .modal { width: 94vw; }

  /* 分类条横向滚动 */
  .cat-chips { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
  .cat-chips::-webkit-scrollbar { display: none; }
}

@media (max-width: 480px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .pb-cover-wrap { width: 44px; height: 44px; }
  .pb-cover { width: 44px; height: 44px; }
  .topbar .icon-btn { width: 36px; height: 36px; }
}

/* ===== 未登录数据共享提醒（首页悬浮小字） ===== */
.guest-hint { position: fixed; left: 50%; top: calc(env(safe-area-inset-top) + 68px); z-index: 120; max-width: min(560px, 92vw);
  display: flex; align-items: flex-start; gap: 8px; padding: 10px 12px; font-size: 12.5px; line-height: 1.5;
  background: rgba(38,33,20,.92); border: 1px solid rgba(245,197,66,.32); color: #ead9a6;
  border-radius: 12px; backdrop-filter: blur(10px); box-shadow: 0 10px 30px rgba(0,0,0,.42);
  opacity: 0; pointer-events: none; transform: translateX(-50%) translateY(-8px);
  transition: opacity .28s ease, transform .28s ease; }
.guest-hint.show { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.guest-hint .gh-ico { color: #f5c542; flex: 0 0 auto; font-style: normal; }
.guest-hint b { color: #f5c542; font-weight: 700; }
.guest-hint a.gh-login { color: var(--accent); cursor: pointer; text-decoration: none; font-weight: 600; }
.guest-hint a.gh-login:hover { text-decoration: underline; }
.guest-hint .gh-x { background: none; border: none; color: inherit; opacity: .55; cursor: pointer;
  font-size: 16px; line-height: 1; flex: 0 0 auto; padding: 0 0 0 2px; }
.guest-hint .gh-x:hover { opacity: 1; }
@media (max-width: 820px) { .guest-hint { left: 10px; right: 10px; top: calc(env(safe-area-inset-top) + 58px); max-width: none; transform: translateY(-8px); } .guest-hint.show { transform: translateY(0); } }
