/* =========================================================
   v3 —— 简约风（参照原站：浅蓝紫渐变 + 渐变文字 + 胶囊按钮）
   ========================================================= */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

:root {
    --dock-pad-y: .65em;
    --dock-content-h: 3.3em;
    --dock-extra-gap: .5em;
    --dock-safe-bottom: env(safe-area-inset-bottom, 0px);
    --dock-clearance: calc(var(--dock-pad-y) + var(--dock-pad-y) + var(--dock-content-h) + var(--dock-extra-gap) + var(--dock-safe-bottom));
}

body {
    width: 100%;
    min-height: 100vh;
    color: #444;
    font: 400 16px/1.75 "Microsoft YaHei UI", "Microsoft YaHei", system-ui, -apple-system, "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    background-image: linear-gradient(to right, #f3f7ff, #f1f5ff, #fbfcfe);
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}

img { vertical-align: middle; max-width: 100%; }
a { color: #0b93e8; }

b { color: #161647; }

.no-select, .gtext, .sub, .tags, .pre {
    -webkit-user-select: none;
    user-select: none;
}

/* 渐变文字（原站签名样式） */
.gtext {
    display: inline-block;
    font-weight: bolder;
    color: #161647;
    background: linear-gradient(90deg, #c678c1, #0b93e8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ---------------- 落地页（差异化布局：分栏 + 特性条 + 标签墙 + CTA） ---------------- */
.lp { max-width: 1060px; margin: 0 auto; padding: 0 1.4em; }

.lp-kicker {
    color: #b92e95;
    font-weight: 600;
    letter-spacing: .06em;
}

.lp-hero {
    display: flex;
    align-items: center;
    gap: 3em;
    padding: 3.2em 0 3.6em;
}

.lp-hero-txt { flex: 1 1 46%; text-align: left; min-width: 0; }
.lp-hero-pic { flex: 1 1 54%; text-align: center; min-width: 0; }
.lp-hero-pic img { width: min(100%, 29em); }

.lp-hero h1 {
    font-size: clamp(1.8em, 4.4vw, 2.9em);
    line-height: 1.32;
    color: #161647;
    margin: .3em 0 .35em;
}

.lp-hero h1 em {
    font-style: normal;
    background: linear-gradient(90deg, #c678c1, #0b93e8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.lp-hero .desc { color: #556; margin: 0 0 1.3em; }

.lp-hero.center {
    display: block;
    text-align: center;
    padding: 3.4em 0 2.2em;
}
.lp-hero.center .brand-icon { margin-bottom: .8em; }
.lp-hero.center .dl { justify-content: center; margin-top: 1.6em; }

.point-list { list-style: none; padding: 0; margin: 0 0 1.5em; }
.point-list li {
    position: relative;
    padding-left: 1.8em;
    color: #556;
    margin-bottom: .55em;
}
.point-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: .3em;
    width: 1.15em;
    height: 1.15em;
    line-height: 1.2;
    text-align: center;
    border-radius: 50%;
    background: linear-gradient(90deg, #c678c1, #0b93e8);
    color: #fff;
    font-size: .8em;
}

.lp-hero-txt .dl { justify-content: flex-start; margin: 0 0 .4em; }

.feat-band {
    background-image: linear-gradient(to right, #e8f3fd, #eceafc);
    padding: .4em 0;
}
.feat-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.4em;
    padding: 1.8em 0;
}
.feat { text-align: center; }
.feat i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.6em;
    height: 2.6em;
    font-size: 1.2em;
    font-style: normal;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 1px #c6cfe2, 0 10px 20px -12px rgba(24, 30, 66, .6);
}
.feat b { display: block; color: #161647; margin-top: .5em; }
.feat p { color: #667; font-size: .88em; margin: .3em 0 0; }

.tag-head { text-align: center; color: #161647; padding-top: 1.4em; }

.tag-wall {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .7em;
    padding: 1.2em 0 .4em;
}
.tag-wall span {
    padding: .35em 1.2em;
    border-radius: 1.2em;
    background: #fff;
    box-shadow: 0 0 0 1px #dde4f2;
    color: #446;
    font-size: .92em;
}

.shots-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.6em;
    padding: 1.6em 0 2.4em;
    align-items: start;
}
.shots-row.single { grid-template-columns: 1fr; max-width: 30em; margin: 0 auto; }
.shots-row img {
    width: 100%;
    border-radius: .8em;
    box-shadow: 0 0 0 1px #c6cfe2, 0 20px 40px -18px rgba(24, 30, 66, .78);
}

.cta-band {
    background-image: linear-gradient(to right, #d5f4fb, #edebfb);
    text-align: center;
    padding: 2.2em 1em 2.4em;
}
.cta-band h2 { font-size: 1.6em; color: #161647; }
.cta-band p { color: #b92e95; margin-top: .3em; }
.cta-band .dl { margin-bottom: 0; }

.how-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2em;
    padding: .4em 0 1.4em;
}
.how {
    text-align: center;
    background: rgba(255, 255, 255, .72);
    border: 1px solid #e3e9f8;
    border-radius: 1em;
    padding: 1.1em .9em;
}
.how i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.9em;
    height: 1.9em;
    border-radius: 50%;
    background: linear-gradient(90deg, #c678c1, #0b93e8);
    color: #fff;
    font: bold .95em/1.9 ui-monospace, Consolas, monospace;
    font-style: normal;
}
.how b { display: block; color: #161647; margin-top: .4em; }
.how p { color: #667; font-size: .88em; margin: .3em 0 0; }

.contact-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1em;
    padding: .4em 0 2.4em;
    max-width: 26em;
    margin: 0 auto;
}
.cc {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .6em;
    padding: .9em 1em;
    background: rgba(255, 255, 255, .72);
    border: 1px solid #e3e9f8;
    border-radius: 1em;
    color: #556;
    font-size: .95em;
}
.cc img { height: 1.73em; max-width: 100%; object-fit: contain; cursor: pointer; }
.cc b { color: #161647; white-space: nowrap; }

/* ---------------- 下载按钮（原站胶囊样式） ---------------- */
.dl {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1em;
    margin: 2em 0 .8em;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55em;
    min-width: 8em;
    padding: .75em 1.6em;
    font-size: 1em;
    font-weight: normal;
    font-family: inherit;
    color: #fff;
    background: linear-gradient(90deg, #5d92ff, #7b67ff);
    border: .1em solid #0b93e8;
    outline: .2em solid rgba(91, 91, 91, .1);
    border-radius: 1.25em;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: filter .15s;
}

.btn:active { transform: translateY(1px); }
.btn:hover { filter: brightness(1.08); }
.btn img { height: 1.4em; }

/* 苹果：黑色胶囊（原站样式），内嵌 App Store 徽章文字 */
.btn.as {
    background: linear-gradient(90deg, #000000, #050505);
    border: .1em solid #555;
}

.btn.as .as-txt {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
}

.btn.as .as-txt small {
    font-size: .58em;
    font-weight: 400;
    color: #fff;
    opacity: .8;
}

.btn.as .as-txt b { font-size: 1.05em; font-weight: 600; line-height: 1.2; color: #fff; }
.btn.as img { height: 1.8em; }

/* 电脑版：紫蓝胶囊（原站 win 按钮样式） */
.btn.ghost {
    background: #fff;
    border: .1em solid #ccd6ee;
    color: #556;
    outline: .2em solid rgba(91, 91, 91, .08);
}

.btn.ghost:hover { color: #0b93e8; border-color: #0b93e8; filter: none; }
.btn.dl-pc { background: linear-gradient(90deg, #ac7cc6, #6186d5); border-color: #eee; color: #fff; }
.btn.dl-pc:hover { color: #fff; }
.btn.block { display: flex; width: 100%; }

/* 设备匹配：手机只显示对应系统，电脑全显示 */
html[data-os="android"] .dl-ios,
html[data-os="android"] .dl-pc,
html[data-os="ios"] .dl-android,
html[data-os="ios"] .dl-pc { display: none !important; }

.meta { color: #888; font-size: .85em; }

/* ---------------- 手机端 ---------------- */
@media (max-width: 780px) {
    .lp-hero { flex-direction: column; padding: 2.4em 0 2.6em; gap: 1.8em; }
    .lp-hero-txt { text-align: center; width: 100%; }
    .lp-hero-txt .dl { justify-content: center; }
    .point-list li { text-align: left; }
    .feat-strip { grid-template-columns: repeat(2, 1fr); }
    .shots-row { grid-template-columns: 1fr; }
    .how-strip { grid-template-columns: 1fr; }
    .contact-cards { grid-template-columns: 1fr; }
    .dl { margin: 1.6em 0 .6em; gap: .7em; }
    .dl .btn { flex: 1 1 100%; min-width: 0; }
}

/* ---------------- 按系统过滤下载按钮（手机只显示对应系统，电脑全显示） ---------------- */
html[data-os="ios"] .dl-android,
html[data-os="ios"] .dl-pc,
html[data-os="android"] .dl-ios,
html[data-os="android"] .dl-pc { display: none; }

/* ---------------- 吸底下载栏（仅手机端显示，毛玻璃背景） ---------------- */
.dock {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    align-items: center;
    justify-content: space-between;
    gap: 1em;
    padding: var(--dock-pad-y) 1em calc(var(--dock-pad-y) + var(--dock-safe-bottom));
    background: rgba(255, 255, 255, .68);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 -10px 30px -18px rgba(24, 30, 66, .55);
}
html[data-os="ios"] .dock,
html[data-os="android"] .dock { display: flex; }

.dock-brand { display: flex; align-items: center; gap: .5em; min-width: 0; }
.dock-brand img { width: 2em; height: 2em; }
.dock-brand b { color: #161647; white-space: nowrap; }
.dock-brand span {
    font-size: .7em;
    color: #fff;
    background: linear-gradient(90deg, #c678c1, #0b93e8);
    border-radius: 1em;
    padding: .15em .7em;
    white-space: nowrap;
}
.dock .btn { flex: 0 0 auto; padding: .6em 1.3em; min-width: 0; white-space: nowrap; }
.dock .as img { height: 1.3em; }
.dock .as-txt small { font-size: .58em; }
.dock .as-txt b { font-size: .82em; }

/* 手机端正文按钮组收起，统一走吸底栏 */
html[data-os="ios"] .lp-hero .dl,
html[data-os="android"] .lp-hero .dl,
html[data-os="ios"] .cta-band .dl,
html[data-os="android"] .cta-band .dl { display: none; }

/* 悬浮客服按钮避开吸底栏 */
html[data-os="ios"] .chat-fab,
html[data-os="android"] .chat-fab { bottom: 5.6em; }

/* 手机端页脚避开吸底栏，并在下载按钮上方多留 .5em */
html[data-os="ios"] .foot,
html[data-os="android"] .foot { padding-bottom: var(--dock-clearance); }

/* ---------------- 信息页 ---------------- */
.wrap { max-width: 46em; margin: 0 auto; padding: 0 1.2em; }
.wrap.narrow { max-width: 40em; }
.wrap.tight { max-width: 30em; padding: 0 .8em; }

.page { text-align: center; padding: 2.2em 0 2em; }

.page-title {
    font-size: 1.9em;
    line-height: 1.35;
    color: #161647;
    font-weight: bolder;
}

.page-sub { color: #b92e95; margin-top: .5em; }

.page-desc { color: #556; margin-top: .6em; }

.lead { text-align: left; margin: 1.2em 0 0; }

.section-line {
    border: 0;
    height: 1px;
    background: #e3e9f8;
    margin: 2em 0;
}

/* 联系方式 */
.info-list { margin-top: 1.8em; text-align: left; }

.info-row {
    display: flex;
    align-items: center;
    gap: 1em;
    padding: .9em 1em;
    background: rgba(255, 255, 255, .72);
    border: 1px solid #e3e9f8;
    border-radius: .9em;
    margin-bottom: .7em;
}

.info-row .k { flex: 0 0 5em; color: #888; }
.info-row .v { flex: 1; color: #161647; font-weight: bold; }
.info-row .go { flex: 0 0 auto; text-decoration: none; }

/* 教程步骤 */
.steps { margin-top: 1.6em; text-align: left; }

.step {
    background: rgba(255, 255, 255, .72);
    border: 1px solid #e3e9f8;
    border-radius: .9em;
    padding: 1.1em 1.2em;
    margin-bottom: 1em;
}

.step h3 {
    display: flex;
    align-items: center;
    gap: .55em;
    font-size: 1.02em;
    color: #161647;
    margin-bottom: .5em;
}

.step h3 i {
    flex: 0 0 auto;
    width: 1.5em;
    height: 1.5em;
    border-radius: 50%;
    background: linear-gradient(90deg, #c678c1, #0b93e8);
    color: #fff;
    font: bold .72em/1.5em ui-monospace, Consolas, monospace;
    font-style: normal;
    text-align: center;
}

.step p { color: #556; font-size: .95em; margin-bottom: .6em; }
.step p:last-child { margin-bottom: 0; }
.step p.hl-p { color: #b92e95; font-weight: 600; }

.step-img {
    display: block;
    width: min(100%, 300px);
    margin: .8em auto;
    padding: .3em;
    background: #fff;
    border-radius: 1em;
    box-shadow: 0 0 0 1px #c6cfe2, 0 16px 30px -16px rgba(24, 30, 66, .78);
}

.hl {
    font-weight: 600;
    color: #b92e95;
    background: rgba(185, 46, 149, .08);
    border-radius: .25em;
    padding: .05em .35em;
}

.code {
    padding: .05em .35em;
    border-radius: .25em;
    background: #eef2fb;
    color: #33538f;
    font-family: ui-monospace, Consolas, monospace;
}

.note {
    margin: 1.4em 0;
    padding: .8em 1em;
    border-left: 3px solid #0b93e8;
    background: rgba(255, 255, 255, .72);
    border-radius: .5em;
    font-size: .9em;
    color: #556;
    text-align: left;
}

.note.warn {
    border-color: #e3a13a;
    background: rgba(227, 161, 58, .08);
    color: #77520f;
}

/* App 内操作按钮 */
.act {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 3em;
    margin: .8em 0 0;
    border: .1em solid #0b93e8;
    border-radius: 1.25em;
    background: linear-gradient(90deg, #5d92ff, #7b67ff);
    color: #fff;
    font-family: inherit;
    font-size: .95em;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.act:active { transform: scale(.99); }
.act.done { background: linear-gradient(90deg, #3fbf8f, #2aa06a); border-color: #2aa06a; }
.act.ghost { background: #fff; border-color: #ccd6ee; color: #556; }

/* 截图 / 视频 */
.shot { margin: 1.4em 0 0; text-align: center; }

.shot img {
    display: block;
    width: min(26em, 100%);
    margin: 0 auto;
    padding: .35em;
    background: #fff;
    border-radius: 1.2em;
    box-shadow: 0 0 0 1px #c6cfe2, 0 20px 40px -18px rgba(24, 30, 66, .78);
}

.shot.wide img { width: 100%; max-width: 28em; }

.phone {
    width: min(26em, 100%);
    margin: 0 auto;
    border: .35em solid #fff;
    border-radius: 1.6em;
    background: #fff;
    box-shadow: 0 0 0 1px #e3e9f8, 0 18px 36px -24px rgba(35, 45, 90, .5);
    overflow: hidden;
}

.shot.wide .phone { width: 100%; max-width: 28em; }

.phone img,
.phone video {
    display: block;
    width: 100%;
    border-radius: 1em;
    background: #000;
}

@media (max-width: 560px) {
    .shot.wide { margin-left: -.5em; margin-right: -.5em; }
    .shot.wide img, .shot.wide .phone { width: calc(100% + 1em); max-width: none; }
}

/* 问答 */
.qa-list { margin-top: 1.6em; text-align: left; }

details.qa {
    padding: .9em .2em;
    border-bottom: 1px solid #e3e9f8;
}

details.qa summary {
    list-style: none;
    cursor: pointer;
    font-size: .98em;
    font-weight: bold;
    color: #161647;
    line-height: 1.6;
    position: relative;
    padding-right: 1.4em;
}

details.qa summary::-webkit-details-marker { display: none; }

details.qa summary::after {
    content: "+";
    position: absolute;
    right: .2em;
    top: 50%;
    transform: translateY(-50%);
    color: #b92e95;
    font-weight: normal;
    font-size: 1.2em;
}

details.qa[open] summary::after { content: "–"; }
details.qa summary:hover { color: #0b93e8; }
details.qa .a { padding-top: .5em; color: #556; font-size: .93em; }
details.qa .a p { margin-top: .4em; }
details.qa .a p.indent { padding-left: 1.5em; }

/* 品牌图标（让记忆变得简单 式落地页） */
.brand-icon { display: block; width: 5em; margin: 0 auto 1em; }

/* “让记忆变得简单”式落地页描述 */
.lead-desc {
    max-width: 32em;
    margin: 0 auto;
    color: #556;
    font-size: 1em;
    text-align: center;
}

/* QQ / 微信联系行 */
.contact-rows { margin-top: 1.6em; }
.contact-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .7em;
    padding: .5em 0;
    color: #556;
    font-size: .95em;
}
.contact-row img { height: 1.7em; cursor: pointer; }

/* 步骤内的操作链接 */
.step-link {
    color: #fc6f48;
    font-weight: bold;
    text-decoration: none;
    white-space: nowrap;
}
.step-link:active { opacity: .7; }
.step-link:hover { text-decoration: underline; }

/* 解除权限演示容器 */
.demo-container { width: 100%; max-width: 380px; margin: 4px auto; }

/* 鸿蒙安装页：步骤下方的「点底部打开」引导 */
.step-hint {
    margin-top: .8em;
    padding: .9em 1em;
    border-radius: .8em;
    background: #fff7e8;
    border: 1px solid #ffe3b0;
    text-align: left;
    font-size: .92em;
    color: #7a5200;
}
.step-hint > b { color: #a86a00; }
.step-hint p { margin: .35em 0 0; line-height: 1.7; }

/* 鸿蒙安装页：悬浮箭头指向右下角浏览器弹出的「打开」按钮 */
.open-arrow {
    position: fixed;
    right: 1.4em;
    bottom: 3em;
    z-index: 95;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: .25em;
    pointer-events: none;
    animation: arrowBob 1.2s ease-in-out infinite;
}
.open-arrow .oa-txt {
    background: rgba(20, 28, 60, .8);
    color: #fff;
    font-size: .88em;
    font-weight: bold;
    border-radius: 1em;
    padding: .3em .9em;
    white-space: nowrap;
}
.open-arrow svg {
    width: 2.6em;
    height: 2.6em;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .45));
}
@keyframes arrowBob {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(.35em, .55em); }
}

/* ---------------- 页脚 / 链接 ---------------- */
.minilinks {
    text-align: center;
    padding: 2.2em 0 .6em;
    font-size: .9em;
}

.minilinks a { margin: 0 .9em; text-decoration: none; }
.minilinks a:hover { text-decoration: underline; }

.foot { text-align: center; padding: 1.6em 1em 2em; }

.foot-brand { margin-bottom: 1em; font-size: .95em; }
.foot-brand img { width: 1.8em; }
.foot-brand .dim { color: #999; font-size: .85em; }

.legal { font-size: .9em; color: #888; line-height: 2; text-align: center; padding-bottom: 1.6em; }

.legal a {
    color: #888;
    text-decoration: none;
    vertical-align: middle;
}

.legal a:hover { color: #0b93e8; }
.legal img { width: 1.2em; height: 1.2em; vertical-align: middle; }
.legal .sep { margin: 0 .5em; color: #c3cad8; }

.foot-tip { font-size: .88em; color: #a5adbb; margin-top: .6em; }
.foot-tip .sep { margin: 0 .4em; color: #c3cad8; }

/* 页脚“常见问题 / 隐私协议”：渐变文字，去掉下划线 */
.foot-tip a {
    font-weight: 600;
    color: #0b93e8;
    text-decoration: none;
    background: linear-gradient(90deg, #c678c1, #0b93e8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 手机端：页脚说明缩小；链接组单独一行，常见问题在无链接组时单独一行 */
html[data-os="ios"] .foot-tip,
html[data-os="android"] .foot-tip { font-size: .76em; line-height: 1.6; }
html[data-os="ios"] .foot-links,
html[data-os="android"] .foot-links { display: block; margin-top: .2em; }
html[data-os="ios"] .foot-tip > a[href$="qa.html"],
html[data-os="android"] .foot-tip > a[href$="qa.html"] {
    display: block;
    margin-top: .2em;
}

/* ---------------- 悬浮客服（原站样式） ---------------- */
.chat-fab {
    position: fixed;
    right: .8em;
    bottom: 6em;
    z-index: 60;
    display: flex;
    flex-direction: column;
    gap: .6em;
}

.chat-fab img {
    width: 3.4em;
    height: 3.4em;
    padding: .7em;
    background: rgba(255, 255, 255, .62);
    backdrop-filter: blur(1em);
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .2);
    cursor: pointer;
}

/* ---------------- 微信遮罩 ---------------- */
.mask {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    background: rgba(250, 250, 250, .96);
    text-align: center;
    padding-top: 4.5em;
}

.mask.show { display: block; }

.mask .arrow {
    position: absolute;
    top: 1.2em;
    right: 1.2em;
    width: 2.4em;
    height: 2.4em;
    line-height: 2.4em;
    border-radius: 50%;
    background: #161647;
    color: #fff;
    font-weight: bold;
    letter-spacing: .1em;
}

.mask h3 { color: #161647; font-size: 1.3em; margin-bottom: 1em; }
.mask p { color: #888; line-height: 2; }
.mask p b { color: #b92e95; }

/* ---------------- 弹窗 / 提示 ---------------- */
.dialog-mask {
    position: fixed;
    inset: 0;
    z-index: 110;
    background: rgba(0, 0, 0, .75);
    justify-content: center;
    align-items: center;
}

.dialog {
    background: #fff;
    border-radius: .7em;
    width: 80%;
    max-width: 36em;
    padding: 1em;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .1);
    margin-bottom: 4em;
}

.dialog p { margin: 1em 0 2em; color: #161647; }

.dialog-btns { display: flex; }

.dialog-btns button {
    flex: 1;
    margin: 0 .5em;
    padding: 1.1em .25em;
    border: none;
    border-radius: .5em;
    cursor: pointer;
    font-family: inherit;
    font-size: .95em;
    background: linear-gradient(90deg, #f3f4f5, #f5f6f7);
    color: #556;
}

.dialog-btns button:last-child {
    background: linear-gradient(90deg, #209bff, #007bff);
    color: #fff;
}

.toast {
    position: fixed;
    left: 50%;
    bottom: 33%;
    transform: translate(-50%, 0);
    z-index: 120;
    padding: .5em 1em;
    border-radius: .5em;
    background: rgba(0, 0, 0, .85);
    color: #fff;
    font-size: .85em;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s;
}

.toast.on { opacity: 1; }

/* ---------------- 工具类 ---------------- */
.text-center { text-align: center; }
.mt-1 { margin-top: 1em; }
.mt-2 { margin-top: 1.6em; }
.mt-3 { margin-top: 2.4em; }
.mb-0 { margin-bottom: 0; }
.small { font-size: .85em; color: #888; }

/* ---------------- main 页差异化版式 ---------------- */
.mx-wrap { width: min(1120px, 92%); margin: 0 auto; }
.mx-hero { background: linear-gradient(120deg, #171b45, #332a74 60%, #5b3aa6); color: #fff; padding: 4.2em 0 4.6em; position: relative; }
.mx-top-link {
    position: absolute;
    top: 1.3em;
    right: 4%;
    z-index: 5;
    color: rgba(255, 255, 255, .82);
    font-size: .95em;
    text-decoration: none;
}
.mx-top-link:hover { color: #ffd76e; }
.mx-hero-in { display: flex; align-items: center; gap: 3em; justify-content: space-between; }
.mx-hero-txt { flex: 1 1 60%; }
.mx-eyebrow { letter-spacing: .15em; font-size: .85em; color: #c9c4ff; margin: 0 0 1em; }
.mx-hero h1 { font-size: 2.6em; line-height: 1.35; margin: 0 0 .6em; }
.mx-hero h1 em { font-style: normal; color: #ffd76e; }
.mx-sub { font-size: 1.05em; line-height: 1.9; color: #dedbff; margin: 0 0 1.6em; }
.mx-hero .dl { justify-content: flex-start; }
.mx-note { font-size: .85em; color: #b9b4e8; margin: 1.2em 0 0; }
.mx-hero-card {
    flex: 0 0 300px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 1.2em;
    padding: 1.8em 1.6em;
    text-align: center;
}
.mx-hero-card > img { width: 3.4em; height: 3.4em; }
.mx-hero-card > b { display: block; font-size: 1.3em; margin: .4em 0 .6em; color: #fff; }
.mx-card-legal { font-size: .68em; line-height: 1.9; color: rgba(255, 255, 255, .85); margin: 0 0 1.2em; }
.mx-card-legal a { color: #fff; text-decoration: underline; text-underline-offset: .25em; }
.mx-card-legal a:hover { color: #ffd76e; }
.mx-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6em; }
.mx-metrics div { background: rgba(255, 255, 255, .12); border-radius: .7em; padding: .8em .2em; }
.mx-metrics strong { display: block; font-size: 1.15em; color: #ffd76e; }
.mx-metrics span { font-size: .72em; color: #fff; }
.mx-card-foot { display: block; margin-top: 1.2em; font-size: .8em; color: #fff; }

.mx-facts { background: #fff; border-bottom: 1px solid #eef0f7; }
.mx-facts-in { display: grid; grid-template-columns: repeat(3, 1fr); padding: 1.4em 0; text-align: center; }
.mx-facts-in div { border-right: 1px solid #eef0f7; }
.mx-facts-in div:last-child { border-right: 0; }
.mx-facts-in strong { display: block; font-size: 1.5em; color: #3a2d7d; }
.mx-facts-in span { font-size: .82em; color: #7a8196; }

.mx-steps { padding: 3em 0; background: #f7f8fd; }
.mx-steps h2, .mx-games h2, .mx-contact h2 { text-align: center; color: #161647; font-size: 1.8em; margin: 0 0 1.2em; }
.mx-timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 640px; position: relative; }
.mx-timeline::before { content: ""; position: absolute; left: 1.1em; top: 1em; bottom: 1em; width: 3px; background: linear-gradient(#6c5ce7, #0b93e8); }
.mx-timeline li { display: flex; gap: 1.2em; align-items: flex-start; margin-bottom: 1.4em; position: relative; }
.mx-timeline i {
    flex: 0 0 2.3em; height: 2.3em; border-radius: 50%;
    background: #6c5ce7; color: #fff; font-style: normal; font-weight: bold;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 0 4px #f7f8fd;
}
.mx-timeline li div { background: #fff; border: 1px solid #eceefa; border-radius: .8em; padding: 1em 1.2em; flex: 1; }
.mx-timeline b { color: #161647; }
.mx-timeline p { margin: .3em 0 0; font-size: .9em; color: #6b7288; line-height: 1.7; }

.mx-games { padding: 3em 0; }
.mx-games-in { display: flex; gap: 2.4em; align-items: center; }
.mx-games-txt { flex: 1 1 55%; min-width: 0; }
.mx-games-txt > p { color: #6b7288; line-height: 1.9; font-size: .95em; }
.mx-game-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .4em 1.4em; padding: 0; margin: 1.2em 0 0; }
.mx-game-list li { border-bottom: 1px dashed #e4e6f2; padding: .5em 0; color: #3b4160; font-size: .95em; }
.mx-game-list li::before { content: "●"; color: #6c5ce7; font-size: .6em; margin-right: .6em; vertical-align: middle; }
.mx-games .pre { flex: 0 0 34%; width: 34%; min-width: 0; max-width: 34%; height: auto; border-radius: 1em; box-shadow: 0 12px 30px -16px rgba(30, 36, 80, .5); }

.mx-contact { padding: 2.6em 0 3.4em; background: #f7f8fd; }
.mx-contact > .mx-wrap > p { text-align: center; color: #6b7288; margin: -.6em 0 1.4em; }
.mx-contact .contact-cards { margin: 0 auto; }

@media (max-width: 780px) {
    .mx-hero { padding: 2.6em 0 2.8em; }
    .mx-hero-in { flex-direction: column; gap: 1.8em; }
    .mx-hero h1 { font-size: 2em; text-align: center; }
    .mx-eyebrow, .mx-sub, .mx-note { text-align: center; }
    .mx-hero .dl { justify-content: center; }
    .mx-hero-card { flex: 1 1 100%; width: 100%; }
    .mx-facts-in { grid-template-columns: repeat(3, 1fr); row-gap: 1em; }
    .mx-facts-in div:nth-child(3) { border-right: 0; }
    .mx-games-in { flex-direction: column; }
    .mx-games .pre { flex: 1 1 100%; width: 80%; max-width: 80%; }
    html[data-os="ios"] .mx-hero .dl,
    html[data-os="android"] .mx-hero .dl { display: none; }
}
