/* jichangpk 视觉叠加 2026-11-19 —— 只加样式，不改任何文字、链接、TDK。
   方向：「擂台」双色 = 赤陶(A 方) vs 青绿(B 方)，辅以琥珀(价格)与紫(方法)。
   只给 / 与 /providers/ 两页用，纯 CSS + 内联 SVG(mask)。 */
main{--pk-a:#b4412d;--pk-b:#127a72;--pk-c:#a8701a;--pk-d:#6a4ca3;
  --pk-a-s:#fbeeea;--pk-b-s:#e6f4f2;--pk-c-s:#fbf2e0;--pk-d-s:#f0ebf8}

/* ---- 区块标题：图标徽章 ---- */
main section:not([data-boilerplate]) h2.text-xl{display:flex;align-items:center;gap:.6rem}
main section:not([data-boilerplate]) h2.text-xl::before{content:"";flex:none;width:2rem;height:2rem;border-radius:10px;background:var(--ico,none) center/58% no-repeat,var(--ic,var(--pk-a));box-shadow:0 3px 8px -3px var(--ic,var(--pk-a))}
#top-rank h2{--ic:var(--pk-c);--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 21h8M12 17v4M7 4h10v5a5 5 0 0 1-10 0zM17 5h3v2a3 3 0 0 1-3 3M7 5H4v2a3 3 0 0 0 3 3'/%3E%3C/svg%3E")}
#brand-library h2{--ic:var(--pk-b);--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5a2 2 0 0 1 2-2h12v18H6a2 2 0 0 1-2-2zM8 7h6M8 11h6'/%3E%3C/svg%3E")}
.page-shell > section:nth-of-type(5) h2{--ic:var(--pk-a);--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h14l-3-3M20 16H6l3 3'/%3E%3C/svg%3E")}
.page-shell > section:nth-of-type(6) h2{--ic:var(--pk-d);--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l8 3v6c0 5-3.5 8-8 9-4.5-1-8-4-8-9V6zM9 12l2 2 4-4'/%3E%3C/svg%3E")}
.page-shell > section:nth-of-type(7) h2{--ic:var(--pk-c);--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12V4h8l10 10-8 8zM7.5 8.5h.01'/%3E%3C/svg%3E")}
.page-shell > section:nth-of-type(8) h2{--ic:var(--pk-d);--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h9l4 4v14H6zM9 12h7M9 16h7'/%3E%3C/svg%3E")}
.page-shell > section:nth-of-type(9) h2{--ic:var(--pk-b);--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 9a3 3 0 1 1 4.5 2.6c-1 .6-1.5 1.2-1.5 2.4M12 18h.01'/%3E%3C/svg%3E")}
main .mb-10 > .mb-4 h2{--ic:var(--pk-b);--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12V4h8l10 10-8 8zM7.5 8.5h.01'/%3E%3C/svg%3E")}
main .mb-10:nth-of-type(2n) > .mb-4 h2{--ic:var(--pk-c)}
main .mb-10:nth-of-type(3n) > .mb-4 h2{--ic:var(--pk-d)}

/* ---- 首页 TOP 榜单行：名次徽章 + 三色轮换侧边条 ---- */
#top-rank ol li.card{position:relative;overflow:hidden;padding-left:1rem;border-left:4px solid var(--pk-a)}
#top-rank ol li.card:nth-child(3n+2){border-left-color:var(--pk-b)}
#top-rank ol li.card:nth-child(3n){border-left-color:var(--pk-c)}
#top-rank ol li.card > span:first-child{display:inline-grid;place-items:center;width:1.9rem;height:1.9rem;min-width:0!important;
  border-radius:50%;background:#f1ece4;color:#6b5a4a!important;font-size:12px!important}
#top-rank ol li.card:nth-child(1) > span:first-child{background:linear-gradient(135deg,#f6d776,#d9a21f);color:#4a3200!important}
#top-rank ol li.card:nth-child(2) > span:first-child{background:linear-gradient(135deg,#e9edf2,#b7c0cc);color:#2b3440!important}
#top-rank ol li.card:nth-child(3) > span:first-child{background:linear-gradient(135deg,#f0c7a1,#c9824a);color:#4a2400!important}
#top-rank ol li.card:nth-child(-n+3){background:linear-gradient(90deg,var(--pk-c-s),#fff 55%)}
#top-rank ol li.card .btn{box-shadow:none}

/* ---- 独家推荐大卡：加一条青绿角标，价格行更醒目 ---- */
#top-rank > .card:first-child{background:linear-gradient(180deg,#fff7f4,#fff);position:relative}
#top-rank > .card:first-child strong{color:var(--pk-a)}
#top-rank > .card:first-child ul li:first-child{font-size:15px}

/* ---- 四格统计：四色顶边 + 大数字着色 ---- */
.page-shell > section:nth-of-type(3) .grid > *{position:relative;border-top:4px solid var(--c);background:linear-gradient(180deg,var(--cs),#fff 70%)!important}
.page-shell > section:nth-of-type(3) .grid > *:nth-child(1){--c:var(--pk-a);--cs:var(--pk-a-s)}
.page-shell > section:nth-of-type(3) .grid > *:nth-child(2){--c:var(--pk-b);--cs:var(--pk-b-s)}
.page-shell > section:nth-of-type(3) .grid > *:nth-child(3){--c:var(--pk-c);--cs:var(--pk-c-s)}
.page-shell > section:nth-of-type(3) .grid > *:nth-child(4){--c:var(--pk-d);--cs:var(--pk-d-s)}
.page-shell > section:nth-of-type(3) .grid > * :first-child{color:var(--c)!important}

/* ---- 品牌库卡：左侧价档色条 ---- */
#brand-library .grid > a.card{border-left:4px solid var(--pk-b);padding-left:1.1rem}
#brand-library .grid > a.card:nth-child(3n+2){border-left-color:var(--pk-c)}
#brand-library .grid > a.card:nth-child(3n){border-left-color:var(--pk-d)}

/* ---- 对比卡：左右两方不同色，「PK」感 ---- */
.page-shell > section:nth-of-type(5) article.card .grid > div:first-child{background:linear-gradient(180deg,var(--pk-a-s),#fff)!important;border-color:#ecc9c0!important}
.page-shell > section:nth-of-type(5) article.card .grid > div:last-child{background:linear-gradient(180deg,var(--pk-b-s),#fff)!important;border-color:#bfe0dc!important}
.page-shell > section:nth-of-type(5) article.card .grid > div:last-child .btn{background:var(--pk-b);border-color:var(--pk-b)}
.page-shell > section:nth-of-type(5) article.card .grid > div:first-child p.font-mono{color:var(--pk-a)}
.page-shell > section:nth-of-type(5) article.card .grid > div:last-child p.font-mono{color:var(--pk-b)}
.page-shell > section:nth-of-type(5) article.card a .text-brand-500{display:inline-block;padding:0 .35em;border-radius:6px;background:var(--pk-a);color:#fff!important;font-size:.72em;line-height:1.6;vertical-align:.1em}

/* ---- 「三件事」：三卡三色顶边 + 序号 ---- */
.page-shell > section:nth-of-type(6) .grid > *{position:relative;border-top:4px solid var(--c);background:linear-gradient(180deg,var(--cs),#fff 55%)!important}
.page-shell > section:nth-of-type(6) .grid > *:nth-child(1){--c:var(--pk-b);--cs:var(--pk-b-s)}
.page-shell > section:nth-of-type(6) .grid > *:nth-child(2){--c:var(--pk-d);--cs:var(--pk-d-s)}
.page-shell > section:nth-of-type(6) .grid > *:nth-child(3){--c:var(--pk-c);--cs:var(--pk-c-s)}
.page-shell > section:nth-of-type(6) .grid > * .text-brand-500,.page-shell > section:nth-of-type(6) .grid > * [class*="brand"]{color:var(--c)!important}

/* ---- 便宜 6 家：价格高亮条 ---- */
.page-shell > section:nth-of-type(7) .grid > .card{border-top:4px solid var(--pk-c);background:linear-gradient(180deg,var(--pk-c-s),#fff 60%)}
.page-shell > section:nth-of-type(7) .grid > .card:nth-child(even){border-top-color:var(--pk-b);background:linear-gradient(180deg,var(--pk-b-s),#fff 60%)}

/* ---- 文章卡：左侧竖条 + 标题颜色随分类轮换 ---- */
.page-shell > section:nth-of-type(8) .grid > *{border-left:4px solid var(--pk-d)}
.page-shell > section:nth-of-type(8) .grid > *:nth-child(2){border-left-color:var(--pk-a)}
.page-shell > section:nth-of-type(8) .grid > *:nth-child(3){border-left-color:var(--pk-b)}
.page-shell > section:nth-of-type(8) .grid > *:nth-child(4){border-left-color:var(--pk-c)}

/* ---- 档案页：档位卡顶色条、价格加粗着色、限制提示成框 ---- */
main .mb-10 .grid > a.card{border-top:4px solid var(--pk-b)}
main .mb-10:nth-of-type(2n) .grid > a.card{border-top-color:var(--pk-c)}
main .mb-10:nth-of-type(3n) .grid > a.card{border-top-color:var(--pk-d)}
main a.card dl > div:first-child dd{font-size:17px;font-weight:800;color:var(--pk-a)}
main a.card dl > div:nth-child(2) dd{font-weight:700;color:var(--pk-b)}
main a.card .text-warn-600{margin-top:.75rem;padding:.55rem .7rem;border-radius:10px;background:var(--pk-c-s);border:1px solid #ecd59f;color:#7a4b00!important}

/* ---- 手机 ---- */
@media (max-width:640px){
  main section:not([data-boilerplate]) h2.text-xl::before{width:1.75rem;height:1.75rem}
  #top-rank ol li.card{padding-left:.8rem}
  main a.card dl > div:first-child dd{font-size:16px}
}

/* ---- round 2：三件事的小圆点随卡片色 ---- */
.page-shell > section:nth-of-type(6) .grid > * span.rounded-full{background:var(--c)!important;width:.6rem;height:.6rem;box-shadow:0 0 0 3px var(--cs)}
