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

:root {
  --bg: #0a0b0f; --bg-2: #0f1117; --surface: #14161d; --surface-2: #1a1d26;
  --border: #22252f; --border-2: #2d313d; --text: #e7e9ee; --muted: #8a8f9c;
  --muted-2: #5f6470; --accent: #8a8f9c; --accent-2: #5f6470;
  --green: #22c55e; --yellow: #eab308; --red: #ef4444;
  --radius: 14px; --shadow: 0 10px 40px rgba(0,0,0,0.4);
  --glow: 0 0 30px rgba(138,143,156,0.35); --btn-h: 40px;
}
[data-theme="light"] {
  --bg: #f5f6fa; --bg-2: #eceef4; --surface: #ffffff; --surface-2: #f0f2f8;
  --border: #dfe2ea; --border-2: #c8ccd8; --text: #14161d; --muted: #5a5f6c;
  --muted-2: #8a8f9c; --shadow: 0 10px 40px rgba(0,0,0,0.08);
}

html, body { height: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.55;
  min-height: 100vh; overflow-x: hidden;
  display: flex; flex-direction: column;
  transition: background 0.35s ease, color 0.35s ease;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { max-width: 100%; display: block; }

.bg-image {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: url('bg.jpg'); background-size: cover;
  background-position: right center; background-repeat: no-repeat;
  opacity: 0.55; transition: opacity 0.4s ease;
}
[data-theme="light"] .bg-image { opacity: 0.35; }
@media (max-width: 768px) {
  .bg-image { background-position: 70% center; opacity: 0.4; }
  [data-theme="light"] .bg-image { opacity: 0.25; }
}
.bg-glow {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(600px 400px at 15% 10%, rgba(138,143,156,0.14), transparent 60%),
              radial-gradient(700px 500px at 85% 90%, rgba(95,100,112,0.10), transparent 60%);
}
.bg-grid {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image: linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 80%);
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 80%);
}
[data-theme="light"] .bg-grid { display: none; }

.splash { position: fixed; inset: 0; z-index: 9999; background: #06070a;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease; }
[data-theme="light"] .splash { background: #f5f6fa; }
.splash--hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.splash__inner { text-align: center; animation: splashIn 0.9s ease; position: relative; z-index: 2; }
@keyframes splashIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.splash__mark {
  width: 84px; height: 84px; margin: 0 auto 24px; border-radius: 22px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid; place-items: center;
  font-family: 'Unbounded', sans-serif; font-weight: 900; font-size: 28px; color: #fff;
  box-shadow: 0 0 60px rgba(138,143,156,0.6), 0 0 120px rgba(138,143,156,0.3);
  animation: splashPulse 2s ease-in-out infinite;
}
@keyframes splashPulse {
  0%,100% { box-shadow: 0 0 60px rgba(138,143,156,0.6), 0 0 120px rgba(138,143,156,0.3); }
  50% { box-shadow: 0 0 80px rgba(138,143,156,0.9), 0 0 160px rgba(138,143,156,0.4); }
}
.splash__name { font-family: 'Unbounded', sans-serif; font-size: clamp(22px, 4vw, 36px);
  font-weight: 800; letter-spacing: 4px; color: #fff; margin-bottom: 8px; }
[data-theme="light"] .splash__name { color: #14161d; }
.splash__sub { font-size: 12px; letter-spacing: 6px; text-transform: uppercase; color: var(--muted); margin-bottom: 60px; }
.splash__hint { display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 24px; border-radius: 100px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
  color: var(--muted); font-size: 13px; animation: hintPulse 2.4s ease-in-out infinite; }
@keyframes hintPulse { 0%,100% { opacity: 0.6; } 50% { opacity: 1; } }
.splash__pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 12px var(--accent); animation: dotPulse 1.6s ease-in-out infinite; }
@keyframes dotPulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.4); opacity: 0.5; } }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 1; }

.header { position: sticky; top: 0; z-index: 100;
  background: rgba(10,11,15,0.78); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border); }
[data-theme="light"] .header { background: rgba(245,246,250,0.85); }
.header__inner { display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 8px; max-width: 1500px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo__mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid; place-items: center;
  font-family: 'Unbounded', sans-serif; font-weight: 900; font-size: 14px; color: #fff;
  box-shadow: var(--glow); flex-shrink: 0;
}
.logo__text { display: flex; flex-direction: column; line-height: 1; min-width: 0; }
.logo__name { font-family: 'Unbounded', sans-serif; font-weight: 800; letter-spacing: 0.5px;
  font-size: 13px; white-space: nowrap; }
.logo__sub { font-size: 9px; color: var(--muted); letter-spacing: 1.5px; text-transform: uppercase; white-space: nowrap; }

.nav { display: flex; gap: 2px; flex: 1 1 auto; justify-content: center;
  flex-wrap: nowrap; min-width: 0; overflow-x: auto; overflow-y: hidden;
  scrollbar-width: none; -ms-overflow-style: none; padding: 0 4px; }
.nav::-webkit-scrollbar { display: none; }
.nav__link { padding: 8px 10px; border-radius: 8px; font-size: 13px; font-weight: 500;
  color: var(--muted); transition: 0.2s; white-space: nowrap; flex-shrink: 0; line-height: 1.2; }
.nav__link:hover { color: var(--text); background: var(--surface); }
.nav__link.active { color: var(--text); background: var(--surface); }

.header__actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; min-width: 0; }
.burger { display: none; flex-direction: column; gap: 4px; padding: 8px;
  width: 40px; height: 40px; justify-content: center; align-items: center; }
.burger span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; }

.admin-user { display: inline-flex; align-items: center; gap: 6px; height: var(--btn-h);
  padding: 0 4px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(138,143,156,0.18), rgba(95,100,112,0.10));
  border: 1px solid rgba(138,143,156,0.35); font-size: 13px; color: var(--text);
  transition: 0.2s; max-width: 140px; min-width: 0; cursor: pointer; }
