/* ==========================================================================
   RawPhotos · 首页现代化样式（蓝白主题 v3 · 版式重构）
   作用域：#homePage 内的所有模块
   ========================================================================== */

/* ---------- 主题变量与公共增强 ---------- */
#homePage {
    --hp-blue-50:  #eff6ff;
    --hp-blue-100: #dbeafe;
    --hp-blue-200: #bfdbfe;
    --hp-blue-300: #93c5fd;
    --hp-blue-400: #60a5fa;
    --hp-blue-500: #3b82f6;
    --hp-blue-600: #2563eb;
    --hp-blue-700: #1d4ed8;
    --hp-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
    --hp-shadow-md: 0 4px 10px -4px rgba(15, 23, 42, 0.08);
    --hp-shadow-lg: 0 12px 24px -8px rgba(15, 23, 42, 0.10);
    --hp-card-border: 1px solid rgba(191, 219, 254, 0.65);
    --hp-card-bg: #ffffff;
    --hp-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --hp-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    isolation: isolate;
}

#homePage .home-shell {
    position: relative;
    z-index: 0;
}

/* 装饰背景：已简化 */
#homePage .home-deco {
    position: absolute;
    inset: -40px -20px auto -20px;
    height: 720px;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}
#homePage .home-deco-blob,
#homePage .home-deco-grid,
#homePage .home-deco-shimmer {
    display: none;
}

/* ---------- 通用版块标题 ---------- */
#homePage .section-heading {
    margin: 0 0 clamp(20px, 3vw, 28px);
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
        'kicker line'
        'text line';
    gap: 6px 20px;
    align-items: end;
}
#homePage .section-kicker {
    grid-area: kicker;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--hp-blue-600);
    opacity: 0.92;
}
#homePage .section-heading-text {
    grid-area: text;
    min-width: 0;
}
#homePage .section-heading-line {
    grid-area: line;
    width: min(160px, 22vw);
    height: 5px;
    border-radius: 99px;
    align-self: center;
    background: var(--hp-blue-400);
    box-shadow: none;
}
#homePage .section-heading-title {
    font-size: clamp(22px, 2.5vw, 28px);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.4px;
    margin: 0 0 6px;
    line-height: 1.2;
    position: relative;
}
#homePage .section-heading-sub {
    margin: 0;
    color: var(--text-secondary);
    font-size: 14.5px;
    line-height: 1.55;
    max-width: 42ch;
}

/* ---------- Hero 区 ---------- */
#homePage .home-hero {
    position: relative;
    margin: 0 0 var(--spacing-2xl);
    padding: clamp(28px, 4vw, 52px);
    border-radius: 28px;
    background: var(--hp-card-bg);
    border: 1px solid var(--hp-card-border);
    box-shadow: var(--hp-shadow-md);
    overflow: hidden;
}
#homePage .home-hero::after,
#homePage .home-hero::before {
    display: none;
}
#homePage .home-hero-inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(24px, 4vw, 56px);
    align-items: center;
    position: relative;
    z-index: 1;
}
#homePage .home-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.18);
    color: var(--hp-blue-700);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.2px;
    }
#homePage .home-hero-eyebrow-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--hp-blue-500);
    box-shadow: none;
}
#homePage .home-hero-title {
    margin: 18px 0 14px;
    font-size: clamp(28px, 4.6vw, 48px);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.1;
    letter-spacing: -1px;
}
#homePage .home-hero-title-line {
    display: block;
    }
#homePage .home-hero-title-grad {
    color: var(--hp-blue-600);
}
#homePage .home-hero-sub {
    margin: 0 0 26px;
    font-size: clamp(14px, 1.3vw, 16px);
    color: var(--text-secondary);
    line-height: 1.65;
    max-width: 560px;
    }
#homePage .home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 22px;
    }
#homePage .hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.25s var(--hp-ease-out), box-shadow 0.25s var(--hp-ease-out), background 0.25s ease, color 0.25s ease;
    border: none;
    position: relative;
    overflow: hidden;
}
#homePage .hero-btn-primary {
    background: var(--hp-blue-600);
    color: #fff;
    box-shadow: none;
}
#homePage .hero-btn-primary:hover {
    background: var(--hp-blue-700);
    transform: none;
    box-shadow: none;
}
#homePage .hero-btn-primary::before,
#homePage .hero-btn-primary:hover::before {
    display: none;
}
#homePage .hero-btn-ghost {
    background: transparent;
    color: var(--hp-blue-700);
    border: 1px solid var(--hp-blue-200);
}
#homePage .hero-btn-ghost:hover {
    background: var(--hp-blue-50);
    border-color: var(--hp-blue-400);
    transform: none;
}
#homePage .hero-btn-icon {
    width: 26px; height: 26px;
    border-radius: 50%;
    background: rgba(255,255,255,0.22);
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 700;
    transition: transform 0.3s var(--hp-ease-out);
}
#homePage .hero-btn-primary:hover .hero-btn-icon { transform: translateY(-1px); }
#homePage .hero-btn-arrow {
    transition: transform 0.3s var(--hp-ease-out);
}
#homePage .hero-btn-ghost:hover .hero-btn-arrow { transform: translateX(2px); }

