/* mini2S 宣传页：独立命名空间，保留官网公共导航与页脚。 */
.mini2s-page { --ms-blue: #265aed; color: #0a0a0a; background: #fff; padding-top: var(--header-height, 60px); }
.mini2s-page h1, .mini2s-page h2, .mini2s-page h3 { color: inherit; }
.mini2s-page [id] { scroll-margin-top: 90px; }
.mini2s-page img, .mini2s-page video { display: block; max-width: 100%; }
.ms-wrap { width: min(1224px, 85%); margin-inline: auto; }
.ms-section { padding: 108px 0 110px; }
.ms-heading { text-align: center; margin: 0 auto 58px; }
.ms-heading h2, .ms-cta h2 { font-size: clamp(30px, 4.15vw, 60px); font-weight: 750; line-height: 1.24; letter-spacing: -.035em; }
.ms-heading p { max-width: 1060px; margin: 22px auto 0; font-size: clamp(14px, 1.45vw, 20px); line-height: 1.8; color: #41464c; text-wrap: pretty; }
.ms-hero { position: relative; min-height: 610px; aspect-ratio: 1440 / 776; background: #fff; color: #0a0a0a; }
.ms-hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ms-hero-inner { position: relative; min-height: inherit; height: 100%; display: flex; align-items: center; }
.ms-hero-copy { width: 49%; padding: 90px 0; }
.ms-hero h1 { font-size: clamp(40px, 4.9vw, 72px); font-weight: 750; letter-spacing: -.055em; line-height: 1.15; white-space: nowrap; }
.ms-tagline { margin-top: 20px; font-size: clamp(16px, 1.65vw, 24px); font-weight: 650; }
.ms-hero-desc { max-width: 510px; margin-top: 17px; color: #626a74; font-size: 14px; line-height: 1.8; }
.ms-hero-stats { display: grid; grid-template-columns: 1fr 1.2fr; gap: 26px 0; width: min(400px, 95%); margin-top: 42px; }
.ms-hero-stats > div:nth-child(even) { border-left: 1px solid #e0e3e7; padding-left: 26px; }
.ms-hero-stats dt { font-size: 27px; font-weight: 650; line-height: 1.3; }
.ms-hero-stats dd { color: #747d87; font-size: 12px; margin-top: 8px; }
.ms-actions { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 46px; }
.ms-button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 12px 22px; border: 1px solid #0a0a0a; border-radius: 8px; color: #fff; background: #0a0a0a; font-size: 14px; font-weight: 600; text-decoration: none; transition: background .2s, color .2s; }
.ms-button:hover { background: #265aed; color: #fff; border-color: #265aed; }
.ms-hero .ms-button { background: #0a0a0a; color: #fff; border-color: #0a0a0a; }
.ms-hero .ms-button-outline { background: transparent; color: #0a0a0a; }
.ms-hero .ms-button:hover { background: #265aed; color: #fff; border-color: #265aed; }
.ms-strip { overflow: hidden; padding: 17px 0; background: #080808; color: #fff; }
/* 独立合成层 + 3D 通道：避免亚像素平移被取整成逐帧跳动 */
.ms-marquee { display: flex; width: max-content; will-change: transform; backface-visibility: hidden; animation: ms-marquee 30s linear infinite; }
.ms-marquee p { margin: 0; padding-right: 90px; white-space: nowrap; font-size: 15px; font-weight: 550; letter-spacing: .035em; }
@keyframes ms-marquee { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
.ms-lineup { position: relative; color: #fff; background: #172533; }
.ms-lineup > img { width: 100%; height: auto; }
.ms-lineup-heading { position: absolute; top: 9%; left: 7.5%; right: 7.5%; margin: 0; }
.ms-lineup-heading h2 { font-size: clamp(28px, 4.15vw, 60px); }
.ms-lineup-heading p { color: #e1e8f0; font-size: clamp(13px, 1.25vw, 18px); max-width: 1120px; margin-top: 20px; }
.ms-lineup-labels { position: absolute; bottom: 10%; inset-inline: 0; display: grid; grid-template-columns: 1fr 1fr; justify-items: center; }
.ms-lineup-labels span { padding: 10px 22px; border: 1px solid #ffffffb0; border-radius: 12px; font-size: clamp(16px, 2vw, 28px); font-weight: 650; background: #121c2333; }
.ms-core-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.ms-core-card { overflow: hidden; border: 1px solid #e1e4e8; border-radius: 16px; display: flex; flex-direction: column; background: #fff; }
.ms-core-card > img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.ms-core-body { padding: 24px 22px 20px; flex: 1; display: flex; flex-direction: column; }
.ms-core-body h3 { font-size: clamp(17px, 1.65vw, 24px); font-weight: 700; line-height: 1.4; }
.ms-core-body > p { font-size: 14px; line-height: 1.85; margin: 14px 0 22px; color: #454950; }
.ms-core-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: auto; background: #f2f3f4; border-radius: 10px; overflow: hidden; }
.ms-core-stats > div { padding: 12px 3px; text-align: center; }
.ms-core-stats > div + div { border-left: 1px solid #fff; }
.ms-core-stats dt { font-weight: 650; font-size: clamp(12px, 1.35vw, 19px); white-space: nowrap; }
.ms-core-stats dd { font-size: 11px; color: #737e87; margin-top: 4px; }
.ms-motion { background: #edf0f4; }
.ms-motion .ms-heading p { max-width: 1120px; }
.ms-motion-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.ms-media-placeholder { background: #edf0f4; aspect-ratio: 612 / 480; }
.ms-motion .ms-media-placeholder { background: #fff; aspect-ratio: 384 / 305; }
.ms-motion-grid figcaption { text-align: center; font-size: 20px; margin-top: 22px; font-weight: 650; }
.ms-motion-note { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 42px; color: #7c858c; font-size: 13px; text-align: center; }
.ms-motion-note::before, .ms-motion-note::after { content: ''; width: 5px; height: 5px; flex-shrink: 0; border-radius: 50%; background: var(--ms-blue); box-shadow: 0 0 0 4px #265aed1a; }
.ms-feedback { border-bottom: 1px solid #e5e5e5; }
.ms-feedback-stage { position: relative; }
.ms-feedback video { display: block; width: 100%; height: auto; background: #ededef; cursor: pointer; }
/* 播放结束后按设计稿位置浮现三张卡片：默认第一张展开，点击标题展开对应参数 */
.ms-joint-panel { position: absolute; inset: 0; pointer-events: none; animation: ms-panel-in .45s ease both; }
.ms-joint-card { position: absolute; width: 23.3%; pointer-events: auto; background: #1d1d1ef5; color: #fff; border-left: 4px solid var(--ms-blue); }
.ms-joint-card:nth-child(1) { left: 66.9%; top: 7.7%; }
.ms-joint-card:nth-child(2) { left: 74.9%; top: 38.1%; }
.ms-joint-card:nth-child(3) { left: 74.9%; top: 61.2%; }
.ms-joint-card button { display: block; width: 100%; padding: 13px 16px; background: none; border: 0; color: #aaafb6; font: inherit; font-size: 13px; font-weight: 550; text-align: left; cursor: pointer; transition: color .2s; }
.ms-joint-card button:hover, .ms-joint-card.is-active button { color: #fff; }
.ms-joint-detail { display: none; padding: 0 16px 16px; }
.ms-joint-card.is-active .ms-joint-detail { display: block; }
.ms-joint-detail strong { display: block; color: #5c86ff; font-size: clamp(18px, 1.8vw, 26px); line-height: 1.2; }
.ms-joint-detail p { margin-top: 8px; font-size: 12.5px; line-height: 1.7; color: #e3e5e9; }
@keyframes ms-panel-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.ms-perception { padding-top: 140px; padding-bottom: 140px; }
.ms-ai-flow { width: 94%; margin-inline: auto; display: grid; gap: 36px; }
.ms-ai-row { display: grid; grid-template-columns: 1.14fr 1fr; align-items: center; gap: 8%; }
.ms-ai-row:nth-child(even) { grid-template-columns: 1fr 1.14fr; }
.ms-ai-row:nth-child(even) .ms-media-placeholder { grid-column: 2; grid-row: 1; }
.ms-ai-row:nth-child(even) .ms-ai-copy { grid-column: 1; grid-row: 1; }
.ms-ai-copy h3 { font-size: clamp(24px, 2.5vw, 36px); font-weight: 650; }
.ms-ai-copy p { font-size: 16px; margin-top: 16px; color: #454950; line-height: 1.85; }
.ms-open { background: #1d1d1e; color: #fff; }
.ms-open .ms-heading p { color: #c3c5ca; max-width: 1050px; }
.ms-index { display: block; font: 11px/1.5 Consolas, monospace; letter-spacing: 2px; color: #7fa7ff; margin-bottom: 20px; }
.ms-open-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 6%; align-items: center; }
.ms-code-frame { background: #d4dfff16; padding: 32px; min-width: 0; }
.ms-console { border: 1px solid #344054; background: #07090d; min-width: 0; box-shadow: 0 20px 48px #0004; }
.ms-console-head { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 18px; border-bottom: 1px solid #272d38; }
.ms-console-head > span { display: flex; gap: 6px; flex-shrink: 0; }
.ms-console-head i { width: 7px; height: 7px; border-radius: 50%; background: #414956; }
.ms-console-head i:first-child { background: #265aed; }
.ms-console-head small { color: #95a2b5; font: 10px/1.5 Consolas, monospace; letter-spacing: 1px; }
.ms-code-tabs { display: flex; gap: 8px; padding: 18px 18px 0; }
.ms-code-tabs button { min-height: 38px; padding: 8px 12px; background: transparent; color: #a1acbb; border: 1px solid #343e4e; font: inherit; font-size: 12px; cursor: pointer; transition: color .2s, background .2s; }
.ms-code-tabs button[aria-selected="true"] { color: #fff; background: #265aed22; border-color: #527fff; }
.ms-code-panel[hidden] { display: none; }
.ms-code-panel pre { height: 408px; margin: 18px; padding: 20px; overflow: auto; background: #0d1118; color: #dbe4f1; border-left: 2px solid var(--ms-blue); font: 12px/1.75 Consolas, 'Courier New', monospace; tab-size: 4; scrollbar-width: thin; scrollbar-color: #344054 #0d1118; }
.ms-code-panel code { font: inherit; white-space: pre; }
.ms-code-panel > p { color: #9daabd; font-size: 11px; line-height: 1.7; padding: 0 18px 20px; min-height: 57px; }
.ms-code-comment { color: #8292a9; }
.ms-code-key { color: #79aaff; }
.ms-code-string { color: #adcaff; }
.ms-code-number { color: #f1f6ff; }
.ms-dev-list { border-top: 1px solid #44464b; }
.ms-dev-list article { display: grid; grid-template-columns: 26px 1fr; gap: 12px; padding: 30px 0; border-bottom: 1px solid #44464b; }
.ms-dev-list article > span { padding-top: 5px; color: #77a1ff; font: 12px/1.6 Consolas, monospace; }
.ms-dev-list h3 { color: #78a1ff; font-size: 23px; font-weight: 600; margin-bottom: 12px; }
.ms-dev-list p { color: #d3d5da; font-size: 15px; line-height: 1.9; }
.ms-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 9px; margin-top: 28px; }
.ms-chips li { padding: 7px 11px; border: 1px solid #505259; border-radius: 99px; font: 10px/1.5 Consolas, monospace; color: #c7cdd7; }
.ms-specs { color: #fff; background: #000 url('images/mini2s/specs.webp') center / cover no-repeat; }
.ms-specs .ms-heading p { color: #ced0d5; }
.ms-spec-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid #ffffff24; }
.ms-spec-grid > div { min-height: 164px; padding: 30px 28px; border-bottom: 1px solid #ffffff24; border-right: 1px solid #ffffff24; }
.ms-spec-grid > div:nth-child(4n) { border-right: 0; }
.ms-spec-grid dt { font-size: 15px; color: #aeb4bd; margin-bottom: 24px; }
.ms-spec-grid dd { font-size: clamp(17px, 1.75vw, 25px); line-height: 1.5; }
.ms-cta { padding: 135px 24px 110px; position: relative; text-align: center; background: #f2f3f4; }
.ms-cta::before { content: 'XGO'; position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); color: #00000008; font-size: clamp(170px, 27vw, 380px); font-weight: 800; letter-spacing: -.08em; line-height: 1; pointer-events: none; }
.ms-cta > div { position: relative; }
.ms-cta h2 { line-height: 1.4; }
.ms-cta .ms-button { margin-top: 44px; font-size: 18px; padding: 16px 28px; }
.mini2s-page :is(button, a, pre):focus-visible { outline: 3px solid #79aaff; outline-offset: 4px; }
/* 仅在脚本启用时隐藏未揭示元素，不建立常驻合成层。 */
.mini2s-page.ms-enhanced .ms-reveal { visibility: hidden; }
.mini2s-page.ms-enhanced .ms-reveal.ms-visible { visibility: visible; animation: ms-reveal-up .65s cubic-bezier(.2,.7,.2,1) both; }
@keyframes ms-reveal-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@media (min-width: 1800px) { .ms-hero-copy { padding-block: 150px; } }
@media (max-width: 900px) {
  .ms-wrap { width: calc(100% - 40px); }
  .ms-section { padding: 70px 0; }
  .ms-heading { margin-bottom: 36px; }
  .ms-heading p { font-size: 14px; margin-top: 18px; }
  .ms-hero { aspect-ratio: auto; min-height: 760px; }
  .ms-hero-image { top: auto; bottom: 0; height: 380px; object-fit: cover; object-position: 75% center; }
  .ms-hero-inner { align-items: flex-start; min-height: 760px; }
  .ms-hero-copy { width: 100%; padding: 42px 4px 370px; }
  .ms-hero h1 { font-size: clamp(38px, 8vw, 64px); }
  .ms-tagline { font-size: 18px; }
  .ms-hero-desc { font-size: 13px; max-width: 520px; }
  .ms-hero-stats { margin-top: 26px; gap: 18px 0; }
  .ms-hero-stats dt { font-size: 24px; }
  .ms-actions { margin-top: 28px; gap: 12px; }
  .ms-button { font-size: 13px; padding: 10px 16px; }
  .ms-marquee p { font-size: 12px; padding-right: 56px; }
  .ms-lineup { padding-top: 34px; }
  .ms-lineup-heading { position: relative; inset: auto; width: calc(100% - 40px); margin: 0 auto 20px; }
  .ms-lineup > img { margin-top: -10px; }
  .ms-lineup-heading { display: flex; flex-direction: column; }
  .ms-lineup > img { order: 2; }
  .ms-lineup { display: flex; flex-direction: column; }
  .ms-lineup-labels { order: 3; position: relative; padding: 0 15px 28px; margin-top: -10px; gap: 10px; }
  .ms-lineup-labels span { font-size: 14px; padding: 8px 12px; border-radius: 8px; }
  .ms-core-grid { grid-template-columns: 1fr; max-width: 600px; margin-inline: auto; gap: 28px; }
  .ms-core-body { padding: 24px; }
  .ms-core-body h3 { font-size: 22px; }
  .ms-core-stats dt { font-size: 18px; }
  .ms-motion-grid { gap: 12px; }
  .ms-motion-grid figcaption { font-size: 14px; margin-top: 16px; }
  .ms-motion-note { gap: 14px; font-size: 12px; margin-top: 28px; }
  .ms-joint-panel { position: static; margin: 18px 16px 0; animation: none; display: grid; gap: 10px; }
  .ms-joint-card { position: static; width: auto; }
  .ms-joint-detail strong { font-size: 22px; }
  .ms-ai-flow { width: 100%; gap: 46px; }
  .ms-ai-row, .ms-ai-row:nth-child(even) { grid-template-columns: 1fr; gap: 22px; }
  .ms-ai-row:nth-child(even) .ms-media-placeholder, .ms-ai-row:nth-child(even) .ms-ai-copy { grid-column: auto; grid-row: auto; }
  .ms-ai-copy h3 { font-size: 26px; }
  .ms-ai-copy p { font-size: 14px; margin-top: 12px; }
  .ms-open-grid { grid-template-columns: 1fr; gap: 36px; }
  .ms-code-frame { padding: 22px; }
  .ms-dev-list h3 { font-size: 22px; }
  .ms-dev-list article { padding: 26px 0; }
  .ms-spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ms-spec-grid > div { padding: 24px 18px; min-height: 135px; }
  .ms-spec-grid > div:nth-child(2n) { border-right: 0; }
  .ms-spec-grid dt { margin-bottom: 18px; font-size: 13px; }
  .ms-spec-grid dd { font-size: 18px; }
  .ms-cta { padding-block: 90px; }
}
@media (max-width: 560px) {
  .ms-heading h2 { font-size: 30px; }
  .ms-lineup-heading h2 { font-size: 27px; }
  .ms-hero-copy { padding-bottom: 310px; }
  .ms-hero-image { height: 310px; }
  .ms-hero, .ms-hero-inner { min-height: 760px; }
  .ms-joint-panel { margin: 14px 12px 0; }
  .ms-joint-card button { padding: 11px 14px; }
  .ms-joint-detail { padding: 0 14px 14px; }
  .ms-code-frame { padding: 12px; margin-inline: -6px; }
  .ms-console-head { padding-inline: 12px; gap: 8px; }
  .ms-console-head small { font-size: 9px; letter-spacing: .2px; }
  .ms-code-tabs { padding: 14px 10px 0; gap: 6px; }
  .ms-code-tabs button { flex: 1; padding: 8px 4px; font-size: 11px; }
  .ms-code-panel pre { height: 340px; padding: 14px; margin: 12px 10px; font-size: 11px; }
  .ms-code-panel > p { padding-inline: 12px; }
  .ms-dev-list p { font-size: 14px; }
  .ms-spec-grid > div { padding-inline: 12px; }
  .ms-spec-grid dd { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .mini2s-page.ms-enhanced .ms-reveal { visibility: visible; }
  .mini2s-page.ms-enhanced .ms-reveal.ms-visible { animation: none; }
  .mini2s-page *, .mini2s-page *::before, .mini2s-page *::after { transition: none; }
  .ms-marquee { animation: none; }
  .ms-marquee p + p { display: none; }
  .ms-joint-panel { animation: none; }
}
