/* 公共样式 - CSS 变量定义 */
:root {
    --code-blue: #569cd6;
    --code-green: #6a9955;
    --code-orange: #ce9178;
    --code-purple: #c586c0;
    --code-yellow: #dcdcaa;
}

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

html {
    overflow-x: hidden;
    height: 100%;
}

body {
    font-family: 'Consolas', 'Monaco', 'Courier New', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", sans-serif;
    background: #0a0a0a;
    color: #e0e0e0;
    line-height: 1.6;
    transition: background 0.3s, color 0.3s;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

/* 明亮模式 */
body.light-mode {
    background: linear-gradient(180deg,
        rgba(248, 250, 252, 0.5) 0%,
        rgba(226, 232, 240, 0.3) 30%,
        #f8fafc 100%
    );
    color: #2c3e50;
}

/* Header 样式 - 玻璃质感 */
.header {
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 16px 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.header.nav-hidden {
    transform: translateY(-100%);
}

/* 滚动时的效果 */
.header.scrolled {
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(30px) saturate(200%);
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-direction: row;
    text-decoration: none;
    color: inherit;
    flex-shrink: 0;
    min-width: 240px;
}

.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--code-blue) 0%, var(--code-purple) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 16px rgba(86, 140, 214, 0.3);
    transition: all 0.3s ease;
}

.avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(86, 140, 214, 0.4);
}

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

.logo {
    font-size: 24px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: color 0.3s ease;
}

.logo span {
    color: var(--code-blue);
    text-shadow: 0 2px 8px rgba(86, 140, 214, 0.5);
}

.tagline {
    color: #888;
    font-size: 13px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* 导航菜单样式 */
.header-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    color: #888;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.nav-link i {
    width: 16px;
    height: 16px;
    stroke-width: 1.8px;
}

.nav-link:hover {
    color: #e0e0e0;
    background: rgba(255, 255, 255, 0.06);
}

/* 私信站长：作为导航最后一项的按钮，复用 nav-link 外观（重置 button 默认样式） */
.nav-link-contact {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.nav-link.active {
    color: var(--code-blue);
    background: rgba(86, 140, 214, 0.1);
}

.nav-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 14px;
    height: 14px;
    padding: 0 3px;
    font-size: 9px;
    font-weight: 700;
    color: #fff;
    background: #ef4444;
    border-radius: 7px;
    line-height: 1;
}

.mobile-nav-link .nav-badge {
    display: none;
}

/* 汉堡菜单按钮 - 默认隐藏 */
.hamburger-btn {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: #e0e0e0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hamburger-btn i {
    width: 22px;
    height: 22px;
    stroke-width: 1.8px;
}

.hamburger-btn:hover {
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    border-color: transparent;
    color: #fff;
}

/* 移动端菜单 - 默认隐藏 */
.mobile-menu {
    display: none;
    flex-direction: column;
    padding: 12px 20px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-menu.open {
    display: flex;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: #888;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.mobile-nav-link i {
    width: 18px;
    height: 18px;
    stroke-width: 1.8px;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: #e0e0e0;
    background: rgba(255, 255, 255, 0.06);
}

.mobile-nav-link.active {
    color: var(--code-blue);
    background: rgba(86, 140, 214, 0.1);
}

/* 图标按钮样式 */
.icon-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    border: none;
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.icon-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
    color: #fff;
}

.icon-theme,
.icon-contact,
.icon-back {
    width: 22px;
    height: 22px;
    color: #888;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    stroke-width: 1.5px;
}

.icon-btn:hover .icon-theme,
.icon-btn:hover .icon-contact,
.icon-btn:hover .icon-back {
    color: #fff;
    transform: scale(1.1);
}

/* Tooltip 提示 */
.icon-btn::after {
    content: attr(aria-label);
    position: absolute;
    bottom: -32px;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
    letter-spacing: 0.5px;
}

.icon-btn:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* 联系按钮样式 */
.contact-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    text-decoration: none;
    font-family: inherit;
}

