:root {
    --fnt-primary: #10b981;
    --fnt-primary-dark: #059669;
    --fnt-ink: #0f172a;
    --fnt-muted: #64748b;
    --fnt-soft: #f0fdfa;
    --fnt-soft-2: #ecfdf5;
    --fnt-line: #dbeee9;
    --fnt-card: #ffffff;
    --fnt-blue: #0f3f46;
    --fnt-green: #10b981;
    --fnt-shadow: 0 18px 54px rgba(15, 118, 110, .08);
    --fnt-radius: 8px;
    --fnt-radius-lg: 14px;
    --fnt-container: 1152px;
    --font-main: "Inter", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
}

/* Home design v2: compact finance portal layout */
body {
    background:
        linear-gradient(180deg, #f8fdfb 0, #fbfefd 44rem, #ffffff 100%);
}

.site-header {
    padding: 14px 0 10px;
    background: rgba(255, 255, 255, .92);
    border-bottom: 1px solid #edf5f2;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .025);
}

.site-header__inner {
    min-height: 54px;
    gap: 24px;
}

.site-brand {
    min-width: 190px;
}

.site-brand__mark,
.site-brand__image {
    width: 42px;
    height: 42px;
}

.site-brand__text strong {
    color: #111827;
    font-size: 20px;
    line-height: 1.1;
}

.site-brand__text small {
    color: #6b7280;
    font-size: 12px;
}

.primary-menu {
    gap: clamp(22px, 2.6vw, 38px);
}

.primary-menu a {
    padding: 13px 0 11px;
    color: #111827;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 600;
    white-space: nowrap;
}

.primary-menu .current-menu-item > a::after,
.primary-menu a:hover::after {
    bottom: 2px;
    height: 3px;
    border-radius: 999px;
}

.icon-button {
    width: 42px;
    height: 42px;
    border-color: #dcebe7;
    box-shadow: 0 10px 22px rgba(15, 23, 42, .04);
}

.header-actions .btn-compact {
    min-height: 42px;
    padding: 0 22px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 12px 24px rgba(16, 185, 129, .18);
}

.home-v2-hero {
    position: relative;
    overflow: hidden;
    padding: 58px 0 28px;
}

.home-v2-hero::before {
    position: absolute;
    top: 88px;
    left: 50%;
    width: 430px;
    height: 430px;
    pointer-events: none;
    content: "";
    background:
        radial-gradient(circle, rgba(16, 185, 129, .18) 1.1px, transparent 1.4px) 0 0 / 9px 9px;
    border-radius: 50%;
    mask-image: radial-gradient(circle, #000 0 48%, transparent 70%);
    opacity: .55;
}

.home-v2-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(500px, 560px);
    gap: 56px;
}

.home-v2-hero__copy {
    position: relative;
    z-index: 1;
}

.home-v2-hero__copy h1 {
    max-width: 560px;
    margin: 18px 0 18px;
    color: #111827;
    font-size: clamp(42px, 4vw, 54px);
    line-height: 1.22;
    letter-spacing: 0;
}

.home-v2-hero__copy p {
    max-width: 560px;
    margin-bottom: 30px;
    color: #475569;
    font-size: 16px;
    line-height: 1.9;
}

.home-v2-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 22px;
}

.home-v2-hero__actions .btn {
    min-height: 52px;
    padding-inline: 30px;
    border-radius: 8px;
}

.home-v2-hero__actions span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-size: 14px;
    font-weight: 600;
}

.home-v2-hero__actions span::before {
    display: grid;
    place-items: center;
    width: 18px;
    height: 18px;
    color: var(--fnt-primary);
    content: "";
    border: 2px solid currentColor;
    border-radius: 999px;
}

.home-v2-dashboard {
    min-height: 420px;
}

.home-v2-dashboard .market-dashboard {
    width: 100%;
    max-width: 560px;
    min-height: auto;
    padding: 18px;
    background: rgba(255, 255, 255, .92);
    border: 1px solid #e5f3ee;
    border-radius: 12px;
    box-shadow: 0 22px 60px rgba(15, 23, 42, .08);
    backdrop-filter: blur(16px);
}

.home-v2-dashboard .market-dashboard__top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.home-v2-dashboard .market-dashboard__top span {
    color: var(--fnt-primary);
    font-size: 14px;
    font-weight: 800;
}

.home-v2-dashboard .market-dashboard__top strong {
    color: #111827;
    font-size: 17px;
    font-weight: 700;
}

.home-v2-dashboard .market-dashboard__top a {
    margin-left: auto;
    padding: 6px 12px;
    color: #94a3b8;
    background: #f8fafc;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.home-v2-dashboard .market-dashboard__main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 12px;
    padding: 0;
}

.home-v2-dashboard .market-orbit {
    opacity: .28;
}

.home-v2-dashboard .hero-chart {
    min-width: 0;
    padding: 18px;
    background: linear-gradient(135deg, #f8fffc, #f3fbf8);
    border: 1px solid #edf5f2;
    border-radius: 12px;
}

.home-v2-dashboard .hero-chart__head {
    align-items: center;
}

.home-v2-dashboard .hero-chart__plot {
    height: 150px;
}

.home-v2-dashboard .hero-bars {
    gap: 14px;
}

.home-v2-dashboard .hero-bars span {
    background: rgba(16, 185, 129, .18);
}

.home-v2-dashboard .hero-bars .is-high {
    background: rgba(16, 185, 129, .38);
}

.home-v2-dashboard .hero-chart__chips span {
    color: #64748b;
    background: #fff;
    border-color: #edf5f2;
}

.home-v2-dashboard .market-temperature-card {
    position: static;
    inset: auto;
    width: auto;
    padding: 17px;
    background: #fff;
    border: 1px solid #edf5f2;
    border-radius: 12px;
    box-shadow: none;
}

.home-v2-dashboard .market-temperature-card__head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.home-v2-dashboard .market-temperature-card__head span {
    margin-left: auto;
    color: #94a3b8;
    font-size: 11px;
}

.home-v2-dashboard .market-temperature-card__row {
    grid-template-columns: 68px minmax(0, 1fr) 46px 44px;
    gap: 6px;
    min-height: 29px;
    font-size: 12px;
}

.home-v2-dashboard .market-temperature-card__row strong {
    font-size: 12px;
}

.home-v2-dashboard .market-temperature-card__row svg {
    width: 44px;
}

.home-v2-dashboard .market-temperature-card > a {
    display: inline-flex;
    margin-top: 10px;
    color: var(--fnt-primary);
    font-size: 12px;
    font-weight: 700;
}

.home-v2-dashboard .hero-market-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.home-v2-dashboard .hero-market-grid a {
    padding: 14px 12px;
    background: #f8fbfa;
    border: 1px solid #edf5f2;
    border-radius: 10px;
    box-shadow: none;
}

.home-v2-dashboard .market-dashboard__bottom {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.home-v2-dashboard .market-dashboard__bottom div {
    min-height: 66px;
    padding: 14px 18px;
    background: #f8fbfa;
    border: 1px solid #edf5f2;
    border-radius: 10px;
}

.home-v2-dashboard .market-dashboard__bottom strong {
    font-size: 20px;
}

.home-v2-feature-rail {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 0;
    margin-top: 10px;
    margin-bottom: 22px;
    padding: 14px 20px;
    background: rgba(255, 255, 255, .94);
    border: 1px solid #e5f3ee;
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(15, 23, 42, .045);
}

.home-v2-feature-rail .home-feature-rail__item {
    min-height: 62px;
}

.home-v2-surface {
    padding: 22px 22px 20px;
    background: rgba(255, 255, 255, .96);
    border: 1px solid #e5f3ee;
    border-radius: 10px;
    box-shadow: 0 22px 58px rgba(15, 23, 42, .055);
}

.home-v2-surface .section-block {
    padding: 22px 0 24px;
}

.home-v2-surface .section-block + .section-block {
    border-top: 1px solid #edf5f2;
}

.home-v2-intro {
    max-width: 760px;
    padding: 4px 0 22px;
}

.home-v2-intro h2 {
    color: #111827;
    font-size: 22px;
    font-weight: 700;
}

.home-v2-intro p {
    color: #64748b;
    font-size: 14px;
}

.home-v2-heading {
    margin-bottom: 16px;
}

.home-v2-heading h2 {
    color: #111827;
    font-size: 21px;
    line-height: 1.35;
    font-weight: 700;
}

.home-v2-heading > a,
.home-v2-card-head a {
    color: var(--fnt-primary);
    font-size: 13px;
    font-weight: 700;
}

.home-v2-recommend-grid {
    display: grid;
    grid-template-columns: minmax(310px, 1fr) minmax(250px, .78fr) 330px;
    gap: 14px;
    align-items: stretch;
}

.home-v2-lead-card,
.home-v2-recommend-list,
.home-v2-hot-card,
.home-v2-side-card,
.home-v2-analysis-card,
.home-v2-side-stack .risk-notice {
    background: #fff;
    border: 1px solid #edf5f2;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .035);
}

.home-v2-lead-card {
    position: relative;
    min-height: 250px;
    overflow: hidden;
}

.home-v2-lead-card__image {
    position: absolute;
    inset: 0;
    background: #eafff7;
}

.home-v2-lead-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .78;
}

.home-v2-lead-card__image::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(90deg, rgba(229, 253, 245, .96) 0, rgba(229, 253, 245, .72) 45%, rgba(229, 253, 245, .2) 100%);
}

.home-v2-lead-card__image span {
    position: absolute;
    left: 18px;
    bottom: 20px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    color: var(--fnt-primary);
    background: #fff;
    border-radius: 999px;
    font-size: 22px;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .08);
}

.home-v2-lead-card__content {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 250px;
    max-width: 240px;
    flex-direction: column;
    justify-content: center;
    padding: 28px;
}

.home-v2-lead-card h3 {
    margin: 12px 0 0;
    color: #0f3f46;
    font-size: 26px;
    line-height: 1.34;
    font-weight: 700;
}

.home-v2-recommend-list {
    display: grid;
    align-content: center;
    gap: 14px;
    padding: 20px 18px;
}

.home-v2-text-item h3 {
    display: -webkit-box;
    margin: 7px 0 7px;
    overflow: hidden;
    color: #111827;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 700;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.home-v2-mini-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: #94a3b8;
    font-size: 12px;
}

.home-v2-hot-card {
    padding: 20px;
}

.home-v2-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.home-v2-card-head h3 {
    margin: 0;
    color: #111827;
    font-size: 18px;
    font-weight: 700;
}

.home-v2-hot-list {
    display: grid;
    gap: 14px;
    padding: 0;
    margin: 0;
    list-style: none;
    counter-reset: home-hot;
}

.home-v2-hot-list li {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 10px;
    counter-increment: home-hot;
}

.home-v2-hot-list li::before {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: #0f766e;
    content: counter(home-hot, decimal-leading-zero);
    background: #ecfdf5;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.home-v2-hot-list a {
    display: -webkit-box;
    overflow: hidden;
    color: #111827;
    font-size: 13px;
    line-height: 1.55;
    font-weight: 700;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.home-v2-hot-list span {
    grid-column: 2;
    margin-top: -8px;
    color: #94a3b8;
    font-size: 12px;
}

.home-v2-latest-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.home-v2-latest-grid .post-card {
    overflow: hidden;
    border-color: #edf5f2;
    border-radius: 8px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .045);
}

.home-v2-latest-grid .post-card__content {
    padding: 12px 13px 14px;
}

.home-v2-latest-grid .post-card h3 {
    display: -webkit-box;
    margin: 8px 0 10px;
    overflow: hidden;
    color: #111827;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 700;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.home-v2-latest-grid .entry-meta {
    gap: 7px 9px;
    color: #64748b;
    font-size: 11px;
}

.home-v2-latest-grid .avatar-dot {
    width: 20px;
    height: 20px;
    font-size: 11px;
}

.home-v2-lower-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 430px;
    gap: 16px;
    align-items: start;
}

.home-v2-analysis-card {
    padding: 20px;
}

.home-v2-analysis-list {
    display: grid;
    gap: 0;
}

.home-v2-analysis-list .post-card--list {
    grid-template-columns: 130px minmax(0, 1fr);
    min-height: 104px;
    padding: 12px 0;
    border: 0;
    border-bottom: 1px solid #edf5f2;
    border-radius: 0;
    box-shadow: none;
}

.home-v2-analysis-list .post-card--list:last-child {
    border-bottom: 0;
}

.home-v2-analysis-list .post-card--list .post-card__image {
    height: 84px;
    border-radius: 7px;
}

.home-v2-analysis-list .post-card--list h3 {
    margin: 5px 0 5px;
    font-size: 16px;
    line-height: 1.45;
}

.home-v2-analysis-list .post-card--list p {
    display: -webkit-box;
    margin-bottom: 7px;
    overflow: hidden;
    color: #64748b;
    font-size: 13px;
    line-height: 1.55;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.home-v2-analysis-list .bookmark-link {
    display: none;
}

.home-v2-side-stack {
    display: grid;
    gap: 16px;
}

.home-v2-side-card {
    padding: 18px;
}

.home-v2-topic-mini-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.home-v2-topic-mini {
    overflow: hidden;
    min-height: 84px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
}

.home-v2-topic-mini a {
    display: grid;
    min-height: 84px;
    align-content: center;
    gap: 3px;
    padding: 14px;
    color: #fff;
}

.home-v2-topic-mini strong {
    font-size: 15px;
    line-height: 1.35;
}

.home-v2-topic-mini span {
    color: rgba(255, 255, 255, .86);
    font-size: 12px;
}

.home-v2-side-card .pill-row {
    gap: 8px;
}

.home-v2-side-card .pill {
    min-height: 28px;
    padding: 0 12px;
    color: #64748b;
    background: #f6faf9;
    border-color: #edf5f2;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 600;
}

.home-v2-side-stack .risk-notice {
    position: relative;
    min-height: 154px;
    padding: 20px 118px 20px 20px;
    overflow: hidden;
}

.home-v2-side-stack .risk-notice::after {
    position: absolute;
    right: 28px;
    bottom: 22px;
    display: grid;
    place-items: center;
    width: 70px;
    height: 82px;
    color: rgba(16, 185, 129, .34);
    content: "✓";
    background: rgba(16, 185, 129, .1);
    clip-path: polygon(50% 0, 90% 16%, 82% 72%, 50% 100%, 18% 72%, 10% 16%);
    font-size: 36px;
    font-weight: 800;
}

.home-v2-side-stack .risk-notice h2 {
    color: #111827;
    font-size: 18px;
}

.home-v2-side-stack .risk-notice p {
    color: #64748b;
    font-size: 13px;
    line-height: 1.75;
}

.site-footer {
    padding: 42px 0 24px;
    background: linear-gradient(180deg, #f2fbf8 0, #fbfefd 100%);
    border-top: 1px solid #e5f3ee;
}

.footer-grid {
    grid-template-columns: minmax(240px, 1.25fr) .62fr .62fr .62fr minmax(260px, .95fr);
    gap: 32px;
}

.footer-brand p {
    max-width: 310px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.8;
}

.footer-links h2,
.footer-newsletter-card h2 {
    color: #111827;
    font-size: 16px;
    font-weight: 700;
}

.footer-links a {
    color: #64748b;
    font-size: 13px;
}

.footer-newsletter-card {
    padding: 20px;
    background: rgba(255, 255, 255, .72);
    border: 1px solid #e5f3ee;
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, .035);
}

.footer-newsletter-card p {
    margin: 0 0 14px;
    color: #64748b;
    font-size: 13px;
}

.footer-newsletter-card .newsletter-form {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
}

.footer-newsletter-card .newsletter-form input {
    min-height: 42px;
    padding-inline: 14px;
    border-radius: 8px;
    font-size: 13px;
}

.footer-newsletter-card .btn {
    min-height: 42px;
    padding: 0 16px;
    border-radius: 8px;
    font-size: 13px;
}

@media (max-width: 1180px) {
    .home-v2-hero__grid,
    .home-v2-lower-grid {
        grid-template-columns: 1fr;
    }

    .home-v2-dashboard .market-dashboard {
        max-width: 100%;
    }

    .home-v2-recommend-grid {
        grid-template-columns: minmax(0, 1fr) minmax(260px, .75fr);
    }

    .home-v2-hot-card {
        grid-column: 1 / -1;
    }

    .home-v2-latest-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .site-header__inner {
        grid-template-columns: auto auto auto;
    }

    .header-actions .btn-compact {
        display: none;
    }

    .home-v2-hero {
        padding-top: 38px;
    }

    .home-v2-dashboard .market-dashboard__main,
    .home-v2-recommend-grid {
        grid-template-columns: 1fr;
    }

    .home-v2-feature-rail {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .home-v2-latest-grid,
    .home-v2-topic-mini-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .home-v2-hero__copy h1 {
        font-size: 30px;
    }

    .home-v2-hero__copy p {
        font-size: 15px;
    }

    .home-v2-dashboard .hero-market-grid,
    .home-v2-dashboard .market-dashboard__bottom,
    .home-v2-latest-grid,
    .home-v2-feature-rail,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .home-v2-surface {
        width: min(calc(100% - 28px), var(--fnt-container));
        padding: 16px;
    }

    .home-v2-lead-card__content {
        padding: 22px;
    }

    .home-v2-lead-card h3 {
        font-size: 22px;
    }

    .home-v2-analysis-list .post-card--list {
        grid-template-columns: 96px minmax(0, 1fr);
    }

    .home-v2-analysis-list .post-card--list .post-card__image {
        height: 76px;
    }

    .home-v2-side-stack .risk-notice {
        padding-right: 20px;
    }

    .home-v2-side-stack .risk-notice::after {
        display: none;
    }

    .footer-newsletter-card .newsletter-form {
        grid-template-columns: 1fr;
    }
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: #1f2937;
    background:
        radial-gradient(circle at 88% 0, rgba(167, 243, 208, .46), transparent 32rem),
        radial-gradient(circle at 14% 8%, rgba(209, 250, 229, .48), transparent 28rem),
        linear-gradient(180deg, #fbfffd 0, #fff 44rem);
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.75;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

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

button,
input,
textarea,
select {
    font: inherit;
}

.container {
    width: min(calc(100% - 40px), var(--fnt-container));
    margin-inline: auto;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 18px 0 12px;
    background: rgba(251, 255, 253, .9);
    border-bottom: 1px solid rgba(219, 238, 233, .78);
    backdrop-filter: blur(18px);
}

.site-header__inner {
    min-height: 58px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 184px;
}

.site-brand__mark,
.site-brand__image {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.site-brand__text {
    display: grid;
    line-height: 1.1;
}

.site-brand__text strong {
    font-size: 21px;
    font-weight: 700;
}

.site-brand__text small {
    margin-top: 5px;
    color: var(--fnt-muted);
    font-size: 12px;
}

.primary-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(18px, 3vw, 44px);
    padding: 0;
    margin: 0;
    list-style: none;
}

.primary-menu a {
    position: relative;
    display: inline-flex;
    padding: 12px 0;
    font-size: 15px;
    font-weight: 500;
}

.primary-menu .current-menu-item > a,
.primary-menu a:hover {
    color: var(--fnt-primary);
}

.primary-menu .current-menu-item > a::after,
.primary-menu a:hover::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 4px;
    height: 2px;
    background: var(--fnt-primary);
}

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

.icon-button,
.menu-toggle {
    width: 44px;
    height: 44px;
    border: 1px solid var(--fnt-line);
    border-radius: 999px;
    background: #fff;
    cursor: pointer;
}

.icon-search {
    position: relative;
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid var(--fnt-ink);
    border-radius: 50%;
}

.icon-search::after {
    content: "";
    position: absolute;
    right: -6px;
    bottom: -5px;
    width: 8px;
    height: 2px;
    background: var(--fnt-ink);
    transform: rotate(45deg);
    border-radius: 2px;
}

.menu-toggle {
    display: none;
    place-items: center;
    padding: 11px;
}

.menu-toggle span:not(.screen-reader-text) {
    display: block;
    width: 18px;
    height: 2px;
    margin: 3px auto;
    background: var(--fnt-ink);
    border-radius: 3px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: var(--fnt-radius);
    font-weight: 600;
    cursor: pointer;
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--fnt-primary), #34d399);
    box-shadow: 0 12px 24px rgba(16, 185, 129, .22);
}

.btn-outline {
    color: var(--fnt-primary);
    border-color: rgba(16, 185, 129, .42);
    background: #fff;
}

.btn-large {
    min-height: 54px;
    padding: 0 34px;
    border-radius: 12px;
}

.btn-compact {
    min-height: 42px;
    border-radius: 999px;
}

.btn-small {
    min-height: 36px;
    padding: 0 16px;
    font-size: 13px;
}

.header-search {
    padding: 12px 0 2px;
}

.search-form {
    display: flex;
    gap: 10px;
}

.search-form input,
.newsletter-form input {
    min-width: 0;
    width: 100%;
    min-height: 46px;
    padding: 0 16px;
    border: 1px solid var(--fnt-line);
    border-radius: var(--fnt-radius);
    background: #fff;
    outline: none;
}

.search-form input:focus,
.newsletter-form input:focus {
    border-color: rgba(16, 185, 129, .7);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, .08);
}

.search-form--wide {
    max-width: 760px;
}

.hero-section {
    padding: clamp(54px, 7vw, 96px) 0 36px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, .92fr);
    align-items: center;
    gap: 56px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 12px;
    color: var(--fnt-primary);
    background: rgba(16, 185, 129, .08);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
}

