/* VOVAN VPN — стили приложения (поверх style.css: панели, кнопки, плитки, графики, кабинет). */
.grow { flex: 1; min-width: 0; }
.muted { color: var(--muted); }
.center { text-align: center; }
.app-top .grow h1 { font-size: 22px; }
.round-btn { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; flex: none; position: relative;
  border: 1px solid var(--line); background: rgba(0, 0, 0, .3); color: var(--text); text-decoration: none; }
.round-btn svg { width: 20px; height: 20px; }
.dot-badge { position: absolute; top: 7px; right: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--bad); box-shadow: 0 0 8px var(--bad); }
body.no-tabs { padding-bottom: 20px; }
.screen-title { display: flex; align-items: center; gap: 10px; margin: 2px 0 2px; }
.screen-title h2 { font-size: 24px; }
#root > p.muted { margin-top: -6px; line-height: 1.45; }

/* приветствие и вход */
.welcome { display: grid; gap: 16px; padding: 18px 4px 10px; }
.welcome h1 { font-size: 34px; text-align: center; letter-spacing: .5px; }
.welcome h1 span, .auth-logo span { color: var(--accent); }
.welcome > .muted { text-align: center; font-size: 16px; margin-top: -10px; }
.big-shield { width: 140px; height: 140px; margin: 10px auto 0; display: grid; place-items: center; color: var(--accent);
  filter: drop-shadow(0 0 30px rgba(94, 227, 143, .55)); }
