@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-tertiary: #1a1a24;
    --bg-elevated: #222230;
    --text-primary: #f0f0f5;
    --text-secondary: #a0a0b0;
    --text-muted: #606070;
    --accent-primary: #00d4ff;
    --accent-secondary: #7c3aed;
    --accent-tertiary: #f472b6;
    --accent-glow: rgba(0, 212, 255, 0.15);
    --accent-glow-strong: rgba(0, 212, 255, 0.3);
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-default: rgba(255, 255, 255, 0.1);
    --border-accent: rgba(0, 212, 255, 0.3);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px var(--accent-glow);
    --shadow-glow-strong: 0 0 60px var(--accent-glow-strong);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --cursor-size: 20px;
    --cursor-ring-size: 40px;
    /* 玻璃态透明度（可由站点设置动态覆盖） */
    --glass-nav: 0.1;
    --glass-player: 0.1;
    --glass-latest: 0.1;
    --glass-category: 0.1;
    --glass-post: 0.1;
    --glass-about: 0.1;
}

.cursor-dot {
    position: fixed;
    width: var(--cursor-size);
    height: var(--cursor-size);
    background: var(--accent-primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease, width 0.2s ease, height 0.2s ease, background 0.2s ease;
    mix-blend-mode: difference;
}

.cursor-dot::before {
    content: '';
    position: absolute;
    inset: -4px;
    background: var(--accent-primary);
    border-radius: 50%;
    opacity: 0.3;
    filter: blur(8px);
}

.cursor-ring {
    position: fixed;
    width: var(--cursor-ring-size);
    height: var(--cursor-ring-size);
    border: 2px solid var(--accent-primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease-out, width 0.3s ease, height 0.3s ease, border-color 0.2s ease, opacity 0.2s ease;
    opacity: 0.5;
}

.cursor-ring.hover {
    width: 60px;
    height: 60px;
    border-color: var(--accent-secondary);
    opacity: 0.8;
}

.cursor-dot.click {
    transform: translate(-50%, -50%) scale(0.8);
}

.cursor-ring.click {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
}

@media (max-width: 768px) {
    .cursor-dot,
    .cursor-ring {
        display: none;
    }
}

:root {
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --duration-fast: 150ms;
    --duration-normal: 250ms;
    --duration-slow: 400ms;
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --safe-area-top: env(safe-area-inset-top, 0px);
    --safe-area-bottom: env(safe-area-inset-bottom, 0px);
    --safe-area-left: env(safe-area-inset-left, 0px);
    --safe-area-right: env(safe-area-inset-right, 0px);
}

@media (prefers-reduced-motion: reduce) {
    :root {
        --duration-fast: 0ms;
        --duration-normal: 0ms;
        --duration-slow: 0ms;
    }
    
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

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

@media (max-width: 768px) {
    * {
        cursor: auto;
    }
    
    a, button, .post-card, .latest-card, .category-card, input, .nav-link, .logo, .btn {
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
    
    a:active, button:active {
        opacity: 0.8;
    }
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    cursor: none;
}

.global-video-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    overflow: hidden;
    background: var(--bg-primary);
}

.global-video-bg video,
.global-video-bg img {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    filter: brightness(0.3);
}

.global-video-bg video {
    z-index: 1;
}

.global-video-bg img {
    z-index: 0;
}

@media (max-aspect-ratio: 16/9) {
    .global-video-bg video,
    .global-video-bg img {
        width: 100%;
        height: auto;
    }
}

@media (min-aspect-ratio: 16/9) {
    .global-video-bg video,
    .global-video-bg img {
        width: auto;
        height: 100%;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.header {
    position: fixed;
    top: calc(var(--space-md) + var(--safe-area-top));
    left: calc(var(--space-md) + var(--safe-area-left));
    right: calc(var(--space-md) + var(--safe-area-right));
    z-index: 100;
    transition: all var(--duration-normal) var(--ease-out-quart);
}

.header-inner {
    background: rgba(255, 255, 255, var(--glass-nav));
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 0 var(--space-lg);
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all var(--duration-normal) var(--ease-out-quart);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.header.scrolled .header-inner {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.logo {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.02em;
    position: relative;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    transition: all var(--duration-fast) var(--ease-out-quart);
}

.logo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: var(--radius-sm);
    opacity: 0;
    transition: opacity var(--duration-fast) var(--ease-out-quart);
}

.logo:hover::before {
    opacity: 0.1;
}

.logo:hover {
    color: var(--accent-primary);
}

.logo span {
    position: relative;
    z-index: 1;
}

.nav-logo-img {
    height: 32px;
    width: auto;
    max-width: 120px;
    max-height: 48px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    margin-right: var(--space-sm);
    vertical-align: middle;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.nav-link {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    position: relative;
    overflow: hidden;
    transition: all var(--duration-fast) var(--ease-out-quart);
}

.nav-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    opacity: 0;
    transition: opacity var(--duration-fast) var(--ease-out-quart);
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::before {
    opacity: 0.15;
}

.nav-link.active {
    color: var(--text-primary);
}

.nav-link.active::before {
    opacity: 0.15;
}

.nav-link span {
    position: relative;
    z-index: 1;
}

.main {
    min-height: 100vh;
    padding: 120px 0 var(--space-3xl);
}

.hero {
    padding: var(--space-3xl) 0;
    margin-bottom: var(--space-3xl);
    position: relative;
}

.hero-content {
    max-width: 800px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-lg);
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transform: translateY(30px);
    animation: heroReveal 0.8s var(--ease-out-expo) forwards;
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.7;
    opacity: 0;
    transform: translateY(20px);
    animation: heroReveal 0.8s var(--ease-out-expo) 0.15s forwards;
}

@keyframes heroReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-header {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.section-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.section-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--border-default), transparent);
}

.posts-container {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.post-card {
    position: relative;
    background: rgba(255, 255, 255, var(--glass-post));
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--duration-normal) var(--ease-out-quart);
    opacity: 0;
    transform: translateY(20px);
    animation: cardReveal 0.6s var(--ease-out-expo) forwards;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.post-card:nth-child(1) { animation-delay: 0.2s; }
.post-card:nth-child(2) { animation-delay: 0.25s; }
.post-card:nth-child(3) { animation-delay: 0.3s; }
.post-card:nth-child(4) { animation-delay: 0.35s; }
.post-card:nth-child(5) { animation-delay: 0.4s; }

@keyframes cardReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.post-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    opacity: 0;
    transition: opacity var(--duration-normal) var(--ease-out-quart);
    pointer-events: none;
}

.post-card:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.post-card:hover::before {
    opacity: 0.03;
}

.post-card-link {
    display: flex;
    flex-direction: row;
    text-decoration: none;
    color: inherit;
    flex: 1;
    min-height: 100px;
}

.post-card-cover {
    width: 200px;
    height: 140px;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
}

.post-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--ease-out-quart);
}

.post-card:hover .post-card-cover img {
    transform: scale(1.05);
}

.post-card-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, var(--bg-secondary));
    pointer-events: none;
}

