/* FateClear v1.2. Shared neutral surfaces, readable type and responsive page recipes.
   The existing calculation and screen styles stay in place. This entry owns visual roles. */
html:root[data-fc-ui="v12"] {
  --fc-canvas: #f7f5f3;
  --fc-surface: #fff;
  --fc-text: #0d0d0d;
  --fc-muted: #6e6a69;
  --fc-border: #dddbd9;
  --fc-soft: #f0eeec;
  --fc-on-action: #fff;
  --fc-display: "Songti SC", "Noto Serif SC", "Source Han Serif SC", "STSong", Georgia, serif;
  --fc-body: "PingFang SC", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --f-display: var(--fc-display); --f-head: var(--fc-display); --f-body: var(--fc-body); --f-num: var(--fc-body);
  --xt-black: var(--fc-display); --xt-head: var(--fc-display); --xt-body: var(--fc-body);
  --serif: var(--fc-display); --sans: var(--fc-body); --mono: var(--fc-body);
  --l0: var(--fc-canvas); --l1: var(--fc-surface); --l2: var(--fc-soft); --l3: var(--fc-border);
  --paper: var(--fc-canvas); --ink: var(--fc-text); --ink2: var(--fc-muted);
  --line: var(--fc-border); --line2: var(--fc-muted);
  --accent: var(--fc-text); --x-accent: var(--fc-text); --x-accent-soft: var(--fc-soft);
  --gold: var(--fc-text); --gold2: var(--fc-text); --gold-text: var(--fc-text); --gold-ink: var(--fc-on-action); --gold-soft: var(--fc-soft);
  --ui-font-display: var(--fc-display); --ui-font-body: var(--fc-body); --ui-font-mono: var(--fc-body);
  --ui-bg: var(--fc-canvas); --ui-surface: var(--fc-surface); --ui-surface-2: var(--fc-soft);
  --ui-ink: var(--fc-text); --ui-muted: var(--fc-muted); --ui-line: var(--fc-border); --ui-line-strong: var(--fc-muted);
  --ui-header-bg: var(--fc-canvas); --ui-btn-bg: var(--fc-text); --ui-btn-ink: var(--fc-on-action); --ui-btn-border: var(--fc-text);
  --ui-btn-hover: var(--fc-text); --ui-btn-shadow: none; --ui-callout: var(--fc-surface); --ui-callout-bar: transparent;
  --ui-hero: var(--fc-surface); --ui-hero-ink: var(--fc-text); --ui-sel-bg: var(--fc-soft); --ui-sel-ink: var(--fc-text);
  --ui-tab: var(--fc-text); --ui-num-bg: var(--fc-soft); --ui-num-ink: var(--fc-text); --ui-daybar: var(--fc-text);
  --ui-h-weight: 400; --ui-btn-weight: 500; --ui-h-ls: 0; --ui-btn-ls: 0;
  --ui-shadow: none; --dp-up: none; --dp-up-hi: none; --dp-in: none; --dp-in-deep: none;
  --dp-card: none; --dp-groove: none; --dp-grain: none; --dp-hair: none; --dp-glow: none;
  --dp-gold-btn: none; --dp-gold-btn-sh: none; --dp-clouds: none;
  --ui-r-sm: 12px; --ui-r-md: 16px; --ui-r-lg: 24px; --ui-r-btn: 999px;
  --fc-header: 72px; --fc-page-width: 1200px; --fc-gutter: 24px;
  color-scheme: light;
  scroll-padding-top: 104px;
}
html:root[data-fc-ui="v12"]:is([data-theme="night"], [data-tone="dark"]) {
  --fc-canvas: #171717; --fc-surface: #232323; --fc-soft: #2d2d2d;
  --fc-text: #f5f5f3; --fc-muted: #b9b5b2; --fc-border: #44413f; --fc-on-action: #171717;
  color-scheme: dark;
}
html[data-fc-ui="v12"] body {
  background: var(--fc-canvas) !important;
  color: var(--fc-text);
  font: 400 17px/1.8 var(--fc-body) !important;
  -webkit-font-smoothing: antialiased;
}
html[data-fc-ui="v12"] [hidden] { display: none !important; }
html[data-fc-ui="v12"] body::before,
html[data-fc-ui="v12"] body::after,
html[data-fc-ui="v12"] :is(.dp-sky,.dp-veil,.halo,.wash,.moon,.numeral,.rule) { display: none !important; }
html[data-fc-ui="v12"] :is(h1,h2,h3,h4,h5,h6) { color: var(--fc-text); letter-spacing: 0; text-wrap: balance; }
html[data-fc-ui="v12"] body :is(h1,h2) { font-family: var(--fc-display) !important; font-weight: 400 !important; }
html[data-fc-ui="v12"] :is(h3,h4,h5,h6) { font-family: var(--fc-body); font-weight: 500; }
html[data-fc-ui="v12"] :is(p,li,dd) { text-wrap: pretty; }
html[data-fc-ui="v12"] :is(button,input,select,textarea,summary,label,legend) { font-family: var(--fc-body) !important; letter-spacing: 0 !important; }
html[data-fc-ui="v12"] :is(button,a,input,select,textarea,summary):focus-visible { outline: 2px solid var(--fc-text); outline-offset: 4px; }
html[data-fc-ui="v12"] :is(input,textarea)::placeholder { color: var(--fc-muted); opacity: 1; }
html[data-fc-ui="v12"] button { cursor: pointer; }
html[data-fc-ui="v12"] button:disabled { cursor: not-allowed; }
html[data-fc-ui="v12"] :is(.lab,.rp-eyebrow,.fc-eyebrow) { font: 400 14px/1.5 var(--fc-body); letter-spacing: 0; }
html[data-fc-ui="v12"] :is(.reveal,.reveal.in) { opacity: 1; transform: none; }
html[data-fc-ui="v12"] :is(.fc-drop,.rp-lead)::first-letter { float: none !important; font: inherit !important; padding: 0 !important; margin: 0 !important; }
.fc-sr-only { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip-path: inset(50%); white-space: nowrap; }
.fc-muted { color: var(--fc-muted); }