.hero-copy h1 {
    max-width: 690px;
    margin: 18px 0 20px;
    font-size: clamp(42px, 5vw, 74px);
    line-height: 1.12;
    font-weight: 700;
}

.hero-copy p {
    max-width: 620px;
    margin: 0 0 34px;
    color: #4f5963;
    font-size: 19px;
}

.hero-visual {
    position: relative;
    min-height: 420px;
    display: grid;
    place-items: center;
}

.hero-visual img {
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--fnt-shadow);
}

.hero-stat {
    position: absolute;
    display: grid;
    gap: 2px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, .9);
    border: 1px solid var(--fnt-line);
    border-radius: var(--fnt-radius);
    box-shadow: var(--fnt-shadow);
}

.hero-stat strong {
    color: var(--fnt-blue);
}

.hero-stat span {
    color: var(--fnt-muted);
    font-size: 13px;
}

.hero-stat--one {
    left: 18px;
    bottom: 44px;
}

.hero-stat--two {
    right: 8px;
    top: 48px;
}

.home-surface {
    margin-bottom: 34px;
    padding: clamp(24px, 4vw, 42px);
    background: rgba(255, 255, 255, .8);
    border: 1px solid rgba(241, 222, 211, .76);
    border-radius: 18px;
    box-shadow: var(--fnt-shadow);
}

.seo-intro {
    max-width: 920px;
    padding: 4px 0 28px;
}

.seo-intro h2 {
    margin: 8px 0 10px;
    color: var(--text-strong, #3f3b36);
    font-size: 22px;
    line-height: 1.35;
    font-weight: 600;
}

.seo-intro p {
    margin: 0;
    color: var(--text-soft, #817b73);
    font-size: 14px;
    line-height: 1.85;
}

.section-block {
    padding: 18px 0 34px;
}

.section-block + .section-block {
    border-top: 1px solid rgba(241, 222, 211, .62);
}

.section-block--plain {
    border-top: 0;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 16px;
    margin-bottom: 22px;
}

.section-heading h2 {
    margin: 8px 0 0;
    font-size: clamp(24px, 2.4vw, 34px);
    line-height: 1.25;
}

.section-heading a {
    color: var(--fnt-primary);
    font-weight: 600;
    white-space: nowrap;
}

.section-heading--compact {
    align-items: start;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.post-grid--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.post-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    background: var(--fnt-card);
    border: 1px solid var(--fnt-line);
    border-radius: var(--fnt-radius);
    box-shadow: 0 12px 34px rgba(76, 49, 31, .06);
}

.post-card__image {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--fnt-soft-2);
}

.post-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 58%;
    transition: transform .28s ease;
}

.post-card:hover .post-card__image img {
    transform: scale(1.04);
}

.post-card__content {
    padding: 18px 18px 20px;
}

.badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 9px;
    color: var(--fnt-primary);
    background: rgba(16, 185, 129, .1);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.post-card h3 {
    margin: 12px 0 14px;
    font-size: 19px;
    line-height: 1.48;
}

.post-card p {
    margin: -4px 0 14px;
    color: var(--fnt-muted);
}

.entry-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    color: var(--fnt-muted);
    font-size: 13px;
}

.entry-author {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--fnt-ink);
    font-weight: 500;
}

.avatar-dot {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    color: #fff;
    background: var(--fnt-blue);
    border-radius: 50%;
    font-size: 13px;
}

.post-list {
    display: grid;
    gap: 18px;
}

.post-card--list {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr) 48px;
    align-items: center;
    gap: 22px;
    min-height: 174px;
    padding: 14px;
}

.post-card--list .post-card__image {
    height: 154px;
    aspect-ratio: auto;
    border-radius: var(--fnt-radius);
}

.post-card--list .post-card__content {
    padding: 0;
}

.post-card--list h3 {
    margin: 10px 0 8px;
    font-size: clamp(22px, 2vw, 28px);
}

.bookmark-link {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    color: var(--fnt-muted);
    border: 1px solid var(--fnt-line);
    border-radius: 999px;
}

.quick-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr);
    gap: 24px;
}

.quick-card,
.side-card,
.newsletter-card,
.risk-notice,
.topic-intro,
.faq-section,
.disclaimer-box,
.not-found-card,
.page-content {
    background: rgba(255, 255, 255, .88);
    border: 1px solid var(--fnt-line);
    border-radius: var(--fnt-radius-lg);
    box-shadow: 0 12px 34px rgba(76, 49, 31, .05);
}

.quick-card {
    padding: 24px;
}

.news-list {
    display: grid;
    gap: 14px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.news-list li {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 0;
    border-bottom: 1px dashed var(--fnt-line);
}

.news-list a {
    font-weight: 500;
}

.news-list span {
    color: var(--fnt-muted);
    white-space: nowrap;
}

.live-room-card {
    min-height: 260px;
    background:
        linear-gradient(135deg, rgba(16, 185, 129, .12), rgba(255, 255, 255, .92)),
        url("../images/thumb-live.png") right bottom / 54% auto no-repeat;
}

.live-room-card h2 {
    max-width: 420px;
    margin: 14px 0 10px;
    font-size: 30px;
    line-height: 1.25;
}

.live-room-card p {
    max-width: 490px;
    color: var(--fnt-muted);
}

.market-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.market-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--fnt-line);
    border-radius: var(--fnt-radius);
}

.market-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.market-card div {
    padding: 16px;
}

.market-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.market-card p {
    min-height: 70px;
    margin: 0 0 12px;
    color: var(--fnt-muted);
    font-size: 14px;
}

.market-card a {
    color: var(--fnt-primary);
    font-weight: 600;
}

.topic-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.topic-card {
    min-height: 210px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    border-radius: var(--fnt-radius);
}

.topic-card a {
    display: grid;
    min-height: 210px;
    padding: 24px;
    color: #fff;
}

.topic-card span {
    align-self: start;
    font-size: 13px;
    font-weight: 600;
}

.topic-card h3 {
    align-self: center;
    margin: 12px 0;
    font-size: 25px;
}

.topic-card p {
    max-width: 440px;
    margin: 0;
    color: rgba(255, 255, 255, .86);
}

.topic-card strong {
    justify-self: end;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 999px;
}

.content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    align-items: start;
    gap: 26px;
}

.content-primary {
    min-width: 0;
}

.content-sidebar {
    display: grid;
    gap: 18px;
    min-width: 0;
}

.side-card {
    padding: 22px;
}

.side-card h2,
.newsletter-card h2,
.risk-notice h2 {
    margin: 0 0 14px;
    font-size: 21px;
}

.rank-list {
    display: grid;
    gap: 14px;
}

.latest-list {
    display: grid;
    gap: 14px;
}

.rank-item {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
}

.rank-item > span {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    color: #fff;
    background: var(--fnt-primary);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.rank-item:nth-child(n+4) > span {
    color: var(--fnt-muted);
    background: #f2f2f2;
}

.post-compact {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 12px;
}

.post-compact__image {
    overflow: hidden;
    aspect-ratio: 1.18;
    border-radius: var(--fnt-radius);
}

.post-compact__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-compact h3 {
    margin: 0 0 4px;
    font-size: 14px;
    line-height: 1.45;
}

.post-compact span {
    color: var(--fnt-muted);
    font-size: 12px;
}

.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pill {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 16px;
    color: #555c65;
    background: #fff4ee;
    border: 1px solid rgba(241, 222, 211, .65);
    border-radius: var(--fnt-radius);
    font-weight: 700;
}

.newsletter-card {
    position: relative;
    overflow: hidden;
    padding: 24px;
    background: linear-gradient(135deg, #fff, #fff0e7);
}

.newsletter-card img {
    width: 112px;
    margin-left: auto;
    margin-bottom: -12px;
    opacity: .8;
}

.newsletter-form {
    display: grid;
    gap: 10px;
    position: relative;
}

.risk-notice {
    padding: 22px;
}

.risk-notice p {
    margin: 0;
    color: var(--fnt-muted);
}

.page-hero {
    padding: 46px 0 34px;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .84), rgba(255, 255, 255, .42)),
        radial-gradient(circle at right 20%, rgba(255, 214, 190, .44), transparent 26rem);
    border-bottom: 1px solid rgba(241, 222, 211, .72);
}

.page-hero--articles {
    min-height: 280px;
    display: grid;
    align-items: center;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .96) 0, rgba(255, 255, 255, .74) 56%, rgba(255, 255, 255, .22) 100%),
        url("../images/thumb-knowledge.png") right center / 48% auto no-repeat;
}

.page-hero h1 {
    margin: 12px 0 8px;
    font-size: clamp(36px, 4vw, 56px);
    line-height: 1.2;
}

.page-hero p {
    max-width: 680px;
    margin: 0 0 24px;
    color: var(--fnt-muted);
    font-size: 18px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 28px;
    color: var(--fnt-muted);
    font-size: 14px;
}

.breadcrumb a:hover {
    color: var(--fnt-primary);
}

.archive-content,
.category-layout {
    padding: 34px 0 58px;
}

.category-layout {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr) 320px;
    align-items: start;
    gap: 26px;
}

.category-filter {
    position: sticky;
    top: 100px;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--fnt-line);
    border-radius: var(--fnt-radius-lg);
    box-shadow: 0 12px 34px rgba(76, 49, 31, .05);
}

.filter-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--fnt-line);
}

.filter-tabs span {
    padding: 10px 0;
    text-align: center;
    color: var(--fnt-muted);
    font-weight: 600;
}

.filter-tabs .is-active {
    color: var(--fnt-primary);
    border-bottom: 2px solid var(--fnt-primary);
}

.category-filter ul {
    display: grid;
    gap: 4px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.category-filter a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 44px;
    padding: 0 12px;
    border-radius: var(--fnt-radius);
    color: var(--fnt-muted);
    font-weight: 500;
}

.category-filter .is-active a,
.category-filter a:hover {
    color: var(--fnt-primary);
    background: #fff2ea;
}

.category-filter em {
    font-style: normal;
}

.archive-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.archive-toolbar h2 {
    margin: 0;
    font-size: 24px;
}

.archive-toolbar span {
    padding: 8px 14px;
    border: 1px solid var(--fnt-line);
    border-radius: var(--fnt-radius);
    color: var(--fnt-muted);
    background: #fff;
}

.hero-tags {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.hero-tags strong {
    white-space: nowrap;
}

.fnt-pagination {
    margin-top: 26px;
}

.fnt-pagination ul {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.fnt-pagination a,
.fnt-pagination span {
    display: grid;
    place-items: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border: 1px solid var(--fnt-line);
    border-radius: 999px;
    background: #fff;
}

.fnt-pagination .current {
    color: #fff;
    border-color: var(--fnt-primary);
    background: var(--fnt-primary);
}

.single-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 42px;
    align-items: start;
    padding: 42px 0 64px;
}

.single-main {
    min-width: 0;
}

.single-header {
    margin-bottom: 26px;
}

.single-header h1 {
    max-width: 900px;
    margin: 14px 0 18px;
    font-size: clamp(36px, 4.8vw, 62px);
    line-height: 1.22;
}

.single-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
}

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

.article-actions button {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--fnt-line);
    border-radius: 999px;
    background: #fff;
    cursor: pointer;
}

.single-cover {
    margin: 0 0 28px;
    overflow: hidden;
    border-radius: var(--fnt-radius-lg);
}

.single-cover img {
    width: 100%;
    aspect-ratio: 16 / 8.2;
    object-fit: cover;
}

.core-view {
    margin-bottom: 28px;
    padding: 22px 26px;
    background: linear-gradient(135deg, rgba(16, 185, 129, .1), rgba(255, 255, 255, .92));
    border-left: 3px solid var(--fnt-primary);
    border-radius: var(--fnt-radius);
}

.core-view p {
    margin: 4px 0 0;
}

.entry-content {
    color: #343a40;
    font-size: 17px;
}

.entry-content h2 {
    margin: 34px 0 14px;
    color: var(--fnt-ink);
    font-size: 28px;
    line-height: 1.35;
}

.entry-content h3 {
    margin: 24px 0 10px;
    color: var(--fnt-ink);
    font-size: 22px;
}

.entry-content p {
    margin: 0 0 18px;
}

.entry-content ul,
.entry-content ol {
    padding-left: 1.3em;
}

.disclaimer-box {
    margin-top: 34px;
    padding: 24px;
}

.disclaimer-box h2 {
    margin: 0 0 10px;
}

.disclaimer-box p {
    margin: 0;
    color: var(--fnt-muted);
}

.post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin: 28px 0 36px;
}

.post-nav a {
    display: grid;
    gap: 5px;
    min-height: 86px;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--fnt-line);
    border-radius: var(--fnt-radius);
}

.post-nav span {
    color: var(--fnt-muted);
    font-size: 13px;
}

.side-toc {
    position: sticky;
    top: 100px;
}

.side-toc ol,
.question-list {
    display: grid;
    gap: 10px;
    padding-left: 18px;
    margin: 0;
}

.side-toc a {
    color: var(--fnt-muted);
}

.side-toc a:hover {
    color: var(--fnt-primary);
}

.related-section {
    margin-top: 24px;
}

.page-content-wrap {
    padding: 42px 0 62px;
}

.page-content {
    padding: clamp(24px, 5vw, 52px);
}

.page-title h1 {
    margin: 12px 0 24px;
    font-size: clamp(34px, 4vw, 54px);
}

.topic-list {
    display: grid;
    gap: 18px;
}

.topic-list-card {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--fnt-line);
    border-radius: var(--fnt-radius);
}

.topic-list-card img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    border-radius: var(--fnt-radius);
}

.topic-list-card h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 10px;
    font-size: 27px;
}

.topic-list-card h2 span {
    display: inline-flex;
    min-height: 26px;
    padding: 0 10px;
    color: var(--fnt-primary);
    background: rgba(16, 185, 129, .1);
    border-radius: 999px;
    font-size: 13px;
}

.topic-list-card p {
    margin: 0 0 14px;
    color: var(--fnt-muted);
}

.category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin-top: 26px;
}

.category-tabs a {
    position: relative;
    padding-bottom: 10px;
    font-weight: 500;
}

.category-tabs .is-active,
.category-tabs a:hover {
    color: var(--fnt-primary);
}

.category-tabs .is-active::after,
.category-tabs a:hover::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--fnt-primary);
}

.topic-hero {
    min-height: 430px;
    display: grid;
    align-items: center;
    color: #fff;
    background-size: cover;
    background-position: center;
}

.topic-hero .breadcrumb,
.topic-hero .breadcrumb a,
.topic-hero p {
    color: rgba(255, 255, 255, .86);
}

.topic-hero h1 {
    max-width: 780px;
    margin: 16px 0 14px;
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.12;
}

.topic-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.topic-stats span {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .32);
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
}

.topic-page-layout {
    padding: 38px 0 64px;
}

.topic-intro,
.faq-section {
    padding: 26px;
    margin-bottom: 24px;
}

.topic-intro h2,
.faq-section h2 {
    margin: 0 0 12px;
}

.faq-section details {
    padding: 16px 0;
    border-top: 1px solid var(--fnt-line);
}

.faq-section summary {
    color: var(--fnt-ink);
    font-weight: 600;
    cursor: pointer;
}

.faq-section p {
    margin: 10px 0 0;
    color: var(--fnt-muted);
}

.not-found-wrap {
    min-height: 64vh;
    display: grid;
    place-items: center;
    padding: 64px 0;
}