.post-card-content {
    flex: 1;
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.post-card-meta {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-sm);
}

.post-category {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.post-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.post-card-title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    line-height: 1.4;
    transition: color var(--duration-fast) var(--ease-out-quart);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.post-card:hover .post-card-title {
    color: var(--accent-primary);
}

.post-card-excerpt {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card-footer {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.post-views {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.post-views svg {
    width: 14px;
    height: 14px;
}

.load-more-container {
    text-align: center;
    margin-top: var(--space-2xl);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 12px 24px;
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all var(--duration-fast) var(--ease-out-quart);
}

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    border: 1px solid var(--border-default);
}

.btn-secondary:hover {
    background: var(--bg-elevated);
    color: var(--text-primary);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-glow);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: var(--bg-primary);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-strong);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.btn svg {
    width: 16px;
    height: 16px;
}

.skeleton {
    background: linear-gradient(90deg, var(--bg-tertiary) 25%, var(--bg-elevated) 50%, var(--bg-tertiary) 75%);
    background-size: 200% 100%;
    animation: skeleton 1.5s ease-in-out infinite;
    border-radius: var(--radius-md);
}

@keyframes skeleton {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-card {
    height: 140px;
}

.empty-state, .error-state {
    text-align: center;
    padding: var(--space-3xl) var(--space-lg);
}

.empty-state svg, .error-state svg {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-lg);
    color: var(--text-muted);
    opacity: 0.5;
}

.empty-state p, .error-state p {
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
}

.footer {
    border-top: 1px solid var(--border-subtle);
    padding: var(--space-2xl) 0;
    padding-bottom: calc(var(--space-2xl) + var(--safe-area-bottom));
    margin-top: var(--space-3xl);
}

.footer-content {
    text-align: center;
}

.footer p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

#footer-text {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
}

#footer-text p {
    margin: 0 0 0.5em 0;
}

#footer-text p:last-child {
    margin-bottom: 0;
}

#footer-text a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.2s;
}

#footer-text a:hover {
    color: var(--color-accent-light);
    text-decoration: underline;
}

#footer-text img {
    max-height: 24px;
    max-width: 100px;
    vertical-align: middle;
    margin: 0 4px;
    border-radius: 2px;
}

#footer-text strong {
    color: var(--text-secondary);
}

#footer-text p[style*="text-align: center"],
#footer-text div[style*="text-align: center"] {
    text-align: center;
}

#footer-text p[style*="text-align: left"],
#footer-text div[style*="text-align: left"] {
    text-align: left;
}

#footer-text p[style*="text-align: right"],
#footer-text div[style*="text-align: right"] {
    text-align: right;
}

#footer-text p[style*="padding-left"],
#footer-text div[style*="padding-left"] {
    padding-left: 1em;
}

.post-detail {
    background: rgba(255, 255, 255, var(--glass-post));
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    animation: fadeInUp 0.6s var(--ease-out-expo);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

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

.post-header {
    margin-bottom: var(--space-xl);
}

.post-header .post-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.post-header .post-meta {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.post-cover-full {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-xl);
}

.post-body {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-primary);
    overflow-x: hidden;
    font-family: var(--font-body);
}

.post-body p {
    margin-bottom: 1.5em;
}

.post-body h1, .post-body h2, .post-body h3, .post-body h4 {
    font-family: var(--font-display);
    margin-top: 2em;
    margin-bottom: 0.75em;
    color: var(--text-primary);
}

.post-body h2 {
    font-size: 1.5rem;
    padding-bottom: 0.3em;
    border-bottom: 1px solid var(--border-default);
}

.post-body h3 {
    font-size: 1.25rem;
}

.post-body a {
    color: var(--accent-primary);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color var(--duration-fast) var(--ease-out-quart);
}

.post-body a:hover {
    border-bottom-color: var(--accent-primary);
}

.post-body ul, .post-body ol {
    margin-bottom: 1.5em;
    padding-left: 1.5em;
}

.post-body li {
    margin-bottom: 0.5em;
}

.post-body blockquote {
    margin: 1.5em 0;
    padding: 1em 1.5em;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(124, 58, 237, 0.05));
    border-left: 4px solid var(--accent-primary);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    color: var(--text-secondary);
}

.post-body code {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.9em;
    background: var(--bg-tertiary);
    padding: 2px 6px;
    border-radius: 4px;
}

.post-body pre {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    overflow-x: auto;
    margin: var(--space-lg) 0;
}

.post-body pre code {
    background: none;
    padding: 0;
}

