/* 安装引导的操作演示：浏览器、访达、文件选择框都用代码绘制，始终是浅色，和 macOS Chrome 的真实界面对应 */
.ga{margin-top:4px}
.ga-fit{position:relative;width:100%;border-radius:10px;overflow:hidden;background:linear-gradient(180deg,#e9eef5,#dfe6ef)}
:root[data-theme=dark] .ga-fit{background:linear-gradient(180deg,#1c2330,#151a23)}
.ga-stage{position:absolute;left:0;top:0;width:960px;height:540px;transform-origin:0 0;transition:opacity .35s;
  --fg:#1f1f1f;--fg-2:#444746;--fg-3:#5f6368;--fg-4:#80868b;--line:#e3e3e3;--blue:#0b57d0;--blue-2:#a8c7fa;--blue-bg:#d3e3fd;
  color:var(--fg);font:13px/1.45 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color-scheme:light;text-align:left}
.ga-stage.fade{opacity:0}
.ga-stage.ff *,.ga-stage.ff{transition:none!important;animation:none!important}
.ga-stage svg{display:block}
/* 右上角：暂停 / 从头播放 */
.ga-ctl{position:absolute;right:12px;top:12px;z-index:2;display:flex;gap:6px}
.ga-ctl button{width:32px;min-height:32px;padding:0;border-radius:99px;border:0;background:rgba(15,23,42,.62);color:#fff;backdrop-filter:blur(6px)}
.ga-ctl button:hover{background:rgba(15,23,42,.8)}
/* 字幕：当前这一下在做什么 */
.ga-sub{position:absolute;left:50%;bottom:16px;z-index:2;max-width:calc(100% - 32px);transform:translateX(-50%);margin:0;padding:7px 14px;border-radius:99px;background:rgba(15,23,42,.82);color:#fff;font-size:14px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;backdrop-filter:blur(6px)}
.ga-sub:empty{display:none}
.ga-sub.in{animation:ga-sub .25s ease-out}
@keyframes ga-sub{from{opacity:0;transform:translate(-50%,4px)}}
/* 四段：进度条 + 这一步要做的事 */
.ga-steps{list-style:none;margin:16px 0 0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.ga-step{display:flex;flex-direction:column;gap:8px;min-width:0}
.ga-step .seg{all:unset;display:flex;flex-direction:column;gap:10px;cursor:pointer;border-radius:6px}
.ga-step .seg:focus-visible{outline:2px solid var(--blue);outline-offset:4px}
.ga-step .track{display:block;height:3px;border-radius:2px;background:var(--line);overflow:hidden}
.ga-step .fill{display:block;height:100%;background:var(--fg-4);transform:scaleX(0);transform-origin:0 0}
.ga-step.on .fill{background:linear-gradient(90deg,var(--gold),var(--gold-2))}
.ga-step .t{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:500;color:var(--fg-3)}
.ga-step .t b{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;border:1px solid var(--line-2);font:12px var(--mono);color:var(--fg-3)}
.ga-step .seg:hover .t,.ga-step.on .t{color:var(--fg)}
.ga-step.on .t b{background:var(--fg);border-color:var(--fg);color:var(--bg)}
.ga-step>p{margin:0;font-size:13px;line-height:1.65;color:var(--fg-3)}
.ga-step .acts{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;font-size:13px}
.ga-step .acts .primary,.ga-step .acts button{min-height:32px;padding:0 12px;font-size:13px}
.ga-step .st{margin:0;font-size:12px;color:var(--fg-3)}.ga-step .st:empty{display:none}
[data-a=play] .pl{display:none;fill:currentColor}[data-a=play].paused .pl{display:inline}[data-a=play].paused .ps{display:none}

/* ---- Chrome 窗口 ---- */
.ga-stage .cw{position:absolute;left:24px;top:22px;right:24px;bottom:22px;border-radius:12px;overflow:hidden;background:#fff;box-shadow:0 0 0 1px rgba(0,0,0,.12),0 18px 50px -10px rgba(15,23,42,.35)}
.ga-stage .cw .strip{height:38px;background:#dde3ea;display:flex;align-items:flex-end;gap:12px;padding:0 12px}
.ga-stage .lights{display:flex;gap:7px;align-self:center}.ga-stage .lights i{width:12px;height:12px;border-radius:50%;background:#ff5f57}.ga-stage .lights i:nth-child(2){background:#febc2e}.ga-stage .lights i:nth-child(3){background:#28c840}
.ga-stage .cw .tab{display:flex;align-items:center;gap:8px;height:30px;width:220px;padding:0 12px;border-radius:9px 9px 0 0;background:#fff;font-size:12px;color:var(--fg-2);white-space:nowrap;overflow:hidden}
.ga-stage .cw .tab .fav{width:16px;height:16px;flex:none;border-radius:4px;display:grid;place-items:center;font-size:10px;color:#fff;background:#0f766e}
.ga-stage .cw .tab .fav.ext{background:none}.ga-stage .cw .tab .fav svg{width:16px;height:16px;fill:#5f6368}
.ga-stage .cw .tab .fav.brand{background:none}.ga-stage .cw .tab .fav.brand img{width:16px;height:16px}
.ga-stage .cw .tb{height:40px;display:flex;align-items:center;gap:6px;padding:0 10px;border-bottom:1px solid var(--line);background:#fff}
.ga-stage .ib{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;flex:none;position:relative;transition:background .15s}
.ga-stage .ib svg{width:16px;height:16px;fill:none;stroke:#5f6368;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.ga-stage .ib.hov{background:#e8eaed}
.ga-stage .ib.ft{width:0;opacity:0;overflow:hidden;transition:width .3s,opacity .3s}.ga-stage .ib.ft.in{width:28px;opacity:1}
.ga-stage .ib.ft img{width:18px;height:18px}
.ga-stage .omni{flex:1;height:30px;border-radius:99px;background:#eef1f5;display:flex;align-items:center;gap:8px;padding:0 14px;font-size:13px;color:var(--fg);margin:0 6px;transition:background .15s,box-shadow .15s}
.ga-stage .omni svg{width:13px;height:13px;fill:none;stroke:#5f6368;stroke-width:1.5;flex:none}
.ga-stage .omni.focus{background:#fff;box-shadow:0 0 0 2px var(--blue)}
.ga-stage .omni .ph{color:var(--fg-4)}
.ga-stage .caret{display:inline-block;width:1px;height:15px;background:var(--fg);margin-left:1px;vertical-align:-3px;animation:ga-blink 1s steps(1) infinite}
@keyframes ga-blink{50%{opacity:0}}
.ga-stage .cw .pg{position:absolute;left:0;right:0;top:79px;bottom:0;overflow:hidden;background:#fff}

/* 下载进度：工具栏图标外圈转一圈后出现下载气泡 */
.ga-stage .ib .ring{position:absolute;inset:3px;border-radius:50%;border:2px solid transparent;border-top-color:var(--blue);opacity:0}
.ga-stage .ib.busy .ring{opacity:1;animation:ga-spin .6s linear infinite}
.ga-stage .ib.done svg{stroke:var(--blue)}
@keyframes ga-spin{to{transform:rotate(360deg)}}
.ga-stage .bubble{position:absolute;right:58px;top:76px;width:300px;background:#fff;border-radius:10px;box-shadow:0 0 0 1px rgba(0,0,0,.08),0 8px 24px rgba(0,0,0,.18);padding:12px 14px;animation:ga-pop .2s ease-out;z-index:6}
.ga-stage .bubble b{display:block;font-size:13px;margin-bottom:8px}
.ga-stage .bubble .row{display:flex;align-items:center;gap:10px}
.ga-stage .bubble .zip{width:28px;height:34px;flex:none}
.ga-stage .bubble small{display:block;color:var(--fg-3);font-size:12px}
@keyframes ga-pop{from{opacity:0;transform:translateY(-4px) scale(.98)}}

/* 闪电投安装页（第 1 步的网页） */
.ga-stage .site-mini{height:100%;background:#fafafa}
.ga-stage .site-mini .top{height:48px;display:flex;align-items:center;padding:0 28px;border-bottom:1px solid #eaeaea;background:#fff}
.ga-stage .site-mini .top img{height:20px}
.ga-stage .site-mini .hero{max-width:640px;margin:48px auto 0;display:flex;align-items:center;gap:16px;background:#fff;border:1px solid #eaeaea;border-radius:10px;padding:22px 24px}
.ga-stage .site-mini .hero img{width:44px;height:44px}
.ga-stage .site-mini .hero div{flex:1}.ga-stage .site-mini .hero h3{margin:0 0 4px;font-size:17px}.ga-stage .site-mini .hero p{margin:0;color:#666;font-size:13px}
.ga-stage .site-mini .dlb{background:#171717;color:#fff;border-radius:6px;padding:8px 14px;font-weight:500;white-space:nowrap;transition:transform .1s}
.ga-stage .site-mini .lines{max-width:640px;margin:20px auto 0;display:flex;flex-direction:column;gap:10px}
.ga-stage .site-mini .lines i{height:12px;border-radius:6px;background:#efefef}.ga-stage .site-mini .lines i:nth-child(2){width:80%}.ga-stage .site-mini .lines i:nth-child(3){width:60%}

/* ---- 访达窗口 ---- */
.ga-stage .fw{position:absolute;left:150px;top:90px;width:660px;height:380px;border-radius:12px;background:#fff;overflow:hidden;box-shadow:0 0 0 1px rgba(0,0,0,.14),0 24px 60px -8px rgba(15,23,42,.45);display:grid;grid-template-columns:170px 1fr;grid-template-rows:52px 1fr;animation:ga-win .3s ease-out;z-index:5}
@keyframes ga-win{from{opacity:0;transform:translateY(10px) scale(.98)}}
.ga-stage .fw .side{grid-row:1/3;background:#f2f2f4;border-right:1px solid #e2e2e4;padding:14px 10px}
.ga-stage .fw .side .lights{margin:2px 4px 18px}
.ga-stage .fw .side small{display:block;font-size:11px;color:#8e8e93;font-weight:600;margin:0 8px 4px}
.ga-stage .fw .side span{display:flex;align-items:center;gap:8px;padding:5px 8px;border-radius:6px;font-size:13px;color:#3a3a3c}
.ga-stage .fw .side span svg{width:15px;height:15px;fill:none;stroke:#2f7cf6;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.ga-stage .fw .side span.on{background:#dcdce0}
.ga-stage .fw .head{display:flex;align-items:center;gap:14px;padding:0 16px;border-bottom:1px solid #ececee;font-weight:600;font-size:14px}
.ga-stage .fw .head .nav{display:flex;gap:10px;color:#9a9aa0;font-weight:400}
.ga-stage .fw .files{display:flex;align-items:flex-start;gap:26px;padding:22px 26px}
.ga-stage .file{width:92px;display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;font-size:12px;color:#1d1d1f;border-radius:6px}
.ga-stage .file .ico{width:64px;height:64px;display:grid;place-items:center;border-radius:6px}
.ga-stage .file .ico svg{width:56px;height:56px}
.ga-stage .file span{padding:1px 5px;border-radius:4px;line-height:1.35;word-break:break-all}
.ga-stage .file.sel .ico{background:#e5e5ea}.ga-stage .file.sel span{background:#2f7cf6;color:#fff}
.ga-stage .file.new{animation:ga-pop .35s ease-out}

/* ---- 扩展管理页（Chrome 浅色） ---- */
.ga-stage .xp{height:100%;background:#f8fafd;display:flex;flex-direction:column}
.ga-stage .xp .hd{height:56px;flex:none;display:flex;align-items:center;gap:16px;padding:0 18px;background:#fff;border-bottom:1px solid var(--line)}
.ga-stage .xp .hd svg{width:18px;height:18px;fill:none;stroke:#5f6368;stroke-width:1.8;stroke-linecap:round}
.ga-stage .xp .hd b{font-size:20px;font-weight:500;min-width:200px}
.ga-stage .xp .search{flex:0 1 420px;height:36px;border-radius:99px;background:#eef1f5;display:flex;align-items:center;gap:10px;padding:0 14px;color:var(--fg-4)}
.ga-stage .xp .search svg{width:15px;height:15px;stroke-width:1.6}
.ga-stage .xp .dev{margin-left:auto;display:flex;align-items:center;gap:12px;color:var(--fg-2)}
.ga-stage .tg{width:36px;height:14px;border-radius:7px;background:#c4c7c5;position:relative;transition:background .2s}
.ga-stage .tg:after{content:"";position:absolute;left:-2px;top:-3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.35);transition:transform .2s,background .2s}
.ga-stage .tg.on{background:var(--blue-2)}.ga-stage .tg.on:after{transform:translateX(20px);background:var(--blue)}
.ga-stage .xp .bar{height:0;flex:none;overflow:hidden;display:flex;align-items:center;gap:10px;padding:0 18px;background:#fff;border-bottom:1px solid transparent;transition:height .3s,border-color .3s}
.ga-stage .xp .bar.in{height:56px;border-color:var(--line)}
.ga-stage .xp .bar span{border:1px solid #c4c7c5;color:var(--blue);border-radius:99px;padding:6px 16px;font-weight:500;white-space:nowrap;transition:background .15s}
.ga-stage .xp .bar span.hov{background:#e8f0fe}
.ga-stage .xp .body{flex:1;position:relative;padding:24px}
.ga-stage .xp .empty{position:absolute;left:0;right:0;top:110px;text-align:center;color:var(--fg-3);font-size:14px}
.ga-stage .xp .empty u{color:var(--blue);text-decoration:none}
.ga-stage .card{width:400px;background:#fff;border-radius:10px;box-shadow:0 1px 2px rgba(0,0,0,.12),0 1px 3px 1px rgba(0,0,0,.06);animation:ga-pop .35s ease-out}
.ga-stage .card .top{display:flex;gap:16px;padding:18px 18px 12px}
.ga-stage .card .top img{width:40px;height:40px;flex:none}
.ga-stage .card .top b{font-size:14px;font-weight:500}.ga-stage .card .top b small{font-weight:400;color:var(--fg-3);margin-left:8px;font-size:13px}
.ga-stage .card .top p{margin:4px 0 6px;color:var(--fg-3);font-size:12.5px;line-height:1.5}
.ga-stage .card .top code{font:11.5px ui-monospace,Menlo,monospace;color:var(--fg-3)}
.ga-stage .card .ft{display:flex;align-items:center;gap:8px;padding:10px 18px 14px;border-top:1px solid var(--line)}
.ga-stage .card .ft span{border:1px solid #c4c7c5;color:var(--blue);border-radius:99px;padding:4px 14px;font-weight:500}
.ga-stage .card .ft .g{flex:1;border:0;padding:0}

/* 文件选择框（macOS） */
.ga-stage .sheet{position:absolute;left:170px;top:90px;width:620px;border-radius:12px;background:#fff;box-shadow:0 0 0 1px rgba(0,0,0,.14),0 24px 60px -8px rgba(15,23,42,.45);overflow:hidden;animation:ga-win .25s ease-out;z-index:5}
.ga-stage .sheet .tt{padding:14px 18px 10px;font-weight:600}
.ga-stage .sheet .path{display:flex;align-items:center;gap:10px;padding:0 18px 12px;border-bottom:1px solid #ececee}
.ga-stage .sheet .path span{display:flex;align-items:center;gap:6px;border:1px solid #d8d8dc;border-radius:6px;padding:3px 10px;font-size:12.5px}
.ga-stage .sheet .path svg{width:14px;height:14px}
.ga-stage .sheet .cols,.ga-stage .sheet .r{display:grid;grid-template-columns:1fr 110px 110px;gap:10px;align-items:center;padding:0 18px}
.ga-stage .sheet .cols{height:28px;font-size:11.5px;color:#8e8e93;border-bottom:1px solid #ececee}
.ga-stage .sheet .list{padding:6px 8px;min-height:150px}
.ga-stage .sheet .r{height:30px;border-radius:6px;padding:0 10px;font-size:13px;color:#1d1d1f}
.ga-stage .sheet .r .n{display:flex;align-items:center;gap:8px}.ga-stage .sheet .r svg{width:18px;height:18px}
.ga-stage .sheet .r small{color:#8e8e93;font-size:12px}
.ga-stage .sheet .r.dim{color:#b5b5ba}.ga-stage .sheet .r.dim svg{opacity:.45}
.ga-stage .sheet .r.sel{background:#2f7cf6;color:#fff}.ga-stage .sheet .r.sel small{color:#dbe8ff}
.ga-stage .sheet .bt{display:flex;justify-content:flex-end;gap:10px;padding:12px 18px 16px;border-top:1px solid #ececee}
.ga-stage .sheet .bt span{min-width:72px;text-align:center;border-radius:6px;padding:5px 14px;background:#e9e9ed;font-weight:500;transition:transform .1s}
.ga-stage .sheet .bt .pri{background:#2f7cf6;color:#fff}.ga-stage .sheet .bt .pri.off{opacity:.45}

/* 招聘网站（第 4 步，虚构） */
.ga-stage .job{height:100%;background:#f6f8f9}
.ga-stage .job .top{height:48px;display:flex;align-items:center;gap:22px;padding:0 28px;background:#fff;border-bottom:1px solid #e6e9ef;font-size:13px;color:#5b6577}
.ga-stage .job .top b{display:flex;align-items:center;gap:8px;color:#0f172a;font-size:15px}
.ga-stage .job .top b i{display:grid;place-items:center;width:24px;height:24px;border-radius:6px;background:#0f766e;color:#fff;font-size:13px;font-style:normal}
.ga-stage .job .form{max-width:640px;margin:26px auto 0;background:#fff;border:1px solid #e6e9ef;border-radius:10px;padding:20px 22px}
.ga-stage .job h3{margin:0 0 14px;font-size:16px}
.ga-stage .job .grid{display:grid;grid-template-columns:1fr 1fr;gap:12px 18px}
.ga-stage .job label{display:block;font-size:12px;color:#5b6577;margin-bottom:5px}
.ga-stage .job .inp{height:32px;border:1px solid #d3d8e1;border-radius:6px}

/* 扩展菜单（拼图图标） */
.ga-stage .xm{position:absolute;right:46px;top:76px;width:330px;background:#fff;border-radius:12px;box-shadow:0 0 0 1px rgba(0,0,0,.08),0 10px 30px rgba(0,0,0,.2);padding:14px 0 6px;animation:ga-pop .2s ease-out;z-index:6}
.ga-stage .xm .h{display:flex;align-items:center;padding:0 16px 10px;font-size:15px;font-weight:500}.ga-stage .xm .h span{margin-left:auto;color:#5f6368;font-size:16px;width:24px;height:24px;display:grid;place-items:center;border-radius:50%}
.ga-stage .xm .h span.hov{background:#e8eaed}
.ga-stage .xm small{display:block;padding:0 16px;font-size:12px;font-weight:600;color:var(--fg-2)}
.ga-stage .xm .sub{padding:0 16px 8px;font-size:12px;color:var(--fg-3)}
.ga-stage .xm .it{display:flex;align-items:center;gap:12px;padding:8px 16px}
.ga-stage .xm .it img{width:18px;height:18px}.ga-stage .xm .it b{flex:1;font-weight:400}
.ga-stage .xm .pin{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;transition:background .15s}
.ga-stage .xm .pin svg{width:16px;height:16px;fill:none;stroke:#5f6368;stroke-width:1.6;stroke-linejoin:round}
.ga-stage .xm .pin.hov{background:#e8eaed}
.ga-stage .xm .pin.on svg{fill:var(--blue);stroke:var(--blue)}
.ga-stage .xm .kb{color:#5f6368;font-size:16px;width:20px;text-align:center}
.ga-stage .xm .mg{display:flex;align-items:center;gap:12px;padding:10px 16px 8px;border-top:1px solid var(--line);margin-top:6px;color:var(--fg-2)}
.ga-stage .xm .mg svg{width:16px;height:16px;fill:none;stroke:#5f6368;stroke-width:1.5}

/* 闪电投工具栏弹窗：首次打开是登录页，与 extension/fill/popup.html 一致 */
.ga-stage .pp{position:absolute;right:70px;top:76px;width:340px;background:#fff;border-radius:10px;box-shadow:0 0 0 1px rgba(15,23,42,.1),0 12px 32px rgba(15,23,42,.2);overflow:hidden;font-size:14px;color:#0f172a;transform-origin:calc(100% - 20px) 0;animation:ga-pop .18s ease-out;z-index:6}
.ga-stage .pp .top{display:flex;align-items:center;gap:10px;padding:12px 14px;border-bottom:1px solid #e6e9ef}
.ga-stage .pp .top img{height:22px}.ga-stage .pp .top .g{flex:1}
.ga-stage .pp .top .av{width:30px;height:30px;border-radius:50%}
.ga-stage .pp .v{display:flex;flex-direction:column;gap:12px;padding:14px}
.ga-stage .pp h4{margin:6px 0 0;font-size:18px;font-weight:600;letter-spacing:-.02em}
.ga-stage .pp p{margin:0;color:#5b6577;font-size:13px}
.ga-stage .pp .go{display:flex;align-items:center;justify-content:center;min-height:38px;border-radius:8px;background:#0f172a;color:#fff;font-weight:500}

/* 光标：黑色箭头，点击时有蓝色波纹，双击时连续两次 */
.ga-stage .gc{position:absolute;left:0;top:0;z-index:20;width:24px;height:24px;pointer-events:none;opacity:0;transition:transform .6s cubic-bezier(.45,0,.2,1),opacity .25s}
.ga-stage .gc.on{opacity:1}
.ga-stage .gc svg{width:24px;height:24px;fill:#0f172a;stroke:#fff;stroke-width:1.4;stroke-linejoin:round;filter:drop-shadow(0 2px 3px rgba(0,0,0,.25))}
.ga-stage .gc i{position:absolute;left:-10px;top:-10px;width:24px;height:24px;border-radius:50%;background:rgba(59,142,240,.4);transform:scale(0);opacity:0}
.ga-stage .gc.click i{animation:ga-ripple .42s ease-out}
.ga-stage .gc.click2 i{animation:ga-ripple .26s ease-out 2}
@keyframes ga-ripple{from{transform:scale(.2);opacity:1}to{transform:scale(1.6);opacity:0}}
.ga-stage .press{transform:scale(.96)}


/* ---- 开始填写演示：弹窗的选简历页、网页上的泛光、状态条和闪电投光标（与扩展一致） ---- */
.ga-stage .job .inp{display:flex;align-items:center;padding:0 10px;font-size:13px;color:#0f172a;white-space:nowrap;overflow:hidden;transition:border-color .15s}
.ga-stage .job .inp.focus{border-color:#0f766e;box-shadow:0 0 0 3px rgba(15,118,110,.14)}
.ga-stage .job{position:relative}
.ga-stage .glow{position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 0 2px rgba(59,142,240,.8),inset 0 0 36px 14px rgba(59,142,240,.42),inset 0 0 110px 24px rgba(59,142,240,.16);animation:ga-glow 2.4s ease-in-out infinite}
@keyframes ga-glow{50%{box-shadow:inset 0 0 0 2px rgba(59,142,240,.55),inset 0 0 26px 10px rgba(59,142,240,.28),inset 0 0 90px 18px rgba(59,142,240,.1)}}
.ga-stage .sbar{position:absolute;top:12px;left:50%;transform:translateX(-50%);display:grid;grid-template-columns:auto 1fr;column-gap:8px;row-gap:2px;align-items:center;min-width:180px;padding:9px 16px;border-radius:14px;background:rgba(17,24,39,.92);color:#fff;font-size:14px;box-shadow:0 6px 24px rgba(15,23,42,.25);white-space:nowrap;animation:ga-pop .2s ease-out}
.ga-stage .sbar[hidden]{display:none}
.ga-stage .sbar .d{width:8px;height:8px;border-radius:50%;background:#60a5fa;animation:ga-pulse 1.2s infinite}
.ga-stage .sbar .t{font-weight:600}.ga-stage .sbar .m{grid-column:2;font-size:13px;opacity:.75}
.ga-stage .sbar.ok{background:#f5fbf7;color:#14532d;box-shadow:0 0 0 1px #cfe8d8,0 6px 20px rgba(15,23,42,.12)}
.ga-stage .sbar.ok .d{background:#12a150;animation:none}.ga-stage .sbar.ok .m{opacity:1;color:#5b6577}
@keyframes ga-pulse{50%{opacity:.3}}
.ga-stage .bot{position:absolute;left:0;top:0;z-index:19;pointer-events:none;opacity:0;transition:transform .38s cubic-bezier(.3,.7,.2,1),opacity .25s}
.ga-stage .bot.on{opacity:1}
.ga-stage .bot .a{position:absolute;left:-4px;top:-2px;width:24px;height:24px;fill:#3b8ef0;stroke:#fff;stroke-width:1.5;stroke-linejoin:round;filter:drop-shadow(0 2px 3px rgba(15,23,42,.3))}
.ga-stage .bot .t{position:absolute;left:13px;top:19px;display:flex;align-items:center;gap:4px;background:#0f172a;color:#fff;border-radius:999px;padding:3px 9px 3px 6px;font-weight:600;font-size:12px;white-space:nowrap;box-shadow:0 3px 8px rgba(15,23,42,.28)}
.ga-stage .bot .t svg{width:12px;height:14px}
.ga-stage .bot .bd{position:absolute;left:0;top:0;transform-origin:0 0}
.ga-stage .bot .w{position:absolute;left:-15px;top:-15px;width:30px;height:30px;border-radius:50%;border:2px solid rgba(59,142,240,.9);opacity:0;box-sizing:border-box}
.ga-stage .bot.c .w{animation:ga-w .45s ease-out .1s}
@keyframes ga-w{0%{opacity:1;transform:scale(.3)}100%{opacity:0;transform:scale(1.4)}}
.ga-stage .pp .fd{display:flex;flex-direction:column;gap:6px;color:#5b6577;font-size:12px}
.ga-stage .pp .dd{display:flex;flex-direction:column;border:1px solid #d3d8e1;border-radius:8px;padding:8px 12px}
.ga-stage .pp .dd b{color:#0f172a;font-size:14px}.ga-stage .pp .dd small{font-size:12px}
.ga-stage .pp .pc{display:flex;flex-direction:column;border:1px solid #e6e9ef;border-radius:8px;padding:9px 12px;background:#f8fafc}
.ga-stage .pp .pc small{color:#5b6577;font-size:12px}.ga-stage .pp .pc b{font-weight:500;font-size:13px}
.ga-stage .pp .ck{display:flex;align-items:center;gap:8px;font-size:13px;color:#334155}.ga-stage .pp .ck i{width:13px;height:13px;border:1px solid #767676;border-radius:3px}
.ga-stage .pp .go{transition:transform .1s}
.ga-stage .pp .stp{display:grid;grid-template-columns:repeat(3,1fr);gap:4px}.ga-stage .pp .stp i{height:3px;border-radius:2px;background:#e6e9ef}.ga-stage .pp .stp i.on{background:#3b8ef0}
.ga-stage .pp .st{display:flex;gap:10px}.ga-stage .pp .st>i{width:9px;height:9px;border-radius:50%;background:#3b8ef0;margin-top:7px;animation:ga-pulse 1.2s infinite}
.ga-stage .pp .st b{display:block;font-size:15px}.ga-stage .pp .st small{color:#5b6577;font-size:13px}
.ga-stage .pp [hidden]{display:none}

/* ---- 安装方式：按浏览器切换 Chrome / Edge ---- */
.inst-tabs{display:inline-flex;gap:2px;padding:3px;border-radius:9px;background:var(--bg-3);margin-bottom:16px}
.inst-tabs button{min-height:30px;padding:0 14px;border:0;border-radius:7px;background:none;color:var(--fg-3);font-size:13px;gap:6px}
.inst-tabs button svg{width:15px;height:15px}
.inst-tabs button[aria-selected=true]{background:var(--bg);color:var(--fg);box-shadow:0 1px 2px rgba(15,23,42,.12)}
.inst-alt{margin:0 0 14px;font-size:13px;color:var(--fg-3)}
.inst-edge{display:flex;align-items:center;gap:16px;padding:18px 20px;border:1px solid var(--line);border-radius:10px;background:var(--bg-2)}
.inst-edge>svg{width:36px;height:36px;flex:none}
.inst-edge div{flex:1}.inst-edge b{display:block;font-size:15px;font-weight:600}.inst-edge p{margin:2px 0 0;font-size:13px;color:var(--fg-3)}
.inst-edge .primary{white-space:nowrap}
.inst-other{padding:14px 16px;border-radius:10px;background:var(--amber-bg,#fff0e3);color:var(--amber-fg,#a24a0a);font-size:14px;margin-bottom:14px}

/* ---- 概览页：开始使用清单 ---- */
.onb{border:1px solid var(--line);border-radius:12px;background:var(--bg);margin-bottom:24px;overflow:hidden}
.onb-head{display:flex;align-items:center;gap:12px;padding:18px 20px 14px}
.onb-head h2{margin:0;font-size:18px;font-weight:600;letter-spacing:-.02em}
.onb-head .bar{flex:0 0 120px;height:4px;border-radius:2px;background:var(--line);overflow:hidden;margin-left:auto}
.onb-head .bar i{display:block;height:100%;background:linear-gradient(90deg,var(--gold),var(--gold-2));transform-origin:0 0;transition:transform .3s}
.onb-head small{font-size:13px;color:var(--fg-3);font-variant-numeric:tabular-nums}
.onb ol{list-style:none;margin:0;padding:0}
.onb li{border-top:1px solid var(--line)}
.onb-row{all:unset;box-sizing:border-box;width:100%;display:flex;align-items:center;gap:12px;padding:14px 20px;cursor:pointer}
.onb-row:focus-visible{outline:2px solid var(--blue);outline-offset:-2px}
.onb-row:hover{background:var(--hover)}
.onb-row .ck{display:grid;place-items:center;width:22px;height:22px;flex:none;border-radius:50%;border:1.5px solid var(--line-2);font:12px var(--mono);color:var(--fg-3)}
.onb li.done .ck{background:var(--green,#12a150);border-color:var(--green,#12a150);color:#fff}
.onb li.done .ck svg{width:12px;height:12px;fill:none;stroke:#fff;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.onb-row b{flex:1;font-size:15px;font-weight:500}
.onb li.done .onb-row b{color:var(--fg-3)}
.onb-row small{font-size:13px;color:var(--fg-3);white-space:nowrap}
.onb-row .chev{width:14px;height:14px;flex:none;fill:none;stroke:var(--fg-4);stroke-width:1.6;transition:transform .15s}
.onb li.open .chev{transform:rotate(180deg)}
.onb-body{display:none;padding:0 20px 20px 54px}
.onb li.open .onb-body{display:block}
.onb-body>p{margin:0 0 12px;font-size:14px;color:var(--fg-3);line-height:1.7}
/* 概览页「你是从哪里知道闪电投的」：选了或跳过后收起，之后不再显示。 */
.source-ask{border:1px solid var(--line);border-radius:12px;background:var(--bg);margin-bottom:16px;padding:18px 20px 20px;display:grid;grid-template-rows:1fr;transition:grid-template-rows .3s ease,opacity .3s,margin .3s,padding .3s,border-color .3s}
.source-ask>div{min-height:0;overflow:hidden}
.source-ask.gone{grid-template-rows:0fr;opacity:0;margin-bottom:0;padding-top:0;padding-bottom:0;border-color:transparent}
.source-head{display:flex;align-items:flex-start;gap:12px;margin-bottom:14px}
.source-head>div{flex:1;min-width:0}
.source-head h2{font-size:16px;font-weight:600;letter-spacing:-.02em}
.source-head p{margin-top:4px;font-size:13px;color:var(--fg-3)}
.source-skip{min-height:28px;padding:0 8px;border:0;background:none;color:var(--fg-3);font-size:13px;font-weight:400}
.source-skip:hover{background:var(--hover);color:var(--fg)}
.source-chips{display:flex;flex-wrap:wrap;gap:8px}
.source-chips button{min-height:34px;padding:0 14px;border-radius:99px;font-weight:400}
.source-chips button[aria-pressed=true]{border-color:var(--blue);background:var(--blue-bg);color:var(--blue-fg);font-weight:500}
.source-other{display:flex;gap:8px;margin-top:12px;max-width:440px}
.source-other input{flex:1;min-width:0;height:34px;padding:0 12px;border:1px solid var(--line-2);border-radius:6px;background:var(--bg)}
.source-other input:focus{outline:none;border-color:var(--blue);box-shadow:0 0 0 3px var(--blue-bg)}
.source-other button{min-height:34px}
.source-done{display:flex;align-items:center;gap:8px;font-size:14px;color:var(--fg-2)}
.source-done .ok{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:var(--green);flex:none}
.source-done .ok svg{width:11px;height:11px;fill:none;stroke:#fff;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:600px){.source-ask{padding:16px}.source-head{margin-bottom:12px}.source-chips button{min-height:32px;padding:0 12px}}
@media(max-width:600px){.onb-body{padding:0 16px 18px}.onb-row{padding:14px 16px}.onb-row small{display:none}.inst-edge{flex-wrap:wrap}}


/* 窄屏：舞台按比例缩小，步骤说明放在演示下方 */
@media(max-width:900px){.ga-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.ga-steps{grid-template-columns:1fr;gap:16px}.ga-sub{font-size:12px;bottom:8px;padding:5px 10px}.ga-ctl{right:8px;top:8px}}
@media(prefers-reduced-motion:reduce){.ga-stage *{transition:none!important;animation:none!important}}

/* 安装页：已安装状态 + 收起的其他安装方式 */
.inst-found{display:flex;align-items:center;gap:14px;padding:16px 20px;border:1px solid var(--line);border-radius:10px;background:var(--bg-2);margin:20px 0 12px}
.inst-found .ok{display:grid;place-items:center;width:28px;height:28px;flex:none;border-radius:50%;background:var(--green,#12a150)}
.inst-found .ok svg{width:14px;height:14px;fill:none;stroke:#fff;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.inst-found div{flex:1}.inst-found b{font-size:15px;font-weight:600}.inst-found p{margin:2px 0 0;font-size:13px;color:var(--fg-3)}
.inst-more{border:1px solid var(--line);border-radius:10px;margin-bottom:12px}
.inst-more summary{cursor:pointer;padding:12px 20px;font-size:14px;color:var(--fg-2)}
.inst-more[open] summary{border-bottom:1px solid var(--line);margin-bottom:16px}
.inst-more>div{padding:0 20px 20px}
@media(max-width:600px){.inst-found{flex-wrap:wrap}}

/* 概览页第 3 项：扩展已装时可直接打开，并同步当前账号的登录 */
.onb-open{display:flex;align-items:center;gap:10px;margin-top:14px;font-size:13px;color:var(--fg-3)}