.contact-btn i {
    width: 18px;
    height: 18px;
    stroke-width: 2px;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.contact-btn:hover i {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.docs-btn {
    background: transparent;
    border: 1px solid #333;
    color: #888;
    padding: 10px 24px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
}

.docs-btn:hover {
    border-color: var(--code-blue);
    color: var(--code-blue);
}

.page-content {
    flex: 1;
    /* 杜绝任何子元素造成的页面级横向滚动（横向滑动的卡片行自带滚动容器，不受影响） */
    overflow-x: hidden;
}

/* Footer 样式 */
.footer {
    background: #0a0a0a;
    border-top: 1px solid #1a1a1a;
    padding: 30px 40px;
    text-align: center;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer p {
    font-size: 12px;
    color: #666;
    line-height: 1.8;
    font-weight: 300;
}

/* 明亮模式覆盖 */
body.light-mode .header {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(102, 126, 234, 0.2);
    box-shadow: 0 1px 8px rgba(102, 126, 234, 0.1);
}

body.light-mode .header.scrolled {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 20px rgba(102, 126, 234, 0.08);
}

body.light-mode .avatar {
    border-color: rgba(102, 126, 234, 0.2);
    box-shadow: 0 2px 12px rgba(102, 126, 234, 0.15);
}

body.light-mode .logo {
    color: #1a1a1a;
    text-shadow: none;
}

body.light-mode .logo span {
    color: #569cd6;
    text-shadow: none;
}

body.light-mode .tagline {
    color: #64748b;
    opacity: 1;
}

body.light-mode .icon-btn {
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.2);
    color: #64748b;
    box-shadow: none;
}

body.light-mode .icon-btn:hover {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.35);
    color: rgba(0, 0, 0, 0.85);
    box-shadow: none;
}

body.light-mode .icon-theme,
body.light-mode .icon-contact,
body.light-mode .icon-back {
    color: #475569;
}

body.light-mode .icon-btn:hover .icon-theme,
body.light-mode .icon-btn:hover .icon-contact,
body.light-mode .icon-btn:hover .icon-back {
    color: #fff;
}

/* 明亮模式导航菜单 */
body.light-mode .nav-link {
    color: #64748b;
}

body.light-mode .nav-link:hover {
    color: #1e293b;
    background: rgba(102, 126, 234, 0.06);
}

body.light-mode .nav-link.active {
    color: #569cd6;
    background: rgba(86, 140, 214, 0.08);
}

body.light-mode .hamburger-btn {
    border-color: #e5e7eb;
    color: #64748b;
}

body.light-mode .hamburger-btn:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    color: #fff;
}

body.light-mode .mobile-menu {
    border-top-color: rgba(102, 126, 234, 0.1);
}

body.light-mode .mobile-nav-link {
    color: #64748b;
}

body.light-mode .mobile-nav-link:hover,
body.light-mode .mobile-nav-link.active {
    color: #1e293b;
    background: rgba(102, 126, 234, 0.06);
}

body.light-mode .mobile-nav-link.active {
    color: #569cd6;
}

body.light-mode .contact-btn {
    background: transparent;
    color: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: none;
}

body.light-mode .contact-btn:hover {
    color: rgba(0, 0, 0, 0.85);
    border-color: rgba(0, 0, 0, 0.25);
    background: rgba(0, 0, 0, 0.04);
    box-shadow: none;
}

body.light-mode .footer {
    background: #ffffff;
    border-top: 1px solid rgba(102, 126, 234, 0.1);
}

body.light-mode .footer p {
    color: #64748b;
}

/* 留言模态窗口 */
.message-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0);
    pointer-events: none;
    transition: background 0.3s, backdrop-filter 0.3s;
}

.message-modal.active {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    pointer-events: auto;
}

.message-modal-content {
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 0;
    width: 860px;
    max-width: 92vw;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9) translateY(20px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
}