.not-found-card {
    max-width: 760px;
    padding: clamp(28px, 6vw, 58px);
    text-align: center;
}

.not-found-card h1 {
    margin: 12px 0 12px;
    font-size: clamp(38px, 5vw, 68px);
}

.not-found-card p {
    margin: 0 auto 26px;
    max-width: 620px;
    color: var(--fnt-muted);
}

.not-found-card .search-form {
    margin: 0 auto 18px;
}

.empty-state {
    padding: 26px;
    color: var(--fnt-muted);
    background: #fff;
    border: 1px dashed var(--fnt-line);
    border-radius: var(--fnt-radius);
}

.site-footer {
    padding: 42px 0 28px;
    background: #fffaf6;
    border-top: 1px solid var(--fnt-line);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(240px, 1.2fr) .7fr .7fr minmax(280px, 1fr);
    gap: 34px;
    align-items: start;
}

.footer-brand p {
    color: var(--fnt-muted);
}

.social-row {
    display: flex;
    gap: 10px;
    margin: 18px 0;
}

.social-row span {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    background: #fff;
    border: 1px solid var(--fnt-line);
    border-radius: 999px;
    font-size: 12px;
}

.footer-links h2,
.footer-newsletter h2 {
    margin: 0 0 14px;
    font-size: 17px;
}

.footer-links ul,
.footer-menu {
    display: grid;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-links a,
.footer-menu a {
    color: var(--fnt-muted);
}

.footer-links a:hover,
.footer-menu a:hover {
    color: var(--fnt-primary);
}

.footer-newsletter {
    padding: 22px;
}

.footer-contact-list {
    min-width: 0;
}

.footer-newsletter img {
    display: none;
}

.footer-contact,
.copyright,
.icp {
    font-size: 13px;
}

.footer-contact {
    margin: 16px 0 0;
    color: var(--fnt-muted);
    line-height: 1.65;
}

@media (max-width: 1180px) {
    .hero-grid,
    .single-layout,
    .content-layout,
    .category-layout {
        grid-template-columns: 1fr;
    }

    .content-sidebar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .side-toc,
    .category-filter {
        position: static;
    }

    .market-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .post-grid--four {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .site-header__inner {
        grid-template-columns: auto auto auto;
        justify-content: space-between;
    }

    .menu-toggle {
        display: block;
    }

    .site-nav {
        position: absolute;
        left: 20px;
        right: 20px;
        top: calc(100% + 8px);
        display: none;
        padding: 16px;
        background: #fff;
        border: 1px solid var(--fnt-line);
        border-radius: var(--fnt-radius-lg);
        box-shadow: var(--fnt-shadow);
    }

    .site-nav.is-open {
        display: block;
    }

    .primary-menu {
        display: grid;
        justify-content: stretch;
        gap: 4px;
    }

    .primary-menu a {
        padding: 12px;
        border-radius: var(--fnt-radius);
    }

    .primary-menu a:hover {
        background: #fff3ec;
    }

    .primary-menu a::after {
        display: none;
    }

    .hero-grid {
        gap: 24px;
    }

    .hero-visual {
        min-height: auto;
    }

    .quick-grid,
    .topic-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .post-card--list,
    .topic-list-card {
        grid-template-columns: 1fr;
    }

    .post-card--list .post-card__image,
    .topic-list-card img {
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .bookmark-link {
        display: none;
    }

    .market-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .container {
        width: min(calc(100% - 28px), var(--fnt-container));
    }

    .site-header {
        padding-top: 10px;
    }

    .site-header__inner {
        gap: 8px;
    }

    .site-brand {
        min-width: 0;
        gap: 8px;
    }

    .site-brand__mark,
    .site-brand__image {
        width: 36px;
        height: 36px;
    }

    .site-brand__text strong {
        max-width: 128px;
        font-size: 16px;
        line-height: 1.16;
    }

    .site-brand__text small {
        display: none;
    }

    .header-actions {
        gap: 8px;
    }

    .btn-compact {
        min-width: 58px;
        padding: 0 12px;
        overflow: hidden;
        font-size: 0;
        color: #fff;
    }

    .btn-compact::after {
        content: "\8BA2\9605";
        font-size: 13px;
        line-height: 1;
    }

    .hero-section {
        padding-top: 34px;
    }

    .hero-copy h1 {
        font-size: 40px;
    }

    .hero-copy p {
        font-size: 16px;
    }

    .hero-stat {
        display: none;
    }

    .home-surface {
        width: calc(100% - 20px);
        padding: 18px;
        border-radius: 14px;
    }

    .section-heading {
        align-items: start;
        flex-direction: column;
    }

    .post-grid,
    .post-grid--four,
    .market-grid,
    .content-sidebar {
        grid-template-columns: 1fr;
    }

    .single-meta-row,
    .news-list li,
    .archive-toolbar {
        align-items: start;
        flex-direction: column;
    }

    .single-cover img {
        aspect-ratio: 4 / 3;
        object-fit: contain;
        background: #e8f8f1;
    }

    .post-nav {
        grid-template-columns: 1fr;
    }

    .search-form {
        flex-direction: column;
    }

    .topic-hero {
        min-height: 380px;
    }

    .topic-list-card h2 {
        align-items: start;
        flex-direction: column;
    }
}

/* Rich homepage market dashboard */
.hero-visual--dashboard {
    min-height: 380px;
}

.market-dashboard {
    position: relative;
    width: 100%;
    max-width: 640px;
    min-height: 380px;
    padding: 18px;
    overflow: hidden;
    background:
        radial-gradient(circle at 78% 18%, rgba(255, 255, 255, .94), transparent 12rem),
        linear-gradient(135deg, #fff4ed 0%, #ffd9c9 100%);
    border: 1px solid rgba(255, 116, 68, .16);
    border-radius: 24px;
    box-shadow: 0 28px 80px rgba(76, 49, 31, .1);
}

.market-dashboard::before {
    position: absolute;
    inset: 0;
    content: "";
    background-image:
        linear-gradient(rgba(255, 255, 255, .36) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .34) 1px, transparent 1px);
    background-size: 74px 64px;
    opacity: .78;
    pointer-events: none;
}

.market-dashboard::after {
    position: absolute;
    right: -70px;
    bottom: -90px;
    width: 260px;
    height: 260px;
    content: "";
    border: 1px solid rgba(16, 185, 129, .13);
    border-radius: 50%;
    box-shadow: inset 0 0 0 42px rgba(255, 255, 255, .16);
}

.market-dashboard__top,
.market-dashboard__main,
.market-dashboard__bottom {
    position: relative;
    z-index: 1;
}

.market-dashboard__top {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    margin-bottom: 14px;
}

.market-dashboard__top span {
    color: var(--fnt-primary);
    font-size: 12px;
    font-weight: 600;
}

.market-dashboard__top strong {
    color: #1f2937;
    font-size: 17px;
    font-weight: 700;
}

.market-dashboard__top em {
    margin-left: auto;
    padding: 7px 10px;
    color: #7c4a3a;
    background: rgba(255, 255, 255, .74);
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 999px;
    font-size: 12px;
    font-style: normal;
}

.market-dashboard__main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px;
    gap: 14px;
    align-items: stretch;
}

.market-orbit {
    position: absolute;
    top: 64px;
    right: 122px;
    width: 180px;
    height: 180px;
    border: 1px solid rgba(255, 255, 255, .62);
    border-radius: 50%;
    opacity: .92;
}

.market-orbit::before,
.market-orbit::after {
    position: absolute;
    content: "";
    border: 1px solid rgba(255, 255, 255, .56);
    border-radius: 50%;
}

.market-orbit::before {
    inset: 32px -10px;
}

.market-orbit::after {
    inset: -10px 42px;
}

.market-orbit span {
    position: absolute;
    width: 9px;
    height: 9px;
    background: var(--fnt-primary);
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(16, 185, 129, .12);
}

.market-orbit span:nth-child(1) { top: 16px; left: 86px; }
.market-orbit span:nth-child(2) { top: 72px; right: 8px; }
.market-orbit span:nth-child(3) { right: 42px; bottom: 18px; }
.market-orbit span:nth-child(4) { bottom: 38px; left: 28px; }
.market-orbit span:nth-child(5) { top: 58px; left: 20px; }

.hero-chart {
    min-height: 244px;
    padding: 18px;
    background: rgba(255, 255, 255, .58);
    border: 1px solid rgba(255, 255, 255, .78);
    border-radius: 18px;
    backdrop-filter: blur(12px);
}

.hero-chart__head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 24px;
}

.hero-chart__head span {
    color: #8b5a44;
    font-size: 12px;
    font-weight: 500;
}

.hero-chart__head strong {
    color: #1f2937;
    font-size: 14px;
    font-weight: 700;
}

.hero-chart__plot {
    position: relative;
    height: 142px;
    overflow: hidden;
}

.hero-chart__plot svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-chart__plot polyline {
    fill: none;
    stroke: var(--fnt-primary);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 4;
}

.hero-bars {
    position: absolute;
    right: 12px;
    bottom: 8px;
    left: 12px;
    display: flex;
    align-items: end;
    gap: 12px;
    height: 102px;
}

.hero-chart__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.hero-chart__chips span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    color: #7c4a3a;
    background: rgba(255, 255, 255, .68);
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
}

.hero-bars span {
    width: 24px;
    height: 46px;
    background: rgba(255, 112, 68, .26);
    border-radius: 5px 5px 0 0;
}

.hero-bars span:nth-child(2) { height: 72px; }
.hero-bars span:nth-child(4) { height: 86px; }
.hero-bars span:nth-child(6) { height: 102px; }
.hero-bars .is-low { height: 28px; }
.hero-bars .is-mid { height: 58px; }
.hero-bars .is-high { background: rgba(16, 185, 129, .34); }

.hero-market-grid {
    display: grid;
    gap: 10px;
}

.hero-market-grid a {
    display: grid;
    gap: 3px;
    padding: 12px 13px;
    color: inherit;
    background: rgba(255, 255, 255, .78);
    border: 1px solid rgba(255, 255, 255, .86);
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(76, 49, 31, .06);
}

.hero-market-grid a:hover {
    transform: translateY(-1px);
    border-color: rgba(16, 185, 129, .28);
}

.hero-market-grid span {
    color: var(--fnt-primary);
    font-size: 12px;
    font-weight: 600;
}

.hero-market-grid strong {
    color: #1f2937;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 700;
}

.hero-market-grid em {
    color: #7c8490;
    font-size: 12px;
    font-style: normal;
}

.market-dashboard__bottom {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 14px;
}

.market-dashboard__bottom div {
    padding: 11px 12px;
    background: rgba(255, 255, 255, .6);
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 14px;
}

.market-dashboard__bottom strong {
    display: block;
    color: #1f2937;
    font-size: 16px;
    line-height: 1.2;
}

.market-dashboard__bottom span {
    color: #7c8490;
    font-size: 12px;
}

@media (max-width: 1180px) {
    .market-dashboard {
        max-width: none;
    }
}

@media (max-width: 640px) {
    .hero-visual--dashboard {
        min-height: auto;
    }

    .market-dashboard {
        min-height: auto;
        padding: 14px;
        border-radius: 18px;
    }

    .market-dashboard__main {
        grid-template-columns: 1fr;
    }

    .market-orbit {
        right: 24px;
        opacity: .45;
    }

    .hero-market-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .market-dashboard__bottom {
        grid-template-columns: 1fr;
    }
}

/* Inline article table of contents */
.article-toc--inline {
    margin: 22px 0 28px;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid #edf0f3;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(31, 41, 55, .04);
}

.article-toc--inline strong {
    display: block;
    margin-bottom: 10px;
    color: #1f2937;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 600;
}

.article-toc--inline ol {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 18px;
    padding: 0;
    margin: 0;
    list-style: none;
    counter-reset: article-toc;
}

.article-toc--inline li {
    min-width: 0;
    counter-increment: article-toc;
}

.article-toc--inline a {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.6;
}

.article-toc--inline a::before {
    min-width: 18px;
    content: counter(article-toc, decimal-leading-zero);
    color: var(--fnt-primary);
    font-size: 12px;
    font-weight: 600;
}

.article-toc--inline a:hover {
    color: var(--fnt-primary);
}

.side-toc {
    display: none;
}

@media (max-width: 640px) {
    .article-toc--inline {
        margin: 18px 0 22px;
        padding: 14px;
    }

    .article-toc--inline ol {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .article-toc--inline a {
        font-size: 13px;
        line-height: 1.55;
    }
}

/* Homepage hero spacing alignment */
.hero-section {
    padding: clamp(30px, 3.4vw, 48px) 0 30px;
}

.hero-grid {
    gap: clamp(36px, 5vw, 72px);
}

.hero-visual {
    min-height: 340px;
}

.hero-copy h1 {
    margin-top: 14px;
}

.hero-copy p {
    margin-bottom: 28px;
}

@media (max-width: 900px) {
    .hero-section {
        padding: 28px 0 24px;
    }

    .hero-visual {
        min-height: auto;
    }
}

@media (max-width: 640px) {
    .hero-section {
        padding-top: 22px;
    }
}

/* Typography system refinement */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: #111827;
    font-family: var(--font-main);
    letter-spacing: 0;
    text-wrap: pretty;
}

h1,
.hero-copy h1,
.single-header h1,
.page-hero h1,
.page-title h1,
.topic-hero h1,
.not-found-card h1 {
    font-size: clamp(32px, 3.2vw, 42px);
    line-height: 1.22;
    font-weight: 700;
}

h2,
.section-heading h2,
.live-room-card h2,
.side-card h2,
.newsletter-card h2,
.risk-notice h2,
.archive-toolbar h2,
.disclaimer-box h2,
.topic-intro h2,
.faq-section h2,
.footer-links h2,
.footer-newsletter h2 {
    font-size: clamp(26px, 2.2vw, 32px);
    line-height: 1.32;
    font-weight: 700;
}

h3,
.post-card h3,
.market-card h3,
.topic-card h3,
.post-compact h3,
.topic-list-card h2 {
    font-size: clamp(20px, 1.6vw, 24px);
    line-height: 1.45;
    font-weight: 600;
}

p,
li {
    font-weight: 400;
}

.site-brand__text strong {
    color: #111827;
    font-weight: 700;
}

.site-brand__text small,
.entry-meta,
.breadcrumb,
.post-compact span,
.post-nav span,
.footer-contact,
.copyright,
.icp,
.hero-stat span,
.archive-toolbar span {
    color: #6b7280;
    font-size: 13px;
    font-weight: 400;
}

.primary-menu a,
.category-tabs a,
.category-filter a,
.section-heading a,
.market-card a,
.news-list a,
.footer-links a,
.footer-menu a {
    font-weight: 500;
}

.primary-menu a {
    font-size: 15px;
}

.btn,
.badge,
.eyebrow,
.pill,
.topic-card span,
.rank-item > span,
.filter-tabs span {
    font-weight: 600;
}

.btn {
    font-size: 15px;
    letter-spacing: 0;
}

.btn-small,
.btn-compact,
.badge,
.eyebrow,
.topic-card span,
.entry-meta {
    font-size: 13px;
}

.pill,
.category-filter a {
    font-size: 14px;
}

.hero-copy p,
.page-hero p,
.topic-hero p {
    color: #4b5563;
    font-size: 17px;
    line-height: 1.78;
    font-weight: 400;
}

.post-card h3 {
    font-size: 17px;
    line-height: 1.52;
    font-weight: 600;
}

.post-card--list h3 {
    font-size: clamp(20px, 1.8vw, 24px);
    line-height: 1.42;
    font-weight: 600;
}

.post-card p,
.market-card p,
.topic-list-card p,
.live-room-card p,
.newsletter-card p,
.risk-notice p,
.disclaimer-box p,
.faq-section p,
.topic-intro p,
.footer-brand p,
.not-found-card p,
.empty-state {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.75;
    font-weight: 400;
}

.entry-author {
    color: #1f2937;
    font-weight: 500;
}

.avatar-dot {
    font-weight: 600;
}

.single-header h1 {
    max-width: 900px;
}

.entry-content {
    color: #374151;
    font-size: 17px;
    line-height: 1.8;
    font-weight: 400;
}

.entry-content h2 {
    margin: 38px 0 16px;
    color: #111827;
    font-size: clamp(26px, 2.1vw, 32px);
    line-height: 1.36;
    font-weight: 700;
}

.entry-content h3 {
    margin: 28px 0 12px;
    color: #111827;
    font-size: clamp(20px, 1.6vw, 24px);
    line-height: 1.45;
    font-weight: 600;
}

.entry-content p {
    margin: 0 0 20px;
    font-size: 17px;
    line-height: 1.8;
}

.entry-content ul,
.entry-content ol {
    margin: 0 0 22px;
    padding-left: 1.35em;
}

.entry-content li {
    margin: 0 0 10px;
    line-height: 1.8;
}

.entry-content blockquote {
    margin: 28px 0;
    padding: 18px 22px;
    color: #4b5563;
    background: #f0fdfa;
    border-left: 3px solid var(--fnt-primary);
    border-radius: var(--fnt-radius);
}

.core-view,
.disclaimer-box,
.faq-section,
.risk-notice {
    font-size: 15px;
    line-height: 1.78;
}

.core-view strong,
.faq-section summary {
    color: #111827;
    font-weight: 600;
}

.core-view p {
    color: #374151;
    font-size: 16px;
    line-height: 1.78;
}

.side-card h2 {
    font-size: 20px;
}

.post-compact h3 {
    font-size: 14px;
    line-height: 1.5;
    font-weight: 600;
}

.topic-card h3 {
    color: #fff;
    font-weight: 600;
}

.topic-stats span {
    font-size: 14px;
    font-weight: 500;
}

