@import url('/_external/fonts.googleapis.com/css2__q_83acb632e828.css');

/* ===== 基础 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #070a1c;
    --bg-soft: #0b1030;
    --text: #e7eaff;
    --text-dim: #a8b0d8;
    --text-mute: #6f79a8;
    --cyan: #2bd4ff;
    --purple: #8b5cf6;
    --pink: #ff3d8b;
    --gold: #ffd36e;
    --card-bg: rgba(125, 135, 210, 0.07);
    --card-border: rgba(125, 135, 210, 0.22);
    --radius: 18px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    background-image:
        radial-gradient(900px 500px at 50% -10%, rgba(43, 212, 255, 0.12), transparent 70%),
        radial-gradient(700px 400px at 10% 20%, rgba(139, 92, 246, 0.10), transparent 70%),
        radial-gradient(700px 500px at 90% 70%, rgba(255, 61, 139, 0.08), transparent 70%);
    background-attachment: fixed;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ===== 顶部彩虹条 ===== */
.rainbow-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    z-index: 100;
    background: linear-gradient(90deg, #ff3d8b, #ff8a3d, #ffd36e, #4ade80, #2bd4ff, #8b5cf6, #ff3d8b);
    background-size: 200% 100%;
    animation: rainbowShift 6s linear infinite;
}

@keyframes rainbowShift {
    from { background-position: 0 0; }
    to { background-position: 200% 0; }
}

/* ===== 导航 ===== */
.nav {
    position: fixed;
    top: 8px;
    left: 0;
    right: 0;
    height: 64px;
    z-index: 99;
    background: rgba(7, 10, 28, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(125, 135, 210, 0.18);
}

.nav-inner {
    max-width: 1080px;
    height: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: "ZCOOL KuaiLe", "Noto Sans SC", sans-serif;
    font-size: 26px;
    letter-spacing: 2px;
    background: linear-gradient(120deg, #ffffff, var(--gold), var(--pink), var(--purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
}

.nav-links a {
    font-size: 14px;
    color: var(--text-dim);
    position: relative;
    transition: color 0.25s;
    white-space: nowrap;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--pink));
    transition: width 0.25s;
}

.nav-links a:hover {
    color: #fff;
}

.nav-links a:hover::after {
    width: 100%;
}

/* ===== 滚动跑马条 ===== */
.ticker {
    margin-top: 72px;
    padding: 10px 20px;
    text-align: center;
    font-size: 13px;
    letter-spacing: 2px;
    color: var(--cyan);
    background: rgba(43, 212, 255, 0.06);
    border-bottom: 1px solid rgba(43, 212, 255, 0.15);
    text-shadow: 0 0 12px rgba(43, 212, 255, 0.6);
}

/* ===== 容器 ===== */
.wrap {
    width: 100%;
    max-width: 776px;
    margin: 0 auto;
    padding: 0 16px 60px;
}

/* ===== Hero ===== */
.hero {
    text-align: center;
    padding: 56px 0 40px;
}

