body.page-home,body.page-home *{box-sizing:border-box;}
body.page-home{background:#f1f5ff!important;color:#1d2540;-webkit-font-smoothing:antialiased;}
body.page-home .header-navbar,body.page-home .dp-footer,body.page-home .kf-fab,body.page-home .cs-fab{display:none!important;}
body.page-home>.container{width:100%!important;max-width:none!important;padding:0!important;margin:0!important;}
.cr-page{max-width:520px;margin:0 auto;min-height:100vh;background:#f1f5ff;padding-bottom:82px;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:#1d2540;}
.cr-page a{text-decoration:none;color:inherit;}

/* 渐变头 */
.cr-hero{
  position:relative;overflow:hidden;padding:12px 14px 16px;color:#fff;
  background:linear-gradient(132deg,#5f7cff 0%,#836cff 42%,#a968ff 64%,#ff78c2 100%);
  border-radius:0 0 24px 24px;box-shadow:0 14px 28px rgba(109,92,255,.24);
}
.cr-hero::before{content:"";position:absolute;width:220px;height:220px;right:-72px;top:-80px;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.28),transparent 68%);}
.cr-hero::after{content:"";position:absolute;width:170px;height:170px;left:-80px;bottom:-60px;border-radius:50%;background:radial-gradient(circle,rgba(0,230,255,.26),transparent 68%);}
.cr-top{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;height:36px;}
.cr-logo{display:flex;align-items:center;gap:8px;min-width:0;font-size:18px;font-weight:900;letter-spacing:-.4px;color:#fff!important;}
.cr-logo img{flex:0 0 36px;width:36px;height:36px;border-radius:10px;background:#fff;object-fit:contain;padding:2px;border:1px solid rgba(255,255,255,.42);box-shadow:0 4px 12px rgba(0,0,0,.1);}
.cr-logo span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.cr-top-user{height:30px;padding:0 11px;border-radius:999px;background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.28);display:inline-flex;align-items:center;gap:4px;font-size:12px;font-weight:700;color:#fff!important;backdrop-filter:blur(6px);}
.cr-hero-card{
  position:relative;z-index:2;margin-top:14px;border-radius:14px;padding:14px 12px 12px;
  background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.22);
  backdrop-filter:blur(7px);box-shadow:0 8px 22px rgba(58,38,160,.12);
}
.cr-eyebrow{display:inline-flex;align-items:center;gap:4px;height:20px;padding:0 7px;border-radius:5px;background:rgba(255,255,255,.18);font-size:10px;font-weight:700;letter-spacing:.3px;}
.cr-hero-title h1{margin:7px 0 3px;font-size:23px;line-height:1.2;font-weight:900;letter-spacing:-.7px;}
.cr-hero-title p{margin:0;font-size:11px;color:rgba(255,255,255,.74);}
.cr-actions{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin-top:13px;}
.cr-actions a{display:flex;flex-direction:column;align-items:center;gap:5px;}
.cr-actions i{width:42px;height:42px;border-radius:13px;display:flex;align-items:center;justify-content:center;font-style:normal;color:#fff;box-shadow:0 5px 12px rgba(30,20,80,.16);}
.cr-actions .a1{background:linear-gradient(145deg,#54c6ff,#1887f0);}
.cr-actions .a2{background:linear-gradient(145deg,#7ee0b0,#18a86e);}
.cr-actions .a3{background:linear-gradient(145deg,#ffc45c,#ff8a2a);}
.cr-actions .a4{background:linear-gradient(145deg,#d38aff,#8d55f0);}
.cr-actions b{font-size:10.5px;font-weight:700;color:rgba(255,255,255,.92);}
.cr-search{position:relative;z-index:2;display:flex;align-items:center;height:44px;margin-top:12px;padding:0 6px 0 12px;border-radius:10px;background:#fff;box-shadow:0 7px 18px rgba(53,39,160,.14);color:#9aa6bc;}
.cr-search input{flex:1;min-width:0;border:0;outline:0;background:transparent;padding:0 9px;font-size:12.5px;color:#1d2540;font-family:inherit;}
.cr-search input::placeholder{color:#a8b2c4;}
.cr-search button{flex:0 0 48px;height:32px;border:0;border-radius:7px;background:linear-gradient(135deg,#7b6dff,#5b55f0);color:#fff;font-size:12px;font-weight:800;font-family:inherit;}

/* 主体 */
.cr-main{padding:10px 10px 0;}
.cr-stat-row{display:grid;grid-template-columns:repeat(3,1fr);background:#fff;border-radius:13px;padding:10px 0;box-shadow:0 3px 12px rgba(30,44,90,.06);}
.cr-stat-row div{text-align:center;border-right:1px solid #edf1f8;display:flex;flex-direction:column;gap:2px;}
.cr-stat-row div:last-child{border-right:0;}
.cr-stat-row b{font-size:17px;font-weight:900;color:#26314f;line-height:1.1;}
.cr-stat-row span{font-size:9.5px;color:#98a3b6;}
.cr-chips{display:flex;gap:7px;overflow-x:auto;padding:11px 0 9px;scrollbar-width:none;}
.cr-chips::-webkit-scrollbar{display:none;}
.cr-chips button{flex:0 0 auto;border:0;border-radius:999px;background:#fff;color:#68758c;font-size:11.5px;font-weight:700;line-height:1;padding:7px 12px;font-family:inherit;box-shadow:0 1px 5px rgba(30,44,90,.05);cursor:pointer;}
.cr-chips button.on{background:linear-gradient(135deg,#7b6dff,#5b55f0);color:#fff;box-shadow:0 5px 12px rgba(91,85,240,.22);}
.cr-head{display:flex;align-items:flex-end;justify-content:space-between;padding:2px 2px 9px;}
.cr-head h2{margin:0;font-size:17px;font-weight:900;color:#202a46;letter-spacing:-.3px;}
.cr-head span{font-size:10.5px;color:#98a3b6;}
.cr-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;}
.cr-card{background:#fff;border-radius:13px;padding:9px 9px 10px;box-shadow:0 3px 12px rgba(30,44,90,.06);border:1px solid rgba(32,42,70,.03);display:flex;flex-direction:column;min-width:0;}
.cr-card:active{transform:scale(.985);}
.cr-card-pic{width:100%;height:112px;border-radius:10px;overflow:hidden;background:#f2f5fb;position:relative;border:1px solid #edf1f7;}
.cr-card-pic img{width:100%;height:100%;object-fit:cover;display:block;}
.cr-card-pic em{position:absolute;left:0;top:0;font-style:normal;font-size:8px;font-weight:800;color:#fff;background:#ff3b30;line-height:1;padding:3px 4px;border-radius:0 0 5px 0;}
.cr-card h3{margin:8px 0 0;font-size:12.5px;line-height:1.35;font-weight:800;color:#202a46;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:33px;}
.cr-tags{display:flex;align-items:center;gap:4px;margin-top:5px;min-width:0;}
.cr-tags span{flex:0 0 auto;font-size:8.5px;line-height:1;padding:3px 4px;border-radius:3px;background:#eef2ff;color:#6b6cff;font-weight:700;}
.cr-tags b{font-size:9px;font-weight:600;color:#98a3b6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.cr-meta{display:flex;gap:8px;margin-top:5px;font-size:9px;color:#9ca6b8;line-height:1;}
.cr-card-foot{display:flex;align-items:center;justify-content:space-between;gap:4px;margin-top:8px;}
.cr-price{display:flex;align-items:baseline;color:#f04452;line-height:1;}
.cr-price small{font-size:9.5px;font-weight:800;margin-right:1px;}
.cr-price b{font-size:17px;font-weight:900;letter-spacing:-.5px;}
.cr-buy{height:24px;padding:0 9px;border-radius:999px;background:linear-gradient(135deg,#7b6dff,#5b55f0);color:#fff;font-size:10px;font-weight:800;display:inline-flex;align-items:center;box-shadow:0 4px 9px rgba(91,85,240,.2);}
.cr-empty{grid-column:1/-1;background:#fff;border-radius:12px;padding:36px 16px;text-align:center;color:#9aa4b8;font-size:12px;}
.cr-none{margin-top:10px;padding:20px;text-align:center;color:#9aa4b8;font-size:12px;}

/* 底部 */
.cr-nav{position:fixed;left:0;right:0;bottom:0;z-index:100;height:calc(58px + env(safe-area-inset-bottom));padding:0 4px env(safe-area-inset-bottom);background:rgba(255,255,255,.98);border-top:1px solid #eaeef7;display:grid;grid-template-columns:repeat(4,1fr);align-items:center;box-shadow:0 -5px 18px rgba(30,44,90,.06);backdrop-filter:blur(10px);}
.cr-nav a{height:58px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:10.5px;color:#98a3b6!important;font-weight:600;}
.cr-nav a.on{color:#6b6cff!important;}

@media(min-width:761px){
  body.page-home{background:#e8eeff!important;}
  .cr-page{box-shadow:0 20px 50px rgba(35,40,105,.12);}
  .cr-nav{max-width:520px;left:50%;transform:translateX(-50%);border-radius:16px 16px 0 0;overflow:hidden;}
}

/* ===== 霓虹紫覆盖 ===== */
body.page-home{background:#07060c!important;color:#f5edff;}
.cr-page{background:#0d0a15;color:#f5edff;}
.cr-hero{background:linear-gradient(132deg,#2a1450 0%,#5d1d86 38%,#8e267f 62%,#ff3d8d 100%);box-shadow:0 14px 30px rgba(0,0,0,.5);}
.cr-hero::before{background:radial-gradient(circle,rgba(190,120,255,.32),transparent 68%);}
.cr-hero::after{background:radial-gradient(circle,rgba(255,61,141,.2),transparent 68%);}
.cr-logo i{background:linear-gradient(135deg,#a855f7,#ff3d8d);border-color:rgba(255,255,255,.24);}
.cr-top-user{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.18);}
.cr-hero-card{background:rgba(20,10,38,.32);border-color:rgba(190,140,255,.2);box-shadow:0 8px 22px rgba(0,0,0,.28);}
.cr-eyebrow{background:rgba(168,85,247,.22);}
.cr-search{background:#1a1228;color:#8a7ba8;box-shadow:0 7px 20px rgba(0,0,0,.32);}
.cr-search input{color:#f5edff;}
.cr-search input::placeholder{color:#74658f;}
.cr-search button{background:linear-gradient(135deg,#a855f7,#ff3d8d);}
.cr-main{padding-top:10px;}
.cr-stat-row{background:#171022;box-shadow:none;border:1px solid #271b3d;}
.cr-stat-row div{border-right-color:#2a1d40;}
.cr-stat-row b{color:#f5edff;}
.cr-stat-row span{color:#8879a6;}
.cr-chips button{background:#1b132b;color:#a695c2;box-shadow:none;border:1px solid #2a1d40;}
.cr-chips button.on{background:linear-gradient(135deg,#a855f7,#ff3d8d);color:#fff;border-color:transparent;box-shadow:0 5px 14px rgba(168,85,247,.28);}
.cr-head h2,.cr-card h3{color:#f5edff;}
.cr-head span{color:#8778a4;}
.cr-card{background:#171022;border-color:#271b3d;box-shadow:none;}
.cr-card-pic{background:#100b19;border-color:#251936;}
.cr-tags span{background:#2a1738;color:#f08bb8;}
.cr-tags b{color:#8c7aa9;}
.cr-meta{color:#806f9c;}
.cr-price{color:#ff6b92;}
.cr-buy{background:linear-gradient(135deg,#a855f7,#ff3d8d);box-shadow:0 4px 11px rgba(168,85,247,.28);}
.cr-empty,.cr-none{background:#171022;color:#8c7aa9;}
.cr-nav{background:rgba(13,10,21,.98);border-top-color:#241732;box-shadow:0 -5px 18px rgba(0,0,0,.4);}
.cr-nav a{color:#80709c!important;}
.cr-nav a.on{color:#c084fc!important;}
body.page-home{background:#06050a!important;}
