:root {
  --ink: #10213f;
  --muted: #66748d;
  --line: #dde4ec;
  --paper: #f8f8f5;
  --white: #ffffff;
  --blue: #1e54d9;
  --blue-soft: #eef3ff;
  --orange: #315c94;
  --lime: #dffa48;
  --navy: #172640;
  --green: #2a9d75;
  --radius: 22px;
  --shadow: 0 18px 50px rgba(16, 33, 63, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Noto Sans SC", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
button, a { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.eyebrow { margin: 0 0 14px; color: #486083; font: 600 13px/1.4 "DM Mono", monospace; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow i { display: inline-block; width: 7px; height: 7px; margin-right: 9px; border-radius: 50%; background: var(--orange); vertical-align: 1px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3, b { letter-spacing: -.025em; }
em { color: var(--blue); font-style: normal; }
code { padding: .1em .38em; border-radius: 6px; background: #eef1f5; color: #253b61; font: .9em "DM Mono", monospace; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid rgba(16, 33, 63, .08); background: rgba(248, 248, 245, .96); backdrop-filter: blur(14px); transition: box-shadow .2s ease, background-color .2s ease; }
.site-header.is-scrolled { background: rgba(248, 248, 245, .985); box-shadow: 0 10px 28px rgba(16, 33, 63, .08); }
.nav { min-height: 84px; display: grid; grid-template-columns: max-content 1fr auto; align-items: center; gap: 26px; transition: min-height .2s ease; }
.brand-stack { display: flex; align-items: center; min-width: 0; }
.brand { display: flex; flex: 0 0 auto; align-items: center; gap: 12px; white-space: nowrap; }
.brand-identity { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 9px; }
.brand-identity img { width: 44px; height: 44px; object-fit: contain; transition: width .2s ease, height .2s ease; }
.brand-identity b { color: var(--ink); font-size: 25px; font-weight: 800; letter-spacing: -.055em; transition: font-size .2s ease; }
.brand-divider { flex: 0 0 1px; width: 1px; height: 24px; background: var(--line); }
.brand-tagline { flex: 0 0 auto; color: #405570; font-size: 16px; font-weight: 700; letter-spacing: -.02em; }
.site-share { position: relative; display: inline-flex; flex: 0 0 auto; align-items: center; margin-left: 16px; padding-left: 16px; border-left: 1px solid var(--line); }
.site-share button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 38px; padding: 0 13px; border: 1px solid #c7d1de; border-radius: 999px; background: #fff; color: #405570; font-size: 13px; font-weight: 700; white-space: nowrap; cursor: pointer; transition: border-color .2s ease, background .2s ease, color .2s ease; }
.site-share button:hover { border-color: #8fa0b5; background: #f2f5f8; color: var(--ink); }
.site-share button:focus-visible { outline: 3px solid rgba(30, 84, 217, .2); outline-offset: 2px; }
.site-share svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.site-share small { position: absolute; top: calc(100% + 8px); right: 0; padding: 6px 10px; border-radius: 8px; background: var(--navy); color: #fff; box-shadow: var(--shadow); font-size: 11px; font-weight: 600; line-height: 1.4; white-space: nowrap; }
.site-share small:empty { display: none; }
.share-check { font-size: 16px; line-height: 1; }
.nav nav { display: flex; align-items: center; gap: 24px; white-space: nowrap; }
.nav nav a { position: relative; padding-block: 9px; color: #53647d; font-size: 14px; font-weight: 500; }
.nav nav a::after { position: absolute; right: 0; bottom: 2px; left: 0; height: 2px; border-radius: 2px; background: #31558d; content: ""; opacity: 0; transform: scaleX(.45); transition: opacity .18s ease, transform .18s ease; }
.nav nav a.is-active { color: #173765; font-weight: 700; }
.nav nav a.is-active::after { opacity: 1; transform: scaleX(1); }
.nav nav a:hover { color: var(--ink); }

@media (min-width: 761px) {
  .site-header.is-scrolled .nav { min-height: 64px; }
  .site-header.is-scrolled .brand-identity img { width: 38px; height: 38px; }
  .site-header.is-scrolled .brand-identity b { font-size: 23px; }
}
.nav-actions .ghost { display: none; }
.mobile-menu { display: none; position: relative; }
.mobile-menu summary { list-style: none; padding: 10px 13px; border: 1px solid #cbd4df; border-radius: 999px; color: #405570; font-size: 13px; font-weight: 700; cursor: pointer; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu[open] summary { border-color: var(--ink); color: var(--ink); }
.mobile-menu > div { position: absolute; top: calc(100% + 10px); right: 0; display: grid; min-width: 160px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
.mobile-menu a { padding: 12px 16px; border-bottom: 1px solid #edf0f4; color: #405570; font-size: 13px; font-weight: 600; white-space: nowrap; }
.mobile-menu a:last-child { border-bottom: 0; }
.mobile-menu a:hover { background: #f5f7f9; color: var(--ink); }
.ghost { display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border: 1px solid #b9c5d4; border-radius: 999px; font-size: 14px; font-weight: 700; white-space: nowrap; }
.ghost:hover { border-color: var(--ink); background: var(--ink); color: white; }

/* Buttons */
.primary, .secondary, .text-link, .download, .guide-button { border: 0; cursor: pointer; }
.primary { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 50px; padding: 0 22px; border-radius: 999px; background: var(--navy); color: white; font-weight: 700; }
.primary:hover { transform: translateY(-1px); background: #0e1b31; }
.secondary { display: inline-flex; align-items: center; min-height: 50px; padding: 0 20px; border: 1px solid #cbd4df; border-radius: 999px; background: transparent; color: #405570; font-weight: 600; }
.secondary:hover { border-color: var(--ink); color: var(--ink); }
.text-link { padding: 0; background: transparent; color: var(--ink); font-weight: 700; }

/* Hero */
.hero { min-height: 570px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 68px; padding-block: 72px 64px; }
.hero-copy { max-width: 650px; }
.hero h1 { max-width: 660px; margin-bottom: 24px; font: 800 clamp(43px, 4.4vw, 62px)/1.14 "Plus Jakarta Sans", "Noto Sans SC", sans-serif; letter-spacing: -.055em; }
.hero h1 em { display: inline-block; }
.hero-accent { display: inline-block; color: #ff704b; }
.hero-subhead { margin: 0 0 18px; color: var(--ink); font: 800 clamp(24px, 2.35vw, 34px)/1.35 "Plus Jakarta Sans", "Noto Sans SC", sans-serif; letter-spacing: -.045em; }
.lede { max-width: 620px; margin-bottom: 30px; color: var(--muted); font-size: 19px; line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.trust-list { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 28px; }
.trust-list span { padding: 7px 11px; border-radius: 8px; background: #edf0f3; color: #56657a; font-size: 13px; font-weight: 600; }
.business-board { padding: 28px; border: 1px solid #d7e0ea; border-radius: 28px; background: #fff; box-shadow: var(--shadow); }
.board-head { display: flex; align-items: flex-start; justify-content: space-between; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.board-head div { display: flex; flex-direction: column; gap: 5px; }
.board-head span { color: var(--muted); font-size: 13px; }
.board-head b { font-size: 22px; }
.board-head > i { padding: 7px 10px; border-radius: 8px; background: var(--blue-soft); color: var(--blue); font: 600 12px "DM Mono", monospace; font-style: normal; }
.board-list { display: grid; gap: 5px; padding-block: 14px; }
.board-list article { display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 14px; padding: 13px 4px; border-bottom: 1px solid #edf0f4; }
.board-list article:last-child { border-bottom: 0; }
.board-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; font-weight: 800; }
.board-icon.blue { background: #e3edff; color: #2864d7; }
.board-icon.green { background: #e3f5ec; color: #25875f; }
.board-icon.orange { background: #f7eddc; color: #8b641f; }
.board-icon.violet { background: #eee7ff; color: #6d4cce; }
.board-list div { display: flex; flex-direction: column; gap: 4px; }
.board-list b { font-size: 15px; }
.board-list small { color: var(--muted); font-size: 12px; }
.board-list em { color: #3f5777; font-size: 12px; font-weight: 700; }
.business-board > p { margin: 6px 0 0; padding: 13px 15px; border-radius: 12px; background: #f3f6fb; color: #51627a; font-size: 13px; text-align: center; }

/* Audience and foundation */
.role-strip { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 0; border-block: 1px solid var(--line); }
.catalog-roles { margin: 30px 0 36px; }
.role-strip article { padding: 26px 24px; border-right: 1px solid var(--line); }
.role-strip article:last-child { border-right: 0; }
.role-strip span { display: inline-block; margin-bottom: 13px; color: var(--orange); font: 600 12px "DM Mono", monospace; }
.role-strip b { display: block; margin-bottom: 7px; font-size: 17px; }
.role-strip p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.journey-steps { display: grid; gap: 18px; margin-top: 34px; }
.journey-step { display: grid; grid-template-columns: auto 1fr 270px; align-items: center; gap: 30px; scroll-margin-top: 110px; padding: 30px 34px; border: 1px solid #d9e2ee; border-radius: var(--radius); background: #fff; }
.journey-step-primary { border-color: #cbd8ed; background: var(--blue-soft); }
.foundation-mark { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 19px; background: var(--navy); color: white; font-size: 13px; font-weight: 700; }
.foundation-copy .eyebrow { margin-bottom: 7px; }
.foundation-copy h2 { margin-bottom: 9px; font-size: 25px; }
.foundation-copy > p:last-of-type { margin-bottom: 14px; color: var(--muted); line-height: 1.7; }
.foundation-files { display: flex; flex-wrap: wrap; gap: 8px; }
.foundation-files span { padding: 6px 9px; border-radius: 7px; background: white; color: #50617a; font-size: 12px; }
.foundation-action { display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
.foundation-action .text-link { align-self: center; font-size: 13px; }
.foundation-action small { color: #68768c; font-size: 11px; text-align: center; }

/* Catalog */
.catalog { scroll-margin-top: 124px; padding-top: 64px; padding-bottom: 72px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 20px; }
.section-head h2 { margin: 0; font-size: clamp(34px, 4vw, 52px); line-height: 1.18; letter-spacing: -.055em; }
.catalog-status { display: flex; gap: 16px; color: var(--muted); font-size: 12px; }
.catalog-status span { display: flex; align-items: center; gap: 7px; }
.catalog-status i { width: 8px; height: 8px; border-radius: 50%; }
.available-dot { background: var(--green); }
.planned-dot { border: 1px solid #97a5b7; background: transparent; }
.catalog-lede { max-width: none; margin-bottom: 24px; color: var(--muted); font-size: 16px; line-height: 1.8; text-wrap: pretty; }
.api-scope-notice { position: static; display: grid; grid-template-columns: 1fr 1.18fr; gap: 0; margin: 0 0 30px; overflow: hidden; border: 1px solid #ccd9ea; border-radius: 16px; background: rgba(247,250,254,.96); box-shadow: 0 10px 30px rgba(16,33,63,.06); }
.api-scope-notice > div { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px; padding: 15px 18px; }
.api-scope-notice > div + div { border-left: 1px solid #d7dfeb; background: #fbf9ff; }
.api-scope-notice span { padding: 5px 8px; border-radius: 7px; background: #e4edf9; color: #24456f; font-size: 11px; font-weight: 800; white-space: nowrap; }
.api-scope-notice > div + div span { background: #eee8fb; color: #624c98; }
.api-scope-notice p { margin: 0; color: #51627a; font-size: 12px; line-height: 1.6; }
.filter-wrap { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.catalog-filters { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.catalog-filters > div { display: flex; align-items: center; gap: 16px; min-width: 0; }
.filter-label { flex: 0 0 84px; margin-bottom: 0; color: #52647f; font-size: 12px; font-weight: 700; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { min-height: 38px; padding: 0 14px; border: 1px solid #d3dae3; border-radius: 999px; background: transparent; color: #5d6c81; cursor: pointer; }
.filters button.active { border-color: var(--ink); background: var(--ink); color: white; }
.filters-frequency button.active { border-color: #31558d; background: #e8effb; color: #173765; }
.region-directory { margin: 22px 0; overflow: hidden; border: 1px solid #d9e2ee; border-radius: 16px; background: #f8fafc; }
.region-directory-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 15px 18px 13px; border-bottom: 1px solid #e2e8f0; }
.region-directory-head > div { display: flex; align-items: center; gap: 10px; }
.region-directory-head span { padding: 5px 8px; border-radius: 7px; background: #e4edf9; color: #24456f; font-size: 11px; font-weight: 800; white-space: nowrap; }
.region-directory-head h3 { margin: 0; font-size: 15px; }
.region-directory-head p { margin: 0; color: #687790; font-size: 11px; }
.region-directory-list { display: grid; grid-template-columns: 1fr 2.5fr 1fr; }
.region-directory-list article { display: flex; align-items: flex-start; gap: 12px; padding: 14px 18px; }
.region-directory-list article + article { border-left: 1px solid #e2e8f0; }
.region-directory-list b { flex: 0 0 auto; color: #173765; font-size: 12px; white-space: nowrap; }
.region-directory-list b i { margin-right: 3px; font: 700 10px "DM Mono", monospace; font-style: normal; }
.region-directory-list span { color: #5c6c83; font-size: 11px; line-height: 1.7; }
.skill-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card { position: relative; min-height: 350px; display: flex; flex-direction: column; padding: 26px; border: 1px solid #dce2e9; border-radius: 20px; background: white; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-3px); border-color: #c5cfdb; box-shadow: 0 16px 35px rgba(16, 33, 63, .07); }
.card.is-planned { border-style: dashed; background: #fafafa; }
.card.is-planned:hover { transform: none; box-shadow: none; }
.card-top { display: flex; align-items: center; gap: 10px; margin-bottom: 26px; }
.tag b { display: inline-block; margin-right: 7px; padding-right: 7px; border-right: 1px solid #d7dee7; color: #163c73; font: 700 11px "DM Mono", monospace; letter-spacing: .02em; }
.icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; font-size: 21px; }
.tag { margin-left: auto; padding: 6px 10px; border: 1px solid transparent; border-radius: 999px; background: #f2f4f6; color: #657389; font-size: 11px; }
.tag-free { border-color: #d7e4dc; background: #f1f7f3; color: #39705a; }
.tag-paid { border-color: #c7d7f4; background: #eef4ff; color: #2457a7; font-weight: 700; }
.tag-owned { border-color: #a9cdbd; background: #eaf7f0; color: #19704b; font-weight: 700; }
.tag-upcoming, .tag-planned { border-color: #e0e4e9; background: #f5f6f7; color: #747f8f; }
.tag-paused { border-color: #e8c493; background: #fff2df; color: #7a4b16; }
.card h3 { margin-bottom: 13px; font-size: 21px; line-height: 1.45; }
.card > p { margin-bottom: 16px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.skill-region-support { display: flex; align-items: center; gap: 8px; margin: -2px 0 12px; color: #52647f; font-size: 11px; }
.skill-region-support b { padding: 4px 7px; border-radius: 6px; background: #e8effb; color: #244d82; font-size: 10px; }
.skill-region-support span { font-weight: 700; }
.skill-requirements { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.skill-requirements span { padding: 5px 8px; border-radius: 7px; background: #f2f5f8; color: #586981; font-size: 10px; font-weight: 700; line-height: 1.4; }
.card.is-ads { border-color: #ded8ec; }
.card.is-ads .skill-requirements span:first-child { background: #eee8fb; color: #5e478d; }
.api-requirement { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: -6px 0 16px; padding: 11px 12px; border: 1px solid #ddd6f2; border-radius: 11px; background: #f8f5ff; }
.api-requirement > div { display: grid; gap: 2px; }
.api-requirement b { color: #5c4690; font-size: 11px; }
.api-requirement span { color: #786f8a; font-size: 10px; }
.api-requirement button { flex: 0 0 auto; padding: 0; border: 0; background: transparent; color: #624c98; font-size: 10px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.api-requirement button:hover { color: #3f2c70; }
.card-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 18px; border-top: 1px solid #edf0f3; }
.card-bottom > span { color: #718098; font-size: 11px; line-height: 1.55; }
.card-bottom .acquisition-count { color: #2d765f; font-weight: 700; white-space: nowrap; }
.card-bottom .acquisition-count.is-preview { color: #65738a; }
.card .download { padding: 0; background: transparent; color: var(--ink); font-size: 13px; font-weight: 700; text-align: right; }
.card .download:hover { color: var(--orange); }
.card .planned { color: #6d7a8c; }
.card-actions { display: grid; grid-template-columns: 1fr 1.25fr; gap: 8px; margin-top: auto; }
.card-actions button { min-height: 41px; padding: 9px 10px !important; border: 1px solid #d7e0ec !important; border-radius: 10px !important; background: #fff !important; text-align: center !important; cursor: pointer; }
.card-actions .preview-skill { color: #155eef; font-family: inherit; font-size: 12px; font-weight: 700; line-height: 1.4; }
.card-actions .preview-skill:hover { border-color: #9bb9f3 !important; background: #f3f7ff !important; }
.card-actions .download { color: #172b4d; }
.card-actions .paid-download { border-color: #1155cc !important; background: #1155cc !important; color: #fff !important; }
.card-actions .owned-download { border-color: #89b9a3 !important; background: #eef8f3 !important; color: #176846 !important; }
.card.is-owned { border-color: #a9cdbd; box-shadow: 0 12px 34px rgba(25, 112, 75, .08); }
.card-bottom { margin-top: 12px; padding-top: 12px; }

.preview-dialog { width: min(1180px, calc(100vw - 28px)); height: min(820px, calc(100vh - 28px)); max-width: none; max-height: none; padding: 0; overflow: hidden; border: 0; border-radius: 18px; background: #eef3f8; box-shadow: 0 25px 80px #10203b55; }
.preview-dialog::backdrop { background: #10182baa; backdrop-filter: blur(3px); }
.preview-dialog-head { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 13px 20px; border-bottom: 1px solid #dbe3ec; background: #fff; }
.preview-dialog-head p { margin: 0; }.preview-dialog-head h2 { margin: 2px 0 0; font-size: 19px; }.preview-dialog-head > div:last-child { display: flex; align-items: center; gap: 12px; }.preview-dialog-head a { color: #155eef; font-size: 12px; font-weight: 700; text-decoration: none; }.close-preview { width: 36px; height: 36px; border: 1px solid #dbe3ec; border-radius: 50%; background: #fff; color: #1c2b43; font-size: 23px; cursor: pointer; }
.preview-dialog iframe { display: block; width: 100%; height: calc(100% - 76px); border: 0; background: #eef3f8; }
.empty-state { grid-column: 1/-1; padding: 60px; border: 1px dashed var(--line); border-radius: 18px; color: var(--muted); text-align: center; }
/* Simplified catalog */
.catalog .section-head { margin-bottom: 14px; }
.catalog-lede { max-width: none; margin-bottom: 22px; text-wrap: pretty; }
.setup-prerequisite { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; margin: -4px 0 18px; padding: 14px 16px; border: 1px solid #cddaf0; border-radius: 14px; background: #f3f7ff; }
.setup-prerequisite > span { padding: 5px 8px; border-radius: 7px; background: #dfeaff; color: #234c84; font-size: 11px; font-weight: 800; white-space: nowrap; }
.setup-prerequisite b { display: block; margin-bottom: 3px; color: #142f57; font-size: 14px; }
.setup-prerequisite p { margin: 0; color: #60718b; font-size: 11px; }
.setup-prerequisite a { color: #1859b7; font-size: 12px; font-weight: 800; white-space: nowrap; }
.filter-wrap { padding: 16px 18px; border: 1px solid #dbe2ea; border-radius: 16px; background: rgba(255,255,255,.72); }
.catalog-reference-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0 24px; }
.catalog-reference, .upcoming-directory, .role-directory { border: 1px solid #dbe2ea; border-radius: 14px; background: rgba(255,255,255,.78); }
.catalog-reference summary, .upcoming-directory summary, .role-directory summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 56px; padding: 10px 15px; list-style: none; cursor: pointer; }
.catalog-reference summary::-webkit-details-marker, .upcoming-directory summary::-webkit-details-marker, .role-directory summary::-webkit-details-marker { display: none; }
.catalog-reference summary > span, .upcoming-directory summary > span, .role-directory summary > span { display: grid; gap: 3px; min-width: 0; }
.catalog-reference summary b, .upcoming-directory summary b, .role-directory summary b { color: #243b5d; font-size: 13px; }
.catalog-reference summary small, .upcoming-directory summary small, .role-directory summary small { overflow: hidden; color: #728096; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.catalog-reference summary > i, .upcoming-directory summary > i, .role-directory summary > i { flex: 0 0 auto; color: #31558d; font-size: 11px; font-style: normal; font-weight: 700; }
.catalog-reference[open] summary > i:not(#upcomingSkillCount), .role-directory[open] summary > i { font-size: 0; }
.catalog-reference[open] summary > i:not(#upcomingSkillCount)::after, .role-directory[open] summary > i::after { content: "收起"; font-size: 11px; }
.api-scope-notice { display: grid; grid-template-columns: 1fr; gap: 0; margin: 0; border: 0; border-top: 1px solid #e3e8ef; border-radius: 0 0 14px 14px; background: #f8fafc; box-shadow: none; }
.api-scope-notice > div { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 10px; padding: 12px 15px; }
.api-scope-notice > div + div { border-top: 1px solid #e3e8ef; border-left: 0; }
.region-directory { margin: 0; border: 0; border-top: 1px solid #e3e8ef; border-radius: 0 0 14px 14px; }
.region-directory-head { display: none; }
.region-directory-list { grid-template-columns: 1fr; }
.region-directory-list article { padding: 11px 15px; }
.region-directory-list article + article { border-top: 1px solid #e3e8ef; border-left: 0; }
.featured-catalog { margin: 0 0 32px; padding: 24px; border: 1px solid #cbd9ec; border-radius: 20px; background: linear-gradient(135deg,#f4f8ff 0%,#fbfdff 100%); }
.featured-catalog[hidden] { display: none; }
.featured-catalog-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 18px; }
.featured-catalog-head > div > span { display: inline-flex; margin-bottom: 8px; padding: 5px 9px; border-radius: 8px; background: #dfeaff; color: #234f8c; font-size: 11px; font-weight: 800; }
.featured-catalog-head h3 { margin: 0 0 6px; color: #142f57; font-size: 22px; }
.featured-catalog-head p { max-width: 780px; margin: 0; color: #66768d; font-size: 12px; line-height: 1.7; }
.featured-catalog-head small { flex: 0 0 auto; color: #31558d; font-size: 11px; font-weight: 800; }
.featured-skill-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.featured-skill-grid .card { background: #fff; }
.skill-tier-layout { display: block; }
.skill-tier-layout[hidden], .skill-tier[hidden] { display: none; }
.skill-tier { min-width: 0; }
.skill-tier-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 34px; margin-bottom: 12px; }
.skill-tier-head > div { display: flex; align-items: center; gap: 8px; }
.skill-tier-head h3 { margin: 0; color: #253b5a; font-size: 15px; }
.skill-tier-head small { color: #758399; font-size: 10px; text-align: right; }
.catalog-tier-legend { justify-content: flex-start; margin-bottom: 20px; }
.tier-legend-items { display: flex; align-items: stretch; gap: 10px !important; }
.tier-legend-item { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid #d7e1ec; border-radius: 11px; background: #f8fafc; }
.tier-legend-free { border-color: #d3e7df; background: #f5faf7; }
.tier-legend-professional { border-color: #cfdbef; background: #f1f5fc; }
.tier-legend-item small { text-align: left; }
.download-maintenance { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 0 0 24px; padding: 16px 18px; border: 1px solid #f0cf8a; border-radius: 14px; background: #fff8e8; color: #6f5318; }
.download-maintenance[hidden] { display: none; }
.download-maintenance div { display: flex; align-items: center; gap: 10px; }
.download-maintenance span { padding: 4px 8px; border-radius: 999px; background: #f4d99f; color: #6b4a08; font-size: 11px; font-weight: 800; }
.download-maintenance b { color: #563d09; font-size: 15px; }
.download-maintenance p { margin: 0; font-size: 12px; line-height: 1.6; text-align: right; }
.download.is-disabled, .download-review, button:disabled { cursor: not-allowed; opacity: .62; }
.tier-dot { width: 8px; height: 8px; border-radius: 50%; }
.tier-dot.free { background: var(--green); }
.tier-dot.professional { background: var(--blue); }
.catalog-category-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: dense; align-items: start; gap: 30px 18px; }
.catalog-category-group { min-width: 0; }
.catalog-category-group.category-span-1 { grid-column: span 1; }
.catalog-category-group.category-span-2 { grid-column: span 2; }
.catalog-category-group.category-span-3 { grid-column: 1 / -1; }
.catalog-category-group.category-professional-only.category-span-1 { grid-column: 3 / span 1; }
.catalog-category-group.category-professional-only.category-span-2 { grid-column: 2 / span 2; }
.category-span-1 .category-skill-grid { grid-template-columns: minmax(0, 1fr); }
.category-span-2 .category-skill-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.category-span-3 .category-skill-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.catalog-category-groups > .category-skill-grid { grid-column: 1 / -1; }
.catalog-category-groups > .category-skill-grid .card.is-professional { grid-column: 3; }
.catalog-category-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid #dde5ee; }
.catalog-category-head > div { display: flex; align-items: center; gap: 9px; }
.catalog-category-head i { width: 4px; height: 20px; border-radius: 4px; background: #31558d; }
.catalog-category-head h3 { margin: 0; color: #142f57; font-size: 18px; }
.catalog-category-head small { color: #758399; font-size: 11px; }
.catalog-category-toggle { padding: 7px 11px; border: 1px solid #ccd9e8; border-radius: 8px; background: #fff; color: #31558d; font-size: 11px; font-weight: 800; cursor: pointer; }
.catalog-category-toggle:hover { border-color: #8aa5ca; background: #f4f8fd; }
.skill-grid { gap: 18px; }
.skill-grid-ranked { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.skill-grid-ranked .card.is-professional { background: #f8faff; }
.card { min-height: 294px; padding: 22px; border-radius: 18px; }
.card-top { margin-bottom: 17px; }
.card-top .tag { margin-left: 0; }
.tag-professional { border-color: #b9cdf0; background: #eaf1ff; color: #2455a0; font-weight: 700; }
.card h3 { margin-bottom: 10px; font-size: 20px; line-height: 1.4; }
.card > p { margin-bottom: 15px; font-size: 13px; line-height: 1.7; }
.skill-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.skill-meta > span, .api-guide-inline { min-height: 25px; padding: 5px 8px; border: 0; border-radius: 7px; background: #f1f4f7; color: #596a82; font-size: 10px; font-weight: 700; line-height: 1.4; }
.skill-meta .data-requirement { background: #fff2d8; color: #865708; }
.api-guide-inline { background: #eee8fb; color: #624c98; cursor: pointer; }
.card.is-professional { border-color: #c5d4ee; box-shadow: 0 12px 28px rgba(36,85,160,.06); }
.card.is-professional .skill-meta > span:first-child { background: #e9f0fd; color: #315a98; }
.card.is-planned { min-height: 278px; }
.card-actions { margin-top: auto; }
.card-bottom { margin-top: 12px; padding-top: 12px; }
.acquisition-count-hidden { display: block; margin-top: 10px; color: #2d765f; font-size: 10px; font-weight: 700; text-align: right; }
.acquisition-count-hidden[hidden] { display: none; }
.catalog-empty { margin: 0; padding: 36px 20px; border: 1px dashed #cfd8e4; border-radius: 16px; color: #6a788e; text-align: center; }
.upcoming-directory { margin-top: 22px; }
.upcoming-directory[hidden] { display: none; }
.upcoming-directory[open] > summary { border-bottom: 1px solid #e3e8ef; }
.upcoming-skill-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 18px; }
.upcoming-skill-grid .card { background: #fbfbfb; }
.role-directory { margin-top: 12px; }
.role-directory[open] > summary { border-bottom: 1px solid #e3e8ef; }
.role-directory .catalog-roles { margin: 0; border-top: 0; border-bottom: 0; }

/* Starter */
.starter { scroll-margin-top: 104px; padding-block: 82px 44px; background: linear-gradient(180deg,#edf2ff 0%,#f3f6ff 100%); }
.starter-intro { max-width: 760px; margin-bottom: 0; color: var(--muted); font-size: 16px; line-height: 1.8; }
.course-label { padding: 8px 12px; border-radius: 999px; background: white; color: #50617a; font-size: 12px; }
.release-validation { display: grid; grid-template-columns: 1.3fr .7fr; gap: 18px; margin-top: 20px; padding: 24px 26px; border: 1px solid #cad7ed; border-radius: 18px; background: rgba(255,255,255,.78); }
.release-validation .eyebrow { margin-bottom: 7px; }
.release-validation h3 { margin: 0 0 7px; font-size: 19px; }
.release-validation p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.75; }
.platform-validation { display: grid; align-content: center; gap: 5px; padding-left: 22px; border-left: 1px solid #d8e0ed; }
.platform-validation > span { color: #60718a; font-size: 10px; font-weight: 700; }
.platform-validation > b { font-size: 15px; }
.platform-validation .text-link { justify-self: start; margin-top: 3px; color: #31558d; font-size: 11px; font-weight: 700; }
.safety-note { display: flex; gap: 18px; margin-top: 18px; padding: 18px 22px; border-radius: 14px; background: #fff9ee; color: #7a5a34; font-size: 13px; line-height: 1.7; }
.safety-note b { flex: 0 0 auto; color: #9b581d; }
.run-location-note, .run-mode-note { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 14px; padding: 18px 22px; border: 1px solid #d8e1ef; border-radius: 14px; background: white; }
.run-location-note { margin-top: 22px; }
.run-mode-note { border-color: #cbd8ee; background: #f7faff; }
.run-location-note > div, .run-mode-note > div { display: flex; align-items: flex-start; gap: 16px; }
.run-location-note b, .run-mode-note b { flex: 0 0 auto; color: var(--ink); font-size: 14px; }
.run-location-note span, .run-mode-note span { color: var(--muted); font-size: 13px; line-height: 1.7; }
.run-location-note .text-link, .run-mode-note .text-link { flex: 0 0 auto; color: #2e4f83; font-size: 13px; white-space: nowrap; }

/* Value, services, team */
.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; padding-block: 120px; }
.about-copy h2, .services-intro h2, .team-about h2 { margin-bottom: 24px; font-size: clamp(34px, 4vw, 50px); line-height: 1.22; letter-spacing: -.055em; }
.about-copy > p:not(.eyebrow) { color: var(--muted); font-size: 15px; line-height: 1.9; }
.about-points { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.about-points article { display: flex; gap: 16px; padding: 28px 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-points span { color: var(--orange); font: 600 12px "DM Mono", monospace; }
.about-points b { display: block; margin-bottom: 7px; font-size: 17px; }
.about-points p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.services { scroll-margin-top: 104px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; padding: 72px; border-radius: 28px; background: var(--navy); color: white; }
.services .eyebrow { color: #aebbd0; }
.services-intro > p:not(.eyebrow) { margin-bottom: 28px; color: #b9c4d5; line-height: 1.8; }
.services .primary { background: var(--lime); color: var(--ink); }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: #39475d; }
.service-grid article { min-height: 180px; padding: 24px; background: var(--navy); }
.service-grid span { color: var(--lime); font: 500 12px "DM Mono", monospace; }
.service-grid h3 { margin: 28px 0 9px; font-size: 18px; }
.service-grid p { margin: 0; color: #acb8c9; font-size: 13px; line-height: 1.7; }
.team-about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; padding-block: 120px; }
.team-about-copy > p { color: var(--muted); font-size: 16px; line-height: 1.9; }
.team-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.team-tags span { padding: 9px 12px; border: 1px solid #d5dce5; border-radius: 999px; color: #51627a; font-size: 12px; }
.offline-training { display: flex; align-items: center; justify-content: space-between; gap: 54px; margin-bottom: 48px; padding: 42px 48px; border: 1px solid #d9e2ef; border-radius: 24px; background: #f5f8ff; }
.offline-training h2 { margin-bottom: 12px; font-size: clamp(27px, 3vw, 38px); letter-spacing: -.045em; }
.offline-training p:not(.eyebrow) { max-width: 680px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.training-actions { display: grid; justify-items: start; gap: 15px; flex: 0 0 auto; }
.training-actions > span { color: #596a84; font-size: 12px; }
.update-cta { display: flex; align-items: center; justify-content: space-between; gap: 40px; margin-bottom: 110px; padding: 44px 48px; border-radius: 24px; background: var(--lime); }
.update-cta h2 { margin-bottom: 10px; font-size: 27px; }
.update-cta p:not(.eyebrow) { max-width: 760px; margin-bottom: 0; color: #475634; line-height: 1.7; }
.update-cta .primary { flex: 0 0 auto; }

/* Footer */
footer { padding-block: 34px; border-top: 1px solid var(--line); background: white; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px 40px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 44px; height: 44px; object-fit: contain; }
.footer-brand div { display: flex; flex-direction: column; }
.footer-brand b { font-size: 18px; }
.footer-brand span, footer p { color: var(--muted); font-size: 12px; }
footer p { margin: 0; }
footer .footer-links, .footer-compliance { display: flex; gap: 18px; flex-wrap: wrap; justify-content: flex-end; }
.footer-compliance { grid-column: 1 / -1; justify-content: center; padding-top: 16px; border-top: 1px solid var(--line); }
.footer-compliance span, .footer-compliance a { color: #718096; }
footer a { color: #53647d; font-size: 12px; }
.purchase-confirm { display: flex; align-items: flex-start; gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: #f8fafc; color: #53647d; font-size: 12px; line-height: 1.6; text-align: left; }
.purchase-confirm input { margin-top: 3px; flex: 0 0 auto; }
.purchase-confirm a { color: #3157a4; text-decoration: underline; }
.legal-page { background: #f6f8fb; }
.legal-header { position: sticky; top: 0; z-index: 5; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.96); backdrop-filter: blur(12px); }
.legal-header .container { min-height: 72px; display: flex; align-items: center; justify-content: space-between; }
.legal-header > .container > a:last-child { color: #3157a4; font-size: 14px; }
.legal-layout { display: grid; grid-template-columns: 190px minmax(0,780px); justify-content: center; gap: 48px; padding-block: 48px 80px; }
.legal-nav { position: sticky; top: 104px; align-self: start; display: grid; gap: 8px; }
.legal-nav a { padding: 10px 12px; border-radius: 8px; color: #53647d; font-size: 14px; }
.legal-nav a:hover { background: white; color: #23458b; }
.legal-content { padding: 42px 52px; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: 0 16px 40px rgba(43,61,90,.06); }
.legal-content section { scroll-margin-top: 96px; padding-bottom: 34px; margin-bottom: 34px; border-bottom: 1px solid var(--line); }
.legal-content section:last-child { padding-bottom: 0; margin-bottom: 0; border-bottom: 0; }
.legal-content h1 { margin: 0 0 18px; font-size: 30px; }
.legal-content h2 { margin: 24px 0 8px; font-size: 18px; }
.legal-content p, .legal-content li, .legal-content dd { color: #53647d; line-height: 1.85; font-size: 14px; }
.legal-content li + li { margin-top: 6px; }
.legal-updated { margin-top: 0; }
.legal-highlight { padding: 16px 18px; border-left: 4px solid #e09a2d; border-radius: 8px; background: #fff8e9; color: #604817 !important; }
.legal-content dl { display: grid; gap: 12px; }
.legal-content dl div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; }
.legal-content dt { font-weight: 700; }
.legal-content dd { margin: 0; }
.legal-content dd a { color: #3157a4; }

/* Dialogs and support */
dialog { width: min(650px, calc(100% - 28px)); max-height: 86vh; overflow-y: auto; padding: 34px; border: 0; border-radius: 22px; color: var(--ink); background: white; box-shadow: 0 30px 90px rgba(0,0,0,.22); }
dialog::backdrop { background: rgba(14, 29, 52, .62); backdrop-filter: blur(3px); }
dialog .close { position: absolute; top: 18px; right: 18px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #f0f2f5; color: #50617a; font-size: 23px; cursor: pointer; }
dialog h2 { margin-bottom: 12px; font-size: 30px; }
dialog > p:not(.eyebrow) { color: var(--muted); line-height: 1.75; }
.download-summary { max-width: 560px; }
.download-dialog { width: min(620px, calc(100% - 28px)); }
.install-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 22px 0; padding: 0; list-style: none; counter-reset: install-step; }
.install-steps li { position: relative; min-height: 72px; padding: 12px 10px 11px 43px; border: 1px solid #dce4ef; border-radius: 12px; background: white; counter-increment: install-step; }
.install-steps li::before { content: counter(install-step); position: absolute; left: 11px; top: 12px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #e4edfc; color: #173765; font: 700 11px "DM Mono", monospace; }
.install-steps b { display: block; color: var(--ink); font-size: 13px; }
.install-steps span { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.install-prompt { margin: 0; padding: 18px; border: 1px solid #dce4ef; border-radius: 14px; background: #f6f8fc; }
.download-setup-reminder { margin: -4px 0 14px; padding: 10px 12px; border-left: 3px solid #31558d; border-radius: 7px; background: #eef4ff; color: #536985; font-size: 12px; line-height: 1.6; }
.download-setup-reminder b { color: #173765; }
.install-platform { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 16px 0 12px; padding: 8px; border: 1px solid #d9e3f0; border-radius: 11px; background: #f8faff; }
.install-platform-switch { display: flex; align-items: center; gap: 4px; padding: 3px; border-radius: 8px; background: #e9eff8; }
.install-platform-switch button { min-width: 88px; padding: 8px 14px; border: 0; border-radius: 6px; background: transparent; color: #526783; font: 800 12px "Noto Sans SC", sans-serif; cursor: pointer; }
.install-platform-switch button.active { background: #173765; color: white; box-shadow: 0 3px 10px rgba(23, 55, 101, .16); }
.install-platform-guide { margin-right: 6px; padding: 0; border: 0; background: transparent; color: #1859b7; font-size: 11px; font-weight: 800; cursor: pointer; white-space: nowrap; }
.install-prompt b { display: block; margin-bottom: 10px; color: var(--ink); font-size: 14px; }
.install-prompt textarea { display: block; width: 100%; min-height: 190px; box-sizing: border-box; margin: 10px 0 0; padding: 12px; border: 1px solid #d4deeb; border-radius: 10px; resize: vertical; background: white; color: #43536b; font: 12px/1.65 "Noto Sans SC", sans-serif; }
.copy-codex-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; margin-top: 2px; padding: 0 22px; border: 0; border-radius: 10px; background: var(--ink); color: white; font: 700 15px "Noto Sans SC", sans-serif; cursor: pointer; box-shadow: 0 6px 16px rgba(19, 41, 76, .15); }
.copy-codex-button:hover { background: #28436d; }
.copy-codex-button span { font-size: 18px; line-height: 1; }
.install-prompt details { margin-top: 14px; border-top: 1px solid #dce4ef; padding-top: 12px; color: #586983; font-size: 12px; }
.install-prompt summary { cursor: pointer; color: #31558d; font-weight: 700; }
.install-prompt details p { margin: 8px 0 0; line-height: 1.65; }
.support-fab { position: fixed; right: 24px; bottom: 22px; z-index: 26; min-width: 104px; padding: 12px 17px; border: 0; border-radius: 16px; background: var(--navy); color: white; box-shadow: var(--shadow); font-weight: 700; cursor: pointer; }
.support-fab small { display: block; margin-top: 2px; color: var(--lime); font-size: 11px; }
.support-dialog { width: min(430px, calc(100% - 28px)); text-align: center; }
.support-dialog h2 { font-size: 25px; }
.qr-crop { width: 100%; max-width: 330px; aspect-ratio: 1/1; margin: 0 auto; overflow: hidden; border-radius: 16px; background: #fff; }
.qr-crop img { width: 100%; height: 100%; object-fit: contain; }

/* Guide content generated by guides.js */
.guide-back { margin-bottom: 18px; padding: 7px 11px; border: 1px solid #d5dde7; border-radius: 999px; background: white; cursor: pointer; }
.guide-flow { display: grid; gap: 14px; }
.guide-flow > .guide-button { justify-self: start; padding: 10px 14px; border-radius: 999px; background: var(--navy); color: white; font-size: 13px; font-weight: 700; }
.guide-step { padding: 18px; border: 1px solid #dce3ec; border-radius: 14px; }
.guide-step b { display: block; margin-bottom: 6px; }
.guide-step p { margin: 0; color: var(--muted); line-height: 1.75; }
.guide-step.warning { border-color: #f0c58d; background: #fff8ed; }
.guide-step.success { border-color: #b9ddc8; background: #f1faf4; }
.guide-step.success b { color: #17683d; }
.run-method-intro { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.run-method-detail { overflow: hidden; border: 1px solid #d7e0eb; border-radius: 15px; background: #fff; }
.run-method-detail summary { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 12px; padding: 15px 17px; list-style: none; cursor: pointer; }
.run-method-detail summary::-webkit-details-marker { display: none; }
.run-method-detail summary > span:nth-child(2) { display: grid; gap: 3px; }
.run-method-detail summary b { color: var(--ink); font-size: 14px; }
.run-method-detail summary small { color: var(--muted); font-size: 11px; line-height: 1.5; }
.run-method-detail summary > i { color: #31558d; font-size: 11px; font-style: normal; font-weight: 700; }
.run-method-detail[open] summary { border-bottom: 1px solid #e1e7ef; }
.run-method-detail[open] summary > i { font-size: 0; }
.run-method-detail[open] summary > i::after { content: "收起"; font-size: 11px; }
.run-method-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: #e8effc; color: #214d92; font: 800 11px "DM Mono", monospace; }
.bat-method .run-method-icon { background: #e5f5ec; color: #176846; font-size: 9px; }
.run-method-body { display: grid; gap: 13px; padding: 16px 17px 18px; }
.run-method-body ol { display: grid; gap: 12px; margin: 0; padding-left: 22px; }
.run-method-body li { padding-left: 3px; color: #27405f; }
.run-method-body li b { display: block; margin-bottom: 3px; font-size: 13px; }
.run-method-body li p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.run-method-note { display: flex; align-items: flex-start; gap: 10px; padding: 11px 12px; border-radius: 10px; background: #f1f5fb; color: #53647d; font-size: 11px; line-height: 1.65; }
.run-method-note b { flex: 0 0 auto; color: #214d92; }
.run-method-note.success { background: #eef8f3; }
.run-method-note.success b { color: #176846; }
.bat-file-example { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.bat-file-example span { color: #687790; font-size: 11px; font-weight: 700; }
.bat-file-example code { font-size: 10px; }
.project-task-map { display: grid; grid-template-columns: 170px 1fr; gap: 10px; padding: 12px; border: 1px solid #d7e0eb; border-radius: 13px; background: #f6f8fc; }
.project-task-root, .project-task-list { display: grid; align-content: start; gap: 6px; padding: 12px; border-radius: 10px; background: #fff; }
.project-task-root span { color: #315a98; font: 700 10px "DM Mono", monospace; text-transform: uppercase; }
.project-task-root b { font-size: 15px; }
.project-task-root small { color: var(--muted); font-size: 10px; }
.project-task-list span { padding: 7px 9px; border-radius: 8px; background: #eef3fb; color: #28486f; font-size: 11px; font-weight: 700; }
.project-task-list i { color: #687790; font-size: 10px; font-style: normal; text-align: right; }
.bat-only-guide { display: grid; grid-template-columns: 42px 1fr; align-items: start; gap: 12px; padding: 14px; border: 1px solid #c9e3d5; border-radius: 12px; background: #f4fbf7; }
.bat-only-guide b { color: #174f3b; font-size: 13px; line-height: 1.6; }
.bat-only-guide p { margin: 4px 0 0; color: #587164; font-size: 11px; line-height: 1.7; }
.run-method-visual { display: grid; gap: 12px; padding: 16px; border: 1px solid #d7e0eb; border-radius: 16px; background: #f7f9fc; }
.visual-source, .visual-result, .visual-path { position: relative; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 2px 10px; padding: 12px 14px; border-radius: 12px; background: #fff; box-shadow: 0 7px 20px rgba(16,33,63,.05); }
.visual-source > span, .visual-result > span, .visual-path > span { grid-row: 1 / 3; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; font: 700 10px "DM Mono", monospace; }
.visual-source b, .visual-result b, .visual-path b { font-size: 13px; }
.visual-source small, .visual-result small, .visual-path small { color: var(--muted); font-size: 10px; }
.visual-branches { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.visual-path { padding-bottom: 34px; border: 1px solid #cddaf0; }
.visual-path.bat { border-color: #c9e3d5; }
.visual-path.bat > span { background: #237a58; }
.visual-path em { position: absolute; right: 12px; bottom: 10px; color: #315a98; font-size: 10px; font-weight: 700; }
.visual-path.bat em { color: #176846; }
.visual-result { background: var(--navy); color: #fff; }
.visual-result > span { background: #fff; color: var(--navy); }
.visual-result small { color: #c8d2df; }
.guide-shot { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 17px 19px; border-radius: 14px; background: var(--navy); color: white; }
.guide-shot span { color: #c5cfdd; font-size: 12px; }
.guide-shot.prompt { align-items: flex-start; background: #9c421c; }
.guide-shot.prompt b { font: 600 13px/1.7 "DM Mono", monospace; }
.schedule-map { display: grid; gap: 12px; padding: 20px; border: 1px solid #ced9ea; border-radius: 16px; background: #f6f9ff; }
.schedule-root { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 15px 17px; border-radius: 12px; background: var(--navy); color: white; }
.schedule-root span { color: #c9d3e3; font-size: 12px; }
.schedule-branches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.schedule-branches > div { position: relative; display: grid; gap: 6px; padding: 14px; border: 1px solid #d9e2ef; border-radius: 12px; background: white; }
.schedule-branches > div::before { content: "↓"; position: absolute; top: -16px; left: 50%; color: #8090a8; }
.schedule-branches strong { color: var(--ink); font-size: 13px; }
.schedule-branches code { color: #5f7089; font-size: 11px; }
.schedule-trigger { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 13px; border-radius: 12px; background: #e6eefc; color: #405675; font-size: 12px; text-align: center; }
.schedule-trigger strong { color: var(--ink); }
.schedule-trigger i { color: var(--coral); font-style: normal; font-weight: 800; }
.schedule-form { overflow: hidden; border: 1px solid #d9e2ef; border-radius: 14px; background: white; }
.schedule-form > div { display: grid; grid-template-columns: 90px 1fr; gap: 14px; padding: 13px 15px; border-bottom: 1px solid #e4eaf2; }
.schedule-form > div:last-child { border-bottom: 0; }
.schedule-form span { color: #5f7089; font-size: 12px; }
.schedule-form code { overflow-wrap: anywhere; color: var(--ink); font-size: 12px; }
.copy-codex { flex: 0 0 auto; padding: 8px 11px; border: 1px solid rgba(255,255,255,.45); border-radius: 9px; background: transparent; color: white; cursor: pointer; }
.spapi-visual { padding: 18px; border: 1px solid #dce3ec; border-radius: 14px; background: #f5f8fc; }
.spapi-browser { padding-bottom: 10px; border-bottom: 1px solid #dce3ec; color: #62728a; font: 12px "DM Mono", monospace; }
.spapi-path, .spapi-result { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 15px; }
.spapi-path span, .spapi-path strong, .spapi-result i { padding: 7px 9px; border-radius: 7px; background: white; font-size: 12px; font-style: normal; }
.spapi-result i { background: #e5edff; color: #315a9b; }

@media (max-width: 1220px) {
  .nav { grid-template-columns: 1fr auto; min-height: 82px; }
  .nav nav { display: none; }
  .mobile-menu { display: block; }
  .nav-actions .ghost { display: none; }
}

@media (max-width: 1100px) {
  .nav { grid-template-columns: 1fr auto; min-height: 82px; }
  .nav nav { display: none; }
  .mobile-menu { display: block; }
  .hero { grid-template-columns: 1fr 1fr; gap: 38px; }
  .brand-tagline { font-size: 14px; }
  .skill-grid { grid-template-columns: repeat(2, 1fr); }
  .skill-grid-ranked { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .upcoming-skill-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filter-wrap { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .region-tabs { align-self: flex-start; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 28px, 1180px); }
  .site-header { position: sticky; box-shadow: 0 8px 24px rgba(16, 33, 63, .05); }
  .nav { min-height: auto; grid-template-columns: 1fr auto; gap: 12px; padding-block: 14px; }
  .brand-identity img { width: 42px; height: 42px; }
  .brand-identity b { font-size: 21px; }
  .brand-divider, .brand-tagline, .site-share { display: none; }
  .ghost { padding: 9px 12px; font-size: 12px; }
  .hero { min-height: 0; grid-template-columns: 1fr; gap: 36px; padding-block: 58px 52px; }
  .hero h1 { font-size: 43px; }
  .lede { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions > * { justify-content: center; }
  .business-board { padding: 18px; }
  .board-head { padding-bottom: 14px; }
  .board-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding-block: 12px; }
  .board-list article { grid-template-columns: 34px 1fr; gap: 8px; padding: 10px; border: 0; border-radius: 12px; background: #f6f8fb; }
  .board-icon { width: 34px; height: 34px; border-radius: 10px; }
  .board-list b { font-size: 13px; }
  .board-list small { display: none; }
  .board-list em { display: none; }
  .business-board > p { margin-top: 2px; padding: 10px 12px; font-size: 12px; }
  .role-strip { grid-template-columns: repeat(2, 1fr); margin-bottom: 0; }
  .role-strip article:nth-child(2) { border-right: 0; }
  .role-strip article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .journey-step { grid-template-columns: 1fr; padding: 24px; }
  .foundation-mark { width: auto; height: auto; justify-self: start; padding: 8px 12px; border-radius: 9px; }
  .foundation-action { align-items: stretch; }
  .release-validation { grid-template-columns: 1fr; padding: 20px; }
  .platform-validation { padding: 16px 0 0; border-top: 1px solid #d8e0ed; border-left: 0; }
  .section-head { align-items: flex-start; }
  .starter .section-head { flex-direction: column; gap: 14px; margin-bottom: 14px; }
  .course-label { align-self: flex-start; }
  .section-head h2 { font-size: 36px; }
  .catalog-status { display: none; }
  .catalog-reference-bar { grid-template-columns: 1fr; gap: 8px; margin-bottom: 18px; }
  .catalog-reference summary, .upcoming-directory summary, .role-directory summary { min-height: 52px; padding: 9px 13px; }
  .api-scope-notice { position: static; grid-template-columns: 1fr; margin-bottom: 24px; box-shadow: none; }
  .api-scope-notice > div { grid-template-columns: 1fr; gap: 7px; padding: 14px 16px; }
  .api-scope-notice > div + div { border-top: 1px solid #d7dfeb; border-left: 0; }
  .api-scope-notice span { justify-self: start; }
  .catalog-reference .api-scope-notice { margin: 0; }
  .catalog-reference .api-scope-notice > div { grid-template-columns: auto 1fr; gap: 9px; padding: 11px 13px; }
  .filter-wrap { grid-template-columns: minmax(0, 1fr); align-items: stretch; gap: 14px; }
  .catalog-filters { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; width: 100%; }
  .catalog-filters > div { display: block; }
  .filter-label { margin-bottom: 10px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filters button { flex: 0 0 auto; }
  .region-tabs { align-self: flex-start; }
  .region-intro { align-items: flex-start; flex-direction: column; }
  .skill-grid { grid-template-columns: 1fr; }
  .skill-grid-ranked, .upcoming-skill-grid { grid-template-columns: 1fr; }
  .skill-tier-head { align-items: flex-start; }
  .skill-tier-head small { max-width: 165px; }
  .card { min-height: 272px; }
  .card.is-planned { min-height: 258px; }
  .card.is-planned .card-top { margin-bottom: 18px; }
  .upcoming-skill-grid { padding: 12px; }
  .preview-dialog { width: calc(100vw - 12px); height: calc(100vh - 12px); }
  .preview-dialog-head { padding-inline: 14px; }.preview-dialog-head a { display: none; }
  .starter { padding-block: 64px 44px; }
  .catalog { padding-top: 56px; }
  .run-location-note, .run-mode-note, .run-location-note > div, .run-mode-note > div { align-items: flex-start; flex-direction: column; }
  .about, .services, .team-about { grid-template-columns: 1fr; gap: 40px; }
  .about, .team-about { padding-block: 80px; }
  .offline-training { align-items: flex-start; flex-direction: column; gap: 24px; margin-bottom: 32px; padding: 30px 24px; }
  .about-points { grid-template-columns: 1fr; }
  .services { padding: 38px 24px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-grid article { min-height: 150px; }
  .update-cta { align-items: flex-start; flex-direction: column; margin-bottom: 70px; padding: 30px 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 20px; }
  footer .footer-links, .footer-compliance { justify-content: flex-start; }
  .legal-layout { grid-template-columns: 1fr; padding-block: 24px 50px; }
  .legal-nav { position: static; display: flex; overflow-x: auto; }
  .legal-nav a { flex: 0 0 auto; background: white; }
  .legal-content { padding: 28px 22px; }
  .legal-content dl div { grid-template-columns: 1fr; gap: 2px; }
  .support-fab { right: 10px; bottom: 10px; min-width: 58px; min-height: 46px; padding: 9px 10px; border-radius: 999px; font-size: 11px; line-height: 1; }
  .support-fab small { display: none; }
  dialog { padding: 28px 20px; }
  .guide-shot { align-items: flex-start; flex-direction: column; }
  .run-method-detail summary { grid-template-columns: 38px 1fr auto; padding: 13px; }
  .run-method-body { padding: 14px 13px 16px; }
  .project-task-map { grid-template-columns: 1fr; }
  .visual-branches { grid-template-columns: 1fr; }
  .schedule-branches { grid-template-columns: 1fr; }
  .schedule-branches > div::before { display: none; }
  .schedule-trigger { align-items: stretch; flex-direction: column; }
  .schedule-form > div { grid-template-columns: 1fr; gap: 5px; }
  .copy-codex { align-self: stretch; }
}

@media (max-width: 420px) {
  .ghost span { display: none; }
  .hero h1 { font-size: 37px; }
  .install-steps { grid-template-columns: 1fr; gap: 8px; margin-block: 18px; }
  .install-steps li { min-height: 0; padding: 11px 10px 11px 42px; }
  .role-strip { grid-template-columns: 1fr; }
  .role-strip article { border-right: 0; border-bottom: 1px solid var(--line); }
  .role-strip article:last-child { border-bottom: 0; }
  .catalog-roles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-roles article { padding: 20px 14px; border-right: 1px solid var(--line); }
  .catalog-roles article:nth-child(2n) { border-right: 0; }
  .catalog-roles article:nth-last-child(-n+2) { border-bottom: 0; }
  .about-copy h2, .services-intro h2, .team-about h2 { font-size: 34px; }
}

.member-dialog { width: min(540px, calc(100vw - 32px)); border: 0; border-radius: 20px; padding: 42px 38px 36px; color: #182036; box-shadow: 0 24px 70px #1820363d; }
.member-dialog::backdrop { background: #10182b99; }
.close-member,.close-payment { position: absolute; top: 14px; right: 15px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent; color: #445064; font-size: 25px; line-height: 1; cursor: pointer; }
.close-member:hover,.close-payment:hover { background: #f2f4f7; }
.member-dialog form { display: grid; gap: 14px; margin-top: 22px; }.member-dialog label { display: grid; gap: 7px; font-weight: 700; }.member-dialog input { border: 1px solid #cbd2df; border-radius: 9px; padding: 12px; font: inherit; }.member-dialog small { color: #687187; line-height: 1.6; }
.member-phone { color: #748095; font-size: 12px; font-weight: 600; }.owned-skills { display: grid; gap: 10px; }.owned-skills article { display:flex; justify-content:space-between; gap:10px; align-items:center; border:1px solid #dce2ec; border-radius:10px; padding:14px; }.owned-skills span { display:block; color:#637086; font-size:13px; margin-top:5px; }.owned-skills button { border:0; border-radius:8px; padding:9px 10px; background:#172554; color:#fff; cursor:pointer; white-space:nowrap; }
.member-downloads { margin-top: 24px; padding-top: 20px; border-top: 1px solid #e2e7ef; }
.member-downloads-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.member-downloads-head h3 { margin: 0; font-size: 16px; }
.member-downloads-head span { color: #7a8699; font-size: 11px; }
.download-history { display: grid; gap: 8px; }
.download-history article { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 12px; border-radius: 10px; background: #f5f7fa; }
.download-history article div { min-width: 0; }
.download-history b { display: block; overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.download-history span { display: block; margin-top: 4px; color: #6d798c; font-size: 11px; }
.download-history time { flex: 0 0 auto; color: #7d8899; font-size: 10px; }
.download-history > p { margin: 0; color: #7a8699; font-size: 12px; }
#paymentDialog { width: min(520px, calc(100vw - 32px)); text-align: left; }
.payment-card { text-align:center; border:1px solid #dce2ec; border-radius:12px; padding:22px; }.payment-qr { display:block; width:220px; height:220px; margin:16px auto; }.payment-card p { color:#5d667a; line-height:1.65; }
.skill-price { color: #1155cc; font-size: 15px; }.skill-price.is-owned { color: #19704b; }.paid-download { background: #1155cc !important; color: #fff !important; }

/* WeChat member experience */
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-member { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 6px 13px 6px 10px; border: 1px solid #d5dde7; border-radius: 999px; background: #fff; color: #31465f; font: inherit; font-weight: 700; text-align: left; cursor: pointer; transition: border-color .2s ease, background .2s ease; }
.nav-member:hover { border-color: #aebac9; background: #f4f6f8; }
.nav-member > span:last-child { display: flex; flex-direction: column; gap: 1px; }
.nav-member b { font-size: 13px; line-height: 1.2; }
.nav-member small { color: #7a8798; font-size: 9px; font-weight: 600; line-height: 1.2; }
.nav-member.is-logged-in { border-color: #9db7e8; background: #f3f6fd; color: #244d96; }
.nav-member .wechat-icon i:last-child { border-color: #fff; }

.wechat-icon { position: relative; display: inline-block; flex: 0 0 auto; width: 28px; height: 24px; }
.wechat-icon i { position: absolute; display: block; border-radius: 50%; background: #20b15a; }
.wechat-icon i:first-child { left: 0; top: 1px; width: 21px; height: 18px; }
.wechat-icon i:last-child { right: 0; bottom: 0; width: 17px; height: 15px; border: 2px solid #f3fbf6; }
.wechat-icon i:first-child::before,.wechat-icon i:first-child::after,.wechat-icon i:last-child::before,.wechat-icon i:last-child::after { content: ""; position: absolute; top: 6px; width: 3px; height: 3px; border-radius: 50%; background: #fff; }
.wechat-icon i:first-child::before { left: 6px; }.wechat-icon i:first-child::after { right: 5px; }.wechat-icon i:last-child::before { left: 4px; top: 4px; }.wechat-icon i:last-child::after { right: 3px; top: 4px; }
.wechat-login-view { text-align: center; }
.wechat-icon.login-icon { width: 66px; height: 56px; margin-bottom: 16px; }.wechat-icon.login-icon i:first-child { width: 50px; height: 42px; }.wechat-icon.login-icon i:last-child { width: 38px; height: 33px; border: 3px solid #fff; }.wechat-icon.login-icon i:first-child::before,.wechat-icon.login-icon i:first-child::after { top: 15px; width: 5px; height: 5px; }.wechat-icon.login-icon i:first-child::before { left: 15px; }.wechat-icon.login-icon i:first-child::after { right: 13px; }.wechat-icon.login-icon i:last-child::before,.wechat-icon.login-icon i:last-child::after { top: 10px; width: 5px; height: 5px; }.wechat-icon.login-icon i:last-child::before { left: 9px; }.wechat-icon.login-icon i:last-child::after { right: 8px; }
.login-brand { margin: 0 0 7px; color: #18864c; font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.wechat-login-view h2 { margin: 0; font-size: 27px; }.wechat-login-view #memberIntro { max-width: 300px; margin: 12px auto 25px; color: #6d788b; font-size: 13px; line-height: 1.7; }
.wechat-login-button { width: 100%; min-height: 50px; display: flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 10px; background: #20a95b; color: #fff; font-size: 14px; font-weight: 700; cursor: pointer; }.wechat-login-button:hover { background: #178d4b; }.wechat-login-button .wechat-icon i { background: #fff; }.wechat-login-button .wechat-icon i:last-child { border-color: #20a95b; }.wechat-login-button .wechat-icon i::before,.wechat-login-button .wechat-icon i::after { background: #20a95b; }.wechat-login-button b { margin-left: auto; margin-right: 7px; }
.member-center-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; margin-bottom: 12px; }.member-center-head p { margin: 0; }.member-center-head h2 { margin: 0 0 5px; font-size: 25px; }.member-center-head button { border: 0; background: transparent; color: #7a8798; font-size: 11px; cursor: pointer; }.member-center-intro { margin: 0 0 18px; color: #66748d; font-size: 13px; }.empty-owned { padding: 18px; border-radius: 12px; background: #f6f8fb; color: #66748d; font-size: 13px; text-align: center; }

@media (max-width: 1100px) {
  .nav-actions .ghost { display: none; }
}
@media (max-width: 760px) {
  .nav-member small { display: none; }.nav-member { padding-right: 11px; }.nav-member .wechat-icon { width: 24px; }
  .member-dialog { padding: 36px 22px 28px; }
}
@media (max-width: 420px) {
  .nav-member > span:last-child { display: none; }.nav-member { min-width: 46px; justify-content: center; }
}
.card-actions .trial-download {
  border-color: #c9a556;
  background: #fff8e7;
  color: #6e5015;
}