#homePage .home-hero-pills {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
#homePage .home-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--hp-blue-700);
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--bg-primary);
    border: 1px solid var(--hp-card-border);
    box-shadow: none;
    transition: border-color 0.25s ease, background 0.25s ease;
}
#homePage .home-hero-pill:nth-child(1),
#homePage .home-hero-pill:nth-child(2),
#homePage .home-hero-pill:nth-child(3) {
    }
#homePage .home-hero-pill:hover {
    transform: none;
    border-color: var(--hp-blue-300);
    background: var(--hp-blue-50);
}
#homePage .home-hero-pill-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--hp-blue-500);
    box-shadow: none;
}
#homePage .home-hero-pill:nth-child(2) .home-hero-pill-dot,
#homePage .home-hero-pill:nth-child(3) .home-hero-pill-dot { }

#homePage .home-hero-meta {
    display: flex;
    align-items: center;
    gap: clamp(14px, 2.4vw, 28px);
    padding-top: 22px;
    margin-top: 4px;
    border-top: 1px dashed rgba(37, 99, 235, 0.18);
    }
#homePage .home-hero-meta-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
#homePage .home-hero-meta-num {
    font-size: clamp(20px, 2.4vw, 26px);
    font-weight: 700;
    color: var(--hp-blue-700);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
#homePage .home-hero-meta-label {
    font-size: 12px;
    color: var(--text-secondary);
    letter-spacing: 0.2px;
}
#homePage .home-hero-meta-divider {
    width: 1px;
    height: 28px;
    background: var(--hp-card-border);
}

/* Hero 视觉装饰 */
#homePage .home-hero-visual {
    position: relative;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}
#homePage .hero-orbit {
    position: relative;
    width: 320px; height: 320px;
}
#homePage .hero-orbit-ring {
    position: absolute;
    top: 50%; left: 50%;
    border-radius: 50%;
    border: 1.5px dashed rgba(37, 99, 235, 0.25);
    transform: translate(-50%, -50%);
}
#homePage .hero-orbit-ring-outer { width: 320px; height: 320px; }
#homePage .hero-orbit-ring-mid   { width: 230px; height: 230px; border-style: solid; border-color: rgba(37, 99, 235, 0.12); }
#homePage .hero-orbit-ring-inner { width: 150px; height: 150px; border-color: rgba(37, 99, 235, 0.35); }
#homePage .hero-orbit-core {
    position: absolute;
    top: 50%; left: 50%;
    width: 96px; height: 96px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: var(--bg-primary);
    box-shadow: var(--hp-shadow-md);
    display: grid; place-items: center;
}
#homePage .hero-plane {
    width: 56px; height: 56px;
    transform: rotate(-12deg);
}
#homePage .hero-orbit-dot {
    position: absolute;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--hp-blue-400);
    box-shadow: none;
    top: 50%; left: 50%;
    transform-origin: 0 0;
}
#homePage .hero-orbit-dot.dot-a { transform: translate(-50%, -50%) translate(160px) translate(-7px, -7px); }
#homePage .hero-orbit-dot.dot-b { width: 10px; height: 10px; transform: translate(-50%, -50%) translate(115px) translate(-5px, -5px); }
#homePage .hero-orbit-dot.dot-c { width: 8px; height: 8px; transform: translate(-50%, -50%) translate(75px) translate(-4px, -4px); }

/* ---------- 精选轮播 ---------- */
#homePage .featured-section {
    margin-bottom: var(--spacing-2xl);
}
#homePage .featured-stage {
    position: relative;
    padding: clamp(12px, 2vw, 18px);
    border-radius: 26px;
    background: var(--bg-primary);
    border: 1px solid var(--hp-card-border);
    box-shadow: none;
    overflow: visible;
}
#homePage .featured-stage-glow { display: none; }
#homePage .featured-section.reveal:not(.is-visible) .featured-stage {
    opacity: 0;
    transform: translateY(14px);
}
#homePage .featured-section.reveal.is-visible .featured-stage {
    opacity: 1;
    transform: none;
}
#homePage .featured-carousel {
    position: relative;
    z-index: 1;
    border-radius: 18px;
    overflow: hidden;
    background: #18181b;
    height: clamp(320px, 42vw, 480px);
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 20px 40px -24px rgba(15, 23, 42, 0.35);
}
#homePage .featured-carousel .carousel-container {
    position: relative;
    width: 100%; height: 100%;
}
#homePage .featured-carousel .carousel-item {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(1.06);
    transition:
        opacity 0.58s var(--hp-ease-out),
        transform 0.58s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
    /* 裁剪子图 Ken Burns 放大，避免四角露出外层背景 */
    overflow: hidden;
    z-index: 0;
}
/* 切换方向：非当前张略微侧偏，与当前张交叉淡化形成滑动感（依赖 main.js 保留 DOM 仅切换 .active） */
#homePage .featured-carousel[data-slide-dir="next"] .carousel-item:not(.active) {
    transform: translate3d(22px, 0, 0) scale(1.05);
}
#homePage .featured-carousel[data-slide-dir="prev"] .carousel-item:not(.active) {
    transform: translate3d(-22px, 0, 0) scale(1.05);
}
#homePage .featured-carousel .carousel-item > a {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    z-index: 1;
}
#homePage .featured-carousel .carousel-item.active {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    pointer-events: auto;
    z-index: 2;
}
#homePage .featured-carousel .carousel-item.active img {
    }
