/**
 * 雅加达生活通 - 印尼中文资讯门户
 * 主样式文件
 */

:root {
    /* 主色系 - 活力橙红 */
    --primary: #FF552E;
    --primary-light: #FF8055;
    --primary-dark: #D93812;
    /* 辅助色系 - 暖金色 */
    --accent: #F5A623;
    --accent-light: #FFD175;
    /* 功能色 */
    --success: #22C55E;
    --warning: #FBBF24;
    --info: #0EA5E9;
    --purple: #9C27B0;
    /* 背景与卡片 */
    --bg: #FFFBF7;
    --bg-card: #FFFFFF;
    /* 文本色 */
    --text-primary: #1A1A1A;
    --text-secondary: #525252;
    --text-muted: #9CA3AF;
    /* 边框与阴影 */
    --border: rgba(0,0,0,0.06);
    --shadow: 0 2px 12px rgba(0,0,0,0.04);
    --shadow-hover: 0 4px 20px rgba(0,0,0,0.08);
    /* 圆角 */
    --radius: 12px;
    --radius-sm: 8px;
    /* 字体 */
    --font-display: 'Noto Serif SC', serif;
    --font-body: 'Noto Sans SC', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 背景纹理 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(255, 85, 46, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(245, 166, 35, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* 顶部栏 */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(135deg, #FFF8F5 0%, #FFF5F0 50%, #FFFBF7 100%);
    border-bottom: 1px solid rgba(255, 85, 46, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    max-width: 680px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(255, 85, 46, 0.3);
    position: relative;
    overflow: hidden;
}

.logo-icon::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.3) 50%, transparent 60%);
    animation: logoShine 3s ease-in-out infinite;
}

@keyframes logoShine {
    0%, 100% { transform: translateX(-100%) rotate(45deg); }
    50% { transform: translateX(100%) rotate(45deg); }
}

.logo-icon svg {
    width: 22px;
    height: 22px;
    fill: white;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.02em;
}

.logo-tagline {
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-top: -2px;
    letter-spacing: 0.05em;
}

.lang-switch {
    display: flex;
    background: var(--bg);
    border-radius: 20px;
    padding: 3px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid var(--border);
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.02);
}

.lang-btn {
    padding: 6px 10px;
    border-radius: 17px;
    cursor: pointer;
    transition: all 0.25s ease;
    color: var(--text-muted);
    background: transparent;
    border: none;
    font-family: var(--font-body);
    font-size: 0.75rem;
}

.lang-btn.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(255, 85, 46, 0.3);
}

.lang-btn:not(.active):hover {
    color: var(--primary);
}

/* 功能栏 - 搜索/国家切换/发布 */
.header-action-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px 14px;
    max-width: 680px;
    margin: 0 auto;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 85, 46, 0.02) 100%);
}

/* 搜索框 */
.search-wrapper {
    flex: 1;
    position: relative;
}

.search-input {
    width: 100%;
    height: 40px;
    padding: 0 16px 0 42px;
    font-size: 0.85rem;
    font-family: var(--font-body);
    color: var(--text-primary);
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: 24px;
    outline: none;
    transition: all 0.3s ease;
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-input:focus {
    border-color: var(--primary);
    background: var(--bg-card);
    box-shadow: 0 0 0 4px rgba(255, 85, 46, 0.1);
}

.search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    fill: var(--text-muted);
    transition: fill 0.2s;
    pointer-events: none;
}

.search-input:focus + .search-icon {
    fill: var(--primary);
}

/* 国家切换下拉 */
.country-selector {
    position: relative;
    flex-shrink: 0;
}

.country-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 40px;
    padding: 0 12px;
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.country-btn:hover {
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(255, 85, 46, 0.1);
}

.country-flag {
    font-size: 1.2rem;
    line-height: 1;
}

.country-name {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.country-arrow {
    width: 14px;
    height: 14px;
    fill: var(--text-muted);
    transition: transform 0.2s;
}

.country-selector.open .country-arrow {
    transform: rotate(180deg);
}

.country-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 160px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.25s ease;
    z-index: 200;
    overflow: hidden;
}

.country-selector.open .country-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.country-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    cursor: pointer;
    transition: background 0.2s;
}

