/* Личный кабинет mirvpn, поверх style.css */

.lk-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.lk-label {
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
}

.lk-big {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.lk-muted { color: var(--muted); font-size: 14px; }
.lk-big.lk-muted { font-size: 26px; }
.lk-plus { color: var(--ok); }

.lk-h {
    font-size: 20px;
    margin: 0 0 12px;
}

section, .lk-page main > .panel { margin-bottom: 20px; }
section:not(.panel) > .lk-h { margin-top: 28px; }

.lk-copy {
    display: flex;
    gap: 8px;
}

.lk-copy input {
    flex: 1;
    min-width: 0;
    font: inherit;
    font-size: 14px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: var(--r-s);
    background: var(--bg);
    color: var(--ink);
}

.lk-page .wrap { max-width: 880px; padding-bottom: 48px; }

.lk-plans {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.lk-plan {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 20px;
}

.lk-plan .btn {
    margin-top: auto;
    width: 100%;
    white-space: normal;
    font-size: 15px;
    padding: 10px 12px;
}

.lk-plan .lk-muted { margin-bottom: 14px; }

section > .note { margin-top: 10px; }
.lk-plan .btn[disabled] { opacity: 0.6; cursor: not-allowed; }

.lk-topup {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.lk-topup input {
    flex: 1;
    min-width: 140px;
    font: inherit;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: var(--r-s);
    background: var(--bg);
    color: var(--ink);
}

.lk-hist {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 12px;
    align-items: baseline;
}

.lk-trial { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.lk-trial p { margin: 0; }

@media (max-width: 760px) {
    .lk-hist { grid-template-columns: 1fr auto; }
    .lk-hist .lk-muted { grid-column: 1; grid-row: 2; }
}

@media (max-width: 520px) {
    .lk-stats, .lk-plans { grid-template-columns: 1fr; }
    .lk-copy { flex-direction: column; }
}
.lk-brand { display: flex; align-items: center; gap: 12px; }
.lk-brand img { border-radius: 9px; flex: none; }

/* Документы */
.legal-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.legal-nav a { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 600; }
.legal-nav a[aria-current] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.legal { line-height: 1.6; }
.legal h1 { font-size: 26px; margin-bottom: 4px; }
.legal h2 { font-size: 18px; margin: 28px 0 8px; }
.legal p, .legal li { font-size: 15px; }
.legal ul { padding-left: 20px; }
a.lk-brand { color: inherit; text-decoration: none; }
.legal-links a { white-space: nowrap; }
