/* 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 { display: flex; align-items: center; overflow: hidden; padding: 6px 20px; background: #080808; color: #fff; }
.ms-marquee-viewport { flex: 1; min-width: 0; overflow: hidden; }
.ms-marquee { width: 100%; }
.ms-marquee p { margin: 0; padding: 10px 4px; font-size: 15px; line-height: 1.8; font-weight: 550; letter-spacing: .035em; }
/* 按实际文字宽度循环一整份；脚本补齐宽屏所需的副本，并保持恒定像素速度。 */
.ms-marquee[data-animated] { display: flex; width: max-content; will-change: transform; backface-visibility: hidden; }
.ms-marquee[data-animated] p { position: relative; flex: 0 0 auto; white-space: nowrap; padding: 10px 68px 10px 24px; }
.ms-marquee[data-animated] p::after { content: ''; position: absolute; right: 24px; top: 50%; width: 4px; height: 4px; border-radius: 50%; background: #7fa7ff; transform: translateY(-50%); }
.ms-marquee-viewport:has([data-animated]) { mask-image: linear-gradient(to right, transparent, #000 20px, #000 calc(100% - 20px), transparent); }
.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); text-wrap: balance; }
.ms-lineup-heading h2 span { white-space: nowrap; }
.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-frame { position: relative; overflow: hidden; background: #edf0f4; border-radius: 12px; }
.ms-media-frame > :is(video, img) { width: 100%; height: auto; aspect-ratio: 854 / 640; object-fit: contain; }
.ms-media-control { position: absolute; left: 14px; bottom: 14px; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #ffffff70; border-radius: 50%; background: #101820bd; color: #fff; cursor: pointer; transition: background .2s; }
.ms-media-control:hover { background: #265aed; }
.ms-media-control[hidden], .ms-joint-panel[hidden] { display: none; }
.ms-media-control span { width: 0; height: 0; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 9px solid currentColor; margin-left: 3px; }
.ms-media-control[data-state="playing"] span { width: 10px; height: 13px; border: 0; border-left: 3px solid currentColor; border-right: 3px solid currentColor; margin-left: 0; }
.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; max-width: 1440px; margin-inline: auto; }
.ms-feedback-media { width: 86.2222%; margin-inline: auto; border-radius: 0; }
.ms-feedback-media > video { aspect-ratio: 16 / 9; }
.ms-feedback-media > .ms-feedback-still { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: 16 / 9; pointer-events: none; }
.ms-feedback-still[hidden] { display: none; }
.ms-feedback video { display: block; width: 100%; height: auto; background: #ededef; cursor: pointer; }
/* 坐标来自 1440px 设计稿；动画结束后点击机身上的 + 切换参数框。 */
.ms-joint-panel, .ms-joint-hotspots, .ms-joint-cards { position: absolute; inset: 0; pointer-events: none; }
.ms-joint-hotspot { position: absolute; width: 44px; height: 44px; transform: translate(-50%, -50%); display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #fff; cursor: pointer; pointer-events: auto; }
.ms-joint-hotspot span { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #fff; border-radius: 50%; background: var(--ms-blue); font: 24px/1 Arial, sans-serif; box-shadow: 0 0 0 0 #265aed30; transition: box-shadow .2s; }
.ms-joint-hotspot:hover span, .ms-joint-hotspot[aria-expanded="true"] span { box-shadow: 0 0 0 5px #265aed25; }
.ms-joint-hotspot[data-joint="0"] { left: 47.2007%; top: 30.5656%; }
.ms-joint-hotspot[data-joint="1"] { left: 70.6924%; top: 46.7383%; }
.ms-joint-hotspot[data-joint="2"] { left: 53.7806%; top: 54.9298%; }
.ms-joint-card { position: absolute; width: 23.2757%; padding: clamp(14px, 1.53vw, 22px) 12px 16px clamp(12px, 1.5vw, 22px); pointer-events: auto; background: #1d1d1e; color: #fff; border-left: 6px solid var(--ms-blue); animation: ms-panel-in .25s ease both; }
.ms-joint-card[hidden] { display: none; }
.ms-joint-card[data-joint="0"] { left: 66.9444%; top: 7.6827%; }
.ms-joint-card[data-joint="1"] { left: 74.8611%; top: 38.0469%; }
.ms-joint-card[data-joint="2"] { left: 74.9118%; top: 61.1612%; }
.mini2s-page .ms-joint-title { margin: 0; color: #92999e; font-size: 12px; line-height: 1.5; font-weight: 500; }
.ms-joint-detail { margin-top: 6px; }
.ms-joint-detail strong { display: block; color: var(--ms-blue); font-size: clamp(22px, 1.945vw, 28px); line-height: 1.25; font-weight: 650; }
.ms-joint-detail p { margin-top: 12px; font-size: clamp(12px, 1.1112vw, 16px); line-height: 1.5; color: #fff; }
@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-frame { 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-strip { padding-inline: 8px; }
  .ms-marquee p { font-size: 14px; }
  .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-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-frame, .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-motion-grid { grid-template-columns: 1fr; gap: 30px; }
  .ms-motion-grid figcaption { font-size: 18px; margin-top: 14px; }
  .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-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 (max-width: 1100px) {
  .ms-feedback-media { width: 100%; }
  .ms-joint-panel, .ms-joint-cards { position: static; }
  .ms-joint-hotspots { bottom: auto; aspect-ratio: 16 / 9; }
  .ms-joint-hotspot[data-joint="0"] { left: 46.7047%; }
  .ms-joint-hotspot[data-joint="1"] { left: 73.9464%; }
  .ms-joint-hotspot[data-joint="2"] { left: 54.3351%; }
  .ms-joint-hotspot span { width: 28px; height: 28px; font-size: 21px; }
  .ms-joint-card { position: static; width: auto; margin: 14px 16px 0; padding: 18px 20px; }
  .ms-joint-detail strong { font-size: 24px; }
  .ms-joint-detail p { font-size: 14px; }
}
@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[data-animated] { width: 100%; transform: none !important; will-change: auto; }
  .ms-marquee[data-animated] p { white-space: normal; padding: 10px 4px; }
  .ms-marquee p + p, .ms-marquee p::after { display: none; }
  .ms-marquee-viewport { mask-image: none !important; }
  .ms-joint-card { animation: none; }
}