.post-body img {
    max-width: 100%;
    max-height: 500px;
    height: auto;
    width: auto;
    border-radius: var(--radius-md);
    margin: var(--space-md) 0;
    display: block;
    object-fit: contain;
}

.post-body p[style*="text-align: left"],
.post-body div[style*="text-align: left"] {
    text-align: left;
}

.post-body p[style*="text-align: center"],
.post-body div[style*="text-align: center"] {
    text-align: center;
}

.post-body p[style*="text-align: right"],
.post-body div[style*="text-align: right"] {
    text-align: right;
}

.post-body p[style*="text-align: justify"],
.post-body div[style*="text-align: justify"] {
    text-align: justify;
}

.post-body p[style*="text-align: center"] img,
.post-body div[style*="text-align: center"] img {
    margin-left: auto;
    margin-right: auto;
}

.post-body p[style*="text-align: right"] img,
.post-body div[style*="text-align: right"] img {
    margin-left: auto;
    margin-right: 0;
}

.post-body p[style*="text-align: left"] img,
.post-body div[style*="text-align: left"] img {
    margin-left: 0;
    margin-right: auto;
}

.post-body p[style*="padding-left"],
.post-body div[style*="padding-left"],
.post-body p[style*="margin-left"],
.post-body div[style*="margin-left"] {
    margin-bottom: 1.5em;
}

.post-content-image {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin: var(--space-lg) 0;
    transition: transform var(--duration-normal) var(--ease-out-quart);
}

.post-content-image:hover {
    transform: scale(1.02);
}

/* ── 文章正文：强制覆盖富文本编辑器存入的内联黑色 color 样式 ── */
.post-body {
    color: var(--text-primary) !important;
    background: transparent !important;
}
/* 非代码块子元素继承颜色（pre 内部不干预，让 hljs 高亮生效） */
.post-body *:not(pre, pre *) {
    color: inherit;
}
/* 链接保留高亮色 */
.post-body a,
.post-body a * {
    color: var(--accent-primary) !important;
}
/* 行内 code（不含 pre > code）用 accent 色 */
.post-body :not(pre) > code {
    color: var(--accent-primary) !important;
    background: var(--bg-tertiary) !important;
}
/* pre code：不强制颜色，让 hljs atom-one-dark 主题决定每个 token 颜色 */
.post-body pre code {
    color: inherit;
    background: transparent !important;
}
.post-body pre {
    background: var(--bg-tertiary) !important;
    border: 1px solid var(--border-subtle) !important;
}

/* ── Vditor 深色主题覆盖 (前台文章页 Markdown 渲染) ──────────────────── */
.post-body.vditor-reset {
    color: var(--text-primary) !important;
    background: transparent !important;
}
.post-body.vditor-reset p,
.post-body.vditor-reset li,
.post-body.vditor-reset td,
.post-body.vditor-reset th {
    color: var(--text-primary) !important;
}
.post-body.vditor-reset h1,
.post-body.vditor-reset h2,
.post-body.vditor-reset h3,
.post-body.vditor-reset h4,
.post-body.vditor-reset h5,
.post-body.vditor-reset h6 {
    color: var(--text-primary) !important;
    border-bottom-color: var(--border-default);
}
.post-body.vditor-reset blockquote {
    color: var(--text-secondary) !important;
    border-left-color: var(--accent-primary);
    background: linear-gradient(135deg, rgba(0,212,255,0.06), rgba(124,58,237,0.06));
}
/* Vditor 行内 code 用 accent 色 */
.post-body.vditor-reset :not(pre) > code,
.post-body.vditor-reset .vditor-reset--left :not(pre) > code {
    color: var(--accent-primary) !important;
    background: var(--bg-tertiary) !important;
}
.post-body.vditor-reset pre,
.post-body.vditor-reset .vditor-reset--left pre {
    background: var(--bg-tertiary) !important;
    border: 1px solid var(--border-subtle) !important;
}
/* pre code 不强制颜色，保留 hljs atom-one-dark 语法高亮 */
.post-body.vditor-reset pre code,
.post-body.vditor-reset .vditor-reset--left pre code {
    color: inherit;
    background: transparent !important;
}
.post-body.vditor-reset a {
    color: var(--accent-primary) !important;
}
.post-body.vditor-reset strong {
    color: var(--text-primary) !important;
}
.post-body.vditor-reset em {
    color: var(--text-secondary) !important;
}
.post-body.vditor-reset table {
    border-color: var(--border-default);
}
.post-body.vditor-reset table th {
    background: var(--bg-tertiary) !important;
    color: var(--text-primary) !important;
}
.post-body.vditor-reset table td,
.post-body.vditor-reset table th {
    border-color: var(--border-default);
}

.page-header {
    text-align: center;
    padding: var(--space-3xl) 0;
    margin-bottom: var(--space-2xl);
}

.page-header h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    margin-bottom: var(--space-md);
}

.page-header p {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.category-card {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    background: rgba(255, 255, 255, var(--glass-category));
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: var(--space-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: inherit;
    transition: all var(--duration-normal) var(--ease-out-quart);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary));
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform var(--duration-normal) var(--ease-out-quart);
}

.category-card:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateX(8px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.category-card:hover::before {
    transform: scaleY(1);
}

.category-icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(124, 58, 237, 0.1));
    border-radius: var(--radius-md);
    font-size: 1.5rem;
    transition: transform var(--duration-normal) var(--ease-out-quart);
}

.category-card:hover .category-icon {
    transform: scale(1.1) rotate(-5deg);
}

.category-info {
    flex: 1;
    min-width: 0;
}

