:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #f5f7ff;
  background: #060914;
  --bg: #050811;
  --panel: #0b1220;
  --panel-soft: #10192b;
  --line: rgba(151, 173, 219, .16);
  --line-strong: rgba(151, 173, 219, .28);
  --muted: #96a3bc;
  --cyan: #35d7f2;
  --blue: #4889ff;
  --pink: #ff3e82;
  --red: #ff5368;
  --amber: #ffb83e;
  --green: #4ee0a0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background:
    radial-gradient(circle at 8% -5%, rgba(53, 215, 242, .11), transparent 32%),
    radial-gradient(circle at 92% 8%, rgba(116, 82, 255, .09), transparent 30%),
    linear-gradient(180deg, #080c17, var(--bg) 58%);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(black, transparent 76%);
}
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
[hidden] { display: none !important; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: 76px;
  padding: 0 22px;
  border-bottom: 1px solid rgba(151, 173, 219, .13);
  background: rgba(5, 8, 17, .82);
  backdrop-filter: blur(24px) saturate(135%);
}
.header-shell {
  width: min(1400px, 100%);
  height: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto minmax(130px, 1fr);
  align-items: center;
  gap: 28px;
}
.brand { display: flex; align-items: center; gap: 11px; width: fit-content; }
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(53,215,242,.25);
  border-radius: 12px;
  background: linear-gradient(145deg, #111b2e, #090e1a);
  box-shadow: 0 8px 24px rgba(0,0,0,.24), inset 0 1px rgba(255,255,255,.04);
}
.brand-mark img { width: 36px; height: 36px; object-fit: contain; }
.brand > span:last-child { display: grid; gap: 1px; }
.brand strong { font-size: 15px; letter-spacing: .02em; }
.brand small { color: #77859f; font-size: 10px; }
.main-nav {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 4px;
  border: 1px solid rgba(151,173,219,.14);
  border-radius: 14px;
  background: rgba(13, 20, 34, .72);
  box-shadow: 0 10px 34px rgba(0,0,0,.18), inset 0 1px rgba(255,255,255,.025);
}
.nav-direct, .nav-account, .nav-group-trigger {
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 13px;
  border: 0;
  border-radius: 10px;
  color: #a6b1c7;
  background: transparent;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  transition: color .18s ease, background .18s ease, transform .18s ease;
}
.nav-direct:hover, .nav-account:hover, .nav-group-trigger:hover { color: #fff; background: rgba(255,255,255,.045); }
.nav-direct.active, .nav-account.active, .nav-group.has-active > .nav-group-trigger {
  color: #fff;
  background: linear-gradient(145deg, rgba(49,72,111,.62), rgba(31,45,72,.78));
  box-shadow: inset 0 0 0 1px rgba(151,173,219,.12);
}
.nav-direct.active .nav-item-icon, .nav-account.active .nav-item-icon, .nav-group.has-active > .nav-group-trigger .nav-item-icon { color: var(--cyan); }
.nav-item-icon { min-width: 16px; color: #71819f; font-size: 14px; font-weight: 900; text-align: center; }
.nav-group { position: relative; }
.nav-group-trigger { font: inherit; font-size: 12px; font-weight: 800; }
.nav-chevron { width: 6px; height: 6px; margin: -3px 1px 0 2px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .2s ease; }
.nav-group.open .nav-chevron { margin-top: 3px; transform: rotate(225deg); }
.nav-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  width: 310px;
  padding: 10px;
  visibility: hidden;
  opacity: 0;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: rgba(10, 16, 29, .98);
  box-shadow: 0 24px 70px rgba(0,0,0,.5), inset 0 1px rgba(255,255,255,.035);
  transform: translate(-50%, -6px) scale(.98);
  transform-origin: 50% 0;
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}
.nav-group.open .nav-dropdown { visibility: visible; opacity: 1; transform: translate(-50%, 0) scale(1); }
.nav-dropdown > p { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 1px 4px 9px; padding: 4px 4px 10px; border-bottom: 1px solid rgba(151,173,219,.12); }
.nav-dropdown > p strong { font-size: 12px; }
.nav-dropdown > p span { color: #6f7e99; font-size: 9px; }
.nav-dropdown a { min-height: 60px; display: grid; grid-template-columns: 38px minmax(0, 1fr); align-items: center; gap: 11px; padding: 9px; border: 1px solid transparent; border-radius: 11px; color: #eef3ff; transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.nav-dropdown a:hover, .nav-dropdown a.active { border-color: rgba(151,173,219,.14); background: #111b2d; transform: translateX(2px); }
.nav-dropdown a > span { min-width: 0; display: grid; gap: 3px; }
.nav-dropdown a strong { font-size: 12px; }
.nav-dropdown a small { overflow: hidden; color: #7f8ca5; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.nav-dot { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 10px; font-size: 10px; font-style: normal; font-weight: 950; background: rgba(255,255,255,.025); }
.nav-dot-ban { color: #ff6187; }
.nav-dot-mute { color: #ffc05a; }
.nav-dot-deban { color: #b58cff; }
.nav-dot-level, .nav-dot-users { color: var(--cyan); }
.nav-account { margin-left: 2px; color: #06111a; background: linear-gradient(110deg, var(--cyan), #79e6f7); box-shadow: 0 8px 22px rgba(53,215,242,.14); }
.nav-account:hover, .nav-account.active { color: #031017; background: linear-gradient(110deg, #65e5fa, #a0effb); }
.nav-toggle { display: none; }
.nav-scrim { display: none; }
.service-status {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid rgba(78,224,160,.16);
  border-radius: 999px;
  color: #9fabc0;
  background: rgba(78,224,160,.045);
  font-size: 10px;
  font-weight: 800;
}
.service-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
}
.header-token-wallet {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 5px 11px 5px 6px;
  border: 1px solid rgba(255, 155, 55, .18);
  border-radius: 11px;
  color: #f5f7fb;
  background:
    radial-gradient(circle at 0 50%, rgba(255, 139, 42, .12), transparent 48%),
    rgba(13, 20, 34, .82);
  box-shadow: inset 0 1px rgba(255,255,255,.035), 0 0 20px rgba(255, 132, 26, .06);
}
.header-token-wallet[hidden] { display: none; }
.header-token-wallet-mark {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 166, 74, .34);
  border-radius: 8px;
  color: #ff9c2d;
  background: linear-gradient(145deg, rgba(255, 137, 34, .2), rgba(95, 46, 10, .32));
  box-shadow: inset 0 1px rgba(255,255,255,.07), 0 0 15px rgba(255, 132, 26, .1);
}
.header-token-wallet-mark svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.header-token-wallet-copy { min-width: 0; display: grid; gap: 1px; line-height: 1; }
.header-token-wallet-copy small {
  color: #97a4b9;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .08em;
}
.header-token-wallet-copy strong { color: #f4f6fb; font-size: 13px; white-space: nowrap; }
.header-token-wallet-copy strong b { color: #ffad38; font-size: 15px; }
.header-notifications,
.header-messenger { position: relative; }
.header-notifications-toggle,
.header-messenger-toggle {
  position: relative;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(151,173,219,.16);
  border-radius: 11px;
  color: #dfe8f8;
  background: rgba(13,20,34,.82);
  box-shadow: inset 0 1px rgba(255,255,255,.035);
}
.header-notifications-toggle:hover,
.header-messenger-toggle:hover,
.header-notifications.open .header-notifications-toggle,
.header-messenger.open .header-messenger-toggle {
  color: #fff;
  border-color: rgba(37,216,244,.34);
  background: rgba(16,30,50,.95);
  box-shadow: 0 0 24px rgba(37,216,244,.16), inset 0 1px rgba(255,255,255,.05);
}
.header-notifications-toggle svg,
.header-messenger-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.header-notifications-count {
  position: absolute;
  right: -4px;
  top: -5px;
  min-width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  padding: 0 5px;
  border: 2px solid #050811;
  border-radius: 999px;
  color: #061019;
  background: #4ee0a0;
  font-size: 9px;
  font-weight: 950;
  line-height: 1;
}
.header-notifications-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 44;
  width: min(370px, calc(100vw - 24px));
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(8, 14, 26, .98);
  box-shadow: 0 24px 70px rgba(0,0,0,.5), inset 0 1px rgba(255,255,255,.035);
}

.header-messenger-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 48;
  width: min(760px, calc(100vw - 24px));
  min-height: 520px;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr);
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(37,216,244,.22);
  border-radius: 16px;
  background:
    radial-gradient(circle at 10% 0, rgba(37,216,244,.11), transparent 32%),
    radial-gradient(circle at 100% 8%, rgba(255,139,68,.1), transparent 34%),
    rgba(7,12,23,.98);
  box-shadow: 0 28px 90px rgba(0,0,0,.58), 0 0 34px rgba(37,216,244,.12), inset 0 1px rgba(255,255,255,.045);
}
.header-messenger-menu[hidden] { display: none; }
.header-messenger-menu > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.header-messenger-menu > header strong { display: block; color: #f4f8ff; font-size: 28px; line-height: 1; }
.header-messenger-menu > header small { display: block; margin-top: 6px; color: #8ea0bb; font-size: 12px; }
.header-messenger-menu > header span { display: inline-flex; gap: 7px; }
.header-messenger-menu > header button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(129,158,214,.16);
  border-radius: 9px;
  color: #dff8ff;
  background: rgba(13,22,38,.85);
  font-size: 14px;
  font-weight: 900;
}
.header-messenger-menu > header button:hover { border-color: rgba(37,216,244,.36); background: rgba(37,216,244,.1); }
.header-messenger-menu svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.header-messenger-search {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  border: 1px solid rgba(129,158,214,.14);
  border-radius: 999px;
  color: #9bacc6;
  background: rgba(255,255,255,.07);
}
.header-messenger-search input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  color: #eef6ff;
  background: transparent;
  font: inherit;
}
.header-messenger-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.header-messenger-tabs span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  color: #d9e5fa;
  background: rgba(129,158,214,.08);
  font-size: 12px;
  font-weight: 900;
}
.header-messenger-tabs span:first-child { color: #07111f; background: #4aa3ff; }
.header-messenger-layout {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(250px, .72fr) minmax(300px, 1fr);
  gap: 12px;
}
.header-messenger-list,
.header-messenger-preview {
  min-height: 0;
  border: 1px solid rgba(129,158,214,.14);
  border-radius: 14px;
  background: rgba(4,9,18,.66);
}
.header-messenger-list {
  overflow: auto;
  display: grid;
  align-content: start;
  gap: 4px;
  padding: 8px;
}
.header-messenger-row {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 9px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #edf5ff;
  background: transparent;
  text-align: left;
}
.header-messenger-row:hover,
.header-messenger-row.active { border-color: rgba(37,216,244,.22); background: rgba(37,216,244,.08); }
.header-messenger-avatar-shell,
.messenger-avatar-shell {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
}
.header-messenger-avatar-shell { width: 48px; height: 48px; }
.header-messenger-avatar-shell .messenger-avatar { width: 42px; height: 42px; }
.header-messenger-row-body,
.header-messenger-row-meta,
.messenger-bubble-label {
  min-width: 0;
  display: grid;
  gap: 3px;
}
.header-messenger-row-body strong,
.messenger-bubble-label strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
}
.header-messenger-row-body small {
  max-width: 100%;
  overflow: hidden;
  color: #9cacbf;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
}
.header-messenger-row-meta { justify-items: end; gap: 4px; }
.header-messenger-row-meta i,
.header-messenger-row-meta time,
.messenger-bubble-label small {
  color: #7f8da6;
  font-size: 10px;
  font-style: normal;
  font-weight: 850;
}
.header-messenger-row-meta b,
.messenger-bubble b {
  min-width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  padding: 0 5px;
  border-radius: 999px;
  color: #07111f;
  background: #4ee0a0;
  font-size: 9px;
  font-weight: 950;
}
.header-messenger-preview {
  overflow: hidden;
  display: grid;
}
.header-messenger-preview-empty {
  display: grid;
  place-items: center;
  padding: 22px;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
}
.header-messenger-preview-thread {
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}
.header-messenger-preview-thread[hidden] { display: none; }
.header-messenger-preview-thread > header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px;
  border-bottom: 1px solid rgba(129,158,214,.12);
}
#header-messenger-preview-messages {
  min-height: 0;
  overflow: auto;
  display: grid;
  align-content: end;
  gap: 7px;
  padding: 12px;
}
.header-messenger-message {
  max-width: 82%;
  justify-self: start;
  display: grid;
  gap: 4px;
  padding: 9px 10px;
  border: 1px solid rgba(129,158,214,.14);
  border-radius: 13px 13px 13px 4px;
  background: rgba(18,28,45,.92);
}
.header-messenger-message.mine {
  justify-self: end;
  border-color: rgba(78,224,160,.24);
  border-radius: 13px 13px 4px 13px;
  background: linear-gradient(135deg, rgba(78,224,160,.2), rgba(37,216,244,.1));
}
.header-messenger-message p { margin: 0; color: #edf5ff; font-size: 12px; line-height: 1.4; overflow-wrap: anywhere; }
.header-messenger-message time { justify-self: end; color: #7f8da6; font-size: 9px; }
#header-messenger-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 10px;
  border-top: 1px solid rgba(129,158,214,.12);
}
#header-messenger-form[hidden] { display: none; }
#header-messenger-input {
  min-width: 0;
  border: 1px solid rgba(129,158,214,.16);
  border-radius: 999px;
  padding: 0 13px;
  color: #eef4ff;
  background: rgba(5,10,20,.78);
}
#header-messenger-send {
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid rgba(37,216,244,.28);
  border-radius: 999px;
  color: #e9fbff;
  background: rgba(37,216,244,.1);
  font-size: 11px;
  font-weight: 900;
}
.header-messenger-gate {
  align-self: start;
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(255,195,95,.28);
  border-radius: 14px;
  color: #f4f8ff;
  background: rgba(255,195,95,.08);
}
.header-messenger-gate[hidden] { display: none; }
.header-messenger-gate p { margin: 0; color: #aebbd0; font-size: 13px; line-height: 1.45; }
.header-messenger-gate a { justify-self: start; color: #061019; background: #ffd06a; border-radius: 999px; padding: 8px 12px; font-size: 12px; font-weight: 950; }
.header-messenger-empty { margin: 0; padding: 16px; color: var(--muted); text-align: center; font-size: 12px; }

.header-messenger-menu.header-friend-requests-menu {
  width: min(440px, calc(100vw - 24px));
  min-height: 0;
  max-height: min(590px, calc(100dvh - 100px));
  grid-template-rows: auto minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
}
.header-friend-requests-menu > header { align-items: center; }
.header-friend-requests-menu > header strong { font-size: 20px; }
.header-friend-requests-menu > header small { color: #9eabc0; }
.header-friend-requests-menu .header-messenger-gate { grid-row: 2; }
.header-friend-requests-list {
  max-height: 480px;
  gap: 8px;
  padding: 6px;
  border-color: rgba(255, 154, 55, .14);
  background: rgba(4, 9, 18, .5);
}
.header-friend-request {
  min-width: 0;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 11px;
  border: 1px solid rgba(129, 158, 214, .14);
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(255, 139, 68, .055), rgba(37, 216, 244, .035));
  transition: opacity 160ms ease, border-color 160ms ease, background 160ms ease;
}
.header-friend-request:hover {
  border-color: rgba(255, 154, 55, .28);
  background: linear-gradient(135deg, rgba(255, 139, 68, .09), rgba(37, 216, 244, .055));
}
.header-friend-request.is-processing { opacity: .58; }
.header-friend-request-copy { min-width: 0; display: grid; gap: 3px; }
.header-friend-request-copy strong { overflow: hidden; color: #f4f8ff; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.header-friend-request-copy small,
.header-friend-request-copy time { color: #8999b2; font-size: 10px; }
.header-friend-request-copy p {
  display: -webkit-box;
  overflow: hidden;
  margin: 2px 0 0;
  color: #bcc8da;
  font-size: 11px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.header-friend-request-copy time { margin-top: 1px; }
.header-friend-request-actions { display: grid; gap: 6px; }
.header-friend-request-actions button {
  min-width: 78px;
  min-height: 31px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 10px;
  font-weight: 950;
}
.header-friend-request-actions .accept {
  border-color: rgba(78, 224, 160, .32);
  color: #07140f;
  background: linear-gradient(135deg, #65e5aa, #31c98a);
}
.header-friend-request-actions .refuse {
  border-color: rgba(255, 105, 105, .2);
  color: #ffb3b3;
  background: rgba(255, 92, 92, .08);
}
.header-friend-request-actions button:disabled { cursor: wait; opacity: .65; }
.header-friend-requests-empty {
  min-height: 190px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 7px;
  padding: 24px;
  color: #8fa0b8;
  text-align: center;
}
.header-friend-requests-empty span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(78, 224, 160, .25);
  border-radius: 50%;
  color: #5ee2a5;
  background: rgba(78, 224, 160, .08);
  font-size: 19px;
}
.header-friend-requests-empty strong { color: #edf5ff; font-size: 13px; }
.header-friend-requests-empty small { font-size: 11px; }

@media (max-width: 820px) {
  .header-token-wallet-copy small { display: none; }
  .header-messenger-menu {
    position: fixed;
    inset: 78px 10px auto 10px;
    width: auto;
    max-height: calc(100dvh - 96px);
    min-height: 0;
  }
  .header-messenger-layout { grid-template-columns: 1fr; }
  .header-messenger-preview { min-height: 310px; }
}

@media (max-width: 560px) {
  .header-token-wallet { gap: 6px; padding-right: 8px; }
  .header-token-wallet-mark { width: 27px; height: 27px; flex-basis: 27px; }
  .header-token-wallet-copy strong { font-size: 10px; }
  .header-token-wallet-copy strong b { font-size: 12px; }
  .header-messenger-menu { inset: 72px 8px auto 8px; padding: 12px; }
  .header-messenger-menu > header strong { font-size: 24px; }
  .header-messenger-tabs span { padding: 0 9px; font-size: 11px; }
  .header-messenger-row { grid-template-columns: 44px minmax(0, 1fr); }
  .header-messenger-row-meta { grid-column: 2; grid-auto-flow: column; justify-content: start; justify-items: start; }
  .header-messenger-preview { min-height: 260px; }
  .header-friend-request { grid-template-columns: 42px minmax(0, 1fr); }
  .header-friend-request-actions { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .messenger-bubbles { right: 12px; bottom: 12px; gap: 8px; }
  .messenger-bubble { width: 52px; height: 52px; }
  .messenger-bubble-avatar { width: 52px; height: 52px; }
  .messenger-bubble-avatar .messenger-avatar { width: 42px; height: 42px; }
}
.header-notifications-menu header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-bottom: 1px solid rgba(151,173,219,.12);
}
.header-notifications-menu header strong { font-size: 12px; }
.header-notifications-menu header button {
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid rgba(37,216,244,.25);
  border-radius: 7px;
  color: var(--cyan);
  background: rgba(37,216,244,.07);
  font-size: 10px;
  font-weight: 900;
}
.header-notifications-menu header button:disabled { opacity: .45; cursor: default; }
.header-notifications-list {
  max-height: min(430px, calc(100vh - 140px));
  overflow: auto;
  padding: 8px;
}
.header-notification-item {
  width: 100%;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #eef4ff;
  background: transparent;
  text-align: left;
}
.header-notification-item:hover { border-color: rgba(151,173,219,.14); background: #111b2d; }
.header-notification-item.unread { border-color: rgba(37,216,244,.22); background: rgba(37,216,244,.055); }
.header-notification-item.token-combo {
  position: relative;
  overflow: hidden;
  border-color: rgba(255,195,87,.28);
  background: linear-gradient(120deg, rgba(255,195,87,.075), rgba(37,216,244,.045));
}
.header-notification-item.token-combo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent);
  transform: translateX(-120%);
  animation: tokenComboSweep 1.45s ease-out;
  pointer-events: none;
}
.header-notification-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(37,216,244,.25);
  border-radius: 8px;
  color: var(--cyan);
  background: rgba(37,216,244,.06);
  font-size: 9px;
  font-weight: 950;
}
.header-notification-icon.message-avatar {
  overflow: hidden;
  padding: 0;
  border-radius: 50%;
}
.header-notification-icon.message-avatar img { width: 100%; height: 100%; object-fit: cover; }
.header-notification-item.token-combo .header-notification-icon {
  border-color: rgba(255,195,87,.42);
  color: #2b1b00;
  background: linear-gradient(145deg, #ffe58c, #ffae43);
  animation: tokenGainPop .55s cubic-bezier(.2, 1.6, .35, 1);
}
.header-notification-item > span:last-child {
  min-width: 0;
  display: grid;
  gap: 3px;
}
.header-notification-item strong {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.header-notification-item small {
  color: #9aa8c1;
  font-size: 11px;
  line-height: 1.35;
}
.header-token-gain {
  width: fit-content;
  padding: 4px 7px;
  border: 1px solid rgba(255,195,87,.34);
  border-radius: 6px;
  color: #ffd977;
  background: rgba(255,195,87,.08);
  font-size: 9px;
  font-weight: 950;
  line-height: 1;
  animation: tokenGainRise .7s ease-out both;
}
.header-message-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}
.header-message-meta i {
  color: #73819c;
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}
.header-message-meta i.online { color: #60e7a7; }
.header-message-meta b {
  width: fit-content;
  padding: 4px 7px;
  border: 1px solid rgba(37,216,244,.24);
  border-radius: 6px;
  color: var(--cyan);
  background: rgba(37,216,244,.07);
  font-size: 9px;
  font-weight: 950;
}
.header-notification-item em {
  color: #64728d;
  font-size: 9px;
  font-style: normal;
}
.header-notifications-empty {
  margin: 0;
  padding: 18px 12px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.notification-toast-root {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  width: min(360px, calc(100vw - 24px));
  display: grid;
  gap: 8px;
  pointer-events: none;
}

.notification-toast {
  width: 100%;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding: 11px;
  border: 1px solid rgba(37,216,244,.28);
  border-radius: 8px;
  color: #eef4ff;
  background: rgba(8, 14, 26, .98);
  box-shadow: 0 18px 45px rgba(0,0,0,.42), inset 0 1px rgba(255,255,255,.04);
  pointer-events: auto;
  text-align: left;
  animation: viewIn .22s ease both;
}
.notification-toast.token-combo {
  border-color: rgba(255,195,87,.36);
  background: linear-gradient(145deg, rgba(28, 21, 8, .98), rgba(8, 14, 26, .98));
}

.notification-toast > span:first-child {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(78,224,160,.25);
  border-radius: 8px;
  color: #8ef0c0;
  background: rgba(78,224,160,.07);
  font-size: 9px;
  font-weight: 950;
}
.notification-toast-avatar {
  overflow: hidden;
  padding: 0;
  border-radius: 50%;
}
.notification-toast-avatar img { width: 100%; height: 100%; object-fit: cover; }
.notification-toast.token-combo > span:first-child {
  border-color: rgba(255,195,87,.44);
  color: #2b1b00;
  background: linear-gradient(145deg, #ffe58c, #ffae43);
  animation: tokenGainPop .55s cubic-bezier(.2, 1.6, .35, 1);
}

.notification-toast > span:last-child {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.notification-toast strong {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notification-toast small {
  color: #9aa8c1;
  font-size: 11px;
  line-height: 1.35;
}
.notification-token-gain {
  width: fit-content;
  margin-top: 3px;
  padding: 4px 7px;
  border-radius: 6px;
  color: #2b1b00;
  background: #ffd977;
  font-size: 9px;
  font-weight: 950;
  line-height: 1;
  animation: tokenGainRise .7s ease-out both;
}
.notification-message-more {
  width: fit-content;
  padding: 4px 7px;
  border: 1px solid rgba(37,216,244,.24);
  border-radius: 6px;
  color: var(--cyan);
  background: rgba(37,216,244,.07);
  font-size: 9px;
  font-weight: 950;
}

@keyframes tokenGainPop {
  0% { transform: scale(.82); filter: brightness(.9); }
  58% { transform: scale(1.13); filter: brightness(1.18); }
  100% { transform: scale(1); filter: brightness(1); }
}

@keyframes tokenGainRise {
  0% { opacity: 0; transform: translateY(7px) scale(.94); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes tokenComboSweep {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

main { position: relative; width: min(1320px, calc(100% - 40px)); min-height: calc(100vh - 180px); margin: 0 auto; padding: 36px 0 64px; }
.view { animation: viewIn .35s ease both; }
.eyebrow { margin: 0 0 9px; color: var(--cyan); font-size: 10px; font-weight: 900; letter-spacing: 1.3px; }
h1, h2, p { letter-spacing: 0; }

.hero {
  min-height: 390px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: center;
  gap: 54px;
  padding: 56px 64px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: radial-gradient(circle at 82% 30%, rgba(53,215,242,.08), transparent 28%), linear-gradient(130deg, rgba(16, 28, 49, .94), rgba(7, 12, 24, .96));
  box-shadow: 0 28px 80px rgba(0,0,0,.3), inset 0 1px rgba(255,255,255,.025);
  overflow: hidden;
}
.hero h1 { margin: 0; max-width: 760px; font-size: clamp(42px, 5.5vw, 72px); line-height: .98; }
.hero h1 span { color: var(--cyan); }
.hero p:not(.eyebrow) { max-width: 690px; margin: 22px 0 0; color: #a6b1c9; font-size: 17px; line-height: 1.65; }
.hero-logo { justify-self: center; width: min(280px, 100%); max-height: 280px; object-fit: contain; filter: drop-shadow(0 18px 32px rgba(255, 80, 15, .18)); }
.hero-actions { display: flex; gap: 10px; margin-top: 30px; }
.primary-link, .secondary-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
}
.primary-link { color: #041018; background: linear-gradient(110deg, var(--cyan), #7be8f8); box-shadow: 0 10px 28px rgba(53,215,242,.14); }
.secondary-link { border: 1px solid var(--line); background: #111a2d; }
.primary-link, .secondary-link { transition: transform .18s ease, border-color .18s ease, filter .18s ease; }
.primary-link:hover, .secondary-link:hover { transform: translateY(-2px); filter: brightness(1.06); }
.secondary-link:hover { border-color: var(--line-strong); }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.stats article {
  min-height: 122px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(16,27,48,.88), rgba(9,14,27,.94));
  box-shadow: inset 0 1px rgba(255,255,255,.02);
  transition: transform .18s ease, border-color .18s ease;
}
.stats article:hover { transform: translateY(-2px); border-color: var(--line-strong); }
.stats span, .stats small { display: block; color: var(--muted); }
.stats span { font-size: 10px; font-weight: 900; text-transform: uppercase; }
.stats strong { display: block; margin: 8px 0 3px; font-size: 30px; }
.stats small { font-size: 11px; }
.live-moderators-panel {
  display: grid;
  grid-template-columns: minmax(220px, .72fr) minmax(0, 2.28fr);
  align-items: center;
  gap: 22px;
  margin-top: 14px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background:
    radial-gradient(circle at 4% 50%, rgba(37,216,244,.09), transparent 27%),
    linear-gradient(125deg, rgba(14,23,42,.96), rgba(8,13,25,.98));
}
.live-moderators-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.live-moderators-head h2 { margin: 0; font-size: 20px; }
.live-moderators-count { flex: 0 0 auto; display: flex; align-items: center; gap: 5px; color: #8f9db8; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.live-moderators-count strong { color: #dfe8f8; font-size: 11px; }
.home-moderators { min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(185px, 1fr)); gap: 8px; }
.home-moderator-card {
  min-width: 0;
  min-height: 66px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border: 1px solid rgba(37,216,244,.16);
  border-radius: 9px;
  color: #fff;
  background: rgba(6,13,25,.68);
  text-align: left;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.home-moderator-card:hover { transform: translateY(-2px); border-color: rgba(37,216,244,.55); background: rgba(15,29,49,.9); }
.home-moderator-card:has(.home-moderator-avatar.has-site-profile-frame) {
  grid-template-columns: 92px minmax(0, 1fr) auto;
  min-height: 104px;
}
.home-moderator-avatar.has-site-profile-frame { justify-self: center; }
.home-moderator-avatar { position: relative; width: 44px; height: 44px; display: grid; place-items: center; padding: 2px; border-radius: 50%; background: linear-gradient(145deg, var(--cyan), #7c5cff); box-shadow: 0 0 14px rgba(37,216,244,.12); }
.home-moderator-avatar img { width: 100%; height: 100%; border: 2px solid #0b1323; border-radius: 50%; object-fit: cover; background: #121b2d; }
.home-moderator-avatar i { position: absolute; right: 0; bottom: 1px; width: 10px; height: 10px; border: 2px solid #0b1323; border-radius: 50%; background: var(--green); box-shadow: 0 0 7px var(--green); }
.home-moderator-identity { min-width: 0; display: grid; gap: 3px; }
.home-moderator-identity strong, .home-moderator-identity small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-moderator-identity strong { font-size: 12px; }
.home-moderator-identity small { color: #7888a6; font-size: 9px; }
.home-moderator-level { display: grid; justify-items: end; }
.home-moderator-level small { color: var(--cyan); font-size: 7px; font-weight: 950; }
.home-moderator-level strong { font-size: 18px; }
.home-moderator-kills { display: inline-flex; align-items: center; gap: 3px; margin-top: 2px; color: #ff647d; font-size: 8px; font-weight: 950; }
.home-moderator-kills svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.home-moderator-kills b { color: #ff8fa0; }
.home-moderators-empty { margin: 0; padding: 14px; color: var(--muted); font-size: 12px; text-align: center; }
.home-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.top-levels-panel, .top-donors-panel, .recent-panel, .filters, .registry, .level-toolbar, .user-toolbar {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(14,23,42,.88), rgba(8,13,25,.94));
  box-shadow: inset 0 1px rgba(255,255,255,.018);
}
.top-levels-panel, .top-donors-panel, .recent-panel { padding: 28px; }
.top-levels-panel h2, .section-head h2 { margin: 0; font-size: 24px; }
.top-donors-panel { grid-column: 1 / -1; }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; }
.top-levels-head { gap: 18px; }
.top-levels-link { flex: 0 0 auto; color: var(--cyan); font-size: 11px; font-weight: 900; }
.top-levels-link span { margin-left: 4px; font-size: 16px; }
.home-top-levels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.top-level-card {
  --rank-color: #7088bb;
  --rank-soft: rgba(78, 111, 182, .16);
  position: relative;
  min-width: 0;
  min-height: 104px;
  display: grid;
  grid-template-columns: 26px 52px minmax(0, 1fr) auto;
  grid-template-rows: 1fr auto;
  align-items: center;
  gap: 5px 9px;
  padding: 12px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--rank-color) 32%, var(--line));
  border-radius: 10px;
  color: #fff;
  background:
    radial-gradient(circle at 14% 18%, var(--rank-soft), transparent 42%),
    linear-gradient(125deg, rgba(17, 27, 47, .98), rgba(7, 12, 23, .98));
  text-align: left;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.top-level-card::after { content: ""; position: absolute; inset: auto -35px -50px auto; width: 110px; height: 110px; border: 1px solid var(--rank-color); border-radius: 50%; opacity: .08; }
.top-level-card:hover { transform: translateY(-2px); border-color: var(--rank-color); box-shadow: 0 12px 30px var(--rank-soft); }
.top-level-card:has(.top-level-avatar-frame.has-site-profile-frame) {
  grid-template-columns: 26px 110px minmax(0, 1fr) auto;
  min-height: 132px;
}
.top-level-avatar-frame.has-site-profile-frame { justify-self: center; }
.top-rank-1 { --rank-color: #ffd561; --rank-soft: rgba(255, 188, 53, .19); }
.top-rank-2 { --rank-color: #b9e9ff; --rank-soft: rgba(138, 211, 244, .15); }
.top-rank-3 { --rank-color: #ff9a58; --rank-soft: rgba(255, 118, 53, .15); }
.top-rank-4 { --rank-color: #8f9cff; --rank-soft: rgba(102, 111, 255, .13); }
.top-rank-5 { --rank-color: #cf82ff; --rank-soft: rgba(190, 75, 255, .13); }
.top-rank-6 { --rank-color: #45d8da; --rank-soft: rgba(45, 210, 214, .12); }
.top-donor-card { --rank-color: #ffd36c; --rank-soft: rgba(255, 211, 108, .16); }
.top-donor-card .top-level-avatar-frame { background: conic-gradient(from 25deg, #ffd36c, #ff3e82, #25d8f4, #ffd36c); }
.top-donor-card .top-level-score strong { color: #ffe19a; }
.top-donor-meta i::after { background: linear-gradient(90deg, #ffd36c, #ff3e82); }
.top-level-rank { color: var(--rank-color); font-size: 13px; font-weight: 950; }
.top-level-avatar-frame {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  padding: 3px;
  border-radius: 50%;
  background: conic-gradient(from 25deg, var(--rank-color), rgba(255,255,255,.16), var(--rank-color));
  box-shadow: 0 0 18px var(--rank-soft);
  transform: rotate(-3deg);
}
.top-level-avatar-frame img { width: 100%; height: 100%; overflow: hidden; border: 2px solid #0b1323; border-radius: 50%; clip-path: circle(50% at 50% 50%); object-fit: cover; object-position: center; transform: rotate(3deg); background: #121b2d; }
.top-level-identity { min-width: 0; display: grid; gap: 3px; }
.top-level-identity strong, .top-level-identity small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.top-level-identity strong { font-size: 13px; }
.top-level-identity small { color: #8190ad; font-size: 9px; }
.top-level-score { display: grid; justify-items: end; }
.top-level-score small { color: var(--rank-color); font-size: 7px; font-weight: 950; letter-spacing: .7px; }
.top-level-score strong { font-size: 23px; line-height: 1; }
.top-level-progress { grid-column: 3 / -1; display: flex; align-items: center; gap: 8px; }
.top-level-progress i { height: 4px; flex: 1; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.08); }
.top-level-progress i::after { content: ""; display: block; width: var(--progress); height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--rank-color), #fff); }
.top-level-progress small { color: #697995; font-size: 8px; font-weight: 800; white-space: nowrap; }
.top-level-kills { display: inline-flex; align-items: center; gap: 3px; color: #ff647d; font-size: 8px; font-weight: 950; white-space: nowrap; }
.top-level-kills svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.top-level-kills b { color: #ff8fa0; }
.icon-button { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 8px; color: #fff; background: #111b2e; font-size: 20px; }
.icon-button.loading { animation: spin .8s linear infinite; }
.recent-list { display: grid; gap: 7px; }
.recent-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #fff;
  background: rgba(8,13,25,.72);
  text-align: left;
}
.recent-item:hover { border-color: var(--line); }
.recent-item span { display: grid; gap: 3px; }
.recent-item small { color: var(--muted); }

.page-heading {
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 38px 42px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: radial-gradient(circle at 90% 50%, rgba(53,215,242,.07), transparent 24%), linear-gradient(135deg, #0d1627, #080e1a);
  box-shadow: inset 0 1px rgba(255,255,255,.025);
}
.page-heading h1 { margin: 0; font-size: clamp(36px, 5vw, 56px); }
.page-heading p:last-child { margin: 10px 0 0; color: var(--muted); }
.page-symbol {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 28px;
  font-weight: 900;
  background: rgba(255,255,255,.025);
}
.ban-symbol { color: var(--pink); }
.mute-symbol { color: var(--amber); }
.level-symbol, .users-symbol { color: var(--cyan); }
.registry-template { margin-top: 14px; }
.filters {
  display: grid;
  grid-template-columns: minmax(240px, 2fr) repeat(3, minmax(150px, 1fr));
  gap: 10px;
  padding: 14px;
}
label { display: grid; gap: 6px; }
label > span { color: var(--muted); font-size: 9px; font-weight: 900; text-transform: uppercase; }
input, select {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  outline: none;
  color: #fff;
  background: #080e1b;
}
input:focus, select:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(37,216,244,.08); }
.registry { margin-top: 12px; overflow: hidden; }
.registry-head { min-height: 76px; display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.registry-head h2 { margin: 0; font-size: 20px; }
.registry-head > span { color: var(--muted); font-size: 12px; }
.action-row {
  display: grid;
  grid-template-columns: minmax(210px, 1.2fr) 125px minmax(200px, 1.3fr) 150px minmax(210px, 1.05fr) 120px;
  gap: 14px;
  align-items: center;
  min-height: 92px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(129,158,214,.1);
}
.action-row:hover { background: rgba(37,216,244,.025); }
.identity { min-width: 0; display: flex; align-items: center; gap: 11px; padding: 0; border: 0; color: inherit; background: transparent; text-align: left; }
.identity > span { min-width: 0; display: grid; gap: 2px; }
.identity small { color: #697995; font-size: 8px; font-style: normal; font-weight: 900; text-transform: uppercase; }
.identity strong, .identity em { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.identity em { color: var(--muted); font-size: 11px; font-style: normal; }
.identity:hover strong { color: var(--cyan); }
.actor-profile { padding: 9px; border: 1px solid var(--line); border-radius: 8px; background: #0c1526; }
.avatar, .level-avatar { width: 46px; height: 46px; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 50%; object-fit: cover; background: #121b2d; }
.site-avatar-shell { position: relative; display: grid; flex: 0 0 auto; place-items: center; overflow: visible; }
.level-avatar-shell { width: 50px; height: 50px; }
.user-avatar-shell { width: 46px; height: 46px; }
.action-avatar-shell { width: 46px; height: 46px; }
.tiktok-linked-avatar-shell { width: 54px; height: 54px; }
.protected-account-avatar-shell { width: 36px; height: 36px; }
.admin-tiktok-avatar-shell { width: 2.35rem; height: 2.35rem; }
.replay-profile-avatar-shell { width: 4.25rem; height: 4.25rem; }
.site-avatar-shell > .avatar,
.site-avatar-shell > .level-avatar,
.tiktok-linked-avatar-shell > img,
.tiktok-linked-avatar-shell > .tiktok-linked-fallback { width: 100%; height: 100%; }
.replay-profile-avatar-shell > .replay-profile-avatar { width: 100%; height: 100%; }
.has-site-profile-frame {
  --profile-frame-auto-min-scale: 90;
  --profile-frame-auto-max-scale: 220;
  --profile-frame-hole-padding: 1.02;
  position: relative;
  overflow: visible !important;
}
.has-site-profile-frame > img.site-profile-frame-image {
  position: absolute;
  z-index: 4;
  top: calc(50% + var(--profile-frame-site-offset-y, 0%));
  left: calc(50% + var(--profile-frame-site-offset-x, 0%));
  width: var(--profile-frame-fit-scale, var(--profile-frame-scale, 138%));
  height: var(--profile-frame-fit-scale, var(--profile-frame-scale, 138%));
  max-width: none;
  border: 0;
  border-radius: 0;
  clip-path: none;
  object-fit: contain;
  transform: translate(var(--profile-frame-anchor-x, -50%), var(--profile-frame-anchor-y, -50%));
  background: transparent;
  box-shadow: none;
  pointer-events: none;
}
.header-user-avatar.has-site-profile-frame {
  --profile-frame-auto-max-scale: 185;
  --profile-frame-hole-padding: 0.98;
}
.header-user-avatar-large.has-site-profile-frame {
  --profile-frame-auto-max-scale: 195;
}
.home-moderator-avatar.has-site-profile-frame > i { z-index: 5; }
.avatar-fallback { display: grid; place-items: center; color: #051017; font-weight: 900; background: var(--cyan); }
.action-cell { display: flex; flex-wrap: wrap; gap: 5px; }
.action-badge, .status-badge, .sanction-end { width: fit-content; display: inline-flex; padding: 5px 7px; border-radius: 5px; font-size: 9px; font-weight: 900; text-transform: uppercase; }
.action-badge.ban { color: #ff8aaa; border: 1px solid rgba(255,62,130,.35); background: rgba(255,62,130,.11); }
.action-badge.mute { color: #ffd37c; border: 1px solid rgba(255,184,62,.32); background: rgba(255,184,62,.1); }
.action-badge.unban, .action-badge.unmute { color: var(--green); border: 1px solid rgba(78,224,160,.3); background: rgba(78,224,160,.09); }
.status-badge.success { color: var(--green); }
.status-badge.failed { color: var(--red); }
.reason { color: #cbd3e5; font-size: 12px; line-height: 1.45; }
.duration { display: grid; gap: 5px; font-size: 11px; }
.sanction-end.active { color: #ff8ca7; background: rgba(255,62,130,.1); }
.sanction-end.lifted { color: var(--green); background: rgba(78,224,160,.09); }
time { color: var(--muted); font-size: 11px; }
.empty-state { padding: 50px; color: var(--muted); text-align: center; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 16px; padding: 16px; }
.pagination button { min-width: 106px; height: 36px; border: 1px solid var(--line); border-radius: 7px; color: #fff; background: #111a2c; }
.pagination button:disabled { opacity: .35; cursor: default; }
.pagination span { color: var(--muted); font-size: 11px; }

.deban-grid { display: grid; grid-template-columns: minmax(320px, .95fr) minmax(340px, 1.05fr); gap: 14px; margin-top: 14px; }
.deban-panel, .deban-appeals-panel { padding: 24px; border: 1px solid var(--line); border-radius: 11px; background: linear-gradient(145deg, #101a2e, #080e1b); }
.deban-search-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; margin-top: 16px; }
.deban-search-form label, .deban-appeal-form label, .deban-reply-form label { display: grid; gap: 7px; color: var(--muted); font-size: 10px; font-weight: 900; text-transform: uppercase; }
.deban-search-form input, .deban-appeal-form textarea, .deban-appeal-form input, .deban-reply-form textarea, .deban-reply-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #eef4ff;
  background: #08111f;
}
.deban-search-form input { min-height: 44px; padding: 0 13px; }
.deban-appeal-form textarea, .deban-reply-form textarea { min-height: 126px; padding: 12px; resize: vertical; text-transform: none; }
.deban-reply-form textarea { min-height: 86px; }
.deban-appeal-form input[type="file"] { padding: 11px; color: var(--muted); }
.deban-appeal-form small { color: #73819c; font-size: 9px; text-transform: none; }
.deban-banned-list, .deban-appeals-list { display: grid; gap: 10px; margin-top: 14px; }
.deban-banned-card { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 13px; border: 1px solid rgba(129,158,214,.16); border-radius: 10px; background: #0d1728; }
.deban-banned-card img, .deban-selected-account img, .deban-appeal-head img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: #111b2d; }
.deban-banned-card span, .deban-selected-account span, .deban-appeal-head span { min-width: 0; display: grid; gap: 3px; }
.deban-banned-card strong, .deban-appeal-head strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.deban-banned-card small, .deban-selected-account small, .deban-appeal-head small { color: var(--cyan); font-size: 10px; font-weight: 800; }
.deban-banned-card em, .deban-appeal-head em { overflow: hidden; color: var(--muted); font-size: 9px; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.deban-selected-account { display: grid; grid-template-columns: 54px minmax(0, 1fr); align-items: center; gap: 12px; margin-top: 16px; }
.deban-selected-account img { width: 54px; height: 54px; }
.deban-code-box { display: grid; place-items: center; gap: 8px; margin-top: 16px; padding: 20px; border: 1px dashed rgba(37,216,244,.5); border-radius: 10px; background: rgba(37,216,244,.06); text-align: center; }
.deban-code-box small { color: var(--cyan); font-size: 8px; font-weight: 950; letter-spacing: .12em; }
.deban-code-box strong { font-size: 22px; letter-spacing: .08em; }
.deban-help { margin: 13px 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.deban-appeal-form { display: grid; gap: 12px; margin-top: 16px; }
.deban-appeals-panel { margin-top: 14px; }
.refresh-small { min-height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: 8px; color: #fff; background: #111a2c; font-weight: 900; }
.deban-appeal-card { display: grid; gap: 12px; padding: 16px; border: 1px solid rgba(129,158,214,.16); border-radius: 11px; background: #0d1728; transition: border-color .18s ease, background .18s ease; }
.deban-appeal-card.status-pending { border-color: rgba(37,216,244,.34); box-shadow: inset 3px 0 var(--cyan); }
.deban-appeal-card.status-accepted { border-color: rgba(78,224,160,.35); box-shadow: inset 3px 0 #4ee0a0; }
.deban-appeal-card.status-rejected { border-color: rgba(255,62,130,.35); box-shadow: inset 3px 0 #ff3e82; }
.deban-appeal-card.status-closed { border-color: rgba(129,158,214,.12); background: #0a1322; }
.deban-appeal-card.is-collapsed { gap: 0; padding-block: 12px; }
.deban-appeal-head { width: 100%; display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 0; border: 0; color: inherit; background: transparent; text-align: left; cursor: pointer; }
.deban-appeal-head:focus-visible { outline: 2px solid var(--cyan); outline-offset: 5px; border-radius: 5px; }
.deban-appeal-state { display: flex !important; align-items: center; justify-content: flex-end; gap: 8px !important; }
.deban-appeal-chevron { color: var(--muted); font-size: 20px; font-style: normal; line-height: 1; transition: transform .18s ease; }
.deban-appeal-head[aria-expanded="true"] .deban-appeal-chevron { transform: rotate(180deg); }
.deban-appeal-details { display: grid; gap: 12px; padding-top: 2px; }
.deban-appeal-details[hidden] { display: none; }
.deban-status { padding: 6px 8px; border: 1px solid rgba(37,216,244,.3); border-radius: 6px; color: var(--cyan); background: rgba(37,216,244,.08); font-size: 9px; text-transform: uppercase; white-space: nowrap; }
.status-accepted .deban-status { color: var(--green); border-color: rgba(78,224,160,.35); background: rgba(78,224,160,.09); }
.status-rejected .deban-status { color: #ff8aaa; border-color: rgba(255,62,130,.35); background: rgba(255,62,130,.09); }
.status-closed .deban-status { color: #9aa8c1; border-color: rgba(154,168,193,.25); background: rgba(154,168,193,.07); }
.deban-ban-reason, .deban-reason { margin: 0; color: #cdd7ea; font-size: 12px; line-height: 1.55; white-space: pre-wrap; }
.deban-ban-reason { color: #8f9db8; font-size: 11px; }
.deban-attachments { display: flex; flex-wrap: wrap; gap: 8px; }
.deban-attachments a { width: 86px; height: 86px; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #07101f; }
.deban-attachments img { width: 100%; height: 100%; object-fit: cover; }
.deban-moderator-reply { display: grid; gap: 6px; padding: 13px; border: 1px solid rgba(78,224,160,.22); border-radius: 9px; background: rgba(78,224,160,.07); }
.deban-moderator-reply strong { color: #76eab4; font-size: 12px; }
.deban-moderator-reply p { margin: 0; color: #dce6f6; font-size: 12px; line-height: 1.55; white-space: pre-wrap; }
.deban-moderator-reply small { color: var(--muted); font-size: 9px; }
.deban-reply-form { display: grid; gap: 10px; padding-top: 12px; border-top: 1px solid rgba(129,158,214,.14); }
.deban-reply-form > div { display: grid; grid-template-columns: auto 160px auto; justify-content: end; gap: 8px; }
.deban-reply-form select { min-height: 40px; padding: 0 10px; }
.deban-close-button { min-height: 40px; padding: 0 12px; border: 1px solid rgba(255,62,130,.32); border-radius: 8px; color: #ff9ab8; background: rgba(255,62,130,.07); font-weight: 900; }
.deban-closed-notice { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px; border: 1px solid rgba(154,168,193,.18); border-radius: 8px; color: #9aa8c1; background: rgba(154,168,193,.05); font-size: 11px; }
.deban-reopen-button { flex: 0 0 auto; }
.deban-empty { margin: 0; padding: 20px; border: 1px dashed rgba(129,158,214,.2); border-radius: 9px; color: var(--muted); text-align: center; }
.nav-dot-recruitment, .recruitment-symbol { color: #76eab4; }
.recruitment-layout { width: min(1060px, 100%); display: grid; grid-template-columns: 1fr; gap: 14px; margin: 14px auto 0; }
.recruitment-apply-panel, .recruitment-list-panel { padding: 20px; border: 1px solid var(--line); border-radius: 8px; background: linear-gradient(145deg, #101a2e, #080e1b); }
.recruitment-form, .recruitment-card-details, .recruitment-comments { display: grid; gap: 12px; }
.recruitment-form label, .recruitment-comment-form label, .recruitment-decision-form label { display: grid; gap: 7px; color: var(--muted); font-size: 10px; font-weight: 900; text-transform: uppercase; }
.recruitment-form select, .recruitment-form textarea, .recruitment-comment-form textarea, .recruitment-decision-form textarea {
  width: 100%; min-height: 44px; border: 1px solid rgba(129,158,214,.18); border-radius: 9px; color: #eef4ff; background: rgba(7,14,27,.72); font: inherit; font-size: 12px; outline: none;
}
.recruitment-form select { padding: 0 12px; }
.recruitment-form textarea, .recruitment-comment-form textarea, .recruitment-decision-form textarea { min-height: 92px; padding: 12px; resize: vertical; text-transform: none; line-height: 1.55; }
.recruitment-form textarea:first-of-type { min-height: 132px; }
.recruitment-gate-card { display: grid; gap: 12px; padding: 16px; border: 1px dashed rgba(129,158,214,.22); border-radius: 10px; background: rgba(7,14,27,.42); }
.recruitment-gate-card strong { font-size: 13px; }
.recruitment-gate-card a { width: fit-content; padding: 10px 12px; border: 1px solid rgba(37,216,244,.3); border-radius: 8px; color: var(--cyan); font-size: 11px; font-weight: 900; }
.recruitment-list { display: grid; gap: 16px; margin-top: 14px; }
.recruitment-forum-section { display: grid; gap: 10px; }
.recruitment-forum-section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 1px solid rgba(129,158,214,.14); border-radius: 8px; background: rgba(7,14,27,.46); }
.recruitment-forum-section-head strong { color: #eef4ff; font-size: 11px; font-weight: 950; letter-spacing: .04em; }
.recruitment-forum-section-head span { color: var(--muted); font-size: 9px; font-weight: 900; text-transform: uppercase; }
.recruitment-forum-section.accepted .recruitment-forum-section-head { border-color: rgba(78,224,160,.28); background: rgba(78,224,160,.06); }
.recruitment-forum-section.rejected .recruitment-forum-section-head { border-color: rgba(255,62,130,.26); background: rgba(255,62,130,.05); }
.recruitment-forum-section.pending .recruitment-forum-section-head { border-color: rgba(37,216,244,.26); background: rgba(37,216,244,.05); }
.recruitment-forum-section-list { display: grid; gap: 10px; }
.recruitment-card { display: grid; gap: 12px; padding: 14px; border: 1px solid rgba(129,158,214,.16); border-radius: 8px; background: #0d1728; transition: border-color .18s ease, background .18s ease; }
.recruitment-card.status-pending { border-color: rgba(37,216,244,.34); box-shadow: inset 3px 0 var(--cyan); }
.recruitment-card.status-accepted { border-color: rgba(78,224,160,.35); box-shadow: inset 3px 0 #4ee0a0; }
.recruitment-card.status-rejected { border-color: rgba(255,62,130,.35); box-shadow: inset 3px 0 #ff3e82; }
.recruitment-card.status-closed { border-color: rgba(129,158,214,.12); background: #0a1322; }
.recruitment-card.is-collapsed { gap: 0; padding-block: 12px; }
.recruitment-card-head { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 0; border: 0; color: inherit; background: transparent; text-align: left; cursor: pointer; }
.recruitment-card-head:focus-visible { outline: 2px solid var(--cyan); outline-offset: 5px; border-radius: 5px; }
.recruitment-card-head span { min-width: 0; display: grid; gap: 3px; }
.recruitment-card-identity { grid-template-columns: 34px minmax(0, 1fr); align-items: center; gap: 10px !important; }
.recruitment-card-copy { min-width: 0; display: grid; gap: 3px; }
.recruitment-card-avatar { width: 34px; height: 34px; border: 1px solid rgba(37,216,244,.28); border-radius: 50%; object-fit: cover; background: #111b2d; }
.recruitment-card-head strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.recruitment-card-head small { color: var(--cyan); font-size: 10px; font-weight: 800; }
.recruitment-card-head em { overflow: hidden; color: var(--muted); font-size: 9px; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.recruitment-card-state { display: flex !important; align-items: center; justify-content: flex-end; gap: 8px !important; }
.recruitment-card-state i { color: var(--muted); font-size: 20px; font-style: normal; line-height: 1; transition: transform .18s ease; }
.recruitment-card-head[aria-expanded="true"] .recruitment-card-state i { transform: rotate(180deg); }
.recruitment-status { padding: 6px 8px; border: 1px solid rgba(37,216,244,.3); border-radius: 6px; color: var(--cyan); background: rgba(37,216,244,.08); font-size: 9px; text-transform: uppercase; white-space: nowrap; }
.status-accepted .recruitment-status { color: var(--green); border-color: rgba(78,224,160,.35); background: rgba(78,224,160,.09); }
.status-rejected .recruitment-status { color: #ff8aaa; border-color: rgba(255,62,130,.35); background: rgba(255,62,130,.09); }
.status-closed .recruitment-status { color: #9aa8c1; border-color: rgba(154,168,193,.25); background: rgba(154,168,193,.07); }
.recruitment-card-details[hidden] { display: none; }
.recruitment-text-block { display: grid; gap: 6px; }
.recruitment-text-block strong, .recruitment-comments > strong { color: #eef4ff; font-size: 12px; }
.recruitment-text-block p { margin: 0; color: #cdd7ea; font-size: 12px; line-height: 1.55; white-space: pre-wrap; }
.recruitment-comments { padding-top: 12px; border-top: 1px solid rgba(129,158,214,.14); }
.recruitment-forum-post { display: grid; grid-template-columns: 210px minmax(0, 1fr); overflow: hidden; border: 1px solid rgba(129,158,214,.16); border-radius: 8px; background: #0a1322; }
.recruitment-comment { grid-template-columns: 160px minmax(0, 1fr); }
.recruitment-topic-post { border-color: rgba(37,216,244,.28); }
.recruitment-forum-profile { min-width: 0; display: grid; justify-items: center; align-content: start; gap: 10px; padding: 16px 12px; border-right: 1px solid rgba(129,158,214,.14); background: linear-gradient(180deg, rgba(18,31,52,.96), rgba(8,15,28,.96)); text-align: center; }
.recruitment-forum-profile-compact { gap: 8px; padding: 12px 10px; }
.recruitment-profile-avatar-shell { width: 78px; height: 78px; }
.recruitment-profile-avatar-shell.recruitment-profile-avatar-shell-compact { width: 54px; height: 54px; }
.recruitment-profile-avatar-shell > img:not(.site-profile-frame-image) { width: 100%; height: 100%; border: 2px solid rgba(37,216,244,.24); border-radius: 50%; object-fit: cover; background: #111b2d; }
.recruitment-profile-identity { min-width: 0; display: grid; justify-items: center; gap: 4px; }
.recruitment-profile-identity-compact { width: 100%; }
.recruitment-profile-identity strong { max-width: 100%; overflow: hidden; color: #f3f7ff; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.recruitment-profile-identity span { width: fit-content; padding: 4px 7px; border: 1px solid rgba(37,216,244,.28); border-radius: 5px; color: var(--cyan); background: rgba(37,216,244,.08); font-size: 8px; font-weight: 950; text-transform: uppercase; }
.recruitment-profile-identity a { max-width: 100%; overflow: hidden; color: #76eab4; font-size: 10px; font-weight: 850; text-overflow: ellipsis; white-space: nowrap; }
.recruitment-profile-identity small { color: var(--muted); font-size: 9px; }
.recruitment-profile-stats-wrap { width: 100%; display: grid; gap: 8px; }
.recruitment-profile-stats { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin: 0; }
.recruitment-profile-stats div { min-width: 0; padding: 7px 6px; border: 1px solid rgba(129,158,214,.12); border-radius: 6px; background: rgba(4,10,20,.42); }
.recruitment-profile-stats div.highlight { border-color: rgba(37,216,244,.24); background: rgba(37,216,244,.07); }
.recruitment-profile-stats dt { overflow: hidden; margin: 0 0 3px; color: #72809a; font-size: 7px; font-weight: 950; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.recruitment-profile-stats dd { overflow: hidden; margin: 0; color: #eef4ff; font-size: 10px; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }
.recruitment-profile-stats-compact { grid-template-columns: 1fr; }
.recruitment-profile-stats-compact div { padding: 9px 8px; }
.recruitment-profile-flags, .recruitment-profile-accounts { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; }
.recruitment-profile-flags span, .recruitment-profile-accounts span { display: inline-flex; align-items: center; justify-content: center; gap: 4px; padding: 4px 6px; border: 1px solid rgba(78,224,160,.22); border-radius: 5px; color: #8ef0c0; background: rgba(78,224,160,.07); font-size: 7px; font-weight: 900; }
.recruitment-profile-accounts span img { width: 14px; height: 14px; flex: 0 0 auto; border-radius: 50%; object-fit: cover; background: #111b2d; }
.recruitment-profile-accounts { display: grid; justify-items: center; }
.recruitment-profile-accounts-compact { width: 100%; }
.recruitment-profile-accounts-compact span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.recruitment-profile-accounts strong { color: #eef4ff; font-size: 8px; text-transform: uppercase; }
.recruitment-profile-updated { color: var(--muted); font-size: 8px; }
.recruitment-forum-body { min-width: 0; display: grid; align-content: start; gap: 12px; padding: 16px; }
.recruitment-forum-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid rgba(129,158,214,.14); }
.recruitment-forum-meta span { color: var(--cyan); font-size: 8px; font-weight: 950; text-transform: uppercase; }
.recruitment-forum-meta time { color: var(--muted); font-size: 9px; }
.recruitment-forum-body > p { margin: 0; color: #dce6f6; font-size: 12px; line-height: 1.55; white-space: pre-wrap; }
.recruitment-comment.decision .recruitment-forum-body { background: rgba(78,224,160,.04); }
.recruitment-comment-form, .recruitment-decision-form { display: grid; gap: 10px; padding: 14px; border: 1px solid rgba(129,158,214,.14); border-radius: 8px; background: rgba(7,14,27,.5); }
.recruitment-decision-form > div { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.recruitment-empty { margin: 0; padding: 20px; border: 1px dashed rgba(129,158,214,.2); border-radius: 9px; color: var(--muted); text-align: center; }
.recruitment-reopen-button { width: fit-content; }
.section-head-actions, .recruitment-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; }
.recruitment-create-button { min-height: 38px; margin: 0; padding-inline: 14px; }
.recruitment-apply-modal { z-index: 45; }
.recruitment-modal-card {
  position: relative;
  width: min(940px, calc(100vw - 28px));
  max-height: calc(100dvh - 28px);
  overflow: auto;
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: #0b1323;
  box-shadow: 0 30px 100px rgba(0,0,0,.5);
}
.recruitment-modal-head { padding: 0 56px 18px 0; border-bottom: 1px solid rgba(151,173,219,.14); }
.recruitment-modal-head h2 { margin: 0; font-size: clamp(24px, 3vw, 32px); }
.recruitment-modal-head p:last-child { margin: 6px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.recruitment-modal-grid { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(260px, 1fr) minmax(260px, 1fr); gap: 12px; align-items: start; }
.recruitment-account-preview, .recruitment-requirements {
  min-height: 100%;
  display: grid;
  gap: 10px;
  padding: 13px;
  border: 1px solid rgba(129,158,214,.15);
  border-radius: 8px;
  background: rgba(7,14,27,.5);
}
.recruitment-account-preview { grid-template-columns: 56px minmax(0, 1fr); }
.recruitment-account-preview > img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: #111b2d; }
.recruitment-account-preview > div { min-width: 0; display: grid; align-content: center; gap: 3px; }
.recruitment-account-preview strong, .recruitment-account-preview a, .recruitment-account-preview small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.recruitment-account-preview a { color: var(--cyan); font-size: 11px; font-weight: 850; }
.recruitment-account-preview small { color: var(--muted); font-size: 9px; }
.recruitment-account-stats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 0; }
.recruitment-account-stats div { min-width: 0; padding: 7px 8px; border: 1px solid rgba(129,158,214,.12); border-radius: 6px; background: rgba(4,10,20,.42); }
.recruitment-account-stats dt { margin: 0 0 3px; color: #72809a; font-size: 7px; font-weight: 950; text-transform: uppercase; }
.recruitment-account-stats dd { margin: 0; color: #eef4ff; font-size: 10px; font-weight: 900; }
.recruitment-requirements-head { display: grid; gap: 3px; padding-bottom: 4px; border-bottom: 1px solid rgba(129,158,214,.12); }
.recruitment-requirements-head strong { color: #eef4ff; font-size: 12px; }
.recruitment-requirements-head small { color: var(--muted); font-size: 9px; line-height: 1.4; }
.recruitment-requirements article { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px; border: 1px solid rgba(129,158,214,.12); border-radius: 7px; background: rgba(4,10,20,.35); }
.recruitment-requirements article.passed { border-color: rgba(78,224,160,.24); background: rgba(78,224,160,.06); }
.recruitment-requirements article.blocked { border-color: rgba(255,62,130,.26); background: rgba(255,62,130,.06); }
.recruitment-requirements article span { min-width: 0; display: grid; gap: 2px; }
.recruitment-requirements article strong { color: #eef4ff; font-size: 11px; }
.recruitment-requirements article small { color: var(--muted); font-size: 9px; }
.recruitment-requirements article b { padding: 4px 6px; border-radius: 5px; color: #061018; background: var(--cyan); font-size: 8px; }
.recruitment-requirements article.blocked b { color: #fff; background: #ff3e82; }
.admin-recruitment-form { display: grid; gap: 14px; }
.admin-recruitment-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: end; }
.admin-recruitment-grid .admin-edit-wide { grid-column: 1 / -1; }
.admin-recruitment-grid label:not(.admin-control-switch) { min-height: 74px; }

.level-toolbar { margin-top: 14px; padding: 14px; display: grid; grid-template-columns: minmax(240px, 1fr) auto; align-items: end; gap: 18px; }
.level-toolbar > div { min-width: 140px; display: grid; justify-items: end; }
.level-toolbar strong { font-size: 28px; }
.level-toolbar div span { color: var(--muted); font-size: 10px; }
.level-updated {
  margin-top: 4px;
  color: var(--cyan);
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}
.levels-list { display: grid; gap: 8px; margin-top: 12px; }
.level-card {
  display: grid;
  grid-template-columns: 55px 52px minmax(180px, 1fr) 100px minmax(180px, .8fr) minmax(220px, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 80px;
  padding: 13px 18px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: linear-gradient(120deg, #101a2e, #0a101e);
}
.level-rank { color: #6f7f9f; font-size: 16px; }
.level-avatar { width: 50px; height: 50px; }
.level-identity { min-width: 0; display: grid; gap: 3px; }
.level-identity strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.level-identity a { color: var(--cyan); font-size: 11px; }
.level-badges { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.level-badges span, .booster-badge {
  width: fit-content;
  padding: 3px 6px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
}
.presence-badge { color: var(--green); background: rgba(78,224,160,.08); }
.moderator-badge { color: #ff829a; border-color: rgba(255,83,104,.32) !important; background: rgba(255,83,104,.09); }
.star-badge { color: #ffd36c; border-color: rgba(255,184,62,.32) !important; background: rgba(255,184,62,.09); }
.ban-badge { color: #fff; border-color: rgba(255,62,130,.5) !important; background: rgba(255,62,130,.3); }
.claimed-profile-badge { width: fit-content; display: inline-flex; align-items: center; padding: 4px 7px; border: 1px solid rgba(78,224,160,.36) !important; border-radius: 5px; color: #76eab4; background: rgba(78,224,160,.09); font-size: 8px; font-weight: 900; text-transform: uppercase; }
.bot-protected-badge { width: fit-content; display: inline-flex; align-items: center; padding: 4px 7px; border: 1px solid rgba(124,92,255,.42) !important; border-radius: 5px; color: #b9a7ff; background: rgba(124,92,255,.1); font-size: 8px; font-weight: 900; text-transform: uppercase; }
.top-level-identity > .claimed-profile-badge, .home-moderator-identity > .claimed-profile-badge, .top-level-identity > .bot-protected-badge, .home-moderator-identity > .bot-protected-badge { padding: 3px 5px; font-size: 6px; }
.level-status { display: flex; align-items: center; justify-content: center; gap: 8px; }
.level-value { display: grid; justify-items: center; }
.level-value span { color: var(--muted); font-size: 9px; text-transform: uppercase; }
.level-value strong { color: var(--amber); font-size: 24px; }
.booster-badge { color: #8491aa; white-space: nowrap; }
.booster-badge.active { color: var(--cyan); border-color: rgba(37,216,244,.35); background: rgba(37,216,244,.09); }
.level-xp { display: grid; gap: 7px; color: #dce3f2; font-size: 11px; font-weight: 800; }
.level-xp i { height: 5px; border-radius: 99px; background: #1c2941; overflow: hidden; }
.level-xp i::after { content: ""; display: block; width: var(--progress); height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--cyan), var(--blue)); }
.level-activity { display: grid; gap: 5px; color: var(--muted); font-size: 11px; text-align: right; }
.level-activity strong { color: #d7dff0; font-size: 11px; }
.level-activity span { color: #7f8ca7; }
.level-activity .level-updated-at { color: var(--cyan); font-weight: 900; }

.user-toolbar {
  margin-top: 14px;
  padding: 14px;
  display: grid;
  grid-template-columns: minmax(230px, 1.35fr) repeat(4, minmax(130px, .75fr)) auto;
  align-items: end;
  gap: 10px;
}
.user-total { min-width: 130px; display: grid; justify-items: end; }
.user-total strong { font-size: 26px; }
.user-total span { color: var(--muted); font-size: 10px; }
.users-list { display: grid; gap: 10px; margin-top: 12px; }
.user-card {
  display: grid;
  grid-template-columns: minmax(220px, 1.1fr) minmax(140px, .8fr) minmax(360px, 1.7fr) minmax(210px, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 104px;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background:
    radial-gradient(circle at 8% 20%, rgba(37,216,244,.08), transparent 28%),
    linear-gradient(120deg, rgba(16,26,46,.96), rgba(8,13,25,.98));
}
.user-card:hover { border-color: rgba(37,216,244,.34); box-shadow: 0 0 24px rgba(37,216,244,.05); }
.user-identity {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  text-align: left;
}
.user-identity > span { min-width: 0; display: grid; gap: 4px; }
.user-identity strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; }
.user-identity em { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--cyan); font-size: 12px; font-style: normal; }
.user-identity:hover strong { color: var(--cyan); }
.user-badges { display: flex; flex-wrap: wrap; gap: 5px; }
.user-badges span {
  width: fit-content;
  padding: 5px 7px;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
}
.fake-badge { color: #ffcc76; border-color: rgba(255,184,62,.35) !important; background: rgba(255,184,62,.1); }
.old-ban-badge { color: #c6d1e6; border-color: rgba(129,158,214,.24) !important; background: rgba(129,158,214,.08); }
.user-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(86px, 1fr));
  gap: 8px;
}
.user-stats span {
  min-height: 48px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 9px 10px;
  border: 1px solid rgba(129,158,214,.12);
  border-radius: 7px;
  background: rgba(5,10,20,.36);
}
.user-stats small { color: var(--muted); font-size: 8px; font-weight: 900; text-transform: uppercase; }
.user-stats strong { color: #eef4ff; font-size: 15px; }
.user-meta { display: grid; gap: 6px; color: #8f9bb6; font-size: 11px; text-align: right; }
.user-meta strong { color: #dce5f5; }
.ban-active-text { color: #ff8ca7; font-weight: 900; }

.account-layout {
  min-height: 660px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(14,24,44,.96), rgba(6,10,20,.98));
  box-shadow: 0 28px 80px rgba(0,0,0,.3);
}
.account-intro {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 50px;
  padding: 72px 64px 54px;
  overflow: hidden;
  border-right: 1px solid var(--line);
  background:
    radial-gradient(circle at 22% 18%, rgba(37,216,244,.16), transparent 34%),
    radial-gradient(circle at 82% 82%, rgba(124,92,255,.16), transparent 32%),
    #091223;
}
.account-intro > div, .account-benefits { position: relative; z-index: 2; }
.account-intro h1 { margin: 0; font-size: clamp(42px, 5vw, 68px); line-height: 1; }
.account-intro h1 span { color: var(--cyan); }
.account-intro > div > p:last-child { max-width: 580px; margin: 24px 0 0; color: #a3afc7; font-size: 16px; line-height: 1.7; }
.account-orbit { position: absolute; border: 1px solid rgba(37,216,244,.12); border-radius: 50%; pointer-events: none; }
.account-orbit::after { content: ""; position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 16px var(--cyan); }
.account-orbit-one { width: 360px; height: 360px; right: -170px; top: -120px; }
.account-orbit-one::after { left: 53px; bottom: 48px; }
.account-orbit-two { width: 240px; height: 240px; left: -100px; bottom: -100px; border-color: rgba(124,92,255,.17); }
.account-orbit-two::after { right: 27px; top: 28px; background: #9f83ff; box-shadow: 0 0 16px #9f83ff; }
.account-benefits { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.account-benefits li { display: flex; align-items: center; gap: 13px; padding: 13px 14px; border: 1px solid rgba(129,158,214,.12); border-radius: 9px; background: rgba(5,11,22,.38); }
.account-benefits i { width: 32px; height: 32px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid rgba(37,216,244,.26); border-radius: 8px; color: var(--cyan); font-size: 9px; font-style: normal; font-weight: 900; }
.account-benefits span { display: grid; gap: 3px; }
.account-benefits strong { font-size: 12px; }
.account-benefits small { color: var(--muted); font-size: 10px; }

.auth-card { position: relative; min-width: 0; display: grid; align-content: center; padding: 58px 54px; background: rgba(7,12,23,.72); }
.auth-stage { display: grid; gap: 18px; animation: viewIn .28s ease both; }
.auth-stage-head { margin-bottom: 5px; }
.auth-stage-head h2, .auth-member-head h2 { margin: 0; font-size: 28px; }
.auth-stage-head > p:last-child, .auth-member-head > div > p:last-child { margin: 9px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.auth-stage label { gap: 8px; }
.auth-stage label > span { color: #a5b1c8; font-size: 9px; }
.auth-stage input { height: 50px; border-radius: 9px; font-size: 14px; background: #070e1c; }
.auth-stage label > small { margin-top: -2px; color: #697995; font-size: 9px; }
.auth-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.auth-primary, .auth-secondary, .auth-back { border: 0; color: #fff; }
.auth-primary { min-height: 50px; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 3px; padding: 0 18px; border-radius: 9px; color: #041018; background: linear-gradient(100deg, var(--cyan), #69e8ff); font-size: 13px; font-weight: 900; box-shadow: 0 12px 28px rgba(37,216,244,.14); }
.auth-primary b { font-size: 21px; }
.auth-primary:hover { filter: brightness(1.08); }
.auth-primary:disabled, .auth-secondary:disabled { cursor: wait; opacity: .55; }
.auth-secondary { min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 8px; background: #111b2e; font-size: 11px; font-weight: 800; }
.auth-secondary:hover { border-color: rgba(37,216,244,.45); }
.auth-secondary.danger { color: #ff8ca7; border-color: rgba(255,62,130,.25); background: rgba(255,62,130,.07); }
.auth-back { width: fit-content; padding: 0; color: #8190ad; background: transparent; font-size: 10px; font-weight: 800; }
.auth-back:hover { color: var(--cyan); }
.auth-privacy { color: #697995; font-size: 9px; line-height: 1.5; text-align: center; }
.auth-loading { min-height: 220px; display: grid; place-items: center; align-content: center; gap: 14px; color: var(--muted); font-size: 11px; }
.auth-loading i { width: 32px; height: 32px; border: 3px solid rgba(37,216,244,.14); border-top-color: var(--cyan); border-radius: 50%; animation: spin .8s linear infinite; }
.auth-mail-icon { width: 62px; height: 62px; display: grid; place-items: center; margin: 2px auto 0; border: 1px solid rgba(37,216,244,.32); border-radius: 18px; color: var(--cyan); background: rgba(37,216,244,.08); box-shadow: 0 0 26px rgba(37,216,244,.1); font-size: 24px; }
.auth-code-head { text-align: center; }
.auth-code-head strong { color: #dce6f8; }
.auth-code-label input { height: 66px; color: var(--cyan); font-size: 30px; font-weight: 900; letter-spacing: 12px; text-align: center; }
.auth-message { margin: 18px 0 0; padding: 11px 13px; border: 1px solid rgba(255,83,104,.28); border-radius: 8px; color: #ff9aac; background: rgba(255,83,104,.08); font-size: 11px; line-height: 1.5; }
.auth-message.success { color: #76eab4; border-color: rgba(78,224,160,.28); background: rgba(78,224,160,.08); }
.auth-member { display: grid; gap: 18px; animation: viewIn .28s ease both; }
.account-layout.member-active { grid-template-columns: 1fr; }
.account-layout.member-active .account-intro { display: none; }
.account-layout.member-active .auth-card { min-height: 660px; padding: 58px 8%; }
.account-layout.member-active .auth-member { width: min(1120px, 100%); margin: 0 auto; }
.auth-member-head { position: relative; display: grid; grid-template-columns: 66px minmax(0, 1fr) auto; align-items: center; gap: 15px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.auth-avatar-editor { --profile-frame-auto-min-scale: 90; --profile-frame-auto-max-scale: 200; --profile-frame-hole-padding: 0.98; position: relative; width: 74px; height: 74px; display: grid; place-items: center; border-radius: 50%; }
.auth-avatar-editor::before { content: ""; position: absolute; inset: 1px; border: 2px solid rgba(37,216,244,.48); border-radius: 50%; box-shadow: 0 0 20px rgba(37,216,244,.16); pointer-events: none; }
.auth-avatar-editor > span, .auth-avatar-editor > img:not(.auth-avatar-frame-image) { position: relative; z-index: 1; width: 66px; height: 66px; display: grid; place-items: center; overflow: hidden; border: 3px solid #0c1526; border-radius: 50%; clip-path: circle(50% at 50% 50%); object-fit: cover; object-position: center; color: #061019; background: linear-gradient(145deg, var(--cyan), #79ecff); font-size: 19px; font-weight: 950; }
.auth-avatar-editor > .auth-avatar-frame-image { position: absolute; z-index: 2; top: calc(50% + var(--profile-frame-site-offset-y, 0%)); left: calc(50% + var(--profile-frame-site-offset-x, 0%)); width: var(--profile-frame-fit-scale, var(--profile-frame-scale, 138%)); height: var(--profile-frame-fit-scale, var(--profile-frame-scale, 138%)); max-width: none; border: 0; border-radius: 0; clip-path: none; object-fit: contain; transform: translate(var(--profile-frame-anchor-x, -50%), var(--profile-frame-anchor-y, -50%)); background: transparent; box-shadow: none; pointer-events: none; }
.auth-avatar-editor > label { position: absolute; z-index: 3; right: 0; bottom: 0; padding: 5px 6px; border: 2px solid #07101e; border-radius: 6px; color: #07101e; background: var(--cyan); font-size: 7px; font-weight: 950; text-transform: uppercase; cursor: pointer; }
.auth-avatar-editor > label:hover { filter: brightness(1.12); }
.auth-verified { padding: 6px 8px; border: 1px solid rgba(78,224,160,.28); border-radius: 6px; color: var(--green); background: rgba(78,224,160,.08); font-size: 8px; font-weight: 900; text-transform: uppercase; }
.member-dashboard { display: grid; grid-template-columns: 205px minmax(0, 1fr); align-items: start; gap: 22px; }
.member-sidebar { position: sticky; top: 96px; display: grid; gap: 7px; padding: 8px; border: 1px solid var(--line); border-radius: 11px; background: rgba(7,14,27,.78); }
.member-sidebar button { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 2px 9px; padding: 12px; border: 1px solid transparent; border-radius: 8px; color: #8f9bb3; background: transparent; text-align: left; }
.member-sidebar button > span { grid-row: 1 / span 2; align-self: center; color: #53627f; font-size: 9px; font-weight: 950; }
.member-sidebar button strong { color: #b9c4d8; font-size: 11px; }
.member-sidebar button small { overflow: hidden; color: #63708b; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.member-sidebar button:hover { border-color: rgba(37,216,244,.22); background: rgba(37,216,244,.04); }
.member-sidebar button.active { border-color: rgba(37,216,244,.36); background: linear-gradient(100deg, rgba(37,216,244,.12), rgba(124,92,255,.06)); box-shadow: inset 3px 0 var(--cyan); }
.member-sidebar button.active > span, .member-sidebar button.active strong { color: var(--cyan); }
.member-panels { min-width: 0; }
.member-panel { display: grid; gap: 18px; animation: viewIn .22s ease both; }
.member-panel-title { display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.member-panel-title p { margin: 0 0 4px; }
.member-panel-title h3 { margin: 0; font-size: 21px; }
.member-panel-title > small { max-width: 260px; color: var(--muted); font-size: 9px; text-align: right; }
.auth-member-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.auth-member-grid article { padding: 13px; border: 1px solid var(--line); border-radius: 8px; background: #0d1728; }
.auth-member-grid span { display: block; color: var(--muted); font-size: 7px; font-weight: 900; text-transform: uppercase; }
.auth-member-grid strong { display: block; margin-top: 6px; overflow: hidden; text-overflow: ellipsis; font-size: 13px; white-space: nowrap; }
.auth-profile-form { display: grid; gap: 13px; padding: 17px; border: 1px solid var(--line); border-radius: 10px; background: rgba(7,14,27,.72); }
.auth-profile-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.auth-profile-title strong { font-size: 13px; }
.auth-profile-title small { color: var(--muted); font-size: 9px; }
.auth-profile-form label { display: grid; gap: 7px; }
.auth-profile-form label > span { color: var(--muted); font-size: 8px; font-weight: 900; text-transform: uppercase; }
.auth-profile-form input,
.auth-profile-form textarea { padding: 0 12px; border: 1px solid var(--line); border-radius: 7px; outline: 0; color: #fff; background: #080e1b; }
.auth-profile-form input { height: 44px; }
.auth-profile-form textarea { min-height: 106px; padding-top: 12px; resize: vertical; line-height: 1.5; }
.auth-profile-form input:focus,
.auth-profile-form textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(37,216,244,.08); }
.auth-profile-switch { display: flex !important; grid-template-columns: none !important; align-items: center; gap: 10px !important; color: #b8c4d7; font-size: 11px; font-weight: 800; }
.auth-profile-switch input { width: 18px; height: 18px; padding: 0; accent-color: var(--cyan); }
.profile-upload-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.profile-upload-card {
  position: relative;
  min-height: 118px;
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 16px;
  overflow: hidden;
  border: 1px dashed rgba(37,216,244,.32);
  border-radius: 10px;
  color: #edf5ff;
  background:
    radial-gradient(circle at 100% 0, rgba(37,216,244,.1), transparent 34%),
    rgba(8,15,28,.72);
  cursor: pointer;
}
.profile-upload-card:hover {
  border-color: rgba(78,224,160,.5);
  box-shadow: 0 0 24px rgba(37,216,244,.1);
}
.profile-upload-card > span {
  color: var(--cyan);
  font-size: 8px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.profile-upload-card strong { font-size: 13px; }
.profile-upload-card small {
  color: #8796ad;
  font-size: 10px;
  line-height: 1.45;
}
.profile-upload-card input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.auth-profile-preview {
  overflow: hidden;
  border: 1px solid rgba(129,158,214,.2);
  border-radius: 12px;
  background: #080e1b;
  box-shadow: 0 16px 34px rgba(0,0,0,.2);
}
.auth-profile-preview-cover {
  position: relative;
  min-height: 190px;
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  align-items: end;
  gap: 14px;
  padding: 64px 20px 20px;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 10%, rgba(37,216,244,.18), transparent 34%),
    radial-gradient(circle at 16% 100%, rgba(255,101,59,.16), transparent 34%),
    linear-gradient(145deg, #111c31, #080e1b);
  background-position: center;
  background-size: cover;
  isolation: isolate;
}
.auth-profile-preview-cover::after {
  position: absolute;
  z-index: 0;
  inset: auto 0 0;
  height: 76%;
  background: linear-gradient(transparent, rgba(4,8,17,.88));
  content: '';
}
.auth-profile-preview-cover > * { position: relative; z-index: 1; }
.auth-profile-preview-cover.has-background { background-position: center; background-size: cover; }
.auth-profile-preview-label {
  position: absolute;
  top: 14px;
  left: 16px;
  padding: 5px 8px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  color: rgba(255,255,255,.78);
  background: rgba(5,10,20,.58);
  backdrop-filter: blur(8px);
  font-size: 8px;
  font-weight: 950;
  letter-spacing: .08em;
}
.auth-profile-preview-avatar {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 3px solid rgba(7,14,27,.94);
  border-radius: 50%;
  color: #07101c;
  background: linear-gradient(145deg, var(--cyan), #78ebff);
  box-shadow: 0 10px 26px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.18);
}
.auth-profile-preview-avatar img,
.auth-profile-preview-avatar b {
  width: 100%;
  height: 100%;
}
.auth-profile-preview-avatar img { object-fit: cover; }
.auth-profile-preview-avatar b { display: grid; place-items: center; font-size: 17px; font-weight: 950; }
.auth-profile-preview-copy { min-width: 0; display: grid; align-self: center; gap: 7px; }
.auth-profile-preview-copy strong {
  overflow: hidden;
  color: #fff;
  font-size: clamp(17px, 2.2vw, 23px);
  line-height: 1;
  text-overflow: ellipsis;
  text-shadow: 0 2px 12px rgba(0,0,0,.65);
  white-space: nowrap;
}
.auth-profile-preview-copy p {
  max-width: 620px;
  margin: 0;
  display: -webkit-box;
  overflow: hidden;
  color: #d4deed;
  font-size: 11px;
  line-height: 1.5;
  text-shadow: 0 1px 8px rgba(0,0,0,.75);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.auth-profile-preview-copy p.empty { color: #8f9bb0; font-style: italic; }
.auth-profile-bio-field > span { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.auth-profile-bio-field > span small { color: #68758c; font-size: 8px; font-weight: 800; letter-spacing: 0; }
.auth-profile-form .auth-primary { min-height: 44px; }
.tiktok-link-card { display: grid; gap: 16px; padding: 18px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 11px; background: linear-gradient(135deg, rgba(18,18,29,.96), rgba(7,12,23,.98)); }
.tiktok-link-head { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.tiktok-mark { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(37,244,238,.32); border-radius: 11px; color: #fff; background: #090a0f; box-shadow: -3px 0 #25f4ee, 3px 0 #fe2c55; font-size: 22px; font-weight: 900; }
.tiktok-link-head > div { min-width: 0; display: grid; gap: 4px; }
.tiktok-link-head strong { font-size: 14px; }
.tiktok-link-head small { color: var(--muted); font-size: 9px; line-height: 1.45; }
.tiktok-link-badge { padding: 6px 8px; border: 1px solid rgba(255,255,255,.14); border-radius: 6px; color: #a3aec3; background: rgba(255,255,255,.04); font-size: 8px; font-weight: 900; text-transform: uppercase; }
.tiktok-link-badge.linked { color: #75ecb6; border-color: rgba(78,224,160,.3); background: rgba(78,224,160,.08); }
.tiktok-protection-inline-note { display: flex; align-items: center; gap: 11px; padding: 11px 13px; border: 1px solid rgba(78,224,160,.2); border-radius: 9px; color: #dffbef; background: linear-gradient(100deg, rgba(78,224,160,.09), rgba(37,244,238,.04)); }
.tiktok-protection-inline-note > span { width: 28px; height: 28px; display: grid; flex: 0 0 auto; place-items: center; border: 1px solid rgba(78,224,160,.35); border-radius: 50%; color: #75ecb6; background: rgba(78,224,160,.08); font-size: 12px; font-weight: 900; }
.tiktok-protection-inline-note > div { min-width: 0; display: grid; gap: 3px; }
.tiktok-protection-inline-note strong { font-size: 10px; }
.tiktok-protection-inline-note small { color: #8fb7a7; font-size: 8px; line-height: 1.45; }
.tiktok-unlinked { display: grid; gap: 17px; padding-top: 15px; border-top: 1px solid rgba(255,255,255,.08); }
.tiktok-unlinked-copy { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.tiktok-unlinked p { margin: 0; color: #8e9ab1; font-size: 10px; line-height: 1.6; }
.tiktok-button { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 15px; border: 0; border-radius: 8px; color: #fff; background: linear-gradient(100deg, #161822, #252938); box-shadow: -2px 0 #25f4ee, 2px 0 #fe2c55; font-size: 11px; font-weight: 900; text-decoration: none; }
.tiktok-button:hover { filter: brightness(1.15); }
.tiktok-button:disabled { cursor: wait; opacity: .55; }
.tiktok-button b { color: #25f4ee; font-size: 9px; letter-spacing: .08em; }
.tiktok-profile-form { display: grid; gap: 7px; }
.tiktok-profile-form label { color: var(--muted); font-size: 8px; font-weight: 900; text-transform: uppercase; }
.tiktok-profile-form > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.tiktok-profile-form input { min-width: 0; height: 44px; padding: 0 13px; border: 1px solid var(--line); border-radius: 8px; outline: 0; color: #fff; background: #080e1b; }
.tiktok-profile-form input:focus { border-color: #25f4ee; box-shadow: 0 0 0 3px rgba(37,244,238,.08); }
.tiktok-proof-stage { grid-template-columns: minmax(190px, .7fr) minmax(0, 1.3fr); align-items: center; gap: 22px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.08); }
.tiktok-proof-stage:not([hidden]) { display: grid; }
.tiktok-proof-code { display: grid; gap: 8px; padding: 20px; border: 1px dashed rgba(37,244,238,.4); border-radius: 10px; background: rgba(37,244,238,.05); text-align: center; }
.tiktok-proof-code small { color: #25f4ee; font-size: 7px; font-weight: 900; letter-spacing: .12em; }
.tiktok-proof-code strong { color: #fff; font-size: 18px; letter-spacing: .08em; user-select: all; }
.tiktok-proof-copy { display: grid; gap: 8px; }
.tiktok-proof-copy > strong { font-size: 15px; }
.tiktok-proof-copy p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.55; }
.tiktok-proof-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 7px; }
.tiktok-proof-actions .auth-secondary { display: inline-flex; align-items: center; text-decoration: none; }
.tiktok-linked-list { gap: 9px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.08); }
.tiktok-linked-list:not([hidden]) { display: grid; }
.tiktok-linked-empty { margin: 0; padding: 14px; border: 1px dashed rgba(129,158,214,.18); border-radius: 8px; color: var(--muted); font-size: 10px; text-align: center; }
.tiktok-linked { grid-template-columns: 54px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 12px; border: 1px solid rgba(129,158,214,.14); border-radius: 10px; background: rgba(7,14,27,.66); }
.tiktok-linked:not([hidden]) { display: grid; }
.tiktok-linked > img, .tiktok-linked-fallback, .tiktok-linked-avatar-shell > img { width: 54px; height: 54px; display: grid; place-items: center; border: 2px solid #151927; border-radius: 50%; object-fit: cover; color: #fff; background: #090a0f; box-shadow: -2px 0 #25f4ee, 2px 0 #fe2c55; font-size: 22px; }
.tiktok-linked > div { min-width: 0; display: grid; gap: 3px; }
.tiktok-linked > div small { color: #25f4ee; font-size: 7px; font-weight: 900; letter-spacing: .1em; }
.tiktok-linked > div strong { overflow: hidden; text-overflow: ellipsis; font-size: 15px; white-space: nowrap; }
.tiktok-linked > div p { margin: 0; color: var(--muted); font-size: 9px; }
.tiktok-linked > div .tiktok-linked-shared { color: #e9f3ff; font-weight: 800; }
.tiktok-linked-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 7px; }
.tiktok-linked-actions .auth-secondary { min-height: 34px; margin: 0; padding: 0 10px; font-size: 9px; }
.tiktok-linked-actions em { padding: 7px 9px; border: 1px solid rgba(78,224,160,.28); border-radius: 7px; color: #75ecb6; background: rgba(78,224,160,.08); font-size: 8px; font-style: normal; font-weight: 900; text-transform: uppercase; }
.protected-accounts-card[hidden] { display: none !important; }
.protected-accounts-card { display: grid; gap: 16px; padding: 18px; border: 1px solid var(--line); border-radius: 11px; background: rgba(7,14,27,.74); }
.protected-accounts-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.protected-accounts-head > div { display: grid; gap: 4px; }
.protected-accounts-head strong { font-size: 14px; }
.protected-accounts-head small { color: var(--muted); font-size: 9px; line-height: 1.45; }
.protected-accounts-head > span { flex: 0 0 auto; padding: 6px 9px; border: 1px solid rgba(37,216,244,.28); border-radius: 6px; color: var(--cyan); background: rgba(37,216,244,.07); font-size: 9px; font-weight: 900; }
.protected-account-form { display: grid; gap: 7px; }
.protected-account-form label { color: var(--muted); font-size: 8px; font-weight: 900; text-transform: uppercase; }
.protected-account-form > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.protected-account-form input { min-width: 0; height: 44px; padding: 0 13px; border: 1px solid var(--line); border-radius: 8px; outline: 0; color: #fff; background: #080e1b; }
.protected-account-form input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(37,216,244,.08); }
.protected-account-form .auth-primary { min-width: 190px; min-height: 44px; margin: 0; }
.protected-proof-stage { display: grid; grid-template-columns: minmax(210px, .8fr) minmax(280px, 1.2fr); gap: 16px; padding: 15px; border: 1px solid rgba(37,216,244,.26); border-radius: 10px; background: rgba(37,216,244,.035); }
.protected-proof-stage[hidden] { display: none; }
.protected-proof-profile { display: grid; grid-template-columns: 52px minmax(0, 1fr); align-items: center; gap: 12px; padding: 12px; border: 1px solid rgba(129,158,214,.16); border-radius: 9px; background: #0d1728; }
.protected-proof-profile > img, .protected-proof-profile > span { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.protected-proof-profile > span { display: grid; place-items: center; color: #fff; background: #090a0f; box-shadow: -2px 0 #25f4ee, 2px 0 #fe2c55; font-size: 20px; }
.protected-proof-profile > div { min-width: 0; display: grid; gap: 3px; }
.protected-proof-profile small { color: var(--cyan); font-size: 7px; font-weight: 900; letter-spacing: .12em; }
.protected-proof-profile strong, .protected-proof-profile p { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.protected-proof-profile strong { font-size: 14px; }
.protected-proof-profile p { margin: 0; color: var(--muted); font-size: 10px; }
.protected-proof-instructions { display: grid; gap: 10px; }
.protected-proof-instructions > div:first-child { display: grid; gap: 4px; }
.protected-proof-instructions strong { font-size: 12px; }
.protected-proof-instructions small { color: var(--muted); font-size: 9px; line-height: 1.45; }
.protected-proof-instructions code { padding: 11px 13px; border: 1px dashed rgba(37,216,244,.42); border-radius: 8px; color: #fff; background: #08111f; font-size: 15px; font-weight: 900; letter-spacing: .06em; text-align: center; }
.protected-proof-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.protected-proof-actions .auth-secondary, .protected-proof-actions .tiktok-button { min-height: 38px; margin: 0; }
.protected-proof-actions a.auth-secondary { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.protected-accounts-list { display: grid; gap: 7px; }
.protected-account-row { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 11px; padding: 10px 12px; border: 1px solid rgba(129,158,214,.14); border-radius: 8px; background: #0d1728; }
.protected-account-avatar { width: 36px; height: 36px; display: grid; place-items: center; overflow: hidden; border-radius: 50%; clip-path: circle(50% at 50% 50%); object-fit: cover; object-position: center; color: #fff; background: #090a0f; box-shadow: -2px 0 #25f4ee, 2px 0 #fe2c55; font-size: 16px; font-style: normal; }
.protected-account-row > span { min-width: 0; display: grid; gap: 3px; }
.protected-account-row strong { overflow: hidden; text-overflow: ellipsis; font-size: 12px; white-space: nowrap; }
.protected-account-row .protected-account-handle { color: var(--muted); font-size: 9px; font-weight: 700; }
.protected-account-row small { color: #76eab4; font-size: 8px; font-weight: 800; }
.protected-account-row button { min-height: 34px; }
.protected-accounts-empty { margin: 0; padding: 16px; border: 1px dashed rgba(129,158,214,.2); border-radius: 8px; color: var(--muted); font-size: 10px; text-align: center; }
.protected-accounts-note { margin: 0; color: #697995; font-size: 9px; line-height: 1.55; }
.cosmetic-current-card { display: grid; grid-template-columns: minmax(180px, .55fr) minmax(300px, 1.45fr); align-items: center; gap: 22px; padding: 20px; overflow: hidden; border: 1px solid rgba(37,216,244,.22); border-radius: 11px; background: radial-gradient(circle at 80% 30%, rgba(124,92,255,.14), transparent 35%), linear-gradient(135deg, rgba(37,216,244,.07), rgba(7,14,27,.88)); }
.cosmetic-current-copy { display: grid; gap: 6px; }
.cosmetic-current-copy > span { color: var(--cyan); font-size: 7px; font-weight: 950; letter-spacing: .14em; }
.cosmetic-current-copy > strong { font-size: 17px; }
.cosmetic-current-copy p { margin: 0; color: var(--muted); font-size: 10px; }
.cosmetic-current-copy b { color: #fff; }
.cosmetic-live-preview { display: grid; grid-template-columns: 74px minmax(0, 1fr); align-items: center; gap: 16px; }
.cosmetic-avatar-frame { --profile-frame-auto-min-scale: 90; --profile-frame-auto-max-scale: 190; --profile-frame-hole-padding: 0.96; position: relative; width: 70px; height: 70px; display: grid; place-items: center; border-radius: 50%; }
.cosmetic-avatar-frame::before, .cosmetic-mini-frame::before { content: ""; position: absolute; inset: 0; border: 3px solid rgba(37,216,244,.55); border-radius: inherit; box-shadow: 0 0 18px rgba(37,216,244,.18); }
.cosmetic-avatar-frame > img:not(.cosmetic-frame-image), .cosmetic-avatar-frame > span { position: relative; z-index: 1; width: 60px; height: 60px; display: grid; place-items: center; overflow: hidden; border: 3px solid #091221; border-radius: 50%; clip-path: circle(50% at 50% 50%); object-fit: cover; object-position: center; color: #061019; background: linear-gradient(145deg, var(--cyan), #79ecff); font-size: 18px; font-weight: 950; }
.cosmetic-avatar-frame > .cosmetic-frame-image { position: absolute; z-index: 2; top: calc(50% + var(--profile-frame-site-offset-y, 0%)); left: calc(50% + var(--profile-frame-site-offset-x, 0%)); width: var(--profile-frame-fit-scale, var(--profile-frame-scale, 138%)); height: var(--profile-frame-fit-scale, var(--profile-frame-scale, 138%)); max-width: none; border: 0; border-radius: 0; clip-path: none; object-fit: contain; transform: translate(var(--profile-frame-anchor-x, -50%), var(--profile-frame-anchor-y, -50%)); background: transparent; box-shadow: none; pointer-events: none; }
.cosmetic-bubble-preview { position: relative; display: grid; gap: 3px; padding: 13px 16px; border: 1px solid rgba(37,216,244,.3); border-radius: 14px 14px 14px 4px; background: linear-gradient(135deg, #12223a, #0b1728); box-shadow: 0 10px 25px rgba(0,0,0,.2); }
.cosmetic-bubble-preview::before, .cosmetic-mini-bubble::before { content: ""; position: absolute; left: 10px; bottom: -6px; width: 12px; height: 12px; border-left: inherit; border-bottom: inherit; background: inherit; transform: rotate(-45deg); }
.cosmetic-bubble-preview strong { font-size: 11px; }
.cosmetic-bubble-preview span { color: #aebbd0; font-size: 9px; }
.cosmetic-section { display: grid; gap: 13px; padding: 17px; border: 1px solid var(--line); border-radius: 11px; background: rgba(7,14,27,.72); }
.cosmetic-section-head { display: flex; align-items: end; justify-content: space-between; gap: 14px; }
.cosmetic-section-head > div { display: grid; gap: 4px; }
.cosmetic-section-head strong { font-size: 14px; }
.cosmetic-section-head small { color: var(--muted); font-size: 9px; }
.cosmetic-section-head > span { color: var(--cyan); font-size: 9px; font-weight: 900; }
.cosmetic-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.cosmetic-card { position: relative; min-width: 0; display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: center; gap: 12px; padding: 13px; overflow: hidden; border: 1px solid rgba(129,158,214,.16); border-radius: 9px; color: #fff; background: #0d1728; text-align: left; }
.cosmetic-card:hover:not(:disabled) { border-color: rgba(37,216,244,.4); transform: translateY(-1px); }
.cosmetic-card.active { border-color: rgba(78,224,160,.42); background: linear-gradient(120deg, rgba(78,224,160,.09), #0d1728 70%); box-shadow: inset 3px 0 #4ee0a0; }
.cosmetic-card.locked { cursor: not-allowed; filter: grayscale(.5); opacity: .55; }
.cosmetic-card.top-rank-exclusive { border-color: rgba(255,205,73,.55); background: linear-gradient(120deg, rgba(255,183,38,.14), #0d1728 72%); box-shadow: inset 3px 0 #ffd45c; }
.cosmetic-card.top-rank-exclusive.locked { filter: none; opacity: .78; }
.cosmetic-card.top-rank-exclusive .cosmetic-card-copy em,
.cosmetic-card.top-rank-exclusive .cosmetic-card-copy span { color: #ffd45c; }
.cosmetic-card-preview { width: 54px; height: 54px; display: grid; place-items: center; }
.cosmetic-mini-frame { --profile-frame-auto-min-scale: 90; --profile-frame-auto-max-scale: 220; --profile-frame-hole-padding: 0.98; position: relative; width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; }
.cosmetic-mini-frame > span { position: relative; z-index: 1; width: 40px; height: 40px; display: grid; place-items: center; overflow: hidden; border: 2px solid #091221; border-radius: 50%; clip-path: circle(50% at 50% 50%); color: #061019; background: var(--cyan); font-size: 10px; font-weight: 950; }
.cosmetic-mini-frame > span.shop-frame-preview-avatar { background-position: center; background-size: cover; color: transparent; }
.cosmetic-mini-frame > img { position: absolute; z-index: 2; top: calc(50% + var(--profile-frame-site-offset-y, 0%)); left: calc(50% + var(--profile-frame-site-offset-x, 0%)); width: var(--profile-frame-fit-scale, var(--profile-frame-scale, 138%)); height: var(--profile-frame-fit-scale, var(--profile-frame-scale, 138%)); max-width: none; object-fit: contain; transform: translate(var(--profile-frame-anchor-x, -50%), var(--profile-frame-anchor-y, -50%)); pointer-events: none; }
.cosmetic-mini-bubble { position: relative; width: 50px; min-height: 30px; border: 1px solid rgba(37,216,244,.3); border-radius: 10px 10px 10px 3px; background: linear-gradient(135deg, #12223a, #0b1728); }
.cosmetic-mini-notification { --notification-aspect: 2.3337; --notification-avatar-left: 18.5%; --notification-avatar-top: 50%; --notification-avatar-size: 28%; --notification-copy-left: 39%; --notification-copy-top: 38%; --notification-copy-width: 55%; position: relative; width: 54px; aspect-ratio: var(--notification-aspect); display: block; overflow: visible; border-radius: 4px; background: linear-gradient(135deg, #07101f, #101a2d); }
.cosmetic-mini-notification-avatar { position: absolute; z-index: 1; left: var(--notification-avatar-left); top: var(--notification-avatar-top); width: var(--notification-avatar-size); aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; color: #061019; background: var(--cyan); background-position: center; background-size: cover; font-size: 7px; font-weight: 950; transform: translate(-50%, -50%); }
.cosmetic-mini-notification-avatar.has-image { color: transparent; }
.cosmetic-mini-notification-copy { position: absolute; z-index: 1; left: var(--notification-copy-left); top: var(--notification-copy-top); width: var(--notification-copy-width); display: grid; gap: 1px; color: #fff; text-align: left; transform: translateY(-20%); }
.cosmetic-mini-notification-copy strong, .cosmetic-mini-notification-copy small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cosmetic-mini-notification-copy strong { font-size: 6px; font-weight: 950; }
.cosmetic-mini-notification-copy small { color: rgba(226,239,255,.82); font-size: 4px; font-weight: 800; }
.cosmetic-mini-notification-frame { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; object-fit: fill; pointer-events: none; }
.cosmetic-card-copy { min-width: 0; display: grid; gap: 4px; }
.cosmetic-card-copy strong { overflow: hidden; text-overflow: ellipsis; font-size: 11px; white-space: nowrap; }
.cosmetic-card-copy p { margin: 0; color: var(--muted); font-size: 8px; line-height: 1.4; }
.cosmetic-card-copy em { color: var(--cyan); font-size: 7px; font-style: normal; font-weight: 950; letter-spacing: .04em; }
.cosmetic-card-copy span { width: fit-content; color: #9aa8c0; font-size: 7px; font-weight: 900; text-transform: uppercase; }
.cosmetic-card.active .cosmetic-card-copy span { color: #76eab4; }
.cosmetic-card.locked .cosmetic-card-copy span { color: #ff9bad; }
.shop-wallet { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 18px; border: 1px solid rgba(255,184,76,.32); border-radius: 12px; background: radial-gradient(circle at 15% 20%, rgba(255,184,76,.16), transparent 34%), linear-gradient(120deg, #111a2a, #0a1220); box-shadow: 0 16px 36px rgba(0,0,0,.18); }
.shop-token-mark { width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid rgba(255,195,87,.45); border-radius: 17px; color: #281900; background: linear-gradient(145deg, #ffe080, #ff9d37); box-shadow: 0 9px 24px rgba(255,151,54,.22); font-size: 25px; }
.shop-wallet > div:nth-child(2) { min-width: 0; display: grid; gap: 3px; }
.shop-wallet span { color: #ffc35d; font-size: 8px; font-weight: 950; letter-spacing: .12em; }
.shop-wallet strong { font-size: clamp(20px, 3vw, 30px); }
.shop-wallet strong b { color: #ffd271; }
.shop-wallet small { overflow: hidden; color: var(--muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.shop-active-boost { display: grid; gap: 5px; padding: 13px 16px; border: 1px solid rgba(75,227,167,.34); border-radius: 12px; color: #dffff3; background: radial-gradient(circle at 8% 20%, rgba(43,222,156,.18), transparent 36%), linear-gradient(135deg, rgba(8,43,42,.94), rgba(7,22,38,.95)); box-shadow: inset 0 1px rgba(255,255,255,.04), 0 12px 30px rgba(0,0,0,.15); }
.shop-active-boost[hidden] { display: none !important; }
.shop-active-boost strong { font-size: 13px; font-weight: 950; letter-spacing: .03em; text-transform: uppercase; }
.shop-active-boost span { color: #9dddc9; font-size: 9px; font-weight: 800; line-height: 1.45; }
.shop-page { width: min(1180px, calc(100vw - 32px)); margin: 16px auto 0; display: grid; gap: 16px; }
.shop-page-heading .shop-symbol { color: #291800; background: linear-gradient(145deg, #ffe080, #ff7a3d); box-shadow: 0 18px 52px rgba(255,135,53,.22); }
.shop-catalog-section { position: relative; overflow: hidden; padding: clamp(16px, 2.4vw, 24px); border: 1px solid rgba(129,158,214,.16); border-radius: 15px; background: radial-gradient(circle at 12% 0%, rgba(255,184,76,.13), transparent 34%), radial-gradient(circle at 88% 8%, rgba(37,216,244,.1), transparent 30%), linear-gradient(145deg, rgba(13,23,40,.9), rgba(7,14,27,.86)); box-shadow: 0 18px 50px rgba(0,0,0,.18); }
.shop-catalog-section::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(120deg, transparent, rgba(255,255,255,.035), transparent); opacity: .7; }
.shop-catalog-section > * { position: relative; z-index: 1; }
.shop-catalog-section .shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 16px); }
.shop-catalog-section .shop-item { grid-template-columns: 1fr; justify-items: center; min-height: 245px; padding: clamp(18px, 2.2vw, 26px); text-align: center; border-radius: 16px; background: radial-gradient(circle at 50% 0%, rgba(255,184,76,.12), transparent 36%), linear-gradient(145deg, #0f1a2c, #08111f); }
.shop-catalog-section .shop-item:hover { border-color: rgba(255,184,76,.42); box-shadow: 0 18px 42px rgba(0,0,0,.24), 0 0 34px rgba(255,127,57,.09); transform: translateY(-3px); }
.shop-catalog-section .shop-item-preview { width: 82px; height: 82px; }
.shop-catalog-section .shop-boost-preview { width: 80px; height: 80px; border-radius: 24px; }
.shop-catalog-section .shop-boost-preview strong { font-size: 15px; }
.shop-catalog-section .shop-boost-preview small { margin-top: -14px; font-size: 18px; }
.shop-catalog-section .shop-item-copy { justify-items: center; gap: 7px; }
.shop-catalog-section .shop-item-copy > span { font-size: 8px; }
.shop-catalog-section .shop-item-copy strong { max-width: 100%; font-size: clamp(15px, 1.6vw, 20px); }
.shop-catalog-section .shop-item-copy p { max-width: 25ch; font-size: 10px; }
.shop-catalog-section .shop-item > button { width: min(100%, 190px); min-height: 46px; }
.shop-catalog-section .shop-item.web-exclusive { padding-top: 14px; }
.shop-catalog-section .shop-item.web-exclusive .shop-item-preview {
  width: 100%;
  height: 190px;
  overflow: visible;
  border: 0;
  background: transparent;
}
.shop-catalog-section .shop-item.web-exclusive .cosmetic-mini-frame {
  width: 160px;
  height: 160px;
}
.shop-catalog-section .shop-item.web-exclusive .cosmetic-mini-frame > span {
  width: 104px;
  height: 104px;
  color: #fff;
  background: #000;
  font-size: 18px;
}
.shop-catalog-section .shop-item.web-exclusive .cosmetic-mini-frame > span.shop-frame-preview-avatar {
  background-color: #000;
  background-position: center;
  background-size: cover;
  color: transparent;
}
.shop-catalog-section .shop-item.web-exclusive .cosmetic-mini-frame > img {
  top: calc(50% + var(--profile-frame-site-offset-y, 0%));
  left: calc(50% + var(--profile-frame-site-offset-x, 0%));
  width: var(--profile-frame-fit-scale, var(--profile-frame-scale, 138%));
  height: var(--profile-frame-fit-scale, var(--profile-frame-scale, 138%));
}
.shop-catalog-section .shop-item.notification-frame .shop-item-preview,
.shop-catalog-section .shop-item.bundle-item .shop-item-preview {
  width: 100%;
  height: 150px;
}
.shop-catalog-section .shop-item.notification-frame .cosmetic-mini-notification {
  width: min(100%, 260px);
}
.shop-bundle-preview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; width: min(100%, 210px); }
.shop-bundle-preview span { min-height: 62px; display: grid; place-items: end center; padding: 8px; overflow: hidden; border: 1px solid rgba(255,195,87,.28); border-radius: 12px; color: #fff; background: linear-gradient(145deg, #0c1628, #15233a); background-position: center; background-size: cover; box-shadow: inset 0 -28px 42px rgba(0,0,0,.42); font-size: 8px; font-weight: 950; letter-spacing: .08em; }
.shop-collection-groups { display: grid; gap: 18px; }
.shop-collection-group {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(129,158,214,.14);
  border-radius: 14px;
  background: rgba(3,8,16,.36);
}
.shop-collection-group > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 2px 8px;
  border-bottom: 1px solid rgba(129,158,214,.12);
}
.shop-collection-group > header strong { font-size: 13px; }
.shop-collection-group > header span { color: #ffc35d; font-size: 9px; font-weight: 900; }
.shop-collection-group .shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 16px); }
.shop-open-store { width: fit-content; text-decoration: none; }
.shop-rules { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 145px), 1fr)); gap: 8px; }
.shop-rules article { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 8px; min-height: 58px; padding: 11px; border: 1px solid var(--line); border-radius: 9px; background: #0d1728; }
.shop-rules span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; color: #2c1a00; background: linear-gradient(145deg, #ffe080, #ffae45); font-size: 10px; font-weight: 950; }
.shop-rules strong { font-size: 9px; line-height: 1.35; }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 9px; }
.shop-item { min-width: 0; display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; align-items: center; gap: 11px; min-height: 92px; padding: 13px; border: 1px solid rgba(129,158,214,.16); border-radius: 10px; background: linear-gradient(135deg, #0d1728, #0a1322); }
.shop-item.owned { border-color: rgba(78,224,160,.25); }
.shop-item.equipped { border-color: rgba(37,216,244,.42); box-shadow: inset 3px 0 var(--cyan); }
.shop-item-preview { width: 56px; height: 56px; display: grid; place-items: center; }
.shop-item-copy { min-width: 0; display: grid; gap: 3px; }
.shop-item-copy > span { color: #ffc35d; font-size: 7px; font-weight: 950; letter-spacing: .08em; }
.shop-item-copy strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.shop-item-copy p { margin: 0; color: var(--muted); font-size: 8px; line-height: 1.4; }
.shop-item > button { min-width: 92px; min-height: 42px; justify-content: center; }
.shop-boost-preview { width: 54px; height: 54px; display: grid; place-items: center; gap: 0; border: 1px solid rgba(255,195,87,.45); border-radius: 18px; color: #2b1800; background: radial-gradient(circle at 30% 20%, #fff1a6, transparent 36%), linear-gradient(145deg, #ffc95f, #ff6b3d); box-shadow: 0 10px 28px rgba(255,126,61,.22); }
.shop-boost-preview strong { font-size: 11px; font-weight: 950; letter-spacing: .04em; }
.shop-boost-preview small { margin-top: -11px; font-size: 13px; font-weight: 950; }
.shop-history-section { display: grid; gap: 12px; padding: 17px; border: 1px solid var(--line); border-radius: 11px; background: rgba(7,14,27,.72); }
.shop-history { display: grid; gap: 7px; color: var(--muted); font-size: 9px; }
.shop-history article { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid rgba(129,158,214,.13); border-radius: 8px; background: #0d1728; }
.shop-history article > strong { font-size: 13px; }
.shop-history article > strong.earned { color: #69e6ad; }
.shop-history article > strong.spent { color: #ff9b70; }
.shop-history article > div { min-width: 0; display: grid; gap: 2px; }
.shop-history b { overflow: hidden; color: #d8e1ef; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.shop-history small { color: var(--muted); font-size: 8px; }
@media (max-width: 980px) {
  .shop-catalog-section .shop-grid, .shop-collection-group .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .shop-page { width: min(100% - 20px, 1180px); }
  .shop-catalog-section .shop-grid, .shop-collection-group .shop-grid { grid-template-columns: 1fr; }
  .shop-catalog-section .shop-item { min-height: 220px; }
  .shop-catalog-section .shop-item.web-exclusive .shop-item-preview { height: 170px; }
  .shop-catalog-section .shop-item.web-exclusive .cosmetic-mini-frame { width: 145px; height: 145px; }
  .replay-profile-avatar-shell { width: 3rem; height: 3rem; }
}
[data-frame-style="bronze"]::before { border-color: #c17b46; background: linear-gradient(145deg, rgba(255,184,102,.22), transparent); box-shadow: 0 0 18px rgba(193,123,70,.3); }
[data-frame-style="neon"]::before { border-color: #62f5ff; background: linear-gradient(145deg, rgba(37,216,244,.18), rgba(157,91,255,.2)); box-shadow: -3px 0 13px rgba(37,216,244,.45), 3px 0 13px rgba(157,91,255,.45); }
[data-frame-style="royal"]::before { border-color: #ffd561; background: linear-gradient(145deg, rgba(255,213,97,.26), rgba(255,119,54,.1)); box-shadow: 0 0 20px rgba(255,196,61,.38); }
[data-frame-style="star"]::before { border-color: #ff71bf; background: conic-gradient(from 45deg, rgba(255,113,191,.28), rgba(124,92,255,.25), rgba(37,216,244,.22), rgba(255,113,191,.28)); box-shadow: 0 0 22px rgba(255,113,191,.32); }
[data-frame-style="moderator"]::before { border-color: #4ee0a0; background: linear-gradient(145deg, rgba(78,224,160,.22), rgba(37,216,244,.12)); box-shadow: 0 0 20px rgba(78,224,160,.35); }
[data-frame-style="image"]::before { border-color: transparent; background: transparent; box-shadow: none; }
[data-bubble-style="ocean"] { border-color: rgba(37,216,244,.48); background: linear-gradient(135deg, #07334a, #0b2036); }
[data-bubble-style="violet"] { border-color: rgba(172,116,255,.5); background: linear-gradient(135deg, #33205d, #171933); }
[data-bubble-style="gold"] { border-color: rgba(255,213,97,.48); background: linear-gradient(135deg, #4b3714, #211d18); }
[data-bubble-style="star"] { border-color: rgba(255,113,191,.5); background: linear-gradient(135deg, #4b1743, #20204a); box-shadow: 0 0 18px rgba(255,113,191,.16); }
[data-bubble-style="moderator"] { border-color: rgba(78,224,160,.5); background: linear-gradient(135deg, #0b3d31, #102939); }
.member-security-grid { display: grid; gap: 9px; }
.member-security-grid article { display: grid; gap: 5px; padding: 16px; border: 1px solid var(--line); border-radius: 9px; background: #0d1728; }
.member-security-grid span { color: var(--cyan); font-size: 8px; font-weight: 900; text-transform: uppercase; }
.member-security-grid strong { font-size: 13px; }
.member-security-grid small { color: var(--muted); font-size: 9px; line-height: 1.5; }
.auth-member-note { margin: 0; color: #697995; font-size: 9px; line-height: 1.55; }
.auth-verified.superadmin { border-color: rgba(181,140,255,.45); color: #d2b8ff; background: rgba(181,140,255,.1); }
.team-admin-summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #0b1424;
}
.team-admin-summary strong { color: var(--cyan); font-size: 24px; }
.team-admin-summary span { color: var(--muted); font-size: 10px; }
.team-admin-summary button { min-height: 36px; }
.team-admin-list { display: grid; gap: 10px; }
.team-admin-card { display: grid; gap: 9px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #0a1220; }
.team-admin-card-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-bottom: 9px; border-bottom: 1px solid var(--line); }
.team-admin-card-head > div { min-width: 0; display: grid; gap: 3px; }
.team-admin-card-head strong, .team-admin-card-head small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.team-admin-card-head strong { font-size: 13px; }
.team-admin-card-head small { color: var(--muted); font-size: 9px; }
.team-admin-card-head > span { padding: 5px 8px; border: 1px solid rgba(53,215,242,.25); border-radius: 999px; color: var(--cyan); font-size: 8px; font-weight: 900; text-transform: uppercase; }
.permission-control { grid-template-columns: 34px minmax(0, 1fr); align-items: center; gap: 10px; padding: 9px 10px; border: 1px solid rgba(151,173,219,.12); border-radius: 9px; background: rgba(255,255,255,.018); cursor: pointer; }
.permission-control input { width: 18px; height: 18px; margin: 0; accent-color: var(--cyan); }
.permission-control > span { display: grid; gap: 2px; }
.permission-control strong { color: #edf3ff; font-size: 11px; text-transform: none; }
.permission-control small { color: var(--muted); font-size: 9px; line-height: 1.4; }
.team-admin-card-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 3px; }
.team-admin-card-actions button { min-height: 38px; }

.admin-permission-group-form {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(150px, .45fr);
  gap: 12px;
}

.admin-permission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.admin-permission-group-form footer {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-permission-groups-list,
.admin-permission-candidates-list {
  display: grid;
  gap: 10px;
}

.admin-permission-group-card {
  display: grid;
  gap: 11px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(7, 12, 26, .58);
}

.admin-permission-group-card header,
.admin-permission-assignment {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.admin-permission-group-card header > div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.admin-permission-group-card strong,
.admin-permission-group-card small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-permission-group-card header > span {
  padding: 6px 9px;
  border: 1px solid rgba(37, 216, 244, .28);
  border-radius: 999px;
  color: var(--cyan);
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-permission-group-summary {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.admin-permission-assignment {
  padding: 10px;
  border: 1px solid rgba(148, 163, 184, .12);
  border-radius: 8px;
  background: rgba(2, 6, 23, .28);
}

.admin-permission-assignment label {
  min-height: 0;
}

.admin-permission-assignment small {
  color: var(--muted);
  font-size: 10px;
}

.site-footer {
  width: min(1320px, calc(100% - 40px));
  margin: 0 auto 28px;
  padding: 22px;
  display: grid;
  grid-template-columns: minmax(220px, .85fr) minmax(0, 1.65fr);
  gap: 22px;
  border: 1px solid rgba(118, 211, 255, .18);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(8, 16, 28, .94), rgba(5, 11, 21, .86));
  box-shadow: 0 18px 48px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .04);
  color: var(--muted);
}
.site-footer-brand { display: grid; gap: 14px; align-content: start; }
.site-footer-logo { display: inline-flex; align-items: center; gap: 10px; color: #f8fbff; text-decoration: none; width: fit-content; }
.site-footer-logo img { width: 40px; height: 40px; object-fit: contain; }
.site-footer-logo span { display: grid; gap: 2px; line-height: 1.05; }
.site-footer-logo strong { font-size: 17px; letter-spacing: .04em; }
.site-footer-logo small { font-size: 11px; color: var(--muted); }
.site-footer-brand p { margin: 0; max-width: 320px; font-size: 13px; line-height: 1.55; }
.site-footer-status { display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 7px 10px; border-radius: 999px; border: 1px solid rgba(48, 245, 178, .2); background: rgba(48, 245, 178, .08); color: #bdf7df; font-size: 12px; }
.site-footer-status i { width: 8px; height: 8px; border-radius: 50%; background: #30f5b2; box-shadow: 0 0 14px rgba(48, 245, 178, .75); }
.site-footer-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.site-footer-nav div { display: grid; align-content: start; gap: 8px; min-width: 0; }
.site-footer-nav strong { color: #f7fbff; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.site-footer-nav a { color: var(--muted); font-size: 12px; line-height: 1.2; text-decoration: none; transition: color .18s ease, transform .18s ease; }
.site-footer-nav a:hover { color: var(--cyan); transform: translateX(2px); }
.site-footer-bottom { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 12px; }
.site-footer-bottom strong { color: var(--cyan); }
.site-footer-bottom a { color: var(--muted); text-decoration: none; }
.site-footer-bottom a:hover { color: var(--cyan); }

.modal { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; padding: 20px; }
.modal-backdrop { position: absolute; inset: 0; border: 0; background: rgba(2,5,11,.82); backdrop-filter: blur(10px); }
.profile-modal-card {
  position: relative;
  width: min(980px, calc(100vw - 28px));
  max-height: calc(100dvh - 28px);
  overflow: auto;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background:
    radial-gradient(circle at 88% 0, rgba(255, 62, 130, .1), transparent 32%),
    radial-gradient(circle at 0 16%, rgba(53, 215, 242, .09), transparent 30%),
    #0b1323;
  box-shadow: 0 30px 100px rgba(0,0,0,.5);
}
.modal-close { position: absolute; z-index: 2; top: 14px; right: 14px; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 12px; color: #fff; background: #141e32; }
.profile-modal-head { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: clamp(16px, 2.6vw, 24px); padding: 8px 56px 20px 8px; border-bottom: 1px solid rgba(151,173,219,.14); }
.profile-modal-head > div { min-width: 0; display: grid; gap: 5px; }
.profile-modal-avatar { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; }
.profile-modal-head h2 { margin: 0; font-size: clamp(26px, 4vw, 36px); line-height: 1.05; }
.profile-modal-head a { color: var(--cyan); font-weight: 800; }
.profile-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 5px; }
.profile-message-button {
  width: fit-content;
  min-height: 34px;
  margin-top: 0;
  padding: 0 13px;
  border: 1px solid rgba(37,216,244,.32);
  border-radius: 8px;
  color: #ebfbff;
  background: rgba(37,216,244,.09);
  box-shadow: 0 0 22px rgba(37,216,244,.12), inset 0 1px rgba(255,255,255,.05);
  font-size: 11px;
  font-weight: 950;
}
.profile-message-button:hover { border-color: rgba(78,224,160,.42); background: rgba(78,224,160,.12); }
.profile-message-button.danger { border-color: rgba(255,100,128,.3); color: #ffc1cc; background: rgba(255,100,128,.08); }
.profile-message-button.danger:hover { border-color: rgba(255,100,128,.46); background: rgba(255,100,128,.13); }
.profile-message-button:disabled { opacity: .52; cursor: default; }
.profile-claim-badge { width: fit-content; display: flex; margin-top: 9px; padding: 6px 9px; border: 1px solid rgba(78,224,160,.38); border-radius: 6px; color: #76eab4; background: rgba(78,224,160,.09); font-size: 9px; font-weight: 900; }
.profile-check-badge { width: fit-content; display: inline-flex; align-items: center; margin-top: 6px; padding: 6px 9px; border: 1px solid rgba(53,215,242,.28); border-radius: 6px; color: #8eeaff; background: rgba(53,215,242,.08); font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: 0; }
.profile-check-badge.valid { border-color: rgba(78,224,160,.34); color: #8ef0c0; background: rgba(78,224,160,.08); }
.profile-check-badge.processing { border-color: rgba(245,159,0,.36); color: #ffd176; background: rgba(245,159,0,.09); }
.profile-check-badge.error { border-color: rgba(255,87,120,.38); color: #ff9db0; background: rgba(255,87,120,.1); }
.profile-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-top: 18px; }
.profile-stats article, .profile-history section { min-width: 0; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: rgba(14,24,42,.84); }
.profile-stats article { min-height: 78px; display: grid; align-content: center; gap: 8px; }
.profile-stats span { color: var(--muted); font-size: 9px; font-weight: 900; text-transform: uppercase; }
.profile-stats strong { display: block; font-size: clamp(18px, 2.8vw, 23px); line-height: 1; }
.profile-avatar-frame { width: 104px; height: 104px; flex: 0 0 auto; display: grid; place-items: center; padding: 5px; border-radius: 50%; background: conic-gradient(#ffd561, #ff794f, #ffd561); box-shadow: 0 0 25px rgba(255,188,53,.24); }
.profile-avatar-frame.profile-rank-2 { background: conic-gradient(#b9e9ff, #6989b6, #b9e9ff); box-shadow: 0 0 25px rgba(138,211,244,.2); }
.profile-avatar-frame.profile-rank-3 { background: conic-gradient(#ff9a58, #9b482b, #ff9a58); box-shadow: 0 0 25px rgba(255,118,53,.2); }
.profile-avatar-frame.profile-rank-4, .profile-avatar-frame.profile-rank-5, .profile-avatar-frame.profile-rank-6 { background: conic-gradient(#8f9cff, #45d8da, #cf82ff, #8f9cff); box-shadow: 0 0 25px rgba(120,119,255,.18); }
.profile-avatar-frame .profile-modal-avatar { width: 100%; height: 100%; border: 3px solid #0b1323; }
.profile-community { margin-top: 12px; padding: 16px; border: 1px solid rgba(53,215,242,.18); border-radius: 18px; background: linear-gradient(135deg, rgba(37,216,244,.08), rgba(13,24,43,.95)); }
.profile-level-summary { display: grid; grid-template-columns: auto minmax(74px, .28fr) minmax(0, 1fr); align-items: center; gap: 16px; }
.profile-rank { min-height: 32px; display: inline-grid; place-items: center; padding: 7px 10px; border: 1px solid rgba(255,213,97,.35); border-radius: 8px; color: #ffd561; background: rgba(255,188,53,.09); font-size: 10px; font-weight: 950; }
.profile-level-summary > div { display: grid; gap: 2px; }
.profile-level-summary small { color: var(--muted); font-size: 8px; font-weight: 900; text-transform: uppercase; }
.profile-level-summary strong { font-size: 22px; }
.profile-xp-block > span { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.profile-xp-block i { height: 6px; overflow: hidden; border-radius: 99px; background: #1c2941; }
.profile-xp-block b { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--cyan), #8f9cff); }
.profile-community-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(104px, 1fr)); gap: 9px; margin-top: 14px; }
.profile-community-stats article { min-height: 66px; padding: 12px; border: 1px solid rgba(129,158,214,.12); border-radius: 12px; background: rgba(5,10,20,.36); }
.profile-community-stats span { color: var(--muted); font-size: 8px; font-weight: 900; text-transform: uppercase; }
.profile-community-stats strong { display: block; margin-top: 6px; font-size: 15px; }
.profile-community-stats .profile-stat-kills { border-color: rgba(255,100,125,.3); background: linear-gradient(145deg, rgba(255,100,125,.1), rgba(5,10,20,.36)); }
.profile-community-stats .profile-stat-kills span, .profile-community-stats .profile-stat-kills strong { color: #ff8fa0; }
.profile-history { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; margin-top: 12px; }
.profile-history-title { display: flex; justify-content: space-between; align-items: center; }
.profile-history-title h3 { margin: 0; }
.profile-history-title span { color: var(--cyan); font-weight: 900; }
.profile-history-list { display: grid; gap: 8px; margin-top: 12px; }
.history-item { display: grid; gap: 5px; padding: 11px; border: 1px solid rgba(129,158,214,.12); border-radius: 10px; background: #080e1a; }
.history-item p, .history-item small, .history-empty { margin: 0; color: var(--muted); font-size: 11px; }
.history-empty { padding: 20px; text-align: center; }

.messenger-dialog {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100vw - 24px));
  height: min(790px, calc(100dvh - 24px));
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 12px;
  padding: clamp(16px, 2vw, 24px);
  border: 1px solid rgba(37,216,244,.28);
  border-radius: 22px;
  background:
    radial-gradient(circle at 12% 0, rgba(37,216,244,.12), transparent 32%),
    radial-gradient(circle at 92% 8%, rgba(255,139,68,.12), transparent 30%),
    rgba(8,14,26,.98);
  box-shadow: 0 34px 120px rgba(0,0,0,.56), 0 0 44px rgba(37,216,244,.14), inset 0 1px rgba(255,255,255,.05);
}
.messenger-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-right: 48px; }
.messenger-head h2 { margin: 0; font-size: clamp(24px, 3.8vw, 36px); line-height: 1.05; }
.messenger-head p:last-child { margin: 6px 0 0; color: var(--muted); font-size: 12px; }
.messenger-head-actions { display: flex; align-items: center; gap: 8px; }
.messenger-icon-button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(37,216,244,.22);
  border-radius: 10px;
  color: #dff8ff;
  background: rgba(13,23,39,.82);
}
.messenger-icon-button svg,
.messenger-form button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.messenger-settings {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto auto auto;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(37,216,244,.18);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(37,216,244,.08), rgba(5,10,20,.52));
}
.messenger-settings-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}
.messenger-settings-copy strong { color: #f4f8ff; font-size: 12px; }
.messenger-settings-copy small { color: #8f9eb6; font-size: 11px; }
.messenger-settings label {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid rgba(129,158,214,.14);
  border-radius: 999px;
  color: #cbd6e8;
  background: rgba(8,15,27,.62);
  font-size: 12px;
  font-weight: 800;
}
.messenger-settings button,
.messenger-request button,
.messenger-member-card > button {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(78,224,160,.26);
  border-radius: 8px;
  color: #dfffee;
  background: rgba(78,224,160,.09);
  font-size: 10px;
  font-weight: 950;
}
.messenger-request button.ghost { border-color: rgba(255,100,128,.24); color: #ffb5c4; background: rgba(255,100,128,.08); }
.messenger-grid { min-height: 0; display: grid; grid-template-columns: minmax(220px, .85fr) minmax(360px, 1.4fr) minmax(240px, .9fr); gap: 12px; }
.messenger-panel,
.messenger-thread-panel {
  min-width: 0;
  min-height: 0;
  border: 1px solid rgba(129,158,214,.16);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(12,20,35,.82), rgba(6,11,21,.76));
  box-shadow: inset 0 1px rgba(255,255,255,.035);
}
.messenger-panel { display: grid; grid-template-rows: auto auto minmax(0, 1fr); overflow: hidden; }
.messenger-members-panel { grid-template-rows: auto minmax(0, 1fr); }
.messenger-panel-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px; border-bottom: 1px solid rgba(129,158,214,.12); }
.messenger-panel-title h3 { margin: 0; font-size: 12px; }
.messenger-panel-title span,
.messenger-pill {
  min-width: 26px;
  min-height: 22px;
  display: inline-grid;
  place-items: center;
  padding: 0 7px;
  border: 1px solid rgba(37,216,244,.22);
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(37,216,244,.07);
  font-size: 10px;
  font-weight: 950;
}
.messenger-requests { display: grid; gap: 8px; padding: 10px; border-bottom: 1px solid rgba(129,158,214,.1); }
.messenger-request-title { color: #f4f8ff; font-size: 11px; }
.messenger-request,
.messenger-list-item,
.messenger-member-card {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #edf5ff;
  background: rgba(10,18,32,.58);
  text-align: left;
}
.messenger-list { min-height: 0; overflow: auto; display: grid; align-content: start; gap: 8px; padding: 10px; }
.messenger-list-item:hover,
.messenger-member-card:hover,
.messenger-list-item.active,
.messenger-member-card.active {
  border-color: rgba(37,216,244,.34);
  background: linear-gradient(135deg, rgba(37,216,244,.11), rgba(12,22,38,.72));
  box-shadow: 0 0 0 1px rgba(37,216,244,.08), 0 10px 24px rgba(0,0,0,.18);
}
.messenger-member-card > button:disabled,
.messenger-profile-actions button:disabled,
.profile-message-button:disabled { opacity: .55; cursor: default; filter: saturate(.72); }
.messenger-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(37,216,244,.22); background: #09111f; }
.messenger-member-line { min-width: 0; display: grid; gap: 2px; }
.messenger-member-line strong,
.messenger-thread-meta small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.messenger-member-line strong { font-size: 12px; }
.messenger-member-line small,
.messenger-thread-meta small,
.messenger-message time { color: #94a3ba; font-size: 10px; }
.messenger-member-line em { color: #73819c; font-size: 9px; font-style: normal; font-weight: 900; text-transform: uppercase; }
.messenger-member-line em.online { color: #68e7aa; }
.messenger-thread-meta { min-width: 0; display: grid; justify-items: end; gap: 3px; }
.messenger-thread-meta b { min-width: 18px; min-height: 18px; display: inline-grid; place-items: center; border-radius: 999px; color: #07111f; background: #4ee0a0; font-size: 9px; }
.messenger-profile-panel { grid-template-rows: auto minmax(0, 1fr); overflow: hidden; }
.messenger-profile {
  min-height: 0;
  overflow: auto;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 14px;
}
.messenger-profile-head {
  display: grid;
  justify-items: center;
  gap: 9px;
  padding: 8px 4px 12px;
  text-align: center;
}
.messenger-profile-avatar {
  width: 86px;
  height: 86px;
  display: inline-grid;
  place-items: center;
}
.messenger-profile-avatar .messenger-avatar {
  width: 72px;
  height: 72px;
}
.messenger-profile-head strong { display: block; font-size: 16px; }
.messenger-profile-head small { display: block; margin-top: 3px; color: #8f9eb6; font-size: 11px; font-weight: 850; }
.messenger-profile-facts,
.messenger-profile-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.messenger-profile-facts div,
.messenger-profile-stats article {
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(129,158,214,.13);
  border-radius: 10px;
  background: rgba(5,10,20,.42);
}
.messenger-profile-facts dt,
.messenger-profile-stats span {
  overflow: hidden;
  margin: 0 0 5px;
  color: #7f8da6;
  font-size: 8px;
  font-weight: 950;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}
.messenger-profile-facts dd,
.messenger-profile-stats strong {
  overflow: hidden;
  margin: 0;
  color: #f0f6ff;
  font-size: 12px;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.messenger-profile-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
}
.messenger-profile-actions button {
  min-height: 34px;
  justify-content: center;
  margin: 0;
  font-size: 10px;
}
.messenger-profile-private {
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(255,195,95,.25);
  border-radius: 10px;
  color: #ffd98a;
  background: rgba(255,195,95,.08);
  font-size: 12px;
  line-height: 1.45;
}
.messenger-profile-accounts {
  display: grid;
  gap: 8px;
  padding-top: 2px;
}
.messenger-profile-accounts > strong {
  color: #f4f8ff;
  font-size: 12px;
}
.messenger-profile-accounts p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}
.messenger-profile-accounts a {
  min-width: 0;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(129,158,214,.12);
  border-radius: 9px;
  color: #edf5ff;
  background: rgba(10,18,32,.48);
}
.messenger-profile-accounts img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
}
.messenger-profile-accounts span {
  min-width: 0;
  display: grid;
  gap: 2px;
}
.messenger-profile-accounts strong,
.messenger-profile-accounts small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.messenger-profile-accounts small { color: #8b9ab3; font-size: 10px; }

.member-profile-loading {
  min-height: 360px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 13px;
}
.member-profile-page {
  display: grid;
  gap: 18px;
  animation: viewIn .24s ease both;
}
.member-profile-page[hidden],
.member-profile-loading[hidden] { display: none; }
.member-profile-hero {
  position: relative;
  min-height: 280px;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  align-items: end;
  gap: clamp(28px, 4vw, 52px);
  overflow: hidden;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid rgba(37,216,244,.2);
  border-radius: 18px;
  background:
    radial-gradient(circle at 85% 10%, rgba(37,216,244,.13), transparent 32%),
    linear-gradient(135deg, rgba(11,20,35,.98), rgba(7,11,20,.98));
  background-size: cover;
  background-position: center;
  box-shadow: 0 26px 78px rgba(0,0,0,.42), 0 0 34px rgba(37,216,244,.12);
}
.member-profile-hero.role-superadmin {
  border-color: rgba(255,73,92,.34);
  box-shadow: 0 26px 78px rgba(0,0,0,.42), 0 0 38px rgba(255,73,92,.18);
}
.member-profile-hero.role-staff {
  border-color: rgba(190,112,255,.34);
  box-shadow: 0 26px 78px rgba(0,0,0,.42), 0 0 38px rgba(190,112,255,.16);
}
.member-profile-avatar {
  width: 140px;
  height: 140px;
  display: grid;
  place-items: center;
  justify-self: center;
  --profile-frame-auto-max-scale: 195;
}
.member-profile-avatar .messenger-avatar {
  width: 112px;
  height: 112px;
}
.member-profile-hero h1 {
  margin: 0;
  color: #f7fbff;
  font-size: clamp(34px, 6vw, 64px);
  line-height: .95;
}
.member-profile-hero p {
  max-width: 760px;
  margin: 8px 0 0;
  color: #aebbd0;
  line-height: 1.55;
}
.member-profile-bio { font-size: 14px; }
.member-profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}
.member-profile-actions .auth-primary,
.member-profile-actions .auth-secondary {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  text-decoration: none;
}
.member-profile-facts,
.member-profile-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.member-profile-facts article,
.member-profile-stats article {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(129,158,214,.14);
  border-radius: 10px;
  background: rgba(10,18,32,.72);
  box-shadow: inset 0 1px rgba(255,255,255,.03);
}
.member-profile-facts span,
.member-profile-stats span {
  display: block;
  overflow: hidden;
  color: #7f8da6;
  font-size: 8px;
  font-weight: 950;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}
.member-profile-facts strong,
.member-profile-stats strong {
  display: block;
  overflow: hidden;
  margin-top: 7px;
  color: #f2f7ff;
  font-size: 20px;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.member-profile-section {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(129,158,214,.14);
  border-radius: 14px;
  background: rgba(8,15,28,.72);
}
.member-profile-section h2 {
  margin: 0;
  font-size: 18px;
}
.member-profile-tiktok > div,
.member-profile-feed > div {
  display: grid;
  gap: 9px;
}
.member-profile-tiktok article,
.member-profile-feed article {
  min-width: 0;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  padding: 10px;
  border: 1px solid rgba(129,158,214,.12);
  border-radius: 10px;
  background: rgba(5,10,20,.42);
}
.member-profile-tiktok img,
.member-profile-feed i {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}
.member-profile-tiktok img { object-fit: cover; }
.member-profile-feed i {
  display: grid;
  place-items: center;
  color: #07111f;
  background: #4ee0a0;
  font-size: 10px;
  font-style: normal;
  font-weight: 950;
}
.member-profile-tiktok span,
.member-profile-feed span {
  min-width: 0;
  display: grid;
  gap: 3px;
}
.member-profile-tiktok strong,
.member-profile-tiktok small,
.member-profile-feed strong,
.member-profile-feed small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.member-profile-tiktok small,
.member-profile-feed small { color: #8e9db4; font-size: 11px; }
.member-profile-tiktok a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(37,244,238,.24);
  border-radius: 8px;
  color: #aef8ff;
  background: rgba(37,244,238,.06);
  font-size: 11px;
  font-weight: 900;
  text-decoration: none;
}
.member-profile-notice {
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(255,195,95,.25);
  border-radius: 12px;
  color: #ffd98a;
  background: rgba(255,195,95,.08);
  font-size: 13px;
}
.messenger-thread-panel { display: grid; min-height: 0; overflow: hidden; }
.messenger-thread-empty { display: grid; place-items: center; padding: 24px; color: var(--muted); font-size: 13px; text-align: center; }
.messenger-thread { min-height: 0; display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; }
.messenger-thread-head { display: flex; align-items: center; gap: 10px; padding: 12px; border-bottom: 1px solid rgba(129,158,214,.12); background: rgba(8,15,28,.48); }
.messenger-thread-head.role-superadmin,
.header-messenger-preview-thread > header.role-superadmin {
  border-bottom-color: rgba(255,73,92,.32);
  background: linear-gradient(135deg, rgba(80,13,24,.78), rgba(12,18,31,.78));
}
.messenger-thread-head.role-staff,
.header-messenger-preview-thread > header.role-staff {
  border-bottom-color: rgba(190,112,255,.32);
  background: linear-gradient(135deg, rgba(50,24,82,.78), rgba(12,18,31,.78));
}
.messenger-messages { min-height: 0; overflow: auto; display: grid; align-content: end; gap: 8px; padding: 16px; scroll-behavior: smooth; }
.messenger-message { max-width: min(78%, 520px); justify-self: start; display: grid; gap: 5px; padding: 10px 12px; border: 1px solid rgba(129,158,214,.14); border-radius: 12px 12px 12px 4px; background: rgba(13,22,38,.92); }
.messenger-message.mine { justify-self: end; border-color: rgba(78,224,160,.25); border-radius: 12px 12px 4px 12px; background: linear-gradient(135deg, rgba(78,224,160,.18), rgba(37,216,244,.09)); }
.messenger-message.pending,
.header-messenger-message.pending,
.messenger-quick-message.pending {
  opacity: .72;
  filter: saturate(.78);
}
.messenger-message.pending time::after,
.header-messenger-message.pending time::after,
.messenger-quick-message.pending time::after {
  content: " · envoi";
}
.messenger-message p { margin: 0; color: #edf5ff; font-size: 13px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.messenger-message time { justify-self: end; }
.messenger-typing { align-items: center; gap: 4px; padding: 0 14px 8px; color: #8eeaff; font-size: 11px; font-weight: 850; }
.messenger-typing:not([hidden]) { display: flex; }
.messenger-typing span { width: 5px; height: 5px; border-radius: 50%; background: currentColor; animation: typingDot 1s ease-in-out infinite; }
.messenger-typing span:nth-child(2) { animation-delay: .15s; }
.messenger-typing span:nth-child(3) { animation-delay: .3s; }
.messenger-form { display: grid; grid-template-columns: minmax(0, 1fr) 44px; gap: 8px; padding: 12px; border-top: 1px solid rgba(129,158,214,.12); background: rgba(5,10,20,.36); }
.messenger-form textarea {
  min-width: 0;
  max-height: 120px;
  resize: vertical;
  border: 1px solid rgba(129,158,214,.18);
  border-radius: 14px;
  padding: 12px 13px;
  color: #eef4ff;
  background: rgba(5,10,20,.78);
  outline: 0;
}
.messenger-form textarea:focus { border-color: rgba(37,216,244,.42); box-shadow: 0 0 0 3px rgba(37,216,244,.08); }
.messenger-form button { min-height: 44px; border: 1px solid rgba(37,216,244,.34); border-radius: 14px; color: #ebfbff; background: linear-gradient(135deg, rgba(37,216,244,.16), rgba(78,224,160,.1)); box-shadow: 0 0 24px rgba(37,216,244,.09); }
.messenger-form button:hover { border-color: rgba(78,224,160,.45); box-shadow: 0 0 28px rgba(78,224,160,.12); }
.messenger-empty { margin: 0; padding: 14px; color: var(--muted); font-size: 12px; text-align: center; }

.messenger-avatar-shell .messenger-avatar,
.header-messenger-avatar-shell .messenger-avatar,
.messenger-profile-avatar .messenger-avatar,
.messenger-quick-avatar .messenger-avatar,
.messenger-bubble-avatar .messenger-avatar {
  position: relative;
  z-index: 2;
}
.messenger-avatar-shell.has-site-profile-frame,
.header-messenger-avatar-shell.has-site-profile-frame,
.messenger-profile-avatar.has-site-profile-frame,
.messenger-quick-avatar.has-site-profile-frame,
.messenger-bubble-avatar.has-site-profile-frame { overflow: visible; }

.messenger-quick-root {
  position: fixed;
  right: 88px;
  bottom: 18px;
  z-index: 56;
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-end;
  gap: 12px;
  pointer-events: none;
}
.messenger-quick-window {
  position: relative;
  width: min(330px, calc(100vw - 118px));
  height: min(455px, calc(100dvh - 96px));
  min-height: 320px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  border: 1px solid rgba(37,216,244,.24);
  border-radius: 16px 16px 0 0;
  color: #edf5ff;
  background: linear-gradient(180deg, rgba(11,18,31,.98), rgba(7,12,22,.98));
  box-shadow: 0 24px 70px rgba(0,0,0,.58), 0 0 30px rgba(37,216,244,.14);
  pointer-events: auto;
  animation: viewIn .16s ease both;
}
.messenger-quick-window > header {
  min-width: 0;
  min-height: 66px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: linear-gradient(135deg, rgba(17,27,45,.98), rgba(12,18,31,.98));
}
.messenger-quick-window.role-superadmin > header {
  border-bottom-color: rgba(255,73,92,.34);
  background: linear-gradient(135deg, rgba(80,13,24,.98), rgba(24,10,18,.98));
  box-shadow: inset 0 -1px rgba(255,73,92,.18);
}
.messenger-quick-window.role-staff > header {
  border-bottom-color: rgba(190,112,255,.34);
  background: linear-gradient(135deg, rgba(50,24,82,.98), rgba(19,13,34,.98));
  box-shadow: inset 0 -1px rgba(190,112,255,.18);
}
.messenger-quick-identity {
  min-width: 0;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  border: 0;
  color: inherit;
  background: transparent;
  text-align: left;
}
.messenger-quick-avatar {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  justify-self: center;
}
.messenger-quick-avatar .messenger-avatar {
  width: 38px;
  height: 38px;
}
.messenger-quick-avatar.has-site-profile-frame {
  --profile-frame-auto-min-scale: 110;
  --profile-frame-auto-max-scale: 175;
  --profile-frame-hole-padding: .98;
}
.messenger-quick-identity span {
  min-width: 0;
  display: grid;
  gap: 2px;
}
.messenger-quick-identity strong,
.messenger-quick-identity small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.messenger-quick-identity strong { font-size: 13px; }
.messenger-quick-identity small { color: #97a5b8; font-size: 10px; font-weight: 800; }
.messenger-quick-actions {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.messenger-quick-actions button {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  color: #c388ff;
  background: transparent;
  font-size: 19px;
  font-weight: 900;
}
.messenger-quick-actions button:hover { color: #eeccff; background: rgba(195,136,255,.12); }
.messenger-quick-actions svg,
.messenger-quick-send svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.messenger-quick-messages {
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-color: rgba(78,224,160,.55) rgba(255,255,255,.05);
  scrollbar-width: thin;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 14px 12px;
  background:
    radial-gradient(circle at 14% 0, rgba(37,216,244,.07), transparent 36%),
    rgba(8,13,23,.96);
}
.messenger-quick-messages::-webkit-scrollbar { width: 8px; }
.messenger-quick-messages::-webkit-scrollbar-track { background: rgba(255,255,255,.04); }
.messenger-quick-messages::-webkit-scrollbar-thumb { border: 2px solid transparent; border-radius: 999px; background: rgba(78,224,160,.5); background-clip: padding-box; }
.messenger-quick-scroll-latest {
  position: absolute !important;
  right: 12px !important;
  left: auto !important;
  bottom: 61px;
  z-index: 8;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(78,224,160,.45);
  border-radius: 50%;
  color: #dfffee;
  background: rgba(8,19,29,.96);
  box-shadow: 0 8px 22px rgba(0,0,0,.48), 0 0 18px rgba(78,224,160,.15);
}
.messenger-quick-window.has-pending-attachment .messenger-quick-scroll-latest { bottom: 103px; }
.messenger-quick-scroll-latest[hidden] { display: none; }
.messenger-quick-scroll-latest:hover { color: #07111f; background: #4ee0a0; }
.messenger-quick-scroll-latest svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.messenger-quick-empty {
  margin: 0;
  align-self: center;
  justify-self: center;
  color: #9aa7b8;
  font-size: 12px;
}
.messenger-quick-message {
  max-width: 82%;
  justify-self: start;
  display: grid;
  gap: 4px;
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  color: #e8edf6;
  background: rgba(255,255,255,.045);
}
.messenger-quick-message.mine {
  justify-self: end;
  border-color: rgba(0,132,255,.22);
  color: #fff;
  background: #0a84ff;
}
.messenger-quick-message p {
  margin: 0;
  font-size: 13px;
  line-height: 1.38;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.messenger-quick-message time {
  justify-self: end;
  color: rgba(238,244,255,.72);
  font-size: 9px;
}
.messenger-message,
.header-messenger-message,
.messenger-quick-message {
  grid-template-columns: auto minmax(0, auto);
  align-items: end;
  gap: 7px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.messenger-message.mine,
.header-messenger-message.mine,
.messenger-quick-message.mine {
  grid-template-columns: minmax(0, auto) auto;
  background: transparent;
}
.messenger-message-avatar,
.header-messenger-message-avatar,
.messenger-quick-message-avatar {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
}
.messenger-message-avatar .messenger-avatar,
.header-messenger-message-avatar .messenger-avatar,
.messenger-quick-message-avatar .messenger-avatar {
  width: 30px;
  height: 30px;
}
.messenger-message-avatar.has-site-profile-frame,
.header-messenger-message-avatar.has-site-profile-frame,
.messenger-quick-message-avatar.has-site-profile-frame {
  --profile-frame-auto-min-scale: 110;
  --profile-frame-auto-max-scale: 180;
  --profile-frame-hole-padding: .98;
}
.messenger-message-bubble {
  min-width: 0;
  display: grid;
  gap: 5px;
  padding: 10px 12px;
  border: 1px solid rgba(129,158,214,.14);
  border-radius: 14px 14px 14px 5px;
  background: rgba(13,22,38,.92);
}
.mine .messenger-message-bubble {
  border-color: rgba(78,224,160,.25);
  border-radius: 14px 14px 5px 14px;
  background: linear-gradient(135deg, rgba(78,224,160,.18), rgba(37,216,244,.09));
}
.messenger-quick-message .messenger-message-bubble,
.header-messenger-message .messenger-message-bubble {
  border-radius: 18px;
  background: rgba(255,255,255,.045);
}
.messenger-quick-message.mine .messenger-message-bubble,
.header-messenger-message.mine .messenger-message-bubble {
  border-color: rgba(0,132,255,.24);
  color: #fff;
  background: #0a84ff;
}
.messenger-message.pending time::after,
.header-messenger-message.pending time::after,
.messenger-quick-message.pending time::after { content: ""; }
.messenger-message-meta {
  display: inline-flex;
  justify-content: flex-end;
  align-items: center;
  gap: 7px;
  color: #8f9db2;
  font-size: 9px;
}
.mine .messenger-message-meta { color: rgba(238,244,255,.78); }
.messenger-message-meta i {
  font-style: normal;
  font-weight: 900;
}
.messenger-media-embeds {
  width: min(200px, 58vw);
  max-width: 100%;
  display: grid;
  gap: 6px;
  margin-top: 2px;
}
.messenger-media-card {
  min-width: 0;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(37,244,238,.22);
  border-radius: 12px;
  color: #eef9ff;
  background: rgba(3,8,15,.72);
  box-shadow: 0 8px 24px rgba(0,0,0,.24);
}
.messenger-media-player { display: grid; }
.messenger-media-player iframe { width: 100%; border: 0; background: #000; }
.messenger-media-player.youtube iframe { aspect-ratio: 1 / 1; }
.messenger-media-player.tiktok iframe { aspect-ratio: 9 / 14; }
.messenger-media-source,
.messenger-media-link {
  display: block;
  padding: 7px 9px;
  color: #bcefff;
  font-size: 10px;
  font-weight: 850;
  text-align: center;
  text-decoration: none;
}
.messenger-media-source:hover,
.messenger-media-link:hover { color: #fff; background: rgba(37,216,244,.1); }
.messenger-media-image-link { display: block; }
.messenger-media-image {
  width: 100%;
  max-height: 260px;
  display: block;
  object-fit: contain;
  background: #03060b;
}
.messenger-media-video { aspect-ratio: 16 / 9; display: block; background: #000; }
.messenger-quick-typing {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #9fcaff;
  font-size: 11px;
  font-weight: 850;
}
.messenger-quick-typing span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  animation: typingDot 1s ease-in-out infinite;
}
.messenger-quick-typing span:nth-child(2) { animation-delay: .15s; }
.messenger-quick-typing span:nth-child(3) { animation-delay: .3s; }
.messenger-quick-form {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 34px;
  align-items: center;
  gap: 7px;
  padding: 8px;
  border-top: 1px solid rgba(129,158,214,.12);
  background: rgba(10,16,27,.98);
}
.messenger-quick-attachment-preview {
  min-width: 0;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px;
  align-items: center;
  gap: 7px;
  padding: 6px 8px 6px 10px;
  border: 1px solid rgba(78,224,160,.24);
  border-radius: 10px;
  color: #cffff0;
  background: rgba(78,224,160,.08);
  font-size: 10px;
  font-weight: 800;
}
.messenger-quick-attachment-preview > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.messenger-quick-attachment-preview button {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 7px;
  color: #ff9aaa;
  background: rgba(255,73,92,.1);
  font-weight: 950;
}
.messenger-quick-tools {
  display: inline-flex;
  gap: 5px;
}
.messenger-quick-tools button {
  min-width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  color: #1a8dff;
  background: transparent;
  font-size: 10px;
  font-weight: 950;
}
.messenger-quick-tools svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.messenger-quick-tools button:disabled { opacity: .75; cursor: default; }
.messenger-quick-form input[type="text"] {
  min-width: 0;
  height: 34px;
  border: 0;
  border-radius: 999px;
  padding: 0 13px;
  color: #edf5ff;
  background: rgba(255,255,255,.075);
  outline: 0;
}
.messenger-quick-form input[type="text"]:focus { box-shadow: inset 0 0 0 1px rgba(37,216,244,.44), 0 0 20px rgba(37,216,244,.08); }
.messenger-quick-send {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #1a8dff;
  background: transparent;
}
.messenger-quick-send:disabled { opacity: .45; }

.messenger-bubbles {
  position: fixed;
  right: 18px;
  bottom: 90px;
  z-index: 42;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  gap: 10px;
  pointer-events: none;
}
.messenger-bubble {
  position: relative;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(37,216,244,.22);
  border-radius: 50%;
  color: #f3f8ff;
  background: rgba(7,13,24,.92);
  box-shadow: 0 16px 38px rgba(0,0,0,.42), 0 0 22px rgba(37,216,244,.12);
  pointer-events: auto;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.messenger-bubble:hover {
  transform: translateY(-2px) scale(1.03);
  border-color: rgba(37,216,244,.42);
  box-shadow: 0 20px 44px rgba(0,0,0,.5), 0 0 32px rgba(37,216,244,.2);
}
.messenger-bubble-open {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: inherit;
  color: inherit;
  background: transparent;
}
.messenger-bubble-open:focus-visible {
  outline: 2px solid rgba(78,224,160,.9);
  outline-offset: 3px;
}
.messenger-bubble.active {
  border-color: rgba(0,132,255,.75);
  box-shadow: 0 18px 40px rgba(0,0,0,.52), 0 0 0 3px rgba(0,132,255,.14), 0 0 28px rgba(0,132,255,.22);
}
.messenger-bubble.minimized {
  border-color: rgba(195,136,255,.52);
  box-shadow: 0 18px 40px rgba(0,0,0,.48), 0 0 28px rgba(195,136,255,.16);
}
.messenger-bubble-avatar {
  width: 58px;
  height: 58px;
  display: inline-grid;
  place-items: center;
}
.messenger-bubble-avatar .messenger-avatar {
  width: 46px;
  height: 46px;
}
.messenger-bubble b {
  position: absolute;
  bottom: -3px;
  right: -4px;
  z-index: 5;
  border: 2px solid #050811;
}
.messenger-bubble-close {
  position: absolute;
  top: -6px;
  right: -6px;
  z-index: 8;
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  color: #fff;
  background: rgba(18,25,39,.96);
  box-shadow: 0 4px 12px rgba(0,0,0,.5);
  opacity: .82;
  transition: opacity .16s ease, transform .16s ease, background .16s ease;
}
.messenger-bubble-close:hover,
.messenger-bubble-close:focus-visible {
  color: #fff;
  background: #ef4058;
  opacity: 1;
  transform: scale(1.12);
  outline: 0;
}
.messenger-bubble-close svg {
  width: 11px;
  height: 11px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
}
.messenger-bubble-label {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  width: max-content;
  max-width: 180px;
  padding: 8px 10px;
  border: 1px solid rgba(129,158,214,.16);
  border-radius: 10px;
  background: rgba(7,13,24,.96);
  box-shadow: 0 12px 34px rgba(0,0,0,.38);
  opacity: 0;
  transform: translate(6px, -50%);
  pointer-events: none;
  transition: opacity .16s ease, transform .16s ease;
}
.messenger-bubble:hover .messenger-bubble-label,
.messenger-bubble:focus-within .messenger-bubble-label {
  opacity: 1;
  transform: translate(0, -50%);
}

.messenger-friends-dock {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 58;
  display: grid;
  justify-items: end;
  pointer-events: none;
}
.messenger-friends-dock[hidden] { display: none; }
.messenger-friends-toggle {
  position: relative;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(37,216,244,.28);
  border-radius: 50%;
  color: #ecfbff;
  background:
    radial-gradient(circle at 35% 25%, rgba(78,224,160,.28), transparent 34%),
    rgba(7,13,24,.94);
  box-shadow: 0 18px 42px rgba(0,0,0,.48), 0 0 26px rgba(37,216,244,.18);
  pointer-events: auto;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.messenger-friends-toggle:hover,
.messenger-friends-dock.open .messenger-friends-toggle {
  transform: translateY(-2px);
  border-color: rgba(78,224,160,.5);
  box-shadow: 0 22px 52px rgba(0,0,0,.54), 0 0 34px rgba(78,224,160,.22);
}
.messenger-friends-toggle svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.messenger-friends-toggle span {
  position: absolute;
  top: -3px;
  right: -5px;
  min-width: 19px;
  height: 19px;
  display: inline-grid;
  place-items: center;
  padding: 0 5px;
  border: 2px solid #050811;
  border-radius: 999px;
  color: #061019;
  background: #4ee0a0;
  font-size: 9px;
  font-weight: 950;
}
.messenger-friends-panel {
  position: absolute;
  right: 0;
  bottom: 70px;
  width: min(360px, calc(100vw - 28px));
  max-height: min(560px, calc(100dvh - 108px));
  overflow: hidden;
  display: grid;
  grid-template-rows: auto minmax(0, auto) auto minmax(0, 1fr);
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(37,216,244,.22);
  border-radius: 16px;
  color: #edf5ff;
  background:
    radial-gradient(circle at 12% 0, rgba(37,216,244,.12), transparent 34%),
    radial-gradient(circle at 100% 0, rgba(78,224,160,.08), transparent 30%),
    rgba(7,12,23,.985);
  box-shadow: 0 28px 80px rgba(0,0,0,.58), 0 0 30px rgba(37,216,244,.14), inset 0 1px rgba(255,255,255,.04);
  pointer-events: auto;
  animation: viewIn .16s ease both;
}
.messenger-friends-panel[hidden] { display: none; }
.messenger-friends-panel > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.messenger-friends-panel > header strong { display: block; font-size: 18px; line-height: 1; }
.messenger-friends-panel > header small { display: block; margin-top: 5px; color: #8ea0bb; font-size: 11px; }
.messenger-friends-panel > header button {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(129,158,214,.16);
  border-radius: 9px;
  color: #dff8ff;
  background: rgba(13,22,38,.85);
  font-weight: 900;
}
.messenger-friends-section-title {
  color: #7f8da6;
  font-size: 9px;
  font-weight: 950;
  text-transform: uppercase;
}
.messenger-friends-list {
  min-height: 0;
  overflow: auto;
  display: grid;
  align-content: start;
  gap: 6px;
}
.messenger-friend-row {
  min-width: 0;
  width: 100%;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 8px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #edf5ff;
  background: rgba(10,18,32,.56);
  text-align: left;
}
.messenger-friend-row:hover {
  border-color: rgba(37,216,244,.28);
  background: rgba(37,216,244,.08);
}
.messenger-friend-avatar {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
}
.messenger-friend-avatar .messenger-avatar {
  width: 36px;
  height: 36px;
}
.messenger-friend-row > span:not(.messenger-friend-side) {
  min-width: 0;
  display: grid;
  gap: 3px;
}
.messenger-friend-row strong,
.messenger-friend-row small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.messenger-friend-row strong { font-size: 12px; }
.messenger-friend-row small { color: #97a7bd; font-size: 11px; }
.messenger-friend-side {
  display: grid;
  justify-items: end;
  gap: 4px;
}
.messenger-friend-side b {
  min-width: 19px;
  height: 19px;
  display: inline-grid;
  place-items: center;
  padding: 0 5px;
  border-radius: 999px;
  color: #061019;
  background: #4ee0a0;
  font-size: 9px;
  font-weight: 950;
}
.messenger-friend-side i {
  overflow: hidden;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  color: transparent;
  background: #4ee0a0;
  box-shadow: 0 0 12px rgba(78,224,160,.65);
}
.messenger-friends-empty {
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(129,158,214,.12);
  border-radius: 12px;
  color: #9aa7b8;
  background: rgba(10,18,32,.42);
  font-size: 12px;
  text-align: center;
}

@media (max-width: 560px) {
  .messenger-quick-root {
    left: 8px;
    right: 8px;
    bottom: 72px;
    justify-content: stretch;
  }
  .messenger-quick-window {
    width: 100%;
    height: min(420px, calc(100dvh - 126px));
  }
  .messenger-bubbles { right: 12px; bottom: 82px; gap: 8px; }
  .messenger-bubble { width: 52px; height: 52px; }
  .messenger-bubble-avatar { width: 52px; height: 52px; }
  .messenger-bubble-avatar .messenger-avatar { width: 42px; height: 42px; }
  .messenger-friends-dock { right: 12px; bottom: 12px; }
  .messenger-friends-toggle { width: 52px; height: 52px; }
  .messenger-friends-panel { bottom: 64px; width: min(340px, calc(100vw - 24px)); max-height: min(520px, calc(100dvh - 92px)); }
}

@keyframes viewIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes typingDot { 0%, 70%, 100% { transform: translateY(0); opacity: .4; } 35% { transform: translateY(-4px); opacity: 1; } }

.admin-profile-service-head-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.admin-profile-service-head-actions .phnx-btn {
  min-height: 34px;
  font-size: 11px;
  line-height: 1;
  white-space: nowrap;
}

.admin-profile-service-config {
  display: grid;
  gap: 18px;
}

.admin-profile-service-server {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  grid-auto-flow: row;
}

.admin-profile-service-server > span,
.admin-profile-service-metrics > span {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(148, 163, 184, .14);
  border-radius: 8px;
  background: rgba(7, 12, 26, .68);
}

.admin-profile-service-server small,
.admin-profile-service-server strong,
.admin-profile-service-metrics small,
.admin-profile-service-metrics strong {
  display: block;
}

.admin-profile-service-server .phnx-stat {
  overflow: hidden;
}

.admin-profile-service-server .phnx-stat-title,
.admin-profile-service-server .phnx-stat-value {
  max-width: 100%;
  white-space: normal;
}

.admin-profile-service-server small,
.admin-profile-service-metrics small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 850;
  text-transform: uppercase;
}

.admin-profile-service-server strong {
  margin-top: 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
}

.admin-profile-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}

.admin-profile-service-grid label {
  min-height: 74px;
}

.admin-profile-service-grid .admin-profile-service-toggle {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 14px;
  border: 1px solid rgba(148, 163, 184, .14);
  border-radius: 8px;
  background: rgba(7, 12, 26, .55);
}

.admin-profile-service-toggle > span {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.admin-profile-service-toggle strong {
  color: var(--text);
  font-size: 12px;
}

.admin-profile-service-toggle small {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.35;
}

.admin-profile-service-toggle .phnx-toggle {
  flex: 0 0 auto;
  width: 46px;
  height: 26px;
  min-height: 0;
  padding: 3px;
}

.admin-profile-service-toggle .phnx-toggle:checked {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(37, 216, 244, .14);
}

.admin-profile-service-list,
.admin-profile-service-changes {
  display: grid;
  gap: 10px;
}

.admin-profile-validation-stats {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
  overflow: visible;
  grid-auto-flow: row;
  background: transparent;
  box-shadow: none;
}

.admin-profile-validation-stats .phnx-stat {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(148, 163, 184, .14);
  border-radius: 8px;
  background: rgba(7, 12, 26, .68);
}

.admin-profile-validation-stats .phnx-stat-value {
  margin-top: 6px;
  font-size: 22px;
}

.admin-profile-service-card {
  display: grid;
  grid-template-columns: minmax(220px, 1.15fr) minmax(280px, 1fr) minmax(190px, .8fr);
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(7, 12, 26, .58);
}

.admin-profile-service-card.error {
  border-color: rgba(255, 87, 120, .34);
}

.admin-profile-service-identity {
  min-width: 0;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
}

.admin-profile-service-identity > img,
.admin-profile-service-identity > span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(37, 216, 244, .5);
  border-radius: 50%;
  object-fit: cover;
  color: #06101b;
  background: var(--cyan);
  font-weight: 950;
}

.admin-profile-service-identity strong,
.admin-profile-service-identity a {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-profile-status {
  height: 22px;
  margin-top: 7px;
  padding-inline: 8px;
  border-color: rgba(148, 163, 184, .28);
  color: #aab4c6;
  background: rgba(148, 163, 184, .09);
  font-size: 9px;
  font-weight: 900;
}

.admin-profile-status.valid { border-color: rgba(37, 211, 146, .35); color: #65e4ad; background: rgba(37, 211, 146, .09); }
.admin-profile-status.processing { border-color: rgba(37, 216, 244, .35); color: #65dfef; background: rgba(37, 216, 244, .09); }
.admin-profile-status.error { border-color: rgba(255, 87, 120, .38); color: #ff8ca3; background: rgba(255, 87, 120, .09); }
.admin-profile-status.pending { border-color: rgba(245, 159, 0, .34); color: #ffc45b; background: rgba(245, 159, 0, .08); }

.admin-profile-service-identity a {
  margin-top: 4px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
}

.admin-profile-service-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.admin-profile-service-metrics > span {
  padding: 9px;
}

.admin-profile-service-metrics strong {
  margin-top: 4px;
  font-size: 13px;
}

.admin-profile-service-schedule {
  min-width: 0;
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 11px;
}

.admin-profile-service-schedule p {
  margin: 4px 0 0;
  color: #ff8ca3;
  overflow-wrap: anywhere;
}

.admin-profile-service-actions {
  display: flex;
  gap: 7px;
}

.admin-profile-service-changes > article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(148, 163, 184, .12);
  border-radius: 7px;
  background: rgba(7, 12, 26, .48);
}

.admin-profile-service-changes strong,
.admin-profile-service-changes small {
  display: block;
}

.admin-profile-service-changes small,
.admin-profile-service-changes time {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  overflow-wrap: anywhere;
}

@media (max-width: 1180px) {
  .admin-profile-service-card { grid-template-columns: minmax(220px, 1fr) minmax(260px, 1fr); }
  .admin-profile-service-schedule, .admin-profile-service-actions { grid-column: auto; }
}

@media (max-width: 760px) {
  .admin-profile-service-head-actions,
  .admin-profile-service-actions { justify-content: stretch; }
  .admin-profile-service-head-actions > button,
  .admin-profile-service-actions > button { flex: 1; }
  .admin-profile-service-server { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-profile-validation-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-profile-service-grid { grid-template-columns: 1fr; }
  .admin-profile-service-card { grid-template-columns: 1fr; }
  .admin-profile-service-changes > article { grid-template-columns: 1fr; gap: 5px; }
}

@media (max-width: 520px) {
  .admin-profile-service-server { grid-template-columns: 1fr; }
  .admin-profile-validation-stats { grid-template-columns: 1fr 1fr; }
  .admin-profile-service-head-actions { width: 100%; }
}

.admin-level-config-panel,
.admin-level-boosters-panel,
.admin-global-xp-boost-panel,
.admin-level-reset-panel {
  display: grid;
  gap: 14px;
}

.admin-global-xp-boost-panel #admin-global-xp-boost-status { color: var(--muted); }
.admin-global-xp-boost-panel #admin-global-xp-boost-status.active { color: #63efb3; }
.admin-global-xp-boost-panel .auth-secondary.danger { min-height: 46px; }

.admin-level-reset-panel {
  border-color: rgba(255, 74, 105, .34) !important;
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 66, 98, .13), transparent 34%),
    rgba(12, 20, 34, .88) !important;
}

.admin-level-reset-panel .eyebrow,
.admin-level-reset-panel #admin-level-reset-badge { color: #ff708a; }

.admin-level-reset-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.admin-level-reset-summary > span {
  display: grid;
  gap: 5px;
  min-height: 78px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 14px;
  background: rgba(4, 12, 24, .62);
}

.admin-level-reset-summary small { color: var(--muted); }
.admin-level-reset-summary strong { color: #fff; font-size: 1.08rem; }

.admin-level-reset-form {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) minmax(220px, .8fr) auto;
  gap: 12px;
  align-items: end;
}

.admin-level-reset-ack {
  display: flex !important;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 11px 13px;
  border: 1px solid rgba(255, 112, 138, .22);
  border-radius: 12px;
  background: rgba(255, 74, 105, .06);
}

.admin-level-reset-ack input { width: 20px; height: 20px; accent-color: #ff4a69; }
.admin-level-reset-ack span { display: grid; gap: 2px; }
.admin-level-reset-ack small { color: var(--muted); }
.admin-level-reset-form .auth-primary.danger {
  min-height: 46px;
  background: linear-gradient(135deg, #ff3157, #ff6a3d);
  box-shadow: 0 12px 32px rgba(255, 49, 87, .22);
}

.admin-level-reset-form .auth-primary.danger:disabled { filter: grayscale(.35); box-shadow: none; }

@media (max-width: 980px) {
  .admin-level-reset-form { grid-template-columns: 1fr 1fr; }
  .admin-level-reset-ack { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .admin-level-reset-summary,
  .admin-level-reset-form { grid-template-columns: 1fr; }
  .admin-level-reset-ack { grid-column: auto; }
  .admin-level-reset-form .auth-primary.danger { width: 100%; }
}

.admin-level-config-form,
.admin-shop-builder {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}

.admin-level-config-form label:not(.admin-control-switch),
.admin-shop-builder label {
  min-height: 74px;
}

.admin-level-config-form .admin-control-switch {
  min-height: 56px;
}

.admin-level-config-form .admin-level-config-wide {
  grid-column: span 2;
}

.admin-level-config-form textarea {
  min-height: 74px;
  resize: vertical;
}

.admin-level-config-form .auth-primary,
.admin-shop-builder .auth-primary {
  min-height: 46px;
  margin: 0;
}

.admin-level-boosters-panel .admin-shop-list {
  display: grid;
  gap: 10px;
}

.admin-notification-frame-preview { display: grid; place-items: center; min-height: 132px; padding: 10px; border: 1px solid rgba(129,158,214,.16); border-radius: 12px; background: rgba(2,6,23,.38); }
.admin-notification-frame-preview .cosmetic-mini-notification { width: min(100%, 300px); }
.admin-bundle-card { grid-template-columns: 74px minmax(0, 1fr) repeat(2, minmax(120px, .45fr)); }
.admin-bundle-card .admin-edit-wide { grid-column: span 2; }
.admin-bundle-card select { width: 100%; }

.admin-recorder-config,
.admin-recorder-target-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: end;
}

.admin-recorder-config label,
.admin-recorder-target-form label {
  min-height: 74px;
}

.admin-recorder-config label:has(input[type="checkbox"]),
.admin-recorder-target-form label:has(input[type="checkbox"]) {
  align-items: center;
  display: flex;
  gap: 10px;
  min-height: 46px;
}

.admin-recorder-config .admin-edit-wide {
  grid-column: span 2;
}

.admin-recorder-list {
  display: grid;
  gap: 14px;
}

.admin-recorder-card.recording {
  border-color: rgba(38, 232, 167, .38);
  box-shadow: 0 18px 50px rgba(38, 232, 167, .08);
}

.admin-recorder-card.disabled {
  opacity: .94;
  border-style: dashed;
}

.admin-recorder-bio {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(148, 163, 184, .12);
  border-radius: 14px;
  background: rgba(2, 6, 23, .24);
  color: var(--muted);
  line-height: 1.55;
}

.admin-recorder-profile-stats {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.admin-recorder-profile-stats span {
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid rgba(148, 163, 184, .14);
  border-radius: 14px;
  background: rgba(7, 12, 26, .68);
}

.admin-recorder-profile-stats small,
.admin-recorder-profile-stats strong {
  display: block;
}

.admin-recorder-profile-stats small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.admin-recorder-profile-stats strong {
  margin-top: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-recorder-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.admin-recorder-details span {
  min-width: 0;
  border: 1px solid rgba(148, 163, 184, .14);
  border-radius: 14px;
  padding: 10px 12px;
  background: rgba(2, 6, 23, .28);
}

.admin-recorder-details small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.admin-recorder-details strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 1080px) {
  .admin-level-config-form,
  .admin-shop-builder { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-permission-group-form,
  .admin-permission-grid { grid-template-columns: 1fr; }
  .admin-recorder-profile-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .header-shell { grid-template-columns: minmax(170px, 1fr) auto; gap: 18px; }
  .service-status { display: none; }
  .hero { grid-template-columns: 1fr 250px; padding: 42px; }
  .action-row { grid-template-columns: minmax(210px, 1fr) 120px minmax(200px, 1fr); }
  .duration, .actor-profile, time { margin-left: 57px; }
  .level-card { grid-template-columns: 45px 52px 1fr 90px; }
  .level-xp, .level-activity { grid-column: span 2; }
  .user-toolbar { grid-template-columns: minmax(220px, 1fr) repeat(2, minmax(130px, .7fr)); }
  .user-total { justify-items: start; }
  .user-card { grid-template-columns: minmax(220px, 1fr) minmax(140px, .8fr); }
  .user-stats, .user-meta { grid-column: 1 / -1; text-align: left; }
  .deban-grid, .recruitment-layout { grid-template-columns: 1fr; }
  .home-top-levels { grid-template-columns: 1fr; }
  .profile-community-stats { grid-template-columns: repeat(3, 1fr); }
  .live-moderators-panel { grid-template-columns: 1fr; }
  .account-layout { grid-template-columns: 1fr; }
  .account-intro { min-height: 480px; border-right: 0; border-bottom: 1px solid var(--line); }
  .auth-card { min-height: 560px; }
  .member-dashboard { grid-template-columns: 180px minmax(0, 1fr); gap: 15px; }
  .messenger-grid { grid-template-columns: minmax(220px, .9fr) minmax(0, 1.3fr); }
  .messenger-profile-panel { grid-column: 1 / -1; min-height: 190px; }
  .messenger-settings { grid-template-columns: 1fr 1fr; }
  .messenger-settings-copy { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .site-header { height: 72px; padding: 0 16px; }
  .header-shell { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
  .nav-toggle {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 0 13px;
    border: 1px solid var(--line);
    border-radius: 11px;
    color: #dfe7f6;
    background: #101929;
    font-size: 11px;
    font-weight: 850;
  }
  .nav-toggle-lines { width: 16px; height: 14px; display: grid; align-content: center; gap: 5px; }
  .nav-toggle-lines i { width: 16px; height: 1.5px; display: block; border-radius: 99px; background: currentColor; transition: transform .2s ease, width .2s ease; }
  .nav-open .nav-toggle-lines i:first-child { transform: translateY(3.25px) rotate(45deg); }
  .nav-open .nav-toggle-lines i:last-child { transform: translateY(-3.25px) rotate(-45deg); }
  .main-nav {
    position: fixed;
    top: 84px;
    right: 14px;
    left: 14px;
    z-index: 32;
    max-height: calc(100vh - 100px);
    display: grid;
    align-content: start;
    gap: 6px;
    padding: 12px;
    overflow: auto;
    visibility: hidden;
    opacity: 0;
    border-color: var(--line-strong);
    border-radius: 18px;
    background: rgba(9, 14, 25, .985);
    box-shadow: 0 30px 90px rgba(0,0,0,.56);
    transform: translateY(-10px) scale(.985);
    transform-origin: 50% 0;
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  }
  .nav-open .main-nav { visibility: visible; opacity: 1; transform: translateY(0) scale(1); }
  .nav-direct, .nav-account, .nav-group-trigger { width: 100%; min-height: 48px; justify-content: flex-start; padding: 0 14px; font-size: 13px; }
  .nav-group-trigger .nav-chevron { margin-left: auto; margin-right: 6px; }
  .nav-group { width: 100%; }
  .nav-dropdown {
    position: static;
    width: 100%;
    max-height: 0;
    padding: 0 7px;
    overflow: hidden;
    visibility: visible;
    opacity: 1;
    border: 0;
    border-radius: 12px;
    background: rgba(2, 6, 13, .34);
    box-shadow: none;
    transform: none;
    transition: max-height .25s ease, padding .25s ease, margin .25s ease;
  }
  .nav-group.open .nav-dropdown { max-height: 320px; margin-top: 5px; padding: 8px 7px; transform: none; }
  .nav-dropdown > p { display: none; }
  .nav-dropdown a { min-height: 56px; }
  .nav-account { margin: 3px 0 0; justify-content: center; }
  .nav-scrim {
    position: fixed;
    inset: 0;
    z-index: 29;
    display: block;
    visibility: hidden;
    opacity: 0;
    border: 0;
    background: rgba(1, 4, 9, .68);
    backdrop-filter: blur(5px);
    transition: opacity .2s ease, visibility .2s ease;
  }
  .nav-open .nav-scrim { visibility: visible; opacity: 1; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 760px) {
  .site-header { padding: 0 12px; }
  .brand { justify-self: start; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-mark img { width: 33px; height: 33px; }
  .main-nav { right: 10px; left: 10px; }
  main { width: min(100% - 22px, 1320px); padding-top: 24px; }
  .hero { min-height: 0; grid-template-columns: 1fr; padding: 28px 22px; }
  .hero-logo { width: 180px; grid-row: 1; }
  .hero-actions { flex-direction: column; }
  .stats, .home-grid, .profile-stats, .profile-history { grid-template-columns: 1fr 1fr; }
  .filters { grid-template-columns: 1fr 1fr; }
  .search-field { grid-column: 1 / -1; }
  .page-heading { min-height: 150px; padding: 24px; }
  .page-symbol { width: 62px; height: 62px; }
  .action-row { display: flex; flex-wrap: wrap; }
  .identity, .reason { width: 100%; }
  .duration, .actor-profile, time { margin-left: 0; }
  .level-toolbar { grid-template-columns: 1fr; }
  .level-toolbar > div { justify-items: start; }
  .user-toolbar { grid-template-columns: 1fr 1fr; }
  .user-search, .user-total { grid-column: 1 / -1; }
  .level-card { grid-template-columns: 40px 48px 1fr; }
  .level-status { grid-column: 1; grid-row: 2; display: grid; }
  .level-xp, .level-activity { grid-column: 2 / -1; text-align: left; }
  .site-footer { grid-template-columns: 1fr; text-align: left; }
  .site-footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .messenger-settings { grid-template-columns: 1fr; }
  .messenger-settings button { width: 100%; }
  .top-levels-panel, .top-donors-panel, .recent-panel { padding: 20px; }
  .top-levels-head { align-items: flex-start; flex-direction: column; }
  .profile-level-summary { grid-template-columns: auto 1fr; }
  .profile-xp-block { grid-column: 1 / -1; }
  .live-moderators-panel { padding: 18px; }
  .live-moderators-head { align-items: flex-end; }
  .home-moderators { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .account-intro { min-height: 430px; padding: 46px 32px 34px; }
  .account-intro h1 { font-size: 46px; }
  .account-benefits { grid-template-columns: repeat(3, 1fr); }
  .account-benefits li { align-items: flex-start; }
  .auth-card { min-height: 540px; padding: 42px 32px; }
  .messenger-dialog { height: min(860px, calc(100dvh - 16px)); width: min(100%, calc(100vw - 16px)); padding: 14px; }
  .messenger-grid { grid-template-columns: 1fr; grid-template-rows: auto minmax(360px, 1fr) auto; overflow: auto; }
  .messenger-panel { min-height: 220px; }
  .messenger-thread-panel { min-height: 420px; }
  .messenger-profile-facts, .messenger-profile-stats { grid-template-columns: 1fr; }
  .member-profile-hero { grid-template-columns: 1fr; align-items: start; min-height: 0; }
  .member-profile-facts,
  .member-profile-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .member-profile-hero h1 { font-size: 36px; }
}
@media (max-width: 480px) {
  .admin-level-config-form,
  .admin-shop-builder { grid-template-columns: 1fr; }
  .admin-level-config-form .admin-level-config-wide { grid-column: 1; }
  .stats, .home-grid, .profile-stats, .profile-history, .filters, .user-toolbar, .user-card, .user-stats, .deban-search-form, .deban-banned-card, .deban-appeal-head, .deban-reply-form > div, .recruitment-card-head { grid-template-columns: 1fr; }
  .profile-modal-card { width: min(100%, calc(100vw - 16px)); max-height: calc(100dvh - 16px); padding: 16px; border-radius: 18px; }
  .profile-modal-head { grid-template-columns: 1fr; justify-items: center; gap: 12px; padding: 44px 0 18px; text-align: center; }
  .profile-modal-head > div { justify-items: center; }
  .profile-avatar-frame { width: 96px; height: 96px; }
  .profile-claim-badge { margin-inline: auto; }
  .profile-level-summary { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .profile-xp-block { width: 100%; }
  .profile-xp-block > span { flex-wrap: wrap; justify-content: center; }
  .search-field { grid-column: auto; }
  .hero h1 { font-size: 38px; }
  .page-heading p:last-child, .page-symbol { display: none; }
  .profile-community-stats { grid-template-columns: repeat(2, 1fr); }
  .home-moderators { grid-template-columns: 1fr; }
  .deban-banned-card button, .deban-reply-form button { width: 100%; }
  .deban-appeal-head { grid-template-columns: 42px minmax(0, 1fr); }
  .deban-appeal-head img { width: 42px; height: 42px; }
  .deban-appeal-state { grid-column: 2; justify-content: flex-start; }
  .deban-status { width: fit-content; }
  .recruitment-card-head { grid-template-columns: 1fr; }
  .recruitment-card-state { grid-column: auto; justify-content: flex-start; }
  .recruitment-status { width: fit-content; }
  .recruitment-forum-post { grid-template-columns: 1fr; }
  .recruitment-forum-profile { grid-template-columns: auto minmax(0, 1fr); justify-items: start; align-items: center; border-right: 0; border-bottom: 1px solid rgba(129,158,214,.14); text-align: left; }
  .recruitment-profile-avatar-shell { width: 64px; height: 64px; }
  .messenger-head { align-items: flex-start; padding-right: 44px; }
  .messenger-head-actions { position: absolute; top: 12px; right: 12px; }
  .messenger-request,
  .messenger-list-item,
  .messenger-member-card { grid-template-columns: 38px minmax(0, 1fr); }
  .messenger-request > span:last-child,
  .messenger-member-card > button,
  .messenger-thread-meta { grid-column: 2; justify-self: stretch; }
  .messenger-message { max-width: 92%; }
  .member-profile-facts,
  .member-profile-stats,
  .member-profile-tiktok article,
  .member-profile-feed article { grid-template-columns: 1fr; }
  .member-profile-avatar { width: 118px; height: 118px; justify-self: start; }
  .member-profile-avatar .messenger-avatar { width: 94px; height: 94px; }
  .recruitment-profile-identity { justify-items: start; }
  .recruitment-profile-stats-wrap { grid-column: 1 / -1; }
  .recruitment-profile-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .recruitment-profile-flags, .recruitment-profile-accounts { justify-content: flex-start; justify-items: start; }
  .section-head-actions, .recruitment-actions { justify-content: stretch; }
  .recruitment-actions button { width: 100%; }
  .recruitment-modal-card { width: min(100%, calc(100vw - 16px)); max-height: calc(100dvh - 16px); padding: 16px; border-radius: 14px; }
  .recruitment-modal-head { padding: 44px 0 14px; }
  .recruitment-modal-grid, .admin-recruitment-grid { grid-template-columns: 1fr; }
  .admin-recruitment-grid .admin-edit-wide { grid-column: auto; }
  .recruitment-account-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .recruitment-decision-form > div { justify-content: stretch; }
  .recruitment-decision-form button, .recruitment-comment-form button { width: 100%; }
  .deban-closed-notice { align-items: stretch; flex-direction: column; }
  .deban-reopen-button { width: 100%; }
  .account-layout { border-radius: 11px; }
  .account-intro { min-height: 0; padding: 38px 22px; }
  .account-intro h1 { font-size: 38px; }
  .account-intro > div > p:last-child { font-size: 14px; }
  .account-benefits { grid-template-columns: 1fr; }
  .auth-card { min-height: 520px; padding: 34px 20px; }
  .auth-form-grid, .auth-member-grid { grid-template-columns: 1fr; }
  .auth-member-head { grid-template-columns: 58px minmax(0, 1fr); }
  .auth-avatar-editor { width: 64px; height: 64px; }
  .auth-avatar-editor > span, .auth-avatar-editor > img:not(.auth-avatar-frame-image) { width: 58px; height: 58px; border-radius: 50%; }
  .auth-avatar-editor > .auth-avatar-frame-image { top: calc(50% + var(--profile-frame-site-offset-y, 0%)); left: calc(50% + var(--profile-frame-site-offset-x, 0%)); width: var(--profile-frame-fit-scale, var(--profile-frame-scale, 138%)); height: var(--profile-frame-fit-scale, var(--profile-frame-scale, 138%)); }
  .auth-verified { grid-column: 1 / -1; width: fit-content; }
  .account-layout.member-active .auth-card { padding: 36px 20px; }
  .member-dashboard { grid-template-columns: 1fr; }
  .member-sidebar { position: static; grid-template-columns: repeat(6, minmax(120px, 1fr)); overflow-x: auto; }
  .member-sidebar button { min-width: 132px; }
  .member-panel-title { align-items: flex-start; flex-direction: column; }
  .member-panel-title > small { text-align: left; }
  .auth-profile-title { align-items: flex-start; flex-direction: column; }
  .profile-upload-grid { grid-template-columns: 1fr; }
  .tiktok-unlinked-copy { align-items: stretch; flex-direction: column; }
  .tiktok-button { justify-content: space-between; }
  .tiktok-profile-form > div { grid-template-columns: 1fr; }
  .tiktok-proof-stage:not([hidden]) { grid-template-columns: 1fr; }
  .team-admin-summary { grid-template-columns: auto 1fr; }
  .team-admin-summary button { grid-column: 1 / -1; }
  .tiktok-proof-actions { align-items: stretch; flex-direction: column; }
  .tiktok-proof-actions > * { width: 100%; justify-content: center; }
  .tiktok-linked:not([hidden]) { grid-template-columns: 50px minmax(0, 1fr); }
  .tiktok-linked .auth-secondary { grid-column: 1 / -1; }
  .protected-accounts-head { align-items: flex-start; }
  .protected-account-form > div { grid-template-columns: 1fr; }
  .protected-account-form .auth-primary { min-width: 0; }
  .protected-proof-stage { grid-template-columns: 1fr; }
  .cosmetic-current-card { grid-template-columns: 1fr; }
  .cosmetic-grid { grid-template-columns: 1fr; }
  .shop-wallet { grid-template-columns: auto minmax(0, 1fr); }
  .shop-wallet > button { grid-column: 1 / -1; width: 100%; justify-content: center; }
  .shop-rules, .shop-grid { grid-template-columns: 1fr; }
  .shop-item { grid-template-columns: 56px minmax(0, 1fr); }
  .shop-item > button { grid-column: 1 / -1; width: 100%; }
  .shop-catalog-section .shop-item { grid-template-columns: 1fr; }
  .shop-catalog-section .shop-item > button { grid-column: auto; }
  .admin-recorder-config,
  .admin-recorder-target-form,
  .admin-recorder-details,
  .admin-recorder-profile-stats { grid-template-columns: 1fr; }
  .admin-recorder-config .admin-edit-wide { grid-column: auto; }
}


/* PayPal token recharges */
.paypal-token-recharge {
  display: grid;
  gap: 20px;
  margin: 20px 0;
  padding: clamp(20px, 3vw, 30px);
  overflow: hidden;
  border: 1px solid rgba(65, 116, 255, .25);
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0, rgba(45, 109, 246, .18), transparent 38%),
    linear-gradient(145deg, rgba(11, 20, 42, .98), rgba(8, 13, 28, .98));
  box-shadow: 0 22px 60px rgba(1, 8, 24, .28);
}
.paypal-recharge-head,
.admin-paypal-orders-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.paypal-recharge-head h4 { margin: 3px 0 7px; font-size: clamp(21px, 3vw, 28px); }
.paypal-recharge-head p:last-child,
.paypal-token-recharge footer,
.admin-paypal-orders-head small { color: var(--muted); }
.paypal-recharge-head > span,
#admin-paypal-status {
  flex: 0 0 auto;
  padding: 7px 11px;
  border: 1px solid rgba(79, 147, 255, .3);
  border-radius: 999px;
  color: #8dbaff;
  background: rgba(27, 85, 190, .15);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.paypal-recharge-checkout { display: grid; gap: 15px; }
.paypal-recharge-quantity { display: grid; gap: 7px; color: var(--muted); font-size: 13px; font-weight: 700; }
.paypal-recharge-quantity input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 13px;
  color: #fff;
  background: rgba(255, 255, 255, .055);
  font: inherit;
  font-size: 18px;
  font-weight: 800;
}
.paypal-recharge-quantity input:focus {
  outline: 2px solid rgba(83, 149, 255, .55);
  outline-offset: 2px;
}
.paypal-recharge-presets { display: flex; flex-wrap: wrap; gap: 8px; }
.paypal-recharge-presets button {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  color: #dfeaff;
  background: rgba(255, 255, 255, .05);
  cursor: pointer;
  font-weight: 800;
}
.paypal-recharge-presets button:hover,
.paypal-recharge-presets button.is-active {
  border-color: rgba(76, 145, 255, .65);
  color: #fff;
  background: rgba(39, 105, 220, .25);
}
.paypal-recharge-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.paypal-recharge-summary > span {
  display: grid;
  gap: 5px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 13px;
  background: rgba(255, 255, 255, .035);
}
.paypal-recharge-summary small { color: var(--muted); }
.paypal-recharge-summary strong { font-size: 21px; }
.paypal-recharge-buttons { min-height: 45px; }
.paypal-recharge-message,
.paypal-recharge-unavailable {
  padding: 13px 15px;
  border: 1px solid rgba(255, 184, 77, .3);
  border-radius: 12px;
  color: #ffd592;
  background: rgba(129, 75, 0, .16);
}
.paypal-recharge-message.success {
  border-color: rgba(73, 207, 137, .32);
  color: #8ff0bb;
  background: rgba(11, 101, 59, .18);
}
.paypal-recharge-unavailable { display: grid; gap: 4px; }
.paypal-recharge-unavailable[hidden] { display: none; }
.paypal-recharge-unavailable span { color: var(--muted); font-size: 13px; }
.admin-paypal-panel { scroll-margin-top: 100px; }
.admin-paypal-form { margin-top: 18px; }
.admin-paypal-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}
.admin-paypal-orders-head {
  align-items: center;
  margin: 28px 0 12px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.admin-paypal-orders-head > div { display: grid; gap: 4px; }
.admin-paypal-orders-head > span { color: var(--muted); font-size: 13px; }
.admin-paypal-orders { display: grid; gap: 9px; }
.admin-paypal-order {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(120px, .6fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 13px;
  background: rgba(255, 255, 255, .025);
}
.admin-paypal-order > div { display: grid; gap: 3px; min-width: 0; }
.admin-paypal-order small { color: var(--muted); overflow-wrap: anywhere; }
.admin-paypal-order > strong { color: #9fc3ff; text-align: right; }
.admin-paypal-order > span {
  padding: 5px 8px;
  border-radius: 999px;
  color: #ffd691;
  background: rgba(133, 81, 0, .2);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.admin-paypal-order > span[data-state="completed"] {
  color: #86efb5;
  background: rgba(12, 105, 61, .2);
}

@media (max-width: 720px) {
  .paypal-recharge-head,
  .admin-paypal-orders-head { align-items: stretch; flex-direction: column; }
  .paypal-recharge-head > span,
  #admin-paypal-status { align-self: flex-start; }
  .paypal-recharge-summary { grid-template-columns: 1fr; }
  .admin-paypal-actions > button { width: 100%; }
  .admin-paypal-order { grid-template-columns: 1fr; }
  .admin-paypal-order > strong { text-align: left; }
  .admin-paypal-order > span { justify-self: start; }
}


/* PayPal Checkout lives exclusively in the public Boutique. */
.shop-paypal-checkout {
  position: relative;
  margin: 24px 0;
  border-color: rgba(70, 145, 255, .34);
}
.shop-paypal-checkout::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  content: "";
  background: linear-gradient(180deg, #65a7ff, #2864d7 55%, #162f91);
}
.shop-paypal-checkout .paypal-recharge-head h2 {
  margin: 3px 0 7px;
  color: #fff;
  font-size: clamp(23px, 3vw, 31px);
  line-height: 1.12;
}
.shop-paypal-checkout .paypal-recharge-checkout {
  grid-template-columns: minmax(0, .9fr) minmax(310px, 1.1fr);
  align-items: stretch;
  gap: clamp(16px, 2.5vw, 28px);
}
.shop-paypal-settings,
.shop-paypal-payment {
  display: grid;
  align-content: start;
  gap: 15px;
}
.shop-paypal-payment {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 17px;
  background: rgba(255, 255, 255, .04);
}
.shop-paypal-payment-head {
  display: flex;
  align-items: center;
  gap: 11px;
}
.shop-paypal-payment-head > span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(145deg, #0070e0, #153d8a);
  box-shadow: 0 9px 22px rgba(0, 76, 153, .3);
  font-size: 22px;
  font-weight: 900;
  font-style: italic;
}
.shop-paypal-payment-head > div { display: grid; gap: 2px; }
.shop-paypal-payment-head strong { font-size: 16px; }
.shop-paypal-payment-head small { color: var(--muted); }
.shop-paypal-checkout footer {
  padding-top: 2px;
  font-size: 12px;
}

@media (max-width: 840px) {
  .shop-paypal-checkout .paypal-recharge-checkout { grid-template-columns: 1fr; }
}


/* Fixed PayPal token packs in the Boutique catalog. */
.shop-item.token-pack-item {
  border-color: rgba(245, 178, 35, .3);
  background:
    radial-gradient(circle at 85% 12%, rgba(255, 193, 60, .18), transparent 35%),
    linear-gradient(155deg, rgba(19, 28, 49, .98), rgba(8, 14, 29, .99));
}
.shop-item.token-pack-item .shop-item-preview {
  min-height: 190px;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 190, 55, .24), transparent 45%),
    linear-gradient(145deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01));
}
.shop-token-pack-preview {
  position: relative;
  display: grid;
  place-items: center;
  gap: 3px;
  min-height: 155px;
  text-align: center;
}
.shop-token-pack-preview img {
  width: 94px;
  height: 94px;
  object-fit: contain;
  filter: drop-shadow(0 16px 24px rgba(241, 158, 28, .35));
}
.shop-token-pack-preview strong {
  color: #fff2c7;
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1;
  text-shadow: 0 5px 22px rgba(238, 157, 29, .45);
}
.shop-token-pack-preview small {
  color: #f7bd49;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .18em;
}
.shop-item.token-pack-item .shop-item-price {
  color: #ffd66f;
  font-size: 25px;
}
.shop-token-pack-payment {
  display: grid;
  gap: 8px;
  min-height: 68px;
  padding-top: 3px;
}
.shop-token-paypal-button {
  min-height: 42px;
  color: var(--muted);
  font-size: 12px;
}
.shop-token-paypal-button > button {
  width: 100%;
  min-height: 42px;
}
.shop-token-payment-state {
  min-height: 16px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}
.shop-grid.is-list .token-pack-item .shop-item-preview { min-height: 130px; }

@media (max-width: 720px) {
  .shop-item.token-pack-item .shop-item-preview { min-height: 165px; }
  .shop-token-pack-preview { min-height: 135px; }
  .shop-token-pack-preview img { width: 82px; height: 82px; }
}


/* PayPal capture verification and invoice archive. */
.admin-paypal-order-state {
  display: grid;
  justify-items: end;
  gap: 8px;
}
.admin-paypal-order-state > span {
  padding: 5px 8px;
  border-radius: 999px;
  color: #ffd691;
  background: rgba(133, 81, 0, .2);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.admin-paypal-order-state > span[data-state="completed"] {
  color: #86efb5;
  background: rgba(12, 105, 61, .2);
}
.admin-paypal-order-actions {
  display: grid;
  justify-items: end;
  gap: 6px;
}
.admin-paypal-order-actions small {
  font-size: 11px;
}
.admin-paypal-invoice-link,
.admin-paypal-verify {
  border: 1px solid rgba(94, 162, 255, .4);
  border-radius: 9px;
  padding: 7px 10px;
  color: #dbeaff;
  background: rgba(41, 102, 177, .18);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.admin-paypal-verify:disabled {
  cursor: wait;
  opacity: .6;
}
@media (max-width: 720px) {
  .admin-paypal-order-state,
  .admin-paypal-order-actions {
    justify-items: start;
  }
}

.admin-paypal-order small.admin-paypal-confirmed {
  color: #86efb5;
  font-weight: 800;
}

/* Jeu live · arbre de compétences missiles */
.member-tab-icon.icon-live-game { color: #38bdf8; }
.member-tab-icon.icon-live-game svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.live-game-skill-panel { --skill-cyan: #22d3ee; --skill-violet: #a855f7; --skill-orange: #f59e0b; overflow: hidden; }
.live-game-skill-hero { align-items: center; background: radial-gradient(circle at 78% 25%, rgba(34,211,238,.2), transparent 27%), radial-gradient(circle at 18% 120%, rgba(168,85,247,.2), transparent 38%), linear-gradient(135deg, rgba(5,13,31,.98), rgba(4,19,38,.96)); border: 1px solid rgba(56,189,248,.28); border-radius: 22px; display: flex; justify-content: space-between; min-height: 190px; overflow: hidden; padding: 28px 32px; position: relative; }
.live-game-skill-hero::before { background-image: linear-gradient(rgba(56,189,248,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(56,189,248,.05) 1px, transparent 1px); background-size: 28px 28px; content: ''; inset: 0; mask-image: linear-gradient(90deg,#000,transparent 82%); pointer-events: none; position: absolute; }
.live-game-skill-hero-copy { max-width: 610px; position: relative; z-index: 1; }
.live-game-skill-hero-copy h3 { font-size: clamp(1.65rem,3vw,2.35rem); margin: 5px 0 8px; }
.live-game-skill-hero-copy > p:last-child { color: #94a3b8; line-height: 1.65; margin: 0; }
.live-game-skill-core { filter: drop-shadow(0 0 26px rgba(34,211,238,.5)); height: 132px; margin-right: 25px; position: relative; transform: rotate(45deg); width: 132px; }
.live-game-skill-core::before,.live-game-skill-core::after { border: 2px solid rgba(34,211,238,.65); content: ''; inset: 9px; position: absolute; }
.live-game-skill-core::after { animation: liveGameSkillCoreSpin 8s linear infinite; border-color: rgba(168,85,247,.8); inset: 25px; }
.live-game-skill-core span { background: radial-gradient(circle,#fff 0 5%,#22d3ee 18%,#2563eb 44%,#111827 47%); box-shadow: 0 0 35px #22d3ee; inset: 37px; position: absolute; }
.live-game-skill-core i,.live-game-skill-core b { background: #22d3ee; box-shadow: 0 0 18px #22d3ee; height: 3px; left: -8px; position: absolute; right: -8px; top: 50%; }
.live-game-skill-core b { left: 50%; top: -8px; bottom: -8px; height: auto; width: 3px; }
@keyframes liveGameSkillCoreSpin { to { transform: rotate(360deg); } }
.live-game-skill-summary { display: grid; gap: 12px; grid-template-columns: repeat(4,minmax(0,1fr)); margin: 16px 0; }
.live-game-skill-summary article { background: linear-gradient(145deg,rgba(9,21,42,.96),rgba(7,14,29,.96)); border: 1px solid rgba(71,85,105,.42); border-radius: 16px; min-height: 106px; padding: 18px; }
.live-game-skill-summary small { color: #64748b; display: block; font-size: .67rem; font-weight: 800; letter-spacing: .12em; }
.live-game-skill-summary strong { color: #f8fafc; display: block; font-size: 1.7rem; margin: 7px 0 2px; }
.live-game-skill-summary article:first-child strong { color: #67e8f9; text-shadow: 0 0 18px rgba(34,211,238,.55); }
.live-game-skill-summary span { color: #64748b; font-size: .76rem; }
.live-game-skill-toolbar { align-items: center; background: rgba(6,15,30,.78); border: 1px solid rgba(71,85,105,.35); border-radius: 15px; display: flex; justify-content: space-between; margin-bottom: 16px; padding: 14px 16px; }
.live-game-skill-toolbar strong,.live-game-skill-toolbar span { display: block; }
.live-game-skill-toolbar span { color: #64748b; font-size: .75rem; margin-top: 3px; }
.live-game-skill-tree { background: radial-gradient(circle at 50% 8%,rgba(59,130,246,.12),transparent 40%),linear-gradient(180deg,rgba(3,10,23,.96),rgba(3,8,18,.98)); border: 1px solid rgba(56,189,248,.18); border-radius: 22px; display: grid; gap: 26px; grid-template-columns: repeat(2,minmax(0,1fr)); min-height: 540px; overflow: hidden; padding: 28px; position: relative; }
.live-game-skill-tree::before { background: linear-gradient(180deg,rgba(34,211,238,.14),rgba(168,85,247,.08)); content: ''; height: 100%; left: 50%; opacity: .25; position: absolute; top: 0; width: 1px; }
.live-game-skill-branch { position: relative; }
.live-game-skill-branch > header { align-items: center; display: flex; gap: 12px; margin-bottom: 22px; }
.live-game-skill-branch > header i { background: currentColor; border-radius: 99px; box-shadow: 0 0 16px currentColor; height: 8px; width: 8px; }
.live-game-skill-branch > header strong { color: #e2e8f0; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.live-game-skill-branch[data-branch="propulsion"] { color: var(--skill-cyan); }
.live-game-skill-branch[data-branch="precision"] { color: var(--skill-violet); }
.live-game-skill-nodes { display: grid; gap: 30px; }
.live-game-skill-node { align-items: center; background: linear-gradient(145deg,rgba(12,25,47,.98),rgba(7,14,28,.98)); border: 1px solid color-mix(in srgb,currentColor 38%,#243047); border-radius: 18px; color: inherit; display: grid; gap: 14px; grid-template-columns: 86px minmax(0,1fr); min-height: 132px; padding: 16px; position: relative; transition: border-color .2s,box-shadow .2s,transform .2s; }
.live-game-skill-node + .live-game-skill-node::before { background: linear-gradient(currentColor,rgba(71,85,105,.5)); box-shadow: 0 0 10px currentColor; content: ''; height: 30px; left: 57px; opacity: .6; position: absolute; top: -31px; width: 2px; }
.live-game-skill-node.can-upgrade { box-shadow: 0 0 25px color-mix(in srgb,currentColor 22%,transparent),inset 0 0 18px color-mix(in srgb,currentColor 6%,transparent); cursor: pointer; }
.live-game-skill-node.can-upgrade:hover { border-color: currentColor; transform: translateY(-3px); }
.live-game-skill-node.locked { color: #64748b; filter: saturate(.4); opacity: .7; }
.live-game-skill-node.maxed { border-color: color-mix(in srgb,currentColor 75%,#fff); box-shadow: inset 0 0 26px color-mix(in srgb,currentColor 12%,transparent); }
.live-game-skill-node-icon { background: #020617; border: 1px solid color-mix(in srgb,currentColor 55%,#334155); border-radius: 17px; height: 82px; overflow: hidden; position: relative; width: 82px; }
.live-game-skill-node-icon img { display: block; height: 100%; object-fit: cover; width: 100%; }
.live-game-skill-node-icon::after { border: 1px solid rgba(255,255,255,.14); border-radius: inherit; content: ''; inset: 4px; position: absolute; }
.live-game-skill-node-copy { min-width: 0; }
.live-game-skill-node-head { align-items: flex-start; display: flex; gap: 10px; justify-content: space-between; }
.live-game-skill-node-head strong { color: #f8fafc; font-size: .96rem; }
.live-game-skill-node-rank { background: rgba(2,6,23,.8); border: 1px solid currentColor; border-radius: 999px; flex: none; font-size: .68rem; font-weight: 800; padding: 4px 8px; }
.live-game-skill-node-copy p { color: #94a3b8; font-size: .76rem; line-height: 1.45; margin: 6px 0 10px; }
.live-game-skill-node-meta { align-items: center; display: flex; flex-wrap: wrap; gap: 8px; }
.live-game-skill-node-meta span { background: rgba(15,23,42,.88); border: 1px solid rgba(71,85,105,.45); border-radius: 7px; color: #cbd5e1; font-size: .67rem; padding: 5px 7px; }
.live-game-skill-node-meta span:first-child { color: currentColor; }
.live-game-skill-pips { display: flex; gap: 4px; margin-top: 10px; }
.live-game-skill-pips i { background: #172033; border-radius: 99px; height: 4px; overflow: hidden; width: 24px; }
.live-game-skill-pips i.active { background: currentColor; box-shadow: 0 0 8px currentColor; }
.live-game-skill-effects { align-items: center; background: linear-gradient(100deg,rgba(9,22,42,.98),rgba(12,12,34,.98)); border: 1px solid rgba(168,85,247,.25); border-radius: 18px; display: grid; gap: 22px; grid-template-columns: minmax(220px,.7fr) 1.5fr; margin-top: 16px; padding: 20px; }
.live-game-skill-effects h4 { margin: 3px 0 0; }
.live-game-skill-effects dl { display: grid; gap: 8px; grid-template-columns: repeat(3,minmax(0,1fr)); margin: 0; }
.live-game-skill-effects dl div { background: rgba(2,8,23,.7); border: 1px solid rgba(71,85,105,.35); border-radius: 10px; padding: 9px 10px; }
.live-game-skill-effects dt { color: #64748b; font-size: .64rem; text-transform: uppercase; }
.live-game-skill-effects dd { align-items: center; color: #67e8f9; display: flex; flex-wrap: wrap; font-size: .9rem; font-weight: 800; gap: 6px; margin: 4px 0 0; }
.live-game-effect-total { color: #67e8f9; }
.live-game-effect-equipment {
  background: linear-gradient(135deg, rgba(239,68,68,.2), rgba(190,24,93,.14));
  border: 1px solid rgba(248,113,113,.5);
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(239,68,68,.12);
  color: #ff6b7d;
  display: inline-flex;
  font-size: .66rem;
  font-weight: 950;
  letter-spacing: .015em;
  line-height: 1;
  padding: 4px 7px;
  white-space: nowrap;
}
.live-game-skill-effects dl div.has-equipment-bonus { border-color: rgba(248,113,113,.3); }
@media (max-width: 900px) { .live-game-skill-summary { grid-template-columns: repeat(2,minmax(0,1fr)); } .live-game-skill-tree { grid-template-columns: 1fr; } .live-game-skill-tree::before { display:none; } .live-game-skill-effects { grid-template-columns:1fr; } }
@media (max-width: 620px) { .live-game-skill-hero { padding:22px; } .live-game-skill-core { display:none; } .live-game-skill-summary { grid-template-columns:1fr 1fr; } .live-game-skill-toolbar { align-items:stretch; flex-direction:column; gap:12px; } .live-game-skill-tree { padding:18px 12px; } .live-game-skill-node { grid-template-columns:68px minmax(0,1fr); padding:12px; } .live-game-skill-node-icon { height:64px; width:64px; } .live-game-skill-node + .live-game-skill-node::before { left:43px; } .live-game-skill-effects dl { grid-template-columns:repeat(2,minmax(0,1fr)); } }

/* Skill tree economy, rarities and mobility branch v2 */
.live-game-skill-summary{grid-template-columns:repeat(5,minmax(0,1fr))}
.live-game-skill-summary article.is-token{border-color:rgba(251,191,36,.38);background:radial-gradient(circle at 85% 10%,rgba(245,158,11,.16),transparent 45%),linear-gradient(145deg,rgba(22,20,27,.96),rgba(7,14,29,.96))}
.live-game-skill-summary article.is-token strong{color:#fbbf24;text-shadow:0 0 18px rgba(245,158,11,.5)}
.live-game-skill-tree{grid-template-columns:repeat(3,minmax(0,1fr))}
.live-game-skill-tree::before{background:linear-gradient(90deg,transparent,rgba(34,211,238,.12),rgba(168,85,247,.12),rgba(45,212,191,.14),transparent);height:1px;left:0;top:92px;width:100%}
.live-game-skill-branch[data-branch="mobility"]{color:#2dd4bf}
.live-game-skill-branch[data-branch="mobility"] .live-game-skill-node-icon{border-color:rgba(45,212,191,.52);box-shadow:0 0 24px rgba(20,184,166,.17)}
.live-game-skill-rarity{align-self:flex-start;border:1px solid rgba(100,116,139,.35);border-radius:999px;color:#94a3b8;font-size:.6rem;font-weight:900;letter-spacing:.09em;padding:3px 8px;text-transform:uppercase;width:max-content}
.live-game-skill-rarity[data-rarity="rare"]{border-color:rgba(56,189,248,.5);color:#38bdf8;box-shadow:0 0 12px rgba(14,165,233,.15)}
.live-game-skill-rarity[data-rarity="epic"]{border-color:rgba(192,132,252,.55);color:#c084fc;box-shadow:0 0 14px rgba(168,85,247,.2)}
.live-game-skill-rarity[data-rarity="legendary"]{border-color:rgba(251,191,36,.62);color:#fbbf24;box-shadow:0 0 16px rgba(245,158,11,.24)}
.live-game-skill-rarity[data-rarity="mythic"]{border-color:rgba(244,114,182,.68);color:#f472b6;box-shadow:0 0 18px rgba(236,72,153,.28)}
.live-game-skill-node.rarity-rare{border-color:rgba(56,189,248,.3)}
.live-game-skill-node.rarity-epic{border-color:rgba(168,85,247,.36)}
.live-game-skill-node.rarity-legendary{border-color:rgba(245,158,11,.42);background:radial-gradient(circle at 8% 12%,rgba(245,158,11,.1),transparent 35%),linear-gradient(145deg,rgba(10,22,42,.96),rgba(5,12,27,.98))}
.live-game-skill-node.rarity-mythic{border-color:rgba(236,72,153,.44);background:radial-gradient(circle at 8% 12%,rgba(236,72,153,.11),transparent 36%),linear-gradient(145deg,rgba(10,19,42,.96),rgba(7,10,30,.98))}
.live-game-skill-node-meta .is-met{border-color:rgba(45,212,191,.32);color:#5eead4}
.live-game-skill-node-meta .is-missing{border-color:rgba(244,63,94,.34);color:#fb7185}
@media(max-width:1250px){.live-game-skill-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.live-game-skill-tree{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.live-game-skill-tree{grid-template-columns:1fr}.live-game-skill-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Arbre de compétences · carte de branches v3 */
.live-game-skill-tree.skill-tree-map{--branch-attack:#ff5a47;--branch-precision:#4da3ff;--branch-mobility:#f7b733;background:radial-gradient(circle at 50% 25%,rgba(247,183,51,.1),transparent 16%),radial-gradient(circle at 15% 20%,rgba(255,71,71,.11),transparent 31%),radial-gradient(circle at 85% 20%,rgba(59,130,246,.12),transparent 31%),linear-gradient(rgba(68,91,125,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(68,91,125,.035) 1px,transparent 1px),linear-gradient(180deg,#050b16 0%,#060d1b 56%,#090d17 100%);background-size:auto,auto,auto,34px 34px,34px 34px,auto;display:grid;gap:76px 36px;grid-template-areas:"attack core precision" "mobility mobility mobility";grid-template-columns:minmax(0,1fr) 156px minmax(0,1fr);min-height:920px;overflow:hidden;padding:42px 36px 46px}
.live-game-skill-tree.skill-tree-map::before{background:radial-gradient(circle,rgba(247,183,51,.34),transparent 68%),repeating-radial-gradient(circle,transparent 0 58px,rgba(148,163,184,.055) 59px 60px);border:1px solid rgba(247,183,51,.12);border-radius:50%;height:470px;left:50%;opacity:1;pointer-events:none;top:132px;transform:translateX(-50%);width:470px}
.live-game-skill-map-core{align-self:start;display:grid;grid-area:core;height:156px;margin-top:78px;place-items:center;position:relative;width:156px;z-index:3}
.live-game-skill-map-core::before,.live-game-skill-map-core::after{border:1px solid rgba(247,183,51,.52);border-radius:50%;box-shadow:0 0 28px rgba(245,158,11,.15),inset 0 0 26px rgba(245,158,11,.1);content:"";inset:0;position:absolute}
.live-game-skill-map-core::after{animation:liveGameMapCore 18s linear infinite;border-color:transparent rgba(77,163,255,.72) transparent rgba(255,90,71,.72);inset:11px}
.live-game-skill-map-core>span{align-items:center;background:radial-gradient(circle at 50% 35%,#26344b,#0a1120 57%,#030711 60%);border:3px double rgba(247,183,51,.74);border-radius:50%;box-shadow:0 0 0 7px rgba(2,6,23,.92),0 0 0 8px rgba(247,183,51,.3),0 0 38px rgba(245,158,11,.25);display:flex;flex-direction:column;height:108px;justify-content:center;position:relative;width:108px}
.live-game-skill-map-core i{color:#fbbf24;font-size:2rem;font-style:normal;line-height:1;text-shadow:0 0 18px #f59e0b}.live-game-skill-map-core b{color:#f8e7bb;font-size:.61rem;letter-spacing:.12em;margin-top:7px}@keyframes liveGameMapCore{to{transform:rotate(360deg)}}
.live-game-skill-branch{z-index:2}.live-game-skill-branch[data-branch="propulsion"]{color:var(--branch-attack);grid-area:attack}.live-game-skill-branch[data-branch="precision"]{color:var(--branch-precision);grid-area:precision}.live-game-skill-branch[data-branch="mobility"]{color:var(--branch-mobility);grid-area:mobility}
.live-game-skill-branch>header{background:linear-gradient(90deg,color-mix(in srgb,currentColor 15%,transparent),rgba(3,8,20,.86));border:1px solid color-mix(in srgb,currentColor 48%,transparent);border-radius:13px;box-shadow:0 0 24px color-mix(in srgb,currentColor 12%,transparent);display:grid;gap:10px;grid-template-columns:38px 1fr auto;margin:0 0 30px;padding:10px 12px;position:relative}
.live-game-skill-branch>header::after{background:linear-gradient(90deg,currentColor,transparent);bottom:-17px;box-shadow:0 0 12px currentColor;content:"";height:2px;left:29px;opacity:.55;position:absolute;width:52%}.live-game-skill-branch[data-branch="precision"]>header{background:linear-gradient(270deg,color-mix(in srgb,currentColor 15%,transparent),rgba(3,8,20,.86))}.live-game-skill-branch[data-branch="precision"]>header::after{background:linear-gradient(270deg,currentColor,transparent);left:auto;right:29px}.live-game-skill-branch[data-branch="mobility"]>header{margin-left:auto;margin-right:auto;max-width:460px}.live-game-skill-branch[data-branch="mobility"]>header::after{background:linear-gradient(90deg,transparent,currentColor,transparent);left:10%;width:80%}
.live-game-skill-branch>header i{align-items:center;background:radial-gradient(circle,color-mix(in srgb,currentColor 30%,#fff),color-mix(in srgb,currentColor 30%,#07101f));border:1px solid currentColor;display:flex;font-size:1rem;height:34px;justify-content:center;width:34px}.live-game-skill-branch>header span{min-width:0}.live-game-skill-branch>header strong{color:#f8fafc;display:block;font-family:Georgia,"Times New Roman",serif;font-size:1.02rem;letter-spacing:.12em}.live-game-skill-branch>header small{color:#7f8ea5;display:block;font-size:.64rem;margin-top:3px}.live-game-skill-branch>header b{background:rgba(2,6,23,.78);border:1px solid currentColor;border-radius:999px;color:currentColor;font-size:.68rem;padding:5px 8px}
.live-game-skill-nodes{display:grid;gap:34px}.live-game-skill-branch[data-branch="mobility"] .live-game-skill-nodes{gap:30px;grid-template-columns:repeat(3,minmax(0,1fr))}
.live-game-skill-node{align-items:center;background:linear-gradient(135deg,color-mix(in srgb,currentColor 8%,transparent),transparent 35%),linear-gradient(145deg,rgba(10,20,37,.98),rgba(4,9,19,.98));border:1px solid color-mix(in srgb,currentColor 42%,#26334a);border-radius:12px;clip-path:polygon(0 11px,11px 0,calc(100% - 11px) 0,100% 11px,100% calc(100% - 11px),calc(100% - 11px) 100%,11px 100%,0 calc(100% - 11px));color:inherit;display:grid;gap:13px;grid-template-columns:70px minmax(0,1fr);min-height:148px;padding:14px;position:relative;text-align:left}
.live-game-skill-node::after{border:1px solid color-mix(in srgb,currentColor 18%,transparent);clip-path:inherit;content:"";inset:4px;pointer-events:none;position:absolute}.live-game-skill-node+.live-game-skill-node::before{background:linear-gradient(currentColor,color-mix(in srgb,currentColor 20%,#334155));box-shadow:0 0 10px currentColor;height:35px;left:49px;opacity:.62;top:-35px}.live-game-skill-branch[data-branch="propulsion"] .live-game-skill-node:nth-child(even){margin-left:38px}.live-game-skill-branch[data-branch="precision"] .live-game-skill-node:nth-child(even){margin-right:38px}.live-game-skill-branch[data-branch="precision"] .live-game-skill-node+.live-game-skill-node::before{left:auto;right:49px}.live-game-skill-branch[data-branch="mobility"] .live-game-skill-node+.live-game-skill-node::before{background:linear-gradient(90deg,color-mix(in srgb,currentColor 20%,#334155),currentColor);height:2px;left:-31px;top:50%;width:31px}
.live-game-skill-node-icon{background:radial-gradient(circle,color-mix(in srgb,currentColor 17%,#101827),#02050b 70%);border:2px solid color-mix(in srgb,currentColor 70%,#334155);border-radius:10px;box-shadow:0 0 20px color-mix(in srgb,currentColor 18%,transparent),inset 0 0 18px rgba(2,6,23,.72);height:68px;width:68px}.live-game-skill-node-icon::after{border-color:color-mix(in srgb,currentColor 25%,transparent);border-radius:7px}.live-game-skill-node-icon img{filter:drop-shadow(0 0 8px color-mix(in srgb,currentColor 58%,transparent))}.live-game-skill-node-head strong{font-size:.85rem;line-height:1.22;padding-right:3px}.live-game-skill-node-rank{font-size:.61rem;padding:3px 6px}
.live-game-skill-node-status{color:currentColor;display:block;font-size:.55rem;font-weight:900;letter-spacing:.12em;margin-bottom:5px}.live-game-skill-node-copy p{display:-webkit-box;font-size:.68rem;line-height:1.35;margin:5px 0 8px;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}.live-game-skill-rarity{font-size:.52rem;margin-top:5px;padding:2px 6px}.live-game-skill-node-meta{gap:5px;grid-column:1/-1}.live-game-skill-node-meta span{font-size:.57rem;padding:4px 5px}.live-game-skill-node-meta .is-token-cost{background:rgba(120,72,8,.25);border-color:rgba(251,191,36,.42);color:#fbbf24}.live-game-skill-node-meta .is-token-cost::before{content:"◈ ";font-size:.72rem}.live-game-skill-node-meta .is-point-cost::before{color:currentColor;content:"✦ "}.live-game-skill-pips{gap:3px;margin-top:7px}.live-game-skill-pips i{height:3px;max-width:18px;width:100%}
.live-game-skill-node-corner{align-items:center;background:#050a13;border:1px solid currentColor;border-radius:50%;box-shadow:0 0 14px color-mix(in srgb,currentColor 32%,transparent);color:currentColor;display:flex;font-size:.76rem;font-weight:900;height:24px;justify-content:center;position:absolute;right:8px;top:8px;transform:translate(48%,-48%);width:24px;z-index:4}.live-game-skill-node.can-upgrade{animation:liveGameSkillAvailable 2.2s ease-in-out infinite;border-color:currentColor}.live-game-skill-node.can-upgrade:hover{box-shadow:0 0 35px color-mix(in srgb,currentColor 34%,transparent),inset 0 0 24px color-mix(in srgb,currentColor 8%,transparent);transform:translateY(-4px) scale(1.01)}.live-game-skill-node.acquired{border-color:color-mix(in srgb,currentColor 70%,#fff);box-shadow:inset 0 0 24px color-mix(in srgb,currentColor 9%,transparent)}
.live-game-skill-node.locked{background:linear-gradient(145deg,rgba(11,16,27,.96),rgba(5,8,14,.98));color:#5f6b7d;filter:saturate(.22);opacity:.68}.live-game-skill-node.locked .live-game-skill-node-corner{font-size:0}.live-game-skill-node.locked .live-game-skill-node-corner::before{content:"🔒";filter:grayscale(1);font-size:.68rem}.live-game-skill-node.maxed{background:radial-gradient(circle at 15% 20%,color-mix(in srgb,currentColor 14%,transparent),transparent 44%),linear-gradient(145deg,rgba(10,24,35,.98),rgba(4,10,18,.98))}.live-game-skill-node.maxed .live-game-skill-node-corner{background:currentColor;color:#07111e}.live-game-skill-node.is-branch-final{border-width:2px;min-height:162px}.live-game-skill-mastery{background:currentColor;bottom:0;clip-path:polygon(8px 0,100% 0,100% 100%,0 100%,0 8px);color:#07101d;font-size:.48rem;font-weight:1000;letter-spacing:.1em;padding:4px 7px;position:absolute;right:0;z-index:4}
@keyframes liveGameSkillAvailable{0%,100%{box-shadow:0 0 18px color-mix(in srgb,currentColor 18%,transparent)}50%{box-shadow:0 0 34px color-mix(in srgb,currentColor 34%,transparent)}}
@media(max-width:1250px){.live-game-skill-tree.skill-tree-map{gap:58px 24px;grid-template-columns:minmax(0,1fr) 126px minmax(0,1fr);padding:34px 24px}.live-game-skill-map-core{height:126px;margin-top:90px;width:126px}.live-game-skill-map-core>span{height:88px;width:88px}.live-game-skill-node{grid-template-columns:58px minmax(0,1fr);padding:12px}.live-game-skill-node-icon{height:56px;width:56px}}
@media(max-width:980px){.live-game-skill-tree.skill-tree-map{display:grid;gap:42px;grid-template-areas:"core" "attack" "precision" "mobility";grid-template-columns:1fr;min-height:0;padding:28px 18px}.live-game-skill-tree.skill-tree-map::before{height:330px;top:-40px;width:330px}.live-game-skill-map-core{height:122px;margin:0 auto;width:122px}.live-game-skill-branch[data-branch="mobility"] .live-game-skill-nodes{grid-template-columns:1fr}.live-game-skill-branch[data-branch="propulsion"] .live-game-skill-node:nth-child(even),.live-game-skill-branch[data-branch="precision"] .live-game-skill-node:nth-child(even){margin-left:0;margin-right:0}.live-game-skill-branch[data-branch="precision"] .live-game-skill-node+.live-game-skill-node::before{left:41px;right:auto}.live-game-skill-branch[data-branch="mobility"] .live-game-skill-node+.live-game-skill-node::before{height:35px;left:41px;top:-35px;width:2px}}
@media(max-width:560px){.live-game-skill-tree.skill-tree-map{padding:24px 10px}.live-game-skill-node{grid-template-columns:54px minmax(0,1fr);min-height:140px;padding:11px}.live-game-skill-node-icon{height:52px;width:52px}.live-game-skill-node-copy p{font-size:.64rem}.live-game-skill-node-meta span{font-size:.54rem}.live-game-skill-branch>header{grid-template-columns:34px 1fr auto;padding:9px}}
/* Rareté Ancestral — arbre de compétences LIVE. */
.live-game-skill-rarity[data-rarity="ancestral"] { background: linear-gradient(90deg, rgba(255,49,74,.18), rgba(255,255,255,.16), rgba(255,49,74,.18)); border-color: rgba(255,255,255,.78); color: #fff; box-shadow: 0 0 10px rgba(255,255,255,.22), 0 0 20px rgba(255,49,74,.32); text-shadow: 0 0 9px #ff314a; }
.live-game-skill-node.rarity-ancestral { border-color: #ff314a; color: #fff; background: radial-gradient(circle at 14% 12%, rgba(255,255,255,.18), transparent 29%), radial-gradient(circle at 76% 74%, rgba(255,49,74,.2), transparent 54%), linear-gradient(145deg, rgba(74,8,20,.97), rgba(8,8,17,.99)); box-shadow: inset 0 0 26px rgba(255,49,74,.12), 0 0 24px rgba(255,49,74,.28); }
.live-game-skill-node.rarity-ancestral::after { border-color: rgba(255,255,255,.56); box-shadow: inset 0 0 16px rgba(255,49,74,.16); }
.live-game-skill-node.rarity-ancestral.can-upgrade { animation: liveGameSkillAvailable 1.55s ease-in-out infinite, liveGameAncestralPulse 2.2s ease-in-out infinite; }
@keyframes liveGameAncestralPulse { 50% { box-shadow: inset 0 0 30px rgba(255,49,74,.24), 0 0 34px rgba(255,49,74,.5), 0 0 15px rgba(255,255,255,.3); } }

/* Missile ultimates: a fourth branch reserved for decisive single-rank powers. */
.live-game-skill-tree.skill-tree-map { --branch-ultimates: #fb7185; grid-template-areas: "attack core precision" "mobility mobility mobility" "ultimates ultimates ultimates"; min-height: 1130px; }
.live-game-skill-branch[data-branch="ultimates"] { color: var(--branch-ultimates); grid-area: ultimates; }
.live-game-skill-branch[data-branch="ultimates"] > header { margin-left: auto; margin-right: auto; max-width: 540px; }
.live-game-skill-branch[data-branch="ultimates"] > header::after { background: linear-gradient(90deg, transparent, currentColor, transparent); left: 10%; width: 80%; }
.live-game-skill-branch[data-branch="ultimates"] .live-game-skill-nodes { gap: 22px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.live-game-skill-branch[data-branch="ultimates"] .live-game-skill-node { min-height: 170px; }
.live-game-skill-branch[data-branch="ultimates"] .live-game-skill-node + .live-game-skill-node::before { background: linear-gradient(90deg, color-mix(in srgb, currentColor 18%, #334155), currentColor); height: 2px; left: -22px; top: 50%; width: 22px; }
.live-game-skill-node.is-ultimate { border-color: color-mix(in srgb, currentColor 72%, #ffffff); box-shadow: 0 0 28px color-mix(in srgb, currentColor 20%, transparent), inset 0 0 24px color-mix(in srgb, currentColor 10%, transparent); }
.live-game-skill-node.is-ultimate .live-game-skill-node-icon { box-shadow: 0 0 27px color-mix(in srgb, currentColor 31%, transparent), inset 0 0 20px rgba(2, 6, 23, .76); }
.live-game-skill-node.is-ultimate .live-game-skill-rarity { letter-spacing: .1em; }
.live-game-skill-node.is-ultimate.equipped-ultimate { animation: liveGameUltimateEquipped 1.9s ease-in-out infinite; border-color: #fff; box-shadow: 0 0 0 2px rgba(251,113,133,.34), 0 0 36px rgba(244,63,94,.46), inset 0 0 30px rgba(255,255,255,.08); }
.live-game-skill-node.is-ultimate.equipped-ultimate .live-game-skill-node-corner { background: linear-gradient(135deg,#fff,#fb7185); border-color:#fff; color:#35091a; }
@keyframes liveGameUltimateEquipped { 0%,100% { filter: brightness(1); } 50% { filter: brightness(1.18); } }
@media (max-width: 1250px) { .live-game-skill-branch[data-branch="ultimates"] .live-game-skill-nodes { grid-template-columns: repeat(2, minmax(0, 1fr)); } .live-game-skill-branch[data-branch="ultimates"] .live-game-skill-node + .live-game-skill-node::before { display: none; } }
@media (max-width: 980px) { .live-game-skill-tree.skill-tree-map { grid-template-areas: "core" "attack" "precision" "mobility" "ultimates"; min-height: 0; } .live-game-skill-branch[data-branch="ultimates"] .live-game-skill-nodes { grid-template-columns: 1fr; } }.admin-live-game-skill-card.is-ultimate { border-color: rgba(251, 113, 133, .55); box-shadow: inset 0 0 26px rgba(244, 63, 94, .08), 0 0 20px rgba(244, 63, 94, .08); }
.admin-live-game-skill-card.is-ultimate .admin-live-game-skill-card-head { background: linear-gradient(90deg, rgba(244, 63, 94, .13), rgba(91, 33, 79, .06)); }
.admin-live-game-ultimate-config { margin: 14px 0; padding: 14px; border: 1px solid rgba(251, 113, 133, .46); border-radius: 12px; background: linear-gradient(135deg, rgba(80, 20, 54, .23), rgba(12, 25, 51, .72)); box-shadow: inset 0 0 24px rgba(244, 63, 94, .06); }
.admin-live-game-ultimate-config > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.admin-live-game-ultimate-config > header strong { display: block; color: #fecdd3; font-size: .86rem; letter-spacing: .045em; text-transform: uppercase; }
.admin-live-game-ultimate-config > header small { display: block; max-width: 620px; margin-top: 3px; color: #aab8d1; line-height: 1.45; }
.admin-live-game-ultimate-config > header .admin-count { border-color: rgba(251, 113, 133, .58); color: #fecdd3; white-space: nowrap; }
.admin-live-game-ultimate-config-fields { display: grid; grid-template-columns: repeat(4, minmax(125px, 1fr)); gap: 10px; }
.admin-live-game-ultimate-config-fields > label { display: grid; gap: 6px; min-width: 0; }
.admin-live-game-ultimate-config-fields > label > span { color: #9fb0c9; font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.admin-live-game-ultimate-config-fields input { min-width: 0; border-color: rgba(251, 113, 133, .24); background: rgba(2, 8, 23, .62); }
.admin-live-game-ultimate-config-fields input:focus { border-color: rgba(251, 113, 133, .92); box-shadow: 0 0 0 3px rgba(244, 63, 94, .13); }
@media (max-width: 1160px) { .admin-live-game-ultimate-config-fields { grid-template-columns: repeat(3, minmax(125px, 1fr)); } }
@media (max-width: 760px) { .admin-live-game-ultimate-config > header { display: grid; } .admin-live-game-ultimate-config-fields { grid-template-columns: repeat(2, minmax(120px, 1fr)); } }
@media (max-width: 460px) { .admin-live-game-ultimate-config-fields { grid-template-columns: 1fr; } }
/* Equipped Like.io cosmetics and missile previews */
.shop-missile-preview {
  --missile-trail-primary: #ff3f81;
  --missile-trail-secondary: #ffffff;
  align-items: center;
  display: flex;
  height: 76px;
  justify-content: flex-end;
  min-width: 112px;
  position: relative;
  width: min(100%, 150px);
}
.shop-missile-preview > i {
  background: linear-gradient(90deg, transparent, var(--missile-trail-primary) 48%, var(--missile-trail-secondary));
  border-radius: 999px;
  box-shadow: 0 0 13px color-mix(in srgb, var(--missile-trail-primary) 72%, transparent);
  height: 9px;
  position: absolute;
  right: 48%;
  width: 58%;
  animation: shopMissileTrailPulse 1s ease-in-out infinite alternate;
}
.shop-missile-preview > img {
  filter: drop-shadow(0 8px 13px rgba(0,0,0,.42)) drop-shadow(0 0 12px color-mix(in srgb, var(--missile-trail-primary) 52%, transparent));
  height: 100%;
  object-fit: contain;
  position: relative;
  width: 72%;
  z-index: 2;
}
.shop-missile-preview.is-image-error::after {
  color: var(--missile-trail-secondary);
  content: "MISSILE";
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .13em;
  position: relative;
  text-shadow: 0 0 12px var(--missile-trail-primary);
  z-index: 2;
}
.shop-missile-preview.is-image-error > img { display: none; }
.shop-item-buff-badge {
  align-items: center;
  align-self: start;
  background: linear-gradient(110deg, rgba(130,72,255,.26), rgba(37,216,244,.14));
  border: 1px solid rgba(180,124,255,.48);
  border-radius: 999px;
  color: #e8d5ff;
  display: inline-flex;
  font-size: 8px;
  font-weight: 950;
  letter-spacing: .09em;
  margin-top: 7px;
  padding: 5px 8px;
  width: fit-content;
}
.live-game-cosmetic-bonuses {
  background: radial-gradient(circle at 88% 6%, rgba(121,72,255,.18), transparent 34%), linear-gradient(145deg, rgba(8,20,39,.97), rgba(7,13,27,.96));
  border: 1px solid rgba(114,151,219,.22);
  border-radius: 18px;
  box-shadow: inset 0 1px rgba(255,255,255,.035), 0 18px 45px rgba(0,0,0,.2);
  display: grid;
  gap: 16px;
  margin: 18px 0;
  overflow: hidden;
  padding: clamp(16px, 2.2vw, 24px);
  position: relative;
}
.live-game-cosmetic-head {
  align-items: start;
  display: flex;
  gap: 18px;
  justify-content: space-between;
}
.live-game-cosmetic-head h4 { font-size: clamp(17px, 2vw, 22px); margin: 2px 0 5px; }
.live-game-cosmetic-head p:last-child { color: var(--muted); font-size: 11px; margin: 0; }
.live-game-cosmetic-effects { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; max-width: min(50%, 560px); }
.live-game-cosmetic-effects span {
  background: rgba(139,83,255,.14);
  border: 1px solid rgba(177,124,255,.38);
  border-radius: 999px;
  color: #eddcff;
  font-size: 9px;
  font-weight: 900;
  padding: 6px 9px;
}
.live-game-cosmetic-effects span.is-empty { background: rgba(112,131,161,.08); border-color: rgba(112,131,161,.2); color: var(--muted); }
.live-game-cosmetic-loadout { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.live-game-cosmetic-card {
  align-items: center;
  background: linear-gradient(145deg, rgba(14,29,51,.92), rgba(7,17,32,.94));
  border: 1px solid rgba(109,146,203,.2);
  border-radius: 14px;
  display: grid;
  gap: 12px;
  grid-template-columns: 74px minmax(0,1fr);
  min-height: 116px;
  padding: 12px;
}
.live-game-cosmetic-visual { align-items: center; background: radial-gradient(circle, rgba(61,218,255,.14), transparent 68%); display: flex; height: 74px; justify-content: center; position: relative; width: 74px; }
.live-game-cosmetic-visual img { filter: drop-shadow(0 6px 10px rgba(0,0,0,.4)); height: 100%; object-fit: contain; position: relative; width: 100%; z-index: 2; }
.live-game-cosmetic-visual > b { color: #bfeeff; font-size: 11px; letter-spacing: .1em; }
.live-game-cosmetic-visual.is-missile { --missile-trail-primary:#ff3f81; --missile-trail-secondary:#fff; justify-content: flex-end; }
.live-game-cosmetic-visual.is-missile > i { background: linear-gradient(90deg,transparent,var(--missile-trail-primary),var(--missile-trail-secondary)); border-radius:999px; box-shadow:0 0 10px var(--missile-trail-primary); height:7px; position:absolute; right:38%; width:58%; }
.live-game-cosmetic-visual.is-missile img { height:62px; width:72%; }
.live-game-cosmetic-card > div { min-width: 0; }
.live-game-cosmetic-card small { color:#68e8ff; font-size:8px; font-weight:900; letter-spacing:.09em; text-transform:uppercase; }
.live-game-cosmetic-card strong { display:block; font-size:14px; margin:4px 0 7px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.live-game-cosmetic-card div > span { border-radius:999px; display:inline-flex; font-size:7px; font-weight:950; letter-spacing:.07em; padding:4px 7px; }
.live-game-cosmetic-card div > span.has-buff { background:rgba(142,75,255,.2); border:1px solid rgba(181,123,255,.42); color:#ead8ff; }
.live-game-cosmetic-card div > span.no-buff { background:rgba(104,123,153,.1); border:1px solid rgba(104,123,153,.18); color:var(--muted); }
.live-game-cosmetic-card p { color:#c7b5dc; font-size:9px; line-height:1.45; margin:7px 0 0; }
.live-game-cosmetic-empty { color:var(--muted); font-size:11px; margin:0; }
@keyframes shopMissileTrailPulse { from { opacity:.55; transform:scaleX(.82); } to { opacity:1; transform:scaleX(1.04); } }
@media (max-width: 720px) {
  .live-game-cosmetic-head { align-items:stretch; flex-direction:column; }
  .live-game-cosmetic-effects { justify-content:flex-start; max-width:none; }
}
@media (prefers-reduced-motion: reduce) { .shop-missile-preview > i { animation:none; } }
/* Ancestral Dragon Celeste — luminous avatar frame on every site surface. */
img[src*="ancestral-dragon-celeste"] {
  animation: celestialDragonFrameGlow 2.8s ease-in-out infinite;
  filter: drop-shadow(0 0 4px rgba(82, 224, 255, .52)) drop-shadow(0 0 9px rgba(255, 211, 103, .22));
  transform-origin: center;
  will-change: filter;
}
@keyframes celestialDragonFrameGlow {
  0%, 100% { filter: drop-shadow(0 0 4px rgba(82, 224, 255, .52)) drop-shadow(0 0 9px rgba(255, 211, 103, .22)); }
  45% { filter: drop-shadow(0 0 8px rgba(82, 224, 255, .96)) drop-shadow(0 0 18px rgba(48, 174, 255, .58)) drop-shadow(0 0 11px rgba(255, 211, 103, .48)); }
  68% { filter: drop-shadow(0 0 6px rgba(255, 235, 158, .72)) drop-shadow(0 0 15px rgba(82, 224, 255, .72)); }
}
@media (prefers-reduced-motion: reduce) {
  img[src*="ancestral-dragon-celeste"] { animation: none !important; }
}
/* Ultimes editor restore 20260728 */
[data-admin-panel="overlays"] [data-admin-skill-editor-heading="ultimates"] { display: none; }
[data-admin-panel="overlays"][data-admin-active-subpanel="overlays-ultimates"] [data-admin-skill-editor-heading="tree"] { display: none; }
[data-admin-panel="overlays"][data-admin-active-subpanel="overlays-ultimates"] [data-admin-skill-editor-heading="ultimates"] { display: block; }
[data-admin-panel="overlays"][data-admin-active-subpanel="overlays-ultimates"] #admin-live-game-skill-form > .admin-live-game-skill-stats,
[data-admin-panel="overlays"][data-admin-active-subpanel="overlays-ultimates"] #admin-live-game-skill-form > .admin-live-game-skill-settings,
[data-admin-panel="overlays"][data-admin-active-subpanel="overlays-ultimates"] #admin-live-game-skill-form > .admin-live-game-rarity-panel,
[data-admin-panel="overlays"][data-admin-active-subpanel="overlays-ultimates"] #admin-live-game-skill-form > .admin-live-game-mechanics-panel,
[data-admin-panel="overlays"][data-admin-active-subpanel="overlays-ultimates"] #admin-live-game-skill-form > .admin-overlay-config-head { display: none; }
[data-admin-panel="overlays"][data-admin-active-subpanel="overlays-ultimates"] #admin-live-game-skill-list { grid-template-columns: 1fr; }
[data-admin-panel="overlays"][data-admin-active-subpanel="overlays-ultimates"] #admin-live-game-skill-list .admin-live-game-skill-card:not(.is-ultimate) { display: none; }
[data-admin-panel="overlays"][data-admin-active-subpanel="overlays-ultimates"] #admin-live-game-skill-form > footer .danger { display: none; }
/* Unified LIVE + website presence */
.unified-presence,
.profile-presence-badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border: 1px solid rgba(121, 137, 165, .3);
  border-radius: 999px;
  color: #8f9bb2;
  background: rgba(121, 137, 165, .08);
  font-size: 8px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: .03em;
  text-transform: uppercase;
  white-space: nowrap;
}
.unified-presence::before,
.profile-presence-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 7px currentColor;
}
.unified-presence.presence-live,
.profile-presence-badge.presence-live,
.admin-registry-card header > .presence-live,
.admin-moderator-card header .presence-live {
  color: #68e7aa;
  border-color: rgba(104, 231, 170, .4);
  background: rgba(78, 224, 160, .1);
}
.unified-presence.presence-site,
.profile-presence-badge.presence-site,
.admin-registry-card header > .presence-site,
.admin-moderator-card header .presence-site {
  color: #55ddff;
  border-color: rgba(37, 216, 244, .38);
  background: rgba(37, 216, 244, .1);
}
.unified-presence.presence-offline,
.profile-presence-badge.presence-offline,
.admin-registry-card header > .presence-offline,
.admin-moderator-card header .presence-offline {
  color: #7f8ca7;
  border-color: rgba(127, 140, 167, .26);
  background: rgba(127, 140, 167, .07);
}
.unified-presence.presence-live::before,
.profile-presence-badge.presence-live::before,
.unified-presence.presence-site::before,
.profile-presence-badge.presence-site::before {
  animation: phnx-presence-pulse 1.8s ease-in-out infinite;
}
.presence-compact { padding: 3px 6px; font-size: 6px; }
.profile-presence-badge { margin: 9px 5px 0 0; vertical-align: middle; font-size: 9px; }
.top-level-identity > .unified-presence,
.home-moderator-identity > .unified-presence { margin-top: 3px; }
.recruitment-profile-identity .unified-presence { margin-top: 3px; }
.home-moderator-avatar i.presence-site { background: #55ddff; box-shadow: 0 0 8px #55ddff; }
.home-moderator-avatar i.presence-live { background: #68e7aa; box-shadow: 0 0 8px #68e7aa; }
.admin-registry-card header > [class*="presence-"],
.admin-moderator-card header [class*="presence-"] { white-space: nowrap; }
@keyframes phnx-presence-pulse {
  0%, 100% { opacity: .72; transform: scale(.88); }
  50% { opacity: 1; transform: scale(1.12); }
}
/* PHNX590 bubble schema shop and account previews · 20260729bubble1 */
.bubble-schema-preview {
  --schema-primary: #9d4edd;
  --schema-secondary: #20d9ff;
  --schema-rank: #ffd166;
  --schema-scale: 2.8;
  display: block;
  height: 68px;
  margin: 62px auto;
  position: relative;
  width: 68px;
}
.bubble-schema-preview.is-compact { height: 38px; margin: 28px auto; width: 38px; }
.bubble-schema-preview-rotor {
  animation: bubbleSchemaPreviewFlight 5.4s ease-in-out infinite;
  height: calc(100% * var(--schema-scale));
  left: 50%;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  transform-origin: 50% 50%;
  width: calc(100% * var(--schema-scale));
  z-index: 1;
}
.bubble-schema-preview-rotor > img {
  animation: bubbleSchemaPreviewNeon 2.2s ease-in-out infinite;
  filter: drop-shadow(0 0 5px var(--schema-secondary)) drop-shadow(0 0 13px var(--schema-primary)) saturate(1.4) brightness(1.08);
  height: 100%;
  inset: 0;
  object-fit: contain;
  position: absolute;
  width: 100%;
  z-index: 2;
}
.bubble-schema-preview-glow {
  animation: bubbleSchemaPreviewCore 1.5s ease-in-out infinite alternate;
  background: radial-gradient(circle, color-mix(in srgb, var(--schema-secondary) 58%, transparent), color-mix(in srgb, var(--schema-primary) 24%, transparent) 38%, transparent 69%);
  border-radius: 50%;
  filter: blur(10px);
  inset: 15%;
  position: absolute;
}
.bubble-schema-preview-thrusters { height: 35%; left: 31%; position: absolute; top: 70%; width: 38%; z-index: 0; }
.bubble-schema-preview-thrusters i {
  animation: bubbleSchemaPreviewThruster .4s ease-in-out infinite alternate;
  background: linear-gradient(to bottom, #fff, var(--schema-secondary) 18%, var(--schema-primary) 58%, transparent);
  border-radius: 999px;
  box-shadow: 0 0 6px #fff, 0 0 13px var(--schema-secondary), 0 0 21px var(--schema-primary);
  height: 72%;
  left: 47%;
  position: absolute;
  top: 0;
  transform-origin: 50% 0;
  width: 6%;
}
.bubble-schema-preview-thrusters i:nth-child(1) { height: 48%; left: 17%; animation-delay: -.18s; }
.bubble-schema-preview-thrusters i:nth-child(2) { animation-delay: -.3s; }
.bubble-schema-preview-thrusters i:nth-child(3) { height: 48%; left: 77%; animation-delay: -.09s; }
.bubble-schema-preview-core { height: 100%; inset: 0; position: absolute; width: 100%; z-index: 4; }
.bubble-schema-preview-avatar {
  align-items: center;
  background: linear-gradient(150deg, #15243a, #080d18);
  background-position: center;
  background-size: cover;
  border: 2px solid var(--schema-secondary);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(4,8,18,.9), 0 0 14px var(--schema-secondary), 0 0 22px var(--schema-primary);
  color: #fff;
  display: flex;
  font-size: 18px;
  font-weight: 950;
  height: 82%;
  justify-content: center;
  left: 9%;
  position: absolute;
  top: 9%;
  width: 82%;
}
.bubble-schema-preview-avatar.has-image { color: transparent; }
.bubble-schema-preview-identity { align-items: center; display: flex; flex-direction: column; gap: 2px; left: -20%; position: absolute; top: 57%; width: 140%; z-index: 5; }
.bubble-schema-preview-identity strong, .bubble-schema-preview-identity small {
  backdrop-filter: blur(7px);
  background: rgba(4,9,20,.88);
  border: 1px solid var(--schema-secondary);
  border-radius: 999px;
  box-shadow: 0 0 10px color-mix(in srgb, var(--schema-primary) 64%, transparent);
  color: #fff;
  line-height: 1;
  max-width: 100%;
  overflow: hidden;
  padding: 4px 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bubble-schema-preview-identity strong { font-size: 9px; width: 100%; }
.bubble-schema-preview-identity small { font-size: 7px; padding-block: 3px; width: 62%; }
.bubble-schema-preview-rank {
  background: linear-gradient(135deg, rgba(42,25,3,.96), rgba(8,10,18,.96));
  border: 1px solid var(--schema-rank);
  border-radius: 999px;
  box-shadow: 0 0 12px var(--schema-rank);
  color: #fff0aa;
  font-size: 7px;
  left: 82%;
  padding: 4px 7px;
  position: absolute;
  top: -12%;
  white-space: nowrap;
  z-index: 6;
}
.bubble-schema-preview.is-compact .bubble-schema-preview-identity, .bubble-schema-preview.is-compact .bubble-schema-preview-rank { display: none; }
.bubble-schema-preview.is-compact .bubble-schema-preview-avatar { font-size: 9px; }
.shop-item.bubble-schema-item .shop-item-preview { min-height: 224px; overflow: hidden; }
.shop-item.bubble-schema-item { --shop-item-accent: var(--cyan); }
.cosmetic-card-preview .bubble-schema-preview { flex: 0 0 auto; }
.cosmetic-schema-active-preview { min-height: 196px; min-width: 220px; overflow: visible; }
.cosmetic-schema-active-preview > .bubble-schema-preview { margin-block: 62px; }
.cosmetic-bubble-schemas-section { border-color: rgba(115, 99, 255, .32); background: radial-gradient(circle at 80% 0, rgba(119, 72, 255, .12), transparent 36%), rgba(7,14,27,.76); }
@keyframes bubbleSchemaPreviewFlight { 0%, 100% { transform: translate(-50%, -50%) rotate(-13deg); } 45% { transform: translate(-50%, -50%) rotate(17deg); } 70% { transform: translate(-50%, -50%) rotate(5deg); } }
@keyframes bubbleSchemaPreviewNeon { 0%, 100% { filter: drop-shadow(0 0 4px var(--schema-secondary)) drop-shadow(0 0 10px var(--schema-primary)) saturate(1.25); } 50% { filter: drop-shadow(0 0 10px var(--schema-secondary)) drop-shadow(0 0 21px var(--schema-primary)) saturate(1.65) brightness(1.22); } }
@keyframes bubbleSchemaPreviewCore { from { opacity: .52; transform: scale(.9); } to { opacity: 1; transform: scale(1.15); } }
@keyframes bubbleSchemaPreviewThruster { from { opacity: .72; transform: scaleY(.68); } to { opacity: 1; transform: scaleY(1.22); } }
@media (max-width: 720px) {
  .shop-item.bubble-schema-item .shop-item-preview { min-height: 190px; }
  .cosmetic-live-preview { grid-template-columns: 64px minmax(0, 1fr); }
  .cosmetic-schema-active-preview { min-width: 0; transform: scale(.84); }
}
@media (prefers-reduced-motion: reduce) {
  .bubble-schema-preview-rotor, .bubble-schema-preview-rotor > img, .bubble-schema-preview-glow, .bubble-schema-preview-thrusters i { animation: none !important; }
}


@media (max-width: 640px) {
  .site-footer { width: min(100% - 24px, 1320px); padding: 18px; border-radius: 18px; }
  .site-footer-nav { grid-template-columns: 1fr; gap: 18px; }
  .site-footer-bottom { align-items: flex-start; flex-direction: column; }
}
.admin-live-game-duo-panel {
  display: grid;
  gap: 18px;
}

.admin-live-game-duo-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.admin-live-game-duo-stats article,
.admin-live-game-duo-card {
  border: 1px solid rgba(148, 163, 184, .18);
  border-radius: 8px;
  background: rgba(15, 23, 42, .62);
  box-shadow: 0 16px 34px rgba(2, 6, 23, .22);
}

.admin-live-game-duo-stats article {
  padding: 14px;
  display: grid;
  gap: 6px;
}

.admin-live-game-duo-stats small,
.admin-live-game-duo-card small,
.admin-live-game-duo-card dt {
  color: rgba(203, 213, 225, .68);
  font-size: .72rem;
  text-transform: uppercase;
}

.admin-live-game-duo-stats strong {
  color: #f8fafc;
  font-size: clamp(1.25rem, 2vw, 1.85rem);
}

.admin-live-game-duo-settings,
.admin-live-game-duo-list {
  display: grid;
  gap: 12px;
}

.admin-live-game-duo-settings {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: end;
}

.admin-live-game-duo-settings > label,
.admin-live-game-duo-free-lock {
  min-height: 78px;
}

.admin-live-game-duo-free-lock {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 12px;
  padding: 12px;
  border: 1px solid rgba(34, 211, 238, .24);
  border-radius: 8px;
  background: rgba(8, 47, 73, .36);
  color: rgba(226, 232, 240, .86);
}

.admin-live-game-duo-free-lock strong {
  color: #67e8f9;
  text-align: right;
}

.admin-live-game-duo-settings footer {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.admin-live-game-duo-card {
  display: grid;
  gap: 14px;
  padding: 14px;
  border-left: 4px solid var(--duo-color, #26d9f2);
}

.admin-live-game-duo-card.is-inactive {
  opacity: .7;
}

.admin-live-game-duo-card header,
.admin-live-game-duo-card-body,
.admin-live-game-duo-actions {
  display: grid;
  gap: 12px;
}

.admin-live-game-duo-card header {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.admin-live-game-duo-card header div {
  min-width: 0;
}

.admin-live-game-duo-card header strong {
  display: block;
  color: #f8fafc;
}

.admin-live-game-duo-card-body {
  grid-template-columns: minmax(220px, .85fr) minmax(260px, 1.15fr);
}

.admin-live-game-duo-members {
  display: grid;
  gap: 8px;
}

.admin-live-game-duo-members span {
  padding: 9px 10px;
  border-radius: 8px;
  background: rgba(15, 23, 42, .74);
  color: rgba(226, 232, 240, .9);
  overflow-wrap: anywhere;
}

.admin-live-game-duo-card dl {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.admin-live-game-duo-card dl div {
  padding: 10px;
  border-radius: 8px;
  background: rgba(2, 6, 23, .32);
}

.admin-live-game-duo-card dd {
  margin: 4px 0 0;
  color: #f8fafc;
  overflow-wrap: anywhere;
}

.admin-live-game-duo-actions {
  grid-template-columns: minmax(96px, .8fr) minmax(130px, 1fr) minmax(96px, .8fr) repeat(5, auto);
  align-items: end;
}

.admin-live-game-duo-actions label {
  display: grid;
  gap: 5px;
}

.admin-live-game-duo-actions input,
.admin-live-game-duo-actions select {
  min-height: 38px;
}

@media (max-width: 980px) {
  .admin-live-game-duo-stats,
  .admin-live-game-duo-settings,
  .admin-live-game-duo-card-body,
  .admin-live-game-duo-card dl,
  .admin-live-game-duo-actions {
    grid-template-columns: 1fr 1fr;
  }

  .admin-live-game-duo-settings footer,
  .admin-live-game-duo-free-lock {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .admin-live-game-duo-stats,
  .admin-live-game-duo-settings,
  .admin-live-game-duo-card header,
  .admin-live-game-duo-card-body,
  .admin-live-game-duo-card dl,
  .admin-live-game-duo-actions {
    grid-template-columns: 1fr;
  }
}
