/* ============================================================
   MyBlog - 极简博客样式
   ============================================================ */

/* ---- Reset & Base ---- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #f8f9fa;
    --card: #ffffff;
    --text: #2c3e50;
    --text-light: #6c757d;
    --accent: #2563eb;
    --accent-hover: #1d4ed8;
    --border: #e5e7eb;
    --code-bg: #1e293b;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.container:has(.post-with-toc) {
    max-width: 1140px;
}

@supports not (selector(:has(*))) {
    .container.post-wide {
        max-width: 1140px;
    }
}

/* ---- Header ---- */
.site-header {
    background: var(--card);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(8px);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* ---- Search Bar ---- */
.search-form {
    display: flex;
    align-items: center;
    position: relative;
}

.search-input {
    width: 180px;
    padding: 7px 36px 7px 14px;
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 0.85rem;
    background: var(--bg);
    color: var(--text);
    outline: none;
    transition: all 0.2s;
    font-family: inherit;
}

.search-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
    background: var(--card);
}

.search-input::placeholder {
    color: #adb5bd;
}

.search-btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 4px;
    line-height: 1;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.search-btn:hover {
    opacity: 1;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo:hover {
    color: var(--accent);
}

.nav {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: nowrap;
}

.nav a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
    white-space: nowrap;
}

.nav a:hover {
    color: var(--accent);
}

.nav-admin {
    padding-left: 10px;
    border-left: 1px solid var(--border);
    color: var(--text-light);
    font-size: 0.8rem;
    opacity: 0.7;
}

.nav-admin:hover {
    opacity: 1;
    color: var(--accent) !important;
}

/* ---- Main ---- */
main {
    flex: 1;
    padding: 40px 0;
}

/* ---- Post Card (首页) ---- */
.post-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.post-card {
    background: var(--card);
    border-radius: 12px;
    padding: 28px;
    border: 1px solid var(--border);
    transition: box-shadow 0.2s, transform 0.2s;
}

.post-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transform: translateY(-2px);
}

.post-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.post-title a {
    color: var(--text);
    text-decoration: none;
}