.hero-en {
    font-size: 13px;
    letter-spacing: 8px;
    color: var(--text-mute);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.hero-title {
    font-family: "ZCOOL KuaiLe", "Noto Sans SC", sans-serif;
    font-size: 72px;
    line-height: 1.05;
    font-weight: normal;
    letter-spacing: 6px;
    background: linear-gradient(120deg, #ffffff 0%, var(--gold) 30%, var(--pink) 62%, var(--purple) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 24px rgba(255, 61, 139, 0.35));
    margin-bottom: 16px;
}

.hero-sub {
    font-size: 16px;
    color: var(--text-dim);
    margin-bottom: 10px;
}

.hero-sub em {
    font-style: normal;
    color: var(--gold);
}

.hero-line {
    font-size: 15px;
    color: var(--text-mute);
    margin-bottom: 22px;
}

.hero-tags {
    display: inline-block;
    font-size: 13px;
    color: var(--cyan);
    padding: 6px 18px;
    border: 1px solid rgba(43, 212, 255, 0.35);
    border-radius: 999px;
    background: rgba(43, 212, 255, 0.06);
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

/* ===== 按钮 ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    border-radius: 24px;
    background: linear-gradient(120deg, var(--cyan), var(--purple) 55%, var(--pink));
    box-shadow: 0 6px 26px rgba(139, 92, 246, 0.38);
    transition: transform 0.25s, box-shadow 0.25s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 34px rgba(255, 61, 139, 0.45);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    font-size: 15px;
    color: var(--text);
    border-radius: 24px;
    border: 1px solid rgba(125, 135, 210, 0.45);
    background: rgba(125, 135, 210, 0.07);
    transition: border-color 0.25s, background 0.25s;
}

.btn-ghost:hover {
    border-color: var(--cyan);
    background: rgba(43, 212, 255, 0.08);
}

/* ===== 倒计时 ===== */
.countdown {
    padding: 26px 20px;
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    background: var(--card-bg);
    text-align: center;
}

.countdown-label {
    font-size: 13px;
    letter-spacing: 3px;
    color: var(--text-mute);
    margin-bottom: 12px;
}

.countdown-timer {
    font-family: "ZCOOL KuaiLe", "Noto Sans SC", sans-serif;
    font-size: 40px;
    letter-spacing: 3px;
    color: var(--cyan);
    text-shadow: 0 0 22px rgba(43, 212, 255, 0.55);
    margin-bottom: 20px;
}

.countdown-timer span {
    font-size: 14px;
    letter-spacing: 0;
    color: var(--text-mute);
    margin: 0 3px;
    text-shadow: none;
}

/* ===== 数据统计 ===== */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin: 34px 0 10px;
}

.stat {
    text-align: center;
    padding: 20px 8px;
    border: 1px solid var(--card-border);
    border-radius: 14px;
    background: var(--card-bg);
}

.stat-num {
    font-family: "ZCOOL KuaiLe", "Noto Sans SC", sans-serif;
    font-size: 30px;
    color: var(--gold);
    line-height: 1.2;
    text-shadow: 0 0 16px rgba(255, 211, 110, 0.4);
}

.stat-num small {
    font-size: 13px;
    color: var(--text-dim);
    margin-left: 2px;
}

.stat-label {
    font-size: 12px;
    color: var(--text-mute);
    letter-spacing: 1px;
    margin-top: 4px;
}

/* ===== 区块标题 ===== */
.section {
    padding-top: 56px;
    scroll-margin-top: 90px;
}

.section-en {
    text-align: center;
    font-size: 12px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--text-mute);
    margin-bottom: 6px;
}

.section-title {
    font-family: "ZCOOL KuaiLe", "Noto Sans SC", sans-serif;
    text-align: center;
    font-size: 34px;
    font-weight: normal;
    letter-spacing: 2px;
    line-height: 1.3;
    background: linear-gradient(120deg, #ffffff, var(--cyan) 50%, var(--purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.section-desc {
    text-align: center;
    font-size: 13px;
    color: var(--text-mute);
    margin-bottom: 30px;
}

/* ===== 版本特色 ===== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.feature-card {
    padding: 22px;
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    background: var(--card-bg);
    transition: transform 0.28s, border-color 0.28s, background 0.28s;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(43, 212, 255, 0.55);
    background: rgba(43, 212, 255, 0.06);
}

.feature-icon {
    font-size: 22px;
    margin-bottom: 10px;
}

.feature-kicker {
    font-size: 12px;
    color: var(--cyan);
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.feature-name {
    font-family: "ZCOOL KuaiLe", "Noto Sans SC", sans-serif;
    font-size: 24px;
    letter-spacing: 1px;
    color: #fff;
    margin-bottom: 10px;
}

.feature-text {
    font-size: 13.5px;
    line-height: 1.8;
    color: var(--text-dim);
}

/* ===== 开服福利 ===== */
.benefit-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.benefit-card {
    padding: 24px;
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    background: var(--card-bg);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--cyan), var(--purple), var(--pink));
}

.benefit-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.benefit-tag {
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 6px;
    color: var(--cyan);
    background: rgba(43, 212, 255, 0.1);
    border: 1px solid rgba(43, 212, 255, 0.28);
    letter-spacing: 1px;
}

.benefit-name {
    font-family: "ZCOOL KuaiLe", "Noto Sans SC", sans-serif;
    font-size: 22px;
    color: #fff;
    letter-spacing: 1px;
}

