/* LAITNO LX-P05A / V63.103 */
/* Existing profile and home progress metrics only. */

:root .profile-v58 .profile-stat-grid {
    --lx103-card-bg:linear-gradient(145deg,#ffffff,#edf4fc);
    --lx103-card-edge:#d4e1f0;
    --lx103-card-number:#204f88;
    --lx103-card-label:#455b75;
    --lx103-card-accent:#a8c3e5;
    --lx103-card-shadow:0 3px 10px #173a6410;
}

:root[data-theme-resolved="dark"]
.profile-v58 .profile-stat-grid {
    --lx103-card-bg:linear-gradient(145deg,#263c55,#1e3047);
    --lx103-card-edge:#405b79;
    --lx103-card-number:#c7e0ff;
    --lx103-card-label:#b7c9df;
    --lx103-card-accent:#547da9;
    --lx103-card-shadow:0 3px 12px #00000020;
}

:root .profile-v58 .profile-stat-grid> * {
    background:var(--lx103-card-bg);
    border-color:var(--lx103-card-edge);
    border-radius:17px;
    box-shadow:
        inset 0 0 0 1px var(--lx103-card-edge),
        inset 0 3px 0 var(--lx103-card-accent),
        var(--lx103-card-shadow);
    color:var(--lx103-card-label);
}

:root .profile-v58 .profile-stat-grid strong {
    color:var(--lx103-card-number);
    font-size:clamp(20px,5vw,29px);
    font-weight:850;
    line-height:1.35;
    font-variant-numeric:tabular-nums;
    letter-spacing:-.02em;
    overflow-wrap:anywhere;
}

:root .profile-v58 .profile-stat-grid> *>span,
:root .profile-v58 .profile-stat-grid> *>small {
    color:var(--lx103-card-label);
    line-height:1.65;
}

:root .home-page .home-hero-smart .home-hero-metric {
    background:linear-gradient(145deg,#234d77,#193e65);
    border-color:#ffffff30;
    border-radius:15px;
    box-shadow:
        inset 0 1px 0 #ffffff20,
        inset 0 -2px 0 #071c3425;
    color:#dceafd;
}

:root .home-page .home-hero-smart
.home-hero-metric strong {
    color:#ffffff;
    font-weight:850;
    font-variant-numeric:tabular-nums;
    line-height:1.4;
}

:root .home-page .home-hero-smart
.home-hero-metric span:not(.home-hero-metric-icon) {
    color:#dceafd;
}

@media (max-width:359px) {
    :root .profile-v58 .profile-stat-grid strong {
        font-size:20px;
        letter-spacing:0;
    }
}

@media (prefers-contrast:more) {
    :root .profile-v58 .profile-stat-grid> * {
        box-shadow:inset 0 0 0 2px var(--lx103-card-number);
    }

    :root .home-page .home-hero-smart
    .home-hero-metric {
        box-shadow:inset 0 0 0 2px #ffffff;
    }
}
