/* 基础样式与导航布局 */

/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* GEO 导航与结构提示（指南/功能页复用） */
.guide-toc {
    margin: 20px auto;
    padding: 16px 18px;
    border-radius: 16px;
    background: rgba(87, 81, 213, 0.08);
    border: 1px solid rgba(87, 81, 213, 0.18);
    box-shadow: 0 10px 24px rgba(87, 81, 213, 0.08);
}

.guide-toc__title {
    font-weight: 700;
    color: #3b35a0;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.guide-toc__list {
    margin: 0;
    padding-left: 18px;
    color: #4b5563;
    line-height: 1.7;
}

.guide-geo-summary {
    margin: 20px auto;
    padding: 18px 20px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(87, 81, 213, 0.12), rgba(124, 58, 237, 0.12));
    border: 1px solid rgba(87, 81, 213, 0.2);
    color: #1f2937;
}

.guide-geo-summary__header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.guide-geo-summary__badge {
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(87, 81, 213, 0.16);
    color: #4338ca;
    font-weight: 700;
    font-size: 0.85rem;
}

.guide-geo-summary__hint {
    font-size: 0.85rem;
    color: #6b7280;
}

.guide-geo-summary__body p {
    margin: 8px 0;
    line-height: 1.7;
}

.guide-geo-summary__structure-list {
    margin: 8px 0 0;
    padding-left: 20px;
    line-height: 1.7;
    color: #4b5563;
}

.guide-geo-summary__list {
    margin: 12px 0 0;
    padding-left: 20px;
    color: #4b5563;
    line-height: 1.7;
}

.geo-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

:root {
    --color-bg: #f8f7fb;
    --color-surface: #ffffff;
    --color-surface-muted: #f3f2f8;
    --color-text-primary: #161615;
    --color-text-secondary: #3f4148;
    --color-muted: rgba(22, 22, 21, 0.64);
    --color-brand-700: #4b46c9;
    --color-brand-600: #5751d5;
    --color-brand-500: #6c66e5;
    --color-brand-100: #eeedff;
    --color-highlight: #5751d5;
    --color-highlight-soft: rgba(87, 81, 213, 0.08);
    --color-highlight-strong: rgba(87, 81, 213, 0.28);
    --color-text-inverse: #fdfdfd;
    --color-border: rgba(22, 22, 21, 0.08);
    --color-border-strong: rgba(22, 22, 21, 0.14);
    --elevation-base: 0 20px 36px rgba(20, 22, 35, 0.08);
    --elevation-soft: 0 12px 20px rgba(32, 35, 59, 0.06);
    --elevation-card: 0 16px 28px rgba(18, 16, 40, 0.08);
    --radius-xl: 28px;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --radius-xs: 8px;
    --gradient-highlight: linear-gradient(135deg, rgba(87, 81, 213, 0.14) 0%, rgba(87, 81, 213, 0) 82%);
    --gradient-surface: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(246, 246, 250, 0.98) 100%);
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 24px;
    --space-6: 32px;
    --space-7: 48px;
    --space-8: 64px;
    --space-9: 80px;
    --layout-max-width: 1200px;
    --layout-wide-width: 1280px;
    --layout-padding: 24px;
    --layout-padding-mobile: 16px;
    --scroll-offset: 96px;
    --type-body: 16px;
    --type-small: 13px;
    --type-h4: 20px;
    --type-h3: 25px;
    --type-h2: 31px;
    --type-h1: 39px;
    --font-body: "HarmonyOS Sans SC", "MiSans", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    --motion-fast: 120ms;
    --motion-base: 200ms;
    --motion-slow: 320ms;
    --motion-pulse: 1600ms;
    --motion-breath: 2000ms;
    --motion-spin: 900ms;
    --motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --icon-size-sm: 14px;
    --icon-size-md: 16px;
    --icon-size-lg: 20px;
    --icon-size-xl: 24px;
    --image-tone-filter: saturate(0.96) contrast(1.02);
    --option-radius: 8px;
    --option-font-size: 14px;
    --option-font-weight: 600;
    --option-text-default: #1c1c1c;
    --option-text-selected: #ffffff;
    --option-border-default: #e5e7eb;
    --option-hover-shadow: 0 2px 8px rgba(79, 70, 229, 0.18);
    --option-selected-shadow: 0 12px 30px rgba(28, 36, 80, 0.28);
    --platform-active: #5165ff;
    --processing-mode-active: #1f6fdb;
    --language-active: #167a4c;
    --feature-active: #6c4ff5;
    --font-english-serif: "Times New Roman", "Georgia", "Times", "SimSun", serif;
    --font-title-serif: "Noto Serif SC", "Noto Serif", "Songti SC", "STSong", "SimSun", serif;
    --focus-ring-color: rgba(87, 81, 213, 0.35);
    --focus-ring: 0 0 0 3px var(--focus-ring-color);
    --focus-ring-offset: 2px;
    --guide-flash-primary: #6f63ff;
    --guide-flash-secondary: #83c7ff;
    --guide-flash-shadow: rgba(28, 36, 80, 0.24);
    --option-card-padding: 10px 14px;
    --option-card-gap: 12px;
    --option-chip-padding: 10px 14px;
    --option-chip-font-size: 14px;
    --option-chip-height: 44px;
    --option-card-radius: 16px;
    --option-card-shadow: 0 12px 24px rgba(70, 52, 142, 0.14);
    --option-card-min-height: 72px;
}

