/* 11-23 定稿：「带他回家」国风玉简无框（满屏宽幕），透出整页统一竹海烟岚底层 */
.dl.sec {
  position: relative;
  overflow: clip;
  scroll-margin-top: 12px;
  padding: clamp(72px, 9.5vh, 120px) 0 clamp(76px, 10vh, 122px);
  background: transparent;
}
#download + #faq > .st {
  padding: clamp(54px, 7.5vh, 88px) 16px clamp(24px, 3.6vh, 36px);
}

/* 满宽主网格（92vw / 1680px，顶部对齐：展开右侧折叠时左图稳如泰山不上下跳） */
.dl-wide {
  position: relative;
  z-index: 2;
  width: min(1680px, 92vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.38fr 1fr;
  gap: clamp(38px, 5vw, 92px);
  align-items: start;
}
.dl-visual {
  position: sticky;
  top: clamp(92px, 11vh, 124px);
}

/* 左图：纤细温润玉金框＋纯粹自然投影（不泛霓虹光） */
.dl-frame {
  position: relative;
  border-radius: 15px;
  padding: 6px;
  background: linear-gradient(145deg, rgba(232, 196, 116, .58), rgba(20, 46, 37, .82) 50%, rgba(232, 196, 116, .3));
  box-shadow: 0 28px 72px rgba(2, 10, 8, .62);
}
.dl-vis-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 15px;
  padding: 0 6px;
  font-size: 13.5px;
  color: rgba(232, 226, 208, .76);
  letter-spacing: .04em;
}
.dl-vis-foot .dot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(246, 238, 218, .88);
}
.dl-vis-foot .dot i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e8c474;
}

/* 右栏：国风玉简无框主控台 */
.dl-ctrl {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.dl-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .26em;
  color: #e8c474;
}
.dl-eyebrow i {
  position: relative;
  display: block;
  width: 30px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e8c474);
}
.dl-eyebrow i:after {
  content: "";
  position: absolute;
  right: -3px;
  top: -2.5px;
  width: 6px;
  height: 6px;
  background: #e8c474;
  transform: rotate(45deg);
}
.dl-title {
  font-family: XB;
  font-size: clamp(46px, 4.2vw, 74px);
  line-height: 1.06;
  letter-spacing: .12em;
  background: linear-gradient(180deg, #fffdf5 0%, #f5dfab 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, .42));
}
.dl-desc {
  margin: 16px 0 30px;
  font-size: 17px;
  line-height: 1.85;
  color: rgba(244, 240, 228, .9);
  max-width: 520px;
}

/* 无框文字型双平台切换（高对比清晰可点） */
.dl-os-line {
  display: flex;
  align-items: center;
  gap: 32px;
  border-bottom: 1px solid rgba(232, 196, 116, .28);
  padding-bottom: 11px;
  width: 100%;
  max-width: 520px;
}
.dl-os-line button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 4px 0 8px;
  border: 0;
  background: none;
  color: rgba(240, 238, 228, .78);
  font-family: var(--sans);
  font-size: 16.5px;
  font-weight: 500;
  cursor: pointer;
  transition: color .2s;
  white-space: nowrap;
}
.dl-os-line button svg {
  width: 17px;
  height: 17px;
  opacity: .84;
  transition: opacity .2s, color .2s;
}
.dl-os-line button:hover { color: #fff; }
.dl-os-line button.on {
  color: #fffaf0;
  font-weight: 700;
}
.dl-os-line button.on svg {
  color: #f5d98e;
  opacity: 1;
}
.dl-os-line button.on:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12px;
  height: 2px;
  background: linear-gradient(90deg, #78d8b0, #f5d98e);
}

/* 首屏同血统：双菱形温润玉金主下载按钮 + 版本铭牌 + 一行网盘备用 */
.dl-cta-block {
  width: 100%;
  max-width: 520px;
  margin-top: 30px;
}
.dl-divert-msg,
.dl-mob-msg {
  margin: 0 0 14px;
  font-size: 14.5px;
  line-height: 1.65;
  color: #ffdca3;
}
.btn-orn-hero {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 60px;
  width: 100%;
  max-width: 410px;
  padding: 0 36px;
  border-radius: 99px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  color: #fffaf0;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 17.5px;
  letter-spacing: .09em;
  border: 1.5px solid rgba(240, 206, 126, .92);
  background: linear-gradient(180deg, rgba(24, 92, 70, .95) 0%, rgba(10, 44, 34, .98) 100%);
  box-shadow: inset 0 0 0 3px rgba(8, 26, 20, .72), inset 0 0 0 4px rgba(232, 196, 116, .38), 0 14px 34px rgba(0, 0, 0, .48);
  transition: transform .22s, box-shadow .22s, background .22s, opacity .2s;
}
.btn-orn-hero:before,
.btn-orn-hero:after {
  content: "";
  position: absolute;
  top: 50%;
  width: 9px;
  height: 9px;
  background: #f0cc7c;
  transform: translateY(-50%) rotate(45deg);
  box-shadow: 0 0 8px rgba(240, 204, 124, .8);
}
.btn-orn-hero:before { left: -5px; }
.btn-orn-hero:after { right: -5px; }
.btn-orn-hero:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, rgba(32, 116, 88, .98) 0%, rgba(14, 56, 43, .99) 100%);
  box-shadow: inset 0 0 0 3px rgba(8, 26, 20, .6), inset 0 0 0 4px rgba(245, 217, 142, .72), 0 18px 40px rgba(0, 0, 0, .52);
}
.btn-orn-hero.cool {
  opacity: .62;
  pointer-events: none;
}
body[data-divert="1"] .btn-orn-hero {
  opacity: .74;
  background: linear-gradient(180deg, rgba(48, 40, 24, .9), rgba(24, 20, 12, .95));
  border-color: rgba(247, 185, 107, .62);
}
.btn-orn-hero svg {
  width: 20px;
  height: 20px;
  flex: none;
  color: #fae4a8;
}
.dl-cool-hint {
  margin: 11px 0 0;
  font-size: 13.5px;
  color: #9ff0c8;
  line-height: 1.6;
}
.dl-meta-line {
  margin-top: 14px;
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: .03em;
  color: rgba(238, 234, 222, .84);
}
.dl-meta-line b {
  color: #fae4a8;
  font-weight: 600;
}
.dl-meta-line .dot-sep {
  margin: 0 9px;
  opacity: .45;
}