@media (max-width: 640px) {
    body {
        font-size: 15px;
        line-height: 1.72;
    }

    h1,
    .hero-copy h1,
    .single-header h1,
    .page-hero h1,
    .page-title h1,
    .topic-hero h1,
    .not-found-card h1 {
        font-size: 30px;
        line-height: 1.24;
        font-weight: 700;
    }

    h2,
    .section-heading h2,
    .live-room-card h2,
    .side-card h2,
    .newsletter-card h2,
    .risk-notice h2,
    .archive-toolbar h2,
    .disclaimer-box h2,
    .topic-intro h2,
    .faq-section h2 {
        font-size: 24px;
        line-height: 1.34;
    }

    h3,
    .post-card h3,
    .market-card h3,
    .topic-card h3,
    .topic-list-card h2 {
        font-size: 16px;
        line-height: 1.48;
    }

    .hero-copy p,
    .page-hero p,
    .topic-hero p,
    .entry-content,
    .entry-content p {
        font-size: 16px;
        line-height: 1.78;
    }

    .post-card h3,
    .post-card--list h3 {
        font-size: 16px;
        line-height: 1.5;
        font-weight: 600;
    }

    .post-card p,
    .market-card p,
    .topic-list-card p,
    .live-room-card p,
    .newsletter-card p,
    .risk-notice p,
    .disclaimer-box p,
    .faq-section p,
    .topic-intro p {
        font-size: 14px;
    }

    .entry-meta,
    .breadcrumb,
    .badge,
    .eyebrow {
        font-size: 12px;
    }

    .btn {
        font-size: 14px;
    }

    .btn-compact {
        font-size: 0;
    }

    .btn-compact::after {
        content: "\8BA2\9605";
        font-size: 13px;
        line-height: 1;
    }
}

/* CC Switch inspired typography tuning */
:root {
    --text-strong: #3f3b36;
    --text-main: #5f5a54;
    --text-soft: #817b73;
    --text-faint: #aaa39b;
}

body {
    color: var(--text-main);
    font-size: 16px;
    line-height: 1.72;
    font-weight: 400;
}

.site-brand__text strong {
    color: var(--text-strong);
    font-size: 20px;
    line-height: 1.18;
    font-weight: 700;
}

.site-brand__text small {
    color: var(--text-soft);
    font-size: 12px;
    line-height: 1.35;
    font-weight: 400;
}

.primary-menu a,
.footer-menu a,
.footer-links a,
.category-tabs a {
    color: #3f4650;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 400;
}

.primary-menu .current-menu-item > a,
.primary-menu a:hover,
.category-tabs .is-active,
.category-tabs a:hover {
    color: var(--fnt-primary);
    font-weight: 500;
}

.hero-copy h1,
.single-header h1,
.page-hero h1,
.page-title h1,
.topic-hero h1,
.not-found-card h1 {
    color: var(--text-strong);
    font-size: clamp(34px, 3.45vw, 48px);
    line-height: 1.16;
    font-weight: 600;
}

.hero-copy p,
.page-hero p,
.topic-hero p {
    color: #626b76;
    font-size: 17px;
    line-height: 1.78;
    font-weight: 400;
}

.section-heading h2,
.live-room-card h2,
.archive-toolbar h2,
.topic-list-card h2,
.topic-intro h2,
.faq-section h2,
.disclaimer-box h2,
.risk-notice h2,
.newsletter-card h2,
.not-found-card h2 {
    color: var(--text-strong);
    font-size: clamp(25px, 2vw, 30px);
    line-height: 1.32;
    font-weight: 600;
}

.side-card h2,
.footer-links h2,
.footer-newsletter h2 {
    color: var(--text-strong);
    font-size: 18px;
    line-height: 1.4;
    font-weight: 600;
}

.post-card h3,
.market-card h3,
.post-compact h3 {
    color: #1f2937;
    font-size: 16px;
    line-height: 1.55;
    font-weight: 600;
}

.post-card--list h3,
.topic-card h3 {
    font-size: clamp(19px, 1.65vw, 23px);
    line-height: 1.42;
    font-weight: 600;
}

.post-card p,
.market-card p,
.topic-list-card p,
.live-room-card p,
.newsletter-card p,
.risk-notice p,
.disclaimer-box p,
.faq-section p,
.topic-intro p,
.footer-brand p,
.not-found-card p,
.empty-state {
    color: var(--text-soft);
    font-size: 14px;
    line-height: 1.76;
    font-weight: 400;
}

.entry-content {
    color: #414b57;
    font-size: 16px;
    line-height: 1.85;
    font-weight: 400;
}

.entry-content p {
    margin-bottom: 21px;
    font-size: 16px;
    line-height: 1.85;
}

.entry-content .article-summary-box {
    margin: 22px 0 28px;
    padding: 18px 20px;
    background: #f0fdfa;
    border: 1px solid var(--fnt-line);
    border-radius: var(--fnt-radius);
}

.entry-content .article-summary-box p {
    margin: 0;
    color: #4b5563;
    font-size: 15px;
}

.entry-content figure {
    margin: 26px 0;
}

.entry-content figure img {
    width: 100%;
    height: auto;
    border-radius: var(--fnt-radius);
    border: 1px solid var(--fnt-line);
}

.entry-content figcaption {
    margin-top: 9px;
    color: var(--text-faint, #aaa39b);
    font-size: 13px;
    line-height: 1.6;
    text-align: left;
}

.entry-content h2 {
    color: var(--text-strong);
    font-size: clamp(25px, 2vw, 30px);
    line-height: 1.36;
    font-weight: 600;
}

.entry-content h3 {
    color: var(--text-strong);
    font-size: clamp(20px, 1.55vw, 23px);
    line-height: 1.45;
    font-weight: 600;
}

.entry-content li,
.faq-section summary,
.question-list li {
    font-size: 15px;
    line-height: 1.8;
}

.entry-meta,
.breadcrumb,
.post-compact span,
.post-nav span,
.footer-contact,
.copyright,
.icp,
.archive-toolbar span,
.hero-stat span {
    color: var(--text-faint);
    font-size: 13px;
    line-height: 1.45;
    font-weight: 400;
}

.entry-author {
    color: #374151;
    font-weight: 500;
}

.btn {
    font-size: 15px;
    line-height: 1;
    font-weight: 600;
}

.btn-small,
.btn-compact {
    font-size: 14px;
}

.eyebrow,
.badge,
.topic-card span,
.pill,
.filter-tabs span,
.category-filter a {
    font-size: 13px;
    line-height: 1.35;
    font-weight: 500;
}

.pill,
.category-filter a {
    font-size: 14px;
}

.core-view,
.disclaimer-box,
.faq-section,
.risk-notice {
    color: #4b5563;
    font-size: 15px;
    line-height: 1.8;
}

.core-view p {
    color: #4b5563;
    font-size: 15px;
    line-height: 1.8;
}

@media (max-width: 640px) {
    body {
        font-size: 15px;
        line-height: 1.74;
    }

    .site-brand__text strong {
        font-size: 16px;
        line-height: 1.15;
    }

    .primary-menu a {
        font-size: 15px;
    }

    .hero-copy h1,
    .single-header h1,
    .page-hero h1,
    .page-title h1,
    .topic-hero h1,
    .not-found-card h1 {
        font-size: 30px;
        line-height: 1.22;
        font-weight: 600;
    }

    .hero-copy p,
    .page-hero p,
    .topic-hero p {
        font-size: 15px;
        line-height: 1.8;
    }

    .section-heading h2,
    .live-room-card h2,
    .archive-toolbar h2,
    .topic-list-card h2,
    .topic-intro h2,
    .faq-section h2,
    .disclaimer-box h2,
    .risk-notice h2,
    .newsletter-card h2 {
        font-size: 23px;
        line-height: 1.35;
    }

    .post-card h3,
    .post-card--list h3,
    .market-card h3,
    .post-compact h3 {
        font-size: 16px;
        line-height: 1.52;
    }

    .post-card p,
    .market-card p,
    .topic-list-card p,
    .live-room-card p,
    .newsletter-card p,
    .risk-notice p,
    .disclaimer-box p,
    .faq-section p,
    .topic-intro p {
        font-size: 14px;
        line-height: 1.76;
    }

    .entry-content,
    .entry-content p {
        font-size: 15px;
        line-height: 1.85;
    }

    .entry-content h2 {
        font-size: 23px;
    }

    .entry-content h3 {
        font-size: 19px;
    }

    .btn {
        font-size: 14px;
    }

    .btn-compact {
        font-size: 0;
    }
}

/* Content typography scale correction */
.page-hero h1,
.page-title h1 {
    font-size: clamp(22px, 1.85vw, 26px);
    line-height: 1.28;
    font-weight: 600;
}

.single-header h1 {
    font-size: clamp(24px, 2.05vw, 30px);
    line-height: 1.32;
    font-weight: 600;
}

.post-card--list h3 {
    font-size: clamp(16px, 1.05vw, 18px);
    line-height: 1.52;
    font-weight: 600;
}

.entry-content h2 {
    margin: 28px 0 10px;
    font-size: clamp(18px, 1.25vw, 20px);
    line-height: 1.48;
    font-weight: 600;
}

.entry-content h3 {
    margin: 22px 0 8px;
    font-size: 16px;
    line-height: 1.55;
    font-weight: 600;
}

.disclaimer-box h2 {
    font-size: 17px;
    line-height: 1.45;
    font-weight: 600;
}

.disclaimer-box p {
    font-size: 13px;
    line-height: 1.75;
}

@media (max-width: 640px) {
    .page-hero h1,
    .page-title h1 {
        font-size: 22px;
        line-height: 1.28;
    }

    .single-header h1 {
        font-size: 23px;
        line-height: 1.32;
    }

    .post-card--list h3 {
        font-size: 16px;
        line-height: 1.5;
    }

    .entry-content h2 {
        margin-top: 24px;
        font-size: 18px;
        line-height: 1.5;
    }

    .entry-content h3 {
        font-size: 16px;
        line-height: 1.55;
    }

    .disclaimer-box h2 {
        font-size: 16px;
    }

    .disclaimer-box p {
        font-size: 13px;
    }
}

/* Compact module typography correction */
.hero-copy h1 {
    font-size: clamp(30px, 3vw, 40px);
    line-height: 1.18;
    font-weight: 600;
}

.section-heading h2 {
    font-size: clamp(21px, 1.55vw, 24px);
    line-height: 1.35;
    font-weight: 600;
}

.newsletter-card h2,
.risk-notice h2 {
    font-size: 18px;
    line-height: 1.42;
    font-weight: 600;
}

.side-card h2 {
    font-size: 17px;
    line-height: 1.42;
    font-weight: 600;
}

.post-compact h3 {
    font-size: 15px;
    line-height: 1.5;
    font-weight: 600;
}

.topic-list-card h2 {
    font-size: clamp(20px, 1.65vw, 24px);
    line-height: 1.35;
    font-weight: 600;
}

.topic-card h3 {
    font-size: 18px;
    line-height: 1.42;
    font-weight: 600;
}

.market-card h3 {
    font-size: 16px;
    line-height: 1.45;
    font-weight: 600;
}

.risk-notice p,
.newsletter-card p {
    font-size: 13px;
    line-height: 1.75;
}

@media (max-width: 640px) {
    .hero-copy h1 {
        font-size: 27px;
        line-height: 1.22;
    }

    .section-heading h2 {
        font-size: 20px;
        line-height: 1.38;
    }

    .newsletter-card h2,
    .risk-notice h2,
    .side-card h2 {
        font-size: 16px;
    }

    .post-compact h3 {
        font-size: 14px;
        line-height: 1.5;
    }

    .topic-list-card h2 {
        font-size: 20px;
        line-height: 1.36;
    }

    .topic-card h3 {
        font-size: 17px;
    }
}

/* Article list refinement */
.page-hero--articles,
.page-hero--category {
    position: relative;
    min-height: 238px;
    padding: 42px 0 26px;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .98) 0%, rgba(255, 255, 255, .86) 54%, rgba(255, 255, 255, .38) 100%),
        radial-gradient(circle at 88% 28%, rgba(255, 237, 226, .92), transparent 19rem),
        url("../images/thumb-knowledge.png") right center / 44% auto no-repeat;
}

.page-hero--articles .container,
.page-hero--category .container {
    position: relative;
    z-index: 1;
}

.page-hero--articles h1,
.page-hero--category h1 {
    margin: 10px 0 8px;
    color: #1f2937;
    font-size: clamp(26px, 2.5vw, 34px);
    line-height: 1.28;
    font-weight: 700;
}

.page-hero--articles p,
.page-hero--category p {
    max-width: 620px;
    margin-bottom: 20px;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.72;
}

.page-hero .category-filter {
    max-width: 920px;
}

.category-filter--bar {
    position: static;
    padding: 0;
    overflow-x: auto;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    scrollbar-width: none;
}

.category-filter--bar::-webkit-scrollbar {
    display: none;
}

.category-filter--bar ul {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: max-content;
    padding: 0;
    margin: 0;
    list-style: none;
}

.category-filter--bar a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 34px;
    padding: 0 11px;
    color: #4b5563;
    border-radius: 0;
    font-size: 13px;
    line-height: 1;
    font-weight: 500;
    background: transparent;
    white-space: nowrap;
}

.category-filter--bar a::after {
    position: absolute;
    right: 11px;
    bottom: 0;
    left: 11px;
    height: 2px;
    content: "";
    background: transparent;
    border-radius: 999px;
}

.category-filter--bar em {
    color: #9ca3af;
    font-style: normal;
    font-size: 11px;
    font-weight: 500;
}

.category-filter--bar .is-active a,
.category-filter--bar a:hover {
    color: var(--fnt-primary);
    background: transparent;
}

.category-filter--bar .is-active a::after,
.category-filter--bar a:hover::after {
    background: var(--fnt-primary);
}

.archive-content,
.category-layout {
    padding: 30px 0 58px;
}

.category-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 318px;
    align-items: start;
    gap: 28px;
}

.archive-toolbar {
    min-height: 38px;
    margin-bottom: 14px;
}

.archive-toolbar h2 {
    color: #1f2937;
    font-size: 20px;
    line-height: 1.38;
    font-weight: 600;
}

.archive-toolbar span {
    min-height: 32px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    color: #6b7280;
    background: #fff;
    border: 1px solid #edf0f3;
    border-radius: 6px;
    font-size: 12px;
}

.post-list {
    gap: 14px;
}

.post-card--list {
    grid-template-columns: 210px minmax(0, 1fr) 34px;
    gap: 18px;
    min-height: 132px;
    padding: 12px;
    background: #fff;
    border-color: #edf0f3;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(31, 41, 55, .04);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.post-card--list:hover {
    transform: translateY(-1px);
    border-color: rgba(16, 185, 129, .22);
    box-shadow: 0 14px 30px rgba(31, 41, 55, .07);
}

.post-card--list .post-card__image {
    height: 126px;
    border-radius: 7px;
}

.post-card .post-card__image img {
    filter: saturate(1.08) contrast(1.04);
}

.post-card:not(.post-card--list) .post-card__image img {
    object-position: center 62%;
}

.post-card--list .post-card__image img,
.post-compact__image img {
    object-position: center 62%;
}

.post-card--list .post-card__content {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
}

.post-card--list .badge {
    align-self: flex-start;
    min-height: auto;
    padding: 0;
    color: var(--fnt-primary);
    background: transparent;
    border-radius: 0;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 600;
}

.post-card--list h3 {
    margin: 7px 0 7px;
    color: #1f2937;
    font-size: clamp(16px, 1.05vw, 18px);
    line-height: 1.45;
    font-weight: 600;
}

.post-card--list p {
    display: -webkit-box;
    margin: 0 0 9px;
    overflow: hidden;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.65;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.post-card--list .entry-meta {
    gap: 8px 12px;
    color: #8b95a1;
    font-size: 12px;
    line-height: 1.35;
}

.post-card--list .avatar-dot {
    width: 22px;
    height: 22px;
    font-size: 11px;
}

.bookmark-link {
    width: 30px;
    height: 30px;
    color: #9ca3af;
    background: #fff;
    border-color: #edf0f3;
    font-size: 16px;
}

.bookmark-link:hover {
    color: var(--fnt-primary);
    border-color: rgba(16, 185, 129, .35);
}

.archive-content .content-sidebar,
.category-layout .content-sidebar {
    gap: 14px;
}

.archive-content .side-card,
.category-layout .side-card {
    padding: 18px;
    border-color: #edf0f3;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(31, 41, 55, .04);
}

.archive-content .side-card h2,
.category-layout .side-card h2 {
    margin-bottom: 12px;
    font-size: 16px;
}

.archive-content .post-compact,
.category-layout .post-compact {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 10px;
}

.archive-content .post-compact__image,
.category-layout .post-compact__image {
    border-radius: 6px;
}

.archive-content .post-compact h3,
.category-layout .post-compact h3 {
    display: -webkit-box;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.45;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

@media (max-width: 1180px) {
    .category-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .page-hero--articles,
    .page-hero--category {
        min-height: 0;
        padding: 30px 0 22px;
        background:
            linear-gradient(90deg, rgba(255, 255, 255, .98), rgba(255, 255, 255, .86)),
            radial-gradient(circle at 86% 22%, rgba(255, 237, 226, .9), transparent 15rem);
    }

    .page-hero .category-filter {
        max-width: 100%;
    }

    .content-sidebar {
        grid-template-columns: 1fr;
    }

    .post-card--list {
        grid-template-columns: 158px minmax(0, 1fr);
        gap: 12px;
        min-height: 112px;
    }

    .post-card--list .post-card__image {
        height: 104px;
    }

    .post-card--list p,
    .post-card--list .entry-meta span:nth-child(n+3),
    .bookmark-link {
        display: none;
    }
}

@media (max-width: 640px) {
    .page-hero--articles h1,
    .page-hero--category h1 {
        font-size: 24px;
    }

    .category-filter--bar a {
        min-height: 32px;
        padding: 0 9px;
        font-size: 12px;
    }

    .category-filter--bar a::after {
        right: 9px;
        left: 9px;
    }

    .archive-content,
    .category-layout {
        padding-top: 22px;
    }

    .post-card--list {
        grid-template-columns: 116px minmax(0, 1fr);
        padding: 10px;
    }

    .post-card--list .post-card__image {
        height: 86px;
    }

    .post-card--list h3 {
        margin: 5px 0;
        font-size: 15px;
        line-height: 1.42;
    }

    .post-card--list .badge,
    .post-card--list .entry-meta {
        font-size: 11px;
    }
}

.post-card,
.side-card,
.market-card,
.topic-card,
.newsletter-card,
.risk-notice,
.seo-intro,
.fnt-ad {
    border-radius: var(--fnt-card-radius, 8px);
}

.fnt-ad {
    overflow: hidden;
    margin-top: 18px;
    margin-bottom: 18px;
    color: #334155;
    font-size: 14px;
}

.fnt-ad--top {
    padding: 0;
}

.fnt-ad--sidebar {
    margin: 0 0 18px;
}

.fnt-ad img,
.fnt-ad iframe {
    display: block;
    max-width: 100%;
}

.social-row a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 12px;
    text-decoration: none;
}

.social-row a:hover {
    background: var(--fnt-primary);
    color: #fff;
}

.site-footer--simple .footer-grid {
    grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, .8fr));
}