.post-title a:hover {
    color: var(--accent);
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.tag {
    display: inline-block;
    background: #eef2ff;
    color: var(--accent);
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    text-decoration: none;
    transition: background 0.2s;
}

.tag:hover {
    background: #dbeafe;
}

.post-excerpt {
    color: var(--text-light);
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.read-more {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
}

.read-more:hover {
    text-decoration: underline;
}

/* ---- 文章详情 ---- */
.post-detail {
    background: var(--card);
    border-radius: 12px;
    padding: 36px;
    border: 1px solid var(--border);
}

.post-header {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.post-detail .post-title {
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 12px;
}

/* ---- Markdown 渲染样式 ---- */
.post-content h2 {
    font-size: 1.5rem;
    margin: 32px 0 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.post-content h3 {
    font-size: 1.2rem;
    margin: 24px 0 12px;
}

.post-content p {
    margin-bottom: 16px;
}

.post-content ul, .post-content ol {
    margin: 0 0 16px 24px;
}

.post-content li {
    margin-bottom: 6px;
}

.post-content a {
    color: var(--accent);
}

.post-content blockquote {
    border-left: 4px solid var(--accent);
    margin: 16px 0;
    padding: 12px 20px;
    background: #f1f5f9;
    border-radius: 0 8px 8px 0;
    color: var(--text-light);
}

.post-content img {
    max-width: 100%;
    border-radius: 8px;
    margin: 20px 0;
}

.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.post-content th, .post-content td {
    padding: 10px 14px;
    border: 1px solid var(--border);
    text-align: left;
}

.post-content th {
    background: #f1f5f9;
    font-weight: 600;
}

.post-content hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 32px 0;
}

/* ---- 代码�?---- */
.post-content code {
    font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 0.9em;
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
    color: #dc2626;
}

.post-content pre {
    background: var(--code-bg);
    border-radius: 8px;
    padding: 20px;
    overflow-x: auto;
    margin: 20px 0;
}

.post-content pre code {
    background: transparent;
    color: #e2e8f0;
    padding: 0;
    font-size: 0.85rem;
    line-height: 1.6;
}

/* Pygments 代码高亮 */
.post-content .codehilite {
    background: var(--code-bg);
    border-radius: 8px;
    padding: 20px;
    overflow-x: auto;
    margin: 20px 0;
}

.post-content .codehilite pre {
    margin: 0;
    padding: 0;
    background: transparent;
}

/* ---- 导航按钮 ---- */
.post-nav {
    margin-top: 40px;
}

.btn, .btn-small {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.btn:hover, .btn-small:hover {
    background: var(--accent-hover);
}

.btn-small {
    padding: 6px 16px;
    font-size: 0.85rem;
}

/* ---- Tag Banner ---- */
.tag-banner {
    background: var(--card);
    border-radius: 12px;
    padding: 20px 28px;
    border: 1px solid var(--border);
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tag-banner h2 {
    font-size: 1.1rem;
    font-weight: 600;
}

/* ---- About Page ---- */
.about-page h1 {
    font-size: 2rem;
    margin-bottom: 24px;
}

.about-content {
    background: var(--card);
    border-radius: 12px;
    padding: 32px;
    border: 1px solid var(--border);
}

.about-content h2 {
    font-size: 1.3rem;
    margin: 24px 0 12px;
}

.about-content h2:first-child {
    margin-top: 0;
}

.about-content p, .about-content li {
    margin-bottom: 8px;
    line-height: 1.8;
}

.about-content ol, .about-content ul {
    margin-left: 20px;
}

/* ---- Search Banner ---- */
.search-banner {
    background: var(--card);
    border-radius: 12px;
    padding: 20px 28px;
    border: 1px solid var(--border);
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.search-banner h2 {
    font-size: 1.1rem;
    font-weight: 600;
}

.search-count {
    font-size: 0.85rem;
    color: var(--text-light);
    background: var(--bg);
    padding: 2px 12px;
    border-radius: 12px;
}

/* ---- Search Snippets ---- */
.post-card-search {
    border-left: 3px solid var(--accent);
}

.search-snippet {
    font-size: 0.85rem;
    color: var(--text-light);
    background: #f8fafc;
    padding: 8px 12px;
    border-radius: 6px;
    margin-bottom: 6px;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-snippet::before {
    content: "�?;
    color: #adb5bd;
    margin-right: 4px;
}

.search-snippet::after {
    content: "�?;
    color: #adb5bd;
    margin-left: 4px;
}

/* ---- Empty State ---- */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-light);
}

.empty-state h2 {
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.empty-state code {
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.9rem;
}

/* ---- Error Page ---- */
.error-page {
    text-align: center;
    padding: 80px 20px;
}

.error-page h1 {
    font-size: 4rem;
    color: var(--accent);
    margin-bottom: 12px;
}

.error-page p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 24px;
}

/* ---- Footer ---- */
.site-footer {
    background: var(--card);
    border-top: 1px solid var(--border);
    padding: 20px 0;
    text-align: center;
    color: var(--text-light);
    font-size: 0.85rem;
}

/* ============================================================
   暗色模式
   ============================================================ */

[data-theme="dark"] {
    --bg: #0f172a;
    --card: #1e293b;
    --text: #e2e8f0;
    --text-light: #94a3b8;
    --accent: #60a5fa;
    --accent-hover: #93bbfd;
    --border: #334155;
    --code-bg: #020617;
}

/* 绿色主题 */
[data-theme="green"] {
    --bg: #ecfdf5;
    --card: #ffffff;
    --text: #1a2e1a;
    --text-light: #4a6b4a;
    --accent: #16a34a;
    --accent-hover: #15803d;
    --border: #bbf7d0;
    --code-bg: #1e293b;
}

[data-theme="green"] .post-card:hover {
    box-shadow: 0 4px 20px rgba(22,163,74,0.12);
}

/* 紫色主题 */
[data-theme="purple"] {
    --bg: #faf5ff;
    --card: #ffffff;
    --text: #2e1a3a;
    --text-light: #6b4a7a;
    --accent: #9333ea;
    --accent-hover: #7e22ce;
    --border: #e9d5ff;
    --code-bg: #1e293b;
}

[data-theme="purple"] .post-card:hover {
    box-shadow: 0 4px 20px rgba(147,51,234,0.12);
}

[data-theme="dark"] .post-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

[data-theme="dark"] .tag {
    background: #1e3a5f;
    color: #93bbfd;
}

[data-theme="dark"] .tag:hover {
    background: #1e4a7f;
}

[data-theme="dark"] .post-content code {
    background: #334155;
    color: #f87171;
}

[data-theme="dark"] .post-content blockquote {
    background: #1e293b;
    border-left-color: var(--accent);
}

[data-theme="dark"] .post-content th {
    background: #1e293b;
}

[data-theme="dark"] .search-snippet {
    background: #1e293b;
    color: #94a3b8;
}

[data-theme="dark"] .empty-state code {
    background: #334155;
}

[data-theme="dark"] .tag-list-item {
    background: var(--card);
}

[data-theme="dark"] .tag-list-item:hover {
    box-shadow: 0 2px 8px rgba(96,165,250,0.15);
}

/* ============================================================
   夜间模式切换按钮
   ============================================================ */

.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 4px 6px;
    border-radius: 6px;
    transition: background 0.2s;
    line-height: 1;
}

.theme-toggle:hover {
    background: var(--border);
}

.theme-icon-dark {
    display: none;
}

[data-theme="dark"] .theme-icon-light {
    display: none;
}

[data-theme="dark"] .theme-icon-dark {
    display: inline;
}

/* ============================================================
   标签云页�?�?朴素标签列表
   ============================================================ */

.tags-page {
    padding: 10px 0;
}

.tags-header {
    text-align: center;
    padding-bottom: 28px;
}

.tags-header h1 {
    font-size: 1.8rem;
    margin-bottom: 4px;
}

.tags-count {
    color: var(--text-light);
    font-size: 0.9rem;
}

.tags-simple-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.simple-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 8px 18px;
    text-decoration: none;
    transition: all 0.2s;
}

.simple-tag:hover {
    border-color: var(--accent);
    box-shadow: 0 2px 8px rgba(37,99,235,0.1);
    transform: translateY(-2px);
}

.st-name {
    font-weight: 500;
    color: var(--text);
    font-size: 0.95rem;
}

.st-count {
    background: var(--accent);
    color: white;
    border-radius: 10px;
    padding: 1px 9px;
    font-size: 0.78rem;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

[data-theme="dark"] .st-count {
    color: #0f172a;
}

/* ============================================================
   时间轴页�?   ============================================================ */

.tl-hero {
    text-align: center;
    padding: 30px 0 20px;
}

.tl-hero h1 {
    font-size: 2rem;
    margin-bottom: 4px;
}

.tl-hero-desc {
    color: var(--text-light);
    font-size: 0.9rem;
}

.timeline {
    position: relative;
    padding-left: 40px;
}

/* 纵向�?*/
.tl-line {
    position: absolute;
    left: 18px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--accent), var(--accent-hover), transparent);
    border-radius: 2px;
    opacity: 0.5;
}

/* 年份标签 */
.tl-year-label {
    position: relative;
    margin: 32px 0 20px -10px;
}

.tl-year-badge {
    display: inline-block;
    background: var(--accent);
    color: white;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 6px 20px;
    border-radius: 20px;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(37,99,235,0.2);
}

/* 时间轴条�?*/
.tl-item {
    position: relative;
    margin-bottom: 28px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

/* 圆点 */
.tl-dot {
    position: absolute;
    left: -30px;
    top: 14px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent);
    border: 3px solid var(--bg);
    box-shadow: 0 0 0 2px var(--accent);
    z-index: 1;
}

/* 日期�?*/
.tl-date-card {
    flex-shrink: 0;
    width: 64px;
    text-align: center;
    padding-top: 8px;
}

.tl-month {
    display: block;
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
}

.tl-day {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1.2;
}

/* 文章卡片 */
.tl-card {
    flex: 1;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px 24px;
    transition: box-shadow 0.2s, transform 0.2s;
    position: relative;
}

.tl-card::before {
    content: '';
    position: absolute;
    left: -9px;
    top: 16px;
    width: 16px;
    height: 16px;
    background: var(--card);
    border-left: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    transform: rotate(45deg);
}

.tl-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transform: translateX(4px);
}

.tl-post-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.tl-post-title a {
    color: var(--text);
    text-decoration: none;
}

.tl-post-title a:hover {
    color: var(--accent);
}

.tl-tags {
    margin-bottom: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tl-excerpt {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 10px;
    line-height: 1.5;
}

.tl-read {
    font-size: 0.85rem;
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

.tl-read:hover {
    text-decoration: underline;
}

/* 时间轴暗�?*/
[data-theme="dark"] .tl-card::before {
    background: var(--card);
    border-color: var(--border);
}

[data-theme="dark"] .tl-dot {
    border-color: #0f172a;
}

/* ============================================================
   两栏布局
   ============================================================ */

.main-layout {
    /* 保持现有单列布局 */
}

/* ============================================================
   回到顶部按钮
   ============================================================ */

.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent);
    color: white;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(37,99,235,0.3);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s, transform 0.3s, background 0.2s;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent-hover);
    box-shadow: 0 6px 16px rgba(37,99,235,0.4);
}

