/* ════ 全局变量与字体 (Amber Twilight 琥珀黄昏主题) ════ */
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
:root {
  /* 暖色调暗黑背景 */
  --bg: #1a1817; 
  --s1: #242120;
  --s2: #2d2928;
  --bd: #3e3837;
  /* 奶油白与暖灰文字 */
  --t: #f0e9e4;
  --td: #a89f9e;
  --tf: #7a7271;
  /* 琥珀暖橘强调色 */
  --ac: #e29b68;
  --acl: rgba(226, 155, 104, 0.15);
  --acb: rgba(226, 155, 104, 0.3);
  /* 更优雅的系统字体 */
  --f: "SF Pro Display", -apple-system, "PingFang SC", "Helvetica Neue", sans-serif;
}
html, body { height: 100%; overflow: hidden; font-family: var(--f); background: var(--bg); color: var(--t); font-size: 15px; line-height: 1.6; }
.app { display: flex; height: 100dvh; background: radial-gradient(circle at top right, rgba(226,155,104,0.05), transparent 40%), radial-gradient(circle at bottom left, rgba(255,255,255,0.02), transparent 40%); }

/* ════ 侧边栏 (毛玻璃高级质感) ════ */
.sb { width: 220px; flex-shrink: 0; background: rgba(36, 33, 32, 0.85); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-right: 1px solid rgba(255,255,255,0.05); display: flex; flex-direction: column; transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1); position: relative; z-index: 40; }
.sb-hdr { padding: 20px 16px 12px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.sb-hdr-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.sb-title { font-size: 15px; font-weight: 700; letter-spacing: 0.5px; }
.sb-time { font-size: 11px; color: var(--tf); }
.sb-new { background: var(--acl); border: 1px solid var(--acb); color: var(--ac); border-radius: 12px; padding: 4px 10px; font-size: 11px; font-weight: 500; cursor: pointer; transition: 0.2s; }
.sb-new:hover { background: var(--acb); transform: scale(1.05); }
.sb-list { flex: 1; overflow-y: auto; padding: 10px; }
.sb-list::-webkit-scrollbar { display: none; }
.sb-item { padding: 10px 12px; border-radius: 10px; cursor: pointer; font-size: 13px; color: var(--td); margin-bottom: 4px; transition: all 0.2s ease; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-item:hover { background: rgba(255,255,255,0.03); color: var(--t); }
.sb-item.active { background: var(--s2); color: var(--t); box-shadow: 0 4px 12px rgba(0,0,0,0.2); font-weight: 500; border-left: 3px solid var(--ac); }
.sb-bot { padding: 12px; border-top: 1px solid rgba(255,255,255,0.05); display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sb-btn { padding: 8px 4px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05); color: var(--td); border-radius: 10px; font-size: 11.5px; cursor: pointer; transition: 0.2s; font-weight: 500; }
.sb-btn:hover { background: rgba(255,255,255,0.08); color: var(--t); }

/* ════ 主聊天区与顶部导航 ════ */
.main { flex: 1; display: flex; flex-direction: column; min-width: 0; position: relative; }
.hdr { flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; background: rgba(26, 24, 23, 0.75); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid rgba(255,255,255,0.05); z-index: 30; }
.hdr-l { display: flex; align-items: center; gap: 12px; }
.menu-btn { background: none; border: none; color: var(--td); font-size: 20px; cursor: pointer; padding: 4px; }
.hdr-title { font-size: 15px; font-weight: 600; letter-spacing: 0.5px; }
.preset-btn { background: var(--acl); border: 1px solid var(--acb); color: var(--ac); border-radius: 20px; padding: 5px 14px; font-size: 11.5px; cursor: pointer; max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: 0.2s; }
.preset-btn:hover { background: var(--acb); }
.anniv-alert { position: absolute; top: 70px; left: 50%; transform: translateX(-50%); background: rgba(226,155,104,0.15); border: 1px solid var(--acb); border-radius: 20px; padding: 10px 20px; z-index: 20; display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--ac); box-shadow: 0 10px 30px rgba(226,155,104,0.1); animation: slideDown 0.4s cubic-bezier(0.16, 1, 0.3, 1); backdrop-filter: blur(10px); }
@keyframes slideDown { from { transform: translate(-50%, -20px); opacity: 0; } to { transform: translate(-50%, 0); opacity: 1; } }

/* ════ 聊天气泡区域 (精致立体感) ════ */
.msgs { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; scroll-behavior: smooth; }
.msgs::-webkit-scrollbar { width: 6px; }
.msgs::-webkit-scrollbar-track { background: transparent; }
.msgs::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 3px; }
.msgs::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.2); }
.msg-time { font-size: 10.5px; color: var(--tf); text-align: center; margin: 15px 0 8px; font-weight: 500; }
.msg-row { display: flex; align-items: flex-end; gap: 8px; margin-bottom: 6px; }
.msg-row.user { flex-direction: row-reverse; }
.avatar { width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 16px; box-shadow: 0 4px 10px rgba(0,0,0,0.2); margin-bottom: 2px; }
.av-user { background: linear-gradient(135deg, rgba(226,155,104,0.3), rgba(226,155,104,0.1)); border: 1px solid rgba(226,155,104,0.2); }
.av-bot { background: linear-gradient(135deg, rgba(120,140,200,0.3), rgba(120,140,200,0.1)); border: 1px solid rgba(120,140,200,0.2); }
.msg-col { display: flex; flex-direction: column; max-width: 75%; }
.msg-col.user { align-items: flex-end; }
.msg-col.bot { align-items: flex-start; }