.benefit-line {
    font-size: 13px;
    color: var(--text-dim);
    margin-bottom: 4px;
}

.benefit-items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
    margin-top: 12px;
}

.benefit-items span {
    font-size: 13px;
    padding: 5px 12px;
    border-radius: 8px;
    color: var(--gold);
    background: rgba(255, 211, 110, 0.07);
    border: 1px solid rgba(255, 211, 110, 0.22);
}

/* ===== 职业介绍（翻转卡） ===== */
.class-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.class-card {
    height: 190px;
    perspective: 1200px;
    cursor: pointer;
}

.class-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.4, 0.2, 0.2, 1);
}

.class-card.flipped .class-inner {
    transform: rotateY(180deg);
}

.class-front,
.class-back {
    position: absolute;
    inset: 0;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    background: var(--card-bg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 18px;
}

.class-front {
    background: linear-gradient(160deg, rgba(139, 92, 246, 0.14), rgba(43, 212, 255, 0.06));
}

.class-char {
    font-family: "ZCOOL KuaiLe", "Noto Sans SC", sans-serif;
    font-size: 34px;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 8px;
    text-shadow: 0 0 16px rgba(255, 211, 110, 0.35);
}

.class-name {
    font-family: "ZCOOL KuaiLe", "Noto Sans SC", sans-serif;
    font-size: 24px;
    letter-spacing: 1px;
    color: #fff;
    margin-bottom: 4px;
}

.class-en {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-mute);
    margin-bottom: 10px;
}

.class-tagline {
    font-size: 12.5px;
    color: var(--cyan);
    letter-spacing: 1px;
}

.class-back {
    transform: rotateY(180deg);
    padding: 22px;
    justify-content: center;
    background: linear-gradient(160deg, rgba(43, 212, 255, 0.1), rgba(255, 61, 139, 0.08));
}

.class-back .class-back-name {
    font-family: "ZCOOL KuaiLe", "Noto Sans SC", sans-serif;
    font-size: 18px;
    color: var(--gold);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.class-back p {
    font-size: 12.5px;
    line-height: 1.8;
    color: var(--text-dim);
    text-align: left;
}

/* ===== 游戏公告 ===== */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.news-item {
    padding: 18px 20px;
    border: 1px solid var(--card-border);
    border-radius: 14px;
    background: var(--card-bg);
    transition: border-color 0.25s, background 0.25s;
}

.news-item:hover {
    border-color: rgba(43, 212, 255, 0.5);
    background: rgba(43, 212, 255, 0.05);
}

.news-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.news-type {
    font-size: 12px;
    padding: 2px 9px;
    border-radius: 5px;
    color: #ffb3cd;
    background: rgba(255, 61, 139, 0.12);
    border: 1px solid rgba(255, 61, 139, 0.3);
}

.news-type.notice {
    color: var(--cyan);
    background: rgba(43, 212, 255, 0.1);
    border-color: rgba(43, 212, 255, 0.3);
}

.news-type.update {
    color: var(--gold);
    background: rgba(255, 211, 110, 0.1);
    border-color: rgba(255, 211, 110, 0.3);
}

.news-title {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}

.news-date {
    margin-left: auto;
    font-size: 12px;
    color: var(--text-mute);
}

.news-body {
    font-size: 13px;
    line-height: 1.8;
    color: var(--text-dim);
}

/* ===== 下载中心 ===== */
.download-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.download-card {
    padding: 24px 18px;
    text-align: center;
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    background: var(--card-bg);
    display: flex;
    flex-direction: column;
    transition: border-color 0.25s, transform 0.25s;
}

.download-card:hover {
    border-color: rgba(43, 212, 255, 0.55);
    transform: translateY(-3px);
}

.download-badge {
    align-self: center;
    font-size: 11px;
    padding: 2px 9px;
    border-radius: 5px;
    color: #fff;
    background: linear-gradient(120deg, var(--cyan), var(--purple));
    margin-bottom: 10px;
}

.download-icon {
    font-size: 26px;
    margin-bottom: 8px;
}

.download-name {
    font-family: "ZCOOL KuaiLe", "Noto Sans SC", sans-serif;
    font-size: 20px;
    color: #fff;
    margin-bottom: 8px;
}

.download-text {
    font-size: 12.5px;
    line-height: 1.7;
    color: var(--text-mute);
    margin-bottom: 16px;
    flex: 1;
}

.download-btn {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    padding: 9px 16px;
    border-radius: 20px;
    background: linear-gradient(120deg, var(--cyan), var(--purple));
    transition: opacity 0.2s;
}

.download-btn:hover {
    opacity: 0.85;
}

/* ===== 攻略 = ===== */
.guide-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 20px;
    gap: 12px;
}

