/* 基础样式与导航布局 */
/* 当前规则：本文件是主站与工具页的样式 Token 主源，后续不允许再并行新增第二套全局 :root 设计源。 */

/* 全局样式重置 */
* {
    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: #fbf9f5;
    --color-surface: #fffefd;
    --color-surface-muted: #f8f5ef;
    --color-surface-neutral: #f8fafc;
    --color-surface-neutral-strong: #fafbfc;
    --color-text-primary: #161615;
    --color-text-secondary: #3f4148;
    --color-text-tertiary: #636b7c;
    --color-text-quaternary: #64748b;
    --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-gold-700: #8a6220;
    --color-gold-600: #b88a2f;
    --color-gold-100: #f8efdb;
    --color-state-success: #167a4c;
    --color-state-success-strong: #155724;
    --color-state-success-bg: #d4edda;
    --color-state-success-border: #c3e6cb;
    --color-state-warning: #b45309;
    --color-state-warning-strong: #92400e;
    --color-state-warning-soft: #d97706;
    --color-state-warning-bg: #fffbeb;
    --color-state-warning-border: #fef3c7;
    --color-state-danger: #b42318;
    --color-state-danger-strong: #721c24;
    --color-state-danger-bg: #f8d7da;
    --color-state-danger-border: #f5c6cb;
    --color-state-info: #1f6fdb;
    --color-state-info-strong: #0c5460;
    --color-state-info-bg: #d1ecf1;
    --color-state-info-border: #bee5eb;
    --color-text-inverse: #fdfdfd;
    --color-border: rgba(22, 22, 21, 0.08);
    --color-border-strong: rgba(22, 22, 21, 0.14);
    --color-paper-border: rgba(96, 81, 61, 0.14);
    --color-shell-bg: #f4f3fb;
    --color-shell-surface: rgba(255, 255, 255, 0.94);
    --color-shell-card: #ffffff;
    --color-shell-border: rgba(92, 85, 204, 0.14);
    --color-shell-border-soft: rgba(92, 85, 204, 0.1);
    --color-shell-border-faint: rgba(92, 85, 204, 0.08);
    --color-shell-border-strong: rgba(92, 85, 204, 0.22);
    --color-shell-text: #211c4f;
    --color-shell-text-strong: #2b2758;
    --color-shell-text-muted: #625d82;
    --color-shell-text-soft: #4f4a6d;
    --color-shell-brand: #5d55cb;
    --color-shell-brand-strong: #4b45b0;
    --color-shell-accent-wash: rgba(111, 95, 224, 0.12);
    --color-shell-header-bg: rgba(244, 243, 251, 0.88);
    --color-shell-pill-bg: rgba(92, 85, 204, 0.1);
    --color-shell-pill-bg-strong: rgba(92, 85, 204, 0.16);
    --color-shell-nav-bg: rgba(255, 255, 255, 0.92);
    --gradient-shell-page: linear-gradient(180deg, #f7f6fc 0%, #f2f4fb 52%, #eef1f8 100%);
    --gradient-shell-surface: linear-gradient(180deg, #ffffff 0%, #fcfbff 100%);
    --gradient-shell-brand: linear-gradient(135deg, #5d55cb 0%, #8f72ff 100%);
    --gradient-shell-brand-active: linear-gradient(135deg, #5d55cb 0%, #8067f5 100%);
    --shadow-shell-strong: 0 20px 44px rgba(87, 76, 180, 0.12);
    --shadow-shell-soft: 0 12px 28px rgba(87, 76, 180, 0.08);
    --shadow-shell-pill: 0 8px 16px rgba(92, 85, 204, 0.06);
    --shadow-shell-pill-hover: 0 10px 18px rgba(92, 85, 204, 0.1);
    --shadow-shell-brand: 0 16px 30px rgba(92, 85, 204, 0.2);
    --shadow-shell-brand-hover: 0 20px 34px rgba(92, 85, 204, 0.24);
    --shadow-shell-brand-active: 0 14px 26px rgba(92, 85, 204, 0.16);
    --shadow-shell-panel: 0 10px 22px rgba(92, 85, 204, 0.06);
    --gradient-invite-hero: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-invite-brand: linear-gradient(135deg, #6366f1, #8b5cf6);
    --gradient-invite-success: linear-gradient(135deg, #10b981, #14b8a6);
    --gradient-invite-warning: linear-gradient(135deg, #f59e0b, #d97706);
    --gradient-invite-danger: linear-gradient(135deg, #ff4757 0%, #ff1f3a 100%);
    --gradient-invite-danger-hover: linear-gradient(135deg, #ff3347 0%, #ff0f2e 100%);
    --gradient-invite-brand-strong: linear-gradient(135deg, #8b7cf9 0%, #7a68f7 35%, #5b39d6 100%);
    --gradient-invite-progress: linear-gradient(90deg, #6366f1, #8b5cf6);
    --color-invite-glass-bg: rgba(255, 255, 255, 0.15);
    --color-invite-glass-border: rgba(255, 255, 255, 0.2);
    --color-invite-card-bg: #ffffff;
    --color-invite-card-border: #e8eaf6;
    --color-invite-card-border-soft: #e5e7eb;
    --color-invite-card-text: #111827;
    --color-invite-card-heading: #333333;
    --color-invite-card-muted: #6b7280;
    --color-invite-card-muted-strong: #555555;
    --color-invite-accent-bg: rgba(87, 81, 213, 0.08);
    --color-invite-accent-bg-strong: rgba(87, 81, 213, 0.1);
    --color-invite-accent-border: rgba(87, 81, 213, 0.14);
    --color-invite-accent-border-strong: rgba(87, 81, 213, 0.3);
    --color-invite-accent-text: #4b46c9;
    --color-invite-brand-soft-bg: #f3f0ff;
    --color-invite-brand-soft-border: #e0dbf5;
    --color-invite-brand-soft-text: #5b21b6;
    --color-invite-info-soft-bg: rgba(248, 251, 255, 0.98);
    --color-invite-info-soft-border: #dce7f6;
    --color-invite-info-soft-border-strong: #dbeafe;
    --color-invite-info-soft-text: #475569;
    --color-invite-amber-soft-bg: rgba(255, 247, 237, 0.96);
    --color-invite-amber-soft-bg-strong: rgba(255, 244, 230, 0.96);
    --color-invite-amber-soft-border: #fed7aa;
    --color-invite-amber-soft-border-strong: #fdba74;
    --color-invite-amber-soft-text: #9a3412;
    --color-invite-amber-soft-text-strong: #7c2d12;
    --color-invite-amber-soft-text-deep: #431407;
    --color-invite-amber-badge-bg: rgba(255, 237, 213, 0.9);
    --color-invite-amber-badge-text: #c2410c;
    --color-invite-success-soft-bg: rgba(240, 253, 250, 0.96);
    --color-invite-success-soft-border: rgba(15, 118, 110, 0.16);
    --color-invite-success-soft-text: #0f766e;
    --color-invite-panel-neutral-bg: rgba(248, 247, 251, 0.96);
    --color-invite-panel-neutral-bg-strong: rgba(249, 249, 251, 0.96);
    --color-invite-panel-neutral-border: rgba(22, 22, 21, 0.08);
    --color-invite-panel-neutral-border-strong: rgba(22, 22, 21, 0.1);
    --color-invite-panel-neutral-text: #171923;
    --color-invite-panel-neutral-text-strong: #2b3152;
    --color-invite-panel-neutral-muted: #5f677a;
    --color-invite-rule-bg: #f8f9fa;
    --color-invite-progress-track: #e5e7eb;
    --color-invite-inline-warning-bg: #fff7ed;
    --color-invite-inline-warning-border: #fed7aa;
    --color-invite-inline-warning-text: #9a3412;
    --shadow-invite-hero: 0 8px 25px rgba(102, 126, 234, 0.3);
    --shadow-invite-card: 0 6px 22px rgba(17, 24, 39, 0.08);
    --shadow-invite-card-hover: 0 8px 25px rgba(17, 24, 39, 0.15);
    --shadow-invite-brand: 0 4px 12px rgba(99, 102, 241, 0.35);
    --shadow-invite-success: 0 4px 12px rgba(20, 184, 166, 0.35);
    --shadow-invite-warning: 0 4px 12px rgba(245, 158, 11, 0.35);
    --shadow-invite-danger: 0 6px 14px rgba(255, 55, 66, 0.4);
    --shadow-invite-danger-hover: 0 8px 18px rgba(255, 55, 66, 0.5);
    --shadow-invite-brand-strong: 0 8px 18px rgba(123, 97, 255, 0.35);
    --shadow-invite-brand-strong-hover: 0 10px 22px rgba(123, 97, 255, 0.45);
    --shadow-invite-xs: 0 1px 4px rgba(15, 23, 42, 0.03);
    --shadow-invite-sm: 0 4px 12px rgba(15, 23, 42, 0.1);
    --shadow-invite-panel-neutral: 0 10px 18px rgba(15, 23, 42, 0.06);
    --shadow-invite-panel-neutral-hover: 0 12px 18px rgba(15, 23, 42, 0.08);
    --shadow-invite-amber-soft: 0 10px 24px rgba(249, 115, 22, 0.08);
    --shadow-invite-amber-panel: 0 10px 20px rgba(180, 83, 9, 0.05);
    --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;
    --radius-panel: 18px;
    --radius-panel-lg: 22px;
    --radius-control: 12px;
    --radius-control-sm: 10px;
    --radius-header-control: 11px;
    --radius-chip: 999px;
    --button-shadow-rest: 0 8px 16px rgba(18, 10, 51, 0.08);
    --button-shadow-hover: 0 14px 24px rgba(18, 10, 51, 0.12);
    --button-shadow-primary: 0 16px 28px rgba(18, 10, 51, 0.18);
    --button-shadow-primary-hover: 0 22px 34px rgba(13, 8, 46, 0.22);
    --button-shadow-header: 0 8px 16px rgba(20, 22, 35, 0.06);
    --button-shadow-header-hover: 0 12px 20px rgba(20, 22, 35, 0.09);
    --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, 254, 252, 0.98) 0%, rgba(251, 248, 242, 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;
    --site-header-height: 72px;
    --notification-sticky-gap: 0px;
    --notification-sticky-top: calc(var(--site-header-height) + var(--notification-sticky-gap));
}

/* 现代化卡片基类：在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);
    -webkit-backdrop-filter: blur(12px);
    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);
    -webkit-backdrop-filter: blur(18px);
    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);
    -webkit-backdrop-filter: blur(8px);
    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: linear-gradient(180deg, #fffefd 0%, #fcfaf5 100%);
    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;
    gap: var(--space-2);
    padding: 11px 20px;
    border-radius: var(--radius-control);
    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),
        color var(--motion-base) var(--motion-ease);
    background: rgba(255, 255, 255, 0.92);
    color: var(--color-text-primary);
    box-shadow: var(--button-shadow-rest);
    line-height: 1.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(-1px);
    box-shadow: var(--button-shadow-hover);
    border-color: rgba(87, 81, 213, 0.25);
    background: rgba(87, 81, 213, 0.06);
}

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

.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;
    }
}

.ui-icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    flex: 0 0 auto;
    vertical-align: middle;
    overflow: visible;
}

.btn i,
.btn .ui-icon {
    margin-right: 0;
    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: var(--button-shadow-primary);
}

.btn-primary:hover {
    background: #2b2b28;
    border-color: rgba(22, 22, 21, 0.9);
    box-shadow: var(--button-shadow-primary-hover);
}

.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;
    gap: clamp(16px, 3vw, 48px);
    padding: 12px 36px;
    background: linear-gradient(180deg, rgba(255, 254, 251, 0.97) 0%, rgba(252, 249, 243, 0.95) 100%);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(96, 81, 61, 0.12);
    box-shadow: 0 12px 26px rgba(31, 25, 45, 0.04);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-container {
    display: flex;
    align-items: center;
    position: relative;
    flex: 0 0 auto;
    min-width: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 0 0 auto;
    color: var(--color-text-primary);
    text-decoration: none;
    position: relative;
    min-height: 48px;
    padding-right: 0;
    min-width: 0;
}

.logo img {
    height: 42px;
    width: 42px;
    margin-right: 0;
    display: block;
    flex: 0 0 auto;
    object-fit: contain;
    filter: drop-shadow(0 8px 18px rgba(87, 81, 213, 0.18));
}

.logo-text {
    display: block;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--color-text-primary);
    line-height: 1;
    white-space: nowrap;
    flex: 0 0 auto;
}

.logo:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
    border-radius: 20px;
}

.logo-bookmark-guidance {
    position: absolute;
    top: calc(100% + 8px);
    left: 10px;
    z-index: 125;
    display: block;
    width: max-content;
    max-width: min(260px, calc(100vw - 32px));
    padding: 8px 13px;
    border: 1px dashed rgba(87, 81, 213, 0.44);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 16px 28px rgba(87, 81, 213, 0.13);
    color: var(--color-brand-700);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    pointer-events: none;
    opacity: 0;
    transform: translate3d(0, -4px, 0);
    transition: opacity 0.18s ease, transform 0.18s ease;
    white-space: nowrap;
}

.logo-bookmark-guidance::before {
    content: "";
    position: absolute;
    top: -15px;
    left: 28px;
    width: 20px;
    height: 20px;
    border-top: 2px solid rgba(87, 81, 213, 0.36);
    border-left: 2px solid rgba(87, 81, 213, 0.36);
    border-radius: 14px 0 0 0;
    transform: rotate(22deg);
}

.logo-container:hover .logo-bookmark-guidance,
.logo-container:focus-within .logo-bookmark-guidance,
.logo-container--bookmark-dragging .logo-bookmark-guidance {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

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

@media (max-width: 1024px) {
    .logo {
        gap: 12px;
        padding-right: 0;
    }

    .logo-text {
        font-size: 24px;
    }
}

@media (hover: none), (pointer: coarse), (max-width: 1180px) {
    .logo-bookmark-guidance {
        display: none !important;
    }
}

.user-info {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    min-width: 0;
    flex: 0 1 auto;
}

.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;
    flex: 0 1 auto;
    min-width: 0;
    gap: 8px;
    font-size: 14px;
    padding: 0 14px;
    height: 34px;
    box-sizing: border-box;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(252, 249, 243, 0.98) 100%);
    border-radius: var(--radius-header-control);
    border: 1px solid rgba(96, 81, 61, 0.12);
    box-shadow: var(--button-shadow-header);
    cursor: pointer;
    transition: transform var(--motion-base) var(--motion-ease),
        box-shadow var(--motion-base) var(--motion-ease),
        border-color var(--motion-base) var(--motion-ease),
        background var(--motion-base) var(--motion-ease);
    font-weight: 500;
}

.nav-points:hover {
    transform: translateY(-1px);
    border-color: rgba(87, 81, 213, 0.22);
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(250, 247, 241, 1) 100%);
    box-shadow: var(--button-shadow-header-hover);
}

.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: 34px !important;
    box-sizing: border-box !important;
    background: linear-gradient(135deg, #171b29 0%, #2d3557 100%) !important;
    color: var(--color-text-inverse) !important;
    border: 1px solid rgba(26, 31, 50, 0.44) !important;
    padding: 0 16px !important;
    border-radius: var(--radius-header-control) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    margin-left: 12px !important;
    box-shadow: 0 16px 28px rgba(22, 27, 41, 0.22) !important;
    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) !important;
    position: relative !important;
    white-space: nowrap !important;
}

#invite-btn {
    --animate-duration: 1.8s;
    flex: 0 1 auto;
    min-width: 0;
}

.invite-btn-hidden {
    display: none !important;
}

.btn-invite:hover {
    background: linear-gradient(135deg, #121724 0%, #27304f 100%) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 20px 32px rgba(18, 23, 36, 0.26) !important;
}

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

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

.btn-invite::before {
    content: none;
}

.btn-invite:hover::before {
    content: none;
}

.header-buttons {
    display: flex;
    align-items: center;
    flex: 0 1 auto;
    min-width: 0;
    gap: 10px;
}

/* 功能按钮组 - 次要操作按钮 */
.header-buttons .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    box-sizing: border-box;
    padding: 0 14px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(250, 248, 243, 0.99) 100%);
    color: #232836;
    border: 1px solid rgba(96, 81, 61, 0.14);
    border-radius: var(--radius-header-control);
    font-size: 14px;
    font-weight: 500;
    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),
        color var(--motion-base) var(--motion-ease);
    white-space: nowrap;
    box-shadow: 0 10px 18px rgba(28, 24, 18, 0.07);
}

.header-buttons .btn:hover {
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(249, 246, 240, 1) 100%);
    border-color: rgba(87, 81, 213, 0.22);
    transform: translateY(-1px);
    box-shadow: 0 14px 22px rgba(28, 24, 18, 0.1);
}

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

.header-buttons .btn i,
.header-buttons .btn .ui-icon {
    color: #4a5161;
    margin-right: 8px;
    font-size: 14px;
}

.info-center-container {
    --info-entry-border: rgba(96, 81, 61, 0.14);
    --info-entry-shadow: 0 10px 18px rgba(25, 27, 44, 0.08);
    --info-entry-shadow-hover: 0 14px 24px rgba(25, 27, 44, 0.11);
    margin-right: 8px;
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.btn-info-center {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border-radius: 12px;
    border: 1px solid var(--info-entry-border);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(250, 248, 243, 0.99) 100%);
    color: #293140;
    cursor: pointer;
    box-shadow: var(--info-entry-shadow);
    touch-action: manipulation;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.btn-info-center .ui-icon,
.btn-info-center i {
    width: 15px;
    height: 15px;
    font-size: 15px;
    line-height: 1;
    pointer-events: none;
}

.btn-info-center:hover {
    transform: translateY(-1px);
    border-color: rgba(87, 81, 213, 0.22);
    box-shadow: var(--info-entry-shadow-hover);
    color: #22293a;
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(249, 246, 240, 1) 100%);
}

.btn-info-center:active {
    transform: scale(0.97);
}

.btn-info-center:focus-visible {
    outline: none;
    border-color: rgba(87, 81, 213, 0.3);
    box-shadow:
        0 0 0 3px rgba(87, 81, 213, 0.18),
        var(--info-entry-shadow-hover);
}

.btn-info-center[aria-busy="true"] {
    cursor: wait;
}

.btn-info-center.is-loading,
.btn-info-center[aria-busy="true"] {
    border-color: rgba(87, 81, 213, 0.28);
    color: #3b3fb2;
    box-shadow:
        0 0 0 1px rgba(87, 81, 213, 0.12),
        0 14px 24px rgba(87, 81, 213, 0.16);
}

.btn-info-center.is-loading .ui-icon,
.btn-info-center.is-loading i,
.btn-info-center[aria-busy="true"] .ui-icon,
.btn-info-center[aria-busy="true"] i {
    animation: info-entry-loading-spin 0.85s linear infinite;
}

@keyframes info-entry-loading-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.btn-info-center.is-open {
    color: #171d2a;
    border-color: rgba(87, 81, 213, 0.24);
    background: linear-gradient(180deg, rgba(248, 244, 255, 0.98) 0%, rgba(239, 234, 252, 0.98) 100%);
    box-shadow: 0 12px 22px rgba(87, 81, 213, 0.12);
}

.btn-info-center.is-unread {
    border-color: rgba(239, 68, 68, 0.46);
    box-shadow:
        0 0 0 1px rgba(239, 68, 68, 0.14),
        0 12px 24px rgba(239, 68, 68, 0.18),
        var(--info-entry-shadow);
}

.info-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 10px;
    min-width: 10px;
    height: 10px;
    min-height: 10px;
    padding: 0;
    border-radius: 50%;
    background: #ef4444;
    box-shadow: 0 0 0 2px #fbf7f0;
    color: transparent;
    font-size: 0;
    line-height: 0;
    pointer-events: none;
}

.mobile-info-badge {
    display: none;
    align-items: center;
    justify-content: center;
    min-width: 16px;
    height: 16px;
    margin-left: 6px;
    padding: 0 4px;
    border-radius: 999px;
    background: #ef4444;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
}

.header.more-open .header-buttons .btn[data-mobile-action="announcement"].is-unread {
    border-color: rgba(239, 68, 68, 0.36);
    box-shadow:
        0 0 0 1px rgba(239, 68, 68, 0.12),
        0 10px 18px rgba(239, 68, 68, 0.16);
}

/* 特殊功能按钮样式区分 */
.header-buttons .btn-recharge {
    background: var(--color-brand-600);
    color: var(--color-text-inverse);
    border-color: #4f47cb;
    box-shadow: 0 18px 30px rgba(87, 81, 213, 0.24);
}

.header-buttons .btn-recharge:hover {
    background: #544cd3;
    border-color: #473fc2;
    box-shadow: 0 22px 34px rgba(87, 81, 213, 0.28);
}

.header-buttons .btn-ai-detection {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(250, 248, 243, 0.99) 100%);
    color: #2d3444;
    border-color: rgba(96, 81, 61, 0.14);
}

.header-buttons .btn-ai-detection:hover {
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(249, 246, 240, 1) 100%);
    border-color: rgba(87, 81, 213, 0.22);
}

/* 登录注册按钮 - 重要但非主要操作 */
.auth-buttons {
    display: flex;
    align-items: center;
    flex: 0 1 auto;
    min-width: 0;
}

.auth-buttons .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    box-sizing: border-box;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(250, 248, 243, 0.99) 100%);
    color: #1f2431;
    padding: 0 16px;
    border: 1px solid rgba(96, 81, 61, 0.14);
    border-radius: var(--radius-header-control);
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 10px 18px rgba(28, 24, 18, 0.07);
    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),
        color var(--motion-base) var(--motion-ease);
    white-space: nowrap;
}

.auth-buttons .btn-login-register {
    max-width: clamp(112px, 17vw, 220px);
    overflow: hidden;
    text-overflow: ellipsis;
}

.auth-buttons .btn:hover {
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(249, 246, 240, 1) 100%);
    border-color: rgba(87, 81, 213, 0.22);
    color: #151a28;
    box-shadow: 0 14px 22px rgba(28, 24, 18, 0.1);
    transform: translateY(-1px);
}

