/* ============================================================
   阿博的智慧空间 - 共享样式
   基于 Element UI 主题做现代化覆盖
   ============================================================ */

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #ec4899;
    --accent: #f59e0b;
    --bg: #0f172a;
    --bg-soft: #f8fafc;
    --bg-panel: #ffffff;
    --text: #1e293b;
    --text-light: #64748b;
    --border: #e2e8f0;
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
    --shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.16);
    --radius: 16px;
    --radius-sm: 10px;
    --gradient: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
    --gradient-warm: linear-gradient(135deg, #f59e0b 0%, #ec4899 100%);
    --gradient-cool: linear-gradient(135deg, #06b6d4 0%, #6366f1 100%);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
        "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: var(--text);
    background: var(--bg-soft);
    line-height: 1.65;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }

/* Element 主题色覆盖 */
.el-button--primary {
    background: var(--gradient) !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
}
.el-button--primary:hover { opacity: 0.92; }
.el-menu--horizontal > .el-menu-item.is-active { color: var(--primary) !important; border-bottom-color: var(--primary) !important; }
.el-menu--horizontal > .el-menu-item { font-weight: 500; }
.el-tabs__item.is-active { color: var(--primary) !important; }
.el-tabs__active-bar { background-color: var(--primary) !important; }
.el-tag--primary { background: rgba(99,102,241,.1); color: var(--primary); border-color: transparent; }
.el-input__inner:focus { border-color: var(--primary) !important; }
.el-pagination .el-pager li.active { background: var(--primary) !important; color: #fff !important; }

/* ===== 顶部导航 ===== */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    transition: var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.nav-wrap {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 18px;
    color: var(--text);
    cursor: pointer;
}
.logo-icon {
    width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center;
    background: var(--gradient);
    color: #fff;
    border-radius: 11px;
    font-size: 18px;
    font-weight: 800;
    box-shadow: 0 6px 18px rgba(99, 102, 241, 0.4);
}
.nav-elmenu { border-bottom: none !important; background: transparent !important; }
.nav-elmenu .el-menu-item { height: 64px; line-height: 64px; }
.mobile-only { display: none !important; }

/* ===== 通用布局 ===== */
.page { padding-top: 64px; }
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}
.section { padding: 90px 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
    display: inline-block;
    padding: 5px 16px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 14px;
}
.section-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    margin: 0 0 10px;
    letter-spacing: -0.02em;
}
.section-subtitle { color: var(--text-light); font-size: 16px; margin: 0; }
.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ===== 首页 Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 24px 60px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f3ff 0%, #fdf2f8 50%, #fffbeb 100%);
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
#hero-particles { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.type-cursor {
    display: inline-block;
    margin-left: 4px;
    font-weight: 300;
    color: var(--primary);
    animation: blink 1s steps(1) infinite;
}
@keyframes blink { 0%,50%{ opacity:1 } 50.01%,100%{ opacity:0 } }
@keyframes confFall {
    0% { transform: translateY(0) rotate(0deg); opacity: 1; }
    100% { transform: translateY(110vh) rotate(720deg); opacity: 0; }
}
.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.45;
    animation: float 20s ease-in-out infinite;
}
.shape-1 { width: 420px; height: 420px; background: var(--primary-light); top: -120px; left: -120px; }
.shape-2 { width: 360px; height: 360px; background: var(--secondary); bottom: -60px; right: -60px; animation-delay: -5s; }
.shape-3 { width: 300px; height: 300px; background: var(--accent); top: 40%; right: 18%; animation-delay: -10s; }
.shape-4 { width: 260px; height: 260px; background: var(--primary); bottom: 28%; left: 12%; animation-delay: -15s; }
@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -30px) scale(1.1); }
    66% { transform: translate(-30px, 40px) scale(0.95); }
}
.hero-content { position: relative; z-index: 1; max-width: 760px; }
.hero-avatar { margin-bottom: 28px; }
.avatar-circle {
    width: 104px; height: 104px;
    margin: 0 auto;
    display: flex; align-items: center; justify-content: center;
    background: var(--gradient);
    color: #fff;
    border-radius: 50%;
    font-size: 34px;
    font-weight: 800;
    box-shadow: 0 14px 44px rgba(99, 102, 241, 0.45);
    animation: avatarPulse 3s ease-in-out infinite;
}
@keyframes avatarPulse {
    0%, 100% { box-shadow: 0 14px 44px rgba(99,102,241,.45); }
    50% { box-shadow: 0 14px 60px rgba(236,72,153,.5); }
}
.hero-title { font-size: clamp(36px, 6vw, 64px); font-weight: 800; margin: 0 0 18px; letter-spacing: -0.02em; }
.hero-subtitle { font-size: clamp(18px, 3vw, 24px); font-weight: 600; margin: 0 0 10px; }
.hero-desc { color: var(--text-light); font-size: 16px; margin: 0 0 34px; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 46px; }
.hero-stats {
    display: inline-flex;
    align-items: center;
    gap: 30px;
    padding: 22px 38px;
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.8);
}
.stat-item { display: flex; flex-direction: column; align-items: center; }
.stat-num { font-size: 30px; font-weight: 800; }
.stat-num.gradient-text { -webkit-background-clip: text; background-clip: text; }
.stat-label { font-size: 13px; color: var(--text-light); margin-top: 3px; }
.stat-divider { width: 1px; height: 38px; background: var(--border); }
.scroll-down {
    position: absolute; bottom: 26px; left: 50%;
    transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    color: var(--text-light); font-size: 12px; z-index: 1;
    animation: bounce 2s infinite;
}
.scroll-arrow { width: 18px; height: 18px; border-right: 2px solid var(--text-light); border-bottom: 2px solid var(--text-light); transform: rotate(45deg); }
@keyframes bounce { 0%,100% { transform: translateX(-50%) translateY(0);} 50% { transform: translateX(-50%) translateY(8px);} }

