.og-app {
	--og-bg: #0b0f14;
	--og-card: #141b24;
	--og-line: #243041;
	--og-text: #e7eef7;
	--og-muted: #8aa0b8;
	--og-accent: #3ee0a2;
	--og-warn: #ffb020;
	--og-bad: #ff5d6c;
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, sans-serif;
	color: var(--og-text);
	background: radial-gradient(1200px 400px at 10% -10%, #163328 0%, transparent 50%), var(--og-bg);
	border: 1px solid var(--og-line);
	border-radius: 18px;
	padding: 20px;
	max-width: 1080px;
	margin: 0 auto;
}
.og-top {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 22px;
}
.og-brand { display: flex; align-items: center; gap: 10px; }
.og-mark {
	width: 36px; height: 36px; border-radius: 10px;
	background: linear-gradient(135deg, #3ee0a2, #1aa37a);
	color: #062016; font-weight: 800; display: grid; place-items: center;
}
.og-brand small { display: block; color: var(--og-muted); font-size: 12px; }
.og-tabs { display: flex; gap: 6px; background: #0e151d; padding: 4px; border-radius: 999px; }
.og-tabs button {
	border: 0; background: transparent; color: var(--og-muted);
	padding: 8px 14px; border-radius: 999px; cursor: pointer; font-weight: 600;
}
.og-tabs button.is-active { background: #1c2734; color: #fff; }
.og-balance {
	margin-left: auto; background: #102018; color: var(--og-accent);
	border: 1px solid #1e4a38; padding: 8px 12px; border-radius: 999px; font-weight: 700;
}
.og-hero h1 { font-size: clamp(28px, 4vw, 44px); letter-spacing: -0.03em; margin: 0 0 8px; }
.og-hero p { color: var(--og-muted); max-width: 56ch; }
.og-search input {
	width: 100%; background: var(--og-card); border: 1px solid var(--og-line);
	color: #fff; border-radius: 12px; padding: 12px 14px; font-size: 15px;
}
.og-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 12px;
	margin-top: 18px;
}
.og-card {
	background: var(--og-card);
	border: 1px solid var(--og-line);
	border-radius: 14px;
	padding: 14px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.og-card h3 { margin: 0; font-size: 16px; }
.og-meta { color: var(--og-muted); font-size: 13px; display: flex; justify-content: space-between; }
.og-card button, .og-btn {
	border: 0; border-radius: 10px; padding: 10px 12px; cursor: pointer;
	background: var(--og-accent); color: #062016; font-weight: 700;
}
.og-btn.ghost { background: #1c2734; color: #fff; }
.og-btn.danger { background: #3a1820; color: #ff8a96; }
.og-live, .og-wallet { margin-top: 8px; }
.og-panel-card {
	background: var(--og-card); border: 1px solid var(--og-line);
	border-radius: 16px; padding: 18px;
}
.og-phone { font-size: 28px; font-weight: 700; letter-spacing: 0.02em; }
.og-code {
	font-size: 36px; font-weight: 800; letter-spacing: 0.18em;
	background: #0c1612; border: 1px dashed #2c6b52; padding: 12px; border-radius: 12px;
	text-align: center;
}
.og-muted { color: var(--og-muted); }
.og-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--og-line); width: 100%; background: transparent; border-left: 0; border-right: 0; border-top: 0; color: inherit; text-align: left; cursor: pointer; }
.og-steps { color: var(--og-muted); padding-left: 18px; margin: 8px 0 14px; }
.og-steps li { margin: 4px 0; }
.og-current .og-phone { font-size: clamp(22px, 5vw, 34px); word-break: break-all; }
.og-badge { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; padding: 3px 8px; border-radius: 999px; }
.og-badge.wait { background: #2a220e; color: var(--og-warn); }
.og-badge.ok { background: #102018; color: var(--og-accent); }
.og-badge.no { background: #2a1216; color: var(--og-bad); }
.og-toast {
	position: sticky; bottom: 12px; margin-top: 16px;
	background: #1c2734; border: 1px solid var(--og-line);
	padding: 10px 14px; border-radius: 10px;
}
.og-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.og-empty { color: var(--og-muted); padding: 28px 8px; text-align: center; }
.og-login {
	text-align: center; padding: 28px 12px;
}
.og-login a { color: var(--og-accent); font-weight: 700; }

.og-auth { max-width: 420px; margin: 0 auto; }
.og-auth-tabs { display: flex; gap: 6px; margin-bottom: 16px; }
.og-auth-tabs button {
	flex: 1; border: 1px solid var(--og-line); background: var(--og-card);
	color: var(--og-muted); border-radius: 999px; padding: 10px; cursor: pointer; font-weight: 700;
}
.og-auth-tabs button.is-active { background: #1c2734; color: #fff; }
.og-auth-form { display: grid; gap: 12px; }
.og-auth-form[hidden] { display: none; }
.og-auth-form label { display: grid; gap: 6px; color: var(--og-muted); font-size: 13px; font-weight: 600; }
.og-auth-form input {
	background: var(--og-card); border: 1px solid var(--og-line); color: #fff;
	border-radius: 12px; padding: 12px; font-size: 16px;
}

.og-balance { text-decoration: none; cursor: pointer; }
.og-country, .og-topup input, .og-svc select {
	width: 100%;
	background: #0b0f14;
	border: 1px solid var(--og-line);
	color: #fff;
	border-radius: 10px;
	padding: 10px;
	font-size: 14px;
}
.og-svc label { display: grid; gap: 6px; }
.og-topup { display: grid; gap: 10px; margin-top: 12px; }
.og-auth-form button, .og-auth-tabs button, .og-btn, .og-card button {
	pointer-events: auto;
	cursor: pointer;
}

.og-board {
	display: grid;
	grid-template-columns: 240px 1fr;
	gap: 16px;
	margin-top: 18px;
	align-items: start;
}
.og-cats {
	background: var(--og-card);
	border: 1px solid var(--og-line);
	border-radius: 16px;
	padding: 8px;
	max-height: 640px;
	overflow: auto;
	display: grid;
	gap: 4px;
}
.og-cat {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	border: 0;
	background: transparent;
	color: var(--og-muted);
	padding: 10px 12px;
	border-radius: 10px;
	cursor: pointer;
	font-weight: 700;
	text-align: left;
}
.og-cat.is-on { background: #1c2734; color: #fff; }
.og-cat small { color: var(--og-accent); font-size: 11px; }
.og-countries-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.og-countries-head h2 { margin: 0; font-size: 20px; }
.og-card-top { display: flex; gap: 10px; align-items: center; }
.og-flag { width: 28px; height: 20px; object-fit: cover; border-radius: 3px; border: 1px solid var(--og-line); }
@media (max-width: 760px) {
	.og-board { grid-template-columns: 1fr; }
	.og-cats { max-height: 220px; grid-template-columns: 1fr 1fr; }
}
.og-presets, .og-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.og-chip {
	border: 1px solid var(--og-line); background: #0e151d; color: #fff;
	border-radius: 999px; padding: 8px 12px; cursor: pointer; font-weight: 700;
}
.og-chip.is-on { background: var(--og-accent); color: #062016; border-color: var(--og-accent); }
.og-cats { display: flex; flex-wrap: wrap; gap: 6px; max-height: none; background: transparent; border: 0; padding: 0; }
.og-board { grid-template-columns: 1fr; }
.og-cat { width: auto; background: #141b24; border: 1px solid var(--og-line); }
.og-eyebrow { color: var(--og-accent); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 6px; }
.og-hero-copy h1 { font-size: clamp(26px, 3.4vw, 38px); margin: 0 0 8px; }
.og-dash-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 14px; }
.og-big { font-size: 40px; font-weight: 800; margin: 0 0 12px; letter-spacing: -.03em; }
.og-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.og-kpis div { background: #0b0f14; border: 1px solid var(--og-line); border-radius: 12px; padding: 10px; }
.og-kpis span { display: block; color: var(--og-muted); font-size: 11px; text-transform: uppercase; }
.og-topup-row { display: grid; grid-template-columns: 120px 1fr; gap: 10px; }
.og-quick { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 14px; }
@media (max-width: 800px) {
	.og-dash-grid, .og-topup-row { grid-template-columns: 1fr; }
	.og-hero-copy h1 { font-size: 26px; }
	.og-top { flex-wrap: wrap; }
	.og-tabs { width: 100%; justify-content: space-between; }
	.og-tabs button { flex: 1; padding: 10px 6px; }
	.og-balance { width: 100%; text-align: center; margin-top: 8px; }
}
.og-svc-wrap { display: grid; gap: 8px; }
.og-svc-hint { margin: 0 0 4px; color: var(--og-muted); font-size: 14px; }
.og-svc {
	display: flex; justify-content: space-between; align-items: center; gap: 12px;
	width: 100%; text-align: left; min-height: 64px;
	background: var(--og-card); border: 1px solid var(--og-line); color: #fff;
	border-radius: 14px; padding: 14px 16px; cursor: pointer;
}
.og-svc strong { display: block; font-size: 17px; }
.og-svc small { color: var(--og-muted); font-size: 12px; }
.og-svc em { color: var(--og-accent); font-style: normal; font-weight: 800; white-space: nowrap; }
.og-back {
	border: 0; background: transparent; color: var(--og-accent);
	font-weight: 800; padding: 0; margin-bottom: 6px; cursor: pointer;
}
.og-countries-head { display: grid; gap: 4px; }
.og-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
@media (max-width: 760px) {
	.og-grid { grid-template-columns: 1fr; }
	.og-card button, .og-btn { width: 100%; min-height: 48px; }
}
.og-pending {
	position: sticky; top: 8px; z-index: 40;
	margin: 10px 0 14px; padding: 12px;
	background: #102018; border: 1px solid #1e4a38; border-radius: 16px;
}
.og-pending-inner { display: grid; gap: 10px; }
.og-pending-phone, .og-phone {
	display: block; width: 100%; text-align: left;
	background: #0b0f14; color: #fff; border: 1px dashed #3ee0a2;
	border-radius: 12px; padding: 12px 14px; font-size: 22px; font-weight: 800;
	letter-spacing: .04em; cursor: pointer;
}
.og-pending-code, .og-code {
	display: block; width: 100%; text-align: center;
	background: #0b0f14; color: #3ee0a2; border: 1px dashed #1e4a38;
	border-radius: 12px; padding: 14px; font-size: 28px; font-weight: 800;
	letter-spacing: .12em; cursor: pointer;
}
.og-pending-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.og-pending-main small { display: block; color: var(--og-muted); margin-top: 4px; }
@media (max-width: 760px) {
	.og-pending {
		position: fixed; left: 10px; right: 10px; bottom: 12px; top: auto;
		margin: 0; box-shadow: 0 10px 30px rgba(0,0,0,.45);
	}
	.og-app { padding-bottom: 180px; }
	.og-pending-phone { font-size: 20px; }
	.og-pending-code { font-size: 24px; }
}
