Files
website/src/app/globals.css
T
2026-09-17 01:53:36 +08:00

429 lines
37 KiB
CSS

@import "@fontsource-variable/noto-sans/wght.css";
@import "@fontsource-variable/noto-sans-sc/wght.css";
:root { --ink: #0b1622; --blue: #1267d8; --paper: #ffffff; --soft: #f5f7f9; --muted: #75828d; --panel: #f6f7f8; }
* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; }
html { overflow-x: hidden; }
body { color: var(--ink); background: var(--paper); font-family: "Noto Sans SC", "Noto Sans", Arial, "Microsoft YaHei", sans-serif; }
a { color: inherit; text-decoration: none; }
.site-header { display: flex; align-items: center; height: 128px; gap: 32px; padding-inline: max(24px, calc((100% - 1200px) / 2)); background: #fff; }
.site-logo { display: inline-flex; align-items: center; min-width: 248px; }
.site-logo-image { display: block; width: 240px; height: auto; }
.site-navigation { display: flex; align-items: center; justify-content: flex-end; flex: 1; gap: clamp(28px, 3vw, 46.08px); }
.site-navigation a { position: relative; padding: 8px 0; font-size: 15px; font-weight: 700; white-space: nowrap; }
.site-navigation a::after { position: absolute; right: 0; bottom: 0; left: 0; height: 2px; content: ""; background: #8F56A2; transform: scaleX(0); transition: transform .2s ease; }
.site-navigation a:hover, .site-navigation a:focus-visible { color: #8F56A2; }.site-navigation a:hover::after, .site-navigation a:focus-visible::after { transform: scaleX(1); }
.site-header-actions { display: flex; align-items: center; gap: 24px; min-width: 180px; justify-content: flex-end; }
.site-locale { display: inline-flex; align-items: center; gap: 0; padding: 3px 4px; border-radius: 16px; background: #f1f3f5; border: 1px solid rgba(17, 24, 39, 0.06); box-shadow: inset 0 1px 0 rgba(255,255,255,0.8); }
.site-locale button { appearance: none; border: 0; background: transparent; border-radius: 12px; padding: 10px 14px; min-width: 48px; color: #5d6773; font-size: 12px; font-weight: 700; letter-spacing: 0.05em; cursor: pointer; transition: all 0.2s ease; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.site-locale button:hover, .site-locale button:focus-visible { color: #8F56A2; }
.site-locale button.active { background: #fff; color: #8F56A2; box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08); }
.theme-toggle { display: inline-flex; align-items: center; width: 104px; height: 40px; padding: 3px; border: .8px solid rgba(24, 24, 27, 0.1); border-radius: 999px; background: transparent; }
.theme-toggle button { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; transition: background-color .2s ease, box-shadow .2s ease; }
.theme-toggle button.active { background: #fff; box-shadow: 0 1px 2px rgba(128, 128, 128, 0.2), 0 1px 3px rgba(128, 128, 128, 0.1); }
.theme-toggle button:hover, .theme-toggle button:focus-visible { background: rgba(143, 86, 162, 0.1); }
.theme-toggle button.active:hover, .theme-toggle button.active:focus-visible { background: #fff; }
.theme-toggle img { display: block; width: 14px; height: 14px; }
.locale-button-label { display: inline-flex; align-items: center; justify-content: center; }
.site-mobile-locale { display: none; }
.site-menu-button { display: none; width: 38px; border: 0; background: transparent; cursor: pointer; }
.site-menu-button span { display: block; height: 2px; margin: 5px 0; background: var(--ink); transition: background-color .2s ease; }
.site-menu-button:hover span, .site-menu-button:focus-visible span { background: #8F56A2; }
.home-page { padding: 0 0 48px; }
.home-hero, .home-news, .home-collage { width: min(1200px, calc(100% - 32px)); margin-right: auto; margin-left: auto; }
.home-hero { position: relative; height: 560px; overflow: hidden; border-radius: 15px; isolation: isolate; color: #fff; background: #173c59; }
.hero-scene, .hero-shade { position: absolute; inset: 0; }.hero-scene { background: url("/home-hero-scene.png") center / cover no-repeat; }
.hero-city { position: absolute; bottom: 0; width: 34%; height: 70%; opacity: .82; background: repeating-linear-gradient(90deg, #244052 0 17px, #98b1ba 18px 21px, #1b3347 22px 42px); }.hero-city-left { left: -7%; transform: skewY(8deg); }.hero-city-right { right: -6%; height: 61%; background: repeating-linear-gradient(90deg, #405d70 0 29px, #b3c1c4 30px 33px, #314c60 34px 58px); transform: skewY(-4deg); }
.hero-overpass { position: absolute; right: 14%; bottom: 21%; width: 65%; height: 15%; border-top: 10px solid #d9dedb; border-bottom: 12px solid #6e8284; transform: skewY(-7deg); box-shadow: 0 14px 0 rgba(25,48,57,.35); }
.hero-track { position: absolute; bottom: -18%; left: 17%; width: 70%; height: 55%; border-top: 10px solid #dee4e1; border-right: 10px solid #c5cecb; transform-origin: bottom left; }.hero-track-one { transform: skewX(-31deg) rotate(-5deg); }.hero-track-two { bottom: -25%; left: 36%; width: 62%; opacity: .75; transform: skewX(-31deg) rotate(-5deg); }
.hero-train { position: absolute; right: 24%; bottom: 27%; width: 39%; height: 11%; display: flex; gap: 4px; padding: 7px; background: linear-gradient(#e6ece7 0 44%, #0d5b77 45% 78%, #152c3e 79%); border-radius: 3px; box-shadow: 0 10px 10px rgba(11,26,33,.25); transform: skewY(-7deg); }.hero-train span { flex: 1; background: linear-gradient(#233d51 0 55%, #97c3d1 57%); }
.hero-shade { z-index: 1; background: linear-gradient(90deg, rgba(3,12,20,.75), rgba(3,12,20,.36) 43%, transparent 78%); }.hero-content { position: absolute; z-index: 2; top: 101px; left: 100px; max-width: 760px; }
.hero-kicker { margin: 0; color: #c4e4ff; font-size: 11px; font-weight: 700; letter-spacing: 1.98px; }.hero-content h1 { margin: 20px 0 0; font-size: 83px; font-weight: 800; letter-spacing: -.08em; line-height: 1.02; }.hero-content > p:not(.hero-kicker) { margin: 26px 0; font-size: 19px; line-height: 1.7; }.hero-link { display: inline-flex; align-items: center; gap: 17px; padding-bottom: 8px; border-bottom: 2px solid #fff; font-size: 16px; font-weight: 700; }.hero-link span { font-size: 25px; line-height: .5; transition: transform .2s ease; }.hero-link:hover span { transform: translateX(7px); }
.home-news { height: 393px; margin-top: 50px; padding: 0 0 16px; }
.news-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.news-header h2 { margin: 0; font-size: 46px; line-height: 1.1; letter-spacing: -0.04em; }
.news-more-link { color: var(--blue); font-size: 23px; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.news-more-link span { font-size: 24px; line-height: 1; }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 37.5px; }
.news-card { min-width: 0; }
.news-card-link { display: block; }
.news-visual { height: 168px; aspect-ratio: 29 / 13; border-radius: 18px; background-size: cover; background-position: center; box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06); }
.news-card h3 { margin: 18px 0 10px; font-size: 26px; line-height: 1.4; letter-spacing: -0.03em; }
.news-card time { color: var(--muted); font-size: 16px; }
.home-collage { position: relative; height: 648px; margin-top: 50px; }.home-collage-tile { position: absolute; border-radius: 13px; background: #d9d9d9; }.home-collage-wide { top: 0; left: 0; width: 41.4%; height: 359px; }.home-collage-medium { top: 0; left: 42.57%; width: 28.87%; height: 359px; }.home-collage-small { top: 376px; left: 27.28%; width: 44.3%; height: 272px; }.home-collage-bottom { top: 376px; left: 0; width: 25.83%; height: 272px; }.home-collage-tall { top: 0; right: 0; width: 27.1%; height: 648px; }
.news-page { padding: 30px 0 60px; }
.friendly-links-hero { background: var(--policy-hero-image) center 28.2% / 100% auto no-repeat; }
.friendly-links-page-inner { gap: 50px; }
.friendly-links-content { width: min(1214px, 100%); margin: 0 auto; }
.friendly-links-section + .friendly-links-section { margin-top: 50px; }
.friendly-links-section h2 { margin: 0 0 20px; color: #181c20; font-size: 40px; font-weight: 700; line-height: 48px; }
.friendly-links-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.friendly-link-card { position: relative; display: flex; align-items: stretch; min-width: 0; min-height: 186px; overflow: hidden; border: 1.1px solid #e3e6e8; border-radius: 16.42px; background: #fff; color: #181c20; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
a.friendly-link-card:hover, a.friendly-link-card:focus-visible { border-color: #8f56a2; box-shadow: 0 8px 20px rgba(40, 29, 47, .1); transform: translateY(-2px); }
.friendly-link-card-content { display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: center; gap: 16.42px; padding: 32.83px 10.94px; }
.friendly-link-card-heading { display: flex; align-items: center; justify-content: center; gap: 16px; min-width: 0; font-size: 27.36px; font-weight: 400; line-height: normal; white-space: nowrap; }
.friendly-link-card-logo { display: flex; width: 65.67px; height: 65.67px; flex: 0 0 65.67px; align-items: center; justify-content: center; overflow: hidden; border-radius: 10.944px; background: #fff; }
.friendly-link-card-logo img { display: block; width: 65.67px; height: 65.67px; object-fit: cover; }
.friendly-link-card-description { color: #8d949a; font-size: 16.42px; line-height: 21.89px; text-align: center; }
.friendly-link-card-archive { position: absolute; top: 13px; right: 5px; padding: 4px 6px; border-radius: 4px; background: #e72329; color: #fff; font-size: 10px; line-height: 12px; }
.friendly-links-page .page-bottom-nav { margin-top: 176px; }
.news-page-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.news-page-header { display: flex; justify-content: center; align-items: center; margin: 0 0 30px; }
.news-page-header h1 { margin: 0; font-size: clamp(52px, 5vw, 88px); letter-spacing: -0.07em; line-height: 1; font-weight: 800; }
.news-toolbar { display: flex; align-items: center; justify-content: space-between; padding: 18px 0 24px; border-bottom: 1px solid rgba(15, 23, 42, 0.12); }
.news-toolbar-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.news-filter-button { border: 1px solid rgba(15, 23, 42, 0.16); background: transparent; border-radius: 999px; padding: 10px 24px; font-size: 15px; color: #1b2430; cursor: pointer; }
.news-filter-button.active { background: #0f73ff; border-color: #0f73ff; color: #fff; }
.news-toolbar-right { display: flex; align-items: center; gap: 8px; }
.news-view-toggle { width: 36px; height: 36px; border: 1px solid rgba(15, 23, 42, 0.16); border-radius: 50%; background: rgba(15, 23, 42, 0.03); color: #1b2430; cursor: pointer; }
.news-list-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; padding-top: 28px; padding-bottom: 48px; }
.news-list-card { min-width: 0; }
.news-list-link { display: block; }
.news-list-cover { aspect-ratio: 29 / 13; border-radius: 18px; background-size: cover; background-position: center; }
.news-list-meta { padding-top: 18px; }
.news-list-tag { display: inline-block; margin-bottom: 12px; font-size: 12px; color: #0f73ff; background: rgba(15, 115, 255, 0.08); padding: 5px 8px; border-radius: 999px; }
.news-list-meta h3 { margin: 0 0 10px; font-size: clamp(18px, 2vw, 28px); line-height: 1.4; letter-spacing: -0.04em; }
.news-list-meta time { color: #697684; font-size: 14px; }
.news-pagination { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 20px 0 0; margin-top: 20px; }
.news-pagination-button { min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid rgba(15, 23, 42, 0.16); border-radius: 8px; background: #fff; color: #1b2430; font-size: 14px; font-weight: 500; cursor: pointer; transition: all 0.2s ease; }
.news-pagination-button:hover:not(:disabled) { border-color: #0f73ff; color: #0f73ff; background: rgba(15, 115, 255, 0.04); }
.news-pagination-button.active { background: #0f73ff; border-color: #0f73ff; color: #fff; }
.news-pagination-button:disabled { opacity: 0.5; cursor: not-allowed; }
.news-pagination-info { color: #697684; font-size: 14px; margin: 0 8px; }
.news-detail-page { padding: 40px 0 80px; }
.news-detail-inner { max-width: 960px; margin: 0 auto; padding: 0 24px; }
.back-link { display: inline-block; margin-bottom: 20px; color: #0f73ff; font-weight: 700; }
.news-detail-card { background: #fff; border-radius: 26px; padding: 28px; box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04); }
.news-detail-tag { display: inline-block; margin: 0 0 12px; padding: 6px 10px; border-radius: 999px; background: rgba(15, 115, 255, 0.08); color: #0f73ff; font-size: 12px; }
.news-detail-card h1 { margin: 0 0 10px; font-size: clamp(38px, 4vw, 62px); line-height: 1.08; letter-spacing: -0.06em; }
.news-detail-card time { display: inline-block; margin-bottom: 20px; color: #697684; }
.news-detail-ai-banner { display: flex; align-items: center; width: 100%; margin: 0 0 20px; padding: 12px 18px; border-radius: 999px; background: rgba(255, 179, 15, 0.08); color: #ff8f0f; font-size: 15px; line-height: 1.5; }
.news-detail-cover { aspect-ratio: 29 / 13; border-radius: 18px; background-size: cover; background-position: center; margin-bottom: 24px; }
.news-detail-body { color: #1d2732; line-height: 1.9; font-size: 17px; }
.news-detail-body strong, .policy-body strong { font-weight: 700; }
.news-detail-body h2, .news-detail-body h3 { margin-top: 28px; }
.news-detail-body p { margin: 0 0 18px; }
.news-detail-body img { display: block; width: auto; max-width: 100%; height: auto; margin: 18px 0; }
.news-detail-body table, .policy-body table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.news-detail-body pre, .policy-body pre { max-width: 100%; overflow-x: auto; }
.news-detail-body blockquote, .policy-body blockquote { margin: 18px 0; padding-left: 16px; border-left: 3px solid rgba(143, 86, 162, 0.35); }
.news-detail-body ul, .policy-body ul { padding-left: 28px; }
.news-detail-body ul ul, .policy-body ul ul { list-style-type: circle; margin-top: 8px; }
.news-detail-body ul ul ul, .policy-body ul ul ul { list-style-type: square; }
.news-detail-body li { margin: 8px 0; }
.news-detail-body a, .policy-body a { color: #1267d8; text-decoration: underline; text-underline-offset: 3px; }
.news-detail-body a:hover, .policy-body a:hover { color: #8f56a2; }
.policy-page { padding: 0 0 48px; background: #fff; }
.policy-page-inner { display: flex; flex-direction: column; gap: 50px; align-items: center; padding: 0 40px 48px; }
.policy-hero { width: min(1200px, 100%); min-height: 322px; display: flex; align-items: flex-start; padding: 156px 48px 0; border-radius: 10px; background: linear-gradient(110deg, rgba(143, 86, 162, 0.82), rgba(143, 86, 162, 0.18)), var(--policy-hero-image, url("/policy-hero.png")) center / cover; overflow: hidden; }
.policy-hero-inner { margin-left: -48px; padding: 10px 46px; background: #8f56a2; }
.policy-hero h1 { margin: 0; color: #fff; font-size: clamp(38px, 4vw, 62px); line-height: 1.3; letter-spacing: 0.25px; }
.policy-card { width: min(1200px, 100%); padding: 28px; border-radius: 26px; background: #fefdfa; box-shadow: 0 10px 15px rgba(15, 23, 42, 0.04); }
.policy-ai-notice { display: inline-flex; margin: 0 0 26px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 179, 15, 0.1); color: #ff8f0f; font-size: 13px; line-height: 1.5; }
.policy-body { color: #1d2732; font-size: 17px; line-height: 1.9; }
.policy-body h1, .policy-body h2, .policy-body h3 { color: #8f56a2; font-weight: 400; }
.policy-body h1 { margin: 0 0 28px; font-size: 52px; line-height: 1.3; }
.policy-body h2 { margin: 42px 0 24px; font-size: 52px; line-height: 1.3; }
.policy-body h3 { margin: 32px 0 20px; font-size: 40px; line-height: 1.3; }
.policy-body h1:first-child, .policy-body h2:first-child, .policy-body h3:first-child { margin-top: 0; }
.policy-body p { margin: 0 0 18px; }
.policy-body ul, .policy-body ol { margin: 0 0 18px; padding-left: 28px; }
.policy-body li { margin: 0 0 8px; }
.policy-body code { padding: 2px 5px; border-radius: 4px; background: rgba(143, 86, 162, 0.08); color: #6d3f7d; }
.policy-body a { color: #8f56a2; text-decoration: underline; }
.page-bottom-nav { width: min(1200px, calc(100% - 40px)); margin: 48px auto 0; padding: 32px 0; border-top: 0.8px solid #d9d9d9; border-bottom: 0.8px solid #d9d9d9; }
.page-bottom-nav-inner { width: 100%; margin: 0 auto; }
.page-breadcrumb { display: flex; align-items: center; gap: 16px; margin: 0; color: #3a3a3a; font-size: 16px; font-weight: 500; line-height: 24px; letter-spacing: -0.0625px; }
.page-breadcrumb-item { display: inline-flex; align-items: center; gap: 16px; white-space: nowrap; }
.page-breadcrumb-separator { color: #3a3a3a; }
.page-breadcrumb a { color: #000; }
.news-share { margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(15, 23, 42, 0.1); }
.news-share h2 { margin: 0 0 18px; font-size: 24px; line-height: 1.2; }
.news-share-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.news-share-button { min-width: 86px; height: 42px; padding: 0 16px; border: 1px solid rgba(15, 23, 42, 0.16); border-radius: 999px; background: #fff; color: #172333; font: inherit; cursor: pointer; }
.news-share-button:hover { border-color: #0f73ff; color: #0f73ff; }
.news-share-x, .news-share-qq { min-width: 52px; font-weight: 700; }
.status-page { background: var(--paper); }
.status-content { display: flex; align-items: center; justify-content: center; height: 600px; padding: 0 24px 48px; }
.status-content-inner { display: flex; flex-direction: column; align-items: center; gap: 40px; text-align: center; }
.status-code, .status-content h1 { margin: 0; color: #111817; font-family: "Microsoft YaHei", "Noto Sans SC", sans-serif; font-size: 38px; font-weight: 700; line-height: 1.24; }
.status-content h1 { max-width: 100%; }
.status-back-button { padding: 0; border: 0; background: transparent; color: #8f56a2; font: 700 30px/1.25 "Microsoft YaHei", "Noto Sans SC", sans-serif; cursor: pointer; }
.status-back-button:hover, .status-back-button:focus-visible { text-decoration: underline; text-underline-offset: 5px; }
.site-footer { height: 500px; color: #5e686d; background: #fbfbfb; }
.site-footer-inner { width: min(1200px, calc(100% - 40px)); height: 480px; margin: 0 auto; }
.site-footer-top { display: flex; align-items: center; justify-content: space-between; height: 89px; border-bottom: 1px solid rgba(15, 23, 42, 0.06); padding-top: 0; }
.site-footer-socials { display: flex; align-items: center; justify-content: flex-start; gap: 33px; height: 28px; }
.site-footer-title { width: 80px; font-family: "Noto Sans SC", sans-serif; font-size: 20px; font-weight: 400; line-height: 21px; letter-spacing: 0; color: #5f6464; }
.site-footer-icons { display: flex; align-items: center; gap: 28px; }
.site-footer-icon { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 4px; background: transparent; color: #5e686d; font-size: 14px; font-weight: 700; transition: transform .2s ease, color .2s ease; }
.site-footer-icon:hover { color: #1f2b38; transform: translateY(-1px); }
.site-footer-main { position: relative; height: 234px; padding-top: 21px; }
.site-footer-columns { display: grid; grid-template-columns: 216px 216px 298px; gap: 0; width: 730px; height: 207px; }
.site-footer-column h3 { margin: 0; font-family: "Noto Sans SC", sans-serif; font-size: 20px; font-weight: 400; line-height: 21px; color: #5f6464; }
.site-footer-column ul { list-style: none; padding: 30px 0 18px; margin: 0; display: flex; flex-direction: column; gap: 18px; }
.site-footer-column li { flex: none; height: 21px; }
.site-footer-column a { display: block; height: 21px; color: #5f6464; font-family: "Noto Sans SC", sans-serif; font-size: 16px; font-weight: 400; line-height: 21px; transition: color .2s ease; }
.site-footer-column a:hover, .site-footer-column a:focus-visible { color: #8F56A2; }
.site-footer-brand-wrap { position: absolute; top: 76px; left: 830px; display: flex; align-items: center; justify-content: center; width: 370px; height: 158px; }
.site-footer-brand { display: inline-flex; align-items: center; justify-content: center; width: 100%; }
.site-footer-brand-logo { display: block; width: 270px; height: auto; opacity: 0.96; filter: drop-shadow(0 2px 6px rgba(17, 34, 52, 0.06)); }
.site-footer-meta { height: 130.8px; padding-top: 26px; border-top: 1px solid rgba(15, 23, 42, 0.06); margin-top: 0; }
.site-footer-legal-row { display: flex; flex-wrap: wrap; gap: 0 18px; align-items: center; font-family: "Noto Sans SC", sans-serif; font-size: 14px; font-weight: 400; line-height: 17px; color: #5f6b75; }
.site-footer-legal-row a { color: inherit; transition: color .2s ease; }
.site-footer-legal-row a:hover, .site-footer-legal-row a:focus-visible { color: #8F56A2; }
.site-footer-copyright-row { display: flex; flex-wrap: wrap; gap: 0 18px; align-items: center; margin-top: 18px; font-family: "Noto Sans SC", sans-serif; font-size: 14px; font-weight: 400; line-height: 17px; color: #66737e; }
.site-footer-copyright-row a { transition: color .2s ease; }
.site-footer-copyright-row a:hover, .site-footer-copyright-row a:focus-visible { color: #8F56A2; }
.site-footer-meta p { margin: 18px 0 0; font-family: "Noto Sans SC", sans-serif; font-size: 14px; font-weight: 400; line-height: 17px; color: #66737e; }
.site-footer-meta .site-footer-description { width: 1200px; max-width: 100%; margin-top: 18px; }
html[data-theme="dark"] {
--ink: #edf2f7;
--blue: #70adff;
--paper: #10151d;
--soft: #1a222d;
--muted: #a9b5c1;
--panel: #1a222d;
}
html[data-theme="dark"] .site-header { background: #10151d; }
html[data-theme="dark"] .site-logo-image, html[data-theme="dark"] .site-footer-brand-logo { filter: brightness(0) invert(1); }
html[data-theme="dark"] .site-locale { background: #1b2531; border-color: rgba(255, 255, 255, 0.12); box-shadow: none; }
html[data-theme="dark"] .site-locale button { color: #bdc8d5; }
html[data-theme="dark"] .site-locale button.active { background: #2b3746; color: #dcaee9; box-shadow: none; }
html[data-theme="dark"] .theme-toggle { border-color: rgba(255, 255, 255, 0.16); }
html[data-theme="dark"] .theme-toggle button.active { background: #2b3746; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.28); }
html[data-theme="dark"] .theme-toggle button:hover, html[data-theme="dark"] .theme-toggle button:focus-visible { background: rgba(255, 255, 255, 0.12); }
html[data-theme="dark"] .theme-toggle button.active:hover, html[data-theme="dark"] .theme-toggle button.active:focus-visible { background: #2b3746; }
html[data-theme="dark"] .theme-toggle img { filter: brightness(0) invert(1); }
html[data-theme="dark"] .news-toolbar { border-color: rgba(255, 255, 255, 0.16); }
html[data-theme="dark"] .friendly-links-section h2 { color: var(--ink); }
html[data-theme="dark"] .friendly-link-card { border-color: #394553; background: #19222d; color: var(--ink); }
html[data-theme="dark"] .friendly-link-card-description { color: #a9b5c1; }
html[data-theme="dark"] .news-filter-button, html[data-theme="dark"] .news-view-toggle { color: var(--ink); border-color: rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.04); }
html[data-theme="dark"] .news-pagination-button, html[data-theme="dark"] .news-share-button { color: var(--ink); border-color: rgba(255, 255, 255, 0.2); background: #1b2531; }
html[data-theme="dark"] .news-detail-card { background: #19222d; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); }
html[data-theme="dark"] .news-detail-body, html[data-theme="dark"] .policy-body { color: #dce5ee; }
html[data-theme="dark"] .policy-page { background: var(--paper); }
html[data-theme="dark"] .policy-card { background: #19222d; box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2); }
html[data-theme="dark"] .page-bottom-nav { border-color: #394553; }
html[data-theme="dark"] .page-breadcrumb, html[data-theme="dark"] .page-breadcrumb-separator, html[data-theme="dark"] .page-breadcrumb a { color: #cbd5df; }
html[data-theme="dark"] .news-share { border-color: rgba(255, 255, 255, 0.14); }
html[data-theme="dark"] .status-code, html[data-theme="dark"] .status-content h1 { color: var(--ink); }
html[data-theme="dark"] .site-footer { color: #afbbc6; background: #0b1016; }
html[data-theme="dark"] .site-footer-top, html[data-theme="dark"] .site-footer-meta { border-color: rgba(255, 255, 255, 0.1); }
html[data-theme="dark"] .site-footer-title, html[data-theme="dark"] .site-footer-column h3, html[data-theme="dark"] .site-footer-column a, html[data-theme="dark"] .site-footer-icon, html[data-theme="dark"] .site-footer-legal-row, html[data-theme="dark"] .site-footer-copyright-row, html[data-theme="dark"] .site-footer-meta p { color: #afbbc6; }
/* The static HTML has no theme attribute. Apply the system theme before React hydrates. */
@media (prefers-color-scheme: dark) {
html:not([data-theme]) {
color-scheme: dark;
--ink: #edf2f7;
--blue: #70adff;
--paper: #10151d;
--soft: #1a222d;
--muted: #a9b5c1;
--panel: #1a222d;
}
html:not([data-theme]) .site-header { background: #10151d; }
html:not([data-theme]) .site-logo-image, html:not([data-theme]) .site-footer-brand-logo { filter: brightness(0) invert(1); }
html:not([data-theme]) .site-locale { background: #1b2531; border-color: rgba(255, 255, 255, 0.12); box-shadow: none; }
html:not([data-theme]) .site-locale button { color: #bdc8d5; }
html:not([data-theme]) .site-locale button.active { background: #2b3746; color: #dcaee9; box-shadow: none; }
html:not([data-theme]) .theme-toggle { border-color: rgba(255, 255, 255, 0.16); }
html:not([data-theme]) .theme-toggle button.active { background: #2b3746; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.28); }
html:not([data-theme]) .theme-toggle button:hover, html:not([data-theme]) .theme-toggle button:focus-visible { background: rgba(255, 255, 255, 0.12); }
html:not([data-theme]) .theme-toggle button.active:hover, html:not([data-theme]) .theme-toggle button.active:focus-visible { background: #2b3746; }
html:not([data-theme]) .theme-toggle img { filter: brightness(0) invert(1); }
html:not([data-theme]) .news-toolbar { border-color: rgba(255, 255, 255, 0.16); }
html:not([data-theme]) .friendly-links-section h2 { color: var(--ink); }
html:not([data-theme]) .friendly-link-card { border-color: #394553; background: #19222d; color: var(--ink); }
html:not([data-theme]) .friendly-link-card-description { color: #a9b5c1; }
html:not([data-theme]) .news-filter-button, html:not([data-theme]) .news-view-toggle { color: var(--ink); border-color: rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.04); }
html:not([data-theme]) .news-pagination-button, html:not([data-theme]) .news-share-button { color: var(--ink); border-color: rgba(255, 255, 255, 0.2); background: #1b2531; }
html:not([data-theme]) .news-detail-card { background: #19222d; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); }
html:not([data-theme]) .news-detail-body, html:not([data-theme]) .policy-body { color: #dce5ee; }
html:not([data-theme]) .policy-page { background: var(--paper); }
html:not([data-theme]) .policy-card { background: #19222d; box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2); }
html:not([data-theme]) .page-bottom-nav { border-color: #394553; }
html:not([data-theme]) .page-breadcrumb, html:not([data-theme]) .page-breadcrumb-separator, html:not([data-theme]) .page-breadcrumb a { color: #cbd5df; }
html:not([data-theme]) .news-share { border-color: rgba(255, 255, 255, 0.14); }
html:not([data-theme]) .status-code, html:not([data-theme]) .status-content h1 { color: var(--ink); }
html:not([data-theme]) .site-footer { color: #afbbc6; background: #0b1016; }
html:not([data-theme]) .site-footer-top, html:not([data-theme]) .site-footer-meta { border-color: rgba(255, 255, 255, 0.1); }
html:not([data-theme]) .site-footer-title, html:not([data-theme]) .site-footer-column h3, html:not([data-theme]) .site-footer-column a, html:not([data-theme]) .site-footer-icon, html:not([data-theme]) .site-footer-legal-row, html:not([data-theme]) .site-footer-copyright-row, html:not([data-theme]) .site-footer-meta p { color: #afbbc6; }
}
@media (max-width: 900px) {
.site-header { height: 84px; padding: 0 16px; }
.site-logo { min-width: 0; flex: 1; justify-content: flex-start; }
.site-logo-image { width: min(180px, 44vw); }
.site-navigation { display: none; }
.site-navigation.is-open { position: absolute; top: 84px; right: 16px; left: 16px; z-index: 10; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 18px; border: 1px solid rgba(15, 23, 42, 0.08); background: #fff; box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12); }
.site-navigation.is-open a { padding: 13px 0; border-bottom: 1px solid rgba(15, 23, 42, 0.08); }
.site-navigation.is-open a:last-child { border-bottom: 0; }
.site-navigation.is-open a::after { display: none; }
.site-navigation.is-open .site-mobile-locale { display: flex; align-items: center; gap: 4px; padding: 12px 0 4px; border-top: 1px solid rgba(15, 23, 42, 0.08); }
.site-mobile-locale button { min-width: 36px; padding: 8px; border: 0; border-radius: 8px; background: transparent; color: #5d6773; font: inherit; font-size: 11px; font-weight: 700; letter-spacing: 0.05em; cursor: pointer; }
.site-mobile-locale button:hover, .site-mobile-locale button:focus-visible, .site-mobile-locale button.active { color: #8F56A2; background: rgba(143, 86, 162, 0.08); }
.site-locale { display: none; }
.site-header-actions { min-width: auto; margin-left: auto; gap: 8px; flex-shrink: 0; }
.site-menu-button { display: block; flex-shrink: 0; }
.home-page { padding: 0 0 32px; }
.home-hero { width: calc(100% - 32px); height: min(560px, calc(100svh - 115px)); min-height: 420px; border-radius: 11px; }
.hero-city-left { width: 52%; }
.hero-city-right { width: 47%; }
.hero-train { right: 6%; width: 68%; }
.hero-content { top: auto; right: 28px; bottom: 62px; left: 28px; }
.hero-content h1 { font-size: clamp(43px, 12vw, 66px); }
.hero-shade { background: linear-gradient(0deg, rgba(3,12,20,.88), rgba(3,12,20,.13) 70%); }
.hero-content > p:not(.hero-kicker) { max-width: 370px; }
.news-header { margin-bottom: 22px; }
.news-header h2 { font-size: clamp(32px, 8vw, 46px); }
.news-more-link { font-size: 17px; }
.home-news { width: calc(100% - 32px); height: auto; }
.news-grid { grid-template-columns: 1fr; gap: 24px; }
.news-visual { height: auto; }
.news-card h3 { font-size: 22px; }
.home-collage { width: calc(100% - 32px); height: 360px; margin-top: 32px; }
.home-collage-wide { width: 58%; height: 190px; }
.home-collage-medium { left: 61%; width: 39%; height: 190px; }
.home-collage-bottom { top: 202px; width: 36%; height: 158px; }
.home-collage-small { top: 202px; left: 39%; width: 61%; height: 158px; }
.home-collage-tall { display: none; }
.news-page-inner { padding: 0 16px; }
.friendly-links-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.news-page-header h1 { font-size: clamp(46px, 12vw, 72px); }
.news-toolbar { align-items: flex-start; flex-wrap: wrap; gap: 16px; }
.news-toolbar-right { margin-left: auto; }
.policy-page-inner { gap: 28px; padding: 0 16px 32px; }
.policy-hero { min-height: 220px; padding: 90px 28px 0; }
.policy-hero-inner { margin-left: -28px; padding: 8px 28px; }
.policy-card { padding: 20px; border-radius: 20px; }
.policy-body { font-size: 16px; }
.policy-body h1 { font-size: 38px; }
.policy-body h2 { margin-top: 32px; font-size: 36px; }
.policy-body h3 { margin-top: 26px; font-size: 30px; }
.news-toolbar { padding-top: 12px; }
.news-list-grid { grid-template-columns: 1fr; gap: 22px; padding-bottom: 32px; }
.news-detail-card { padding: 20px; }
.news-detail-card h1 { font-size: clamp(34px, 8vw, 52px); overflow-wrap: anywhere; }
.news-detail-ai-banner { border-radius: 16px; }
.news-detail-cover { height: auto; }
.news-detail-body { font-size: 16px; overflow-wrap: anywhere; }
.page-bottom-nav { width: calc(100% - 40px); margin-top: 30px; padding: 24px 0; overflow-x: auto; }
.page-bottom-nav-inner { width: 100%; padding: 0 20px; }
.news-share { margin-top: 30px; padding-top: 22px; }
.site-footer-inner { width: auto; height: auto; margin: 0; padding: 0 20px; }
.site-footer-main { height: auto; padding-top: 26px; }
.site-footer-columns { grid-template-columns: 1fr; gap: 22px; width: auto; height: auto; }
.site-footer-brand-wrap { display: none; }
.site-footer-socials { flex-direction: row; align-items: center; }
.site-footer-top { align-items: center; }
.site-footer-legal-row { gap: 8px 12px; }
.site-footer { height: auto; padding: 28px 0 22px; }
.site-footer-meta p { font-size: 12px; }
}
@media (max-width: 600px) {
.site-header { height: 72px; gap: 10px; padding: 0 12px; }
.site-logo { justify-content: flex-start; }
.site-logo-image { width: min(170px, 52vw); }
.site-header-actions { gap: 4px; }
.site-menu-button { width: 34px; padding: 0; }
.site-navigation.is-open { top: 72px; right: 12px; left: 12px; padding: 8px 16px; }
.home-page { padding-bottom: 24px; }
.home-hero { width: calc(100% - 24px); min-height: 500px; height: calc(100svh - 96px); border-radius: 10px; }
.hero-content { right: 20px; bottom: 36px; left: 20px; }
.hero-kicker { max-width: 250px; font-size: 10px; letter-spacing: 1.2px; }
.hero-content h1 { margin-top: 14px; font-size: clamp(42px, 14vw, 62px); line-height: 1.08; }
.hero-content > p:not(.hero-kicker) { margin: 18px 0; font-size: 16px; line-height: 1.6; }
.hero-link { gap: 10px; font-size: 15px; }
.home-news { width: calc(100% - 24px); margin-top: 34px; }
.news-header { align-items: flex-end; gap: 12px; }
.news-header h2 { font-size: 34px; }
.news-more-link { flex-shrink: 0; font-size: 15px; }
.news-grid { gap: 28px; }
.news-card h3 { margin-top: 12px; font-size: 20px; }
.news-card time { font-size: 14px; }
.home-collage { width: calc(100% - 24px); height: 280px; margin-top: 28px; }
.home-collage-wide, .home-collage-medium { height: 148px; }
.home-collage-bottom, .home-collage-small { top: 160px; height: 120px; }
.news-page { padding-top: 20px; }
.friendly-links-content { width: 100%; }
.friendly-links-section + .friendly-links-section { margin-top: 36px; }
.friendly-links-section h2 { margin-bottom: 16px; font-size: 30px; line-height: 1.35; }
.friendly-links-grid { grid-template-columns: 1fr; gap: 12px; }
.news-page-inner { padding: 0 12px; }
.news-page-header { margin-bottom: 20px; }
.news-page-header h1 { font-size: 52px; }
.news-toolbar { padding: 14px 0 18px; }
.news-toolbar-actions { gap: 8px; }
.news-filter-button { padding: 8px 14px; font-size: 14px; }
.news-list-grid { gap: 28px; padding-top: 22px; }
.news-list-meta { padding-top: 12px; }
.news-list-meta h3 { font-size: 20px; }
.news-pagination { gap: 6px; flex-wrap: wrap; }
.news-pagination-button { min-width: 36px; height: 36px; padding: 0 9px; }
.news-detail-page { padding: 24px 0 48px; }
.news-detail-inner { padding: 0 12px; }
.back-link { margin-bottom: 14px; font-size: 14px; }
.news-detail-card { padding: 16px; border-radius: 18px; }
.news-detail-card h1 { margin-bottom: 8px; font-size: 34px; letter-spacing: -0.04em; }
.news-detail-card time { margin-bottom: 14px; font-size: 14px; }
.news-detail-ai-banner { margin-bottom: 16px; padding: 10px 14px; font-size: 14px; line-height: 1.5; }
.news-detail-body { font-size: 16px; line-height: 1.8; }
.news-detail-body ul, .policy-body ul { padding-left: 22px; }
.news-share { margin-top: 24px; padding-top: 18px; }
.news-share h2 { font-size: 20px; }
.news-share-actions { gap: 8px; }
.news-share-button { min-width: 0; height: 38px; padding: 0 12px; font-size: 14px; }
.status-content { height: min(600px, calc(100svh - 72px)); min-height: 420px; padding-bottom: 32px; }
.status-content-inner { gap: 32px; }
.status-code, .status-content h1 { font-size: clamp(28px, 8vw, 38px); }
.status-content h1 { overflow-wrap: anywhere; }
.status-back-button { font-size: 24px; }
.policy-page-inner { gap: 20px; padding: 0 12px 24px; }
.policy-hero { min-height: 170px; padding: 64px 20px 0; border-radius: 8px; }
.policy-hero-inner { margin-left: -20px; padding: 7px 20px; max-width: 100%; }
.policy-hero h1 { font-size: 34px; overflow-wrap: anywhere; }
.policy-card { padding: 16px; border-radius: 18px; }
.policy-body { font-size: 16px; line-height: 1.8; overflow-wrap: anywhere; }
.policy-body h1 { font-size: 34px; }
.policy-body h2 { margin: 30px 0 18px; font-size: 34px; }
.policy-body h3 { margin: 24px 0 16px; font-size: 28px; }
.policy-body li { margin-bottom: 6px; }
.page-bottom-nav { width: calc(100% - 24px); margin-top: 24px; padding: 20px 0; }
.page-bottom-nav-inner { padding: 0 12px; }
.page-breadcrumb { gap: 10px; font-size: 14px; }
.page-breadcrumb-item { gap: 10px; }
.site-footer { padding: 24px 0 18px; }
.site-footer-inner { padding: 0 16px; }
.site-footer-top { height: auto; flex-wrap: wrap; gap: 16px; padding-top: 0; padding-bottom: 24px; }
.site-footer-socials { gap: 18px; }
.site-footer-title { width: auto; font-size: 18px; }
.site-footer-icons { gap: 14px; }
.site-footer-main { padding-top: 22px; }
.site-footer-columns { gap: 18px; }
.site-footer-column h3 { font-size: 18px; }
.site-footer-column ul { padding-top: 18px; gap: 12px; }
.site-footer-column li, .site-footer-column a { height: auto; min-height: 21px; }
.site-footer-meta { height: auto; padding-top: 20px; }
.site-footer-description { overflow-wrap: anywhere; }
.site-footer-copyright-row { gap: 8px 12px; }
}