#homePage .featured-carousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    display: block;
}

/* 渐变蒙版 + 信息浮层 */
#homePage .featured-carousel .carousel-item::after {
    content: '';
    position: absolute;
    inset: 0;
    /* 底部压暗用中性黑，避免 slate 蓝让画面整体发冷/发蓝 */
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.5) 100%);
    pointer-events: none;
    z-index: 2;
}

#homePage .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.92);
    color: #1e293b;
    border: none;
    box-shadow: 0 4px 14px rgba(0,0,0,0.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 4;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
    font-size: 0;
    }
#homePage .carousel-btn:hover {
    background: #fff;
    color: #1e293b;
    transform: translateY(-50%) scale(1.04);
    }
#homePage .carousel-btn:active {
    transform: translateY(-50%) scale(0.98);
}
#homePage .carousel-btn.prev { left: 18px; }
#homePage .carousel-btn.next { right: 18px; }

#homePage .carousel-progress {
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.18);
    z-index: 3;
}
#homePage .carousel-progress > span {
    display: block;
    height: 100%;
    width: 0%;
    background: #60a5fa;
    box-shadow: none;
    transition: width 0.2s linear;
}
#homePage .carousel-indicators {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    gap: 8px;
    z-index: 3;
    padding: 6px 12px;
    background: rgba(15, 23, 42, 0.32);
    border-radius: 999px;
}
#homePage .carousel-indicators button {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.55);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: width 0.3s var(--hp-ease-out), background 0.3s ease;
}
#homePage .carousel-indicators button.active {
    width: 24px;
    background: #fff;
    border-radius: 999px;
}

/* ---------- 数据统计卡 ---------- */
#homePage .stats-section {
    margin-bottom: var(--spacing-2xl);
}
#homePage .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
@media (min-width: 1024px) {
    #homePage .stats-grid {
        grid-template-columns: 1.15fr 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 20px;
    }
    #homePage .stat-card--reviewers {
        grid-row: span 2;
        align-self: stretch;
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: 100%;
    }
    #homePage .stat-card--upload {
        grid-column: 2;
        grid-row: 1;
    }
    #homePage .stat-card--approved {
        grid-column: 3;
        grid-row: 1;
    }
    #homePage .stat-card--featured {
        grid-column: 2 / span 2;
        grid-row: 2;
    }
}
#homePage .stat-card {
    position: relative;
    background: var(--hp-card-bg);
    border: var(--hp-card-border);
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--hp-shadow-sm);
    overflow: hidden;
    transition:
        box-shadow 0.3s var(--hp-ease-out),
        border-color 0.3s ease,
        transform 0.35s var(--hp-ease-out);
    /* 重置外部 stat-card 多余的玻璃背景 */
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    text-align: left;
}
#homePage .stats-section.reveal:not(.is-visible) .stat-card {
    opacity: 0;
    transform: translateY(14px);
}
#homePage .stats-section.reveal.is-visible .stat-card {
    opacity: 1;
    transform: none;
}
#homePage .stat-card::before,
#homePage .stat-card::after {
    display: none;
}
#homePage .stat-card:hover {
    transform: translateY(-1px);
    border-color: rgba(37, 99, 235, 0.35);
    box-shadow: var(--hp-shadow-md);
}
#homePage .stat-icon {
    width: 44px; height: 44px;
    border-radius: 14px;
    background: var(--hp-blue-50);
    color: var(--hp-blue-600);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    box-shadow: none;
    transition: none;
}
#homePage .stat-card:hover .stat-icon {
    transform: none;
}
#homePage .stat-card--reviewers .stat-icon { color: #2563eb; }
#homePage .stat-card--upload    .stat-icon { color: #1d4ed8; }
#homePage .stat-card--approved  .stat-icon { color: #0284c7; background: #e0f2fe; }
#homePage .stat-card--featured  .stat-icon { color: #1d4ed8; background: #eff6ff; }

#homePage .stat-card .stat-num {
    font-size: clamp(28px, 3vw, 34px);
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-primary);
    margin: 0 0 6px;
    font-variant-numeric: tabular-nums;
    }
#homePage .stat-card .stat-label {
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    margin: 0;
}

/* ---------- 排行榜 ---------- */
#homePage .leaderboard-section {
    margin-bottom: var(--spacing-2xl);
}
#homePage .leaderboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
#homePage .leaderboard-section.reveal:not(.is-visible) .leaderboard-card {
    opacity: 0;
    transform: translateY(20px);
}
#homePage .leaderboard-section.reveal.is-visible .leaderboard-card {
    }
