/* ============================================================
   Iceuu · 全息频谱（Holographic Spectrum）
   设计语言：
     1. 青紫双色 —— 青 #35E9FF 是主色（数据 / 状态 / 主读数）
                     紫 #B07CFF 是副色（结构 / 投影 / 第二层信息）
     2. 半透明分层 —— 面板即"投影面"：低透明度底 + 顶光带 + 背景网格透出
     3. 色差描边 —— 大字号用"青左 / 紫右"的偏移阴影，模拟全息重影
     4. 投影层叠 —— 内青边 + 外紫框（outline-offset） + 青紫双辉光
     5. 严格秩序 —— 1px 发丝线、等宽数字、小圆角，装饰必须是可读信息
   ============================================================ */

@font-face {
    font-family: "b";
    src: url(../fonts/Ubuntu-Regular.woff2) format('woff2'),
         url(../fonts/Ubuntu-Regular.ttf) format('truetype');
    font-display: swap;
}

@font-face {
    font-family: "title";
    src: url(../fonts/Pacifico-Regular.ttf) format('truetype');
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

button, .iconItem, .projectItem, .left-tag-item, .left-div, .left-des-item,
.weather-item, .song-title, .song-artist, .widget-time, .widget-date,
#weather-clock-widget, #music-player, .record-player, .tanChiShe,
.corner-decoration, .floating-line, #lyrics-display, .title, footer,
.hud-kicker {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

html {
    height: 100%;
    width: 100%;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow: hidden;
}

body {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    font-family: var(--font-body);
    background: transparent;
    color: var(--text);
    transition: color 0.1s ease;
}

a:hover, a:link, a:visited, a:active, a:focus {
    text-decoration: none;
    outline: none;
    border: none;
    color: inherit;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-thumb {
    background-color: rgba(176, 124, 255, 0.20);
    border-radius: 1px;
}
::-webkit-scrollbar-thumb:hover {
    background-color: var(--line-violet);
}
::-webkit-scrollbar-track {
    background-color: transparent;
}

/* ============================================================
   1. 背景层：青紫双光域 + 网格 + 全息扫描
   ============================================================ */

.Iceuu-background-container {
    position: fixed;
    inset: 0;
    z-index: -10;
    overflow: hidden;
    background: var(--bg-dark);
}

#particle-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* 青紫双光域 + 坐标网格：中心清晰、边缘隐没 */
.Iceuu-background-container::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        radial-gradient(ellipse 72% 56% at 18% 8%,  rgba(53, 233, 255, 0.085), transparent 62%),
        radial-gradient(ellipse 64% 54% at 88% 92%, rgba(176, 124, 255, 0.105), transparent 64%),
        radial-gradient(ellipse 46% 40% at 68% 14%, rgba(176, 124, 255, 0.055), transparent 70%),
        var(--hud-grid);
    -webkit-mask-image: radial-gradient(ellipse 80% 74% at 50% 46%, #000 28%, transparent 100%);
    mask-image: radial-gradient(ellipse 80% 74% at 50% 46%, #000 28%, transparent 100%);
}

/* 暗角 + 底部全息辉光：把视觉重心压回中间 */
.Iceuu-background-container::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background:
        radial-gradient(ellipse 130% 96% at 50% 46%, transparent 30%, rgba(3, 4, 12, 0.90) 100%),
        linear-gradient(to top, rgba(176, 124, 255, 0.06), transparent 26%);
}

/* 扫描线：4 条自上而下扫过，青紫同轴 */
.floating-lines {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 4;
    overflow: hidden;
}

.floating-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 2%,
        rgba(53, 233, 255, 0.28) 34%,
        rgba(206, 152, 255, 0.44) 50%,
        rgba(53, 233, 255, 0.28) 66%,
        transparent 98%);
    box-shadow:
        0 0 12px rgba(53, 233, 255, 0.35),
        0 0 24px rgba(176, 124, 255, 0.25);
    opacity: 0;
    will-change: transform, opacity;
    animation: hud-sweep 9s linear infinite;
}

.floating-line:nth-child(1) { animation-delay: 0s; }
.floating-line:nth-child(2) { animation-delay: 2.25s; }
.floating-line:nth-child(3) { animation-delay: 4.5s; }
.floating-line:nth-child(4) { animation-delay: 6.75s; }

@keyframes hud-sweep {
    0%   { transform: translateY(-4vh); opacity: 0; }
    10%  { opacity: 0.6; }
    88%  { opacity: 0.6; }
    100% { transform: translateY(104vh); opacity: 0; }
}

/* 四角定位框：对角分色（左上/右下青，右上/左下紫） */
.corner-decoration {
    position: fixed;
    width: 44px;
    height: 44px;
    z-index: 5;
    pointer-events: none;
    opacity: 0.6;
}

.corner-decoration::before,
.corner-decoration::after {
    content: '';
    position: absolute;
    background: var(--accent-2);
    box-shadow: 0 0 10px rgba(176, 124, 255, 0.45);
}

.corner-tl::before, .corner-tl::after,
.corner-br::before, .corner-br::after {
    background: var(--accent);
    box-shadow: 0 0 10px rgba(53, 233, 255, 0.5);
}

.corner-tl { top: 18px; left: 18px; }
.corner-tr { top: 18px; right: 18px; }
.corner-bl { bottom: 18px; left: 18px; }
.corner-br { bottom: 18px; right: 18px; }

.corner-tl::before { width: 26px; height: 1px; top: 0; left: 0; }
.corner-tl::after  { width: 1px; height: 26px; top: 0; left: 0; }
.corner-tr::before { width: 26px; height: 1px; top: 0; right: 0; }
.corner-tr::after  { width: 1px; height: 26px; top: 0; right: 0; }
.corner-bl::before { width: 26px; height: 1px; bottom: 0; left: 0; }
.corner-bl::after  { width: 1px; height: 26px; bottom: 0; left: 0; }
.corner-br::before { width: 26px; height: 1px; bottom: 0; right: 0; }
.corner-br::after  { width: 1px; height: 26px; bottom: 0; right: 0; }

/* ============================================================
   2. 开机过场
   ============================================================ */

#Iceuu-loading {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: var(--bg-darker);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    opacity: 1;
    pointer-events: none;
    transition: opacity 0.45s ease;
}

#Iceuu-loading::before {
    content: '';
    position: absolute;
    inset: 24px;
    border: 1px solid var(--line-hair);
    pointer-events: none;
}