[data-theme="dark"] .back-to-top {
    box-shadow: 0 4px 12px rgba(96,165,250,0.25);
}

[data-theme="dark"] .back-to-top:hover {
    box-shadow: 0 6px 16px rgba(96,165,250,0.35);
}

/* ============================================================
   文章目录
   ============================================================ */

.post-with-toc {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    max-width: 1100px;
    margin: 0 auto;
}

.post-toc {
    width: 240px;
    flex-shrink: 0;
}

.post-toc-inner {
    position: fixed;
    top: 90px;
    width: 240px;
    left: calc((100vw - 1140px) / 2 + 20px);
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 18px 20px;
    z-index: 101;
}

.post-toc-title {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text);
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.post-toc-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.post-toc-content ul ul {
    padding-left: 14px;
}

.post-toc-content li {
    margin-bottom: 4px;
}

.post-toc-content a {
    display: block;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.82rem;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.15s;
    line-height: 1.4;
    word-break: break-word;
}

.post-toc-content a:hover {
    color: var(--accent);
    background: rgba(37,99,235,0.06);
}


/* 无目录时文章撑满 */
.post-detail {
    flex: 1;
    min-width: 0;
}

/* ============================================================
   说说页面
   ============================================================ */

.shuo-hero {
    text-align: center;
    padding: 24px 0 20px;
}