.message-modal.active .message-modal-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* 左侧联系信息面板 */
.message-modal-left {
    width: 320px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.03);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    padding: 28px 24px;
    overflow-y: auto;
}

.message-contact-photo {
    width: 180px;
    margin: 0 auto 16px;
}

.message-contact-photo img {
    width: 100%;
    height: 180px;
    display: block;
    border-radius: 50%;
    object-fit: cover;
}

.message-contact-photo-placeholder {
    background: rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
}

.message-contact-photo-placeholder i {
    width: 48px;
    height: 48px;
    color: rgba(255, 255, 255, 0.15);
}

.message-contact-intro {
    position: relative;
    margin-bottom: 16px;
    padding: 0 6px;
}

.message-contact-intro p {
    font-size: 13px;
    line-height: 1.7;
    color: #a0aec0;
    margin: 0;
    text-indent: 0.5em;
}

.message-intro-quote {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 42px;
    line-height: 1;
    color: rgba(86, 156, 214, 0.2);
    position: absolute;
    user-select: none;
    pointer-events: none;
}

.message-intro-quote-open {
    top: -4px;
    left: -8px;
}

.message-intro-quote-close {
    bottom: -20px;
    right: -4px;
}

.message-contact-divider {
    width: 80%;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 4px auto 12px;
}

.message-contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.message-qr-wrapper {
    margin-bottom: 16px;
}

.message-qr-img {
    max-width: 120px;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.message-info-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.message-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    font-size: 13px;
    color: #d0d6e0;
}

.message-info-item i {
    width: 16px;
    height: 16px;
    color: #569cd6;
    flex-shrink: 0;
}

/* 右侧留言表单 */
.message-modal-right {
    flex: 1;
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
}

.message-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    color: #888;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
    z-index: 1;
}

.message-modal-close i {
    width: 18px;
    height: 18px;
}

.message-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.message-form-title {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.message-form-group {
    margin-bottom: 16px;
}

.message-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #a0aec0;
    margin-bottom: 6px;
}

.message-required {
    color: #e53e3e;
}

.message-input,
.message-textarea {
    width: 100%;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: #e0e0e0;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.message-input:focus,
.message-textarea:focus {
    border-color: #569cd6;
    box-shadow: 0 0 0 2px rgba(86, 156, 214, 0.15);
}

.message-input::placeholder,
.message-textarea::placeholder {
    color: #555;
}

.message-textarea {
    resize: vertical;
    min-height: 80px;
}

.message-error {
    display: block;
    font-size: 12px;
    color: #e53e3e;
    margin-top: 4px;
    min-height: 16px;
}

/* Toggle 开关 */
.message-toggle-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #a0aec0;
}