.admin-user:hover { border-color: rgba(138,143,156,0.6); }
.admin-user__avatar { width: 26px; height: 26px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--border-2); flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.admin-user__name { font-family: 'JetBrains Mono', monospace; font-weight: 700;
  font-size: 11.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  max-width: 70px; min-width: 0; }
.admin-user__logout { width: 22px; height: 22px; border-radius: 6px;
  display: grid; place-items: center; color: var(--muted); font-size: 14px;
  line-height: 1; transition: 0.2s; background: transparent; flex-shrink: 0; }
.admin-user__logout:hover { background: rgba(239,68,68,0.15); color: var(--red); }

.icon-btn--theme { width: var(--btn-h); height: var(--btn-h); border-radius: 10px;
  display: grid; place-items: center; background: var(--surface);
  border: 1px solid var(--border); color: var(--muted); transition: 0.2s; padding: 0; }
.icon-btn--theme:hover { color: var(--text); border-color: var(--border-2); background: var(--surface-2); }
.icon-btn--theme .ico-sun { display: none; }
[data-theme="light"] .icon-btn--theme .ico-moon { display: none; }
[data-theme="light"] .icon-btn--theme .ico-sun  { display: block; }

.lang { position: relative; }
.lang__btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: var(--btn-h); padding: 0 14px; min-width: 76px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
  color: var(--muted); font-size: 13px; font-weight: 600; transition: 0.2s; }
.lang__btn:hover { color: var(--text); border-color: var(--border-2); background: var(--surface-2); }
.lang__btn #langLabel { font-family: 'JetBrains Mono', monospace; font-size: 12px; }
.lang__menu { position: absolute; top: calc(100% + 8px); right: 0; min-width: 170px;
  background: var(--surface); border: 1px solid var(--border-2); border-radius: 12px;
  padding: 6px; box-shadow: var(--shadow); opacity: 0; visibility: hidden;
  transform: translateY(-8px); transition: 0.2s; z-index: 300; }
.lang.open .lang__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang__menu button { display: flex; align-items: center; gap: 8px; width: 100%;
  text-align: left; padding: 9px 12px; border-radius: 8px; font-size: 13.5px;
  color: var(--muted); transition: 0.2s; }
.lang__menu button:hover { background: var(--surface-2); color: var(--text); }
.lang__menu button.active { background: rgba(138,143,156,0.14); color: #b8bcc7; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--btn-h); padding: 0 18px; border-radius: 10px;
  font-size: 14px; font-weight: 600; transition: 0.2s; white-space: nowrap;
  border: 1px solid transparent; font-family: inherit; line-height: 1; vertical-align: middle; }