.quote-preview { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05); border-left: 3px solid var(--ac); border-radius: 10px 10px 4px 4px; padding: 6px 12px; font-size: 12px; color: var(--td); margin-bottom: -4px; z-index: 1; }
.bubble { padding: 12px 16px; font-size: 14px; line-height: 1.6; cursor: context-menu; word-break: break-word; position: relative; z-index: 2; box-shadow: 0 4px 15px rgba(0,0,0,0.15); }
/* 用户的气泡：温暖的渐变色 */
.bubble.user { background: linear-gradient(135deg, #4a3424, #3a271c); border: 1px solid rgba(226,155,104,0.15); border-radius: 20px 20px 6px 20px; color: #fff; }
/* AI的气泡：干净的深灰色 */
.bubble.bot { background: var(--s2); border: 1px solid rgba(255,255,255,0.04); border-radius: 20px 20px 20px 6px; }
.bubble.error { background: rgba(220,70,70,0.1); border: 1px solid rgba(220,70,70,0.3); border-radius: 16px; color: #e57373; font-size: 13px; text-align: center; }

/* ════ 卡片组件 (日记/清单/心声) ════ */
.todo-card, .diary-card, .mood-card { max-width: 88%; margin-bottom: 6px; }
.todo-inner, .diary-inner, .mood-inner { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05); border-radius: 6px 20px 20px 20px; padding: 14px 16px; box-shadow: 0 5px 20px rgba(0,0,0,0.1); }
.todo-hdr-title, .diary-label, .mood-label { color: var(--ac); font-weight: 600; font-size: 12px; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.todo-text, .diary-text, .mood-text { font-size: 13.5px; color: var(--t); line-height: 1.6; }
.todo-check { width: 18px; height: 18px; border-radius: 6px; border: 2px solid var(--bd); transition: 0.2s; display:flex; align-items:center; justify-content:center;}
.todo-check.done { background: var(--ac); border-color: var(--ac); color: #000; }
.todo-text.done { color: var(--tf); text-decoration: line-through; }
.todo-input-row { display: flex; gap: 8px; margin-top: 12px; border-top: 1px dashed rgba(255,255,255,0.05); padding-top: 12px; }

/* 正在输入动画 */
.typing { align-self: flex-start; display: flex; align-items: flex-end; gap: 8px; margin-top: 6px; }
.typing-bubble { padding: 12px 18px; display: flex; gap: 5px; align-items: center; background: var(--s2); border: 1px solid rgba(255,255,255,0.03); border-radius: 20px 20px 20px 6px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
.typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--ac); opacity: 0.4; animation: bounce 1.2s infinite ease-in-out; }
.typing span:nth-child(2) { animation-delay: 0.2s; }
.typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes bounce { 0%, 100% { transform: translateY(0); opacity: 0.4; } 50% { transform: translateY(-6px); opacity: 1; box-shadow: 0 0 8px var(--ac); } }

/* ════ 底部输入区 (果冻悬浮感) ════ */
.input-bar { flex-shrink: 0; display: flex; align-items: flex-end; gap: 10px; padding: 12px 16px; padding-bottom: max(16px, env(safe-area-inset-bottom)); background: rgba(26, 24, 23, 0.85); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-top: 1px solid rgba(255,255,255,0.05); z-index: 30; }
.ic-btn { width: 38px; height: 38px; flex-shrink: 0; border-radius: 12px; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 18px; transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1); }
.ic-btn.normal { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05); color: var(--td); }
.ic-btn.normal:hover { background: rgba(255,255,255,0.08); transform: translateY(-2px); }
.ic-btn.active { background: var(--acl); border: 1px solid var(--acb); color: var(--ac); transform: translateY(-2px); box-shadow: 0 4px 10px var(--acl); }
.ic-btn.rec { background: rgba(220,70,70,0.15); border: 1px solid #e57373; color: #e57373; animation: pulse 1.5s infinite; border-radius: 50%; }

.ta { flex: 1; resize: none; background: rgba(0,0,0,0.2); border: 1px solid rgba(255,255,255,0.08); border-radius: 20px; padding: 10px 16px; min-height: 40px; max-height: 120px; color: var(--t); font-size: 14.5px; font-family: var(--f); line-height: 1.5; outline: none; transition: 0.3s; box-shadow: inset 0 2px 4px rgba(0,0,0,0.1); }
.ta:focus { border-color: var(--acb); background: rgba(0,0,0,0.4); box-shadow: inset 0 2px 4px rgba(0,0,0,0.1), 0 0 0 3px var(--acl); }
.send-btn { width: 40px; height: 40px; flex-shrink: 0; border: none; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 18px; transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
.send-btn.on { background: var(--ac); color: #1a1817; box-shadow: 0 4px 15px rgba(226,155,104,0.4); transform: translateY(-2px); }
.send-btn.off { background: rgba(255,255,255,0.05); color: var(--tf); cursor: default; }

/* ════ 全屏叠加层与面板 (Overlay Panels) ════ */
.overlay { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); display: flex; align-items: flex-end; justify-content: center; opacity: 0; animation: fadeIn 0.3s forwards; }
@keyframes fadeIn { to { opacity: 1; } }
.panel { width: 100%; max-width: 600px; background: var(--bg); border-radius: 24px 24px 0 0; padding: 24px 20px 40px; max-height: 85vh; overflow-y: auto; box-shadow: 0 -10px 40px rgba(0,0,0,0.5); transform: translateY(100%); animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.panel::-webkit-scrollbar { display: none; }
@keyframes slideUp { to { transform: translateY(0); } }
.panel-hdr { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.05); position: sticky; top: -24px; background: var(--bg); z-index: 10; }
.panel-title { font-size: 16px; font-weight: 700; color: var(--t); }
.p-label { display: block; font-size: 12px; color: var(--td); margin-bottom: 6px; font-weight: 500; }
.p-inp { width: 100%; padding: 10px 14px; margin-bottom: 15px; background: rgba(0,0,0,0.2); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; color: var(--t); font-size: 14px; outline: none; transition: 0.2s; }
.p-inp:focus { border-color: var(--ac); box-shadow: 0 0 0 3px var(--acl); }
.p-btn { padding: 12px; border: none; border-radius: 12px; font-size: 14px; font-weight: 600; cursor: pointer; transition: 0.2s; }
.p-btn.save { background: var(--ac); color: #1a1817; box-shadow: 0 4px 15px rgba(226,155,104,0.3); }
.p-btn.save:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(226,155,104,0.4); }
.h-btn { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); color: var(--t); border-radius: 10px; padding: 6px 12px; font-size: 12px; cursor: pointer; transition: 0.2s; font-weight: 500; }
.h-btn:hover { background: rgba(255,255,255,0.08); }

/* ════ 书影音放映室 (极致海报墙) ════ */
.media-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-top: 15px; }
.media-card { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05); border-radius: 12px; overflow: hidden; cursor: pointer; transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1); position: relative; }
.media-card:hover { border-color: var(--ac); transform: translateY(-4px); box-shadow: 0 10px 20px rgba(0,0,0,0.3); }
.media-cover { width: 100%; aspect-ratio: 3/4; object-fit: cover; background: #111; display: flex; align-items: center; justify-content: center; color: var(--tf); font-size: 12px; transition: 0.3s; }
.media-card:hover .media-cover { transform: scale(1.03); }
.media-info { padding: 10px; position: relative; z-index: 2; background: linear-gradient(to top, rgba(26,24,23,1), rgba(26,24,23,0.8)); }
.media-title { font-size: 13px; font-weight: 700; color: var(--t); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.media-badge { position: absolute; top: 6px; right: 6px; background: rgba(0,0,0,0.7); color: #fff; font-size: 10px; padding: 3px 6px; border-radius: 6px; border: 1px solid rgba(255,255,255,0.15); backdrop-filter: blur(8px); z-index: 3; font-weight: 600; }
.media-tabs { display: flex; gap: 15px; border-bottom: 1px solid rgba(255,255,255,0.05); margin-bottom: 20px; }
.media-tab { padding: 8px 4px; font-size: 14px; color: var(--td); cursor: pointer; border-bottom: 3px solid transparent; transition: 0.2s; }
.media-tab:hover { color: var(--t); }
.media-tab.active { color: var(--ac); border-bottom-color: var(--ac); font-weight: 600; }

/* ════ 一起听 & 你画我猜 ════ */
.music-widget { position: fixed; top: 80px; right: 20px; background: rgba(26,24,23,0.85); backdrop-filter: blur(15px); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 12px; display: flex; align-items: center; gap: 12px; z-index: 90; box-shadow: 0 10px 30px rgba(0,0,0,0.5); transform: translateX(150%); transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.music-widget.show { transform: translateX(0); }
.vinyl-record { width: 44px; height: 44px; border-radius: 50%; background: #111; border: 2px solid #222; position: relative; animation: spin 4s linear infinite; animation-play-state: paused; flex-shrink: 0; overflow: hidden; cursor: pointer; box-shadow: 0 4px 10px rgba(0,0,0,0.3); }
.vinyl-record.playing { animation-play-state: running; }
.vinyl-record img { width: 18px; height: 18px; border-radius: 50%; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); object-fit: cover; }
.music-info { flex: 1; max-width: 130px; }
.music-name { font-size: 12px; color: var(--t); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 2px; }
.music-artist { font-size: 10px; color: var(--td); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

#drawingBoard { position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,0.9); backdrop-filter: blur(10px); display: none; flex-direction: column; align-items: center; justify-content: center; }
.canvas-container { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 15px 50px rgba(0,0,0,0.6); border: 4px solid #fff; }
.canvas-tools { display: flex; gap: 15px; padding: 15px; background: rgba(255,255,255,0.1); width: 100%; justify-content: center; border-radius: 16px 16px 0 0; margin-bottom: -10px; z-index: 2; position: relative; }
.color-btn { width: 28px; height: 28px; border-radius: 50%; cursor: pointer; border: 3px solid transparent; transition: 0.2s; box-shadow: 0 2px 5px rgba(0,0,0,0.3); }
.color-btn.active { border-color: #fff; transform: scale(1.15); box-shadow: 0 4px 10px rgba(0,0,0,0.5); }

/* 响应式调整 */
@media(max-width:600px){
  .sb { position: fixed; z-index: 150; height: 100%; transform: translateX(-110%); }
  .sb.show { transform: translateX(0); }
  .sb-overlay.show { display: block; z-index: 140; }
  .menu-btn { display: block; }
  .hdr { padding: 12px 16px; }
  .media-grid { grid-template-columns: repeat(2, 1fr); }
  .music-widget { top: 70px; right: 10px; padding: 10px; }
}
@media(min-width:601px){ .menu-btn { display: none; } }
/* ════ 右键菜单 / 长按菜单 (高级毛玻璃版) ════ */
.ctx { position: fixed; background: rgba(36, 33, 32, 0.85); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 6px; z-index: 9999; min-width: 140px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.ctx-item { display: block; width: 100%; padding: 10px 14px; background: none; border: none; color: var(--t); font-size: 13px; cursor: pointer; text-align: left; border-radius: 8px; font-family: var(--f); transition: 0.2s; font-weight: 500; }
.ctx-item:hover { background: rgba(255,255,255,0.08); color: var(--ac); padding-left: 18px; }
/* ════ 动态 (Moments) 朋友圈专属样式 ════ */
.moment-card { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05); border-radius: 16px; padding: 16px; margin-bottom: 16px; box-shadow: 0 4px 15px rgba(0,0,0,0.15); transition: transform 0.2s; position: relative; }
.moment-card:hover { border-color: rgba(226,155,104,0.2); }
.moment-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.moment-user { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--t); }
.moment-avatar { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, rgba(120,140,200,0.3), rgba(120,140,200,0.1)); border: 1px solid rgba(120,140,200,0.2); display: flex; align-items: center; justify-content: center; font-size: 14px; }
.moment-time { font-size: 11px; color: var(--tf); }
.moment-content { font-size: 14px; line-height: 1.7; color: var(--t); margin-bottom: 12px; white-space: pre-wrap; word-break: break-word; }
.moment-meta { display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: var(--td); border-top: 1px dashed rgba(255,255,255,0.05); padding-top: 10px; }
.moment-meta-left { display: flex; gap: 10px; align-items: center; }
.moment-tag { background: rgba(255,255,255,0.05); padding: 2px 6px; border-radius: 4px; }
.moment-comments-btn { cursor: pointer; transition: 0.2s; display: flex; align-items: center; gap: 4px; background: rgba(255,255,255,0.03); padding: 3px 8px; border-radius: 6px; }
.moment-comments-btn:hover { color: var(--ac); background: rgba(226,155,104,0.1); }
.moment-comments-area { display: none; margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.05); }
.moment-comment-list { max-height: 300px; overflow-y: auto; margin-bottom: 10px; }
.moment-comment-list::-webkit-scrollbar { width: 4px; }
.moment-comment-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 2px; }
.moment-comment-item { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 12.5px; line-height: 1.5; padding: 8px 10px; background: rgba(0,0,0,0.2); border-radius: 8px; }
.moment-comment-item .c-user { color: var(--ac); font-weight: 500; margin-right: 4px; flex-shrink: 0; }
.moment-comment-item .c-ai { color: var(--td); font-weight: 500; margin-right: 4px; flex-shrink: 0; }
.moment-comment-item .c-content { color: var(--t); flex: 1; word-break: break-word; }
.moment-comment-item .c-time { font-size: 10px; color: var(--tf); flex-shrink: 0; margin-left: 8px; margin-top: 2px; }
.moment-comment-del { cursor: pointer; color: #c46; font-size: 14px; background: none; border: none; padding: 0 4px; opacity: 0.6; }
.moment-comment-del:hover { opacity: 1; }
.moment-input-wrap { display: flex; gap: 8px; }
.moment-input { flex: 1; background: rgba(0,0,0,0.3); border: 1px solid var(--bd); border-radius: 8px; padding: 8px 12px; color: var(--t); font-size: 13px; outline: none; transition: 0.2s; }
.moment-input:focus { border-color: var(--ac); box-shadow: 0 0 0 2px var(--acl); }
.moment-send-btn { background: var(--ac); color: #0c0b0e; border: none; border-radius: 8px; padding: 0 14px; font-size: 13px; font-weight: 600; cursor: pointer; transition: 0.2s; }
.moment-send-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 10px rgba(226,155,104,0.3); }
.moment-send-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }
.moment-del-btn { background: none; border: none; color: var(--tf); cursor: pointer; font-size: 14px; padding: 4px; }
.moment-del-btn:hover { color: #c46; }
/* ════ 音乐播放器进阶样式 ════ */
.mini-vinyl { width: 36px; height: 36px; }
.mini-vinyl img { width: 14px; height: 14px; }
.full-vinyl img { width: 100px; height: 100px; }

.lrc-line { font-size: 14px; color: rgba(255,255,255,0.4); margin-bottom: 12px; transition: 0.3s; min-height: 20px;}
.lrc-line.active { color: #fff; font-size: 16px; font-weight: bold; text-shadow: 0 0 10px rgba(255,255,255,0.3); transform: scale(1.05); }

.music-ctrl-btn { background: none; border: none; color: #fff; font-size: 28px; cursor: pointer; transition: 0.2s; }
.music-ctrl-btn:hover { transform: scale(1.1); color: var(--ac); }

input[type=range] { -webkit-appearance: none; background: rgba(255,255,255,0.2); border-radius: 4px; outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 12px; background: #fff; border-radius: 50%; cursor: pointer; }

</style>