.shuo-hero h1 {
    font-size: 1.8rem;
    margin-bottom: 6px;
}

.shuo-hero-desc {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* 发表卡片 */
.shuo-form-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 28px;
}

.shuo-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    background: var(--bg);
    color: var(--text);
    resize: vertical;
    outline: none;
    transition: border-color 0.2s;
}

.shuo-textarea:focus {
    border-color: var(--accent);
}

.shuo-form-tools {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    gap: 12px;
    flex-wrap: wrap;
}

.shuo-upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1px dashed var(--border);
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--text-light);
    transition: all 0.2s;
}

.shuo-upload-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(37,99,235,0.05);
}

.shuo-upload-done {
    color: #16a34a !important;
    font-weight: 600;
    font-size: 0.8rem;
}

[data-theme="dark"] .shuo-upload-done {
    color: #4ade80 !important;
}

.shuo-form-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.shuo-nickname {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.9rem;
    background: var(--bg);
    color: var(--text);
    outline: none;
    font-family: inherit;
    margin-bottom: 10px;
    transition: border-color 0.2s;
}

.shuo-nickname:focus {
    border-color: var(--accent);
}

.shuo-captcha {
    display: flex;
    align-items: center;
    gap: 8px;
}

.shuo-captcha-q {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent);
    background: #eef2ff;
    padding: 6px 12px;
    border-radius: 8px;
    white-space: nowrap;
}

[data-theme="dark"] .shuo-captcha-q {
    background: #1e3a5f;
    color: #93bbfd;
}