/* 现代化卡片基类：在Aurora风格下保持通透质感 */
.modern-card {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--elevation-soft);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.modern-card-elevated {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--color-border-strong);
    border-radius: var(--radius-lg);
    box-shadow: var(--elevation-base);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.modern-card-subtle {
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: 0 8px 20px rgba(39, 42, 63, 0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

body {
    font-family: var(--font-body);
    font-size: var(--type-body);
    line-height: 1.6;
    color: var(--color-text-primary);
    background: var(--color-bg);
    min-height: 100vh;
}

.title-serif {
    font-family: var(--font-title-serif);
    letter-spacing: -0.01em;
}

[data-ui-lang="en"] #input-text,
[data-ui-lang="en"] .output-container,
[data-ui-lang="en"] .output-placeholder,
[data-ui-lang="en"] .result-content {
    font-family: var(--font-english-serif);
}

a {
    text-decoration: none;
    color: var(--color-highlight);
    transition: color var(--motion-base) var(--motion-ease);
}

a:hover {
    color: #3d38a2;
}

a:focus-visible {
    outline: 3px solid var(--focus-ring-color);
    outline-offset: var(--focus-ring-offset);
}

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(22, 22, 21, 0.14);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: transform var(--motion-base) var(--motion-ease),
        box-shadow var(--motion-base) var(--motion-ease),
        background var(--motion-base) var(--motion-ease),
        border-color var(--motion-base) var(--motion-ease);
    background: rgba(255, 255, 255, 0.92);
    color: var(--color-text-primary);
    box-shadow: 0 10px 18px rgba(18, 10, 51, 0.12);
    line-height: 1;
    letter-spacing: 0.02em;
}

.btn:focus-visible {
    outline: 3px solid var(--focus-ring-color);
    outline-offset: var(--focus-ring-offset);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 38px rgba(18, 10, 51, 0.18);
    border-color: rgba(87, 81, 213, 0.25);
    background: rgba(87, 81, 213, 0.06);
}

.btn:active {
    transform: translateY(0);
    box-shadow: 0 12px 20px rgba(18, 10, 51, 0.16);
}

.btn:disabled,
.btn[disabled] {
    cursor: not-allowed;
    opacity: 0.65;
    box-shadow: none;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .btn,
    .btn:hover,
    .btn:active {
        transition: none;
        transform: none;
    }

    a {
        transition: none;
    }
}

.btn i {
    margin-right: var(--space-2);
    font-size: var(--icon-size-md);
}

.fa,
.fas,
.far,
.fab {
    line-height: 1;
}

.icon-sm {
    font-size: var(--icon-size-sm);
}

.icon-md {
    font-size: var(--icon-size-md);
}

.icon-lg {
    font-size: var(--icon-size-lg);
}

.icon-xl {
    font-size: var(--icon-size-xl);
}

.icon-inline {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
}

.brand-image {
    display: block;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.brand-image--platform {
    filter: var(--image-tone-filter);
}

.animate__animated {
    --animate-duration: 0.6s;
    --animate-delay: 0.1s;
}

.animate__infinite {
    animation-iteration-count: 2 !important;
}

.btn-primary {
    background: var(--color-text-primary);
    color: #fdfdfd;
    border-color: rgba(22, 22, 21, 0.8);
    box-shadow: 0 24px 36px rgba(18, 10, 51, 0.24);
}

.btn-primary:hover {
    background: #2b2b28;
    border-color: rgba(22, 22, 21, 0.9);
    box-shadow: 0 32px 48px rgba(13, 8, 46, 0.28);
}

.btn-primary:active {
    background: #161615;
}

.btn-large {
    padding: 16px 32px;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.btn-block {
    display: block;
    width: 100%;
}

/* 头部样式 */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
    background: rgba(253, 253, 253, 0.86);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(22, 22, 21, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    color: var(--color-text-primary);
}

.logo img {
    height: 48px;
    width: auto;
    margin-right: 14px;
    filter: drop-shadow(0 6px 18px rgba(87, 81, 213, 0.25));
}

.logo-text {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-text-primary);
    background: linear-gradient(118deg, #161615 0%, #5751d5 58%, #78dbff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
    .logo-text {
        background: none;
        color: var(--color-text-primary);
    }
}

.logo-subtitle {
    font-size: 13px;
    color: var(--color-muted);
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 24px;
}

.points-display {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    padding: 8px 14px;
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.92) 0%, rgba(87, 81, 213, 0.08) 100%);
    border-radius: 12px;
    box-shadow: 0 12px 24px rgba(18, 10, 51, 0.12);
    border: 1px solid rgba(87, 81, 213, 0.22);
    color: var(--color-text-secondary);
}

.points-display i {
    color: var(--color-highlight);
}

.points-value {
    font-weight: bold;
    color: var(--color-highlight);
}

/* 积分显示区域样式 - 统一高度基准 */
.nav-points {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    padding: 8px 14px;
    height: 36px;
    box-sizing: border-box;
    background: var(--gradient-highlight);
    border-radius: 16px;
    border: 1px solid rgba(87, 81, 213, 0.4);
    box-shadow: 0 16px 28px rgba(18, 10, 51, 0.18);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-points:hover {
    transform: translateY(-1px);
    box-shadow: 0 22px 36px rgba(18, 10, 51, 0.26);
}

.nav-points .coins-icon {
    color: var(--color-highlight);
    font-size: 14px;
}

/* 邀请按钮样式 - 主要行动按钮 */
.btn-invite {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 36px !important;
    box-sizing: border-box !important;
    background: linear-gradient(120deg, var(--color-text-primary) 0%, var(--color-highlight) 100%) !important;
    color: var(--color-text-inverse) !important;
    border: 1px solid rgba(22, 22, 21, 0.36) !important;
    padding: 0 16px !important;
    border-radius: 16px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    margin-left: 12px !important;
    box-shadow: 0 20px 36px rgba(13, 8, 46, 0.32) !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
    white-space: nowrap !important;
}

.btn-invite:hover {
    background: linear-gradient(120deg, #1f1f1c 0%, var(--color-highlight) 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 24px 42px rgba(13, 8, 46, 0.38) !important;
}

.btn-invite:active {
    transform: translateY(0) !important;
}

.btn-invite i {
    color: var(--color-text-inverse) !important;
    margin-right: 6px !important;
    font-size: 14px !important;
}

/* 邀请按钮闪烁效果（可选，用于吸引注意） */
.btn-invite::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.btn-invite:hover::before {
    left: 100%;
}

.header-buttons {
    display: flex;
    gap: 12px;
}

/* 功能按钮组 - 次要操作按钮 */
.header-buttons .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    box-sizing: border-box;
    padding: 0 14px;
    background: linear-gradient(135deg, rgba(246, 247, 255, 0.96) 0%, rgba(226, 232, 255, 0.92) 100%);
    color: var(--color-text-primary);
    border: 1px solid rgba(87, 81, 213, 0.28);
    border-radius: 16px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 10px 24px rgba(70, 52, 142, 0.16);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.header-buttons .btn:hover {
    background: linear-gradient(135deg, rgba(87, 81, 213, 0.18) 0%, rgba(246, 247, 255, 0.94) 100%);
    border-color: rgba(87, 81, 213, 0.42);
    transform: translateY(-3px);
    box-shadow: 0 18px 32px rgba(70, 52, 142, 0.22);
}

.header-buttons .btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(18, 10, 51, 0.12);
}

.header-buttons .btn i {
    color: var(--color-highlight);
    margin-right: 8px;
    font-size: 14px;
}

/* 特殊功能按钮样式区分 */
.header-buttons .btn-recharge {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 255, 255, 0.96) 100%);
    border-color: rgba(255, 193, 7, 0.25);
}