.category-name {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.category-description {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.category-count {
    font-size: 0.75rem;
    color: var(--accent-primary);
    font-weight: 500;
}

.about-content {
    background: rgba(255, 255, 255, var(--glass-about));
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    animation: fadeInUp 0.6s var(--ease-out-expo);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.content-table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-lg) 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.content-table th,
.content-table td {
    padding: var(--space-md) var(--space-lg);
    text-align: left;
}

.content-table th {
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
    font-family: var(--font-display);
    font-weight: 600;
}

.content-table tbody tr {
    background: rgba(255, 255, 255, 0.05);
    transition: background-color var(--duration-fast) var(--ease-out-quart);
}

.content-table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.content-table tbody tr:not(:last-child) td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--bg-elevated);
}

::selection {
    background: var(--accent-primary);
    color: var(--bg-primary);
}

@media (max-width: 768px) {
    .header {
        top: var(--space-sm);
        left: var(--space-sm);
        right: var(--space-sm);
    }
    
    .header-inner {
        height: 52px;
        padding: 0 var(--space-sm);
        border-radius: var(--radius-md);
    }
    
    .logo {
        font-size: 0.95rem;
        padding: var(--space-xs) var(--space-sm);
    }
    
    .nav-links {
        gap: 2px;
    }
    
    .nav-link {
        padding: var(--space-xs) 8px;
        font-size: 0.75rem;
    }
    
    .nav-link span {
        font-size: 0.75rem;
    }
    
    .main {
        padding: 80px 0 var(--space-xl);
    }
    
    .hero {
        padding: var(--space-xl) 0;
        margin-bottom: var(--space-xl);
    }
    
    .container {
        padding: 0 var(--space-sm);
    }
    
    .post-card-link {
        flex-direction: column;
    }
    
    .post-card-cover {
        width: 100%;
        height: 160px;
    }
    
    .post-card-cover::after {
        background: linear-gradient(180deg, transparent, var(--bg-secondary));
    }
    
    .post-card-content {
        padding: var(--space-md);
    }
    
    .post-card-title {
        font-size: 1rem;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
    
    .post-card-excerpt {
        -webkit-line-clamp: 2;
    }
    
    .post-card-meta {
        flex-wrap: wrap;
        gap: var(--space-sm);
    }
    
    .post-detail {
        padding: var(--space-md);
        border-radius: var(--radius-lg);
    }
    
    .post-header .post-title {
        font-size: 1.5rem;
    }
    
    .post-header .post-meta {
        flex-wrap: wrap;
        gap: var(--space-sm);
    }
    
    .post-body {
        font-size: 0.95rem;
    }
    
    .post-body h2 {
        font-size: 1.25rem;
    }
    
    .post-body h3 {
        font-size: 1.1rem;
    }
    
    .post-body pre {
        padding: var(--space-md);
        font-size: 0.85rem;
    }
    
    .post-cover-full {
        max-height: 300px;
        border-radius: var(--radius-md);
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .category-card {
        padding: var(--space-md);
    }
    
    .category-icon {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
    
    .about-content {
        padding: var(--space-md);
        border-radius: var(--radius-lg);
    }
    
    .page-header {
        padding: var(--space-xl) 0;
        margin-bottom: var(--space-lg);
    }
    
    .page-header h1 {
        font-size: 1.75rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.25rem;
    }
    
    .btn {
        padding: 10px 18px;
        font-size: 0.85rem;
    }
    
    .footer {
        padding: var(--space-lg) 0;
        margin-top: var(--space-xl);
    }
    
    .footer p {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-sm);
    }
    
    .header-inner {
        height: 48px;
        padding: 0 6px;
    }
    
    .logo {
        font-size: 0.85rem;
        padding: 4px 8px;
    }
    
    .nav-link {
        padding: 4px 6px;
        font-size: 0.7rem;
    }
    
    .nav-link span {
        font-size: 0.7rem;
    }
    
    .main {
        padding: 70px 0 var(--space-lg);
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 1.1rem;
    }
    
    .post-card-cover {
        height: 140px;
    }
    
    .post-card-content {
        padding: var(--space-sm);
    }
    
    .post-card-title {
        font-size: 0.95rem;
    }
    
    .post-card-excerpt {
        font-size: 0.8rem;
        -webkit-line-clamp: 2;
    }
    
    .post-category {
        font-size: 0.7rem;
        padding: 3px 8px;
    }
    
    .post-date {
        font-size: 0.7rem;
    }
    
    .post-detail {
        padding: var(--space-sm);
    }
    
    .post-header .post-title {
        font-size: 1.25rem;
    }
    
    .post-body {
        font-size: 0.9rem;
        line-height: 1.7;
    }
    
    .post-body p {
        margin-bottom: 1em;
    }
    
    .post-body h2 {
        font-size: 1.1rem;
    }
    
    .post-body h3 {
        font-size: 1rem;
    }
    
    .post-body pre {
        padding: var(--space-sm);
        font-size: 0.8rem;
        margin: var(--space-sm) 0;
    }
    
    .post-body code {
        font-size: 0.85em;
    }
    
    .post-body blockquote {
        padding: 0.75em 1em;
        margin: 1em 0;
    }
    
    .post-cover-full {
        max-height: 220px;
        margin-bottom: var(--space-md);
    }
    
    .category-card {
        padding: var(--space-sm);
        gap: var(--space-md);
    }
    
    .category-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .category-name {
        font-size: 1rem;
    }
    
    .category-description {
        font-size: 0.8rem;
    }
    
    .about-content {
        padding: var(--space-sm);
    }
    
    .page-header {
        padding: var(--space-lg) 0;
    }
    
    .page-header h1 {
        font-size: 1.5rem;
    }
    
    .page-header p {
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 8px 14px;
        font-size: 0.8rem;
    }
    
    .btn svg {
        width: 14px;
        height: 14px;
    }
    
    .empty-state, .error-state {
        padding: var(--space-xl) var(--space-md);
    }
    
    .empty-state svg, .error-state svg {
        width: 48px;
        height: 48px;
    }
    
    .content-table th,
    .content-table td {
        padding: var(--space-sm);
        font-size: 0.85rem;
    }
    
    .pagination-btn {
        width: 36px;
        height: 36px;
    }
    
    .pagination-info {
        font-size: 0.8rem;
    }
}

.latest-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-lg);
    padding: 0;
    align-items: stretch;
}