.auth-buttons .btn .auth-entry-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.auth-buttons .btn .auth-entry-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    display: block;
    font-size: 12px;
    color: var(--color-brand-700);
}

.auth-buttons .btn .auth-entry-icon--leading {
    margin-right: 6px;
}

.auth-buttons .btn .auth-entry-icon--trailing {
    margin-left: 6px;
}

.auth-buttons .btn.btn-login-register.logged-in {
    background: linear-gradient(135deg, #171716 0%, #252523 100%);
    border-color: rgba(22, 22, 21, 0.54);
    color: #f8f5ee;
    box-shadow: 0 16px 26px rgba(22, 22, 21, 0.18);
}

.auth-buttons .btn.btn-login-register.logged-in:hover {
    background: linear-gradient(135deg, #10100f 0%, #21211f 100%);
    border-color: rgba(22, 22, 21, 0.62);
    color: #ffffff;
    box-shadow: 0 20px 30px rgba(22, 22, 21, 0.22);
}

.auth-buttons .btn.btn-login-register.logged-in .auth-entry-icon,
.auth-buttons .btn.btn-login-register.logged-in i {
    color: rgba(255, 255, 255, 0.92);
}

.btn-invite:focus-visible,
.header-buttons .btn:focus-visible,
.auth-buttons .btn:focus-visible {
    outline: 3px solid var(--focus-ring-color);
    outline-offset: 2px;
}

@media (max-width: 1320px) and (min-width: 1181px) {
    .header {
        gap: 16px;
        padding: 10px clamp(20px, 2vw, 28px);
    }

    .user-info {
        gap: 10px;
    }

    .nav-points {
        padding: 0 10px;
    }

    .btn-invite {
        margin-left: 0 !important;
        padding: 0 12px !important;
    }

    .header-buttons {
        gap: 8px;
    }

    .header-buttons .btn {
        padding: 0 11px;
    }

    .header-buttons .btn i,
    .header-buttons .btn .ui-icon {
        margin-right: 6px;
    }

    .info-center-container {
        margin-right: 4px;
    }

    .auth-buttons .btn {
        padding: 0 12px;
    }

    .auth-buttons .btn-login-register {
        max-width: 168px;
    }
}

/* 通知栏样式 */
.notification-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 10px 18px 10px 16px;
    background: linear-gradient(180deg, rgba(255, 253, 249, 0.98) 0%, rgba(249, 246, 240, 0.98) 100%);
    border-bottom: 1px solid rgba(96, 81, 61, 0.12);
    border-left: 3px solid rgba(87, 81, 213, 0.62);
    font-size: 13px;
    color: var(--color-text-primary);
    box-shadow: 0 14px 24px rgba(20, 22, 35, 0.08);
    position: sticky;
    top: var(--notification-sticky-top);
    z-index: 99;
    transition: box-shadow var(--motion-base) var(--motion-ease), transform var(--motion-base) var(--motion-ease);
}

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

.notification-bar__content {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.notification-bar__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--color-highlight);
    flex-shrink: 0;
}