.site-footer--simple .footer-contact-list {
    display: none;
}

.fnt-lightbox {
    position: fixed;
    z-index: 9999;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 28px;
    background: rgba(15, 23, 42, .82);
}

.fnt-lightbox.is-open {
    display: flex;
}

.fnt-lightbox img {
    display: block;
    max-width: min(1080px, 94vw);
    max-height: 86vh;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .38);
}

.fnt-lightbox button {
    position: absolute;
    top: 18px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: #111827;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.fnt-lightbox-enabled .entry-content img,
.fnt-lightbox-enabled .js-article-content img {
    cursor: zoom-in;
}

.auto-keyword-link {
    color: var(--fnt-primary);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

/* Layout alignment fixes */
.site-header {
    padding: 12px 0;
}

.site-header__inner {
    grid-template-columns: minmax(150px, auto) minmax(0, 1fr) auto;
    gap: clamp(14px, 2vw, 24px);
}

.site-brand {
    min-width: 0;
}

.site-nav {
    min-width: 0;
}

.primary-menu {
    justify-content: center;
    gap: clamp(18px, 2.1vw, 32px);
    min-width: 0;
}

.primary-menu li {
    min-width: 0;
}

.primary-menu a {
    padding: 10px 0;
    white-space: nowrap;
    word-break: keep-all;
}

.header-actions {
    flex-shrink: 0;
}

.hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(430px, 580px);
    gap: clamp(34px, 5vw, 68px);
}

.home-surface {
    width: min(calc(100% - 64px), var(--fnt-container));
    padding: clamp(28px, 3.2vw, 40px);
}

.post-grid,
.post-grid--four {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    align-items: stretch;
    justify-items: stretch;
    gap: 24px;
}

.post-grid > .post-card {
    width: 100%;
}

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

.post-card__content {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    flex-direction: column;
}

.post-card .entry-meta {
    margin-top: auto;
}

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

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

.content-layout,
.category-layout,
.single-layout,
.topic-page-layout {
    grid-template-columns: minmax(0, 1fr) 318px;
    gap: 28px;
}

.content-primary {
    width: 100%;
}

.archive-content,
.category-layout,
.topic-page-layout {
    align-items: start;
}

.content-sidebar {
    width: 100%;
}

.post-card--list {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr) 34px;
}

@media (min-width: 1181px) {
    .site-brand__text strong {
        font-size: 19px;
    }

    .site-brand__text small {
        max-width: 128px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .content-sidebar {
        position: sticky;
        top: 96px;
    }

    .single-layout {
        grid-template-columns: minmax(0, 880px) 318px;
    }
}

@media (max-width: 1180px) {
    .hero-grid,
    .content-layout,
    .category-layout,
    .single-layout,
    .topic-page-layout {
        grid-template-columns: 1fr;
    }

    .content-sidebar {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .post-grid,
    .post-grid--four {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1040px) {
    .site-header__inner {
        grid-template-columns: auto auto auto;
        justify-content: space-between;
    }

    .menu-toggle {
        display: block;
    }

    .site-nav {
        position: absolute;
        left: 20px;
        right: 20px;
        top: calc(100% + 8px);
        display: none;
        padding: 12px;
        background: #fff;
        border: 1px solid var(--fnt-line);
        border-radius: var(--fnt-radius-lg);
        box-shadow: var(--fnt-shadow);
    }

    .site-nav.is-open {
        display: block;
    }

    .primary-menu {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
    }

    .primary-menu a {
        justify-content: center;
        padding: 11px 12px;
        border-radius: var(--fnt-radius);
        background: #f8fafc;
    }
}

@media (max-width: 640px) {
    .home-surface {
        width: min(calc(100% - 28px), var(--fnt-container));
        padding: 18px;
    }

    .post-grid,
    .post-grid--four,
    .market-grid,
    .topic-grid,
    .content-sidebar {
        grid-template-columns: 1fr;
    }

    .post-card--list {
        grid-template-columns: 112px minmax(0, 1fr);
        gap: 12px;
    }

    .post-card--list .post-card__image {
        height: 84px;
    }

    .hero-grid {
        gap: 24px;
    }
}

/* Homepage reference modules */
.hero-visual--dashboard {
    isolation: isolate;
    justify-items: start;
}

.hero-visual--dashboard .market-dashboard {
    width: calc(100% - 92px);
    max-width: 560px;
}

.market-temperature-card {
    position: absolute;
    z-index: 4;
    top: 8px;
    right: 0;
    width: min(292px, 52%);
    padding: 18px 16px 14px;
    background: rgba(255, 255, 255, .94);
    border: 1px solid rgba(226, 241, 237, .94);
    border-radius: 8px;
    box-shadow: 0 22px 58px rgba(15, 118, 110, .12);
    backdrop-filter: blur(14px);
}

.market-temperature-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.market-temperature-card__head strong {
    color: #1f2937;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 700;
}

.market-temperature-card__head a {
    color: #94a3b8;
    font-size: 12px;
    font-weight: 600;
}

.market-temperature-card__list {
    display: grid;
    gap: 10px;
}

.market-temperature-card__row {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) 48px 58px;
    align-items: center;
    gap: 8px;
    min-width: 0;
    color: var(--fnt-primary);
}

.market-temperature-card__row.is-down {
    color: #f87171;
}

.market-temperature-card__row span,
.market-temperature-card__row strong,
.market-temperature-card__row em {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.market-temperature-card__row span {
    color: #526171;
    font-size: 12px;
    font-weight: 500;
}

.market-temperature-card__row strong {
    color: #1f2937;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;
    text-align: right;
}

.market-temperature-card__row em {
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
    text-align: right;
}

.market-temperature-card__row svg {
    width: 58px;
    height: 20px;
}

.market-temperature-card__row polyline {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.2;
}

.market-temperature-card p {
    margin: 13px 0 0;
    padding-top: 10px;
    color: #9ca3af;
    border-top: 1px solid #eef5f2;
    font-size: 11px;
}

.home-feature-rail {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 0;
    margin-top: -4px;
    margin-bottom: 22px;
    padding: 18px 24px;
    background: rgba(255, 255, 255, .9);
    border: 1px solid rgba(221, 239, 234, .94);
    border-radius: 10px;
    box-shadow: 0 18px 48px rgba(15, 118, 110, .07);
}

.home-feature-rail__item {
    display: grid;
    place-items: center;
    gap: 9px;
    min-width: 0;
    padding: 10px 8px;
    color: #42515d;
    border-radius: 8px;
}

.home-feature-rail__item:hover {
    color: var(--fnt-primary);
    background: rgba(16, 185, 129, .07);
}

.home-feature-rail__icon {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    color: #0f766e;
}

.home-feature-rail__icon::before,
.home-feature-rail__icon::after {
    position: absolute;
    content: "";
}

.home-feature-rail__icon::before {
    inset: 5px;
    border: 1.8px solid currentColor;
    border-radius: 6px;
    opacity: .78;
}

.home-feature-rail__icon::after {
    left: 8px;
    right: 7px;
    bottom: 8px;
    height: 8px;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: skew(-14deg);
}

.home-feature-rail__icon--trend::after,
.home-feature-rail__icon--strategy::after {
    right: 8px;
    bottom: 9px;
    height: 0;
    border: 0;
    border-top: 2px solid currentColor;
    transform: rotate(-25deg);
}

.home-feature-rail__icon--author::before {
    inset: 7px 9px 12px;
    border-radius: 999px;
}

.home-feature-rail__icon--author::after {
    left: 7px;
    right: 7px;
    bottom: 6px;
    height: 8px;
    border: 1.8px solid currentColor;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    transform: none;
}

.home-feature-rail__item strong {
    overflow: hidden;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-recommend-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 318px;
    gap: 24px;
    align-items: start;
}

.home-recommend-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(280px, .82fr);
    gap: 22px;
    min-width: 0;
    padding: 22px;
    background: #fff;
    border: 1px solid #edf5f2;
    border-radius: 8px;
    box-shadow: 0 12px 34px rgba(31, 41, 55, .04);
}

.home-recommend-lead {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 18px;
    min-width: 0;
}

.home-recommend-lead__image {
    display: block;
    min-height: 178px;
    overflow: hidden;
    background: #eefbf6;
    border-radius: 8px;
}

.home-recommend-lead__image img,
.home-recommend-mini__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 58%;
}

.home-recommend-lead__content {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
}

.home-recommend-lead h3,
.home-recommend-mini h3 {
    margin: 8px 0 8px;
    color: #1f2937;
    font-weight: 600;
}

.home-recommend-lead h3 {
    font-size: 18px;
    line-height: 1.45;
}

.home-recommend-lead p {
    display: -webkit-box;
    margin: 0 0 12px;
    overflow: hidden;
    color: #64748b;
    font-size: 13px;
    line-height: 1.7;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.home-recommend-list {
    display: grid;
    gap: 14px;
}

.home-recommend-mini {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr) 22px;
    gap: 12px;
    align-items: center;
    min-width: 0;
}

.home-recommend-mini__image {
    display: block;
    height: 70px;
    overflow: hidden;
    background: #eefbf6;
    border-radius: 7px;
}

.home-recommend-mini .badge {
    min-height: 20px;
    padding: 0 7px;
    font-size: 11px;
}

.home-recommend-mini h3 {
    display: -webkit-box;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.45;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.home-recommend-mini span {
    color: #8b95a1;
    font-size: 12px;
}

.home-recommend-mini__mark {
    width: 18px;
    height: 18px;
    border: 1px solid #dbe7e3;
    border-radius: 4px;
}

.home-recommend-aside {
    display: grid;
    gap: 18px;
    min-width: 0;
}

.home-subscribe-card,
.home-hot-card {
    position: relative;
    overflow: hidden;
    padding: 20px;
    background: #fff;
    border: 1px solid #edf5f2;
    border-radius: 8px;
    box-shadow: 0 12px 34px rgba(31, 41, 55, .04);
}

.home-subscribe-card {
    min-height: 176px;
    background:
        linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .88) 62%, rgba(236, 253, 245, .86) 100%);
}

.home-subscribe-card h3,
.home-hot-card h3 {
    margin: 0 0 6px;
    color: #1f2937;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 700;
}

.home-subscribe-card p {
    max-width: 220px;
    margin: 0 0 14px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.65;
}

.home-subscribe-card .newsletter-form {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 10px;
    max-width: 238px;
}

.home-subscribe-card .newsletter-form input {
    min-height: 38px;
    font-size: 13px;
}

.home-subscribe-card .btn {
    min-height: 38px;
    font-size: 13px;
}

.home-subscribe-card img {
    position: absolute;
    right: -18px;
    bottom: -8px;
    width: 132px;
    opacity: .78;
}

.home-hot-card__head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
}

.home-hot-card__head a {
    color: #94a3b8;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.home-hot-list {
    display: grid;
    gap: 13px;
    padding: 0;
    margin: 0;
    list-style: none;
    counter-reset: home-hot;
}

.home-hot-list li {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 12px;
    min-width: 0;
    counter-increment: home-hot;
}

.home-hot-list li::before {
    content: counter(home-hot, decimal-leading-zero);
    color: #9ca3af;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 600;
}

.home-hot-list a {
    display: -webkit-box;
    overflow: hidden;
    color: #1f2937;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 600;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.home-hot-list span {
    grid-column: 2;
    margin-top: -6px;
    color: #9ca3af;
    font-size: 12px;
}

@media (min-width: 901px) {
    .hero-visual--dashboard .market-dashboard {
        width: 100%;
        max-width: 640px;
    }

    .market-dashboard__main {
        grid-template-columns: minmax(0, 1fr);
        padding-right: clamp(210px, 36%, 238px);
    }

    .hero-market-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-market-grid a {
        padding: 10px 12px;
    }
}

@media (max-width: 1180px) {
    .hero-visual--dashboard {
        justify-items: center;
    }

    .hero-visual--dashboard .market-dashboard {
        width: 100%;
    }

    .market-temperature-card {
        top: 20px;
        right: 18px;
    }

    .home-feature-rail {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .home-recommend-layout {
        grid-template-columns: 1fr;
    }

    .home-recommend-aside {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .market-temperature-card {
        position: relative;
        inset: auto;
        width: 100%;
        margin-top: 14px;
    }

    .home-recommend-panel {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .home-feature-rail {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 4px;
        width: min(calc(100% - 28px), var(--fnt-container));
        padding: 12px 8px;
    }

    .home-feature-rail__item {
        padding: 8px 4px;
    }

    .home-feature-rail__icon {
        width: 24px;
        height: 24px;
    }

    .home-feature-rail__item strong {
        font-size: 11px;
    }

    .market-temperature-card__row {
        grid-template-columns: 62px minmax(0, 1fr) 46px 52px;
    }

    .home-recommend-panel,
    .home-subscribe-card,
    .home-hot-card {
        padding: 14px;
    }

    .home-recommend-lead {
        grid-template-columns: 1fr;
    }

    .home-recommend-lead__image {
        min-height: 168px;
    }

    .home-recommend-mini {
        grid-template-columns: 84px minmax(0, 1fr);
    }

    .home-recommend-mini__mark {
        display: none;
    }

    .home-recommend-aside {
        grid-template-columns: 1fr;
    }
}

/* Tag archive page */
.page-hero--tags {
    min-height: 236px;
    display: grid;
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .98) 0%, rgba(255, 255, 255, .9) 56%, rgba(255, 255, 255, .56) 100%),
        radial-gradient(circle at 82% 36%, rgba(16, 185, 129, .16), transparent 19rem);
}

.tag-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
    align-items: center;
    gap: 36px;
}

.tag-hero-visual {
    position: relative;
    min-height: 164px;
}

.tag-hero-visual__core {
    position: absolute;
    top: 44px;
    left: 50%;
    width: 72px;
    height: 72px;
    background:
        linear-gradient(135deg, #10b981, #6ee7b7);
    border-radius: 50%;
    box-shadow: 0 22px 48px rgba(16, 185, 129, .2);
    transform: translateX(-50%);
}

.tag-hero-visual__core::before {
    position: absolute;
    inset: 22px 18px;
    content: "";
    border-radius: 5px;
    background: #fff;
    transform: rotate(-35deg);
}

.tag-hero-visual__core::after {
    position: absolute;
    top: 24px;
    left: 23px;
    width: 7px;
    height: 7px;
    content: "";
    background: #10b981;
    border-radius: 50%;
}

.tag-hero-visual em {
    position: absolute;
    min-height: 28px;
    padding: 6px 12px;
    color: #059669;
    background: rgba(255, 255, 255, .82);
    border: 1px solid rgba(16, 185, 129, .12);
    border-radius: 999px;
    box-shadow: 0 14px 34px rgba(15, 118, 110, .08);
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
}

.tag-hero-visual em:nth-child(2) { top: 20px; left: 18%; }
.tag-hero-visual em:nth-child(3) { top: 22px; right: 12%; }
.tag-hero-visual em:nth-child(4) { top: 86px; left: 12%; }
.tag-hero-visual em:nth-child(5) { right: 10%; bottom: 34px; }
.tag-hero-visual em:nth-child(6) { left: 38%; bottom: 8px; }

.tag-filter-bar {
    display: flex;
    gap: 6px;
    align-items: center;
    margin-top: -18px;
    margin-bottom: 24px;
    padding: 12px 14px;
    overflow-x: auto;
    background: #fff;
    border: 1px solid #edf5f2;
    border-radius: 8px;
    box-shadow: 0 14px 36px rgba(31, 41, 55, .05);
    scrollbar-width: none;
}

.tag-filter-bar::-webkit-scrollbar {
    display: none;
}

.tag-filter-bar a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 14px;
    color: #4b5563;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.tag-filter-bar a:first-child,
.tag-filter-bar a.is-active,
.tag-filter-bar a:hover {
    color: #fff;
    background: var(--fnt-primary);
}

.tag-page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 318px;
    gap: 28px;
    align-items: start;
    padding-bottom: 64px;
}

.tag-main {
    display: grid;
    gap: 20px;
    min-width: 0;
}

.tag-profile-card,
.tag-post-section,
.tag-side-card,
.tag-subscribe-card {
    background: #fff;
    border: 1px solid #edf5f2;
    border-radius: 8px;
    box-shadow: 0 12px 34px rgba(31, 41, 55, .04);
}

.tag-profile-card {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 24px;
    padding: 22px;
}

.tag-profile-card__image {
    display: block;
    min-height: 168px;
    overflow: hidden;
    background: #eefbf6;
    border-radius: 8px;
}

.tag-profile-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 58%;
}

.tag-profile-card__body {
    display: grid;
    align-content: center;
    min-width: 0;
}

.tag-profile-card__title {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.tag-symbol {
    position: relative;
    width: 28px;
    height: 28px;
    flex: 0 0 auto;
    background: var(--fnt-primary);
    border-radius: 50%;
}

.tag-symbol::before {
    position: absolute;
    inset: 8px 7px;
    content: "";
    background: #fff;
    border-radius: 3px;
    transform: rotate(-35deg);
}

.tag-profile-card h2 {
    margin: 0;
    color: #1f2937;
    font-size: 26px;
    line-height: 1.3;
    font-weight: 700;
}

.tag-follow-button {
    margin-left: auto;
    min-height: 34px;
    padding: 0 13px;
    display: inline-flex;
    align-items: center;
    color: var(--fnt-primary);
    border: 1px solid rgba(16, 185, 129, .36);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
}

.tag-profile-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin: 10px 0 12px;
    color: #8b95a1;
    font-size: 12px;
}

.tag-profile-card p {
    max-width: 720px;
    margin: 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.75;
}

.tag-post-section {
    padding: 22px;
}

.tag-section-tabs {
    display: flex;
    gap: 28px;
    margin-bottom: 18px;
    border-bottom: 1px solid #eef3f1;
}

.tag-section-tabs span {
    position: relative;
    padding: 0 0 10px;
    color: #6b7280;
    font-size: 14px;
    font-weight: 600;
}

.tag-section-tabs .is-active {
    color: var(--fnt-primary);
}

.tag-section-tabs .is-active::after {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    content: "";
    background: var(--fnt-primary);
    border-radius: 999px;
}

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

.tag-article-card {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 14px;
    min-width: 0;
}

.tag-article-card__image {
    display: block;
    height: 116px;
    overflow: hidden;
    background: #eefbf6;
    border-radius: 8px;
}

.tag-article-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 58%;
}