.message-toggle {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.message-toggle-track {
    display: block;
    width: 40px;
    height: 22px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 11px;
    position: relative;
    transition: background 0.2s;
}

.message-toggle.active .message-toggle-track {
    background: #569cd6;
}

.message-toggle-thumb {
    display: block;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: transform 0.2s;
}

.message-toggle.active .message-toggle-thumb {
    transform: translateX(18px);
}

/* 验证码行 */
.message-captcha-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.message-captcha-question {
    font-size: 16px;
    font-weight: 600;
    color: #569cd6;
    white-space: nowrap;
    min-width: 80px;
    text-align: center;
    padding: 8px 12px;
    background: rgba(86, 156, 214, 0.1);
    border-radius: 6px;
}

.message-captcha-input {
    width: 100px;
    flex-shrink: 0;
}

/* 滑块验证按钮（替代算术验证码） */
.message-captcha-verify-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 14px;
    font-size: 14px;
    color: #569cd6;
    background: rgba(86, 156, 214, 0.1);
    border: 1px solid rgba(86, 156, 214, 0.35);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.message-captcha-verify-btn svg {
    width: 16px;
    height: 16px;
}

.message-captcha-verify-btn:hover {
    background: rgba(86, 156, 214, 0.18);
}

.message-captcha-verify-btn.verified {
    color: #4ec9b0;
    background: rgba(78, 201, 176, 0.12);
    border-color: rgba(78, 201, 176, 0.4);
    cursor: default;
}

/* 蜜罐隐藏 */
.message-honeypot {
    position: absolute;
    left: -9999px;
    top: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    pointer-events: none;
}

/* 附件上传区域 */
.message-upload-area {
    border: 2px dashed rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.message-upload-area:hover {
    border-color: #569cd6;
    background: rgba(86, 156, 214, 0.05);
}

.message-upload-icon {
    width: 18px;
    height: 18px;
    color: #569cd6;
    opacity: 0.7;
}

.message-upload-text {
    font-size: 13px;
    color: #a0aec0;
}

.message-upload-hint {
    font-size: 12px;
    color: #555;
}

/* 文件预览 */
.message-file-preview {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(86, 156, 214, 0.08);
    border: 1px solid rgba(86, 156, 214, 0.2);
    border-radius: 8px;
    margin-top: 8px;
}

.message-file-icon {
    width: 18px;
    height: 18px;
    color: #569cd6;
    flex-shrink: 0;
}

.message-file-name {
    flex: 1;
    font-size: 13px;
    color: #e0e0e0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.message-file-remove {
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
    flex-shrink: 0;
}

.message-file-remove i {
    width: 14px;
    height: 14px;
}

.message-file-remove:hover {
    color: #e53e3e;
    background: rgba(229, 62, 62, 0.1);
}

/* 未登录附件提示 */
.message-upload-login {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
}

.message-upload-lock-icon {
    width: 16px;
    height: 16px;
    color: #555;
    flex-shrink: 0;
}

.message-upload-login-text {
    flex: 1;
    font-size: 13px;
    color: #666;
}

.message-upload-login-btn {
    display: inline-block;
    padding: 5px 14px;
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    color: #fff;
    border-radius: 6px;
    font-size: 13px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s;
}

.message-upload-login-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35);
}

/* 明亮模式 - 附件上传 */
body.light-mode .message-upload-area {
    border-color: #e2e8f0;
}

body.light-mode .message-upload-area:hover {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.04);
}

body.light-mode .message-upload-icon {
    color: #667eea;
}

body.light-mode .message-upload-text {
    color: #475569;
}

body.light-mode .message-upload-hint {
    color: #94a3b8;
}

body.light-mode .message-file-preview {
    background: rgba(102, 126, 234, 0.06);
    border-color: rgba(102, 126, 234, 0.15);
}

body.light-mode .message-file-name {
    color: #1e293b;
}

body.light-mode .message-upload-login {
    background: #f8fafc;
    border-color: #e2e8f0;
}

body.light-mode .message-upload-lock-icon {
    color: #94a3b8;
}

body.light-mode .message-upload-login-text {
    color: #94a3b8;
}

body.light-mode .message-upload-login-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* 提交按钮 */
.message-submit-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    margin-top: 4px;
}

.message-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.message-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* 成功提示 */
.message-success {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    margin-top: 12px;
    background: rgba(106, 153, 85, 0.15);
    border: 1px solid rgba(106, 153, 85, 0.3);
    border-radius: 8px;
    color: #6a9955;
    font-size: 14px;
    font-weight: 500;
}

.message-success i {
    width: 20px;
    height: 20px;
}

/* 明亮模式模态窗口 */
body.light-mode .message-modal.active {
    background: rgba(0, 0, 0, 0.3);
}

body.light-mode .message-modal-content {
    background: #fff;
    border-color: rgba(102, 126, 234, 0.15);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.15);
}

body.light-mode .message-modal-left {
    background: #f8fafc;
    border-right-color: rgba(102, 126, 234, 0.1);
}

body.light-mode .message-contact-photo-placeholder {
    background: rgba(102, 126, 234, 0.06);
}

body.light-mode .message-contact-photo-placeholder i {
    color: rgba(102, 126, 234, 0.25);
}