.btn--primary { background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff; box-shadow: 0 4px 20px rgba(138,143,156,0.3); }
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 6px 26px rgba(138,143,156,0.45); }
.btn--ghost { background: var(--surface); border-color: var(--border); color: var(--text); }
.btn--ghost:hover { border-color: var(--border-2); background: var(--surface-2); }
.btn--discord { background: #5865F2; color: #fff; }
.btn--discord:hover { background: #4752c4; }
.btn--telegram { background: #229ED9; color: #fff; }
.btn--telegram:hover { background: #1b7fb0; }
.btn--danger { background: rgba(239,68,68,0.12); color: #ef4444; border-color: rgba(239,68,68,0.3); }
.btn--danger:hover { background: rgba(239,68,68,0.2); }
.btn--full { width: 100%; }
.btn--sm { height: 34px; padding: 0 14px; font-size: 13px; }

main { flex: 1; padding: 40px 0 80px; position: relative; z-index: 1; }
.hero { padding: 60px 0 50px; text-align: center; }
.hero__badge { display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 100px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: 12px; color: var(--muted); margin-bottom: 22px; }
.hero__dot { width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 10px var(--green); }
.hero__title { font-family: 'Unbounded', sans-serif; font-weight: 800;
  letter-spacing: -1.5px; line-height: 1.05; font-size: clamp(34px, 6vw, 64px); margin-bottom: 20px; }
.hero__title span { background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { font-size: 17px; color: var(--muted); max-width: 620px; margin: 0 auto 32px; }
.hero__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.search { max-width: 640px; margin: 0 auto 20px; position: relative; }
.search__icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  color: var(--muted); pointer-events: none; }
.search__input { width: 100%; height: 54px; padding: 0 18px 0 48px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  color: var(--text); font-size: 15px; transition: 0.2s; font-family: inherit; }
.search__input:focus { outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(138,143,156,0.15); }
.search__input::placeholder { color: var(--muted-2); }

.section { margin-bottom: 60px; }
.section__head { display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px; gap: 16px; flex-wrap: wrap; }
.section__title { font-family: 'Unbounded', sans-serif; font-size: 22px;
  font-weight: 700; letter-spacing: -0.4px; }
.section__sub { color: var(--muted); font-size: 14px; margin-top: 4px; }

.cats { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.chip { height: 36px; padding: 0 16px; border-radius: 100px;
  background: var(--surface); border: 1px solid var(--border); color: var(--muted);
  font-size: 14px; font-weight: 500; transition: 0.2s;
  display: inline-flex; align-items: center; justify-content: center; }
.chip:hover { color: var(--text); border-color: var(--border-2); }
.chip.active { background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff; border-color: transparent; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; transition: 0.25s; position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 12px; color: inherit; }
.card:hover { border-color: var(--border-2); transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 24px rgba(138,143,156,0.08); }
.card__title { font-size: 17px; font-weight: 700; color: var(--text); }
.card__desc { color: var(--muted); font-size: 14px; flex: 1; }
.card__meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px;
  color: var(--muted); padding-top: 12px; border-top: 1px solid var(--border); }
.card__meta-item { display: inline-flex; align-items: center; gap: 6px; }
.card__price { color: var(--text); font-weight: 700; font-family: 'JetBrains Mono', monospace; }
.tag { display: inline-block; font-size: 11px; padding: 3px 9px; border-radius: 6px;
  background: rgba(138,143,156,0.12); color: #b8bcc7;
  border: 1px solid rgba(138,143,156,0.25); font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.5px; }

.seller-card { background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column;
  gap: 14px; transition: 0.25s; }
.seller-card:hover { border-color: var(--border-2); transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 24px rgba(138,143,156,0.08); }
.seller-card__head { display: flex; align-items: center; gap: 12px; }
.avatar { width: 46px; height: 46px; border-radius: 12px; object-fit: cover;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); flex-shrink: 0; }
.seller-card__info { flex: 1; min-width: 0; }
.seller-card__name { font-weight: 700; font-size: 15px; color: var(--text); }
.seller-card__username { color: var(--muted); font-size: 13px; font-family: 'JetBrains Mono', monospace; }
.seller-card__desc { color: var(--muted); font-size: 13.5px; }
.seller-card__stats { display: flex; gap: 10px; flex-wrap: wrap; font-size: 13px;
  color: var(--muted); padding: 12px 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.seller-card__stats b { color: var(--text); font-family: 'JetBrains Mono', monospace; }
.seller-card__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.seller-card__actions .btn { flex: 1; min-width: 100px; }

.status { display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 100px; }
.status--available { background: rgba(34,197,94,0.12); color: var(--green); border: 1px solid rgba(34,197,94,0.3); }
.status--busy { background: rgba(234,179,8,0.12); color: var(--yellow); border: 1px solid rgba(234,179,8,0.3); }
.status--offline { background: rgba(239,68,68,0.12); color: var(--red); border: 1px solid rgba(239,68,68,0.3); }
.status__dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor;
  box-shadow: 0 0 8px currentColor; }

.page-head { margin-bottom: 32px; }
.breadcrumbs { display: flex; align-items: center; gap: 8px; font-size: 13px;
  color: var(--muted); margin-bottom: 14px; flex-wrap: wrap; }
.breadcrumbs a:hover { color: var(--text); }
.breadcrumbs span { color: var(--muted-2); }
.page-title { font-family: 'Unbounded', sans-serif; font-size: clamp(26px, 4vw, 38px);
  font-weight: 800; letter-spacing: -0.8px; margin-bottom: 10px; }
.page-desc { color: var(--muted); font-size: 15px; max-width: 720px; }

.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px;
  padding: 16px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); }
.filters select, .filters input { height: 40px; background: var(--bg-2);
  border: 1px solid var(--border); color: var(--text); padding: 0 12px;
  border-radius: 8px; font-size: 13.5px; font-family: inherit; outline: none; transition: 0.2s; }
.filters select:focus, .filters input:focus { border-color: var(--accent); }
.filters input { flex: 1; min-width: 180px; }

.detail-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.detail-block { background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; }
.detail-block h3 { font-size: 16px; font-weight: 700; margin-bottom: 14px; color: var(--text); }
.detail-block ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.detail-block ul li { padding-left: 22px; position: relative; color: var(--muted); font-size: 14px; }
.detail-block ul li::before { content: '▸'; position: absolute; left: 0; color: var(--accent); }

.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--border); }
th { background: var(--bg-2); color: var(--muted); font-weight: 600;
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
tr:last-child td { border-bottom: none; }
td.price { font-family: 'JetBrains Mono', monospace; font-weight: 700; color: #b8bcc7; }
td.time { color: var(--muted); font-family: 'JetBrains Mono', monospace; font-size: 13px; }

.profile-head { display: flex; gap: 20px; align-items: center;
  padding: 28px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); margin-bottom: 24px; flex-wrap: wrap; }
.profile-head .avatar { width: 84px; height: 84px; border-radius: 18px; }
.profile-head__info { flex: 1; min-width: 200px; }
.profile-head__name { font-family: 'Unbounded', sans-serif; font-size: 24px;
  font-weight: 800; letter-spacing: -0.5px; margin-bottom: 4px; color: var(--text); }
.profile-head__user { color: var(--muted); font-family: 'JetBrains Mono', monospace;
  font-size: 14px; margin-bottom: 10px; }
.profile-head__actions { display: flex; gap: 8px; flex-wrap: wrap; }

.about-hero { padding: 60px 0 40px; text-align: center; }
.about-hero__label { font-family: 'JetBrains Mono', monospace; font-size: 12px;
  letter-spacing: 4px; color: var(--accent); text-transform: uppercase; margin-bottom: 20px; }
.about-hero__title { font-family: 'Unbounded', sans-serif;
  font-size: clamp(38px, 8vw, 88px); font-weight: 800; line-height: 0.95;
  margin-bottom: 24px;
  background: linear-gradient(180deg, #fff 30%, #6a6d78 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
[data-theme="light"] .about-hero__title {
  background: linear-gradient(180deg, #14161d 30%, #5a5f6c 100%);
  -webkit-background-clip: text; background-clip: text; }
.about-hero__sub { color: var(--muted); font-size: 15px; max-width: 640px;
  margin: 0 auto; line-height: 1.7; }
.about-story { max-width: 780px; margin: 0 auto; padding: 40px 0; }
.about-story p { font-size: 16px; color: #b9bcc7; line-height: 1.85; margin-bottom: 22px; }
[data-theme="light"] .about-story p { color: #5a5f6c; }
.about-story__divider { width: 60px; height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent); margin: 40px 0; }
.about-story__lead { font-family: 'Unbounded', sans-serif;
  font-size: clamp(20px, 3.5vw, 32px); font-weight: 700; line-height: 1.25;
  color: var(--text); margin: 40px 0 24px; letter-spacing: -0.5px; }
.about-story__lead span { background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent; }

.timeline { display: flex; flex-direction: column; max-width: 620px; margin: 60px auto; }
.timeline__item { display: grid; grid-template-columns: 100px 1fr; gap: 24px;
  padding: 24px 0; border-bottom: 1px solid var(--border); }
.timeline__item:last-child { border-bottom: none; }
.timeline__year { font-family: 'Unbounded', sans-serif; font-size: 28px;
  font-weight: 800; color: var(--accent); letter-spacing: -1px; }
.timeline__item:nth-child(2) .timeline__year { color: var(--text); }
.timeline__item:nth-child(3) .timeline__year {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.timeline__text { font-size: 15px; color: var(--muted); line-height: 1.7; padding-top: 6px; }

.manifesto { text-align: center; padding: 80px 20px; max-width: 900px;
  margin: 0 auto; position: relative; }
.manifesto::before, .manifesto::after { content: ''; position: absolute;
  left: 50%; transform: translateX(-50%); width: 100px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent); }
.manifesto::before { top: 0; }
.manifesto::after { bottom: 0; }
.manifesto__text { font-family: 'Unbounded', sans-serif;
  font-size: clamp(16px, 2.4vw, 24px); font-weight: 700; line-height: 1.5;
  color: var(--text); letter-spacing: -0.3px; text-transform: uppercase; }
.manifesto__text span { display: block; margin: 6px 0; }
.manifesto__text .dim { color: var(--muted-2); }
.manifesto__text .accent { background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent; }

.cta-join { display: flex; justify-content: space-between; align-items: center;
  gap: 20px; padding: 32px; border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(138,143,156,0.12), rgba(95,100,112,0.06));
  border: 1px solid rgba(138,143,156,0.3); flex-wrap: wrap; }
.cta-join__title { font-family: 'Unbounded', sans-serif; font-size: 20px;
  font-weight: 700; color: var(--text); margin-bottom: 6px; }
.cta-join__sub { color: var(--muted); font-size: 14px; }
.join-form { max-width: 720px; margin: 0 auto; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }

.employee-table { width: 100%; border-collapse: collapse; font-size: 14px;
  background: var(--surface); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); }
.employee-table th, .employee-table td { padding: 14px 16px; text-align: left;
  border-bottom: 1px solid var(--border); vertical-align: middle; }
.employee-table th { background: var(--bg-2); color: var(--muted); font-size: 11px;
  text-transform: uppercase; letter-spacing: 1px; font-weight: 700; }
.employee-table tr:last-child td { border-bottom: none; }
.employee-table tr:hover td { background: rgba(138,143,156,0.04); }
.employee-cell { display: flex; align-items: center; gap: 12px; }
.employee-cell .avatar { width: 42px; height: 42px; border-radius: 50%;
  object-fit: cover; border: 2px solid var(--border-2); }
.employee-cell__info { line-height: 1.25; }
.employee-cell__name { font-weight: 700; color: var(--text); font-size: 14px; }
.employee-cell__user { font-size: 12px; color: var(--muted); font-family: 'JetBrains Mono', monospace; }

.contact-chip { display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 6px; font-size: 12px;
  font-family: 'JetBrains Mono', monospace; font-weight: 600;
  transition: 0.2s; white-space: nowrap; }
.contact-chip--discord { background: rgba(88,101,242,0.15); color: #8b95f5;
  border: 1px solid rgba(88,101,242,0.35); }
.contact-chip--discord:hover { background: rgba(88,101,242,0.25); color: #a5adff; }
.contact-chip--telegram { background: rgba(34,158,217,0.15); color: #5fb8e0;
  border: 1px solid rgba(34,158,217,0.35); }
.contact-chip--telegram:hover { background: rgba(34,158,217,0.25); color: #7ccdf0; }

.admin-banner { display: flex; align-items: center; gap: 18px;
  padding: 22px 26px; border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(138,143,156,0.18), rgba(95,100,112,0.08));
  border: 1px solid rgba(138,143,156,0.35);
  box-shadow: 0 0 40px rgba(138,143,156,0.15); margin-bottom: 24px; }
.admin-banner__badge { font-family: 'Unbounded', sans-serif; font-size: 11px;
  font-weight: 800; letter-spacing: 2px; padding: 8px 14px; border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff; box-shadow: 0 4px 20px rgba(138,143,156,0.5); }
.admin-banner__title { font-family: 'Unbounded', sans-serif; font-size: 18px;
  font-weight: 700; color: var(--text); margin-bottom: 4px; }
.admin-banner__sub { color: var(--muted); font-size: 13px; }

.admin-tabs { display: flex; gap: 4px; padding: 4px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 12px;
  margin-bottom: 28px; overflow-x: auto; }
.admin-tab { height: 40px; padding: 0 18px; border-radius: 8px; font-size: 14px;
  font-weight: 600; color: var(--muted); white-space: nowrap; transition: 0.2s;
  display: inline-flex; align-items: center; gap: 8px; }
.admin-tab:hover { color: var(--text); }
.admin-tab.active { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; }
.admin-tab__count { font-size: 11px; padding: 1px 7px; border-radius: 100px;
  background: rgba(255,255,255,0.1); font-family: 'JetBrains Mono', monospace; }

.admin-toolbar { display: flex; justify-content: space-between; align-items: center;
  gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.admin-toolbar__left, .admin-toolbar__right { display: flex; gap: 8px;
  align-items: center; flex-wrap: wrap; }
.admin-search { height: 40px; padding: 0 14px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 10px; color: var(--text);
  font-size: 13.5px; min-width: 220px; font-family: inherit; }
.admin-search:focus { outline: none; border-color: var(--accent); }

.row-actions { display: flex; gap: 6px; }
.icon-btn { width: 34px; height: 34px; border-radius: 8px; display: grid;
  place-items: center; background: var(--surface-2); border: 1px solid var(--border);
  color: var(--muted); transition: 0.2s; }
.icon-btn:hover { color: var(--text); border-color: var(--border-2); }
.icon-btn--danger:hover { color: var(--red); border-color: rgba(239,68,68,0.4); }
.icon-btn[disabled] { opacity: 0.4; cursor: not-allowed; }

.admin-welcome { position: fixed; top: 90px; left: 50%;
  transform: translateX(-50%) translateY(-30px);
  padding: 22px 36px;
  background: linear-gradient(135deg, rgba(20,22,29,0.98), rgba(26,29,38,0.98));
  border: 1px solid rgba(138,143,156,0.4); border-radius: 16px; text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 60px rgba(138,143,156,0.3);
  z-index: 500; opacity: 0; transition: 0.5s ease; pointer-events: none; }
[data-theme="light"] .admin-welcome { background: linear-gradient(135deg, #ffffff, #f0f2f8); }
.admin-welcome.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.admin-welcome__badge { display: inline-block; font-family: 'Unbounded', sans-serif;
  font-size: 10px; font-weight: 800; letter-spacing: 3px; padding: 4px 10px;
  border-radius: 6px; background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff; margin-bottom: 12px; }
.admin-welcome__title { font-family: 'Unbounded', sans-serif; font-size: 18px;
  font-weight: 700; color: var(--text); margin-bottom: 6px; }
.admin-welcome__sub { color: var(--muted); font-size: 13px; }

.photo-picker { display: flex; align-items: center; gap: 14px; padding: 14px;
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 12px; margin-bottom: 14px; }
.photo-picker__preview { width: 64px; height: 64px; border-radius: 50%;
  object-fit: cover; background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border: 2px solid var(--border-2); flex-shrink: 0; }
.photo-picker__body { flex: 1; min-width: 0; }
.photo-picker__row { display: flex; gap: 8px; margin-bottom: 6px; }
.photo-picker__row input { flex: 1; height: 40px; padding: 0 12px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 8px;
  color: var(--text); font-size: 13px; font-family: inherit; }
.photo-picker__row input:focus { outline: none; border-color: var(--accent); }
.photo-picker__hint { font-size: 11.5px; color: var(--muted-2); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-grid .full { grid-column: 1 / -1; }
.form-label { display: block; font-size: 12px; color: var(--muted);
  margin-bottom: 5px; font-weight: 600; letter-spacing: 0.3px; }
.form-field { margin-bottom: 12px; }
.form-hint { font-size: 11.5px; color: var(--muted-2); margin-top: 6px; line-height: 1.5; }

.price-row { display: grid; grid-template-columns: 1fr 110px 110px 36px;
  gap: 8px; margin-bottom: 8px; align-items: center; }
.price-row select, .price-row input { height: 40px; padding: 0 11px;
  background: var(--bg-2); border: 1px solid var(--border); border-radius: 8px;
  color: var(--text); font-size: 13px; font-family: inherit; width: 100%; }
.price-row select:focus, .price-row input:focus { outline: none; border-color: var(--accent); }

.contact-section { padding: 14px; background: var(--bg-2);
  border: 1px solid var(--border); border-radius: 12px; margin-bottom: 14px; }
.contact-section__title { font-size: 13px; font-weight: 700; color: var(--text);
  margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.contact-section__icon { width: 24px; height: 24px; border-radius: 6px;
  display: grid; place-items: center; font-size: 12px; }
.contact-section__icon--discord { background: rgba(88,101,242,0.2); color: #8b95f5; }
.contact-section__icon--telegram { background: rgba(34,158,217,0.2); color: #5fb8e0; }

.empty { text-align: center; padding: 60px 20px; color: var(--muted);
  border: 1px dashed var(--border-2); border-radius: var(--radius); }
.empty__icon { margin-bottom: 14px; opacity: 0.5; }

.modal { position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; }
.modal__backdrop { position: absolute; inset: 0;
  background: rgba(0,0,0,0.7); backdrop-filter: blur(6px); }
.modal__content { position: relative; background: var(--surface);
  border: 1px solid var(--border-2); border-radius: 18px; padding: 32px;
  width: 100%; max-width: 420px; box-shadow: var(--shadow);
  animation: modalIn 0.25s ease; max-height: 90vh; overflow-y: auto; }
.modal__content--wide { max-width: 620px; }
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: none; } }
.modal__close { position: absolute; top: 16px; right: 16px; width: 32px; height: 32px;
  border-radius: 8px; display: grid; place-items: center; color: var(--muted);
  transition: 0.2s; font-size: 20px; line-height: 1; }
.modal__close:hover { background: var(--surface-2); color: var(--text); }
.modal__title { font-family: 'Unbounded', sans-serif; font-size: 20px;
  font-weight: 700; margin-bottom: 6px; color: var(--text); }
.modal__sub { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.modal__hint { color: var(--muted-2); font-size: 12px; margin-top: 14px; text-align: center; }

.input { width: 100%; height: 44px; padding: 0 14px; background: var(--bg-2);
  border: 1px solid var(--border); border-radius: 10px; color: var(--text);
  font-size: 14px; font-family: inherit; margin-bottom: 14px; transition: 0.2s; }
textarea.input { height: auto; padding: 12px 14px; }
.input:focus { outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(138,143,156,0.15); }

.toast { position: fixed; bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--surface-2); border: 1px solid var(--border-2);
  padding: 12px 20px; border-radius: 12px; font-size: 14px; font-weight: 500;
  box-shadow: var(--shadow); z-index: 300; opacity: 0; transition: 0.3s; pointer-events: none; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.footer { border-top: 1px solid var(--border); padding: 28px 0;
  margin-top: auto; position: relative; z-index: 1; }
.footer__inner { display: flex; justify-content: space-between; align-items: center;
  gap: 20px; flex-wrap: wrap; }
.footer__muted { color: var(--muted-2); font-size: 12px; margin-top: 4px; letter-spacing: 0.5px; }
.footer__links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__links a { color: var(--muted); font-size: 14px; transition: 0.2s; }
.footer__links a:hover { color: var(--text); }

.promos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.promo { position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; overflow: hidden; transition: 0.3s;
  display: flex; flex-direction: column; gap: 14px; }
.promo:hover { transform: translateY(-3px); border-color: var(--border-2);
  box-shadow: 0 16px 50px rgba(0,0,0,0.5); }
.promo__glow { position: absolute; top: -60px; right: -60px; width: 200px; height: 200px;
  border-radius: 50%; filter: blur(60px); opacity: 0.35; pointer-events: none; }
.promo--default .promo__glow { background: var(--accent); }
.promo--accent .promo__glow { background: linear-gradient(135deg, #8a8f9c, #5f6470); }
.promo__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.promo__discount { font-family: 'Unbounded', sans-serif; font-size: 32px;
  font-weight: 900; letter-spacing: -1px;
  background: linear-gradient(135deg, #fff, #8a8f9c);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
[data-theme="light"] .promo__discount {
  background: linear-gradient(135deg, #14161d, #5a5f6c);
  -webkit-background-clip: text; background-clip: text; }
.promo__badge { font-size: 10px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; padding: 4px 10px; border-radius: 100px;
  background: rgba(255,255,255,0.05); border: 1px solid var(--border-2); color: var(--muted); }
.promo__title { font-family: 'Unbounded', sans-serif; font-size: 16px;
  font-weight: 700; color: var(--text); line-height: 1.3; }
.promo__desc { color: var(--muted); font-size: 13.5px; line-height: 1.6; flex: 1; }
.promo__cond { display: flex; flex-wrap: wrap; gap: 6px; }
.promo__chip { font-size: 11px; padding: 3px 9px; border-radius: 100px;
  background: rgba(138,143,156,0.1); border: 1px solid rgba(138,143,156,0.25);
  color: #b8bcc7; font-weight: 500; }
.promo__code-row { display: flex; align-items: center; gap: 10px;
  padding-top: 14px; border-top: 1px dashed var(--border-2); margin-top: auto; }
.promo__code { flex: 1; padding: 10px 14px; background: var(--bg-2);
  border: 1px dashed var(--accent); border-radius: 10px;
  font-family: 'JetBrains Mono', monospace; font-weight: 700;
  color: #b8bcc7; font-size: 14px; text-align: center; letter-spacing: 1px; }
.promo__code-row .btn.copied { background: linear-gradient(135deg, var(--green), #16a34a); color: #fff; }
.promo__until { font-size: 12px; color: var(--muted-2); text-align: right;
  font-family: 'JetBrains Mono', monospace; }

.top3-card { position: relative; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px 20px; text-align: center; transition: 0.3s; overflow: hidden; }
.top3-card:hover { transform: translateY(-4px); border-color: var(--border-2);
  box-shadow: 0 16px 50px rgba(0,0,0,0.5); }
.top3-card__rank { position: absolute; top: 16px; left: 16px;
  font-family: 'Unbounded', sans-serif; font-size: 12px; font-weight: 900;
  letter-spacing: 1px; padding: 4px 10px; border-radius: 8px;
  background: var(--bg-2); border: 1px solid var(--border-2); color: var(--muted); }
.top3-card--1 .top3-card__rank { background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #000; border-color: transparent; box-shadow: 0 0 24px rgba(251,191,36,0.5); }
.top3-card--2 .top3-card__rank { background: linear-gradient(135deg, #e5e7eb, #9ca3af); color: #000; border-color: transparent; }
.top3-card--3 .top3-card__rank { background: linear-gradient(135deg, #b45309, #92400e); color: #fff; border-color: transparent; }
.top3-card .avatar { width: 72px; height: 72px; border-radius: 50%;
  margin: 12px auto 14px; border: 3px solid var(--border-2); }
.top3-card--1 .avatar { border-color: #fbbf24; box-shadow: 0 0 30px rgba(251,191,36,0.4); }
.top3-card__name { font-family: 'Unbounded', sans-serif; font-size: 15px;
  font-weight: 700; color: var(--text); margin-bottom: 4px; }
.top3-card__user { font-family: 'JetBrains Mono', monospace; font-size: 12px;
  color: var(--muted); margin-bottom: 10px; }
.top3-card__orders { display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 100px;
  background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.3);
  color: var(--green); font-size: 12px; font-weight: 700;
  font-family: 'JetBrains Mono', monospace; margin-bottom: 14px; }
.top3-card__actions { display: flex; gap: 6px; margin-top: 14px; }
.top3-card__actions .btn { flex: 1; }

@keyframes apprIn { 0% { opacity: 1; transform: scale(1); }
  40% { box-shadow: 0 0 0 8px rgba(34,197,94,0.3), 0 0 60px rgba(34,197,94,0.6); }
  100% { opacity: 0; transform: scale(0.92) translateY(-20px); } }
@keyframes rejIn { 0% { transform: translateX(0); }
  20% { transform: translateX(-8px); } 40% { transform: translateX(8px); }
  60% { transform: translateX(-6px); } 80% { transform: translateX(6px); }
  100% { opacity: 0; transform: translateX(60px) scale(0.9); } }
.card.approved { animation: apprIn 0.9s ease forwards; }
.card.rejected { animation: rejIn 0.7s ease forwards; border-color: rgba(239,68,68,0.5) !important; }

.success-overlay { position: fixed; inset: 0; z-index: 9998;
  background: rgba(6,7,10,0.92); backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: 0.4s ease; pointer-events: none; }
[data-theme="light"] .success-overlay { background: rgba(245,246,250,0.95); }
.success-overlay.show { opacity: 1; visibility: visible; }
.success-overlay__inner { text-align: center; animation: successIn 0.6s ease; }
@keyframes successIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: none; } }
.success-overlay__icon { width: 96px; height: 96px; border-radius: 50%;
  margin: 0 auto 24px; background: linear-gradient(135deg, var(--green), #16a34a);
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 0 60px rgba(34,197,94,0.6), 0 0 120px rgba(34,197,94,0.3);
  animation: successPulse 1.5s ease-in-out infinite; }
@keyframes successPulse {
  0%,100% { box-shadow: 0 0 60px rgba(34,197,94,0.6), 0 0 120px rgba(34,197,94,0.3); }
  50% { box-shadow: 0 0 80px rgba(34,197,94,0.9), 0 0 160px rgba(34,197,94,0.4); } }
.success-overlay__icon svg { width: 48px; height: 48px; }
.success-overlay__title { font-family: 'Unbounded', sans-serif;
  font-size: clamp(22px, 4vw, 32px); font-weight: 800; color: var(--text);
  margin-bottom: 12px; letter-spacing: -0.5px; }
.success-overlay__sub { color: var(--muted); font-size: 15px;
  max-width: 420px; margin: 0 auto; }

.danger-overlay { position: fixed; inset: 0; z-index: 9998;
  background: rgba(10,4,4,0.92); backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: 0.4s ease; pointer-events: none; }
.danger-overlay.show { opacity: 1; visibility: visible; }
.danger-overlay__inner { text-align: center; animation: successIn 0.6s ease; }
.danger-overlay__icon { width: 96px; height: 96px; border-radius: 50%;
  margin: 0 auto 24px; background: linear-gradient(135deg, var(--red), #b91c1c);
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 0 60px rgba(239,68,68,0.6), 0 0 120px rgba(239,68,68,0.3); }
.danger-overlay__icon svg { width: 48px; height: 48px; }
.danger-overlay__title { font-family: 'Unbounded', sans-serif;
  font-size: clamp(22px, 4vw, 32px); font-weight: 800; color: #fff;
  margin-bottom: 12px; letter-spacing: -0.5px; }
.danger-overlay__sub { color: var(--muted); font-size: 15px; }

.bg-picker { display: flex; align-items: flex-start; gap: 16px;
  padding: 16px; background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.bg-picker__preview { width: 180px; height: 100px; border-radius: 10px;
  object-fit: cover; border: 2px solid var(--border-2);
  background: var(--surface-2); flex-shrink: 0; }
.bg-picker__body { flex: 1; min-width: 240px; }
.bg-picker__row { display: flex; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.bg-picker__row input { flex: 1; min-width: 200px; height: 40px; padding: 0 12px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 8px;
  color: var(--text); font-size: 13px; font-family: inherit; }
.bg-picker__row input:focus { outline: none; border-color: var(--accent); }
.bg-picker__hint { font-size: 11.5px; color: var(--muted-2); line-height: 1.6; }
.bg-picker__hint code { background: var(--surface-2); padding: 1px 6px;
  border-radius: 4px; font-family: 'JetBrains Mono', monospace; color: #b8bcc7; }

.login-error, .form-error { padding: 10px 14px;
  background: rgba(239,68,68,0.12); border: 1px solid rgba(239,68,68,0.35);
  color: #fca5a5; border-radius: 10px; font-size: 13px;
  margin-bottom: 12px; line-height: 1.4; }
[data-theme="light"] .login-error,
[data-theme="light"] .form-error { color: #b91c1c; }

.role-badge { display: inline-flex; align-items: center; padding: 3px 10px;
  border-radius: 100px; font-size: 11px; font-weight: 700; letter-spacing: 0.4px;
  text-transform: uppercase; border: 1px solid transparent;
  font-family: 'JetBrains Mono', monospace; }
.role-badge--superadmin { background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #000; box-shadow: 0 0 16px rgba(251,191,36,0.35); }
.role-badge--admin { background: rgba(138,143,156,0.18);
  border-color: rgba(138,143,156,0.4); color: #b8bcc7; }
.role-badge--moderator { background: rgba(34,158,217,0.15);
  border-color: rgba(34,158,217,0.35); color: #5fb8e0; }

.admins-note { padding: 12px 16px; background: rgba(138,143,156,0.08);
  border: 1px solid rgba(138,143,156,0.25); border-radius: 12px;
  font-size: 12.5px; color: var(--muted); line-height: 1.6; margin-bottom: 16px; }
.admins-stats { display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px; margin-bottom: 20px; }
.admins-stat { display: flex; flex-direction: column; gap: 4px;
  padding: 14px 18px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 12px; }
.admins-stat b { font-family: 'Unbounded', sans-serif; font-size: 22px;
  font-weight: 800; color: var(--text); letter-spacing: -0.5px; }
.admins-stat span { font-size: 11.5px; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.6px; }
.you-badge { display: inline-block; margin-left: 6px; padding: 1px 6px;
  border-radius: 4px; background: rgba(34,197,94,0.15);
  border: 1px solid rgba(34,197,94,0.35); color: var(--green);
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }

.pwd-strength { margin-top: 10px; }
.pwd-strength__bar { height: 6px; border-radius: 100px; background: var(--bg-2);
  overflow: hidden; border: 1px solid var(--border); }
.pwd-strength__fill { height: 100%; width: 0; border-radius: 100px;
  transition: width 0.25s ease, background 0.25s ease; }
.pwd-strength__fill--weak { background: #ef4444; }
.pwd-strength__fill--medium { background: #eab308; }
.pwd-strength__fill--good { background: #22c55e; }
.pwd-strength__fill--strong { background: linear-gradient(90deg, #22c55e, #16a34a); }
.pwd-strength__label { font-size: 11.5px; margin-top: 5px; font-weight: 600; letter-spacing: 0.3px; }
.pwd-strength__label--weak { color: #ef4444; }
.pwd-strength__label--medium { color: #eab308; }
.pwd-strength__label--good { color: #22c55e; }
.pwd-strength__label--strong { color: #16a34a; }

.setup-badge { display: inline-block; font-family: 'Unbounded', sans-serif;
  font-size: 10px; font-weight: 800; letter-spacing: 3px; padding: 4px 10px;
  border-radius: 6px; background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #000; margin-bottom: 12px; }

.consent__badge { display: inline-block; font-family: 'Unbounded', sans-serif;
  font-size: 10px; font-weight: 800; letter-spacing: 3px; padding: 4px 10px;
  border-radius: 6px; background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff; margin-bottom: 12px; }
.consent__text { background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 12px; padding: 14px 16px; margin-bottom: 14px;
  font-size: 13.5px; color: var(--muted); line-height: 1.65; }
.consent__text p + p { margin-top: 10px; }
.consent__text a { color: #b8bcc7; text-decoration: underline; }
.consent__text a:hover { color: var(--text); }
.consent__check { display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 0; font-size: 13.5px; color: var(--text);
  line-height: 1.5; cursor: pointer; }
.consent__check input { margin-top: 2px; flex-shrink: 0; width: 16px; height: 16px;
  accent-color: var(--accent); }
.consent__check a { color: #b8bcc7; text-decoration: underline; }
.consent__check a:hover { color: var(--text); }

.user-online { display: inline-block; width: 10px; height: 10px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 10px var(--green);
  animation: userPulse 1.8s ease-in-out infinite; }
.user-offline { display: inline-block; width: 10px; height: 10px;
  border-radius: 50%; background: var(--muted-2); opacity: 0.5; }
@keyframes userPulse { 0%,100% { box-shadow: 0 0 6px var(--green); }
  50% { box-shadow: 0 0 16px var(--green); } }

.user-profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .user-profile-grid { grid-template-columns: 1fr; } }
.user-profile-block { padding: 14px 16px; background: var(--bg-2);
  border: 1px solid var(--border); border-radius: 12px; }
.user-profile-block__title { font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-bottom: 10px; }
.user-row { display: flex; justify-content: space-between; gap: 12px;
  padding: 6px 0; border-bottom: 1px dashed var(--border); font-size: 12.5px; }
.user-row:last-child { border-bottom: none; }
.user-row__key { color: var(--muted); font-family: 'JetBrains Mono', monospace;
  flex-shrink: 0; min-width: 100px; }
.user-row__val { color: var(--text); font-family: 'JetBrains Mono', monospace;
  text-align: right; word-break: break-word; }
.user-empty { color: var(--muted-2); font-size: 12.5px; padding: 6px 0; }

@media (max-width: 1280px) {
  .admin-user__name { display: none; }
  .admin-user { padding: 0 4px; gap: 4px; max-width: none; }
  .nav__link { padding: 8px 8px; font-size: 12.5px; }
}
@media (max-width: 1100px) {
  .nav__link { padding: 8px 7px; font-size: 12px; }
  .logo__sub { display: none; }
}
@media (max-width: 1024px) { .nav__link { padding: 8px 8px; font-size: 12.5px; } }
@media (max-width: 950px) { .nav__link { padding: 7px 6px; font-size: 11.5px; } }
@media (max-width: 900px) {
  .nav { position: fixed; top: 68px; left: 0; right: 0; background: var(--bg-2);
    border-bottom: 1px solid var(--border); flex-direction: column;
    padding: 16px 20px; gap: 4px; transform: translateY(-120%);
    transition: transform 0.3s; z-index: 99; justify-content: flex-start;
    overflow: visible; flex-wrap: wrap; }
  .nav.open { transform: translateY(0); }
  .nav__link { padding: 12px 14px; font-size: 14px; }
  .burger { display: flex; }
  .header__actions .btn span { display: none; }
  .admin-user { display: none !important; }
}
@media (max-width: 820px) {
  .grid { grid-template-columns: 1fr; }
  .profile-head { flex-direction: column; text-align: center; }
  .profile-head__actions { justify-content: center; width: 100%; }
  .form-grid { grid-template-columns: 1fr; }
  .price-row { grid-template-columns: 1fr 90px 90px 32px; }
  .admin-search { min-width: 100%; }
  .timeline__item { grid-template-columns: 70px 1fr; gap: 16px; }
  .timeline__year { font-size: 22px; }
  .employee-table th:nth-child(3),
  .employee-table td:nth-child(3) { display: none; }
  .admin-banner { flex-direction: column; text-align: center; }
  .cta-join { flex-direction: column; text-align: center; }
}
@media (max-width: 600px) { .admins-stats { grid-template-columns: 1fr; } }
@media (max-width: 480px) {
  main { padding: 24px 0 60px; }
  .hero { padding: 30px 0 30px; }
  .card { padding: 18px; }
  .modal__content { padding: 24px; }
  .seller-card__actions .btn { min-width: 100%; flex: 1 1 100%; }
  .price-row { grid-template-columns: 1fr 1fr 32px; }
  .price-row select { grid-column: 1 / -1; }
  .join-form { padding: 20px; }
  .admin-welcome { left: 16px; right: 16px; transform: translateY(-30px); padding: 16px 20px; }
  .admin-welcome.show { transform: translateY(0); }
}