.header-buttons .btn-recharge:hover {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.15) 0%, rgba(255, 255, 255, 0.9) 100%);
    border-color: rgba(255, 193, 7, 0.4);
}

.header-buttons .btn-ai-detection {
    background: linear-gradient(135deg, rgba(32, 201, 151, 0.08) 0%, rgba(255, 255, 255, 0.96) 100%);
    border-color: rgba(32, 201, 151, 0.2);
}

.header-buttons .btn-ai-detection:hover {
    background: linear-gradient(135deg, rgba(32, 201, 151, 0.12) 0%, rgba(255, 255, 255, 0.9) 100%);
    border-color: rgba(32, 201, 151, 0.35);
}

/* 登录注册按钮 - 重要但非主要操作 */
.auth-buttons .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    box-sizing: border-box;
    background: linear-gradient(120deg, var(--color-text-primary) 0%, var(--color-highlight) 100%);
    color: var(--color-text-inverse);
    padding: 0 16px;
    border: 1px solid rgba(22, 22, 21, 0.36);
    border-radius: 16px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 20px 36px rgba(13, 8, 46, 0.32);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.auth-buttons .btn:hover {
    background: linear-gradient(120deg, #1f1f1c 0%, var(--color-highlight) 100%);
    box-shadow: 0 24px 42px rgba(13, 8, 46, 0.38);
    transform: translateY(-1px);
}

.auth-buttons .btn i {
    margin-left: 6px;
    font-size: 12px;
}

/* 通知栏样式 */
.notification-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 40px;
    background: linear-gradient(135deg, #eeeaff 0%, #d7d0ff 100%);
    border-bottom: 1px solid #bcb2ff;
    border-left: 4px solid var(--color-highlight);
    font-size: 14px;
    color: var(--color-text-primary);
    box-shadow: 0 16px 28px rgba(18, 10, 51, 0.16);
    position: sticky;
    top: 78px;
    /* 紧贴在导航栏下方 */
    z-index: 99;
    transition: all 0.3s ease;
}

.notification-bar.hidden {
    display: none;
}

.notification-bar i.fa-info-circle {
    color: var(--color-highlight);
    font-size: 16px;
    flex-shrink: 0;
}

.notification-bar .close-btn {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--color-text-primary);
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.notification-bar .close-btn:hover {
    background: rgba(87, 81, 213, 0.18);
    color: var(--color-text-primary);
}

.notification-bar .notification-text {
    flex: 1;
    padding-right: 30px;
    line-height: 1.5;
}

.notification-bar .notification-text--mobile {
    display: none;
}

/* 滚动通知栏样式 */
.scrolling-notification-bar {
    position: relative;
    background: linear-gradient(135deg, rgba(87, 81, 213, 0.12) 0%, rgba(87, 81, 213, 0.24) 100%);
    border-bottom: 1px solid rgba(87, 81, 213, 0.3);
    border-left: 4px solid var(--color-highlight);
    box-shadow: 0 16px 28px rgba(18, 10, 51, 0.16);
    transition: all 0.3s ease;
    overflow: hidden;
    min-height: 48px;
    /* 减小最小高度 */
}

.scrolling-notification-bar.hidden {
    display: none;
}

.notification-content {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    /* 减小内边距 */
    position: relative;
    min-height: 36px;
    /* 减小最小高度 */
}



.notification-message {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-height: 20px;
    transition: all 0.4s ease;
    opacity: 1;
    transform: translateX(0);
}

.notification-message.fade-out {
    opacity: 0;
    transform: translateX(-10px);
}

.notification-message.fade-in {
    opacity: 1;
    transform: translateX(0);
}

.notification-icon {
    color: var(--color-highlight);
    font-size: 16px;
    flex-shrink: 0;
    transition: color 0.3s ease;
}

.notification-text {
    color: var(--color-text-primary);
    font-size: 14px;
    line-height: 1.4;
    transition: all 0.3s ease;
}

.scrolling-notification-bar .close-btn {
    background: none;
    border: none;
    color: var(--color-text-primary);
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-left: 12px;
}

.scrolling-notification-bar .close-btn:hover {
    background: rgba(87, 81, 213, 0.18);
    color: var(--color-text-primary);
}

.notification-indicator {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    color: var(--color-text-secondary);
    opacity: 0.7;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.keyboard-hint {
    font-size: 9px;
    opacity: 0.5;
    color: inherit;
}

.notification-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(87, 81, 213, 0.2);
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: rgba(87, 81, 213, 0.85);
    width: 0%;
    transition: width 0.1s linear;
}

/* 不同类型通知的颜色主题 */

.scrolling-notification-bar.type-info {
    background: linear-gradient(135deg, rgba(120, 219, 255, 0.16) 0%, rgba(87, 81, 213, 0.22) 100%);
    border-left-color: rgba(120, 219, 255, 0.9);
    border-bottom-color: rgba(120, 219, 255, 0.18);
}

.scrolling-notification-bar.type-info .notification-text {
    color: var(--color-text-primary);
}

.scrolling-notification-bar.type-info .notification-icon {
    color: rgba(120, 219, 255, 1);
}

.scrolling-notification-bar.type-info .nav-btn {
    background: rgba(120, 219, 255, 0.24);
    color: var(--color-text-primary);
}

.scrolling-notification-bar.type-info .nav-btn:hover {
    background: rgba(120, 219, 255, 0.36);
}

.scrolling-notification-bar.type-success {
    background: linear-gradient(135deg, rgba(82, 196, 134, 0.18) 0%, rgba(87, 81, 213, 0.16) 100%);
    border-left-color: rgba(82, 196, 134, 0.9);
    border-bottom-color: rgba(82, 196, 134, 0.18);
}

.scrolling-notification-bar.type-success .notification-text {
    color: var(--color-text-primary);
}

.scrolling-notification-bar.type-success .notification-icon {
    color: rgba(82, 196, 134, 1);
}

.scrolling-notification-bar.type-success .nav-btn {
    background: rgba(82, 196, 134, 0.22);
    color: var(--color-text-primary);
}

.scrolling-notification-bar.type-success .nav-btn:hover {
    background: rgba(82, 196, 134, 0.34);
}

.scrolling-notification-bar.type-update {
    background: linear-gradient(135deg, rgba(22, 22, 21, 0.08) 0%, rgba(87, 81, 213, 0.2) 100%);
    border-left-color: rgba(22, 22, 21, 0.48);
    border-bottom-color: rgba(22, 22, 21, 0.16);
}

.scrolling-notification-bar.type-update .notification-text {
    color: var(--color-text-primary);
}

.scrolling-notification-bar.type-update .notification-icon {
    color: var(--color-text-secondary);
}

.scrolling-notification-bar.type-update .nav-btn {
    background: rgba(22, 22, 21, 0.12);
    color: var(--color-text-primary);
}

.scrolling-notification-bar.type-update .nav-btn:hover {
    background: rgba(22, 22, 21, 0.2);
}

.scrolling-notification-bar.type-tip {
    background: linear-gradient(135deg, rgba(255, 144, 144, 0.18) 0%, rgba(87, 81, 213, 0.18) 100%);
    border-left-color: rgba(255, 120, 120, 0.85);
    border-bottom-color: rgba(255, 120, 120, 0.18);
}

.scrolling-notification-bar.type-tip .notification-text {
    color: var(--color-text-primary);
}

.scrolling-notification-bar.type-tip .notification-icon {
    color: rgba(255, 120, 120, 1);
}

.scrolling-notification-bar.type-tip .nav-btn {
    background: rgba(255, 120, 120, 0.22);
    color: var(--color-text-primary);
}

.scrolling-notification-bar.type-tip .nav-btn:hover {
    background: rgba(255, 120, 120, 0.34);
}

/* 不同类型通知的进度条颜色 */
.scrolling-notification-bar.type-info .progress-bar {
    background: rgba(120, 219, 255, 0.85);
}

.scrolling-notification-bar.type-success .progress-bar {
    background: rgba(82, 196, 134, 0.85);
}

.scrolling-notification-bar.type-update .progress-bar {
    background: rgba(22, 22, 21, 0.45);
}

.scrolling-notification-bar.type-tip .progress-bar {
    background: rgba(255, 120, 120, 0.85);
}

/* 公告类型样式 */
.scrolling-notification-bar.type-announcement {
    background: linear-gradient(135deg, rgba(87, 81, 213, 1) 0%, rgba(74, 68, 190, 1) 100%);
    border-left-color: var(--color-highlight);
    border-bottom-color: rgba(87, 81, 213, 0.24);
}

.scrolling-notification-bar.type-announcement .notification-text {
    color: var(--color-text-inverse);
}

.scrolling-notification-bar.type-announcement .notification-icon {
    color: var(--color-text-inverse);
}

.scrolling-notification-bar.type-announcement .nav-btn {
    background: rgba(255, 255, 255, 0.18);
    color: var(--color-text-inverse);
}

.scrolling-notification-bar.type-announcement .nav-btn:hover {
    background: rgba(255, 255, 255, 0.26);
}

.scrolling-notification-bar.type-announcement .progress-bar {
    background: rgba(255, 255, 255, 0.6);
}

/* 注意事项弹窗样式 */
.notice-modal-content {
    max-width: 650px;
    padding: 30px;
}

/* 标题字号自适应 */
#notice-modal-title {
    font-size: clamp(18px, 2.2vw, 26px);
}