/* 一行极简网盘备用（百度在前、夸克在后，零卡片、高清晰） */
.dl-mirror-line {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(232, 196, 116, .18);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 11px;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  color: rgba(242, 238, 226, .88);
}
.dl-mirror-line .mlbl {
  color: rgba(232, 226, 210, .74);
}
.dl-mirror-line a {
  color: #fae4a8;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(245, 217, 142, .55);
  padding-bottom: 1px;
  transition: color .2s, border-color .2s;
}
.dl-mirror-line a:hover { color: #fff; border-color: #fff; }
.dl-mirror-line .hint {
  font-size: 13.5px;
  color: #98eec6;
  font-weight: 400;
  margin-left: 2px;
}
.dl-mirror-line .code-txt {
  font-size: 14px;
  color: rgba(244, 239, 224, .86);
}
.dl-mirror-line .vsep {
  opacity: .38;
  margin: 0 2px;
}
.dl-copy {
  padding: 2px 10px;
  border-radius: 5px;
  border: 1px solid rgba(232, 196, 116, .5);
  background: rgba(232, 196, 116, .12);
  color: #fff2cc;
  font-size: 13px;
  cursor: pointer;
  font-family: var(--sans);
  transition: .18s;
}
.dl-copy:hover { background: rgba(232, 196, 116, .28); color: #fff; }
.dl-rel-link {
  display: inline-flex;
  align-items: center;
  margin-top: 14px;
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: .04em;
  color: rgba(152, 238, 198, .92);
  text-decoration: none;
  border-bottom: 1px solid rgba(152, 238, 198, .38);
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.dl-rel-link:hover { color: #fff8e0; border-color: #f5d98e; }

/* 无框纯金线折叠项 */
.dl-acc {
  width: 100%;
  max-width: 520px;
  margin-top: 32px;
  border-top: 1px solid rgba(232, 196, 116, .24);
}
.dl-acc details { border-bottom: 1px solid rgba(232, 196, 116, .16); }
.dl-acc summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 2px;
  font-family: var(--sans);
  font-size: 15px;
  color: rgba(248, 242, 226, .92);
  transition: color .2s;
}
.dl-acc summary::-webkit-details-marker { display: none; }
.dl-acc summary:hover,
.dl-acc details[open] summary { color: #f6e2ad; }
.dl-acc summary:after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.5px solid #e8c474;
  border-bottom: 1.5px solid #e8c474;
  transform: rotate(45deg);
  transition: transform .22s;
  margin-right: 4px;
}
.dl-acc details[open] summary:after { transform: rotate(225deg); }
.dl-acc .acc-body {
  padding: 0 2px 15px;
  font-size: 14px;
  line-height: 1.85;
  color: rgba(230, 230, 218, .84);
}
.dl-acc .acc-body ul { margin: 0; padding-left: 18px; }
.dl-acc .acc-body li { margin: 4px 0; }
.dl-acc .acc-body p { margin: 0; }
.dl-acc .acc-note { margin-top: 8px !important; color: rgba(232, 196, 116, .86); }

/* 复制/提示轻浮条 */
.site-toast {
  position: fixed;
  left: 50%;
  top: 80px;
  transform: translateX(-50%) translateY(-10px);
  z-index: 99;
  padding: 9px 18px;
  border-radius: 99px;
  background: rgba(8, 28, 22, .96);
  border: 1px solid var(--gold);
  color: #fff6dc;
  font-family: var(--sans);
  font-size: 13.5px;
  opacity: 0;
  pointer-events: none;
  transition: .25s;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .45);
}
.site-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* 群像桌面预览 */
.gallery-desktop {
  --window-top: 54%;
  --taskbar: 4.44%;
  position: relative;
  container-type: inline-size;
  overflow: hidden;
  isolation: isolate;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  background: #253a32 url("../img/hero.webp") center / cover no-repeat;
  color: #ecf1ec;
  font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
}
.gallery-desktop .photo-window {
  position: absolute;
  z-index: 2;
  top: var(--window-top);
  left: 22%;
  width: 36%;
  height: 38%;
  overflow: hidden;
  display: grid;
  grid-template-rows: 2.15cqw minmax(0, 1fr) 1.5cqw;
  border: max(.08cqw, .5px) solid #c1cec3;
  border-radius: .63cqw;
  background: #18211f;
  box-shadow: 0 .65cqw 1.8cqw #0c161e80, 0 .12cqw .25cqw #0008;
}
.gallery-desktop .photo-title,
.gallery-desktop .photo-footer {
  display: flex;
  align-items: center;
  padding: 0 .8cqw;
  gap: .48cqw;
}
.gallery-desktop .photo-title {
  justify-content: space-between;
  background: linear-gradient(115deg, #293733, #26302f);
  font-size: 1.04cqw;
  line-height: 1;
  letter-spacing: .035em;
}
.gallery-desktop .photo-title > span:first-child,
.gallery-desktop .window-controls {
  display: flex;
  align-items: center;
  gap: .46cqw;
}
.gallery-desktop svg { width: 1.1cqw; height: 1.1cqw; display: block; }
.gallery-desktop .window-controls { gap: 1.15cqw; color: #c6d1cb; }
.gallery-desktop .window-controls svg { width: .73cqw; height: .73cqw; }
.gallery-desktop .mac-dots { display: none; align-items: center; gap: .45cqw; }
.gallery-desktop .mac-dots i { width: .68cqw; height: .68cqw; border-radius: 50%; display: block; }
.gallery-desktop .mac-dots i:nth-child(1) { background: #ff5f56; }
.gallery-desktop .mac-dots i:nth-child(2) { background: #ffbd2e; }
.gallery-desktop .mac-dots i:nth-child(3) { background: #27c93f; }
body[data-os="mac"] .gallery-desktop .window-controls { display: none; }
body[data-os="mac"] .gallery-desktop .mac-dots { display: flex; }
.gallery-desktop .photo-view {
  min-height: 0;
  margin: 0 .4cqw;
  background: #1b2521 url("../img/dl/bamboo_pc_s.webp") center 51% / cover no-repeat;
}
.gallery-desktop .photo-footer {
  justify-content: space-between;
  color: #c1ccc6;
  font-size: .77cqw;
  line-height: 1;
  background: #28322f;
}
.gallery-desktop .photo-footer svg { width: .8cqw; height: .8cqw; }
.gallery-desktop .photo-footer span:last-child { display: flex; align-items: center; gap: .38cqw; }
#download .gallery-desktop .desktop-pet {
  position: absolute;
  z-index: 4;
  display: block;
  width: auto;
  max-width: none;
  border-radius: 0;
  filter: drop-shadow(0 0 .4cqw rgba(246, 226, 173, .65)) drop-shadow(0 .15cqw .22cqw rgba(0, 0, 0, .72));
}
#download .gallery-desktop .human { left: 50.4%; bottom: calc(100% - var(--window-top) - .07%); height: 14.8%; }
#download .gallery-desktop .cat { left: 83.5%; bottom: calc(var(--taskbar) - .07%); height: 7.8%; }
.gallery-desktop .preview-taskbar {
  position: absolute;
  z-index: 2;
  inset: auto 0 0;
  height: var(--taskbar);
  background: url("../img/dl/taskbar.webp") center / 100% 100% no-repeat;
}
.gallery-desktop .pet-tag {
  position: absolute;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px 4px 8px;
  border-radius: 99px;
  pointer-events: none;
  background: rgba(9, 26, 20, .82);
  border: 1px solid rgba(232, 196, 116, .48);
  color: #fbf2d8;
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: .04em;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .44);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.gallery-desktop .pet-tag i { width: 6px; height: 6px; border-radius: 50%; background: #e8c474; }
.gallery-desktop .pet-tag.t-human { left: 57.6%; top: 39%; }
.gallery-desktop .pet-tag.t-cat { right: 3.5%; bottom: 13%; }

@media (max-width: 1100px) {
  .dl-wide { grid-template-columns: 1fr; gap: 34px; }
  .dl-visual { position: static; }
  .dl-acc { max-width: none; }
}
@media (max-width: 640px) {
  .dl.sec { padding: 48px 0 64px; }
  .dl-os-line { gap: 22px; }
  .dl-os-line button { font-size: 15px; }
  .btn-orn-hero { width: 100%; max-width: none; height: 54px; font-size: 16px; padding: 0 24px; }
  .dl-cta-block { max-width: none; }
  .gallery-desktop .pet-tag { display: none; }
}