#Iceuu-loading-center {
    position: relative;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: 1px solid var(--line-1);
    border-top-color: var(--accent);
    border-right-color: var(--accent-2);
    box-shadow:
        0 0 24px rgba(53, 233, 255, 0.22),
        inset 0 0 16px rgba(176, 124, 255, 0.14);
    animation: spin 1.1s linear infinite;
}

#Iceuu-loading-center::before,
#Iceuu-loading-center::after {
    content: '';
    position: absolute;
    background: var(--line-violet);
}

#Iceuu-loading-center::before {
    left: 50%;
    top: -6px;
    width: 1px;
    height: 7px;
    transform: translateX(-50%);
}

#Iceuu-loading-center::after {
    top: 50%;
    left: -6px;
    height: 1px;
    width: 7px;
    transform: translateY(-50%);
}

.loading-text {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--text-dim);
    animation: pulse-text 1.8s ease-in-out infinite;
}

.loading-bar {
    width: 190px;
    height: 1px;
    background: var(--line-hair);
    overflow: hidden;
}

.loading-bar > span {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--accent-dim), var(--accent) 46%, var(--accent-2));
    box-shadow: 0 0 12px rgba(53, 233, 255, 0.5);
    animation: boot-fill 1.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes boot-fill {
    to { width: 100%; }
}

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

@keyframes pulse-text {
    0%, 100% { opacity: 0.45; }
    50%      { opacity: 1; }
}

.Iceuu-filter { display: none; }

/* ============================================================
   3. 主布局
   ============================================================ */

.Iceuu-main {
    width: 100%;
    height: 100vh;
    margin: 0 auto;
    max-width: 1150px;
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.Iceuu-left {
    overflow-y: scroll;
    width: 230px;
    height: 100vh;
    display: flex;
    padding: 0 15px;
    position: sticky;
    top: 0;
    left: 0;
    align-items: center;
    flex-direction: column;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    will-change: scroll-position;
    transform: translateZ(0);
}

.Iceuu-left::-webkit-scrollbar { display: none; }

/* 头像：青实环 + 紫虚环 + 十字刻线，全息头显的取景器 */
.logo {
    flex-shrink: 0;
    width: 86%;
    position: relative;
    aspect-ratio: 1/1;
    margin-top: 46px;
    background-size: cover;
    border-radius: 50%;
    border: 1px solid rgba(53, 233, 255, 0.38);
    box-shadow:
        0 0 0 6px rgba(53, 233, 255, 0.045),
        0 0 26px rgba(176, 124, 255, 0.20),
        var(--edge-top),
        var(--depth-card);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 0.7s ease-out;
}

.logo::before {
    content: '';
    position: absolute;
    inset: -9px;
    border-radius: 50%;
    border: 1px dashed rgba(176, 124, 255, 0.30);
    animation: slow-rotate 26s linear infinite;
    pointer-events: none;
}

.logo::after {
    content: '';
    position: absolute;
    inset: -15px;
    border-radius: 50%;
    background:
        linear-gradient(var(--accent), var(--accent)) center top    / 1px 7px no-repeat,
        linear-gradient(var(--accent), var(--accent)) center bottom / 1px 7px no-repeat,
        linear-gradient(var(--accent-2), var(--accent-2)) left   center / 7px 1px no-repeat,
        linear-gradient(var(--accent-2), var(--accent-2)) right  center / 7px 1px no-repeat;
    opacity: 0.6;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.logo:hover {
    border-color: var(--line-accent-hi);
    box-shadow:
        0 0 0 6px rgba(53, 233, 255, 0.08),
        0 0 34px rgba(176, 124, 255, 0.32),
        var(--edge-top),
        var(--depth-card);
}

.logo:hover::after { opacity: 1; }

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

/* --- 通用面板：内青边 + 外紫框（投影层叠） + 顶光带 --- */
.left-div {
    flex-shrink: 0;
    width: 100%;
    margin-top: 12px;
    padding: 16px;
    border-radius: var(--r-md);
    border: 1px solid rgba(53, 233, 255, 0.20);
    outline: 1px solid rgba(176, 124, 255, 0.13);
    outline-offset: 5px;
    background: var(--hud-corners), var(--holo-sheen), var(--panel-base);
    backdrop-filter: var(--glass-effect);
    -webkit-backdrop-filter: var(--glass-effect);
    box-shadow: var(--edge-top), var(--edge-holo), var(--depth-card);
    transition: border-color 0.3s ease, outline-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    position: relative;
    animation: fadeInLeft 0.7s ease-out both;
}

.left-div:nth-child(2) { animation-delay: 0.08s; }
.left-div:nth-child(3) { animation-delay: 0.16s; }
.left-div:nth-child(4) { animation-delay: 0.24s; }
.left-div:nth-child(5) { animation-delay: 0.32s; }

.left-div:hover {
    background: var(--hud-corners-hi), var(--holo-sheen), var(--panel-base-hi);
    border-color: var(--line-accent);
    outline-color: rgba(176, 124, 255, 0.32);
    transform: translateY(-2px);
    box-shadow: var(--edge-top), var(--edge-holo), var(--depth-pop);
}

/* 地区 */
.left-des {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.left-des-item {
    display: flex;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.06em;
    color: var(--text);
    overflow: hidden;
}

.left-des-item i,
.left-des-item svg {
    width: 14px;
    height: 14px;
    fill: var(--accent);
    font-size: 14px;
    margin-right: 9px;
    opacity: 0.9;
    filter: drop-shadow(0 0 5px rgba(53, 233, 255, 0.5));
}

/* 技能标签：全息芯片 */
.left-tag {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 5px;
    padding: 13px;
}

.left-tag-item {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 24px;
    padding: 0 9px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.05em;
    color: var(--text-dim);
    border-radius: var(--r-sm);
    background: rgba(176, 124, 255, 0.045);
    border: 1px solid rgba(184, 206, 255, 0.12);
    transition: color 0.24s ease, border-color 0.24s ease, background-color 0.24s ease, box-shadow 0.24s ease;
    position: relative;
    overflow: hidden;
    cursor: none;
}

.left-tag-item::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--holo-grad-line);
    transform: scaleY(0);
    transition: transform 0.28s ease;
}

.left-tag-item:hover {
    color: var(--accent);
    background: var(--accent-soft);
    border-color: var(--line-accent);
    box-shadow: 0 0 14px rgba(53, 233, 255, 0.18);
}

.left-tag-item:hover::after { transform: scaleY(1); }

/* --- 时间线：等宽编号 + 竖轨 + 节点 --- */
#line {
    width: 100%;
    height: 200px;
    padding-left: 0;
    list-style: none;
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    will-change: scroll-position;
    transform: translateZ(0);
    counter-reset: tl;
}

