/* =========================================================
   Knowledge Center guide pages (wafer-carrier-guide.html)
   注意：style.css 在 751–1649px 给 body 设 zoom 0.7–0.9，字号按缩放后仍清晰来定。
   页头固定 80px（手机 60px）。
   ========================================================= */
.gd { --b: #0252bb; --b2: #013f91; --bs: #eef4fc; --ink: #1d2430; --ink2: #3b4352; --mut: #6b7280; --line: #e3e8f0; --bg: #f5f7fb; --gold: #f2b33d;
  color: var(--ink); font-size: 18px; line-height: 1.8; background: var(--bg); }
.gd a { color: var(--b); }
.gd a:hover { text-decoration: underline; }
.gd p { margin: 0 0 16px; }
.gd ul, .gd ol { margin: 0 0 18px; padding-left: 24px; }
.gd li { margin: 0 0 8px; }
.gd ul > li { list-style: disc; }
.gd ol > li { list-style: decimal; }
.gd strong, .gd b { font-weight: 600; }
.gd sup { font-size: .68em; line-height: 0; }
.gd *, .gd *::before, .gd *::after { box-sizing: border-box; }

/* ---------- buttons ---------- */
.gd-btn { display: inline-block; padding: 13px 28px; border-radius: 6px; background: var(--gold); color: #1d2430 !important; font-weight: 600; font-size: 17px; line-height: 1.3; text-decoration: none !important; border: 1px solid var(--gold); transition: filter .2s, background .2s; }
.gd-btn:hover { filter: brightness(1.05); }
.gd-btn.ghost { background: transparent; color: #fff !important; border-color: rgba(255, 255, 255, .7); }
.gd-btn.ghost:hover { background: rgba(255, 255, 255, .12); }

/* ---------- hero ---------- */
.gd-hero { background: linear-gradient(135deg, #013a86 0%, #0252bb 60%, #0a63d1 100%); color: #fff; padding: 56px 0 64px; position: relative; overflow: hidden; }
.gd-hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 44px 44px; pointer-events: none; }
.gd-hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.gd-crumb { display: flex; flex-wrap: wrap; font-size: 15px; opacity: .85; margin: 0 0 22px !important; padding: 0 !important; }
.gd-crumb li { list-style: none !important; margin: 0 !important; }
.gd-crumb li + li::before { content: "/"; margin: 0 10px; opacity: .6; }
.gd-crumb a { color: #fff !important; }
.gd-kicker { display: inline-block; font-size: 15px; letter-spacing: .06em; padding: 4px 14px; border: 1px solid rgba(255, 255, 255, .45); border-radius: 4px; margin-bottom: 20px !important; }
.gd-hero h1 { font-size: 46px; line-height: 1.22; font-weight: 700; margin: 0 0 22px; color: #fff; }
.gd-intro { font-size: 19px; line-height: 1.75; opacity: .92; max-width: 860px; }
.gd-btns { display: flex; gap: 12px; flex-wrap: wrap; padding: 0 !important; margin: 0 !important; }
.gd-btns li { list-style: none !important; margin: 0 !important; }
.gd-hero-cta { gap: 14px; margin: 26px 0 30px !important; }
.gd-meta { display: flex; flex-wrap: wrap; gap: 8px 26px; padding: 18px 0 0 !important; margin: 0 !important; border-top: 1px solid rgba(255, 255, 255, .2); font-size: 15px; opacity: .9; }
.gd-meta li { list-style: none !important; margin: 0 !important; }
.gd-meta b { color: #fff; }
.gd-hero-side { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .22); border-radius: 12px; padding: 26px 28px; backdrop-filter: blur(2px); }
.gd-kf-hd { font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 14px !important; }
.gd-kfs { display: grid; grid-template-columns: 1fr 1fr; }
.gd-kf { padding: 18px 16px 16px 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.gd-kf:nth-child(even) { padding-left: 18px; border-left: 1px solid rgba(255, 255, 255, .16); }
.gd-kf b { display: block; font-family: 'Din', 'Rubik-Regular', sans-serif; font-size: 36px; line-height: 1.1; font-weight: 700; color: #fff; }
.gd-kf b small { font-size: 16px; margin-left: 4px; opacity: .85; font-weight: 400; }
.gd-kf span { display: block; margin-top: 8px; font-size: 14.5px; line-height: 1.5; opacity: .85; }
.gd-kf .gd-ref a { color: #fff !important; }

/* ---------- chapter nav (sticky) ---------- */
.gd-chapnav { position: sticky; top: 80px; z-index: 90; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 6px 18px rgba(15, 40, 80, .06); }
.gd-chapnav ul { position: relative; display: flex; gap: 2px; margin: 0 !important; padding: 0 !important; overflow-x: auto; scrollbar-width: none; }
.gd-chapnav ul::-webkit-scrollbar { display: none; }
.gd-chapnav li { list-style: none !important; margin: 0 !important; flex: 0 0 auto; }
.gd-chapnav a { display: block; padding: 16px 16px 14px; font-size: 16px; color: var(--ink2) !important; white-space: nowrap; border-bottom: 3px solid transparent; text-decoration: none !important; }
.gd-chapnav a:hover { color: var(--b) !important; }
.gd-chapnav a.on { color: var(--b) !important; border-bottom-color: var(--b); font-weight: 600; }

/* ---------- layout ---------- */
.gd-layout { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 36px; padding-top: 40px; padding-bottom: 90px; align-items: start; }
.gd-toc { position: sticky; top: 158px; max-height: calc(100vh - 180px); overflow-y: auto; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 20px 0 14px; scrollbar-width: thin; }
.gd-toc-hd { display: flex; justify-content: space-between; align-items: baseline; padding: 0 22px 10px; font-size: 15px; color: var(--mut); }
.gd-toc-hd b { font-size: 19px; color: var(--ink); }
.gd-toc-hd em { font-style: normal; color: var(--b); font-weight: 600; }
.gd-toc-bar { height: 3px; margin: 0 22px 10px; background: var(--line); border-radius: 2px; overflow: hidden; }
.gd-toc-bar i { display: block; height: 100%; width: 0; background: var(--b); transition: width .15s; }
.gd-toc ol, .gd-drawer ol { margin: 0 !important; padding: 0 !important; }
.gd-toc li, .gd-drawer li { list-style: none !important; margin: 0 !important; }
.gd-toc a, .gd-drawer a { display: flex; gap: 12px; padding: 8px 22px; font-size: 15.5px; line-height: 1.45; color: var(--ink2) !important; border-left: 3px solid transparent; text-decoration: none !important; }
.gd-toc a em, .gd-drawer a em { font-style: normal; min-width: 22px; color: var(--mut); font-family: 'Din', sans-serif; }
.gd-toc a:hover, .gd-drawer a:hover { background: var(--bs); }
.gd-toc a.on, .gd-drawer a.on { color: var(--b) !important; border-left-color: var(--b); background: var(--bs); font-weight: 600; }
.gd-toc li.ap a, .gd-drawer li.ap a { font-size: 14.5px; }
.gd-toc li.ap:first-of-type, .gd-toc li.ap { }
.gd-toc li:nth-child(13) { margin-top: 8px !important; padding-top: 8px; border-top: 1px dashed var(--line); }

/* ---------- article ---------- */
.gd-article { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 48px 56px 30px; min-width: 0; }
.gd-abstract { padding-bottom: 36px; margin-bottom: 44px; border-bottom: 1px solid var(--line); scroll-margin-top: 160px; }
.gd-abstract h2 { font-size: 30px; font-weight: 700; margin: 0 0 18px; }
.gd-def { font-size: 19px; padding: 20px 24px; background: var(--bs); border-left: 4px solid var(--b); border-radius: 6px; }
.gd-points { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; padding: 0 !important; margin: 10px 0 0 !important; }
.gd-points li { list-style: none !important; display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px dashed var(--line); margin: 0 !important; }
.gd-points em { font-style: normal; font-family: 'Din', sans-serif; font-size: 22px; font-weight: 700; color: var(--b); line-height: 1.4; }
.gd-points p { margin: 0 !important; font-size: 16.5px; line-height: 1.7; }

.gd-ch { margin: 0 0 64px; scroll-margin-top: 160px; }
.gd-ch-hd { display: flex; align-items: center; gap: 18px; margin: 0 0 22px; padding-bottom: 16px; border-bottom: 2px solid var(--ink); }
.gd-ch-hd span { flex: 0 0 auto; font-family: 'Din', sans-serif; font-size: 22px; font-weight: 700; color: #fff; background: var(--b); border-radius: 6px; min-width: 52px; height: 44px; line-height: 44px; text-align: center; padding: 0 8px; }
.gd-ch-hd h2 { margin: 0; font-size: 32px; line-height: 1.3; font-weight: 700; color: var(--ink); }
.gd-ch h3 { font-size: 23px; line-height: 1.4; font-weight: 600; margin: 40px 0 14px; color: var(--ink); scroll-margin-top: 160px; }
.gd-ch h3 .n { color: var(--b); font-family: 'Din', sans-serif; margin-right: 12px; }
.gd-ch h4 { font-size: 19px; font-weight: 600; margin: 0 0 8px; color: var(--ink); }
.gd-lead { font-size: 19px; color: var(--ink2); line-height: 1.8; }
.gd-src { font-size: 14.5px; color: var(--mut); }
.gd-ref { margin-left: 1px; }
.gd-ref a { color: var(--b); text-decoration: none; font-weight: 600; }

/* tables */
.gd-tbl-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 6px 0 18px; border: 1px solid var(--line); border-radius: 8px; }
.gd-tbl { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.6; background: #fff; }
.gd-tbl th, .gd-tbl td { padding: 13px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.gd-tbl tr:last-child th, .gd-tbl tr:last-child td { border-bottom: 0; }
.gd-tbl thead th { background: #f0f4fa; color: var(--ink); font-weight: 600; white-space: nowrap; border-bottom: 2px solid var(--b); }
.gd-tbl tbody th { font-weight: 600; color: var(--ink); min-width: 160px; }
.gd-tbl tbody tr:hover td, .gd-tbl tbody tr:hover th { background: #fafcff; }

/* boxes */
.gd-box { margin: 20px 0 24px; padding: 20px 24px; border-radius: 8px; border: 1px solid var(--line); background: #fafbfd; }
.gd-box > b { display: block; font-size: 17px; margin-bottom: 6px; }
.gd-box p:last-child { margin-bottom: 0; }
.gd-box.note { background: var(--bs); border-color: #cfe0f6; border-left: 4px solid var(--b); }
.gd-box.note > b { color: var(--b); }
.gd-box.warn { background: #fff8eb; border-color: #f4dfb3; border-left: 4px solid #d99a1e; }
.gd-box.warn > b { color: #a96d00; }
.gd-box.tip { background: #f2faf5; border-color: #cfe9d9; border-left: 4px solid #1f9254; }
.gd-box.tip > b { color: #1f7a48; }
.gd-myth { margin: 0 0 16px; padding: 20px 24px 6px; border: 1px solid var(--line); border-left: 4px solid #c0392b; border-radius: 8px; }
.gd-myth h4 { color: #a52b1f; }

/* steps */
.gd-steps { counter-reset: st; padding: 0 !important; margin: 0 0 24px !important; }
.gd-steps > li { list-style: none !important; counter-increment: st; position: relative; padding: 20px 24px 6px 82px; margin: 0 0 14px !important; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.gd-steps > li::before { content: counter(st); position: absolute; left: 22px; top: 20px; width: 40px; height: 40px; line-height: 40px; text-align: center; border-radius: 50%; background: var(--b); color: #fff; font-family: 'Din', sans-serif; font-size: 20px; font-weight: 700; }
.gd-steps > li h4 { margin-top: 6px; }

/* timeline flow */
.gd-flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; margin: 10px 0 20px; }
.gd-flow span { position: relative; padding: 16px 18px 16px 14px; background: var(--bs); font-size: 15px; line-height: 1.45; color: var(--ink2); border-right: 2px solid #fff; }
.gd-flow span b { display: block; color: var(--b); font-size: 16px; margin-bottom: 2px; }
.gd-flow span:first-child { border-radius: 8px 0 0 8px; }
.gd-flow span:last-child { border-radius: 0 8px 8px 0; background: var(--b); color: #fff; }
.gd-flow span:last-child b { color: #fff; }
.gd-formula { margin: 10px 0 18px; padding: 18px 22px; font-family: Consolas, Menlo, monospace; font-size: 15.5px; line-height: 1.7; background: #0f1d33; color: #e6eefc; border-radius: 8px; }

/* criteria */
.gd-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 6px 0 20px; }
.gd-crit { padding: 18px 20px; border: 1px solid var(--line); border-radius: 8px; background: #fafbfd; }
.gd-crit b { display: block; color: var(--b); margin-bottom: 4px; }
.gd-crit p { margin: 0 !important; font-size: 16px; }

/* directory */
.gd-dir-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 6px 0 24px; }
.gd-dir { padding: 20px 22px 18px; border: 1px solid var(--line); border-radius: 10px; background: #fff; display: flex; flex-direction: column; }
.gd-dir.hp { border-color: #bcd3f3; background: #f7faff; }
.gd-dir-hd { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; margin-bottom: 8px; }
.gd-dir-hd h4 { margin: 0 !important; font-size: 19px; }
.gd-dir-hd span { flex: 0 0 auto; font-size: 14px; color: var(--mut); }
.gd-dir p { font-size: 16px; line-height: 1.65; margin-bottom: 10px; }
.gd-dir-prod { color: var(--ink2); }
.gd-dir-link { margin-top: auto; font-size: 15px; font-weight: 600; }


/* Hiner-pack featured supplier */
.gd-hp { margin: 8px 0 30px; padding: 30px 32px 24px; border: 2px solid var(--b); border-radius: 12px; background: linear-gradient(180deg, #f3f8ff 0%, #fff 60%); }
.gd-hp-hd { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 14px; }
.gd-hp-tag { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: #fff; background: var(--b); border-radius: 4px; padding: 3px 10px; margin-bottom: 10px; }
.gd-hp-hd h4 { margin: 0 0 4px !important; font-size: 28px !important; line-height: 1.25; color: var(--ink); }
.gd-hp-hd h4 small { display: block; font-size: 16px; font-weight: 400; color: var(--mut); margin-top: 4px; }
.gd-hp-loc { margin: 6px 0 0 !important; font-size: 15.5px; color: var(--ink2); }
.gd-hp-hd .gd-btn { flex: 0 0 auto; }
.gd-hp-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 0 !important; margin: 18px 0 22px !important; }
.gd-hp-stats li { list-style: none !important; margin: 0 !important; background: #fff; border: 1px solid #cfe0f6; border-top: 3px solid var(--b); border-radius: 8px; padding: 14px 14px 12px; text-align: center; }
.gd-hp-stats b { display: block; font-family: 'Din', 'Rubik-Regular', sans-serif; font-size: 30px; line-height: 1.15; color: var(--b); }
.gd-hp-stats span { display: block; margin-top: 4px; font-size: 14.5px; line-height: 1.45; color: var(--mut); }
.gd-hp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gd-hp-grid h5 { font-size: 17px; font-weight: 600; color: var(--b); margin: 0 0 8px; padding-bottom: 6px; border-bottom: 1px solid #d6e4f7; }
.gd-hp-grid ul { padding-left: 18px !important; margin: 0 !important; }
.gd-hp-grid li { font-size: 15.5px; line-height: 1.6; margin-bottom: 6px !important; }
.gd-hp .gd-src { margin: 14px 0 10px !important; }
.gd-hp-links { display: flex; flex-wrap: wrap; gap: 10px; padding: 0 !important; margin: 0 !important; }
.gd-hp-links li { list-style: none !important; margin: 0 !important; }
.gd-hp-links a { display: inline-block; padding: 7px 16px; border: 1px solid var(--b); border-radius: 20px; font-size: 15px; text-decoration: none !important; }
.gd-hp-links a:hover { background: var(--b); color: #fff !important; }
.gd-dir-sub { font-size: 19px !important; margin: 6px 0 12px !important; color: var(--ink2) !important; }
@media (max-width: 1280px) { .gd-hp-grid { grid-template-columns: 1fr; gap: 14px; } }
@media (max-width: 767px) {
  .gd-hp { padding: 20px 18px 16px; }
  .gd-hp-hd { flex-direction: column; }
  .gd-hp-hd h4 { font-size: 22px !important; }
  .gd-hp-stats { grid-template-columns: 1fr 1fr; }
  .gd-hp-stats b { font-size: 24px; }
}

/* cta */
.gd-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 30px 0 6px; padding: 24px 28px; border-radius: 10px; background: linear-gradient(135deg, #013a86, #0252bb); color: #fff; }
.gd-cta p { margin: 0 !important; font-size: 18px; }
.gd-cta .gd-btns { flex: 0 0 auto; }

/* checklist */
.gd-check { padding: 0 !important; }
.gd-check li { list-style: none !important; margin: 0 0 8px !important; }
.gd-check label { display: flex; gap: 14px; align-items: flex-start; padding: 12px 16px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; font-size: 17px; line-height: 1.6; }
.gd-check label:hover { background: #fafcff; }
.gd-check input { width: 20px; height: 20px; margin-top: 4px; accent-color: var(--b); flex: 0 0 auto; }
.gd-check input:checked + span { color: var(--mut); text-decoration: line-through; }
.gd-score { display: flex; align-items: center; gap: 18px; margin-top: 16px; padding: 16px 22px; background: var(--bs); border-radius: 8px; }
.gd-score b { font-family: 'Din', sans-serif; font-size: 30px; color: var(--b); }

/* question index */
.gd-qidx { columns: 2; column-gap: 32px; padding: 0 !important; }
.gd-qidx li { list-style: none !important; break-inside: avoid; padding: 8px 0 8px 18px; margin: 0 !important; border-bottom: 1px dashed var(--line); position: relative; font-size: 16.5px; }
.gd-qidx li::before { content: "›"; position: absolute; left: 2px; color: var(--b); font-weight: 700; }

/* faq */
.gd-faqs { display: grid; gap: 12px; }
.gd-faq { border: 1px solid var(--line); border-radius: 10px; background: #fff; scroll-margin-top: 160px; }
.gd-faq[open] { border-color: #b9cbe6; box-shadow: 0 8px 22px rgba(2, 82, 187, .07); }
.gd-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 18px 24px; }
.gd-faq summary::-webkit-details-marker { display: none; }
.gd-faq summary h3 { flex: 1; margin: 0 !important; font-size: 19px !important; line-height: 1.45 !important; }
.gd-faq[open] summary h3 { color: var(--b); }
.gd-faq summary i { flex: 0 0 28px; height: 28px; border-radius: 50%; background: var(--bs); position: relative; transition: transform .25s, background .25s; }
.gd-faq summary i::before, .gd-faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--b); transform: translate(-50%, -50%); }
.gd-faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.gd-faq[open] summary i { background: var(--b); transform: rotate(180deg); }
.gd-faq[open] summary i::before { background: #fff; }
.gd-faq[open] summary i::after { opacity: 0; }
.gd-faq > div { margin: 0 24px; padding: 16px 0 18px; border-top: 1px dashed var(--line); color: var(--ink2); }
.gd-faq > div p:last-child { margin-bottom: 0; }

/* glossary */
.gd-gloss { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; margin: 0; }
.gd-gloss div { padding: 12px 0; border-bottom: 1px dashed var(--line); }
.gd-gloss dt { font-weight: 600; color: var(--b); margin-bottom: 2px; }
.gd-gloss dd { margin: 0; font-size: 16px; color: var(--ink2); }

/* references */
.gd-refs { font-size: 15px; line-height: 1.6; padding-left: 34px !important; }
.gd-refs li { margin-bottom: 9px !important; padding-left: 4px; word-break: break-word; scroll-margin-top: 160px; }
.gd-refs li:target { background: #fff6dc; }
.gd-refs li span { color: var(--mut); }

/* about */
.gd-author { padding: 20px 24px; border-radius: 10px; background: var(--bs); margin-bottom: 22px; }
.gd-author b { font-size: 18px; color: var(--b); }
.gd-author p { margin: 6px 0 0 !important; font-size: 16px; }
.gd #about h4 { margin-top: 20px; }

/* mobile toc + top */
.gd-toc-btn { display: none; }
.gd-drawer { display: none; }
.gd-top { position: fixed; right: 22px; bottom: 96px; width: 46px; height: 46px; line-height: 44px; text-align: center; border-radius: 50%; background: var(--b); color: #fff !important; font-size: 22px; text-decoration: none !important; opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 80; box-shadow: 0 6px 16px rgba(2, 82, 187, .3); }
.gd-top.show { opacity: 1; pointer-events: auto; }

/* ---------- responsive ---------- */
@media (max-width: 1280px) {
  .gd-hero-in { grid-template-columns: 1fr; gap: 32px; }
  .gd-layout { grid-template-columns: 280px minmax(0, 1fr); }
  .gd-article { padding: 40px 36px 24px; }
  .gd-dir-list, .gd-points { grid-template-columns: 1fr; }
  .gd-flow { grid-template-columns: repeat(3, 1fr); row-gap: 2px; }
  .gd-flow span:nth-child(3) { border-radius: 0 8px 8px 0; }
  .gd-flow span:nth-child(4) { border-radius: 8px 0 0 8px; }
}
@media (max-width: 1024px) {
  .gd-layout { grid-template-columns: 1fr; }
  .gd-toc { display: none; }
  .gd-toc-btn { display: block; position: fixed; left: 50%; transform: translateX(-50%); bottom: 18px; z-index: 95; padding: 11px 26px; border: 0; border-radius: 24px; background: var(--b); color: #fff; font: inherit; font-size: 16px; font-weight: 600; box-shadow: 0 8px 20px rgba(2, 82, 187, .35); cursor: pointer; }
  .gd-drawer { display: block; position: fixed; inset: 0; z-index: 1000; visibility: hidden; }
  .gd-drawer.open { visibility: visible; }
  .gd-drawer-mask { position: absolute; inset: 0; background: rgba(10, 20, 40, .45); opacity: 0; transition: opacity .25s; }
  .gd-drawer.open .gd-drawer-mask { opacity: 1; }
  .gd-drawer-panel { position: absolute; left: 0; right: 0; bottom: 0; max-height: 78vh; overflow-y: auto; background: #fff; border-radius: 16px 16px 0 0; padding: 6px 0 20px; transform: translateY(100%); transition: transform .25s; }
  .gd-drawer.open .gd-drawer-panel { transform: none; }
  .gd-drawer-hd { display: flex; justify-content: space-between; align-items: center; padding: 14px 22px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; }
  .gd-drawer-hd button { border: 0; background: none; font-size: 30px; line-height: 1; cursor: pointer; color: var(--mut); }
  .gd-top { bottom: 80px; }
}
@media (max-width: 767px) {
  .gd { font-size: 16px; }
  .gd-hero { padding: 32px 0 38px; }
  .gd-hero h1 { font-size: 28px; }
  .gd-intro { font-size: 16px; }
  .gd-btn { padding: 11px 20px; font-size: 15px; }
  .gd-hero-side { padding: 18px 18px; }
  .gd-kf b { font-size: 26px; }
  .gd-kf span { font-size: 13px; }
  .gd-chapnav { top: 60px; }
  .gd-chapnav a { padding: 13px 12px 11px; font-size: 14px; }
  .gd-layout { padding-top: 20px; padding-bottom: 70px; }
  .gd-article { padding: 26px 18px 10px; border-radius: 8px; }
  .gd-abstract, .gd-ch, .gd-ch h3, .gd-faq, .gd-refs li { scroll-margin-top: 130px; }
  .gd-ch-hd h2 { font-size: 23px; }
  .gd-ch-hd span { min-width: 42px; height: 36px; line-height: 36px; font-size: 18px; }
  .gd-ch h3 { font-size: 19px; margin-top: 30px; }
  .gd-lead, .gd-def { font-size: 16.5px; }
  .gd-tbl { font-size: 14.5px; }
  .gd-tbl th, .gd-tbl td { padding: 10px 12px; }
  .gd-tbl tbody th { min-width: 120px; }
  .gd-steps > li { padding: 16px 16px 4px 64px; }
  .gd-steps > li::before { left: 14px; width: 34px; height: 34px; line-height: 34px; font-size: 17px; }
  .gd-flow { grid-template-columns: 1fr 1fr; }
  .gd-flow span { border-radius: 0 !important; }
  .gd-grid2, .gd-gloss { grid-template-columns: 1fr; }
  .gd-qidx { columns: 1; }
  .gd-cta { flex-direction: column; align-items: flex-start; padding: 20px; }
  .gd-faq summary { padding: 14px 16px; }
  .gd-faq summary h3 { font-size: 16px !important; }
  .gd-faq > div { margin: 0 16px; }
  .gd-top { right: 14px; }
}
