/* 中性色承担页面层级，品牌金用于主操作、选中态和焦点。 */
:root {
    --logo-light-display: block;
    --logo-dark-display: none;
    --brand-ink: var(--ink);
    --brand-muted: var(--ink-3);
    --link-hover: var(--brand-text);
    --hover-surface: var(--paper-2);
    --hover-surface-strong: var(--paper-3);
    --row-hover: var(--paper-3);

    --page: #fff;
    --paper: #fff;
    --paper-2: #f6f7f8;
    --paper-3: #edf0f2;
    --card: #f6f7f8;
    --card-2: var(--paper-3);
    --panel: var(--card);
    --surface-blur: rgba(255,255,255,.94);
    --card-surface: var(--card);
    --card-surface-hover: var(--paper-3);
    --card-glow: none;
    --follow-surface: var(--card);
    --hero-surface: linear-gradient(120deg, var(--paper), var(--brand-wash) 60%, var(--brand-wash-2));
    --hero-veil: linear-gradient(90deg, rgba(255,255,255,.97), rgba(255,249,227,.88));
    --glass: rgba(255,255,255,.88);
    --badge-bg: var(--paper-3);
    --badge-ink: var(--ink-2);
    --badge-line: var(--line);

    --ink: #20242b;
    --ink-2: #414b57;
    --ink-3: #596575;
    --ink-4: #6b7683;
    --line: #dfe3e7;
    --line-2: #edf0f2;
    --line-soft: rgba(32,36,43,.10);
    --hover-ink: rgba(32,36,43,.06);
    --shadow-sm: 0 1px 3px rgba(22,30,43,.05);
    --shadow-md: 0 6px 20px rgba(22,30,43,.08);
    --shadow-lg: 0 14px 40px rgba(22,30,43,.12);
    --card-radius: 14px;
    --card-gap: 20px;
}

/* 显式深色与系统深色沿用同一组中性色。 */
:root[data-theme="dark"] {
    --logo-light-display: none;
    --logo-dark-display: block;
    --page: #181a20;
    --paper: #1e2329;
    --paper-2: #262b33;
    --paper-3: #2b3139;
    --card: #1e2329;
    --card-surface: var(--card);
    --card-surface-hover: var(--paper-3);
    --card-glow: none;
    --follow-surface: var(--card);
    --surface-blur: rgba(24,26,32,.94);
    --hero-veil: linear-gradient(90deg,rgba(30,35,41,.97),rgba(41,37,26,.88));
    --glass: rgba(30,35,41,.92);
    --ink: #f2f4f7;
    --ink-2: #d0d6df;
    --ink-3: #a8b2c0;
    --ink-4: #8995a5;
    --line: #3a414b;
    --line-2: #2b3037;
    --line-soft: rgba(242,244,247,.12);
    --hover-ink: rgba(242,244,247,.08);
}
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --logo-light-display: none;
        --logo-dark-display: block;
        --page: #181a20;
        --paper: #1e2329;
        --paper-2: #262b33;
        --paper-3: #2b3139;
        --card: #1e2329;
        --card-surface: var(--card);
        --card-surface-hover: var(--paper-3);
        --card-glow: none;
        --follow-surface: var(--card);
        --surface-blur: rgba(24,26,32,.94);
        --hero-veil: linear-gradient(90deg,rgba(30,35,41,.97),rgba(41,37,26,.88));
        --glass: rgba(30,35,41,.92);
        --ink: #f2f4f7;
        --ink-2: #d0d6df;
        --ink-3: #a8b2c0;
        --ink-4: #8995a5;
        --line: #3a414b;
        --line-2: #2b3037;
        --line-soft: rgba(242,244,247,.12);
        --hover-ink: rgba(242,244,247,.08);
    }
}

