.speed-hero { padding: 20px; text-align: center; }
        .speed-hero h1 { font-size: 42px; font-weight: 600; margin: 0 0 8px; }
        .speed-hero p { margin: 0; font-size: 15px; color: #64748b; line-height: 1.6; }

        .speed-panel {
            background: #fff;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgb(0 0 0 / 8%);
            padding: 24px 20px 32px;
            margin: 16px 0 20px;
            text-align: center;
        }

        .speed-ip-bar {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: center;
            gap: 8px 20px;
            margin: 0 auto 20px;
            padding: 12px 16px;
            background: #f8fafc;
            border: 1px solid #eef2f7;
            border-radius: 12px;
            font-size: 0.88rem;
            color: #475569;
        }

        .speed-ip-bar .ip-label {
            color: #94a3b8;
            font-weight: 500;
            margin-right: 4px;
        }

        .speed-ip-bar .ip-val {
            font-weight: 600;
            color: #0f172a;
            font-variant-numeric: tabular-nums;
        }

        .speed-ip-bar .ip-val.mono {
            font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
        }

        .speed-ip-sep {
            width: 1px;
            height: 14px;
            background: #e2e8f0;
            flex-shrink: 0;
        }


        .speed-gauge-block {
            position: relative;
            width: 100%;
            max-width: 460px;
            height: var(--speed-gauge-h, 280px);
            margin: 0 auto;
            overflow: visible;
            flex-shrink: 0;
        }

        .speed-stage {
            max-width: 720px;
            margin: 0 auto;
            overflow: hidden;
        }

        .speed-stage-inner {
            --speed-gauge-h: 280px;
            display: flex;
            align-items: stretch;
            justify-content: center;
            gap: 0;
            min-height: var(--speed-gauge-h);
            transition: gap 0.55s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .speed-stage-inner.active {
            justify-content: flex-start;
            align-items: center;
            gap: 20px;
            min-height: 0;
        }

        .speed-gauge-col,
        .speed-metrics-col {
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .speed-stage-inner:not(.active) .speed-gauge-col {
            min-height: var(--speed-gauge-h);
        }

        .speed-stage-inner.active .speed-gauge-col,
        .speed-stage-inner.active .speed-metrics-col {
            min-height: unset;
            justify-content: center;
        }

        .speed-gauge-col {
            flex: 0 0 100%;
            max-width: 460px;
            width: 100%;
            margin: 0 auto;
            transition: flex 0.55s cubic-bezier(0.4, 0, 0.2, 1),
        max-width 0.55s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .speed-stage-inner.active .speed-gauge-col {
            flex: 0 0 52%;
            max-width: 380px;
            margin: 0;
        }

        .speed-stage-inner.active .speed-gauge-block {
            transform: translateY(-12px);
            transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .speed-metrics-col {
            flex: 0 0 0;
            width: 0;
            opacity: 0;
            overflow: hidden;
            transform: translateX(30px);
            transition: flex 0.55s cubic-bezier(0.4, 0, 0.2, 1),
        width 0.55s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.45s ease 0.12s,
        transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
            pointer-events: none;
        }

        .speed-stage-inner.active .speed-metrics-col {
            flex: 0 0 44%;
            width: auto;
            min-width: 220px;
            opacity: 1;
            transform: translateX(0);
            pointer-events: auto;
        }

        .speed-metrics {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 10px;
            width: 100%;
            align-self: center;
        }

        .speed-gauge-svg {
            width: 100%;
            height: 100%;
            display: block;
            overflow: visible;
        }

        .gauge-track {
            fill: none;
            stroke: #e8edf3;
            stroke-width: 22;
        }

        .gauge-progress {
            fill: url(#gaugeGrad);
            stroke: none;
        }

        .gauge-label {
            fill: #64748b;
            font-size: 12px;
            font-weight: 600;
            font-family: 'Noto Sans SC', sans-serif;
            text-anchor: middle;
            dominant-baseline: middle;
        }

        .gauge-needle {
            fill: #334155;
            filter: url(#needleGlow);
            opacity: 0;
            transition: opacity 0.25s;
        }

        .gauge-needle.visible {
            opacity: 1;
        }

        .gauge-hub {
            fill: #fff;
            stroke: #cbd5e1;
            stroke-width: 2;
        }

        .speed-readout {
            position: absolute;
            left: 50%;
            bottom: 18px;
            transform: translateX(-50%);
            text-align: center;
            pointer-events: none;
            width: 100%;
            opacity: 1;
            transition: opacity 0.3s;
        }

        .speed-readout.hidden {
            opacity: 0;
            visibility: hidden;
        }

        .speed-gauge-btn {
            position: absolute;
            left: 50%;
            bottom: 22px;
            transform: translateX(-50%);
            background: none;
            border: none;
            color: var(--primary-blue);
            font-size: 1.05rem;
            font-weight: 600;
            cursor: pointer;
            padding: 6px 12px;
            z-index: 2;
            font-family: 'Noto Sans SC', sans-serif;
            transition: opacity 0.2s, color 0.2s;
        }

        .speed-gauge-btn:hover { color: rgba(0, 47, 255, 0.82); }
        .speed-gauge-btn:disabled { opacity: 0.45; cursor: not-allowed; }

        .speed-gauge-btn.hidden { display: none; }

        .speed-readout-value {
            font-size: 2rem;
            font-weight: 300;
            color: #0f172a;
            line-height: 1;
            font-variant-numeric: tabular-nums;
            letter-spacing: -0.02em;
        }

        .speed-readout-meta {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            margin-top: 4px;
            color: #64748b;
            font-size: 0.9rem;
            font-weight: 500;
        }

        .speed-readout-meta svg {
            width: 17px;
            height: 17px;
            color: #0ea5e9;
        }

        .speed-metric {
            background: #f8fafc;
            border-radius: 14px;
            padding: 14px 10px;
            border: 1px solid #eef2f7;
            transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
            display: flex;
            flex-direction: column;
            justify-content: center;
            min-height: 86px;
        }

        .speed-metric.active {
            border-color: #7dd3fc;
            background: #f0f9ff;
            box-shadow: 0 0 0 3px rgb(14 165 233 / 12%);
        }

        .speed-metric.done .speed-metric-value.has-val {
            color: #0f172a;
        }

        .speed-metric-label {
            font-size: 0.78rem;
            color: #94a3b8;
            margin-bottom: 4px;
            font-weight: 500;
        }

        .speed-metric-value {
            font-size: 1.25rem;
            font-weight: 700;
            color: #cbd5e1;
            font-variant-numeric: tabular-nums;
            transition: color 0.3s;
        }

        .speed-metric-value.has-val {
            color: #0f172a;
        }

        .speed-metric-unit {
            font-size: 0.72rem;
            color: #94a3b8;
            font-weight: 500;
            margin-top: 2px;
        }

        .speed-desc {
            margin: 20px auto 0;
            padding: 16px 18px;
            background: #f8fafc;
            border: 1px solid #eef2f7;
            border-radius: 14px;
            font-size: 0.86rem;
            color: #64748b;
            line-height: 1.75;
            text-align: left;
        }

        .speed-desc-title {
            font-size: 0.88rem;
            font-weight: 600;
            color: #475569;
            margin-bottom: 10px;
        }

        .speed-desc-list {
            margin: 0;
            padding: 0;
            list-style: none;
        }

        .speed-desc-list li {
            position: relative;
            padding-left: 14px;
            margin-bottom: 8px;
        }

        .speed-desc-list li:last-child {
            margin-bottom: 0;
        }

        .speed-desc-list li::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0.62em;
            width: 5px;
            height: 5px;
            border-radius: 50%;
            background: #0ea5e9;
        }

        .speed-desc-list strong {
            color: #334155;
            font-weight: 600;
        }

@media (max-width: 600px) {
            .speed-hero h1 { font-size: 32px; }
            .speed-readout-value { font-size: 1.5rem; }
            .speed-stage-inner { --speed-gauge-h: 240px; }
            .speed-gauge-block { height: var(--speed-gauge-h); }
            .speed-ip-sep { display: none; }
            .speed-ip-bar { flex-direction: column; gap: 6px; }
            .speed-stage-inner.active {
        flex-direction: column;
        gap: 16px;
        min-height: 0;
            }
            .speed-stage-inner.active .speed-gauge-col,
            .speed-stage-inner.active .speed-metrics-col {
        flex: 0 0 auto;
        max-width: 100%;
        width: 100%;
        min-width: 0;
        min-height: auto;
            }
            .speed-gauge-col { min-height: var(--speed-gauge-h); }
        }

        .speed-ip-bar .country-flag {
            width: 20px;
            height: 14px;
            margin-right: 5px;
        }
