/* COLIBRI VPN — личный кабинет */
body.cab { min-height: 100vh; background-color: var(--bg); background-image: linear-gradient(rgba(147, 51, 234, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(147, 51, 234, .07) 1px, transparent 1px), radial-gradient(900px 600px at 88% -10%, rgba(147, 51, 234, .20), transparent 68%), radial-gradient(700px 500px at 0% 110%, rgba(6, 182, 212, .12), transparent 70%); background-size: 48px 48px, 48px 48px, auto, auto; background-attachment: fixed; }
.boot { min-height: 100vh; display: grid; place-items: center; }
.boot img { animation: breathe 1.2s var(--ease) infinite alternate; }

/* login */
.login { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.login-card { width: min(440px, 100%); max-width: 100%; min-width: 0; text-align: center; display: grid; justify-items: center; gap: 16px; padding: 40px 32px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .04); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--line); }
.login-card > * { max-width: 100%; min-width: 0; }
.login-card img.mascot { width: 132px; filter: drop-shadow(0 12px 30px rgba(34, 211, 238, .25)); }
.login-card h1 { font-size: clamp(22px, 7vw, 30px); line-height: 1.15; max-width: 100%; overflow-wrap: break-word; }
.login-card .tg { min-height: 48px; display: grid; place-items: center; }
.login-card .small { font-size: 14.5px; color: var(--muted); }
.login-card .small a { color: var(--cyan); }
.login-back { position: fixed; top: 20px; left: 20px; }