.shuo-captcha-input {
    width: 70px;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.85rem;
    background: var(--bg);
    color: var(--text);
    outline: none;
    font-family: inherit;
    text-align: center;
}

.shuo-captcha-input:focus {
    border-color: var(--accent);
}

.shuo-submit {
    background: var(--accent);
    color: white;
    border: none;
    padding: 8px 24px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    font-family: inherit;
}

.shuo-submit:hover {
    background: var(--accent-hover);
}

.shuo-error {
    color: #dc2626;
    font-size: 0.85rem;
    margin-top: 10px;
}

/* 说说列表 */
.shuo-feed {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.shuo-item {
    display: flex;
    gap: 14px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px 24px;
    transition: box-shadow 0.2s;
}

.shuo-item:hover {
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.shuo-avatar {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #eef2ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.shuo-body {
    flex: 1;
    min-width: 0;
}

.shuo-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.shuo-author {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--accent);
}

.shuo-time {
    font-size: 0.78rem;
    color: var(--text-light);
}

.shuo-content {
    font-size: 0.95rem;
    line-height: 1.7;
    word-break: break-word;
    white-space: pre-wrap;
}

.shuo-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 8px;
    margin-top: 12px;
}

.shuo-images a {
    display: block;
    border-radius: 8px;
    overflow: hidden;
}

.shuo-images img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.2s;
}

.shuo-images img:hover {
    transform: scale(1.03);
}

[data-theme="dark"] .shuo-avatar {
    background: #1e3a5f;
}

[data-theme="dark"] .shuo-upload-btn:hover {
    background: rgba(96,165,250,0.08);
}

/* ============================================================
   留言回复
   ============================================================ */

.shuo-reply-area {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
}

.shuo-replies {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 10px;
    padding-left: 12px;
    border-left: 3px solid var(--border);
}

.shuo-reply-item {
    padding: 8px 12px;
    background: var(--bg);
    border-radius: 8px;
}

.shuo-reply-author {
    font-weight: 600;
    font-size: 0.82rem;
    color: var(--accent);
}

.shuo-reply-time {
    font-size: 0.72rem;
    color: var(--text-light);
    margin-left: 8px;
}

.shuo-reply-content {
    font-size: 0.88rem;
    line-height: 1.6;
    margin-top: 4px;
    word-break: break-word;
}

.shuo-reply-btn {
    background: none;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 4px 12px;
    font-size: 0.78rem;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.shuo-reply-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.shuo-reply-form {
    margin-top: 8px;
    padding: 12px;
    background: var(--bg);
    border-radius: 8px;
}

.shuo-reply-form input[type="text"] {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 0.82rem;
    font-family: inherit;
    background: var(--card);
    color: var(--text);
    outline: none;
    margin-bottom: 8px;
}

.shuo-reply-form input[type="text"]:focus {
    border-color: var(--accent);
}

.shuo-reply-form textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 0.85rem;
    font-family: inherit;
    background: var(--card);
    color: var(--text);
    resize: vertical;
    outline: none;
    margin-bottom: 8px;
}

.shuo-reply-form textarea:focus {
    border-color: var(--accent);
}

.shuo-reply-form-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

[data-theme="dark"] .shuo-reply-item {
    background: var(--card);
}

/* ============================================================
   说说页面（博主）
   ============================================================ */

.shuo-form-title {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    background: var(--bg);
    color: var(--text);
    outline: none;
    font-family: inherit;
    margin-bottom: 10px;
    transition: border-color 0.2s;
}

.shuo-form-title:focus {
    border-color: var(--accent);
}

.shuo-form-title::placeholder {
    font-weight: 400;
    color: #adb5bd;
}

.shuo-form-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    background: var(--bg);
    color: var(--text);
    resize: vertical;
    outline: none;
    transition: border-color 0.2s;
}

.shuo-form-textarea:focus {
    border-color: var(--accent);
}

.s2-card-content {
    font-size: 0.95rem;
    line-height: 1.7;
    word-break: break-word;
    white-space: pre-wrap;
    color: var(--text);
}