#homePage .leaderboard-card {
    position: relative;
    background: var(--hp-card-bg);
    border: var(--hp-card-border);
    border-radius: 20px;
    padding: 22px;
    box-shadow: var(--hp-shadow-sm);
    overflow: hidden;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: transform 0.3s var(--hp-ease-out), box-shadow 0.3s var(--hp-ease-out);
    flex: unset;
    min-width: 0;
}
#homePage .leaderboard-card::after { display: none; }
#homePage .leaderboard-card::before { display: none; }
#homePage .leaderboard-card:hover {
    transform: translateY(-1px);
    box-shadow: var(--hp-shadow-md);
}
#homePage .leaderboard-card-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}
#homePage .leaderboard-card-icon {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: var(--hp-blue-50);
    color: var(--hp-blue-600);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
}
#homePage .leaderboard-title {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}
#homePage .leaderboard-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
#homePage .leaderboard-item {
    display: grid;
    grid-template-columns: 36px 44px 1fr;
    gap: 12px;
    align-items: center;
    padding: 10px 12px;
    border-radius: 14px;
    background: var(--hp-blue-50);
    border: 1px solid rgba(191, 219, 254, 0.6);
    box-shadow: none;
    transition: background 0.25s ease, border-color 0.25s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    }
#homePage .leaderboard-item:hover {
    background: #fff;
    border-color: var(--hp-blue-300);
    box-shadow: none;
}
#homePage .leaderboard-rank {
    width: 32px; height: 32px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 13px;
    background: #fff;
    color: var(--text-secondary);
    border: 1px solid var(--hp-blue-100);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
#homePage .leaderboard-rank .medal { font-size: 11px; }
#homePage .leaderboard-rank.gold {
    background: #fde68a;
    color: #78350f;
    border: none;
    box-shadow: none;
}
#homePage .leaderboard-rank.silver {
    background: #e5e7eb;
    color: #1f2937;
    border: none;
    box-shadow: none;
}
#homePage .leaderboard-rank.bronze {
    background: #fed7aa;
    color: #7c2d12;
    border: none;
    box-shadow: none;
}
#homePage .leaderboard-avatar-wrap {
    position: relative;
    width: 44px; height: 44px;
    justify-self: center;
}
#homePage .leaderboard-avatar,
#homePage .leaderboard-item img.leaderboard-avatar {
    width: 44px !important;
    height: 44px !important;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 4px 8px -3px rgba(15, 23, 42, 0.18);
    object-fit: cover;
    display: block;
}
#homePage .leaderboard-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
#homePage .leaderboard-username {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
#homePage .leaderboard-count {
    font-size: 12.5px;
    color: var(--hp-blue-700);
    font-weight: 600;
}

/* ---------- 最新作品 ---------- */
#homePage .latest-works-section {
    margin-bottom: var(--spacing-2xl);
}
#homePage .home-latest-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
#homePage .home-latest-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    background: var(--hp-card-bg);
    border: var(--hp-card-border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--hp-shadow-sm);
    transition: transform 0.3s var(--hp-ease-out), box-shadow 0.3s var(--hp-ease-out), border-color 0.25s ease;
}
#homePage .home-latest-card:hover {
    transform: translateY(-1px);
    box-shadow: var(--hp-shadow-md);
    border-color: rgba(37, 99, 235, 0.35);
}
#homePage .home-latest-card:focus-visible {
    outline: 2px solid var(--hp-blue-500);
    outline-offset: 3px;
}
#homePage .home-latest-card-media {
    position: relative;
    aspect-ratio: 4 / 3;
    background: var(--hp-blue-50);
    overflow: hidden;
}
#homePage .home-latest-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}
#homePage .home-latest-card:hover .home-latest-card-media img {
    transform: scale(1.03);
}
#homePage .home-latest-card-caption {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-height: 92px;
    background: var(--bg-primary);
    border-top: 1px solid var(--hp-card-border);
}
#homePage .home-latest-card-title {
    font-size: clamp(15px, 1.35vw, 17px);
    font-weight: 600;
    line-height: 1.35;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
#homePage .home-latest-card-user {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--hp-blue-700);
    margin-top: auto;
    padding-top: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
#homePage .home-latest-grid > .loading,
#homePage .home-latest-grid > .empty-state {
    grid-column: 1 / -1;
    justify-self: stretch;
    text-align: center;
    padding: 28px 16px;
}

/* ---------- 关于 RawPhotos ---------- */
#homePage .about-section {
    margin-bottom: var(--spacing-2xl);
}
#homePage .about-card {
    background: var(--hp-card-bg);
    border: var(--hp-card-border);
    border-radius: 24px;
    padding: clamp(20px, 3vw, 32px);
    box-shadow: var(--hp-shadow-md);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    overflow: hidden;
}
#homePage .about-section.reveal:not(.is-visible) .about-card {
    opacity: 0;
    transform: translateY(22px);
}
#homePage .about-section.reveal.is-visible .about-card {
    }
#homePage .about-card::after { display: none; }
#homePage .about-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(16px, 3vw, 36px);
    align-items: stretch;
    margin-bottom: 24px;
}
#homePage .about-subtitle {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
#homePage .about-subtitle::before {
    content: '';
    width: 4px;
    height: 18px;
    border-radius: 2px;
    background: var(--hp-blue-500);
}