/* shell */
.shell { display: grid; grid-template-columns: 252px 1fr; min-height: 100vh; }
.side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 6px; padding: 22px 14px; border-right: 1px solid var(--line); background: rgba(3, 3, 7, .6); backdrop-filter: blur(12px); }
.side .brand { padding: 4px 10px 22px; }
.side-nav { display: grid; gap: 4px; }
.side-nav a { display: flex; align-items: center; gap: 12px; height: 46px; padding: 0 14px; border-radius: 14px; color: var(--muted); font-weight: 500; border: 1px solid transparent; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.side-nav a svg { width: 20px; height: 20px; flex: none; }
.side-nav a:hover { color: var(--text); background: rgba(255, 255, 255, .04); }
.side-nav a.on { color: var(--text); background: rgba(34, 211, 238, .08); border-color: rgba(34, 211, 238, .22); }
.side-nav a.on svg { color: var(--cyan); }
.side-user { margin-top: auto; display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.ava { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font: 700 16px/1 var(--body); color: #fff; background: var(--grad); flex: none; overflow: hidden; }
.ava img { width: 100%; height: 100%; object-fit: cover; }
.side-user .who { min-width: 0; flex: 1; line-height: 1.3; }
.side-user .who b { display: block; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-user .who span { font-size: 12.5px; color: var(--dim); }
.icon-btn { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: var(--muted); border: 1px solid var(--line); transition: color .2s var(--ease), border-color .2s var(--ease); flex: none; }
.icon-btn:hover { color: var(--text); border-color: var(--line-2); }
.icon-btn svg { width: 18px; height: 18px; }

.main { min-width: 0; padding: 24px clamp(18px, 3vw, 40px) 60px; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 28px; }
.topbar h1 { font-size: clamp(22px, 2.4vw, 28px); }
.topbar .back { display: none; }
.bal-pill { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 6px 0 16px; border-radius: 999px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); font-weight: 700; font-family: var(--mono); }
.bal-pill svg { width: 18px; height: 18px; color: var(--green); }
.bal-pill .plus { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; }
.bal-pill .plus svg { color: #fff; }
.view { max-width: 1100px; width: 100%; min-width: 0; margin: 0 auto; display: grid; gap: 20px; animation: viewIn .35s var(--ease); }
.view > * { min-width: 0; }
@keyframes viewIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.hello { font-size: 15px; color: var(--muted); }
.hello b { display: block; font: 700 clamp(26px, 3vw, 34px)/1.15 var(--body); color: var(--text); margin-top: 4px;  }

/* alert strip */
.alert { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; border: 1px solid; }
.alert .ai { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.alert .ai svg { width: 20px; height: 20px; }
.alert p { flex: 1; font-size: 15px; }
.alert--warn { background: rgba(230, 184, 77, .07); border-color: rgba(230, 184, 77, .35); }
.alert--warn .ai { background: rgba(230, 184, 77, .14); color: var(--amber); }
.alert--down { background: rgba(232, 93, 112, .07); border-color: rgba(232, 93, 112, .35); }
.alert--down .ai { background: rgba(232, 93, 112, .14); color: var(--red); }
.alert--info { background: rgba(34, 211, 238, .05); border-color: rgba(34, 211, 238, .25); }
.alert--info .ai { background: rgba(34, 211, 238, .12); color: var(--cyan); }

/* hero cards */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.big { position: relative; overflow: hidden; border-radius: 26px; padding: 26px; min-height: 230px; display: flex; flex-direction: column; gap: 10px; border: 1px solid rgba(255, 255, 255, .1); isolation: isolate; }
.big::after { content: ''; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 14px); mask-image: linear-gradient(90deg, transparent 30%, #000); }
.big .lbl { display: flex; align-items: center; gap: 8px; font-size: 14.5px; color: rgba(245, 243, 255, .8); }
.big .lbl svg { width: 17px; height: 17px; }
.big .sum { font: 800 52px/1 var(--mono);  }
.big .sum small { font-size: .5em; margin-left: 4px; opacity: .8; }
.big .row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; }
.big--bal { background: linear-gradient(135deg, #3b0764 0%, #1a1030 45%, #0c2430 100%); box-shadow: 0 0 24px rgba(147, 51, 234, .28); }
.big--sub { background: linear-gradient(135deg, #0e3a42 0%, #1a1038 55%, #120c22 100%); box-shadow: 0 0 24px rgba(6, 182, 212, .22); }
.big--sub.warn { background: linear-gradient(135deg, #4a3510 0%, #2e2015 50%, #1c1830 100%); box-shadow: 0 30px 70px -40px #ffb02e; }
.big--sub.down { background: linear-gradient(135deg, #4a1424 0%, #2a1426 55%, #171631 100%); box-shadow: 0 30px 70px -40px #ff5470; }
.big--sub.none { background: linear-gradient(135deg, #1a1038 0%, #120c22 55%, #0c0c16 100%); }
.big--legacy { background: linear-gradient(135deg, #241447 0%, #1a1038 60%, #3b0764 100%); min-height: 0; }
.big .meta { display: grid; gap: 8px; font-size: 15px; color: rgba(245, 243, 255, .85); }
.big .meta span { display: flex; align-items: center; gap: 8px; }
.big .meta svg { width: 17px; height: 17px; opacity: .8; }
.big h2 { font-size: 24px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font: 600 12.5px/1.2 var(--body); background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .14); }
.pill i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill.ok { color: var(--green); } .pill.warn { color: var(--amber); } .pill.down { color: var(--red); } .pill.info { color: var(--cyan); }
.ring { position: absolute; right: 24px; top: 50%; transform: translateY(-50%); width: 112px; height: 112px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.ring .bg { stroke: rgba(255, 255, 255, .1); }
.ring .fg { transition: stroke-dashoffset 1s var(--ease); }
.ring .lbl2 { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring .lbl2 b { font: 800 30px/1 var(--mono); }
.ring .lbl2 span { font-size: 12.5px; color: rgba(245, 243, 255, .7); }
.big--sub .meta, .big--sub h2 { padding-right: 130px; }
.btn--light { background: #fff; color: #0a1028; border: 0; animation: none; box-shadow: 0 8px 24px -10px rgba(255, 255, 255, .5); }
.btn--glass { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); animation: none; box-shadow: none; }

/* list rows */
.h-sec { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 10px; min-width: 0; }
.h-sec h2 { font-size: 20px; flex: none; }
.h-sec a { font-size: 14.5px; color: var(--muted); }
.rows { display: grid; gap: 10px; }
.rowlink { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); transition: border-color .2s var(--ease), background .2s var(--ease); }
.rowlink:hover { border-color: var(--line-2); background: rgba(255, 255, 255, .045); }
.rowlink .ri { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: rgba(34, 211, 238, .08); color: var(--cyan); flex: none; }
.rowlink .ri svg { width: 20px; height: 20px; }
.rowlink .rt { flex: 1; min-width: 0; }
.rowlink .rt b { display: block; font-weight: 600; }
.rowlink .rt span { font-size: 14px; color: var(--muted); }
.rowlink > svg { width: 18px; height: 18px; color: var(--dim); }

/* buy */
.buy-hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; align-items: center; padding: 28px; border-radius: 26px; background: rgba(255, 255, 255, .04); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(168, 85, 247, .18); overflow: hidden; }
.buy-hero h2 { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 8px; }
.buy-hero .chips { margin-top: 16px; }
.buy-hero .chip { font-size: 13px; padding: 5px 10px 5px 7px; }
.buy-hero img.globe { width: 100%; max-width: 420px; justify-self: end; -webkit-mask-image: radial-gradient(closest-side, #000 70%, transparent); mask-image: radial-gradient(closest-side, #000 70%, transparent); }
.opts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.opt { position: relative; text-align: left; padding: 18px; border-radius: 20px; background: rgba(255, 255, 255, .03); border: 1.5px solid var(--line); display: grid; gap: 6px; transition: border-color .2s var(--ease), background .2s var(--ease), transform .14s var(--ease); }
.opt:hover { border-color: var(--line-2); }
.opt:active { transform: scale(.98); }
.opt[aria-checked="true"] { border-color: var(--cyan); background: rgba(34, 211, 238, .06); box-shadow: 0 0 24px rgba(147, 51, 234, .45); }
.opt .radio { position: absolute; top: 16px; right: 16px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-2); }
.opt[aria-checked="true"] .radio { border-color: var(--cyan); background: radial-gradient(circle, var(--cyan) 0 4px, transparent 5px); }
.opt .on { font-size: 14.5px; color: var(--muted); font-weight: 500; }
.opt .op { font: 700 26px/1.1 var(--mono);  }
.opt .op small { font-size: 14px; font-weight: 500; color: var(--muted); font-family: var(--body); }
.opt .old { font-size: 14px; color: var(--dim); text-decoration: line-through; }
.opt .tag { position: absolute; top: -11px; left: 14px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--grad); color: #fff; }
.methods { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.method { display: flex; align-items: center; gap: 14px; text-align: left; padding: 16px; border-radius: 18px; background: rgba(255, 255, 255, .03); border: 1.5px solid var(--line); transition: border-color .2s var(--ease), background .2s var(--ease); }
.method[aria-checked="true"] { border-color: var(--cyan); background: rgba(34, 211, 238, .06); }
.method .mi { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; flex: none; }
.method .mi svg { width: 22px; height: 22px; }
.method b { display: block; } .method span { font-size: 13.5px; color: var(--muted); }
.mi.sbp { background: rgba(74, 222, 154, .12); color: var(--green); }
.mi.crypto { background: rgba(230, 184, 77, .12); color: var(--amber); }
.paybar { position: sticky; bottom: 16px; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 16px 16px 22px; border-radius: 22px; background: rgba(12, 12, 18, .92); border: 1px solid var(--line-2); backdrop-filter: blur(14px); box-shadow: 0 20px 50px -20px #000; max-width: 100%; min-width: 0; }
.paybar > div:first-child { min-width: 0; flex: 1 1 auto; }
.paybar .pt { font-size: 14px; color: var(--muted); min-width: 0; overflow-wrap: anywhere; }
.paybar .pp { font: 800 28px/1.1 var(--mono); min-width: 0; }
.paybar .pp s { display: inline-block; font-size: 16px; color: var(--dim); font-weight: 500; margin-left: 8px; white-space: nowrap; }
.paybar .btn { flex: none; max-width: 100%; }
.toggle { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 18px; background: rgba(168, 85, 247, .07); border: 1px solid rgba(168, 85, 247, .3); cursor: pointer; }
.toggle input { width: 20px; height: 20px; accent-color: var(--violet); }

/* balance */
.bal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.panel { padding: 24px; border-radius: 24px; background: rgba(255, 255, 255, .04); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--line); display: grid; gap: 16px; }
.panel h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; }
.panel h3 svg { width: 20px; height: 20px; color: var(--cyan); }
.amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.amount { height: 54px; border-radius: 16px; font: 700 17px/1 var(--mono); background: rgba(255, 255, 255, .03); border: 1.5px solid var(--line); transition: all .2s var(--ease); }
.amount[aria-checked="true"] { border-color: var(--cyan); background: rgba(34, 211, 238, .07); }
.field { display: flex; align-items: center; height: 54px; padding: 0 18px; border-radius: 16px; background: rgba(255, 255, 255, .03); border: 1.5px solid var(--line); }
.field:focus-within { border-color: #22d3ee99; }
.field input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--text); font: 600 17px/1 var(--body); }
.field span { color: var(--dim); }
.field-label { font-size: 14px; color: var(--muted); margin-bottom: -6px; }
.ops { display: grid; gap: 2px; }
.op-row { display: flex; align-items: center; gap: 14px; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.op-row:last-child { border-bottom: 0; }
.op-row .oi { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: rgba(255, 255, 255, .05); flex: none; }
.op-row .oi svg { width: 18px; height: 18px; }
.op-row .ot { flex: 1; } .op-row .ot b { display: block; font-weight: 500; font-size: 15px; } .op-row .ot span { font-size: 13px; color: var(--dim); }
.op-row .oa { font: 700 15px/1.2 var(--mono); font-variant-numeric: tabular-nums; }
.op-row .oa.plus { color: var(--green); }
.promo summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 12px; font-weight: 600; }
.promo summary::-webkit-details-marker { display: none; }
.promo summary svg { width: 20px; height: 20px; color: var(--violet); }
.promo summary::after { content: ''; margin-left: auto; width: 10px; height: 10px; border-right: 2px solid var(--dim); border-bottom: 2px solid var(--dim); transform: rotate(45deg); transition: transform .25s var(--ease); }
.promo[open] summary::after { transform: rotate(-135deg); }
.promo .pf { display: flex; gap: 10px; margin-top: 14px; }
.promo .pf .field { flex: 1; height: 48px; }
.empty-ops { text-align: center; padding: 28px 10px; color: var(--muted); display: grid; justify-items: center; gap: 8px; }
.empty-ops img { width: 96px; opacity: .9; }

/* friends */
.ref-hero { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; padding: 30px; border-radius: 26px; background: linear-gradient(135deg, #3b0764 0%, #1a1038 50%, #0c2430 100%); border: 1px solid rgba(168, 85, 247, .28); }
.ref-hero img { width: 170px; }
.ref-hero h2 { font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 8px; }
.linkbox { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.linkbox .field { flex: 1 1 260px; height: 50px; background: rgba(0, 0, 0, .25); }
.linkbox .field input { font-size: 15px; font-weight: 500; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.stat { padding: 20px; border-radius: 20px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.stat b { display: block; font: 800 32px/1 var(--mono); margin-bottom: 6px; }
.stat span { font-size: 14px; color: var(--muted); }

/* devices + modal */
.dev { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.dev .ri { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: rgba(255, 255, 255, .05); flex: none; }
.dev .ri svg { width: 20px; height: 20px; }
.dev .rt { flex: 1; min-width: 0; } .dev .rt b { display: block; } .dev .rt span { font-size: 13.5px; color: var(--muted); }
.slots { display: flex; gap: clamp(2px, 1vw, 6px); min-width: 0; flex: 1 1 auto; justify-content: flex-end; }
.slots i { flex: 0 1 26px; width: 26px; min-width: 4px; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .1); }
.slots i.on { background: var(--cyan); box-shadow: 0 0 8px rgba(34, 211, 238, .6); }
dialog.modal { width: min(480px, calc(100% - 32px)); padding: 0; border: 1px solid var(--line-2); border-radius: 26px; background: #0c0c14; color: var(--text); box-shadow: 0 40px 100px -30px #000; }
dialog.modal::backdrop { background: rgba(3, 6, 16, .7); backdrop-filter: blur(6px); }
dialog.modal[open] { animation: viewIn .3s var(--ease); }
.modal-body { padding: 28px; display: grid; gap: 14px; }
.modal-body h2 { font-size: 22px; }
.modal-x { position: absolute; top: 14px; right: 14px; }
.subbox { font: 500 13.5px/1.45 ui-monospace, monospace; color: var(--muted); padding: 12px 14px; border-radius: 14px; background: rgba(0, 0, 0, .3); border: 1px solid var(--line); word-break: break-all; filter: blur(4px); transition: filter .2s var(--ease); cursor: pointer; }
.subbox.show { filter: none; }
.dl-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* help */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tile { display: grid; gap: 10px; padding: 20px; border-radius: 20px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); transition: border-color .2s var(--ease), transform .2s var(--ease); }
.tile:hover { border-color: var(--line-2); transform: translateY(-2px); }
.tile .ri { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: rgba(34, 211, 238, .08); color: var(--cyan); }
.tile .ri svg { width: 20px; height: 20px; }
.tile span { font-size: 14px; color: var(--muted); }

/* mobile tab bar */
.tabbar { display: none; }
@media (max-width: 960px) {
  .shell { grid-template-columns: 1fr; }
  .side { display: none; }
  .main { padding: 16px 16px calc(96px + env(safe-area-inset-bottom)); }
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; z-index: 40; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); padding: 6px; border-radius: 22px; background: rgba(12, 12, 18, .92); border: 1px solid var(--line-2); backdrop-filter: blur(16px); box-shadow: 0 20px 50px -20px #000; }
  .tabbar a { display: grid; justify-items: center; gap: 3px; padding: 8px 0; border-radius: 16px; font-size: 11.5px; color: var(--dim); transition: color .2s var(--ease), background .2s var(--ease); }
  .tabbar a svg { width: 22px; height: 22px; }
  .tabbar a.on { color: var(--text); background: rgba(34, 211, 238, .08); }
  .tabbar a.on svg { color: var(--cyan); }
  .duo, .bal-grid { grid-template-columns: 1fr; }
  .opts { grid-template-columns: 1fr 1fr; }
  .buy-hero { grid-template-columns: 1fr; }
  .buy-hero img.globe, .buy-hero .chips { display: none; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .paybar { bottom: calc(92px + env(safe-area-inset-bottom)); }
  .topbar .mob-brand { display: flex; }
}
@media (max-width: 560px) {
  .big .sum { font-size: 42px; }
  .ring { width: 92px; height: 92px; right: 18px; top: 26px; transform: none; }
  .big--sub .meta, .big--sub h2 { padding-right: 104px; }
  .methods, .stats { grid-template-columns: 1fr; }
  .ref-hero { grid-template-columns: 1fr; }
  .ref-hero img { width: 120px; position: absolute; right: -8px; top: -6px; opacity: .9; }
  .ref-hero h2 { padding-right: 100px; }
  .paybar .btn { padding: 0 18px; }
  .amounts { grid-template-columns: repeat(3, 1fr); }
  .login-card { padding: 32px 18px; }
}

/* guest: вход, покупка без регистрации, успех */
.guest { min-height: 100vh; padding: 20px clamp(16px, 4vw, 40px) 60px; display: flex; flex-direction: column; align-items: center; gap: 28px; width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; }
.guest-top { width: 100%; max-width: 980px; display: flex; justify-content: space-between; align-items: center; }
.guest > .login-card { margin: auto 0; }
.g-wrap { width: 100%; max-width: 860px; display: grid; gap: 18px; animation: viewIn .35s var(--ease); }
.g-title { font-size: clamp(26px, 3.2vw, 38px); }
.login-card .tg { width: 100%; }
.or { width: 100%; display: flex; align-items: center; gap: 12px; color: var(--dim); font-size: 13.5px; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.g-form { width: 100%; max-width: 100%; min-width: 0; display: grid; gap: 10px; }
.g-form .field { height: 50px; max-width: 100%; min-width: 0; }
.g-form .field-wrap { width: 100%; max-width: 100%; min-width: 0; display: grid; gap: 6px; text-align: left; }
.g-form .field-label { margin: 0; }
.g-form .btn { max-width: 100%; min-width: 0; }
.auth-err { width: 100%; margin: 0; padding: 10px 12px; border-radius: 14px; background: rgba(232, 93, 112, .08); border: 1px solid rgba(232, 93, 112, .35); color: #ffb3bf; font-size: 14.5px; text-align: left; }
.field--pw { gap: 8px; }
.field--pw input { font-weight: 500; }
.pw-toggle { flex: none; border: 0; background: none; color: var(--cyan); font: 600 13px/1 var(--body); padding: 6px 2px; cursor: pointer; }
.pw-toggle:hover { text-decoration: underline; }
.buy-promo { padding: 12px 16px; border-radius: 18px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); max-width: 100%; min-width: 0; }
.buy-promo > summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14.5px; color: var(--muted); min-width: 0; }
.buy-promo > summary::-webkit-details-marker { display: none; }
.buy-promo > summary svg { width: 18px; height: 18px; color: var(--violet); flex: none; }
.buy-promo > summary::after { content: ''; margin-left: auto; width: 8px; height: 8px; border-right: 2px solid var(--dim); border-bottom: 2px solid var(--dim); transform: rotate(45deg); transition: transform .25s var(--ease); flex: none; }
.buy-promo[open] > summary::after { transform: rotate(-135deg); }
.buy-promo[open] > summary { color: var(--text); margin-bottom: 10px; }
.buy-promo__form { display: flex; gap: 10px; align-items: stretch; max-width: 100%; min-width: 0; }
.buy-promo__form .field { flex: 1 1 auto; min-width: 0; max-width: 100%; height: 48px; }
.buy-promo__form .btn { flex: 0 0 auto; max-width: 100%; }
.buy-promo__ok { margin: 8px 0 0; font-size: 13.5px; color: var(--green); }
.buy-promo__err { margin: 8px 0 0; font-size: 13.5px; color: #ffb3bf; }
@media (max-width: 430px) {
  .login-card { padding-left: 20px; padding-right: 20px; }
  .buy-promo__form .btn { padding-left: 14px; padding-right: 14px; }
}
.paybar-disc { display: block; margin-top: 2px; font-size: 12.5px; color: var(--green); font-weight: 600; max-width: 100%; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.link-btn { color: var(--muted); font-size: 14.5px; justify-self: center; }
.link-btn:hover { color: var(--text); text-decoration: underline; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--muted); cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--cyan); flex: none; }
.paid-hero { display: flex; align-items: center; gap: 22px; }
.paid-hero img { width: 120px; flex: none; filter: drop-shadow(0 12px 30px rgba(74, 222, 154, .3)); }
.panel .row { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 560px) { .paid-hero { flex-direction: column; text-align: center; } .paid-hero img { width: 100px; } }
.pay-note { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 18px; background: rgba(74, 222, 154, .06); border: 1px solid rgba(74, 222, 154, .22); color: var(--muted); font-size: 15px; }
.pay-note svg { width: 22px; height: 22px; color: var(--green); flex: none; }
.toggle.autorenew { background: rgba(34, 211, 238, .05); border-color: rgba(34, 211, 238, .25); }
.toggle.autorenew input { accent-color: var(--cyan); }

.ms-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 6px; max-height: 360px; overflow: auto; }
.ms-row { display: flex; align-items: center; gap: 9px; padding: 9px 12px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--line); font-size: 14px; }
.ms-name { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ms-ping { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font: 500 13px/1.2 var(--mono); font-variant-numeric: tabular-nums; }
.ms-ping .dot { width: 8px; height: 8px; }


body.cab { background:var(--bg); }
.big--bal,.big--sub { box-shadow:none; background:linear-gradient(135deg,#2b1748,#151020); }