.latest-card {
    position: relative;
    background: rgba(255, 255, 255, var(--glass-latest));
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--duration-normal) var(--ease-out-quart);
    opacity: 0;
    transform: translateY(20px);
    animation: cardReveal 0.6s var(--ease-out-expo) forwards;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.latest-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    opacity: 0;
    transition: opacity var(--duration-normal) var(--ease-out-quart);
    pointer-events: none;
}

.latest-card:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.latest-card:hover::before {
    opacity: 0.03;
}

.latest-card-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.latest-card-cover {
    width: 100%;
    height: 160px;
    overflow: hidden;
    position: relative;
}

.latest-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--ease-out-quart);
}

.latest-card:hover .latest-card-cover img {
    transform: scale(1.05);
}

.latest-card-cover-placeholder {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(124, 58, 237, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
}

.latest-card-cover-placeholder svg {
    width: 48px;
    height: 48px;
    color: var(--text-muted);
    opacity: 0.5;
}

.latest-card-content {
    flex: 1;
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 140px;
}

.latest-card-meta {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    flex-wrap: wrap;
}

.latest-card-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    line-height: 1.4;
    transition: color var(--duration-fast) var(--ease-out-quart);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.latest-card:hover .latest-card-title {
    color: var(--accent-primary);
}

.latest-card-excerpt {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
    min-height: 2.4em;
    max-height: 2.4em;
}

.latest-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: var(--space-sm);
}

.latest-card-skeleton {
    height: 320px;
}

.home-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-3xl) var(--space-lg);
    padding-bottom: 20vh;
    margin-bottom: 0;
    overflow: hidden;
}

.home-datetime {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: var(--space-xl);
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(20px);
    animation: heroReveal 0.8s var(--ease-out-expo) 0.1s forwards;
}

.home-date {
    font-family: var(--font-display);
    font-size: clamp(0.875rem, 2vw, 1rem);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.05em;
    margin-bottom: var(--space-xs);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.home-time {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.02em;
    display: flex;
    align-items: baseline;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.time-seconds {
    display: inline-block;
    min-width: 1.5em;
    text-align: left;
    color: var(--accent-primary);
}

.time-seconds.time-animate {
    animation: secondChange 0.3s var(--ease-out-expo);
}

@keyframes secondChange {
    0% {
        opacity: 0;
        transform: translateY(-8px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.home-hero-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 0 40px rgba(0, 212, 255, 0.3),
        0 0 20px rgba(255, 255, 255, 0.1);
    margin-bottom: var(--space-lg);
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: scale(0.8);
    animation: avatarReveal 0.8s var(--ease-out-expo) 0.2s forwards;
    transition: transform var(--duration-normal) var(--ease-out-quart), box-shadow var(--duration-normal) var(--ease-out-quart);
}

.home-hero-avatar::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.3), rgba(124, 58, 237, 0.3));
    filter: blur(12px);
    z-index: -1;
    opacity: 0.8;
}

.home-hero-avatar:hover {
    transform: scale(1.05);
    box-shadow: 
        0 0 60px rgba(0, 212, 255, 0.4),
        0 0 30px rgba(255, 255, 255, 0.15);
}

.home-hero-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-normal) var(--ease-out-quart);
}

.home-hero-avatar:hover img {
    transform: scale(1.1);
}

@keyframes avatarReveal {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.home-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-md);
    /* 流光渐变：白色高光在青 → 紫 → 粉之间扫过 */
    background: linear-gradient(
        105deg,
        var(--accent-primary)  0%,
        #ffffff                12%,
        var(--accent-secondary) 30%,
        var(--accent-tertiary)  52%,
        #ffffff                68%,
        var(--accent-primary)  82%,
        #ffffff                95%
    );
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(20px);
    animation:
        heroReveal      0.8s var(--ease-out-expo) 0.3s forwards,
        shimmerTitle    5s   linear               1.1s infinite;
}

.home-hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    max-width: 600px;
    line-height: 1.7;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(20px);
    /* 副标题：柔和扫光，白色微光在灰白之间缓缓游走 */
    background: linear-gradient(
        105deg,
        var(--text-secondary) 0%,
        var(--text-primary)   25%,
        rgba(0, 212, 255, 0.85) 48%,
        var(--text-primary)   72%,
        var(--text-secondary) 100%
    );
    background-size: 250% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation:
        heroReveal        0.8s var(--ease-out-expo) 0.4s forwards,
        shimmerSubtitle   7s   ease-in-out          1.2s infinite;
}

@keyframes shimmerTitle {
    0%   { background-position: 0%   center; }
    100% { background-position: 300% center; }
}

@keyframes shimmerSubtitle {
    0%, 100% { background-position: 0%   center; }
    50%      { background-position: 100% center; }
}