/* 时间线 */
#homePage .timeline-container {
    background: var(--bg-primary);
    border: 1px solid var(--hp-card-border);
    border-radius: 18px;
    padding: 22px;
}
#homePage .timeline {
    position: relative;
    padding-left: 28px;
}
#homePage .timeline::before {
    content: '';
    position: absolute;
    left: 9px;
    top: 4px;
    bottom: 4px;
    width: 2px;
    background: var(--hp-blue-200);
    border-radius: 2px;
}
#homePage .timeline-item {
    position: relative;
    padding: 10px 14px 10px 14px;
    margin-bottom: 14px;
    background: var(--bg-primary);
    border: 1px solid var(--hp-card-border);
    border-radius: 12px;
    transition: border-color 0.25s ease;
}
#homePage .timeline-item:last-child { margin-bottom: 0; }
#homePage .timeline-item:hover {
    border-color: var(--hp-blue-300);
    box-shadow: none;
}
#homePage .timeline-item::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 50%;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--hp-blue-500);
    border: 3px solid var(--bg-primary);
    transform: translateY(-50%);
    box-shadow: 0 0 0 2px var(--hp-blue-200);
    }
#homePage .timeline-item:nth-child(2)::before,
#homePage .timeline-item:nth-child(3)::before,
#homePage .timeline-item:nth-child(4)::before { }
#homePage .timeline-date {
    font-size: 13px;
    font-weight: 700;
    color: var(--hp-blue-700);
    margin-bottom: 4px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
#homePage .timeline-date::before { content: '✈'; font-size: 12px; }
#homePage .timeline-content {
    font-size: 14.5px;
    color: var(--text-primary);
    font-weight: 500;
    line-height: 1.55;
}

/* 正计时 */
#homePage .countup-container {
    background: var(--bg-primary);
    border: 1px solid var(--hp-card-border);
    border-radius: 18px;
    padding: 22px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
#homePage .countup-container .about-subtitle {
    margin-bottom: 18px;
    justify-content: flex-start;
}
#homePage .countup-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}
#homePage .countup-item {
    background: var(--hp-blue-600);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 14px 16px;
    min-width: 72px;
    box-shadow: none;
    transition: none;
}
#homePage .countup-item::before { display: none; }
#homePage .countup-item:hover {
    transform: none;
    box-shadow: none;
}
#homePage .countup-value {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: 4px;
    font-variant-numeric: tabular-nums;
}
#homePage .countup-label {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    letter-spacing: 1px;
    text-transform: uppercase;
}
#homePage .countup-separator {
    font-size: 22px;
    font-weight: 700;
    color: var(--hp-blue-500);
    opacity: 0.6;
    margin: 0 2px;
    }
#homePage .countup-start-date {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
    margin-top: 4px;
}

/* 感谢 */
#homePage .thanks-container {
    background: var(--bg-primary);
    border: 1px solid var(--hp-card-border);
    border-radius: 18px;
    padding: 22px;
    text-align: center;
}
#homePage .thanks-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 4px;
}
#homePage .thanks-item {
    background: var(--bg-primary);
    border: 1px solid var(--hp-card-border);
    border-radius: 999px;
    padding: 8px 16px;
    color: var(--hp-blue-700);
    font-size: 14px;
    font-weight: 500;
    box-shadow: none;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
#homePage .thanks-item::before {
    content: '✦ ';
    color: var(--hp-blue-500);
    margin-right: 4px;
}
#homePage .thanks-item:hover {
    transform: none;
    background: var(--hp-blue-50);
    color: var(--hp-blue-700);
    border-color: var(--hp-blue-200);
    box-shadow: none;
}
#homePage .thanks-item:hover::before { color: #fff; }

/* ---------- Reveal 动画 ---------- */
#homePage .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s var(--hp-ease-out), transform 0.7s var(--hp-ease-out);
    will-change: opacity, transform;
}
#homePage .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

to   { opacity: 1; transform: translateY(0); }

/* ---------- 主导航：滑动高亮与指示条见 style.css (.bottom-nav-slider) ---------- */

/* ---------- Header logo：Apple 风格无动画 ---------- */
.header .logo {
    background-size: auto;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
    #homePage .stats-grid          { grid-template-columns: repeat(2, 1fr); }
    #homePage .leaderboard-grid    { grid-template-columns: 1fr; }
    #homePage .home-hero-inner     { grid-template-columns: 1fr; }
    #homePage .home-hero-visual    { height: 260px; order: -1; }
    #homePage .hero-orbit          { width: 260px; height: 260px; }
    #homePage .hero-orbit-ring-outer { width: 260px; height: 260px; }
    #homePage .hero-orbit-ring-mid   { width: 180px; height: 180px; }
    #homePage .hero-orbit-ring-inner { width: 110px; height: 110px; }
    #homePage .hero-orbit-dot.dot-a { transform: translate(-50%, -50%) translate(130px) translate(-7px, -7px); }
    #homePage .hero-orbit-dot.dot-b { transform: translate(-50%, -50%) translate(90px) translate(-5px, -5px); }
    #homePage .hero-orbit-dot.dot-c { transform: translate(-50%, -50%) translate(55px) translate(-4px, -4px); }
    #homePage .about-grid          { grid-template-columns: 1fr; }
    #homePage .home-latest-grid    { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    /* 固定底栏药丸占用视口底缘：为 Hero 统计条等区域留白，避免首屏与导航重叠 */
    #homePage .home-hero {
        padding-bottom: calc(clamp(28px, 4vw, 52px) + 102px + env(safe-area-inset-bottom, 16px));
    }
}