/* ===== 每日一言 ===== */
.quote-card {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
    padding: 44px 48px 36px;
    text-align: center;
    background: #fff;
    border-radius: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    overflow: hidden;
}
.quote-card::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(99,102,241,.06), rgba(236,72,153,.06));
    pointer-events: none;
}
.quote-mark {
    font-size: 90px; line-height: 0.6; font-family: Georgia, serif;
    background: var(--gradient);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    margin-bottom: 10px; position: relative;
}
.quote-text {
    font-size: clamp(18px, 2.4vw, 24px); font-weight: 600; line-height: 1.7;
    color: var(--text); margin: 0 0 16px; position: relative;
    transition: opacity .4s ease;
}
.quote-text.fading { opacity: 0; }
.quote-author { color: var(--text-light); font-size: 14px; margin: 0 0 22px; position: relative; }
.quote-actions { position: relative; }

/* ===== 通用卡片 ===== */
.glass-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
    overflow: hidden;
}
.glass-card:hover { box-shadow: var(--shadow-lg); }

/* ===== 博客卡片 ===== */
.blog-card { cursor: pointer; transition: var(--transition); }
.blog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.blog-cover {
    height: 180px;
    position: relative;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.blog-cover::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 40%, rgba(255,255,255,.25), transparent 60%); }