#line::-webkit-scrollbar { display: none; }

#line li {
    list-style: none;
    position: relative;
    padding: 13px 8px 13px 44px;
    border-radius: 0;
    scroll-snap-align: end;
    color: var(--text-dim);
    transition: color 0.28s ease;
    counter-increment: tl;
}

#line li::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, rgba(53, 233, 255, 0.22), rgba(176, 124, 255, 0.22));
}

#line li:last-child::before { display: none; }

#line li::after {
    content: counter(tl, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 13px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.08em;
    color: var(--text-faint);
    transition: color 0.28s ease, text-shadow 0.28s ease;
}

#line li > div:nth-child(2) {
    font-size: 13px;
    line-height: 1.4;
    color: var(--text);
    transition: color 0.28s ease;
}

#line li > div:nth-child(3) {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.05em;
    color: var(--text-faint);
    margin-top: 4px;
    transition: color 0.28s ease;
}

#line li:hover > div:nth-child(2) { color: var(--text-hi); }
#line li:hover::after {
    color: var(--accent);
    text-shadow: 0 0 10px rgba(53, 233, 255, 0.6);
}
#line li:hover > div:nth-child(3) { color: var(--text-dim); }

.focus {
    position: absolute;
    left: 27px;
    top: 17px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 1px solid var(--line-2);
    transition: background-color 0.28s ease, border-color 0.28s ease;
}

#line li:first-child .focus {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 10px rgba(53, 233, 255, 0.8);
    animation: node-pulse 2.2s ease-in-out infinite;
}

#line li:hover .focus {
    background: var(--accent-2);
    border-color: var(--accent-2);
    box-shadow: 0 0 10px rgba(176, 124, 255, 0.8);
}

@keyframes node-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(53, 233, 255, 0.55); }
    50%      { box-shadow: 0 0 0 5px rgba(53, 233, 255, 0); }
}

/* 运行天数读数 */
.left-website-time p {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-faint);
    line-height: 1.3;
}

#website-uptime {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0;
    color: var(--accent);
    margin: 0 3px;
    vertical-align: -2px;
    text-shadow: -1px 0 rgba(53, 233, 255, 0.5), 1px 0 rgba(176, 124, 255, 0.45);
}

/* ============================================================
   4. 右栏
   ============================================================ */

.Iceuu-right {
    width: calc(100% - 230px - 220px);
    display: flex;
    padding: 20px;
    padding-bottom: 54px;
    position: relative;
    flex-direction: column;
}

.Iceuu-right header { animation: fadeInRight 0.7s ease-out; }
.Iceuu-right main   { animation: fadeInUp 0.7s ease-out 0.18s both; }

/* 状态条 */
.hud-kicker {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 28px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-dim);
}

.hud-dot {
    width: 6px;
    height: 6px;
    border-radius: 1px;
    background: var(--ok);
    box-shadow: 0 0 8px rgba(79, 224, 168, 0.75);
    animation: hud-blink 2.6s ease-in-out infinite;
}

.hud-sep { color: var(--text-faint); }

@keyframes hud-blink {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.35; }
}

.welcome {
    font-family: var(--font-hero);
    font-size: 52px;
    font-weight: 300;
    margin: 14px 0 0;
    letter-spacing: -0.022em;
    line-height: 1.04;
    color: var(--text-hi);
}

/* 姓名：青紫渐变 + 发光 + 轻微色差（全息招牌） */
.name {
    font-family: var(--font-brand);
    font-weight: 400;
    letter-spacing: 0.005em;
    background-image: var(--holo-grad);
    background-size: 220% 100%;
    background-position: 0% 50%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    filter:
        drop-shadow(-1.5px 0 0 rgba(53, 233, 255, 0.55))
        drop-shadow(1.5px 0 0 rgba(200, 120, 255, 0.50))
        drop-shadow(0 0 20px rgba(53, 233, 255, 0.42))
        drop-shadow(0 0 34px rgba(160, 110, 255, 0.28));
    animation: holo-shift 9s ease-in-out infinite;
}