body.light-mode .message-contact-intro p {
    color: #64748b;
}

body.light-mode .message-intro-quote {
    color: rgba(102, 126, 234, 0.15);
}

body.light-mode .message-contact-divider {
    background: rgba(102, 126, 234, 0.1);
}

body.light-mode .message-info-item {
    background: #f8fafc;
    border-color: rgba(102, 126, 234, 0.12);
    color: #475569;
}

body.light-mode .message-info-item i {
    color: #667eea;
}

body.light-mode .message-form-title {
    color: #1e293b;
}

body.light-mode .message-modal-close:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #1e293b;
}

body.light-mode .message-label {
    color: #475569;
}

body.light-mode .message-input,
body.light-mode .message-textarea {
    background: #f8fafc;
    border-color: #e2e8f0;
    color: #1e293b;
}

body.light-mode .message-input:focus,
body.light-mode .message-textarea:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.15);
}

body.light-mode .message-input::placeholder,
body.light-mode .message-textarea::placeholder {
    color: #94a3b8;
}

body.light-mode .message-toggle-track {
    background: #e2e8f0;
}

body.light-mode .message-toggle.active .message-toggle-track {
    background: #667eea;
}

body.light-mode .message-captcha-question {
    background: rgba(102, 126, 234, 0.08);
    color: #667eea;
}

body.light-mode .message-captcha-verify-btn {
    color: #667eea;
    background: rgba(102, 126, 234, 0.08);
    border-color: rgba(102, 126, 234, 0.3);
}

body.light-mode .message-captcha-verify-btn:hover {
    background: rgba(102, 126, 234, 0.15);
}

body.light-mode .message-captcha-verify-btn.verified {
    color: #2f9e6e;
    background: rgba(47, 158, 110, 0.1);
    border-color: rgba(47, 158, 110, 0.35);
}

body.light-mode .message-submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

body.light-mode .message-error {
    color: #e53e3e;
}

/* 联系按钮明亮模式 */
body.light-mode .contact-btn {
    background: transparent;
    color: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: none;
}

body.light-mode .contact-btn:hover {
    color: rgba(0, 0, 0, 0.85);
    border-color: rgba(0, 0, 0, 0.25);
    background: rgba(0, 0, 0, 0.04);
    box-shadow: none;
}

/* 平板断点：收缩导航间距和字号 */
@media (max-width: 1200px) {
    .header {
        padding: 12px 24px;
    }

    .header-left {
        min-width: 180px;
    }

    .tagline {
        display: none;
    }

    .header-nav {
        gap: 2px;
    }

    .nav-link {
        padding: 6px 10px;
        font-size: 13px;
        gap: 4px;
    }

    .nav-link i {
        width: 14px;
        height: 14px;
    }
}

/* 小平板断点：导航只显示图标，联系按钮隐藏文字 */
@media (max-width: 1024px) {
    .header-left {
        min-width: 140px;
    }

    .nav-link span {
        display: none;
    }

    .nav-link {
        padding: 8px;
    }

    .nav-link i {
        width: 18px;
        height: 18px;
    }

    .nav-badge {
        display: none;
    }

    .contact-btn span {
        display: none;
    }

    .contact-btn {
        padding: 8px;
    }

    .header-right {
        gap: 6px;
    }

    .header-member-name {
        display: none;
    }

    .header-member-btn.logged-in {
        padding: 8px;
    }
}

/* 移动端响应式 */
@media (max-width: 768px) {
    .header-right {
        gap: 8px;
        display: none;
    }

    .contact-btn {
        padding: 8px 16px;
        font-size: 13px;
        gap: 6px;
    }

    .contact-btn span {
        display: none;
    }

    .icon-btn {
        width: 36px;
        height: 36px;
    }

    .message-modal-content {
        flex-direction: column;
        width: 92vw;
        max-width: 440px;
    }

    .message-modal-left {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        padding: 20px;
        max-height: 200px;
        overflow-y: auto;
    }

    body.light-mode .message-modal-left {
        border-bottom-color: rgba(102, 126, 234, 0.1);
    }

    .message-modal-right {
        padding: 24px 20px;
    }

    .message-contact-photo {
        width: 80px;
    }

    .message-contact-photo img {
        height: 80px;
    }
}