.site-header { border-top: 3px solid var(--brand); }
.xys-logo {
    --logo-size: 46px;
    display: inline-flex;
    align-items: center;
    gap: calc(var(--logo-size) * .12);
    max-width: 100%;
    vertical-align: middle;
}
.xys-logo img {
    display: block;
    height: auto;
}
.xys-logo .xys-logo-for-light { display: var(--logo-light-display); }
.xys-logo .xys-logo-for-dark { display: var(--logo-dark-display); }
.xys-logo-full { width: calc(var(--logo-size) * 3); max-width: 100%; }
.xys-logo-stacked { width: clamp(152px, 24vw, 260px); max-width: 100%; }
.xys-logo-mark { width: var(--logo-size); flex: none; }
.xys-logo-wordmark { width: calc(var(--logo-size) * 2.08); min-width: 0; }
.header-brand { display: flex; align-items: center; min-width: 0; }
.site-logo .xys-logo-full { width: 180px; }
.site-logo { min-height: 44px; border-radius: 4px; }
.site-logo:hover .xys-logo { opacity: .86; }
.site-logo:focus-visible { outline: 2px solid var(--brand-text); outline-offset: 4px; }
.footer-lockup { --logo-size: 54px; }
.tf-sub-lockup { --logo-size: 60px; }
.tf-dl-bar-lockup { --logo-size: 26px; }
.ct-info-logo { --logo-size: clamp(54px, 7vw, 106px); }
.ct-info-copy .ct-info-logo { margin-bottom: 20px; }
.header-search { min-width: 0; border-radius: 8px; background: var(--paper-2); border-color: transparent; }
/* Keep the caret clear while editing; the surrounding search control shows focus. */
.header-search-input:focus::placeholder,
.search-input:focus::placeholder { opacity: 0; }
.header-search:focus-within,
.search-input-wrap:focus-within { border-color: transparent; box-shadow: none; }
.header-search:has(.header-search-input:focus-visible),
.search-input-wrap:has(.search-input:focus-visible) { outline: 2px solid var(--brand-text); outline-offset: 2px; }
.header-search .header-search-input:focus-visible,
.search-input-wrap .search-input:focus-visible { outline: none; box-shadow: none; }
.search-input { min-width: 0; }
.search-input::placeholder { color: var(--ink-3); }
@media (min-width: 769px) and (max-width: 980px) {
    .main-nav > a,
    .nav-discover > summary { padding-inline: 10px; }
}
.header-login { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.header-login:hover { background: var(--paper-2); filter: none; }
.nav-ico { display: none; }
.main-nav a.active { color: var(--brand-text); }
.main-nav a.active::after { background: var(--brand); }
.market-ticker { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.market-ticker:focus-within { overflow-x: auto; scrollbar-width: none; }
.market-ticker:focus-within .market-ticker-track { animation: none; }
.market-ticker:focus-within [aria-hidden="true"] { display: none; }
.market-ticker .ticker-item:focus-visible { outline-offset: -2px; }
@media (max-width: 767px), (prefers-reduced-motion: reduce) {
    .market-ticker { overflow-x: auto; scrollbar-width: none; }
    .market-ticker-track { animation: none; }
    .market-ticker-track [aria-hidden="true"] { display: none; }
}
#tf-main,
#tf-main :focus-visible { scroll-margin-block-start: calc(var(--header-h) + 12px); }
.home-layout { padding-top: 26px; }
.hero-carousel { border-radius: 18px; overflow: hidden; }
.hero-card.xinyunshe-hero {
    background: var(--hero-surface);
    color: var(--brand-ink);
    min-height: 340px;
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    padding: 38px;
    text-decoration: none;
}
.hero-card.xinyunshe-hero::before {
    content: ''; position: absolute; inset: -55% -20%; z-index: -1;
    border: 1px solid rgba(255,255,255,.8); border-radius: 50%; transform: rotate(-24deg);
}
.xinyunshe-hero-copy { position: relative; z-index: 2; width: 70%; }
.xinyunshe-hero h2 { font-size: clamp(35px,4vw,53px); line-height: 1.12; letter-spacing: -.03em; margin: 0 0 16px; font-weight: 800; color: var(--brand-ink); }
.xinyunshe-hero h2>span { display: block; font-size: clamp(23px,2.8vw,34px); letter-spacing: -.8px; margin-top: 10px; }
.xinyunshe-hero-copy p { font-size: 13px; line-height: 1.9; max-width: 350px; color: var(--brand-muted); margin: 0 0 24px; }
.ct-hero-link { display: inline-block; color: var(--brand-text); font-size: 13px; font-weight: 650; border-bottom: 1px solid var(--brand); padding-bottom: 6px; }
.hero-dots { bottom: 17px; }
.hero-arrow { background: var(--glass); color: var(--brand-text); border: 1px solid var(--line); }
.hero-carousel > .hero-arrow { top: 12px; margin-top: 0; }
.hero-carousel > .hero-arrow.is-prev { left: auto; right: 58px; }
.hero-dot.active { background: var(--brand); }
.hero-carousel:has(.xinyunshe-hero.active) .hero-dot:not(.active) { background: var(--ink-4); }
.hero-carousel:has(.xinyunshe-hero.active) .hero-dot.active { box-shadow: inset 0 0 0 1px var(--brand-2); }
.home-section,.sidebar-section { border-radius: 14px; }
.section-title,.sidebar-title { font-weight: 750; letter-spacing: -.4px; }
.section-title .icon,.sidebar-icon { background: var(--brand-tint); color: var(--brand-text); }
.sidebar-section { background: var(--card); }
.sidebar-header { padding-bottom: 13px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.ct-section-intro { color: var(--ink-3); font-size: 13px; line-height: 1.8; margin: -4px 0 18px; }
.ct-topic-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.ct-topic-card { padding: clamp(16px, 3vw, 28px); border: 1px solid var(--line); border-radius: 16px; background: var(--card); overflow-wrap: anywhere; }
.ct-topic-card h3 { font-size: 20px; line-height: 1.5; margin: 0 0 12px; }
.ct-topic-card p { color: var(--ink-2); line-height: 1.9; }
.ct-topic-card ul { margin: 20px 0 0; padding-left: 18px; }
.ct-topic-card li { margin-bottom: 12px; }
.ct-topic-card li:last-child { margin-bottom: 0; }
.ct-topic-card a:hover, .ct-topic-card a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.ct-info-hero { padding: 62px 40px; background: var(--hero-surface); border-radius: 20px; margin: 30px 0; color: var(--brand-ink); }
.ct-info-hero h1 { max-width: 800px; font-size: clamp(28px,4vw,45px); line-height: 1.4; letter-spacing: -1.2px; margin: 0 0 20px; }
.ct-info-hero p { font-size: 16px; line-height: 2; max-width: 800px; }
.ct-info-body { padding: 25px 0 65px; max-width: 900px; }
.ct-info-body h2 { margin: 28px 0 16px; font-size: 24px; }
.ct-info-body p { line-height: 2; color: var(--ink-2); }
.ct-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.ct-button { padding: 12px 22px; display: inline-flex; gap: 12px; align-items: center; background: var(--brand); color: var(--on-brand); border-radius: 8px; font-weight: 650; text-decoration: none; }
.ct-button.is-secondary { background: var(--card); color: var(--ink); border: 1px solid var(--line); }
.home-interviews { scroll-margin-top: calc(var(--header-h) + 16px); }
.home-interviews .section-header { flex-wrap: wrap; gap: 4px 12px; }
.ct-interview-home-link,
.ct-interview-series-link {
  display: inline-flex;
  align-items: center;
  color: var(--brand-ink);
  font-size: var(--fs-sm);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.ct-interview-home-link { min-height: 44px; }
.ct-interview-home-link:hover,
.ct-interview-series-link:hover { color: var(--ink); }
.ct-interview-home-link:focus-visible,
.ct-interview-series-link:focus-visible { outline: 2px solid var(--brand-ink); outline-offset: 3px; }

.ct-interview-promos { display: grid; gap: 12px; }
.ct-interview-promo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 22px clamp(16px, 3vw, 30px);
  border: 1px solid var(--line);
  background: var(--paper-2);
  border-radius: 8px;
}
.ct-topics-interview-promo { margin-block-end: 24px; }
.ct-interview-kicker {
  margin: 0 0 6px;
  color: var(--brand-ink);
  font-size: 13px;
  font-weight: 650;
}
.ct-interview-promo-title {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 750;
  line-height: 1.2;
}
.ct-interview-promo-copy {
  margin: 0;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.65;
}
.ct-interview-action,
.ct-interview-nav a,
.ct-interview-pages a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}
.ct-interview-promo-title:hover,
.ct-interview-results a:hover { text-decoration: underline; text-underline-offset: 0.18em; }
.ct-interview-action:hover,
.ct-interview-nav a:hover,
.ct-interview-pages a:hover { background: var(--hover-surface); }
.ct-interview-promo a:focus-visible,
.ct-interview-archive a:focus-visible { outline: 2px solid var(--brand-ink); outline-offset: 3px; }

.ct-interview-archive {
  width: min(calc(100% - 32px), 920px);
  margin-inline: auto;
  padding-block: clamp(18px, 4vw, 44px) clamp(44px, 7vw, 88px);
}
.ct-interview-nav,
.ct-interview-pages { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ct-interview-nav { margin-block-end: 24px; }
.ct-interview-nav a[aria-current="page"] {
  border-color: var(--brand);
  background: var(--brand-wash);
  color: var(--brand-ink);
}
.ct-interview-intro {
  padding: clamp(20px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper-2);
}
.ct-interview-intro h1,
.ct-interview-series-heading h1 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: clamp(32px, 6vw, 54px);
  line-height: 1.15;
}
.ct-interview-series-heading,
.ct-interview-intro-heading { grid-area: heading; min-width: 0; }
.ct-interview-series-heading h1 { margin: 0; }
.ct-interview-masthead.has-poster {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(164px, 24vw, 232px);
  grid-template-areas: "heading poster" "feature poster";
  align-items: start;
  gap: 16px clamp(16px, 3vw, 28px);
}
.ct-interview-series-poster {
  grid-area: poster;
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.ct-interview-masthead .ct-interview-feature { grid-area: feature; }
.ct-interview-intro.ct-interview-masthead.has-poster { grid-template-areas: "heading poster"; }
.ct-interview-pinned,
.ct-interview-masthead:not(.has-poster) .ct-interview-feature { margin-block-start: 16px; }
.ct-interview-intro p:not(.ct-interview-kicker) {
  max-width: 66ch;
  margin: 0 0 12px;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.8;
}
.ct-interview-about,
.ct-interview-episodes { margin-block-start: clamp(28px, 5vw, 48px); }
.ct-interview-about h2,
.ct-interview-episodes h2 { margin: 0 0 12px; font-size: clamp(20px, 3vw, 26px); }
.ct-interview-about {
  padding-block-start: clamp(18px, 3vw, 28px);
  border-block-start: 1px solid var(--line);
}
.ct-interview-about p {
  max-width: 44em;
  margin: 0 0 12px;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.8;
}
.ct-interview-about .ct-interview-action { margin-block-start: 4px; }
.ct-interview-results { margin: 0; padding: 0; list-style: none; border-block-start: 1px solid var(--line); }
.ct-interview-results li { padding-block: 16px; border-block-end: 1px solid var(--line); }
.ct-interview-results h3 { margin: 4px 0 0; font-size: clamp(17px, 2.5vw, 20px); line-height: 1.45; }
.ct-interview-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; color: var(--ink-2); font-size: 13px; }
.ct-interview-meta span { color: var(--brand-ink); font-weight: 600; }
.ct-interview-pages { margin-block-start: 18px; }
.ct-interview-empty { padding: 16px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink-2); }

@media (max-width: 600px) {
  .ct-interview-promo { align-items: flex-start; flex-direction: column; }
  .ct-interview-nav { margin-block-end: 16px; }
  .ct-interview-intro p:not(.ct-interview-kicker) { line-height: 1.7; }
}
.home-interviews-list { display: grid; gap: 10px; }
.home-interview {
    padding: clamp(14px, 2.1vw, 24px);
    background: var(--page);
    border: 1px solid var(--line);
    border-radius: 10px;
}
.home-interview.has-photo {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(132px, 26%, 190px);
    grid-template-areas: "heading photo" "body photo";
    grid-template-rows: auto 1fr;
    align-items: start;
    column-gap: clamp(16px, 3vw, 36px);
}
.home-interview-heading { grid-area: heading; }
.home-interview-body { grid-area: body; }
.home-interview-byline { margin-block-end: 8px; color: var(--ink-3); font-size: var(--fs-sm); font-weight: 600; }
.home-interview-title {
    margin-block: 6px 14px;
    color: var(--ink);
    font-size: clamp(19px, 2vw, 25px);
    font-weight: 750;
    line-height: 1.45;
    text-wrap: balance;
    overflow-wrap: anywhere;
}
.home-interview-summary {
    margin-bottom: 16px;
    color: var(--ink-2);
    font-size: var(--fs-sm);
    line-height: 1.75;
    overflow-wrap: anywhere;
}
.home-interview-photo { grid-area: photo; margin: 0; }
.af-poster.is-text { display: flex; align-items: end; aspect-ratio: auto; min-height: 124px; }
.af-poster.is-text::after { display: none; }
.af-poster.is-text .af-poster-body { position: static; }
.af-poster.is-text .af-poster-title { color: var(--ink); }
.af-poster.is-text .af-poster-tag { background: var(--brand-tint); color: var(--brand-text); }
.home-interview-image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
}
.article-cover.is-interview { max-width: 440px; margin-inline: auto; }
.article-main .article-title {
    font-size: clamp(24px, 3.1vw, 36px);
    line-height: 1.3;
    overflow-wrap: anywhere;
}
.article-main :is(.article-lede, .entry-content) {
    max-inline-size: 44rem;
    font-size: clamp(16px, 1.45vw, 18px);
    line-height: 1.8;
    overflow-wrap: anywhere;
}
.article-main .entry-content h2 { font-size: clamp(20px, 2vw, 25px); }
.article-main .entry-content img { height: auto; }
.home-interview-photo a:hover { color: var(--link-hover); }
.home-interview-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.home-interview-actions .ct-button {
    justify-content: center;
    min-width: 88px;
    min-height: 44px;
    padding: 6px 14px;
    font-size: var(--fs-sm);
    line-height: 1.4;
}
.home-interview-actions .ct-button:focus-visible { outline: 2px solid var(--brand-text); outline-offset: 2px; }
.home-interview-actions .ct-button.is-copied { color: var(--brand-text); }
.ct-interview-feature {
    padding: clamp(16px, 3.5vw, 34px);
    background: var(--paper-2);
}
.ct-interview-feature.has-photo { grid-template-columns: minmax(0, 1fr) minmax(165px, 34%); }
.ct-interview-feature .home-interview-title { font-size: clamp(21px, 3.8vw, 36px); }
.ct-interview-feature .home-interview-summary { font-size: 15px; }
@media (max-width: 767px) {
    .home-interview.has-photo {
        grid-template-columns: minmax(0, 1fr) 94px;
        grid-template-areas: "heading photo" "body body";
        grid-template-rows: auto auto;
        align-items: center;
        row-gap: 12px;
    }
    .home-interview.has-photo .home-interview-title { margin-bottom: 0; text-wrap: wrap; }
    .ct-interview-feature.has-photo { grid-template-columns: minmax(0, 1fr) 104px; }
    .ct-interview-masthead.has-poster {
        grid-template-columns: minmax(0, 1fr) 92px;
        grid-template-areas: "heading poster" "feature feature";
        align-items: center;
    }
}
.ct-demo-notice { padding: 8px 16px; text-align: center; font-size: 12px; color: var(--brand-text); background: var(--brand-wash); }
.ct-market-note { font-size: 11px; color: var(--ink-3); padding: 10px 0; }
.footer-brand-desc { max-width: 300px; }
@media (max-width: 768px) {
    .site-logo .xys-logo { --logo-size: 38px; }
    .site-logo .xys-logo-full { width: 156px; }
    .footer-lockup { --logo-size: 46px; }
    :root { --header-top-h: 70px; }
    .hero-card.xinyunshe-hero { min-height: 325px; padding: 26px; }
    .xinyunshe-hero-copy { width: 85%; }
    .xinyunshe-hero h2 { font-size: clamp(29px,8.5vw,39px); }
    .xinyunshe-hero h2>span { font-size: 25px; }
    .xinyunshe-hero-copy p { font-size: 12px; max-width: 240px; }
    .ct-topic-grid { grid-template-columns: 1fr; }
    .ct-info-hero { padding: 36px 24px; }
}
.hero-carousel { min-height: 340px; }
@media(max-width:767px) { .hero-carousel { aspect-ratio:auto; min-height:325px; } }
.ct-demo-notice { position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000; border-top: 1px solid var(--line); background: var(--surface-blur); color: var(--brand-text); backdrop-filter: blur(8px); }
.ct-header-download { display:inline-flex; align-items:center; gap:6px; flex-shrink:0; padding:8px 12px; border:1px solid var(--line); border-radius:7px; color:var(--ink); font-size:12px; font-weight:600; }
.ct-header-download:hover { background:var(--brand-wash); color:var(--brand-text); }
@media(max-width:1024px) { .ct-header-download { display:none; } }