@keyframes holo-shift {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

.description {
    font-size: 13px;
    font-family: var(--font-mono);
    line-height: 1.75;
    color: var(--text-dim);
    margin-top: 16px;
    padding-left: 14px;
    border-left: 1px solid transparent;
    border-image: var(--holo-grad-line) 1;
    max-width: 100%;
}

.purpleText {
    color: var(--accent-2);
    font-weight: 700;
}

.textBackground {
    font-weight: 700;
    background: var(--bg-inset);
    border-radius: var(--r-sm);
    font-size: 13px;
    margin: 0 3px;
    padding: 2px 5px;
}

/* --- 社交按钮 --- */
.iconContainer {
    width: 100%;
    height: 52px;
    display: flex;
    align-items: center;
    overflow-x: scroll;
    margin-top: 20px;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    will-change: scroll-position;
    transform: translateZ(0);
}

.iconContainer::-webkit-scrollbar { display: none; }

.iconItem {
    width: 46px;
    height: 38px;
    box-sizing: border-box;
    border-radius: var(--r-sm);
    display: flex;
    margin-left: 10px;
    background: rgba(176, 124, 255, 0.05);
    align-items: center;
    justify-content: center;
    transition: width 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0;
    border: 1px solid rgba(184, 206, 255, 0.13);
    position: relative;
    overflow: hidden;
    cursor: none;
}

.iconItem:hover {
    width: 96px;
    background: var(--accent-soft);
    border-color: var(--line-accent);
    color: var(--accent);
    box-shadow: 0 0 20px rgba(53, 233, 255, 0.22);
}

.iconItem i,
.iconItem svg {
    width: 18px;
    height: 18px;
    fill: var(--accent);
    font-size: 18px;
    margin-right: 3px;
    opacity: 0.9;
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.iconItem:hover i,
.iconItem:hover svg {
    opacity: 1;
    filter: drop-shadow(0 0 6px rgba(53, 233, 255, 0.6));
}

.iconTip {
    display: none;
    white-space: nowrap;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.iconItem:hover .iconTip { display: block; }

.tanChiShe {
    width: 82%;
    margin-top: 4px;
    opacity: 0.88;
    filter: drop-shadow(0 0 14px rgba(53, 233, 255, 0.22));
}

.tanChiShe img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- 分区标题：编号 + 图标 + 名称 + 延伸线 --- */
.title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 26px 0 12px;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-hi);
}

.title-idx {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.08em;
    color: var(--accent);
    padding: 2px 5px;
    border: 1px solid rgba(53, 233, 255, 0.45);
    box-shadow: 0 0 12px rgba(53, 233, 255, 0.18), inset 0 0 10px rgba(176, 124, 255, 0.10);
    border-radius: 2px;
    line-height: 1.4;
}

/* 色差描边：青左紫右，全息重影 */
.title-text {
    white-space: nowrap;
    text-shadow:
        -0.8px 0 rgba(53, 233, 255, 0.50),
        0.8px 0 rgba(176, 124, 255, 0.45);
}

.title-rule {
    flex: 1;
    height: 1px;
    min-width: 20px;
    margin-left: 2px;
    background: linear-gradient(90deg, rgba(53, 233, 255, 0.30), rgba(176, 124, 255, 0.18) 40%, transparent);
}

.title i,
.title svg {
    height: 17px;
    width: 17px;
    fill: var(--accent);
    opacity: 0.95;
    transition: opacity 0.3s ease, filter 0.3s ease;
    filter: drop-shadow(0 0 7px rgba(53, 233, 255, 0.45));
}

.title:hover i,
.title:hover svg { opacity: 1; }

/* --- 站点卡片：全息分层 --- */
.projectList {
    display: flex;
    flex-wrap: wrap;
    counter-reset: pidx;
}

.projectItem {
    position: relative;
    margin: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    height: 100px;
    width: calc(25% - 16px);
    border-radius: var(--r-md);
    border: 1px solid rgba(53, 233, 255, 0.17);
    background: var(--hud-corners), var(--holo-sheen), var(--panel-solid);
    backdrop-filter: var(--glass-effect);
    -webkit-backdrop-filter: var(--glass-effect);
    box-shadow:
        2px 2px 0 rgba(176, 124, 255, 0.09),
        var(--edge-top),
        var(--edge-holo),
        var(--depth-card);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    overflow: hidden;
    cursor: none;
    counter-increment: pidx;
}

.projectItem::after {
    content: counter(pidx, decimal-leading-zero);
    position: absolute;
    top: 7px;
    left: 9px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    color: var(--text-faint);
    transition: color 0.3s ease, text-shadow 0.3s ease;
    pointer-events: none;
}

/* 左缘扫描高光 */
.projectItem::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--accent), var(--accent-2), transparent);
    transform: scaleY(0);
    transition: transform 0.36s ease;
    pointer-events: none;
}

.projectItem:hover {
    border-color: var(--line-accent);
    background: var(--hud-corners-hi), var(--holo-sheen), var(--panel-base-hi);
    box-shadow:
        2px 2px 0 rgba(176, 124, 255, 0.20),
        var(--edge-top),
        var(--edge-holo),
        var(--depth-pop);
    transform: translateY(-3px);
}

.projectItem:hover::before { transform: scaleY(1); }
.projectItem:hover::after {
    color: var(--accent);
    text-shadow: 0 0 10px rgba(53, 233, 255, 0.6);
}

.projectItem.pressed {
    transform: scale(0.97);
    background: var(--hud-corners-hi), var(--holo-sheen), linear-gradient(180deg, rgba(53, 233, 255, 0.12), rgba(8, 10, 26, 0.80));
}

.projectItem:hover .projectItemLeft { width: 100%; }

.projectItemLeft h1 {
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    color: var(--text);
}

.projectItem:hover .projectItemLeft h1 {
    color: var(--accent);
    text-shadow: 0 0 12px rgba(53, 233, 255, 0.5);
}

.projectItemLeft p {
    font-family: var(--font-mono);
    font-size: 11px;
    margin-top: 10px;
    color: var(--text-faint);
    line-height: 1.4;
}

.projectItemLeft {
    transition: width 0.4s ease;
    height: 100%;
    width: 80%;
}

/* --- 技术栈 --- */
.skill {
    position: relative;
    width: 100%;
    padding: 20px;
    border-radius: var(--r-lg);
    border: 1px solid rgba(53, 233, 255, 0.15);
    outline: 1px solid rgba(176, 124, 255, 0.10);
    outline-offset: 4px;
    background: var(--holo-sheen), var(--bg-inset);
    overflow: hidden;
    transition: border-color 0.3s ease, outline-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.skill:hover {
    border-color: var(--line-accent);
    outline-color: rgba(176, 124, 255, 0.24);
    transform: translateY(-2px);
    box-shadow: var(--edge-holo), var(--depth-card);
}

.skill img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--r-sm);
    transition: filter 0.4s ease;
    filter: saturate(1.0) hue-rotate(-6deg);
}

.skill:hover img { filter: saturate(1.15) brightness(1.06); }

.skill #skillWap { display: none; }

/* ============================================================
   5. 页脚状态栏
   ============================================================ */

footer {
    position: fixed;
    bottom: 18px;
    width: 100%;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-faint);
    z-index: 100;
    padding: 8px 0;
    background: linear-gradient(to top, rgba(5, 7, 15, 0.88), transparent);
    pointer-events: none;
    transition: color 0.3s ease;
}

.ft-sep {
    color: rgba(78, 90, 124, 0.7);
    margin: 0 6px;
}

.ft-label { color: var(--text-dim); }

footer:hover { color: var(--text-dim); }

/* ============================================================
   6. 弹窗
   ============================================================ */

.tc {
    position: fixed;
    inset: 0;
    display: flex;
    visibility: hidden;
    width: 100vw;
    height: 100vh;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(3, 4, 12, 0.84);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: visibility 0.3s ease;
}

.tc-main {
    z-index: 100000;
    width: 80%;
    max-width: 300px;
    min-height: 200px;
    border-radius: var(--r-md);
    border: 1px solid rgba(53, 233, 255, 0.35);
    background: var(--hud-corners-hi), var(--holo-sheen), linear-gradient(180deg, rgba(22, 24, 58, 0.96), rgba(8, 10, 26, 0.96));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transform: translateY(24px) scale(0.96);
    box-shadow: 0 0 46px rgba(53, 233, 255, 0.20), 0 0 70px rgba(176, 124, 255, 0.18), var(--depth-pop);
    transition: transform 0.3s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.tc-img {
    width: 100%;
    height: 100%;
}

.tc.active { visibility: visible; }
.tc-main.active { transform: translateY(0) scale(1); }

/* ============================================================
   7. 天气时钟
   ============================================================ */

#weather-clock-widget {
    position: fixed;
    top: 420px;
    right: 20px;
    width: 320px;
    padding: 18px;
    border-radius: var(--r-md);
    border: 1px solid rgba(53, 233, 255, 0.20);
    outline: 1px solid rgba(176, 124, 255, 0.13);
    outline-offset: 5px;
    background: var(--hud-corners), var(--holo-sheen), var(--panel-base);
    backdrop-filter: var(--glass-effect);
    -webkit-backdrop-filter: var(--glass-effect);
    box-shadow: var(--edge-top), var(--edge-holo), var(--depth-card);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: hidden;
    cursor: none;
    transition: border-color 0.3s ease, outline-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

#weather-clock-widget:hover {
    background: var(--hud-corners-hi), var(--holo-sheen), var(--panel-base-hi);
    border-color: var(--line-accent);
    outline-color: rgba(176, 124, 255, 0.32);
    transform: translateY(-2px);
    box-shadow: var(--edge-top), var(--edge-holo), var(--depth-pop);
}

