/* 下載專屬啟動器（download.html）：下載卡＋7 步驟圖文教學＋常見問題；版頭沿用 library.css */
.dlp code { padding: 1px 7px; border-radius: 6px; background: rgba(233, 196, 124, .12); color: var(--gold-hi); font-size: .92em; overflow-wrap: anywhere; }

/* ───────── 下載卡 ───────── */
.dlp__hero { display: grid; grid-template-columns: auto 1fr; gap: 34px; align-items: center; padding: 34px 38px;
  background: radial-gradient(520px 260px at 12% 30%, rgba(91, 132, 255, .18), transparent 70%), var(--panel); }
.dlp__emblem { width: 168px; height: 168px; filter: drop-shadow(0 0 26px rgba(248, 210, 130, .35)); }
.dlp__hero h1 { font: 900 clamp(28px, 4.2vw, 42px)/1.2 var(--serif); color: var(--ivory); margin: 6px 0 0; }
.dlp__lead { margin-top: 10px; color: var(--text); line-height: 1.8; max-width: 60ch; }
.dlp__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 20px; }
.dlp__actions .muted { font-size: 14px; }
.dlp__req { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.dlp__req li { padding: 10px 12px; border: 1px solid var(--line-soft); border-radius: 10px; background: rgba(6, 10, 30, .45); font-size: 14px; color: var(--ivory); line-height: 1.5; }
.dlp__req b { display: block; font-size: 12px; color: var(--gold); letter-spacing: .12em; font-weight: 500; }

/* ───────── 步驟目錄 ───────── */
.dlp__toc { position: sticky; top: var(--nav-h); z-index: 20; display: flex; gap: 8px; margin: 26px 0 0; padding: 12px 0;
  overflow-x: auto; scrollbar-width: none; background: linear-gradient(var(--bg-0) 70%, transparent); }
.dlp__toc::-webkit-scrollbar { display: none; }
.dlp__toc a { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px;
  border: 1px solid var(--line-soft); background: rgba(13, 21, 56, .85); color: var(--ivory); font-size: 14px; text-decoration: none; white-space: nowrap; }
.dlp__toc a:hover { border-color: var(--gold); color: var(--gold-hi); }
.dlp__toc i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--gold); color: #2a1a00; font: 700 13px/1 var(--sans); font-style: normal; }

/* ───────── 步驟 ───────── */
.dlp__steps { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 22px; }
.dlp__step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr); gap: 30px; align-items: center; padding: 28px 30px; scroll-margin-top: calc(var(--nav-h) + 70px); }
.dlp__no { font: 700 13px/1 var(--sans); letter-spacing: .24em; color: var(--gold); }
.dlp__txt h2 { margin: 10px 0 12px; font: 700 clamp(20px, 2.4vw, 25px)/1.4 var(--serif); color: var(--ivory); text-wrap: balance; word-break: keep-all; overflow-wrap: anywhere; }
.dlp__txt p { color: var(--text); line-height: 1.85; }
.dlp__txt p + p, .dlp__txt .dlp__mini + p { margin-top: 10px; }
.dlp__txt b { color: var(--gold-hi); }
.dlp__tip { margin-top: 14px !important; padding: 10px 14px; border-left: 3px solid var(--gold); border-radius: 0 8px 8px 0; background: rgba(233, 196, 124, .07); color: var(--ivory) !important; font-size: 14px; }
.dlp__mini { margin: 12px 0 0; padding: 0; list-style: none; counter-reset: m; display: grid; gap: 9px; }
.dlp__mini li { counter-increment: m; position: relative; padding-left: 36px; color: var(--text); line-height: 1.7; }
.dlp__mini li::before { content: counter(m); position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%;
  border: 1px solid var(--gold); color: var(--gold-hi); font: 700 13px/1 var(--sans); }

.dlp__tabs { display: inline-flex; gap: 4px; margin-top: 16px; padding: 4px; border-radius: 999px; border: 1px solid var(--line-soft); background: rgba(6, 10, 30, .55); }
.dlp__tabs button { padding: 6px 18px; border: 0; border-radius: 999px; background: none; color: var(--muted); font: inherit; font-size: 14px; cursor: pointer; }
.dlp__tabs button:hover { color: var(--gold-hi); }
.dlp__tabs button[aria-selected="true"] { background: var(--gold); color: #2a1a00; font-weight: 700; }

/* 圖 */
.dlp__fig { margin: 0; display: grid; gap: 12px; }
.dlp__zoom { display: block; cursor: zoom-in; border-radius: 12px; }
.dlp__zoom:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.dlp__zoom img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); box-shadow: 0 14px 40px rgba(0, 0, 0, .45); background: #070b1f; }
.dlp__fig figcaption { color: var(--muted); font-size: 13px; text-align: center; }
.dlp__fig--two { grid-template-columns: 1fr 1fr; align-items: stretch; }
.dlp__fig--two figcaption { grid-column: 1 / -1; }