.country-option:hover {
    background: rgba(255, 85, 46, 0.06);
}

.country-option.selected {
    background: rgba(255, 85, 46, 0.1);
}

.country-option .country-flag {
    font-size: 1.3rem;
}

.country-option .country-name {
    flex: 1;
    color: var(--text-primary);
}

.country-option.selected .country-name {
    color: var(--primary);
    font-weight: 600;
}

.country-option .check-icon {
    width: 16px;
    height: 16px;
    fill: var(--primary);
    opacity: 0;
}

.country-option.selected .check-icon {
    opacity: 1;
}

.location-select-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    color: var(--text-primary);
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.2s;
}

.location-select-btn:hover {
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(255, 85, 46, 0.1);
}

.location-select-btn svg {
    width: 16px;
    height: 16px;
    fill: var(--primary);
}

/* 发布按钮 */
.publish-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 40px;
    padding: 0 16px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: var(--font-body);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.publish-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.2) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.5s;
}

.publish-btn:hover::before {
    transform: translateX(100%);
}

.publish-btn:hover {
    transform: translateY(-2px);
}

.publish-btn:active {
    transform: translateY(0);
}

.publish-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* 宫格导航区域 */
.grid-nav-section {
    max-width: 656px;
    margin: 12px auto 0;
    padding: 16px 12px 12px;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.grid-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding: 0 4px;
}

.grid-nav-title {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.grid-nav-title::before {
    content: '';
    width: 3px;
    height: 14px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 2px;
}

.grid-nav-more {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    transition: all 0.25s ease;
}

.grid-nav-more::after {
    content: '';
    width: 5px;
    height: 5px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(-45deg);
    margin-top: -1px;
}

.grid-nav-more:hover {
    color: var(--primary);
    background: rgba(255, 85, 46, 0.08);
}

.grid-nav-container {
    overflow: hidden;
    position: relative;
    touch-action: pan-x;
}

.grid-nav-wrapper {
    display: flex;
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    cursor: grab;
}

.grid-nav-wrapper.dragging {
    cursor: grabbing;
    transition: none;
}

.grid-nav-screen {
    flex-shrink: 0;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 8px;
    padding: 4px;
}

.grid-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 4px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    background: var(--bg);
    border: 1px solid transparent;
    -webkit-tap-highlight-color: transparent;
    text-decoration: none;
    color: inherit;
}

.grid-nav-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.grid-nav-item:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 85, 46, 0.2);
    box-shadow: 0 4px 12px rgba(255, 85, 46, 0.15);
}

.grid-nav-item:active {
    transform: scale(0.95);
}

.grid-nav-item.active::before {
    opacity: 1;
}

.grid-nav-item.active .grid-nav-icon,
.grid-nav-item.active .grid-nav-label {
    color: white;
    position: relative;
    z-index: 1;
}

.grid-nav-item.active .grid-nav-icon {
    background: rgba(255, 255, 255, 0.2);
}

.grid-nav-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    background: rgba(var(--primary-rgb, 255,107,0), 0.1);
    border-radius: 10px;
    transition: all 0.25s ease;
    line-height: 1;
}

.grid-nav-label {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.3;
    transition: color 0.25s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.grid-nav-item:hover .grid-nav-label {
    color: var(--primary);
}

/* HOT/NEW 标签 */
.grid-nav-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    font-size: 0.5rem;
    font-weight: 700;
    padding: 2px 4px;
    border-radius: 4px;
    z-index: 2;
    animation: badgePulse 2s ease-in-out infinite;
}

.grid-nav-badge.hot {
    background: linear-gradient(135deg, #FF4757 0%, #FF6B81 100%);
    color: white;
}

.grid-nav-badge.new {
    background: linear-gradient(135deg, var(--accent) 0%, #FFC107 100%);
    color: #8B6914;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* 宫格导航底部 */
.grid-nav-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 12px;
    padding-top: 10px;
}

.grid-nav-footer .grid-nav-indicator {
    display: flex;
    gap: 8px;
}

.grid-nav-footer .grid-nav-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    transition: all 0.3s ease;
    cursor: pointer;
}

.grid-nav-footer .grid-nav-dot.active {
    background: var(--primary);
    width: 20px;
    border-radius: 4px;
}

.grid-nav-footer .grid-nav-dot:hover {
    background: var(--primary-light);
}

/* ========================================
   热点新闻滚动区域
   ======================================== */
.hot-news-section {
    max-width: 656px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(255, 85, 46, 0.03) 0%, rgba(255, 133, 85, 0.05) 100%);
    border-top: 1px solid rgba(255, 85, 46, 0.12);
    border-bottom: 1px solid rgba(255, 85, 46, 0.12);
    /* 上下边缘渐隐效果 */
    -webkit-mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        black 15%,
        black 85%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        black 15%,
        black 85%,
        transparent 100%
    );
}