.widget-time-container {
    position: relative;
    padding-bottom: 12px;
    text-align: center;
    border-bottom: 1px solid var(--line-hair);
}

/* 刻度尺 */
.widget-time-container::before,
.widget-time-container::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 4px;
    pointer-events: none;
    background:
        linear-gradient(var(--line-1), var(--line-1)) 0    50% / 1px 4px no-repeat,
        linear-gradient(var(--line-1), var(--line-1)) 10%  50% / 1px 2px no-repeat,
        linear-gradient(var(--line-1), var(--line-1)) 20%  50% / 1px 2px no-repeat,
        linear-gradient(var(--line-1), var(--line-1)) 30%  50% / 1px 4px no-repeat,
        linear-gradient(var(--line-1), var(--line-1)) 40%  50% / 1px 2px no-repeat,
        linear-gradient(var(--line-1), var(--line-1)) 50%  50% / 1px 2px no-repeat,
        linear-gradient(var(--line-1), var(--line-1)) 60%  50% / 1px 4px no-repeat,
        linear-gradient(var(--line-1), var(--line-1)) 70%  50% / 1px 2px no-repeat,
        linear-gradient(var(--line-1), var(--line-1)) 80%  50% / 1px 2px no-repeat,
        linear-gradient(var(--line-1), var(--line-1)) 90%  50% / 1px 4px no-repeat,
        linear-gradient(var(--line-1), var(--line-1)) 100% 50% / 1px 2px no-repeat;
}

.widget-time-container::before { top: 0; }
.widget-time-container::after  { bottom: 0; }

/* 时间读数：青紫色差描边 */
.widget-time {
    font-family: var(--font-mono);
    font-size: 34px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--text-hi);
    font-variant-numeric: tabular-nums;
    text-shadow:
        -1px 0 rgba(53, 233, 255, 0.40),
        1px 0 rgba(176, 124, 255, 0.35),
        0 0 24px rgba(53, 233, 255, 0.28);
}

.widget-date {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-faint);
    margin-top: 6px;
}

.widget-weather-details {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.weather-item {
    display: flex;
    align-items: flex-start;
    font-size: 13px;
    gap: 6px;
}

.weather-item .label {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex: 1 1 auto;
    min-width: 0;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-faint);
    padding-top: 3px;
}

/* 虚线引导线 —— 仪表盘读数标配 */
.weather-item .label::after {
    content: '';
    flex: 1 1 auto;
    min-width: 12px;
    border-bottom: 1px dashed rgba(184, 206, 255, 0.16);
    transform: translateY(-3px);
}

.weather-item .value {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 6px;
    flex: 0 1 auto;
    max-width: 62%;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text);
    line-height: 1.45;
}

#weather-address {
    flex: 1;
    min-width: 0;
    text-align: right;
    word-break: break-all;
    white-space: normal;
    line-height: 1.45;
    color: var(--accent);
}

#weather-refresh-btn {
    margin-left: 4px;
    width: 20px;
    height: 20px;
    border-radius: 2px;
    border: 1px solid rgba(184, 206, 255, 0.14);
    background: rgba(176, 124, 255, 0.05);
    color: var(--text-dim);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    transition: all 0.24s ease;
    vertical-align: middle;
}

#weather-refresh-btn:hover {
    background: var(--accent-soft);
    border-color: var(--line-accent);
    color: var(--accent);
    box-shadow: 0 0 14px rgba(53, 233, 255, 0.22);
}

#weather-refresh-btn svg { display: block; }

#weather-refresh-btn.spinning svg {
    animation: weather-refresh-spin 0.6s linear;
}

@keyframes weather-refresh-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* ============================================================
   8. 音乐播放器
   ============================================================ */

#music-player {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 320px;
    padding: 18px;
    border-radius: var(--r-md);
    border: 1px solid rgba(53, 233, 255, 0.20);
    outline: 1px solid rgba(176, 124, 255, 0.13);
    outline-offset: 5px;
    background: var(--hud-corners), var(--holo-sheen), var(--panel-base);
    backdrop-filter: var(--glass-effect);
    -webkit-backdrop-filter: var(--glass-effect);
    box-shadow: var(--edge-top), var(--edge-holo), var(--depth-card);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 11px;
    overflow: hidden;
    cursor: none;
    transition: border-color 0.3s ease, outline-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

#music-player:hover {
    background: var(--hud-corners-hi), var(--holo-sheen), var(--panel-base-hi);
    border-color: var(--line-accent);
    outline-color: rgba(176, 124, 255, 0.32);
    transform: translateY(-2px);
    box-shadow: var(--edge-top), var(--edge-holo), var(--depth-pop);
}

/* --- 唱片（保留原有交互，换成青紫全息） --- */
.record-player {
    position: relative;
    width: 132px;
    height: 132px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%, #0B1020, #05070F);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
    border: 1px solid rgba(53, 233, 255, 0.30);
    box-shadow:
        0 0 0 5px rgba(53, 233, 255, 0.045),
        0 0 28px rgba(176, 124, 255, 0.22),
        var(--depth-card);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    cursor: none;
}

.record-player.playing {
    animation: record-spin 6s linear infinite;
}

.record-player:hover {
    border-color: var(--line-accent);
    box-shadow:
        0 0 0 5px rgba(53, 233, 255, 0.09),
        0 0 36px rgba(176, 124, 255, 0.34),
        var(--depth-pop);
}

/* 唱片：同心刻度环 */
.record-player::after {
    content: '';
    position: absolute;
    inset: 8%;
    border-radius: 50%;
    border: 1px solid rgba(176, 124, 255, 0.16);
    pointer-events: none;
}

