.resource-list{display:grid;gap:14px}.resource-card{display:flex;align-items:center;gap:18px;padding:22px;background:#fff;border:1px solid #e5dfed;border-radius:18px;color:#272334;text-decoration:none;transition:transform .2s,box-shadow .2s}.resource-card:hover{transform:translateY(-3px);box-shadow:0 12px 30px #4f397b17}.resource-card>span:nth-child(2){flex:1;display:grid;gap:8px}.resource-card strong{font-size:18px}.resource-card small{font-size:14px;color:#706b78}.resource-mark{display:grid;place-items:center;width:48px;height:48px;border-radius:15px;background:#e8def7;color:#7752be;font-size:24px}.resource-empty{padding:60px 20px;text-align:center;border:1px dashed #d6cde4;border-radius:18px;color:#716879}.resource-empty a{display:block;margin-top:12px;color:#7252ad}.search-submit{border:0;border-radius:14px;background:#7556b1;color:white;padding:0 24px;cursor:pointer}.sidebar-current{display:block;padding:14px;border-radius:12px;background:#e8e2f1;color:#3c3052}.next-page{display:inline-block;margin:24px 0}.content-page{max-width:850px;margin:70px auto;padding:0 24px 100px}.content-page h1{font-size:clamp(32px,5vw,52px);margin:25px 0}.content-summary{color:#716879;font-size:18px}.content-body{margin-top:40px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere}.back-link{color:#7556b1}.site-footer{display:flex;gap:20px;align-items:center;padding:40px max(6vw,24px);background:#282333;color:#eee}.site-footer a{color:white;font-weight:bold}@media(max-width:680px){.market-layout{display:block}.market-sidebar{margin-bottom:20px}.search-submit{padding:0 16px}.content-page{margin-top:40px}}@media(prefers-reduced-motion:reduce){.resource-card{transition:none}}
.copy-prompt{margin-top:20px;padding:13px 22px;border:0;border-radius:12px;color:white;background:#7556b1;cursor:pointer}.copy-status{margin-left:12px;color:#685675}
.copy-fallback{display:block;width:100%;min-height:180px;margin-top:16px;padding:14px;border:1px solid #cfc1dc;border-radius:12px;background:#fff;color:#332b3e;font:inherit;resize:vertical}
.content-images{display:grid;gap:20px;margin:35px 0}.content-images figure{margin:0}.content-images img{max-width:100%;height:auto;border-radius:18px}
.facet-link{display:flex;justify-content:space-between;padding:11px 14px;border-radius:10px;color:#615a6b;text-decoration:none}.facet-link:hover,.facet-link.active{background:#e8e2f1;color:#4e3972}.market-sidebar .side-label:not(:first-child){margin-top:28px}
.collection-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;margin-bottom:34px}.collection-card{min-height:150px;padding:20px;border:1px solid #e8dfef;border-radius:18px;color:#40364e;background:#fff;display:flex;flex-direction:column;gap:10px;text-decoration:none}.collection-card span{font-size:14px;color:#756d7f;flex:1}.collection-card b{font-size:13px;color:#7556b1}
.template-page{max-width:1100px}.template-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:20px;margin-top:40px}.template-card{display:grid;gap:8px;color:#332b3e;text-decoration:none}.template-card img{width:100%;aspect-ratio:3/4;object-fit:cover;border-radius:18px;background:#e5dcf0}.template-card span{color:#786c80;font-size:14px}
.resource-cover{width:72px;height:72px;object-fit:cover;border-radius:14px;flex:none}
.market-sort{border:1px solid #e5dfed;color:#40364e;font:inherit;cursor:pointer}.market-sort:focus-visible,.search-submit:focus-visible{outline:3px solid #9e70cc;outline-offset:3px}
.content-metadata{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:10px 20px;margin:28px 0;padding:20px;border-radius:16px;background:#f3eff8;font-size:14px;overflow-wrap:anywhere}.content-metadata dt{color:#756d7f}.content-metadata dd{margin:0;color:#40364e}
@media(max-width:680px){.market-sidebar{display:flex;flex-wrap:wrap;gap:8px;overflow:visible}.market-sidebar .side-label{display:block;flex:0 0 100%;margin:8px 0 0!important}.market-sidebar .facet-link,.market-sidebar .sidebar-current{display:flex;flex:0 0 auto;align-items:center;gap:8px;white-space:nowrap;padding:10px 12px;background:#fff;border-radius:10px}.market-sidebar .facet-link.active,.market-sidebar .sidebar-current{background:#e8e2f1}.market-search-row .searchbox{flex:1 1 190px;min-width:0}.market-search-row .search-submit{min-height:44px;padding:0 20px}}

.search-shortcut{font:11px system-ui,sans-serif;white-space:nowrap;color:#82768f;border:1px solid #e8e2ed;border-radius:6px;padding:4px 6px}@media(max-width:680px){.search-shortcut{display:none}}
.market-search-row .search-submit{min-height:44px}
.image-preview-dialog{max-width:min(95vw,1100px);max-height:94vh;border:0;border-radius:18px;padding:16px;background:#fff;color:#272334}.image-preview-dialog::backdrop{background:#17121cdb}.image-preview-dialog img{display:block;max-width:100%;max-height:78vh;margin:12px auto 0;object-fit:contain}.image-preview-close{border:0;border-radius:10px;padding:10px 18px;background:#7556b1;color:#fff;cursor:pointer}.image-preview-close:focus-visible{outline:3px solid #9e70cc;outline-offset:3px}

.prompt-resource-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.prompt-resource-card{display:flex;flex-direction:column;align-items:stretch;padding:0;overflow:hidden;gap:0}.prompt-resource-card .resource-cover,.prompt-placeholder{display:grid;place-items:center;width:100%;height:auto;aspect-ratio:3/4;object-fit:cover;background:#eee9f5;color:#81748d}.prompt-placeholder{align-content:center;justify-items:start;text-align:left;gap:18px;padding:26px;background:linear-gradient(145deg,#ece5f7,#f9f5f1)}.prompt-placeholder span{font-size:12px;letter-spacing:.08em;color:#8160a8}.prompt-placeholder strong{font-family:serif;font-size:clamp(18px,1.7vw,25px);line-height:1.5;color:#372d45}.prompt-placeholder small{font-size:12px;color:#7d6d89}.prompt-resource-card>span:nth-child(2){padding:18px;gap:8px}.prompt-resource-card>span:last-child{align-self:flex-end;padding:0 18px 18px}@media(max-width:900px){.prompt-resource-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:420px){.prompt-resource-grid{gap:10px}.prompt-resource-card>span:nth-child(2){padding:12px}.prompt-resource-card strong{font-size:15px}}

.resource-copy,.facet-name{min-width:0;overflow-wrap:anywhere}
.resource-mark{flex:none}
.resource-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}
.resource-tags>span{border-radius:999px;padding:4px 9px;background:#f2ebf8;color:#58446c;font-size:12px}
.resource-card .resource-category{color:#6c4794;font-weight:700;font-size:12px}
.resource-card .resource-meta{font-size:13px;color:#6e5e7c}
.facet-link{gap:10px;align-items:center}
.facet-link>span:last-child{flex:none;background:#fff;border-radius:20px;padding:2px 7px;font-size:12px}
.sidebar-current.inactive{background:transparent;color:#615a6b}
.prompt-market{padding-top:38px;padding-bottom:80px}
.prompt-facets{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:18px}
.prompt-facets .facet-link,.prompt-facets .sidebar-current{border-radius:999px;padding:8px 13px;font-size:13px;border:1px solid #e3d8eb}
.prompt-facets .facet-link:not(.active){background:white}
.prompt-facets .facet-link>span:last-child{display:none}
.prompt-resource-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.prompt-resource-card .resource-copy small:not(.resource-category){display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.prompt-placeholder{justify-items:center;text-align:center;gap:9px}
.prompt-placeholder span{font:52px/1 Georgia,serif;color:#8662ac}
.prompt-resource-card>span.resource-copy:last-child{align-self:stretch;padding:17px}
.article-page{max-width:830px;margin-top:54px}
.article-page h1,.prompt-page h1{font-size:clamp(29px,4.1vw,43px);line-height:1.24;overflow-wrap:anywhere}
.article-page .content-summary{line-height:1.65;max-width:65ch}
.article-toc{margin:27px 0;padding:18px 24px;border-left:3px solid #ad91cd;border-radius:0 14px 14px 0;background:#eee8f5;color:#40364e}
.article-toc ol{margin:8px 0 0;padding-left:24px}
.article-toc li+li{margin-top:4px}
.article-toc a,.article-body a,.content-metadata a{color:#65468c;text-decoration:underline;text-underline-offset:3px}
.article-body{white-space:normal;margin-top:30px;line-height:1.85}
.article-body h2,.article-body h3{line-height:1.4;margin:1.7em 0 .55em;scroll-margin-top:90px}
.article-body h2{font-size:clamp(22px,3vw,28px)}
.article-body h3{font-size:20px}
.article-body p,.article-body ul,.article-body ol{margin:0 0 1em}
.article-body ol,.article-body ul{padding-left:1.35em}
.article-body li+li{margin-top:.45em}
.article-body blockquote{margin:18px 0;padding:13px 18px;border-left:3px solid #ad91cd;background:#f0eaf6}
.article-body blockquote p:last-child{margin-bottom:0}
.article-body pre{white-space:pre-wrap}
.article-body table{border-collapse:collapse;width:100%;font-size:14px;line-height:1.65;margin:18px 0}
.article-body th,.article-body td{border:1px solid #e2d8ec;padding:9px;vertical-align:top;text-align:left;overflow-wrap:anywhere}
.article-body th{background:#eee7f4}
.prompt-page{max-width:1080px}
.prompt-detail{margin-top:30px}
.prompt-detail.has-preview{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:28px;align-items:start}
.prompt-detail .content-images{margin:0;gap:10px}
.prompt-detail .content-images h2,.prompt-text-heading h2{font-size:18px;margin:0}
.prompt-detail .content-images img{display:block;width:100%;border:1px solid #e7dfef}
.prompt-text-panel{padding:20px 23px;background:white;border:1px solid #e7dfef;border-radius:18px}
.prompt-text-heading{display:flex;gap:12px;justify-content:space-between;align-items:center}
.prompt-text-panel .content-body{margin-top:14px;line-height:1.75}
.prompt-text-panel .copy-status{font-size:13px;color:#6c4794}
.prompt-text-panel .copy-fallback{display:block;width:100%;min-height:90px;margin-top:12px}
@media(max-width:1000px){.prompt-resource-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:680px){
  .market-sidebar .facet-link,.market-sidebar .sidebar-current{max-width:100%;white-space:normal}
  .prompt-resource-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .prompt-resource-card>span.resource-copy:last-child{padding:12px}
  .prompt-detail.has-preview{grid-template-columns:minmax(0,1fr);gap:20px}
  .article-page{margin-top:35px}
  .article-body th,.article-body td{padding:6px}
}

.prompt-text-heading .copy-prompt{border:0;border-radius:11px;padding:11px 15px;background:#5f408c;color:white;font:inherit;font-size:14px;font-weight:700;cursor:pointer}
.prompt-text-heading .copy-prompt:focus-visible{outline:3px solid #a175ce;outline-offset:3px}

.prompt-facets>.facet-link{white-space:nowrap;max-width:100%;overflow:hidden}
.prompt-facets>.facet-link .facet-name{overflow:hidden;text-overflow:ellipsis}
.prompt-sources{position:relative}
.prompt-sources summary{padding:8px 13px;border:1px solid #e3d8eb;border-radius:999px;font-size:13px;background:white;cursor:pointer}
.prompt-sources>div{position:absolute;z-index:3;top:calc(100% + 5px);right:0;min-width:max-content;padding:6px;border:1px solid #e3d8eb;border-radius:14px;background:white;box-shadow:0 8px 24px #30234120}
.prompt-sources .facet-link>span:last-child{display:inline}
.prompt-sources.active summary{background:#e8e2f1;color:#4e3972}
@media(max-width:680px){
  .prompt-sources[open]{flex:1 0 100%}
  .prompt-sources>div{position:static;min-width:0;margin-top:6px}
}

.skill-document h2{margin:28px 0 12px;font-size:23px}
.skill-document pre{margin:0;padding:20px 24px;border:1px solid #e7dfef;border-radius:16px;background:white;white-space:pre-wrap;overflow-wrap:anywhere;tab-size:4}
.skill-document code{font:14px/1.75 ui-monospace,SFMono-Regular,Consolas,monospace}
.skill-document details{margin-top:18px}
.skill-document summary{padding:10px 0;color:#65468c;cursor:pointer}
@media(max-width:680px){.skill-document pre{padding:14px}.skill-document code{font-size:13px}}

.download-page{position:relative;display:grid;justify-items:center;align-content:center;min-height:min(685px,calc(100svh - 150px));padding:54px 24px 26px;text-align:center;background:#fbf9f7}
.download-hero{width:min(100%,440px);margin:auto;padding:0 0 36px}
.download-page h1{margin:0 0 26px;font:700 clamp(38px,5vw,60px)/1.12 "PingFang SC","Microsoft YaHei",sans-serif;letter-spacing:-.045em;color:#28232f}
.download-platform-mark{display:grid;place-items:center;width:112px;height:112px;margin:auto;color:#000}
.download-platform-mark svg{width:68px;height:68px}
.download-device{margin:15px 0 22px;color:#665973;font-size:14px;line-height:1.5}
.download-picker{position:relative;width:min(100%,340px);margin-inline:auto}
.download-controls{display:flex;min-height:56px;background:#664695;border-radius:15px;box-shadow:0 5px 12px #4c2b7727}
.download-controls button{display:flex;align-items:center;justify-content:center;min-width:0;border:0;color:#fff;background:transparent;font:inherit;cursor:pointer}
.download-controls button:hover{background:#563a81}
.download-controls button:focus-visible,.download-option button:focus-visible{position:relative;outline:3px solid #9c72bc;outline-offset:3px;z-index:1}
.download-controls .download-primary{flex:1;gap:10px;padding:14px 12px;font-size:17px;font-weight:700;border-radius:15px 0 0 15px}
.download-controls .download-primary:has(+[hidden]){border-radius:15px}
.download-controls .download-more{flex:0 0 52px;border-left:1px solid #ffffff49;border-radius:0 15px 15px 0}
.download-more[aria-expanded=true] svg{transform:rotate(180deg)}
.download-release{margin:14px 0 0;color:#6e6477;font-size:14px;line-height:1.6}
.download-options{display:grid;gap:7px;margin:14px 0 0;text-align:left}
.download-controls:not([hidden])~.download-options{position:absolute;inset:auto 0 auto;top:56px;z-index:2;max-height:255px;overflow:auto;padding:7px;border:1px solid #e7ddec;border-radius:14px;background:#fff;box-shadow:0 8px 24px #5036631e}
.download-option button,.download-option-unavailable{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;min-height:53px;padding:8px 12px;border:1px solid #eee7f2;border-radius:9px;background:white;color:#372b45;text-align:left;font:inherit}
.download-option button{cursor:pointer}
.download-option-unavailable{background:#faf8fb;color:#6e6477}
.download-option button:hover,.download-option.recommended button{background:#f6f0fa}
.download-option button>span{display:grid;gap:3px;min-width:0}
.download-options strong{font-size:14px}
.download-options small{color:#6e6477;font-size:12px}
.download-option svg{flex:none}
.download-page [hidden]{display:none!important}
.download-unavailable{margin:15px 0;color:#665973;font-size:14px}
.download-count{align-self:end;margin:0;color:#726979;font-size:12px}
@media(max-width:600px){.download-page{min-height:520px;padding:47px 22px 23px}.download-hero{padding-bottom:30px}.download-page h1{margin-bottom:23px}.download-platform-mark{width:96px;height:96px}.download-platform-mark svg{width:58px;height:58px}}
