﻿:root {
  --bg: #0a0a0b;
  --bg-2: #101012;
  --surface: rgba(24, 24, 26, 0.66);
  --surface-solid: #151517;
  --surface-2: #1a1a1d;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #ececee;
  --text-dim: #a6a6aa;
  --text-faint: #707074;
  --accent: #8b949e;
  --accent-2: #c9d1d9;
  --accent-glow: rgba(139, 148, 158, 0.38);
  --green: #2fe6b4;
  --green-glow: rgba(47, 230, 180, 0.3);
  --gold: #ffc857;
  --gold-glow: rgba(255, 200, 87, 0.3);
  --purple: #7d8590;
  --cyan: #b0b6bd;
  --danger: #ff5c74;
  --mono: ui-monospace, "Cascadia Code", "JetBrains Mono", Menlo, Consolas, monospace;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --radius: 18px;
  --radius-sm: 11px;
  --shadow: 0 30px 80px -24px rgba(0, 0, 0, 0.8);
  --glow-blue: radial-gradient(600px 300px at 20% -10%, rgba(139, 148, 158, 0.20), transparent 65%);
  --glow-2: radial-gradient(700px 420px at 110% 20%, rgba(139, 148, 158, 0.16), transparent 60%);
  --glow-3: radial-gradient(500px 300px at 80% 110%, rgba(139, 148, 158, 0.14), transparent 60%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 14px;
  line-height: 1.55;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: #fff; }

.hidden { display: none !important; }

/* ---------- background scene ---------- */
.app-body, .auth-body {
  position: relative;
  min-height: 100vh;
  background:
    var(--glow-blue),
    var(--glow-2),
    var(--glow-3),
    radial-gradient(1200px 800px at 50% 0%, rgba(28, 28, 30, 0.5), transparent 70%),
    var(--bg);
}
.app-body { }

.app-bg, .auth-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.app-bg::before, .auth-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse at 50% 0%, black 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, black 30%, transparent 78%);
}
.app-bg::after, .auth-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.035) 1px, transparent 1.5px);
  background-size: 26px 26px;
  opacity: 0.25;
  mask-image: radial-gradient(ellipse at 60% 30%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 30%, black 20%, transparent 70%);
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  will-change: transform;
  opacity: 0.9;
}

.auth-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.auth-video-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(1100px 600px at 50% 40%, rgba(10, 10, 11, 0.15), transparent 70%),
    linear-gradient(180deg, rgba(10, 10, 11, 0.3), rgba(10, 10, 11, 0.2) 50%, rgba(10, 10, 11, 0.4));
}
.auth-body .blob { display: none; }
.blob-1 { width: 520px; height: 520px; top: -200px; left: -140px; background: rgba(139, 148, 158, 0.22); animation: drift1 24s ease-in-out infinite alternate; }
.blob-2 { width: 480px; height: 480px; bottom: -220px; right: -120px; background: rgba(139, 148, 158, 0.16); animation: drift2 28s ease-in-out infinite alternate; }
.blob-3 { width: 360px; height: 360px; top: 40%; left: 55%; background: rgba(139, 148, 158, 0.12); animation: drift3 32s ease-in-out infinite alternate; }