.big-shield svg { width: 100%; height: 100%; stroke-width: 1.4; }
.big-shield.small { width: 70px; height: 70px; margin: 0 auto 6px; }
.feats { display: grid; gap: 10px; margin: 8px 0; }
.feat { display: flex; gap: 12px; align-items: center; font-size: 15px; }
.auth { display: grid; gap: 14px; padding-top: 8px; }
.auth h2 { font-size: 24px; }
.auth > .muted { margin-top: -8px; }
.auth-logo { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 20px; color: var(--accent); }
.auth-logo svg { width: 28px; height: 28px; }
.auth-logo b { color: var(--text); }
.auth-form { display: grid; gap: 12px; }
.fld { display: grid; gap: 6px; }
.fld > span { color: var(--muted); font-size: 13px; }
.fld .input { padding: 14px; font-size: 16px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.check input { width: 20px; height: 20px; accent-color: var(--accent); margin-top: 1px; }
.or { display: flex; align-items: center; gap: 12px; color: var(--dim); font-size: 13px; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
a.tab { text-align: center; text-decoration: none; }
.tabs.three { grid-template-columns: repeat(3, 1fr); }

/* главная */
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; }
.chip { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(0, 0, 0, .3); color: var(--muted); cursor: pointer; white-space: nowrap; font-size: 13px; text-decoration: none; display: inline-block; }
.chip.active { color: var(--text); border-color: var(--accent); background: rgba(94, 227, 143, .12); }
.fine .chip { margin: 4px 4px 0 0; }
.hero-card { grid-template-columns: 1fr auto; }
.big-timer { font-size: 26px; color: var(--text); }
.mtiles.three { grid-template-columns: repeat(3, 1fr); }
.mtiles.three b { font-size: 20px; white-space: nowrap; }
.duo { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; }
.duo > a { text-decoration: none; color: var(--text); }
.plan { display: grid; gap: 6px; }
.plan > div:first-child { display: flex; align-items: center; gap: 8px; }
.plan b { font-size: 20px; }
.hico.gold { color: var(--warn); }
.renew { display: grid; place-items: center; gap: 6px; text-align: center; }
.renew .hico svg { width: 30px; height: 30px; }
.mini { display: flex; align-items: center; gap: 12px; }
.mini > div { display: grid; }
.mini b { font-size: 16px; }
.duo .mini:first-child { grid-column: auto; }
.promo { display: flex; align-items: center; gap: 12px; background: linear-gradient(120deg, rgba(94, 227, 143, .16), rgba(12, 24, 22, .85) 60%); }
.promo > div:first-child { flex: 1; display: grid; gap: 4px; }
.promo b { font-size: 18px; line-height: 1.25; }
.promo-ico { width: 74px; height: 74px; color: var(--accent); filter: drop-shadow(0 0 16px rgba(94, 227, 143, .5)); }
.promo-ico svg { width: 100%; height: 100%; stroke-width: 1.3; }
.row-link { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.row-link b { flex: 1; font-size: 16px; }
.row-link i, .use-item i { font-style: normal; color: var(--muted); font-size: 20px; }
.open-amz { display: grid; gap: 16px; justify-items: center; padding: 10px 6px; }
.open-amz h2 { font-size: 26px; }
.amz-logo { width: 110px; height: 110px; border-radius: 26px; display: grid; place-items: center; font-size: 64px; font-weight: 900; color: #fff;
  background: linear-gradient(135deg, #3b2bff, #8b2bff 60%, #d02bff); box-shadow: 0 10px 40px rgba(110, 60, 255, .5); }
.open-amz .btn { width: 100%; }
.steps.compact { text-align: left; width: 100%; }

/* статистика и списки */
.list { display: grid; gap: 8px; }
.list-row { display: flex; align-items: center; gap: 12px; padding: 10px 2px; border-bottom: 1px solid var(--line); }
.list-row:last-child { border-bottom: 0; }
.list-row .grow { display: grid; gap: 2px; }
.list-row .grow span { font-size: 12.5px; }
.list-row.big { padding: 14px; border: 1px solid var(--line); border-radius: 16px; }
.panel.list-row.big { border-bottom: 1px solid var(--line); }
.list-row .flag { font-size: 24px; }
.info-row { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.info-row span { color: var(--muted); }
.info-row b { text-align: right; }
.app-card > .row { margin-top: 14px; }

/* покупка */
.tariff-list { display: grid; gap: 12px; }
.tariff-big { position: relative; text-align: left; padding: 16px; border-radius: 18px; cursor: pointer; display: grid; gap: 6px;
  background: var(--panel); border: 1px solid var(--line); color: var(--text); }
.tariff-big.active { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(94, 227, 143, .15), 0 0 30px rgba(94, 227, 143, .15); }
.tariff-big .tb-head { display: flex; justify-content: space-between; align-items: center; }
.tariff-big .tb-head b { font-size: 18px; color: var(--accent); }
.tariff-big strong { font-size: 34px; letter-spacing: -.5px; }
.tariff-big ul { list-style: none; padding: 0; display: grid; gap: 4px; color: var(--muted); font-size: 13.5px; }
.tariff-big li::before { content: '✓ '; color: var(--accent); }
.tariff-big .tag { justify-self: start; }
.tag.gold { color: #1b1300; background: var(--warn); border-color: var(--warn); }
.radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--dim); display: inline-block; flex: none; }
.active > .tb-head .radio, .method.active .radio { border-color: var(--accent); background: radial-gradient(circle, var(--accent) 45%, transparent 50%); }
.methods { display: grid; gap: 8px; }
.method { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(0, 0, 0, .25);
  color: var(--text); text-align: left; cursor: pointer; }
.method .grow { display: grid; gap: 2px; }
.method .grow span { font-size: 12.5px; }
.method.active { border-color: var(--accent); }
.paid { display: grid; gap: 14px; justify-items: center; padding: 30px 8px; }
.paid h2 { font-size: 26px; }
.paid .btn { width: 100%; }
.success-ico { width: 130px; height: 130px; color: var(--accent); filter: drop-shadow(0 0 30px rgba(94, 227, 143, .6)); }
.success-ico svg { width: 100%; height: 100%; stroke-width: 1.4; }

/* профиль */
.profile-card { display: flex; align-items: center; gap: 14px; }
.profile-card .grow { display: grid; gap: 2px; }
.profile-card b { font-size: 18px; }
.avatar.big { width: 56px; height: 56px; font-size: 24px; border-radius: 50%; }
.alert { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); border-color: rgba(255, 107, 107, .5) !important;
  background: linear-gradient(120deg, rgba(255, 107, 107, .12), var(--panel) 60%); }
.alert .hico { color: var(--bad); }
.alert .grow { display: grid; gap: 2px; }
.alert .grow span { color: var(--muted); font-size: 12.5px; }
.use-grid.one { grid-template-columns: 1fr; }
.toggle { cursor: pointer; margin-top: 8px; }
.toggle .grow { display: grid; gap: 2px; }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.switch { width: 46px; height: 26px; border-radius: 99px; background: rgba(255, 255, 255, .12); position: relative; flex: none; transition: background .2s; }
.switch::after { content: ''; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #cfe; transition: transform .2s; }
.toggle input:checked + .switch { background: var(--accent); }
.toggle input:checked + .switch::after { transform: translateX(20px); }
.toggle input:focus-visible + .switch { outline: 2px solid var(--accent); outline-offset: 2px; }
.tg-big { width: 76px; height: 76px; margin: 0 auto 8px; border-radius: 50%; display: grid; place-items: center; background: #2aabee; color: #fff; }
.tg-big svg { width: 40px; height: 40px; }
.card > h2 + .muted, .app-card.center > .muted { margin: 6px 0 14px; }
.app-card.center { display: grid; gap: 8px; justify-items: center; }
.app-card.center .btn { width: 100%; }

@media (max-width: 560px) {
  .hero-card { grid-template-columns: 1fr auto; grid-template-areas: none; }
  .hero-left, .hero-mid { grid-area: auto; }
  .mtiles.three b { font-size: 17px; }
}

[hidden] { display: none !important; }
.traffic-sum { margin-top: 14px; grid-template-columns: repeat(3, 1fr); }