/* 滚动视窗 - 单条显示 */
.hot-news-viewport {
    position: relative;
    height: 44px;
    overflow: hidden;
}

/* 滚动轨道 */
.hot-news-track {
    position: absolute;
    width: 100%;
    animation: hotNewsScroll 12s linear infinite;
}

.hot-news-track:hover {
    animation-play-state: paused;
}

@keyframes hotNewsScroll {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

/* 新闻条目 */
.hot-news-item {
    height: 44px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    cursor: pointer;
    transition: background 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.hot-news-item:hover {
    background: rgba(255, 85, 46, 0.05);
}

.hot-news-content {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.hot-news-tag {
    flex-shrink: 0;
    padding: 3px 8px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--primary);
    background: linear-gradient(135deg, rgba(255, 85, 46, 0.1) 0%, rgba(255, 133, 85, 0.15) 100%);
    border-radius: 4px;
    letter-spacing: 0.3px;
}

.hot-news-tag.hot-tag-red {
    color: #DC2626;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1) 0%, rgba(239, 68, 68, 0.15) 100%);
}

.hot-news-text {
    flex: 1;
    font-size: 0.9rem;
    color: var(--text-primary);
    line-height: 1.5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 深色模式适配 */
@media (prefers-color-scheme: dark) {
    .hot-news-section {
        background: linear-gradient(135deg, rgba(255, 85, 46, 0.08) 0%, rgba(255, 133, 85, 0.1) 100%);
        border-color: rgba(255, 85, 46, 0.2);
    }

    .hot-news-tag {
        background: linear-gradient(135deg, rgba(255, 85, 46, 0.15) 0%, rgba(255, 133, 85, 0.2) 100%);
    }

    .hot-news-tag.hot-tag-red {
        background: linear-gradient(135deg, rgba(220, 38, 38, 0.15) 0%, rgba(239, 68, 68, 0.2) 100%);
    }

    .hot-news-text {
        color: rgba(255, 255, 255, 0.85);
    }

    .hot-news-item:hover {
        background: rgba(255, 85, 46, 0.08);
    }
}

/* 主内容区 */
.main {
    max-width: 680px;
    margin: 0 auto;
    padding: 10px;
}

/* 卡片基础样式 */
.card {
    background: var(--bg-card);
    margin: 0 0 12px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    animation: cardFadeIn 0.5s ease-out forwards;
    opacity: 0;
    transform: translateY(10px);
    text-decoration: none;
    color: inherit;
    display: block;
}

@keyframes cardFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.15s; }
.card:nth-child(3) { animation-delay: 0.2s; }
.card:nth-child(4) { animation-delay: 0.25s; }
.card:nth-child(5) { animation-delay: 0.3s; }
.card:nth-child(6) { animation-delay: 0.35s; }
.card:nth-child(7) { animation-delay: 0.4s; }
.card:nth-child(8) { animation-delay: 0.45s; }

.card:active {
    transform: scale(0.98);
    box-shadow: var(--shadow-hover);
}

/* 新闻卡片 */
.card-news {
    padding: 16px;
    cursor: pointer;
}

.card-news:hover {
    box-shadow: var(--shadow-hover);
}

.news-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: linear-gradient(135deg, #FF4757 0%, #FF6B81 100%);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 20px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.news-badge svg {
    width: 12px;
    height: 12px;
    fill: currentColor;
    animation: flashPulse 1s ease-in-out infinite;
}

@keyframes flashPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.news-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.5;
    color: var(--text-primary);
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 图片展示区域 */
.news-images {
    margin: 12px 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

/* 单图样式 */
.news-images.single-image {
    position: relative;
}

.news-images.single-image .image-item {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #f5f5f5 0%, #ebebeb 100%);
    border-radius: var(--radius-sm);
    overflow: hidden;
    position: relative;
}

.news-images.single-image .image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-images.single-image:hover .image-item img {
    transform: scale(1.03);
}

.news-images.single-image .image-item .image-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    gap: 6px;
}

.news-images.single-image .image-item .image-placeholder svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
    opacity: 0.5;
}

.news-images.single-image .image-item .image-placeholder span {
    font-size: 0.75rem;
    opacity: 0.7;
}

/* 三图样式 */
.news-images.triple-image {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.news-images.triple-image .image-item {
    aspect-ratio: 1;
    background: linear-gradient(135deg, #f5f5f5 0%, #ebebeb 100%);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.news-images.triple-image .image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.news-images.triple-image .image-item:hover img {
    transform: scale(1.08);
}

.news-images.triple-image .image-item .image-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.news-images.triple-image .image-item .image-placeholder svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
    opacity: 0.4;
}

/* 九图样式 */
.news-images.grid-image {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
}

.news-images.grid-image .image-item {
    aspect-ratio: 1;
    background: linear-gradient(135deg, #f5f5f5 0%, #ebebeb 100%);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.news-images.grid-image .image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.news-images.grid-image .image-item:hover img {
    transform: scale(1.1);
}

.news-images.grid-image .image-item .image-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.news-images.grid-image .image-item .image-placeholder svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    opacity: 0.35;
}

/* 九图展开提示 */
.news-images.grid-image .more-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.news-images.grid-image .image-item:last-child:hover .more-overlay {
    opacity: 1;
}

/* 图片数量标签 */
.image-count-badge {
    position: absolute;
    bottom: 6px;
    right: 6px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 3px;
    backdrop-filter: blur(4px);
}

.image-count-badge svg {
    width: 10px;
    height: 10px;
    fill: currentColor;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.news-meta svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

/* 分类信息卡片 */
.card-classified {
    padding: 16px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.card-classified:hover {
    box-shadow: var(--shadow-hover);
}

.classified-header {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.classified-badge {
    flex-shrink: 0;
    padding: 3px 8px;
    background: linear-gradient(135deg, var(--accent) 0%, #FFC107 100%);
    color: #8B6914;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 4px;
    letter-spacing: 0.02em;
}

.classified-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.classified-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 2px;
}

.classified-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 6px;
    padding-top: 10px;
    border-top: 1px dashed var(--border);
}

.classified-category {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: var(--bg);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 20px;
    border: 1px solid rgba(255, 85, 46, 0.15);
}

.classified-category svg {
    width: 12px;
    height: 12px;
    fill: currentColor;
}

.classified-info {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.classified-info span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.classified-info svg {
    width: 12px;
    height: 12px;
    fill: currentColor;
}

/* 底部加载区域 */
.load-more {
    padding: 24px 16px 32px;
    text-align: center;
}

.load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    background: var(--bg-card);
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid var(--border);
    border-radius: 24px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: var(--shadow);
    font-family: var(--font-body);
}

.load-more-btn:hover {
    color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.load-more-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    animation: bounceDown 1.5s ease-in-out infinite;
}

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(3px); }
}

.load-more-btn.loading svg {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* 二维码区域 */
.qrcode-section {
    margin-top: 24px;
    padding: 20px;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.qrcode-container {
    display: flex;
    align-items: center;
    gap: 16px;
}

.qrcode-img {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f0f0f0 0%, #e8e8e8 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.qrcode-img::before {
    content: '';
    position: absolute;
    inset: 8px;
    background:
        linear-gradient(90deg, var(--text-primary) 1px, transparent 1px) 0 0 / 8px 8px,
        linear-gradient(var(--text-primary) 1px, transparent 1px) 0 0 / 8px 8px;
    opacity: 0.8;
}

.qrcode-img::after {
    content: 'QR';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: 700;
    color: white;
    background: rgba(0,0,0,0.3);
    opacity: 0;
    transition: opacity 0.2s;
}

.qrcode-text {
    flex: 1;
}

.qrcode-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.qrcode-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* 底部版权 */
.footer {
    padding: 16px;
    text-align: center;
    font-size: 0.7rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
    background: var(--bg-card);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--primary);
}

/* 加载骨架屏 */
.skeleton {
    background: linear-gradient(90deg, var(--bg) 0%, #f0f0f0 50%, var(--bg) 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s ease-in-out infinite;
    border-radius: 4px;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 110px;
    right: 16px;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(255, 85, 46, 0.4);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 85, 46, 0.5);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 4px;
}

/* 响应式调整 */
@media (min-width: 768px) {
    .main {
        padding: 10px;
    }

    .card {
        margin: 0 0 16px;
    }

    .news-title {
        font-size: 1.2rem;
    }

    .classified-title {
        font-size: 1rem;
    }
}

/* 底部悬浮导航 */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    z-index: 100;
    padding: 0;
}

.bottom-nav-inner {
    max-width: 680px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    padding: 6px 0 max(6px, env(safe-area-inset-bottom));
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 3px 16px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    background: transparent;
    font-family: var(--font-body);
    text-decoration: none;
    color: inherit;
}

.nav-item-icon svg,
.nav-item svg {
    width: 20px;
    height: 20px;
    fill: var(--text-muted);
    transition: fill 0.2s;
}

.nav-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.nav-item-label,
.nav-item span {
    font-size: 0.6rem;
    color: var(--text-muted);
    transition: color 0.2s;
}

.nav-item.active .nav-item-icon svg,
.nav-item.active svg {
    fill: var(--primary);
}

.nav-item.active .nav-item-label,
.nav-item.active span {
    color: var(--primary);
    font-weight: 600;
}

.nav-item:hover .nav-item-icon svg,
.nav-item:hover svg {
    fill: var(--primary);
}

/* 发布按钮 - 红色背景 */
.nav-item.publish {
    margin-top: -13px;
}

.nav-item.publish .nav-item-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(255, 85, 46, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.nav-item.publish .nav-item-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.3) 50%, transparent 60%);
    animation: publishShine 3s ease-in-out infinite;
}

