:root {
  --bg: #0b1020;
  --card: #121a2f;
  --card-2: #18213a;
  --text: #eef2ff;
  --muted: #94a3b8;
  --accent: #7c3aed;
  --accent-2: #6d28d9;
  --danger: #ef4444;
  --success: #1dbe58;
  --border: #24304f;
  --funpay: #38bdf8;
  --funpay-2: #0ea5e9;
  --funpay-glow: rgba(56, 189, 248, 0.45);
  --deleted: #f59e0b;
  --deleted-2: #d97706;
  --deleted-glow: rgba(245, 158, 11, 0.42);
}

* { box-sizing: border-box; }

.hidden { display: none !important; }

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, sans-serif;
  background: linear-gradient(180deg, #0b1020 0%, #111827 100%);
  color: var(--text);
  min-height: 100vh;
}

.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px;
}

.page:has(.ocean-dashboard:not(.hidden)) {
  max-width: 1280px;
}

.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, #6d28d9, #7c3aed);
  border-radius: 18px;
  padding: 24px 28px;
  margin-bottom: 20px;
}

.hero h1 {
  margin: 0 0 6px;
  font-size: 32px;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-logo {
  display: block;
  width: 44px;
  height: 44px;
  max-width: 44px;
  max-height: 44px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.auth-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.site-logo-auth {
  width: 56px;
  height: 56px;
  max-width: 56px;
  max-height: 56px;
  border-radius: 14px;
}

.auth-brand h1 {
  margin: 0;
}

.hero p {
  margin: 0;
  color: #ede9fe;
}

.hero-badge {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 13px;
  white-space: nowrap;
}

.hero-download-btn,
a.hero-download-btn,
.hero-actions .hero-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #ffffff 0%, #ede9fe 100%);
  color: #4c1d95 !important;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none !important;
  white-space: nowrap;
  box-shadow: 0 8px 22px rgba(49, 46, 129, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.hero-download-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(91, 33, 182, 0.12);
  color: #5b21b6;
  font-size: 14px;
  line-height: 1;
  font-weight: 800;
}

.hero-download-btn:hover,
a.hero-download-btn:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #ffffff 0%, #f5f3ff 100%);
  box-shadow: 0 10px 26px rgba(49, 46, 129, 0.34);
  color: #4c1d95 !important;
  text-decoration: none !important;
}

.hero-download-btn.is-disabled,
.download-checker-btn.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
  transform: none;
}

.auth-card .hero-download-btn.is-disabled {
  opacity: 0.5;
  background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
  border-color: rgba(255, 255, 255, 0.08);
}

.auth-card .hero-download-btn {
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 22px rgba(91, 33, 182, 0.35);
}