@media (max-width: 1023px) and (min-width: 641px) {
    #homePage .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    #homePage .section-heading {
        grid-template-columns: 1fr;
        grid-template-areas:
            'kicker'
            'text'
            'line';
        gap: 8px;
    }
    #homePage .section-heading-line {
        width: 100%;
        max-width: 220px;
        justify-self: start;
        height: 4px;
    }
    #homePage .home-hero-pills {
        gap: 8px;
    }
    #homePage .home-hero-pill {
        font-size: 12px;
        padding: 7px 12px;
    }
    #homePage .home-hero {
        padding: 22px;
        padding-bottom: calc(22px + 102px + env(safe-area-inset-bottom, 16px));
        border-radius: 22px;
    }
    #homePage .home-hero-eyebrow {
        font-size: 12px;
        padding: 5px 12px;
    }
    #homePage .home-hero-title {
        font-size: 30px;
        margin: 14px 0 10px;
    }
    #homePage .home-hero-sub {
        font-size: 14px;
        margin-bottom: 20px;
    }
    #homePage .home-hero-actions {
        flex-direction: column;
    }
    #homePage .hero-btn {
        width: 100%;
        justify-content: center;
    }
    #homePage .home-hero-meta {
        gap: 14px;
        padding-top: 16px;
    }
    #homePage .home-hero-visual { height: 220px; }
    #homePage .hero-orbit       { width: 220px; height: 220px; }
    #homePage .hero-orbit-ring-outer { width: 220px; height: 220px; }
    #homePage .hero-orbit-ring-mid   { width: 150px; height: 150px; }
    #homePage .hero-orbit-ring-inner { width: 90px; height: 90px; }
    #homePage .hero-orbit-core { width: 78px; height: 78px; }
    #homePage .hero-plane { width: 44px; height: 44px; }

    #homePage .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    #homePage .stat-card { padding: 18px; border-radius: 16px; }
    #homePage .stat-icon { width: 38px; height: 38px; margin-bottom: 10px; border-radius: 12px; }
    #homePage .stat-card .stat-num { font-size: 24px; }

    #homePage .featured-carousel { height: 280px; border-radius: 18px; }
    #homePage .carousel-btn { width: 38px; height: 38px; }
    #homePage .carousel-btn.prev { left: 10px; }
    #homePage .carousel-btn.next { right: 10px; }

    #homePage .leaderboard-card { padding: 18px; border-radius: 18px; }
    #homePage .leaderboard-item {
        grid-template-columns: 30px 40px 1fr;
        gap: 10px;
        padding: 8px 10px;
    }
    #homePage .leaderboard-rank { width: 28px; height: 28px; font-size: 12px; }
    #homePage .leaderboard-avatar,
    #homePage .leaderboard-item img.leaderboard-avatar {
        width: 40px !important; height: 40px !important;
    }
    #homePage .leaderboard-username { font-size: 13.5px; }
    #homePage .leaderboard-count    { font-size: 12px; }

    #homePage .home-latest-grid { grid-template-columns: 1fr; gap: 14px; }
    #homePage .home-latest-card { border-radius: 16px; }
    #homePage .home-latest-card-caption { min-height: 80px; padding: 14px 14px 16px; }
    #homePage .home-latest-card-title { font-size: 16px; }

    #homePage .countup-item { padding: 12px 12px; min-width: 62px; }
    #homePage .countup-value { font-size: 22px; }
    #homePage .countup-label { font-size: 10px; }
}

/* ---------- 深色模式（与页面底色统一，卡片用半透明玻璃避免「外深内浅」割裂） ---------- */
html.theme-dark #homePage,
body.theme-dark #homePage {
    --hp-card-bg: #1e293b;
    --hp-card-border: 1px solid rgba(148, 163, 184, 0.14);
    --hp-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.20);
    --hp-shadow-md: 0 4px 10px -4px rgba(0, 0, 0, 0.24);
    --hp-shadow-lg: 0 12px 24px -8px rgba(0, 0, 0, 0.30);
}

body.theme-dark #homePage .home-deco-blob {
    opacity: 0.22;
}

body.theme-dark #homePage .home-deco-grid {
    display: none;
}

html.theme-dark #homePage .home-hero,
body.theme-dark #homePage .home-hero {
    background: var(--hp-card-bg);
    border-color: var(--hp-card-border);
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

html.theme-dark #homePage .stat-card,
body.theme-dark #homePage .stat-card {
    background: var(--hp-card-bg) !important;
    border: var(--hp-card-border) !important;
    box-shadow: var(--hp-shadow-sm) !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

body.theme-dark #homePage .home-hero::after,
body.theme-dark #homePage .home-hero::before {
    display: none;
}

body.theme-dark #homePage .home-hero-eyebrow {
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(96, 165, 250, 0.22);
    color: #93c5fd;
}

body.theme-dark #homePage .home-hero-sub,
html.theme-dark #homePage .home-hero-sub {
    color: var(--text-secondary);
}

html.theme-dark #homePage .home-hero-meta-label,
body.theme-dark #homePage .home-hero-meta-label {
    color: #cbd5e1;
}

