/* 蝦皮導外風險檢測下載頁 /tools/shopee-guard（src/shopee-guard-page.js），沿用 boss.css 的 bx- 變數與按鈕 */
.sg{color:var(--bx-ink)}
.sg h2{margin:0 0 10px;font-size:clamp(24px,3vw,34px);font-weight:900;color:var(--bx-navy)}
.sg code{padding:1px 6px;border-radius:6px;background:var(--bx-cream-2);font-size:.92em}
.sg-hero{padding:56px 0 44px;background:radial-gradient(800px 320px at 30% 0,rgba(233,170,50,.16),transparent 70%)}
.sg-hero-in{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:40px;align-items:center}
.sg-tag{display:inline-block;margin:0 0 14px;padding:6px 14px;border-radius:999px;background:var(--bx-yellow-l);color:var(--bx-gold-ink);font-weight:900;font-size:14px}
.sg-hero h1{margin:0 0 14px;font-size:clamp(28px,3.8vw,46px);line-height:1.3;font-weight:900;color:var(--bx-navy)}
.sg-lead{margin:0 0 22px;font-size:18px;line-height:1.8;color:var(--bx-ink-2)}
.sg-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px 16px}
.sg-actions.is-center{justify-content:center;margin-top:24px}
.sg-meta{font-size:14px;color:var(--bx-muted);font-weight:700}
.sg-points{list-style:none;display:flex;flex-wrap:wrap;gap:8px 18px;margin:20px 0 0;padding:0;font-weight:700;color:var(--bx-ink-2)}
.sg-points li::before{content:"✓ ";color:var(--bx-green);font-weight:900}
.sg-hero-card{display:flex;flex-direction:column;align-items:center;gap:4px;padding:28px 24px;border-radius:var(--bx-r-lg);background:var(--bx-card);border:2px solid #fff;box-shadow:var(--bx-shadow-lg,var(--bx-shadow));text-align:center}
.sg-hero-card img{width:96px;height:96px;border-radius:22px;margin-bottom:8px}
.sg-hero-card b{font-size:20px;color:var(--bx-navy)}
.sg-hero-card>span{color:var(--bx-ink-2);font-weight:700}
.sg-demo{display:grid;gap:8px;width:100%;margin-top:16px;text-align:left}
.sg-demo p{display:flex;align-items:center;gap:8px;margin:0;padding:10px 12px;border-radius:12px;font-weight:900;font-size:14px}
.sg-demo em{font-style:normal;font-weight:700;color:var(--bx-ink-2);margin-left:auto;text-align:right}
.sg i{flex:none;display:inline-block;width:10px;height:10px;border-radius:50%}
.sg .is-red{background:#FBEDE7}.sg .is-red i{background:#D0453A}
.sg .is-yellow{background:#FBF3DF}.sg .is-yellow i{background:var(--bx-yellow)}
.sg .is-blue{background:#E9EFF6}.sg .is-blue i{background:var(--bx-navy)}
.sg .is-green{background:#EDF3EE}.sg .is-green i{background:var(--bx-green)}
.sg-sec{padding:52px 0}
.sg-sec.is-cream{background:var(--bx-cream)}
.sg-sub{margin:0 0 24px;max-width:780px;line-height:1.8;color:var(--bx-ink-2)}
.sg-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.sg-card{padding:22px;border-radius:var(--bx-r);background:var(--bx-card);border:1px solid var(--bx-line);box-shadow:var(--bx-shadow)}
.sg-card h3{margin:12px 0 6px;font-size:18px;font-weight:900;color:var(--bx-navy)}
.sg-card p{margin:0;line-height:1.75;color:var(--bx-ink-2)}
.sg-ic{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:14px;background:var(--bx-yellow-l);color:var(--bx-gold-ink)}
.sg-ic .bx-ic,.sg-ic svg{width:22px;height:22px}
.sg-fine{margin:18px 0 0;font-size:14px;line-height:1.7;color:var(--bx-muted)}
.sg-fine.is-center{text-align:center}
.sg-steps{list-style:none;margin:20px 0 0;padding:0;display:grid;gap:12px;max-width:820px}
.sg-steps li{display:grid;grid-template-columns:44px 1fr;gap:14px;align-items:start;padding:16px 18px;border-radius:var(--bx-r-sm);background:var(--bx-card);border:1px solid var(--bx-line)}
.sg-steps em{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:var(--bx-navy);color:#fff;font-style:normal;font-weight:900;font-size:18px}
.sg-steps b{font-size:17px;color:var(--bx-navy)}
.sg-steps p{margin:4px 0 0;line-height:1.7;color:var(--bx-ink-2)}
.sg-levels{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:20px}
.sg-level{padding:18px;border-radius:var(--bx-r-sm)}
.sg-level b{display:flex;align-items:center;gap:8px;font-size:17px}
.sg-level p{margin:8px 0 0;line-height:1.7;color:var(--bx-ink-2);font-size:15px}
.sg-level .sg-do{font-weight:700;color:var(--bx-ink)}
.sg-h2b{margin-top:40px!important}
.sg-flow{list-style:none;margin:16px 0 0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.sg-flow li{padding:16px 18px;border-radius:var(--bx-r-sm);border:1px solid var(--bx-line);line-height:1.7;color:var(--bx-ink-2)}
.sg-flow b{display:block;color:var(--bx-navy);font-size:16px}
.sg-faq{display:grid;gap:10px;margin-top:18px;max-width:860px}
.sg-faq details{padding:16px 20px;border-radius:var(--bx-r-sm);background:var(--bx-card);border:1px solid var(--bx-line)}
.sg-faq summary{cursor:pointer;font-weight:900;color:var(--bx-navy)}
.sg-faq p{margin:10px 0 0;line-height:1.75;color:var(--bx-ink-2)}
.sg-final{padding:56px 0;text-align:center;background:var(--bx-navy);color:#fff}
.sg-final h2{color:#fff}
.sg-final p{margin:0;opacity:.85;font-size:17px}
.sg-legal{padding:32px 0 48px}
.sg-legal p{margin:0 0 10px;font-size:13px;line-height:1.8;color:var(--bx-muted)}
.sg-legal a{color:inherit;text-decoration:underline}
@media(max-width:900px){.sg-hero-in{grid-template-columns:1fr}.sg-grid{grid-template-columns:1fr 1fr}.sg-levels{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.sg-hero{padding:36px 0 28px}.sg-lead{font-size:16px}.sg-grid,.sg-levels,.sg-flow{grid-template-columns:1fr}.sg-sec{padding:38px 0}.sg-actions .bx-btn{width:100%}.sg-actions{flex-direction:column;align-items:stretch;text-align:center}}
/* 2026-10-28 頁面最上面的教學影片 */
.sg-video{padding:32px 0 0}
.sg-video-box{position:relative;max-width:960px;margin:0 auto;aspect-ratio:16/9;border-radius:var(--bx-r-lg);overflow:hidden;background:#000;box-shadow:var(--bx-shadow-lg,var(--bx-shadow))}
.sg-video-box iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.sg-video-cap{max-width:960px;margin:12px auto 0;text-align:center;font-weight:700;color:var(--bx-ink-2)}
.sg-video+.sg-hero{padding-top:40px}
@media(max-width:620px){.sg-video{padding-top:18px}.sg-video-box{border-radius:var(--bx-r-sm)}.sg-video-cap{font-size:14px}}
/* 下載前註冊視窗（2026-10-28）：外框沿用 boss.css .gx-modal */
.sg-gate{position:relative}
.sg-gate img{display:block;margin:0 auto 8px;border-radius:14px}
.sg-gate-p{margin:0 0 18px;color:var(--bx-muted);line-height:1.7}
.sg-gate-login{margin:14px 0 0;font-size:14px;color:var(--bx-muted)}
.sg-gate-login a{color:var(--bx-navy);font-weight:700}
.sg-gate-x{position:absolute;top:8px;right:12px;border:0;background:none;font-size:26px;line-height:1;color:var(--bx-muted);cursor:pointer}

/* 2026-11-02 v1.2.0：圖片檢測（OCR）新功能區塊、NEW 標籤、更新紀錄 */
.sg-new-tag{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:-4px 0 14px;font-weight:700;color:var(--bx-ink-2);font-size:15px}
.sg-new-tag b,.sg-kicker b{display:inline-block;padding:2px 8px;border-radius:6px;background:#D0453A;color:#fff;font-size:12px;font-weight:900;letter-spacing:.06em}
.sg-ocr{background:linear-gradient(180deg,#fff,var(--bx-cream) 140%);border-top:1px solid var(--bx-line)}
.sg-kicker{display:flex;align-items:center;gap:8px;margin:0 0 10px;font-weight:900;color:#D0453A}
.sg-ocr-in{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.sg-ocr-col{padding:22px;border-radius:var(--bx-r);background:var(--bx-card);border:1px solid var(--bx-line);box-shadow:var(--bx-shadow);min-width:0}
.sg-ocr-col h3{display:flex;align-items:center;gap:10px;margin:0 0 12px;font-size:18px;font-weight:900;color:var(--bx-navy)}
.sg-ocr-col h3 .bx-ic{flex:none;width:36px;height:36px;padding:8px;border-radius:12px;background:var(--bx-yellow-l);color:var(--bx-gold-ink)}
.sg-ocr-list{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.sg-ocr-list li{padding-top:12px;border-top:1px dashed var(--bx-line)}
.sg-ocr-list li:first-child{padding-top:0;border-top:0}
.sg-ocr-list b{color:var(--bx-navy);font-size:16px}
.sg-ocr-list p{margin:4px 0 0;line-height:1.75;color:var(--bx-ink-2)}
.sg-ocr-list.is-num li{display:grid;grid-template-columns:32px 1fr;gap:12px;align-items:start}
.sg-ocr-list.is-num em{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;background:var(--bx-navy);color:#fff;font-style:normal;font-weight:900}
.sg-log{list-style:none;margin:16px 0 0;padding:0;display:grid;gap:8px;max-width:860px}
.sg-log li{display:grid;grid-template-columns:72px 100px minmax(0,1fr);gap:4px 12px;align-items:baseline;padding:12px 16px;border-radius:var(--bx-r-sm);background:var(--bx-card);border:1px solid var(--bx-line)}
.sg-log b{color:var(--bx-navy);font-weight:900}
.sg-log time{font-size:14px;color:var(--bx-muted);font-variant-numeric:tabular-nums}
.sg-log p{margin:0;line-height:1.7;color:var(--bx-ink-2)}
.sg-log li:first-child{border-color:#E9B7A9;background:#FFF8F5}
@media(max-width:900px){.sg-ocr-in{grid-template-columns:1fr}}
@media(max-width:620px){.sg-log li{grid-template-columns:auto 1fr}.sg-log p{grid-column:1/-1}}

.sg-steps ul{margin:6px 0 0;padding-left:20px;line-height:1.8;color:var(--bx-ink-2)}
.sg-steps ul li{display:list-item;padding:0;border:0;background:none;border-radius:0}
.sg-update{padding-top:0!important}

/* 2026-11-02 蝦皮免費數據營收檢測（coachpink.net）：頁中卡片＋頁尾 */
.sg-coach{margin-top:36px;display:grid;grid-template-columns:auto 1fr auto;gap:20px 24px;align-items:center;padding:24px 28px;border-radius:var(--bx-r);background:var(--bx-navy);color:#fff;box-shadow:var(--bx-shadow-lg);position:relative;overflow:hidden}
.sg-coach::after{content:"";position:absolute;right:-60px;top:-60px;width:200px;height:200px;border-radius:50%;background:rgba(233,170,50,.14);pointer-events:none}
.sg-coach-ic{width:56px;height:56px;border-radius:16px;background:var(--bx-yellow);color:var(--bx-ink);display:flex;align-items:center;justify-content:center}
.sg-coach-ic svg{width:30px;height:30px}
.sg-coach-k{margin:0 0 4px;font-size:13px;font-weight:700;letter-spacing:.06em;color:var(--bx-yellow)}
.sg-coach h3{margin:0;font-size:22px;line-height:1.35;color:#fff}
.sg-coach-txt p:last-child{margin:6px 0 0;line-height:1.7;opacity:.88}
.sg-coach-go{display:flex;flex-direction:column;align-items:center;gap:8px;position:relative;z-index:1}
.sg-coach-go small{font-size:12px;opacity:.65}
.sg-final-alt{margin:22px 0 0!important;font-size:15px!important;opacity:.8!important}
.sg-final-alt a{color:#fff;text-decoration:underline;text-underline-offset:3px}
.sg-final-alt a svg{width:14px;height:14px;vertical-align:-2px}
@media(max-width:760px){.sg-coach{grid-template-columns:1fr;padding:22px 20px;text-align:left}.sg-coach-ic{width:46px;height:46px}.sg-coach-go{align-items:stretch;text-align:center}.sg-coach-go .bx-btn{width:100%;justify-content:center}}

/* 導外頁自己有頁中卡片＋頁尾預約，全站橫幅在這頁不重複出現 */
.bx-coach-band{display:none}