.s2-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 8px;
    margin-top: 12px;
}

.s2-images a {
    display: block;
    border-radius: 8px;
    overflow: hidden;
}

.s2-images img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.2s;
}

.s2-images img:hover {
    transform: scale(1.03);
}

/* ============================================================
   后台管理
   ============================================================ */

.admin-header {
    background: var(--card);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.admin-header-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-logo {
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--text);
}

.admin-nav {
    display: flex;
    gap: 16px;
    align-items: center;
}

.admin-nav a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.admin-nav a:hover {
    color: var(--accent);
}

.admin-main {
    max-width: 1000px;
    margin: 0 auto;
    padding: 32px 20px;
}

.admin-btn {
    display: inline-block;
    padding: 8px 18px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--text);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.admin-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.admin-btn-primary {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

.admin-btn-primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    color: white;
}

.admin-btn-sm {
    padding: 4px 12px;
    font-size: 0.78rem;
}

.admin-btn-danger {
    color: #dc2626;
    border-color: #fca5a5;
}

.admin-btn-danger:hover {
    background: #fef2f2;
    border-color: #dc2626;
    color: #dc2626;
}

[data-theme="dark"] .admin-btn-danger:hover {
    background: #451a1a;
}

.admin-stat-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}

.admin-stat-num {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent);
}

.admin-stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 4px;
}

.admin-section {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px 24px;
}

.admin-section h3 {
    font-size: 1rem;
    margin-bottom: 8px;
}

/* 表格 */
.admin-table-wrap {
    overflow-x: auto;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.admin-table th {
    background: var(--bg);
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    border-bottom: 1px solid var(--border);
    color: var(--text-light);
    font-size: 0.82rem;
}

.admin-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
}

.admin-table tr:last-child td {
    border-bottom: none;
}

.admin-table tr:hover td {
    background: rgba(37,99,235,0.02);
}

[data-theme="dark"] .admin-table tr:hover td {
    background: rgba(96,165,250,0.03);
}

/* 表单 */
.admin-form {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px 24px;
    margin-top: 16px;
}

.admin-form-group {
    margin-bottom: 16px;
}

.admin-form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text);
}

.admin-form-group input[type="text"],
.admin-form-group input[type="date"] {
    width: 85%;
    padding: 20px 24px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 1.15rem;
    background: var(--bg);
    color: var(--text);
    outline: none;
    font-family: inherit;
    transition: border-color 0.2s;
}

.admin-form-group textarea {
    width: 85%;
    padding: 20px 24px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 1.05rem;
    font-family: inherit;
    background: var(--bg);
    color: var(--text);
    outline: none;
    resize: vertical;
    min-height: 120px;
    transition: border-color 0.2s;
}

.admin-form-group textarea:focus {
    border-color: var(--accent);
}

.admin-upload-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    border: 1px dashed var(--border);
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
    color: var(--text-light);
    transition: all 0.2s;
}

.admin-upload-label:hover {
    border-color: var(--accent);
    color: var(--accent);
}

[data-theme="dark"] .admin-upload-label:hover {
    background: rgba(96,165,250,0.05);
}

.admin-form-group input:focus {
    border-color: var(--accent);
}

.admin-textarea {
    width: 85%;
    padding: 20px 24px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 1.05rem;
    font-family: 'Consolas', 'Monaco', monospace;
    background: var(--bg);
    color: var(--text);
    resize: vertical;
    min-height: 500px;
    outline: none;
    transition: border-color 0.2s;
    line-height: 1.8;
}

.admin-textarea:focus {
    border-color: var(--accent);
}

.admin-error {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #dc2626;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    margin-bottom: 16px;
}

[data-theme="dark"] .admin-error {
    background: #451a1a;
    border-color: #7f1d1d;
    color: #fca5a5;
}

.admin-empty {
    text-align: center;
    padding: 40px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.admin-empty a {
    color: var(--accent);
}

/* ---- Responsive ---- */


/* ============================================================
   评论区样式
   ============================================================ */

.post-comments {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.comments-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--text);
}

.comment-count {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: normal;
    margin-left: 4px;
}