@media (max-width: 768px) {
    .latest-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .home-hero {
        min-height: 60vh;
        padding: var(--space-xl) var(--space-sm);
        padding-bottom: 15vh;
    }
    
    .home-hero-avatar {
        width: 90px;
        height: 90px;
    }
    
    .home-datetime {
        margin-bottom: var(--space-md);
    }
    
    .home-date {
        font-size: 0.8rem;
    }
    
    .home-time {
        font-size: 1.25rem;
    }
    
    .home-hero-title {
        font-size: 1.75rem;
        margin-bottom: var(--space-sm);
    }
    
    .home-hero-subtitle {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .latest-posts-grid {
        gap: var(--space-md);
    }
    
    .latest-card-cover {
        height: 140px;
    }
    
    .latest-card-content {
        padding: var(--space-sm);
    }
    
    .latest-card-title {
        font-size: 0.9rem;
    }
    
    .latest-card-excerpt {
        font-size: 0.75rem;
        -webkit-line-clamp: 2;
    }
    
    .latest-card-meta {
        gap: 4px;
    }
    
    .home-hero {
        min-height: 50vh;
        padding: var(--space-lg) var(--space-xs);
        padding-bottom: 12vh;
    }
    
    .home-hero-avatar {
        width: 75px;
        height: 75px;
        margin-bottom: var(--space-sm);
    }
    
    .home-datetime {
        margin-bottom: var(--space-sm);
    }
    
    .home-date {
        font-size: 0.75rem;
    }
    
    .home-time {
        font-size: 1.1rem;
    }
    
    .home-hero-title {
        font-size: 1.5rem;
        margin-bottom: 4px;
    }
    
    .home-hero-subtitle {
        font-size: 0.85rem;
    }
}

.category-search {
    margin-bottom: var(--space-xl);
}

.search-box {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    pointer-events: none;
}

.search-input {
    width: 100%;
    padding: 12px 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--text-primary);
    outline: none;
    transition: all var(--duration-fast) var(--ease-out-quart);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.search-clear {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    padding: 4px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--duration-fast) var(--ease-out-quart);
}

.search-clear:hover {
    background: rgba(255, 255, 255, 0.2);
}

.search-clear svg {
    width: 12px;
    height: 12px;
    color: var(--text-secondary);
}

.search-clear.hidden {
    display: none;
}

.category-posts-container {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    max-width: 800px;
    margin: 0 auto;
}

.post-card-category {
    display: flex;
    flex-direction: column;
    max-width: 100%;
    height: 100%;
}

.post-card-category .post-card-link {
    display: flex;
    flex-direction: row;
    flex: 1;
    height: 100%;
    align-items: stretch;
}

.post-card-cover-category {
    width: 130px;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
    align-self: stretch;
}

.post-card-cover-category img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.post-card-cover-category::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1));
    pointer-events: none;
}

.skeleton-card-category {
    height: 100px;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-sm);
    margin-top: var(--space-xl);
}

.pagination-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--duration-fast) var(--ease-out-quart);
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.pagination-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--text-primary);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-btn svg {
    width: 16px;
    height: 16px;
}