.cover-1 { background: linear-gradient(135deg, #667eea, #764ba2); }
.cover-2 { background: linear-gradient(135deg, #f093fb, #f5576c); }
.cover-3 { background: linear-gradient(135deg, #4facfe, #00f2fe); }
.cover-4 { background: linear-gradient(135deg, #43e97b, #38f9d7); }
.cover-5 { background: linear-gradient(135deg, #fa709a, #fee140); }
.cover-6 { background: linear-gradient(135deg, #a18cd1, #fbc2eb); }
.cover-7 { background: linear-gradient(135deg, #30cfd0, #330867); }
.cover-8 { background: linear-gradient(135deg, #ff9a9e, #fad0c4); }
.cover-icon { font-size: 48px; opacity: 0.9; position: relative; z-index: 1; }
.blog-cat-badge {
    position: absolute; top: 14px; left: 14px;
    padding: 4px 12px; background: rgba(255,255,255,.95);
    border-radius: 12px; font-size: 12px; font-weight: 600; z-index: 2;
}
.blog-body { padding: 20px 22px; }
.blog-title { font-size: 19px; font-weight: 700; margin: 0 0 10px; line-height: 1.4; }
.blog-excerpt { color: var(--text-light); font-size: 14px; margin: 0 0 14px; }
.blog-meta { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-light); padding-top: 14px; border-top: 1px solid var(--border); }

/* ===== 游戏区 ===== */
.games-panel { background: #fff; border-radius: 24px; padding: 32px; box-shadow: var(--shadow-lg); }
.game-stage { display: flex; flex-direction: column; align-items: center; }
.game-info { display: flex; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; justify-content: center; }
.game-stat {
    display: flex; flex-direction: column; align-items: center;
    padding: 10px 26px; min-width: 96px;
    background: linear-gradient(135deg, #f5f3ff, #fdf2f8);
    border-radius: 14px;
}
.game-stat-label { font-size: 12px; color: var(--text-light); margin-bottom: 3px; }
.game-stat-value { font-size: 22px; font-weight: 800; color: var(--primary); }
.game-controls { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 18px; }
.game-hint { color: var(--text-light); font-size: 13px; margin: 0; }
canvas.game-canvas { background: #1e293b; border-radius: 14px; box-shadow: inset 0 0 40px rgba(0,0,0,.3); max-width: 100%; touch-action: none; }

/* 扫雷 */
.ms-board { display: grid; gap: 2px; background: #475569; padding: 6px; border-radius: 10px; }
.ms-cell {
    width: 30px; height: 30px;
    background: #cbd5e1; border: none; border-radius: 4px;
    font-size: 15px; font-weight: 800; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .12s;
}
.ms-cell:hover:not(.revealed) { background: #e2e8f0; }
.ms-cell.revealed { background: #f1f5f9; cursor: default; }
.ms-cell.mine { background: #ef4444; color: #fff; }
.ms-cell.flag { color: #ef4444; }
.ms-cell[data-n="1"]{color:#2563eb}.ms-cell[data-n="2"]{color:#16a34a}.ms-cell[data-n="3"]{color:#dc2626}
.ms-cell[data-n="4"]{color:#7c3aed}.ms-cell[data-n="5"]{color:#b45309}.ms-cell[data-n="6"]{color:#0891b2}
.ms-cell[data-n="7"]{color:#334155}.ms-cell[data-n="8"]{color:#94a3b8}

/* 2048 */
.g2048-board { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; padding: 12px; background: #1e293b; border-radius: 16px; width: 400px; max-width: 100%; aspect-ratio: 1; }
.g2048-cell { background: #334155; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 800; color: #fff; transition: all .12s; }
.g2048-cell[data-value="2"]{background:#eee4da;color:#776e65}
.g2048-cell[data-value="4"]{background:#ede0c8;color:#776e65}
.g2048-cell[data-value="8"]{background:#f2b179}
.g2048-cell[data-value="16"]{background:#f59563}
.g2048-cell[data-value="32"]{background:#f67c5f}
.g2048-cell[data-value="64"]{background:#f65e3b}
.g2048-cell[data-value="128"]{background:#edcf72;font-size:26px}
.g2048-cell[data-value="256"]{background:#edcc61;font-size:26px}
.g2048-cell[data-value="512"]{background:#edc850;font-size:26px}
.g2048-cell[data-value="1024"]{background:#edc53f;font-size:22px}
.g2048-cell[data-value="2048"]{background:#edc22e;font-size:22px}

/* 移动方向键 */
.dpad { display: grid; grid-template-columns: repeat(3,52px); grid-template-rows: repeat(2,52px); gap: 8px; margin-top: 16px; }
.dpad button { background: var(--bg); color:#fff; border:none; border-radius: 10px; font-size: 18px; cursor: pointer; }
.dpad button:active { background: var(--primary); transform: scale(.94); }
.dpad .up { grid-column: 2; grid-row: 1; }
.dpad .left { grid-column: 1; grid-row: 2; }
.dpad .down { grid-column: 2; grid-row: 2; }
.dpad .right { grid-column: 3; grid-row: 2; }

/* ===== 关于页 ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-text p { color: var(--text-light); margin: 0 0 14px; line-height: 1.85; }
.skill-card { padding: 24px; }
.skill-item { margin-bottom: 18px; }
.skill-item:last-child { margin-bottom: 0; }
.skill-head { display: flex; justify-content: space-between; margin-bottom: 6px; font-weight: 600; font-size: 14px; }

/* ===== 页脚 ===== */
.site-footer { background: var(--bg); color: #cbd5e1; padding: 56px 24px 28px; margin-top: 60px; }
.footer-inner { max-width: 1240px; margin: 0 auto; text-align: center; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.footer-desc { color: #94a3b8; font-size: 14px; margin-bottom: 22px; }
.footer-links { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; margin-bottom: 28px; }
.footer-links a { color: #cbd5e1; font-size: 14px; transition: var(--transition); }
.footer-links a:hover { color: #fff; }
.footer-copy { color: #64748b; font-size: 13px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); }

/* ===== 滚动揭示 ===== */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== 抽屉菜单 ===== */
.drawer-menu { border-right: none !important; }
.drawer-menu .el-menu-item { height: 56px; line-height: 56px; }

/* ===== 响应式 ===== */
@media (max-width: 768px) {
    .desktop-only { display: none !important; }
    .mobile-only { display: inline-flex !important; }
    .nav-wrap { padding: 0 16px; }
    .brand-text { display: none; }
    .section { padding: 60px 0; }
    .hero { padding: 90px 18px 50px; }
    .hero-stats { gap: 16px; padding: 16px 18px; }
    .stat-num { font-size: 24px; }
    .about-grid { grid-template-columns: 1fr; gap: 36px; }
    .games-panel { padding: 18px 14px; }
    .ms-cell { width: 26px; height: 26px; font-size: 13px; }
}
@media (max-width: 480px) {
    .g2048-cell { font-size: 22px; }
    .ms-cell { width: 22px; height: 22px; font-size: 11px; }
}

/* ============================================================
   音乐播放器 - Apple Music 风格
   ============================================================ */
.player-shell {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.92);
    color: #f8fafc;
    box-shadow: 0 30px 80px rgba(0,0,0,.45);
    max-height: 680px;
    height: 680px;
}
.player-bg-layer {
    position: absolute; inset: -40px;
    z-index: 0;
    background-size: cover;
    background-position: center;
    filter: blur(70px) brightness(.55) saturate(1.4);
    transform: scale(1.2);
    transition: opacity .9s ease;
    opacity: .9;
}
/* ============ 两列布局 ============ */
.player-inner {
    position: relative; z-index: 1;
    display: grid;
    grid-template-columns: 280px 1fr;
    height: 100%;
    padding: 0;
}

/* ===== 左：播放列表 ===== */
.side-list {
    display: flex; flex-direction: column;
    border-right: 1px solid rgba(255,255,255,.08);
    background: rgba(0,0,0,.22);
    backdrop-filter: blur(10px);
    min-height: 0;
}
.side-list-head {
    flex: none;
    display:flex; align-items:center; justify-content:space-between;
    padding: 22px 20px 16px;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.side-list-head h3 { margin:0; font-size:16px; color:#fff; letter-spacing:.04em; }
.pl-count { font-size:12px; color: rgba(248,250,252,.5); background: rgba(255,255,255,.08); padding:3px 9px; border-radius:10px; }
.side-list-body {
    flex: 1 1 auto; overflow-y:auto; padding: 8px;
    min-height: 0;
}
.side-list-body::-webkit-scrollbar { width:6px; }
.side-list-body::-webkit-scrollbar-track { background: transparent; }
.side-list-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,.14); border-radius:3px; }
.side-list-body::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,.26); }
.pl-item {
    display: flex; align-items: center; gap: 12px; padding: 9px 10px;
    border-radius: 10px; cursor: pointer; transition: background .2s ease;
    color: rgba(248,250,252,.82);
}
.pl-item:hover { background: rgba(255,255,255,.08); }
.pl-item.active { background: rgba(244,114,182,.2); color:#fff; }
.pl-thumb {
    width: 40px; height: 40px; border-radius: 9px; flex: none;
    display:flex; align-items:center; justify-content:center; font-weight:800; color:#fff; font-size:15px;
    box-shadow: 0 6px 14px rgba(0,0,0,.22);
}
.pl-meta { flex: 1; min-width: 0; }
.pl-title { font-weight:600; font-size:13.5px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; line-height:1.3; }
.pl-artist { font-size:11.5px; color: rgba(248,250,252,.5); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; margin-top:2px; }
.pl-index { font-size:11px; color: rgba(248,250,252,.38); width:22px; text-align:right; }
.pl-empty { text-align:center; color: rgba(248,250,252,.45); padding: 40px 16px; font-size:13px; line-height:1.7; }

/* ===== 右：主播放区 ===== */
.main-pane {
    display: grid;
    grid-template-rows: minmax(0, 1fr) minmax(0, 1.05fr);
    min-height: 0;
    padding: 28px 36px;
    gap: 18px;
}
/* 上：正在播放 */
.now-playing-wrap { min-height: 0; display: flex; }
.np-row { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; width: 100%; }
.np-artwork { max-width: 240px; flex: none; aspect-ratio: 1; }
.artwork-wrap { position: relative; width: 100%; aspect-ratio: 1; }
.artwork {
    width: 100%; height: 100%;
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.06) inset;
    transition: background .8s ease, transform .6s ease;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    position: relative;
}
.artwork::after {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.35), transparent 55%);
}
.artwork .art-letter {
    font-size: 72px; font-weight: 800; color: rgba(255,255,255,.92);
    text-shadow: 0 4px 20px rgba(0,0,0,.3); position: relative; z-index: 1;
}
.artwork.spinning { animation: artFloat 6s ease-in-out infinite; }
@keyframes artFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }

.np-info { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.track-info .track-title {
    font-size: 24px; font-weight: 800; margin: 0 0 4px; letter-spacing: -0.02em;
    line-height: 1.25; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.track-info .track-artist { color: rgba(248,250,252,.85); font-size: 15px; margin: 0; transition: color .2s ease; cursor: default; }
.track-info .track-artist:hover { color: #fff; }
.track-album { font-size: 12px; color: rgba(248,250,252,.5); margin: 6px 0 0; }

/* 进度条 */
.progress-row { display: flex; flex-direction: column; gap: 7px; }
.progress-bar {
    height: 4px; border-radius: 4px; background: rgba(255,255,255,.16);
    cursor: pointer; position: relative; overflow: hidden;
    transition: height .2s ease;
}
.progress-bar:hover { height: 6px; }
.progress-fill {
    position: absolute; left: 0; top: 0; bottom: 0;
    background: linear-gradient(90deg, #fff, rgba(255,255,255,.85));
    border-radius: 4px; width: 0%;
}
.progress-bar:hover .progress-fill { background: linear-gradient(90deg, #f472b6, #fff); }
.progress-times { display: flex; justify-content: space-between; font-size: 10.5px; color: rgba(248,250,252,.55); font-variant-numeric: tabular-nums; }

/* 底部：控制 + 工具 */
.np-bottom { display: flex; flex-direction: column; gap: 14px; }
.controls { display: flex; align-items: center; justify-content: center; gap: 18px; }
.ctrl-btn {
    background: rgba(255,255,255,.1); border: none; color: #fff;
    width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; transition: all .25s ease; backdrop-filter: blur(6px);
}
.ctrl-btn:hover { background: rgba(255,255,255,.22); transform: scale(1.08); }
.ctrl-btn.active { background: rgba(244,114,182,.35); color: #fff; }
.ctrl-btn.play {
    width: 56px; height: 56px; background: #fff; color: #1e293b; font-size: 22px;
    box-shadow: 0 12px 30px rgba(255,255,255,.28);
}
.ctrl-btn.play:hover { transform: scale(1.06); }

.np-tools { display: grid; grid-template-columns: 160px auto 1fr; align-items: center; gap: 14px; }
.volume-row { display: flex; align-items: center; gap: 8px; color: rgba(248,250,252,.7); }
.volume-bar {
    flex: 1; height: 4px; border-radius: 4px; background: rgba(255,255,255,.18);
    cursor: pointer; position: relative;
}
.volume-fill { position: absolute; left:0; top:0; bottom:0; background:#fff; border-radius:4px; }

.visualizer { display: flex; align-items: flex-end; gap: 3px; height: 20px; justify-content:center; }
.visualizer span {
    width: 3px; background: rgba(255,255,255,.7); border-radius: 2px; height: 4px;
}
.visualizer.on span { animation: viz 1s ease-in-out infinite; }
.visualizer span:nth-child(1){animation-delay:.0s}
.visualizer span:nth-child(2){animation-delay:.15s}
.visualizer span:nth-child(3){animation-delay:.3s}
.visualizer span:nth-child(4){animation-delay:.45s}
.visualizer span:nth-child(5){animation-delay:.2s}
.visualizer span:nth-child(6){animation-delay:.35s}
.visualizer span:nth-child(7){animation-delay:.1s}
@keyframes viz { 0%,100%{height:4px} 50%{height:18px} }

.player-tools { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; }
.player-tools .el-button { background: rgba(255,255,255,.1)!important; border:none!important; color:#fff!important; }
.player-tools .el-button:hover { background: rgba(255,255,255,.22)!important; }

/* 下：歌词 */
.lyrics-pane {
    position: relative; overflow: hidden;
    min-height: 0;
    background: rgba(0,0,0,.16);
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.06);
    mask-image: linear-gradient(to bottom, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 8%, #000 92%, transparent);
}
.lyrics-track {
    position: absolute; left: 0; right: 0; top: 50%;
    transition: transform .6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}
.lrc-line {
    text-align: center; padding: 9px 20px; font-size: 18px; font-weight: 600;
    color: rgba(248,250,252,.3); line-height: 1.6;
    transition: color .45s ease, transform .45s ease, opacity .45s ease, filter .45s ease;
    transform: scale(.95); filter: blur(.3px);
}
.lrc-line.active {
    color: #fff; transform: scale(1.05); filter: blur(0);
    text-shadow: 0 2px 20px rgba(255,255,255,.28);
}
.lrc-line.near { color: rgba(248,250,252,.55); }
.lrc-empty { text-align:center; color: rgba(248,250,252,.5); padding: 60px 20px; font-size:14px; }

.music-section-wrap { padding-bottom: 48px; }

/* ============ 响应式 ============ */
@media (max-width: 1000px) {
    .player-shell { height: auto; max-height: none; }
    .player-inner { grid-template-columns: 1fr; }
    .side-list { max-height: 280px; border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
    .main-pane { grid-template-rows: auto auto; padding: 24px; }
    .lyrics-pane { height: 320px; }
}
@media (max-width: 640px) {
    .np-row { grid-template-columns: 1fr; gap: 18px; text-align:center; }
    .np-artwork { margin: 0 auto; max-width: 180px; }
    .track-info .track-title { font-size: 20px; }
    .np-tools { grid-template-columns: 1fr; gap: 10px; }
    .player-tools { justify-content: center; }
    .main-pane { padding: 20px; }
    .controls { gap: 12px; }
    .ctrl-btn { width: 38px; height: 38px; }
    .ctrl-btn.play { width: 50px; height: 50px; }
    .lyrics-pane { height: 280px; }
    .lrc-line { font-size: 15px; }
}