@media (max-width: 768px) {
    .header-left {
        min-width: unset;
        flex: 1;
    }

    .header-left .logo {
        line-height: 1.1;
    }

    .header-left > div {
        line-height: 1;
    }

    .header-nav {
        display: none;
    }

    .header {
        padding: 12px 16px;
    }

    .hamburger-btn {
        display: flex;
        margin-left: auto;
    }

    .mobile-menu {
        border-top: 1px solid rgba(255, 255, 255, 0.06);
    }
}

/* 移动端菜单底部 */
.mobile-menu-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-footer-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: #e0e0e0;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.mobile-menu-footer > .mobile-footer-btn:first-child {
    width: 100%;
}

.mobile-footer-btn i {
    width: 18px;
    height: 18px;
    stroke-width: 1.8px;
}

.mobile-footer-btn:hover {
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    border-color: transparent;
    color: #fff;
}

body.light-mode .mobile-menu-footer {
    border-top-color: rgba(102, 126, 234, 0.1);
}

body.light-mode .mobile-footer-btn {
    color: #555;
    border-color: rgba(102, 126, 234, 0.15);
}

/* Order Pages */
.order-container {
    max-width: 520px;
    margin: 0 auto;
    padding: 0 16px;
    width: 100%;
}

.main-content > .order-container {
    min-height: calc(100vh - 160px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 60px;
    padding-bottom: 40px;
    box-sizing: border-box;
}

.main-content > .order-container > .order-card {
    width: 100%;
}

.order-card {
    background: var(--card-bg, #fff);
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.order-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 24px;
    text-align: center;
}

.order-info {
    margin-bottom: 24px;
}

.order-info-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color, #f0f0f0);
}

.order-info-label {
    color: var(--text-secondary, #888);
}

.order-amount {
    font-weight: 600;
    color: #e74c3c;
    font-size: 1.2rem;
}

.order-pay-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.pay-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: opacity 0.2s;
}

.pay-btn:hover { opacity: 0.85; }
.pay-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.pay-btn-wechat {
    background: #07c160;
    color: #fff;
}

.pay-btn-alipay {
    background: #1677ff;
    color: #fff;
}

.pay-btn-free {
    background: #10b981;
    color: #fff;
}

.pay-btn-mock {
    width: 100%;
    background: var(--card-bg, #f5f5f5);
    border: 1px dashed var(--border-color, #ccc);
    color: var(--text-secondary, #888);
    margin-top: 8px;
}

.order-result-icon {
    text-align: center;
    font-size: 3rem;
    color: #07c160;
    margin-bottom: 8px;
}

.activation-code-box {
    background: var(--code-bg, #f8f8f8);
    border-radius: 8px;
    padding: 16px;
    text-align: center;
    margin-bottom: 16px;
}

.activation-code-label {
    font-size: 0.875rem;
    color: var(--text-secondary, #888);
    margin-bottom: 8px;
}

.activation-code-value {
    font-family: monospace;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 1px;
    word-break: break-all;
}

.copy-code-btn {
    margin-top: 12px;
    padding: 6px 20px;
    background: #07c160;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.875rem;
}

.copy-code-btn:hover { opacity: 0.85; }

.order-warning {
    background: #fff3cd;
    color: #856404;
    padding: 10px 16px;
    border-radius: 6px;
    text-align: center;
    font-size: 0.875rem;
    margin-bottom: 20px;
}

.back-home-btn {
    display: block;
    text-align: center;
    padding: 10px;
    background: var(--btn-bg, #333);
    color: var(--btn-color, #fff);
    border-radius: 8px;
    text-decoration: none;
}

.back-home-btn:hover { opacity: 0.85; }

/* Buy Modal */
.buy-modal {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.buy-modal-content {
    background: #1f2937;
    color: #e0e0e0;
    border-radius: 12px;
    padding: 32px;
    width: 90%;
    max-width: 420px;
    position: relative;
}

body.light-mode .buy-modal-content {
    background: #fff;
    color: #333;
}

.buy-modal-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

.buy-modal-info {
    margin-bottom: 20px;
}

.buy-modal-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid #374151;
}

body.light-mode .buy-modal-row {
    border-bottom-color: #f0f0f0;
}

.buy-modal-phone {
    margin-bottom: 20px;
}

.buy-modal-phone label {
    display: block;
    font-size: 0.875rem;
    margin-bottom: 6px;
    color: var(--text-secondary, #666);
}

.buy-modal-phone input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-color, #ddd);
    border-radius: 8px;
    font-size: 1rem;
    box-sizing: border-box;
}

.buy-modal-hint {
    font-size: 0.75rem;
    color: var(--text-secondary, #999);
    margin-top: 4px;
}

.buy-modal-actions {
    display: flex;
    gap: 12px;
}

.buy-modal-cancel {
    flex: 1;
    padding: 10px;
    border: 1px solid #374151;
    background: transparent;
    color: #ccc;
    border-radius: 8px;
    cursor: pointer;
}

body.light-mode .buy-modal-cancel {
    border-color: #ddd;
    background: #fff;
    color: #333;
}

.buy-modal-confirm {
    flex: 1;
    padding: 10px;
    background: #07c160;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
}

.buy-modal-confirm:disabled { opacity: 0.5; cursor: not-allowed; }

.buy-modal-error {
    color: #e74c3c;
    font-size: 0.875rem;
    text-align: center;
    margin-top: 12px;
}

/* 支付二维码弹窗 */
.pay-qrcode-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}
.pay-qrcode-modal {
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    max-width: 360px;
    width: 90%;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}
.pay-qrcode-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}
.pay-qrcode-amount {
    font-size: 24px;
    font-weight: 700;
    color: #e74c3c;
    margin-bottom: 16px;
}
.pay-qrcode-box {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}
.pay-qrcode-box img,
.pay-qrcode-box canvas {
    border: 1px solid #eee;
}
.pay-qrcode-hint {
    font-size: 13px;
    color: #888;
    margin-bottom: 12px;
}
.pay-qrcode-status {
    font-size: 14px;
    color: #07c160;
    margin-bottom: 16px;
}
.pay-qrcode-close {
    background: none;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 8px 24px;
    color: #666;
    cursor: pointer;
    font-size: 14px;
}
.pay-qrcode-close:hover {
    border-color: #999;
    color: #333;
}

/* Header Member Dropdown */
.header-member {
    position: relative;
}

.header-member-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    border: none;
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.25s;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.header-member-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

/* 未登录 */
.header-member-btn.guest {
    color: #fff;
}
.header-member-btn.guest:hover {
    color: #fff;
}
body.light-mode .header-member-btn.guest {
    background: transparent;
    color: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.2);
    box-shadow: none;
}
body.light-mode .header-member-btn.guest:hover {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.35);
    color: rgba(0, 0, 0, 0.85);
    box-shadow: none;
}

/* 已登录 */
.header-member-btn.logged-in {
    color: #fff;
}
.header-member-btn.logged-in:hover {
    color: #fff;
}
body.light-mode .header-member-btn.logged-in {
    background: transparent;
    color: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.2);
    box-shadow: none;
}
body.light-mode .header-member-btn.logged-in:hover {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.35);
    color: rgba(0, 0, 0, 0.85);
    box-shadow: none;
}

.header-member-btn i {
    width: 18px;
    height: 18px;
}

.header-member-name {
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.header-member-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 8px;
    min-width: 200px;
    z-index: 200;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

body.light-mode .header-member-dropdown {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.header-member-dropdown.show {
    display: block;
}

.header-dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    color: #eee;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.875rem;
    white-space: nowrap;
    transition: all 0.2s;
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
}

.header-dropdown-item:hover {
    background: rgba(86, 140, 214, 0.2);
    color: #569cd6;
}

body.light-mode .header-dropdown-item {
    color: #333;
}

body.light-mode .header-dropdown-item:hover {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.header-dropdown-item i {
    width: 16px;
    height: 16px;
}

/* ========== 退款模态窗口 ========== */
.refund-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0);
    pointer-events: none;
    transition: all 0.3s ease;
}
.refund-modal.active {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    pointer-events: auto;
}
.refund-modal-content {
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 28px 32px;
    width: 420px;
    max-width: 90vw;
    position: relative;
    transform: scale(0.95) translateY(10px);
    opacity: 0;
    transition: all 0.3s ease;
}
.refund-modal.active .refund-modal-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}
.refund-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    transition: all 0.2s;
}
.refund-modal-close:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #e0e0e0;
}
.refund-modal-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #e0e0e0;
}
.refund-form-group {
    margin-bottom: 16px;
}
.refund-label {
    display: block;
    font-size: 0.85rem;
    color: #aaa;
    margin-bottom: 6px;
    font-weight: 500;
}
.refund-input,
.refund-textarea {
    width: 100%;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: #e0e0e0;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}
.refund-input:focus,
.refund-textarea:focus {
    border-color: #569cd6;
    box-shadow: 0 0 0 2px rgba(86, 156, 214, 0.15);
}
.refund-textarea {
    resize: vertical;
    min-height: 80px;
    font-family: inherit;
}
.refund-hint {
    display: block;
    font-size: 0.75rem;
    color: #666;
    margin-top: 4px;
}
.refund-submit-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 4px;
}
.refund-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}
.refund-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
.refund-error {
    margin-top: 12px;
    padding: 10px 14px;
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.2);
    border-radius: 8px;
    color: #e74c3c;
    font-size: 0.85rem;
}