@keyframes publishShine {
    0%, 100% { transform: translateX(-100%) rotate(45deg); }
    50% { transform: translateX(100%) rotate(45deg); }
}

.nav-item.publish .nav-item-icon svg {
    width: 22px;
    height: 22px;
    fill: white;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
}

.nav-item.publish .nav-item-label {
    color: var(--primary);
    font-weight: 600;
    margin-top: 3px;
    font-size: 0.55rem;
}

.nav-item.publish:hover .nav-item-icon {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 85, 46, 0.5);
}

.nav-item.publish:active .nav-item-icon {
    transform: scale(0.95);
}

/* 深色模式支持 */
@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0F0F0F;
        --bg-card: #1A1A1A;
        --text-primary: #F5F5F5;
        --text-secondary: #AAAAAA;
        --text-muted: #666666;
        --border: rgba(255,255,255,0.08);
        --shadow: 0 2px 12px rgba(0,0,0,0.3);
        --shadow-hover: 0 4px 20px rgba(0,0,0,0.4);
    }

    body::before {
        background-image:
            radial-gradient(circle at 20% 80%, rgba(255, 85, 46, 0.08) 0%, transparent 50%),
            radial-gradient(circle at 80% 20%, rgba(245, 166, 35, 0.1) 0%, transparent 50%);
    }

    .classified-category {
        background: rgba(255, 85, 46, 0.15);
    }

    .lang-switch {
        background: rgba(255,255,255,0.05);
    }

    .header {
        background: linear-gradient(135deg, #1E1E1E 0%, #191919 50%, #151515 100%);
        border-bottom-color: rgba(255, 85, 46, 0.2);
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
    }

    .bottom-nav {
        background: var(--bg-card);
        border-top-color: var(--border);
    }

    .news-images.single-image .image-item,
    .news-images.triple-image .image-item,
    .news-images.grid-image .image-item {
        background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%);
    }

    .news-images .image-placeholder {
        color: var(--text-muted);
    }
}

