/* Presentation only; all selectors are limited to the homepage. */
body:has(#yf-home){background:#fff5fc!important;color:#3e2c50}
body:has(#yf-home) .uc-topbar{background:#fff9fef2;border-bottom:1px solid #f0d9f5}
body:has(#yf-home) .shop-brand__name{color:#9a50bd}
body:has(#yf-home) .shop-nav__item{color:#533168}
body:has(#yf-home) .shop-search__box{border:1px solid #dcbdeb;background:#fff9fe;border-radius:30px;color:#644574}
#yf-home{max-width:1440px;padding:0 16px 40px!important}
#yf-home .yf-hero{aspect-ratio:1200/410;margin:0 -16px;background:#ecd6fa url('./artwork-speed-v1.jpg') center 6.65%/100% auto no-repeat;overflow:hidden}
#yf-home .yf-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
#yf-home .yf-notice{margin:12px 0;border:1px solid #eecdf4;border-radius:18px;background:#fffaff;color:#8b579e;font-size:13px;overflow:hidden}
#yf-home .yf-notice summary{cursor:pointer;padding:13px 20px;list-style:none}
#yf-home .yf-notice summary span{float:right;font-size:12px}
#yf-home .yf-notice>.panel{margin:0;border:0;background:#fffaff}
#yf-home .panel{background:transparent;border:0;box-shadow:none;border-radius:20px;margin-bottom:0}
#yf-home>.panel>.panel-header{display:none}
#yf-home>.panel>.panel-body{padding:0}
#yf-home .chip-list{justify-content:center;gap:22px;padding:20px 12px;margin-bottom:6px;border-radius:20px;border:1px solid #edd6f6;background:#fff9fe}
#yf-home .chip{background:#fff7ff;border:1px solid #dec1ef;color:#653e82;border-radius:999px;padding:10px 25px;font-size:16px;font-weight:600;box-shadow:none}
#yf-home .chip.is-primary{background:linear-gradient(120deg,#f78ec9,#e96ab2);border-color:#f7c0df;color:white;box-shadow:0 4px 14px #d965b322}
#yf-home .item-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0}
#yf-home .item-card-cell{width:auto;max-width:none;padding:0;margin:0;text-decoration:none;min-width:0}
#yf-home .acg-card{height:100%;display:flex;flex-direction:column;border:1px solid #edcff3;border-radius:18px;padding:8px;background:linear-gradient(#fff,#fff7fd);box-shadow:0 3px 10px #b874d51a;overflow:hidden;color:#473052;transition:transform .18s,box-shadow .18s}
#yf-home .acg-card:hover{transform:translateY(-3px);box-shadow:0 10px 24px #b66fce24}
#yf-home .acg-thumb{position:relative;height:auto;aspect-ratio:1.55;flex:none;border-radius:11px;overflow:hidden;background-color:#f1def9!important}
#yf-home .yf-product-art{position:absolute;inset:0;background-image:url('./artwork-speed-v1.jpg');background-size:435% auto;background-position:1.5% 50.5%;pointer-events:none}
#yf-home [data-yf-art='account']{background-position:34% 50.5%}
#yf-home [data-yf-art='pro']{background-position:67% 50.5%}
#yf-home [data-yf-art='grok']{background-position:99% 50.5%}
#yf-home [data-yf-art='gemini']{background-position:1.5% 82.6%}
#yf-home [data-yf-art='twitter']{background-position:34% 82.6%}
#yf-home [data-yf-art='codex']{background-position:67% 82.6%}
#yf-home [data-yf-art='premium']{background-position:99% 82.6%}
#yf-home .acg-body{padding:12px 7px 7px;display:flex;flex-direction:column;flex:1;gap:9px}
#yf-home .goods-title{font-size:16px;font-weight:700;line-height:1.65;color:#3f2c4d;white-space:normal;overflow:visible;display:block;margin:0;min-height:53px}
#yf-home .tags{font-size:11px;min-height:20px}
#yf-home .badge-soft{background:#fae8f6;color:#9d5db0;border:1px solid #f0d8ef}
#yf-home .stat-row{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:6px}
#yf-home .price{color:#e43c97;font-size:27px;font-weight:800}
#yf-home .price .unit{font-size:17px}
#yf-home .acg-card:not(.soldout) .stat-row:after{content:'立即购买';background:linear-gradient(#f88bc8,#e767ae);border:1px solid white;border-radius:999px;padding:6px 16px;color:white;font-size:12px;font-weight:600;white-space:nowrap}
#yf-home .stat-bottom{padding-top:11px;border-top:1px solid #f0deef;font-size:11px;color:#a383ad;display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap}
#yf-home .soldout{opacity:.68}
#yf-home a:focus-visible,#yf-home summary:focus-visible{outline:3px solid #bd70cb;outline-offset:3px}
@media(max-width:1000px){#yf-home .item-list{grid-template-columns:repeat(3,minmax(0,1fr))}#yf-home .chip-list{gap:12px}#yf-home .chip{padding:9px 18px}}
@media(max-width:640px){#yf-home .item-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}#yf-home .chip-list{gap:9px;padding:14px 8px}#yf-home .chip{font-size:13px;padding:8px 13px}#yf-home .goods-title{font-size:13px;min-height:44px}#yf-home .price{font-size:22px}#yf-home .acg-body{padding:10px 3px 5px}#yf-home .acg-card:not(.soldout) .stat-row:after{padding:5px 9px;font-size:10px}#yf-home .yf-notice summary{padding:11px 14px;font-size:12px}#yf-home .yf-notice summary span{float:none;display:block;margin-top:4px}}
@media(prefers-reduced-motion:reduce){#yf-home .acg-card{transition:none;transform:none}}

/* Avoid the original background download on this homepage only. */
body:has(#yf-home){background-image:none!important}