.notification-bar .close-btn {
    position: static;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(96, 81, 61, 0.14);
    color: var(--color-text-primary);
    font-size: 15px;
    cursor: pointer;
    padding: 0;
    border-radius: 50%;
    transition: background-color var(--motion-fast) var(--motion-ease), color var(--motion-fast) var(--motion-ease), transform var(--motion-fast) var(--motion-ease);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.notification-bar .close-btn:hover {
    background: rgba(87, 81, 213, 0.14);
    border-color: rgba(87, 81, 213, 0.24);
    color: var(--color-text-primary);
    transform: translateY(-1px);
}

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

.notification-bar .notification-text {
    display: block;
    line-height: 1.4;
    color: rgba(22, 22, 21, 0.88);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.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: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(96, 81, 61, 0.14);
    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(255, 250, 243, 0.92);
    border-color: rgba(87, 81, 213, 0.24);
    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: rgba(255, 255, 255, 0.94) !important;
    color: #2f3747 !important;
    border-color: rgba(22, 22, 21, 0.14) !important;
}

.btn-ai-detection:hover {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 246, 251, 1) 100%) !important;
    border-color: rgba(87, 81, 213, 0.18) !important;
}

.btn-ai-detection i,
.btn-ai-detection .ui-icon {
    color: #4f7a6c;
}

/* 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;
}
