/* ed-dl-simple1 2026-11-26a：下载按钮即时按压/开始下载反馈；视觉仍沿用 1125c 深海军蓝。 */
html[data-ed-no-tabbar="1"] .ed-m-tabbar,
html[data-ed-no-tabbar="1"] #egmDashBottom,
html[data-ed-no-tabbar="1"] nav.egm-dash-bottom,
html[data-ed-no-tabbar="1"] .ed-float-dock,
html[data-ed-no-tabbar="1"] .ed-totop,
html[data-ed-no-tabbar="1"] [data-ed-totop],
html[data-ed-no-tabbar="1"] .ed-fab,
html[data-ed-no-tabbar="1"] [data-ed-fab]{
  display:none!important;visibility:hidden!important;pointer-events:none!important;height:0!important;overflow:hidden!important
}
html[data-ed-no-tabbar="1"]{--ed-tabbar-h:0px}

.dl{
  --ink:#0B1C33;
  --ink-soft:#24344A;
  --mute:#6A7380;
  --line:rgba(11,28,51,.10);
  --paper:#F3F5F8;
  --card:#fff;
  --navy:#0B1C33;
  --navy-hover:#163049;
  --blue-ink:#0B1C33;
  --gold:#C4A36A;
  --gold-soft:rgba(196,163,106,.55);
  --danger:#9A3412;
  margin:0;
  min-height:100vh;
  color:var(--ink);
  font-family:"PingFang SC","Hiragino Sans GB","Noto Sans SC","Microsoft YaHei",system-ui,-apple-system,sans-serif;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  background:
    radial-gradient(900px 420px at 50% -8%, rgba(11,28,51,.06), transparent 62%),
    linear-gradient(180deg, #F7F8FA 0%, #F0F2F5 48%, #EBEEF2 100%);
}
.dl *{box-sizing:border-box}
.dl a{text-decoration:none}
.dl a:not(.dl-btn){color:inherit}
.dl img{max-width:100%;height:auto}

.dl-wx{
  display:none;
  margin:0;
  padding:calc(12px + env(safe-area-inset-top,0px)) 16px 12px;
  background:#FBF6EE;
  color:#7A4B16;
  font-size:13.5px;
  line-height:1.55;
  font-weight:600;
  border-bottom:1px solid rgba(196,163,106,.28);
  text-align:center;
  letter-spacing:.02em;
}
html[data-dl-webview="wechat"] .dl-wx,
html[data-dl-webview="qq"] .dl-wx{display:block}
.dl-wx b{font-weight:700}

.dl-top{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  max-width:1040px;margin:0 auto;
  padding:calc(14px + max(0px, var(--ed-safe-pad, 0px), env(safe-area-inset-top, 0px))) 24px 12px;
  border-bottom:1px solid transparent;
  background:linear-gradient(180deg, rgba(255,255,255,.35), rgba(255,255,255,0));
}
html[data-dl-webview="wechat"] .dl-top,
html[data-dl-webview="qq"] .dl-top{
  padding-top:12px; /* 顶栏提示已占用安全区 */
}
.dl-top__left{display:flex;align-items:center;gap:8px;min-width:0;flex:1}
.dl-back{
  display:none;
  flex:0 0 auto;align-items:center;justify-content:center;
  width:36px;height:36px;margin:0;padding:0;border:0;
  background:transparent;color:var(--navy);cursor:pointer;
  -webkit-tap-highlight-color:transparent;
}
.dl-back__ring{
  width:30px;height:30px;border-radius:50%;
  display:inline-flex;align-items:center;justify-content:center;
  background:#fff;color:var(--navy);
  border:1px solid rgba(11,28,51,.10);
  box-shadow:0 1px 2px rgba(11,28,51,.05);
}
.dl-back svg{width:14px;height:14px;display:block}
html[data-dl-back="1"] .dl-back{display:inline-flex}
.dl-brand{
  display:flex;align-items:center;gap:9px;min-width:0;
  font-weight:600;font-size:14px;letter-spacing:.08em;color:var(--navy);
}
.dl-brand img{
  width:28px;height:28px;border-radius:8px;flex-shrink:0;
  background:#fff;object-fit:cover;
  box-shadow:0 0 0 1px rgba(11,28,51,.06);
}
.dl-web{
  flex-shrink:0;font-size:13px;font-weight:600;color:var(--ink-soft);
  padding:8px 2px;letter-spacing:.04em;
}
.dl-web:hover{color:var(--navy)}

/* 若浮动 #edMBack 仍被挂上，给顶栏让出位置，避免再压住 logo */
body:has(#edMBack.ed-m-back--fixed) .dl-top{
  padding-left:52px;
}
@media (min-width:980px){
  .dl-back{display:none!important}
  body:has(#edMBack.ed-m-back--fixed) .dl-top{padding-left:24px}
}

.dl-main{
  max-width:1040px;margin:0 auto;
  padding:8px 24px 48px;
  min-height:calc(100vh - 64px);
  display:flex;align-items:center;
}
.dl-hero{
  width:100%;
  display:flex;align-items:center;justify-content:center;gap:72px;
  padding:36px 8px 20px;
}
.dl-hero__text{flex:1 1 440px;max-width:540px;text-align:left}
.dl-logo{
  width:108px;height:108px;border-radius:26px;
  object-fit:cover;display:block;
  margin:0 0 22px;
  background:#fff;
  box-shadow:
    0 0 0 1px var(--gold-soft),
    0 18px 40px rgba(11,28,51,.12);
}
.dl-hero h1{
  margin:0;
  font-size:clamp(2.05rem,5.2vw,3.15rem);
  line-height:1.12;font-weight:650;letter-spacing:.06em;
  color:var(--navy);
}
.dl-hero h1::after{
  content:"";display:block;width:36px;height:1px;margin:16px 0 0;
  background:linear-gradient(90deg, var(--gold), #E6D3A3);
}
.dl-lead{
  margin:16px 0 26px;max-width:20em;
  font-size:clamp(15px,1.7vw,17px);line-height:1.65;
  color:var(--mute);font-weight:400;letter-spacing:.04em;
}
.dl-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:0 0 16px}
.dl-btn{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:54px;min-width:176px;padding:0 28px;
  border-radius:8px;font-size:16px;font-weight:650;
  letter-spacing:.08em;-webkit-tap-highlight-color:rgba(11,28,51,.18);
  cursor:pointer;border:0;
  transition:background-color .08s ease, box-shadow .08s ease, color .08s ease, transform .08s ease;
  touch-action:manipulation;
}
.dl a.dl-btn--primary,
.dl-btn--primary{
  background:linear-gradient(180deg, #163049 0%, #0B1C33 100%);
  color:#fff;
  box-shadow:0 10px 24px rgba(11,28,51,.22), inset 0 1px 0 rgba(255,255,255,.12);
}
.dl-btn--primary:hover{background:linear-gradient(180deg, #1B3A58 0%, #10243D 100%)}
.dl-btn--primary:active,
.dl-btn--primary.is-pressed,
.dl-btn--primary.is-downloading{
  background:linear-gradient(180deg, #10243D 0%, #071320 100%);
  box-shadow:0 2px 8px rgba(11,28,51,.35), inset 0 1px 0 rgba(255,255,255,.06);
  transform:scale(.985);
}
.ed-login-sticky-dl__hit.is-pressed .ed-login-sticky-dl__btn,
.ed-m-appdl__hit.is-pressed .ed-m-appdl__btn,
.ed-login-sticky-dl__hit.is-downloading .ed-login-sticky-dl__btn,
.ed-m-appdl__hit.is-downloading .ed-m-appdl__btn{
  filter:brightness(.88);
}
.dl a.dl-btn--ghost,
.dl-btn--ghost{
  background:transparent;color:var(--navy);
  box-shadow:inset 0 0 0 1px rgba(11,28,51,.18);
  font-weight:600;min-width:128px;
}
.dl-btn--ghost:hover{background:rgba(11,28,51,.04)}
.dl-ios-note,.dl-hint,.dl-ver{margin:0 0 8px;font-size:13px;line-height:1.65;color:var(--mute);max-width:34em}
.dl-ios-note{
  display:none;padding:11px 14px;border-radius:8px;
  background:rgba(11,28,51,.04);color:var(--ink-soft);font-weight:500;
}
html[data-dl-ua="ios"] .dl-ios-note{display:block}
html[data-dl-ua="ios"] .dl-hint{display:none}
html[data-dl-ua="ios"] .dl-btn--primary{display:none}
.dl-ver{margin-top:6px;font-size:11px;letter-spacing:.12em;color:#8A93A0}

.dl-hero__qr{
  flex:0 0 auto;text-align:center;
  background:#fff;border-radius:16px;padding:20px 20px 16px;
  box-shadow:0 0 0 1px rgba(11,28,51,.06), 0 18px 48px rgba(11,28,51,.08);
}
.dl-hero__qr img{
  width:176px;height:176px;display:block;margin:0 auto;
  object-fit:contain;background:#fff;
}
.dl-hero__qr p{
  margin:12px 0 0;font-size:12px;font-weight:500;
  letter-spacing:.14em;color:var(--ink-soft);
}

.dl-mirrors{
  margin:16px 0 0;max-width:34em;
  font-size:12.5px;color:var(--mute);
}
.dl-mirrors summary{
  cursor:pointer;font-weight:550;color:var(--ink-soft);
  list-style:none;display:inline-flex;align-items:center;gap:4px;
  letter-spacing:.02em;
}
.dl-mirrors summary::-webkit-details-marker{display:none}
.dl-mirrors summary:after{content:"▸";font-size:10px;color:#8A93A0}
.dl-mirrors[open] summary:after{content:"▾"}
.dl-mirrors__btns{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 0}
.dl-mirrors__btns a{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:34px;padding:0 12px;border-radius:6px;
  background:#fff;box-shadow:inset 0 0 0 1px var(--line);
  font-size:12.5px;font-weight:600;color:var(--navy);
}

/* 电脑端突出扫码；手机端紧凑、突出主按钮 */
@media (max-width:767.98px){
  .dl-top{padding:calc(10px + max(0px, var(--ed-safe-pad, 0px), env(safe-area-inset-top, 0px))) 18px 8px}
  html[data-dl-webview="wechat"] .dl-top,
  html[data-dl-webview="qq"] .dl-top{padding-top:10px}
  body:has(#edMBack.ed-m-back--fixed) .dl-top{padding-left:52px}
  .dl-main{display:block;padding:4px 20px 32px;min-height:auto}
  .dl-hero{flex-direction:column;align-items:stretch;gap:22px;padding:18px 0 6px}
  .dl-hero__text{flex:none;max-width:none;text-align:center}
  .dl-logo{margin:0 auto 16px;width:92px;height:92px;border-radius:24px}
  .dl-hero h1{font-size:clamp(1.85rem,8vw,2.25rem);letter-spacing:.05em}
  .dl-hero h1::after{margin-left:auto;margin-right:auto;margin-top:12px}
  .dl-lead{margin:12px auto 20px}
  .dl-actions{justify-content:center;margin-bottom:14px}
  .dl-btn--primary{width:100%;max-width:320px;min-height:54px;font-size:17px}
  .dl-btn--ghost{width:100%;max-width:320px}
  .dl-ios-note,.dl-hint,.dl-ver,.dl-mirrors{margin-left:auto;margin-right:auto;text-align:center}
  .dl-mirrors__btns{justify-content:center}
  .dl-hero__qr{display:none} /* 手机上扫自己没必要，避免干扰主按钮 */
  html[data-dl-ua="ios"] .dl-hero__qr{display:block;margin:0 auto} /* iOS 用安卓手机扫 */
}
@media (max-width:359.98px){
  .dl-logo{width:80px;height:80px;border-radius:20px}
  .dl-hero h1{font-size:1.7rem}
  .dl-hero{padding-top:12px}
  .dl-btn{min-width:0;padding:0 16px;font-size:16px;letter-spacing:.05em}
}

/* 底栏：仅安卓外置浏览器保留一键下载；电脑/iOS/微信内隐藏以免抢主按钮 */
.ed-m-appdl,
.ed-login-sticky-dl{display:none!important}
html[data-dl-ua="android"]:not([data-dl-webview="wechat"]):not([data-dl-webview="qq"]) .ed-m-appdl,
html[data-dl-ua="android"]:not([data-dl-webview="wechat"]):not([data-dl-webview="qq"]) .ed-login-sticky-dl{
  display:block!important;
  position:fixed;left:0;right:0;bottom:0;z-index:40;
  padding:8px 12px calc(8px + env(safe-area-inset-bottom,0px));
  background:linear-gradient(180deg,rgba(243,245,248,0),rgba(243,245,248,.96) 28%,#F3F5F8);
}
html[data-dl-ua="android"]:not([data-dl-webview="wechat"]):not([data-dl-webview="qq"]) body.dl{
  padding-bottom:calc(84px + env(safe-area-inset-bottom,0px));
}
.ed-m-appdl.is-off,
.ed-login-sticky-dl.is-off,
.ed-m-appdl[hidden]{display:none!important}
.ed-m-appdl__inner,
.ed-login-sticky-dl__inner{
  display:flex;align-items:center;gap:8px;
  max-width:430px;margin:0 auto;padding:8px 8px 8px 12px;
  background:#fff;border-radius:14px;
  box-shadow:0 0 0 1px rgba(11,28,51,.06), 0 10px 28px rgba(11,28,51,.12);
}
.ed-m-appdl__hit{
  display:flex;align-items:center;gap:10px;flex:1;min-width:0;
  color:inherit;-webkit-tap-highlight-color:transparent;
}
.ed-m-appdl__logo,.ed-login-sticky-dl__logo{
  width:40px;height:40px;border-radius:10px;object-fit:cover;flex-shrink:0;background:#f3f6fb;
}
.ed-m-appdl__copy,.ed-login-sticky-dl__copy{display:flex;flex-direction:column;min-width:0;flex:1}
.ed-m-appdl__copy strong,.ed-login-sticky-dl__copy strong{
  font-size:14px;font-weight:650;color:var(--navy);white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
.ed-m-appdl__copy span,.ed-login-sticky-dl__sub{
  font-size:11px;font-weight:500;color:var(--mute);white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
.ed-m-appdl__btn,.ed-login-sticky-dl__btn{
  flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;
  min-height:36px;padding:0 14px;border-radius:7px;
  background:var(--navy);color:#fff;font-size:13px;font-weight:650;letter-spacing:.04em;
}
.ed-m-appdl__x{
  flex-shrink:0;width:28px;height:28px;border:0;border-radius:50%;
  background:transparent;color:#8A93A0;font-size:20px;line-height:1;cursor:pointer;
}

#egApkFloatDock,#egApkMirrors{display:none!important} /* 不再用五条线路浮层 */

/* t171u 20261126：顶栏「打开网页版」右侧分享/复制，交互对齐教程页。不改下载按钮。 */
.dl-top__right{
  display:flex;
  align-items:center;
  gap:8px;
  flex-shrink:0;
}
.dl-share{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:36px;
  height:36px;
  margin:0;
  padding:0;
  border:0;
  background:transparent;
  color:var(--navy);
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
}
.dl-share__ring{
  width:30px;
  height:30px;
  border-radius:50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  color:var(--navy);
  border:1px solid rgba(11,28,51,.10);
  box-shadow:0 1px 2px rgba(11,28,51,.05);
  transition:transform .12s ease, background .12s ease;
}
.dl-share:active .dl-share__ring{
  transform:scale(.94);
  background:#f3f5f8;
}
.dl-share svg{width:13px;height:13px;display:block}
.dl-toast{
  position:fixed;
  left:50%;
  bottom:18%;
  z-index:200;
  transform:translateX(-50%) translateY(8px);
  max-width:78%;
  padding:10px 16px;
  border-radius:8px;
  background:rgba(17,17,17,.88);
  color:#fff;
  font-size:14px;
  line-height:1.4;
  text-align:center;
  opacity:0;
  pointer-events:none;
  transition:opacity .18s ease, transform .18s ease;
}
.dl-toast.is-on{
  opacity:1;
  transform:translateX(-50%) translateY(0);
}

/* t177u 20261126：下载页底部功能介绍。文案与结构对齐 chat/friend-invite.html 的 .feat，
   配色跟本页浅底深字（不用邀请页绿色徽章），不改顶栏分享与下载按钮。 */
.dl-feats{
  display:grid;
  grid-template-columns:1fr;
  gap:32px;
  margin:36px 0 4px;
  padding:0;
  list-style:none;
  text-align:left;
  max-width:34em;
}
.dl-feat{
  display:flex;
  gap:12px;
  align-items:flex-start;
}
.dl-feat__badge{
  flex:none;
  width:28px;
  height:28px;
  margin-top:1px;
  border-radius:8px;
  background:#E6E8EC;
  color:var(--ink);
  display:grid;
  place-items:center;
  font-style:normal;
  font-size:14px;
  font-weight:800;
  line-height:1;
}
.dl-feat__body{min-width:0;flex:1}
.dl-feat__body b{
  display:block;
  margin:0 0 2px;
  font-size:13px;
  font-weight:700;
  line-height:1.35;
  color:var(--ink);
  letter-spacing:0;
}
.dl-feat__body span{
  display:block;
  font-size:12px;
  line-height:1.45;
  font-weight:400;
  color:#4B5568;
}
@media (max-width:767.98px){
  .dl-feats{
    margin-left:auto;
    margin-right:auto;
    margin-top:32px;
    text-align:left;
  }
}