/* ───────── 示意圖（瀏覽器、Windows、安裝程式、遊戲） ───────── */
.mk { border-radius: 12px; box-shadow: 0 14px 40px rgba(0, 0, 0, .45); font-family: "Segoe UI", "Microsoft JhengHei", var(--sans); overflow: hidden; }
.mk i { font-style: normal; }
/* 金色「點這裡」標示 */
.mk__hl, .mk__hl2 { position: relative; outline: 3px solid #f8d678; outline-offset: 2px; box-shadow: 0 0 0 7px rgba(248, 214, 120, .28); border-radius: 6px; }
.mk__hl2 > i { position: absolute; left: -14px; top: -14px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: #f8d678; color: #2a1a00; font: 700 13px/1 var(--sans); box-shadow: 0 0 0 2px #3c2800; }

/* Chrome 下載清單 */
.mk--chrome { background: #fff; color: #1f1f1f; max-width: 460px; justify-self: center; width: 100%; }
.mk__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #eef1f6; border-bottom: 1px solid #dfe3ea; }
.mk__bar span { width: 10px; height: 10px; border-radius: 50%; background: #c9ced8; }
.mk__bar b { margin-left: 8px; font-size: 14px; font-weight: 600; color: #333; }
.mk__dlrow { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; padding: 14px 16px; }
.mk__dlrow b { display: block; font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.mk__dlrow small { font-size: 13px; color: #5f6368; }
.mk__dlrow small.mk__red { color: #c5221f; }
.mk__dlrow.is-warn { background: #fff7f6; }
.mk__file { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; background: #e8f0fe; color: #1a73e8; font-size: 11px; font-weight: 700; }
.mk__file--warn { background: #fce8e6; color: #c5221f; font-size: 20px; }
.mk__more { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #f1f3f4; color: #444; font-weight: 700; }
.mk__menu { display: grid; gap: 4px; padding: 6px 16px 16px 68px; }
.mk__menu span { padding: 8px 12px; font-size: 14px; color: #333; }
.mk__menu .mk__hl { background: #fff4d6; font-weight: 700; color: #1f1f1f; }

/* Windows SmartScreen */
.mk--ss { background: #0063b1; color: #fff; padding: 20px 20px 16px; display: flex; flex-direction: column; min-height: 230px; }
.mk__ssT { font-size: 19px; font-weight: 400; line-height: 1.3; }
.mk--ss p { margin-top: 12px; font-size: 13px; line-height: 1.6; color: #e8f1ff; }
.mk__link { align-self: flex-start; margin-top: 12px; padding: 2px 4px; font-size: 13px; text-decoration: underline; color: #fff; }
.mk__ssBtns { display: flex; justify-content: flex-end; gap: 10px; margin-top: auto; padding-top: 16px; }
.mk__ssBtns span { padding: 6px 14px; border: 2px solid #fff; font-size: 13px; white-space: nowrap; }
.mk__ssBtns .mk__hl2 { background: #fff; color: #0063b1; font-weight: 700; border-radius: 2px; }

/* 第 3 步第二種情況：智慧型應用程式控制（整列、上面一條虛線分開） */
.dlp__sac { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr); gap: 30px; align-items: center;
  padding-top: 26px; border-top: 1px dashed var(--line-soft); scroll-margin-top: calc(var(--nav-h) + 70px); }
.dlp__no--warn { color: #ff9f8a; }
.dlp__tip--warn { border-left-color: #ff9f8a; background: rgba(255, 140, 110, .08); }
.dlp__tip--warn b { color: #ffc4b5; }
.dlp__tip + .dlp__tip { margin-top: 10px !important; }
.mk--sac { background: #fff; color: #1f1f1f; padding: 18px 20px 14px; display: flex; flex-direction: column; min-height: 230px; border-top: 4px solid #c42b1c; }
.mk__sacT { display: flex; align-items: flex-start; gap: 10px; font-size: 16px; font-weight: 600; line-height: 1.4; }
.mk__shield { flex: 0 0 auto; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #c42b1c; color: #fff; font: 700 15px/1 "Segoe UI", sans-serif; }
.mk--sac p { margin-top: 10px; font-size: 13px; line-height: 1.6; color: #404040; }
.mk__sacFile { padding: 6px 10px; background: #f3f3f3; border-radius: 4px; overflow-wrap: anywhere; }
.mk--sac .mk__ssBtns span { border-color: #8a8a8a; color: #1f1f1f; }
.mk__sacNo { margin-top: 10px; align-self: flex-end; font-size: 12px; color: #c42b1c; font-weight: 600; }
.mk--set { background: #f3f3f3; color: #1f1f1f; padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; min-height: 230px; }
.mk__setT { font-size: 16px; font-weight: 600; padding-bottom: 8px; border-bottom: 1px solid #ddd; }
.mk__radio { display: flex; align-items: center; gap: 10px; align-self: flex-start; padding: 4px 10px 4px 4px; font-size: 14px; }
.mk__radio i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #7a7a7a; background: #fff; }
.mk__radio.is-on i { border: 5px solid #0067c0; }
.mk__radio.mk__hl { background: #fff4d6; font-weight: 700; }

/* 安裝程式 */
.mk--setup { background: #f3f3f3; color: #1f1f1f; max-width: 480px; justify-self: center; width: 100%; }
.mk__winT { display: flex; align-items: center; gap: 8px; padding: 9px 12px; background: #fff; border-bottom: 1px solid #ddd; font-size: 13px; }
.mk__setupBody { padding: 18px 20px; display: grid; gap: 8px; }
.mk__setupBody b { font-size: 15px; }
.mk__setupBody small { font-size: 13px; color: #555; }
.mk__path { margin-top: 6px; padding: 7px 10px; border: 1px solid #b9b9b9; background: #fff; font-size: 12.5px; color: #333; overflow-wrap: anywhere; }
.mk__setupBtns { display: flex; justify-content: flex-end; gap: 10px; padding: 12px 16px; border-top: 1px solid #ddd; background: #ececec; }
.mk__setupBtns span { min-width: 76px; padding: 5px 12px; text-align: center; border: 1px solid #adadad; background: #fdfdfd; font-size: 13px; }
.mk__setupBtns .mk__hl2 { border-color: #0067c0; background: #0067c0; color: #fff; border-radius: 3px; }

/* 遊戲：多人遊戲清單 */
.mk--mc { background: #2a2420 radial-gradient(circle at 20% 20%, rgba(255, 255, 255, .04), transparent 40%); color: #fff; padding: 16px 18px 18px; font-family: var(--sans); border: 1px solid #000; }
.mk__mcT { display: block; text-align: center; font-size: 15px; text-shadow: 2px 2px 0 #3f3f3f; }
.mk__srv { display: grid; grid-template-columns: 40px 1fr auto; gap: 10px; align-items: center; margin-top: 12px; padding: 8px; border: 2px solid transparent; background: rgba(0, 0, 0, .45); }
.mk__srv.is-sel { border-color: #fff; }
.mk__srv img { image-rendering: auto; }
.mk__srv b { display: block; font-size: 14px; }
.mk__srv small { font-size: 12px; color: #a8a8a8; }
.mk__srv em { font-style: normal; font-size: 12px; color: #a8a8a8; }
.mk__mcBtns { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; }
.mk__mcBtns span { padding: 6px 14px; background: #6f6f6f; border: 2px solid #1e1e1e; box-shadow: inset 2px 2px 0 #9c9c9c, inset -2px -2px 0 #4a4a4a; font-size: 13px; text-shadow: 1px 1px 0 #333; }
.mk__mcBtns .mk__hl2 { border-radius: 0; }

/* ───────── 常見問題 ───────── */
.dlp__faq { margin-top: 26px; padding: 28px 30px; }
.dlp__faq h2 { margin: 0 0 12px; font: 700 23px/1.3 var(--serif); color: var(--gold-hi); letter-spacing: .06em; }
.dlp__faq details { border-top: 1px solid var(--line-soft); }
.dlp__faq summary { position: relative; padding: 14px 34px 14px 2px; cursor: pointer; list-style: none; color: var(--ivory); font-weight: 500; }
.dlp__faq summary::-webkit-details-marker { display: none; }
.dlp__faq summary::after { content: "+"; position: absolute; right: 6px; top: 10px; font-size: 22px; color: var(--gold); transition: transform .2s; }
.dlp__faq details[open] summary::after { transform: rotate(45deg); }
.dlp__faq summary:hover { color: var(--gold-hi); }
.dlp__faq details p { padding: 0 2px 16px; color: var(--text); line-height: 1.85; }
.dlp__faq details a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.dlp__help { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line-soft); color: var(--ivory); }
.dlp__help a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

/* ───────── 窄螢幕 ───────── */
@media (max-width: 960px) {
  .dlp__step, .dlp__sac { grid-template-columns: 1fr; gap: 20px; }
  .dlp__req { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .dlp__hero { grid-template-columns: 1fr; text-align: center; gap: 16px; padding: 26px 18px; }
  .dlp__emblem { width: 112px; height: 112px; justify-self: center; }
  .dlp__lead { margin-inline: auto; }
  .dlp__actions { justify-content: center; }
  .dlp__req { text-align: left; }
  .dlp__step, .dlp__faq { padding: 22px 18px; }
  .dlp__fig--two { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .dlp__faq summary::after { transition: none; } }