/* 轻量“标签式”官网标识 */
.site-tag {
    display: inline-block;
    padding: 4px 10px;
    font-size: 12px;
    line-height: 1;
    color: #555;
    background: #f3f4f6;
    border-radius: 999px;
    text-decoration: none;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02) inset;
    transition: all .2s ease;
}

.site-tag:hover {
    color: #333;
    background: #eef0f3;
    border-color: #e1e4e8;
}

.notice-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.notice-icon {
    text-align: center;
    font-size: 40px;
    color: #e74c3c;
    margin-bottom: 10px;
    animation: pulse 2s infinite;
}

.notice-items {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 0 10px;
}

.notice-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    background: #ffffff;
    border-radius: 12px;
    transition: all 0.3s ease;
    border-left: 3px solid #667eea;
    border: 1px solid #e1e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #d1d9e6;
    background: #f8faff;
}

.notice-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.notice-item i {
    font-size: 18px;
    color: #3498db;
    margin-top: 2px;
}

.notice-item p {
    margin: 0;
    line-height: 1.5;
    color: #2c3e50;
}

.notice-item strong {
    color: #e74c3c;
    font-weight: 600;
}

.notice-item.highlight {
    background-color: #fff5f5;
    border-left: 3px solid #e74c3c;
}

.notice-item.highlight i {
    color: #e74c3c;
}