/* One frame for public pages and calculators. */
html[data-fc-ui="v12"] body :is(header.top,.app-header.site-header) {
  height: var(--fc-header); min-height: var(--fc-header); max-width: none;
  margin: 0; padding: 0 max(var(--fc-gutter),calc((100vw - var(--fc-page-width))/2));
  display: flex; align-items: center; gap: 24px;
  background: var(--fc-canvas); border: 0; box-shadow: none; backdrop-filter: none;
  position: relative; top: auto; z-index: 40;
}
html[data-fc-ui="v12"] :is(.top .logo,.brand-title) { flex: 0 0 auto; min-width: 160px; margin: 0; font-size: 22px; }
html[data-fc-ui="v12"] .brand-title > span { display: none; }
html[data-fc-ui="v12"] .brand-title > small { display: none; }
html[data-fc-ui="v12"] :is(.top .logo img,.brand-title img) { filter: none; }
html[data-fc-ui="v12"] :is(.top .xt-nav,.xt-top) { display: flex; position: static; transform: none; flex: 1; justify-content: center; align-items: center; gap: 24px; padding: 0; margin: 0; }
html[data-fc-ui="v12"] :is(.xt-top,.xt-nav) > :is(a,button,.dd) { flex: 0 0 auto; }
html[data-fc-ui="v12"] :is(.xt-top,.xt-nav) :is(a,button) { font: 400 15px/1.4 var(--fc-body) !important; color: var(--fc-text); }
html[data-fc-ui="v12"] :is(.xt-top,.xt-nav) > a,
html[data-fc-ui="v12"] :is(.xt-top,.xt-nav) > .dd > button { min-height: 44px; padding: 12px 0; border: 0; background: none; box-shadow: none; }
html[data-fc-ui="v12"] :is(.xt-top,.xt-nav) [aria-current="page"] { text-decoration: underline; text-underline-offset: 7px; text-decoration-thickness: 1px; }
html[data-fc-ui="v12"] .xt-top > [data-top="mine"] { display: none; }
html[data-fc-ui="v12"] :is(.top,.site-header) :is(.fc-tools,.app-shortcuts) { display: flex; align-items: center; flex: 0 0 auto; gap: 12px; padding: 0; margin: 0; }
html[data-fc-ui="v12"] :is(.top,.site-header) .xt-lang { gap: 6px; display: flex; align-items: center; margin: 0; }
html[data-fc-ui="v12"] :is(.top,.site-header) .xt-lang a { min-height: 44px; min-width: 30px; padding: 12px 4px; font: 400 14px/1.4 var(--fc-body); color: var(--fc-muted); }
html[data-fc-ui="v12"] :is(.top,.site-header) .xt-lang a[aria-current] { color: var(--fc-text); box-shadow: none; text-decoration: underline; text-underline-offset: 6px; }
html[data-fc-ui="v12"] .xt-band-lang { padding: 0; max-width: none; margin: 0; }
html[data-fc-ui="v12"] :is(#tg,.tone-switch) { width: auto !important; min-width: 44px; height: 44px !important; padding: 10px 12px; border-radius: 999px; background: transparent !important; border: 1px solid var(--fc-border); box-shadow: none !important; font: 400 14px/1.4 var(--fc-body); }
html[data-fc-ui="v12"] :is(#tg,.tone-switch)::before,
html[data-fc-ui="v12"] :is(#tg,.tone-switch)::after { display: none !important; }
html[data-fc-ui="v12"] .tone-switch > span { display: inline !important; position: static !important; width: auto !important; height: auto !important; opacity: 1 !important; color: var(--fc-text); font-size: 14px; clip: auto !important; clip-path: none !important; }
html[data-fc-ui="v12"] .tone-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
html[data-fc-ui="v12"] .tone-switch:has(input:focus-visible) { outline: 2px solid var(--fc-text); outline-offset: 4px; }
html[data-fc-ui="v12"] :is(.fc-pill,.site-account-menu > summary) { border-radius: 999px; min-height: 44px; padding: 11px 18px; background: var(--fc-surface); border: 1px solid var(--fc-border); color: var(--fc-text); box-shadow: none; font: 400 15px/1.4 var(--fc-body); }
html[data-fc-ui="v12"] :is(.xt-top,.xt-nav) .menu { border-radius: 16px; background: var(--fc-surface); border: 1px solid var(--fc-border); box-shadow: none; padding: 12px; min-width: 240px; }
html[data-fc-ui="v12"] :is(.xt-top,.xt-nav) .menu a { min-height: 44px; padding: 10px 12px; border-radius: 8px; }
html[data-fc-ui="v12"] :is(.xt-top,.xt-nav) .menu small { display: block; color: var(--fc-muted); font-size: 13px; }
html[data-fc-ui="v12"] :is(.xt-top,.xt-nav) .menu a:hover { background: var(--fc-soft); }
html[data-fc-ui="v12"] body :is(main.xt-main,main.shell,main.home-main) { max-width: var(--fc-page-width) !important; width: calc(100% - 48px) !important; padding: 40px 0 0 !important; margin: 0 auto !important; min-width: 0; }
html[data-fc-ui="v12"] body main:has(.fc-home) { padding-top: 0 !important; }
html[data-fc-ui="v12"] body .foot { max-width: 1200px; width: calc(100% - 48px); margin: 100px auto 0; padding: 40px 0 48px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 40px; border-top: 1px solid var(--fc-border); font: 400 14px/1.7 var(--fc-body); }
html[data-fc-ui="v12"] .foot :is(b,a) { font-family: var(--fc-body); }
html[data-fc-ui="v12"] .foot .xt-legal { flex: 1 1 100%; display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 20px; }

/* Controls retain their native semantics and event handlers. */
html[data-fc-ui="v12"] :is(.btn,.fc-btn,.submit-button,.fc-primary,.fc-secondary,.fc-text-link) { letter-spacing: 0 !important; font: 500 16px/1.4 var(--fc-body) !important; text-shadow: none; box-shadow: none !important; }
html[data-fc-ui="v12"] :is(.btn,.fc-btn,.submit-button,.fc-primary) { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; height: auto; padding: 13px 24px; border: 1px solid var(--fc-text); border-radius: 999px; background: var(--fc-text) !important; color: var(--fc-on-action) !important; }
html[data-fc-ui="v12"] :is(.btn.ghost,.fc-secondary) { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 13px 24px; background: var(--fc-surface) !important; color: var(--fc-text) !important; border: 1px solid var(--fc-border); border-radius: 999px; }
html[data-fc-ui="v12"] .fc-text-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; border: 0; padding: 8px 0; background: none; color: var(--fc-text); }
html[data-fc-ui="v12"] :is(.fc-primary,.fc-secondary,.btn):hover { opacity: .82; transform: none; }
.fc-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
html[data-fc-ui="v12"] :is(.input-panel,.tz-panel,.hp-person,.fc-reading-summary,.rp-card,.fx-pack,.xt-grid > a) { box-shadow: none; background-image: none; }
html[data-fc-ui="v12"] input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]),
html[data-fc-ui="v12"] :is(select,textarea) { background: var(--fc-surface) !important; color: var(--fc-text); border: 1px solid var(--fc-border); border-radius: 14px; box-shadow: none !important; font-size: 16px !important; min-height: 48px; padding: 11px 14px; }
html[data-fc-ui="v12"] :is(input[type="radio"],input[type="checkbox"]) { accent-color: var(--fc-text); }

/* Home and character atlas. */
.fc-home-hero { display: grid; grid-template-columns: .88fr 1.12fr; align-items: center; gap: 64px; padding: 72px 0 80px; }
.fc-home-copy { min-width: 0; }
.fc-home-kicker { margin: 0 0 26px; font: 400 16px/1.5 var(--fc-body); color: var(--fc-muted); }
html[data-fc-ui="v12"] .fc-home h1 { margin: 0 0 32px; font: 400 68px/1.25 var(--fc-display) !important; letter-spacing: -.01em; }
.fc-home-lead { font: 400 20px/1.8 var(--fc-body); color: var(--fc-muted); margin: 0 0 36px; }
.fc-home-note { font: 400 14px/1.6 var(--fc-body); color: var(--fc-muted); margin: 18px 0 0; }
.fc-featured-character { overflow: hidden; min-width: 0; border-radius: 24px; margin: 0; background: var(--fc-surface); }
.fc-featured-image { aspect-ratio: 1.08; overflow: hidden; background: #fff; }
.fc-featured-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; transition: opacity 240ms ease-out; }
.fc-featured-character figcaption { display: flex; align-items: center; gap: 18px; padding: 20px 24px; flex-wrap: wrap; }
.fc-featured-name { display: flex; align-items: baseline; gap: 16px; flex: 1; }
.fc-featured-name strong { font: 400 30px/1.3 var(--fc-display); white-space: nowrap; }
.fc-featured-name > span { color: var(--fc-muted); font-size: 14px; white-space: nowrap; }
.fc-image-gender { display: inline-flex; align-items: center; gap: 4px; }
.fc-image-gender button { border: 0; background: none; min-width: 44px; min-height: 44px; padding: 8px; color: var(--fc-muted); font-size: 14px; }
.fc-image-gender button[aria-pressed="true"] { color: var(--fc-text); text-decoration: underline; text-underline-offset: 6px; }
.fc-character-arrows { display: flex; gap: 8px; }
.fc-character-arrows button { display: grid; place-items: center; border: 1px solid var(--fc-border); border-radius: 50%; width: 44px; height: 44px; background: transparent; color: var(--fc-text); font-size: 24px; line-height: 1; }
.fc-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
html[data-fc-ui="v12"] .fc-section-heading h2 { margin: 0; font-size: 36px; line-height: 1.4; }
.fc-section-heading p { margin: 10px 0 0; color: var(--fc-muted); font-size: 16px; }
.fc-atlas { padding-top: 24px; }
.fc-atlas-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 24px 16px; }
.fc-character-card { min-width: 0; color: var(--fc-text); display: block; }
.fc-character-image { aspect-ratio: 1; overflow: hidden; border-radius: 16px; background: #fff; }
.fc-character-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 240ms ease-out; }
.fc-character-card:hover img { transform: scale(1.025); }
.fc-character-caption { position: relative; padding: 14px 4px 0; }
html[data-fc-ui="v12"] .fc-character-caption h3 { margin: 0; font: 400 24px/1.4 var(--fc-display); }
.fc-character-caption p { margin: 3px 0 0; font-size: 14px; color: var(--fc-muted); }
.fc-character-caption > span { position: absolute; top: 14px; right: 4px; font-size: 20px; }
.fc-home-lookup { margin-top: 40px; padding: 20px 24px; border-radius: 16px; background: var(--fc-surface); }
.fc-home-lookup summary { cursor: pointer; font-size: 16px; min-height: 32px; }
.fc-home-lookup > p { margin-top: 16px; font-size: 14px; color: var(--fc-muted); }
html[data-fc-ui="v12"] .fc-home-lookup .rzq { max-width: none; margin: 20px 0; }
.fc-home-reading { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; margin-top: 120px; }
html[data-fc-ui="v12"] .fc-home-reading h2 { font-size: 40px; line-height: 1.45; margin: 0 0 24px; }
.fc-home-reading > div > p:not(.fc-home-kicker) { max-width: 34em; color: var(--fc-muted); margin-bottom: 24px; }
.fc-reading-preview { padding: 32px; border-radius: 24px; background: var(--fc-surface); }
.fc-reading-preview > a { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; border-bottom: 1px solid var(--fc-border); }
.fc-reading-preview > a strong { font-size: 18px; font-weight: 400; }
.fc-reading-preview > p { margin: 20px 0 0 !important; font-size: 14px; }
.fc-home-tools,.fc-home-knowledge { margin-top: 120px; }
.fc-tool-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; }
.fc-tool-list > a { display: grid; grid-template-columns: 1fr auto; padding: 24px 0; border-top: 1px solid var(--fc-border); gap: 8px; }
html[data-fc-ui="v12"] .fc-tool-list h3 { font-size: 22px; margin: 0; font-weight: 500; }
.fc-tool-list p { grid-column: 1; margin: 0; font-size: 15px; color: var(--fc-muted); }
.fc-tool-list > a > span { grid-area: 1/2/3/3; align-self: center; font-size: 24px; }
html[data-fc-ui="v12"] .fc-home-knowledge .kb-chips { display: flex; gap: 12px; padding: 0; margin-top: 24px; }
html[data-fc-ui="v12"] .fc-home-knowledge .kb-chips a { background: var(--fc-surface); padding: 14px 20px; border: 0; border-radius: 999px; text-decoration: none; font: 400 16px/1.5 var(--fc-body); }

