/* Footer brand overrides: keep site name as top-left heading, hide vertical inline decorations */
/* 品牌列样式已移到 footer.html 内联样式中统一管理 */
.brand-body [style*="writing-mode"],
.brand-body [style*="vertical-rl"],
.brand-body [style*="vertical-lr"] {
  display: none !important;
}

/* Footer brand column enhancements */
.footer-col.brand {
  position: relative;
  padding-bottom: 56px; /* reserve space for fixed submit button */
}

.footer-btn.submit-fixed {
  position: absolute;
  right: 16px;
  bottom: 16px;
}

@media (max-width: 768px) {
  .footer-btn.submit-fixed {
    position: static;
    margin-top: 12px;
  }
  .footer-col.brand { padding-bottom: 20px; }
}
/* Aurora Template Global Styles */

*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    padding: 0;
    margin: 0;
    font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #161616;
    background-color: #f7f9fc;
    -webkit-font-smoothing: antialiased;
}

/* 防止 Vue 挂载前闪烁（包括弹窗闪现） */
[v-cloak] {
    display: none !important;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

button {
    font: inherit;
    border: none;
    background: none;
    cursor: pointer;
}

body.no-scroll {
    overflow: hidden;
}

.page-wrapper {
    min-height: 100vh;
    padding-top: 72px;
}
.aurora-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 18, 30, 0.48);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    padding: 24px;
    backdrop-filter: blur(4px);
}

/* Vue v-show 为 true 时，会移除 style="display: none"，此时显示弹窗 */
.aurora-modal:not([style*="display: none"]) {
    display: flex !important;
}

/* Vue v-show 为 false 时，会添加 style="display: none"，此时隐藏弹窗 */
.aurora-modal[style*="display: none"] {
    display: none !important;
}

.aurora-modal__card {
    background: #fff;
    border-radius: 22px;
    padding: 28px 32px;
    max-width: min(520px, 90vw);
    width: 100%;
    box-shadow: 0 24px 48px rgba(15, 18, 30, 0.18);
    position: relative;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.06);
    border: none;
    font-size: 24px;
    line-height: 1;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 100;
    pointer-events: auto;
    user-select: none;
    -webkit-user-select: none;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.12);
    color: #333;
    transform: rotate(90deg);
}

.modal-close:active {
    transform: scale(0.95) rotate(90deg);
}

.aurora-modal__card.large {
    max-width: min(560px, 92vw);
}

.aurora-modal .dialog-header h3 {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 600;
    color: #161616;
}

.aurora-modal .dialog-header p {
    margin: 0 0 18px;
    color: #6f6f6f;
    font-size: 13px;
}

.modal-textarea {
    width: 100%;
    min-height: 140px;
    border: 1px solid rgba(15, 98, 254, 0.18);
    border-radius: 16px;
    padding: 14px 16px;
    resize: vertical;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.6;
    outline: none;
}

.modal-textarea:focus {
    border-color: var(--aurora-primary);
    box-shadow: 0 0 0 4px rgba(15, 98, 254, 0.12);
}

.aurora-modal .dialog-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 18px;
}

.aurora-modal .ghost-btn,
.aurora-modal .primary-btn {
    height: 36px;
    border-radius: 18px;
    padding: 0 22px;
}

.aurora-modal .primary-btn.loading {
    opacity: 0.7;
    pointer-events: none;
}


/* Header */
.aurora-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease, background 0.3s ease;
}

.aurora-header.is-scrolled {
    box-shadow: 0 12px 24px rgba(15, 98, 254, 0.08);
    background: rgba(255, 255, 255, 0.98);
}

.header-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--aurora-primary);
    font-weight: 700;
    font-size: 18px;
}

.brand-logo {
    height: 36px;
    width: auto;
    border-radius: 8px;
    object-fit: contain;
}

.brand-text {
    font-size: 20px;
    letter-spacing: 0.5px;
}

.nav-desktop {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 18px;
    font-size: 14px;
}

