:root {
    --ink: #233b4b;
    --muted: #72818b;
    --blue: #315f7c;
    --line: #e7edef;
    --paper: #f5f8f9;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Noto Sans SC', 'Microsoft YaHei', sans-serif; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
button, select { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, select:focus-visible, input:focus-visible { outline: 3px solid #669ab9; outline-offset: 5px; }
a { color: inherit; }
[hidden] { display: none !important; }
.page-width { width: min(1180px, calc(100% - 96px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 3000; top: -70px; left: 20px; padding: 12px 20px; background: white; }
.skip-link:focus { top: 12px; }
.site-header { background: linear-gradient(180deg, #dcecf9 0%, #edf5fb 50%, #fff 100%); padding: 48px 0 62px; }
.header-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.brand-group { display: flex; align-items: center; gap: 18px; min-width: 0; max-width: 100%; flex: 1 1 540px; }
.brand { display: flex; align-items: center; gap: 17px; text-decoration: none; min-width: 0; }
.brand-name { min-width: 0; overflow-wrap: anywhere; }
.language-toggle { flex: 0 0 auto; min-height: 44px; padding: 9px 13px; border: 1px solid #b9cedc; border-radius: 7px; background: #ffffffa6; color: var(--blue); font-size: 12px; line-height: 1.5; transition: background .2s, border-color .2s; }
.language-toggle:hover { background: #fff; border-color: var(--blue); }
.header-inner > .feedback-trigger { flex: 0 0 auto; }
.brand-heart { width: 59px; height: 59px; flex-shrink: 0; }
.brand-name h1 { font-size: clamp(18px, 1.9vw, 25px); font-weight: 600; letter-spacing: .035em; }
.brand-name > span { display: block; font-family: Arial, sans-serif; font-size: 12px; letter-spacing: .075em; margin-top: 8px; color: #627c8e; }
.btn-primary { display: inline-flex; justify-content: space-between; align-items: center; gap: 30px; border: 1px solid var(--blue); background: var(--blue); color: white; border-radius: 7px; padding: 13px 21px; font-size: 14px; font-weight: 500; line-height: 1.5; text-align: left; transition: background .2s, transform .2s, box-shadow .2s; }
.btn-primary small { display: block; font: 10px/1.5 Arial, sans-serif; letter-spacing: .04em; opacity: .8; margin-top: 3px; }
.btn-primary:hover { background: #244b65; transform: translateY(-2px); box-shadow: 0 6px 16px #294f6b1a; }
.button-arrow { font-size: 24px; font-weight: 300; }
.eyebrow { font-size: 10px; line-height: 1.5; letter-spacing: .17em; color: #7a8e9a; margin-bottom: 10px; }
.section-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 26px; }
.section-heading > div { min-width: 0; flex: 1 1 220px; }
h2 { font-size: 23px; font-weight: 600; letter-spacing: .025em; }
h2 > span { font: 14px/1.5 Arial, sans-serif; color: var(--muted); letter-spacing: .025em; margin-left: 15px; }
.small-dot { width: 5px; height: 5px; border-radius: 50%; background: #91b8ab; display: inline-block; }
.map-panel { border-block: 1px solid var(--line); }
.map-topline, .map-bottomline { display: flex; justify-content: space-between; gap: 14px; font-size: 11px; color: var(--muted); line-height: 1.7; }
.map-topline { padding: 19px 0 0; }
.map-hint { font-size: 10px; color: #87959e; }
.map-hint span { margin-left: 6px; }
.map-layout { display: grid; grid-template-columns: minmax(0, 1fr) 160px; align-items: center; gap: 24px; }
html[lang="en"] .map-layout { grid-template-columns: minmax(0, 1fr) 190px; }
#chinaMap { width: 100%; height: 510px; min-width: 0; }
/* Confined chart tooltips can retain stale coordinates after a viewport resize. */
#chinaMap, .bubble-chart { overflow: hidden; }
.map-legend { padding-left: 24px; border-left: 1px solid var(--line); }
.legend-title { font-size: 12px; font-weight: 500; }
.legend-title > span { display: block; font: 10px/1.5 Arial, sans-serif; color: var(--muted); margin-top: 5px; }
.legend-scale { display: flex; gap: 17px; margin: 25px 0; }
.legend-gradient { width: 8px; height: 205px; flex-shrink: 0; border-radius: 6px; background: linear-gradient(#477b9c 0%, #7ba7be 20%, #a5c4b1 40%, #e8ce97 60%, #d99179 80%, #b96162 100%); }
.legend-scale li { display: flex; align-items: baseline; line-height: 1.5; }
.legend-scale li span { min-width: 0; overflow-wrap: anywhere; }
.legend-scale ol { list-style: none; display: flex; flex-direction: column; justify-content: space-between; color: #6f7b81; font-size: 10px; }
.legend-scale b { font: 9px Arial, sans-serif; color: #9da9af; margin-right: 10px; }
.legend-note { color: #96a2a8; font-size: 10px; line-height: 1.9; }
.map-bottomline { padding: 0 0 18px; font-size: 10px; color: #8c989f; }
.small-dot { background: #87a8bb; margin-right: 5px; }
.insights-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 30px; }
.insight-card { border: 1px solid var(--line); border-radius: 10px; padding: 27px 30px 21px; min-width: 0; display: flex; flex-direction: column; }
.card-heading { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.card-heading > div { min-width: 0; }
.card-number { flex-shrink: 0; }
.card-heading .eyebrow { font-size: 9px; margin-bottom: 7px; }
.card-heading h3 { font-size: 17px; font-weight: 500; }
.card-number { font: 12px/1.5 Georgia, serif; color: #a5b4bc; }
.identity-summary { display: flex; align-items: center; gap: 23px; margin-top: 24px; }
.identity-summary > strong { font: 48px/1.2 Arial, sans-serif; letter-spacing: -2px; color: #416980; white-space: nowrap; }
.identity-summary strong span { font-size: 12px; color: #97a5ad; letter-spacing: 0; margin-left: 8px; }
.identity-summary b { font-size: 12px; font-weight: 500; }
.identity-summary p { font-size: 10px; color: var(--muted); margin-top: 7px; }
.identity-gauge { margin-top: 49px; position: relative; }
.gauge-track { height: 12px; border-radius: 6px; background: linear-gradient(90deg, #80b6ae, #b6cbb9 28%, #e3d8af 54%, #e4b398 78%, #c98180); }
.gauge-pointer { position: absolute; left: 0; top: -31px; transform: translateX(-50%); text-align: center; transition: left .6s; }
.gauge-pointer span { display: block; font-size: 9px; color: #536b79; white-space: nowrap; }
.gauge-pointer i { display: block; margin: 5px auto 0; width: 0; height: 0; border: 5px solid transparent; border-top-color: #36576d; }
.gauge-ticks { display: flex; justify-content: space-between; color: #9aa6ac; font: 9px Arial, sans-serif; margin-top: 8px; }
.gauge-ticks span::before { content: ''; display: block; height: 4px; width: 1px; background: #d1dadd; margin: 0 auto 5px; }
.gauge-labels { display: flex; justify-content: space-between; gap: 16px; margin-top: 13px; font-size: 11px; color: #697f84; }
.gauge-labels > span:last-child { text-align: right; color: #a27871; }
.gauge-labels small { display: block; font: 9px/1.5 Arial, sans-serif; color: #96a2a8; margin-top: 3px; }
.bubble-chart { height: 237px; width: 100%; }
.card-note { color: #8c999f; font-size: 9px; line-height: 1.7; border-top: 1px solid #eff2f3; padding-top: 15px; margin-top: auto; }
.identity-card .card-note { margin-top: 24px; }
.data-section { padding-bottom: 48px; }
.about-section { background: var(--paper); border-top: 1px solid #edf1f3; padding: 0 0 48px; }
.about-heading { padding: 42px 0 30px; }
.about-heading h2 { font-size: 26px; }
.about-stories { display: flex; flex-direction: column; }
.about-story { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: 340px; border-radius: 12px; background: var(--paper); }
/* The image extends behind the copy; the mask fades it into the section paper. */
.story-image { position: absolute; z-index: -1; inset: 0 auto 0 0; width: 72%; height: 100%; object-fit: cover; object-position: center 42%; -webkit-mask-image: linear-gradient(to right, #000 0%, #000 24%, #0009 43%, #0002 62%, transparent 88%); mask-image: linear-gradient(to right, #000 0%, #000 24%, #0009 43%, #0002 62%, transparent 88%); }
.story-content { width: 65%; margin-left: auto; padding: 40px 28px 40px 22px; overflow-wrap: anywhere; }
.story-content h3 { font-size: clamp(19px, 2vw, 25px); font-weight: 600; line-height: 1.5; margin-bottom: 20px; color: var(--ink); }
.story-content p { font-size: 14px; line-height: 2.1; color: #425967; }
.story-divider { border: 0; height: 1px; background: #dce5e9; margin: 28px 0; }
.slogan { margin: 0; }
.slogan p { font-size: clamp(18px, 2vw, 26px); font-weight: 600; letter-spacing: .025em; }
.slogan-period { color: #73988d; padding-left: 3px; }
.slogan > span { display: block; font: 13px/1.5 Georgia, serif; color: #78909d; letter-spacing: .03em; margin-top: 9px; }
.about-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 32px; align-items: center; padding: 30px 0; border-bottom: 1px solid #dce5e9; }
.about-actions-copy { flex: 1 1 380px; min-width: 0; margin-right: auto; }
.about-actions-copy .photo-note { margin-top: 10px; }
.feedback-counter { display: flex; align-items: center; gap: 13px; }
.feedback-counter > strong { font: 42px/1 Arial, sans-serif; letter-spacing: -1.5px; font-weight: 400; }
.feedback-counter > span { font-size: 11px; color: #6c818c; }
.feedback-counter small { display: block; font: 9px/1.5 Arial, sans-serif; margin-top: 5px; }
.photo-note { font-size: 9px; color: #91a0a8; margin-top: 17px; line-height: 1.7; }
.site-footer { padding: 28px 0; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.footer-inner p { font-size: 11px; color: #667d8a; }
.footer-inner div > span { display: block; font: 9px/1.5 Arial, sans-serif; letter-spacing: .055em; color: #98a5ad; margin-top: 6px; }
.copyright { font: 10px Arial, sans-serif; color: #82949f; }
.modal-overlay { position: fixed; inset: 0; z-index: 2000; background: #16293680; backdrop-filter: blur(5px); display: flex; justify-content: center; align-items: center; padding: 20px; }
.modal { width: 100%; max-width: 580px; max-height: 90vh; max-height: 90dvh; overflow-y: auto; overscroll-behavior: contain; background: white; border-radius: 16px; box-shadow: 0 24px 80px #10253530; }
.modal-header { padding: 29px 32px 23px; border-bottom: 1px solid var(--line); position: relative; background: linear-gradient(#edf5fb, white); }
.modal-header h2 { font-size: 24px; color: var(--ink); padding-right: 40px; }
.modal-header > .eyebrow { padding-right: 40px; }
.modal-header > p:last-of-type { color: var(--muted); font-size: 12px; margin-top: 10px; padding-right: 12px; }
.modal-close { position: absolute; top: 21px; right: 22px; width: 36px; height: 36px; border: 1px solid #dce6eb; border-radius: 50%; color: #6a7f8b; background: transparent; font-size: 24px; }
.modal-close:hover { background: #e4eef4; }
.modal-body { padding: 26px 32px 30px; }
.form-group { margin-bottom: 25px; border: 0; min-width: 0; }
.form-label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 12px; line-height: 1.7; }
.required { color: #b66162; }
.form-select { width: 100%; min-width: 0; max-width: 100%; padding: 12px 14px; font-size: 13px; border: 1px solid #dfe6ea; border-radius: 6px; color: var(--ink); background: #f7f9fa; }
.radio-group { display: flex; flex-direction: column; gap: 7px; }
.radio-item { display: flex; align-items: center; gap: 11px; padding: 12px 14px; background: #f7f9fa; border: 1px solid transparent; border-radius: 6px; font-size: 12px; color: #647985; cursor: pointer; }
.radio-item:hover, .radio-item:has(input:checked) { background: #edf4f8; border-color: #b4cbd9; color: var(--ink); }
.radio-item input { width: 16px; height: 16px; flex-shrink: 0; accent-color: var(--blue); }
.form-submit { width: 100%; justify-content: center; gap: 12px; }
.form-submit > span[lang] { font: 11px Arial, sans-serif; opacity: .85; }
.privacy-note { font-size: 10px; color: var(--muted); text-align: center; margin-top: 15px; line-height: 1.8; }
.success-message { text-align: center; padding: 22px 0; }
.success-icon { display: grid; place-items: center; width: 62px; height: 62px; background: #e6f1ed; border-radius: 50%; color: #659787; font-size: 29px; margin: 0 auto 20px; }
.success-message h3 { font-size: 23px; margin-bottom: 14px; }
.success-message p { font-size: 12px; color: var(--muted); line-height: 1.9; }
.success-detail { margin: 17px 0 26px; }
.chart-error { display: grid; place-content: center; text-align: center; height: 100%; color: var(--muted); font-size: 13px; gap: 15px; }
.chart-error button { background: var(--paper); color: var(--blue); border: 1px solid var(--line); border-radius: 5px; padding: 8px 15px; }
.stats-status { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.stats-status:has(p:not(:empty)) { margin-bottom: 16px; }
.stats-status button { border: 1px solid var(--line); border-radius: 6px; padding: 8px 12px; background: var(--paper); color: var(--blue); }
.data-notice { font-size: 11px; line-height: 1.8; color: #886b3c; background: #faf6ed; border: 1px solid #ede3cf; border-radius: 6px; padding: 10px 14px; margin-bottom: 16px; }
.chart-placeholder { display: grid; place-items: center; color: var(--muted); font-size: 12px; }
.form-error { color: #9b4545; background: #fcf0f0; border-radius: 6px; padding: 12px; font-size: 12px; line-height: 1.8; margin-bottom: 16px; }
.btn-primary:disabled { opacity: .65; cursor: wait; transform: none; box-shadow: none; }
@media (min-width: 1500px) { .site-header { padding-top: 58px; } }
@media (max-width: 1000px) {
    .page-width { width: calc(100% - 56px); }
    .map-layout { grid-template-columns: minmax(0, 1fr) 130px; gap: 14px; }
    #chinaMap { height: 440px; }
    .map-legend { padding-left: 17px; }
    .insight-card { padding: 23px 22px 18px; }
    .identity-summary { gap: 15px; }
    .identity-summary > strong { font-size: 40px; }
    .identity-summary p { max-width: 125px; line-height: 1.8; }
    .about-actions { gap: 20px; }
    .story-content { width: 67%; padding: 32px 16px; }
    .story-content p { font-size: 13px; }
}
@media (max-width: 700px) {
    .page-width { width: calc(100% - 36px); }
    .site-header { padding: 28px 0 40px; }
    .header-inner { gap: 10px; }
    .brand-group { flex-basis: 100%; gap: 10px; justify-content: space-between; }
    .language-toggle { font-size: 11px; padding: 8px 10px; }
    .header-inner > .feedback-trigger { margin-left: auto; }
    .brand { gap: 9px; }
    .brand-heart { width: 37px; height: 40px; }
    .brand-name h1 { font-size: 15px; letter-spacing: 0; }
    .brand-name > span { font-size: 8px; letter-spacing: 0; line-height: 1.5; margin-top: 5px; max-width: 220px; }
    .header-inner .btn-primary { padding: 10px 12px; font-size: 11px; flex-shrink: 0; }
    .header-inner .btn-primary small { font-size: 8px; }
    .header-inner .button-arrow { display: none; }
    .section-heading { margin-bottom: 20px; align-items: center; }
    .eyebrow { font-size: 8px; letter-spacing: .12em; }
    h2 { font-size: 20px; }
    .section-heading h2 > span { display: block; margin: 7px 0 0; font-size: 12px; }
    .map-topline { font-size: 10px; padding-top: 15px; }
    .map-hint { display: none; }
    .map-layout { grid-template-columns: minmax(0, 1fr) 86px; gap: 0; }
    html[lang="en"] .map-layout { grid-template-columns: minmax(0, 1fr) 108px; }
    #chinaMap { height: 330px; }
    .map-legend { padding-left: 12px; }
    .legend-title { font-size: 10px; }
    .legend-title > span { font-size: 8px; }
    .legend-scale { gap: 10px; margin: 17px 0 0; }
    .legend-gradient { height: 158px; width: 6px; }
    .legend-scale ol { font-size: 9px; }
    .legend-scale b, .legend-note { display: none; }
    .map-bottomline { font-size: 8px; flex-wrap: wrap; gap: 5px; padding-bottom: 14px; }
    .insights-grid { grid-template-columns: 1fr; gap: 17px; padding-top: 23px; }
    .insight-card { padding: 24px; }
    .identity-summary { margin-top: 24px; }
    .identity-summary > strong { font-size: 48px; }
    .identity-summary p { max-width: none; }
    .identity-gauge { margin-top: 48px; }
    .bubble-chart { height: 245px; }
    .data-section { padding-bottom: 30px; }
    .about-section { padding-bottom: 30px; }
    .about-heading { padding: 30px 0 24px; }
    .about-heading h2 { font-size: 23px; }
    .about-story { min-height: 0; display: block; padding-top: 165px; }
    /* On narrow screens, fade diagonally from the upper-left photo into readable full-width copy. */
    .story-image { width: 100%; height: 340px; -webkit-mask-image: linear-gradient(155deg, #000 0%, #000 22%, #0006 42%, #0001 59%, transparent 73%); mask-image: linear-gradient(155deg, #000 0%, #000 22%, #0006 42%, #0001 59%, transparent 73%); }
    .story-content { width: 100%; padding: 26px 18px 18px; }
    .story-content h3 { font-size: 21px; margin-bottom: 15px; }
    .story-content p { font-size: 13px; line-height: 2; }
    .story-divider { margin: 24px 0; }
    .slogan p { font-size: 21px; }
    .slogan > span { font-size: 12px; }
    .about-actions { gap: 23px; }
    .about-actions-copy { flex-basis: 100%; }
    .about-actions .btn-primary { padding: 12px 17px; gap: 19px; }
    .feedback-counter { gap: 10px; }
    .feedback-counter > strong { font-size: 37px; }
    .site-footer { padding: 23px 0; }
    .footer-inner { gap: 12px; }
    .copyright { font-size: 9px; }
    .modal-overlay { padding: 12px; }
    .modal-header { padding: 24px; }
    .modal-header h2 { font-size: 22px; }
    .modal-body { padding: 22px; }
}
@media (max-width: 380px) {
    .page-width { width: calc(100% - 28px); }
    .brand-heart { width: 29px; }
    .brand { gap: 5px; }
    .brand-name h1 { font-size: 12px; }
    .brand-name > span { font-size: 7px; max-width: 160px; }
    #chinaMap { height: 280px; }
    .about-actions { gap: 14px; }
    .feedback-counter { gap: 7px; }
    .feedback-counter > strong { font-size: 30px; }
    .about-actions .btn-primary { gap: 12px; padding: 10px 12px; }
    .feedback-counter small { font-size: 8px; }
    .slogan p { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}