@keyframes drift1 { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(90px, 60px) scale(1.25); } }
@keyframes drift2 { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(-80px, -70px) scale(1.2); } }
@keyframes drift3 { 0% { transform: translate(0,0); } 100% { transform: translate(-100px, 70px) scale(1.1); } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.18s ease;
  user-select: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.08) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.5s ease;
}
.btn:hover::before { transform: translateX(120%); }
.btn:hover { border-color: var(--accent); color: var(--accent-2); transform: translateY(-2px); box-shadow: 0 12px 30px -12px rgba(139, 148, 158, 0.35); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn:disabled { opacity: 0.38; cursor: not-allowed; transform: none; box-shadow: none; }
.btn:disabled::before { display: none; }
.btn:focus-visible { outline: 2px solid var(--accent-glow); outline-offset: 2px; }

.btn-primary {
  background: linear-gradient(135deg, #8b949e, #6e7681, #4d555e);
  border: none;
  color: #fff;
  box-shadow: 0 12px 36px -8px rgba(139, 148, 158, 0.55), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-primary:hover { color: #fff; filter: brightness(1.12); box-shadow: 0 16px 46px -8px rgba(139, 148, 158, 0.7), inset 0 1px 0 rgba(255,255,255,0.2); }

.btn-ghost { background: transparent; border-color: transparent; color: var(--text-dim); }
.btn-ghost:hover { color: var(--text); border-color: var(--border-strong); box-shadow: none; }

.btn-sm { padding: 7px 13px; font-size: 12.5px; border-radius: 9px; }
.btn-block { width: 100%; }

.btn-danger { border-color: rgba(255, 92, 116, 0.4); color: var(--danger); }
.btn-danger:hover { border-color: var(--danger); color: var(--danger); }

.btn-row { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }

/* ---------- inputs ---------- */
.field { display: flex; flex-direction: column; gap: 8px; }
.field > span, .label { font-size: 12px; font-weight: 600; color: var(--text-dim); letter-spacing: 0.5px; text-transform: uppercase; }
.input {
  width: 100%;
  padding: 13px 15px;
  background: rgba(9, 9, 10, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.input::placeholder { color: var(--text-faint); }
.input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-glow); background: rgba(9, 9, 10, 0.55); }
.input:-webkit-autofill, .input:-webkit-autofill:hover, .input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--text);
  -webkit-box-shadow: 0 0 0 1000px rgba(9, 9, 10, 0.85) inset;
  box-shadow: 0 0 0 1000px rgba(9, 9, 10, 0.85) inset;
  transition: background-color 9999s ease-in-out 0s;
}

.form-error { color: var(--danger); font-size: 13px; min-height: 18px; }
.auth-form .form-error:empty { display: none; }
.ok-text { color: var(--green); font-size: 13px; }

/* ---------- auth ---------- */
.auth-wrap {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding: 24px;
}

.auth-logo { display: flex; align-items: center; gap: 18px; animation: fadeUp 0.6s ease; }
.logo-mark {
  width: 58px; height: 58px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), #4d555e);
  border-radius: 17px;
  font-weight: 900; font-size: 30px; color: #fff;
  box-shadow: 0 14px 40px -8px var(--accent-glow);
  letter-spacing: 0;
  position: relative;
  overflow: hidden;
}
.logo-mark::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.28), transparent 45%);
}
.logo-mark.small { width: 38px; height: 38px; font-size: 20px; border-radius: 12px; }
.logo-mark.lg { width: 64px; height: 64px; font-size: 34px; border-radius: 20px; box-shadow: 0 16px 48px -8px var(--accent-glow); }
.logo-text { display: flex; flex-direction: column; line-height: 1.25; }
.logo-name { font-weight: 800; letter-spacing: 6px; font-size: 22px; background: linear-gradient(90deg, #fff, var(--accent-2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.logo-sub { color: var(--text-faint); font-size: 11px; letter-spacing: 4px; text-transform: uppercase; }

/* ---------- auth card ---------- */

.auth-card {
  width: 100%;
  max-width: 430px;
  background: rgba(11, 11, 13, 0.12);
  backdrop-filter: blur(28px) saturate(1.2);
  -webkit-backdrop-filter: blur(28px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.5);
  animation: fadeUp 0.6s 0.08s ease both;
  position: relative;
}

/* ---------- auth brand (text only, no logo) ---------- */
.auth-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  animation: fadeUp 0.6s ease;
}
.auth-brand-name {
  font-weight: 800;
  letter-spacing: 12px;
  font-size: 28px;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
}
.auth-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 1px;
  background: linear-gradient(160deg, rgba(255,255,255,0.06), transparent 40%, transparent 60%, rgba(255,255,255,0.03));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

.auth-tabs { display: flex; gap: 4px; padding: 5px; background: rgba(0,0,0,0.32); border-radius: 13px; margin-bottom: 26px; border: 1px solid var(--border); }
.auth-tab {
  flex: 1; padding: 11px; border: 0; border-radius: 10px;
  background: transparent; color: var(--text-dim);
  font-weight: 600; font-family: var(--sans); font-size: 14px; cursor: pointer;
  transition: all 0.2s ease;
}
.auth-tab.active { background: rgba(255, 255, 255, 0.12); color: #fff; box-shadow: none; }

.auth-form { display: flex; flex-direction: column; gap: 18px; }

/* ---------- top bar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 26px;
  background: rgba(10, 10, 12, 0.72);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-bottom: 1px solid var(--border);
}
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 13px; }
.topbar-left { flex-direction: column; align-items: flex-start; gap: 7px; }
.logo-chip {
  font-size: 10.5px; color: var(--text-dim);
  border: 1px solid var(--border-strong); padding: 3px 10px; border-radius: 20px;
  letter-spacing: 2px; text-transform: uppercase;
  background: rgba(255,255,255,0.03);
}

.user-chip { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; }
.user-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #34343a, #1f1f23);
  border: 1px solid var(--border-strong);
  font-size: 14px; font-weight: 700;
  color: var(--accent-2);
}
.admin-link {
  display: flex; align-items: center; gap: 9px;
  text-decoration: none; color: var(--text);
  padding: 7px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 200, 87, 0.05);
  transition: all 0.16s;
  font-weight: 600; font-size: 13px;
}
.admin-link:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-1px); }
.admin-logo {
  width: 27px; height: 27px; border-radius: 9px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--gold), #c98a1e);
  color: #0a0b0d; font-weight: 900; font-size: 14px;
}

/* ---------- main layout ---------- */
.shell { position: relative; z-index: 1; display: flex; height: 100vh; overflow: hidden; }
.sidebar {
  position: sticky; top: 0;
  flex: 0 0 218px;
  display: flex; flex-direction: column;
  height: 100vh;
  padding: 22px 16px 20px;
  background: rgba(12, 12, 14, 0.62);
  backdrop-filter: blur(26px) saturate(1.2);
  -webkit-backdrop-filter: blur(26px) saturate(1.2);
  border-right: 1px solid var(--border);
  gap: 28px;
}
.side-brand { display: flex; align-items: center; gap: 12px; padding: 0 8px; }
.side-brand { display: flex; align-items: center; gap: 12px; padding: 0 8px; }
.side-brand .brand-hr { width: 100%; height: 1px; border: 0; margin: 14px 0 4px; background: linear-gradient(90deg, rgba(255,255,255,0.85), rgba(255,255,255,0.12)); }
.brand-logo { display: block; width: 100%; height: auto; border-radius: 16px; box-shadow: 0 6px 18px rgba(0,0,0,.5); }
.dash-logo { height: 64px; width: auto; border-radius: 16px; margin-bottom: 18px; box-shadow: 0 14px 34px -12px rgba(0,0,0,.7); }
.dash-brand-bar { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 20px; }
.dash-brand-logo { height: 84px; width: auto; border-radius: 20px; box-shadow: 0 16px 40px -12px rgba(0,0,0,.75); }
.dash-brand-name { font-weight: 800; font-size: 30px; letter-spacing: 9px; padding-left: 9px; background: linear-gradient(90deg, #ffffff, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.auth-brand { flex-direction: column !important; }
.auth-brand .brand-logo { height: 56px; border-radius: 14px; margin-bottom: 6px; }
.side-brand .logo-name { font-size: 18px; letter-spacing: 5px; }
.side-nav { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.side-nav .nav-item {
  display: flex; flex-direction: row; align-items: center; gap: 13px;
  width: 100%; min-width: 0; justify-content: flex-start;
  padding: 12px 14px; border-radius: 13px;
  font-size: 12.5px; letter-spacing: 0.8px;
}
.side-nav .nav-item .nav-icon { font-size: 19px; display: flex; align-items: center; }
.side-nav .nav-item.active { background: linear-gradient(135deg, var(--accent), #4d555e); color: #fff; box-shadow: 0 10px 30px -8px var(--accent-glow); }
.side-foot { display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
.side-status { display: flex; justify-content: center; }

.app-main {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 0;
  max-width: 1560px;
  margin: 0 auto;
  padding: 34px 32px 48px;
  overflow-y: auto;
  animation: fadeUp 0.45s ease;
}
.view-title { font-size: 28px; font-weight: 800; letter-spacing: 0.3px; margin-bottom: 26px; display: flex; align-items: center; gap: 13px; }
.view-title .tag { font-size: 12px; font-weight: 600; color: var(--text-dim); background: rgba(255,255,255,0.04); border: 1px solid var(--border); padding: 4px 11px; border-radius: 20px; letter-spacing: 1.5px; text-transform: uppercase; }

/* ---------- stat cards ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(205px, 1fr)); gap: 16px; margin-bottom: 24px; }
.stat-card {
  position: relative;
  background:
    radial-gradient(260px 120px at 100% 0%, rgba(139,148,158,0.07), transparent 70%),
    var(--surface);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.stat-card:hover { border-color: var(--border-strong); transform: translateY(-3px); box-shadow: 0 20px 54px -22px rgba(0,0,0,0.65); }
.stat-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139,148,158,0.55), transparent);
}
.stat-icon { font-size: 21px; opacity: 0.95; margin-bottom: 16px; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 13px; background: rgba(139,148,158,0.1); border: 1px solid rgba(139,148,158,0.22); color: var(--accent-2); box-shadow: inset 0 1px 0 rgba(255,255,255,0.06); }
.stat-card:nth-child(2) .stat-icon { background: rgba(176,182,189,0.1); border-color: rgba(176,182,189,0.22); color: var(--cyan); }
.stat-card:nth-child(3) .stat-icon { background: rgba(125,133,144,0.1); border-color: rgba(125,133,144,0.22); color: var(--purple); }
.stat-card:nth-child(4) .stat-icon { background: rgba(255,200,87,0.1); border-color: rgba(255,200,87,0.22); color: var(--gold); }
.stat-card b { font-size: 31px; font-weight: 800; letter-spacing: -0.5px; font-variant-numeric: tabular-nums; }
.stat-card b small { font-size: 15px; font-weight: 600; color: var(--text-faint); }
.stat-card > span:last-child { color: var(--text-faint); font-size: 11.5px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600; }

/* ---------- status pill ---------- */
.status-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 15px; border-radius: 20px;
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  background: rgba(47, 230, 180, 0.08); border: 1px solid rgba(47, 230, 180, 0.3); color: var(--green);
  white-space: nowrap;
}
.status-pill i {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green-glow);
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }

/* ---------- dashboard hero ---------- */
.dash-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 30px 32px;
  margin-bottom: 24px;
  background:
    radial-gradient(560px 240px at 88% -30%, rgba(139,148,158,0.16), transparent 65%),
    radial-gradient(320px 180px at 0% 100%, rgba(176,182,189,0.07), transparent 65%),
    var(--surface);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 24px 70px -28px rgba(0,0,0,0.7);
  animation: fadeUp 0.45s ease;
  position: relative;
  overflow: hidden;
}
.dash-hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139,148,158,0.65), transparent);
}
.dash-hero::after {
  content: "";
  position: absolute;
  right: -70px; top: -90px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(139,148,158,0.18), transparent 70%);
  pointer-events: none;
}
.dash-user { display: flex; align-items: center; gap: 18px; }
.donut-head { display: flex; align-items: center; gap: 16px; padding: 4px 0 14px; }
.donut-head-img { width: 64px; height: 64px; border-radius: 16px; background: rgba(0,0,0,0.3); border: 1px solid var(--border); image-rendering: pixelated; box-shadow: 0 12px 28px -10px rgba(139,148,158,0.45); }
.donut-head .dash-username { font-size: 21px; letter-spacing: 0.2px; }
.donut-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); gap: 12px; margin-top: 16px; }
.donut-stat { display: flex; flex-direction: column; gap: 9px; padding: 15px 16px; background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(0,0,0,0.25)); border: 1px solid var(--border); border-radius: 14px; transition: border-color 0.15s ease, transform 0.15s ease; }
.donut-stat:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.donut-stat-icon { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border-radius: 10px; background: rgba(124,156,255,0.09); color: var(--accent-2); }
.donut-stat-icon svg { width: 17px; height: 17px; }
.donut-stat-val { font-size: 19px; font-weight: 800; color: var(--text); }
.donut-stat-label { font-size: 10px; color: var(--text-faint); text-transform: uppercase; letter-spacing: 1.2px; font-weight: 700; }
.donut-empty { display: flex; align-items: center; gap: 12px; padding: 26px 4px; }
.donut-spinner { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,0.15); border-top-color: var(--accent-2); border-radius: 50%; animation: spin 0.8s linear infinite; }
.donut-empty-ico { width: 62px; height: 62px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.28); border: 1px solid var(--border); color: var(--text-faint); flex-shrink: 0; }
.donut-empty .empty { font-size: 14px; }
@keyframes spin { to { transform: rotate(360deg); } }
.dash-user-info { display: flex; flex-direction: column; }
.dash-greeting { font-size: 11.5px; color: var(--text-faint); text-transform: uppercase; letter-spacing: 2px; font-weight: 600; }
.dash-role {
  margin-top: 5px;
  align-self: flex-start;
  font-size: 10px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
  padding: 3px 10px; border-radius: 20px;
  background: rgba(255,200,87,0.08); border: 1px solid rgba(255,200,87,0.25); color: var(--gold);
}
.dash-username { font-size: 24px; font-weight: 800; letter-spacing: 0.3px; background: linear-gradient(90deg, #fff, var(--accent-2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.dash-since { margin-top: 4px; font-size: 11.5px; color: var(--text-faint); letter-spacing: 0.6px; }
.dash-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }

.relay-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px 6px 13px;
  border-radius: 20px;
  background: rgba(176, 182, 189, 0.07);
  border: 1px solid rgba(176, 182, 189, 0.22);
  color: var(--cyan);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  max-width: 320px;
}
.relay-chip .mono { color: var(--text-dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.relay-chip .copy-btn { width: 24px; height: 24px; font-size: 13px; }
.relay-chip .copy-btn:hover { color: var(--cyan); border-color: rgba(176, 182, 189, 0.4); }

.hit-map { height: calc(100vh - 540px); min-height: 240px; border-radius: 14px; overflow: hidden; background: #0d0d0f; border: 1px solid var(--border); position: relative; }
  .hit-map .leaflet-container { background: #0d0d0f; font-family: inherit; width: 100%; height: 100%; }
.hit-map .leaflet-popup-content-wrapper { background: #17171a; color: var(--text); border: 1px solid var(--border); border-radius: 12px; }
.hit-map .leaflet-popup-content { margin: 12px 14px; font-size: 13px; }
.hit-map .leaflet-popup-tip { background: #17171a; border: 1px solid var(--border); }
.hit-map .leaflet-control-attribution { display: none; }
.user-avatar.lg { width: 58px; height: 58px; font-size: 24px; border-radius: 17px; background: linear-gradient(135deg, var(--accent), #4d555e); border: none; color: #fff; box-shadow: 0 12px 30px -8px var(--accent-glow); position: relative; }
.user-avatar.lg::after { content: ""; position: absolute; inset: 0; border-radius: 17px; background: linear-gradient(180deg, rgba(255,255,255,0.22), transparent 45%); pointer-events: none; }

.btn-gold {
  background: linear-gradient(135deg, var(--gold), #c98a1e);
  border: none;
  color: #14120a;
  font-weight: 700;
  box-shadow: 0 10px 26px -10px var(--gold-glow);
}
.btn-gold:hover { color: #14120a; filter: brightness(1.1); box-shadow: 0 14px 32px -10px var(--gold-glow); }

/* ---------- cards ---------- */
.dash-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 18px; margin-bottom: 24px; }
.card {
  position: relative;
  background:
    radial-gradient(340px 150px at 100% 0%, rgba(139,148,158,0.05), transparent 70%),
    var(--surface);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 16px 50px -22px rgba(0,0,0,0.6);
  transition: border-color 0.2s, transform 0.2s;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139,148,158,0.35), transparent);
}
.card:hover { border-color: var(--border-strong); }
.card h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; letter-spacing: 0.3px; }
.card h4 { font-size: 13px; margin: 20px 0 10px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 1.5px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.muted { color: var(--text-dim); font-size: 13px; line-height: 1.65; }
.empty { padding: 30px 4px; text-align: center; color: var(--text-faint); }

/* ---------- copy row ---------- */
.copy-row { display: flex; gap: 10px; align-items: center; margin-top: 14px; }
.copy-row code {
  flex: 1;
  background: rgba(0,0,0,0.35);
  border: 1px solid var(--border);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--green);
  word-break: break-all;
}

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; border-radius: 14px; border: 1px solid var(--border); background: rgba(0,0,0,0.25); }
.table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 640px; }
.table th {
  text-align: left; padding: 14px 16px;
  color: var(--text-faint); font-weight: 600; font-size: 11px;
  letter-spacing: 1.5px; text-transform: uppercase;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.025);
  white-space: nowrap;
  position: sticky; top: 0;
}
.table td { padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,0.04); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background 0.13s; }
.table tbody tr:hover { background: rgba(139, 148, 158, 0.05); }
.table .clickable { cursor: pointer; }
.mono { font-family: var(--mono); font-size: 12.5px; }
.small { font-size: 12px; }
.row-actions { display: flex; gap: 6px; flex-wrap: wrap; }

/* ---------- hits tabs & actions ---------- */
.hits-tabs { display: flex; gap: 4px; }
.hits-tab {
  padding: 7px 16px; border-radius: 20px; border: 1px solid var(--border-strong);
  background: rgba(255,255,255,0.03); color: var(--text-dim);
  font-size: 12px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase;
  cursor: pointer; transition: all 0.15s;
}
.hits-tab:hover { color: var(--text); border-color: var(--accent); }
.hits-tab.active { background: var(--accent); border-color: var(--accent); color: #161618; }
.flag { width: 20px; height: 14px; border-radius: 3px; margin-right: 7px; vertical-align: middle; box-shadow: 0 0 0 1px rgba(255,255,255,0.12); }
.hits-table { min-width: 720px; }
.hits-table td { padding: 10px 14px; }
.actions { white-space: nowrap; }
.act-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 9px;
  border: 1px solid var(--border-strong); background: rgba(255,255,255,0.03);
  color: var(--text-dim); font-size: 14px; cursor: pointer; transition: all 0.13s;
}
.act-btn:hover { color: var(--accent); border-color: var(--accent); background: rgba(139,148,158,0.1); }
.act-btn svg { width: 14px; height: 14px; }
.act-btn.danger { color: #ff6363; border-color: rgba(255,99,99,0.35); }
.act-btn.danger:hover { color: #fff; background: #ff6363; border-color: #ff6363; }
.act-btn.fav-on { color: var(--gold); border-color: var(--gold); background: rgba(255,200,87,0.12); }
.act-btn.arch-on { color: var(--accent); border-color: var(--accent); background: rgba(139,148,158,0.12); }

/* ---------- badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 11px; border-radius: 20px; font-size: 11px; font-weight: 700;
  letter-spacing: 0.8px; text-transform: uppercase;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border-strong); color: var(--text-dim);
  white-space: nowrap;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-ok { background: rgba(47, 230, 180, 0.1); color: var(--green); border-color: rgba(47, 230, 180, 0.3); }
.badge-error { background: rgba(255, 92, 116, 0.1); color: var(--danger); border-color: rgba(255, 92, 116, 0.3); }
.badge-admin { background: rgba(255, 200, 87, 0.1); color: var(--gold); border-color: rgba(255, 200, 87, 0.3); }
.badge-dim { color: var(--text-faint); }

/* ---------- bottom nav (legacy, hidden) ---------- */
.bottomnav { display: none; }

/* ---------- pager / search ---------- */
.pager { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.search-row input { min-width: 240px; }
.search-row { flex: 0 1 auto; max-width: 340px; margin-left: auto; }
.hits-search { margin-left: 18px; }
#view-hits .card-head { justify-content: flex-start; gap: 16px; }
.donut-search-in-card { display: flex; gap: 10px; margin-bottom: 16px; }
.donut-search-in-card .input { flex: 1 1 auto; min-width: 0; height: 42px; font-size: 13.5px; }
.donut-search-in-card .btn { height: 42px; padding-left: 22px; padding-right: 22px; }
.ms-form { display: flex; flex-direction: column; gap: 16px; max-width: 560px; }
.ms-form textarea.input { resize: vertical; font-size: 12.5px; line-height: 1.55; min-height: 92px; }
.ms-form .btn-primary { height: 44px; font-weight: 700; letter-spacing: 0.2px; }
.ms-result { display: flex; gap: 24px; margin-top: 20px; padding: 20px; background: rgba(0,0,0,0.25); border: 1px solid var(--border); border-radius: 16px; align-items: flex-start; flex-wrap: wrap; }
.ms-result:empty { display: none; }
.ms-skin { width: 200px; image-rendering: pixelated; background: rgba(0,0,0,0.35); border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 14px 34px -14px rgba(0,0,0,0.7); }
.ms-fields { display: flex; flex-direction: column; gap: 8px; flex: 1 1 340px; min-width: 0; }
.ms-row { display: grid; grid-template-columns: 132px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; background: rgba(255,255,255,0.02); border: 1px solid var(--border); border-radius: 10px; }
.ms-label { font-size: 10px; color: var(--text-faint); text-transform: uppercase; letter-spacing: 1.2px; font-weight: 700; }
.ms-val { word-break: break-all; font-size: 12px; line-height: 1.5; color: var(--text); max-height: 66px; overflow-y: auto; }
.ms-issuer { margin-top: 12px; font-size: 11px; color: var(--text-faint); letter-spacing: 0.3px; }
@media (max-width: 640px) {
  .ms-row { grid-template-columns: 1fr auto; }
  .ms-row .ms-label { grid-column: 1 / -1; margin-bottom: -6px; }
}

/* ---------- modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(3, 4, 8, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  animation: fadeIn 0.16s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal-card {
  position: relative;
  width: 100%; max-width: 580px; max-height: 88vh; overflow-y: auto;
  background: var(--surface-solid);
  border: 1px solid var(--border-strong);
  border-radius: 22px;
  padding: 30px;
  box-shadow: var(--shadow);
  animation: fadeUp 0.22s ease;
}
.modal-card.wide { max-width: 920px; }
.modal-close {
  position: absolute; top: 16px; right: 16px;
  background: transparent; border: 0; color: var(--text-faint);
  font-size: 17px; cursor: pointer; width: 34px; height: 34px;
  border-radius: 10px; transition: all 0.15s;
  display: grid; place-items: center;
}
.modal-close:hover { background: var(--surface-2); color: var(--text); }

.kv { display: grid; gap: 2px; margin: 18px 0; }
.kv div { display: flex; justify-content: space-between; gap: 18px; padding: 10px 2px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.kv span { color: var(--text-faint); font-size: 13px; white-space: nowrap; }
.kv b { font-size: 13.5px; text-align: right; word-break: break-all; font-weight: 600; }
.kv .kv-val { display: inline-flex; align-items: center; gap: 8px; justify-content: flex-end; min-width: 0; color: var(--text); }
.kv .kv-val b { color: var(--text); }

.file-list { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.file-link {
  color: var(--green); text-decoration: none;
  font-family: var(--mono); font-size: 13px;
  padding: 10px 13px; background: rgba(0,0,0,0.3);
  border: 1px solid var(--border); border-radius: 10px;
  display: flex; justify-content: space-between; gap: 10px;
  transition: all 0.15s;
}
.file-link span { color: var(--text-faint); }
.file-link:hover { border-color: var(--green); background: rgba(47,230,180,0.06); }

/* ---------- build ---------- */
.build-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.inject-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; align-items: center; }
.inject-hint {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 14px; border-radius: 10px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  font-size: 13px; line-height: 1.5; color: var(--text-dim);
}
.inject-hint b { color: var(--text); }
.inject-hint-ico {
  flex-shrink: 0; color: var(--accent);
  display: inline-flex; margin-top: 1px;
}
.build-status { margin-top: 20px; font-size: 14px; font-weight: 600; }
.build-live { color: var(--gold); animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: 0.4; } }
/* ---------- inject progress bar ---------- */
.inject-progress {
  display: flex; align-items: center; gap: 12px;
  margin-top: 14px;
}
.inject-progress-track {
  flex: 1; height: 8px; border-radius: 99px;
  background: rgba(255,255,255,0.07); overflow: hidden;
}
.inject-progress-fill {
  height: 100%; width: 0%;
  border-radius: 99px;
  background: linear-gradient(90deg, #c9d1d9, #8b949e);
  box-shadow: 0 0 12px rgba(139,148,158,0.6);
  transition: width 0.4s ease;
}
.inject-progress-pct {
  font-size: 13px; font-weight: 700; min-width: 38px; text-align: right;
  color: var(--text);
}
/* ---------- circular progress ring ---------- */
.progress-ring-wrap {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  margin: 20px auto 4px; width: 150px;
}
.progress-ring { width: 130px; height: 130px; transform: rotate(-90deg); }
.progress-ring .ring-bg { fill: none; stroke: rgba(255,255,255,0.08); stroke-width: 12; }
.progress-ring .ring-fill {
  fill: none; stroke: url(#ringGrad); stroke-width: 12; stroke-linecap: round;
  transition: stroke-dashoffset 0.35s ease;
  filter: drop-shadow(0 0 6px rgba(139,148,158,0.55));
}
.ring-pct {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  font-family: var(--mono); font-size: 22px; font-weight: 800; color: var(--text);
}

/* ---------- upload button ---------- */
.btn-upload {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%;
  padding: 34px 20px; border-radius: 14px;
  font-family: var(--sans); font-size: 15px; font-weight: 700;
  color: var(--text); cursor: pointer;
  background: transparent;
  border: 1.5px dashed rgba(139,148,158,0.5);
  transition: all 0.2s ease;
}
.btn-upload::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(220px 120px at 50% 0%, rgba(139,148,158,0.18), transparent 80%);
  opacity: 0; transition: opacity 0.2s ease;
}
.btn-upload:hover::before { opacity: 1; }
.btn-upload:hover {
  border-color: var(--accent);
  background: rgba(139,148,158,0.06);
  box-shadow: 0 0 0 4px rgba(139,148,158,0.08);
}
.btn-upload:active { transform: scale(0.99); }
.btn-upload svg { color: var(--accent); width: 22px; height: 22px; transition: transform 0.2s ease; }
.btn-upload:hover svg { transform: translateY(-2px); }

/* ---------- build mod card ---------- */
.build-mod-card { max-width: 720px; margin: 0 auto; }
.build-mod-card .card { padding: 26px 28px; }
.build-mod-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 9px; margin-right: 8px;
  vertical-align: middle; color: var(--accent);
  background: rgba(139,148,158,0.1); border: 1px solid rgba(139,148,158,0.25);
}
.build-mod-top {
  display: flex; gap: 28px; align-items: flex-start; justify-content: space-between;
  flex-wrap: wrap;
}
.build-mod-left { flex: 1; min-width: 240px; max-width: 400px; }
.build-mod-right { flex-shrink: 0; min-width: 170px; }

/* version static */
.version-static {
  display: flex; flex-direction: column; gap: 6px;
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border); border-radius: 11px;
  padding: 11px 14px;
}
.version-static-row { display: flex; align-items: center; gap: 8px; }
.version-static-val { font-size: 13.5px; font-weight: 700; color: var(--text); }
.version-static-sub { font-size: 11.5px; color: var(--text-faint); }
.version-latest-tag {
  font-size: 10px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
  color: var(--accent); background: rgba(139,148,158,0.12);
  padding: 2px 7px; border-radius: 6px;
}

/* build button spinner */
.btn-spinner svg { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn-spinner { display: inline-flex; }

/* build tabs */
.build-tabs {
  display: flex; margin-top: 24px;
  border-bottom: 1px solid var(--border);
}
.build-tab {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 14px; cursor: pointer;
  background: transparent; border: 0;
  color: var(--text-faint); font-family: var(--sans);
  font-size: 13.5px; font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, background 0.15s;
}
.build-tab:hover { color: var(--text); background: rgba(255,255,255,0.03); }
.build-tab.active { color: var(--text); border-bottom-color: var(--accent); background: rgba(139,148,158,0.06); }
.build-tab-pane { display: none; padding-top: 20px; }
.build-tab-pane.active { display: block; }
.build-tab-pane .muted { margin-bottom: 14px; }

/* branding */
.branding-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.branding-ico {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  background: rgba(139,148,158,0.1); border: 1px solid rgba(139,148,158,0.25);
}
.branding-head h4 { font-size: 16px; margin: 0 0 3px; }
.branding-head .muted { font-size: 12.5px; margin: 0; }
.branding-layout {
  display: flex; flex-direction: column; gap: 16px;
}
.branding-form { display: flex; flex-direction: column; gap: 14px; }
.branding-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.branding-icon-row { display: flex; align-items: center; gap: 12px; }
.branding-icon-preview {
  width: 52px; height: 52px; border-radius: 12px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text-faint);
}
.branding-icon-preview img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 520px) {
  .branding-row { grid-template-columns: 1fr; }
}

/* ---------- local builder card ---------- */
.build-card { display: flex; flex-direction: column; }
.build-card .build-actions { margin-top: 18px; }
.build-card .btn-block, .build-card .btn { flex: 1; }
.build-progress { margin-top: 18px; }
.progress-track {
  height: 7px; border-radius: 6px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  overflow: hidden;
}
.progress-fill {
  height: 100%; width: 0%;
  border-radius: 6px;
  background: linear-gradient(90deg, #8b949e, #6e7681);
  box-shadow: 0 0 14px var(--accent-glow);
  transition: width 0.6s ease;
}
.progress-label {
  display: block; margin-top: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--text-faint);
  animation: blink 1.2s infinite;
}

/* ---------- padding selector ---------- */
.pad-field { margin-top: 16px; }
.pad-select {
  display: flex; gap: 6px; flex-wrap: wrap;
  margin-top: 8px; padding: 5px;
  background: rgba(0,0,0,0.28);
  border: 1px solid var(--border); border-radius: 11px;
}
.pad-opt {
  flex: 1; min-width: 52px; padding: 8px 10px;
  border: 0; border-radius: 8px;
  background: transparent; color: var(--text-dim);
  font-family: var(--sans); font-size: 12px; font-weight: 700;
  cursor: pointer; transition: all 0.15s;
}
.pad-opt:hover { color: var(--text); }
.pad-opt.active { background: linear-gradient(135deg, var(--accent), #4d555e); color: #fff; box-shadow: 0 6px 18px -6px var(--accent-glow); }

/* ---------- coming soon ---------- */
.coming-soon { text-align: center; padding: 76px 32px; position: relative; overflow: hidden; }
.coming-soon::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(440px 220px at 50% 0%, rgba(139,148,158,0.07), transparent 70%);
}
.cs-icon {
  font-size: 48px; color: var(--accent); margin-bottom: 18px;
  display: inline-block; animation: floaty 3s ease-in-out infinite;
}
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.coming-soon h3 { font-size: 23px; letter-spacing: 1px; }
.coming-soon .muted { max-width: 420px; margin: 14px auto 0; }

/* ---------- check ---------- */
.check { display: flex; align-items: flex-start; gap: 11px; margin-top: 16px; font-size: 13.5px; color: var(--text-dim); cursor: pointer; }
.check input { margin-top: 2px; accent-color: var(--accent); width: 16px; height: 16px; }

/* ---------- toast ---------- */
.toast-wrap { position: fixed; bottom: 26px; right: 26px; transform: none; z-index: 120; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.toast {
  padding: 13px 24px; border-radius: 13px;
  background: var(--surface-solid); border: 1px solid var(--border-strong);
  box-shadow: var(--shadow); font-size: 13.5px; font-weight: 600;
  animation: toastIn 0.22s ease;
  display: flex; align-items: center; gap: 10px;
}
.toast.ok { border-color: rgba(47,230,180,0.4); color: var(--green); }
.toast.err { border-color: rgba(255,92,116,0.4); color: var(--danger); }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- scrollbar ---------- */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #34343a; border-radius: 8px; border: 3px solid transparent; background-clip: content-box; }
::-webkit-scrollbar-thumb:hover { background: #45454b; background-clip: content-box; border: 3px solid transparent; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .shell { flex-direction: column; }
  .sidebar {
    position: sticky; top: 0; z-index: 60;
    flex: 0 0 auto; width: 100%; height: auto;
    flex-direction: row; align-items: center; gap: 12px;
    padding: 12px 14px;
    border-right: none; border-bottom: 1px solid var(--border);
  }
  .side-brand { padding: 0; }
  .side-brand .logo-name { display: none; }
  .side-brand .brand-hr { display: none; }
  .side-nav { flex-direction: row; flex: 1; justify-content: center; gap: 2px; }
.side-nav .nav-item.admin-only,
.side-nav .nav-cat.admin-only { display: none !important; }
body.is-admin .side-nav .nav-item.admin-only,
body.is-admin .side-nav .nav-cat.admin-only { display: flex; }
.side-nav .nav-item {
    flex-direction: column; gap: 3px; padding: 8px 10px;
    font-size: 9px; letter-spacing: 0.6px; border-radius: 11px;
    min-width: 0;
  }
  .side-nav .nav-item span:last-child { font-size: 9px; }
  .side-foot { display: none; }
  .app-main { padding: 22px 14px 40px; }
}
@media (max-width: 720px) {
  .app-main { padding: 22px 14px 40px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .card { padding: 19px; }
  .view-title { font-size: 22px; }
  .dash-hero { flex-direction: column; align-items: flex-start; }
  .status-pill { display: none; }
  .builder-hero { flex-direction: column; align-items: flex-start; padding: 24px; }
  .builder-hero-meta { min-width: 0; width: 100%; }
}

/* ---------- auth page overrides ---------- */
.auth-body {
  background: #0a0a0b;
}
.auth-body .auth-bg::before,
.auth-body .auth-bg::after {
  display: none;
}
#authContent {
  transition: opacity 0.8s ease 0.15s;
}
.auth-card .btn-primary {
  background: rgba(255, 255, 255, 0.94);
  color: #151517;
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.5);
}
.auth-card .btn-primary:hover {
  background: #fff;
  color: #151517;
  filter: brightness(1.04);
  box-shadow: 0 12px 32px -6px rgba(0, 0, 0, 0.55);
}

/* ---------- input wrap / password toggle ---------- */
.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.input-wrap .input { padding-right: 44px; }
.pw-eye {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px; height: 32px;
  display: grid; place-items: center;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: var(--text-faint);
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}
.pw-eye:hover { color: var(--text-dim); background: rgba(255,255,255,0.05); }
.pw-eye.active { color: var(--accent-2); }

/* ---------- password strength ---------- */
.pw-strength {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 2px;
}
.pw-bar {
  width: 0;
  height: 100%;
  border-radius: 3px;
  transition: width 0.3s ease, background 0.3s ease;
}
.pw-hint {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.2s;
  min-height: 14px;
  display: block;
}

/* ---------- button spinner ---------- */
.btn-spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  position: absolute;
  left: 50%;
  top: 50%;
  margin: -9px 0 0 -9px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- dashboard vibe match ---------- */
.app-body {
  background:
    radial-gradient(900px 600px at 85% -10%, rgba(139, 148, 158, 0.10), transparent 60%),
    radial-gradient(800px 500px at 0% 100%, rgba(176, 182, 189, 0.06), transparent 60%),
    var(--bg);
}
.app-body .blob { opacity: 0.5; }
.blob-1 { width: 520px; height: 520px; top: -200px; left: -140px; background: rgba(139, 148, 158, 0.22); animation: drift1 24s ease-in-out infinite alternate; }
.blob-2 { width: 480px; height: 480px; bottom: -220px; right: -120px; background: rgba(139, 148, 158, 0.16); animation: drift2 28s ease-in-out infinite alternate; }
.blob-3 { width: 360px; height: 360px; top: 40%; left: 55%; background: rgba(139, 148, 158, 0.12); animation: drift3 32s ease-in-out infinite alternate; }

.topbar-status {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 10.5px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--green); padding: 6px 13px; border-radius: 20px;
  background: rgba(47, 230, 180, 0.07); border: 1px solid rgba(47, 230, 180, 0.25);
}
.topbar-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 9px var(--green-glow); animation: pulseDot 2s ease-in-out infinite; }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   Shell + Sidebar layout (desktop base â€” responsive overrides above)
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