.record-player .record {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--bg-dark);
    object-fit: cover;
    animation: record-spin 8s linear infinite;
    animation-play-state: paused;
    transition: animation-play-state 0.3s ease;
}

.record-player .record-groove {
    position: absolute;
    inset: 12%;
    border-radius: 50%;
    border: 1px solid rgba(184, 206, 255, 0.09);
    pointer-events: none;
}

.record-player .record-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: linear-gradient(145deg, #1A2140, #05070F);
    border: 1px solid var(--line-2);
    z-index: 1;
}

.record-player.playing .record { animation-play-state: running; }

.record-player.playing .record-center {
    animation: center-pulse 2.4s ease-in-out infinite;
}

@keyframes center-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(176, 124, 255, 0.5); }
    50%      { box-shadow: 0 0 0 6px rgba(176, 124, 255, 0); }
}

@keyframes record-spin {
    to { transform: rotate(360deg); }
}

.record-player .album-art,
.record-player .album-art img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.74;
    transition: opacity 0.3s ease;
    filter: saturate(0.95) hue-rotate(-8deg);
}

.record-player .album-art {
    display: block;
    overflow: hidden;
    pointer-events: none;
}

.record-player.playing .album-art,
.record-player.playing .album-art img { opacity: 0.55; }

#play-pause-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(5, 7, 15, 0.72);
    border: 1px solid var(--line-accent);
    color: var(--accent);
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(3px);
    box-shadow: 0 0 22px rgba(53, 233, 255, 0.28);
    transition: all 0.28s ease;
}

#play-pause-btn:hover {
    background: var(--accent-soft-hi);
    border-color: var(--line-accent-hi);
    color: var(--accent);
    box-shadow: 0 0 30px rgba(53, 233, 255, 0.45);
    transform: translate(-50%, -50%) scale(1.08);
}

#play-pause-btn:active { transform: translate(-50%, -50%) scale(0.95); }

#play-pause-btn svg {
    width: 18px;
    height: 18px;
    color: currentColor;
    transition: color 0.28s ease;
}

/* 频谱：青→紫渐变短柱 */
.visualizer {
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 3px;
    align-items: flex-end;
    height: 18px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.record-player.playing .visualizer { opacity: 1; }

.visualizer .bar {
    width: 3px;
    border-radius: 1px;
    background: linear-gradient(to top, var(--accent-dim), var(--accent) 52%, var(--accent-2));
    box-shadow: 0 0 8px rgba(53, 233, 255, 0.5);
    animation: visualizer-wave 0.6s ease-in-out infinite;
}

.visualizer .bar:nth-child(1) { animation-delay: 0s;    height: 7px; }
.visualizer .bar:nth-child(2) { animation-delay: 0.1s;  height: 11px; }
.visualizer .bar:nth-child(3) { animation-delay: 0.2s;  height: 15px; }
.visualizer .bar:nth-child(4) { animation-delay: 0.1s;  height: 11px; }
.visualizer .bar:nth-child(5) { animation-delay: 0s;    height: 7px; }

@keyframes visualizer-wave {
    0%, 100% { transform: scaleY(0.4); }
    50%      { transform: scaleY(1); }
}

/* --- 曲目信息 --- */
.song-info {
    width: 100%;
    margin-top: 4px;
    text-align: center;
}

.song-title {
    font-size: 13px;
    font-weight: 400;
    color: var(--text-hi);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 3px;
}

.song-artist {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-faint);
}

/* --- 进度条：14px 点击热区 + 2px 全息轨道，支持点击与拖动 --- */
.progress-bar-container {
    position: relative;
    width: 100%;
    height: 14px;
    margin: 2px 0 0;
    cursor: none;
    display: flex;
    align-items: center;
    touch-action: none;
}

/* 视觉轨道（真正可点的区域是整块 14px） */
.progress-bar-container::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 2px;
    transform: translateY(-50%);
    background: rgba(184, 206, 255, 0.12);
    transition: height 0.2s ease, background-color 0.2s ease;
}

.progress-bar-container:hover::before {
    height: 3px;
    background: rgba(184, 206, 255, 0.18);
}

.progress-bar {
    position: relative;
    z-index: 1;
    width: 0;
    height: 2px;
    background: var(--holo-grad-line);
    box-shadow: 0 0 10px rgba(53, 233, 255, 0.5);
    transition: width 0.1s linear;
    pointer-events: none;
}

.progress-bar-container:hover .progress-bar { height: 3px; }

.progress-handle {
    position: absolute;
    z-index: 2;
    top: 50%;
    right: -2px;
    transform: translateY(-50%) scaleY(0);
    width: 2px;
    height: 12px;
    background: var(--accent-2);
    box-shadow: 0 0 10px rgba(176, 124, 255, 0.7);
    transition: transform 0.2s ease;
    pointer-events: none;
}

.progress-bar-container:hover .progress-handle { transform: translateY(-50%) scaleY(1); }

/* 拖动中：轨道加粗发光、手柄常驻 */
.progress-bar-container.seeking::before {
    height: 3px;
    background: rgba(53, 233, 255, 0.30);
    box-shadow: 0 0 12px rgba(53, 233, 255, 0.5);
}

.progress-bar-container.seeking .progress-bar {
    box-shadow: 0 0 16px rgba(53, 233, 255, 0.8);
}

.progress-bar-container.seeking .progress-handle {
    transform: translateY(-50%) scaleY(1);
}

/* 悬停 / 拖动时的时间气泡 */
.seek-tip {
    position: absolute;
    bottom: 100%;
    left: 0;
    transform: translate(-50%, -7px);
    padding: 3px 7px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.06em;
    font-variant-numeric: tabular-nums;
    color: var(--bg-dark);
    background: var(--accent);
    border-radius: 3px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.16s ease;
    z-index: 3;
    box-shadow: 0 0 14px rgba(53, 233, 255, 0.55);
}

.seek-tip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 3px solid transparent;
    border-top-color: var(--accent);
}

.progress-bar-container:hover .seek-tip,
.progress-bar-container.seeking .seek-tip {
    opacity: 1;
}

.time-display {
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.08em;
    color: var(--text-faint);
    font-variant-numeric: tabular-nums;
    margin-bottom: 8px;
}

/* --- 控制按钮：方形，像仪器按键 --- */
.controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    margin-bottom: 6px;
}

.control-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: var(--r-sm);
    border: 1px solid rgba(184, 206, 255, 0.14);
    background: rgba(176, 124, 255, 0.05);
    color: var(--text-dim);
    cursor: pointer;
    transition: all 0.24s ease;
}