.tag-article-card__content {
    min-width: 0;
}

.tag-article-card .badge {
    min-height: 20px;
    padding: 0 7px;
    font-size: 11px;
}

.tag-article-card h3 {
    display: -webkit-box;
    margin: 7px 0 7px;
    overflow: hidden;
    color: #1f2937;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 600;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.tag-article-card p {
    display: -webkit-box;
    margin: 0 0 8px;
    overflow: hidden;
    color: #64748b;
    font-size: 12px;
    line-height: 1.6;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.tag-article-card .entry-meta {
    gap: 6px 10px;
    color: #8b95a1;
    font-size: 11px;
}

.tag-article-card .entry-meta span:nth-child(n+3) {
    display: none;
}

.tag-article-card .avatar-dot {
    width: 20px;
    height: 20px;
    font-size: 10px;
}

.tag-sidebar {
    display: grid;
    gap: 18px;
    min-width: 0;
}

.tag-side-card {
    padding: 20px;
}

.tag-side-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.tag-side-card h2,
.tag-subscribe-card h2 {
    margin: 0;
    color: #1f2937;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 700;
}

.tag-side-card__head a {
    color: #94a3b8;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.tag-rank-list {
    display: grid;
    gap: 4px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.tag-rank-list a {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    min-height: 38px;
    padding: 0 8px;
    color: #4b5563;
    border-radius: 6px;
}

.tag-rank-list li.is-active a,
.tag-rank-list a:hover {
    color: var(--fnt-primary);
    background: rgba(16, 185, 129, .08);
}

.tag-rank-list span {
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    color: var(--fnt-primary);
    background: rgba(16, 185, 129, .1);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
}

.tag-rank-list strong {
    overflow: hidden;
    font-size: 13px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tag-rank-list em {
    color: #9ca3af;
    font-size: 11px;
    font-style: normal;
}

.tag-subscribe-card {
    position: relative;
    overflow: hidden;
    min-height: 184px;
    padding: 20px;
    background:
        linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .88) 64%, rgba(236, 253, 245, .86) 100%);
}

.tag-subscribe-card p {
    max-width: 220px;
    margin: 6px 0 14px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.65;
}

.tag-subscribe-card .newsletter-form {
    position: relative;
    z-index: 1;
    max-width: 238px;
}

.tag-subscribe-card .newsletter-form input,
.tag-subscribe-card .btn {
    min-height: 38px;
    font-size: 13px;
}

.tag-subscribe-card img {
    position: absolute;
    right: -18px;
    bottom: -8px;
    width: 132px;
    opacity: .78;
}

.tag-cloud-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-cloud-grid a {
    min-height: 30px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    color: #64748b;
    background: #f8fafc;
    border: 1px solid #edf2f7;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.tag-cloud-grid a:hover {
    color: var(--fnt-primary);
    border-color: rgba(16, 185, 129, .24);
    background: rgba(16, 185, 129, .07);
}

@media (max-width: 1180px) {
    .tag-hero-grid,
    .tag-page-layout {
        grid-template-columns: 1fr;
    }

    .tag-hero-visual {
        display: none;
    }

    .tag-sidebar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .tag-profile-card,
    .tag-article-grid,
    .tag-sidebar {
        grid-template-columns: 1fr;
    }

    .tag-profile-card {
        padding: 14px;
    }

    .tag-profile-card__image {
        min-height: 158px;
    }

    .tag-post-section,
    .tag-side-card,
    .tag-subscribe-card {
        padding: 14px;
    }

    .tag-article-card {
        grid-template-columns: 112px minmax(0, 1fr);
        gap: 12px;
    }

    .tag-article-card__image {
        height: 96px;
    }

    .tag-article-card p {
        display: none;
    }

    .tag-rank-list a {
        grid-template-columns: 24px minmax(0, 1fr);
    }

    .tag-rank-list em {
        grid-column: 2;
        margin-top: -8px;
    }
}

/* Narrow desktop reading width, inspired by compact knowledge-base layouts */
@media (min-width: 1181px) {
    .container,
    .site-header__inner,
    .home-feature-rail,
    .home-surface {
        max-width: var(--fnt-container);
    }

    .hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(380px, 470px);
        gap: 36px;
    }

    .hero-copy h1 {
        max-width: 620px;
    }

    .hero-copy p {
        max-width: 560px;
    }

    .hero-visual--dashboard .market-dashboard {
        max-width: 470px;
    }

    .market-dashboard__main {
        padding-right: 184px;
    }

    .market-temperature-card {
        width: 258px;
        padding: 15px 13px 12px;
    }

    .market-temperature-card__row {
        grid-template-columns: 56px minmax(0, 1fr) 42px 48px;
        gap: 6px;
    }

    .market-temperature-card__row svg {
        width: 48px;
    }

    .home-feature-rail {
        padding: 16px 18px;
    }

    .home-surface {
        width: min(calc(100% - 48px), var(--fnt-container));
        padding: 30px;
    }

    .home-recommend-layout,
    .content-layout,
    .category-layout,
    .topic-page-layout,
    .tag-page-layout {
        grid-template-columns: minmax(0, 1fr) 300px;
        gap: 24px;
    }

    .single-layout {
        grid-template-columns: minmax(0, 780px) 300px;
        gap: 24px;
    }

    .home-recommend-panel {
        grid-template-columns: minmax(0, 1fr) minmax(250px, .82fr);
        gap: 18px;
        padding: 20px;
    }

    .home-recommend-lead {
        grid-template-columns: 190px minmax(0, 1fr);
        gap: 16px;
    }

    .home-recommend-mini {
        grid-template-columns: 78px minmax(0, 1fr) 18px;
        gap: 10px;
    }

    .home-recommend-mini__image {
        height: 64px;
    }

    .post-grid--four {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .market-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-surface .post-grid--four,
    .home-surface .market-grid,
    .home-surface .topic-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 16px;
    }

    .home-surface .post-grid--four .post-card__content {
        padding: 14px;
    }

    .home-surface .post-grid--four .post-card h3 {
        margin: 9px 0 10px;
        font-size: 15px;
        line-height: 1.45;
    }

    .home-surface .post-grid--four .post-card p {
        display: -webkit-box;
        overflow: hidden;
        margin-bottom: 12px;
        font-size: 12.5px;
        line-height: 1.65;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .home-surface .post-grid--four .entry-meta {
        gap: 8px 10px;
        font-size: 12px;
    }

    .home-surface .market-card {
        display: flex;
        min-height: 100%;
        flex-direction: column;
        box-shadow: 0 10px 26px rgba(31, 41, 55, .045);
        transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
    }

    .home-surface .market-card:hover {
        border-color: rgba(16, 185, 129, .28);
        box-shadow: 0 16px 34px rgba(31, 41, 55, .075);
        transform: translateY(-2px);
    }

    .home-surface .market-card img {
        aspect-ratio: 16 / 10;
    }

    .home-surface .market-card div {
        display: flex;
        flex: 1 1 auto;
        flex-direction: column;
        padding: 14px;
    }

    .home-surface .market-card h3 {
        font-size: 15px;
        line-height: 1.45;
    }

    .home-surface .market-card p {
        display: -webkit-box;
        min-height: 0;
        overflow: hidden;
        font-size: 12.5px;
        line-height: 1.65;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
    }

    .home-surface .market-card a {
        margin-top: auto;
        font-size: 13px;
    }

    .home-surface .topic-card,
    .home-surface .topic-card a {
        min-height: 178px;
    }

    .home-surface .topic-card a {
        padding: 18px;
    }

    .home-surface .topic-card span {
        font-size: 12px;
    }

    .home-surface .topic-card h3 {
        margin: 10px 0;
        font-size: 17px;
        line-height: 1.45;
    }

    .home-surface .topic-card p {
        display: -webkit-box;
        overflow: hidden;
        font-size: 12.5px;
        line-height: 1.65;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .post-card--list {
        grid-template-columns: 190px minmax(0, 1fr) 30px;
        gap: 16px;
    }

    .post-card--list .post-card__image {
        height: 128px;
    }

    .tag-profile-card {
        grid-template-columns: 200px minmax(0, 1fr);
        gap: 20px;
        padding: 20px;
    }

    .tag-article-card {
        grid-template-columns: 112px minmax(0, 1fr);
        gap: 12px;
    }

    .tag-article-card__image {
        height: 102px;
    }
}

/* Final home v2 overrides: keep this block at the end of the stylesheet. */
body.home .site-header__inner,
body.home .home-v2-hero__grid,
body.home .home-v2-feature-rail,
body.home .home-v2-surface,
body.home .site-footer > .container {
    width: min(calc(100% - 96px), 1120px);
    max-width: 1120px;
}

body.home .site-header__inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 54px;
}

body.home .primary-menu {
    gap: clamp(26px, 3vw, 46px);
}

body.home .home-v2-hero {
    padding: 58px 0 28px;
}

body.home .home-v2-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(500px, 540px);
    gap: 46px;
}

body.home .home-v2-hero__copy h1 {
    max-width: 520px;
    font-size: clamp(40px, 3.8vw, 52px);
}

body.home .home-v2-hero__copy p {
    max-width: 520px;
    font-size: 16px;
}

body.home .home-v2-dashboard .market-dashboard {
    width: 100%;
    max-width: 540px;
    padding: 18px;
}

body.home .home-v2-dashboard .market-dashboard__main {
    grid-template-columns: minmax(0, 1fr) 214px;
    gap: 12px;
    padding: 0;
}

body.home .home-v2-dashboard .market-temperature-card {
    position: static;
    inset: auto;
    width: auto;
}

body.home .home-v2-dashboard .hero-market-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.home .home-v2-feature-rail {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    margin-bottom: 22px;
}

body.home .home-v2-surface {
    padding: 22px;
}

body.home .home-v2-recommend-grid {
    grid-template-columns: minmax(320px, 1fr) minmax(240px, .72fr) 300px;
    gap: 14px;
}

body.home .home-v2-latest-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

body.home .home-v2-lower-grid {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 16px;
}

body.home .home-v2-analysis-list .post-card--list {
    grid-template-columns: 130px minmax(0, 1fr);
}

body.home .home-v2-side-stack {
    display: grid;
    gap: 16px;
}

body.home .site-footer {
    padding-top: 42px;
}

body.home .footer-grid {
    display: grid;
    grid-template-columns: minmax(260px, 1.36fr) .62fr .72fr .62fr;
    gap: 28px;
    align-items: start;
}

@media (max-width: 1180px) {
    body.home .site-header__inner,
    body.home .home-v2-hero__grid,
    body.home .home-v2-feature-rail,
    body.home .home-v2-surface,
    body.home .site-footer > .container {
        width: min(calc(100% - 48px), 1120px);
    }

    body.home .home-v2-hero__grid,
    body.home .home-v2-lower-grid {
        grid-template-columns: 1fr;
    }

    body.home .home-v2-recommend-grid {
        grid-template-columns: minmax(0, 1fr) minmax(260px, .78fr);
    }

    body.home .home-v2-hot-card {
        grid-column: 1 / -1;
    }

    body.home .home-v2-latest-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    body.home .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    body.home .home-v2-dashboard .market-dashboard__main,
    body.home .home-v2-recommend-grid {
        grid-template-columns: 1fr;
    }

    body.home .home-v2-feature-rail {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    body.home .home-v2-latest-grid,
    body.home .home-v2-topic-mini-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    body.home .site-header__inner,
    body.home .home-v2-hero__grid,
    body.home .home-v2-feature-rail,
    body.home .home-v2-surface,
    body.home .site-footer > .container {
        width: min(calc(100% - 28px), 1120px);
    }

    body.home .home-v2-hero__copy h1 {
        font-size: 30px;
    }

    body.home .home-v2-dashboard .hero-market-grid,
    body.home .home-v2-dashboard .market-dashboard__bottom,
    body.home .home-v2-latest-grid,
    body.home .home-v2-feature-rail,
    body.home .footer-grid {
        grid-template-columns: 1fr;
    }

    body.home .home-v2-analysis-list .post-card--list {
        grid-template-columns: 96px minmax(0, 1fr);
    }
}

/* Single post related reading grid */
.header-search .container {
    display: flex;
    justify-content: center;
}

.header-search .search-form--wide {
    width: min(100%, 680px);
    max-width: 680px;
    margin: 0 auto;
    align-items: center;
    gap: 12px;
}

.header-search .search-form--wide input {
    min-height: 44px;
}

.header-search .search-form--wide .btn {
    flex: 0 0 88px;
    width: 88px;
    min-height: 44px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
}

@media (max-width: 640px) {
    .header-search .container {
        display: block;
    }

    .header-search .search-form--wide {
        width: 100%;
        max-width: none;
    }

    .header-search .search-form--wide .btn {
        flex: 0 0 auto;
        width: 100%;
    }
}

@media (min-width: 1181px) {
    .related-section .section-heading {
        margin-bottom: 16px;
    }

    .related-section .section-heading .eyebrow {
        min-height: 24px;
        padding: 0 10px;
        font-size: 12px;
        font-weight: 500;
    }

    .related-section .section-heading h2 {
        margin-top: 8px;
        font-size: 26px;
        line-height: 1.28;
        font-weight: 700;
    }

    .related-section .related-post-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 16px;
    }

    .related-section .related-post-grid .post-card__content {
        padding: 12px 13px 14px;
    }

    .related-section .related-post-grid .badge {
        min-height: 22px;
        padding: 0 8px;
        font-size: 11px;
        line-height: 1;
        font-weight: 500;
    }

    .related-section .related-post-grid .post-card h3 {
        display: -webkit-box;
        margin: 8px 0 10px;
        overflow: hidden;
        font-size: 13.5px;
        line-height: 1.45;
        font-weight: 600;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .related-section .related-post-grid .entry-meta {
        gap: 6px 8px;
        color: #8b95a1;
        font-size: 11px;
        line-height: 1.45;
    }

    .related-section .related-post-grid .avatar-dot {
        width: 20px;
        height: 20px;
        font-size: 10px;
    }
}

@media (max-width: 1180px) {
    .related-section .related-post-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .related-section .related-post-grid {
        grid-template-columns: 1fr;
    }
}

/* Huihe finance portal homepage refresh: keep this block last for the public homepage. */
:root {
    --hf-green: #00a878;
    --hf-green-dark: #008f6b;
    --hf-green-soft: #e8fbf4;
    --hf-ink: #101827;
    --hf-muted: #667085;
    --hf-line: #e7eef0;
    --hf-bg: #f6fbf9;
    --hf-card-shadow: 0 18px 46px rgba(15, 23, 42, .055);
    --hf-icon-market: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M5 4h14a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2Zm0 2v11h14V6H5Zm2 8 3-3 2 2 4-5 2 1.6-5.8 7.1-2.1-2.1L8.4 16 7 14Z'/%3E%3C/svg%3E");
    --hf-icon-live: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M4 6.5A2.5 2.5 0 0 1 6.5 4h11A2.5 2.5 0 0 1 20 6.5v7A2.5 2.5 0 0 1 17.5 16H13v2h3v2H8v-2h3v-2H6.5A2.5 2.5 0 0 1 4 13.5v-7ZM6.5 6a.5.5 0 0 0-.5.5v7a.5.5 0 0 0 .5.5h11a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.5-.5h-11Zm4 2.2 4.5 2.3-4.5 2.3V8.2Z'/%3E%3C/svg%3E");
    --hf-icon-analysis: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M4 19h16v2H2V3h2v16Zm2-2V9h3v8H6Zm5 0V5h3v12h-3Zm5 0v-6h3v6h-3ZM7 7.5 6 5.8l5.2-3 3 3 4-2.3 1 1.8-5.3 3-3-3L7 7.5Z'/%3E%3C/svg%3E");
    --hf-icon-strategy: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M12 2 5 5v6c0 4.2 2.7 8.1 7 9.6 4.3-1.5 7-5.4 7-9.6V5l-7-3Zm0 2.2 5 2.1V11c0 3.1-1.8 6-5 7.4C8.8 17 7 14.1 7 11V6.3l5-2.1Zm3.8 5.2 1.4 1.4-5.8 5.8-3.1-3.1 1.4-1.4 1.7 1.7 4.4-4.4Z'/%3E%3C/svg%3E");
    --hf-icon-link: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M9.2 15.5 8 14.3l6.3-6.3 1.2 1.2-6.3 6.3Zm-1.1 3.7a4.7 4.7 0 0 1-3.3-8l3.1-3.1a4.7 4.7 0 0 1 6.2-.4l-1.5 1.5a2.7 2.7 0 0 0-3.3.3l-3.1 3.1A2.7 2.7 0 0 0 10 16.4l1.1-1.1 1.4 1.4-1.1 1.1a4.7 4.7 0 0 1-3.3 1.4Zm1.8-2.9 1.5-1.5a2.7 2.7 0 0 0 3.3-.3l3.1-3.1A2.7 2.7 0 0 0 14 7.6l-1.1 1.1-1.4-1.4 1.1-1.1a4.7 4.7 0 0 1 6.6 6.6l-3.1 3.1a4.7 4.7 0 0 1-6.2.4Z'/%3E%3C/svg%3E");
    --hf-icon-oil: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M12 2s7 7.2 7 12.2A7 7 0 0 1 5 14.2C5 9.2 12 2 12 2Zm0 3.1c-2.2 2.5-5 6.3-5 9.1a5 5 0 0 0 10 0c0-2.8-2.8-6.6-5-9.1Zm-2.9 8.7h2c0 1.3.8 2.1 2.3 2.1v2c-2.6 0-4.3-1.6-4.3-4.1Z'/%3E%3C/svg%3E");
    --hf-icon-index: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M4 5h16v14H4V5Zm2 2v10h12V7H6Zm2 8v-2.4l2.4-2.4 2.1 2.1L16 8.7 17.3 10l-4.8 4.8-2.1-2.1L8 15Z'/%3E%3C/svg%3E");
    --hf-icon-trend: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M4 18h16v2H4v-2Zm1-2.4 4.7-4.7 3 3L18 8.6V12h2V5h-7v2h3.6l-3.9 3.9-3-3L3.6 14 5 15.6Z'/%3E%3C/svg%3E");
    --hf-icon-shield: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M12 2 5 5v6c0 4.1 2.6 7.9 7 9.5 4.4-1.6 7-5.4 7-9.5V5l-7-3Zm0 2.2 5 2.1V11c0 3-1.8 5.8-5 7.3C8.8 16.8 7 14 7 11V6.3l5-2.1Zm-1 4.8h2v4h-2V9Zm0 5h2v2h-2v-2Z'/%3E%3C/svg%3E");
    --hf-icon-grid: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M4 4h7v7H4V4Zm2 2v3h3V6H6Zm7-2h7v7h-7V4Zm2 2v3h3V6h-3ZM4 13h7v7H4v-7Zm2 2v3h3v-3H6Zm7-2h7v7h-7v-7Zm2 2v3h3v-3h-3Z'/%3E%3C/svg%3E");
}

body {
    font-family: "Inter", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
}

body.home {
    color: var(--hf-ink);
    background: linear-gradient(180deg, #f8fcfb 0, #f7fbfa 560px, #ffffff 100%);
}

body.home .site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    padding: 0;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid rgba(226, 239, 235, .92);
    box-shadow: 0 8px 28px rgba(15, 23, 42, .035);
    backdrop-filter: blur(18px);
}

body.home .site-header__inner,
body.home .hf-home-hero__grid,
body.home .hf-channel-bar,
body.home .hf-home-main,
body.home .site-footer > .container {
    width: min(calc(100% - 72px), 1380px);
    max-width: 1380px;
}

body.home .site-header__inner {
    min-height: 76px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 28px;
}

body.home .site-brand {
    min-width: 184px;
    gap: 10px;
}

body.home .site-brand__mark,
body.home .site-brand__image {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

body.home .site-brand__text strong {
    color: #101828;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0;
}

body.home .site-brand__text small {
    margin-top: 3px;
    color: #667085;
    font-size: 12px;
    font-weight: 600;
}

body.home .primary-menu {
    justify-content: center;
    gap: clamp(24px, 2.7vw, 44px);
}

body.home .primary-menu a {
    min-height: 76px;
    display: inline-flex;
    align-items: center;
    padding: 0;
    color: #27313f;
    font-size: 14px;
    font-weight: 700;
}

body.home .primary-menu .current-menu-item > a,
body.home .primary-menu a:hover {
    color: var(--hf-green);
}

body.home .primary-menu .current-menu-item > a::after,
body.home .primary-menu a:hover::after {
    bottom: 0;
    height: 3px;
    background: var(--hf-green);
}

body.home .header-actions {
    gap: 12px;
}

body.home .icon-button {
    width: 42px;
    height: 42px;
    background: #fff;
    border: 1px solid #dce9e7;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .04);
}

body.home .header-actions .btn-compact,
body.home .btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--hf-green), #06b889);
    border: 0;
    border-radius: 999px;
    box-shadow: 0 12px 28px rgba(0, 168, 120, .22);
}