.shell {
  display: flex;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

.sidebar {
  width: 230px;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  background: rgba(11, 11, 13, 0.92);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-right: 1px solid var(--border);
  padding: 22px 14px;
  overflow-y: auto;
}

.side-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 4px 10px 0;
}

.brand-hr {
  width: 100%;
  border: 0;
  border-top: 1px solid var(--accent);
  opacity: 0.7;
  box-shadow: 0 0 10px var(--accent-glow);
}

.auth-brand .brand-hr { width: 120px; margin-top: -6px; }
.topbar-left .brand-hr { width: 80px; }
.side-brand .brand-hr { width: 100%; }

.side-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.side-nav .nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 12px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-faint);
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  width: 100%;
  text-align: left;
}
.side-nav .nav-item:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}
.side-nav .nav-item.active {
  color: #fff;
  background: rgba(139, 148, 158, 0.1);
  border-color: rgba(139, 148, 158, 0.12);
}
.side-nav .nav-item .nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.side-foot {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  margin-top: 8px;
}

.side-user {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  margin-bottom: 4px;
}
.side-user .user-avatar { width: 30px; height: 30px; font-size: 13px; flex-shrink: 0; }
.side-user-info { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.side-user-info b { font-size: 13px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-user-role { font-size: 10px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--text-faint); }

.shell .app-main {
  margin-left: 230px;
  padding: 30px 34px 50px;
  max-width: none;
  width: calc(100% - 230px);
}

/* ---------- status pill ---------- */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 13px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.status-pill i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}
.status-pill.ok {
  background: rgba(47, 230, 180, 0.07);
  color: var(--green);
  border: 1px solid rgba(47, 230, 180, 0.2);
}
.status-pill.ok i {
  background: var(--green);
  box-shadow: 0 0 6px rgba(47, 230, 180, 0.6);
}