.control-btn:hover {
    background: var(--accent-soft);
    border-color: var(--line-accent);
    color: var(--accent);
    box-shadow: 0 0 14px rgba(53, 233, 255, 0.22);
}

.control-btn:active { transform: scale(0.94); }

#play-btn {
    width: 38px;
    height: 38px;
    background: var(--accent-soft);
    border-color: var(--line-accent);
    color: var(--accent);
    box-shadow: 0 0 18px rgba(53, 233, 255, 0.22);
}

#play-btn:hover {
    background: var(--accent-soft-hi);
    border-color: var(--line-accent-hi);
    box-shadow: 0 0 26px rgba(53, 233, 255, 0.36);
}

/* --- 音量 --- */
.volume-control {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 0 2px;
}

.volume-control .control-btn {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
}

.volume-slider {
    position: relative;
    flex: 1;
    height: 2px;
    background: rgba(184, 206, 255, 0.12);
    overflow: hidden;
}

#volume-range {
    -webkit-appearance: none;
    appearance: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    cursor: pointer;
}

#volume-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 3px;
    height: 12px;
    border-radius: 0;
    background: var(--accent-2);
    box-shadow: 0 0 10px rgba(176, 124, 255, 0.7);
    cursor: pointer;
}

#volume-range::-webkit-slider-runnable-track {
    height: 2px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) var(--volume-percent, 100%), rgba(184, 206, 255, 0.12) var(--volume-percent, 100%));
}

/* --- 歌词 --- */
#lyrics-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: auto;
    max-width: 400px;
    padding: 10px 14px;
    border-radius: var(--r-sm);
    text-align: right;
    z-index: 1000;
    display: none;
    background: rgba(5, 7, 15, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(53, 233, 255, 0.22);
    box-shadow: 0 0 24px rgba(176, 124, 255, 0.16);
}

#lyrics-display {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.03em;
    color: var(--accent);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 0 12px rgba(53, 233, 255, 0.5);
}

/* ============================================================
   8.5 曲目列表浮层
   ============================================================ */

.pl-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(3, 4, 12, 0.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s ease, visibility 0.28s ease;
    cursor: none;
}

.pl-overlay.active {
    opacity: 1;
    visibility: visible;
}

.pl-panel {
    width: 100%;
    max-width: 560px;
    max-height: 76vh;
    display: flex;
    flex-direction: column;
    border-radius: var(--r-lg);
    border: 1px solid rgba(53, 233, 255, 0.28);
    outline: 1px solid rgba(176, 124, 255, 0.16);
    outline-offset: 6px;
    background: var(--hud-corners), var(--holo-sheen), linear-gradient(180deg, rgba(22, 24, 58, 0.92), rgba(8, 10, 26, 0.94));
    box-shadow:
        0 0 46px rgba(53, 233, 255, 0.16),
        0 0 80px rgba(176, 124, 255, 0.14),
        var(--depth-pop);
    transform: translateY(16px) scale(0.98);
    transition: transform 0.32s cubic-bezier(0.34, 1.3, 0.64, 1);
    overflow: hidden;
}

.pl-overlay.active .pl-panel {
    transform: translateY(0) scale(1);
}

.pl-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 18px 12px;
    border-bottom: 1px solid var(--line-hair);
    flex-shrink: 0;
}

.pl-kicker {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-faint);
    padding: 2px 6px;
    border: 1px solid var(--line-hair);
    border-radius: 2px;
    line-height: 1.4;
    flex-shrink: 0;
}

.pl-title {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-hi);
    text-shadow: -0.8px 0 rgba(53, 233, 255, 0.5), 0.8px 0 rgba(176, 124, 255, 0.45);
    white-space: nowrap;
}

.pl-count {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    color: var(--accent);
    white-space: nowrap;
    flex-shrink: 0;
}

.pl-rule {
    flex: 1;
    height: 1px;
    min-width: 16px;
    background: linear-gradient(90deg, rgba(53, 233, 255, 0.30), rgba(176, 124, 255, 0.18) 40%, transparent);
}

.pl-close {
    width: 26px;
    height: 26px;
    border-radius: var(--r-sm);
    border: 1px solid rgba(184, 206, 255, 0.16);
    background: rgba(176, 124, 255, 0.06);
    color: var(--text-dim);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    transition: all 0.22s ease;
}

.pl-close:hover {
    background: var(--accent-soft);
    border-color: var(--line-accent);
    color: var(--accent);
    box-shadow: 0 0 14px rgba(53, 233, 255, 0.22);
}

.pl-close svg { display: block; }

.pl-filter {
    padding: 12px 18px;
    flex-shrink: 0;
}

.pl-filter input {
    width: 100%;
    height: 32px;
    padding: 0 10px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.05em;
    color: var(--text);
    background: rgba(7, 9, 22, 0.60);
    border: 1px solid var(--line-hair);
    border-radius: var(--r-sm);
    outline: none;
    transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.pl-filter input::placeholder { color: var(--text-faint); }

.pl-filter input:focus {
    border-color: var(--line-accent);
    box-shadow: 0 0 14px rgba(53, 233, 255, 0.16);
}

.pl-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 0 12px 8px;
    min-height: 120px;
}

.pl-scroll::-webkit-scrollbar { width: 6px; }
.pl-scroll::-webkit-scrollbar-thumb {
    background: rgba(176, 124, 255, 0.28);
    border-radius: 3px;
}
.pl-scroll::-webkit-scrollbar-thumb:hover { background: var(--line-violet); }
.pl-scroll::-webkit-scrollbar-track { background: transparent; }

.pl-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 9px 10px;
    border: 1px solid transparent;
    border-radius: var(--r-sm);
    background: transparent;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    position: relative;
}

.pl-item:hover {
    background: rgba(53, 233, 255, 0.06);
    border-color: rgba(53, 233, 255, 0.18);
}

.pl-item.active {
    background: linear-gradient(90deg, rgba(53, 233, 255, 0.14), rgba(176, 124, 255, 0.06) 60%, transparent);
    border-color: rgba(53, 233, 255, 0.34);
}

.pl-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: var(--accent);
    box-shadow: 0 0 10px rgba(53, 233, 255, 0.8);
    border-radius: 1px;
}