/* 适配底部导航的页面底部间距 */
.footer {
    padding-bottom: 78px;
}

.load-more {
    padding-bottom: 100px;
}

.qrcode-section {
    margin-bottom: 20px;
}

/* 滚动时的迷你 Header */
.mini-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 150;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-bottom: none;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mini-header.visible {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mini-header-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    max-width: 680px;
    margin: 0 auto;
    width: 100%;
}

.mini-logo {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 12px rgba(255, 85, 46, 0.35);
    position: relative;
    overflow: hidden;
}

.mini-logo::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.35) 50%, transparent 60%);
    animation: miniLogoShine 3s ease-in-out infinite;
}

@keyframes miniLogoShine {
    0%, 100% { transform: translateX(-100%) rotate(45deg); }
    50% { transform: translateX(100%) rotate(45deg); }
}

.mini-logo svg {
    width: 20px;
    height: 20px;
    fill: white;
    position: relative;
    z-index: 1;
}

.mini-search {
    flex: 1;
    position: relative;
    min-width: 0;
}

.mini-search .search-input {
    width: 100%;
    height: 36px;
    padding: 0 14px 0 38px;
    font-size: 0.8rem;
    font-family: var(--font-body);
    color: white;
    background: rgba(255, 255, 255, 0.15);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    outline: none;
    transition: all 0.3s ease;
}