.auth-card .hero-download-icon {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.auth-card .hero-download-btn:hover {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  color: #fff !important;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.auth-top-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}

.auth-top-row .auth-brand {
  margin-bottom: 0;
}

.auth-top-row .hero-download-btn {
  margin-top: 4px;
  flex-shrink: 0;
}

.tabs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.tabs-main {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tab {
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 18px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.tab:hover {
  border-color: rgba(124, 58, 237, 0.35);
}

.tab.active {
  background: var(--accent);
  border-color: var(--accent);
}

.tab-cabinet {
  margin-left: auto;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.22), rgba(91, 33, 182, 0.12));
  border-color: rgba(124, 58, 237, 0.35);
}

.tab-cabinet.active {
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
  border-color: #7c3aed;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.25);
}

.tab.tab-funpay {
  border-color: rgba(56, 189, 248, 0.35);
  color: #bae6fd;
}

.tab.tab-funpay.active {
  background: linear-gradient(135deg, #0284c7, #38bdf8);
  border-color: var(--funpay);
  color: #fff;
  box-shadow: 0 0 18px var(--funpay-glow), 0 0 36px rgba(14, 165, 233, 0.2);
}

.tab.tab-funpay.has-hits {
  animation: funpay-tab-pulse 2.4s ease-in-out infinite;
}

.tab.tab-deleted {
  border-color: rgba(245, 158, 11, 0.35);
  color: #fcd34d;
}

.tab.tab-deleted.active {
  background: linear-gradient(135deg, #d97706, #f59e0b);
  border-color: var(--deleted);
  color: #fff;
  box-shadow: 0 0 18px var(--deleted-glow), 0 0 36px rgba(217, 119, 6, 0.2);
}

.tab.tab-deleted.has-hits {
  animation: deleted-tab-pulse 2.4s ease-in-out infinite;
}

@keyframes deleted-tab-pulse {
  0%, 100% { box-shadow: 0 0 10px var(--deleted-glow); }
  50% { box-shadow: 0 0 22px var(--deleted-glow), 0 0 40px rgba(217, 119, 6, 0.35); }
}

.tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  margin-left: 6px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 11px;
  font-weight: 700;
}

.tab-badge.hidden { display: none; }

@keyframes funpay-tab-pulse {
  0%, 100% { box-shadow: 0 0 10px var(--funpay-glow); }
  50% { box-shadow: 0 0 22px var(--funpay-glow), 0 0 40px rgba(14, 165, 233, 0.35); }
}

.panel { display: none; }
.panel.active { display: block; }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  margin-bottom: 16px;
}

.card.info ol {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.7;
}

.muted { color: var(--muted); }

.btn {
  border: none;
  border-radius: 12px;
  padding: 12px 18px;
  font-size: 14px;
  cursor: pointer;
}

.btn.primary {
  background: var(--accent);
  color: white;
}

.btn.primary:hover { background: var(--accent-2); }

.btn.ghost {
  background: var(--card-2);
  color: var(--text);
  border: 1px solid var(--border);
}

.key-box {
  margin-top: 18px;
  padding: 18px;
  border-radius: 14px;
  background: var(--card-2);
  border: 1px dashed #5b21b6;
}

.key-box.hidden { display: none; }

.label {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.key-value {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 8px 0 12px;
}

.key-meta {
  display: flex;
  gap: 16px;
  color: var(--muted);
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.countdown { color: #fbbf24; }

.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.toolbar-actions {
  display: flex;
  gap: 10px;
}

.toolbar input {
  background: var(--card-2);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 10px;
  padding: 10px 12px;
  min-width: 220px;
}

.logs-list {
  display: grid;
  gap: 12px;
}

.log-item {
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.log-item:hover {
  transform: translateY(-1px);
  border-color: #6d28d9;
}

.log-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.log-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.log-users {
  font-size: 18px;
  font-weight: 700;
}

.btn-delete {
  width: 30px;
  height: 30px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.btn-delete:hover {
  color: #fff;
  border-color: var(--danger);
  background: rgba(239, 68, 68, 0.15);
}

.log-meta {
  color: var(--muted);
  font-size: 13px;
}

.verdict-panel {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.verdict-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.verdict-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.verdict-chips.readonly .verdict-chip {
  pointer-events: none;
  opacity: 0.95;
}

.verdict-chip {
  border: 1px solid var(--border);
  background: var(--card-2);
  color: var(--text);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.verdict-chip:hover {
  transform: translateY(-1px);
  border-color: #6d28d9;
}

.verdict-chip.active {
  border-color: transparent;
  color: #fff;
}

.verdict-chip-cheats_on_check.active,
.verdict-chip-cheat_storage.active {
  background: linear-gradient(135deg, #dc2626, #991b1b);
}

.verdict-chip-forbidden_mod.active {
  background: linear-gradient(135deg, #ea580c, #c2410c);
}

.verdict-chip-takker_xameleon.active {
  background: linear-gradient(135deg, #9333ea, #6b21a8);
}

.verdict-chip-funpay_playerok.active {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.verdict-chip-clean.active {
  background: linear-gradient(135deg, #16a34a, #15803d);
}

.verdict-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.verdict-status {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.verdict-done {
  color: #86efac;
  font-size: 13px;
  font-weight: 600;
}

.verdict-pending {
  color: #fbbf24;
  font-size: 13px;
  font-weight: 600;
}

.verdict-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.verdict-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}

.verdict-badge.verdict-cheats_on_check,
.verdict-badge.verdict-cheat_storage {
  background: #dc2626;
}

.verdict-badge.verdict-forbidden_mod {
  background: #ea580c;
}

.verdict-badge.verdict-takker_xameleon {
  background: #9333ea;
}

.verdict-badge.verdict-funpay_playerok {
  background: #2563eb;
}

.verdict-badge.verdict-clean {
  background: #16a34a;
}

.verdict-pending-badge {
  background: rgba(251, 191, 36, 0.18);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.35);
}

.hwid-lookup {
  margin-bottom: 16px;
}

.hwid-lookup-card {
  background: linear-gradient(135deg, rgba(109, 40, 217, 0.16), rgba(37, 99, 235, 0.12));
  border: 1px solid rgba(109, 40, 217, 0.35);
  border-radius: 16px;
  padding: 16px 18px;
}

.hwid-lookup-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.hwid-code {
  display: inline-block;
  margin-top: 6px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.25);
  color: #c4b5fd;
  font-size: 13px;
  word-break: break-all;
}

.hwid-lookup-stats {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
}

.hwid-account-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.hwid-account-chip,
.hwid-recent-chip {
  border: 1px solid var(--border);
  background: var(--card-2);
  color: var(--text);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.hwid-account-chip:hover,
.hwid-recent-chip:hover {
  border-color: #6d28d9;
}

.hwid-recent {
  margin-bottom: 14px;
}

.hwid-recent-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.hwid-recent-chip {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  border-radius: 12px;
  max-width: 280px;
}

.hwid-recent-id {
  color: #c4b5fd;
  font-size: 12px;
}

.hwid-recent-accounts {
  color: var(--muted);
  font-size: 12px;
}

.hwid-linked {
  margin: 12px 0 4px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(109, 40, 217, 0.1);
  border: 1px solid rgba(109, 40, 217, 0.25);
}

.btn.small {
  margin-top: 10px;
  padding: 8px 12px;
  font-size: 12px;
}

.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.badge-danger { background: rgba(239,68,68,0.15); color: #fca5a5; }
.badge-success { background: rgba(34,197,94,0.15); color: #86efac; }

.empty {
  color: var(--muted);
  text-align: center;
  padding: 40px 12px;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100;
}

.modal.hidden { display: none; }

.modal-content {
  width: min(900px, 100%);
  max-height: 85vh;
  overflow: auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  position: relative;
}

.modal-close {
  position: absolute;
  right: 14px;
  top: 10px;
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 28px;
  cursor: pointer;
}

.threat {
  border-top: 1px solid var(--border);
  padding: 12px 0;
}

.threat:first-child { border-top: none; }

.threat-title {
  font-weight: 700;
  margin-bottom: 4px;
}

.threat-path {
  color: var(--muted);
  font-size: 13px;
  word-break: break-all;
}

.check-flow {
  margin-top: 20px;
  display: grid;
  gap: 16px;
}

.check-flow.hidden { display: none; }

.step {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: start;
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.small { font-size: 13px; }

.status-pill {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
  margin: 8px 0;
}

.status-pill.waiting { background: rgba(251,191,36,0.15); color: #fcd34d; }
.status-pill.done { background: rgba(34,197,94,0.15); color: #86efac; }
.status-pill.error { background: rgba(239,68,68,0.15); color: #fca5a5; }

.findings-card {
  margin-top: 0;
}

.findings-card h2 {
  margin-top: 0;
}

.check-result {
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  margin-top: 12px;
}

.check-result.hidden { display: none; }

.result-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.result-player {
  font-size: 24px;
  font-weight: 700;
}

.result-badge {
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
}

.result-badge.clean { background: rgba(34,197,94,0.15); color: #86efac; }
.result-badge.danger { background: rgba(239,68,68,0.15); color: #fca5a5; }

.result-meta {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 14px;
}

.findings-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 12px;
}

.findings-tab {
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 9px 14px;
  cursor: pointer;
  font-size: 13px;
}

.findings-tab.active {
  background: var(--accent);
  border-color: var(--accent);
}

.findings-tab-funpay {
  border-color: rgba(56, 189, 248, 0.35);
  color: #bae6fd;
}

.findings-tab-funpay.active {
  background: linear-gradient(135deg, #0284c7, #38bdf8);
  border-color: var(--funpay);
  color: #fff;
  box-shadow: 0 0 14px var(--funpay-glow);
}

.findings-tab-funpay.has-hits {
  animation: funpay-tab-pulse 2.4s ease-in-out infinite;
}

.findings-tab-deleted {
  border-color: rgba(245, 158, 11, 0.35);
  color: #fcd34d;
}

.findings-tab-deleted.active {
  background: linear-gradient(135deg, #d97706, #f59e0b);
  border-color: var(--deleted);
  color: #fff;
  box-shadow: 0 0 14px var(--deleted-glow);
}

.findings-tab-deleted.has-hits {
  animation: deleted-tab-pulse 2.4s ease-in-out infinite;
}

.findings-tab-browser {
  border-color: rgba(167, 139, 250, 0.35);
  color: #ddd6fe;
}

.findings-tab-browser.active {
  background: linear-gradient(135deg, #6d28d9, #8b5cf6);
  border-color: #a78bfa;
  color: #fff;
  box-shadow: 0 0 14px rgba(167, 139, 250, 0.35);
}

.findings-tab-browser.has-hits {
  animation: browser-tab-pulse 2.4s ease-in-out infinite;
}

@keyframes browser-tab-pulse {
  0%, 100% { box-shadow: 0 0 10px rgba(167, 139, 250, 0.3); }
  50% { box-shadow: 0 0 22px rgba(167, 139, 250, 0.45); }
}

.findings-view {
  display: none;
}

.findings-view.active {
  display: block;
}

.findings-empty {
  color: var(--muted);
  text-align: center;
  padding: 24px 12px;
  border: 1px dashed var(--border);
  border-radius: 12px;
}

.funpay-refs.compact {
  margin-bottom: 12px;
  padding: 12px;
}

.browser-hint {
  margin: 0 0 10px;
}

.browser-hits {
  display: grid;
  gap: 10px;
  max-height: 420px;
  overflow: auto;
}

.browser-hit {
  border: 1px solid rgba(167, 139, 250, 0.28);
  border-left: 4px solid #8b5cf6;
  border-radius: 12px;
  padding: 12px;
  background: linear-gradient(90deg, rgba(109, 40, 217, 0.1), rgba(15, 23, 42, 0.92));
}

.browser-hit-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}

.browser-hit-lvl {
  font-size: 11px;
  color: var(--muted);
}

.browser-hit-title {
  color: #c4b5fd;
  font-size: 13px;
  margin-bottom: 6px;
}

.browser-hit-url {
  display: block;
  color: #a78bfa;
  font-size: 12px;
  word-break: break-all;
  text-decoration: none;
  margin-bottom: 4px;
}

.browser-hit-url:hover { text-decoration: underline; }

.browser-hit-meta {
  color: var(--muted);
  font-size: 12px;
}

.result-threats {
  display: grid;
  gap: 10px;
  max-height: 420px;
  overflow: auto;
}

.threat-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  background: #10182b;
}

.threat-card.lvl-critical { border-left: 4px solid #ef4444; }
.threat-card.lvl-high { border-left: 4px solid #f97316; }
.threat-card.lvl-medium { border-left: 4px solid #eab308; }
.threat-card.lvl-low { border-left: 4px solid #22c55e; }

.threat-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.threat-lvl {
  font-size: 11px;
  color: var(--muted);
}

.threat-path {
  color: var(--muted);
  font-size: 12px;
  word-break: break-all;
  margin-bottom: 4px;
}

.funpay-card {
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 0 28px rgba(56, 189, 248, 0.12);
}

.funpay-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.funpay-hero h2 {
  margin: 0 0 6px;
  color: #e0f2fe;
}

.funpay-glow-badge {
  min-width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  color: #7dd3fc;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.funpay-glow-badge.active {
  color: #fff;
  background: linear-gradient(135deg, #0284c7, #38bdf8);
  box-shadow: 0 0 24px var(--funpay-glow);
  animation: funpay-tab-pulse 2.4s ease-in-out infinite;
}

.funpay-refs {
  margin-bottom: 20px;
  padding: 16px;
  border-radius: 14px;
  background: rgba(14, 165, 233, 0.06);
  border: 1px solid rgba(56, 189, 248, 0.2);
}

.funpay-ref-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.funpay-ref {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(56, 189, 248, 0.25);
  background: #0f172a;
}

.funpay-ref img {
  display: block;
  width: 100%;
  height: auto;
}

.funpay-ref figcaption {
  padding: 8px 10px;
  font-size: 12px;
  color: #7dd3fc;
  text-align: center;
}

.funpay-result {
  margin-top: 8px;
}

.funpay-result.hidden { display: none; }

.funpay-player-bar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: end;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.funpay-player {
  font-size: 22px;
  font-weight: 700;
}

.funpay-meta {
  color: var(--muted);
  font-size: 13px;
}

.funpay-hits {
  display: grid;
  gap: 10px;
  max-height: 420px;
  overflow: auto;
}

.funpay-hit {
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-left: 4px solid var(--funpay);
  border-radius: 12px;
  padding: 14px;
  background: linear-gradient(90deg, rgba(14, 165, 233, 0.1), rgba(15, 23, 42, 0.9));
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.08);
}

.funpay-hit-top {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 8px;
}

.funpay-hit-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, #0284c7, #38bdf8);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 12px var(--funpay-glow);
}

.funpay-hit-keyword {
  color: #7dd3fc;
  font-size: 12px;
  margin-top: 4px;
}

.funpay-hit-url {
  display: block;
  color: #93c5fd;
  font-size: 12px;
  word-break: break-all;
  text-decoration: none;
  margin-bottom: 6px;
}

.funpay-hit-url:hover { text-decoration: underline; }

.funpay-hit-meta {
  color: var(--muted);
  font-size: 12px;
}

.funpay-empty {
  color: var(--muted);
  text-align: center;
  padding: 28px 12px;
  border: 1px dashed rgba(56, 189, 248, 0.25);
  border-radius: 12px;
  margin-top: 8px;
}

.deleted-card {
  border-color: rgba(245, 158, 11, 0.35);
  box-shadow: 0 0 28px rgba(245, 158, 11, 0.1);
}

.deleted-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.deleted-hero h2 {
  margin: 0 0 6px;
  color: #fef3c7;
}

.deleted-glow-badge {
  min-width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  color: #fcd34d;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.deleted-glow-badge.active {
  color: #fff;
  background: linear-gradient(135deg, #d97706, #f59e0b);
  box-shadow: 0 0 24px var(--deleted-glow);
  animation: deleted-tab-pulse 2.4s ease-in-out infinite;
}

.deleted-info {
  margin-bottom: 20px;
  padding: 16px;
  border-radius: 14px;
  background: rgba(245, 158, 11, 0.06);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.deleted-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.deleted-info-item {
  padding: 12px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(245, 158, 11, 0.15);
}

.deleted-info-item strong {
  display: block;
  color: #fcd34d;
  margin-bottom: 6px;
  font-size: 13px;
}

.deleted-info-item span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.deleted-result.hidden { display: none; }

.deleted-player-bar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: end;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.deleted-player {
  font-size: 22px;
  font-weight: 700;
}

.deleted-meta {
  color: var(--muted);
  font-size: 13px;
}

.deleted-section {
  margin-bottom: 18px;
}

.deleted-section h3 {
  margin: 0 0 10px;
  font-size: 15px;
  color: #fcd34d;
}

.deleted-hits {
  display: grid;
  gap: 10px;
  max-height: 360px;
  overflow: auto;
}

.deleted-hit {
  border: 1px solid rgba(245, 158, 11, 0.28);
  border-left: 4px solid var(--deleted);
  border-radius: 12px;
  padding: 14px;
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.08), rgba(15, 23, 42, 0.92));
}

.deleted-hit-journal {
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.08);
}

.deleted-hit-top {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.deleted-hit-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(245, 158, 11, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
}

.deleted-hit-body { min-width: 0; flex: 1; }

.deleted-hit-title-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.deleted-action {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
}

.deleted-action.removed {
  background: rgba(239, 68, 68, 0.18);
  color: #fca5a5;
}

.deleted-action.renamed {
  background: rgba(245, 158, 11, 0.18);
  color: #fcd34d;
}

.deleted-age {
  color: #fbbf24;
  font-size: 12px;
  margin-top: 4px;
}

.deleted-path {
  color: #fde68a;
  font-size: 12px;
  word-break: break-all;
  margin-top: 6px;
}

.deleted-desc {
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}

.deleted-empty {
  color: var(--muted);
  text-align: center;
  padding: 28px 12px;
  border: 1px dashed rgba(245, 158, 11, 0.25);
  border-radius: 12px;
  margin-top: 8px;
}

.site-footer {
  margin-top: 24px;
  text-align: right;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.02em;
  opacity: 0.85;
}

.auth-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
}

.auth-card h1 {
  margin: 0;
}

.auth-tabs {
  display: flex;
  gap: 8px;
  margin: 18px 0;
}

.auth-tab {
  flex: 1;
  background: var(--card-2);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  cursor: pointer;
}

.auth-tab.active {
  border-color: var(--accent);
  background: rgba(124, 58, 237, 0.18);
}

.auth-form {
  display: grid;
  gap: 10px;
}

.auth-form input {
  background: var(--card-2);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
}

.auth-submit { margin-top: 6px; }

.auth-message {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
}

.auth-message.error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fecaca;
}

.auth-message.ok {
  background: rgba(29, 190, 88, 0.12);
  border: 1px solid rgba(29, 190, 88, 0.35);
  color: #bbf7d0;
}

.hero-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.user-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.user-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
}

button.user-pill {
  cursor: pointer;
  color: inherit;
  font: inherit;
}

button.user-pill:hover {
  background: rgba(255,255,255,0.18);
}

.role-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  white-space: nowrap;
}

.role-badge.admin { background: rgba(251, 191, 36, 0.25); }
.role-badge.owner { background: rgba(167, 139, 250, 0.28); color: #ddd6fe; }
.role-badge.mod { background: rgba(56, 189, 248, 0.22); }

.user-row-protected {
  border-color: rgba(167, 139, 250, 0.35);
  background: rgba(167, 139, 250, 0.06);
}

.user-row-protected .access-static-check,
.user-row-protected .access-static-dash {
  color: var(--muted);
  font-size: 13px;
}

.access-create-form {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr auto auto 1fr auto;
  gap: 10px;
  margin: 16px 0 20px;
  align-items: center;
}

.access-create-form input,
.access-create-form select {
  background: var(--card-2);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0 12px;
  height: 38px;
  min-height: 38px;
  box-sizing: border-box;
}

.access-active-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
  min-height: 38px;
}

.users-list {
  display: grid;
  gap: 10px;
}

.user-row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.7fr 1fr auto;
  gap: 10px;
  align-items: center;
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  min-height: 72px;
}

.user-row-info {
  min-width: 0;
}

.user-role-cell,
.user-field-cell,
.user-field-placeholder {
  display: flex;
  align-items: center;
  min-height: 38px;
}

.user-row .role-badge.user-role-badge {
  width: 100%;
  min-height: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: 8px;
  box-sizing: border-box;
}

.user-row select,
.user-row input[type="text"],
.user-row input[type="password"],
.user-row input[type="datetime-local"] {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0 10px;
  width: 100%;
  height: 38px;
  min-height: 38px;
  box-sizing: border-box;
}

.user-row .access-active-check {
  min-height: 38px;
}

.user-row-head {
  display: none;
}

.user-row .user-name,
.user-row button.user-name {
  font-weight: 600;
}

.user-row-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  align-items: center;
}

.btn.icon-btn.user-delete {
  width: 32px;
  height: 32px;
  min-width: 32px;
  padding: 0;
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #f87171;
  background: transparent;
  border-radius: 8px;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.btn.icon-btn.user-delete:hover {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.55);
}

.user-status {
  font-size: 12px;
  color: var(--muted);
}

.user-status.pending { color: #fbbf24; }

.log-moderator {
  color: var(--muted);
  font-size: 12px;
}

.profile-card {
  overflow: hidden;
}

.profile-back {
  margin-bottom: 14px;
}

.profile-hero {
  display: flex;
  gap: 22px;
  align-items: center;
  padding: 22px;
  margin: -4px -4px 22px;
  border-radius: 16px;
  background:
    radial-gradient(circle at top right, rgba(124, 58, 237, 0.18), transparent 55%),
    linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid rgba(124, 58, 237, 0.18);
}

.profile-avatar-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.profile-avatar {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #5b21b6, #7c3aed);
  border: 2px solid rgba(255,255,255,0.12);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.profile-avatar-img,
.profile-avatar .avatar-fallback,
.avatar,
.user-bar-avatar,
.online-user-avatar,
.profile-directory-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile-avatar .avatar-fallback,
.avatar-fallback {
  display: grid;
  place-items: center;
  font-size: 34px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #5b21b6, #7c3aed);
}

.user-bar-avatar,
.online-user-avatar,
.profile-directory-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
  overflow: hidden;
  font-size: 12px;
  font-weight: 700;
}

.user-bar-avatar.avatar-fallback,
.online-user-avatar.avatar-fallback,
.profile-directory-avatar.avatar-fallback {
  font-size: 12px;
}

.profile-avatar-upload {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.16);
  border: 1px solid rgba(124, 58, 237, 0.35);
  color: #ddd6fe;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.profile-avatar-upload:hover {
  background: rgba(124, 58, 237, 0.28);
}

.profile-avatar-remove {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 12px;
  cursor: pointer;
  padding: 0;
}

.profile-avatar-remove:hover {
  color: #f87171;
}

.profile-hero-body {
  min-width: 0;
}

.profile-hero-body h2 {
  margin: 0 0 6px;
  font-size: 28px;
}

.profile-hero-body .muted {
  margin: 0 0 12px;
}

.profile-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-status-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  background: rgba(34, 197, 94, 0.12);
  color: #86efac;
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.profile-status-pill.pending {
  background: rgba(251, 191, 36, 0.12);
  color: #fcd34d;
  border-color: rgba(251, 191, 36, 0.25);
}

.profile-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.profile-meta-item {
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
}

.profile-meta-item .label {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.profile-content {
  margin-top: 0;
}

.profile-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.profile-head h2 {
  margin: 0 0 6px;
}

.profile-head .muted {
  margin: 0;
}

.profile-link {
  background: none;
  border: none;
  padding: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-align: left;
}

.profile-link-inline {
  color: #c4b5fd;
  font-weight: 600;
}

.profile-link-inline:hover {
  color: #ddd6fe;
  text-decoration: underline;
}

.profile-directory {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.profile-directory h3 {
  margin: 0 0 6px;
}

.profile-directory-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.profile-directory-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 12px 6px 6px;
  font-size: 13px;
  color: inherit;
  font: inherit;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.profile-directory-item.current {
  border-color: rgba(124, 58, 237, 0.65);
  background: rgba(124, 58, 237, 0.14);
}

.profile-directory-item:hover {
  border-color: rgba(124, 58, 237, 0.45);
  background: rgba(124, 58, 237, 0.08);
}

.online-user-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 12px 6px 6px;
  font-size: 13px;
  color: inherit;
  font: inherit;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.online-user-chip .online-user-name {
  color: #c4b5fd;
  font-weight: 600;
}

.online-user-chip:hover {
  border-color: rgba(124, 58, 237, 0.55);
  background: rgba(124, 58, 237, 0.12);
  transform: translateY(-1px);
}

.online-user-chip:hover .online-user-name {
  text-decoration: underline;
}

.online-user-chip:focus-visible {
  outline: 2px solid rgba(124, 58, 237, 0.65);
  outline-offset: 2px;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.profile-block {
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
}

.profile-value {
  font-size: 18px;
  font-weight: 600;
  margin-top: 6px;
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.profile-stat {
  text-align: center;
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.25);
  border-radius: 14px;
  padding: 18px 12px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.profile-stat:hover {
  border-color: rgba(124, 58, 237, 0.45);
  transform: translateY(-1px);
}

.profile-stat-num {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
  color: #e9d5ff;
}

.profile-stat-label {
  color: var(--muted);
  font-size: 13px;
  margin-top: 6px;
}

.profile-password-form {
  display: grid;
  gap: 10px;
  max-width: 420px;
}

.profile-password-form h3 {
  margin: 0 0 4px;
  font-size: 16px;
}

.profile-password-form input {
  background: var(--card-2);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
}

.online-bar {
  margin-top: 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
}

.online-bar-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.online-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 10px rgba(29, 190, 88, 0.55);
}

.online-title {
  font-weight: 600;
  font-size: 14px;
}

.online-count {
  margin-left: auto;
  color: var(--muted);
  font-size: 13px;
}

.online-users {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 28px;
}

.online-user-chip .role-badge {
  font-size: 10px;
  padding: 2px 6px;
}

.online-empty {
  color: var(--muted);
  font-size: 13px;
}

.user-pill.clickable {
  cursor: pointer;
}

/* Ocean-style scan dashboard */
.findings-shell { margin-top: 4px; }
.ocean-waiting { padding: 20px 4px; }

.ocean-dashboard {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ocean-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.ocean-verdict {
  flex: 1;
  min-width: 220px;
  padding: 14px 18px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
}

.ocean-verdict.clean {
  background: rgba(29, 190, 88, 0.14);
  border: 1px solid rgba(29, 190, 88, 0.35);
  color: #86efac;
}

.ocean-verdict.suspicious {
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fcd34d;
}

.ocean-verdict.cheating {
  background: rgba(239, 68, 68, 0.16);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}

.ocean-timer {
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #7dd3fc;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.ocean-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.ocean-card {
  background: #0f1528;
  border: 1px solid #1e293b;
  border-radius: 14px;
  padding: 16px 18px;
}

.ocean-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.ocean-card-title {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 4px;
}

.ocean-card-sub {
  color: var(--muted);
  font-size: 12px;
  margin: 0;
}

.ocean-card-count {
  background: rgba(124, 58, 237, 0.2);
  border: 1px solid rgba(124, 58, 237, 0.35);
  color: #c4b5fd;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.ocean-details { display: grid; gap: 8px; }

.ocean-detail-row {
  display: grid;
  grid-template-columns: 10px 1fr auto;
  gap: 10px;
  align-items: center;
  font-size: 13px;
}

.ocean-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.ocean-dot.green { background: #22c55e; box-shadow: 0 0 8px rgba(34,197,94,.5); }
.ocean-dot.blue { background: #38bdf8; box-shadow: 0 0 8px rgba(56,189,248,.5); }
.ocean-dot.orange { background: #f59e0b; box-shadow: 0 0 8px rgba(245,158,11,.5); }
.ocean-dot.red { background: #ef4444; box-shadow: 0 0 8px rgba(239,68,68,.5); }
.ocean-dot.purple { background: #a78bfa; box-shadow: 0 0 8px rgba(167,139,250,.5); }

.ocean-detail-label { color: var(--muted); }
.ocean-detail-value { font-weight: 600; text-align: right; }

.ocean-list { display: grid; gap: 8px; }

.ocean-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #121a2f;
  border: 1px solid #24304f;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
}

.ocean-avatar {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, #6d28d9, #7c3aed);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.ocean-mod-item {
  display: grid;
  grid-template-columns: 4px 1fr auto;
  gap: 12px;
  align-items: center;
  background: #121a2f;
  border: 1px solid #24304f;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
}

.ocean-mod-bar { width: 4px; height: 100%; min-height: 42px; border-radius: 4px; }
.ocean-mod-bar.safe { background: #22c55e; }
.ocean-mod-bar.warn { background: #f59e0b; }
.ocean-mod-bar.danger { background: #ef4444; }

.ocean-mod-name { font-weight: 600; word-break: break-all; }
.ocean-mod-size {
  font-size: 11px;
  color: #a5b4fc;
  font-weight: 600;
  margin-top: 2px;
}

.ocean-vpn-yes {
  color: #f87171;
  font-weight: 600;
}

.ocean-dot.cyan { background: #22d3ee; }
.ocean-dot.yellow { background: #facc15; }

.ocean-mod-meta { color: var(--muted); font-size: 11px; margin-top: 3px; }

.ocean-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 6px;
  padding: 4px 8px;
  white-space: nowrap;
}

.ocean-badge.verified { background: rgba(34,197,94,.15); color: #86efac; border: 1px solid rgba(34,197,94,.3); }
.ocean-badge.unverified { background: rgba(245,158,11,.15); color: #fcd34d; border: 1px solid rgba(245,158,11,.3); }
.ocean-badge.threat { background: rgba(239,68,68,.15); color: #fca5a5; border: 1px solid rgba(239,68,68,.3); }

.ocean-search {
  width: 100%;
  background: #121a2f;
  color: var(--text);
  border: 1px solid #24304f;
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 12px;
  font-size: 13px;
}

.ocean-table-wrap { overflow-x: auto; }

.ocean-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.ocean-table th {
  text-align: left;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 10px;
  padding: 8px 10px;
  border-bottom: 1px solid #24304f;
}

.ocean-table td {
  padding: 10px;
  border-bottom: 1px solid #1a2338;
  vertical-align: top;
}

.ocean-table tr:hover td { background: rgba(124, 58, 237, 0.06); }
.ocean-table tr.hidden { display: none; }

.ocean-table .mono {
  font-family: Consolas, "Courier New", monospace;
  font-size: 11px;
  word-break: break-all;
}

.ocean-table .action-started {
  display: inline-block;
  background: rgba(34,197,94,.15);
  color: #86efac;
  border: 1px solid rgba(34,197,94,.3);
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 700;
}

.ocean-signed-yes { color: #86efac; font-weight: 700; }
.ocean-signed-no { color: #fca5a5; font-weight: 700; }

.ocean-empty {
  color: var(--muted);
  font-size: 13px;
  text-align: center;
  padding: 18px 8px;
  border: 1px dashed #24304f;
  border-radius: 10px;
}

.ocean-threats-grid {
  display: grid;
  gap: 8px;
  max-height: 360px;
  overflow-y: auto;
}

.ocean-threat-card {
  background: #121a2f;
  border-left: 3px solid #ef4444;
  border-radius: 8px;
  padding: 10px 12px;
}

.ocean-threat-card.lvl-high { border-left-color: #f59e0b; }
.ocean-threat-card.lvl-medium { border-left-color: #38bdf8; }
.ocean-threat-card.lvl-low { border-left-color: #94a3b8; }

.ocean-browser-link {
  color: #7dd3fc;
  text-decoration: none;
  word-break: break-all;
}

.ocean-browser-link:hover { text-decoration: underline; }

.ocean-funpay-block {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #24304f;
}

@media (max-width: 900px) {
  .ocean-grid-2 { grid-template-columns: 1fr; }
}

.login-totp { margin-top: 4px; }

.verdict-comment {
  width: 100%;
  margin-top: 8px;
  background: var(--card-2);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  resize: vertical;
  min-height: 72px;
  font-family: inherit;
}

.verdict-comment-view {
  margin-top: 8px;
  padding: 10px 12px;
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--muted);
  font-size: 13px;
  white-space: pre-wrap;
}

.hwid-risk-banner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
  margin-bottom: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(239, 68, 68, 0.45);
  background: rgba(239, 68, 68, 0.12);
  color: #fecaca;
  font-size: 13px;
}

.twofa-section {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.twofa-card {
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  max-width: 560px;
}

.twofa-card-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

.twofa-card-head h3 {
  margin: 0 0 4px;
  font-size: 16px;
}

.twofa-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(124, 58, 237, 0.18);
  border: 1px solid rgba(124, 58, 237, 0.35);
  flex-shrink: 0;
  position: relative;
}

.twofa-icon::before {
  content: "";
  position: absolute;
  inset: 11px 13px 11px 13px;
  border: 2px solid #c4b5fd;
  border-radius: 4px;
}

.twofa-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 18px;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  border-radius: 50%;
  background: #c4b5fd;
}

.twofa-status-badge {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 6px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.twofa-status-badge.enabled {
  color: #86efac;
  background: rgba(34, 197, 94, 0.16);
}

.twofa-status-badge.disabled {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
}

.twofa-enabled-panel,
.twofa-disabled-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.twofa-enabled-panel.hidden,
.twofa-disabled-panel.hidden {
  display: none;
}

.twofa-enabled-text {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.twofa-setup {
  display: grid;
  gap: 16px;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.twofa-setup.hidden {
  display: none;
}

.twofa-step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.twofa-step-num {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.2);
  color: #ddd6fe;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.twofa-step-body {
  flex: 1;
  min-width: 0;
}

.twofa-step-body h4 {
  margin: 0 0 4px;
  font-size: 14px;
}

.twofa-qr-wrap {
  margin-top: 10px;
  display: inline-flex;
  padding: 12px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.twofa-secret-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.twofa-secret {
  flex: 1;
  min-width: 180px;
  font-size: 13px;
  letter-spacing: 0.08em;
  padding: 10px 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  word-break: break-all;
}

.twofa-code-row {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.twofa-code-row input {
  flex: 1;
  min-width: 120px;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 18px;
  letter-spacing: 0.2em;
  text-align: center;
}

.twofa-cancel {
  justify-self: start;
}

.twofa-section .auth-message {
  margin-top: 12px;
}

.moderation-card h2 {
  margin: 0;
}

.moderation-team {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.moderation-member {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 16px;
  color: inherit;
  font: inherit;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.moderation-member:hover {
  border-color: rgba(124, 58, 237, 0.45);
  background: rgba(124, 58, 237, 0.08);
  transform: translateY(-1px);
}

.moderation-member.is-online {
  border-color: rgba(34, 197, 94, 0.35);
  box-shadow: inset 0 0 0 1px rgba(34, 197, 94, 0.08);
}

.moderation-avatar-wrap {
  position: relative;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}

.moderation-avatar {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  overflow: hidden;
  display: block;
}

.moderation-avatar.avatar-fallback {
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 700;
}

.moderation-presence {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--card-2);
  box-sizing: border-box;
}

.moderation-presence.online {
  background: #22c55e;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.25);
}

.moderation-presence.offline {
  background: #6b7280;
}

.moderation-member-body {
  min-width: 0;
  flex: 1;
}

.moderation-member-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 4px;
}

.moderation-member-name {
  font-weight: 700;
  font-size: 15px;
}

.moderation-member-activity {
  color: var(--muted);
  font-size: 13px;
}

.moderation-member-activity.online-text {
  color: #86efac;
  font-weight: 600;
}

.access-section {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.access-section h3 { margin: 0; font-size: 16px; }

.stats-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin-top: 10px;
}

.stats-table th,
.stats-table td {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid var(--border);
}

.stats-table th { color: var(--muted); font-weight: 600; }

.audit-log-list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
  max-height: 360px;
  overflow: auto;
}

.audit-row {
  display: grid;
  grid-template-columns: 140px 1.2fr 0.8fr 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px 12px;
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 13px;
}

.audit-action { font-weight: 600; }
.audit-time { color: var(--muted); font-size: 12px; }

@media (max-width: 720px) {
  .hero { flex-direction: column; align-items: flex-start; }
  .hero-side { align-items: flex-start; }
  .key-value { font-size: 22px; }
  .funpay-ref-grid { grid-template-columns: 1fr; }
  .funpay-hero { flex-direction: column; align-items: flex-start; }
  .deleted-info-grid { grid-template-columns: 1fr; }
  .deleted-hero { flex-direction: column; align-items: flex-start; }
  .access-create-form { grid-template-columns: 1fr; }
  .user-row { grid-template-columns: 1fr; }
  .profile-grid, .profile-stats, .profile-meta-grid { grid-template-columns: 1fr; }
  .profile-hero { flex-direction: column; text-align: center; }
  .profile-hero-badges { justify-content: center; }
  .tabs { flex-direction: column; align-items: stretch; }
  .tab-cabinet { margin-left: 0; width: 100%; }
  .audit-row { grid-template-columns: 1fr; }
}