.pagination-info {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.pagination-ellipsis {
    color: var(--text-muted);
    margin: 0 var(--space-xs);
}

@media (max-width: 768px) {
    .post-card-cover-category {
        width: 100%;
        height: 120px;
    }
    
    .skeleton-card-category {
        height: 180px;
    }
    
    .pagination {
        flex-wrap: wrap;
        gap: var(--space-sm);
    }
    
    .pagination-info {
        order: -1;
        width: 100%;
        text-align: center;
        margin-bottom: var(--space-xs);
    }
    
    .category-search {
        margin-bottom: var(--space-md);
    }
    
    .search-box {
        max-width: 100%;
    }
    
    .search-input {
        padding: 10px 36px 10px 36px;
        font-size: 0.85rem;
    }
    
    .search-icon {
        width: 18px;
        height: 18px;
        left: 12px;
    }
    
    .search-clear {
        right: 8px;
        width: 22px;
        height: 22px;
    }
    
    .search-clear svg {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .post-card-cover-category {
        height: 100px;
    }
    
    .skeleton-card-category {
        height: 160px;
    }
    
    .pagination {
        gap: 4px;
    }
    
    .pagination-btn {
        width: 32px;
        height: 32px;
    }
    
    .pagination-btn svg {
        width: 14px;
        height: 14px;
    }
    
    .pagination-info {
        font-size: 0.75rem;
    }
    
    .search-input {
        padding: 8px 32px 8px 32px;
        font-size: 0.8rem;
        border-radius: var(--radius-md);
    }
    
    .search-icon {
        width: 16px;
        height: 16px;
        left: 10px;
    }
    
    .search-clear {
        right: 6px;
        width: 20px;
        height: 20px;
        padding: 2px;
    }
    
    .search-clear svg {
        width: 8px;
        height: 8px;
    }
}

.music-player {
    position: fixed;
    top: 100px;
    left: auto;
    right: var(--space-lg);
    z-index: 1000;
    user-select: none;
}

.music-edge-trigger {
    display: none;
    position: fixed;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    transition: all var(--duration-fast) var(--ease-out-quart);
}

.music-edge-trigger:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.music-edge-trigger.edge-hidden-left,
.music-edge-trigger.edge-hidden-right {
    display: flex;
}

.music-edge-trigger.edge-hidden-left {
    left: 0;
    border-radius: 0 50% 50% 0;
    border-left: none;
}

.music-edge-trigger.edge-hidden-right {
    right: 0;
    left: auto;
    border-radius: 50% 0 0 50%;
    border-right: none;
}

.music-disc-edge {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.music-disc-edge.spinning {
    animation: discSpin 3s linear infinite;
}

.music-disc-inner-edge {
    width: 18px;
    height: 18px;
    background: var(--bg-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.music-disc-inner-edge svg {
    width: 12px;
    height: 12px;
    color: var(--accent-primary);
}

.music-player.edge-hidden .music-player-mini {
    opacity: 0;
    pointer-events: none;
}

.music-player.edge-hidden .music-player-expanded {
    opacity: 0;
}

.music-player-mini {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    width: 320px;
    background: rgba(255, 255, 255, var(--glass-player));
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 8px 12px 8px 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    cursor: grab;
    transition: background var(--duration-fast) var(--ease-out-quart), 
                border-color var(--duration-fast) var(--ease-out-quart),
                box-shadow var(--duration-fast) var(--ease-out-quart);
}

.music-player-mini:active {
    cursor: grabbing;
}

.music-player-mini:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.music-disc {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.music-disc.spinning {
    animation: discSpin 3s linear infinite;
}

@keyframes discSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.music-disc-inner {
    width: 24px;
    height: 24px;
    background: var(--bg-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.music-disc-inner svg {
    width: 16px;
    height: 16px;
    color: var(--accent-primary);
}

.music-info-mini {
    flex: 1;
    min-width: 0;
    max-width: 150px;
}

.music-name-mini {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.music-progress-mini {
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.music-progress-bar-mini {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s linear;
}

.music-control-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all var(--duration-fast) var(--ease-out-quart);
    flex-shrink: 0;
}

.music-control-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-primary);
}

.music-control-btn svg {
    width: 18px;
    height: 18px;
}

.music-expand-btn {
    transform: rotate(180deg);
}

.music-player-expanded {
    position: fixed;
    width: 320px;
    background: rgba(255, 255, 255, var(--glass-player));
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all var(--duration-normal) var(--ease-out-quart);
    z-index: 999;
}

.music-player.expanded .music-player-expanded {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.music-player.expanded-below .music-player-expanded {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.music-player.expanded-left .music-player-expanded {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.music-player.expanded-right .music-player-expanded {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.music-expanded-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-lg);
}

.music-disc-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.3);
}

.music-disc-large.spinning {
    animation: discSpin 3s linear infinite;
}

.music-disc-inner-large {
    width: 50px;
    height: 50px;
    background: var(--bg-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.music-disc-inner-large svg {
    width: 32px;
    height: 32px;
    color: var(--accent-primary);
}

.music-header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.music-collapse-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all var(--duration-fast) var(--ease-out-quart);
}

.music-collapse-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
}

.music-collapse-btn svg {
    width: 18px;
    height: 18px;
}

.music-info-expanded {
    text-align: center;
    margin-bottom: var(--space-md);
}

.music-name-expanded {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.music-time {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.music-time span {
    margin: 0 2px;
}

.music-progress-expanded {
    position: relative;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin-bottom: var(--space-lg);
    overflow: hidden;
}

.music-progress-bar-expanded {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s linear;
}

.music-progress-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.music-controls-expanded {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.music-control-btn-lg {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all var(--duration-fast) var(--ease-out-quart);
}

.music-control-btn-lg:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
    transform: scale(1.05);
}

.music-control-btn-lg svg {
    width: 24px;
    height: 24px;
}

.music-play-btn-lg {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: var(--bg-primary);
}

.music-play-btn-lg:hover {
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.4);
    color: var(--bg-primary);
}

.music-volume {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0 var(--space-sm);
    margin-bottom: var(--space-lg);
}

.music-volume-icon {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.music-volume-slider {
    flex: 1;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

.music-volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    background: var(--accent-primary);
    border-radius: 50%;
    cursor: pointer;
    transition: transform var(--duration-fast) var(--ease-out-quart);
}

.music-volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.music-volume-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    background: var(--accent-primary);
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.music-playlist {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-md);
}

.music-reset-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--duration-fast) var(--ease-out-quart);
}

.music-reset-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
}

.music-reset-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.16);
}

.music-reset-btn svg {
    width: 16px;
    height: 16px;
}

.music-playlist-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-sm);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.music-playlist-count {
    font-size: 0.75rem;
}

.music-playlist-items {
    max-height: 200px;
    overflow-y: auto;
}

.music-playlist-empty {
    text-align: center;
    padding: var(--space-lg);
    color: var(--text-muted);
    font-size: 0.875rem;
}

.music-playlist-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--duration-fast) var(--ease-out-quart);
}

.music-playlist-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.music-playlist-item.active {
    background: rgba(0, 212, 255, 0.1);
}

.music-playlist-item-index {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    flex-shrink: 0;
}

.music-playlist-item.active .music-playlist-item-index {
    display: none;
}