.mini-search .search-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.mini-search .search-input:focus {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.15);
}

.mini-search .search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    fill: rgba(255, 255, 255, 0.7);
    transition: fill 0.2s;
    pointer-events: none;
}

.mini-search .search-input:focus + .search-icon {
    fill: white;
}

.mini-publish-btn {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-left: auto;
    text-decoration: none;
}

.mini-publish-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.25) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.5s;
}

.mini-publish-btn:hover::before {
    transform: translateX(100%);
}

.mini-publish-btn:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: scale(1.08);
}

.mini-publish-btn:active {
    transform: scale(0.95);
    background: rgba(255, 255, 255, 0.25);
}

.mini-publish-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* 主 Header 滚动隐藏效果 */
.header {
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.hidden {
    transform: translateY(-100%);
}

/* 深色模式下的迷你 Header */
@media (prefers-color-scheme: dark) {
    .mini-header {
        background: linear-gradient(135deg, #B82F12 0%, #8C1F0C 100%);
        box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
    }

    .mini-search .search-input {
        background: rgba(0, 0, 0, 0.25);
        border-color: rgba(255, 255, 255, 0.15);
    }

    .mini-search .search-input:focus {
        background: rgba(0, 0, 0, 0.35);
        border-color: rgba(255, 255, 255, 0.3);
    }

    .mini-publish-btn {
        background: rgba(0, 0, 0, 0.25);
        border-color: rgba(255, 255, 255, 0.15);
    }

    .mini-publish-btn:hover {
        background: rgba(255, 255, 255, 0.15);
    }
}

/* ========================================
   二维码关注弹窗 - 新中式雅致风格
   ======================================== */
.qr-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.qr-modal.active {
    opacity: 1;
    visibility: visible;
}

.qr-modal-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.85) 0%, rgba(45, 30, 25, 0.9) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.qr-modal.active .qr-modal-overlay {
    opacity: 1;
}

.qr-modal-content {
    position: relative;
    width: 90%;
    max-width: 340px;
    background: linear-gradient(180deg, #FFFBF7 0%, #FFF8F3 100%);
    border-radius: 24px;
    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.35),
        0 10px 30px rgba(255, 85, 46, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transform: scale(0.85) translateY(30px);
    opacity: 0;
    transition: all 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

.qr-modal.active .qr-modal-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* 弹窗装饰背景 */
.qr-modal-decoration {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    border-radius: 24px;
}

.qr-cloud {
    position: absolute;
    background: linear-gradient(135deg, rgba(255, 85, 46, 0.08) 0%, rgba(245, 166, 35, 0.06) 100%);
    border-radius: 50%;
    filter: blur(20px);
}

.qr-cloud-1 {
    width: 180px;
    height: 180px;
    top: -60px;
    right: -60px;
    animation: floatCloud 8s ease-in-out infinite;
}

.qr-cloud-2 {
    width: 120px;
    height: 120px;
    bottom: 40px;
    left: -40px;
    animation: floatCloud 10s ease-in-out infinite 2s;
}

.qr-cloud-3 {
    width: 80px;
    height: 80px;
    top: 50%;
    right: 10%;
    animation: floatCloud 6s ease-in-out infinite 1s;
}

@keyframes floatCloud {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-15px) scale(1.05); }
}

/* 关闭按钮 */
.qr-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.qr-modal-close:hover {
    background: var(--primary);
    transform: rotate(90deg) scale(1.1);
}

.qr-modal-close:hover svg {
    fill: white;
}

.qr-modal-close svg {
    width: 18px;
    height: 18px;
    fill: var(--text-secondary);
    transition: fill 0.25s ease;
}

/* 弹窗主体内容 */
.qr-modal-body {
    position: relative;
    padding: 40px 28px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 二维码区域 */
.qr-code-wrapper {
    position: relative;
    margin-bottom: 24px;
}

.qr-code-frame {
    width: 180px;
    height: 180px;
    padding: 12px;
    background: white;
    border-radius: 16px;
    box-shadow:
        0 8px 32px rgba(255, 85, 46, 0.2),
        0 2px 8px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

/* 二维码图案 */
.qr-code-pattern {
    width: 100%;
    height: 100%;
    background:
        /* 定位点 */
        radial-gradient(circle at 25% 25%, #1a1a1a 8%, transparent 8%),
        radial-gradient(circle at 75% 25%, #1a1a1a 8%, transparent 8%),
        radial-gradient(circle at 25% 75%, #1a1a1a 8%, transparent 8%),
        /* 数据点阵 */
        linear-gradient(90deg, #1a1a1a 2px, transparent 2px) 0 0 / 14px 14px,
        linear-gradient(#1a1a1a 2px, transparent 2px) 0 0 / 14px 14px;
    border-radius: 8px;
    position: relative;
    opacity: 0.9;
}

/* 二维码装饰角 */
.qr-code-pattern::before,
.qr-code-pattern::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border: 3px solid var(--primary);
    border-radius: 4px;
}

.qr-code-pattern::before {
    top: 8px;
    left: 8px;
    border-right: none;
    border-bottom: none;
}

.qr-code-pattern::after {
    bottom: 8px;
    right: 8px;
    border-left: none;
    border-top: none;
}

/* 中心Logo */
.qr-code-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(255, 85, 46, 0.4);
}

.qr-code-logo svg {
    width: 24px;
    height: 24px;
    fill: white;
}

/* 文字区域 */
.qr-modal-text {
    text-align: center;
    width: 100%;
}

.qr-modal-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.qr-modal-desc {
    font-size: 0.95rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 16px;
}

/* 分隔线装饰 */
.qr-modal-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
}

.qr-modal-divider span {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 85, 46, 0.3), transparent);
    max-width: 60px;
}

.qr-modal-divider svg {
    width: 16px;
    height: 16px;
    fill: var(--accent);
    animation: heartBeat 1.5s ease-in-out infinite;
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    15% { transform: scale(1.15); }
    30% { transform: scale(1); }
    45% { transform: scale(1.15); }
}

.qr-modal-subtitle {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

/* 深色模式适配 */
@media (prefers-color-scheme: dark) {
    .qr-modal-content {
        background: linear-gradient(180deg, #1A1A1A 0%, #141414 100%);
        box-shadow:
            0 25px 80px rgba(0, 0, 0, 0.5),
            0 10px 30px rgba(255, 85, 46, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.05);
    }

    .qr-modal-title {
        color: #f5f5f5;
    }

    .qr-modal-close {
        background: rgba(40, 40, 40, 0.9);
    }

    .qr-modal-close svg {
        fill: #aaa;
    }

    .qr-code-frame {
        background: #f5f5f5;
    }

    .qr-cloud {
        background: linear-gradient(135deg, rgba(255, 85, 46, 0.12) 0%, rgba(245, 166, 35, 0.08) 100%);
    }
}

/* 响应式调整 */
@media (max-width: 360px) {
    .qr-modal-content {
        max-width: 300px;
    }

    .qr-code-frame {
        width: 160px;
        height: 160px;
    }

    .qr-modal-body {
        padding: 36px 24px 28px;
    }

    .qr-modal-title {
        font-size: 1.1rem;
    }
}
