/* =====================================================================
   PREMIUM GOLD THEME (member + admin) and NEON NAVY THEME (website + login)
   Gold colour = "Theme colour" in Admin > Settings
   ===================================================================== */
:root {
  --gold: #8b5cf6;            /* primary colour  (Admin > Settings) */
  --cyan: #22d3ee;            /* secondary colour (Admin > Settings) */
  --gold-2: var(--cyan);
  --gold-grad: linear-gradient(135deg, var(--gold) 0%, var(--cyan) 100%);
  --gold-soft: color-mix(in srgb, var(--gold) 14%, transparent);
  --gold-line: color-mix(in srgb, var(--gold) 28%, transparent);
  --bg: #050816;
  --navy: #0b1324;
  --card: linear-gradient(160deg, rgba(76, 29, 149, .28) 0%, rgba(11, 15, 32, .92) 60%);
  --card-solid: #0d1222;
  --border: var(--gold-line);
  --text: #eef2ff;
  --muted: #8f99bd;
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;
  --radius: 22px;
  --shadow: 0 25px 60px -30px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .04);
  /* old names used in some views */
  --primary: var(--gold);
  --primary-2: var(--gold);
  --grad: var(--gold-grad);
  --neon-grad: linear-gradient(90deg, var(--gold), var(--cyan));
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Poppins', system-ui, -apple-system, Segoe UI, sans-serif;
  background: var(--bg); color: var(--text); font-size: 14.5px; line-height: 1.55; min-height: 100vh;
  background-image:
    radial-gradient(800px 600px at 0% 20%, color-mix(in srgb, var(--gold) 22%, transparent), transparent 60%),
    radial-gradient(800px 600px at 100% 100%, color-mix(in srgb, var(--cyan) 13%, transparent), transparent 60%);
  background-attachment: fixed;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 13px; }