.music-playlist-item-name {
    flex: 1;
    font-size: 0.85rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.music-playlist-item.active .music-playlist-item-name {
    color: var(--accent-primary);
}

.music-playlist-item-playing {
    display: none;
    width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
}

.music-playlist-item.active .music-playlist-item-playing {
    display: flex;
}

.music-playlist-item-playing svg {
    width: 14px;
    height: 14px;
    color: var(--accent-primary);
    animation: musicNote 1s ease-in-out infinite;
}

@keyframes musicNote {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.music-playlist-items::-webkit-scrollbar {
    width: 4px;
}

.music-playlist-items::-webkit-scrollbar-track {
    background: transparent;
}

.music-playlist-items::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

@media (max-width: 768px) {
    .music-player {
        position: fixed;
        bottom: 16px;
        right: 16px;
        left: auto;
        top: auto;
        width: auto;
        max-width: none;
        touch-action: none;
    }
    
    .music-player-mini {
        width: 48px;
        height: 48px;
        max-width: 48px;
        padding: 0;
        gap: 0;
        border-radius: 50%;
        box-sizing: border-box;
        justify-content: center;
        touch-action: none;
        cursor: grab;
        pointer-events: auto;
    }
    
    .music-player-mini:active {
        cursor: grabbing;
    }
    
    .music-disc {
        width: 48px;
        height: 48px;
        pointer-events: none;
    }
    
    .music-disc-inner {
        width: 28px;
        height: 28px;
        pointer-events: none;
    }
    
    .music-disc-inner svg {
        width: 18px;
        height: 18px;
        pointer-events: none;
    }
    
    .music-info-mini {
        display: none;
    }
    
    .music-name-mini {
        display: none;
    }
    
    .music-progress-mini {
        display: none;
    }
    
    .music-control-btn {
        display: none;
    }
    
    .music-edge-trigger {
        display: none !important;
    }
    
    .music-player-expanded {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        border-radius: 16px 16px 0 0;
        max-height: 75vh;
        overflow-y: auto;
        padding: 10px;
        padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
        box-sizing: border-box;
        pointer-events: auto;
    }
    
    .music-player.expanded .music-player-expanded,
    .music-player.expanded-below .music-player-expanded {
        transform: translateY(0) scale(1);
    }
    
    .music-expanded-header {
        margin-bottom: 10px;
    }
    
    .music-disc-large {
        width: 48px;
        height: 48px;
        box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    }
    
    .music-disc-inner-large {
        width: 30px;
        height: 30px;
    }
    
    .music-disc-inner-large svg {
        width: 18px;
        height: 18px;
    }
    
    .music-collapse-btn {
        width: 28px;
        height: 28px;
    }

    .music-reset-btn {
        width: 28px;
        height: 28px;
    }
    
    .music-collapse-btn svg {
        width: 14px;
        height: 14px;
    }

    .music-reset-btn svg {
        width: 13px;
        height: 13px;
    }

    .music-header-actions {
        gap: 6px;
    }
    
    .music-info-expanded {
        margin-bottom: 8px;
    }
    
    .music-name-expanded {
        font-size: 0.9rem;
        margin-bottom: 2px;
    }
    
    .music-time {
        font-size: 0.7rem;
    }
    
    .music-progress-expanded {
        height: 4px;
        margin-bottom: 10px;
    }
    
    .music-controls-expanded {
        gap: 12px;
        margin-bottom: 10px;
    }
    
    .music-control-btn-lg {
        width: 36px;
        height: 36px;
    }
    
    .music-control-btn-lg svg {
        width: 18px;
        height: 18px;
    }
    
    .music-play-btn-lg {
        width: 44px;
        height: 44px;
    }
    
    .music-volume {
        gap: 6px;
        padding: 0 4px;
        margin-bottom: 10px;
    }
    
    .music-volume-icon {
        width: 16px;
        height: 16px;
    }
    
    .music-volume-slider {
        height: 3px;
    }
    
    .music-volume-slider::-webkit-slider-thumb {
        width: 12px;
        height: 12px;
    }
    
    .music-playlist {
        padding-top: 8px;
    }
    
    .music-playlist-header {
        font-size: 0.7rem;
        margin-bottom: 4px;
    }
    
    .music-playlist-count {
        font-size: 0.65rem;
    }
    
    .music-playlist-items {
        max-height: 100px;
    }
    
    .music-playlist-item {
        padding: 6px;
        gap: 6px;
    }
    
    .music-playlist-item-index {
        width: 20px;
        height: 20px;
        font-size: 0.65rem;
    }
    
    .music-playlist-item-name {
        font-size: 0.75rem;
    }
    
    .music-playlist-item-playing {
        width: 20px;
        height: 20px;
    }
    
    .music-playlist-item-playing svg {
        width: 12px;
        height: 12px;
    }
}

@media (max-width: 480px) {
    .music-player {
        position: fixed;
        bottom: 12px;
        right: 12px;
        left: auto;
        width: auto;
        max-width: none;
    }
    
    .music-player-mini {
        width: 44px;
        height: 44px;
        max-width: 44px;
        padding: 0;
        gap: 0;
        border-radius: 50%;
    }
    
    .music-disc {
        width: 44px;
        height: 44px;
    }
    
    .music-disc-inner {
        width: 26px;
        height: 26px;
    }
    
    .music-disc-inner svg {
        width: 16px;
        height: 16px;
    }
    
    .music-player-expanded {
        max-height: 70vh;
        padding: 8px;
        padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
        border-radius: 12px 12px 0 0;
    }
    
    .music-expanded-header {
        margin-bottom: 8px;
    }
    
    .music-disc-large {
        width: 40px;
        height: 40px;
    }
    
    .music-disc-inner-large {
        width: 26px;
        height: 26px;
    }
    
    .music-disc-inner-large svg {
        width: 16px;
        height: 16px;
    }
    
    .music-collapse-btn {
        width: 24px;
        height: 24px;
    }

    .music-reset-btn {
        width: 24px;
        height: 24px;
    }
    
    .music-collapse-btn svg {
        width: 12px;
        height: 12px;
    }

    .music-reset-btn svg {
        width: 11px;
        height: 11px;
    }

    .music-header-actions {
        gap: 5px;
    }
    
    .music-info-expanded {
        margin-bottom: 6px;
    }
    
    .music-name-expanded {
        font-size: 0.85rem;
    }
    
    .music-time {
        font-size: 0.65rem;
    }
    
    .music-progress-expanded {
        height: 3px;
        margin-bottom: 8px;
    }
    
    .music-controls-expanded {
        gap: 10px;
        margin-bottom: 8px;
    }
    
    .music-control-btn-lg {
        width: 32px;
        height: 32px;
    }
    
    .music-control-btn-lg svg {
        width: 16px;
        height: 16px;
    }
    
    .music-play-btn-lg {
        width: 40px;
        height: 40px;
    }
    
    .music-volume {
        margin-bottom: 8px;
    }
    
    .music-volume-icon {
        width: 14px;
        height: 14px;
    }
    
    .music-volume-slider::-webkit-slider-thumb {
        width: 10px;
        height: 10px;
    }
    
    .music-playlist {
        padding-top: 6px;
    }
    
    .music-playlist-header {
        font-size: 0.65rem;
    }
    
    .music-playlist-items {
        max-height: 80px;
    }
    
    .music-playlist-item {
        padding: 5px;
        gap: 5px;
    }
    
    .music-playlist-item-index {
        width: 18px;
        height: 18px;
        font-size: 0.6rem;
    }
    
    .music-playlist-item-name {
        font-size: 0.7rem;
    }
    
    .music-playlist-item-playing {
        width: 18px;
        height: 18px;
    }
    
    .music-playlist-item-playing svg {
        width: 10px;
        height: 10px;
    }
}