/* 退款模态窗口 - 明亮模式 */
body.light-mode .refund-modal-content {
    background: #fff;
    border-color: #e2e8f0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}
body.light-mode .refund-modal-close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #1e293b;
}
body.light-mode .refund-modal-title {
    color: #1e293b;
}
body.light-mode .refund-label {
    color: #475569;
}
body.light-mode .refund-input,
body.light-mode .refund-textarea {
    background: #f8fafc;
    border-color: #e2e8f0;
    color: #1e293b;
}
body.light-mode .refund-input:focus,
body.light-mode .refund-textarea:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.15);
}
body.light-mode .refund-hint {
    color: #94a3b8;
}
/* 会员下拉菜单数量徽标 */
.header-dropdown-badge {
    margin-left: auto;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: rgba(86, 140, 214, 0.2);
    color: #569cd6;
    font-size: 11px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

body.light-mode .header-dropdown-badge {
    background: rgba(102, 126, 234, 0.15);
    color: #4f46e5;
}

/* ============ B站视频 iframe 手机端降级：封面 + 播放按钮 ============ */
.bili-fallback {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #1a1a2e 0%, #121212 60%, #171320 100%);
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.bili-fallback::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.28);
    pointer-events: none;
}

.bili-fallback-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: #fb7299;
    border: none;
    border-radius: 999px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 4px 16px rgba(251, 114, 153, 0.4);
    transition: transform 0.2s;
}

.bili-fallback-btn:active {
    transform: scale(0.96);
}

.bili-fallback-play {
    width: 18px;
    height: 18px;
}

.bili-fallback-note {
    position: relative;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.78);
}

body.light-mode .bili-fallback {
    background: linear-gradient(135deg, #eef2ff 0%, #f8fafc 60%, #fdf2f8 100%);
}

body.light-mode .bili-fallback::before {
    background: rgba(0, 0, 0, 0.12);
}

body.light-mode .bili-fallback-note {
    color: rgba(30, 41, 59, 0.65);
}