.notice-item.highlight.warning {
    background-color: #ffe6e6;
    border-left: 3px solid #ff4757;
    border: 2px solid #ff4757;
    animation: pulse-warning 2s infinite;
    box-shadow: 0 3px 10px rgba(255, 71, 87, 0.2);
}

.notice-item.highlight.warning i {
    color: #ff4757;
    font-size: 20px;
    animation: shake 1.5s infinite;
}

.notice-item.highlight.warning p {
    color: #d63031;
    font-weight: 600;
}

@keyframes pulse-warning {
    0% {
        transform: scale(1);
        box-shadow: 0 3px 10px rgba(255, 71, 87, 0.2);
    }

    50% {
        transform: scale(1.02);
        box-shadow: 0 5px 20px rgba(255, 71, 87, 0.4);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 3px 10px rgba(255, 71, 87, 0.2);
    }
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-2px);
    }

    75% {
        transform: translateX(2px);
    }
}

#notice-confirm {
    margin-top: 10px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    background: linear-gradient(135deg, #3a7bd5 0%, #6d5dc6 100%);
    transition: all 0.3s ease;
}

#notice-confirm:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(107, 93, 198, 0.3);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* AI检测通道按钮样式 */
.btn-ai-detection {
    background: linear-gradient(135deg, #e8f0fd 0%, #d4e6ff 100%) !important;
    color: #3a7bd5 !important;
    border-color: #c9ddff !important;
}

.btn-ai-detection:hover {
    background: linear-gradient(135deg, #d9e7fc 0%, #c2dcff 100%) !important;
    border-color: #b1d0ff !important;
}

.btn-ai-detection i {
    color: #3a7bd5;
}

/* AI检测通道弹窗样式 */
.detection-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 15px 0;
}

.detection-link {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background-color: #f8f9fa;
    border-radius: 8px;
    color: #2c3e50;
    font-size: 15px;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.detection-link:hover {
    background-color: #e9f4fe;
    color: #3498db;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.detection-link i {
    margin-right: 10px;
    color: #3498db;
}

.detection-notes {
    margin-top: 20px;
    background-color: #f0f7ff;
    border-radius: 8px;
    padding: 15px;
    border: 1px solid #d4e6ff;
}

.detection-notes .note {
    display: flex;
    margin-bottom: 12px;
}

.detection-notes .note:last-child {
    margin-bottom: 0;
}

.detection-notes .note i {
    color: #3a7bd5;
    margin-right: 10px;
    margin-top: 3px;
    flex-shrink: 0;
}

.detection-notes .note p {
    font-size: 14px;
    color: #445366;
    line-height: 1.5;
}