.comments-empty {
    color: var(--text-light);
    font-size: 0.9rem;
    padding: 20px 0;
}

.comments-list {
    margin-bottom: 28px;
}

.comment-item {
    padding: 14px 16px;
    margin-bottom: 12px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.comment-author {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
}

.reply-author {
    color: var(--accent);
}

.comment-date {
    font-size: 0.78rem;
    color: var(--text-light);
}

.comment-body {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text);
    word-break: break-word;
}

.comment-replies {
    margin-top: 12px;
    margin-left: 20px;
    padding-left: 14px;
    border-left: 3px solid var(--accent);
}

.reply-item {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.reply-item:last-child {
    border-bottom: none;
}

/* 评论表单 */
.comment-form {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    margin-top: 8px;
}

.comment-form h3 {
    font-size: 1rem;
    margin-bottom: 16px;
    color: var(--text);
}

.comment-form-row {
    margin-bottom: 12px;
}

.comment-input {
    width: 100%;
    padding: 8px 12px;
    font-size: 0.9rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg);
    color: var(--text);
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.comment-input:focus,
.comment-textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.comment-textarea {
    width: 100%;
    padding: 10px 12px;
    font-size: 0.9rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg);
    color: var(--text);
    font-family: inherit;
    resize: vertical;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.page-header {
    margin-bottom: 28px;
}

.page-title {
    font-size: 1.8rem;
    color: var(--text);
    margin-bottom: 4px;
}

.page-subtitle {
    font-size: 0.9rem;
    color: var(--text-light);
}

.captcha-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.captcha-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent);
    background: var(--bg);
    padding: 6px 14px;
    border: 1px dashed var(--border);
    border-radius: 8px;
    white-space: nowrap;
}

.captcha-input {
    max-width: 100px;
}

.comment-submit {
    padding: 8px 24px;
    font-size: 0.9rem;
    border: none;
    border-radius: 8px;
    background: var(--accent);
    color: white;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s;
}

.comment-submit:hover {
    background: var(--accent-hover);
}

/* 后台评论徽章 */
.comment-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.75rem;
    background: var(--card);
    border: 1px solid var(--border);
    color: var(--text-light);
    text-decoration: none;
    margin: 0 2px;
}

.comment-pending {
    background: #fef3c7;
    border-color: #f59e0b;
    color: #92400e;
}

[data-theme="dark"] .comment-pending {
    background: rgba(245,158,11,0.15);
    color: #fbbf24;
}


/* ============================================================
   相册样式
   ============================================================ */

.gallery-page {
    padding-bottom: 40px;
}

.gallery-page .page-header {
    margin-bottom: 28px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.gallery-item {
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    background: var(--card);
    transition: transform 0.2s, box-shadow 0.2s;
}

.gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

[data-theme="dark"] .gallery-item:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.gallery-link {
    display: block;
    overflow: hidden;
}

.gallery-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
    cursor: pointer;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.05);
}

.gallery-caption {
    padding: 10px 12px 2px;
    font-size: 0.9rem;
    color: var(--text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gallery-date {
    padding: 0 12px 10px;
    font-size: 0.75rem;
    color: var(--text-light);
}

.gallery-empty {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-light);
    font-size: 1rem;
}

/* 灯箱 */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    z-index: 99999;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 4px;
    cursor: default;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.lightbox-close:hover {
    opacity: 1;
}


/* ============================================================
   Live2D Widget
   ============================================================ */

#live2d-wrapper {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

#live2d-wrapper.live2d-hidden {
    opacity: 0;
    transform: translateY(30px);
    pointer-events: none;
}

#live2d-container {
    width: 240px;
    height: 380px;
    position: relative;
    cursor: default;
}

#live2d-container canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

/* Action buttons container */
#live2d-actions {
    position: absolute;
    top: 128px;
    right: 8px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

#live2d-actions button {
    padding: 3px 10px;
    font-size: 0.7rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--card);
    color: var(--text-light);
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.25s, background 0.2s;
    font-family: inherit;
    line-height: 1.5;
    pointer-events: auto;
}

#live2d-container:hover #live2d-actions button {
    opacity: 0.8;
}