.pl-idx {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.06em;
    color: var(--text-faint);
    flex-shrink: 0;
    width: 22px;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.pl-item.active .pl-idx { color: var(--accent); }

.pl-meta {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pl-song {
    font-size: 13px;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}

.pl-item:hover .pl-song { color: var(--text-hi); }
.pl-item.active .pl-song { color: var(--accent); }

.pl-artist {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.05em;
    color: var(--text-faint);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pl-eq {
    display: none;
    align-items: flex-end;
    gap: 2px;
    height: 12px;
    flex-shrink: 0;
}

.pl-item.active .pl-eq { display: flex; }

.pl-eq i {
    width: 2px;
    background: var(--accent);
    box-shadow: 0 0 6px rgba(53, 233, 255, 0.7);
    transform-origin: bottom;
    animation: pl-eq 0.8s ease-in-out infinite;
}

.pl-eq i:nth-child(1) { height: 5px;  animation-delay: 0s; }
.pl-eq i:nth-child(2) { height: 11px; animation-delay: 0.15s; }
.pl-eq i:nth-child(3) { height: 7px;  animation-delay: 0.3s; }

@keyframes pl-eq {
    0%, 100% { transform: scaleY(0.4); }
    50%      { transform: scaleY(1); }
}

.pl-empty {
    padding: 26px 10px;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    color: var(--text-faint);
}

.pl-foot {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-top: 1px solid var(--line-hair);
    flex-shrink: 0;
    background: linear-gradient(0deg, rgba(53, 233, 255, 0.05), transparent);
}

.pl-now-label {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-faint);
    flex-shrink: 0;
}

.pl-now {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--accent);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 0 10px rgba(53, 233, 255, 0.35);
}

@media (max-width: 800px) {
    .pl-overlay { padding: 12px; }
    .pl-panel { max-height: 84vh; outline-offset: 3px; }
    .pl-title { font-size: 13px; letter-spacing: 0.08em; }
    .pl-head { padding: 13px 14px 10px; }
    .pl-filter { padding: 10px 14px; }
    .pl-scroll { padding: 0 8px 8px; }
    .pl-foot { padding: 9px 14px; }
}

/* ============================================================
   9. 通用动效
   ============================================================ */

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-18px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(18px); }
    to   { opacity: 1; transform: translateX(0); }
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(53, 233, 255, 0.22);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to { transform: scale(4); opacity: 0; }
}

/* ============================================================
   10. 响应式
   ============================================================ */

@media (min-width: 800px) {
    .index-logo { display: none; }
}

.index-logo {
    flex-shrink: 0;
    width: 40%;
    max-width: 200px;
    aspect-ratio: 1/1;
    margin-top: 30px;
    position: relative;
    background-size: cover;
    border-radius: 50%;
    border: 1px solid rgba(53, 233, 255, 0.35);
    box-shadow: 0 0 0 6px rgba(53, 233, 255, 0.045), 0 0 26px rgba(176, 124, 255, 0.20), var(--depth-card);
}

@media (max-width: 1150px) {
    .a { width: calc(50% - 20px); }
    .projectItem { margin: 10px; }
    .welcome { font-size: 44px; }
    .description { font-size: 12px; }
}

@media (max-width: 900px) {
    .welcome { font-size: 40px; }
    .projectItem { width: calc(50% - 16px); }
    #music-player { width: 280px; }
    .record-player { width: 118px; height: 118px; }
    #weather-clock-widget { width: 280px; top: 380px; }

    body::before,
    body::after { display: none; }
}

@media (max-width: 800px) {
    .Iceuu-left { display: none; }
    .Iceuu-right { width: 100%; padding: 15px; }

    .a { width: calc(50% - 18px); margin: 9px; }

    .description {
        font-size: 4vw;
        line-height: 1.6;
        font-family: var(--font-body);
    }

    .hud-kicker { font-size: 10px; margin-top: 18px; }
    .welcome { font-size: 10vw; margin: 2vw 0 0; }
    .iconContainer { margin-top: 4vw; }

    .projectItem { padding: 12px; height: 88px; }
    .projectItemLeft h1 { font-size: 13px; }
    .projectItemLeft p { font-size: 11px; margin-top: 8px; }

    .tanChiShe { width: 100%; }

    .skill #skillWap { display: block; }
    .skill #skillPc { display: none; }

    .title { font-size: 14px; letter-spacing: 0.12em; margin: 20px 0 10px; }

    #music-player { width: 260px; padding: 15px; }
    .record-player { width: 112px; height: 112px; }
    #weather-clock-widget { width: 260px; padding: 15px; top: 320px; }
    .widget-time { font-size: 27px; }
    .weather-item .value { font-size: 12px; }

    .projectItem:hover { transform: none; }
    .left-div { animation: none; }
    .Iceuu-right header,
    .Iceuu-right main { animation: none; }
}

@media (max-width: 480px) {
    .welcome { font-size: 12vw; }

    .projectItem { width: calc(100% - 20px); margin: 10px; }

    #music-player {
        width: calc(100vw - 20px);
        max-width: 320px;
        padding: 14px;
        top: 10px;
        right: 10px;
        left: 10px;
    }

    #weather-clock-widget {
        width: calc(100vw - 20px);
        max-width: 320px;
        padding: 14px;
        top: 260px;
        right: 10px;
        left: 10px;
    }

    .widget-time { font-size: 26px; }
    .record-player { width: 100px; height: 100px; }

    footer { font-size: 10px; bottom: 10px; letter-spacing: 0.1em; }
}

/* ============================================================
   12. 自定义光标（HUD 瞄准环 + 中心游标）
   注意：这里绝不能给 transform 加 transition ——
   位置每帧都在更新，transition 会让光标变成"追不上"的滞后效果。
   ============================================================ */

.hud-cursor-outer {
    position: fixed;
    top: 0;
    left: 0;
    width: 26px;
    height: 26px;
    border: 1px solid rgba(53, 233, 255, 0.48);
    border-radius: 50%;
    pointer-events: none;
    z-index: 999999;
    will-change: transform;
    transition: border-color 0.16s ease, opacity 0.2s ease;
    transform: translate3d(-100px, -100px, 0) translate(-50%, -50%);
}

.hud-cursor-outer.hot {
    border-color: rgba(53, 233, 255, 0.95);
}

.hud-cursor-inner {
    position: fixed;
    top: 0;
    left: 0;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(53, 233, 255, 0.95);
    pointer-events: none;
    z-index: 1000000;
    will-change: transform;
    transition: background-color 0.16s ease, opacity 0.2s ease;
    transform: translate3d(-100px, -100px, 0) translate(-50%, -50%);
}

.hud-cursor-inner.hot {
    background: rgba(230, 241, 255, 1);
}

/* ============================================================
   11. 无障碍
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
