:root{--xs-red:#c7000b;--xs-text:#111827;--xs-muted:#64748b;--xs-line:#e5e7eb;--xs-bg:#f5f6f8}*{box-sizing:border-box}body{margin:0;background:linear-gradient(180deg,#fff 0%,#f6f7f9 52%,#eef1f5 100%);color:var(--xs-text);font-family:"Segoe UI","Microsoft YaHei",system-ui,sans-serif}.xs-online-page{max-width:1240px;margin:0 auto;padding:34px 20px 70px}.xs-online-hero{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:22px;align-items:stretch;background:linear-gradient(135deg,#fff 0%,#f8fafc 62%,#fff1f2 100%);border:1px solid var(--xs-line);border-radius:24px;padding:34px;box-shadow:0 18px 50px rgba(15,23,42,.07)}.xs-kicker{margin:0 0 10px;color:var(--xs-red);font-size:12px;font-weight:900;letter-spacing:.16em}.xs-online-hero h1{margin:0 0 12px;font-size:clamp(36px,5vw,64px);line-height:1.04;letter-spacing:-.06em}.xs-online-hero p{margin:0;max-width:760px;color:var(--xs-muted);font-size:16px;line-height:1.85}.xs-live-card{background:#111827;color:#fff;border-radius:20px;padding:22px;display:flex;flex-direction:column;justify-content:center;box-shadow:0 16px 34px rgba(17,24,39,.18)}.xs-live-card strong{font-size:34px;line-height:1}.xs-live-card span{margin-top:9px;color:#cbd5e1;line-height:1.55}.xs-toolbar{display:grid;grid-template-columns:minmax(260px,1fr) 180px;gap:12px;margin:18px 0}.xs-search,.xs-select{background:#fff;border:1px solid var(--xs-line);border-radius:14px;padding:10px 12px;box-shadow:0 8px 24px rgba(15,23,42,.04)}.xs-search span,.xs-select span{display:block;color:var(--xs-muted);font-size:12px;font-weight:800;margin-bottom:6px}.xs-search input,.xs-select select{width:100%;border:0;outline:0;font-size:15px;color:var(--xs-text);background:transparent}button{border:1px solid var(--xs-red);background:var(--xs-red);color:#fff;border-radius:12px;padding:0 16px;font-weight:850;cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}.xs-category-panel,.xs-result-head{background:#fff;border:1px solid var(--xs-line);border-radius:18px;padding:16px;margin-bottom:16px;box-shadow:0 8px 24px rgba(15,23,42,.04)}.xs-panel-title{font-weight:900;margin-bottom:12px}.xs-categories{display:grid;grid-template-columns:repeat(auto-fill,minmax(156px,1fr));gap:10px}.xs-cat{border:1px solid #e2e8f0;background:#fff;color:#334155;border-radius:14px;padding:11px 12px;font-weight:800;cursor:pointer;display:flex;align-items:center;gap:9px;text-align:left}.xs-cat span{font-size:18px}.xs-cat b{font-size:14px;font-weight:850;flex:1}.xs-cat em{font-style:normal;font-size:12px;color:#94a3b8}.xs-cat.active{background:var(--xs-red);border-color:var(--xs-red);color:#fff}.xs-cat.active em{color:#ffe4e6}.xs-result-head{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--xs-muted)}.xs-skill-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(286px,1fr));gap:16px}.xs-card{background:#fff;border:1px solid var(--xs-line);border-radius:18px;padding:18px;box-shadow:0 8px 24px rgba(15,23,42,.045);display:flex;flex-direction:column;min-height:252px}.xs-card:hover{border-color:#fca5a5;box-shadow:0 18px 38px rgba(15,23,42,.08);transform:translateY(-2px)}.xs-card-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--xs-muted);font-size:12px;margin-bottom:12px}.xs-badge{background:#fff7f7;border:1px solid #fecdd3;color:#9f0712;border-radius:999px;padding:4px 8px;font-weight:850}.xs-card h3{margin:0 0 10px;font-size:18px;letter-spacing:-.025em}.xs-card p{margin:0;color:var(--xs-muted);font-size:14px;line-height:1.62;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.xs-card-foot{margin-top:auto;padding-top:16px;display:flex;align-items:center;justify-content:space-between;gap:10px}.xs-owner{color:#64748b;font-size:13px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.xs-card a{background:var(--xs-red);border-radius:10px;color:#fff;text-decoration:none;padding:9px 12px;font-size:13px;font-weight:850;white-space:nowrap}.xs-empty{background:#fff;border:1px solid var(--xs-line);border-radius:18px;padding:26px;text-align:center;color:var(--xs-muted)}@media(max-width:820px){.xs-online-hero,.xs-toolbar{grid-template-columns:1fr}.xs-live-card strong{font-size:28px}.xs-result-head{align-items:stretch;flex-direction:column}button{min-height:44px}}

.xs-render-note{grid-column:1/-1;background:#fff7f7;border:1px solid #fecdd3;color:#9f0712;border-radius:16px;padding:16px;text-align:center;font-weight:800}

.xs-language-panel{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#fff;border:1px solid var(--xs-line);border-radius:18px;padding:16px;margin:18px 0 0;box-shadow:0 8px 24px rgba(15,23,42,.04)}.xs-language-panel strong{display:block;color:#111827;font-size:16px}.xs-language-panel span{display:block;margin-top:4px;color:#64748b;font-size:13px}.goog-te-gadget{font-family:"Segoe UI","Microsoft YaHei",system-ui,sans-serif!important;color:#64748b!important}.goog-te-gadget-simple{border:1px solid #e5e7eb!important;border-radius:12px!important;background:#f8fafc!important;padding:8px 10px!important}.goog-te-banner-frame{display:none!important}body{top:0!important}.skiptranslate iframe{display:none!important}@media(max-width:820px){.xs-language-panel{align-items:stretch;flex-direction:column}}

.xs-language-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}.xs-language-controls select{min-width:210px;border:1px solid #e5e7eb;border-radius:12px;background:#f8fafc;color:#111827;padding:10px 12px;font-weight:800;outline:none}.xs-google-translate{min-height:32px}.xs-google-translate:empty::before{content:"全文翻译增强加载中";display:inline-flex;color:#94a3b8;font-size:12px}

.xs-google-translate{position:absolute!important;left:-9999px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important}

body.xs-modal-open{overflow:hidden}.xs-detail-btn{background:var(--xs-red);border:1px solid var(--xs-red);border-radius:10px;color:#fff;text-decoration:none;padding:9px 12px;font-size:13px;font-weight:850;white-space:nowrap;min-height:auto}.xs-modal[hidden]{display:none}.xs-modal{position:fixed;inset:0;z-index:9999}.xs-modal-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.58);backdrop-filter:blur(8px)}.xs-modal-dialog{position:relative;margin:clamp(8px,2.6vh,28px) auto;width:min(1340px,calc(100vw - 32px));height:min(850px,calc(100vh - 24px));background:#fff;border-radius:26px;box-shadow:0 30px 90px rgba(2,6,23,.35);overflow:hidden;border:1px solid rgba(226,232,240,.9)}.xs-modal-content{height:100%;display:flex;flex-direction:column}.xs-modal-head{height:116px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 30px;border-bottom:1px solid #e5e7eb;background:linear-gradient(135deg,#fff 0%,#f8fafc 55%,#fff1f2 100%)}.xs-modal-titlewrap{display:flex;align-items:center;gap:18px;min-width:0}.xs-modal-icon{width:66px;height:66px;border-radius:14px;background:#eef2ff;display:grid;place-items:center;overflow:hidden;font-size:34px;flex:0 0 auto}.xs-modal-icon img{width:100%;height:100%;object-fit:cover}.xs-modal-head h2{margin:0;color:#111827;font-size:30px;line-height:1.12;letter-spacing:-.035em;max-width:780px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.xs-modal-head p{margin:7px 0 0;color:#8a8fa8;font-size:16px}.xs-modal-actions{display:flex;align-items:center;gap:18px}.xs-score-pill{display:inline-flex;align-items:center;gap:7px;border:1px solid #bbf7d0;background:#ecfdf5;color:#16a34a;border-radius:999px;padding:9px 16px;font-weight:950}.xs-modal-close{border:0;background:transparent;color:#858585;font-size:42px;line-height:1;padding:0 4px;min-height:auto}.xs-modal-main{flex:1;display:grid;grid-template-columns:minmax(0,1fr) 390px;min-height:0}.xs-modal-left{padding:24px 30px 34px;overflow:auto;border-right:12px solid #f0f1f3}.xs-modal-left h3{margin:24px 0 10px;color:#9296ad;text-transform:uppercase;letter-spacing:.02em;font-size:17px}.xs-tag-row{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:28px}.xs-tag-row span{background:#f3f4f6;border:1px solid #e5e7eb;color:#4b5563;border-radius:999px;padding:8px 13px;font-weight:850}.xs-modal-desc{font-size:20px;line-height:1.62;color:#565b75;margin:0 0 18px}.xs-feature-list{list-style:none;margin:0;padding:0;display:grid;gap:11px;color:#5c627c;font-size:18px;line-height:1.5}.xs-feature-list li{color:#5c627c}.xs-feature-list li::first-letter{color:#16a34a}.xs-platform-label{display:block;color:#9296ad;font-weight:850;margin-bottom:8px}.xs-platform-box{height:54px;border:1px solid #e5e7eb;border-radius:10px;display:flex;align-items:center;justify-content:space-between;padding:0 18px;font-size:20px;color:#111827;background:#fff}.xs-muted-line{color:#5c627c;margin:0 0 10px}.xs-codebox{position:relative;border:1px solid #e5e7eb;background:#fff;border-radius:10px;margin:10px 0 16px;min-height:82px;overflow:hidden}.xs-codebox pre{margin:0;padding:18px 96px 18px 18px;white-space:pre-wrap;word-break:break-word;color:#4b5169;font-size:15px;line-height:1.55;font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.xs-codebox button{position:absolute;right:12px;top:12px;border:1px solid #d1d5db;background:#f8fafc;color:#111827;border-radius:10px;padding:9px 14px;min-height:auto;box-shadow:0 8px 18px rgba(15,23,42,.08)}.xs-long-desc{border:1px solid #edf0f4;background:#fbfcfe;border-radius:12px;padding:16px;color:#5c627c;line-height:1.7;max-height:260px;overflow:auto}.xs-modal-side{padding:24px 30px;background:#fff;overflow:auto}.xs-trust-card{display:flex;align-items:center;gap:18px;background:#f0f1f4;border-radius:10px;padding:20px;margin-bottom:18px}.xs-trust-ring{width:72px;height:72px;border:4px solid #16a34a;border-radius:50%;display:grid;place-items:center;color:#16a34a;font-size:26px;font-weight:950;background:#fff}.xs-trust-card b{display:block;color:#9094aa;font-size:17px}.xs-trust-card strong{display:block;color:#16a34a;margin-top:8px}.xs-stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.xs-stat-grid div{background:#f0f1f4;border-radius:9px;padding:14px 16px;min-height:76px}.xs-stat-grid span{display:block;color:#9296ad;font-weight:850;margin-bottom:8px}.xs-stat-grid b{display:block;color:#111827;font-size:18px}.xs-modal-primary{width:100%;margin-top:18px;min-height:48px;border-radius:12px}.xs-modal-loading,.xs-modal-error{height:100%;display:grid;place-content:center;gap:12px;text-align:center;color:#64748b;padding:40px}.xs-modal-loading b,.xs-modal-error b{font-size:24px;color:#111827}.xs-modal-error .xs-modal-close{position:absolute;right:26px;top:20px}@media(max-width:900px){.xs-modal-dialog{width:calc(100vw - 12px);height:calc(100vh - 12px);border-radius:18px}.xs-modal-head{height:auto;padding:18px}.xs-modal-head h2{font-size:24px;white-space:normal}.xs-modal-main{grid-template-columns:1fr}.xs-modal-left{border-right:0;border-bottom:10px solid #f0f1f3}.xs-modal-side{padding:18px}.xs-stat-grid{grid-template-columns:1fr 1fr}}

.xs-real-head{background:linear-gradient(135deg,#ffffff 0%,#f8fafc 70%,#fff5f5 100%)}.xs-source-pill{border:1px solid #fecaca;background:#fff1f2;color:#b91c1c;border-radius:999px;padding:9px 14px;font-weight:900}.xs-real-modal-main{flex:1;display:grid;grid-template-columns:minmax(0,1fr) 360px;min-height:0;background:#fff}.xs-real-left{padding:28px 34px;overflow:auto;border-right:1px solid #eef2f7}.xs-real-side{background:#f8fafc;padding:24px;overflow:auto}.xs-real-summary{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:22px}.xs-real-summary span,.xs-real-tags span{display:inline-flex;border:1px solid #e5e7eb;background:#fff;border-radius:999px;padding:8px 12px;color:#334155;font-weight:850}.xs-real-section{border:1px solid #edf0f4;background:#fff;border-radius:18px;padding:20px;margin-bottom:16px;box-shadow:0 8px 24px rgba(15,23,42,.035)}.xs-real-section h3{margin:0 0 12px;color:#111827;font-size:18px}.xs-real-section p{margin:0;color:#475569;font-size:16px;line-height:1.8}.xs-real-description{color:#475569;line-height:1.82;max-height:420px;overflow:auto}.xs-real-tags{display:flex;gap:8px;flex-wrap:wrap}.xs-missing{color:#94a3b8;font-weight:700}.xs-real-owner{display:flex;align-items:center;gap:13px;background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:14px;margin-bottom:14px}.xs-modal-icon.small{width:46px;height:46px;border-radius:12px;font-size:22px}.xs-real-owner b{display:block;color:#111827}.xs-real-owner span{display:block;color:#64748b;margin-top:3px}.xs-real-stats{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:14px}.xs-real-stats div,.xs-real-table div{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:13px}.xs-real-stats span,.xs-real-table span{display:block;color:#94a3b8;font-size:12px;font-weight:900;text-transform:uppercase;margin-bottom:6px}.xs-real-stats b,.xs-real-table b{color:#111827;font-size:18px;word-break:break-word}.xs-real-table{display:grid;gap:8px}.xs-real-actions{display:grid;gap:10px;margin-top:14px}.xs-real-actions a,.xs-real-actions button{display:flex;align-items:center;justify-content:center;min-height:44px;border-radius:12px;text-decoration:none;font-weight:900}.xs-real-actions a{background:#111827;color:#fff}.xs-real-actions button{background:#c7000b;border-color:#c7000b;color:#fff}@media(max-width:900px){.xs-real-modal-main{grid-template-columns:1fr}.xs-real-side{border-top:1px solid #eef2f7}.xs-real-left{padding:18px;border-right:0}.xs-real-stats{grid-template-columns:1fr 1fr}}

/* Learned from SafeSkill modal structure: compact header, scrollable left content, 260px right rail. */
.xs-modal-dialog{width:min(960px,calc(100vw - 32px))!important;height:auto!important;max-height:min(760px,calc(100vh - 32px))!important;border-radius:14px!important;box-shadow:0 16px 48px rgba(0,0,0,.18)!important}.xs-modal-head{height:auto!important;min-height:74px!important;padding:14px 20px!important;background:#fff!important}.xs-modal-icon{width:44px!important;height:44px!important;border-radius:10px!important;font-size:22px!important}.xs-modal-head h2{font-size:20px!important;letter-spacing:-.02em!important}.xs-modal-head p{font-size:12px!important;margin-top:2px!important;color:#8b90a5!important}.xs-source-pill{font-size:12px!important;padding:4px 10px!important}.xs-real-modal-main{grid-template-columns:minmax(0,1fr) 280px!important;max-height:min(660px,calc(100vh - 112px))!important;overflow:hidden!important}.xs-real-left,.xs-real-side{padding:16px 20px!important}.xs-real-left{overflow-y:auto!important}.xs-real-side{background:#fff!important;border-left:1px solid #edf0f4!important}.xs-real-section{border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important;margin:0 0 16px!important}.xs-real-section h3{font-size:12px!important;font-weight:800!important;color:#8b90a5!important;text-transform:uppercase!important;letter-spacing:.06em!important;margin-bottom:8px!important}.xs-real-section p,.xs-real-description{font-size:14px!important;line-height:1.68!important;color:#4b5563!important}.xs-real-summary{margin-bottom:14px!important}.xs-real-summary span,.xs-real-tags span{font-size:12px!important;padding:4px 10px!important;background:#f8fafc!important}.xs-real-owner,.xs-capability-card,.xs-real-stats div,.xs-real-table div{background:#f3f4f6!important;border:0!important;border-radius:10px!important}.xs-real-owner{padding:12px!important}.xs-capability-card{display:grid;gap:6px;padding:12px;margin-bottom:12px}.xs-capability-card b{font-size:13px;color:#111827}.xs-capability-card span{font-size:12px;color:#64748b}.xs-real-stats{gap:8px!important}.xs-real-stats div{min-height:62px!important;padding:10px 12px!important}.xs-real-stats span,.xs-real-table span{font-size:10px!important}.xs-real-stats b,.xs-real-table b{font-size:13px!important}.xs-real-table{gap:6px!important}.xs-real-actions a,.xs-real-actions button{min-height:38px!important;font-size:12px!important}.xs-json-pre{margin:0;max-height:220px;overflow:auto;background:#0f172a;color:#dbeafe;border-radius:10px;padding:12px;font-size:11px;line-height:1.5;white-space:pre-wrap;word-break:break-word}.xs-modal-loading,.xs-modal-error{min-height:360px}@media(max-width:900px){.xs-real-modal-main{grid-template-columns:1fr!important;max-height:calc(100vh - 100px)!important;overflow:auto!important}.xs-real-side{border-left:0!important;border-top:1px solid #edf0f4!important}.xs-modal-dialog{height:calc(100vh - 16px)!important;max-height:calc(100vh - 16px)!important}}

.xs-primary-actions{display:grid;gap:12px;margin-top:16px}.xs-action-main{min-height:58px!important;border-radius:14px!important;display:flex!important;align-items:center!important;justify-content:center!important;text-decoration:none!important;font-size:18px!important;font-weight:950!important;letter-spacing:.01em!important;box-shadow:0 10px 22px rgba(15,23,42,.08)!important}.xs-action-dark{background:#111827!important;color:#fff!important;border:1px solid #111827!important}.xs-action-red{background:#d70011!important;color:#fff!important;border:1px solid #d70011!important}.xs-action-main:hover{transform:translateY(-1px);filter:brightness(1.02)}.xs-action-main:disabled{opacity:.55;cursor:not-allowed;transform:none}.xs-next-security{margin-top:12px;background:#fff7ed;border:1px solid #fed7aa;border-radius:12px;padding:12px;color:#9a3412}.xs-next-security b{display:block;font-size:13px;margin-bottom:5px}.xs-next-security span{display:block;font-size:12px;line-height:1.55}

.xs-install-section{border-bottom:1px solid #edf0f4!important;padding-bottom:18px!important;margin-bottom:18px!important}.xs-install-title{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #e5e7eb;padding-bottom:10px;margin-bottom:14px}.xs-install-title h3{margin:0!important;color:#111827!important;font-size:18px!important;text-transform:none!important;letter-spacing:0!important}.xs-install-tabs{display:inline-flex;align-items:center;border:1px solid #e5e7eb;border-radius:12px;background:#f8fafc;padding:3px}.xs-install-tabs button{border:0;background:transparent;color:#374151;border-radius:9px;padding:7px 15px;font-size:13px;font-weight:900;min-height:auto}.xs-install-tabs button.active{background:#111827;color:#fff}.xs-install-copybox{position:relative;border:1px solid #e5e7eb;border-radius:12px;background:#fff;min-height:84px;overflow:hidden}.xs-install-copybox pre{margin:0;padding:20px 88px 20px 20px;color:#111827;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:16px;line-height:1.55;white-space:pre-wrap;word-break:break-word}.xs-install-copybox button{position:absolute;right:14px;top:16px;width:42px;height:42px;border-radius:10px;border:1px solid #e5e7eb;background:#fff;color:#111827;font-size:0;min-height:auto;padding:0}.xs-install-copybox button::before{content:'⧉';font-size:22px;line-height:1}.xs-install-copybox button:hover{border-color:#c7000b;color:#c7000b}.xs-install-note{margin:9px 0 0!important;color:#94a3b8!important;font-size:12px!important;line-height:1.5!important}

.xs-card[data-skill-slug]{cursor:pointer}.xs-card[data-skill-slug]:focus-within,.xs-card[data-skill-slug]:hover{outline:2px solid rgba(199,0,11,.08)}.xs-card[data-skill-slug]::after{content:'点击查看与安装';margin-top:10px;color:#94a3b8;font-size:12px;font-weight:800}.xs-detail-btn{position:relative;z-index:2}.xs-install-section{background:#fff!important;border:1px solid #e5e7eb!important;border-radius:14px!important;padding:16px!important;box-shadow:0 8px 22px rgba(15,23,42,.04)!important}.xs-install-title h3::after{content:' · 复制后发送给 Agent';font-size:12px;color:#94a3b8;font-weight:700}.xs-install-tabs button.active{box-shadow:0 6px 14px rgba(17,24,39,.18)}.xs-install-copybox button.copied,.xs-primary-actions button.copied,.xs-real-actions button.copied{background:#16a34a!important;border-color:#16a34a!important;color:#fff!important;font-size:12px!important;width:auto!important;padding:0 10px!important}.xs-primary-actions{position:sticky;bottom:0;background:linear-gradient(180deg,rgba(248,250,252,0),#f8fafc 18%);padding-top:10px;padding-bottom:2px}.xs-action-main{font-size:16px!important;min-height:54px!important}

/* SafeSkill-style clone layer: original code/data, similar UX density. */
.xs-modal-backdrop{background:rgba(17,24,39,.42)!important;backdrop-filter:blur(3px)!important}.xs-modal-dialog{width:min(900px,calc(100vw - 28px))!important;max-height:min(760px,calc(100vh - 28px))!important;border-radius:14px!important;box-shadow:0 20px 60px rgba(15,23,42,.22)!important;border:1px solid #e5e7eb!important}.xs-modal-head{min-height:82px!important;padding:18px 22px!important;border-bottom:1px solid #eef0f4!important}.xs-modal-icon{width:52px!important;height:52px!important;border-radius:14px!important;background:#eef2ff!important;color:#4f46e5!important}.xs-modal-head h2{font-size:22px!important;font-weight:800!important;color:#111827!important}.xs-source-pill{background:#ecfdf5!important;border-color:#bbf7d0!important;color:#16a34a!important}.xs-real-modal-main{grid-template-columns:minmax(0,1fr) 286px!important;max-height:min(650px,calc(100vh - 112px))!important}.xs-real-left{padding:18px 22px!important}.xs-real-side.xs-clone-side{background:#fff!important;padding:18px!important;border-left:1px solid #eef0f4!important}.xs-real-section{margin-bottom:18px!important}.xs-install-section{padding:0 0 18px!important;border:0!important;border-bottom:1px solid #e5e7eb!important;border-radius:0!important;box-shadow:none!important}.xs-install-title{padding-bottom:12px!important}.xs-install-title h3{font-size:20px!important;font-weight:900!important}.xs-install-tabs{border-radius:12px!important;background:#f7f4ef!important}.xs-install-tabs button{font-size:15px!important;padding:8px 18px!important}.xs-install-tabs button.active{background:#0b0b0c!important;color:#fff!important}.xs-install-copybox{border-radius:12px!important;min-height:86px!important;background:#fff!important}.xs-install-copybox pre{font-size:18px!important;padding:22px 86px 22px 22px!important;color:#111827!important}.xs-install-copybox button{right:16px!important;top:18px!important;width:44px!important;height:44px!important}.xs-real-section h3{font-size:13px!important;color:#8b90a5!important;margin-bottom:10px!important}.xs-real-description{max-height:260px!important}.xs-clone-score{display:flex;align-items:center;gap:14px;background:#f0f1f4;border-radius:10px;padding:16px;margin-bottom:12px}.xs-clone-circle{width:62px;height:62px;border-radius:50%;border:4px solid #94a3b8;background:#fff;color:#64748b;display:grid;place-items:center;font-size:22px;font-weight:950}.xs-clone-score span{display:block;color:#8b90a5;font-weight:800;font-size:13px}.xs-clone-score b{display:block;color:#64748b;margin-top:5px}.xs-clone-source{display:flex;gap:10px;background:#f8fafc;border:1px solid #eef0f4;border-radius:10px;padding:12px;margin-bottom:12px;min-width:0}.xs-clone-source>span{font-size:18px}.xs-clone-source b{display:block;color:#111827;font-size:12px}.xs-clone-source em{display:block;max-width:212px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#64748b;font-style:normal;font-size:12px}.xs-clone-stats{grid-template-columns:1fr 1fr!important;gap:8px!important}.xs-clone-stats div{background:#f0f1f4!important;border-radius:10px!important;min-height:68px!important}.xs-clone-actions{position:static!important;background:transparent!important;padding:0!important;margin-top:14px!important}.xs-action-main{min-height:44px!important;border-radius:12px!important;font-size:14px!important}.xs-next-security{background:#fff7ed!important;border-color:#fed7aa!important;color:#9a3412!important}.xs-json-pre{max-height:160px!important}@media(max-width:900px){.xs-real-modal-main{grid-template-columns:1fr!important}.xs-real-side.xs-clone-side{border-left:0!important;border-top:1px solid #eef0f4!important}}

.xs-clone-circle.safe{border-color:#16a34a!important;color:#16a34a!important}.xs-clone-circle.warn{border-color:#f59e0b!important;color:#d97706!important}.xs-clone-circle.risk{border-color:#f97316!important;color:#ea580c!important}.xs-clone-circle.danger{border-color:#dc2626!important;color:#dc2626!important}.xs-clone-circle.unknown{border-color:#94a3b8!important;color:#64748b!important}.xs-clone-score em{display:block;margin-top:4px;color:#94a3b8;font-style:normal;font-size:11px}.xs-source-pill{white-space:nowrap}.xs-next-security{font-size:12px}

/* Full SafeSkill-like left workflow */
.xs-feature-grid{display:grid;gap:10px}.xs-feature-item{display:flex;align-items:flex-start;gap:10px;color:#4b5563;font-size:14px;line-height:1.55}.xs-feature-item span{color:#16a34a;font-weight:950;margin-top:1px}.xs-feature-item b{font-weight:500}.xs-platform-block{margin-bottom:14px}.xs-platform-block span,.xs-install-label{display:block;color:#8b90a5;font-size:13px;font-weight:900;margin-bottom:8px}.xs-platform-block select{width:100%;height:46px;border:1px solid #e5e7eb;border-radius:10px;background:#fff;color:#111827;padding:0 14px;font-size:16px;font-weight:700}.xs-install-col{margin-top:14px}.xs-install-col+.xs-install-col{padding-top:12px;border-top:1px solid #edf0f4}.xs-install-copybox.compact{min-height:60px}.xs-install-copybox.compact pre{font-size:14px!important;padding-top:16px!important;padding-bottom:16px!important}.xs-install-section{background:#fff!important}.xs-feature-section{padding-bottom:14px!important;border-bottom:1px solid #edf0f4!important}.xs-real-modal-main{grid-template-columns:minmax(0,1fr) 300px!important}.xs-real-left{padding:20px 24px!important}.xs-real-side.xs-clone-side{padding:20px!important}.xs-modal-dialog{width:min(980px,calc(100vw - 28px))!important}.xs-real-description{max-height:200px!important}.xs-json-pre{max-height:130px!important}
.xs-sync-progress{margin-top:14px;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.08);border-radius:14px;padding:11px 12px}.xs-sync-progress[hidden]{display:none}.xs-sync-progress-top{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#e5e7eb;font-size:12px;font-weight:800}.xs-sync-progress-top span{margin:0;color:#cbd5e1}.xs-sync-progress-top b{color:#fff;font-size:13px}.xs-sync-progress-track{position:relative;height:9px;margin-top:8px;background:rgba(148,163,184,.3);border-radius:999px;overflow:hidden}.xs-sync-progress-track i{position:absolute;left:0;top:0;bottom:0;width:0%;border-radius:999px;background:linear-gradient(90deg,#fb7185,#ef4444,#f97316);box-shadow:0 0 18px rgba(248,113,113,.45);transition:width .18s ease}.xs-sync-progress-track i.indeterminate{width:35%;animation:xs-progress-move 1.05s ease-in-out infinite}@keyframes xs-progress-move{0%{transform:translateX(-120%)}100%{transform:translateX(320%)}}
.xs-card-stats{display:flex;flex-wrap:wrap;gap:7px;margin-top:13px}.xs-card-stats span{background:#f8fafc;border:1px solid #e2e8f0;color:#475569;border-radius:999px;padding:4px 8px;font-size:12px;font-weight:800}

/* SafeSkill-style detail modal override, 2026-06-20 */
.xs-modal-dialog{width:min(980px,calc(100vw - 32px))!important;height:auto!important;max-height:min(780px,calc(100vh - 28px))!important;border-radius:16px!important;background:#fff!important;box-shadow:0 16px 48px rgba(15,23,42,.18)!important;border:1px solid rgba(15,23,42,.08)!important;overflow:hidden!important}.xs-modal-content{max-height:inherit!important}.xs-safeskill-head{height:auto!important;min-height:76px!important;padding:14px 20px!important;background:#fff!important;border-bottom:1px solid #e7eaf0!important}.xs-modal-titlewrap{gap:14px!important}.xs-safe-icon{width:44px!important;height:44px!important;border-radius:10px!important;background:#f0f1f4!important;font-size:22px!important}.xs-safe-titlebox{min-width:0}.xs-safe-titlebox h2{margin:0!important;font-size:20px!important;line-height:1.25!important;max-width:560px!important;color:#1a1a2e!important;letter-spacing:-.02em!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.xs-safe-titlebox p{margin:2px 0 0!important;font-size:12px!important;color:#8b90a5!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:560px!important}.xs-trust-badge{display:inline-flex;align-items:center;border-radius:999px;padding:4px 10px;font-size:12px;font-weight:800;border:1px solid #e5e7eb;background:#f3f4f6;color:#64748b}.xs-trust-unknown{background:#f3f4f6;color:#64748b}.xs-modal-close{font-size:28px!important;color:#8b90a5!important;line-height:1!important}.xs-safeskill-main{display:grid!important;grid-template-columns:minmax(0,1fr) 300px!important;max-height:min(680px,calc(100vh - 108px))!important;overflow:hidden!important;background:#fff!important}.xs-safeskill-left{padding:18px 22px!important;overflow-y:auto!important;border-right:1px solid #edf0f4!important;background:#fff!important}.xs-safeskill-side{padding:18px!important;overflow-y:auto!important;background:#fff!important;border-left:0!important}.xs-modal-tag-row{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:14px}.xs-modal-tag-row span,.xs-safe-tags span{display:inline-flex;align-items:center;border-radius:999px;padding:4px 10px;background:#f3f4f6;border:1px solid #e5e7eb;color:#64748b;font-size:12px;font-weight:700}.xs-safe-section{border:0!important;border-radius:0!important;box-shadow:none!important;padding:0 0 16px!important;margin:0 0 16px!important;border-bottom:1px solid #edf0f4!important;background:#fff!important}.xs-safe-section:last-child{border-bottom:0!important}.xs-safe-section h3{margin:0 0 8px!important;color:#8b90a5!important;font-size:12px!important;font-weight:900!important;letter-spacing:.06em!important;text-transform:uppercase!important}.xs-safe-section p,.xs-safe-description{font-size:14px!important;line-height:1.68!important;color:#4b5563!important}.xs-safe-description{max-height:210px!important;overflow:auto!important;word-break:break-word!important}.xs-install-header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.xs-install-header h3{margin:0!important}.xs-install-header span{font-size:12px;color:#8b90a5;font-weight:700}.xs-install-copybox{position:relative;min-height:58px;border:1px solid #e5e7eb;border-radius:10px;background:#fff;overflow:hidden}.xs-install-copybox pre{margin:0;padding:16px 82px 16px 14px;color:#334155;font:12px/1.45 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;white-space:pre-wrap;word-break:break-word}.xs-install-copybox button{position:absolute;right:8px;top:9px;min-height:34px;border-radius:8px;border:1px solid #d9dde6;background:#f8fafc;color:#111827;font-size:12px;font-weight:800;padding:0 12px}.xs-install-note{margin:8px 0 0!important;font-size:12px!important;color:#8b90a5!important}.xs-score-card{display:flex;align-items:center;gap:12px;padding:12px;background:#f0f1f4;border-radius:10px;margin-bottom:12px}.xs-score-circle{width:50px;height:50px;border:3px solid #94a3b8;border-radius:50%;background:#fff;color:#64748b;display:grid;place-items:center;font-size:16px;font-weight:900;flex:0 0 auto}.xs-score-card span{display:block;color:#8b90a5;font-size:12px;font-weight:900}.xs-score-card b{display:block;color:#64748b;margin-top:2px}.xs-score-card em{display:block;color:#94a3b8;font-size:11px;font-style:normal;margin-top:2px}.xs-source-card{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #edf0f4;border-radius:10px;padding:10px;margin-bottom:12px;min-width:0}.xs-source-card b{display:block;color:#111827;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:190px}.xs-source-card span{display:block;color:#64748b;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:190px}.xs-safe-stats{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;margin-bottom:12px!important}.xs-safe-stats div,.xs-safe-summary div,.xs-safe-table div{background:#f3f4f6!important;border:0!important;border-radius:10px!important;padding:10px 12px!important;min-height:auto!important}.xs-safe-stats span,.xs-safe-summary span,.xs-safe-table span{display:block;color:#8b90a5;font-size:10px!important;font-weight:900;text-transform:uppercase;letter-spacing:.04em;margin-bottom:4px}.xs-safe-stats b,.xs-safe-summary b,.xs-safe-table b{display:block;color:#111827!important;font-size:13px!important;line-height:1.35;word-break:break-word}.xs-safe-summary,.xs-safe-table{display:grid;gap:6px;margin-bottom:12px}.xs-safe-actions{display:grid!important;gap:8px!important;margin-top:12px!important}.xs-safe-actions a,.xs-safe-actions button{display:flex!important;align-items:center!important;justify-content:center!important;min-height:40px!important;border-radius:10px!important;font-size:13px!important;font-weight:900!important;text-decoration:none!important;padding:0 12px!important}.xs-safe-actions .xs-action-primary{background:#111827!important;color:#fff!important}.xs-safe-actions button{background:#c7000b!important;border:1px solid #c7000b!important;color:#fff!important}.xs-modal-loading,.xs-modal-error{min-height:360px!important}.xs-modal-loading b,.xs-modal-error b{font-size:20px!important;color:#111827!important}@media(max-width:900px){.xs-modal-dialog{width:calc(100vw - 14px)!important;height:calc(100vh - 14px)!important;max-height:calc(100vh - 14px)!important;border-radius:14px!important}.xs-safeskill-head{padding:12px 14px!important}.xs-safe-titlebox h2,.xs-safe-titlebox p{max-width:calc(100vw - 160px)!important}.xs-source-pill,.xs-trust-badge{display:none!important}.xs-safeskill-main{grid-template-columns:1fr!important;max-height:calc(100vh - 92px)!important;overflow:auto!important}.xs-safeskill-left{border-right:0!important;padding:16px!important}.xs-safeskill-side{border-top:1px solid #edf0f4!important;padding:16px!important}.xs-safe-description{max-height:180px!important}.xs-modal-actions{gap:8px!important}.xs-safe-stats{grid-template-columns:1fr 1fr!important}}


/* Keep required detail actions visible and stable */
.xs-safeskill-side{display:flex!important;flex-direction:column!important;min-height:0!important}.xs-safe-actions{position:sticky!important;bottom:0!important;background:linear-gradient(180deg,rgba(255,255,255,.92),#fff 28%)!important;padding-top:12px!important;padding-bottom:2px!important;margin-top:auto!important;z-index:2!important}.xs-safe-actions a,.xs-safe-actions button{white-space:nowrap!important}.xs-safe-table{margin-bottom:6px!important}@media(max-width:900px){.xs-safe-actions{position:static!important;margin-top:12px!important;background:#fff!important}}


/* SafeSkill API trust colors */
.xs-trust-safe{background:#ecfdf5!important;color:#16a34a!important;border-color:#bbf7d0!important}.xs-trust-warn{background:#fffbeb!important;color:#b45309!important;border-color:#fde68a!important}.xs-trust-risk{background:#fff7ed!important;color:#ea580c!important;border-color:#fed7aa!important}.xs-trust-danger{background:#fef2f2!important;color:#dc2626!important;border-color:#fecaca!important}.xs-score-circle.xs-trust-safe{border-color:#16a34a!important;color:#16a34a!important}.xs-score-circle.xs-trust-warn{border-color:#d97706!important;color:#d97706!important}.xs-score-circle.xs-trust-risk{border-color:#ea580c!important;color:#ea580c!important}.xs-score-circle.xs-trust-danger{border-color:#dc2626!important;color:#dc2626!important}
/* Xingshu detail polish: readability, copy actions, no overlap */
.xs-modal-dialog{width:min(1120px,calc(100vw - 36px))!important;height:auto!important;max-height:min(860px,calc(100vh - 24px))!important;border-radius:22px!important;background:#fff!important;box-shadow:0 28px 86px rgba(15,23,42,.28)!important;border:1px solid rgba(226,232,240,.95)!important;overflow:hidden!important}.xs-modal-content{max-height:inherit!important}.xs-safeskill-head{height:auto!important;min-height:88px!important;padding:18px 24px!important;background:linear-gradient(135deg,#fff 0%,#f8fafc 72%,#fff1f2 100%)!important;border-bottom:1px solid #e5e7eb!important}.xs-modal-titlewrap{gap:16px!important}.xs-safe-icon{width:56px!important;height:56px!important;border-radius:16px!important;background:#fdf2f8!important;color:#be185d!important;font-size:28px!important}.xs-safe-titlebox{min-width:0}.xs-safe-titlebox h2{margin:0!important;font-size:25px!important;line-height:1.2!important;max-width:690px!important;color:#111827!important;letter-spacing:-.03em!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.xs-safe-titlebox p{margin:5px 0 0!important;font-size:14px!important;color:#667085!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:690px!important}.xs-trust-badge{display:inline-flex;align-items:center;border-radius:999px;padding:8px 14px;font-size:13px;font-weight:900;border:1px solid #e5e7eb;background:#f3f4f6;color:#64748b}.xs-trust-unknown{background:#f3f4f6;color:#64748b}.xs-trust-safe{background:#ecfdf5!important;color:#16a34a!important;border-color:#bbf7d0!important}.xs-trust-warn{background:#fffbeb!important;color:#b45309!important;border-color:#fde68a!important}.xs-trust-risk{background:#fff7ed!important;color:#ea580c!important;border-color:#fed7aa!important}.xs-trust-danger{background:#fef2f2!important;color:#dc2626!important;border-color:#fecaca!important}.xs-modal-close{width:46px!important;height:46px!important;border-radius:14px!important;background:#c7000b!important;color:#fff!important;font-size:30px!important;line-height:1!important;display:grid!important;place-items:center!important}.xs-safeskill-main{display:grid!important;grid-template-columns:minmax(0,1fr) 330px!important;max-height:min(730px,calc(100vh - 120px))!important;overflow:hidden!important;background:#fff!important}.xs-safeskill-left{padding:24px 28px 34px!important;overflow-y:auto!important;border-right:1px solid #e9edf3!important;background:#fff!important}.xs-safeskill-side{display:block!important;padding:24px!important;overflow-y:auto!important;background:#fbfcfe!important;border-left:0!important;min-height:0!important}.xs-modal-tag-row{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}.xs-modal-tag-row span,.xs-safe-tags span{display:inline-flex;align-items:center;border-radius:999px;padding:7px 12px;background:#f8fafc;border:1px solid #e5e7eb;color:#475569;font-size:13px;font-weight:800}.xs-safe-section{border:0!important;border-bottom:1px solid #edf0f4!important;border-radius:0!important;box-shadow:none!important;padding:0 0 22px!important;margin:0 0 22px!important;background:#fff!important}.xs-safe-section:last-child{border-bottom:0!important}.xs-safe-section h3{margin:0 0 12px!important;color:#667085!important;font-size:14px!important;font-weight:950!important;letter-spacing:.04em!important;text-transform:none!important}.xs-safe-section p,.xs-safe-description{font-size:16px!important;line-height:1.85!important;color:#344054!important}.xs-intro-section p{font-size:17px!important;color:#334155!important}.xs-safe-description{max-height:none!important;overflow:visible!important;word-break:break-word!important}.xs-prompt-box{max-height:240px!important;overflow:auto!important;background:#0f172a!important;color:#e5e7eb!important;border-radius:14px!important;padding:16px!important;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace!important;font-size:13px!important}.xs-feature-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important}.xs-feature-item{display:flex;align-items:flex-start;gap:10px;background:#f8fafc;border:1px solid #edf0f4;border-radius:12px;padding:11px 12px;color:#344054;font-size:14px;line-height:1.5}.xs-feature-item span{color:#16a34a;font-weight:950;margin-top:1px}.xs-feature-item b{font-weight:650}.xs-copy-stack{display:grid;gap:10px;margin-top:16px}.xs-copy-line{display:grid;grid-template-columns:116px minmax(0,1fr) auto;align-items:center;gap:10px;background:#f8fafc;border:1px solid #e5e7eb;border-radius:12px;padding:10px 12px}.xs-copy-line span{color:#667085;font-size:12px;font-weight:900}.xs-copy-line code{color:#111827;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.xs-copy-line button,.xs-install-toolbar button{border:1px solid #c7000b!important;background:#c7000b!important;color:#fff!important;border-radius:10px!important;font-size:12px!important;font-weight:900!important;min-height:34px!important;padding:0 12px!important;white-space:nowrap!important}.xs-install-header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.xs-install-header h3{margin:0!important}.xs-install-header span{font-size:12px;color:#667085;font-weight:800}.xs-install-note-main{background:#f8fafc;border:1px solid #edf0f4;border-radius:12px;padding:12px 14px;margin:0 0 12px!important;color:#475569!important;font-size:14px!important;line-height:1.7!important}.xs-install-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 8px}.xs-install-toolbar b{font-size:13px;color:#667085}.xs-install-copybox{position:static!important;min-height:0!important;border:1px solid #d8dee8!important;border-radius:14px!important;background:#fff!important;overflow:auto!important}.xs-install-copybox pre{margin:0!important;padding:18px 20px!important;color:#111827!important;font:16px/1.62 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace!important;white-space:pre-wrap!important;word-break:break-word!important}.xs-install-copybox button{position:static!important}.xs-install-note{margin:10px 0 0!important;font-size:13px!important;line-height:1.6!important;color:#667085!important}.xs-score-card{display:flex;align-items:center;gap:14px;padding:18px;background:#eef2f7;border-radius:16px;margin-bottom:16px}.xs-score-circle{width:62px;height:62px;border:4px solid #94a3b8;border-radius:50%;background:#fff;color:#64748b;display:grid;place-items:center;font-size:22px;font-weight:950;flex:0 0 auto}.xs-score-circle.xs-trust-safe{border-color:#16a34a!important;color:#16a34a!important}.xs-score-circle.xs-trust-warn{border-color:#d97706!important;color:#d97706!important}.xs-score-circle.xs-trust-risk{border-color:#ea580c!important;color:#ea580c!important}.xs-score-circle.xs-trust-danger{border-color:#dc2626!important;color:#dc2626!important}.xs-score-card span{display:block;color:#667085;font-size:12px;font-weight:900}.xs-score-card b{display:block;color:#111827;margin-top:3px;font-size:18px}.xs-score-card em{display:block;color:#667085;font-size:12px;font-style:normal;margin-top:3px}.xs-source-card{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:14px;margin-bottom:16px;min-width:0}.xs-source-card b{display:block;color:#111827;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:220px}.xs-source-card span{display:block;color:#64748b;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:220px}.xs-safe-actions{position:static!important;display:grid!important;gap:10px!important;margin:0 0 16px!important;background:transparent!important;padding:0!important;z-index:auto!important}.xs-safe-actions a,.xs-safe-actions button{display:flex!important;align-items:center!important;justify-content:center!important;min-height:48px!important;border-radius:14px!important;font-size:15px!important;font-weight:950!important;text-decoration:none!important;padding:0 14px!important;white-space:nowrap!important}.xs-safe-actions .xs-action-primary{background:#111827!important;color:#fff!important}.xs-safe-actions button{background:#c7000b!important;border:1px solid #c7000b!important;color:#fff!important}.xs-safe-stats{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;margin-bottom:16px!important}.xs-safe-stats div,.xs-safe-summary div,.xs-safe-table div{background:#eef2f7!important;border:0!important;border-radius:14px!important;padding:12px 14px!important;min-height:auto!important}.xs-safe-stats span,.xs-safe-summary span,.xs-safe-table span{display:block;color:#667085;font-size:11px!important;font-weight:950;text-transform:none;letter-spacing:.02em;margin-bottom:6px}.xs-safe-stats b,.xs-safe-summary b,.xs-safe-table b{display:block;color:#111827!important;font-size:14px!important;line-height:1.4;word-break:break-word}.xs-safe-summary,.xs-safe-table{display:grid;gap:8px;margin-bottom:16px}.xs-modal-loading,.xs-modal-error{min-height:420px!important}.xs-modal-loading b,.xs-modal-error b{font-size:22px!important;color:#111827!important}@media(max-width:900px){.xs-modal-dialog{width:calc(100vw - 12px)!important;height:calc(100vh - 12px)!important;max-height:calc(100vh - 12px)!important;border-radius:18px!important}.xs-safeskill-head{padding:14px!important;min-height:74px!important}.xs-safe-titlebox h2{font-size:20px!important;max-width:calc(100vw - 160px)!important}.xs-safe-titlebox p{max-width:calc(100vw - 160px)!important}.xs-trust-badge{display:none!important}.xs-modal-close{width:40px!important;height:40px!important;font-size:26px!important}.xs-safeskill-main{grid-template-columns:1fr!important;max-height:calc(100vh - 86px)!important;overflow:auto!important}.xs-safeskill-left{border-right:0!important;padding:18px!important}.xs-safeskill-side{border-top:1px solid #edf0f4!important;padding:18px!important}.xs-feature-grid{grid-template-columns:1fr!important}.xs-copy-line{grid-template-columns:1fr;gap:7px}.xs-install-toolbar{align-items:stretch;flex-direction:column}.xs-install-toolbar button{width:100%}.xs-safe-stats{grid-template-columns:1fr 1fr!important}.xs-safe-actions{margin-top:8px!important}}
/* Final viewport-fit override: no modal clipping at any resolution */
.xs-modal{display:grid!important;place-items:center!important;padding:clamp(6px,1.6vh,18px)!important}.xs-modal[hidden]{display:none!important}.xs-modal-dialog{margin:0!important;width:min(96vw,1180px)!important;height:min(94vh,860px)!important;max-height:94vh!important;border-radius:clamp(14px,1.5vw,24px)!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}.xs-modal-content{height:100%!important;min-height:0!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}.xs-safeskill-head{flex:0 0 auto!important;min-height:0!important;padding:clamp(10px,1.8vh,18px) clamp(14px,2vw,24px)!important}.xs-safe-icon{width:clamp(40px,5.5vh,56px)!important;height:clamp(40px,5.5vh,56px)!important;font-size:clamp(20px,3vh,28px)!important}.xs-safe-titlebox h2{font-size:clamp(20px,3.2vh,38px)!important;line-height:1.12!important;max-width:min(62vw,760px)!important}.xs-safe-titlebox p{font-size:clamp(12px,1.7vh,18px)!important;max-width:min(62vw,760px)!important}.xs-modal-actions{gap:clamp(8px,1.4vw,18px)!important}.xs-trust-badge{font-size:clamp(12px,1.7vh,16px)!important;padding:clamp(5px,.9vh,10px) clamp(10px,1.3vw,16px)!important}.xs-modal-close{width:clamp(38px,6vh,68px)!important;height:clamp(38px,6vh,68px)!important;font-size:clamp(24px,4vh,40px)!important}.xs-safeskill-main{flex:1 1 auto!important;min-height:0!important;height:auto!important;max-height:none!important;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(260px,28%)!important;overflow:hidden!important}.xs-safeskill-left,.xs-safeskill-side{min-height:0!important;max-height:none!important;overflow-y:auto!important;overscroll-behavior:contain!important}.xs-safeskill-left{padding:clamp(14px,2.4vh,26px) clamp(16px,2.3vw,30px)!important}.xs-safeskill-side{display:block!important;padding:clamp(14px,2.2vh,24px)!important}.xs-modal-tag-row{gap:clamp(5px,.8vh,8px)!important;margin-bottom:clamp(10px,1.8vh,18px)!important}.xs-modal-tag-row span,.xs-safe-tags span{font-size:clamp(11px,1.55vh,14px)!important;padding:clamp(4px,.75vh,7px) clamp(8px,1vw,12px)!important}.xs-safe-section{padding-bottom:clamp(12px,2vh,22px)!important;margin-bottom:clamp(12px,2vh,22px)!important}.xs-safe-section h3{font-size:clamp(12px,1.75vh,16px)!important;margin-bottom:clamp(7px,1vh,12px)!important}.xs-safe-section p,.xs-safe-description{font-size:clamp(13px,1.9vh,17px)!important;line-height:1.65!important}.xs-intro-section p{font-size:clamp(14px,2.1vh,18px)!important}.xs-feature-grid{gap:clamp(7px,1vh,10px)!important}.xs-feature-item{padding:clamp(8px,1.2vh,12px)!important;font-size:clamp(12px,1.75vh,15px)!important;line-height:1.45!important}.xs-copy-stack{gap:clamp(7px,1vh,10px)!important;margin-top:clamp(10px,1.5vh,16px)!important}.xs-copy-line{grid-template-columns:minmax(92px,116px) minmax(0,1fr) auto!important;padding:clamp(8px,1.1vh,11px) clamp(10px,1.2vw,13px)!important}.xs-copy-line span,.xs-install-toolbar b{font-size:clamp(11px,1.55vh,13px)!important}.xs-copy-line code{font-size:clamp(12px,1.7vh,14px)!important}.xs-copy-line button,.xs-install-toolbar button{min-height:clamp(30px,4.2vh,38px)!important;font-size:clamp(11px,1.55vh,13px)!important}.xs-install-header{margin-bottom:clamp(7px,1vh,10px)!important}.xs-install-note-main{padding:clamp(9px,1.3vh,13px)!important;margin-bottom:clamp(8px,1.2vh,12px)!important;font-size:clamp(12px,1.65vh,14px)!important;line-height:1.55!important}.xs-install-copybox pre{padding:clamp(12px,1.8vh,18px) clamp(14px,1.8vw,20px)!important;font-size:clamp(12px,1.85vh,16px)!important;line-height:1.5!important}.xs-install-note{font-size:clamp(11px,1.5vh,13px)!important;margin-top:clamp(7px,1vh,10px)!important}.xs-prompt-box{max-height:28vh!important;font-size:clamp(11px,1.55vh,13px)!important;padding:clamp(10px,1.6vh,16px)!important}.xs-score-card{padding:clamp(10px,1.7vh,18px)!important;margin-bottom:clamp(10px,1.7vh,16px)!important}.xs-score-circle{width:clamp(48px,7.2vh,64px)!important;height:clamp(48px,7.2vh,64px)!important;font-size:clamp(18px,2.8vh,24px)!important}.xs-score-card b{font-size:clamp(15px,2.2vh,20px)!important}.xs-score-card span,.xs-score-card em{font-size:clamp(11px,1.55vh,13px)!important}.xs-source-card{padding:clamp(10px,1.5vh,14px)!important;margin-bottom:clamp(10px,1.5vh,16px)!important}.xs-source-card b{font-size:clamp(12px,1.7vh,14px)!important}.xs-source-card span{font-size:clamp(11px,1.55vh,13px)!important}.xs-safe-actions{position:static!important;margin:0 0 clamp(10px,1.7vh,16px)!important;padding:0!important;background:transparent!important;gap:clamp(8px,1.1vh,10px)!important}.xs-safe-actions a,.xs-safe-actions button{min-height:clamp(40px,5.8vh,52px)!important;font-size:clamp(13px,1.9vh,16px)!important;border-radius:clamp(10px,1.4vh,14px)!important}.xs-safe-stats{gap:clamp(8px,1.1vh,10px)!important;margin-bottom:clamp(10px,1.6vh,16px)!important}.xs-safe-stats div,.xs-safe-summary div,.xs-safe-table div{padding:clamp(9px,1.4vh,13px)!important;border-radius:clamp(10px,1.4vh,14px)!important}.xs-safe-stats span,.xs-safe-summary span,.xs-safe-table span{font-size:clamp(10px,1.35vh,12px)!important}.xs-safe-stats b,.xs-safe-summary b,.xs-safe-table b{font-size:clamp(12px,1.7vh,14px)!important}.xs-safe-summary,.xs-safe-table{gap:clamp(6px,.9vh,8px)!important;margin-bottom:clamp(10px,1.6vh,16px)!important}@media(max-height:760px){.xs-modal{padding:6px!important}.xs-modal-dialog{height:calc(100vh - 12px)!important;max-height:calc(100vh - 12px)!important}.xs-safeskill-head{padding:10px 18px!important}.xs-safe-icon{width:42px!important;height:42px!important}.xs-safe-titlebox h2{font-size:24px!important}.xs-safe-titlebox p{font-size:13px!important}.xs-modal-tag-row{margin-bottom:10px!important}.xs-safe-section{padding-bottom:12px!important;margin-bottom:12px!important}.xs-feature-grid{grid-template-columns:1fr 1fr!important}.xs-feature-item{padding:8px 10px!important}.xs-install-note-main{display:none!important}.xs-safe-actions a,.xs-safe-actions button{min-height:40px!important}.xs-score-card{padding:10px!important}.xs-score-circle{width:48px!important;height:48px!important}.xs-safe-stats div:nth-child(n+3){display:none!important}}@media(max-height:640px){.xs-safe-titlebox h2{font-size:20px!important}.xs-trust-badge{display:none!important}.xs-feature-section{display:none!important}.xs-prompt-box{max-height:22vh!important}.xs-safe-stats{grid-template-columns:1fr 1fr!important}.xs-safe-summary{display:none!important}}@media(max-width:900px){.xs-modal{padding:6px!important}.xs-modal-dialog{width:calc(100vw - 12px)!important;height:calc(100vh - 12px)!important;max-height:calc(100vh - 12px)!important}.xs-safeskill-main{display:block!important;overflow-y:auto!important}.xs-safeskill-left,.xs-safeskill-side{overflow:visible!important}.xs-safeskill-side{border-top:1px solid #edf0f4!important}.xs-copy-line{grid-template-columns:1fr!important}.xs-feature-grid{grid-template-columns:1fr!important}.xs-safe-actions a,.xs-safe-actions button{min-height:44px!important}}
/* Final compact fit override: prioritize visible controls and prevent perceived clipping */
.xs-modal{overflow:hidden!important}.xs-modal-backdrop{position:absolute!important}.xs-modal-dialog{height:min(96vh,900px)!important;max-height:96vh!important}.xs-safeskill-main{min-height:0!important}.xs-safeskill-left,.xs-safeskill-side{scrollbar-width:thin}.xs-safeskill-left::-webkit-scrollbar,.xs-safeskill-side::-webkit-scrollbar{width:8px}.xs-safeskill-left::-webkit-scrollbar-thumb,.xs-safeskill-side::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}.xs-safe-actions{position:sticky!important;top:0!important;background:linear-gradient(180deg,#fbfcfe 0%,#fbfcfe 82%,rgba(251,252,254,0))!important;padding-bottom:12px!important;z-index:5!important}.xs-safe-actions a,.xs-safe-actions button{box-shadow:0 6px 16px rgba(15,23,42,.08)!important}.xs-safe-description{max-height:32vh!important;overflow:auto!important}.xs-intro-section .xs-safe-description,.xs-intro-section p{max-height:none!important;overflow:visible!important}.xs-prompt-box{max-height:20vh!important}.xs-safe-table{padding-bottom:12px!important}@media(max-height:820px){.xs-modal-dialog{height:calc(100vh - 10px)!important;max-height:calc(100vh - 10px)!important}.xs-modal{padding:5px!important}.xs-safeskill-head{padding:8px 16px!important}.xs-safe-icon{width:40px!important;height:40px!important}.xs-safe-titlebox h2{font-size:22px!important}.xs-modal-close{width:40px!important;height:40px!important}.xs-safeskill-left{padding:12px 18px!important}.xs-safeskill-side{padding:12px 16px!important}.xs-safe-section{padding-bottom:10px!important;margin-bottom:10px!important}.xs-safe-section p,.xs-safe-description{line-height:1.5!important}.xs-copy-stack{margin-top:8px!important}.xs-feature-item{font-size:12px!important}.xs-install-note,.xs-install-note-main{display:none!important}.xs-prompt-box{display:none!important}.xs-safe-table{display:none!important}.xs-safe-actions{gap:7px!important;margin-bottom:8px!important}.xs-safe-actions a,.xs-safe-actions button{min-height:38px!important}.xs-safe-stats{margin-bottom:8px!important}.xs-safe-summary{display:none!important}}@media(max-height:700px){.xs-feature-section{display:none!important}.xs-safe-tags{display:none!important}.xs-install-copybox pre{max-height:120px!important;overflow:auto!important}.xs-score-card{margin-bottom:8px!important}.xs-source-card{display:none!important}.xs-safe-stats div:nth-child(n+3){display:none!important}}@media(max-width:900px){.xs-modal-dialog{height:calc(100vh - 10px)!important;max-height:calc(100vh - 10px)!important}.xs-safeskill-main{display:flex!important;flex-direction:column!important;overflow-y:auto!important}.xs-safeskill-side{order:-1!important;overflow:visible!important;background:#fbfcfe!important}.xs-safeskill-left{overflow:visible!important}.xs-safe-actions{position:static!important;background:transparent!important;padding-bottom:0!important}.xs-source-card,.xs-safe-summary,.xs-safe-table{display:none!important}.xs-score-card{margin-bottom:10px!important}.xs-safe-stats{grid-template-columns:1fr 1fr!important}.xs-safe-stats div:nth-child(n+3){display:none!important}.xs-install-note-main{display:none!important}.xs-prompt-box{display:none!important}}
/* api7 resolution-following layout: prioritize intro/install without bottom clipping */
.xs-safeskill-main{grid-template-columns:minmax(0,1fr) clamp(300px,28vw,430px)!important}.xs-safeskill-left{display:block!important}.xs-intro-section{margin-bottom:clamp(8px,1.4vh,14px)!important}.xs-intro-section p{margin:0!important}.xs-install-panel{background:#fbfcfe!important;border:1px solid #e5e7eb!important;border-radius:18px!important;padding:clamp(12px,2vh,18px)!important;margin-bottom:clamp(12px,2vh,20px)!important}.xs-install-copybox{max-height:clamp(82px,16vh,150px)!important;overflow:auto!important}.xs-install-copybox pre{margin:0!important}.xs-feature-section{margin-top:0!important}.xs-safe-description{max-height:clamp(120px,26vh,280px)!important;overflow:auto!important}.xs-safeskill-side{background:#fbfcfe!important}.xs-score-card{position:relative!important}.xs-safe-actions{position:sticky!important;top:0!important}.xs-safe-stats{grid-template-columns:1fr 1fr!important}@media(max-height:900px){.xs-modal-dialog{height:calc(100vh - 12px)!important;max-height:calc(100vh - 12px)!important}.xs-safeskill-head{padding:10px 22px!important}.xs-safe-titlebox h2{font-size:26px!important}.xs-safe-titlebox p{font-size:14px!important}.xs-modal-tag-row{margin-bottom:8px!important}.xs-intro-section p{font-size:16px!important;line-height:1.55!important}.xs-install-panel{padding:12px!important}.xs-install-note-main{display:none!important}.xs-install-copybox{max-height:112px!important}.xs-feature-grid{grid-template-columns:1fr 1fr!important}.xs-feature-item{min-height:0!important;padding:8px 10px!important}.xs-safe-section{padding-bottom:10px!important;margin-bottom:10px!important}.xs-safe-actions a,.xs-safe-actions button{min-height:40px!important}.xs-safe-summary,.xs-safe-table,.xs-prompt-box{display:none!important}}@media(max-height:760px){.xs-safe-icon{width:38px!important;height:38px!important}.xs-safe-titlebox h2{font-size:21px!important}.xs-safe-titlebox p{font-size:12px!important}.xs-trust-badge{display:none!important}.xs-safeskill-left{padding:10px 14px!important}.xs-safeskill-side{padding:10px 14px!important}.xs-intro-section p{font-size:14px!important;line-height:1.45!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}.xs-copy-line{padding:7px 9px!important}.xs-install-header h3,.xs-safe-section h3{font-size:13px!important}.xs-install-copybox{max-height:78px!important}.xs-feature-section{display:none!important}.xs-safe-tags{display:none!important}.xs-source-card{display:none!important}.xs-score-card{display:none!important}.xs-safe-stats div:nth-child(n+3){display:none!important}}@media(max-width:900px){.xs-safeskill-main{display:flex!important;flex-direction:column!important;overflow:auto!important}.xs-safeskill-side{order:-1!important;flex:0 0 auto!important}.xs-safeskill-left{flex:0 0 auto!important}.xs-safe-actions{position:static!important}.xs-score-card{display:flex!important}.xs-install-copybox{max-height:130px!important}}
/* api8 Huawei official inspired redesign */
:root{--xs-hw-red:#c7000b;--xs-hw-red2:#e60012;--xs-hw-ink:#111827;--xs-hw-text:#333840;--xs-hw-muted:#6b7280;--xs-hw-line:#e5e7eb;--xs-hw-soft:#f6f7f9;--xs-hw-card:#fff;--xs-hw-shadow:0 18px 50px rgba(17,24,39,.08)}
body{background:#f5f6f8!important;color:var(--xs-hw-ink)!important;font-family:"HarmonyOS Sans","Segoe UI","Microsoft YaHei",system-ui,sans-serif!important}.xs-online-page{max-width:1280px!important;padding:40px 24px 80px!important}.xs-online-hero{background:linear-gradient(135deg,#fff 0%,#fafafa 58%,#fff5f5 100%)!important;border:1px solid #edf0f4!important;border-radius:28px!important;padding:42px!important;box-shadow:0 20px 70px rgba(17,24,39,.07)!important}.xs-kicker{color:var(--xs-hw-red)!important;letter-spacing:.18em!important}.xs-online-hero h1{color:#111!important;font-weight:900!important;letter-spacing:-.055em!important}.xs-online-hero p{color:#4b5563!important}.xs-live-card{background:#111!important;border-radius:24px!important;box-shadow:0 22px 54px rgba(0,0,0,.18)!important}.xs-search,.xs-select,.xs-category-panel,.xs-result-head,.xs-card{border:1px solid #edf0f4!important;border-radius:22px!important;background:#fff!important;box-shadow:0 10px 34px rgba(17,24,39,.05)!important}.xs-cat{border-radius:18px!important}.xs-cat.active,.xs-card a,button,.xs-detail-btn{background:var(--xs-hw-red)!important;border-color:var(--xs-hw-red)!important;color:#fff!important}.xs-card:hover{border-color:#f3b1b6!important;box-shadow:0 20px 52px rgba(17,24,39,.1)!important}.xs-card h3{color:#111!important}.xs-card p{color:#5b6472!important}.xs-modal{display:grid!important;place-items:center!important;padding:clamp(8px,1.4vh,18px)!important;overflow:hidden!important}.xs-modal[hidden]{display:none!important}.xs-modal-backdrop{background:rgba(17,24,39,.54)!important;backdrop-filter:blur(14px)!important}.xs-modal-dialog{margin:0!important;width:min(96vw,1240px)!important;height:min(96vh,920px)!important;max-height:96vh!important;background:#fff!important;border:1px solid rgba(229,231,235,.95)!important;border-radius:28px!important;box-shadow:0 32px 110px rgba(0,0,0,.28)!important;overflow:hidden!important}.xs-modal-content{height:100%!important;display:flex!important;flex-direction:column!important;min-height:0!important;overflow:hidden!important}.xs-safeskill-head{flex:0 0 auto!important;min-height:0!important;padding:clamp(16px,2.2vh,26px) clamp(24px,3vw,42px)!important;background:linear-gradient(135deg,#fff 0%,#fbfbfb 62%,#fff3f4 100%)!important;border-bottom:1px solid #edf0f4!important}.xs-modal-titlewrap{gap:18px!important}.xs-safe-icon{width:clamp(48px,6.8vh,72px)!important;height:clamp(48px,6.8vh,72px)!important;border-radius:20px!important;background:#f5f6f8!important;box-shadow:inset 0 0 0 1px #edf0f4!important}.xs-safe-titlebox h2{font-size:clamp(24px,3.8vh,42px)!important;line-height:1.08!important;color:#111!important;font-weight:950!important;letter-spacing:-.045em!important;max-width:min(58vw,760px)!important}.xs-safe-titlebox p{font-size:clamp(12px,1.8vh,16px)!important;color:#6b7280!important;margin-top:6px!important}.xs-trust-badge{background:#fff!important;border:1px solid #e5e7eb!important;color:#111!important;border-radius:999px!important;padding:10px 16px!important;font-weight:900!important;box-shadow:0 8px 24px rgba(17,24,39,.06)!important}.xs-modal-close{background:#f6f7f9!important;border:1px solid #edf0f4!important;color:#374151!important;width:48px!important;height:48px!important;border-radius:50%!important;font-size:28px!important}.xs-safeskill-main{flex:1 1 auto!important;min-height:0!important;height:auto!important;display:grid!important;grid-template-columns:minmax(0,1fr) clamp(320px,30vw,440px)!important;overflow:hidden!important;background:#fff!important}.xs-safeskill-left,.xs-safeskill-side{min-height:0!important;overflow-y:auto!important;scrollbar-width:thin!important}.xs-safeskill-left{padding:clamp(22px,3vh,36px) clamp(26px,3.2vw,46px)!important;border-right:1px solid #edf0f4!important;background:#fff!important}.xs-safeskill-side{padding:clamp(20px,2.7vh,34px)!important;background:#fafafa!important}.xs-modal-tag-row{gap:10px!important;margin-bottom:20px!important}.xs-modal-tag-row span,.xs-safe-tags span{background:#f6f7f9!important;border:1px solid #edf0f4!important;color:#4b5563!important;border-radius:999px!important;padding:8px 13px!important;font-size:13px!important;font-weight:850!important}.xs-safe-section{padding:0 0 clamp(18px,2.4vh,28px)!important;margin:0 0 clamp(18px,2.4vh,28px)!important;border-bottom:1px solid #edf0f4!important}.xs-safe-section:last-child{border-bottom:0!important}.xs-safe-section h3,.xs-install-header h3{margin:0 0 12px!important;color:#111!important;font-size:18px!important;font-weight:950!important;letter-spacing:-.015em!important;text-transform:none!important}.xs-safe-section h3::before,.xs-install-header h3::before{content:"";display:inline-block;width:4px;height:16px;background:var(--xs-hw-red);border-radius:99px;margin-right:10px;vertical-align:-2px}.xs-intro-section p,.xs-safe-description,.xs-safe-section p{color:#3f4652!important;font-size:16px!important;line-height:1.75!important}.xs-copy-stack{display:grid!important;gap:10px!important;margin-top:16px!important}.xs-copy-line{display:grid!important;grid-template-columns:120px minmax(0,1fr) auto!important;align-items:center!important;gap:12px!important;background:#f6f7f9!important;border:1px solid #edf0f4!important;border-radius:16px!important;padding:12px!important}.xs-copy-line span{color:#6b7280!important;font-size:13px!important;font-weight:900!important}.xs-copy-line code{color:#111!important;font-size:14px!important;background:transparent!important;word-break:break-all!important}.xs-copy-line button,.xs-install-toolbar button{background:#111!important;border-color:#111!important;border-radius:999px!important;min-height:36px!important;padding:0 16px!important;font-size:13px!important;font-weight:900!important}.xs-install-panel{background:linear-gradient(180deg,#fff 0%,#fbfbfb 100%)!important;border:1px solid #edf0f4!important;border-radius:24px!important;padding:clamp(18px,2.4vh,24px)!important;box-shadow:0 14px 40px rgba(17,24,39,.06)!important}.xs-install-header{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin-bottom:14px!important}.xs-install-header span{color:var(--xs-hw-red)!important;font-size:12px!important;font-weight:950!important;background:#fff1f2!important;border:1px solid #ffe4e6!important;border-radius:999px!important;padding:6px 10px!important}.xs-install-note-main,.xs-install-note{background:#fff!important;border:1px solid #edf0f4!important;border-radius:16px!important;color:#4b5563!important;padding:12px 14px!important;line-height:1.65!important}.xs-install-toolbar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin:14px 0 8px!important}.xs-install-toolbar b{color:#111!important;font-size:14px!important;font-weight:950!important}.xs-install-copybox,.xs-prompt-box{background:#111827!important;border:1px solid #111827!important;border-radius:18px!important;overflow:auto!important;max-height:clamp(96px,16vh,160px)!important}.xs-install-copybox pre,.xs-prompt-box{color:#f9fafb!important;font-size:13px!important;line-height:1.65!important}.xs-install-copybox pre{margin:0!important;padding:16px 18px!important;white-space:pre-wrap!important;word-break:break-word!important}.xs-agent-prompt-block{margin-top:16px!important;padding-top:16px!important;border-top:1px dashed #d1d5db!important}.xs-feature-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}.xs-feature-item{background:#fff!important;border:1px solid #edf0f4!important;border-radius:18px!important;padding:14px!important;color:#111!important;box-shadow:0 8px 24px rgba(17,24,39,.04)!important}.xs-feature-item span{color:var(--xs-hw-red)!important}.xs-feature-item b{font-size:14px!important;line-height:1.45!important}.xs-score-card,.xs-source-card,.xs-safe-stats div,.xs-safe-summary div,.xs-safe-table div{background:#fff!important;border:1px solid #edf0f4!important;border-radius:20px!important;box-shadow:0 10px 30px rgba(17,24,39,.05)!important}.xs-score-card{display:flex!important;gap:16px!important;align-items:center!important;padding:18px!important;margin-bottom:16px!important}.xs-score-circle{background:#fff!important;border-width:4px!important;width:64px!important;height:64px!important}.xs-score-card span,.xs-safe-stats span,.xs-safe-summary span,.xs-safe-table span{color:#6b7280!important;font-size:12px!important;font-weight:900!important;text-transform:none!important}.xs-score-card b,.xs-safe-stats b,.xs-safe-summary b,.xs-safe-table b{color:#111!important}.xs-source-card{padding:14px!important;margin-bottom:16px!important}.xs-safe-actions{position:sticky!important;top:0!important;z-index:10!important;display:grid!important;gap:10px!important;margin:0 0 16px!important;padding:0 0 14px!important;background:linear-gradient(180deg,#fafafa 0%,#fafafa 82%,rgba(250,250,250,0))!important}.xs-safe-actions a,.xs-safe-actions button{border-radius:999px!important;min-height:46px!important;font-weight:950!important;text-decoration:none!important}.xs-safe-actions .xs-action-primary{background:var(--xs-hw-red)!important;border-color:var(--xs-hw-red)!important;color:#fff!important}.xs-safe-actions button{background:#111!important;border-color:#111!important;color:#fff!important}.xs-safe-stats{display:grid!important;grid-template-columns:1fr 1fr!important;gap:12px!important;margin-bottom:16px!important}.xs-safe-stats div,.xs-safe-summary div,.xs-safe-table div{padding:14px!important;min-height:auto!important}.xs-safe-summary,.xs-safe-table{display:grid!important;gap:10px!important;margin-bottom:16px!important}@media(max-height:860px){.xs-modal{padding:6px!important}.xs-modal-dialog{height:calc(100vh - 12px)!important;max-height:calc(100vh - 12px)!important}.xs-safeskill-head{padding:10px 22px!important}.xs-safe-icon{width:42px!important;height:42px!important}.xs-safe-titlebox h2{font-size:24px!important}.xs-safe-titlebox p{font-size:13px!important}.xs-safeskill-left{padding:14px 20px!important}.xs-safeskill-side{padding:14px 18px!important}.xs-safe-section{padding-bottom:12px!important;margin-bottom:12px!important}.xs-install-note-main{display:none!important}.xs-install-copybox,.xs-prompt-box{max-height:92px!important}.xs-feature-grid{grid-template-columns:1fr 1fr!important}.xs-safe-summary,.xs-safe-table{display:none!important}.xs-safe-actions a,.xs-safe-actions button{min-height:40px!important}.xs-source-card{display:none!important}}@media(max-height:720px){.xs-trust-badge{display:none!important}.xs-intro-section p{display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}.xs-feature-section,.xs-safe-tags{display:none!important}.xs-score-card{display:none!important}.xs-safe-stats div:nth-child(n+3){display:none!important}.xs-install-copybox,.xs-prompt-box{max-height:72px!important}}@media(max-width:900px){.xs-online-page{padding:24px 12px 60px!important}.xs-online-hero{grid-template-columns:1fr!important;padding:26px!important}.xs-toolbar{grid-template-columns:1fr!important}.xs-modal{padding:6px!important}.xs-modal-dialog{width:calc(100vw - 12px)!important;height:calc(100vh - 12px)!important;max-height:calc(100vh - 12px)!important;border-radius:22px!important}.xs-safeskill-head{padding:14px!important}.xs-safe-titlebox h2{font-size:22px!important;max-width:calc(100vw - 150px)!important}.xs-trust-badge{display:none!important}.xs-safeskill-main{display:flex!important;flex-direction:column!important;overflow:auto!important}.xs-safeskill-side{order:-1!important;overflow:visible!important;background:#fafafa!important}.xs-safeskill-left{overflow:visible!important;border-right:0!important;border-top:1px solid #edf0f4!important}.xs-safe-actions{position:static!important;background:transparent!important;padding:0!important}.xs-copy-line{grid-template-columns:1fr!important}.xs-feature-grid{grid-template-columns:1fr!important}.xs-install-header{align-items:flex-start!important;flex-direction:column!important}.xs-safe-summary,.xs-safe-table,.xs-source-card{display:none!important}}
/* api9 mobile-first install prompt visibility */
.xs-install-panel{order:-2!important}.xs-intro-section{order:-1!important}.xs-agent-prompt-block .xs-install-toolbar{margin-top:10px!important}@media(max-width:900px){.xs-modal-tag-row{margin-bottom:10px!important}.xs-install-panel{padding:14px!important;margin-bottom:12px!important}.xs-install-note-main,.xs-install-note{display:none!important}.xs-install-toolbar{margin:8px 0 6px!important}.xs-install-copybox,.xs-prompt-box{max-height:74px!important}.xs-install-copybox pre,.xs-prompt-box{font-size:12px!important;line-height:1.5!important}.xs-agent-prompt-block{margin-top:10px!important;padding-top:10px!important}.xs-intro-section p{display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}.xs-copy-stack{margin-top:10px!important}}@media(max-width:900px) and (max-height:760px){.xs-install-copybox,.xs-prompt-box{max-height:58px!important}.xs-install-toolbar button{min-height:34px!important}.xs-safe-actions a,.xs-safe-actions button{min-height:38px!important}}
/* api11 complete-content policy: never hide or truncate modal details */
#xs-skill-modal .xs-modal-dialog{height:min(96vh,920px)!important;max-height:96vh!important;overflow:hidden!important}#xs-skill-modal .xs-modal-content{height:100%!important;min-height:0!important;overflow:hidden!important}#xs-skill-modal .xs-safeskill-main{flex:1 1 auto!important;min-height:0!important;overflow:hidden!important}#xs-skill-modal .xs-safeskill-left,#xs-skill-modal .xs-safeskill-side{min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain!important}#xs-skill-modal .xs-feature-section,#xs-skill-modal .xs-safe-tags,#xs-skill-modal .xs-score-card,#xs-skill-modal .xs-source-card,#xs-skill-modal .xs-safe-summary,#xs-skill-modal .xs-safe-table,#xs-skill-modal .xs-install-note-main,#xs-skill-modal .xs-install-note,#xs-skill-modal .xs-prompt-box,#xs-skill-modal .xs-agent-prompt-block{display:block!important}#xs-skill-modal .xs-safe-stats div{display:block!important}#xs-skill-modal .xs-intro-section p{display:block!important;-webkit-line-clamp:unset!important;-webkit-box-orient:unset!important;overflow:visible!important}#xs-skill-modal .xs-safe-description,#xs-skill-modal .xs-prompt-box{max-height:none!important;overflow:visible!important}#xs-skill-modal .xs-install-copybox{max-height:none!important;overflow:visible!important}#xs-skill-modal .xs-safe-actions{position:static!important;background:transparent!important;padding-bottom:0!important}@media(max-height:860px){#xs-skill-modal .xs-install-note-main,#xs-skill-modal .xs-install-note,#xs-skill-modal .xs-safe-summary,#xs-skill-modal .xs-safe-table,#xs-skill-modal .xs-source-card,#xs-skill-modal .xs-score-card{display:block!important}#xs-skill-modal .xs-feature-section,#xs-skill-modal .xs-safe-tags{display:block!important}#xs-skill-modal .xs-safe-description,#xs-skill-modal .xs-prompt-box,#xs-skill-modal .xs-install-copybox{max-height:none!important;overflow:visible!important}}@media(max-height:720px){#xs-skill-modal .xs-trust-badge{display:inline-flex!important}#xs-skill-modal .xs-feature-section,#xs-skill-modal .xs-safe-tags,#xs-skill-modal .xs-score-card,#xs-skill-modal .xs-safe-stats div:nth-child(n+3){display:block!important}#xs-skill-modal .xs-intro-section p{display:block!important;-webkit-line-clamp:unset!important;overflow:visible!important}}@media(max-width:900px){#xs-skill-modal .xs-modal-dialog{width:calc(100vw - 12px)!important;height:calc(100vh - 12px)!important;max-height:calc(100vh - 12px)!important}#xs-skill-modal .xs-safeskill-main{display:flex!important;flex-direction:column!important;overflow-y:auto!important}#xs-skill-modal .xs-safeskill-side{order:0!important;overflow:visible!important}#xs-skill-modal .xs-safeskill-left{order:1!important;overflow:visible!important}#xs-skill-modal .xs-source-card,#xs-skill-modal .xs-safe-summary,#xs-skill-modal .xs-safe-table{display:block!important}#xs-skill-modal .xs-install-note-main,#xs-skill-modal .xs-install-note{display:block!important}#xs-skill-modal .xs-install-copybox,#xs-skill-modal .xs-prompt-box{max-height:none!important;overflow:visible!important}#xs-skill-modal .xs-feature-grid{grid-template-columns:1fr!important}}
/* api12 Huawei official modal redesign: single-scroll, clean enterprise layout */
#xs-skill-modal .xs-modal{overflow:hidden!important}#xs-skill-modal .xs-modal-dialog{width:min(94vw,1180px)!important;height:min(92vh,900px)!important;max-height:92vh!important;border-radius:26px!important;background:#fff!important;border:1px solid rgba(229,231,235,.95)!important;box-shadow:0 36px 120px rgba(0,0,0,.28)!important;overflow:hidden!important}#xs-skill-modal .xs-modal-content{height:100%!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}#xs-skill-modal .xs-safeskill-head{position:relative!important;z-index:3!important;padding:28px 36px!important;background:linear-gradient(135deg,#fff 0%,#fbfbfb 58%,#fff1f2 100%)!important;border-bottom:1px solid #eef0f3!important;box-shadow:none!important}#xs-skill-modal .xs-modal-titlewrap{gap:20px!important}#xs-skill-modal .xs-safe-icon{width:72px!important;height:72px!important;border-radius:18px!important;background:#f3f4f6!important;box-shadow:inset 0 0 0 1px #e5e7eb!important}#xs-skill-modal .xs-safe-titlebox h2{font-size:42px!important;line-height:1.05!important;letter-spacing:-.055em!important;color:#111!important;font-weight:950!important;max-width:720px!important}#xs-skill-modal .xs-safe-titlebox p{font-size:14px!important;color:#667085!important;margin-top:8px!important}#xs-skill-modal .xs-trust-badge{background:#fff!important;color:#111!important;border:1px solid #e5e7eb!important;border-radius:999px!important;padding:11px 18px!important;box-shadow:0 12px 34px rgba(17,24,39,.08)!important;font-weight:950!important}#xs-skill-modal .xs-modal-close{background:#d7000f!important;color:#fff!important;border:0!important;width:48px!important;height:48px!important;border-radius:50%!important;font-size:30px!important;font-weight:900!important;box-shadow:0 12px 28px rgba(215,0,15,.25)!important}#xs-skill-modal .xs-safeskill-main{display:grid!important;grid-template-columns:minmax(0,1fr) 320px!important;gap:28px!important;flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;padding:30px 36px!important;background:linear-gradient(180deg,#fff 0%,#f7f8fa 100%)!important}#xs-skill-modal .xs-safeskill-left,#xs-skill-modal .xs-safeskill-side{overflow:visible!important;min-height:0!important;padding:0!important;border:0!important;background:transparent!important}#xs-skill-modal .xs-safeskill-side{display:flex!important;flex-direction:column!important;gap:16px!important}#xs-skill-modal .xs-modal-tag-row{display:flex!important;gap:10px!important;flex-wrap:wrap!important;margin:0 0 18px!important}#xs-skill-modal .xs-modal-tag-row span,#xs-skill-modal .xs-safe-tags span{background:#eef2f7!important;border:1px solid #e5e7eb!important;color:#1f2937!important;border-radius:999px!important;padding:8px 13px!important;font-size:12px!important;font-weight:900!important}#xs-skill-modal .xs-safe-section{background:#fff!important;border:1px solid #e8eaef!important;border-radius:22px!important;padding:24px!important;margin:0 0 18px!important;box-shadow:0 14px 38px rgba(17,24,39,.045)!important}#xs-skill-modal .xs-safe-section h3,#xs-skill-modal .xs-install-header h3{font-size:18px!important;line-height:1.25!important;color:#111!important;font-weight:950!important;margin:0 0 16px!important;letter-spacing:-.015em!important;text-transform:none!important}#xs-skill-modal .xs-safe-section h3::before,#xs-skill-modal .xs-install-header h3::before{content:""!important;display:inline-block!important;width:4px!important;height:17px!important;background:#d7000f!important;border-radius:99px!important;margin-right:10px!important;vertical-align:-3px!important}#xs-skill-modal .xs-install-panel{background:#fff!important;border:1px solid #e8eaef!important;border-radius:24px!important;padding:24px!important;box-shadow:0 18px 48px rgba(17,24,39,.06)!important}#xs-skill-modal .xs-install-header{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin:0 0 18px!important;padding-bottom:14px!important;border-bottom:1px dashed #d9dee7!important}#xs-skill-modal .xs-install-header span{background:#fff1f2!important;color:#d7000f!important;border:1px solid #ffe1e4!important;border-radius:999px!important;padding:7px 12px!important;font-size:12px!important;font-weight:950!important}#xs-skill-modal .xs-install-toolbar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin:16px 0 10px!important}#xs-skill-modal .xs-install-toolbar b{font-size:14px!important;color:#111!important;font-weight:950!important}#xs-skill-modal .xs-install-toolbar button,#xs-skill-modal .xs-copy-line button{background:#d7000f!important;border:1px solid #d7000f!important;color:#fff!important;border-radius:999px!important;min-height:38px!important;padding:0 18px!important;font-size:13px!important;font-weight:950!important;box-shadow:0 10px 22px rgba(215,0,15,.16)!important}#xs-skill-modal .xs-install-copybox,#xs-skill-modal .xs-prompt-box{background:#101827!important;border:1px solid #101827!important;border-radius:18px!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.04)!important;max-height:none!important;overflow:visible!important}#xs-skill-modal .xs-install-copybox pre,#xs-skill-modal .xs-prompt-box{color:#f8fafc!important;font-size:13px!important;line-height:1.72!important;margin:0!important;padding:18px!important;white-space:pre-wrap!important;word-break:break-word!important}#xs-skill-modal .xs-agent-prompt-block{display:block!important;margin-top:18px!important;padding-top:16px!important;border-top:1px solid #edf0f4!important}#xs-skill-modal .xs-install-note-main,#xs-skill-modal .xs-install-note{display:block!important;background:#fafafa!important;border:1px solid #edf0f4!important;border-radius:16px!important;color:#344054!important;padding:14px 16px!important;font-size:14px!important;line-height:1.7!important;margin:12px 0!important}#xs-skill-modal .xs-intro-section p,#xs-skill-modal .xs-safe-description,#xs-skill-modal .xs-safe-section p{display:block!important;color:#344054!important;font-size:15px!important;line-height:1.8!important;overflow:visible!important;-webkit-line-clamp:unset!important}.xs-copy-stack{display:grid!important;gap:10px!important;margin-top:16px!important}#xs-skill-modal .xs-copy-line{display:grid!important;grid-template-columns:118px minmax(0,1fr) auto!important;align-items:center!important;gap:12px!important;background:#f8fafc!important;border:1px solid #e8eaef!important;border-radius:16px!important;padding:12px 14px!important}#xs-skill-modal .xs-copy-line span{color:#667085!important;font-size:13px!important;font-weight:900!important}#xs-skill-modal .xs-copy-line code{color:#111!important;font-size:14px!important;background:transparent!important;word-break:break-all!important}#xs-skill-modal .xs-feature-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}#xs-skill-modal .xs-feature-item{background:#fafafa!important;border:1px solid #edf0f4!important;border-radius:18px!important;padding:14px!important;box-shadow:none!important}#xs-skill-modal .xs-feature-item span{color:#d7000f!important;font-weight:950!important}#xs-skill-modal .xs-feature-item b{font-size:14px!important;color:#111!important;line-height:1.45!important}#xs-skill-modal .xs-score-card,#xs-skill-modal .xs-source-card,#xs-skill-modal .xs-safe-stats div,#xs-skill-modal .xs-safe-summary div,#xs-skill-modal .xs-safe-table div{display:block!important;background:#fff!important;border:1px solid #e8eaef!important;border-radius:20px!important;box-shadow:0 12px 34px rgba(17,24,39,.045)!important}#xs-skill-modal .xs-score-card{display:flex!important;align-items:center!important;gap:16px!important;padding:18px!important;margin:0!important}#xs-skill-modal .xs-score-circle{width:64px!important;height:64px!important;background:#fff!important;border-width:4px!important}#xs-skill-modal .xs-score-card span,#xs-skill-modal .xs-safe-stats span,#xs-skill-modal .xs-safe-summary span,#xs-skill-modal .xs-safe-table span{color:#667085!important;font-size:12px!important;font-weight:900!important}#xs-skill-modal .xs-score-card b,#xs-skill-modal .xs-safe-stats b,#xs-skill-modal .xs-safe-summary b,#xs-skill-modal .xs-safe-table b{color:#111!important;font-size:14px!important;line-height:1.45!important}.xs-source-card{padding:14px!important}.xs-safe-actions{position:static!important;display:grid!important;gap:10px!important;background:transparent!important;margin:0!important;padding:0!important}.xs-safe-actions a,.xs-safe-actions button{min-height:46px!important;border-radius:999px!important;font-size:15px!important;font-weight:950!important;text-decoration:none!important;box-shadow:0 10px 24px rgba(215,0,15,.16)!important}.xs-safe-actions .xs-action-primary,.xs-safe-actions button{background:#d7000f!important;border-color:#d7000f!important;color:#fff!important}.xs-safe-stats{display:grid!important;grid-template-columns:1fr 1fr!important;gap:12px!important}.xs-safe-stats div,.xs-safe-summary div,.xs-safe-table div{padding:14px!important;min-height:auto!important}.xs-safe-summary,.xs-safe-table{display:grid!important;gap:12px!important;margin:0!important}@media(max-width:980px){#xs-skill-modal .xs-modal-dialog{width:calc(100vw - 12px)!important;height:calc(100vh - 12px)!important;max-height:calc(100vh - 12px)!important;border-radius:22px!important}#xs-skill-modal .xs-safeskill-head{padding:18px!important}#xs-skill-modal .xs-safe-icon{width:54px!important;height:54px!important}#xs-skill-modal .xs-safe-titlebox h2{font-size:28px!important;max-width:calc(100vw - 170px)!important}#xs-skill-modal .xs-trust-badge{display:inline-flex!important;font-size:11px!important;padding:8px 10px!important}#xs-skill-modal .xs-modal-close{width:42px!important;height:42px!important;font-size:26px!important}#xs-skill-modal .xs-safeskill-main{display:flex!important;flex-direction:column!important;gap:18px!important;overflow-y:auto!important;padding:18px!important}#xs-skill-modal .xs-safeskill-left,#xs-skill-modal .xs-safeskill-side{overflow:visible!important}#xs-skill-modal .xs-safeskill-side{order:2!important}#xs-skill-modal .xs-safeskill-left{order:1!important}#xs-skill-modal .xs-safe-section,#xs-skill-modal .xs-install-panel{padding:18px!important;border-radius:20px!important}#xs-skill-modal .xs-feature-grid{grid-template-columns:1fr!important}#xs-skill-modal .xs-copy-line{grid-template-columns:1fr!important}#xs-skill-modal .xs-install-header{align-items:flex-start!important;flex-direction:column!important}#xs-skill-modal .xs-install-toolbar{align-items:stretch!important;flex-direction:column!important}#xs-skill-modal .xs-install-toolbar button{width:100%!important}.xs-safe-stats{grid-template-columns:1fr 1fr!important}}@media(max-width:520px){#xs-skill-modal .xs-safe-titlebox h2{font-size:24px!important}#xs-skill-modal .xs-safe-titlebox p{font-size:12px!important}#xs-skill-modal .xs-trust-badge{display:none!important}#xs-skill-modal .xs-safeskill-main{padding:14px!important}#xs-skill-modal .xs-safe-section,#xs-skill-modal .xs-install-panel{padding:16px!important}.xs-safe-stats{grid-template-columns:1fr!important}}
/* api13 information architecture + Huawei proportion polish */
#xs-skill-modal .xs-modal-dialog{width:min(92vw,1120px)!important;height:min(90vh,860px)!important;border-radius:24px!important}#xs-skill-modal .xs-safeskill-head{padding:24px 34px!important;background:#fff!important;border-bottom:1px solid #eceff3!important}#xs-skill-modal .xs-safe-icon{width:64px!important;height:64px!important;border-radius:16px!important}#xs-skill-modal .xs-safe-titlebox h2{font-size:38px!important;line-height:1.08!important}#xs-skill-modal .xs-safe-titlebox p{font-size:13px!important;color:#667085!important}#xs-skill-modal .xs-trust-badge{display:none!important}#xs-skill-modal .xs-modal-actions{margin-left:auto!important}#xs-skill-modal .xs-safeskill-main{grid-template-columns:minmax(0,1fr) 300px!important;gap:24px!important;padding:26px 34px!important;background:#f6f7f9!important}#xs-skill-modal .xs-safe-section,#xs-skill-modal .xs-install-panel{border-radius:18px!important;border:1px solid #e7ebf0!important;box-shadow:0 10px 28px rgba(17,24,39,.035)!important;padding:22px!important;margin-bottom:16px!important;background:#fff!important}#xs-skill-modal .xs-safe-section h3,#xs-skill-modal .xs-install-header h3{font-size:17px!important;margin-bottom:14px!important;color:#111827!important}#xs-skill-modal .xs-intro-section p,#xs-skill-modal .xs-safe-description,#xs-skill-modal .xs-safe-section p{font-size:15px!important;line-height:1.78!important;color:#374151!important}.xs-raw-name-section .xs-copy-stack{margin-top:0!important}#xs-skill-modal .xs-install-panel{background:#fff!important}#xs-skill-modal .xs-install-header{border-bottom:1px solid #eef1f5!important;margin-bottom:16px!important;padding-bottom:12px!important}#xs-skill-modal .xs-install-header span{background:#f5f6f8!important;border:1px solid #e7ebf0!important;color:#667085!important}#xs-skill-modal .xs-agent-prompt-block{background:#fff7f7!important;border:1px solid #ffd8dc!important;border-radius:18px!important;padding:16px!important;margin:0 0 16px!important}#xs-skill-modal .xs-agent-prompt-block .xs-install-toolbar{margin:0 0 10px!important}#xs-skill-modal .xs-agent-prompt-block .xs-install-toolbar b{color:#a4000b!important;font-size:15px!important}#xs-skill-modal .xs-prompt-box{background:#fff!important;border:1px solid #ffd8dc!important;color:#172033!important;border-radius:14px!important;padding:14px!important;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace!important;font-size:13px!important;line-height:1.72!important;box-shadow:none!important}#xs-skill-modal .xs-prompt-box *{color:#172033!important}#xs-skill-modal .xs-install-copybox{background:#111827!important;border-color:#111827!important;border-radius:14px!important}#xs-skill-modal .xs-install-copybox pre{color:#f8fafc!important;font-size:13px!important}#xs-skill-modal .xs-install-note-main,#xs-skill-modal .xs-install-note{background:#f8fafc!important;border-color:#e7ebf0!important;color:#475467!important}.xs-copy-line{background:#fbfcfd!important;border-color:#e7ebf0!important}.xs-copy-line button,#xs-skill-modal .xs-install-toolbar button{background:#c7000b!important;border-color:#c7000b!important;box-shadow:none!important}#xs-skill-modal .xs-safeskill-side{gap:12px!important}#xs-skill-modal .xs-score-card{background:#fff!important;border:1px solid #e7ebf0!important;border-radius:18px!important;box-shadow:0 10px 28px rgba(17,24,39,.035)!important;padding:16px!important;margin:0!important}#xs-skill-modal .xs-score-circle{width:58px!important;height:58px!important;border-width:3px!important;font-size:20px!important}#xs-skill-modal .xs-score-card span{font-size:12px!important;color:#667085!important}#xs-skill-modal .xs-score-card b{font-size:17px!important;color:#111827!important;margin-top:3px!important}#xs-skill-modal .xs-score-card em{font-size:12px!important;color:#667085!important}.xs-source-card{background:#fff!important;border:1px solid #e7ebf0!important;border-radius:18px!important;box-shadow:0 10px 28px rgba(17,24,39,.03)!important;padding:14px!important;margin:0!important}.xs-safe-actions{gap:8px!important}.xs-safe-actions a,.xs-safe-actions button{min-height:42px!important;border-radius:12px!important;font-size:14px!important;box-shadow:none!important}.xs-safe-actions .xs-action-primary{background:#111827!important;border-color:#111827!important}.xs-safe-actions button{background:#fff!important;border:1px solid #d0d5dd!important;color:#111827!important}.xs-safe-stats{gap:10px!important}.xs-safe-stats div,.xs-safe-summary div,.xs-safe-table div{background:#fff!important;border:1px solid #e7ebf0!important;border-radius:16px!important;box-shadow:none!important;padding:12px!important}.xs-safe-stats span,.xs-safe-summary span,.xs-safe-table span{font-size:11px!important;color:#667085!important;text-transform:none!important;letter-spacing:0!important}.xs-safe-stats b,.xs-safe-summary b,.xs-safe-table b{font-size:13px!important;color:#111827!important}.xs-safe-summary,.xs-safe-table{gap:8px!important}@media(max-width:980px){#xs-skill-modal .xs-modal-dialog{width:calc(100vw - 12px)!important;height:calc(100vh - 12px)!important}#xs-skill-modal .xs-safeskill-head{padding:16px!important}#xs-skill-modal .xs-safe-icon{width:52px!important;height:52px!important}#xs-skill-modal .xs-safe-titlebox h2{font-size:26px!important}#xs-skill-modal .xs-safeskill-main{padding:16px!important;gap:16px!important}#xs-skill-modal .xs-safe-section,#xs-skill-modal .xs-install-panel{padding:16px!important}#xs-skill-modal .xs-agent-prompt-block{padding:14px!important}.xs-safe-actions a,.xs-safe-actions button{min-height:44px!important}}
/* api14 right-side action polish: one primary, two quiet secondary buttons */
#xs-skill-modal .xs-safe-actions .xs-action-primary{background:#111827!important;border:1px solid #111827!important;color:#fff!important;box-shadow:none!important}#xs-skill-modal .xs-safe-actions button.notranslate,#xs-skill-modal .xs-safe-actions button{background:#fff!important;border:1px solid #d0d5dd!important;color:#111827!important;box-shadow:none!important}#xs-skill-modal .xs-safe-actions button:hover{border-color:#c7000b!important;color:#c7000b!important;background:#fff!important}#xs-skill-modal .xs-safe-actions{background:transparent!important;padding:0!important;margin:0!important}#xs-skill-modal .xs-safe-actions a,#xs-skill-modal .xs-safe-actions button{font-weight:850!important;letter-spacing:0!important}

/* one-click install button beside skill title */
.xs-title-install-row{display:flex;align-items:center;gap:28px;min-width:0;flex-wrap:wrap}.xs-title-install-row #xs-modal-title{margin:0}.xs-oneclick-install{border:0;border-radius:999px;background:#e60012;color:#fff;font-weight:950;font-size:15px;padding:12px 22px;min-height:44px;box-shadow:0 12px 30px rgba(230,0,18,.24);cursor:pointer;white-space:nowrap;transition:.18s}.xs-oneclick-install:hover{background:#c7000b;transform:translateY(-1px)}.xs-oneclick-install:disabled{opacity:.72;cursor:not-allowed;transform:none}@media(max-width:720px){.xs-title-install-row{gap:12px}.xs-oneclick-install{padding:10px 16px;font-size:14px}}