body.home .header-actions .btn-compact {
    min-height: 42px;
    padding: 0 22px;
    font-size: 14px;
    font-weight: 800;
}

.hf-home-hero {
    padding: 72px 0 28px;
    background:
        radial-gradient(circle at 18% 18%, rgba(0, 168, 120, .12), transparent 30%),
        radial-gradient(circle at 86% 12%, rgba(20, 184, 166, .08), transparent 26%);
}

.hf-home-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(560px, 690px);
    align-items: center;
    gap: 76px;
}

.hf-pill {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    padding: 0 18px;
    color: var(--hf-green);
    background: #f0fbf7;
    border: 1px solid #d7f4eb;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
}

.hf-home-hero__copy h1 {
    max-width: 640px;
    margin: 22px 0 20px;
    color: var(--hf-ink);
    font-size: clamp(46px, 4.3vw, 68px);
    line-height: 1.16;
    font-weight: 850;
    letter-spacing: 0;
}

.hf-home-hero__copy h1 span {
    color: var(--hf-green);
}

.hf-home-hero__copy p {
    max-width: 620px;
    margin: 0 0 30px;
    color: #4c5f6f;
    font-size: 17px;
    line-height: 1.9;
}

.hf-home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
}

.hf-home-hero__actions .btn {
    min-height: 52px;
    padding: 0 30px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 800;
}

.hf-home-hero__actions > span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #667085;
    font-size: 14px;
    font-weight: 700;
}

.hf-home-hero__actions > span::before {
    width: 18px;
    height: 18px;
    content: "";
    border: 4px solid var(--hf-green);
    border-radius: 50%;
    box-shadow: inset 0 0 0 3px #fff;
}

.hf-feature-points {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    max-width: 650px;
    margin-top: 44px;
}

.hf-feature-point {
    min-width: 0;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 4px 10px;
    align-items: center;
}

.hf-feature-point > span {
    grid-row: span 2;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    color: var(--hf-green);
    background: #f0fbf7;
    border: 1px solid #d9f2eb;
    border-radius: 12px;
}

.hf-feature-point > span::before {
    width: 18px;
    height: 18px;
    content: "";
    background: currentColor;
    mask: var(--hf-icon-market) center / contain no-repeat;
}