#live2d-actions button:hover {
    opacity: 1 !important;
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

/* Name tip bubble */
#live2d-tip {
    position: absolute;
    bottom: calc(100% - 55px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 4px 14px;
    font-size: 0.78rem;
    color: var(--text-light);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.4s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    pointer-events: none;
}

#live2d-tip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -4px;
    border: 4px solid transparent;
    border-top-color: var(--border);
}

/* Toggle button */
#live2d-toggle {
    position: fixed;
    left: 20px;
    bottom: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent);
    color: white;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(37,99,235,0.3);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s;
    font-family: inherit;
    line-height: 1;


#live2d-toggle:hover {
    background: var(--accent-hover);
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(37,99,235,0.4);
}

/* Dark mode */
[data-theme="dark"] #live2d-toggle {
    box-shadow: 0 2px 10px rgba(96,165,250,0.25);
}

[data-theme="dark"] #live2d-toggle:hover {
    box-shadow: 0 4px 16px rgba(96,165,250,0.35);
}

/* ============================================================
   阅读统计栏
   ============================================================ */

.post-stats-bar {
    display: flex;
    gap: 16px;
    margin-top: 10px;
    font-size: 0.8rem;
    color: var(--text-light);
    flex-wrap: wrap;
}

.post-stats-bar span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* ============================================================
   相关文章
   ============================================================ */

.related-posts {
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.related-title {
    font-size: 1.05rem;
    margin-bottom: 14px;
    color: var(--text);
}

.related-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.related-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
}

.related-item:hover {
    background: var(--bg);
    transform: translateX(4px);
}

.related-item-title {
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 500;
}

.related-item-date {
    font-size: 0.78rem;
    color: var(--text-light);
    white-space: nowrap;
}

/* ============================================================
   代码块复制按钮
   ============================================================ */

.code-block-wrapper {
    position: relative;
}

.copy-btn {
    position: absolute;
    top: 6px;
    right: 6px;
    padding: 3px 10px;
    font-size: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--card);
    color: var(--text-light);
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.25s, background 0.2s;
    font-family: inherit;
    z-index: 2;
}

.code-block-wrapper:hover .copy-btn {
    opacity: 0.8;
}

.copy-btn:hover {
    opacity: 1 !important;
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

/* ============================================================
   分页
   ============================================================ */

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin: 36px 0 48px;
    flex-wrap: wrap;
}

.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    font-size: 0.85rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--card);
    color: var(--text);
    text-decoration: none;
    transition: all 0.2s;
}

.page-btn:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.page-current {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    font-weight: 600;
}

.page-dots {
    color: var(--text-light);
    font-size: 0.85rem;
    padding: 0 4px;
}

/* ============================================================
   搜索高亮
   ============================================================ */

.search-highlight {
    background: #fde68a;
    padding: 1px 3px;
    border-radius: 3px;
    color: #92400e;
}

[data-theme="dark"] .search-highlight {
    background: #854d0e;
    color: #fef3c7;
}

[data-theme="dark"] #live2d-tip {
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* ============================================================
   目录高亮
   ============================================================ */

.post-toc-content a.toc-active {
    color: var(--accent) !important;
    font-weight: 700;
    border-left-color: var(--accent) !important;
}

/* 评论楼层 */

.comment-floor {
    font-size: 0.78rem;
    color: var(--text-light);
    font-weight: 600;
    margin-right: 8px;
    background: var(--bg);
    padding: 1px 8px;
    border-radius: 4px;
}


/* Emotion buttons accent colors */
.live2d-emotion[data-motion="Surprised"]:hover {
    background: #f59e0b !important;
    border-color: #f59e0b !important;
}
.live2d-emotion[data-motion="Smile"]:hover {
    background: #ec4899 !important;
    border-color: #ec4899 !important;
}
.live2d-emotion[data-motion="Angry"]:hover {
    background: #ef4444 !important;
    border-color: #ef4444 !important;
}
.live2d-emotion[data-motion="Sad"]:hover {
    background: #6366f1 !important;
    border-color: #6366f1 !important;
}