.text-success { color: #4ade80; } .text-danger { color: #f87171; } .text-warning { color: #fbbf24; }
.gold-text, .gradient-text { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.neon-text { background: var(--neon-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 26px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 26px; }
.flex { display: flex; gap: 12px; align-items: center; } .between { justify-content: space-between; } .wrap { flex-wrap: wrap; }
.right { text-align: right; } .center { text-align: center; } .w-100 { width: 100%; }
.section-label { font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.section-title { font-size: 24px; font-weight: 800; margin-top: 2px; }
.live-pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 14px; border-radius: 30px; border: 1px solid var(--gold-line); font-size: 11px; font-weight: 700; letter-spacing: .12em; color: var(--gold); }
.live-pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 10px #22c55e; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .3; } }

/* =================== APP LAYOUT =================== */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; height: 68px; z-index: 60; display: flex; align-items: center; gap: 14px;
  padding: 0 22px; background: linear-gradient(90deg, #0a0f24, #141a3d 60%, #0a0f24);
  border-bottom: 1px solid rgba(255, 255, 255, .06); box-shadow: 0 10px 30px -15px #000;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo {
  width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; overflow: hidden;
  background: radial-gradient(circle at 30% 30%, #2a1660, #0a0f24); border: 2px solid var(--gold);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, .15), 0 0 25px -5px var(--gold); color: var(--gold); font-size: 22px;
}
.brand-logo img { width: 100%; height: 100%; object-fit: cover; }
.brand-name { font-size: 19px; font-weight: 800; letter-spacing: .02em; line-height: 1.1; }
.brand-sub { font-size: 9.5px; font-weight: 700; letter-spacing: .28em; color: var(--gold); text-transform: uppercase; }
.topbar .spacer { flex: 1; }
.icon-btn {
  position: relative; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; cursor: pointer;
  background: linear-gradient(145deg, #1a2040, #0d1226); border: 1px solid rgba(255, 255, 255, .1); color: #67e8f9; font-size: 19px;
}
.icon-btn .dot { position: absolute; top: 7px; right: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px var(--gold); }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; flex-shrink: 0; position: relative;
  background: var(--gold-grad); color: #fff; border: 2px solid rgba(255, 255, 255, .15);
}
.avatar.online::after { content: ''; position: absolute; right: 0; bottom: 1px; width: 11px; height: 11px; border-radius: 50%; background: #22c55e; border: 2px solid #0a1120; }
.avatar.lg { width: 70px; height: 70px; font-size: 24px; }

.sidebar {
  position: fixed; top: 68px; left: 0; bottom: 0; width: 260px; z-index: 55; overflow-y: auto;
  background: #060914; border-right: 1px solid rgba(255, 255, 255, .05); padding: 14px 0 120px; transition: transform .3s;
}
.sidebar::-webkit-scrollbar { width: 4px; } .sidebar::-webkit-scrollbar-thumb { background: var(--gold-line); border-radius: 4px; }
.sb-user { display: flex; align-items: center; gap: 12px; margin: 0 14px 10px; padding: 14px 6px 16px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.sb-user .avatar { width: 40px; height: 40px; }
.sb-user b { display: block; font-weight: 500; font-size: 14px; }
.sb-user span { font-size: 12px; font-weight: 600; color: #ddd; }
.nav a, .nav summary {
  display: flex; align-items: center; gap: 14px; padding: 12px 22px; color: #f1f1f1; font-weight: 600; font-size: 14px;
  cursor: pointer; list-style: none; transition: .2s; border-left: 3px solid transparent;
}
.nav summary::-webkit-details-marker { display: none; }
.nav a i, .nav summary i:first-child { font-size: 18px; width: 22px; text-align: center; color: #fff; }
.nav summary::after { content: '\F282'; font-family: 'bootstrap-icons'; margin-left: auto; font-size: 11px; transition: .2s; }
.nav details[open] > summary::after { transform: rotate(180deg); }
.nav a:hover, .nav summary:hover { background: rgba(139, 92, 246, .06); }
.nav a.active { background: linear-gradient(90deg, rgba(139, 92, 246, .16), rgba(139, 92, 246, .03)); border-left-color: var(--gold); color: #fff; }
.nav details { border-left: 3px solid transparent; }
.nav details[open] { background: rgba(255, 255, 255, .02); }
.nav details a { padding: 9px 22px 9px 58px; font-weight: 500; font-size: 13.5px; color: #b8c0e0; border-left: 0; }
.nav details a.active { color: var(--gold); background: none; }
.nav details a::before { content: ''; width: 6px; height: 6px; border-radius: 50%; border: 1.5px solid currentColor; margin-left: -18px; margin-right: 6px; }
.nav .count { margin-left: auto; background: var(--danger); color: #fff; font-size: 11px; padding: 1px 8px; border-radius: 20px; }
.nav .logout { color: #bbb; margin-top: 6px; border-top: 1px solid rgba(255, 255, 255, .06); }

.main { margin-left: 260px; padding-top: 68px; min-height: 100vh; display: flex; flex-direction: column; }
.content { padding: 26px 30px 130px; flex: 1; max-width: 1500px; width: 100%; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; margin-bottom: 22px; flex-wrap: wrap; }
.backdrop { display: none; position: fixed; inset: 0; background: rgba(0, 0, 0, .6); z-index: 50; }
.backdrop.show { display: block; }

/* bottom navigation (like the reference dashboard) */
.bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; height: 80px; z-index: 58; display: grid; grid-template-columns: repeat(5, 1fr); align-items: center;
  background: linear-gradient(180deg, #0c1126, #060914); border-top: 1px solid var(--gold-line);
  box-shadow: 0 -15px 40px -20px rgba(139, 92, 246, .35);
}
.bottom-nav::before { content: ''; position: absolute; top: -1px; left: 15%; right: 15%; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.bottom-nav a { display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 9.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #aaa; }
.bottom-nav a i { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-size: 17px; background: #1a1a1f; border: 1px solid rgba(255, 255, 255, .08); color: #ddd; }
.bottom-nav a.active { color: var(--gold); }
.bottom-nav a.active i { background: var(--gold-grad); color: #fff; border: 0; box-shadow: 0 0 20px -4px var(--gold); }
.bottom-nav .center-btn i { width: 66px; height: 66px; border-radius: 50%; font-size: 28px; margin-top: -30px; background: var(--gold-grad); color: #fff; border: 5px solid #070b18; box-shadow: 0 0 0 2px var(--gold-line), 0 0 35px -5px var(--gold); }

.fab-stack { position: fixed; right: 16px; bottom: 210px; z-index: 57; display: flex; flex-direction: column; gap: 12px; }
.fab { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; color: #fff; box-shadow: 0 10px 25px -8px rgba(0, 0, 0, .8); transition: .2s; }
.fab:hover { transform: scale(1.08); }
.fab.f1 { background: linear-gradient(135deg, #38bdf8, #0284c7); }
.fab.f2 { background: linear-gradient(135deg, #fbbf24, #f97316); }
.fab.f3 { background: linear-gradient(135deg, #818cf8, #4f46e5); }

/* =================== CARDS =================== */
.card {
  position: relative; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow);
}
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.card-head h3 { font-size: 16px; display: flex; align-items: center; gap: 9px; }
.card-head h3 i { color: var(--gold); }
.panel { border-radius: 28px; padding: 26px; border: 1px solid var(--gold-line); background: linear-gradient(180deg, rgba(30, 20, 70, .45), rgba(6, 9, 20, .9)); }

.grid { display: grid; gap: 20px; }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g-main { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }

.stat { overflow: hidden; display: flex; gap: 16px; align-items: center; transition: .25s; }
a.stat:hover, .stat.selected { transform: translateY(-3px); border-color: var(--gold); box-shadow: 0 20px 40px -25px var(--gold); }
.stat .ico {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 22px; flex-shrink: 0;
  background: var(--gold-grad); color: #fff; box-shadow: 0 10px 25px -10px var(--gold);
}
.stat .label { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.stat .value { font-size: 21px; font-weight: 800; }
.stat::after { content: ''; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, rgba(139, 92, 246, .16), transparent 70%); }

.hero-card { background: linear-gradient(135deg, #2a1660 0%, #111735 55%, #071022 100%); border: 1px solid var(--gold); overflow: hidden; }
.hero-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(500px 220px at 100% 0%, rgba(139, 92, 246, .28), transparent 60%); pointer-events: none; }
.hero-card > * { position: relative; }
.wallet-amount { font-size: 34px; font-weight: 800; letter-spacing: -.01em; }
.hero-card .wallet-amount { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* =================== BUTTONS =================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 12px 22px; border-radius: 40px;
  font: inherit; font-weight: 700; font-size: 13.5px; letter-spacing: .04em; border: 1px solid transparent; cursor: pointer; transition: .2s; white-space: nowrap;
  background: var(--gold-grad); color: #fff; box-shadow: 0 12px 30px -12px var(--gold), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-ghost { background: rgba(255, 255, 255, .04); border-color: var(--gold-line); color: var(--gold); box-shadow: none; }
.btn-white { background: #fff; color: #fff; box-shadow: none; }
.btn-success { background: linear-gradient(135deg, #4ade80, #16a34a); color: #fff; box-shadow: none; }
.btn-danger { background: linear-gradient(135deg, #f87171, #dc2626); color: #fff; box-shadow: none; }
.btn-warning { background: var(--gold-grad); }
.btn-sm { padding: 7px 15px; font-size: 12.5px; }
.btn-block { width: 100%; }

/* =================== FORMS =================== */
.form-group { margin-bottom: 16px; }
label { display: block; font-size: 12.5px; font-weight: 600; color: #c7cdea; margin-bottom: 7px; }
.form-control {
  width: 100%; padding: 12px 15px; border-radius: 14px; font: inherit; color: var(--text);
  background: rgba(0, 0, 0, .45); border: 1px solid rgba(255, 255, 255, .1); transition: .2s; outline: none;
}
.form-control:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(139, 92, 246, .12); }
select.form-control option { background: #111; }
textarea.form-control { min-height: 100px; resize: vertical; }
input[type=file].form-control { padding: 9px; }
.input-icon { position: relative; }
.input-icon > i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--gold); }
.input-icon .form-control { padding-left: 44px; }
.hint { font-size: 12px; color: var(--muted); margin-top: 5px; }
.check { display: flex; gap: 10px; align-items: center; cursor: pointer; font-size: 13.5px; color: var(--text); margin: 0; font-weight: 500; }
.check input { width: 17px; height: 17px; accent-color: var(--gold); }
.switch { position: relative; display: inline-block; width: 46px; height: 26px; flex-shrink: 0; margin: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; background: rgba(255, 255, 255, .12); border-radius: 30px; transition: .25s; cursor: pointer; }
.switch span::before { content: ''; position: absolute; width: 20px; height: 20px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .25s; }
.switch input:checked + span { background: var(--gold-grad); }
.switch input:checked + span::before { transform: translateX(20px); background: #fff; }
.toggle-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px dashed rgba(255, 255, 255, .08); }
.pos-select { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pos-select input { display: none; }
.pos-select label { margin: 0; padding: 12px; text-align: center; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .03); cursor: pointer; color: var(--text); transition: .2s; }
.pos-select input:checked + label { background: var(--gold-grad); color: #fff; border-color: transparent; }

/* =================== TABLES / BADGES / ALERTS =================== */
.table-wrap { overflow-x: auto; margin: 0 -6px; }
table.table { width: 100%; border-collapse: collapse; min-width: 640px; }
.table th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); font-weight: 700; padding: 12px; border-bottom: 1px solid var(--gold-line); }
.table td { padding: 13px 12px; border-bottom: 1px solid rgba(255, 255, 255, .05); vertical-align: middle; }
.table tr:hover td { background: rgba(139, 92, 246, .03); }
.empty { text-align: center; padding: 40px 10px; color: var(--muted); }
.empty i { font-size: 40px; display: block; margin-bottom: 8px; color: var(--gold); opacity: .5; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 12px; border-radius: 30px; font-size: 11.5px; font-weight: 700; text-transform: capitalize; }
.badge-success { background: rgba(34, 197, 94, .14); color: #4ade80; }
.badge-warning { background: rgba(245, 158, 11, .15); color: #fbbf24; }
.badge-danger { background: rgba(239, 68, 68, .15); color: #f87171; }
.badge-info { background: rgba(56, 189, 248, .14); color: #7dd3fc; }
.badge-muted { background: rgba(255, 255, 255, .07); color: var(--muted); }
.badge-primary { background: var(--gold-soft); color: var(--gold); border: 1px solid var(--gold-line); }
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: 16px; margin-bottom: 20px; border: 1px solid; }
.alert i { font-size: 18px; margin-top: 1px; }
.alert-success { background: rgba(34, 197, 94, .08); border-color: rgba(34, 197, 94, .3); color: #86efac; }
.alert-error { background: rgba(239, 68, 68, .08); border-color: rgba(239, 68, 68, .3); color: #fca5a5; }
.alert-info { background: var(--gold-soft); border-color: var(--gold-line); color: #ddd6fe; }

/* =================== WIDGETS =================== */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.tabs a { padding: 8px 18px; border-radius: 30px; background: rgba(255, 255, 255, .04); border: 1px solid var(--gold-line); font-size: 13px; font-weight: 600; color: #ddd; }
.tabs a.active { background: var(--gold-grad); color: #fff; border-color: transparent; }
.progress { height: 9px; background: rgba(255, 255, 255, .07); border-radius: 20px; overflow: hidden; }
.progress > span { display: block; height: 100%; background: var(--gold-grad); border-radius: 20px; transition: width 1s; box-shadow: 0 0 12px var(--gold); }
.copy-box { display: flex; gap: 8px; align-items: center; background: rgba(0, 0, 0, .4); border: 1px dashed var(--gold-line); border-radius: 40px; padding: 5px 5px 5px 16px; }
.copy-box input { flex: 1; background: none; border: 0; color: inherit; font: inherit; font-size: 12.5px; outline: none; min-width: 0; }
.list-item { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .05); }
.list-item:last-child { border-bottom: 0; }
.list-item .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold); flex-shrink: 0; }
.list-item .grow { flex: 1; min-width: 0; }
.bars { display: flex; gap: 10px; align-items: flex-end; height: 150px; padding-top: 10px; }
.bars .bar { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.bars .bar span { width: 100%; border-radius: 10px 10px 4px 4px; background: linear-gradient(180deg, var(--cyan), var(--gold) 90%); min-height: 4px; transition: height .9s; box-shadow: 0 0 18px -6px var(--gold); }
.bars .bar small { color: var(--muted); font-size: 11px; }
.leg { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.leg > div { padding: 14px; border-radius: 16px; background: rgba(0, 0, 0, .35); border: 1px solid var(--gold-line); }
.leg b { font-size: 24px; display: block; color: var(--gold); }
.task-card { display: flex; flex-direction: column; gap: 12px; transition: .25s; }
.task-card:hover { transform: translateY(-3px); border-color: var(--gold); }
.task-card .t-ico { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; font-size: 22px; background: var(--gold-grad); color: #fff; }
.task-card .reward { font-size: 22px; font-weight: 800; }
.reward-card { text-align: center; }
.reward-card .medal { width: 74px; height: 74px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; font-size: 32px; background: rgba(255, 255, 255, .05); color: var(--muted); border: 1px solid rgba(255, 255, 255, .1); }
.reward-card.done .medal { background: var(--gold-grad); color: #fff; box-shadow: 0 0 35px -6px var(--gold); }
.reward-card.done { border-color: var(--gold); }
.pool-level { padding: 16px; border-radius: 16px; background: rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .07); }
.pool-level.done { border-color: var(--gold); background: var(--gold-soft); }
.reward-row { display: grid; grid-template-columns: 2fr .8fr 1fr 1.3fr auto auto auto auto; gap: 8px; align-items: center; margin-bottom: 10px; }
.reward-row .form-control { padding: 9px 11px; }
.banner-thumb { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--gold-line); margin: 0; }
.banner-thumb img { display: block; aspect-ratio: 12/5; object-fit: cover; width: 100%; }
.banner-thumb .check { position: absolute; left: 6px; bottom: 6px; background: rgba(0, 0, 0, .75); padding: 3px 8px; border-radius: 8px; font-size: 11px; }
.save-bar { position: sticky; bottom: 90px; margin-top: 20px; display: flex; justify-content: flex-end; z-index: 5; }
.qr-box { background: #fff; border-radius: 18px; padding: 12px; width: 210px; margin: 0 auto; box-shadow: 0 0 0 3px var(--gold-line), 0 0 40px -10px var(--gold); }
.upi-pill { display: inline-flex; gap: 8px; align-items: center; padding: 10px 18px; border-radius: 40px; background: rgba(0, 0, 0, .4); border: 1px solid var(--gold-line); font-weight: 700; color: var(--gold); }

/* banner slider */
.slider { position: relative; overflow: hidden; border-radius: 28px; border: 1px solid var(--gold-line); padding: 16px; background: linear-gradient(180deg, rgba(30, 20, 70, .45), rgba(6, 9, 20, .9)); }
.slides { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.slides::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 calc((100% - 36px) / 3); scroll-snap-align: start; aspect-ratio: 12/6; border-radius: 18px; overflow: hidden; position: relative;
  border: 2px solid var(--gold); box-shadow: 0 0 0 4px color-mix(in srgb, var(--cyan) 15%, transparent), 0 0 30px -8px var(--cyan), inset 0 0 30px rgba(139, 92, 246, .25); }
.slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slide.promo { display: flex; flex-direction: column; justify-content: center; padding: 20px 24px; background: radial-gradient(circle at 80% 20%, rgba(139, 92, 246, .35), transparent 55%), linear-gradient(135deg, #2a1660, #0b1530 60%, #050816); }
.slide.promo .big { font-size: 30px; font-weight: 900; line-height: 1.05; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: 0 0 30px rgba(139, 92, 246, .2); }
.slide.promo .tag { display: inline-block; align-self: flex-start; padding: 4px 14px; border-radius: 30px; background: var(--gold-grad); color: #fff; font-weight: 800; font-size: 12px; margin-bottom: 10px; }
.slide.promo i.bg { position: absolute; right: 16px; bottom: 6px; font-size: 90px; color: rgba(139, 92, 246, .18); }
.dots { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
.dots span { width: 8px; height: 8px; border-radius: 10px; background: rgba(255, 255, 255, .2); transition: .3s; }
.dots span.on { width: 26px; background: var(--gold); }

/* quick access */
.qa-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.qa-item { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 20px; border: 1px solid var(--gold-line); background: linear-gradient(160deg, rgba(76, 29, 149, .25), rgba(10, 14, 30, .9)); transition: .25s; }
.qa-item:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: 0 18px 40px -22px var(--gold); }
.qa-item .q-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 21px; background: var(--gold-grad); color: #fff; flex-shrink: 0; }
.qa-item b { display: block; font-size: 14.5px; }
.qa-item small { color: var(--muted); font-size: 11.5px; }
.qa-item .arrow { margin-left: auto; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--gold-line); color: var(--gold); }

.meeting-card { max-width: 440px; margin: 0 auto; text-align: center; padding: 30px 24px; border-radius: 24px; border: 1px solid var(--gold-line); background: radial-gradient(circle at 50% 0%, rgba(139, 92, 246, .18), transparent 60%), #0a0e1f; }
.meeting-card .m-ico { width: 74px; height: 74px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; font-size: 30px; background: var(--gold-grad); color: #fff; box-shadow: 0 0 40px -6px var(--gold); }
.meeting-card h3 { font-size: 20px; letter-spacing: .14em; text-transform: uppercase; }
.meeting-card p { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 8px 0 18px; }

/* crypto market */
.market-card { overflow: hidden; }
.market-card .coin { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-weight: 900; font-size: 13px; background: var(--gold-grad); color: #fff; flex-shrink: 0; }
.market-card .price { font-size: 26px; font-weight: 800; margin-top: 14px; }
.market-card .chg { font-size: 12.5px; font-weight: 700; }
.spark { display: flex; align-items: flex-end; gap: 6px; height: 60px; margin-top: 14px; }
.spark span { flex: 1; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--cyan), color-mix(in srgb, var(--gold) 60%, #000)); transition: height .8s; }
.market-card::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 60px; background: linear-gradient(180deg, transparent, rgba(139, 92, 246, .06)); clip-path: polygon(0 80%, 15% 50%, 30% 70%, 45% 35%, 60% 60%, 75% 30%, 90% 55%, 100% 40%, 100% 100%, 0 100%); }

/* binary tree */
.tree-wrap { overflow-x: auto; padding: 10px 0 20px; }
.tree { display: flex; justify-content: center; min-width: max-content; }
.tree ul { padding-top: 24px; position: relative; display: flex; justify-content: center; }
.tree li { list-style: none; text-align: center; position: relative; padding: 24px 6px 0; flex: 1; }
.tree li::before, .tree li::after { content: ''; position: absolute; top: 0; right: 50%; border-top: 2px solid var(--gold-line); width: 50%; height: 24px; }
.tree li::after { right: auto; left: 50%; border-left: 2px solid var(--gold-line); }
.tree li:only-child::after, .tree li:only-child::before { display: none; }
.tree li:only-child { padding-top: 0; }
.tree li:first-child::before, .tree li:last-child::after { border: 0 none; }
.tree li:last-child::before { border-right: 2px solid var(--gold-line); border-radius: 0 8px 0 0; }
.tree li:first-child::after { border-radius: 8px 0 0 0; }
.tree ul ul::before { content: ''; position: absolute; top: 0; left: 50%; border-left: 2px solid var(--gold-line); height: 24px; }
.node { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 12px; border-radius: 16px; background: #0d1222; border: 1px solid var(--gold-line); min-width: 116px; transition: .2s; }
.node:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 10px 30px -15px var(--gold); }
.node .avatar { width: 42px; height: 42px; }
.node.inactive .avatar { background: linear-gradient(135deg, #64748b, #334155); color: #fff; }
.node.empty-node { opacity: .45; border-style: dashed; }
.node .nid { font-size: 12px; font-weight: 700; color: var(--gold); }
.node .nname { font-size: 11px; color: var(--muted); max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.node .ncount { font-size: 10px; color: var(--muted); }

/* =====================================================================
   WEBSITE + AUTH  (neon navy theme like the reference landing page)
   ===================================================================== */
body.site {
  font-family: 'Inter', 'Poppins', system-ui, sans-serif; background: #050816;
  background-image: radial-gradient(700px 600px at 0% 30%, rgba(139, 92, 246, .28), transparent 60%),
                    radial-gradient(700px 600px at 100% 90%, rgba(34, 211, 238, .16), transparent 60%);
}
.stars { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.stars i { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: #67e8f9; opacity: .5; animation: twinkle 4s infinite; }
@keyframes twinkle { 50% { opacity: .1; transform: translateY(-8px); } }
.site-nav { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 14vw; background: rgba(5, 8, 22, .8); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255, 255, 255, .07); }
.site-nav .links { display: flex; gap: 34px; font-weight: 600; font-size: 14.5px; color: #dbe4ff; }
.site-nav .links a:hover { color: #67e8f9; }
.site-logo { display: flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 800; }
.site-logo .lg { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; color: #fff; overflow: hidden; background: linear-gradient(135deg, var(--gold), var(--cyan)); box-shadow: 0 0 25px -5px var(--gold); }
.site-logo .lg img { width: 100%; height: 100%; object-fit: cover; }
.site-logo span { color: var(--cyan); }
.nbtn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 12px; font-weight: 700; font-size: 14px; border: 1px solid rgba(103, 232, 249, .35); background: rgba(14, 30, 60, .7); color: #fff; box-shadow: 0 0 25px -10px var(--cyan); transition: .2s; cursor: pointer; }
.nbtn:hover { border-color: #67e8f9; transform: translateY(-1px); }
.nbtn.fill { background: linear-gradient(90deg, var(--gold), var(--cyan)); border: 0; padding: 15px 30px; border-radius: 40px; font-size: 16px; box-shadow: 0 15px 40px -12px var(--gold); }
.nbtn.dark { background: #0b0d18; border-color: rgba(255, 255, 255, .15); padding: 15px 30px; border-radius: 40px; font-size: 16px; }
.site-hero { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; padding: 130px 18vw 110px; }
.site-pill { display: inline-flex; align-items: center; gap: 9px; padding: 8px 16px; border-radius: 30px; border: 1px solid rgba(139, 92, 246, .5); background: rgba(76, 29, 149, .25); font-size: 11.5px; font-weight: 700; letter-spacing: .14em; color: #c4b5fd; }
.site-pill::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 10px #22c55e; }
.site-hero h1 { font-size: clamp(46px, 5.4vw, 84px); font-weight: 900; letter-spacing: -.05em; line-height: 1.02; margin: 30px 0 24px; }
.site-hero h1 .g { background: linear-gradient(90deg, #fff 0%, #c4b5fd 35%, var(--gold) 55%, var(--cyan) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.site-hero p { color: #9aa4c7; font-size: 16.5px; line-height: 1.85; max-width: 580px; margin-bottom: 36px; }
.tilt { transform: perspective(1200px) rotateY(-9deg) rotateX(4deg); transition: .5s; }
.tilt:hover { transform: none; }
.dash-card { border-radius: 30px; padding: 26px; background: linear-gradient(160deg, #1b2030, #0c0f19); border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 40px 80px -30px #000, 0 0 60px -30px var(--cyan); }
.dash-card .lbl { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; color: #aab3d4; }
.dash-card .idx { font-size: 44px; font-weight: 900; color: #67e8f9; letter-spacing: -.03em; text-shadow: 0 0 30px rgba(34, 211, 238, .45); }
.dash-chart { height: 145px; border-radius: 18px; margin: 20px 0; border: 1px solid rgba(255, 255, 255, .08); background: linear-gradient(180deg, #121827, #0c1220); position: relative; overflow: hidden; }
.dash-chart svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mini-stats div { text-align: center; padding: 16px 6px; border-radius: 16px; background: #161b28; border: 1px solid rgba(255, 255, 255, .06); }
.mini-stats b { display: block; font-size: 18px; }
.mini-stats small { font-size: 9.5px; letter-spacing: .12em; color: #7d87a8; text-transform: uppercase; }
.green-pill { padding: 4px 10px; border-radius: 30px; background: rgba(34, 197, 94, .12); border: 1px solid rgba(34, 197, 94, .35); color: #4ade80; font-size: 10.5px; font-weight: 800; }
.site-section { position: relative; z-index: 1; padding: 80px 14vw; }
.site-section .kicker { text-align: center; font-size: 12px; font-weight: 800; letter-spacing: .25em; color: #67e8f9; text-transform: uppercase; }
.site-section h2 { text-align: center; font-size: clamp(30px, 3.4vw, 48px); font-weight: 900; letter-spacing: -.03em; margin: 10px 0 12px; }
.site-section .lead { text-align: center; color: #8f99bd; max-width: 640px; margin: 0 auto 46px; }
.glass { border-radius: 24px; padding: 26px; background: linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015)); border: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(10px); transition: .3s; position: relative; overflow: hidden; }
.glass:hover { transform: translateY(-6px); border-color: rgba(103, 232, 249, .5); box-shadow: 0 25px 60px -30px var(--cyan); }
.glass .gi { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 24px; color: #fff; background: linear-gradient(135deg, var(--gold), var(--cyan)); margin-bottom: 18px; box-shadow: 0 12px 30px -10px var(--gold); }
.glass h3 { font-size: 19px; margin-bottom: 8px; }
.glass p { color: #8f99bd; font-size: 14px; }
.glass .table th { color: #67e8f9; border-color: rgba(255, 255, 255, .1); }
.coin-price { font-size: 30px; font-weight: 900; margin: 14px 0 4px; }
.site-cta { margin: 40px 14vw 80px; padding: 60px 30px; border-radius: 34px; text-align: center; position: relative; z-index: 1; background: radial-gradient(circle at 20% 0%, rgba(139, 92, 246, .5), transparent 55%), radial-gradient(circle at 90% 100%, rgba(34, 211, 238, .35), transparent 55%), #0b0f22; border: 1px solid rgba(255, 255, 255, .1); }
.site-footer { position: relative; z-index: 1; padding: 30px 14vw; border-top: 1px solid rgba(255, 255, 255, .07); color: #7d87a8; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13.5px; }
.site-fab { position: fixed; right: 18px; bottom: 30px; z-index: 40; display: flex; flex-direction: column; gap: 14px; }
.site-fab a { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 21px; background: #0d1222; border: 1px solid rgba(255, 255, 255, .15); color: #fff; transition: .2s; }
.site-fab a:hover { border-color: #67e8f9; box-shadow: 0 0 25px -6px var(--cyan); }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: 300px; z-index: 80; background: #0a0e1f; border-left: 1px solid rgba(255, 255, 255, .1); padding: 26px; transform: translateX(100%); transition: .3s; }
.drawer.open { transform: none; }
.drawer a { display: flex; gap: 12px; align-items: center; padding: 13px 4px; border-bottom: 1px solid rgba(255, 255, 255, .06); color: #dbe4ff; font-weight: 500; }

/* login / register card */
.auth-wrap { position: relative; z-index: 1; min-height: 100vh; display: grid; place-items: center; padding: 40px 18px; }
.auth-card { width: 100%; max-width: 1050px; display: grid; grid-template-columns: 1.15fr 1fr; border-radius: 34px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 50px 100px -40px #000; }
.auth-left { position: relative; padding: 60px 56px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; background: radial-gradient(circle at 0% 0%, rgba(139, 92, 246, .45), transparent 55%), radial-gradient(circle at 100% 100%, rgba(34, 211, 238, .2), transparent 60%), #0d0f2a; }
.auth-left::before { content: ''; position: absolute; width: 420px; height: 420px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .07); right: -200px; top: -180px; }
.auth-left::after { content: ''; position: absolute; width: 260px; height: 260px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .06); left: -130px; bottom: -130px; }
.auth-left > * { position: relative; z-index: 1; }
.auth-left .app-ico { width: 82px; height: 82px; border-radius: 22px; display: grid; place-items: center; font-size: 36px; color: #fff; overflow: hidden; background: linear-gradient(135deg, var(--gold), var(--cyan)); box-shadow: 0 20px 45px -15px var(--gold); }
.auth-left .app-ico img { width: 100%; height: 100%; object-fit: cover; }
.auth-left h2 { font-size: 52px; font-weight: 900; letter-spacing: -.04em; margin: 26px 0 16px; background: linear-gradient(90deg, #fff, #c4b5fd 60%, #67e8f9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.auth-left p { color: #a7b0d4; line-height: 1.8; font-size: 15.5px; }
.chip-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 28px 0; }
.chip { display: inline-flex; gap: 7px; align-items: center; padding: 9px 15px; border-radius: 30px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .04); font-size: 13px; }
.chip i { color: #67e8f9; }
.mini-coins { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mini-coins div { padding: 16px 14px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .03); font-size: 11px; color: #8f99bd; }
.mini-coins b { display: block; color: #fff; font-size: 14px; margin: 6px 0 2px; }
.mini-coins span { color: #67e8f9; }
.auth-right { padding: 40px 50px; background: #060912; position: relative; }
.auth-right .back { position: absolute; top: 26px; right: 30px; font-size: 13px; color: #aab3d4; }
.auth-logo { width: 96px; height: 96px; margin: 10px auto 18px; border-radius: 50%; display: grid; place-items: center; font-size: 38px; color: #fff; overflow: hidden; background: #0b1020; border: 3px solid transparent; background-image: linear-gradient(#0b1020, #0b1020), linear-gradient(135deg, var(--gold), var(--cyan)); background-origin: border-box; background-clip: padding-box, border-box; box-shadow: 0 0 40px -10px var(--gold); }
.auth-logo img { width: 100%; height: 100%; object-fit: cover; }
.premium-badge { display: table; margin: 0 auto; padding: 7px 16px; border-radius: 30px; border: 1px solid rgba(103, 232, 249, .3); background: rgba(34, 211, 238, .07); color: #67e8f9; font-size: 11px; font-weight: 800; letter-spacing: .16em; }
.auth-right h1 { text-align: center; font-size: 32px; margin: 18px 0 8px; font-weight: 800; }
.auth-right .sub { text-align: center; color: #8f99bd; font-size: 14px; margin-bottom: 30px; }
.n-input { position: relative; margin-bottom: 18px; }
.n-input > i { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: #67e8f9; }
.n-input input, .n-input select { width: 100%; padding: 17px 48px 17px 52px; border-radius: 16px; background: #0d1222; border: 1px solid rgba(255, 255, 255, .12); color: #fff; font: inherit; font-size: 15px; outline: none; transition: .2s; }
.n-input input:focus { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(34, 211, 238, .12); }
.n-input .eye { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: #8f99bd; cursor: pointer; }
.n-btn { width: 100%; padding: 17px; border: 0; border-radius: 16px; font: inherit; font-weight: 800; font-size: 16px; color: #fff; cursor: pointer; background: linear-gradient(90deg, var(--gold), var(--cyan)); box-shadow: 0 18px 40px -15px var(--gold); transition: .2s; }
.n-btn:hover { filter: brightness(1.1); transform: translateY(-1px); }
.auth-links { display: flex; justify-content: space-between; margin: 20px 0; font-size: 13.5px; color: #aab3d4; }
.divider { display: flex; align-items: center; gap: 12px; color: #4b5578; font-size: 11px; letter-spacing: .14em; margin: 20px 0; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: rgba(255, 255, 255, .08); }
.auth-box-link { text-align: center; padding: 16px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .08); font-size: 14px; color: #aab3d4; }
.auth-box-link a { color: #67e8f9; font-weight: 700; }
.site .pos-select label { border-radius: 16px; background: #0d1222; padding: 14px; }
.site .pos-select input:checked + label { background: linear-gradient(90deg, var(--gold), var(--cyan)); color: #fff; }
.site .check input { accent-color: var(--cyan); }
.site .alert-info { background: rgba(34, 211, 238, .08); border-color: rgba(34, 211, 238, .3); color: #a5f3fc; }

/* =================== RESPONSIVE =================== */
@media (max-width: 1280px) { .g-4, .qa-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .site-hero { padding: 100px 8vw; } .site-section, .site-nav, .site-footer { padding-left: 6vw; padding-right: 6vw; } .site-cta { margin-left: 6vw; margin-right: 6vw; } }
@media (max-width: 1024px) {
  .sidebar { transform: translateX(-100%); box-shadow: 30px 0 60px rgba(0, 0, 0, .7); }
  .sidebar.open { transform: none; }
  .main { margin-left: 0; }
  .g-main, .g-3 { grid-template-columns: 1fr; }
  .slide { flex-basis: 85%; }
  .site-hero { grid-template-columns: 1fr; padding-top: 60px; }
  .site-nav .links { display: none; }
  .auth-card { grid-template-columns: 1fr; }
  .auth-left { display: none; }
  .reward-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .g-2, .g-4, .qa-grid { grid-template-columns: 1fr; }
  .content { padding: 18px 14px 130px; }
  .topbar { padding: 0 12px; }
  .brand-sub, .hide-sm { display: none; }
  .wallet-amount { font-size: 28px; }
  .auth-right { padding: 40px 22px; }
  .site-hero h1 { font-size: 46px; }
  .fab-stack { bottom: 100px; right: 10px; } .fab { width: 46px; height: 46px; font-size: 19px; }
}
.site .spark span { background: linear-gradient(180deg, #67e8f9, #4c1d95); }
.site .market-card::after { background: linear-gradient(180deg, transparent, rgba(34, 211, 238, .08)); }
.site .badge-primary { background: rgba(34, 211, 238, .08); color: #67e8f9; border-color: rgba(34, 211, 238, .3); }
.site .text-success { color: #4ade80; }
.site .alert { border-radius: 14px; }

.upload-box { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 150px; padding: 18px; border-radius: 18px; border: 2px dashed var(--gold-line); background: rgba(0, 0, 0, .3); cursor: pointer; text-align: center; transition: .2s; }
.upload-box:hover { border-color: var(--gold); background: var(--gold-soft); }
.upload-box span { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.upload-box i { font-size: 34px; color: var(--cyan); }
.upload-box small { color: var(--muted); font-size: 12px; }
.upload-box img { max-height: 220px; border-radius: 12px; }
/* installer */
.install-card { width: 100%; max-width: 1000px; border-radius: 30px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .1); background: #070b18; box-shadow: 0 50px 100px -40px #000; position: relative; z-index: 1; }
.install-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; padding: 24px 34px; background: radial-gradient(circle at 0% 0%, color-mix(in srgb, var(--gold) 40%, transparent), transparent 60%), #0d0f2a; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.install-head .premium-badge { margin: 0; }
.install-steps { display: flex; gap: 8px; padding: 18px 34px; overflow-x: auto; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.install-steps div { display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 30px; font-size: 13px; color: #6b7499; white-space: nowrap; }
.install-steps span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; background: #161b2e; }
.install-steps .now { background: rgba(255, 255, 255, .05); color: #fff; }
.install-steps .now span, .install-steps .done span { background: var(--neon-grad); color: #fff; }
.install-steps .done { color: #a5f3fc; }
.install-body { padding: 34px; }
.i-title { font-size: 30px; font-weight: 900; letter-spacing: -.02em; }
.i-sub { color: #8f99bd; margin: 8px 0 22px; }
.i-h { font-size: 15px; margin-bottom: 10px; color: #c4b5fd; }
.i-row { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); font-size: 14px; }
.i-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.site label { color: #aab3d4; }

/* ---- v1.1: license warnings, staff & roles ---- */
.alert-warning { background: rgba(245, 158, 11, .08); border-color: rgba(245, 158, 11, .3); color: #fcd34d; }
.badge-muted { background: rgba(255, 255, 255, .07); color: var(--muted); }
.perm-table td:first-child { min-width: 220px; }
.perm-table .lvls { display: flex; gap: 6px; flex-wrap: wrap; }
.perm-table .lvl { position: relative; }
.perm-table .lvl input { position: absolute; opacity: 0; }
.perm-table .lvl span { display: inline-block; padding: 6px 12px; border-radius: 30px; border: 1px solid rgba(255, 255, 255, .12); font-size: 12px; font-weight: 600; cursor: pointer; color: var(--muted); }
.perm-table .lvl input:checked + span { color: #fff; border-color: transparent; background: var(--gold-grad); }
.perm-table .lvl input[value="none"]:checked + span { background: rgba(255, 255, 255, .1); }
.perm-table .lvl input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.perm-table .lvl.na span { visibility: hidden; }
.content.readonly form[method="POST"] button[disabled], .content.readonly form[method="post"] button[disabled] { opacity: .45; cursor: not-allowed; }
.access-pick { display: grid; gap: 10px; }
.access-pick label { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 14px; cursor: pointer; }
.access-pick label:has(input:checked) { border-color: var(--gold); background: var(--gold-soft); }
.access-pick input { margin-top: 3px; accent-color: var(--gold); }