.nav-link {
    padding: 8px 12px;
    border-radius: 999px;
    color: #4f4f4f;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover {
    color: var(--aurora-primary);
    background: rgba(15, 98, 254, 0.08);
    transform: translateY(-1px);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f0f3fa;
    border-radius: 999px;
    padding: 6px 14px;
    border: 1px solid transparent;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

.search-bar:focus-within {
    border-color: rgba(15, 98, 254, 0.3);
    box-shadow: 0 0 0 4px rgba(15, 98, 254, 0.08);
}

.search-bar input {
    border: none;
    background: transparent;
    outline: none;
    min-width: 180px;
    font-size: 13px;
    color: #161616;
}

.search-icon {
    width: 18px;
    height: 18px;
    color: #8a8a8a;
    flex-shrink: 0;
}

.search-btn {
    height: 32px;
    padding: 0 16px;
    background: var(--aurora-primary);
    color: #fff;
    border-radius: 999px;
    font-size: 13px;
    transition: background 0.2s ease;
}

.search-btn:hover {
    background: #0b4fcb;
}

.primary-btn,
.ghost-btn {
    padding: 0 18px;
    height: 36px;
    border-radius: 999px;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.primary-btn {
    background: linear-gradient(135deg, var(--aurora-primary), #4d8dff);
    color: #fff;
    box-shadow: 0 10px 18px rgba(15, 98, 254, 0.18);
}

.primary-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 22px rgba(15, 98, 254, 0.22);
}

.ghost-btn {
    border: 1px solid rgba(15, 98, 254, 0.28);
    color: var(--aurora-primary);
    background: #fff;
}

.ghost-btn:hover {
    background: rgba(15, 98, 254, 0.08);
}

.icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #f0f3fa;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
}

.icon-btn span {
    width: 18px;
    height: 2px;
    background: #161616;
    border-radius: 2px;
    transition: transform 0.2s ease;
}

.mobile-panel {
    display: none;
    position: fixed;
    top: 70px;
    right: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-radius: 0 0 24px 24px;
    padding: 20px;
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-panel.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.mobile-search {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
}

.mobile-search input {
    flex: 1;
    border: 1px solid rgba(22, 22, 22, 0.12);
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 14px;
}

.mobile-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mobile-link {
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(15, 98, 254, 0.06);
    color: var(--aurora-primary);
    font-weight: 500;
    transition: background 0.2s ease, transform 0.2s ease;
}

.mobile-link.highlight {
    background: linear-gradient(135deg, var(--aurora-primary), #4d8dff);
    color: #fff;
    box-shadow: 0 12px 20px rgba(15, 98, 254, 0.15);
}

.mobile-link:hover {
    transform: translateY(-1px);
}

/* Hero */
.hero-banner {
    max-width: 1240px;
    margin: 40px auto 32px;
    padding: 48px;
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(15, 98, 254, 0.12), rgba(255, 255, 255, 0.95));
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.hero-text h1 {
    font-size: 36px;
    margin: 0 0 16px;
    line-height: 1.25;
}

.hero-text p {
    margin: 0 0 28px;
    color: #525252;
    font-size: 15px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-metrics {
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: stretch;
    margin-top: 0;
    width: 100%;
    padding-top: 0;
    border-top: none;
}

.hero-metrics .metric-card {
    background: #fff;
    padding: 24px 20px;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-align: center;
    flex: 1;
    min-width: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden; /* 防止内容溢出 */
}

.hero-metrics .metric-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.metric-card strong,
.metric-card .metric-number {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: var(--aurora-primary);
    margin-bottom: 12px;
    line-height: 1.2;
    word-break: break-all; /* 允许长数字换行 */
    overflow-wrap: break-word; /* 允许在单词内换行 */
    max-width: 100%; /* 限制最大宽度 */
    box-sizing: border-box;
}

.metric-card span {
    display: block;
    font-size: 14px;
    color: #2d2d2d;
    line-height: 1.4;
    font-weight: 400;
}

.hero-illustration {
    position: relative;
}

.hero-illustration::after {
    content: "";
    position: absolute;
    inset: 10%;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.6), rgba(15, 98, 254, 0.18));
    filter: blur(18px);
    z-index: 0;
}

.hero-illustration .card {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 20px 40px rgba(15, 98, 254, 0.12);
    display: flex;
    flex-direction: column;
    gap: 0;
}

.card-top {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
}

.card-left {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.card-right {
    flex: 1;
    min-width: 0;
}

.card-section {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.card-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.card-section-header .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--aurora-primary);
    opacity: 0.35;
    flex-shrink: 0;
}

.card-section-header strong {
    font-size: 15px;
    color: #2d2d2d;
    flex: 1;
}

.card-count {
    font-size: 12px;
    color: #8a8a8a;
    margin-left: auto;
}

.card-update-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 96px; /* 约2条数据的高度 (44px * 2 + 8px gap) */
    overflow-y: hidden; /* 默认隐藏滚动条 */
    padding-right: 4px;
    transition: all 0.2s ease;
    cursor: default;
}

/* 鼠标悬停列表区域时显示滚动条并允许滚动 */
.card-update-list:hover {
    overflow-y: auto;
}

.card-update-list::-webkit-scrollbar {
    width: 4px;
}

.card-update-list::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.04);
    border-radius: 2px;
}