/* ---------- dashboard role badge ---------- */
.dash-role {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-top: 2px;
}

/* ---------- range slider (padding scrollwheel) ---------- */
.range-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
}
.range-slider {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  outline: none;
  cursor: pointer;
}
.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 8px rgba(139, 148, 158, 0.4);
  cursor: pointer;
  transition: transform 0.15s;
}
.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}
.range-slider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 8px rgba(139, 148, 158, 0.4);
  cursor: pointer;
}
.range-val {
  min-width: 44px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-2);
  text-align: right;
  font-family: var(--mono);
}

/* ---------- copy button ---------- */
.copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 7px;
  color: var(--text-faint);
  cursor: pointer;
  font-size: 14px;
  transition: all 0.15s;
  flex-shrink: 0;
}
.copy-btn:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

/* ---------- settings grid ---------- */
.settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}
.settings-grid .card-wide { grid-column: 1 / -1; }
@media (max-width: 780px) {
  .settings-grid { grid-template-columns: 1fr; }
}
.settings-grid .sessions-card { grid-column: 1 / -1; }
.settings-grid .webhook-card { display: flex; flex-direction: column; }
.webhook-card .form-error { margin-top: 12px; }
.webhook-note { margin-top: auto; padding-top: 18px; display: flex; gap: 9px; align-items: flex-start; color: var(--text-faint); font-size: 11.5px; line-height: 1.55; border-top: 1px solid rgba(255,255,255,0.05); }
.webhook-note svg { flex-shrink: 0; margin-top: 2px; color: var(--accent-2); }
.avatar-row { display: flex; align-items: center; gap: 18px; }
.avatar-actions small { display: block; margin-top: 8px; }
.user-avatar.has-img img, #accAvatarPreview img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; display: block; }
.sessions-list { display: flex; flex-direction: column; gap: 8px; }
.session-row { display: flex; align-items: center; gap: 14px; padding: 12px 14px; background: rgba(255,255,255,0.02); border: 1px solid var(--border); border-radius: 10px; }
.session-row.current { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.session-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--text-faint); flex-shrink: 0; }
.session-row.failed { border-color: rgba(255, 99, 99, 0.35); }
.session-dot.bad { background: #ff6363; box-shadow: 0 0 10px rgba(255, 99, 99, 0.7); }
.trap-tag { font-size: 9px; font-weight: 800; letter-spacing: 1px; color: #ff6363; border: 1px solid rgba(255,99,99,.45); border-radius: 6px; padding: 2px 6px; margin-left: 6px; vertical-align: middle; text-transform: uppercase; }
.trap-tag.live-tag { color: var(--cyan, #7cd4ff); border-color: rgba(124,212,255,.45); margin-left: 0; }
.session-dot.live { background: var(--cyan, #7cd4ff); box-shadow: 0 0 12px rgba(124,212,255,.8); animation: pulse-live 1.6s ease-in-out infinite; }
@keyframes pulse-live { 0%,100% { opacity: 1 } 50% { opacity: .35 } }
.session-row.current .session-dot { background: var(--cyan, var(--accent-2)); box-shadow: 0 0 10px var(--cyan, var(--accent-2)); }
.session-info { display: flex; flex-direction: column; gap: 3px; flex: 1 1 auto; min-width: 0; }
.session-info b { font-size: 13.5px; }
.session-info .mono { font-size: 11.5px; color: var(--text-dim); }
.session-you { font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--accent-2); border: 1px solid rgba(124,156,255,0.35); border-radius: 6px; padding: 2px 6px; margin-left: 4px; vertical-align: middle; }

/* ---------- keyframes ---------- */
@keyframes pulseDot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ---------- sidebar categories ---------- */
.side-nav .nav-cat {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-faint);
  opacity: 0.7;
  padding: 0 14px 4px;
  margin-top: 0;
}
.side-nav .nav-cat:first-child { margin-top: 0; }
@media (max-width: 980px) {
  .side-nav .nav-cat { display: none; }
}

/* ---------- leaderboard ---------- */
.row-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  padding: 0 6px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), #4d555e);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  box-sizing: border-box;
  vertical-align: middle;
}
.row-avatar-img { width: 26px; padding: 0; border-radius: 9px; object-fit: cover; }
.rank { font-weight: 700; color: var(--accent); font-size: 15px; }
.rank-num { color: var(--text-dim); font-weight: 700; }
.me-tag {
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.5px;
  color: var(--green); border: 1px solid rgba(47, 230, 180, 0.4);
  padding: 1px 6px; border-radius: 20px; background: rgba(47, 230, 180, 0.1);
  vertical-align: middle; margin-left: 6px;
}
.leader-table .me-row td { background: rgba(47, 230, 180, 0.06); }
.podium {
  display: flex; align-items: flex-end; justify-content: center; gap: 40px;
  padding: 30px 10px 24px; margin-bottom: 6px;
}
.podium-slot {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 18px 20px 14px; border-radius: 18px;
  background: var(--surface-2); border: 1px solid var(--border);
  min-width: 110px; flex: 0 1 150px;
}
.podium-slot.empty { background: transparent; border-color: transparent; }
.podium-slot.place-1 {
  order: 1; transform: scale(1.18);
  border-color: var(--border-strong);
}
.podium-slot.place-2 {
  order: 0; transform: scale(1.09);
}
.podium-slot.place-3 {
  order: 2; transform: scale(1);
}
.podium-rank {
  font-size: 30px; font-weight: 800; line-height: 1;
}
.podium-slot.place-1 .podium-rank { color: var(--text); font-size: 44px; }
.podium-slot.place-2 .podium-rank { color: var(--text-faint); font-size: 36px; }
.podium-slot.place-3 .podium-rank { color: var(--text-faint); font-size: 28px; }
.podium-avatar .row-avatar { min-width: 40px; height: 40px; font-size: 16px; border-radius: 12px; }
.podium-avatar .row-avatar-img { width: 40px; height: 40px; border-radius: 12px; }
.podium-slot.place-1 .podium-avatar .row-avatar,
.podium-slot.place-1 .podium-avatar .row-avatar-img { min-width: 52px; width: 52px; height: 52px; font-size: 20px; border-radius: 15px; }
.podium-slot.place-2 .podium-avatar .row-avatar,
.podium-slot.place-2 .podium-avatar .row-avatar-img { min-width: 44px; width: 44px; height: 44px; font-size: 17px; border-radius: 13px; }
.podium-slot.place-3 .podium-avatar .row-avatar,
.podium-slot.place-3 .podium-avatar .row-avatar-img { min-width: 38px; width: 38px; height: 38px; font-size: 15px; border-radius: 11px; }
.podium-name { font-weight: 700; font-size: 13.5px; text-align: center; max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.podium-count { font-size: 12px; color: var(--text-dim); font-weight: 600; }
.leader-divider {
  height: 1px; margin: 4px 0 18px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}
.my-rank-card {
  margin-top: 18px; padding: 14px 18px; border-radius: 14px;
  background: var(--surface-2); border: 1px solid var(--border-strong);
}
.my-rank-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.my-rank-label { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-dim); font-weight: 700; }
.my-rank-pos {
  font-size: 18px; font-weight: 800; color: var(--accent);
  background: rgba(139, 148, 158, 0.12); border: 1px solid rgba(139, 148, 158, 0.35);
  padding: 2px 10px; border-radius: 20px;
}
.my-rank-row { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.my-rank-row + .my-rank-row { margin-top: 4px; }
.badge-gold { background: rgba(255, 200, 87, 0.15); color: var(--gold); border: 1px solid rgba(255, 200, 87, 0.35); }

/* ---------- features & suggestions ---------- */
.feat-list { display: flex; flex-direction: column; gap: 10px; max-height: 520px; overflow-y: auto; }
.feat-item {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  transition: background 0.15s;
}
.feat-item.clickable { cursor: pointer; }
.feat-item.clickable:hover { background: rgba(255, 255, 255, 0.05); }
.feat-item.feat-declined { opacity: 0.55; }
.feat-head { display: flex; align-items: flex-start; gap: 10px; }
.feat-head > div:nth-child(2) { flex: 1; min-width: 0; }
.feat-body { margin-top: 9px; font-size: 13px; color: var(--text-soft); white-space: pre-wrap; word-break: break-word; }
.vote-btn { display: inline-flex; align-items: center; gap: 5px; flex-shrink: 0; }
.vote-btn .up { font-size: 10px; }
.vote-btn.voted { color: var(--accent); border-color: var(--accent); }

/* ---------- tickets (Discord-like) ---------- */
.ticket-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 16px;
  align-items: stretch;
  height: calc(100vh - 210px);
  min-height: 420px;
}
.ticket-sidenav { display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.ticket-sidenav h3 { margin-bottom: 0; }
.ticket-sidenav .feat-list { flex: 1; max-height: none; min-height: 0; }
#ticketNewBtn:disabled { opacity: 0.5; cursor: not-allowed; }
.ticket-item {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 12px; border-radius: 10px;
  border: 1px solid var(--border); background: rgba(255, 255, 255, 0.02);
  cursor: pointer; transition: background 0.15s, border-color 0.15s;
}
.ticket-item:hover { background: rgba(255, 255, 255, 0.05); }
.ticket-item.ticket-selected { border-color: var(--accent); background: rgba(139, 148, 158, 0.1); }
.ticket-item.ticket-open { border-left: 3px solid var(--green); }
.ticket-item-icon { flex-shrink: 0; }
.ticket-item-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ticket-item-body b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.ticket-item-chev { color: var(--text-faint); font-size: 18px; }
.ticket-chat { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.ticket-chat-empty {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; color: var(--text-faint); text-align: center; padding: 40px;
}
.ticket-chat-empty-icon svg { opacity: 0.35; }
.ticket-chat-view { flex: 1; overflow-y: auto; padding: 18px; min-height: 0; }
.ticket-header {
  position: sticky; top: 0; z-index: 2;
  display: flex; align-items: center;
  padding: 12px 18px; margin-bottom: 6px;
  background: var(--surface-2); border-bottom: 1px solid var(--border);
}
.ticket-header-title { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; }
.ticket-hash { color: var(--text-faint); font-weight: 700; }
.ticket-replies { display: flex; flex-direction: column; gap: 2px; }
.ticket-msg {
  display: flex; gap: 12px;
  padding: 8px 10px; border-radius: 8px;
  transition: background 0.12s;
}
.ticket-msg:hover { background: rgba(255, 255, 255, 0.03); }
.ticket-msg.staff { background: rgba(139, 148, 158, 0.06); border-left: 3px solid var(--accent); }
.msg-avatar { flex-shrink: 0; margin-top: 2px; }
.msg-content { flex: 1; min-width: 0; }
.msg-head { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.msg-user { color: var(--text); font-size: 13.5px; }
.msg-staff-name { color: var(--accent); }
.msg-time { font-size: 11px; color: var(--text-faint); }
.ticket-body { margin-top: 3px; font-size: 13.5px; white-space: pre-wrap; word-break: break-word; color: var(--text-soft); }
.ticket-composer {
  display: flex; flex-direction: column; gap: 10px;
  padding: 12px 18px 16px; border-top: 1px solid var(--border);
  background: var(--surface-2);
}
.ticket-composer textarea { resize: none; }
.ticket-composer-actions { display: flex; gap: 10px; }
.ticket-composer-actions .btn-primary { margin-left: auto; }
.ticket-composer textarea:disabled { opacity: 0.6; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; }
.dot-green { background: var(--green); box-shadow: 0 0 8px rgba(47, 230, 180, 0.7); }
.dot-dim { background: var(--text-faint); }
/* ---------- turnstile ---------- */
.cf-turnstile {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: -10px 0 0;
}
.cf-turnstile iframe {
  width: 100% !important;
  min-width: 100% !important;
  border-radius: var(--radius-sm) !important;
}
