/* DeviTest — speed test */
.sp-out { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 4px; }
@media (min-width: 720px) { .sp-out { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.sp-card { padding: 14px; border-radius: 14px; border: 1px solid var(--border); background: var(--bg-panel); transition: border-color .2s, box-shadow .2s; }
.sp-card small { display: block; color: var(--text-dimmer); font-size: 12.5px; margin-bottom: 4px; }
.sp-card strong { display: block; color: var(--text-strong); direction: ltr; unicode-bidi: plaintext; line-height: 1.1; }
[dir="rtl"] .sp-card strong { text-align: right; }
.sp-card .sp-v { font-size: clamp(28px, 6vw, 40px); font-weight: 800; font-variant-numeric: tabular-nums; }
.sp-card em { display: block; margin-top: 6px; font-style: normal; font-size: 13px; font-weight: 600; color: var(--text-dim); }
.sp-card.live { border-color: var(--accent, #06b6d4); box-shadow: 0 0 0 1px var(--accent, #06b6d4) inset; }
.sp-phase { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--text-dim); margin: 14px 0 6px; }
.sp-bar { height: 8px; border-radius: 6px; background: var(--bg-panel); border: 1px solid var(--border); overflow: hidden; }
.sp-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent, #06b6d4), var(--primary, #2563eb)); transition: width .25s; }
.sp-actions { margin-top: 14px; }
.sp-actions .cta { min-width: 220px; font-size: 16px; padding: 14px 22px; }
@media (max-width: 480px) { .sp-actions .cta { width: 100%; } }