.card-update-list::-webkit-scrollbar-thumb {
    background: rgba(15, 98, 254, 0.2);
    border-radius: 2px;
}

.card-update-list::-webkit-scrollbar-thumb:hover {
    background: rgba(15, 98, 254, 0.3);
}

.update-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(15, 98, 254, 0.03);
    border: 1px solid rgba(15, 98, 254, 0.08);
    transition: all 0.2s ease;
    text-decoration: none;
    color: inherit;
    flex-shrink: 0; /* 防止压缩，确保每条数据高度一致 */
    min-height: 44px; /* 确保每条数据的最小高度 */
}

.update-item:hover {
    background: rgba(15, 98, 254, 0.06);
    border-color: rgba(15, 98, 254, 0.15);
    transform: translateX(2px);
}

.update-item-title {
    flex: 1;
    font-size: 13px;
    color: #2d2d2d;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.update-item-time {
    font-size: 11px;
    color: #8a8a8a;
    flex-shrink: 0;
    white-space: nowrap;
}

.card-empty {
    padding: 12px 10px;
    text-align: center;
}

.empty-text {
    font-size: 13px;
    color: #b8b8b8;
    font-style: italic;
}

.card-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 14px;
}

.card-row:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}

.hero-metrics {
    margin-top: 18px;
}

.card-row .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--aurora-primary);
    opacity: 0.35;
    flex-shrink: 0;
}

.card-row strong {
    font-size: 15px;
    color: #2d2d2d;
    flex: 1;
}

.card-row span {
    margin-left: auto;
    font-size: 12px;
    color: #8a8a8a;
}

