:root {
  --canvas: #f5f7fa;
  --surface: #ffffff;
  --ink: #101820;
  --muted: #5d6876;
  --line: #d7dde5;
  --navy: #122f4e;
  --navy-2: #0b2138;
  --cyan: #0c7d8b;
  --magenta: #c20a73;
  --lime: #c6cf18;
  --amber: #b96b14;
  --shadow: 0 24px 70px rgba(18,47,78,.13), 0 3px 12px rgba(18,47,78,.08);
  --radius: 14px;
  --line-strong: #aeb8c5;
  --font: "Segoe UI", "Noto Sans SC", "Microsoft YaHei UI", "Noto Sans", sans-serif;
  --condensed: "Arial Narrow", "Roboto Condensed", var(--font);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.65; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link { position: fixed; z-index: 200; left: 16px; top: -60px; padding: 10px 16px; background: var(--navy); color: white; border-radius: 8px; }
.skip-link:focus { top: 16px; }
/* The hidden attribute must win over author display rules: several components
   (.account-link, .account-chip, …) set `display`, and without this the markup
   `hidden` is silently ignored — the signed-in and signed-out top-bar states
   would render at the same time. */
[hidden] { display: none !important; }
.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.container-wide { width: min(1380px, calc(100% - 48px)); margin-inline: auto; }

.site-header { position: sticky; z-index: 100; top: 0; background: rgba(245,247,250,.92); border-bottom: 1px solid rgba(199,207,218,.85); backdrop-filter: blur(18px); }
.nav-shell { width: min(1380px, calc(100% - 48px)); min-height: 72px; margin: auto; display: flex; align-items: center; gap: 34px; }
.brand { display: flex; align-items: center; width: 180px; height: 44px; flex: 0 0 auto; overflow: hidden; }
.brand img { width: 174px; height: auto; }
.desktop-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.desktop-nav a { position: relative; padding: 12px 15px; color: #354352; font-size: 14px; font-weight: 600; border-radius: 8px; }
.desktop-nav a:hover, .desktop-nav a.is-active { color: var(--navy); background: #e8edf3; }
.desktop-nav a.is-active::after { content: ""; position: absolute; left: 15px; right: 15px; bottom: 5px; height: 2px; background: var(--magenta); }
.nav-dropdown { position: relative; }
.nav-dropdown-trigger { min-height: 44px; padding: 10px 15px; display: inline-flex; align-items: center; gap: 5px; border: 0; border-radius: 8px; background: transparent; color: #354352; font-size: 14px; font-weight: 600; cursor: pointer; }
.nav-dropdown-trigger > svg { width: 14px; height: 14px; transition: transform .16s ease; }
.nav-dropdown-trigger:hover, .nav-dropdown-trigger:focus-visible, .nav-dropdown-trigger.is-active, .nav-dropdown.is-open .nav-dropdown-trigger { color: var(--navy); background: #e8edf3; }
.nav-dropdown-trigger.is-active::after { content: ""; position: absolute; left: 15px; right: 15px; bottom: 5px; height: 2px; background: var(--magenta); }
.product-menu { position: absolute; z-index: 130; top: calc(100% + 8px); left: 50%; width: 330px; padding: 8px; opacity: 0; visibility: hidden; transform: translate(-50%, -4px); background: #fff; border: 1px solid var(--line); border-radius: 13px; box-shadow: var(--shadow); pointer-events: none; transition: opacity .15s ease, transform .15s ease, visibility .15s; }
.nav-dropdown:hover .product-menu, .nav-dropdown:focus-within .product-menu, .nav-dropdown.is-open .product-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); pointer-events: auto; }
.nav-dropdown:hover .nav-dropdown-trigger > svg, .nav-dropdown:focus-within .nav-dropdown-trigger > svg, .nav-dropdown.is-open .nav-dropdown-trigger > svg { transform: rotate(180deg); }
.desktop-nav .product-menu a { display: block; padding: 13px 14px; border-radius: 9px; }
.desktop-nav .product-menu a::after { display: none; }
.desktop-nav .product-menu a:hover, .desktop-nav .product-menu a:focus-visible { background: #edf1f5; }
.product-menu strong, .product-menu span { display: block; }
.product-menu strong { color: var(--ink); font-size: 14px; }
.product-menu span { margin-top: 2px; color: var(--muted); font-size: 12px; font-weight: 500; line-height: 1.45; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.icon-button { width: 44px; height: 44px; padding: 0; display: inline-grid; place-items: center; color: var(--navy); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.language-button { display: flex; width: auto; padding: 0 10px; gap: 5px; font-weight: 700; }
.language-picker { position: relative; }
.language-menu { position: absolute; z-index: 120; top: calc(100% + 10px); right: 0; width: 218px; padding: 7px; background: white; border: 1px solid var(--line); border-radius: 13px; box-shadow: var(--shadow); }
.language-menu button { width: 100%; min-height: 39px; padding: 7px 10px; text-align: left; border: 0; border-radius: 8px; color: #263442; background: transparent; cursor: pointer; }
.language-menu button:hover, .language-menu button[aria-selected="true"] { background: #edf1f5; color: var(--navy); }
.language-menu button[aria-selected="true"]::after { content: "✓"; float: right; font-weight: 800; }
.button { min-height: 46px; padding: 11px 18px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid transparent; border-radius: 10px; font-size: 14px; font-weight: 700; line-height: 1.15; cursor: pointer; transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { color: white; background: var(--navy); border-color: var(--navy); }
.button-primary:hover { background: #1c446c; }
.button-secondary { color: var(--navy); background: white; border-color: #aeb9c7; }
.button-light { color: var(--navy); background: white; border-color: white; }
.button.full { width: 100%; }
.mobile-menu-button { display: none; }
.mobile-nav { padding: 8px 24px 18px; background: var(--surface); border-top: 1px solid var(--line); }
.mobile-nav a { display: block; padding: 12px 4px; border-bottom: 1px solid var(--line); font-weight: 650; }
.mobile-nav-label { display: block; padding: 13px 4px 5px; color: var(--muted); font-size: 12px; font-weight: 750; }
.mobile-nav a.mobile-nav-child { padding: 9px 4px 9px 18px; color: var(--navy); }

.page { display: none; animation: page-in .32s ease both; }
.page.is-active { display: block; }
@keyframes page-in { from { opacity: .1; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.hero { min-height: 590px; padding: 92px 0 155px; display: grid; grid-template-columns: minmax(0, 1fr) 350px; align-items: center; gap: 90px; position: relative; }
.hero::before { content: ""; position: absolute; width: 440px; height: 440px; left: -260px; top: 25px; border: 1px solid #ccd5df; border-radius: 50%; box-shadow: 0 0 0 72px rgba(222,228,235,.55), 0 0 0 144px rgba(222,228,235,.22); pointer-events: none; }
.hero-copy { position: relative; z-index: 1; }
.status-pill { width: fit-content; display: flex; align-items: center; gap: 9px; padding: 6px 11px; background: white; border: 1px solid var(--line); border-radius: 999px; color: #3f4c5b; font-size: 13px; font-weight: 650; }
.status-pill span:first-child { width: 8px; height: 8px; background: var(--cyan); border-radius: 50%; box-shadow: 0 0 0 4px rgba(12,125,139,.12); }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { max-width: 760px; margin: 24px 0 22px; font-size: clamp(48px, 5.3vw, 70px); font-weight: 650; letter-spacing: -.055em; line-height: 1.03; }
.hero-lead { max-width: 690px; margin-bottom: 30px; color: #465463; font-size: 19px; line-height: 1.7; }
.button-row { display: flex; gap: 10px; flex-wrap: wrap; }
.compatibility { margin: 16px 0 0; color: #73808e; font-size: 12px; }
.route-card { position: relative; background: #f1e8c9; border: 1px solid #d2c59b; border-left: 5px solid var(--navy); box-shadow: 0 18px 40px rgba(20,39,57,.12); clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, calc(100% - 4px) 20px, 100% 30px, calc(100% - 4px) 40px, 100% 50px, calc(100% - 4px) 60px, 100% 70px, calc(100% - 4px) 80px, 100% 90px, calc(100% - 4px) 100px, 100% 110px, calc(100% - 4px) 120px, 100% 130px, calc(100% - 4px) 140px, 100% 150px, calc(100% - 4px) 160px, 100% 170px, calc(100% - 4px) 180px, 100% 190px, calc(100% - 4px) 200px, 100% 210px, calc(100% - 4px) 220px, 100% 230px, calc(100% - 10px) 100%, 0 100%); }
.route-card-top { padding: 13px 18px; display: flex; justify-content: space-between; border-bottom: 1px solid #d2c59b; font: 700 12px var(--condensed); }
.route-card-top span:last-child { color: #6b654e; }
.route-line { padding: 27px 18px 21px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; font: 800 26px var(--condensed); }
.route-line span { position: relative; height: 2px; background: var(--magenta); }
.route-line i { position: absolute; width: 7px; height: 7px; left: 53%; top: -3px; background: var(--magenta); border-radius: 50%; }
.route-card dl { margin: 0; display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid #d2c59b; }
.route-card dl div { padding: 13px 15px; border-right: 1px solid #d2c59b; }
.route-card dt { color: #736f5b; font-size: 11px; }
.route-card dd { margin: 2px 0 0; font: 800 14px var(--condensed); }
.product-stage { margin-top: -105px; position: relative; z-index: 2; overflow: hidden; background: white; border: 1px solid #cbd4df; border-radius: 16px; box-shadow: var(--shadow); }
.product-stage img { width: 100%; aspect-ratio: 1.54; object-fit: cover; object-position: top center; }
.window-chrome { height: 46px; padding: 0 15px; display: flex; align-items: center; gap: 7px; background: #e9edf2; border-bottom: 1px solid #cbd4df; color: #677383; font-size: 12px; }
.window-chrome span { width: 9px; height: 9px; background: #9da8b5; border-radius: 50%; }
.window-chrome span:first-child { background: #d26262; }
.window-chrome span:nth-child(2) { background: #d6a849; }
.window-chrome span:nth-child(3) { background: #65a86b; }
.window-chrome b { margin-left: 8px; color: #34414e; font-weight: 650; }
.window-chrome em { margin-left: auto; font-style: normal; }
.feature-band { padding: 130px 0 120px; }
.section-intro { display: grid; grid-template-columns: .7fr 1.1fr .9fr; gap: 55px; align-items: start; margin-bottom: 50px; }
.kicker { display: inline-block; color: var(--cyan); font-size: 13px; font-weight: 800; }
.kicker.light { color: #d8e5ee; }
.section-intro h2, .page-hero h1 { margin: 0; font-size: clamp(36px, 4.3vw, 58px); letter-spacing: -.045em; line-height: 1.08; }
.section-intro p { margin: 0; color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); }
.feature-grid article { min-height: 240px; padding: 30px 32px 24px 0; border-right: 1px solid var(--line); }
.feature-grid article + article { padding-left: 32px; }
.feature-grid article:last-child { border-right: 0; }
.feature-code { color: #84909d; font: 700 11px var(--condensed); letter-spacing: .08em; }
.feature-grid h3 { margin: 50px 0 10px; font-size: 23px; letter-spacing: -.02em; }
.feature-grid p { color: var(--muted); font-size: 14px; }
.training-teaser { overflow: hidden; background: var(--navy-2); color: white; }
.training-teaser-grid { min-height: 640px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 90px; }
.training-teaser h2 { max-width: 520px; margin: 20px 0; font-size: clamp(42px, 5vw, 66px); line-height: 1.04; letter-spacing: -.045em; }
.training-teaser p { max-width: 560px; color: #bdc9d4; font-size: 17px; }
.training-photo { height: 640px; overflow: hidden; transform: skewX(-3deg); transform-origin: center; }
.training-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1) skewX(3deg); }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); font-weight: 750; }
.text-link.light { color: white; }

.page-hero { padding: 105px 0 72px; }
.page-hero .kicker { margin-bottom: 18px; }
.page-hero h1 { max-width: 850px; }
.page-hero > p { max-width: 680px; margin: 24px 0 0; color: var(--muted); font-size: 18px; }
.showcase { padding-bottom: 110px; }
.showcase-row { min-height: 520px; margin-bottom: 28px; padding: 70px; display: grid; grid-template-columns: .72fr 1.28fr; gap: 70px; align-items: center; background: white; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.showcase-row.reverse { grid-template-columns: 1.28fr .72fr; }
.showcase-row.reverse div { order: 2; }
.showcase-row > div > span { color: var(--cyan); font: 800 11px var(--condensed); letter-spacing: .08em; }
.showcase-row h2 { margin: 20px 0 16px; font-size: 38px; line-height: 1.12; letter-spacing: -.035em; }
.showcase-row p { color: var(--muted); }
.showcase-row img { width: 100%; border: 1px solid #cdd5df; border-radius: 10px; box-shadow: 0 16px 35px rgba(20,40,62,.13); }
.center-cta { margin-bottom: 100px; padding: 45px 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; background: #e7ecf2; border: 1px solid var(--line); border-radius: var(--radius); }
.center-cta h2 { margin: 0; font-size: 30px; }

.pricing-grid { padding-bottom: 24px; display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; }
.price-card { min-height: 530px; padding: 42px; display: flex; flex-direction: column; background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.price-card.featured { color: white; background: var(--navy-2); border-color: var(--navy-2); }
.price-tag { color: var(--cyan); font-size: 13px; font-weight: 800; }
.featured .price-tag { color: #8dd8df; }
.price-card h2 { margin: 13px 0 33px; font-size: 28px; }
.price { min-height: 70px; font-size: 48px; font-weight: 650; letter-spacing: -.04em; line-height: 1; }
.price small { color: var(--muted); font-size: 13px; font-weight: 500; letter-spacing: 0; }
.price-card > p { color: var(--muted); }
.featured > p { color: #becbd7; }
.price-card ul, .license-card ul { padding: 22px 0; margin: 10px 0 30px; list-style: none; border-top: 1px solid var(--line); }
.featured ul { border-color: #385068; }
.price-card li, .license-card li { position: relative; padding: 7px 0 7px 27px; }
.price-card li::before, .license-card li::before { content: "✓"; position: absolute; left: 0; color: var(--cyan); font-weight: 900; }
.price-card .button { margin-top: auto; }
.pricing-note { margin-bottom: 110px; color: var(--muted); font-size: 13px; text-align: center; }

.training-hero { height: min(760px, calc(100vh - 72px)); min-height: 620px; position: relative; background: #102a43; }
.training-hero::after { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgba(3,16,28,.96) 0%, rgba(3,16,28,.82) 48%, rgba(3,16,28,.26) 84%); }
.training-hero > img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.56) saturate(.85); }
.training-hero-copy { width: min(1180px, calc(100% - 48px)); position: absolute; z-index: 2; left: 50%; bottom: 84px; transform: translateX(-50%); color: white; }
.training-hero h1 { max-width: 760px; margin: 20px 0; font-size: clamp(48px, 6vw, 76px); line-height: 1.03; letter-spacing: -.05em; }
.training-hero p { max-width: 620px; color: #d3dde6; font-size: 18px; }
.license-grid { padding: 95px 0 30px; display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; }
.license-card { padding: 42px; background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.license-top { min-height: 145px; display: flex; flex-direction: column; }
.license-top > span { color: var(--cyan); font-weight: 800; }
.license-top strong { margin-top: 16px; font-size: 56px; line-height: 1; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.license-top small { font-size: 17px; letter-spacing: 0; }
.license-card > p { min-height: 80px; color: var(--muted); }
.training-notice { margin: 0 auto 110px; padding: 34px 38px; display: flex; gap: 24px; background: #e8edf2; border: 1px solid var(--line); border-radius: var(--radius); }
.training-notice > svg { width: 34px; height: 34px; flex: 0 0 auto; color: var(--navy); }
.training-notice h2 { margin-bottom: 8px; }
.training-notice p { margin: 0; color: var(--muted); }

.community-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.forum-layout { padding-bottom: 110px; display: grid; grid-template-columns: 1fr 300px; gap: 24px; }
.forum-main, .forum-sidebar { background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.forum-toolbar { min-height: 66px; padding: 14px 20px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--line); }
.forum-toolbar strong { margin-right: auto; }
.filter-chip, .copy-button { min-height: 36px; padding: 7px 12px; background: white; color: #4d5a68; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.filter-chip.is-active { background: var(--navy); color: white; border-color: var(--navy); }
.topic { min-height: 105px; padding: 20px; display: grid; grid-template-columns: 48px 1fr auto; gap: 17px; align-items: center; border-bottom: 1px solid var(--line); }
.topic:last-child { border-bottom: 0; }
.topic-icon { width: 44px; height: 44px; display: grid; place-items: center; background: var(--navy); color: white; border-radius: 10px; font: 800 18px var(--condensed); }
.topic-icon.teal { background: var(--cyan); }
.topic-icon.magenta { background: var(--magenta); }
.topic h2 { margin: 0 0 4px; font-size: 16px; }
.topic p { margin: 0; color: var(--muted); font-size: 12px; }
.topic > strong { font: 700 16px var(--condensed); text-align: right; }
.topic > strong small { display: block; color: var(--muted); font: 400 10px var(--font); }
.forum-sidebar { padding: 22px; align-self: start; }
.forum-sidebar h2 { font-size: 17px; }
.forum-sidebar > a { padding: 11px 0; display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); font-size: 14px; }
.forum-sidebar > a b { color: var(--muted); }
.forum-state { margin-top: 22px; padding: 15px; background: #edf6f7; border-radius: 10px; }
.forum-state span { width: 8px; height: 8px; display: inline-block; background: var(--cyan); border-radius: 50%; }
.forum-state p { margin: 5px 0 0; color: #45636a; font-size: 12px; }

.contact-grid { padding-bottom: 110px; display: grid; grid-template-columns: 1fr 380px; gap: 24px; }
.ticket-form { padding: 36px; background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.form-heading { margin-bottom: 30px; display: flex; gap: 17px; align-items: flex-start; }
.form-heading > svg { width: 32px; height: 32px; color: var(--navy); }
.form-heading h2 { margin: 0; }
.form-heading p { margin: 3px 0 0; color: var(--muted); font-size: 13px; }
.field-row { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
label { margin-bottom: 17px; display: block; color: #334252; font-size: 13px; font-weight: 700; }
label > span { display: block; margin-bottom: 6px; }
input, select, textarea { width: 100%; color: var(--ink); background: #fbfcfd; border: 1px solid #b8c3d0; border-radius: 8px; outline: none; }
input, select { height: 46px; padding: 0 12px; }
textarea { padding: 11px 12px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(12,125,139,.12); }
.form-result { min-height: 24px; margin-top: 12px; color: var(--cyan); font-size: 13px; }
.contact-options { display: flex; flex-direction: column; gap: 12px; }
.contact-options article { padding: 25px; display: flex; gap: 16px; background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.contact-options article > svg { width: 26px; height: 26px; color: var(--navy); flex: 0 0 auto; }
.contact-options h2 { margin: 0 0 5px; font-size: 17px; }
.contact-options a, .contact-options strong { color: var(--cyan); font-weight: 800; word-break: break-all; }
.contact-options p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.copy-button { display: block; margin-top: 12px; }
.qr-card img { width: 76px; height: 76px; border-radius: 6px; }
.china-only { display: none !important; }
html[data-china="true"] .china-only { display: flex !important; }
html[data-china="false"] .training-teaser,
html[data-china="false"] a[href$="#training"],
html[data-china="false"] a[href$="#training-contact"] { display: none !important; }

.site-footer { padding: 70px 0 25px; background: white; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 70px; }
.footer-grid > div { display: flex; flex-direction: column; gap: 9px; }
.footer-grid img { width: 190px; }
.footer-grid p { max-width: 410px; color: var(--muted); font-size: 14px; }
.footer-grid strong { margin-bottom: 8px; font-size: 13px; }
.footer-grid a { color: var(--muted); font-size: 13px; }
.footer-grid a:hover { color: var(--navy); }
.footer-bottom { margin-top: 48px; padding-top: 22px; display: flex; justify-content: space-between; color: #788492; border-top: 1px solid var(--line); font-size: 12px; }

dialog { width: min(560px, calc(100% - 32px)); padding: 0; border: 0; border-radius: 14px; box-shadow: var(--shadow); }
dialog::backdrop { background: rgba(9,24,38,.56); backdrop-filter: blur(3px); }
.dialog-card { padding: 28px; }
.dialog-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.dialog-head h2 { margin: 0; }
.dialog-note { color: var(--muted); font-size: 13px; }

:focus-visible { outline: 3px solid rgba(12,125,139,.4); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }

@media (max-width: 1000px) {
  .desktop-nav, .nav-download { display: none; }
  .mobile-menu-button { display: grid; }
  .nav-actions { margin-left: auto; }
  .hero { grid-template-columns: 1fr; gap: 45px; padding-top: 70px; }
  .route-card { width: min(480px, 100%); }
  .section-intro { grid-template-columns: 1fr; gap: 18px; }
  .training-teaser-grid { grid-template-columns: 1fr 42%; gap: 40px; }
  .showcase-row, .showcase-row.reverse { padding: 45px; grid-template-columns: 1fr; gap: 40px; }
  .showcase-row.reverse div { order: 0; }
  .forum-layout, .contact-grid { grid-template-columns: 1fr; }
  .forum-sidebar { display: grid; grid-template-columns: repeat(2,1fr); gap: 0 22px; }
  .forum-sidebar h2, .forum-state { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .container, .container-wide, .nav-shell { width: min(100% - 28px, 1180px); }
  .nav-shell { min-height: 64px; }
  .brand { width: 146px; }
  .brand img { width: 142px; }
  .language-button svg { display: none; }
  .hero { min-height: 0; padding: 64px 0 130px; }
  .hero h1 { font-size: clamp(42px, 13vw, 62px); }
  .hero-lead { font-size: 17px; }
  .route-card { display: none; }
  .product-stage { margin-top: -78px; width: calc(100% - 18px); border-radius: 10px; }
  .product-stage img { aspect-ratio: .95; object-position: 24% top; }
  .window-chrome em { display: none; }
  .feature-band { padding: 90px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article, .feature-grid article + article { min-height: 0; padding: 28px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .feature-grid h3 { margin-top: 24px; }
  .training-teaser-grid { padding-top: 70px; grid-template-columns: 1fr; }
  .training-photo { height: 390px; }
  .page-hero { padding: 75px 0 48px; }
  .showcase-row { min-height: 0; padding: 28px; }
  .showcase-row h2 { font-size: 30px; }
  .center-cta { padding: 28px; flex-direction: column; align-items: flex-start; }
  .pricing-grid, .license-grid { grid-template-columns: 1fr; }
  .price-card, .license-card { padding: 30px; }
  .training-hero { min-height: 660px; }
  .training-hero::after { background: linear-gradient(0deg, rgba(5,20,35,.92), rgba(5,20,35,.12) 82%); }
  .training-hero-copy { bottom: 48px; }
  .training-hero h1 { font-size: 43px; }
  .community-heading { display: block; }
  .community-heading .button { margin-top: 28px; }
  .topic { grid-template-columns: 42px 1fr; }
  .topic > strong { display: none; }
  .forum-sidebar { grid-template-columns: 1fr; }
  .forum-sidebar h2, .forum-state { grid-column: 1; }
  .ticket-form { padding: 24px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 38px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { display: block; }
  .footer-bottom span { display: block; margin-top: 5px; }
}

/* V2 product site — direct language, integrated products and pricing */
.desktop-nav a { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.desktop-nav a svg { width: 13px; height: 13px; }
.discord-link, .account-link { min-height: 44px; display: inline-flex; align-items: center; gap: 6px; color: #334252; font-size: 13px; font-weight: 700; white-space: nowrap; }
.account-link svg { width: 18px; height: 18px; }
.language-button { min-width: 132px; justify-content: flex-start; white-space: nowrap; }
.language-button #languageShort { font-size: 12px; }
.language-menu { width: 230px; }
.hero-copy > h1 { margin-top: 0; }
.section-intro.compact { grid-template-columns: 1.15fr .85fr; }
.feature-grid article { padding-top: 38px; }
.feature-grid h3 { margin-top: 12px; }
.kicker, .feature-code { display: none !important; }
.page-hero > h1 { max-width: 980px; }
.product-block { padding: 10px 0 110px; }
.product-heading { margin-bottom: 38px; display: flex; align-items: end; justify-content: space-between; gap: 32px; }
.product-heading > div { max-width: 760px; }
.product-heading img { width: 170px; height: 52px; object-fit: contain; object-position: left center; }
.product-heading h2 { margin: 12px 0 10px; font-size: clamp(38px, 5vw, 62px); line-height: 1; letter-spacing: -.045em; }
.product-heading p { margin: 0; color: var(--muted); font-size: 17px; }
.product-hero-image { overflow: hidden; border: 1px solid #cbd4df; border-radius: 15px; box-shadow: var(--shadow); }
.product-hero-image img { width: 100%; }
.capability-grid { margin: 30px 0 90px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.capability-grid article { min-height: 190px; padding: 30px; background: rgba(255,255,255,.58); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.capability-grid h3 { margin-bottom: 12px; font-size: 20px; }
.capability-grid p { margin: 0; color: var(--muted); font-size: 14px; }
.device-feature { min-height: 570px; padding: 65px 55px; display: grid; grid-template-columns: .78fr 1.22fr; align-items: center; gap: 42px; overflow: hidden; background: #e8edf3; border: 1px solid var(--line); border-radius: var(--radius); }
.device-feature h2 { margin-bottom: 18px; font-size: clamp(36px, 4vw, 54px); line-height: 1.07; letter-spacing: -.04em; }
.device-feature p { color: var(--muted); }
.device-feature ul { padding: 0; list-style: none; color: #344353; }
.device-feature li { margin: 8px 0; }
.device-feature li::before { content: "—"; margin-right: 10px; color: #7e8995; }
.device-feature img { width: 120%; max-width: none; filter: drop-shadow(0 18px 28px rgba(9,30,48,.18)); }
.platform-strip { margin-top: 18px; padding: 20px 22px; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; background: white; border: 1px solid var(--line); border-radius: 10px; }
.platform-strip strong { margin-right: 4px; color: #3c4957; font-size: 12px; }
.platform-strip strong:nth-of-type(2) { margin-left: 18px; }
.platform-strip span { padding: 6px 10px; color: #42505e; background: #edf1f5; border-radius: 6px; font: 700 12px var(--condensed); }
.pricing-section, .roadmap-section { padding: 95px 0 110px; }
.section-title { max-width: 760px; margin-bottom: 42px; }
.section-title h2 { margin-bottom: 12px; font-size: clamp(36px, 4vw, 52px); letter-spacing: -.04em; line-height: 1.08; }
.section-title p { color: var(--muted); }
.pricing-grid.three { grid-template-columns: repeat(3, 1fr); }
.pricing-grid.three .price-card { min-height: 590px; }
.price-card h3 { margin: 0 0 32px; font-size: 18px; letter-spacing: .06em; }
.price { min-height: 90px; display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.price s, .billing-row s { color: #8b96a3; font-size: 14px; font-weight: 500; }
.price strong { font-size: 44px; line-height: 1; }
.billing-row { padding: 14px 0; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 3px 12px; border-bottom: 1px solid var(--line); }
.featured .billing-row { border-color: #385068; }
.billing-row span { color: var(--muted); font-size: 12px; }
.featured .billing-row span { color: #bdc9d4; }
.billing-row s { grid-column: 2; text-align: right; }
.billing-row strong { grid-column: 2; font-size: 24px; font-variant-numeric: tabular-nums; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid #aeb8c5; }
.timeline article { position: relative; padding: 32px 28px 20px 0; }
.timeline article::before { content: ""; position: absolute; width: 12px; height: 12px; left: 0; top: -7px; background: var(--navy); border: 3px solid var(--canvas); border-radius: 50%; box-shadow: 0 0 0 1px var(--navy); }
.timeline time { color: #6c7885; font: 700 13px var(--condensed); }
.timeline h3 { margin: 18px 0 9px; font-size: 19px; }
.timeline p { color: var(--muted); font-size: 13px; }
.voice-product { padding: 110px 0; overflow: hidden; color: white; background: #10151d; }
.voice-grid { display: grid; grid-template-columns: .72fr 1.28fr; align-items: center; gap: 65px; }
.voice-copy h2 { font-size: clamp(42px, 5vw, 66px); line-height: .98; letter-spacing: -.045em; }
.voice-copy h2 span { display: block; margin-top: 13px; color: #aab4c1; font-size: .38em; letter-spacing: 0; }
.voice-copy > p { color: #bac4cf; font-size: 17px; }
.voice-points { margin: 30px 0; padding: 18px 0; border-top: 1px solid #34404e; border-bottom: 1px solid #34404e; }
.voice-points p { margin: 8px 0; color: #d7dee6; font-size: 13px; }
.voice-license { margin: 0 0 24px; display: flex; flex-direction: column; gap: 4px; }
.voice-license span { color: #8d99a7; font-size: 12px; }
.voice-license strong { color: white; font-size: 15px; }
.voice-settings { width: 118%; max-width: none; filter: drop-shadow(0 30px 50px rgba(0,0,0,.35)); }
.panel-gallery { margin-top: 75px; display: grid; grid-template-columns: .78fr 1.22fr; align-items: center; gap: 50px; }
.panel-gallery img { width: 100%; }
.training-contact { margin-bottom: 28px; padding: 42px; display: grid; grid-template-columns: 260px 1fr; align-items: center; gap: 46px; background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.training-contact img { width: 260px; border-radius: 10px; }
.training-contact h2 { font-size: 32px; }
.training-contact p { color: var(--muted); }
.training-contact a { color: var(--navy); font-size: 28px; font-weight: 800; font-variant-numeric: tabular-nums; }
.license-top > span, .price-tag, .showcase-row > div > span { color: var(--navy); }
.contact-options a, .contact-options strong { color: var(--navy); }
.price-card li::before, .license-card li::before { color: var(--navy); }
.price-card.featured li::before { color: #c8d8e8; }
.form-result { color: var(--navy); }
.auth-shell { min-height: 720px; padding: 95px 0 110px; display: grid; grid-template-columns: 1fr 470px; align-items: start; gap: 100px; }
.auth-intro h1 { margin: 0 0 22px; max-width: 640px; font-size: clamp(44px, 5vw, 68px); line-height: 1.04; letter-spacing: -.05em; }
.auth-intro > p { max-width: 560px; color: var(--muted); font-size: 18px; }
.auth-intro ul { margin-top: 38px; padding: 0; list-style: none; }
.auth-intro li { margin: 12px 0; color: #465463; }
.auth-intro li::before { content: "✓"; margin-right: 12px; color: var(--navy); font-weight: 800; }
.auth-card { padding: 32px; background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 15px 40px rgba(17,42,64,.08); }
.auth-tabs { margin-bottom: 28px; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; background: #edf1f5; border-radius: 9px; }
.auth-tabs button { min-height: 42px; border: 0; border-radius: 7px; color: #546171; background: transparent; font-weight: 750; cursor: pointer; }
.auth-tabs button.is-active { color: var(--navy); background: white; box-shadow: 0 1px 4px rgba(14,40,62,.12); }
.link-button { width: 100%; margin-top: 15px; color: #4e5d6c; background: transparent; border: 0; cursor: pointer; }
.form-note { color: var(--muted); font-size: 12px; }
/* 忘记密码里的「验证码 + 获取验证码」一行：输入框占满，按钮不换行；窄屏自动堆叠。 */
.code-row { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.code-row > label { flex: 1 1 160px; }
.code-row > .button { flex: 0 0 auto; white-space: nowrap; }
.footer-bottom a { color: #788492; }

@media (max-width: 1180px) {
  .discord-link, .account-link { display: none; }
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid.three { grid-template-columns: 1fr; }
  .pricing-grid.three .price-card { min-height: 0; }
  .timeline { grid-template-columns: repeat(2, 1fr); row-gap: 25px; }
  .auth-shell { gap: 45px; }
}
@media (max-width: 780px) {
  .language-button { min-width: 0; width: 52px; justify-content: center; }
  .language-button svg { display: none; }
  .language-button #languageShort { max-width: 27px; overflow: hidden; font-size: 0; }
  .language-button #languageShort::before { content: attr(data-flag); font-size: 18px; }
  .section-intro.compact, .device-feature, .voice-grid, .panel-gallery, .training-contact, .auth-shell { grid-template-columns: 1fr; }
  .capability-grid { grid-template-columns: 1fr; }
  .device-feature { padding: 38px 28px; }
  .device-feature img, .voice-settings { width: 100%; }
  .timeline { grid-template-columns: 1fr; border-top: 0; border-left: 2px solid #aeb8c5; }
  .timeline article { padding: 8px 0 30px 28px; }
  .timeline article::before { left: -7px; top: 11px; }
  .product-heading { align-items: flex-start; flex-direction: column; }
  .training-contact img { width: min(100%, 320px); }
  .auth-shell { padding-top: 65px; }
}

/* Standalone community */
.bbs-body { min-height: 100vh; background: #eef1f5; color: var(--ink); }
.bbs-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.bbs-nav { min-height: 70px; display: grid; grid-template-columns: auto minmax(260px,640px) auto; align-items: center; gap: 28px; }
.bbs-brand { display: flex; align-items: center; gap: 14px; color: var(--ink); font-weight: 800; }
.bbs-wordmark { padding-left: 14px; border-left: 1px solid var(--line-strong); color: var(--muted); font-size: 14px; font-weight: 700; letter-spacing: .04em; }
.bbs-search { display: flex; align-items: center; min-height: 42px; padding: 0 6px 0 14px; background: #f3f5f8; border: 1px solid transparent; border-radius: 10px; }
.bbs-search:focus-within { background: #fff; border-color: #9fb2c8; box-shadow: 0 0 0 3px rgba(14,49,82,.08); }
.bbs-search input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font: inherit; }
.bbs-search button { min-width: 64px; min-height: 32px; padding: 0 12px; border: 0; border-radius: 7px; background: var(--navy); color: #fff; white-space: nowrap; cursor: pointer; }
.bbs-actions, .bbs-welcome-actions, .bbs-footer-links { display: flex; align-items: center; gap: 10px; }
.bbs-actions a, .bbs-actions button { white-space: nowrap; }
.bbs-shell { padding-top: 36px; padding-bottom: 70px; }
.bbs-welcome { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 22px; }
.bbs-welcome h1 { max-width: 720px; margin: 0 0 8px; font-size: clamp(30px,4vw,48px); line-height: 1.08; letter-spacing: -.04em; }
.bbs-welcome p { margin: 0; color: var(--muted); }
.bbs-layout { display: grid; grid-template-columns: minmax(0,1fr) 310px; gap: 20px; align-items: start; }
.bbs-content, .bbs-panel { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 10px 30px rgba(15,31,48,.04); }
.bbs-tabs { display: flex; align-items: center; gap: 4px; padding: 10px 12px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.bbs-tab { min-height: 38px; padding: 0 14px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.bbs-tab:hover, .bbs-tab.is-active { background: #edf2f8; color: var(--navy); }
.bbs-announcement { display: flex; align-items: flex-start; gap: 14px; margin: 16px; padding: 16px; background: #f3f6fa; border: 1px solid #dce5ef; border-radius: 12px; }
.bbs-announcement strong, .bbs-announcement span { display: block; }
.bbs-announcement span { margin-top: 3px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.bbs-topic-list { border-top: 1px solid var(--line); }
.bbs-topic { display: grid; grid-template-columns: 42px minmax(0,1fr) auto; gap: 14px; align-items: start; padding: 20px 18px; border-bottom: 1px solid var(--line); }
.bbs-topic:last-child { border-bottom: 0; }
.bbs-topic:hover { background: #fafbfd; }
.bbs-avatar { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; background: #e7edf4; color: var(--navy); font-size: 13px; font-weight: 850; }
.bbs-avatar.staff, .bbs-avatar.solved { background: var(--navy); color: #fff; }
.bbs-topic h2 { margin: 0 0 7px; font-size: 16px; line-height: 1.45; }
.bbs-topic h2 a { color: var(--ink); }
.bbs-topic h2 a:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.bbs-topic-meta, .bbs-topic-stats { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.bbs-topic-stats { min-width: 92px; justify-content: flex-end; padding-top: 3px; }
.bbs-tag { display: inline-flex; align-items: center; min-height: 22px; padding: 0 8px; border-radius: 5px; background: #edf2f8; color: var(--navy); font-size: 11px; font-weight: 800; }
.bbs-sidebar { display: grid; gap: 16px; }
.bbs-panel { padding: 20px; }
.bbs-panel h2 { margin: 0 0 16px; font-size: 16px; }
.bbs-category-list, .bbs-status-list { display: grid; gap: 4px; }
.bbs-category-list a, .bbs-status-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 42px; padding: 0 10px; border-radius: 8px; color: var(--ink); font-size: 14px; }
.bbs-category-list a:hover { background: #f3f5f8; }
.bbs-category-list span, .bbs-status-row span:last-child { color: var(--muted); font-size: 12px; }
.bbs-status-row { padding: 0; }
.bbs-status-dot { width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: #2b67a3; box-shadow: 0 0 0 4px rgba(43,103,163,.1); }
.bbs-panel-copy { margin: -4px 0 16px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.bbs-panel .btn { width: 100%; }
.bbs-footer { background: #fff; border-top: 1px solid var(--line); }
.bbs-footer-inner { min-height: 78px; display: flex; justify-content: space-between; align-items: center; gap: 20px; color: var(--muted); font-size: 13px; }
.bbs-footer a { color: var(--muted); }
.bbs-dialog { width: min(440px,calc(100% - 32px)); padding: 0; border: 0; border-radius: 18px; box-shadow: 0 30px 80px rgba(10,24,38,.3); }
.bbs-dialog::backdrop { background: rgba(8,17,28,.58); backdrop-filter: blur(5px); }
.bbs-dialog-inner { padding: 28px; }
.bbs-dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 22px; }
.bbs-dialog-head h2 { margin: 0; }
.bbs-dialog-close { width: 34px; height: 34px; border: 0; border-radius: 8px; background: #eef1f5; color: var(--ink); font-size: 20px; cursor: pointer; }
.bbs-login-note { margin: 16px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
@media (max-width: 980px) {
  .bbs-nav { grid-template-columns: 1fr auto; gap: 14px; padding: 12px 0; }
  .bbs-search { grid-column: 1 / -1; grid-row: 2; }
  .bbs-layout { grid-template-columns: 1fr; }
  .bbs-sidebar { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 680px) {
  .bbs-wordmark, .bbs-actions .bbs-discord { display: none; }
  .bbs-nav { gap: 10px; }
  .bbs-actions { gap: 6px; }
  .bbs-actions .btn { min-height: 38px; padding: 0 12px; }
  .bbs-shell { padding-top: 24px; }
  .bbs-welcome { align-items: stretch; flex-direction: column; }
  .bbs-welcome-actions .btn { flex: 1; }
  .bbs-topic { grid-template-columns: 38px minmax(0,1fr); padding: 17px 14px; }
  .bbs-avatar { width: 38px; height: 38px; }
  .bbs-topic-stats { grid-column: 2; min-width: 0; justify-content: flex-start; padding: 0; }
  .bbs-sidebar { grid-template-columns: 1fr; }
  .bbs-footer-inner { align-items: flex-start; flex-direction: column; padding-top: 20px; padding-bottom: 20px; }
}

/* BBS markup alignment */
.bbs-nav { grid-template-columns: auto auto minmax(280px,1fr) auto auto; gap: 18px; }
.bbs-nav > .brand img { display: block; width: 174px; height: auto; }
.bbs-tabs > button { min-height: 38px; padding: 0 14px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.bbs-tabs > button:hover, .bbs-tabs > button.is-active { background: #edf2f8; color: var(--navy); }
.bbs-announcement { display: grid; grid-template-columns: auto minmax(0,1fr) auto; }
.bbs-announcement h2 { margin: 0; font-size: 17px; line-height: 1.45; }
.bbs-announcement > strong { color: var(--navy); font-size: 13px; }
.bbs-announcement > span { margin-top: 0; white-space: nowrap; }
.bbs-topic-list > article { display: grid; grid-template-columns: 42px minmax(0,1fr) auto; gap: 14px; align-items: start; padding: 20px 18px; border-bottom: 1px solid var(--line); }
.bbs-topic-list > article:last-child { border-bottom: 0; }
.bbs-topic-list > article:hover { background: #fafbfd; }
.bbs-topic-list h2 { margin: 0 0 7px; font-size: 16px; line-height: 1.45; }
.bbs-topic-list p { margin: 0; color: var(--muted); font-size: 12px; }
.bbs-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.bbs-tags span { display: inline-flex; align-items: center; min-height: 22px; padding: 0 8px; border-radius: 5px; background: #edf2f8; color: var(--navy); font-size: 11px; font-weight: 800; }
.bbs-count { min-width: 60px; display: grid; justify-items: end; color: var(--muted); font-size: 11px; }
.bbs-count strong { color: var(--ink); font-size: 16px; }
.bbs-sidebar > section { padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 10px 30px rgba(15,31,48,.04); }
.bbs-sidebar > section h2 { margin: 0 0 12px; font-size: 16px; }
.bbs-sidebar > section > a { display: flex; justify-content: space-between; gap: 10px; padding: 10px; border-radius: 8px; color: var(--ink); font-size: 13px; }
.bbs-sidebar > section > a:hover { background: #f3f5f8; }
.bbs-sidebar > section > a b { color: var(--muted); font-size: 12px; }
.bbs-stats dl { margin: 0 0 12px; }
.bbs-stats dl > div { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line); }
.bbs-stats dt { color: var(--muted); }
.bbs-stats dd { margin: 0; font-weight: 800; }
#bbsDialog { width: min(440px,calc(100% - 32px)); padding: 0; border: 0; border-radius: 18px; box-shadow: 0 30px 80px rgba(10,24,38,.3); }
#bbsDialog::backdrop { background: rgba(8,17,28,.58); backdrop-filter: blur(5px); }
.dialog-card { padding: 28px; }
.dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; }
.dialog-head h2 { margin: 0; }
.dialog-card > p { color: var(--muted); line-height: 1.7; }
.icon-button { width: 34px; height: 34px; border: 0; border-radius: 8px; background: #eef1f5; color: var(--ink); font-size: 20px; cursor: pointer; }
.full { width: 100%; }
.bbs-footer > .container { min-height: 78px; display: flex; justify-content: center; align-items: center; gap: 24px; color: var(--muted); font-size: 13px; }
@media (max-width: 980px) {
  .bbs-nav { grid-template-columns: auto auto 1fr auto; }
  .bbs-search { grid-column: 1 / -1; grid-row: 2; }
  .bbs-nav > .account-link { display: none; }
}
@media (max-width: 680px) {
  .bbs-nav { grid-template-columns: 1fr auto; }
  .bbs-nav > .brand img { width: 150px; }
  .bbs-nav > .bbs-wordmark { display: none; }
  .bbs-topic-list > article { grid-template-columns: 38px minmax(0,1fr); padding: 17px 14px; }
  .bbs-count { grid-column: 2; display: flex; gap: 5px; justify-items: initial; }
  .bbs-announcement { grid-template-columns: auto 1fr; }
  .bbs-announcement > span { grid-column: 2; }
  .bbs-footer > .container { align-items: flex-start; flex-direction: column; gap: 8px; padding-top: 20px; padding-bottom: 20px; }
}

/* ---------------------------------------------------------------------------
 * Multi-page shell — account state, account area, announcements and downloads.
 * Built from the tokens and class vocabulary already defined above
 * (--navy, --line, --muted, --radius, .button, .filter-chip, .form-note, …);
 * no second design system is introduced.
 * ------------------------------------------------------------------------- */

/* The head script hides the authored zh-CN markup for the one frame between
   parsing and applying the resolved language, so a non-Chinese visitor never
   sees the wrong language flash past. Failsafe removal is in i18n.js. */
html.i18n-boot body { opacity: 0; }

/* Account state in the top bar: signed out = sign in, signed in = e-mail + sign out */
.account-state { display: inline-flex; align-items: center; gap: 6px; }
.account-chip { display: inline-flex; align-items: center; gap: 4px; }
.account-signout { min-height: 44px; padding: 6px 12px; background: transparent; border: 1px solid var(--line); border-radius: 8px; color: #334252; font-size: 13px; font-weight: 700; cursor: pointer; }
.account-signout:hover { color: var(--navy); background: #e8edf3; }
#accountEmailLabel { max-width: 190px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Four-tab auth card */
.auth-tabs { grid-template-columns: repeat(4, 1fr); }
.auth-card h2 { margin-bottom: 8px; font-size: 20px; }
.auth-card .button-row { margin: 18px 0; }
.notice-panel { margin: 26px 0 18px; padding: 22px 24px; background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.notice-panel h2 { margin-bottom: 8px; font-size: 18px; }
.notice-panel p { color: var(--muted); font-size: 14px; }

/* Shared content card used by the profile and download pages */
.card-panel { padding: 34px; background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.panel-head h2 { margin: 0 0 6px; font-size: 26px; letter-spacing: -.02em; }
.profile-shell { padding-bottom: 110px; display: grid; gap: 22px; }
.account-email { margin: 0; color: var(--muted); font-size: 14px; }
.account-email strong { margin-left: 6px; color: var(--ink); }

/* My products */
.product-list { display: grid; gap: 16px; }
.product-card { padding: 24px; background: #fbfcfe; border: 1px solid var(--line); border-radius: var(--radius); }
.product-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.product-card-head h3 { margin: 0; font-size: 20px; }
.product-meta { margin: 0 0 18px; padding: 0 0 16px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; border-bottom: 1px solid var(--line); }
.product-meta dt { color: var(--muted); font-size: 12px; }
.product-meta dd { margin: 3px 0 0; font-size: 15px; font-weight: 750; }
.badge { display: inline-flex; align-items: center; padding: 3px 10px; background: #eef2f6; border: 1px solid var(--line); border-radius: 999px; color: #4b5866; font-size: 12px; font-weight: 750; }
.badge.is-active { background: rgba(12,125,139,.12); border-color: rgba(12,125,139,.35); color: #0a6470; }
.badge.is-expired { background: rgba(194,10,115,.1); border-color: rgba(194,10,115,.3); color: #9c0a5d; }
.badge.is-grace { background: rgba(185,107,20,.12); border-color: rgba(185,107,20,.32); color: #8f5210; }
.device-list { margin: 0; padding: 0; display: grid; gap: 10px; list-style: none; }
.device-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.device-row:last-child { border-bottom: 0; }
.device-row strong { display: block; font-size: 15px; }
.device-row span { color: var(--muted); font-size: 13px; }
.device-row .button { min-height: 38px; padding: 7px 14px; font-size: 13px; }
.empty-note { margin: 0; color: var(--muted); font-size: 14px; }

/* Announcements */
.announcement-shell { padding-bottom: 110px; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.filter-chip.is-active { color: white; background: var(--navy); border-color: var(--navy); }
.source-hint { margin: 0 0 22px; color: var(--muted); font-family: var(--condensed); font-size: 12px; word-break: break-all; }
.announcement-list { display: grid; gap: 14px; margin-bottom: 18px; }
.announcement-item { padding: 26px 28px; background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.announcement-item.is-pinned { border-left: 4px solid var(--magenta); }
.announcement-head { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; color: var(--muted); font-size: 12px; }
.announcement-tag { padding: 3px 10px; background: #eef2f6; border: 1px solid var(--line); border-radius: 999px; color: var(--navy); font-weight: 750; }
.announcement-pin { padding: 3px 10px; background: rgba(194,10,115,.1); border: 1px solid rgba(194,10,115,.3); border-radius: 999px; color: #9c0a5d; font-weight: 750; }
.announcement-item h2 { margin: 0 0 10px; font-size: 22px; letter-spacing: -.02em; }
.announcement-body summary { color: var(--navy); font-size: 14px; font-weight: 750; cursor: pointer; }
.announcement-body p { margin: 12px 0 0; color: #465463; font-size: 15px; }

/* Download page */
.download-shell { padding-bottom: 110px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.download-shell > .card-panel, .download-shell > #downloadResult { grid-column: 1 / -1; }
.download-card { padding: 32px; display: flex; flex-direction: column; gap: 18px; background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.download-head { display: flex; align-items: center; gap: 16px; }
.download-head img { width: 66px; height: 66px; object-fit: contain; }
.download-head h2 { margin: 0 0 6px; font-size: 22px; }
.download-meta { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 22px; }
.download-meta dt { color: var(--muted); font-size: 12px; }
.download-meta dd { margin: 3px 0 0; font-size: 14px; font-weight: 650; }
.mono { font-family: var(--condensed); font-size: 12px; word-break: break-all; }
.download-card .button { align-self: flex-start; }

/* Result tones shared by the forms and the new pages */
.form-result[data-tone="ok"] { color: var(--cyan); }
.form-result[data-tone="error"] { color: #a3122c; }
.form-result[data-tone="demo"] { color: #8f5210; }

@media (max-width: 1000px) {
  .download-shell { grid-template-columns: 1fr; }
  .panel-head { flex-direction: column; }
}
@media (max-width: 780px) {
  .auth-tabs { grid-template-columns: 1fr 1fr; }
  .product-meta, .download-meta { grid-template-columns: 1fr; }
  .card-panel, .download-card, .announcement-item { padding: 22px; }
}