.guide-head .section-title {
    text-align: left;
    margin-bottom: 0;
}

.guide-more {
    font-size: 13px;
    color: var(--cyan);
    white-space: nowrap;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.guide-link {
    display: block;
    padding: 12px 14px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-dim);
    border: 1px solid rgba(125, 135, 210, 0.16);
    border-radius: 10px;
    background: rgba(125, 135, 210, 0.04);
    transition: all 0.25s;
}

.guide-link::before {
    content: '›';
    color: var(--cyan);
    margin-right: 6px;
}

.guide-link:hover {
    color: #fff;
    border-color: rgba(43, 212, 255, 0.5);
    background: rgba(43, 212, 255, 0.07);
    transform: translateX(3px);
}

/* ===== 页脚 ===== */
.footer {
    margin-top: 70px;
    padding: 40px 20px 50px;
    border-top: 1px solid rgba(125, 135, 210, 0.18);
    background: rgba(11, 16, 48, 0.6);
    text-align: center;
}

.footer-title {
    font-family: "ZCOOL KuaiLe", "Noto Sans SC", sans-serif;
    font-size: 24px;
    letter-spacing: 2px;
    background: linear-gradient(120deg, #ffffff, var(--gold), var(--pink));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 18px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
    color: var(--text-dim);
    margin-bottom: 18px;
}

.footer-contact a {
    color: var(--cyan);
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
    font-size: 12.5px;
    color: var(--text-mute);
    margin-bottom: 16px;
}

.footer-links a:hover {
    color: var(--cyan);
}

.footer-copy {
    font-size: 12px;
    color: var(--text-mute);
    line-height: 1.8;
}

/* ===== 内页通用 ===== */
.page-head {
    padding: 48px 0 10px;
    text-align: center;
}

.page-title {
    font-family: "ZCOOL KuaiLe", "Noto Sans SC", sans-serif;
    font-size: 40px;
    font-weight: normal;
    letter-spacing: 2px;
    background: linear-gradient(120deg, #ffffff, var(--cyan) 55%, var(--purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.page-sub {
    font-size: 13px;
    color: var(--text-mute);
    margin-bottom: 20px;
}

.breadcrumb {
    font-size: 12.5px;
    color: var(--text-mute);
    padding: 20px 0 0;
}

.breadcrumb a {
    color: var(--cyan);
}

/* ===== 音乐插件 ===== */
.music-player {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 79;
}

.music-player.open {
    z-index: 81;
}

.music-player button,
.music-player input {
    font-family: inherit;
}

.music-disc {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    color: #0a0e22;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px -6px rgba(43, 212, 255, .8);
    transition: transform .3s;
    position: relative;
}

.music-disc:hover {
    transform: scale(1.08);
}

.music-disc svg {
    width: 22px;
    height: 22px;
}

.music-disc::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px dashed rgba(43, 212, 255, .5);
    opacity: 0;
    transition: opacity .3s;
}

.music-player.playing .music-disc::after {
    opacity: 1;
    animation: mDiscSpin 6s linear infinite;
}

@keyframes mDiscSpin {
    to { transform: rotate(360deg); }
}

.music-panel {
    position: absolute;
    left: 0;
    bottom: 60px;
    width: 300px;
    background: linear-gradient(160deg, rgba(20, 24, 60, .55), rgba(13, 16, 48, .75));
    border: 1px solid var(--card-border);
    border-radius: 18px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 18px 60px -20px rgba(0, 0, 0, .7);
    padding: 16px;
    transform: translateY(16px) scale(.96);
    opacity: 0;
    visibility: hidden;
    transition: all .35s ease;
    transform-origin: bottom left;
}

.music-player.open .music-panel {
    transform: none;
    opacity: 1;
    visibility: visible;
}

.music-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.music-meta {
    min-width: 0;
    flex: 1;
}

.music-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.music-artist {
    font-size: 12px;
    color: var(--text-mute);
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.music-list-toggle {
    background: rgba(125, 135, 210, .12);
    border: 1px solid var(--card-border);
    color: var(--text-dim);
    width: 30px;
    height: 30px;
    border-radius: 9px;
    cursor: pointer;
    font-size: 14px;
    flex: none;
    transition: all .25s;
}

.music-list-toggle:hover,
.music-list-toggle.active {
    color: var(--cyan);
    border-color: var(--cyan);
}

.music-progress {
    height: 6px;
    border-radius: 3px;
    background: rgba(125, 135, 210, .18);
    margin: 14px 0 6px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.music-progress-cur {
    height: 100%;
    width: 0;
    border-radius: 3px;
    background: linear-gradient(115deg, var(--cyan) 0%, var(--purple) 35%, var(--pink) 70%, #7dff9b 100%);
    transition: width .2s linear;
}

.music-times {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--text-mute);
    font-family: ui-monospace, "Consolas", monospace;
}

.music-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
}

.music-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--card-border);
    background: rgba(125, 135, 210, .1);
    color: var(--text);
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .25s;
    flex: none;
}

