:root {
  --ink: #183246;
  --muted: #526578;
  --accent: #1558b6;
  --deep: #12354c;
  --paper: #f0f4f6;
  --surface: #fff;
  --soft-blue: #e3edf6;
  --soft-green: #e7f0ed;
  --green: #216347;
  --pending: #765619;
  --radius: 6px;
  --accent-hover: #10438c;
  --hero-shade: 7 29 44;
}
.theme-shandong { --accent: #246953; --accent-hover: #194d3d; --deep: #163b34; --paper: #eff5f2; --soft-blue: #e2efea; --soft-green: #e2ece7; --hero-shade: 9 32 27; }
.theme-shanghai { --accent: #245c9d; --accent-hover: #184476; --deep: #15364d; --paper: #f0f4f8; --soft-blue: #e3edf6; --soft-green: #e7eef3; }
.theme-gansu { --accent: #a24b22; --accent-hover: #7e3617; --deep: #4a2f25; --paper: #faf3eb; --soft-blue: #f4e5d7; --soft-green: #f2e4d6; --hero-shade: 45 26 17; }
.theme-guangdong { --accent: #0b706d; --accent-hover: #075451; --deep: #153d3c; --paper: #eef6f4; --soft-blue: #ddefe9; --soft-green: #e1efea; --hero-shade: 7 35 30; }
.theme-beijing { --accent: #9f3433; --accent-hover: #7a2625; --deep: #472b30; --paper: #faf1ed; --soft-blue: #f4e5df; --soft-green: #f3e8de; --hero-shade: 43 19 24; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; color: var(--ink); background: var(--surface); font: 16px/1.75 "Microsoft YaHei", "PingFang SC", sans-serif; }
a { color: var(--accent); text-decoration: none; text-underline-offset: 5px; }
a:hover { text-decoration: underline; }
button, input, select { font: inherit; }
button, select, a { -webkit-tap-highlight-color: transparent; }
button, select { cursor: pointer; }
:focus-visible { outline: 3px solid #d39a34; outline-offset: 4px; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.35; overflow-wrap: anywhere; }
h1, .footer-brand { font-family: "Songti SC", "SimSun", serif; font-weight: 800; }
h1 { font-size: clamp(32px, 3.4vw, 50px); margin-bottom: 24px; }
h2 { font-size: clamp(25px, 2.4vw, 34px); margin-bottom: 16px; }
h3 { font-size: 21px; margin-bottom: 12px; }
p { margin-bottom: 18px; }
picture { display: block; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wrap { width: min(1248px, calc(100% - 64px)); margin-inline: auto; }
.skip { position: fixed; top: -100px; left: 16px; z-index: 99; padding: 12px; background: var(--surface); }
.skip:focus { top: 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.preview-note { padding: 4px 0; color: #ecf3f8; background: var(--deep); font-size: 13px; }
.site-header { background: var(--surface); }
.header-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 92px; }
.brand { flex-shrink: 0; color: var(--deep); }
.brand:hover { text-decoration: none; }
.brand strong { display: block; font-size: 27px; letter-spacing: .08em; line-height: 1.4; }
.brand small { display: block; color: var(--muted); font-size: 12px; letter-spacing: .08em; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { padding-block: 12px; color: var(--ink); white-space: nowrap; font-size: 15px; }
.nav a[aria-current="page"] { color: var(--accent); font-weight: 700; }
.button, .nav .button { display: inline-flex; justify-content: center; align-items: center; gap: 16px; min-height: 48px; padding: 11px 23px; border: 0; border-radius: var(--radius); color: white; background: var(--accent); font-size: 16px; font-weight: 700; line-height: 1.5; cursor: pointer; transition: background .18s, transform .18s; }
.button:hover { text-decoration: none; background: var(--accent-hover); }
.button:active { transform: translateY(2px); }
.button.secondary { color: var(--accent); background: var(--soft-blue); }
.button.secondary:hover { background: color-mix(in srgb, var(--soft-blue), var(--accent) 12%); }
.nav .partnership-button { color: var(--accent); background: var(--soft-blue); box-shadow: inset 0 -3px 0 rgb(0 0 0 / 10%); }
.nav .partnership-button:hover { background: color-mix(in srgb, var(--soft-blue), var(--accent) 12%); }
.hero { position: relative; width: min(1536px, calc(100% - 40px)); margin-inline: auto; min-height: 570px; overflow: hidden; background: var(--deep); }
.hero::after, .home-slide::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgb(var(--hero-shade) / 76%) 0%, rgb(var(--hero-shade) / 48%) 33%, rgb(var(--hero-shade) / 8%) 67%, transparent 100%); }
.home-carousel::after { display: none; }
.home-slide { position: relative; animation: carousel-reveal .5s ease both; }
.home-slide .hero-stage { padding-bottom: 104px; }
.home-carousel-controls { position: absolute; z-index: 2; bottom: 26px; left: 70px; right: 70px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.home-region-buttons, .home-carousel-arrows { display: flex; gap: 10px; }
.home-carousel-controls button { min-width: 50px; min-height: 44px; border: 1px solid rgb(255 255 255 / 65%); border-radius: var(--radius); background: rgb(10 31 42 / 35%); color: white; font-size: 16px; font-weight: 700; transition: background .18s, transform .18s; }
.home-region-buttons button { padding: 10px 20px; }
.home-carousel-controls button:hover, .home-carousel-controls button[aria-pressed="true"] { background: white; color: var(--deep); }
.home-carousel-controls button:active { transform: translateY(2px); }
@keyframes carousel-reveal { from { opacity: .3; } to { opacity: 1; } }
.hero-art { position: absolute; inset: 0; overflow: hidden; }
.hero-art picture { width: 100%; height: 100%; }
.hero-art img { object-position: center; animation: landscape-drift 18s ease-in-out both; }
.hero-stage.wrap { width: 100%; margin: 0; position: relative; z-index: 1; min-height: 570px; display: flex; align-items: center; padding: 42px; }
.hero-copy { width: min(570px, 50%); padding: 28px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; color: white; }
.hero-copy h1, .hero-copy .hero-title { font-family: "Songti SC", "SimSun", serif; font-weight: 800; font-size: clamp(35px, 3.25vw, 50px); line-height: 1.4; margin-bottom: 24px; letter-spacing: .01em; animation: rise .6s both; }
.hero-copy p { font-size: 18px; line-height: 1.8; color: #e1ebf2; max-width: 29em; animation: rise .65s .08s both; }
.hero-button { margin-top: 13px; background: #f3f7fb; color: var(--deep); animation: rise .7s .15s both; }
.hero-button:hover { background: #d8e8f3; }
.hero-place { position: absolute; bottom: 20px; right: 24px; color: white; font-size: 13px; padding: 5px 12px; }
.section { margin-block: 78px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; }
.section-heading h2 { margin-bottom: 8px; color: var(--accent); }
.section-heading p { margin: 0; color: var(--muted); }
.section-heading > a { white-space: nowrap; padding-bottom: 5px; font-weight: 700; }
.home-events { padding-block: 64px; background: var(--paper); }
.event-list { display: grid; gap: 14px; }
.event-row { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 14px 24px; padding: 28px; background: var(--surface); border-radius: var(--radius); transition: background .18s, transform .18s; animation: rise .45s both; }
.event-row:hover { background: #f9fbfd; }
.event-category { grid-column: 1; justify-self: start; display: flex; flex-wrap: nowrap; align-items: center; gap: 16px; min-height: 44px; padding: 10px 16px; color: var(--deep); background: var(--soft-green); white-space: nowrap; }
.event-category > * { flex: none; white-space: nowrap; }
.event-content { grid-column: 1; min-width: 0; }
.event-category span { font-size: 15px; font-weight: 700; line-height: 1.55; }
.event-category small { color: #486355; font-size: 12px; }
.row-status { margin-bottom: 7px; color: var(--pending); font-size: 13px; }
.row-status.current { color: var(--green); font-weight: 700; }
.event-content h3 { font-size: 20px; margin-bottom: 10px; line-height: 1.5; }
.event-content h3 a { color: var(--ink); }
.event-content h3 a:hover { color: var(--accent); }
.row-meta, .row-note { margin-bottom: 4px; color: var(--muted); font-size: 14px; }
.row-meta > span { margin-inline: 6px; }
.row-detail.button { grid-column: 2; grid-row: 1 / span 2; justify-self: end; align-self: center; white-space: nowrap; font-size: 17px; padding: 16px 22px; min-width: 160px; min-height: 56px; }
.row-detail:hover { transform: translateX(3px); }
.row-detail:active { transform: translate(3px, 2px); }
.preparation { display: grid; grid-template-columns: 1fr 1.2fr; align-items: center; gap: 80px; }
.preparation > div > h2 { font-family: "Songti SC", "SimSun", serif; font-size: 40px; }
.preparation > div > p { color: var(--muted); }
.preparation-items { background: var(--soft-blue); padding: 34px 38px; }
.preparation-items article { margin-bottom: 28px; }
.preparation-items article:last-child { margin-bottom: 0; }
.preparation-items h3 { margin-bottom: 7px; font-size: 20px; }
.preparation-items p { margin: 0; color: #3e566a; }
.contact-band { position: relative; min-height: 410px; overflow: hidden; }
.contact-band > picture { position: absolute; inset: 0; }
.contact-band img { object-position: 60% 58%; }
.contact-inner { position: relative; min-height: 410px; display: flex; align-items: center; justify-content: flex-end; padding-block: 35px; }
.contact-card { width: 390px; padding: 32px; background: var(--surface); }
.contact-card h2 { font-size: 29px; }
.contact-card p { color: var(--muted); }
.contact-card .button { width: 100%; }
.directory-section { margin-top: 48px; }
.region-selector { margin-block: 38px 46px; }
.region-selector .section-heading { margin-bottom: 20px; }
.region-switch { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 16px; }
.region-option { position: relative; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-end; gap: 12px; min-height: 160px; padding: 16px; isolation: isolate; overflow: hidden; border-radius: var(--radius); color: white; background: var(--deep); }
.region-option picture { position: absolute; inset: 0; z-index: -2; }
.region-option img { object-position: 65% 49%; transition: transform .4s; }
.region-option::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgb(var(--hero-shade) / 87%), rgb(var(--hero-shade) / 15%) 78%); }
.region-option-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.region-option-copy strong { font-size: 29px; line-height: 1.3; }
.region-option-copy small { font-size: 13px; }
.region-option-action { display: inline-flex; justify-content: center; align-items: center; min-height: 36px; padding: 7px 8px; border-radius: var(--radius); color: var(--deep); background: white; font-size: 13px; font-weight: 700; white-space: nowrap; transition: background .2s, transform .2s; }
.region-option[aria-current="page"] { outline: 4px solid var(--accent); outline-offset: 4px; }
.region-option[aria-current="page"] .region-option-action { background: var(--accent); color: white; }
.region-option:hover { text-decoration: none; }
.region-option:hover img { transform: scale(1.04); }
.region-option:hover .region-option-action { transform: translateY(-3px); }
.region-option:active .region-option-action { transform: translateY(1px); }
.directory-region { color: var(--muted); white-space: nowrap; }
.directory-region strong { color: var(--accent); margin-left: 8px; }
.query-panel { padding: 28px; background: var(--soft-blue); margin-bottom: 32px; border-radius: var(--radius); }
.search-line { display: flex; align-items: end; gap: 12px; }
.search-line label { flex: 1; }
label { display: block; font-size: 14px; font-weight: 700; }
input[type=search], select { display: block; width: 100%; min-height: 49px; margin-top: 7px; padding: 11px 13px; border: 1px solid #9db3c6; border-radius: var(--radius); background: var(--surface); color: var(--ink); }
.filters { display: grid; grid-template-columns: 1fr 1.2fr 1fr auto; gap: 20px; align-items: end; margin-top: 18px; }
.reset { border: none; background: transparent; color: var(--accent); min-height: 49px; padding: 10px 5px; }
.grid-main { display: grid; grid-template-columns: minmax(0,1fr) 275px; gap: 28px; align-items: start; }
.directory-section .grid-main { padding: 26px; background: var(--paper); border-radius: var(--radius); }
.directory-section .event-row { padding: 24px; }
.result-line { display: flex; justify-content: space-between; gap: 15px; align-items: center; margin-bottom: 19px; }
.result-line p { margin: 0; font-weight: 700; }
.result-line > span { font-size: 13px; color: var(--muted); }
.directory-note { margin-top: 20px; margin-bottom: 0; }
.side-stack { display: grid; gap: 20px; }
.support-panel { padding: 27px; background: var(--deep); color: white; }
.support-panel h2, .guide-panel h2 { font-size: 22px; }
.support-panel p { color: #e3edf3; font-size: 15px; }
.support-panel .button { background: white; color: var(--deep); width: 100%; padding-inline: 10px; }
.support-panel small { display: block; color: #d5e1eb; font-size: 13px; margin-top: 18px; }
.guide-panel { padding: 27px; background: var(--soft-green); }
.guide-panel ul { padding-left: 18px; font-size: 15px; }
.guide-panel li { margin-bottom: 10px; }
.guide-panel a { font-size: 15px; font-weight: 700; }
.empty { padding: 35px 24px; background: white; text-align: center; }
.small { font-size: 14px; }
.muted { color: var(--muted); }
.detail-banner { padding: 28px 0 44px; background: var(--deep); color: white; }
.detail-banner h1 { max-width: 1000px; font-size: clamp(29px,3vw,42px); margin-bottom: 20px; }
.detail-banner p { color: #dae5ed; margin-bottom: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 12px; font-size: 13px; color: #d0e0eb; margin-bottom: 27px; }
.breadcrumb a { color: #d0e0eb; }
.detail-type { font-size: 14px; margin-bottom: 16px !important; }
.detail-progress { display: flex; flex-wrap: wrap; gap: 15px 25px; font-size: 14px; }
.article { padding: 32px 36px; background: var(--paper); }
.article h2 { font-size: 25px; margin-top: 34px; }
.article h2:first-child { margin-top: 0; }
.article p { color: #344e63; }
.facts { display: grid; grid-template-columns: 108px minmax(0,1fr); margin: 22px 0; }
.facts dt, .facts dd { margin: 0; padding: 13px 14px; }
.facts dt { background: #e1eaf1; font-size: 14px; color: #39546b; }
.facts dd { background: white; overflow-wrap: anywhere; }
.facts dt:nth-of-type(even), .facts dd:nth-of-type(even) { background: transparent; }
.check-list { padding-left: 20px; }
.check-list li { margin-bottom: 12px; }
.notice { padding: 18px; background: #e0eaf4; font-size: 14px; }
.article-note { margin-top: 32px; }
.followup-panel { margin-top: 28px; padding: 24px; background: var(--soft-blue); border-radius: var(--radius); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 25px; }
.service-article { max-width: 900px; margin-inline: auto; }
.site-footer { padding-block: 46px; background: var(--deep); color: white; }
.footer-top { display: flex; justify-content: space-between; align-items: start; gap: 36px; }
.footer-brand { color: white; font-size: 35px; letter-spacing: .12em; }
.footer-top p { color: #d4e1ea; font-size: 14px; margin: 8px 0 0; }
.footer-links { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; padding-top: 8px; }
.footer-links a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 16px; border-radius: var(--radius); background: color-mix(in srgb, var(--deep), white 16%); color: white; font-size: 14px; font-weight: 700; box-shadow: 0 4px 0 rgb(0 0 0 / 30%), inset 0 1px 0 rgb(255 255 255 / 15%); transition: transform .16s, box-shadow .16s, background .16s; }
.footer-links a:hover { text-decoration: none; transform: translateY(-2px); background: color-mix(in srgb, var(--deep), white 24%); box-shadow: 0 6px 0 rgb(0 0 0 / 30%), inset 0 1px 0 rgb(255 255 255 / 15%); }
.footer-links a:active { transform: translateY(3px); box-shadow: 0 1px 0 rgb(0 0 0 / 30%); }
.footer-links a:focus-visible { outline-color: white; }
@keyframes rise { from { opacity: .7; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes landscape-drift { from { transform: scale(1.025); } to { transform: scale(1); } }
@media (max-width:1100px) {
  .nav { gap: 19px; }
  .hero, .hero-stage.wrap { min-height: 495px; }
  .hero-copy { padding: 28px; }
  .hero-copy h1, .hero-copy .hero-title { font-size: 36px; }
  .grid-main { grid-template-columns: minmax(0,1fr) 240px; gap: 22px; }
  .directory-section .grid-main { padding: 20px; }
  .directory-section .event-row { gap: 12px 16px; padding: 18px; }
  .row-detail.button { min-width: 136px; padding-inline: 16px; font-size: 16px; }
  .event-category { padding: 11px; }
  .event-category span { font-size: 15px; }
  .event-category small { font-size: 11px; }
  .preparation { gap: 45px; }
}
@media (max-width:900px) {
  .wrap { width: calc(100% - 40px); }
  .header-inner { gap: 15px; }
  .nav { gap: 15px; }
  .nav a { font-size: 14px; }
  .nav .button { padding: 10px 14px; font-size: 14px; }
  .hero, .hero-stage.wrap { min-height: 560px; }
  .hero-stage.wrap { padding: 30px; }
  .hero-copy { width: min(520px, 75%); padding: 30px; }
  .hero-copy h1, .hero-copy .hero-title { font-size: 40px; }
  .hero-copy p { font-size: 18px; max-width: 38em; }
  .hero-place { display: none; }
  .filters { grid-template-columns: 1fr 1fr; gap: 14px; }
  .grid-main { grid-template-columns: 1fr; }
  .side-stack { grid-template-columns: 1fr 1fr; }
  .event-row { gap: 18px; }
  .region-switch { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width:760px) {
  .wrap { width: calc(100% - 32px); }
  .header-inner { flex-direction: column; align-items: flex-start; gap: 6px; padding-top: 15px; }
  .brand { display: flex; gap: 15px; align-items: baseline; }
  .brand strong { font-size: 24px; }
  .brand small { font-size: 11px; letter-spacing: 0; }
  .nav { width: 100%; display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 6px; padding-bottom: 12px; }
  .nav a { display: flex; align-items: center; justify-content: center; grid-column: span 2; font-size: 13px; min-height: 40px; padding-block: 8px; }
  .nav .button { grid-column: span 3; min-height: 44px; padding: 10px 8px; font-size: 13px; }
  .hero { width: calc(100% - 24px); min-height: 540px; }
  .hero-stage.wrap { min-height: 540px; padding: 20px; align-items: flex-end; }
  .hero::after, .home-slide::after { background: linear-gradient(0deg, rgb(var(--hero-shade) / 86%), rgb(var(--hero-shade) / 62%) 43%, rgb(var(--hero-shade) / 6%) 87%); }
  .hero-copy { width: 100%; padding: 14px 8px; }
  .region-selector { margin-block: 32px 38px; }
  .region-switch { gap: 14px; }
  .region-option { gap: 10px; min-height: 156px; padding: 12px; }
  .region-option-copy strong { font-size: 25px; }
  .region-option-copy small { font-size: 12px; }
  .region-option-action { width: 100%; min-height: 36px; padding: 7px 3px; font-size: 11px; }
  .hero-copy h1, .hero-copy .hero-title { font-size: 35px; margin-bottom: 16px; line-height: 1.3; }
  .home-carousel-controls { left: 20px; right: 20px; bottom: 18px; }
  .home-region-buttons { width: 100%; gap: 6px; }
  .home-region-buttons button { flex: 1; min-width: 0; padding: 10px 5px; font-size: 15px; }
  .home-carousel-arrows { display: none; }
  .home-slide .hero-stage { padding-bottom: 88px; }
  .hero-copy p { max-width: 100%; font-size: 15px; line-height: 1.8; margin-bottom: 13px; }
  .hero-button { margin-top: 4px; min-height: 44px; font-size: 15px; }
  .hero-art { position: absolute; inset: 0; width: 100%; height: 100%; }
  .hero-art img { object-position: 68% 48%; }
  .hero-place { display: none; }
  .section { margin-block: 45px; }
  .section-heading { display: block; margin-bottom: 23px; }
  .section-heading > a { display: inline-block; margin-top: 12px; }
  .section-heading p { font-size: 14px; }
  .home-events { padding-block: 35px; }
  .event-row, .directory-section .event-row { grid-template-columns: minmax(0,1fr); gap: 12px; padding: 18px; }
  .event-category { justify-self: start; gap: 12px; padding: 9px 12px; }
  .event-category span { font-size: 14px; }
  .event-category small { font-size: 12px; white-space: nowrap; }
  .event-content h3 { font-size: 19px; }
  .row-meta, .row-note { font-size: 13px; }
  .row-detail.button { grid-column: 1; grid-row: auto; justify-self: end; min-width: 142px; min-height: 50px; padding: 12px 18px; }
  .preparation { grid-template-columns: 1fr; gap: 25px; }
  .preparation > div > h2 { font-size: 32px; }
  .preparation-items { padding: 27px; }
  .contact-band { min-height: 510px; padding-top: 220px; background: var(--soft-green); }
  .contact-band > picture { height: 290px; inset: 0 0 auto; }
  .contact-inner { min-height: 0; padding-block: 0 24px; }
  .contact-card { width: 100%; padding: 26px; }
  .contact-card h2 { font-size: 26px; }
  .directory-region { display: inline-block; margin-top: 12px; font-size: 14px; }
  .query-panel { padding: 20px 16px; margin-bottom: 22px; }
  .search-line { gap: 8px; }
  .search-line .button { font-size: 14px; padding-inline: 12px; min-width: 98px; }
  .filters { gap: 12px; }
  label { font-size: 13px; }
  .directory-section .grid-main { padding: 16px; margin-inline: -3px; }
  .result-line { align-items: start; }
  .result-line p { font-size: 14px; }
  .result-line > span { font-size: 12px; white-space: nowrap; }
  .side-stack { grid-template-columns: 1fr; }
  .support-panel, .guide-panel { padding: 24px; }
  .detail-banner { padding: 24px 0 30px; }
  .detail-banner h1 { font-size: 29px; }
  .breadcrumb { font-size: 12px; gap: 8px; margin-bottom: 20px; }
  .detail-progress { font-size: 13px; }
  .article { padding: 25px 20px; }
  .facts { grid-template-columns: 84px minmax(0,1fr); font-size: 14px; }
  .facts dt, .facts dd { padding: 11px 10px; }
  .facts dt { font-size: 13px; }
  .footer-top { display: block; }
  .footer-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 22px; }
  .site-footer { padding-block: 34px; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
