/* Y-Pages vertical report cards (real-time counts + mini charts from ClickHouse) */
.sc-wrap{max-width:1180px;margin:-38px auto 34px;padding:0 24px;position:relative;z-index:6;}
.sc-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;align-items:start;}
.sc-card{position:relative;background:#fff;border:1px solid #ECECF3;border-radius:16px;padding:18px 18px 16px;
    box-shadow:0 14px 40px rgba(31,36,48,.10);overflow:hidden;opacity:0;transform:translateY(16px);animation:scIn .55s cubic-bezier(.2,.7,.3,1) forwards;}
.sc-card:nth-child(2){animation-delay:.08s}.sc-card:nth-child(3){animation-delay:.16s}.sc-card:nth-child(4){animation-delay:.24s}
@keyframes scIn{to{opacity:1;transform:none}}
.sc-top{display:flex;align-items:center;gap:12px;margin-bottom:8px;}
.sc-ic{width:44px;height:44px;flex:0 0 44px;border-radius:12px;display:grid;place-items:center;color:#fff;font-size:19px;
    background:var(--c,#4b47ee);box-shadow:0 8px 18px color-mix(in srgb, var(--c,#4b47ee) 42%, transparent);}
.sc-val{font-size:25px;font-weight:800;color:var(--c,#4b47ee);line-height:1;}
.sc-lbl{font-size:13px;color:#8a8f99;margin-top:3px;font-weight:500;}
.sc-chart{min-height:54px;margin:8px -2px 0;}
.sc-chart svg{width:100%;height:100%;display:block;}
.sc-sub{font-size:12px;color:#a98bc0;margin-top:8px;font-weight:600;}
.sc-legend{display:flex;flex-wrap:wrap;gap:8px 12px;margin-top:8px;}
.sc-legend span{display:inline-flex;align-items:center;gap:5px;font-size:11.5px;color:#6b7280;font-weight:600;}
.sc-legend i{width:9px;height:9px;border-radius:50%;display:inline-block;}
@media(max-width:1000px){.sc-grid{grid-template-columns:repeat(2,1fr);}}
@media(max-width:560px){.sc-grid{grid-template-columns:1fr;} .sc-wrap{margin-top:-20px;}}