.hf-feature-point strong {
    overflow: hidden;
    color: #213047;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hf-feature-point em {
    overflow: hidden;
    color: #7a8794;
    font-size: 12px;
    font-style: normal;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hf-market-panel {
    padding: 26px;
    background: rgba(255, 255, 255, .96);
    border: 1px solid #e3efed;
    border-radius: 16px;
    box-shadow: 0 28px 80px rgba(15, 23, 42, .08);
}

.hf-market-panel__head,
.hf-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.hf-market-panel__head {
    margin-bottom: 18px;
}

.hf-market-panel__head div {
    color: #111827;
    font-size: 18px;
    font-weight: 800;
}

.hf-market-panel__head strong {
    color: var(--hf-green);
}

.hf-market-panel__head a,
.hf-section-head a {
    color: #8a98a6;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.hf-market-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.hf-market-card {
    min-height: 172px;
    display: flex;
    flex-direction: column;
    padding: 20px 16px 12px;
    color: #101828;
    background: #fff;
    border: 1px solid #e4ecea;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .035);
}

.hf-market-card span {
    color: #243244;
    font-size: 13px;
    font-weight: 800;
}

.hf-market-card strong {
    margin-top: 18px;
    color: #111827;
    font-size: 24px;
    line-height: 1;
    font-weight: 850;
}

.hf-market-card em {
    margin-top: 12px;
    color: var(--hf-green);
    font-size: 13px;
    font-style: normal;
    font-weight: 800;
}

.hf-market-card.is-down em {
    color: #ef4444;
}

.hf-market-card svg {
    width: 100%;
    height: 48px;
    margin-top: auto;
}

.hf-market-card polyline,
.hf-market-row polyline {
    fill: none;
    stroke: var(--hf-green);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hf-market-card.is-down polyline,
.hf-market-row.is-down polyline {
    stroke: #ef4444;
}

.hf-hotspot-card {
    margin-top: 22px;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid #e6efec;
    border-radius: 14px;
}

.hf-hotspot-card h2 {
    margin: 0 0 12px;
    color: #111827;
    font-size: 16px;
}

.hf-hotspot-card ol,
.hf-hot-posts ol {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hf-hot-posts ol {
    gap: 11px;
}

.hf-hotspot-card li,
.hf-hot-posts li {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
}

.hf-hot-posts li {
    grid-template-columns: 30px minmax(0, 1fr) 68px;
    gap: 10px;
}

.hf-hotspot-card li span,
.hf-hot-posts li span {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    color: #0b8162;
    background: #effaf6;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 850;
}

.hf-hot-posts li span {
    width: 26px;
    height: 26px;
    font-size: 11px;
}

.hf-hotspot-card li a,
.hf-hot-posts li a {
    overflow: hidden;
    color: #243244;
    font-size: 14px;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hf-hot-posts li a {
    font-size: 13px;
}

.hf-hotspot-card li {
    grid-template-columns: 34px minmax(0, 1fr) 72px 58px;
}

.hf-hotspot-card li time {
    color: #8a98a6;
    font-size: 12px;
    font-weight: 700;
    text-align: right;
    white-space: nowrap;
}

.hf-hotspot-card li em,
.hf-hot-posts li em {
    color: #94a3b8;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
}

.hf-hot-posts li em {
    text-align: right;
    white-space: nowrap;
}

.hf-hotspot-card li em {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    color: #ef4444;
}

.hf-hotspot-card li em::before {
    width: 10px;
    height: 10px;
    content: "";
    background: currentColor;
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M13.5 2.2c.7 2.4.2 4-1.4 5.7-1.2 1.3-2.2 2.4-2.1 4.2 0 .8.4 1.6 1 2.1-.1-1.3.5-2.5 1.6-3.4 1.7 1.1 3.1 3 3.1 5.1 0 1.2-.4 2.3-1.1 3.1 2.8-.8 4.8-3.4 4.8-6.5 0-3.4-2.2-5.6-4.1-7.5-.8-.8-1.5-1.6-1.8-2.8ZM11.9 22C8 21.5 5 18.2 5 14.2c0-2.9 1.4-4.7 3-6.4 1.4-1.5 2.8-3 2.4-5.8-.1-.7.7-1.2 1.3-.8 2.1 1.4 3.3 2.9 5 4.7 1.9 1.9 3.3 4 3.3 6.8A8.5 8.5 0 0 1 11.9 22Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.hf-channel-bar {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    margin: 0 auto 26px;
    padding: 0;
    background: linear-gradient(135deg, #02a879, #00bc8e);
    border-radius: 12px;
    box-shadow: 0 18px 46px rgba(0, 168, 120, .22);
}

.hf-channel-bar a {
    min-height: 76px;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 2px 10px;
    align-items: center;
    padding: 14px 18px;
    color: #fff;
    background: rgba(255, 255, 255, .035);
}

.hf-channel-bar a:hover {
    background: rgba(255, 255, 255, .12);
}

.hf-channel-bar span {
    grid-row: span 2;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 50%;
    background: rgba(255, 255, 255, .14);
}

.hf-channel-bar span::before {
    width: 18px;
    height: 18px;
    content: "";
    background: currentColor;
    mask: var(--hf-icon-link) center / contain no-repeat;
}

.hf-feature-point [data-icon="market"]::before,
.hf-channel-bar [data-icon="market"]::before {
    mask-image: var(--hf-icon-market);
}

.hf-feature-point [data-icon="live"]::before,
.hf-channel-bar [data-icon="live"]::before {
    mask-image: var(--hf-icon-live);
}

.hf-feature-point [data-icon="analysis"]::before,
.hf-channel-bar [data-icon="analysis"]::before {
    mask-image: var(--hf-icon-analysis);
}

.hf-feature-point [data-icon="strategy"]::before,
.hf-channel-bar [data-icon="strategy"]::before {
    mask-image: var(--hf-icon-strategy);
}

.hf-channel-bar [data-icon="link"]::before {
    mask-image: var(--hf-icon-link);
}

.hf-channel-bar [data-icon="oil"]::before {
    mask-image: var(--hf-icon-oil);
}

.hf-channel-bar [data-icon="index"]::before {
    mask-image: var(--hf-icon-index);
}

.hf-channel-bar [data-icon="trend"]::before {
    mask-image: var(--hf-icon-trend);
}

.hf-channel-bar [data-icon="shield"]::before {
    mask-image: var(--hf-icon-shield);
}

.hf-channel-bar [data-icon="grid"]::before {
    mask-image: var(--hf-icon-grid);
}

.hf-channel-bar strong {
    overflow: hidden;
    font-size: 15px;
    line-height: 1.25;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hf-channel-bar em {
    overflow: hidden;
    color: rgba(255, 255, 255, .76);
    font-size: 10px;
    font-style: normal;
    font-weight: 800;
    letter-spacing: .02em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hf-home-main {
    display: grid;
    grid-template-columns: minmax(0, 1.14fr) minmax(360px, .92fr) 330px;
    gap: 20px;
    margin-bottom: 52px;
}

.hf-card {
    min-width: 0;
    padding: 22px;
    background: #fff;
    border: 1px solid #e6eeec;
    border-radius: 14px;
    box-shadow: var(--hf-card-shadow);
}

.hf-section-head {
    margin-bottom: 18px;
}

.hf-section-head h2 {
    margin: 0;
    color: #111827;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 850;
}

.hf-market-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 18px;
}

.hf-market-tabs span {
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    padding: 0 13px;
    color: #667085;
    background: #f5f8f8;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.hf-market-tabs .is-active {
    color: #fff;
    background: var(--hf-green);
}

.hf-market-table {
    display: grid;
    gap: 3px;
}

.hf-market-row {
    min-height: 58px;
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr) 86px 72px 94px;
    gap: 12px;
    align-items: center;
    padding: 0 4px;
    color: #111827;
    border-bottom: 1px solid #edf3f2;
}

.hf-market-row:last-child {
    border-bottom: 0;
}

.hf-market-dot {
    width: 16px;
    height: 16px;
    border: 2px solid #c6ded8;
    border-radius: 50%;
}

.hf-market-row strong {
    overflow: hidden;
    font-size: 14px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hf-market-row strong em {
    display: block;
    margin-top: 2px;
    color: #94a3b8;
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
}

.hf-market-row b {
    font-size: 14px;
    text-align: right;
}

.hf-market-row i {
    color: var(--hf-green);
    font-size: 13px;
    font-style: normal;
    font-weight: 800;
    text-align: right;
}

.hf-market-row.is-down i {
    color: #ef4444;
}

.hf-live-lead a {
    position: relative;
    min-height: 214px;
    display: flex;
    overflow: hidden;
    align-items: flex-end;
    padding: 18px;
    color: #fff;
    border-radius: 12px;
    background: #0f172a;
}

.hf-live-lead img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .86;
}

.hf-live-lead a::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(180deg, transparent 24%, rgba(8, 15, 26, .84));
}

.hf-live-lead span,
.hf-live-lead strong {
    position: relative;
    z-index: 1;
}

.hf-live-lead span {
    position: absolute;
    left: 18px;
    bottom: 58px;
    padding: 5px 10px;
    background: #ef4444;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 850;
}

.hf-live-lead strong {
    display: -webkit-box;
    overflow: hidden;
    font-size: 18px;
    line-height: 1.45;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.hf-live-list {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.hf-live-list article {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 72px;
    gap: 12px;
    align-items: center;
}

.hf-live-list time {
    color: #7a8794;
    font-size: 13px;
    font-weight: 700;
}

.hf-live-list a span {
    overflow: hidden;
    display: block;
    color: #263446;
    font-size: 14px;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hf-live-list em {
    color: #94a3b8;
    font-size: 12px;
    font-style: normal;
    text-align: right;
}

.hf-latest-section,
.hf-knowledge-section {
    grid-column: span 2;
}

.hf-latest-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.hf-news-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid #e7efed;
    border-radius: 12px;
}

.hf-news-card__image {
    display: block;
    aspect-ratio: 1.62 / 1;
    overflow: hidden;
    background: #f3f8f7;
}

.hf-news-card__image img,
.hf-knowledge-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.hf-news-card:hover img,
.hf-knowledge-section article:hover img {
    transform: scale(1.04);
}

.hf-news-card > div {
    padding: 15px 16px 16px;
}

.hf-badge {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    color: var(--hf-green);
    font-size: 12px;
    font-weight: 850;
}

.hf-news-card h3,
.hf-knowledge-section h3 {
    margin: 8px 0 8px;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 820;
}

.hf-news-card h3 a,
.hf-knowledge-section h3 a {
    color: #142033;
}

.hf-news-card p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 12px;
    color: #667085;
    font-size: 13px;
    line-height: 1.65;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.hf-news-card span,
.hf-knowledge-section article span {
    color: #94a3b8;
    font-size: 12px;
    font-weight: 650;
}

.hf-topic-stack {
    display: grid;
    gap: 12px;
}

.hf-topic-stack article {
    overflow: hidden;
    min-height: 82px;
    background-position: center;
    background-size: cover;
    border-radius: 10px;
}

.hf-topic-stack a {
    min-height: 82px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 16px 18px;
    color: #fff;
}

.hf-topic-stack strong {
    overflow: hidden;
    font-size: 17px;
    line-height: 1.35;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hf-topic-stack span {
    margin-top: 6px;
    color: rgba(255, 255, 255, .82);
    font-size: 12px;
    font-weight: 700;
}

.hf-knowledge-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 20px;
}

.hf-knowledge-section article {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
}

.hf-knowledge-image {
    display: block;
    overflow: hidden;
    height: 82px;
    border-radius: 9px;
}

.hf-faq-list {
    display: grid;
    gap: 0;
}

.hf-faq-list details {
    border-bottom: 1px solid #edf3f2;
}

.hf-faq-list details:last-child {
    border-bottom: 0;
}

.hf-faq-list summary {
    cursor: pointer;
    padding: 15px 0;
    color: #233143;
    font-size: 14px;
    font-weight: 780;
}

.hf-faq-list p {
    margin: -4px 0 14px;
    color: #667085;
    font-size: 13px;
    line-height: 1.7;
}

.hf-subscribe-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #fff 0%, #f1fbf7 100%);
}

.hf-subscribe-card::after {
    position: absolute;
    right: 22px;
    top: 20px;
    width: 92px;
    height: 66px;
    content: "";
    background: url("../images/newsletter.png") center / contain no-repeat;
    opacity: .42;
}

.hf-subscribe-card h2,
.hf-tags-card h2 {
    margin: 0 0 8px;
    font-size: 20px;
}

.hf-subscribe-card p {
    max-width: 270px;
    margin: 0 0 16px;
    color: #667085;
    font-size: 13px;
    line-height: 1.65;
}

.hf-subscribe-card .newsletter-form {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 10px;
}

.hf-subscribe-card input {
    width: 100%;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid #dce9e7;
    border-radius: 8px;
}

.hf-subscribe-card .btn {
    min-height: 42px;
    border-radius: 8px;
}

.hf-tags-card .pill-row,
.hf-tags-card .tag-cloud-grid {
    gap: 9px;
}

.hf-tags-card .pill,
.hf-tags-card .tag-cloud-grid a {
    min-height: 30px;
    padding: 0 12px;
    color: #667085;
    background: #f6f8fa;
    border: 1px solid #edf2f4;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 750;
}

body.home .site-footer {
    color: #d8e3e8;
    background: #0d1d2b;
}

body.home .site-footer a,
body.home .footer-brand p,
body.home .copyright,
body.home .icp {
    color: rgba(226, 236, 240, .78);
}

body.home .footer-links h2,
body.home .footer-newsletter h2 {
    color: #fff;
}

body.home .footer-grid {
    grid-template-columns: minmax(280px, 1.4fr) .72fr .72fr .9fr;
    gap: 52px;
}

@media (max-width: 1240px) {
    body.home .site-header__inner,
    body.home .hf-home-hero__grid,
    body.home .hf-channel-bar,
    body.home .hf-home-main,
    body.home .site-footer > .container {
        width: min(calc(100% - 40px), 1380px);
    }

    .hf-home-hero__grid,
    .hf-home-main {
        grid-template-columns: 1fr;
    }

    .hf-market-panel {
        max-width: 760px;
    }

    .hf-latest-section,
    .hf-knowledge-section {
        grid-column: auto;
    }

    .hf-channel-bar {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    body.home .site-header__inner {
        grid-template-columns: auto auto;
    }

    body.home .site-nav,
    body.home .header-actions {
        grid-column: 1 / -1;
    }

    body.home .primary-menu {
        justify-content: flex-start;
        overflow-x: auto;
    }

    body.home .primary-menu a {
        min-height: 44px;
    }

    .hf-home-hero {
        padding-top: 40px;
    }

    .hf-home-hero__grid {
        gap: 32px;
    }

    .hf-home-hero__copy h1 {
        font-size: 42px;
    }

    .hf-feature-points,
    .hf-market-cards,
    .hf-latest-grid,
    .hf-knowledge-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hf-channel-bar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    body.home .site-header__inner,
    body.home .hf-home-hero__grid,
    body.home .hf-channel-bar,
    body.home .hf-home-main,
    body.home .site-footer > .container {
        width: min(calc(100% - 28px), 1380px);
    }

    .hf-home-hero__copy h1 {
        font-size: 34px;
    }

    .hf-home-hero__copy p {
        font-size: 15px;
    }

    .hf-feature-points,
    .hf-market-cards,
    .hf-channel-bar,
    .hf-latest-grid,
    .hf-knowledge-list,
    body.home .footer-grid {
        grid-template-columns: 1fr;
    }

    .hf-card,
    .hf-market-panel {
        padding: 16px;
    }

    .hf-market-row {
        grid-template-columns: 18px minmax(0, 1fr) 70px 62px;
    }

    .hf-market-row svg {
        display: none;
    }

    .hf-live-list article {
        grid-template-columns: 44px minmax(0, 1fr);
    }

    .hf-live-list em {
        display: none;
    }
}

/* Huihe hero balance 2026-07-08: smaller headline and market board without distortion. */
@media (min-width: 1241px) {
    .hf-home-hero {
        padding-top: 62px;
    }

    .hf-home-hero__grid {
        grid-template-columns: minmax(0, .98fr) minmax(520px, 620px);
        gap: 64px;
    }

    .hf-home-hero__copy h1 {
        max-width: 580px;
        font-size: clamp(42px, 3.75vw, 58px);
        line-height: 1.13;
    }

    .hf-home-hero__copy p {
        max-width: 580px;
        font-size: 15.5px;
        line-height: 1.85;
    }

    .hf-market-panel {
        max-width: 620px;
        margin-left: auto;
        padding: 20px;
        border-radius: 14px;
        box-shadow: 0 22px 62px rgba(15, 23, 42, .07);
    }

    .hf-market-panel__head {
        margin-bottom: 15px;
    }

    .hf-market-panel__head div {
        font-size: 16px;
    }

    .hf-market-panel__head a {
        font-size: 11px;
    }

    .hf-market-cards {
        gap: 12px;
    }

    .hf-market-card {
        min-height: 146px;
        padding: 16px 14px 10px;
        border-radius: 10px;
    }

    .hf-market-card span {
        font-size: 12px;
    }

    .hf-market-card strong {
        margin-top: 15px;
        font-size: 21px;
    }

    .hf-market-card em {
        margin-top: 10px;
        font-size: 12px;
    }

    .hf-market-card svg {
        height: 38px;
    }

    .hf-hotspot-card {
        margin-top: 18px;
        padding: 16px 18px;
        border-radius: 12px;
    }

    .hf-hotspot-card h2 {
        margin-bottom: 10px;
        font-size: 15px;
    }

    .hf-hotspot-card ol {
        gap: 12px;
    }

    .hf-hotspot-card li {
        grid-template-columns: 32px minmax(0, 1fr) 66px 54px;
        gap: 10px;
    }

    .hf-hotspot-card li span {
        width: 26px;
        height: 26px;
        font-size: 11px;
    }

    .hf-hotspot-card li a {
        font-size: 13px;
    }

    .hf-hotspot-card li time,
    .hf-hotspot-card li em {
        font-size: 11px;
    }
}

/* Compact sidebar typography */
.content-sidebar {
    gap: 14px;
}

.content-sidebar .side-card,
.content-sidebar .newsletter-card,
.content-sidebar .risk-notice {
    padding: 16px;
}

.content-sidebar .side-card h2,
.content-sidebar .newsletter-card h2,
.content-sidebar .risk-notice h2 {
    margin-bottom: 12px;
    font-size: 17px;
    line-height: 1.35;
    font-weight: 700;
}

.content-sidebar .rank-list,
.content-sidebar .latest-list {
    gap: 12px;
}

.content-sidebar .rank-item {
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 9px;
}

.content-sidebar .rank-item > span {
    width: 20px;
    height: 20px;
    font-size: 11px;
    font-weight: 600;
}

.content-sidebar .post-compact {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
}

.content-sidebar .post-compact__image {
    border-radius: 7px;
}

.content-sidebar .post-compact h3 {
    display: -webkit-box;
    margin: 0 0 4px;
    overflow: hidden;
    font-size: 12.8px;
    line-height: 1.42;
    font-weight: 600;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.content-sidebar .post-compact span {
    color: #8b95a1;
    font-size: 11px;
    line-height: 1.45;
}

.content-sidebar .pill-row {
    gap: 7px;
}

.content-sidebar .pill {
    min-height: 28px;
    padding: 0 10px;
    font-size: 12px;
    font-weight: 500;
}

.content-sidebar .newsletter-card p,
.content-sidebar .risk-notice p {
    font-size: 12px;
    line-height: 1.65;
}

/* Standard portal width 2026-07-08: align finance theme with ai.seoaget.com scale */
@media (min-width: 1181px) {
    :root {
        --fnt-container: 1320px;
    }

    body.home .site-header__inner,
    body.home .home-v2-hero__grid,
    body.home .home-v2-feature-rail,
    body.home .home-v2-surface,
    body.home .site-footer > .container {
        width: min(calc(100% - 96px), 1320px);
        max-width: 1320px;
    }

    body.home .home-v2-hero {
        padding: 70px 0 34px;
    }

    body.home .home-v2-hero__grid {
        grid-template-columns: minmax(0, 1.02fr) minmax(580px, 640px);
        gap: 72px;
    }

    body.home .home-v2-hero__copy h1,
    body.home .home-v2-hero__copy p {
        max-width: 600px;
    }

    body.home .home-v2-hero__copy h1 {
        font-size: clamp(46px, 3.9vw, 60px);
        line-height: 1.16;
    }

    body.home .home-v2-hero__copy p {
        font-size: 16px;
        line-height: 1.92;
    }

    body.home .home-v2-dashboard .market-dashboard {
        max-width: 640px;
        padding: 22px;
        border-radius: 16px;
        box-shadow: 0 28px 76px rgba(15, 23, 42, .09);
    }

    body.home .home-v2-dashboard .market-dashboard__main {
        grid-template-columns: minmax(0, 1fr) 236px;
        gap: 16px;
    }

    body.home .home-v2-dashboard .hero-market-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    body.home .home-v2-feature-rail {
        gap: 14px;
        margin-bottom: 28px;
    }

    body.home .home-v2-feature-rail .home-feature-rail__item {
        min-height: 96px;
        padding: 18px 16px;
        border-radius: 12px;
    }

    body.home .home-v2-surface {
        padding: 30px;
        border-radius: 16px;
        box-shadow: 0 26px 72px rgba(15, 118, 110, .07);
    }

    body.home .home-v2-recommend-grid {
        grid-template-columns: minmax(0, 1.28fr) minmax(300px, .78fr) 360px;
        gap: 20px;
    }

    body.home .home-v2-lead-card {
        min-height: 390px;
    }

    body.home .home-v2-text-item {
        min-height: 112px;
    }

    body.home .home-v2-latest-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 20px;
    }

    body.home .home-v2-latest-grid .post-card__image {
        aspect-ratio: 1.58 / 1;
    }

    body.home .home-v2-lower-grid {
        grid-template-columns: minmax(0, 1fr) 380px;
        gap: 22px;
    }

    body.home .home-v2-analysis-list .post-card--list {
        grid-template-columns: 156px minmax(0, 1fr);
        gap: 16px;
    }

    body.home .home-v2-analysis-list .post-card--list .post-card__image {
        width: 156px;
        min-width: 156px;
        height: 104px;
    }

    .content-layout,
    .single-layout,
    .archive-content,
    .topic-page-layout {
        grid-template-columns: minmax(0, 1fr) 340px;
        gap: 30px;
    }

    .post-grid,
    .post-grid--four {
        gap: 22px;
    }
}

@media (min-width: 1440px) {
    body.home .site-header__inner,
    body.home .home-v2-hero__grid,
    body.home .home-v2-feature-rail,
    body.home .home-v2-surface,
    body.home .site-footer > .container {
        width: min(calc(100% - 120px), 1360px);
        max-width: 1360px;
    }

    :root {
        --fnt-container: 1360px;
    }
}

/* Huihe hero compact refinement 2026-07-08 */
body.home .hf-home-hero {
    padding: 52px 0 18px;
}

body.home .hf-home-hero__grid {
    grid-template-columns: minmax(0, .92fr) minmax(500px, 620px);
    gap: 54px;
}

body.home .hf-pill {
    min-height: 28px;
    padding: 0 16px;
    font-size: 12px;
}

body.home .hf-home-hero__copy h1 {
    max-width: 560px;
    margin: 18px 0 16px;
    font-size: clamp(38px, 3.55vw, 56px);
    line-height: 1.12;
    font-weight: 820;
}

body.home .hf-home-hero__copy p {
    max-width: 560px;
    margin-bottom: 24px;
    font-size: 15px;
    line-height: 1.75;
}

body.home .hf-home-hero__actions {
    gap: 18px;
}

body.home .hf-home-hero__actions .btn {
    min-height: 46px;
    padding: 0 24px;
    font-size: 14px;
}

body.home .hf-home-hero__actions > span {
    font-size: 13px;
}

body.home .hf-home-hero__actions > span::before {
    width: 16px;
    height: 16px;
    border-width: 3px;
}

body.home .hf-feature-points {
    gap: 16px;
    max-width: 580px;
    margin-top: 34px;
}

body.home .hf-feature-point {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 3px 8px;
}

body.home .hf-feature-point > span {
    width: 30px;
    height: 30px;
    border-radius: 10px;
}

body.home .hf-feature-point > span::before {
    width: 16px;
    height: 16px;
}

body.home .hf-feature-point strong {
    font-size: 13px;
}

body.home .hf-feature-point em {
    font-size: 11px;
}

body.home .hf-market-panel {
    padding: 18px;
    border-radius: 14px;
    box-shadow: 0 18px 54px rgba(15, 23, 42, .07);
}

body.home .hf-market-panel__head {
    margin-bottom: 14px;
}

body.home .hf-market-panel__head div {
    font-size: 16px;
}

body.home .hf-market-panel__head a {
    font-size: 11px;
}

body.home .hf-market-cards {
    gap: 10px;
}

body.home .hf-market-card {
    min-height: 136px;
    padding: 15px 12px 9px;
    border-radius: 10px;
}

body.home .hf-market-card span {
    font-size: 12px;
}

body.home .hf-market-card strong {
    margin-top: 13px;
    font-size: 21px;
    font-weight: 820;
}

body.home .hf-market-card em {
    margin-top: 9px;
    font-size: 12px;
}

body.home .hf-market-card svg {
    height: 38px;
}

body.home .hf-hotspot-card {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 12px;
}

body.home .hf-hotspot-card h2 {
    margin-bottom: 10px;
    font-size: 15px;
}

body.home .hf-hotspot-card ol {
    gap: 10px;
}

body.home .hf-hotspot-card li {
    grid-template-columns: 30px minmax(0, 1fr) 64px 50px;
    gap: 9px;
}

body.home .hf-hotspot-card li span {
    width: 24px;
    height: 24px;
    font-size: 11px;
}

body.home .hf-hotspot-card li a {
    font-size: 13px;
    font-weight: 720;
}

body.home .hf-hotspot-card li time,
body.home .hf-hotspot-card li em {
    font-size: 11px;
}

body.home .hf-hotspot-card li em::before {
    width: 9px;
    height: 9px;
}

@media (max-width: 1180px) {
    body.home .hf-home-hero__grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    body.home .hf-market-panel {
        max-width: none;
    }
}

/* Huihe global header and footer alignment 2026-07-08 */
body:not(.home) .site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    padding: 0;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid rgba(226, 239, 235, .92);
    box-shadow: 0 8px 28px rgba(15, 23, 42, .035);
    backdrop-filter: blur(18px);
}

body:not(.home) .site-header__inner,
body:not(.home) .site-footer > .container {
    width: min(calc(100% - 72px), 1380px);
    max-width: 1380px;
}

body:not(.home) .site-header__inner {
    min-height: 76px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 28px;
}

body:not(.home) .site-brand {
    min-width: 184px;
    gap: 10px;
}

body:not(.home) .site-brand__mark,
body:not(.home) .site-brand__image {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

body:not(.home) .site-brand__text strong {
    color: #101828;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0;
}

body:not(.home) .site-brand__text small {
    margin-top: 3px;
    color: #667085;
    font-size: 12px;
    font-weight: 600;
}

body:not(.home) .primary-menu {
    justify-content: center;
    gap: clamp(24px, 2.7vw, 44px);
}

body:not(.home) .primary-menu a {
    min-height: 76px;
    display: inline-flex;
    align-items: center;
    padding: 0;
    color: #27313f;
    font-size: 14px;
    font-weight: 700;
}

body:not(.home) .primary-menu .current-menu-item > a,
body:not(.home) .primary-menu a:hover {
    color: var(--hf-green);
}

body:not(.home) .primary-menu .current-menu-item > a::after,
body:not(.home) .primary-menu a:hover::after {
    bottom: 0;
    height: 3px;
    background: var(--hf-green);
}

body:not(.home) .header-actions {
    gap: 12px;
}

body:not(.home) .icon-button {
    width: 42px;
    height: 42px;
    background: #fff;
    border: 1px solid #dce9e7;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .04);
}

body:not(.home) .header-actions .btn-compact,
body:not(.home) .btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--hf-green), #06b889);
    border: 0;
    border-radius: 999px;
    box-shadow: 0 12px 28px rgba(0, 168, 120, .22);
}

body:not(.home) .header-actions .btn-compact {
    min-height: 42px;
    padding: 0 22px;
    font-size: 14px;
    font-weight: 800;
}

body:not(.home) .site-footer {
    color: #d8e3e8;
    background: #0d1d2b;
}

body:not(.home) .site-footer a,
body:not(.home) .footer-brand p,
body:not(.home) .copyright,
body:not(.home) .icp {
    color: rgba(226, 236, 240, .78);
}

body:not(.home) .footer-links h2,
body:not(.home) .footer-newsletter h2 {
    color: #fff;
}

body:not(.home) .footer-grid {
    grid-template-columns: minmax(280px, 1.4fr) .72fr .72fr .9fr;
    gap: 52px;
}

@media (max-width: 1240px) {
    body:not(.home) .site-header__inner,
    body:not(.home) .site-footer > .container {
        width: min(calc(100% - 40px), 1380px);
    }
}

@media (max-width: 980px) {
    body:not(.home) .site-header__inner {
        min-height: 68px;
        grid-template-columns: auto auto;
        gap: 16px;
    }

    body:not(.home) .site-nav {
        grid-column: 1 / -1;
    }

    body:not(.home) .primary-menu {
        gap: 0;
    }

    body:not(.home) .primary-menu a {
        min-height: 44px;
        padding: 0 10px;
    }

    body:not(.home) .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }
}

@media (max-width: 640px) {
    body:not(.home) .site-header__inner,
    body:not(.home) .site-footer > .container {
        width: min(calc(100% - 28px), 1380px);
    }

    body:not(.home) .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Huihe search page hero polish 2026-07-08 */
.page-hero--search {
    padding: 42px 0 28px;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .94), rgba(255, 255, 255, .74)),
        radial-gradient(circle at 92% 10%, rgba(0, 168, 120, .12), transparent 24rem);
    border-bottom: 1px solid #e6f1ef;
}

.page-hero--search .breadcrumb {
    margin-bottom: 24px;
    font-size: 13px;
}

.page-hero--search .eyebrow {
    min-height: 28px;
    padding: 0 13px;
    color: var(--hf-green);
    background: #effaf6;
    border: 1px solid #d9f3ec;
    font-size: 12px;
    font-weight: 750;
}

.page-hero--search h1 {
    margin: 14px 0 8px;
    color: #172132;
    font-size: clamp(28px, 2.5vw, 38px);
    line-height: 1.2;
    font-weight: 820;
}

.page-hero--search p {
    max-width: 680px;
    margin-bottom: 24px;
    color: #4d6070;
    font-size: 15px;
    line-height: 1.75;
}

.search-hero-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 108px;
    gap: 10px;
    width: min(100%, 760px);
    max-width: 760px;
    align-items: stretch;
}

.search-hero-form input {
    min-height: 48px;
    padding: 0 17px;
    color: #111827;
    background: rgba(255, 255, 255, .96);
    border: 1px solid #d9ebe7;
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .035);
    font-size: 14px;
}

.search-hero-form .btn {
    min-height: 48px;
    width: 108px;
    padding: 0 14px;
    justify-content: center;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.15;
    white-space: nowrap;
}

.search-hero-keywords {
    max-width: 1160px;
    margin-top: 12px;
}

.search-hero-keywords .pill-row {
    gap: 8px;
}

.search-hero-keywords .pill {
    min-height: 34px;
    padding: 0 15px;
    color: #5d4b42;
    background: #fff7f2;
    border: 1px solid #f0ded2;
    border-radius: 9px;
    box-shadow: none;
    font-size: 13px;
    font-weight: 700;
}

.search-hero-keywords .pill:hover {
    color: #fff;
    background: var(--hf-green);
    border-color: var(--hf-green);
}

@media (max-width: 760px) {
    .search-hero-form {
        grid-template-columns: 1fr;
    }

    .search-hero-form .btn {
        width: 100%;
    }
}