html.theme-dark #homePage .home-hero-meta-num,
body.theme-dark #homePage .home-hero-meta-num {
    color: #f8fafc;
}

/* 数据卡数字：深色底上禁用渐变镂空字，改用高对比实色 */
html.theme-dark #homePage .stat-card .stat-num,
body.theme-dark #homePage .stat-card .stat-num {
    color: #f8fafc !important;
    background: none !important;
    -webkit-background-clip: border-box !important;
    background-clip: border-box !important;
    -webkit-text-fill-color: #f8fafc !important;
}

html.theme-dark #homePage .stat-card .stat-label,
body.theme-dark #homePage .stat-card .stat-label {
    color: #cbd5e1 !important;
}

body.theme-dark #homePage .home-hero-meta-divider {
    background: rgba(148, 163, 184, 0.2);
}

body.theme-dark #homePage .home-hero-pill {
    color: #93c5fd;
    background: rgba(30, 41, 59, 0.85);
    border-color: rgba(148, 163, 184, 0.22);
}

body.theme-dark #homePage .home-hero-pill:hover {
    background: rgba(37, 99, 235, 0.18);
    border-color: rgba(96, 165, 250, 0.35);
}

body.theme-dark #homePage .hero-btn-ghost {
    background: rgba(30, 41, 59, 0.9);
    color: #93c5fd;
    border-color: rgba(96, 165, 250, 0.35);
}

body.theme-dark #homePage .hero-btn-ghost:hover {
    background: rgba(37, 99, 235, 0.2);
    border-color: rgba(96, 165, 250, 0.5);
}

body.theme-dark #homePage .section-heading-sub {
    color: var(--text-secondary);
}

body.theme-dark #homePage .section-heading-line {
    background: #93c5fd;
}

body.theme-dark #homePage .section-kicker {
    color: #93c5fd;
}

body.theme-dark #homePage .hot-section .section-kicker {
    color: #93c5fd !important;
}

body.theme-dark #homePage .stat-card:hover {
    border-color: rgba(96, 165, 250, 0.35);
}

body.theme-dark #homePage .leaderboard-item {
    background: transparent;
    border-color: rgba(148, 163, 184, 0.12);
}

body.theme-dark #homePage .leaderboard-item:hover {
    background: var(--bg-tertiary);
    border-color: rgba(96, 165, 250, 0.28);
    box-shadow: 0 8px 20px -12px rgba(0, 0, 0, 0.4);
}

body.theme-dark #homePage .leaderboard-rank:not(.gold):not(.silver):not(.bronze) {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    border-color: rgba(148, 163, 184, 0.2);
}

body.theme-dark #homePage .leaderboard-avatar,
body.theme-dark #homePage .leaderboard-item img.leaderboard-avatar {
    border-color: #334155;
}

body.theme-dark #homePage .home-latest-card {
    background: var(--bg-primary);
    border-color: rgba(148, 163, 184, 0.2);
}

body.theme-dark #homePage .home-latest-card-caption {
    background: var(--bg-primary);
    border-top-color: rgba(148, 163, 184, 0.15);
}

html.theme-dark #homePage .featured-stage,
html.theme-dark #homePage .hot-frame,
body.theme-dark #homePage .featured-stage,
body.theme-dark #homePage .hot-frame {
    background: var(--hp-card-bg) !important;
    border-color: rgba(148, 163, 184, 0.14) !important;
    box-shadow: var(--hp-shadow-md) !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

html.theme-dark #homePage .hot-frame:hover,
body.theme-dark #homePage .hot-frame:hover {
    box-shadow: var(--hp-shadow-lg) !important;
    border-color: rgba(96, 165, 250, 0.22) !important;
}

html.theme-dark #homePage .hot-frame .hot-frame-media,
body.theme-dark #homePage .hot-frame .hot-frame-media {
    background: rgba(15, 23, 42, 0.65);
}

body.theme-dark #homePage .timeline-container,
body.theme-dark #homePage .timeline-item,
body.theme-dark #homePage .about-card,
body.theme-dark #homePage .countup-container,
body.theme-dark #homePage .thanks-container {
    background: var(--bg-primary) !important;
    border-color: rgba(148, 163, 184, 0.18) !important;
    color: var(--text-primary);
}

body.theme-dark #homePage .carousel-btn {
    background: rgba(30, 41, 59, 0.88);
    color: #93c5fd;
    border-color: rgba(148, 163, 184, 0.25);
}

body.theme-dark #homePage .carousel-btn:hover {
    background: #1e293b;
    color: #bfdbfe;
}

/* ---------- 主题：新年（保持红系，简单覆盖关键蓝） ---------- */
body.theme-newyear #homePage .stat-card,
body.theme-newyear #homePage .leaderboard-card,
body.theme-newyear #homePage .about-card,
body.theme-newyear #homePage .timeline-container,
body.theme-newyear #homePage .countup-container,
body.theme-newyear #homePage .thanks-container,
body.theme-newyear #homePage .home-hero {
    background: #ffffff;
    border-color: rgba(244, 199, 199, 0.7);
    box-shadow: none;
}
body.theme-newyear #homePage .stat-icon,
body.theme-newyear #homePage .leaderboard-card-icon {
    background: #ffe4e4;
    color: #c62828;
}
body.theme-newyear #homePage .stat-card .stat-num {
    color: #c62828;
    -webkit-background-clip: text;
    background-clip: text;
}
body.theme-newyear #homePage .home-hero-eyebrow {
    background: rgba(198, 40, 40, 0.08);
    border-color: rgba(198, 40, 40, 0.25);
    color: #c62828;
}
body.theme-newyear #homePage .home-hero-title-grad {
    background: #c62828;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