/* Birth entry: fields, not decorative artwork, lead the task. */
html[data-fc-ui="v12"] .xt-band { max-width: none; margin: 0 0 32px; padding: 0 !important; }
html[data-fc-ui="v12"] .xt-band h1 { margin: 0; font-size: 44px; line-height: 1.35; }
html[data-fc-ui="v12"] .xt-band > p { color: var(--fc-muted); font-size: 17px; line-height: 1.7; margin: 10px 0 0; }
html[data-fc-ui="v12"] body[data-active-screen="input"] .xt-mini { display: none; }
html[data-fc-ui="v12"] body.site-workspace[data-style] .input-workspace { display: grid; grid-template-columns: minmax(0,760px) minmax(220px,1fr); gap: 56px; width: 100%; max-width: none; padding: 0; margin: 0; align-items: start; border: 0; background: transparent; }
html[data-fc-ui="v12"] body.site-workspace[data-style] #birth-form { display: grid; grid-template-columns: minmax(0,1fr) minmax(180px,.75fr); gap: 24px; width: 100%; max-width: none; margin: 0; padding: 32px; border: 0; border-radius: 24px; background: var(--fc-surface); box-shadow: none; }
html[data-fc-ui="v12"] #birth-form > * { min-width: 0; margin: 0; grid-column: 1/-1; }
html[data-fc-ui="v12"] #birth-form > :is(.form-title,.form-lede) { display: none; }
html[data-fc-ui="v12"] #birth-form > .case-alias-field { grid-column: 1; }
html[data-fc-ui="v12"] #birth-form > .gender-field { grid-column: 2; }
html[data-fc-ui="v12"] #birth-form :is(label,legend) { font-size: 15px; line-height: 1.5; font-weight: 400; }
html[data-fc-ui="v12"] #birth-form > label input { width: 100%; margin-top: 10px; }
html[data-fc-ui="v12"] #birth-form .gender-segments { display: flex; gap: 8px; padding: 0; background: none; box-shadow: none; border: 0; margin-top: 10px; }
html[data-fc-ui="v12"] #birth-form .gender-segments::before { display: none; }
html[data-fc-ui="v12"] #birth-form .gender-segments label { flex: 1; min-height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid var(--fc-border); padding: 10px 14px; background: transparent; color: var(--fc-text); box-shadow: none; }
html[data-fc-ui="v12"] #birth-form .gender-segments label:has(input:checked) { background: var(--fc-soft); border-color: var(--fc-text); }
html[data-fc-ui="v12"] #birth-form .gender-segments input { position: absolute; opacity: 0; }
html[data-fc-ui="v12"] #birth-form .birth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
html[data-fc-ui="v12"] #birth-form .birth-grid input { margin-top: 10px; width: 100%; }
html[data-fc-ui="v12"] #birth-form .birth-place { border: 0; padding: 0; }
html[data-fc-ui="v12"] #birth-form .birth-place legend { margin-bottom: 10px; }
html[data-fc-ui="v12"] #birth-form .place-search-label { display: none; }
html[data-fc-ui="v12"] #birth-form .fc-form-details { border-top: 1px solid var(--fc-border); padding-top: 16px; }
html[data-fc-ui="v12"] #birth-form .fc-form-details summary { color: var(--fc-text); min-height: 44px; padding: 10px 0; font-size: 15px; }
html[data-fc-ui="v12"] #birth-form #fc-place-manual { border-top: 0; padding-top: 8px; }
html[data-fc-ui="v12"] #birth-form .place-grid { margin-top: 16px; gap: 12px; }
html[data-fc-ui="v12"] #birth-form .birth-checks { padding: 0; min-height: 0; }
html[data-fc-ui="v12"] #birth-form .submit-button { position: static !important; width: fit-content; min-width: 160px; inset: auto !important; margin-top: 4px; }
html[data-fc-ui="v12"] #birth-form .privacy-note { padding: 0; margin: -8px 0 0; font: 400 14px/1.7 var(--fc-body); color: var(--fc-muted); }
html[data-fc-ui="v12"] #birth-form :is(#birth-status,#error-message):empty { display: none; }
html[data-fc-ui="v12"] #birth-form :is(.error,.fc-gender-error) { color: #a12a28; }
html[data-fc-ui="v12"] :is(.fx-input-art,#fx-fig) { display: none !important; }
.fc-input-help { padding: 12px 0; }
.fc-input-help-head { display: flex; gap: 16px; align-items: center; margin-bottom: 32px; }
.fc-input-help-head img { width: 88px; height: 88px; object-fit: contain; }
html[data-fc-ui="v12"] .fc-input-help h2 { font-size: 24px; line-height: 1.5; margin: 0; }
.fc-input-help dl { margin: 0; }
.fc-input-help dt { font-size: 17px; font-weight: 500; margin-top: 24px; }
.fc-input-help dd { font-size: 15px; color: var(--fc-muted); line-height: 1.8; margin: 6px 0 0; }
.fc-input-help .fc-text-link { margin-top: 28px; font-size: 15px !important; }
html[data-fc-ui="v12"] #birth-form [data-fc-unknown-hour] { display: flex; gap: 8px; align-items: center; font-size: 14px; margin-top: 12px; min-height: 44px; }
html[data-fc-ui="v12"] #birth-form [data-fc-unknown-hour] input { width: 18px; height: 18px; margin: 0; }
html[data-fc-ui="v12"] #birth-form [data-fc-unknown-hour] small { color: var(--fc-muted); }

/* Real chart and reading surfaces. Functional hides remain owned by the screen controller. */
html[data-fc-ui="v12"] :is(.chart-dock,.fc-reading-summary,.rp-card,.overview-panel,.natal-panel,.timeline-panel,.reference-panel) { border-radius: 24px; border: 0; background: var(--fc-surface); box-shadow: none; }
html[data-fc-ui="v12"] body .chart-dock { position: relative; top: auto; max-width: none; margin: 0 0 24px; padding: 28px 32px; }
html[data-fc-ui="v12"] #dock-grid { gap: 16px; }
html[data-fc-ui="v12"] #dock-grid :is(button,.dock-pillar) { background: var(--fc-surface); border-color: var(--fc-border); box-shadow: none; }
html[data-fc-ui="v12"] #dock-grid .is-day { background: var(--fc-soft); }
html[data-fc-ui="v12"] :is(.dock-meta,.dock-profile,.dock-basis,.dock-time,.fc-rs-k,.fc-rs-point p) { font-family: var(--fc-body); }
html[data-fc-ui="v12"] :is(.dock-actions button,.text-command) { background: none; box-shadow: none; font: 400 14px/1.5 var(--fc-body); color: var(--fc-text); min-height: 44px; }
html[data-fc-ui="v12"] .fc-reading-summary { max-width: none; margin: 24px 0; padding: 32px; }
html[data-fc-ui="v12"] .fc-reading-summary h2 { font-size: 28px; }
html[data-fc-ui="v12"] .fc-index { background: var(--fc-canvas); border: 0; margin: 20px 0; box-shadow: none; }
html[data-fc-ui="v12"] .fc-index-in { gap: 20px; }
html[data-fc-ui="v12"] .fc-index :is(a,button) { font: 400 15px/1.5 var(--fc-body); color: var(--fc-muted); }
html[data-fc-ui="v12"] .fc-index a.on { color: var(--fc-text); border-color: var(--fc-text); }
html[data-fc-ui="v12"] :is(.reading-item,.rp-ten-match,.consult-card,.fc-card) { background: transparent; border: 0; box-shadow: none; }
html[data-fc-ui="v12"] :is(.overview-panel,.natal-panel,.timeline-panel,.reference-panel) { padding: 32px; margin-top: 24px; }
html[data-fc-ui="v12"] :is(.item-evidence,.rp-basis,.reading-disclosure) { background: var(--fc-soft); border: 0; border-radius: 12px; padding: 0 16px; box-shadow: none; }
html[data-fc-ui="v12"] :is(.item-evidence,.rp-basis,.reading-disclosure) > summary { min-height: 48px; font-size: 15px; padding: 12px 0; color: var(--fc-text); }
html[data-fc-ui="v12"] :is(.item-evidence,.rp-basis,.reading-disclosure)[open] { padding-bottom: 16px; }
html[data-fc-ui="v12"] :is(.reading-item p,.rp-ten-match p,.consult-card p,.fc-prose p) { font-size: 17px; line-height: 1.85; }
html[data-fc-ui="v12"] :is(.tz-head,.hp-head) h2 { font-size: 36px; }
html[data-fc-ui="v12"] .fx-mh :is(.fx-h,h2) { font: 400 44px/1.4 var(--fc-display) !important; }
html[data-fc-ui="v12"] .tz-layout { gap: 32px; }
html[data-fc-ui="v12"] :is(.tz-panel,.tz-form,.hp-person,.meihua-form) { border: 0; border-radius: 24px; padding: 28px; background: var(--fc-surface); box-shadow: none; }
html[data-fc-ui="v12"] :is(.tz-row,.hp-people,.hp-grid) { gap: 20px; }
html[data-fc-ui="v12"] .tz-stage { background: var(--fc-soft); border: 0; border-radius: 24px; }
html[data-fc-ui="v12"] :is(.tz-result,.hp-result,.meihua-result) { font-family: var(--fc-body); }

/* Library: category browsing, search, and a comfortable long-reading column. */
html[data-fc-ui="v12"] .xt-main > h1 { font: 400 44px/1.4 var(--fc-display); margin: 0 0 20px; }
html[data-fc-ui="v12"] .xt-crumbs { font: 400 14px/1.6 var(--fc-body); color: var(--fc-muted); margin: 0 0 24px; }
html[data-fc-ui="v12"] .xt-main > .lead { font-size: 18px; line-height: 1.8; max-width: 720px; color: var(--fc-muted); }
html[data-fc-ui="v12"] .xt-main :is(.xt-grid,.kb-grid) { gap: 16px; margin: 28px 0 48px; }
html[data-fc-ui="v12"] .xt-main .kb-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
html[data-fc-ui="v12"] .xt-main .kb-grid > :is(a,.kb-soon) { padding: 24px; border: 0; border-radius: 16px; background: var(--fc-surface); box-shadow: none; }
html[data-fc-ui="v12"] .xt-main .kb-grid > a:hover { background: var(--fc-soft); transform: none; }
html[data-fc-ui="v12"] .xt-main .kb-grid > a b { display: block; font: 500 19px/1.5 var(--fc-body); margin-bottom: 10px; }
html[data-fc-ui="v12"] .xt-main .kb-grid > a span { display: block; font: 400 15px/1.8 var(--fc-body); color: var(--fc-muted); }
html[data-fc-ui="v12"] .xt-main > h2,
html[data-fc-ui="v12"] .fc-library-browse > h2 { font-size: 28px; line-height: 1.4; margin: 48px 0 24px; }
html[data-fc-ui="v12"] .fc-library-browse > .kb-list { columns: 3; column-gap: 32px; padding: 0; list-style: none; margin-top: 24px; }
html[data-fc-ui="v12"] .fc-library-browse > .kb-list li { break-inside: avoid; margin: 0; padding: 12px 0; border-bottom: 1px solid var(--fc-border); font-size: 16px; }
.fc-library-search { max-width: 760px; margin: 32px 0 40px; }
.fc-library-search > label { display: block; margin-bottom: 12px; font-size: 16px; }
.fc-library-search > div { display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 20px; border: 1px solid var(--fc-border); border-radius: 999px; background: var(--fc-surface); }
.fc-library-search svg { width: 22px; height: 22px; flex: 0 0 auto; }
html[data-fc-ui="v12"] .fc-library-search input { border: 0; min-width: 0; flex: 1; padding: 8px 0; min-height: 40px; outline-offset: 0; background: transparent !important; }
.fc-library-search button { min-height: 44px; border: 0; padding: 11px 24px; background: var(--fc-text); color: var(--fc-on-action); border-radius: 999px; font-size: 15px; }
.fc-library-results { max-width: 900px; margin-bottom: 48px; }
.fc-library-results ul { margin: 0; padding: 0; list-style: none; }
.fc-library-results li { border-top: 1px solid var(--fc-border); padding: 20px 0; }
.fc-library-results a { display: block; }
.fc-library-results strong { display: block; font-size: 20px; font-weight: 500; margin-bottom: 6px; }
.fc-library-results p { margin: 0; color: var(--fc-muted); font-size: 15px; }
.fc-library-results [data-search-status] { margin: 0 0 24px; color: var(--fc-text); }
html[data-fc-ui="v12"] .xt-article { width: 100%; max-width: 760px; margin: 24px auto 0; font: 400 17px/1.9 var(--fc-body); color: var(--fc-text); }
html[data-fc-ui="v12"] .xt-article h1 { font: 400 44px/1.4 var(--fc-display); margin: 0 0 20px; letter-spacing: 0; }
html[data-fc-ui="v12"] .xt-article h2 { font: 400 28px/1.45 var(--fc-display); margin: 48px 0 20px; scroll-margin-top: 32px; }
html[data-fc-ui="v12"] .xt-article h3 { font: 500 21px/1.5 var(--fc-body); margin: 32px 0 14px; }
html[data-fc-ui="v12"] .xt-article p { font: 400 17px/1.9 var(--fc-body); margin: 18px 0; max-width: none; }
html[data-fc-ui="v12"] .xt-article :is(.kb-meta,.kb-note) { font-size: 14px; color: var(--fc-muted); }
html[data-fc-ui="v12"] .xt-article .kb-def { font-size: 20px; line-height: 1.8; padding: 24px 28px; background: var(--fc-surface); border: 0; border-radius: 16px; }
html[data-fc-ui="v12"] .xt-article :is(.kb-topcta,.kb-cta,.kb-chain,.kb-ex,.kb-views,.kb-data) { border: 0; background: var(--fc-surface); border-radius: 16px; padding: 24px; box-shadow: none; }
html[data-fc-ui="v12"] .xt-article :is(.kb-ex,.kb-views,.kb-data) > h2:first-child { margin-top: 0; }
html[data-fc-ui="v12"] .kb-fig { margin: 32px 0; gap: 20px; }
html[data-fc-ui="v12"] .kb-fig img { border: 0; border-radius: 16px; max-height: 320px; object-fit: contain; background: #fff; }
html[data-fc-ui="v12"] :is(.kb-tw,.kb-quick) { max-width: 100%; overflow-x: auto; }
html[data-fc-ui="v12"] :is(.kb-facts,.kb-tbl,.fc-tbl) { width: 100%; border-collapse: collapse; font: 400 15px/1.8 var(--fc-body); }
html[data-fc-ui="v12"] :is(.kb-facts,.kb-tbl,.fc-tbl) :is(th,td) { padding: 14px 16px; border-color: var(--fc-border); background: transparent; }
html[data-fc-ui="v12"] :is(.kb-facts,.kb-tbl,.fc-tbl) th { background: var(--fc-surface); font-weight: 500; text-align: left; }
html[data-fc-ui="v12"] .kb-faq details { border: 0; border-bottom: 1px solid var(--fc-border); border-radius: 0; padding: 16px 0; background: transparent; }
html[data-fc-ui="v12"] .kb-faq summary { font-size: 17px; line-height: 1.7; cursor: pointer; }
html[data-fc-ui="v12"] .kb-pn { display: flex; gap: 24px; justify-content: space-between; border-top: 1px solid var(--fc-border); padding-top: 24px; margin-top: 48px; }
.fc-article-toc { max-width: 760px; margin: 24px auto; padding: 20px 24px; background: var(--fc-surface); border-radius: 16px; }
.fc-article-toc summary { font-size: 16px; cursor: pointer; min-height: 28px; }
.fc-article-toc ol { columns: 2; column-gap: 32px; margin: 16px 0 0; padding-left: 20px; }
.fc-article-toc li { break-inside: avoid; padding: 7px 0; font-size: 14px; line-height: 1.6; }
.fc-article-toc a { text-decoration: none; }
.fc-mobile-menu { display: none; }

/* Portraits have transparent artwork but some originals end at a straight edge.
   Show the entire source and blend those edges, instead of cropping into avatars. */
.fc-featured-character { background: transparent; overflow: visible; border-radius: 0; }
.fc-featured-image { display: flex; align-items: center; justify-content: center; background: transparent; overflow: visible; }
.fc-featured-image img { display: block; height: 100%; width: auto; max-width: 100%; object-fit: contain; object-position: center; aspect-ratio: 3/4; }
.fc-character-image { display: flex; justify-content: center; aspect-ratio: 4/5; background: transparent; overflow: visible; border-radius: 0; }
.fc-character-image img { width: auto; max-width: 100%; height: 100%; object-fit: contain; aspect-ratio: 3/4; }
.fc-featured-image img,.fc-character-image img,.fc-result-portrait,.fc-overview-portrait,.fc-reader-portrait,.fc-library-portrait {
  -webkit-mask-image: linear-gradient(to right,transparent,#000 10%,#000 90%,transparent),linear-gradient(to bottom,transparent,#000 7%,#000 64%,transparent 99%);
  mask-image: linear-gradient(to right,transparent,#000 10%,#000 90%,transparent),linear-gradient(to bottom,transparent,#000 7%,#000 64%,transparent 99%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
html[data-fc-ui="v12"] .site-header .work-mode-switch.xt-legacy { display: none !important; }
html[data-fc-ui="v12"] .tone-switch { width: 56px !important; min-width: 56px; }
html[data-fc-ui="v12"] .tone-switch > span { transform: none !important; padding: 0 !important; margin: 0 !important; text-align: center; }
html[data-fc-ui="v12"] .tone-switch > span::before,html[data-fc-ui="v12"] .tone-switch > span::after { display: none !important; }
html[data-fc-ui="v12"] .site-header .fc-legacy-tone { display: none !important; }
html[data-fc-ui="v12"] body .site-header .fc-theme-button { display: inline-flex; align-items: center; justify-content: center; padding: 10px 12px; min-width: 52px; min-height: 44px; border: 1px solid var(--fc-border); border-radius: 999px; background: transparent; color: var(--fc-text); font: 400 14px/1.4 var(--fc-body); box-shadow: none; }
html[data-fc-ui="v12"] :is(.top,.site-header) :is(.fc-tools,.app-shortcuts) { order: 3; }
html[data-fc-ui="v12"] .fc-mobile-menu { order: 4; flex: 0 0 auto; }

/* Replace the remaining old workspace frame without changing its screen hooks. */
html[data-fc-ui="v12"] body.site-workspace[data-style] .app-header.site-header { height: 72px; min-height: 72px; padding: 0 max(24px,calc((100vw - 1200px)/2)); gap: 24px; border: 0; box-shadow: none; }
html[data-fc-ui="v12"] body.site-workspace[data-style] .site-header .brand-title span { display: none; }
html[data-fc-ui="v12"] body.site-workspace[data-style] .tone-switch { display: flex; align-items: center; justify-content: center; }
html[data-fc-ui="v12"] body.site-workspace[data-style] #birth-form { border: 0; border-radius: 24px; background: var(--fc-surface); }
html[data-fc-ui="v12"] body.site-workspace[data-style] #birth-form > :is(.case-alias-field,.gender-field,.birth-grid,.birth-checks,.birth-place) { margin-top: 0; margin-bottom: 0; }
html[data-fc-ui="v12"] body.site-workspace[data-style] #birth-form :is(label,legend) { font-size: 15px; font-weight: 400; margin-bottom: 0; }
html[data-fc-ui="v12"] body.site-workspace[data-style] #birth-form :is(input,select,textarea) { border-color: var(--fc-border); }
html[data-fc-ui="v12"] body.site-workspace[data-style] #birth-form .submit-button { border-radius: 999px; min-height: 48px; }
html[data-fc-ui="v12"] body.site-workspace[data-style] #birth-form .privacy-note { text-align: left; }
html[data-fc-ui="v12"] body.xt-page .xt-main h1:not(#fc-home-title) { font-size: 44px !important; line-height: 1.4; }
html[data-fc-ui="v12"] body.site-workspace main #fx-tz-hero { background: var(--fc-surface) !important; box-shadow: none !important; border: 0; border-radius: 24px; padding: 28px 40px; min-height: 260px; height: auto; margin: 0 0 32px; }
html[data-fc-ui="v12"] body.site-workspace main #fx-tz-hero :is(h2,h2 i) { color: var(--fc-text) !important; font-size: 36px !important; }
html[data-fc-ui="v12"] body.site-workspace main #fx-tz-hero .art { height: 220px; }
html[data-fc-ui="v12"] body.site-workspace main #fx-tz-hero .fx-fan { height: 220px; }
html[data-fc-ui="v12"] body.site-workspace main #fx-tz-hero .fx-fan img { width: 120px; height: 200px; object-fit: contain; }
html[data-fc-ui="v12"] body.site-workspace .tarot-workbench .tz-board-wrap { background: var(--fc-soft); border: 0; border-radius: 24px; }
html[data-fc-ui="v12"] body.site-workspace main #fx-hp-hero:not(:has(.pair)) { display: none; }
html[data-fc-ui="v12"] body[data-active-screen="result"] .xt-uhnote { display: none; }

html[data-fc-ui="v12"][data-fc-page="learn"] #main { display: grid; grid-template-columns: 1.4fr 1fr; column-gap: 48px; }
html[data-fc-ui="v12"][data-fc-page="learn"] #main > .xt-crumbs { grid-column: 1/-1; }
html[data-fc-ui="v12"][data-fc-page="learn"] #main > h1 { grid-column: 1; grid-row: 2; margin: 0 0 12px; }
html[data-fc-ui="v12"][data-fc-page="learn"] .fc-library-intro { grid-column: 1; grid-row: 3; color: var(--fc-muted); margin: 0; font-size: 17px; }
html[data-fc-ui="v12"][data-fc-page="learn"] .fc-library-search { grid-column: 2; grid-row: 2/4; width: 100%; margin: 0; align-self: center; }
html[data-fc-ui="v12"][data-fc-page="learn"] :is(.fc-library-browse,.fc-library-results) { grid-column: 1/-1; }
html[data-fc-ui="v12"] .fc-library-nav { display: flex; gap: 24px; overflow-x: auto; border-bottom: 1px solid var(--fc-border); margin: 40px 0; padding-bottom: 16px; }
.fc-library-nav > :is(a,span) { white-space: nowrap; min-height: 44px; padding: 10px 0; font-size: 16px; }
.fc-library-nav > span { color: var(--fc-muted); }
.fc-library-feature-grid { display: grid; grid-template-columns: minmax(0,2.4fr) minmax(220px,1fr); gap: 40px; }
.fc-library-feature { display: grid; grid-template-columns: minmax(0,1fr) 150px; align-items: center; gap: 24px; padding: 32px; background: var(--fc-surface); border-radius: 24px; }
html[data-fc-ui="v12"] .fc-library-feature h2 { font-size: 32px; line-height: 1.45; margin: 0 0 20px; }
.fc-library-feature p { color: var(--fc-muted); font-size: 16px; line-height: 1.85; margin: 0 0 20px; }
.fc-library-portrait { width: 150px; height: 200px; object-fit: contain; }
.fc-library-quick { padding-top: 8px; }
html[data-fc-ui="v12"] .fc-library-quick h2 { font-size: 24px; margin: 0 0 16px; }
.fc-library-quick a { display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--fc-border); min-height: 52px; padding: 14px 0; font-size: 16px; }
.fc-library-basics { max-width: 820px; margin-top: 40px; }
html[data-fc-ui="v12"] .fc-library-basics h2 { font-size: 26px; margin: 0 0 16px; }
.fc-library-basics a { display: grid; grid-template-columns: minmax(140px,.7fr) minmax(0,1.4fr) 24px; gap: 24px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--fc-border); }
html[data-fc-ui="v12"] .fc-library-basics h3 { font-size: 18px; font-weight: 400; margin: 0; line-height: 1.6; }
.fc-library-basics p { font-size: 15px; line-height: 1.8; color: var(--fc-muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fc-library-all { border: 0; border-top: 1px solid var(--fc-border); border-radius: 0; padding: 24px 0; margin-top: 40px; background: none; }
.fc-library-all > summary { font-size: 20px; cursor: pointer; padding: 8px 0; }
.fc-library-all .kb-list { columns: 3; padding: 0; margin-top: 24px; list-style: none; }
.fc-library-all .kb-list li { break-inside: avoid; padding: 10px 0; font-size: 15px; }
html[data-fc-ui="v12"] #fc-v12-reading :is(.fc-reading-tabs button,.fc-chapter-link) { border-radius: 0; box-shadow: none; }

/* A visual layout must never reopen a screen hidden by the route controller. */
html[data-fc-ui="v12"] body:not([data-active-screen]) .screen:not([data-screen="input"]),
html[data-fc-ui="v12"] body[data-active-screen="input"] .screen:not([data-screen="input"]),
html[data-fc-ui="v12"] body[data-active-screen="result"] .screen:not([data-screen="result"]),
html[data-fc-ui="v12"] body[data-active-screen="tarot"] .screen:not([data-screen="tarot"]),
html[data-fc-ui="v12"] body[data-active-screen="meihua"] .screen:not([data-screen="meihua"]),
html[data-fc-ui="v12"] body[data-active-screen="hepan"] .screen:not([data-screen="hepan"]),
html[data-fc-ui="v12"] body[data-active-screen="fabing"] .screen:not([data-screen="fabing"]),
html[data-fc-ui="v12"] body[data-active-screen="notes"] .screen:not([data-screen="notes"]) { display: none !important; }
html[data-fc-ui="v12"]:is([data-xt-page="western"],[data-xt-page="jyotish"],[data-xt-page="ziwei"]) .reference-nav :is([data-reference],.sandpan-entry) { display: none; }

/* Personal reading: chart → overview → one complete chapter at a time. */
html[data-fc-ui="v12"][data-fc-reading-view] body[data-active-screen="result"] #main-content > :is(.xt-band,.xt-mini,.xt-note,.xt-priv,#work-extension-status) { display: none !important; }
html[data-fc-ui="v12"][data-fc-reading-view]:not([data-fc-reading-view="legacy"]) body[data-active-screen="result"] #main-content > .screen:not(#fc-v12-reading):not(#fc-v12-ask-slot),
html[data-fc-ui="v12"][data-fc-reading-view]:not([data-fc-reading-view="legacy"]) body[data-active-screen="result"] #fb-rate-chart { display: none !important; }
#fc-v12-reading { min-width: 0; margin: 0; padding: 0 0 48px; color: var(--fc-text); }
#fc-v12-reading :is(h1,h2,h3,p,figure,dl) { margin: 0; }
#fc-v12-reading :is(p,li,dt,dd,button) { font-family: var(--fc-body); }
html[data-fc-ui="v12"] #fc-v12-reading h1 { font: 400 44px/1.35 var(--fc-display); }
html[data-fc-ui="v12"] #fc-v12-reading h2 { font: 400 28px/1.45 var(--fc-display); }
html[data-fc-ui="v12"] #fc-v12-reading h3 { font: 500 20px/1.6 var(--fc-body); }
html[data-fc-ui="v12"] #fc-v12-reading :is(.fc-primary,.fc-secondary) { border-radius: 999px; padding: 13px 24px; min-height: 48px; }
.fc-result-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
#fc-v12-reading .fc-result-heading p { margin-top: 10px; color: var(--fc-muted); font-size: 15px; }
.fc-result-board { display: grid; grid-template-columns: minmax(0,1fr) 280px; gap: 28px; align-items: stretch; }
.fc-chart-card { background: var(--fc-surface); border-radius: 24px; padding: 24px 32px; min-width: 0; }
.fc-chart-card-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 16px; }
.fc-chart-card-top > span { font-size: 16px; font-weight: 500; }
.fc-chart-card-top .fc-text-link { font-size: 14px !important; }
.fc-pillars-wrap { max-width: 100%; overflow-x: auto; }
.fc-pillars-table { width: 100%; border-collapse: collapse; table-layout: fixed; text-align: center; }
.fc-pillars-table :is(th,td) { border: 0; padding: 16px 8px; background: transparent; vertical-align: middle; }
.fc-pillars-table thead { border-bottom: 1px solid var(--fc-border); }
.fc-pillars-table thead th { font: 400 19px/1.5 var(--fc-display); }
.fc-pillars-table tr > :first-child { width: 76px; font: 400 14px/1.6 var(--fc-body); text-align: left; color: var(--fc-muted); }
.fc-pillars-table .fc-pillar-gods { font-size: 15px; }
.fc-pillars-table .fc-pillar-stems td { padding: 8px 8px 0; font: 400 48px/1.3 var(--fc-display); }
.fc-pillars-table .fc-pillar-stems td small { display: block; color: var(--fc-muted); font: 400 12px/1.5 var(--fc-body); margin-top: 4px; }
.fc-pillars-table .fc-day-master { background: var(--fc-soft); border-radius: 12px 12px 0 0; }
.fc-pillars-table .fc-pillar-branches td { padding: 8px 8px 20px; font: 400 48px/1.3 var(--fc-display); }
.fc-pillars-table .fc-pillar-branches td:nth-child(4) { background: var(--fc-soft); border-radius: 0 0 12px 12px; }
.fc-pillars-table .fc-pillar-hidden { border-top: 1px solid var(--fc-border); font-size: 15px; }
.fc-pillars-table .fc-hour-missing { font: 400 14px/1.5 var(--fc-body); color: var(--fc-muted); }
#fc-v12-reading .fc-chart-note { color: var(--fc-muted); font-size: 14px; text-align: center; margin-top: 12px; }
.fc-result-identity { min-width: 0; background: var(--fc-surface); border-radius: 24px; padding: 20px 24px 24px; }
.fc-result-portrait { display: block; width: 144px; height: 192px; margin: 0 auto 8px; object-fit: contain; }
#fc-v12-reading .fc-result-identity h2 { font-size: 30px; margin-bottom: 6px; }
#fc-v12-reading .fc-result-identity > p { color: var(--fc-muted); font-size: 14px; margin-bottom: 20px; }
.fc-result-identity dl > div { display: grid; grid-template-columns: 76px 1fr; gap: 12px; border-top: 1px solid var(--fc-border); padding: 12px 0; font-size: 14px; line-height: 1.7; }
.fc-result-identity dt { color: var(--fc-muted); }
.fc-result-identity dd { margin: 0; }
.fc-result-identity .fc-text-link { font-size: 14px !important; }
.fc-result-timing { background: var(--fc-surface); border-radius: 24px; margin-top: 28px; padding: 24px 32px; }
.fc-reading-period { display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: center; padding: 20px 0; }
.fc-reading-period > div { display: flex; flex-wrap: wrap; gap: 16px; align-items: baseline; }
.fc-reading-period span { color: var(--fc-muted); font-size: 15px; }
.fc-reading-period strong { font: 500 20px/1.6 var(--fc-body); }
.fc-reading-period > button { margin-left: auto; }
#fc-v12-reading .fc-result-timing > p { font-size: 14px; color: var(--fc-muted); }
.fc-report-entry { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 32px; border-radius: 24px; margin-top: 28px; background: var(--fc-surface); }
#fc-v12-reading .fc-report-entry h2 { font-size: 28px; }
#fc-v12-reading .fc-report-entry p { color: var(--fc-muted); font-size: 15px; margin-top: 10px; }
.fc-report-entry .fc-primary { flex-shrink: 0; }
.fc-report-overview { max-width: 1100px; margin: 0 auto; }
.fc-report-overview-heading { display: flex; justify-content: space-between; align-items: center; gap: 32px; }
#fc-v12-reading .fc-report-overview-heading h1 { margin: 12px 0; }
#fc-v12-reading .fc-report-overview-heading p { color: var(--fc-muted); font-size: 17px; }
.fc-overview-portrait { width: 144px; height: 192px; object-fit: contain; }
#fc-v12-reading .fc-report-pillar-line { display: flex; flex-wrap: wrap; gap: 16px; padding: 14px 20px; background: var(--fc-soft); border-radius: 12px; margin: 24px 0 40px; font-size: 16px; }
.fc-report-pillar-line > span { font-family: var(--fc-display); }
#fc-v12-reading .fc-report-introduction h2 { margin-bottom: 20px; }
#fc-v12-reading .fc-report-introduction .fc-report-main-point { color: var(--fc-text); font-size: 22px; line-height: 1.7; margin-bottom: 12px; }
#fc-v12-reading .fc-report-introduction > p { max-width: 820px; color: var(--fc-muted); font-size: 17px; line-height: 1.8; }
.fc-report-overview-columns { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(280px,1fr); gap: 40px; margin-top: 40px; align-items: start; }
.fc-report-feature { background: var(--fc-surface); border-radius: 24px; padding: 32px; }
#fc-v12-reading .fc-report-feature h2 { font-size: 32px; margin: 12px 0 24px; }
#fc-v12-reading .fc-report-feature h3 { margin-bottom: 14px; }
#fc-v12-reading .fc-report-feature p { font-size: 17px; line-height: 1.85; }
.fc-report-feature .fc-primary { margin-top: 24px; }
.fc-report-chapters { padding: 12px 0; }
#fc-v12-reading .fc-report-chapters h2 { font-size: 24px; margin-bottom: 16px; }
.fc-chapter-link { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 20px; border: 0; border-bottom: 1px solid var(--fc-border); padding: 18px 4px; background: transparent; color: var(--fc-text); font: 400 18px/1.5 var(--fc-body); text-align: left; }
.fc-chapter-link:hover { background: var(--fc-soft); }
.fc-reader-layout { display: grid; grid-template-columns: 180px minmax(0,880px); gap: 40px; max-width: 1100px; margin: 0 auto; align-items: start; }
.fc-reader-nav { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 4px; padding-top: 20px; }
.fc-reader-nav > button { display: block; border: 0; border-radius: 10px; background: transparent; color: var(--fc-muted); min-height: 48px; padding: 12px 16px; font: 400 16px/1.5 var(--fc-body); text-align: left; }
.fc-reader-nav > button[aria-current] { background: var(--fc-soft); color: var(--fc-text); font-weight: 500; }
.fc-reader-nav .fc-text-link { margin-bottom: 20px; font-size: 14px !important; }
#fc-v12-reading .fc-reader-nav > p { font-size: 14px; color: var(--fc-muted); border-top: 1px solid var(--fc-border); margin-top: 20px; padding: 20px 16px; }
.fc-reader-paper { background: var(--fc-surface); border-radius: 24px; padding: 36px 48px; min-width: 0; }
.fc-reader-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.fc-reader-portrait { width: 72px; height: 96px; object-fit: contain; flex: 0 0 auto; }
#fc-v12-reading .fc-reader-heading h1 { font-size: 40px; }
#fc-v12-reading .fc-reader-heading p { font-size: 15px; color: var(--fc-muted); margin-top: 10px; }
.fc-reading-tabs { display: flex; gap: 24px; border-bottom: 1px solid var(--fc-border); margin-bottom: 32px; }
.fc-reading-tabs button { border: 0; border-bottom: 2px solid transparent; min-height: 48px; padding: 10px 0 14px; font-size: 15px; background: transparent; color: var(--fc-muted); border-radius: 0; }
.fc-reading-tabs button[aria-selected="true"] { color: var(--fc-text); border-bottom-color: var(--fc-text); }
.fc-reader-prose { max-width: 720px; margin: 0 auto; }
.fc-reading-item { padding: 0 0 32px; margin-bottom: 32px; border-bottom: 1px solid var(--fc-border); }
.fc-reading-item:last-child { margin-bottom: 0; }
#fc-v12-reading .fc-reading-item h2 { font-size: 26px; margin: 0 0 16px; }
#fc-v12-reading .fc-reading-item h3 { font-size: 20px; margin: 24px 0 12px; }
#fc-v12-reading .fc-reading-item p { font-size: 17px; line-height: 1.9; margin: 0 0 16px; }
.fc-report-fact-line { display: grid; grid-template-columns: 84px minmax(0,1fr); gap: 16px; background: var(--fc-soft); border-radius: 12px; padding: 16px 20px; margin-top: 20px; }
.fc-report-fact-line > span { font-size: 14px; font-weight: 500; line-height: 1.8; }
#fc-v12-reading .fc-report-fact-line > p { margin: 0; font-size: 14px; line-height: 1.8; }
.fc-report-evidence { padding: 0; margin: 16px 0 0; border: 0; background: transparent; }
.fc-report-evidence > summary { min-height: 44px; padding: 10px 0; color: var(--fc-muted); font-size: 14px; cursor: pointer; }
.fc-report-evidence ul { padding-left: 20px; margin: 12px 0; font-size: 14px; line-height: 1.8; }
#fc-v12-reading .fc-report-sources p { color: var(--fc-muted); font-size: 13px; line-height: 1.8; margin: 6px 0; }
.fc-report-more { border: 0; border-bottom: 1px solid var(--fc-border); background: transparent; padding: 0; }
.fc-report-more > summary { font-size: 18px; line-height: 1.65; font-weight: 500; padding: 20px 0; cursor: pointer; }
.fc-report-more > div { padding: 0 0 24px; }
#fc-v12-reading .fc-report-more p { font-size: 17px; line-height: 1.9; margin-bottom: 16px; }
.fc-reader-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
#fc-v12-reading .fc-reading-note { margin-top: 18px; color: var(--fc-muted); font-size: 14px; }
.fc-chapter-pagination { display: flex; justify-content: space-between; align-items: start; gap: 24px; border-top: 1px solid var(--fc-border); margin-top: 36px; padding-top: 20px; }
.fc-chapter-pagination > button { max-width: 50%; font-size: 14px !important; }
.fc-legacy-return { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.fc-element-rows { margin: 24px 0; }
.fc-element-rows > details { border: 0; border-bottom: 1px solid var(--fc-border); background: none; padding: 0; }
.fc-element-rows summary { display: grid; grid-template-columns: 40px 1fr 66px 64px; align-items: center; gap: 16px; list-style: none; padding: 16px 0; cursor: pointer; font-size: 15px; }
.fc-element-rows summary > span:first-child { font: 400 24px/1.4 var(--fc-display); }
.fc-element-rows summary > strong { font-size: 16px; font-weight: 500; }
.fc-element-track { height: 6px; border-radius: 999px; background: var(--fc-soft); overflow: hidden; }
.fc-element-track i { display: block; height: 100%; background: currentColor; border-radius: inherit; }
.fc-element-rows details > div { padding-bottom: 16px; font-size: 15px; }
.fc-element-rows details ul { margin: 0; padding-left: 20px; }
#fc-v12-reading .fc-report-time-range { font-size: 14px; color: var(--fc-muted); }
html[data-fc-ui="v12"] #fc-v12-ask-slot { max-width: 880px; margin: 0 auto 64px; padding: 28px 32px; border: 0; background: var(--fc-surface); border-radius: 24px; }
#fc-v12-ask-slot > summary { cursor: pointer; font-size: 20px; min-height: 44px; }
html[data-fc-ui="v12"] #fc-v12-ask-slot #fc-ask { margin: 0; max-width: none; border: 0; background: transparent; box-shadow: none; padding: 24px 0 0; }
html[data-fc-ui="v12"] #fc-v12-ask-slot #fc-ask > h3 { display: none; }
html[data-fc-ui="v12"] #fc-v12-ask-slot .fx-compose { margin-top: 20px; background: var(--fc-soft); border: 0; box-shadow: none; }
html[data-fc-ui="v12"] #fc-v12-ask-slot .fx-compose textarea { width: 100%; min-height: 100px; }
html[data-fc-ui="v12"] #fc-v12-ask-slot .fx-bar button { border-radius: 999px; background: var(--fc-text); color: var(--fc-on-action); padding: 12px 24px; }

@media (max-width: 1000px) {
  .fc-result-board { grid-template-columns: minmax(0,1fr) 220px; gap: 20px; }
  .fc-chart-card { padding: 20px; }
  .fc-reader-layout { grid-template-columns: 160px minmax(0,1fr); gap: 24px; }
  .fc-reader-paper { padding: 28px 32px; }
  .fc-report-overview-columns { gap: 28px; }
}
@media (max-width: 760px) {
  .fc-result-heading { align-items: start; flex-wrap: wrap; margin-bottom: 24px; }
  html[data-fc-ui="v12"] #fc-v12-reading h1 { font-size: 30px; }
  .fc-result-heading .fc-actions { gap: 16px; }
  .fc-result-board { grid-template-columns: 1fr; }
  .fc-result-identity { display: grid; grid-template-columns: 96px 1fr; column-gap: 20px; padding: 20px; align-items: center; }
  .fc-result-portrait { width: 72px; height: 96px; grid-row: span 2; margin: 0; }
  .fc-result-identity dl { grid-column: 1/-1; margin-top: 16px !important; }
  .fc-result-identity > button { grid-column: 1/-1; justify-self: start; }
  #fc-v12-reading .fc-result-identity h2 { font-size: 26px; }
  #fc-v12-reading .fc-result-identity > p { margin: 0; }
  .fc-pillars-table tr > :first-child { width: 48px; font-size: 12px; }
  .fc-pillars-table :is(th,td) { padding: 12px 4px; }
  .fc-pillars-table thead th { font-size: 16px; }
  .fc-pillars-table .fc-pillar-gods { font-size: 13px; }
  .fc-pillars-table .fc-pillar-stems td,.fc-pillars-table .fc-pillar-branches td { font-size: 36px; }
  .fc-pillars-table .fc-pillar-hidden { font-size: 12px; }
  .fc-pillars-table .fc-hour-missing { font-size: 12px; }
  .fc-chart-card-top { gap: 10px; margin-bottom: 8px; }
  .fc-chart-card-top > span { font-size: 15px; }
  .fc-chart-card-top .fc-text-link { font-size: 13px !important; }
  .fc-result-timing { padding: 24px 20px; margin-top: 20px; }
  .fc-reading-period { display: grid; grid-template-columns: 1fr; gap: 12px; padding: 16px 0; }
  .fc-reading-period > button { margin-left: 0; justify-self: start; }
  .fc-report-entry { flex-direction: column; align-items: stretch; padding: 24px 20px; margin-top: 20px; }
  #fc-v12-reading .fc-report-entry h2 { font-size: 24px; }
  .fc-overview-portrait { width: 75px; height: 100px; }
  .fc-report-overview-heading { gap: 16px; }
  .fc-report-overview-columns { grid-template-columns: 1fr; gap: 28px; }
  .fc-report-feature { padding: 24px; border-radius: 20px; }
  #fc-v12-reading .fc-report-feature h2 { font-size: 28px; }
  .fc-report-chapters { padding: 0; }
  .fc-reader-layout { display: block; }
  .fc-reader-nav { position: static; display: flex; flex-direction: row; flex-wrap: nowrap; overflow-x: auto; gap: 8px; padding: 0 0 16px; margin-bottom: 12px; }
  .fc-reader-nav > button { flex: 0 0 auto; font-size: 14px; min-height: 44px; padding: 10px 12px; }
  .fc-reader-nav > .fc-text-link { margin: 0; }
  .fc-reader-nav > p { display: none; }
  .fc-reader-paper { padding: 24px 20px; border-radius: 20px; }
  .fc-reader-portrait { width: 48px; height: 64px; }
  #fc-v12-reading .fc-reader-heading h1 { font-size: 28px; }
  #fc-v12-reading .fc-reader-heading p { font-size: 13px; }
  .fc-reader-heading { gap: 12px; }
  .fc-reading-tabs { margin-bottom: 28px; }
  #fc-v12-reading .fc-reading-item h2 { font-size: 23px; }
  #fc-v12-reading .fc-reading-item :is(p,li),#fc-v12-reading .fc-report-more p { font-size: 16px; line-height: 1.85; }
  .fc-report-fact-line { grid-template-columns: 1fr; gap: 8px; padding: 14px 16px; }
  #fc-v12-reading .fc-report-fact-line > p { font-size: 14px; margin: 0; }
  .fc-element-rows summary { grid-template-columns: 28px 1fr 58px 44px; gap: 10px; font-size: 13px; }
  .fc-element-rows summary > strong { font-size: 14px; }
  .fc-reader-actions { flex-direction: column; align-items: stretch; }
  .fc-chapter-pagination { gap: 16px; }
  html[data-fc-ui="v12"] #fc-v12-ask-slot { padding: 24px 20px; border-radius: 20px; }
}

@media (max-width: 1100px) {
  html[data-fc-ui="v12"] body :is(header.top,.app-header.site-header) { gap: 16px; }
  html[data-fc-ui="v12"] :is(.top .xt-nav,.xt-top) { gap: 16px; }
  html[data-fc-ui="v12"] :is(.top .logo,.brand-title) { min-width: 130px; }
  .fc-home-hero { gap: 32px; padding-top: 48px; }
  html[data-fc-ui="v12"] .fc-home h1 { font-size: 56px !important; }
  .fc-featured-name { flex-basis: 100%; }
  .fc-home-reading { gap: 40px; }
  html[data-fc-ui="v12"] body.site-workspace[data-style] .input-workspace { gap: 32px; grid-template-columns: minmax(0,2.1fr) minmax(210px,1fr); }
}
@media (max-width: 900px) {
  html[data-fc-ui="v12"] :is(.top .xt-nav,.xt-top) { display: none !important; }
  html[data-fc-ui="v12"] :is(.top .logo,.brand-title) { margin-right: auto; }
  html[data-fc-ui="v12"] body.site-workspace[data-style] .input-workspace { grid-template-columns: 1fr; max-width: 760px; margin: 0 auto; }
  .fc-input-help { display: none; }
  html[data-fc-ui="v12"] .fc-mobile-menu { display: block !important; position: relative; }
  html[data-fc-ui="v12"] .fc-mobile-menu > summary { display: flex; align-items: center; justify-content: center; list-style: none; cursor: pointer; padding: 10px 12px; border: 1px solid var(--fc-border); border-radius: 999px; min-height: 44px; min-width: 56px; font-size: 14px; white-space: nowrap; }
  html[data-fc-ui="v12"] .fc-mobile-menu > summary::before,html[data-fc-ui="v12"] .fc-mobile-menu > summary::after { display: none; }
  .fc-mobile-menu > summary::-webkit-details-marker { display: none; }
  .fc-mobile-menu nav { position: absolute; right: 0; top: 54px; min-width: 260px; max-height: calc(100dvh - 100px); overflow: auto; padding: 16px; background: var(--fc-surface); border: 1px solid var(--fc-border); border-radius: 16px; z-index: 60; }
  html[data-fc-ui="v12"] .fc-mobile-menu[open] nav { display: block !important; }
  .fc-mobile-menu a { display: block; padding: 10px 12px; min-height: 44px; font-size: 16px; }
  .fc-mobile-menu a:hover { background: var(--fc-soft); }
  .fc-mobile-menu small { display: block; padding: 12px 12px 4px; color: var(--fc-muted); font-size: 13px; }
  html[data-fc-ui="v12"][data-fc-menu] :is(.fx-mnav,.xt-mnav,.mnav) { display: none !important; }
  .fc-home-hero { grid-template-columns: 1fr 1fr; gap: 24px; }
  html[data-fc-ui="v12"] .fc-home h1 { font-size: 44px !important; }
  .fc-home-lead { font-size: 17px; }
  .fc-home .fc-actions { gap: 10px; }
  html[data-fc-ui="v12"] .fc-home .fc-actions a { font-size: 14px !important; padding: 12px 16px; }
  .fc-atlas-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  html[data-fc-ui="v12"] .xt-main .kb-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  html[data-fc-ui="v12"] .fc-library-browse > .kb-list { columns: 2; }
  html[data-fc-ui="v12"][data-fc-page="learn"] #main { column-gap: 24px; }
  .fc-library-feature-grid { grid-template-columns: 1fr; gap: 28px; }
  .fc-library-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
  .fc-library-quick > h2 { grid-column: 1/-1; }
  .fc-library-all .kb-list { columns: 2; }
}
@media (max-width: 600px) {
  html:root[data-fc-ui="v12"] { --fc-header: 64px; --fc-gutter: 20px; }
  html[data-fc-ui="v12"] body { font-size: 16px !important; }
  html[data-fc-ui="v12"] body :is(header.top,.app-header.site-header) { padding: 0 20px; gap: 10px; }
  html[data-fc-ui="v12"] body.site-workspace[data-style] .app-header.site-header { height: 64px; min-height: 64px; padding: 0 20px; gap: 10px; }
  html[data-fc-ui="v12"] .fc-mobile-menu[open] nav { position: fixed; top: 68px; left: 20px; right: 20px; width: auto; min-width: 0; max-width: none; max-height: calc(100dvh - 88px); }
  html[data-fc-ui="v12"] :is(.top .logo,.brand-title) { min-width: 0; font-size: 20px; }
  html[data-fc-ui="v12"] :is(.top,.site-header) > .xt-lang,
  html[data-fc-ui="v12"] .site-header .xt-band-lang { display: none; }
  html[data-fc-ui="v12"] :is(.fc-tools,.app-shortcuts) { gap: 8px !important; }
  html[data-fc-ui="v12"] :is(.top,.site-header) .fx-acct { display: none; }
  html[data-fc-ui="v12"] :is(#tg,.tone-switch) { padding: 10px; min-width: 44px; font-size: 13px; }
  html[data-fc-ui="v12"] body .site-header #site-account-menu,
  html[data-fc-ui="v12"] body .site-header #fc-acct-link,
  html[data-fc-ui="v12"] body header.top .fx-acct { display: none !important; }
  html[data-fc-ui="v12"] .tone-switch { width: 48px !important; min-width: 48px !important; max-width: 48px !important; flex: 0 0 48px; }
  html[data-fc-ui="v12"] body :is(main.xt-main,main.shell,main.home-main) { width: calc(100% - 40px) !important; padding-top: 28px !important; }
  html[data-fc-ui="v12"] body .foot { width: calc(100% - 40px); margin-top: 64px; padding-bottom: 40px; font-size: 14px; }
  html[data-fc-ui="v12"] .foot .xt-legal { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .fc-home-hero { grid-template-columns: 1fr; gap: 32px; padding: 28px 0 48px; }
  .fc-home-kicker { font-size: 14px; margin-bottom: 20px; }
  html[data-fc-ui="v12"] .fc-home h1 { font-size: 38px !important; line-height: 1.3 !important; margin-bottom: 20px; }
  .fc-home-lead { font-size: 17px; margin-bottom: 24px; }
  .fc-home-note { font-size: 13px; margin-top: 14px; }
  .fc-featured-character { border-radius: 20px; }
  .fc-featured-image { aspect-ratio: 1.15; }
  .fc-featured-character figcaption { padding: 16px; gap: 8px; }
  .fc-featured-name { flex-basis: auto; gap: 10px; }
  .fc-featured-name strong { font-size: 24px; }
  .fc-featured-name > span { display: none; }
  .fc-character-arrows { gap: 4px; }
  .fc-character-arrows button { width: 40px; height: 44px; }
  .fc-image-gender button { min-width: 40px; padding: 8px 6px; }
  .fc-section-heading { flex-wrap: wrap; gap: 16px; margin-bottom: 24px; }
  html[data-fc-ui="v12"] .fc-section-heading h2 { font-size: 28px; }
  .fc-section-heading p { font-size: 15px; }
  .fc-atlas-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 12px; }
  .fc-character-image { border-radius: 12px; }
  html[data-fc-ui="v12"] .fc-character-caption h3 { font-size: 22px; }
  .fc-character-caption p { font-size: 13px; }
  .fc-home-reading { display: block; margin-top: 64px; }
  html[data-fc-ui="v12"] .fc-home-reading h2 { font-size: 30px; }
  .fc-reading-preview { padding: 24px; margin-top: 24px; border-radius: 20px; }
  .fc-home-tools,.fc-home-knowledge { margin-top: 64px; }
  .fc-tool-list { grid-template-columns: 1fr; }
  .fc-tool-list > a { padding: 20px 0; }
  html[data-fc-ui="v12"] .fc-tool-list h3 { font-size: 20px; }
  .fc-home-lookup { padding: 16px; margin-top: 28px; }
  html[data-fc-ui="v12"] .xt-band { margin-bottom: 24px; }
  html[data-fc-ui="v12"] .xt-band h1,
  html[data-fc-ui="v12"] .xt-main > h1,
  html[data-fc-ui="v12"] .xt-article h1 { font-size: 30px; }
  html[data-fc-ui="v12"] body.xt-page .xt-main h1:not(#fc-home-title) { font-size: 30px !important; }
  html[data-fc-ui="v12"] body.site-workspace[data-style] #birth-form { display: block; padding: 24px 20px; border-radius: 20px; }
  html[data-fc-ui="v12"] body.site-workspace[data-style] #birth-form > :is(.case-alias-field,.gender-field,.birth-grid,.birth-checks,.birth-place) { margin-bottom: 24px; }
  html[data-fc-ui="v12"] #birth-form > * { margin: 0 0 24px; }
  html[data-fc-ui="v12"] #birth-form > .case-alias-field { display: block; }
  html[data-fc-ui="v12"] #birth-form .gender-segments { max-width: 240px; }
  html[data-fc-ui="v12"] #birth-form .birth-grid { grid-template-columns: 1fr; gap: 24px; }
  html[data-fc-ui="v12"] #birth-form .place-grid { grid-template-columns: 1fr; }
  html[data-fc-ui="v12"] #birth-form .submit-button { width: 100%; margin: 4px 0 20px; }
  html[data-fc-ui="v12"] #birth-form .privacy-note { margin: 0; font-size: 13px; }
  html[data-fc-ui="v12"] :is(.chart-dock,.fc-reading-summary,.overview-panel,.natal-panel,.timeline-panel,.reference-panel) { padding: 24px 20px !important; border-radius: 20px; }
  html[data-fc-ui="v12"] :is(.reading-item p,.rp-ten-match p,.consult-card p,.fc-prose p) { font-size: 16px; }
  html[data-fc-ui="v12"] .fc-index-in { gap: 16px; }
  html[data-fc-ui="v12"] .xt-main .kb-grid { grid-template-columns: 1fr; gap: 12px; margin: 24px 0 32px; }
  html[data-fc-ui="v12"] .xt-main .kb-grid > :is(a,.kb-soon) { padding: 22px; }
  html[data-fc-ui="v12"] .fc-library-browse > .kb-list { columns: 1; }
  html[data-fc-ui="v12"][data-fc-page="learn"] #main { display: block; }
  html[data-fc-ui="v12"][data-fc-page="learn"] .fc-library-search { margin: 24px 0; }
  .fc-library-nav { margin: 28px 0 !important; gap: 20px !important; }
  .fc-library-feature { grid-template-columns: minmax(0,1fr) 80px; padding: 24px 20px; gap: 12px; border-radius: 20px; }
  html[data-fc-ui="v12"] .fc-library-feature h2 { font-size: 24px; }
  .fc-library-feature p { font-size: 15px; }
  .fc-library-portrait { width: 80px; height: 107px; }
  .fc-library-basics a { grid-template-columns: minmax(0,1fr) 20px; gap: 8px 12px; }
  .fc-library-basics a h3 { grid-column: 1; }
  .fc-library-basics a p { grid-column: 1; }
  .fc-library-basics a > span { grid-column: 2; grid-row: 1/3; align-self: center; }
  .fc-library-all .kb-list { columns: 1; }
  .fc-library-search { margin: 24px 0 32px; }
  .fc-library-search > div { padding-left: 14px; gap: 8px; }
  .fc-library-search button { padding: 11px 16px; }
  html[data-fc-ui="v12"] .fc-library-search input { font-size: 15px !important; }
  .fc-library-results strong { font-size: 18px; }
  html[data-fc-ui="v12"] .xt-article { font-size: 16px; margin-top: 24px; }
  html[data-fc-ui="v12"] .xt-article h2 { font-size: 24px; margin-top: 36px; }
  html[data-fc-ui="v12"] .xt-article p { font-size: 16px; line-height: 1.85; }
  html[data-fc-ui="v12"] .xt-article .kb-def { padding: 20px; font-size: 18px; }
  html[data-fc-ui="v12"] .xt-article :is(.kb-topcta,.kb-cta,.kb-chain,.kb-ex,.kb-views,.kb-data) { padding: 20px; }
  html[data-fc-ui="v12"] .xt-article :is(.kb-facts,.kb-tbl) { font-size: 14px; }
  html[data-fc-ui="v12"] :is(.kb-facts,.kb-tbl) :is(th,td) { padding: 12px 10px; }
  .fc-article-toc { padding: 16px 20px; }
  .fc-article-toc ol { columns: 1; }
  html[data-fc-ui="v12"] :is(.tz-panel,.tz-form,.hp-person,.meihua-form) { padding: 20px; border-radius: 20px; }
  html[data-fc-ui="v12"] .fx-mh :is(.fx-h,h2) { font-size: 30px !important; }
}
@media (prefers-reduced-motion: reduce) {
  html[data-fc-ui="v12"] *,html[data-fc-ui="v12"] *::before,html[data-fc-ui="v12"] *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