/* 品牌轮播保留原有插画。 */
.hero-card.xinyunshe-hero { min-height: 386px; padding: 36px; overflow: hidden; }
.hero-carousel { min-height: 386px; }
.xinyunshe-hero-copy { width: 62%; }
.xinyunshe-hero-copy p { max-width: 310px; }
.xinyunshe-hero h2>span { font-size: clamp(21px,2.5vw,31px); text-wrap: balance; overflow-wrap: anywhere; }
.ct-signal-art { position: absolute; width: 340px; right: -18px; top: 0; pointer-events: none; }
.ct-signal-art img { display: block; width: 100%; height: auto; filter: drop-shadow(0 20px 24px #8f651813); }
/* 快捷入口共用侧栏面板底色，炭灰与黄色点缀图标保留图片原色。 */
#tf-quicklinks .quick-grid { gap: 6px 4px; }
#tf-quicklinks .quick-item { padding: 0 2px 9px; gap: 0; border: 1px solid transparent; border-radius: 12px; }
#tf-quicklinks .quick-item:hover { background: var(--paper); border-color: var(--line); }
#tf-quicklinks .quick-icon,#tf-quicklinks .quick-icon.has-img { width: 80px; height: 80px; border: 0; border-radius: 0; background: none; box-shadow: none; transition: transform .25s ease; }
#tf-quicklinks .quick-icon img { width: 100%; height: 100%; object-fit: contain; }
#tf-quicklinks .quick-item:hover .quick-icon { transform: none; background: none; }
#tf-quicklinks .quick-label { color: var(--ink-2); font-size: 12px; line-height: 1.5; font-weight: 600; }
/* Category cards use editorial objects rather than stock diagonal textures. */
:root .tf-ph.ct-cover { position: relative; isolation: isolate; overflow: hidden; background: var(--hero-surface); color: var(--brand-ink); }
.tf-ph.ct-cover::before,.tf-ph.ct-cover::after { display: none; }
:root .tf-ph.ct-cover-ink { background: var(--brand-wash-2); }
.tf-ph.ct-cover .ct-cover-object { position: absolute; width: 78%; height: 130%; right: -15%; top: -12%; object-fit: contain; z-index: -1; }
.tf-ph.ct-cover .ct-cover-orbit { position: absolute; width: 100%; aspect-ratio: 1; border: 1px solid var(--brand-tint-strong); border-radius: 50%; right: -28%; top: -30%; z-index: -1; }
.tf-ph.ct-cover .tf-ph-cat { position: absolute; top: 15%; left: 10%; max-width: 53%; color: inherit; font-weight: 750; text-align: left; font-size: clamp(11px,1.5vw,19px); text-shadow: none; }
.tf-ph.ct-cover .tf-ph-brand { position: absolute; bottom: 12%; left: 10%; right: auto; color: inherit; opacity: .6; font-size: 7px; letter-spacing: 1px; }
.tf-ph.ct-cover.tf-ph-sm .tf-ph-cat { font-size: 10px; }
.tf-ph.ct-cover.tf-ph-sm .tf-ph-brand { display: none; }
.ct-info-hero.has-art { position: relative; overflow: hidden; min-height: 370px; display: flex; align-items: center; padding: 56px; }
.ct-info-hero.is-brand {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 36px;
}
.ct-info-hero.is-brand .ct-info-copy { width: auto; }
.ct-info-copy { position: relative; z-index: 1; width: 68%; }
.ct-info-object { position: absolute; width: 360px; height: 360px; object-fit: contain; right: 10px; top: calc(50% - 180px); }
.ct-info-hero.has-art h1 { font-size: clamp(28px,3.2vw,42px); }
.ct-info-hero.has-art p { font-size: 15px; max-width: 640px; }
.ct-info-body { max-width: none; }
.ct-service-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.ct-service-card { position: relative; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); overflow: hidden; }
.ct-service-card>img { display: block; width: 140px; height: 140px; margin: 12px 0 0 auto; object-fit: contain; }
.ct-service-card h2 { font-size: 21px; margin: 8px 0 14px; }
.ct-service-card p { font-size: 14px; margin: 0; }
.ct-service-grid:has(>.ct-service-card:only-child) { grid-template-columns: 1fr; }
.ct-service-card:only-child { min-height: 200px; padding-right: 200px; }
.ct-service-card:only-child>img { position: absolute; right: 28px; top: 20px; }
#ct-app-qr { display: inline-block; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 18px; margin-top: 24px; }
#ct-app-qr svg { display: block; width: 180px; height: 180px; }
@media(min-width:768px) and (max-width:1100px) {
    .ct-signal-art { width: 270px; right: -55px; top: 38px; opacity: .75; }
    .xinyunshe-hero-copy { width: 76%; }
    .ct-info-object { right: -60px; opacity: .5; }
}
@media(max-width:767px) {
    .home-layout { padding-top: 16px; }
    .hero-card.xinyunshe-hero,.hero-carousel { min-height: 292px; }
    .hero-card.xinyunshe-hero { padding: 20px 24px 32px; }
    .xinyunshe-hero-copy { width: 90%; }
    .xinyunshe-hero h2>span { font-size: 24px; }
    .xinyunshe-hero-copy p { max-width: 230px; }
    .ct-signal-art { width: 218px; right: -84px; top: 72px; opacity: .48; }
    #tf-quicklinks .quick-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); overflow: visible; gap: 6px; }
    #tf-quicklinks .quick-item { flex: auto; min-width: 0; }
    #tf-quicklinks .quick-icon,#tf-quicklinks .quick-icon.has-img { width: 72px; height: 72px; }
    #tf-quicklinks .quick-label { font-size: 12px; }
    .ct-info-hero.has-art { min-height: 0; padding: 30px 24px 190px; }
    .ct-info-hero.is-brand { grid-template-columns: 1fr; padding: 30px 24px; gap: 22px; }
    .ct-info-hero.is-brand > .ct-info-logo { grid-row: 1; }
    .ct-info-copy { width: 100%; }
    .ct-info-object { width: 210px; height: 210px; top: auto; bottom: -12px; right: 8px; }
    .ct-info-hero.has-art p { font-size: 14px; }
    .ct-service-grid { grid-template-columns: 1fr; }
    .ct-service-card { padding: 24px; }
    .ct-service-card>img { width: 110px; height: 110px; margin-top: -10px; }
    .ct-service-card:only-child { padding-right: 24px; }
    .ct-service-card:only-child>img { position: static; }
}
@media(prefers-reduced-motion:reduce) { #tf-quicklinks .quick-icon { transition: none; } }
.hero-cover.ct-editorial-cover .ct-cover { display: block; width: 100%; height: 100%; }
.hero-cover.ct-editorial-cover .ct-cover-object { width: 65%; right: -5%; height: 125%; top: -20%; }
.hero-cover.ct-editorial-cover .tf-ph-cat { display: none; }
.hero-card-plain:has(.ct-editorial-cover) .hero-body { background: linear-gradient(0deg,#261b0bed 0%,#261b0bba 30%,transparent 72%); }
/* Section mastheads and learning covers complete the same visual family. */
.list-banner { background: var(--hero-surface); }
.ct-banner-object { position: absolute; width: 260px; height: 260px; right: 41%; top: -32px; opacity: .16; object-fit: contain; pointer-events: none; }
.list-banner:not(.has-slider):not(.has-cta-aside) .ct-banner-object { right: 24px; opacity: .9; }
.list-banner:not(.has-slider):not(.has-cta-aside) .list-banner-text { max-width: calc(100% - 260px); }
.tf-learn-tab .ct-learn-object { width: 52px; height: 52px; background: none; padding: 0; border-radius: 0; flex-shrink: 0; }
.tf-learn-next-card .ct-learn-object { width: 64px; height: 64px; background: none; padding: 0; border-radius: 0; flex-shrink: 0; }
.tf-kb-cover { background: var(--brand-wash-2) !important; color: var(--brand-text) !important; }
.tf-kb-cover::before,.tf-kb-cover::after { display: none !important; }
.tf-kb-cover img { width: 100%; height: 100%; object-fit: contain; }
.tf-kb-cover b { color: var(--brand-muted); z-index: 1; }
@media(max-width:767px) {
    .ct-banner-object { width: 200px; height: 200px; top: 0; right: -30px; opacity: .18; }
    .list-banner:not(.has-slider):not(.has-cta-aside) .ct-banner-object { right: -30px; opacity: .22; }
    .list-banner:not(.has-slider):not(.has-cta-aside) .list-banner-text { max-width: 100%; }
    .list-banner.is-data .ct-banner-object { display: none; }
}
@media(max-width:767px) {
    #tf-quicklinks { padding: 12px 12px 8px; }
    #tf-quicklinks .sidebar-header { display: flex; margin-bottom: 4px; }
}
.tf-kb-hero-art { background: var(--hero-surface); }
.ct-learning-feature { position: relative; width: 200px; height: 168px; object-fit: contain; }
.tf-bslide-item:not(.has-thumb)::before { background: url('../illustrations/hero/signal-clock.webp') right -25px center / 240px 240px no-repeat; -webkit-mask: none; mask: none; opacity: .18; }
@media(max-width:767px) { .ct-learning-feature { width: 96px; height: 110px; } }

/* Restrained editorial links: the label carries the action. */
.hero-card.xinyunshe-hero:hover { transform: none; box-shadow: none; }
.hero-card.xinyunshe-hero:focus-visible { outline: 2px solid var(--brand-text); outline-offset: -4px; }
.ct-hero-link { font-weight: 600; }
.tf-learn-tab { padding-right: 16px; }
.tf-learn-tab:hover,.tf-tool-card:hover,.tf-learn-next-card:hover { transform: none; }
.ct-service-card>img { margin-top: 0; }

/* 栏目横幅共用浅黄色调，后台配置的图片保留可读遮罩。 */
.list-banner.has-image::before { opacity: .22; }
.list-banner.has-image::after { background: var(--hero-veil); }
.list-banner-title { color: var(--brand-ink); }
.list-banner-desc,.list-banner-lead,.list-banner-stat,.list-banner-back { color: var(--brand-muted); }
.list-banner-kicker,.list-banner-stat strong,.list-banner-lead.is-strong { color: var(--brand-text); }
.list-banner-back:hover { color: var(--brand-text); }
.list-banner-badge { background: var(--glass); border-color: var(--line); color: var(--brand-text); }
.list-banner-cta { box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); }

/* Text-only slides follow the page palette; editorial images keep a readable scrim. */
.tf-bslide-item:not(.has-thumb) .tf-bslide-title { color: var(--brand-ink); }
.tf-bslide-item:not(.has-thumb) .tf-bslide-meta { color: var(--brand-muted); }
.tf-bslide-item:not(.has-thumb) .tf-bslide-tag { background: var(--brand-tint); color: var(--brand-text); }
a.tf-bslide-item:not(.has-thumb):hover .tf-bslide-title { color: var(--brand-text); }
.tf-bslide-label,.tf-bslide-arrow,.hero-arrow {
    background: var(--glass);
    color: var(--brand-text);
    box-shadow: inset 0 0 0 1px var(--line);
}
.tf-bslide-nav { background: var(--brand-muted); }
.tf-bslide-nav:hover { background: var(--brand-text); }
.tf-bslide-nav.is-active { background: var(--brand); }

/* Shared callouts and cover fallbacks no longer introduce black or olive blocks. */
.cxv-cta-card,.colp-hero.is-default { background: var(--hero-surface); color: var(--brand-ink); }
.cxv-cta-card p { color: var(--brand-muted); }
.cxv-cta-icon { background: var(--brand-tint); color: var(--brand-text); }
.colp-hero.is-default .colp-hero-overlay { background: none; }
.colp-hero-crumb a { background: var(--glass); color: var(--brand-text); }
.colp-hero-crumb a:hover { color: var(--brand-text); background: var(--brand-wash-2); }
.tf-kb-item-num,.tf-lesson-kicker { background: var(--brand-wash-2); color: var(--brand-text); }
.tf-kb-hero-mark { color: var(--brand-text); }
.tf-ev-hero { background: var(--hero-surface); }
.tf-ev-hero:not(:has(.tf-ev-hero-bg)) .tf-ev-hero-scrim { background: none; }
.tf-ev-hero:not(:has(.tf-ev-hero-bg)) .tf-ev-hero-title { color: var(--brand-ink); text-shadow: none; }
.tf-ev-hero:not(:has(.tf-ev-hero-bg)) .tf-ev-hero-meta { color: var(--brand-muted); text-shadow: none; }
.tf-ev-hero:not(:has(.tf-ev-hero-bg)) .tf-ev-hero-ghost { background: var(--glass); border-color: var(--line); color: var(--brand-text); }
.ct-info-hero p { color: var(--brand-muted); }
.ct-button:hover { background: var(--brand-hover); color: var(--on-brand); }
.ct-button.is-secondary:hover { background: var(--brand-wash-2); color: var(--brand-text); }
.follow-card { border: 1px solid var(--line); box-shadow: none; }
::selection { background: var(--brand-tint-strong); color: var(--ink); }
:focus-visible { outline-color: var(--brand-text); }

/* 活动海报旁使用中性信息面板。 */
.evx-hero-panel { background: var(--hero-surface); color: var(--brand-ink); }
.evx-hero-title { color: var(--brand-ink); }
.evx-hero-excerpt,.evx-hero-meta { color: var(--brand-muted); }
.evx-hero-meta svg { color: var(--brand-text); }
.evx-hero-cta { background: var(--brand); color: var(--on-brand); }
.evx-hero-slide:hover .evx-hero-cta { background: var(--brand-hover); }
.evx-hero-dot { background: var(--brand-muted); }
.evx-hero-dot.active { background: var(--brand); }

.tf-ph.ct-cover .tf-ph-cat,.tf-ph.ct-cover .tf-ph-brand { color: inherit; }

/* Keep the original illustration geometry. Recolor only theme-owned art. */
img[src*="/assets/illustrations/objects/"],
img[src*="/assets/illustrations/hero/"],
.tf-bslide-item:not(.has-thumb)::before {
    filter: hue-rotate(-87deg);
}
.ct-signal-art img {
    filter: hue-rotate(-87deg) drop-shadow(0 20px 24px rgba(22,30,43,.12));
}