body.theme-newyear #homePage .hero-btn-primary {
    background: #c62828;
    box-shadow: none;
}
body.theme-newyear #homePage .hero-btn-ghost {
    color: #c62828;
    border-color: #f4c7c7;
}
body.theme-newyear #homePage .countup-item {
    background: #c62828;
    box-shadow: none;
}
body.theme-newyear #homePage .thanks-item:hover {
    background: #c62828;
}
body.theme-newyear #homePage .home-latest-card {
    background: #ffffff;
    border-color: rgba(244, 199, 199, 0.75);
    box-shadow: none;
}
body.theme-newyear #homePage .home-latest-card:hover {
    border-color: rgba(239, 83, 80, 0.48);
    box-shadow: none;
}
body.theme-newyear #homePage .home-latest-card-caption {
    border-top-color: rgba(244, 199, 199, 0.55);
    background: #ffffff;
}
body.theme-newyear #homePage .home-latest-card-user {
    color: #b71c1c;
}
body.theme-newyear #homePage .hot-frame .hot-frame-user {
    color: #b71c1c;
}
body.theme-newyear #homePage .featured-stage {
    background: #ffffff;
    border-color: rgba(244, 199, 199, 0.75);
    box-shadow: none;
}
body.theme-newyear #homePage .section-kicker {
    color: #b71c1c;
    }
body.theme-newyear #homePage .section-heading-line {
    background: #c62828;
    box-shadow: none;
}
body.theme-newyear #homePage .home-hero-pill {
    color: #c62828;
    border-color: rgba(244, 199, 199, 0.85);
    box-shadow: none;
}
body.theme-newyear #homePage .home-hero-pill-dot {
    background: #c62828;
    box-shadow: none;
}
body.theme-newyear #homePage .home-hero::after { display: none; }

/* ---------- 减少动画偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
    #homePage *,
    #homePage *::before,
    #homePage *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
    #homePage .stats-section.reveal:not(.is-visible) .stat-card,
    #homePage .leaderboard-section.reveal:not(.is-visible) .leaderboard-card,
    #homePage .about-section.reveal:not(.is-visible) .about-card,
    #homePage .featured-section.reveal:not(.is-visible) .featured-stage {
        opacity: 1;
        transform: none;
    }
    #homePage .reveal {
        opacity: 1;
        transform: none;
    }
    #homePage .home-latest-card:hover .home-latest-card-media img {
        transform: none;
    }
}


/* ==========================================================================
   HOT 照片栏（精选之上）
   ========================================================================== */
#homePage .hot-section {
    position: relative;
    margin: 32px 0 48px;
}

#homePage .hot-section[hidden] {
    display: none !important;
}

/* HOT 眉题与其它版块一致：蓝色小标签，无橙色底条（覆盖旧样式/缓存） */
#homePage .hot-section .section-kicker {
    justify-self: start;
    width: max-content;
    max-width: 100%;
    color: var(--hp-blue-600);
    background: none !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
}

body.theme-newyear #homePage .hot-section .section-kicker {
    color: #b71c1c;
    background: none !important;
    border: none !important;
}

#homePage .hot-frames {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(10px, 2.5vw, 16px);
    align-items: stretch;
}

#homePage .hot-frame {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--bg-primary, #fff);
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 6px 22px rgba(234, 88, 12, 0.10);
    border: 1px solid #fed7aa;
    transition: transform .25s ease, box-shadow .25s ease;
}

#homePage .hot-frame:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 32px rgba(234, 88, 12, 0.18);
}

#homePage .hot-frame .hot-frame-media {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2;
    background: #fff7ed;
    overflow: hidden;
}

#homePage .hot-frame .hot-frame-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity .55s ease;
    will-change: opacity;
}

#homePage .hot-frame .hot-frame-img.is-active {
    opacity: 1;
}

#homePage .hot-frame .hot-frame-media::after {
    content: '🔥 hot';
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    padding: 4px 10px;
    background: rgba(234, 88, 12, 0.92);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .03em;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(234, 88, 12, .25);
}

#homePage .hot-frame .hot-frame-caption {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-height: 78px;
}

#homePage .hot-frame .hot-frame-title {
    font-weight: 600;
    font-size: 15px;
    color: var(--text-primary, #0f172a);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#homePage .hot-frame .hot-frame-user {
    font-size: 13px;
    font-weight: 600;
    color: var(--hp-blue-700, #1d4ed8);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#homePage .hot-frame .hot-frame-reason {
    font-size: 13px;
    color: #ea580c;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* 主页"最新作品"卡片上的 hot 徽章 */
#homePage .home-latest-card-hot {
    margin-top: 4px;
    color: #ea580c;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .02em;
}