:root{--bg:#eef0f3;--text:#1f2329;--brand:#2f7d6d}*{box-sizing:border-box}html,body{margin:0;height:100%}body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:var(--text);background:var(--bg);-webkit-font-smoothing:antialiased}button,input,textarea{font:inherit}button{cursor:pointer}a{text-decoration:none;color:inherit}.chat-shell{width:min(860px,100%);height:100dvh;margin:0 auto;display:grid;grid-template-rows:auto 1fr auto;background:#f3f3f3;border-left:1px solid #dddfe3;border-right:1px solid #dddfe3}.chat-header{height:64px;display:flex;align-items:center;gap:11px;padding:0 18px;background:#fff;border-bottom:1px solid #e7e7e7}.avatar{display:grid;place-items:center;background:var(--brand);color:#fff;font-weight:700;flex:0 0 auto}.service-avatar{width:38px;height:38px;border-radius:7px;font-size:15px}.message-avatar{width:34px;height:34px;border-radius:6px;font-size:13px}.chat-title h1{margin:0 0 3px;font-size:16px;font-weight:600}.chat-title p{margin:0;color:#999;font-size:11px}.chat-title p span{display:inline-block;width:6px;height:6px;margin-right:5px;border-radius:50%;background:#28a66a;vertical-align:1px}.clear-chat{margin-left:auto;border:0;background:transparent;color:#7f858c;font-size:12px;padding:8px 5px;border-radius:4px}.clear-chat:hover{background:#f4f5f6;color:#4f555c}.clear-chat:disabled{opacity:.45;cursor:not-allowed}.chat-body{overflow-y:auto;padding:18px 20px 28px;background:#f3f3f3;scroll-behavior:smooth}.chat-date{width:max-content;margin:0 auto 18px;color:#aaa;font-size:11px}.message-row{display:flex;align-items:flex-start;gap:9px;margin:17px 0}.message-row.user{justify-content:flex-end}.bubble{position:relative;max-width:min(580px,76%);min-height:38px;padding:9px 12px;border:1px solid #e6e6e6;border-radius:5px;background:#fff;font-size:14px;line-height:1.65;white-space:pre-wrap;word-break:break-word}.assistant .bubble:before,.user .bubble:after{content:"";position:absolute;top:12px;width:8px;height:8px;transform:rotate(45deg)}.assistant .bubble:before{left:-5px;background:#fff;border-left:1px solid #e6e6e6;border-bottom:1px solid #e6e6e6}.user .bubble{background:#cfe8dc;border-color:#c1ddcf}.user .bubble:after{right:-5px;background:#cfe8dc;border-top:1px solid #c1ddcf;border-right:1px solid #c1ddcf}.message-image{display:block;width:auto;max-width:300px;max-height:360px;border-radius:4px;object-fit:cover}.message-image+.message-text{margin-top:8px}.bubble.loading{width:54px;display:grid;place-items:center}.typing-dots{display:inline-flex;gap:4px;align-items:center;height:18px}.typing-dots i{width:5px;height:5px;border-radius:50%;background:#a6abb2;animation:typing 1.15s infinite ease-in-out}.typing-dots i:nth-child(2){animation-delay:.15s}.typing-dots i:nth-child(3){animation-delay:.3s}@keyframes typing{0%,60%,100%{transform:translateY(0);opacity:.55}30%{transform:translateY(-3px);opacity:1}}.composer{border-top:1px solid #dedede;padding:10px 14px 7px;background:#fff}.composer-row{display:flex;align-items:flex-end;gap:9px}.composer textarea{flex:1;height:40px;min-height:40px;max-height:120px;resize:none;outline:none;border:1px solid #d9d9d9;border-radius:5px;padding:9px 11px;background:#fff;color:#222;font-size:14px;line-height:20px}.composer textarea:focus{border-color:#b9b9b9}.photo-btn{flex:0 0 auto;width:40px;height:40px;border:0;padding:0;background:transparent;display:grid;place-items:center}.photo-icon{position:relative;display:block;width:23px;height:18px;border:1.8px solid #60656d;border-radius:3px}.photo-icon:before{content:"";position:absolute;left:7px;top:4px;width:5px;height:5px;border:1.6px solid #60656d;border-radius:50%}.photo-icon:after{content:"";position:absolute;left:3px;bottom:3px;width:14px;height:7px;border-left:1.6px solid #60656d;border-top:1.6px solid #60656d;transform:skewX(-35deg) rotate(4deg)}.send-btn{height:40px;padding:0 16px;border:0;border-radius:5px;background:var(--brand);color:#fff;font-weight:500}.send-btn:disabled{opacity:.45;cursor:not-allowed}.composer-hint{margin:6px 0 0 49px;color:#aaa;font-size:10px}.image-preview{position:relative;width:76px;margin:0 0 8px 49px}.image-preview img{display:block;width:76px;height:64px;object-fit:cover;border:1px solid #ddd;border-radius:4px}.image-preview button{position:absolute;right:-7px;top:-7px;width:20px;height:20px;padding:0;border:0;border-radius:50%;background:#555;color:#fff;line-height:20px}@media(max-width:600px){.chat-shell{border:0}.chat-header{height:58px;padding:0 12px}.chat-body{padding:12px 12px 22px}.bubble{max-width:82%;font-size:14px}.message-image{max-width:230px;max-height:300px}.composer{padding:8px 8px calc(7px + env(safe-area-inset-bottom))}.composer-row{gap:5px}.composer-hint{margin-left:44px}.clear-chat{display:block}}
.photo-btn.processing{opacity:.45}.photo-btn.processing .photo-icon{animation:photoPulse .8s infinite alternate}@keyframes photoPulse{from{transform:scale(.92)}to{transform:scale(1.05)}}

.teaching-pack{margin-top:10px;padding-top:10px;border-top:1px solid #ececec}.teaching-title{font-weight:600;font-size:13px;margin-bottom:6px}.teaching-intro{margin-bottom:8px;color:#555;line-height:1.6}.teaching-step{margin:9px 0;border:1px solid #e4e6e7;border-radius:5px;overflow:hidden;background:#fafafa}.teaching-step img{display:block;width:100%;max-width:420px;max-height:420px;object-fit:contain;background:#f2f3f4}.teaching-caption{padding:8px 9px;background:#fff;color:#4e555b;font-size:12px;line-height:1.6}.assistant .bubble:has(.teaching-pack){max-width:min(620px,82%)}@media(max-width:600px){.teaching-step img{max-width:100%;max-height:360px}.assistant .bubble:has(.teaching-pack){max-width:88%}}
.choice-actions{display:flex;gap:8px;margin-top:10px;padding-top:9px;border-top:1px solid #eceeef}.choice-btn{min-width:96px;max-width:220px;padding:7px 12px;border:1px solid #a9c9bf;border-radius:5px;background:#f7fbf9;color:#276b5b;font-size:13px;line-height:1.35}.choice-btn:hover{background:#edf7f3;border-color:#82b5a6}.choice-btn:disabled{cursor:default;opacity:.52}.choice-btn.selected{background:#dcefe8;border-color:#7caf9f;opacity:1}@media(max-width:600px){.choice-actions{display:grid;grid-template-columns:1fr 1fr}.choice-btn{width:100%;min-width:0;max-width:none;padding:9px 7px}}

/* V7：整体字号缩小，保持普通客服聊天软件比例 */
body{font-size:13px}.chat-header{height:60px;padding:0 16px}.service-avatar{width:36px;height:36px;font-size:14px}.chat-title h1{font-size:15px}.chat-title p{font-size:10px}.clear-chat{font-size:11px}.chat-body{padding:15px 18px 24px}.chat-date{font-size:10px;margin-bottom:15px}.message-row{margin:14px 0}.message-avatar{width:31px;height:31px;font-size:12px}.bubble{max-width:min(560px,76%);min-height:35px;padding:8px 10px;font-size:13px;line-height:1.6}.message-image{max-width:280px;max-height:340px}.message-time{display:block;margin-top:6px;color:#a3a8ad;font-size:9px;line-height:1.2;text-align:right;white-space:nowrap}.user .message-time{color:#7f9f93}.message-link{color:#1677d2;text-decoration:none;word-break:break-all}.message-link:hover{text-decoration:underline}.teaching-title{font-size:12px}.teaching-caption{font-size:11px}.choice-btn{font-size:12px;padding:7px 11px}.composer{padding:7px 12px 6px}.composer-tools{display:flex;align-items:center;justify-content:flex-end;min-height:24px;margin:0 0 4px}.human-trigger{border:0;background:transparent;color:#65736e;padding:3px 5px;font-size:10px;line-height:1.3}.human-trigger:hover{color:var(--brand);text-decoration:underline}.human-support-panel{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 8px 40px;padding:8px 10px;border:1px solid #dde5e2;border-radius:5px;background:#f8fbfa}.human-support-panel[hidden]{display:none}.human-support-panel>div{display:grid;gap:2px;min-width:0}.human-support-panel strong{font-size:11px;font-weight:600}.human-support-panel span{color:#92989d;font-size:9px;line-height:1.4}.human-support-panel a{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:6px 10px;border-radius:4px;background:var(--brand);color:#fff;font-size:10px}.composer-row{gap:7px}.composer textarea{height:38px;min-height:38px;max-height:112px;padding:8px 10px;font-size:13px;line-height:20px}.photo-btn{width:38px;height:38px}.send-btn{height:38px;padding:0 14px;font-size:12px}.composer-hint{margin:5px 0 0 45px;color:#a5aaaf;font-size:9px}.image-preview{margin-left:45px}.choice-actions{gap:7px;margin-top:9px;padding-top:8px}
@media(max-width:600px){.chat-header{height:56px;padding:0 10px}.chat-body{padding:10px 10px 19px}.bubble{max-width:84%;font-size:13px}.message-image{max-width:220px;max-height:290px}.composer{padding:6px 7px calc(6px + env(safe-area-inset-bottom))}.composer-tools{min-height:22px}.human-support-panel{margin-left:37px;align-items:flex-start}.human-support-panel a{min-height:31px}.composer-hint{margin-left:41px}.choice-btn{font-size:11px;padding:8px 6px}}

/* V10: 输入区与重要内容强调 */
.message-important{font-weight:700;color:#176e5c;background:rgba(47,125,109,.08);padding:0 2px;border-radius:2px}
.composer-row .human-trigger{flex:0 0 auto;height:38px;min-width:52px;padding:0 9px;border:1px solid #cfd6d3;border-radius:5px;background:#fff;color:#53635e;font-size:11px;font-weight:500;line-height:36px;text-decoration:none;white-space:nowrap}
.composer-row .human-trigger:hover{border-color:#9eb9b0;color:var(--brand);background:#f8fbfa;text-decoration:none}
.composer-row .human-trigger:focus-visible{outline:2px solid rgba(47,125,109,.24);outline-offset:1px}
.human-support-panel{margin-left:45px}
@media(max-width:600px){
  .composer-row{gap:5px}
  .composer-row .human-trigger{height:36px;min-width:48px;padding:0 7px;font-size:10px;line-height:34px}
  .photo-btn{width:34px;height:36px}
  .composer textarea{height:36px;min-height:36px}
  .send-btn{height:36px;padding:0 11px}
  .human-support-panel{margin-left:39px}
}

/* V11: 天蓝白聊天配色、上传按钮与长对话性能优化 */
:root{--bg:#f2f8fc;--text:#213243;--brand:#3798e6;--brand-dark:#227fc8;--brand-soft:#eef8ff;--line:#dbe9f4}
body{background:#edf5fb}.chat-shell{background:#f4f8fb;border-color:#d8e6f1}.chat-header{background:#fff;border-bottom-color:#dce9f3}.avatar{background:linear-gradient(145deg,#50acef,#2d8fdd)}.chat-title h1{color:#203245}.chat-title p{color:#8a9baa}.clear-chat{color:#71889b}.clear-chat:hover{background:#f1f8fd;color:#2782c5}.chat-body{background:#f3f8fc}.bubble{border-color:#dce8f1;border-radius:8px;box-shadow:0 1px 2px rgba(48,102,142,.025)}.assistant .bubble:before{border-color:#dce8f1}.user .bubble{background:#dff1ff;border-color:#c5e4f9}.user .bubble:after{background:#dff1ff;border-color:#c5e4f9}.message-time{color:#93a6b6}.user .message-time{color:#718fa7}.message-link{color:#1679cc}.message-important{color:#146cae;background:#e8f5ff}.choice-btn{border-color:#acd5f2;background:#f5fbff;color:#2477b4}.choice-btn:hover{background:#eaf6ff;border-color:#7fc0eb}.choice-btn.selected{background:#d9efff;border-color:#68b5e8}
.composer{border-top-color:#d8e7f2;background:#fff}.composer-row{gap:7px}.composer textarea{border-color:#cfdfea;border-radius:8px;background:#fcfeff}.composer textarea:focus{border-color:#75bcef;box-shadow:0 0 0 3px rgba(55,152,230,.09)}.send-btn{border-radius:8px;background:#3798e6}.send-btn:hover{background:#227fc8}.photo-btn{width:auto;min-width:58px;height:38px;padding:0 10px;border:1px solid #c9dfef;border-radius:8px;background:#fff;display:inline-flex;align-items:center;justify-content:center;gap:6px;color:#4b718d}.photo-btn:hover{border-color:#82c3ee;background:#f1f9ff;color:#247fbd}.photo-btn:focus-visible{outline:2px solid rgba(55,152,230,.22);outline-offset:1px}.photo-icon{width:20px;height:16px;border-color:currentColor}.photo-icon:before,.photo-icon:after{border-color:currentColor}.photo-label{font-size:11px;font-weight:600;line-height:1}.photo-btn.processing{background:#f3f9fd;color:#7aa7c6}.composer-row .human-trigger{border-color:#cbdfea;border-radius:8px;color:#516f84}.composer-row .human-trigger:hover{border-color:#8dc7ec;color:#237ebd;background:#f3faff}.human-support-panel{border-color:#d7e8f3;background:#f6fbff}.human-support-panel a{background:#3798e6;border-radius:7px}.image-preview img{border-color:#cfe1ee;border-radius:8px}.composer-hint{color:#9aabb9}
@supports (content-visibility:auto){.message-row{content-visibility:auto;contain-intrinsic-size:1px 78px}.teaching-step{content-visibility:auto;contain-intrinsic-size:1px 260px}}
.message-text{overflow-wrap:anywhere}
@media(max-width:600px){.photo-btn{min-width:42px;width:42px;height:36px;padding:0}.photo-label{display:none}.photo-icon{width:19px;height:15px}.composer-row .human-trigger{border-radius:8px}.composer textarea{border-radius:8px}.send-btn{border-radius:8px}}
\n/* V13 */\n.rotating-banner{height:34px;display:flex;align-items:center;justify-content:center;gap:7px;padding:0 14px;border-bottom:1px solid #dbeaf5;background:linear-gradient(90deg,#f7fcff,#edf8ff,#f7fcff);color:#48718d;font-size:11px;overflow:hidden}.banner-dot{width:6px;height:6px;border-radius:50%;background:#49a9e8;box-shadow:0 0 0 3px rgba(73,169,232,.10)}#bannerText{transition:opacity .16s ease,transform .16s ease}.rotating-banner.changing #bannerText{opacity:.1;transform:translateY(3px)}.photo-btn{height:38px;min-width:38px;width:auto;padding:0 9px;border:1px solid #bcd9ed;border-radius:10px;background:#f9fdff;color:#3189c4;box-shadow:0 1px 2px rgba(29,96,140,.04);gap:5px}.photo-btn:hover{background:#eef8ff;border-color:#79bde8;color:#197dbd}.photo-btn:active{transform:translateY(1px)}.photo-icon{display:grid;place-items:center;width:18px;height:18px;border:0!important;border-radius:0}.photo-icon:before,.photo-icon:after{display:none!important}.photo-icon svg{display:block}.photo-label{font-size:10px;font-weight:650}.message-row.assistant .message-image{border:1px solid #d9e9f4;background:#fff}@media(max-width:600px){.rotating-banner{height:30px;font-size:10px;padding:0 9px}.photo-btn{width:38px;min-width:38px;padding:0;border-radius:10px}.photo-label{display:none}}\n
/* V14: Logo 与转人工工具栏 */
.service-logo{width:36px;height:36px;object-fit:cover;border:1px solid #cfe2f0;border-radius:9px;background:#fff;flex:0 0 auto}.composer-tools{display:flex;align-items:center;justify-content:flex-start;min-height:30px;margin:0 0 6px 45px}.composer-tools .human-trigger{height:30px;min-width:58px;padding:0 10px;border:1px solid #bdd8ea;border-radius:8px;background:#f9fdff;color:#3a789e;font-size:10px;font-weight:650;line-height:28px;text-decoration:none}.composer-tools .human-trigger:hover{border-color:#7abbe4;background:#eef8ff;color:#197cba}.human-support-panel{margin-left:45px}.composer-hint{margin-left:45px}@media(max-width:600px){.service-logo{width:34px;height:34px;border-radius:8px}.composer-tools{min-height:28px;margin-left:39px;margin-bottom:5px}.composer-tools .human-trigger{height:28px;min-width:54px;padding:0 9px;font-size:10px;line-height:26px}.human-support-panel{margin-left:39px}.composer-hint{margin-left:39px}}

/* V17: 横向走马灯 + 缩小欢迎/教学图片 */
.chat-shell.has-banner{grid-template-rows:auto auto minmax(0,1fr) auto}.chat-shell:not(.has-banner){grid-template-rows:auto minmax(0,1fr) auto}
.marquee-banner{height:31px;overflow:hidden;border-bottom:1px solid #dbeaf5;background:#f6fbff;color:#4d7590;white-space:nowrap}
.marquee-track{display:flex;width:max-content;min-width:100%;height:100%;align-items:center;animation:noticeMarquee 22s linear infinite}
.marquee-group{display:flex;align-items:center;gap:30px;padding-right:30px;flex:0 0 auto}
.marquee-item{display:inline-flex;align-items:center;gap:7px;font-size:10.5px;line-height:31px}
.marquee-item i{width:5px;height:5px;border-radius:50%;background:#4ba8e2;flex:0 0 auto}
.marquee-banner:hover .marquee-track{animation-play-state:paused}
@keyframes noticeMarquee{from{transform:translate3d(0,0,0)}to{transform:translate3d(-50%,0,0)}}
@media(prefers-reduced-motion:reduce){.marquee-track{animation:none;transform:none}.marquee-banner{overflow-x:auto}.marquee-group[aria-hidden="true"]{display:none}}

.assistant .welcome-message-image{max-width:180px;max-height:130px;border-radius:8px;object-fit:contain;background:#fff}
.teaching-step{width:max-content;max-width:100%;border-radius:8px}
.teaching-step img{width:auto;max-width:290px;max-height:230px;object-fit:contain}
.assistant .bubble:has(.teaching-pack){max-width:min(520px,80%)}
@media(max-width:600px){
  .marquee-banner{height:28px}.marquee-item{font-size:9.5px;line-height:28px}.marquee-group{gap:24px;padding-right:24px}
  .assistant .welcome-message-image{max-width:145px;max-height:105px}
  .teaching-step img{max-width:230px;max-height:190px}
  .assistant .bubble:has(.teaching-pack){max-width:86%}
}


/* V18: AI 头像同步 Logo；转人工改为聊天消息 */
.message-logo{display:block;object-fit:cover;border:1px solid #cfe2f0;background:#fff}
.human-trigger:disabled{opacity:.5;cursor:not-allowed}
.human-support-panel{display:none!important}

/* V19: 2~6 项整体选择识别 + 自动选择面板 */
.chat-shell{position:relative}
.choice-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:7px}
.choice-btn{width:100%;min-width:0;max-width:none;min-height:34px;white-space:normal}
.choice-sheet[hidden]{display:none}
.choice-sheet{position:absolute;inset:0;z-index:40;display:flex;align-items:flex-end;justify-content:center;padding:14px;background:rgba(31,55,73,.08)}
.choice-sheet-backdrop{position:absolute;inset:0;border:0;background:rgba(29,54,72,.22);backdrop-filter:blur(1.5px)}
.choice-sheet-panel{position:relative;z-index:1;width:min(520px,100%);max-height:min(68%,520px);overflow:auto;border:1px solid #cfe2f0;border-radius:14px;background:#fff;box-shadow:0 16px 40px rgba(30,77,112,.18);padding:12px}
.choice-sheet-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:2px 2px 10px;border-bottom:1px solid #edf3f7}
.choice-sheet-head>div{display:grid;gap:2px}.choice-sheet-head strong{font-size:13px;color:#29475c}.choice-sheet-head span{font-size:9px;color:#93a6b4}
.choice-sheet-head>button{width:29px;height:29px;border:1px solid #d8e7f1;border-radius:8px;background:#f8fcff;color:#738da0;font-size:18px;line-height:26px}
.choice-sheet-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding-top:10px}
.choice-sheet-option{min-height:40px;padding:8px 10px;border:1px solid #b8d9ef;border-radius:9px;background:#f7fcff;color:#2676ad;font-size:12px;font-weight:600;line-height:1.4;white-space:normal}
.choice-sheet-option:hover{background:#eaf6ff;border-color:#7dbfe9}.choice-sheet-option:active,.choice-sheet-option.selected{background:#dcefff;border-color:#63afe2}.choice-sheet-option:disabled{opacity:.55;cursor:default}
@media(max-width:600px){.choice-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.choice-sheet{padding:8px}.choice-sheet-panel{border-radius:13px;max-height:72%}.choice-sheet-options{grid-template-columns:1fr}.choice-sheet-option{min-height:42px;font-size:12px}}
/* V20: performance hardening */
.teaching-pack{contain:layout paint style}
.message-image,.teaching-step img{content-visibility:auto}

/* V22: 联网搜索图片 */
.network-image-card{display:block;margin:8px 0 10px;max-width:320px;border:1px solid #d9e8f2;border-radius:9px;overflow:hidden;background:#f9fcfe;color:#55768b;text-decoration:none;white-space:normal}.network-result-image{display:block;width:100%;max-height:280px;object-fit:cover;background:#eef4f7}.network-image-card span{display:block;padding:6px 8px;font-size:11px;line-height:1.45}.network-image-card:hover{border-color:#9fcbe6;background:#f4faff}@media(max-width:600px){.network-image-card{max-width:250px}.network-result-image{max-height:220px}}
.message-citation{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;margin:0 2px;padding:0 5px;border:1px solid #b9d8ec;border-radius:9px;background:#f3faff;color:#2477b4;font-size:9px;line-height:16px;vertical-align:1px;text-decoration:none}.message-citation:hover{background:#e5f4ff;border-color:#82bee4}

/* V26: 游戏下载按钮 + 中国大陆网络访问提示 */
.download-links{display:grid;gap:7px;margin-top:10px;padding-top:9px;border-top:1px solid #e6eef4}
.download-links-title{display:flex;align-items:center;gap:6px;font-size:10px;color:#6f8799;font-weight:750;letter-spacing:.02em}.download-links-title span{font-size:9px;color:#9aabb7;font-weight:600}
.download-link-btn{display:flex;flex-direction:column;align-items:stretch;gap:2px;width:100%;min-height:58px;padding:10px 11px;border:1px solid #9dcae8;border-radius:10px;background:#f7fcff;color:#176fae;text-align:left;cursor:pointer;transition:.15s ease}
.download-link-btn:hover{background:#eaf6ff;border-color:#68b4e5;transform:translateY(-1px)}
.download-link-btn:active{transform:translateY(0)}
.download-link-btn.third-party{border-style:dashed;background:#fbfdff}
.download-link-btn.vpn{border-color:#e0b96e;background:#fffaf0;color:#8a6420}
.download-link-top{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%}
.download-link-main{min-width:0;font-size:13px;font-weight:800;line-height:1.35;overflow-wrap:anywhere}
.download-link-arrow{flex:0 0 auto;font-size:19px;line-height:1;color:currentColor;opacity:.72}
.download-link-channel{display:block;margin-top:2px;font-size:9px;line-height:1.35;color:#6e8798;font-weight:700;white-space:normal;overflow-wrap:anywhere}.download-link-status{display:block;font-size:8.5px;line-height:1.35;color:#9aabb6;white-space:normal;overflow-wrap:anywhere}.download-link-btn.third-party .download-link-channel{color:#7f8e99}.download-link-btn.vpn .download-link-channel,.download-link-btn.vpn .download-link-status{color:#9a7432}
.download-warning[hidden]{display:none}
.download-warning{position:fixed;inset:0;z-index:80;display:flex;align-items:center;justify-content:center;padding:18px}
.download-warning-backdrop{position:absolute;inset:0;border:0;background:rgba(21,42,58,.36);backdrop-filter:blur(2px)}
.download-warning-panel{position:relative;z-index:1;width:min(390px,100%);padding:20px;border:1px solid #d7e3ec;border-radius:14px;background:#fff;box-shadow:0 18px 55px rgba(26,61,85,.24);text-align:center}
.download-warning-icon{display:grid;place-items:center;width:42px;height:42px;margin:0 auto 10px;border-radius:50%;background:#fff4d9;color:#a56b00;font-size:22px;font-weight:800}
.download-warning-panel h2{margin:0 0 8px;font-size:16px;color:#243c4d}
.download-warning-panel p{margin:0;color:#657b8b;font-size:12px;line-height:1.7;text-align:left}
.download-warning-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:16px}
.download-warning-actions button{min-height:38px;border-radius:8px;font-size:12px;font-weight:700}
.download-warning-cancel{border:1px solid #d7e4ec;background:#f8fbfd;color:#6b7f8e}
.download-warning-confirm{border:1px solid #3e9ddd;background:#3e9ddd;color:#fff}
@media(max-width:600px){.download-link-btn{gap:4px;padding:9px 10px}.download-warning{padding:12px}.download-warning-panel{padding:17px}}

/* V27: verified download cards */
.download-links-title{display:flex;align-items:center;gap:5px}.download-links-title:before{content:"✓";display:inline-grid;place-items:center;width:14px;height:14px;border-radius:50%;background:#e9f7ee;color:#23834a;font-size:9px;font-weight:800}

/* V28: strict actionable download verification + compact channel line */

/* V31: 服务器网络图片缓存 + 多图预览 */
.message-text .network-image-card{display:inline-block;width:min(46%,220px);margin:8px 6px 8px 0;vertical-align:top}
.message-text .network-result-image{width:100%;height:150px;max-height:150px;object-fit:cover}
@media(max-width:600px){.message-text .network-image-card{width:calc(50% - 5px);max-width:none;margin:6px 5px 6px 0}.message-text .network-result-image{height:128px;max-height:128px}}

/* V32: AI web_search unified download discovery; no direct search-engine scraping */