/* Sections */
.section {
    max-width: 1240px;
    margin: 0 auto 48px;
    padding: 0 24px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-title {
    font-size: 22px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-title span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: rgba(15, 98, 254, 0.12);
    color: var(--aurora-primary);
}

.section-actions a {
    font-size: 13px;
    color: var(--aurora-primary);
    background: rgba(15, 98, 254, 0.08);
    padding: 8px 16px;
    border-radius: 999px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.section-actions a:hover {
    background: rgba(15, 98, 254, 0.14);
    transform: translateX(2px);
}

.page-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 12px;
}

.page-desc {
    color: #6f6f6f;
    margin: 0 0 24px;
    font-size: 13px;
}

.grid {
    display: grid;
    gap: 18px;
}

.grid-four {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.grid-three {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.grid-five {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.quick-card {
    background: #fff;
    border-radius: 22px;
    padding: 24px 20px;
    box-shadow: 0 18px 32px rgba(15, 98, 254, 0.08);
    border: 1px solid rgba(15, 98, 254, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.quick-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 40px rgba(15, 98, 254, 0.12);
}

.quick-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: rgba(15, 98, 254, 0.12);
    color: var(--aurora-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
}

.quick-title {
    font-size: 16px;
    font-weight: 600;
}

.quick-desc {
    font-size: 12px;
    color: #6f6f6f;
}

.media-card {
    background: #fff;
    border-radius: 20px;
    padding: 18px;
    box-shadow: 0 16px 28px rgba(15, 98, 254, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.media-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 34px rgba(15, 98, 254, 0.1);
}

.media-cover {
    position: relative;
    width: 100%;
    padding-top: 140%;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(15, 98, 254, 0.2), rgba(255, 255, 255, 0.4));
}

.media-cover img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-title {
    font-size: 15px;
    font-weight: 600;
    color: #1d1d1d;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.4;
}

.media-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #8a8a8a;
    font-size: 12px;
}

.media-link {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(15, 98, 254, 0.08);
    color: var(--aurora-primary);
    font-size: 12px;
    gap: 6px;
}

.media-link svg {
    width: 12px;
    height: 12px;
}

/* Recent list */
.recent-page {
    max-width: 900px;
    margin: 0 auto 60px;
    background: #fff;
    padding: 32px;
    border-radius: 28px;
    box-shadow: 0 30px 50px rgba(15, 98, 254, 0.06);
}

.recent-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.recent-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    background: rgba(247, 249, 252, 0.7);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.recent-item:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 18px 30px rgba(15, 98, 254, 0.08);
}

.recent-item-title {
    font-size: 15px;
    font-weight: 500;
    color: #1f1f1f;
    flex: 1;
}

.recent-item-time {
    font-size: 12px;
    color: #8a8a8a;
    margin-left: 16px;
}

.pagination-wrapper {
    margin-top: 24px;
    display: flex;
    justify-content: center;
}

.el-pagination.is-background .el-pager li.is-active {
    background-color: var(--aurora-primary);
    color: #fff;
}

.el-pagination button,
.el-pagination span:not([class*="suffix"]) {
    border-radius: 50%;
}

/* Category (Waterfall) */
.category-page {
    max-width: 1240px;
    margin: 0 auto 60px;
    padding: 0 24px;
}

.waterfall-container {
    columns: 4;
    column-gap: 18px;
}

.waterfall-item {
    break-inside: avoid;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 18px 32px rgba(15, 98, 254, 0.08);
    margin-bottom: 18px;
    display: inline-block;
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.waterfall-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 38px rgba(15, 98, 254, 0.12);
}

.waterfall-item-image {
    width: 100%;
    border-radius: 20px 20px 0 0;
    display: block;
}

.waterfall-item-content {
    padding: 20px 20px 24px;
}

.waterfall-item-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1d1d1d;
}

.waterfall-item-desc {
    font-size: 13px;
    color: #6f6f6f;
    line-height: 1.7;
    margin: 0;
}

.waterfall-item-meta {
    margin-top: 12px;
    font-size: 12px;
    color: var(--aurora-primary);
    font-weight: 600;
}

/* List/Search page */
.search-page {
    max-width: 1240px;
    margin: 0 auto 50px;
    padding: 0 24px;
}

.source-switch {
    display: inline-flex;
    padding: 6px;
    border-radius: 999px;
    background: rgba(15, 98, 254, 0.08);
    gap: 6px;
    margin-bottom: 26px;
}

.source-switch .switch-btn {
    padding: 10px 22px;
    border-radius: 999px;
    font-size: 13px;
    color: var(--aurora-primary);
    background: transparent;
    transition: all 0.2s ease;
}

.source-switch .switch-btn.active {
    background: #fff;
    box-shadow: 0 10px 18px rgba(15, 98, 254, 0.14);
}

.result-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.result-item {
    padding: 22px 24px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 16px 30px rgba(15, 98, 254, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

.result-item a {
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.result-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 40px rgba(15, 98, 254, 0.1);
}

.result-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.result-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--aurora-primary);
    text-decoration: none;
    display: block;
    cursor: pointer;
    pointer-events: auto;
    position: relative;
    z-index: 1;
}

.result-title:hover {
    text-decoration: underline;
}

.result-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: #8a8a8a;
    margin-bottom: 14px;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(15, 98, 254, 0.08);
    color: var(--aurora-primary);
}

.result-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.result-actions .action-btn {
    padding: 10px 18px;
    border-radius: 14px;
    font-size: 13px;
    background: rgba(15, 98, 254, 0.08);
    color: var(--aurora-primary);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: inline-block;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.result-actions .action-btn[href] {
    text-decoration: none;
    pointer-events: auto;
    position: relative;
    z-index: 1;
}

.result-actions .action-btn.primary {
    background: linear-gradient(135deg, var(--aurora-primary), #4d8dff);
    color: #fff;
    box-shadow: 0 12px 22px rgba(15, 98, 254, 0.15);
}

.result-actions .action-btn:hover {
    transform: translateY(-2px);
}

.loading-state,
.error-panel,
.empty-state {
    text-align: center;
    padding: 48px 24px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 16px 30px rgba(15, 98, 254, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.loading-state .spinner,
.dialog-loading .spinner {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 4px solid rgba(15, 98, 254, 0.18);
    border-top-color: var(--aurora-primary);
    animation: spin 0.8s linear infinite;
    margin: 0 auto 16px;
}

.error-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 94, 94, 0.12);
    color: #ff5e5e;
    font-weight: 700;
    margin-bottom: 14px;
}

.empty-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.empty-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
}

.empty-desc {
    font-size: 13px;
    color: #7a7a7a;
}

/* Detail page */
.detail-page {
    max-width: 1240px;
    margin: 0 auto 80px;
    padding: 0 24px;
}

.detail-container {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 32px;
}

.detail-main {
    background: #fff;
    border-radius: 32px;
    padding: 32px;
    box-shadow: 0 24px 48px rgba(15, 98, 254, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.detail-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 18px;
}

.detail-meta {
    display: grid;
    gap: 12px;
    margin-bottom: 28px;
}

.meta-row {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(15, 98, 254, 0.06);
    border-radius: 16px;
    padding: 12px 16px;
}

.meta-label {
    color: rgba(0, 0, 0, 0.52);
    font-size: 13px;
}

.meta-value {
    font-size: 14px;
    font-weight: 500;
}

.code-value {
    font-size: 16px;
    color: #ff5e5e;
    font-weight: 600;
}

.detail-description {
    margin-bottom: 24px;
    background: rgba(240, 243, 250, 0.7);
    border-radius: 20px;
    padding: 22px 24px;
}

.detail-description h3 {
    margin: 0 0 12px;
    font-size: 16px;
}

.detail-description p {
    margin: 0;
    font-size: 13px;
    color: #4a4a4a;
}

.detail-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.detail-actions .action-btn {
    padding: 12px 22px;
    border-radius: 999px;
    font-size: 14px;
    background: rgba(15, 98, 254, 0.08);
    color: var(--aurora-primary);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.detail-actions .action-btn.primary {
    background: linear-gradient(135deg, var(--aurora-primary), #4d8dff);
    color: #fff;
    box-shadow: 0 18px 28px rgba(15, 98, 254, 0.18);
}

.detail-actions .action-btn:hover {
    transform: translateY(-2px);
}

.detail-sidebar {
    display: grid;
    gap: 18px;
}

.sidebar-card {
    background: #fff;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 18px 32px rgba(15, 98, 254, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.sidebar-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 18px;
}

.hot-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.08);
}

.hot-item:last-child {
    border-bottom: none;
}

.hot-item img {
    width: 52px;
    height: 70px;
    object-fit: cover;
    border-radius: 10px;
    background: rgba(15, 98, 254, 0.12);
}

.hot-item-title {
    font-size: 13px;
    color: #1f1f1f;
    line-height: 1.6;
    flex: 1;
}

/* Dialog */
.dialog-aurora .el-dialog__body {
    padding: 12px 24px 28px;
}

.dialog-header {
    text-align: center;
    margin-bottom: 16px;
}

.dialog-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.dialog-header p {
    margin: 6px 0 0;
    color: #6f6f6f;
    font-size: 13px;
}

.dialog-qrcode {
    display: flex;
    justify-content: center;
    padding: 12px 0;
}

.dialog-qrcode img {
    width: 220px;
    border-radius: 18px;
    box-shadow: 0 18px 32px rgba(15, 98, 254, 0.16);
}

.dialog-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 20px;
}

.dialog-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 二维码区域 */
.dialog-qr-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 24px;
    background: linear-gradient(135deg, rgba(15, 98, 254, 0.04) 0%, rgba(15, 98, 254, 0.02) 100%);
    border-radius: 18px;
    border: 1px solid rgba(15, 98, 254, 0.1);
}

.qr-header {
    text-align: center;
}

.qr-resource-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.qr-resource-name {
    font-size: 16px;
    font-weight: 600;
    color: #161616;
    line-height: 1.5;
}

.qr-resource-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    background: var(--aurora-primary);
    color: #fff;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

.qr-header-tip {
    margin: 0;
    font-size: 13px;
    color: #6f6f6f;
    line-height: 1.5;
}

.qr-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.qr-code-wrapper {
    padding: 16px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.qr-code {
    display: flex;
    justify-content: center;
    align-items: center;
}

.qr-code canvas {
    display: block;
    border-radius: 8px;
}

.qr-instruction {
    margin: 0;
    font-size: 13px;
    color: #6f6f6f;
    text-align: center;
    line-height: 1.6;
}

.qr-instruction strong {
    color: var(--aurora-primary);
    font-weight: 600;
}

/* 资源信息卡片 */
.dialog-resource-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.resource-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    background: rgba(15, 98, 254, 0.04);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 14px;
    font-weight: 600;
    color: #161616;
}

.resource-icon {
    width: 18px;
    height: 18px;
    color: var(--aurora-primary);
    flex-shrink: 0;
}

.resource-card-content {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.resource-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.resource-field-label {
    font-size: 12px;
    color: #8a8a8a;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.resource-field-value {
    font-size: 14px;
    color: #161616;
    line-height: 1.6;
    word-break: break-word;
}

.resource-field-link {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 12px;
    background: rgba(15, 98, 254, 0.04);
    border-radius: 8px;
    border: 1px solid rgba(15, 98, 254, 0.1);
}

.resource-link {
    flex: 1;
    font-size: 13px;
    color: var(--aurora-primary);
    word-break: break-all;
    line-height: 1.5;
    text-decoration: none;
    transition: color 0.2s ease;
}

.resource-link:hover {
    color: #0d4dd0;
    text-decoration: underline;
}

.copy-link-btn {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 98, 254, 0.1);
    border-radius: 6px;
    color: var(--aurora-primary);
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    border: none;
}

.copy-link-btn:hover {
    background: rgba(15, 98, 254, 0.15);
    transform: translateY(-1px);
}

.copy-link-btn svg {
    width: 14px;
    height: 14px;
}

/* 风险提示 */
.dialog-statement {
    background: rgba(255, 193, 7, 0.06);
    border: 1px solid rgba(255, 193, 7, 0.2);
    border-radius: 12px;
    padding: 16px;
}

.statement-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #f57c00;
}

