/* 首页视觉修复：插件市场橱窗 + 无图商品的品牌封面。无需外部图片/CDN */
.mk-logo:before{content:'✦';display:grid;place-items:center;width:39px;height:39px;border-radius:10px;background:linear-gradient(135deg,#146cff,#624cf8);font-size:25px;color:#fff;box-shadow:0 7px 16px #2673fc32;flex:0 0 auto}
.hpm-nav-link{color:#165cf0!important;font-weight:750}.hpm-nav-new{font-size:9px;font-weight:800;letter-spacing:.02em;color:#fff;background:#ff6848;border-radius:4px;margin-left:8px;padding:2px 4px}.hpm-cart-number{background:#edf4ff;color:#1864e9;font-size:11px;min-width:20px;height:20px;border-radius:12px;margin-left:7px;text-align:center;padding:0 5px;line-height:20px}
.hpm-side-label{font-size:11px;letter-spacing:.15em;padding:11px 16px 6px;color:#96a5b5;font-weight:700;border-top:1px solid #eef2f7}.hpm-side-item .mk-cat-link{padding:8px 15px;min-height:36px;gap:9px}.hpm-side-item .mk-cat-link>span:last-child{font-size:12.5px;color:#47556b}.hpm-side-dot{width:8px;height:8px;border-radius:3px;background:linear-gradient(135deg,#5e91f6,#765de9);flex:0 0 8px}
/* 给空图片、404 图片都提供同一张有文字的功能封面 */
.mk-goods-img,.mk-gallery-main{background:#edf3ff;position:relative}.mk-goods-img img,.mk-gallery-main>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:3}
.mk-ph.mk-art-fallback{position:absolute;inset:0;width:100%;height:100%;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:10px;overflow:hidden;padding:18px 16px;color:#fff;letter-spacing:normal;text-align:left;background:radial-gradient(circle at 97% 95%,#4e9ff855,transparent 40%),linear-gradient(137deg,#113b91 0%,#256bdf 60%,#69b5ed 100%)}
.mk-art-fallback:before{position:absolute;right:-23%;top:-60%;width:110%;aspect-ratio:1;content:'';border-radius:50%;border:32px solid #ffffff22;pointer-events:none}.mk-art-fallback:after{position:absolute;bottom:-22%;right:-7%;width:75%;height:65%;content:'';border-radius:28px;transform:rotate(-23deg);border:1px solid #ffffff33;background:linear-gradient(135deg,#ffffff2a,#ffffff06);pointer-events:none;box-shadow:-20px -13px 30px #ffffff0a}
.mk-art-fallback>.mk-art-eyebrow{position:relative;z-index:2;color:#dceaff;letter-spacing:.18em;font-size:9px;font-weight:750;line-height:1.4}.mk-art-fallback>strong{position:relative;z-index:2;font-size:clamp(16px,1.7vw,24px);line-height:1.36;max-width:92%;font-weight:850;letter-spacing:.015em;text-shadow:0 1px 2px #00000012;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.mk-art-fallback>small{position:relative;z-index:2;font-size:9px;color:#dbeaff;letter-spacing:.06em}
.mk-strip-track>.mk-goods:nth-child(5n + 2) .mk-art-fallback,.mk-grid>.mk-goods:nth-child(5n + 2) .mk-art-fallback{background:radial-gradient(circle at 85% 90%,#74e6e244,transparent 44%),linear-gradient(135deg,#062c45,#087b9d 65%,#2cbed0)}
.mk-strip-track>.mk-goods:nth-child(5n + 3) .mk-art-fallback,.mk-grid>.mk-goods:nth-child(5n + 3) .mk-art-fallback{background:radial-gradient(circle at 88% 80%,#ef9dfa4f,transparent 44%),linear-gradient(135deg,#362179,#7448db 65%,#ba8bf3)}
.mk-strip-track>.mk-goods:nth-child(5n + 4) .mk-art-fallback,.mk-grid>.mk-goods:nth-child(5n + 4) .mk-art-fallback{background:radial-gradient(circle at 84% 83%,#e4d19356,transparent 50%),linear-gradient(135deg,#663241,#e46857 66%,#ffb46d)}
.mk-strip-track>.mk-goods:nth-child(5n + 5) .mk-art-fallback,.mk-grid>.mk-goods:nth-child(5n + 5) .mk-art-fallback{background:radial-gradient(circle at 84% 93%,#9af8ae51,transparent 42%),linear-gradient(135deg,#085448,#0c9b83 58%,#6bd9a8)}
.mk-theme-card .mk-badge-free{z-index:5}.mk-gallery-main .mk-art-fallback{border-radius:10px}.mk-gallery-main .mk-art-fallback>strong{font-size:clamp(24px,3vw,40px)}
/* 应用市场：与原站视觉统一，展示真实数据库功能 */
.hpm-section{padding:48px 0 40px;background:#f2f5fa;border-top:1px solid #e7edf6;color:#1b2b47}.hpm-section .mk-wrap{max-width:1460px}
.hpm-intro{display:flex;justify-content:space-between;align-items:end;gap:28px;margin-bottom:22px}.hpm-intro .hpm-eyebrow{font-size:10px;letter-spacing:.15em;color:#6488bd;font-weight:850}.hpm-intro h2{font-size:27px;font-weight:850;color:#202f48;letter-spacing:-.015em;margin-top:6px}.hpm-intro h2 em{font-style:normal;font-size:16px;font-weight:500;color:#718299;margin-left:12px}.hpm-intro p{color:#7c8da5;font-size:13px;margin-top:7px}.hpm-view-all{display:flex;align-items:center;gap:20px;white-space:nowrap;background:#fff;border:1px solid #e2e9f5;border-radius:8px;color:#2469e9;font-size:13px;font-weight:750;padding:11px 16px;box-shadow:0 3px 12px #09244d08}.hpm-view-all:hover{border-color:#bad0fe}.hpm-view-all span{font-size:20px}
.hpm-layout{display:grid;grid-template-columns:210px minmax(0,1fr);gap:18px;align-items:start}.hpm-category-box{border:1px solid #e8eef7;border-radius:13px;background:#fff;padding:14px 11px;box-shadow:0 3px 20px #293f6b09}.hpm-category-head{display:flex;align-items:center;padding:8px 10px 14px;gap:10px;border-bottom:1px solid #eff1f7;margin-bottom:7px}.hpm-category-head>span{display:grid;place-items:center;width:26px;height:26px;background:#e9f2ff;color:#3171ea;border-radius:7px;font-size:17px}.hpm-category-head strong{font-size:15px;color:#24344a}.hpm-category-head small{font-size:11px;color:#a0afc2;margin-left:auto}.hpm-category{display:flex;align-items:center;padding:10px 10px;border-radius:7px;gap:12px;font-size:12.5px;color:#53667e;transition:background .16s,color .16s}.hpm-category:hover{background:#edf4ff;color:#205fe0}.hpm-category-num{font-size:11px;color:#adc0df;min-width:22px;letter-spacing:.04em}.hpm-category b{margin-left:auto;color:#c2ccdc;font-size:19px;line-height:1}.hpm-category-all{display:block;padding:16px 12px 7px;color:#286dea;font-size:12px;font-weight:700;border-top:1px solid #f0f3f7;margin-top:9px}
.hpm-main{min-width:0}.hpm-feature-banner{height:194px;border-radius:13px;position:relative;overflow:hidden;display:flex;align-items:center;padding:27px 36px;background:radial-gradient(ellipse at 75% 100%,#2a82ff94,transparent 46%),radial-gradient(ellipse at 38% 10%,#6b43c744,transparent 46%),linear-gradient(107deg,#111f57 0%,#163a97 63%,#115fba 100%);box-shadow:0 7px 28px #102a6824;color:#fff}.hpm-feature-banner>div:first-child{z-index:2;position:relative}.hpm-banner-kicker{letter-spacing:.18em;font-weight:800;color:#92c1ff;font-size:10px}.hpm-feature-banner h3{font-size:26px;line-height:1.35;color:#fff;margin:9px 0 5px;letter-spacing:.01em}.hpm-feature-banner p{color:#cbdaff;font-size:12px}.hpm-feature-banner a{display:inline-flex;gap:22px;align-items:center;padding:8px 16px;background:#fff;color:#2255cd;border-radius:6px;font-weight:750;font-size:12px;margin-top:17px}.hpm-feature-banner a b{font-size:15px}.hpm-float-ui{position:absolute;right:11%;top:15%;height:100%;width:290px;transform:rotate(-8deg)}.hpm-float-ui>div{position:absolute;display:grid;place-items:center;gap:4px;width:155px;height:90px;background:linear-gradient(145deg,#ffffff28,#ffffff10);box-shadow:0 16px 35px #0a12492e;border:1px solid #ffffff50;border-radius:14px;backdrop-filter:blur(5px);font-size:24px;color:#fff}.hpm-float-ui span{font-size:11px;color:#e6edff}.hpm-float-a{top:2px;right:7px}.hpm-float-b{top:67px;left:0}.hpm-float-c{top:115px;right:-46px}
.hpm-market-top{display:flex;align-items:baseline;gap:13px;margin:22px 0 13px}.hpm-market-top b{font-size:18px;font-weight:850;color:#25344f}.hpm-market-top span{font-size:11px;color:#94a2b5}
.hpm-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.hpm-product-card{overflow:hidden;border:1px solid #e7edf7;border-radius:12px;background:#fff;min-width:0;transition:box-shadow .18s,transform .18s,border-color .18s}.hpm-product-card:hover{transform:translateY(-4px);border-color:#cbdafa;box-shadow:0 12px 29px #122a5518}.hpm-art{position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;overflow:hidden;min-height:157px;padding:15px;background:radial-gradient(circle at 100% 100%,#7d9bfa77,transparent 55%),linear-gradient(145deg,var(--hpm-a,#144faf),var(--hpm-b,#379bee));color:#fff}.hpm-art:before{content:'';position:absolute;top:-60px;right:-28px;width:190px;height:190px;border:22px solid #ffffff24;border-radius:50%}.hpm-art:after{content:'';position:absolute;bottom:-35px;right:-32px;width:160px;height:110px;border:1px solid #ffffff55;border-radius:26px;transform:rotate(-20deg);background:#ffffff13;box-shadow:0 -5px 29px #ffffff12}.hpm-art-label{position:absolute;top:12px;left:15px;padding:5px 9px;background:#ffffff24;border:1px solid #ffffff37;border-radius:5px;font-size:10px;font-weight:750;z-index:2}.hpm-art-brand{position:absolute;top:20px;right:10px;font-size:9px;letter-spacing:.08em;color:#ffffffad;z-index:2}.hpm-art-figure{position:absolute;right:4px;top:47px;display:flex;transform:rotate(-20deg);gap:7px;align-items:center}.hpm-art-figure i{width:28px;height:58px;border-radius:8px;border:1px solid #ffffff35;background:linear-gradient(#ffffff66,#ffffff08);box-shadow:8px 9px 14px #062b8140}.hpm-art-figure i:nth-child(2){height:78px}.hpm-art-figure i:nth-child(3){height:39px}.hpm-art>strong{position:relative;z-index:2;font-size:clamp(16px,1.6vw,21px);line-height:1.28;letter-spacing:.02em;max-width:95%;text-shadow:0 2px 5px #16296a55;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.hpm-art>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:1}.hpm-art>img~strong{z-index:3}.hpm-art>img~.hpm-art-figure{z-index:2}
.hpm-tone-1{--hpm-a:#254fba;--hpm-b:#318dec}.hpm-tone-2{--hpm-a:#177faa;--hpm-b:#20c7d1}.hpm-tone-3{--hpm-a:#b0409b;--hpm-b:#e67cc3}.hpm-tone-4{--hpm-a:#185a91;--hpm-b:#26b2e2}.hpm-tone-5{--hpm-a:#087967;--hpm-b:#43d3a3}.hpm-tone-6{--hpm-a:#5240ae;--hpm-b:#9975f0}.hpm-tone-7{--hpm-a:#ae4f7d;--hpm-b:#f08082}.hpm-tone-8{--hpm-a:#995b25;--hpm-b:#f4b96f}.hpm-tone-9{--hpm-a:#2c407b;--hpm-b:#6078cb}.hpm-tone-10{--hpm-a:#2569b0;--hpm-b:#6da8ed}.hpm-tone-11{--hpm-a:#49329c;--hpm-b:#8969c9}.hpm-tone-12{--hpm-a:#315188;--hpm-b:#27a2c2}.hpm-tone-13{--hpm-a:#b44a34;--hpm-b:#efa04e}
.hpm-product-info{padding:12px 12px 13px}.hpm-product-title{display:block;color:#253655;font-size:14px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hpm-product-info p{height:30px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;color:#95a3b7;font-size:10.5px;line-height:1.45;margin-top:5px}.hpm-product-bottom{border-top:1px solid #edf0f6;display:flex;align-items:center;justify-content:space-between;gap:4px;margin-top:13px;padding-top:11px}.hpm-price{font-size:15px;color:#f04d34;font-weight:800;white-space:nowrap}.hpm-add{border:1px solid #cfe1fc;border-radius:5px;padding:6px 8px;background:#f1f7ff;color:#2e6fea;font-size:11px;font-weight:750;cursor:pointer;white-space:nowrap}.hpm-add:hover,.hpm-add.selected{color:#fff;background:#2867e6;border-color:#2867e6}
.hpm-footnote{display:flex;align-items:center;gap:20px;justify-content:space-between;color:#8d9aad;font-size:11px;margin-top:20px;line-height:1.8}.hpm-footnote a{white-space:nowrap;color:#2568e0;font-weight:800}.hpm-footnote b{display:inline-flex;align-items:center;justify-content:center;border-radius:12px;background:#e3edff;font-size:11px;padding:1px 7px}.hpm-toast{position:fixed;left:50%;bottom:35px;z-index:1000;transform:translate(-50%,10px);opacity:0;transition:opacity .18s,transform .18s;pointer-events:none;padding:13px 20px;color:#fff;font-size:12px;background:#1d3c78;box-shadow:0 10px 30px #143a8040;border-radius:9px;max-width:90vw}.hpm-toast.visible{opacity:1;transform:translate(-50%,0)}
@media(max-width:1290px){.hpm-product-grid{grid-template-columns:repeat(3,1fr)}.hpm-category{padding:9px 8px}.hpm-feature-banner{height:184px}}
@media(max-width:980px){.hpm-layout{grid-template-columns:1fr}.hpm-category-box{display:none}.hpm-product-grid{grid-template-columns:repeat(3,1fr)}.hpm-feature-banner{height:180px}.hpm-intro h2 em{display:none}.hpm-intro h2{font-size:25px}.hpm-side-item{display:none}}
@media(max-width:690px){.hpm-section{padding:32px 0}.hpm-intro{align-items:start;gap:12px}.hpm-intro h2{font-size:22px}.hpm-intro p{font-size:12px}.hpm-view-all{padding:7px 10px;font-size:11px;gap:5px}.hpm-feature-banner{height:169px;padding:20px}.hpm-feature-banner h3{font-size:21px}.hpm-feature-banner p{max-width:230px;line-height:1.5}.hpm-float-ui{opacity:.25;right:-100px}.hpm-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.hpm-art{min-height:136px;padding:11px}.hpm-art>strong{font-size:17px}.hpm-art-label{font-size:9px;top:8px;left:9px}.hpm-art-brand{display:none}.hpm-product-info{padding:10px}.hpm-product-title{font-size:12px}.hpm-price{font-size:13px}.hpm-product-info p{font-size:10px}.hpm-footnote{display:block}.hpm-footnote a{display:block;margin-top:7px}.mk-art-fallback>strong{font-size:16px}.mk-art-fallback>small{font-size:8px}.mk-nav-links a{padding:0 10px}.hpm-nav-new{display:none}}
