/* ===== Кабинет клиента mmsRoblox — стиль G2BULK (жёлтый, Poppins) ===== */
body.cab { font-family: var(--sans); font-size: 14px; color: var(--text); overflow-x: hidden; min-height: 100vh; background: linear-gradient(to bottom right, #030712, #111827 50%, #000) fixed; }
body.cab::before { content: ''; position: fixed; inset: 0; pointer-events: none; z-index: -1; background: radial-gradient(700px 380px at 50% -120px, rgba(250,204,21,.09), transparent 70%); }
.bg-grid, .orb { display: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px);} to { opacity: 1; transform: none;} }
@keyframes shimmer { from { background-position: 200% 0;} to { background-position: -200% 0;} }
@keyframes authIn { from { opacity: 0; transform: translateY(12px);} to { opacity: 1; transform: none;} }
.boot { display: grid; place-items: center; height: 100vh; }
.spin-lg { width: 28px; height: 28px; border: 3px solid rgba(255,255,255,.12); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; }
.num { font-variant-numeric: tabular-nums; }
.big { font-weight: 800; letter-spacing: -.02em; line-height: 1.05; }
.sm { font-size: 12.5px; }
.skeleton { background: linear-gradient(90deg, rgba(255,255,255,.03), rgba(255,255,255,.07), rgba(255,255,255,.03)); background-size: 200% 100%; animation: shimmer 1.3s linear infinite; border-radius: 12px; min-height: 18px; }
.grad { color: var(--accent); }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }

/* ---------- Базовые элементы ---------- */
.btn { border-radius: 10px; font-weight: 600; font-family: inherit; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); color: #e5e7eb; }
.btn:hover { border-color: rgba(250,204,21,.6); background: rgba(250,204,21,.06); color: #fff; }
.btn svg { width: 16px; height: 16px; flex: none; } .btn-lg svg { width: 18px; height: 18px; }
.btn-primary { background: linear-gradient(to right, #facc15, #eab308); color: #000; font-weight: 700; border-color: transparent; box-shadow: 0 20px 25px -5px rgba(234,179,8,.2), 0 8px 10px -6px rgba(234,179,8,.2); }
.btn-primary:hover { background: linear-gradient(to right, #fde047, #facc15); color: #000; border-color: transparent; box-shadow: 0 20px 25px -5px rgba(234,179,8,.32), 0 8px 10px -6px rgba(234,179,8,.32); }
.btn-outline { background: transparent; border: 2px solid rgba(250,204,21,.4); color: #fef08a; font-weight: 700; }
.btn-outline:hover { background: rgba(250,204,21,.1); border-color: #facc15; color: #fef08a; }
.btn-danger { background: rgba(239,68,68,.1); border-color: rgba(239,68,68,.35); color: #f87171; } .btn-danger:hover { background: rgba(239,68,68,.18); border-color: #ef4444; color: #fca5a5; }
.btn-ghost { background: transparent; border-color: transparent; }
.input, select.input, select.select, textarea.input { background: #1f2937; border: 1px solid #4b5563; border-radius: 8px; color: #fff; font-family: inherit; }
.input::placeholder { color: #9ca3af; }
.input:focus, select.select:focus { border-color: #facc15; box-shadow: none; outline: none; }
label { color: #e5e7eb; font-weight: 500; font-size: 13px; }
.label { font-family: var(--sans); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: #9ca3af; font-weight: 600; }
.hint { color: #9ca3af; }
.tabs, .seg { display: inline-flex; gap: 4px; padding: 4px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.seg::-webkit-scrollbar, .tabs::-webkit-scrollbar { display: none; }
.tabs button, .seg button { background: transparent; border: 0; color: #9ca3af; padding: 6px 12px; border-radius: 8px; cursor: pointer; font-weight: 500; font-size: 13px; transition: .15s; display: inline-flex; align-items: center; gap: 6px; font-family: inherit; white-space: nowrap; flex: none; }
.tabs button:hover, .seg button:hover { color: #fff; }
.tabs button.active, .seg button.active { background: linear-gradient(to right, #facc15, #eab308); color: #000; font-weight: 700; box-shadow: none; }
.seg .cnt { font-family: var(--mono); font-size: 11px; opacity: .75; } .seg .cnt.bad { color: #f87171; } .seg button.active .cnt { color: #000; opacity: .7; }
.tabs button.active .tag, .seg button.active .tag, .tabs button.active .badge, .seg button.active .badge { background: rgba(0,0,0,.15); color: #000; border-color: transparent; }
.search { max-width: 280px; }

/* ---------- Вход ---------- */
.auth { min-height: 100vh; display: grid; place-items: center; padding: 24px; position: relative; }
.auth .orb { display: none; }
.auth-card { width: 100%; max-width: 410px; background: #111827; border: 1px solid rgba(255,255,255,.06); border-radius: 16px; padding: 30px 26px; box-shadow: 0 25px 50px -12px rgba(0,0,0,.6); position: relative; animation: authIn .45s cubic-bezier(.2,.8,.2,1); }
.auth-card .logo { margin-bottom: 14px; justify-content: center; width: 100%; } .auth-card .logo svg { width: 32px; height: 32px; }
.auth-card h1 { font-size: 26px; margin-bottom: 4px; text-align: center; font-weight: 700; background: linear-gradient(to right, #fde047, #facc15, #eab308); -webkit-background-clip: text; background-clip: text; color: transparent; }
.auth-card > .muted { text-align: center; }
.auth-card .tabs { width: 100%; margin: 18px 0; } .auth-card .tabs button { flex: 1; justify-content: center; padding: 9px; }
.auth-card form { display: flex; flex-direction: column; gap: 14px; }
.auth-foot { margin-top: 16px; text-align: center; font-size: 13px; color: #9ca3af; } .auth-foot a { color: #facc15; }
.auth-foot-box { display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left; padding: 14px; border: 1px dashed rgba(250,204,21,.35); border-radius: 12px; background: rgba(250,204,21,.06); color: #fff; font-size: 13.5px; }
.auth-foot-box .hint { margin-top: 3px; } .auth-foot-box .btn { flex: none; }
.auth-lang { position: absolute; top: 16px; right: 16px; }
.lang-btn { background: transparent; border: 1px solid rgba(255,255,255,.1); color: #9ca3af; border-radius: 8px; padding: 6px 9px; font-family: var(--mono); font-size: 12px; cursor: pointer; letter-spacing: .08em; transition: .15s; }
.lang-btn:hover { color: #fff; border-color: rgba(250,204,21,.5); }

/* ---------- Шапка: логотип · капсула вкладок · аккаунт ---------- */
.topbar { position: sticky; top: 0; z-index: 40; background: rgba(0,0,0,.7); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(250,204,21,.2); box-shadow: 0 10px 15px -3px rgba(0,0,0,.4); }
.topbar-in { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; flex: none; }
.brand svg { width: 28px; height: 28px; filter: drop-shadow(0 0 10px rgba(250,204,21,.35)); }
.brand span { font-size: 21px; font-weight: 800; letter-spacing: -.03em; background: linear-gradient(to right, #fde047, #eab308); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pillnav { display: flex; gap: 2px; padding: 4px; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); overflow-x: auto; scrollbar-width: none; }
.pillnav::-webkit-scrollbar { display: none; }
.nav-item { position: relative; display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 10px; color: #9ca3af; font-weight: 500; font-size: 14px; white-space: nowrap; text-decoration: none; transition: color .15s, background .15s; }
.nav-item svg { width: 16px; height: 16px; flex: none; }
.nav-item:hover { color: #fff; background: rgba(255,255,255,.04); }
.nav-item.active { color: #fff; background: rgba(250,204,21,.1); font-weight: 600; }
.nav-item.active svg { color: #facc15; }
.nav-item.active::after { content: ''; position: absolute; left: 50%; bottom: -5px; width: 18px; height: 2px; margin-left: -9px; border-radius: 2px; background: #facc15; box-shadow: 0 0 10px rgba(250,204,21,.8); }
.nav-item .cnt { font-family: var(--mono); font-size: 11px; color: #facc15; font-weight: 700; }
.nav-item .cnt.live { animation: pulse 1.6s ease-in-out infinite; }
.acct { position: relative; flex: none; }
.acct-btn { display: inline-flex; align-items: center; gap: 9px; height: 42px; padding: 0 12px 0 5px; border-radius: 999px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.03); color: #fff; cursor: pointer; font-family: inherit; transition: .15s; }
.acct-btn:hover, .acct.open .acct-btn { border-color: rgba(250,204,21,.6); }
.acct-btn .av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #1f2937; color: #fde047; font-weight: 700; font-size: 13px; border: 1px solid rgba(250,204,21,.35); }
.acct-btn b { font-size: 14px; font-weight: 700; color: #fde047; font-variant-numeric: tabular-nums; }
.acct-btn svg { width: 14px; height: 14px; color: #9ca3af; transition: transform .2s; } .acct.open .acct-btn svg { transform: rotate(180deg); }
.acct-menu { position: absolute; right: 0; top: calc(100% + 8px); width: 260px; background: #111827; border: 1px solid rgba(250,204,21,.3); border-radius: 14px; padding: 8px; box-shadow: 0 25px 50px -12px rgba(0,0,0,.7), 0 0 30px rgba(250,204,21,.06); z-index: 60; animation: fadeUp .16s ease; }
.acct-head { display: flex; align-items: center; gap: 10px; padding: 8px 8px 12px; border-bottom: 1px solid rgba(255,255,255,.06); margin-bottom: 6px; }
.acct-head .av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(to right, #facc15, #eab308); color: #000; font-weight: 800; flex: none; }
.acct-head b { display: block; font-size: 14px; } .acct-head a { font-size: 12px; color: #9ca3af; } .acct-head a:hover { color: #facc15; }
.acct-menu .mi { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border-radius: 9px; border: 0; background: transparent; color: #d1d5db; font-family: inherit; font-size: 13.5px; font-weight: 500; cursor: pointer; text-decoration: none; text-align: left; }
.acct-menu .mi svg { width: 16px; height: 16px; color: #9ca3af; }
.acct-menu .mi:hover { background: rgba(250,204,21,.08); color: #fff; } .acct-menu .mi:hover svg { color: #facc15; }
.acct-menu .mi.bad:hover { background: rgba(239,68,68,.1); color: #f87171; } .acct-menu .mi.bad:hover svg { color: #f87171; }
.acct-menu .mrow { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; font-size: 13px; color: #9ca3af; }
.acct-menu .lang2 { display: inline-flex; gap: 2px; padding: 2px; border-radius: 8px; background: rgba(255,255,255,.05); }
.acct-menu .lang2 button { border: 0; background: transparent; color: #9ca3af; font-family: var(--mono); font-size: 11.5px; padding: 4px 8px; border-radius: 6px; cursor: pointer; }
.acct-menu .lang2 button.on { background: #facc15; color: #000; font-weight: 700; }
.acct-menu .sep { height: 1px; background: rgba(255,255,255,.06); margin: 6px 0; }

/* ---------- Страница ---------- */
.main { padding-top: 34px; padding-bottom: 48px; display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.page-head h1 { font-size: 36px; font-weight: 800; letter-spacing: -.035em; line-height: 1.1; color: #fff; }
.page-head .sub { color: #9ca3af; margin-top: 6px; font-size: 14px; max-width: 560px; }
.page-head .actions { display: flex; align-items: center; gap: 8px; }
.content { display: flex; flex-direction: column; gap: 16px; }
.content > * { animation: fadeUp .4s cubic-bezier(.2,.8,.2,1) both; }
.content > *:nth-child(2) { animation-delay: .05s; } .content > *:nth-child(3) { animation-delay: .1s; } .content > *:nth-child(4) { animation-delay: .15s; }

/* ---------- Карточки (G2BULK: тёмная карточка, жёлтая обводка, мягкое свечение) ---------- */
.card { background: #030712; border: 1px solid rgba(255,255,255,.08); border-radius: 16px; padding: 20px 22px; position: relative; box-shadow: 0 10px 15px -3px rgba(0,0,0,.5); transition: border-color .25s, box-shadow .25s; }
.card:hover { border-color: rgba(250,204,21,.32); box-shadow: 0 10px 15px -3px rgba(0,0,0,.5), 0 0 24px rgba(250,204,21,.05); }
/* Яркая жёлтая рамка — только у главного блока страницы: «Счёт», баланс, открытый заказ */
.card.split, .card.hero, .card.order-detail { border-color: rgba(250,204,21,.55); box-shadow: 0 10px 15px -3px rgba(0,0,0,.5), 0 0 30px rgba(250,204,21,.06); }
.card.split:hover, .card.hero:hover, .card.order-detail:hover { border-color: rgba(250,204,21,.85); box-shadow: 0 10px 15px -3px rgba(0,0,0,.5), 0 0 34px rgba(250,204,21,.1); }
.card-title { font-size: 16px; font-weight: 600; color: #facc15; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.card-head .more, .cap a { font-size: 12.5px; color: #9ca3af; text-decoration: none; text-transform: none; letter-spacing: 0; font-weight: 500; } .card-head .more:hover, .cap a:hover { color: #facc15; }
.card.hero { background: radial-gradient(600px 240px at 0% 0%, rgba(250,204,21,.08), transparent 70%), #030712; }
.cap { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #facc15; margin-bottom: 10px; min-height: 22px; }

/* Обзор: карточка «Счёт + выдачи» */
.split { display: grid; grid-template-columns: 330px minmax(0, 1fr); padding: 0; overflow: hidden; }
.split-l { padding: 26px; border-right: 1px solid rgba(250,204,21,.18); background: radial-gradient(420px 300px at 0% 0%, rgba(250,204,21,.1), transparent 70%); display: flex; flex-direction: column; }
.split-r { padding: 26px 26px 18px; min-width: 0; }
.hero-num { font-size: 52px; font-weight: 800; letter-spacing: -.04em; line-height: 1; margin: 6px 0 12px; color: #fff; text-shadow: 0 0 30px rgba(250,204,21,.15); }
.hero-num2 { font-size: 34px; font-weight: 800; letter-spacing: -.03em; line-height: 1; margin: 2px 0 8px; } .hero-num2 small { font-size: 14px; color: #9ca3af; font-weight: 600; }
.split-l p { color: #9ca3af; font-size: 13.5px; line-height: 1.55; } .split-l p b { color: #fff; }
.split-l .acts { display: flex; gap: 8px; margin-top: auto; padding-top: 22px; flex-wrap: wrap; }
.split-l .acts .btn { flex: 1; }
.split-l .foot { margin-top: 12px; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: #6b7280; font-weight: 600; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.mini { display: flex; flex-direction: column; min-height: 180px; }
.mini-num { font-size: 32px; font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.kv2 { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 0; }
.kv2 span { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: #9ca3af; font-weight: 600; }
.kv2 b { font-size: 22px; font-weight: 800; letter-spacing: -.02em; } .kv2.dim b { color: #9ca3af; }
.kv2 .dot { width: 7px; height: 7px; border-radius: 50%; background: #6b7280; } .kv2 .dot.y { background: #facc15; box-shadow: 0 0 8px rgba(250,204,21,.8); }
.spark { display: flex; align-items: flex-end; gap: 4px; height: 44px; margin-top: auto; padding-top: 10px; }
.spark i { flex: 1; min-height: 3px; border-radius: 3px 3px 0 0; background: rgba(250,204,21,.22); }
.spark i.on { background: linear-gradient(to top, #eab308, #fde047); box-shadow: 0 0 10px rgba(250,204,21,.5); }
.mini .foot { margin-top: auto; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.06); display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12.5px; color: #9ca3af; }
.mini .foot a { color: #facc15; text-decoration: none; }
.code-field { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 14px; border-radius: 10px; background: #1f2937; border: 1px solid #374151; margin: 4px 0 12px; }
.code-field .mono { font-size: 18px; font-weight: 700; letter-spacing: .14em; color: #fde047; }

/* Прежние плитки (используются на других страницах) */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tile { padding: 18px; border-radius: 16px; background: #030712; border: 1px solid rgba(255,255,255,.08); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; min-width: 0; }
.tile-top { display: flex; align-items: center; justify-content: center; gap: 8px; } .tile-top .label { color: #facc15; }
.tile-ic { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; background: rgba(250,204,21,.1); color: #facc15; } .tile-ic svg { width: 14px; height: 14px; }
.tile-ic.ok { background: var(--ok-soft); color: #4ade80; } .tile-ic.warn { background: var(--warn-soft); color: #fbbf24; }
.tile-v { font-size: 28px; font-weight: 800; } .tile-v small { font-size: 13px; color: #9ca3af; font-weight: 500; margin-left: 4px; }
.tile-sub { font-size: 12.5px; color: #9ca3af; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-21 { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.grid-12 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 16px; align-items: start; }
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.step3 { padding: 14px; border-radius: 12px; background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.06); }
.step3 .n { font-family: var(--mono); font-size: 12px; color: #facc15; letter-spacing: .12em; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.step3 .n::after { content: ''; flex: 1; height: 1px; background: rgba(250,204,21,.2); }
.step3 b { display: block; font-size: 13.5px; margin-bottom: 4px; font-weight: 600; } .step3 p { font-size: 12.5px; color: #9ca3af; line-height: 1.5; }
.empty-state { text-align: center; padding: 30px 20px; color: #9ca3af; }
.empty-state .ic { width: 50px; height: 50px; border-radius: 14px; background: rgba(250,204,21,.1); color: #facc15; display: grid; place-items: center; margin: 0 auto 12px; } .empty-state .ic svg { width: 24px; height: 24px; }
.empty-state b { display: block; color: #fff; font-size: 15px; margin-bottom: 4px; font-weight: 600; }
.pill-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.status-pill { display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 600; background: var(--ok-soft); color: #4ade80; border: 1px solid rgba(34,197,94,.25); text-transform: none; letter-spacing: 0; }
.status-pill i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pulse 1.6s infinite; }
.status-pill.warn { background: var(--warn-soft); color: #fbbf24; border-color: rgba(245,158,11,.25); } .status-pill.bad { background: var(--bad-soft); color: #f87171; border-color: rgba(239,68,68,.25); }

/* ---------- Таблицы и списки ---------- */
.table-wrap { border-radius: 10px; background: transparent; border: 0; overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 13.5px; color: #d1d5db; }
.table th { background: #1f2937; padding: 10px 14px; color: #fff; font-weight: 600; font-size: 12.5px; text-transform: none; letter-spacing: 0; text-align: left; border: 0; }
.table th:first-child { border-radius: 8px 0 0 8px; } .table th:last-child { border-radius: 0 8px 8px 0; }
.table td { padding: 11px 14px; border: 0; }
.table tbody tr:nth-child(even) td { background: rgba(31,41,55,.45); }
.table tbody tr:hover td { background: rgba(250,204,21,.05); }
.order-row { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 11px 12px; border-radius: 10px; cursor: pointer; border: 1px solid transparent; border-left: 2px solid transparent; transition: .15s; }
.order-row + .order-row { margin-top: 2px; }
.order-row:hover { background: rgba(255,255,255,.03); }
.order-row.sel { background: rgba(250,204,21,.07); border-left-color: #facc15; }
.order-row .u { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.order-row .s { font-size: 12px; color: #9ca3af; display: flex; align-items: center; gap: 8px; margin-top: 3px; flex-wrap: wrap; }
.order-row .amt { font-size: 16px; font-weight: 800; text-align: right; } .order-row .amt small { font-size: 11px; color: #9ca3af; font-weight: 500; }
.order-row .tm { font-family: var(--mono); font-size: 12px; color: #6b7280; min-width: 44px; text-align: right; }
.orders-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 16px; align-items: start; }
.order-detail { position: sticky; top: 84px; }
.od-head { display: flex; align-items: center; gap: 12px; }
.od-amt { font-size: 32px; margin: 14px 0 4px; } .od-amt small { font-size: 14px; color: #9ca3af; font-weight: 500; }
.timeline { display: flex; flex-direction: column; margin-top: 8px; }
.tl { display: grid; grid-template-columns: 18px 1fr auto; gap: 10px; padding: 6px 0; font-size: 13px; align-items: start; position: relative; }
.tl::before { content: ''; position: absolute; left: 4px; top: 22px; bottom: -4px; width: 2px; background: rgba(255,255,255,.08); }
.tl:last-child::before { display: none; }
.tl .dot { width: 10px; height: 10px; border-radius: 50%; background: #facc15; margin-top: 5px; box-shadow: 0 0 0 3px rgba(250,204,21,.12); position: relative; z-index: 1; }
.tl.ok .dot { background: var(--ok); box-shadow: 0 0 0 3px var(--ok-soft); } .tl.bad .dot { background: var(--bad); box-shadow: 0 0 0 3px var(--bad-soft); } .tl.warn .dot { background: var(--warn); box-shadow: 0 0 0 3px var(--warn-soft); }
.tl .t { font-family: var(--mono); font-size: 11.5px; color: #6b7280; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 13.5px; align-items: center; }
.prompt-box { background: var(--warn-soft); border: 1px solid rgba(245,158,11,.3); border-radius: 12px; padding: 14px; }
.prompt-box .ttl { font-weight: 600; color: #fbbf24; margin-bottom: 6px; }
.link-box { background: rgba(250,204,21,.06); border: 1px solid rgba(250,204,21,.25); border-radius: 12px; padding: 14px; }
.games { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.games button { background: #1f2937; border: 1px solid #374151; color: #d1d5db; padding: 6px 10px; border-radius: 8px; cursor: pointer; font-size: 13px; font-family: inherit; }
.games button.on { background: rgba(250,204,21,.12); border-color: #facc15; color: #fff; }
.tx-amt.pos { color: #4ade80; }

/* ---------- Новый заказ ---------- */
.pkgs { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 10px; }
.pkg { padding: 14px; border-radius: 14px; border: 1px solid rgba(255,255,255,.08); background: linear-gradient(to bottom right, #1f2937, #111827); cursor: pointer; transition: .2s; position: relative; }
.pkg:hover { border-color: rgba(250,204,21,.6); transform: translateY(-3px); }
.pkg.sel { border-color: #facc15; box-shadow: 0 0 0 1px #facc15, 0 10px 30px rgba(234,179,8,.18); }
.pkg .rb { display: flex; align-items: center; gap: 6px; font-weight: 800; font-size: 18px; letter-spacing: -.02em; } .pkg .rb svg { width: 16px; height: 16px; } .pkg .rb small { font-size: 11px; color: #9ca3af; font-weight: 500; }
.pkg .pr { font-family: var(--mono); color: #fde047; font-size: 13.5px; margin-top: 6px; }
.pkg .tag { position: absolute; top: 8px; right: 8px; font-size: 10px; padding: 2px 7px; }
.amount-wrap { position: relative; }
.amount-input { font-size: 26px; font-weight: 800; padding: 15px 64px 15px 52px; letter-spacing: -.02em; border-radius: 12px; }
.amount-wrap .ic { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; }
.amount-wrap .sfx { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-family: var(--mono); color: #9ca3af; }
.receipt { padding: 16px 18px; background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; display: flex; flex-direction: column; gap: 8px; }
.receipt .r { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; color: #d1d5db; }
.receipt .r.tot { padding-top: 10px; border-top: 1px dashed rgba(250,204,21,.25); font-weight: 600; color: #fff; font-size: 15px; }
.receipt .r.tot b { color: #facc15; font-size: 20px; }
.buyer-preview { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; background: rgba(255,255,255,.02); min-height: 64px; }
.buyer-preview .nm { font-weight: 600; } .buyer-preview .dn { font-size: 12.5px; color: #9ca3af; }
.mode-tabs { width: 100%; } .mode-tabs button { flex: 1; justify-content: center; }
.step-lbl { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14.5px; margin-bottom: 10px; color: #fff; }
.step-lbl i { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(to right, #facc15, #eab308); color: #000; display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 800; font-family: var(--mono); }
.form-block { display: flex; flex-direction: column; gap: 10px; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.06); }
.form-block:last-of-type { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.quick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.quick { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-radius: 12px; background: linear-gradient(to bottom right, #1f2937, #111827); border: 1px solid rgba(255,255,255,.08); text-decoration: none; color: #fff; transition: .2s; }
.quick:hover { border-color: rgba(250,204,21,.6); transform: translateY(-3px); color: #fff; }
.quick b { font-size: 17px; letter-spacing: -.02em; font-weight: 800; } .quick small { font-family: var(--mono); color: #fde047; font-size: 12px; }
.ref-mini { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: #1f2937; border: 1px dashed rgba(250,204,21,.35); }
.ref-mini .c { font-family: var(--mono); font-size: 20px; font-weight: 700; letter-spacing: .14em; color: #fde047; flex: 1; }

/* ---------- Баланс и партнёрка ---------- */
.bal-sum { font-size: 44px; margin: 8px 0 8px; color: #fff; }
.ref-code-box { display: flex; align-items: center; gap: 12px; background: #1f2937; border: 1px dashed rgba(250,204,21,.35); border-radius: 12px; padding: 16px 18px; }
.ref-code-box .c { font-family: var(--mono); font-size: 26px; font-weight: 700; letter-spacing: .16em; color: #fde047; flex: 1; }

/* ---------- Модалка ---------- */
.modal { border-radius: 16px; background: #111827; border: 1px solid rgba(250,204,21,.35); }

/* ---------- Адаптив ---------- */
@media (max-width: 1000px) { .split { grid-template-columns: 1fr; } .split-l { border-right: 0; border-bottom: 1px solid rgba(250,204,21,.18); } .grid-3 { grid-template-columns: 1fr 1fr; } .tiles { grid-template-columns: repeat(2, 1fr); } .orders-layout { grid-template-columns: 1fr; } .order-detail { position: static; } .grid-12, .grid-21 { grid-template-columns: 1fr; } }
@media (max-width: 860px) {
  .wrap { padding: 0 14px; }
  .topbar-in { flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; row-gap: 10px; }
  .pillnav { order: 3; width: 100%; }
  .nav-item { flex: none; }
  .main { padding-top: 22px; }
  .page-head { flex-wrap: nowrap; align-items: center; } .page-head h1 { font-size: 26px; } .page-head .sub { display: none; } .page-head .actions .btn { padding: 10px 13px; }
  .grid-2, .grid-3, .steps3 { grid-template-columns: 1fr; }
  .order-row { grid-template-columns: 38px minmax(0, 1fr) auto; } .order-row .tm { display: none; }
  .card { padding: 16px; } .split-l, .split-r { padding: 18px; } .hero-num { font-size: 42px; } .bal-sum { font-size: 34px; }
  .spread .row { flex-wrap: wrap; } .search { max-width: none; flex: 1; }
}
@media (max-width: 520px) { .brand span { display: none; } .acct-btn { padding-right: 10px; } .tiles { grid-template-columns: 1fr 1fr; gap: 10px; } .tile-v { font-size: 22px; } .page-head .actions .btn-text { display: none; } }
/* Баланс: карточка той же высоты, что и «Как пополнить»; баланс сверху, итоги внизу */
.grid-12.eq { align-items: stretch; }
.bal-card { display: flex; flex-direction: column; justify-content: space-between; gap: 22px; }
.bal-card .bal-sum { font-size: 56px; margin: 12px 0 0; }
.bal-stats { padding-top: 18px; border-top: 1px solid rgba(255,255,255,.06); gap: 34px !important; }
.step3 p b { display: inline; font-size: inherit; margin: 0; color: #fff; }
@media (max-width: 1000px) { .bal-card .bal-sum { font-size: 40px; } }
/* метка внутри вкладок («· рекомендуем», счётчики): читаемая и на жёлтой активной вкладке */
.tabs .cnt { font-family: var(--sans); font-size: 12px; font-weight: 600; color: #9ca3af; opacity: 1; }
.tabs button.active .cnt { color: rgba(0,0,0,.62); }

/* ---------- API: ключ, примеры, вебхуки, запросы ---------- */
.tag-api { display: inline-flex; align-items: center; padding: 0 6px; margin-left: 6px; border-radius: 6px; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .08em; line-height: 17px; color: #facc15; background: rgba(250,204,21,.1); border: 1px solid rgba(250,204,21,.3); vertical-align: 1px; }
.api-top { align-items: stretch; }
.api-use { display: flex; flex-direction: column; }
.api-use .use-chart { margin-top: auto; padding-top: 18px; }
.key-box { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: #1f2937; border: 1px dashed rgba(250,204,21,.35); margin: 4px 0 10px; }
.key-box code { flex: 1; min-width: 0; font-family: var(--mono); font-size: 14px; font-weight: 600; color: #fde047; word-break: break-all; line-height: 1.5; }
.key-box code.masked { letter-spacing: .04em; white-space: nowrap; overflow: hidden; text-overflow: clip; }
.key-acts { display: flex; gap: 6px; flex: none; }
.api-meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.api-meta > div, .use3 > div { display: flex; flex-direction: column; justify-content: space-between; gap: 4px; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.06); min-width: 0; }
.api-meta .label, .use3 .label { display: block; line-height: 1.35; overflow-wrap: anywhere; }
.api-meta b { font-size: 15px; font-weight: 700; color: #fff; } .api-meta b small { font-size: 12px; color: #9ca3af; font-weight: 500; } .api-meta b .muted { font-weight: 500; }
.api-acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.use3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.use3 b { display: block; font-size: 26px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; color: #fff; }
.ok-t { color: #4ade80 !important; } .bad-t { color: #f87171 !important; } .warn-t { color: #ffd27a !important; }
.prompt-box.bad { background: var(--bad-soft); border-color: rgba(239,68,68,.3); } .prompt-box.bad .ttl { color: #f87171; }
.wrap-head { flex-wrap: wrap; align-items: flex-start; }
/* многострочный код с вкладками языков */
.code-block { border-radius: 12px; border: 1px solid rgba(255,255,255,.08); background: #0b1120; overflow: hidden; }
.code-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px; background: #111827; border-bottom: 1px solid rgba(255,255,255,.06); }
.code-bar .seg { min-width: 0; }
.code-pre { margin: 0; padding: 16px 18px; font-family: var(--mono); font-size: 12.5px; line-height: 1.7; color: #e5e7eb; overflow-x: auto; white-space: pre; tab-size: 2; font-variant-ligatures: none; }
.code-pre code { font-family: inherit; }
.code-pre .c-com { color: #6b7280; font-style: italic; } .code-pre .c-str { color: #fde047; }
.table.nowrap td, .table.nowrap th { white-space: nowrap; }
.meth { display: inline-block; min-width: 52px; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .04em; color: #9ca3af; } .meth.post { color: #facc15; } .meth.delete { color: #f87171; }
.err-code { font-family: var(--mono); font-size: 12px; color: #f87171; }
/* вебхуки */
.wh-count { font-family: var(--mono); font-size: 12.5px; color: #9ca3af; font-weight: 500; margin-left: 6px; }
.wh-list { display: flex; flex-direction: column; gap: 10px; }
.wh-item { display: flex; flex-direction: column; gap: 9px; padding: 14px 16px; border-radius: 12px; background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.07); border-left: 2px solid rgba(34,197,94,.7); transition: border-color .2s; }
.wh-item:hover { border-color: rgba(250,204,21,.3); border-left-color: rgba(34,197,94,.9); }
.wh-item.warn, .wh-item.warn:hover { border-left-color: #f59e0b; } .wh-item.bad, .wh-item.bad:hover { border-left-color: #ef4444; }
.wh-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.wh-url, .ellip { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wh-url { font-size: 13.5px; font-weight: 600; color: #fff; }
.wh-meta { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 12.5px; color: #9ca3af; }
.wh-meta svg { width: 13px; height: 13px; vertical-align: -2px; margin-right: 5px; color: #facc15; }
.wh-meta b { color: #e5e7eb; font-weight: 600; }
.wh-acts { display: flex; flex-wrap: wrap; gap: 6px; }
.ev-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.ev-grid .check { align-items: flex-start; padding: 8px 10px; border-radius: 10px; background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.07); transition: .15s; min-width: 0; }
.ev-grid .check:has(input:checked) { border-color: rgba(250,204,21,.35); background: rgba(250,204,21,.05); }
.ev-grid .check input { margin: 2px 0 0; flex: none; }
.ev-grid .check span { display: flex; flex-direction: column; min-width: 0; }
.ev-grid b { font-size: 12px; font-weight: 600; color: #fff; overflow: hidden; text-overflow: ellipsis; } .ev-grid small { font-size: 11.5px; color: #9ca3af; }
.check.sm { font-size: 12.5px; }
.modal.modal-md { max-width: 640px; } .modal.modal-wide { max-width: 900px; }
@media (max-width: 1100px) { .api-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) {
  .key-box { flex-direction: column; align-items: stretch; } .key-acts .btn { flex: 1; }
  .use3 { grid-template-columns: 1fr 1fr 1fr; gap: 8px; } .use3 > div { padding: 10px; } .use3 b { font-size: 20px; }
  .api-acts .btn { flex: 1; }
  .ev-grid { grid-template-columns: 1fr; }
  .code-bar .btn span { display: none; } .code-bar { padding: 6px; } .code-bar .seg button { padding: 6px 8px; font-size: 12.5px; }
  .code-pre { padding: 14px; font-size: 12px; }
  .wh-top { flex-wrap: wrap; } .wh-acts .btn { flex: 1 1 calc(50% - 6px); }
}
/* таблицы журнала на телефоне — карточками, чтобы кнопки и ссылки не уезжали за край */
@media (max-width: 620px) {
  .table-wrap:has(.table.cards) { overflow: visible; }
  .table.cards thead { display: none; }
  .table.cards, .table.cards tbody { display: block; }
  .table.cards tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 10px; padding: 10px 12px; margin-bottom: 8px; border-radius: 10px; background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.06); }
  .table.cards td { display: block; padding: 0; background: none !important; white-space: normal; min-width: 0; text-align: left; overflow-wrap: anywhere; }
  .table.cards td.c-st, .table.cards td.c-act, .table.cards td.c-att, .table.cards td.c-ms, .table.cards td.c-ord { justify-self: end; text-align: right; }
  .table.cards td.c-act:empty { display: none; }
  .table.cards .c-att::before { content: attr(data-l) ': '; font-family: var(--sans); color: #9ca3af; font-size: 12px; }
  .table.cards .c-ms::after { content: ' ' attr(data-u); }
  .table.cards .c-tm { font-size: 12px; }
  .dl-cards tr { grid-template-areas: "ev st" "tm att" "resp act"; }
  .rq-cards tr { grid-template-areas: "req st" "tm ms" "err ord"; }
  .dl-cards .c-ev { grid-area: ev; } .dl-cards .c-st { grid-area: st; } .dl-cards .c-tm { grid-area: tm; } .dl-cards .c-att { grid-area: att; } .dl-cards .c-resp { grid-area: resp; } .dl-cards .c-act { grid-area: act; }
  .rq-cards .c-req { grid-area: req; } .rq-cards .c-st { grid-area: st; } .rq-cards .c-tm { grid-area: tm; } .rq-cards .c-ms { grid-area: ms; } .rq-cards .c-err { grid-area: err; } .rq-cards .c-ord { grid-area: ord; }
}
.use-empty { display: grid; place-items: center; min-height: 120px; margin-top: 6px; border-radius: 12px; border: 1px dashed rgba(255,255,255,.08); color: #6b7280; font-size: 13px; text-align: center; padding: 12px; }

/* ---------- Правовые документы: ссылки, согласие с правилами, удаление аккаунта ---------- */
@keyframes shakeX { 0%,100% { transform: none; } 20%,60% { transform: translateX(-5px); } 40%,80% { transform: translateX(5px); } }
/* короткие ссылки: экран входа, меню аккаунта, подвал кабинета */
.auth-stack { width: 100%; max-width: 410px; display: flex; flex-direction: column; align-items: stretch; gap: 16px; }
.auth-legal, .cab-legal, .acct-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; }
.auth-legal { justify-content: center; font-size: 12.5px; }
.auth-legal a, .auth-legal button, .cab-legal a, .cab-legal button, .acct-legal a, .acct-legal button { color: #6b7280; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-decoration: none; transition: color .15s; }
.auth-legal a:hover, .auth-legal button:hover, .cab-legal a:hover, .cab-legal button:hover, .acct-legal a:hover, .acct-legal button:hover { color: #fde047; }
.auth-legal :focus-visible, .cab-legal :focus-visible, .acct-legal :focus-visible { outline: 2px solid rgba(250,204,21,.6); outline-offset: 3px; border-radius: 4px; }
.acct-legal { gap: 4px 12px; padding: 10px 10px 4px; margin-top: 6px; border-top: 1px solid rgba(255,255,255,.06); font-size: 11.5px; }
.cab-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; margin-top: 14px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.05); color: #6b7280; font-size: 12.5px; }
.cab-legal { font-size: 12.5px; }
/* регистрация: галочка согласия */
.terms-wrap { display: flex; flex-direction: column; gap: 8px; }
.check.terms-check { display: flex; align-items: flex-start; gap: 10px; padding: 11px 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.02); color: #d1d5db; font-size: 13px; font-weight: 400; line-height: 1.5; transition: border-color .15s, background .15s; }
.check.terms-check:hover { border-color: rgba(250,204,21,.35); }
.check.terms-check:has(input:checked) { border-color: rgba(250,204,21,.45); background: rgba(250,204,21,.05); }
.check.terms-check input { flex: none; margin: 2px 0 0; }
.check.terms-check a, .terms-note a { color: #facc15; text-decoration: underline; text-decoration-color: rgba(250,204,21,.4); text-underline-offset: 2px; }
.check.terms-check a:hover, .terms-note a:hover { color: #fde047; text-decoration-color: #fde047; }
.check.terms-check.invalid { border-color: rgba(239,68,68,.65); background: rgba(239,68,68,.06); animation: shakeX .35s ease; }
.terms-note { display: flex; align-items: flex-start; gap: 8px; padding: 0 2px; font-size: 12px; line-height: 1.5; color: #9ca3af; }
.terms-note svg { width: 14px; height: 14px; flex: none; margin-top: 2px; color: #f87171; }
.terms-note a { color: #d1d5db; text-decoration-color: rgba(255,255,255,.25); }
/* список документов (настройки и окно новой редакции) */
.legal-list { display: flex; flex-direction: column; gap: 8px; }
.legal-item { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.07); color: #fff; text-decoration: none; transition: border-color .15s, background .15s; }
.legal-item:hover { border-color: rgba(250,204,21,.45); background: rgba(250,204,21,.05); color: #fff; }
.li-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(250,204,21,.1); color: #facc15; flex: none; }
.li-ic svg { width: 17px; height: 17px; }
.legal-item.refunds .li-ic { background: rgba(239,68,68,.1); color: #f87171; }
.li-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.li-t b { font-size: 13.5px; font-weight: 600; } .li-t small { font-size: 12px; color: #9ca3af; line-height: 1.4; }
.legal-item.refunds small { color: #fca5a5; }
.li-go { color: #6b7280; display: grid; flex: none; } .li-go svg { width: 16px; height: 16px; } .legal-item:hover .li-go { color: #facc15; }
.legal-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 14px; margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.06); font-size: 12.5px; color: #9ca3af; }
.legal-meta b { color: #e5e7eb; font-weight: 600; }
.set-legal { align-items: stretch; }
/* опасная зона: удаление аккаунта */
.card.danger-card { display: flex; flex-direction: column; gap: 14px; border-color: rgba(239,68,68,.32); background: radial-gradient(520px 240px at 100% 0%, rgba(239,68,68,.07), transparent 70%), #030712; }
.card.danger-card:hover { border-color: rgba(239,68,68,.55); box-shadow: 0 10px 15px -3px rgba(0,0,0,.5), 0 0 24px rgba(239,68,68,.06); }
.danger-card .card-title { color: #f87171; }
.danger-card > p { margin: 0; color: #9ca3af; font-size: 13.5px; line-height: 1.6; }
.dz-head { display: flex; align-items: center; gap: 10px; }
.dz-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(239,68,68,.12); color: #f87171; flex: none; }
.dz-ic svg { width: 17px; height: 17px; }
.dz-ic.lg { width: 44px; height: 44px; border-radius: 12px; } .dz-ic.lg svg { width: 20px; height: 20px; }
.dz-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.dz-facts li { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.5; color: #d1d5db; }
.dz-facts svg { width: 15px; height: 15px; flex: none; margin-top: 2px; color: #f87171; }
.danger-card #delAcc { margin-top: auto; align-self: flex-start; }
.btn-danger-solid { background: #dc2626; border: 1px solid #dc2626; color: #fff; font-weight: 700; }
.btn-danger-solid:hover { background: #ef4444; border-color: #ef4444; color: #fff; }
.btn-danger-solid:disabled, .btn-danger-solid:disabled:hover { background: rgba(220,38,38,.35); border-color: transparent; color: rgba(255,255,255,.7); }
/* окно удаления */
.modal.del-modal { border-color: rgba(239,68,68,.45); box-shadow: 0 25px 50px -12px rgba(0,0,0,.7), 0 0 40px rgba(239,68,68,.08); }
.del-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.del-head > div { flex: 1; min-width: 0; }
.del-head h3 { margin: 2px 0 4px; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.del-head p { margin: 0; color: #9ca3af; font-size: 13.5px; line-height: 1.55; }
.del-list { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.del-list li { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.06); font-size: 13px; line-height: 1.55; color: #9ca3af; }
.del-list li b { color: #fff; font-weight: 600; }
.del-list li svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: #9ca3af; }
.del-list li.bal { background: rgba(239,68,68,.07); border-color: rgba(239,68,68,.3); }
.del-list li.bal svg { color: #f87171; } .del-list li.bal b { color: #fca5a5; }
.del-list li a { color: #fca5a5; text-decoration: underline; text-underline-offset: 2px; }
.del-active { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 14px; }
.del-active .ttl { display: flex; align-items: center; gap: 8px; margin: 0; } .del-active .ttl svg { width: 16px; height: 16px; }
.del-form { display: flex; flex-direction: column; gap: 12px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.06); }
.check.del-forfeit { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border-radius: 10px; border: 1px dashed rgba(239,68,68,.45); background: rgba(239,68,68,.04); color: #fecaca; font-size: 13px; font-weight: 500; line-height: 1.5; }
.check.del-forfeit input { flex: none; margin: 2px 0 0; accent-color: #ef4444; }
.del-word { font-family: var(--mono); color: #f87171; letter-spacing: .08em; }
.del-acts { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
/* окно новой редакции правил */
.modal.terms-modal { max-width: 560px; border-color: rgba(250,204,21,.55); box-shadow: 0 25px 50px -12px rgba(0,0,0,.7), 0 0 40px rgba(250,204,21,.08); }
.tg-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.tg-chip { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 999px; background: rgba(250,204,21,.1); border: 1px solid rgba(250,204,21,.35); color: #fde047; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.tg-chip svg { width: 14px; height: 14px; }
.modal.terms-modal h3 { margin: 0 0 6px; font-size: 24px; font-weight: 800; letter-spacing: -.025em; background: linear-gradient(to right, #fde047, #facc15, #eab308); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tg-lead { margin: 0 0 4px; color: #9ca3af; font-size: 14px; line-height: 1.6; }
.tg-ver { margin-bottom: 14px; font-family: var(--mono); font-size: 12px; color: #6b7280; }
.tg-agree { margin: 14px 0 0; color: #9ca3af; font-size: 12.5px; line-height: 1.55; }
.terms-modal .error-text { margin-top: 10px; }
.tg-acts { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
/* «Не согласен — удалить аккаунт»: тихая ссылка под кнопками (п. 1.20.3) */
.tg-decline { margin-top: 12px; text-align: center; }
.link-btn { background: none; border: 0; padding: 4px 2px; font: inherit; font-size: 12.5px; color: #9ca3af; text-decoration: underline; text-decoration-color: rgba(156,163,175,.4); text-underline-offset: 3px; cursor: pointer; }
.link-btn:hover { color: #fca5a5; text-decoration-color: rgba(252,165,165,.6); }
.link-btn:focus-visible { outline: 2px solid #fde047; outline-offset: 2px; border-radius: 4px; }
.link-btn:disabled { opacity: .5; cursor: default; }
/* аккаунт удалён */
.bye-card { text-align: center; }
.bye-ic { width: 64px; height: 64px; margin: 4px auto 14px; border-radius: 50%; display: grid; place-items: center; background: rgba(250,204,21,.1); border: 1px solid rgba(250,204,21,.35); color: #facc15; box-shadow: 0 0 30px rgba(250,204,21,.12); }
.bye-ic svg { width: 30px; height: 30px; }
.bye-card p { line-height: 1.6; }
.bye-acts { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
@media (max-width: 520px) {
  .cab-foot { flex-direction: column; align-items: flex-start; }
  .del-acts .btn, .tg-acts .btn { flex: 1 1 auto; }
  .tg-acts { flex-direction: column-reverse; } .del-acts { flex-direction: column-reverse; }
  .modal.terms-modal h3 { font-size: 21px; }
  .del-head .dz-ic.lg { display: none; }
  .auth-foot-box { flex-wrap: wrap; } .auth-foot-box > div { flex: 1 1 180px; } /* «Нет кода приглашения?»: кнопка переносится, текст не сжимается в столбик */
}

/* ---- Контакты: Telegram — быстрая связь и пополнение, e-mail — официальные вопросы, опт, индивидуальные условия ---- */
[data-ct][hidden], [data-ct-if][hidden] { display: none !important; }
.auth-foot-box .auth-ct { display: flex; flex-direction: column; gap: 6px; flex: none; }
.auth-foot-box .auth-ct .btn { justify-content: flex-start; }
.auth-mail { margin-top: 10px; font-size: 12.5px; line-height: 1.5; color: #9ca3af; overflow-wrap: anywhere; }
.ct-line { display: flex; align-items: flex-start; gap: 8px; color: #9ca3af; font-size: 12.5px; line-height: 1.5; min-width: 0; }
.ct-line > svg { width: 15px; height: 15px; flex: none; margin-top: 2px; color: #facc15; }
.ct-line > span { min-width: 0; overflow-wrap: anywhere; }
.ct-line a { color: #fde047; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(250,204,21,.3); }
.ct-line a:hover { border-bottom-color: #fde047; }
.topup-acts { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; margin-top: 14px; }
.topup-acts .ct-line { flex: 1 1 240px; }
.step3 p a { color: #fde047; font-weight: 600; text-decoration: none; }
.api-indiv { margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: rgba(250,204,21,.04); border: 1px dashed rgba(250,204,21,.25); }
.set-mail { margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.06); }
@media (max-width: 760px) {
  .auth-foot-box .auth-ct { flex-direction: row; flex-wrap: wrap; width: 100%; } .auth-foot-box .auth-ct .btn { flex: 1 1 auto; justify-content: center; }
  .topup-acts .btn { width: 100%; }
}