.statement-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: #f57c00;
}

.statement-content {
    font-size: 12px;
    color: #8a8a8a;
    line-height: 1.7;
}

.statement-content p {
    margin: 0 0 6px;
}

.statement-content p:last-child {
    margin-bottom: 0;
}

/* 错误提示 */
.dialog-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    gap: 16px;
}

.error-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(244, 67, 54, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-icon {
    font-size: 32px;
    color: #f44336;
    font-weight: bold;
    line-height: 1;
}

.error-text {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.dialog-loading {
    text-align: center;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(15, 98, 254, 0.1);
    border-top-color: var(--aurora-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.dialog-loading p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

/* Footer */
.aurora-footer {
    margin-top: 60px;
    background: #fff;
    padding: 48px 24px 24px;
    box-shadow: 0 -20px 40px rgba(15, 98, 254, 0.05);
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.footer-inner {
    max-width: 1240px;
    margin: 0 auto 32px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 36px;
}

.footer-brand h3 {
    margin: 0 0 12px;
    font-size: 20px;
}

.footer-brand p {
    margin: 0 0 20px;
    color: #6f6f6f;
    font-size: 13px;
}

.footer-chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(15, 98, 254, 0.08);
    color: var(--aurora-primary);
    font-size: 12px;
    margin-right: 8px;
    transition: background 0.2s ease;
    cursor: pointer;
}

.footer-chip:hover {
    background: rgba(15, 98, 254, 0.12);
}

.footer-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
}

.footer-link {
    display: block;
    color: #6f6f6f;
    font-size: 13px;
    margin-bottom: 8px;
}

.footer-link:hover {
    color: var(--aurora-primary);
}

.footer-desc {
    margin-top: 14px;
    font-size: 12px;
    color: #8a8a8a;
    line-height: 1.7;
}

.footer-bottom {
    max-width: 1240px;
    margin: 0 auto;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 18px;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #8a8a8a;
}

.footer-bottom a {
    color: var(--aurora-primary);
}

/* Animations */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .nav-desktop {
        display: none;
    }
    .icon-btn {
        display: inline-flex;
    }
    .page-wrapper {
        padding-top: 74px;
    }
    .detail-container {
        grid-template-columns: 1fr;
    }
    .waterfall-container {
        columns: 2;
    }
}

@media (max-width: 768px) {
    /* 弹窗移动端优化 */
    .aurora-modal {
        padding: 16px;
    }

    .aurora-modal__card {
        padding: 20px;
        border-radius: 18px;
        max-width: 100%;
    }

    .aurora-modal__card.large {
        max-width: 100%;
    }

    .dialog-qr-section {
        padding: 20px;
    }

    .qr-resource-name {
        font-size: 14px;
    }

    .qr-code-wrapper {
        padding: 12px;
    }

    .resource-card-content {
        padding: 14px;
    }

    .resource-field-link {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .copy-link-btn {
        align-self: flex-start;
    }

    /* 其他移动端样式 */
    .hero-banner {
        padding: 32px;
    }
    .recent-page {
        padding: 24px;
    }
    .waterfall-container {
        columns: 1;
    }
    .result-actions {
        flex-direction: column;
    }
    .detail-actions {
        flex-direction: column;
    }
    .search-bar input {
        min-width: 110px;
    }

    /* 移动端优化指标卡片 - 改为垂直排列 */
    .hero-metrics {
        flex-direction: column;
        gap: 10px;
        margin-top: 20px;
    }

    .hero-metrics .metric-card {
        width: 100%;
        padding: 20px 16px;
    }

    .metric-card strong,
    .metric-card .metric-number {
        font-size: 24px; /* 移动端使用更小的字体 */
        margin-bottom: 10px;
        word-break: break-all;
        overflow-wrap: break-word;
    }

    .metric-card span {
        font-size: 13px;
        color: #2d2d2d;
    }

    /* 移动端优化卡片布局 - 改为单列 */
    .card-top {
        flex-direction: column;
        gap: 20px;
    }

    .card-left,
    .card-right {
        width: 100%;
    }

    .hero-metrics {
        padding-top: 20px;
        flex-direction: column;
        gap: 10px;
    }

    .hero-metrics .metric-card {
        width: 100%;
        padding: 18px 16px;
    }

    .card-section {
        margin-bottom: 18px;
        padding-bottom: 18px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }

    .card-row {
        margin-bottom: 14px;
        padding-bottom: 14px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }

    .card-row:last-of-type {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }

    /* 移动端优化更新列表 */
    .card-update-list {
        max-height: 150px;
    }

    .update-item {
        padding: 6px 8px;
    }

    .update-item-title {
        font-size: 12px;
    }

    .update-item-time {
        font-size: 10px;
    }
}

@media (max-width: 576px) {
    .hero-text h1 {
        font-size: 28px;
    }
    .section {
        padding: 0 18px;
    }
    .recent-page {
        padding: 20px;
    }
    .detail-main {
        padding: 24px;
    }
}

/* ================= Redesigned Footer ================= */
.footer-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 28px;
}

.footer-col {
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 12px 24px rgba(15, 98, 254, 0.05);
  padding: 20px;
}

.footer-col .footer-title {
  font-size: 14px;
  font-weight: 700;
  color: #1f1f1f;
  margin: 0 0 12px;
}

/* .brand-title 和 .brand-desc 样式已移除，统一使用 .footer-title 和 .notice-text */

.footer-cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-btn {
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--aurora-primary);
  background: var(--aurora-primary);
  color: #fff;
  font-size: 12px;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.footer-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(15,98,254,.18);
}

.footer-btn.ghost {
  background: transparent;
  color: var(--aurora-primary);
}

.link-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 8px 18px;
}

.link-col {
  display: flex;
  flex-direction: column;
}

.footer-link {
  padding: 4px 0;
}

.notice-text {
  font-size: 13px;
  color: #6f6f6f;
  line-height: 1.8;
  margin-bottom: 12px;
}

.footer-qrcode {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.footer-qrcode img {
  width: 96px;
  height: 96px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 8px 16px rgba(15,98,254,.06);
}

.footer-qrcode span {
  font-size: 12px;
  color: #8a8a8a;
}

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-container { padding: 20px; }
}

/* Emergency override: force hide all vertical writing elements in footer */
.aurora-footer [style*="writing-mode"],
.aurora-footer [style*="vertical-rl"],
.aurora-footer [style*="vertical-lr"],
.aurora-footer [style*="text-orientation"],
.aurora-footer [class*="vertical"],
.aurora-footer [class*="upright"] {
  display: none !important;
}

/* Ensure footer title displays normally in all columns */
.aurora-footer .footer-col .footer-title {
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
  display: block;
  margin: 0 0 12px 0;
}

/* Force horizontal text in footer content */
.aurora-footer .footer-col * {
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
}
