/* 90-tweaks: stat kortelės pagal turinio aukštį */
*:has(> .card.stat){align-items:start!important}
.card.stat{min-height:0!important;height:auto!important}

/* partnerių juosta: viena kompaktiška eilutė */
#sgBx{display:flex!important;flex-wrap:wrap;align-items:center;gap:10px!important;padding:10px 14px!important;margin:0 0 12px!important}
#sgBx > div{display:contents!important}
#sgBx > div:first-child > button{order:99;margin-left:auto!important}
#sgBx button[style*="dashed"]{padding:7px 13px!important;border-radius:999px!important;white-space:nowrap}
#sgBx button[style*="dashed"] div:nth-child(2){display:none!important}
#sgBx button[style*="dashed"] div:first-child{font-size:13px!important}
#sgBx a[style*="display:block"]{max-width:300px;padding:8px 14px!important}

/* kortelės: įskaitomas tekstas ant tamsaus fono */
#grid .card.sv{color:#e8ecff}
#grid .card.sv .nm{color:#f3f6ff!important}

/* A: updated ago */
.sgUpd{opacity:.75;font-size:12px;white-space:nowrap}
/* C: counts in pills */
.sgCnt{margin-left:6px;padding:1px 7px;border-radius:999px;font:800 11px system-ui;background:rgba(255,255,255,.14);color:inherit;flex:0 0 auto}
/* B: skeleton */
body.sgLoading #grid{display:none}
#sgSkel{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px;margin:0 0 16px}
#sgSkel i{display:block;height:200px;border-radius:18px;background:linear-gradient(100deg,rgba(120,130,170,.14) 30%,rgba(160,170,210,.28) 50%,rgba(120,130,170,.14) 70%);background-size:200% 100%;animation:sgShim 1.2s linear infinite}
@keyframes sgShim{to{background-position:-200% 0}}
@media (prefers-reduced-motion:reduce){#sgSkel i{animation:none}}