.music-btn:hover {
    border-color: var(--cyan);
    color: var(--cyan);
}

.music-btn-play {
    width: 44px;
    height: 44px;
    font-size: 16px;
    border: none;
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    color: #0a0e22;
    box-shadow: 0 6px 22px -6px rgba(43, 212, 255, .8);
}

.music-vol {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    min-width: 0;
    margin-left: auto;
}

.music-vol span {
    font-size: 13px;
}

.music-vol input[type="range"] {
    flex: 1;
    min-width: 0;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(125, 135, 210, .25);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

.music-vol input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 8px rgba(43, 212, 255, .8);
}

.music-list {
    max-height: 180px;
    overflow-y: auto;
    margin-top: 12px;
    border-top: 1px solid var(--card-border);
    padding-top: 10px;
    display: none;
}

.music-player.list-open .music-list {
    display: block;
}

.music-list-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 13px;
    color: var(--text-dim);
    transition: all .2s;
}

.music-list-item:hover {
    background: rgba(125, 135, 210, .12);
    color: var(--text);
}

.music-list-item.active {
    background: linear-gradient(115deg, rgba(43, 212, 255, .25), rgba(139, 92, 246, .25), rgba(255, 61, 139, .25));
    color: var(--cyan);
}

.music-list-item .mli-idx {
    font-family: ui-monospace, "Consolas", monospace;
    font-size: 11px;
    color: var(--text-mute);
    flex: none;
    width: 18px;
}

.music-list-item .mli-name {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.music-list-empty {
    font-size: 12px;
    color: var(--text-mute);
    text-align: center;
    padding: 12px 0;
}

/* 自动播放被浏览器拦截时：唱片脉冲提示访客点击 */
.music-player.need-click .music-disc {
    animation: mDiscPulse 1.5s ease-in-out infinite;
}

@keyframes mDiscPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 30px -6px rgba(43, 212, 255, .8);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 8px 42px -2px rgba(43, 212, 255, 1), 0 0 0 6px rgba(43, 212, 255, .18);
    }
}

/* ===== 响应式 ===== */
@media (max-width: 640px) {
    .nav-links {
        gap: 14px;
    }

    .nav-links a {
        font-size: 12px;
    }

    .nav-links a:nth-child(2),
    .nav-links a:nth-child(4) {
        display: none;
    }

    .hero-title {
        font-size: 54px;
    }

    .feature-grid,
    .class-grid,
    .guide-grid {
        grid-template-columns: 1fr;
    }

    .download-grid {
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .countdown-timer {
        font-size: 30px;
    }

    .section-title {
        font-size: 28px;
    }

    .music-panel {
        width: calc(100vw - 40px);
    }
}
