/* INDIANA RP — player / public chrome (login purple, not staff pink ia-*) */
:root {
  --auth-bg: #08060f;
  --auth-bg-2: #12081f;
  --auth-violet: #8b5cf6;
  --auth-violet-bright: #a78bfa;
  --auth-violet-deep: #6d28d9;
  --auth-violet-glow: rgba(139, 92, 246, 0.45);
  --auth-violet-soft: rgba(139, 92, 246, 0.16);
  --auth-magenta: #e879f9;
  --auth-text: #f4f0ff;
  --auth-muted: #a89bc4;
  --auth-font: "Manrope", sans-serif;
  --auth-display: "Syne", "Manrope", sans-serif;
  --auth-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Remap staff tokens so laws / donate content skins go purple */
body.player-body {
  --ia-bg: var(--auth-bg);
  --ia-surface: rgba(24, 16, 40, 0.92);
  --ia-surface-2: #1a1228;
  --ia-line: rgba(167, 139, 250, 0.12);
  --ia-line-2: rgba(167, 139, 250, 0.22);
  --ia-text: var(--auth-text);
  --ia-text-2: #cfc4e8;
  --ia-muted: var(--auth-muted);
  --ia-accent: var(--auth-violet);
  --ia-accent-soft: var(--auth-violet-soft);
  --ia-font: var(--auth-font);
  --ia-ease: var(--auth-ease);
  --ia-ok: #3dd68c;

  --lw-bg: var(--ia-bg);
  --lw-surface: var(--ia-surface);
  --lw-surface-2: var(--ia-surface-2);
  --lw-line: var(--ia-line);
  --lw-line-2: var(--ia-line-2);
  --lw-text: var(--ia-text);
  --lw-text-2: var(--ia-text-2);
  --lw-muted: var(--ia-muted);
  --lw-accent: var(--ia-accent);
  --lw-accent-soft: var(--ia-accent-soft);
  --lw-accent-glow: var(--auth-violet-glow);
  --lw-display: var(--auth-display);
  --lw-sans: var(--auth-font);
  --lw-ease: var(--auth-ease);

  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--auth-font);
  color: var(--auth-text);
  background: var(--auth-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-size: 15px;
  line-height: 1.45;
  position: relative;
}

body.player-body a { color: inherit; text-decoration: none; }
body.player-body button,
body.player-body input,
body.player-body textarea,
body.player-body select {
  font: inherit;
  color: inherit;
}
body.player-body button { cursor: pointer; }

/* Soft stage — static gradients only (no particle spam) */
.pl-stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 70% at 70% 40%, rgba(109, 40, 217, 0.28), transparent 58%),
    radial-gradient(ellipse 60% 50% at 15% 85%, rgba(88, 28, 160, 0.2), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 10%, rgba(167, 139, 250, 0.1), transparent 50%),
    linear-gradient(165deg, #0b0614 0%, #12081f 42%, #07050d 100%);
}

.pl-stage-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.pl-stage-orb.o1 {
  width: min(38vw, 360px);
  aspect-ratio: 1;
  top: 6%;
  left: -5%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.18) 0%, transparent 70%);
}
.pl-stage-orb.o2 {
  width: min(30vw, 280px);
  aspect-ratio: 1;
  top: 48%;
  right: -4%;
  background: radial-gradient(circle, rgba(232, 121, 249, 0.1) 0%, transparent 72%);
}

/* Hide legacy pink ambient if still in markup */
body.player-body .ia-ambient { display: none !important; }

/* ── Top bar — flush to viewport top ── */
.pl-top {
  position: sticky;
  top: 0;
  z-index: 40;
  margin: 0;
  padding: 0 16px;
  background: rgba(8, 6, 15, 0.96);
  border: none;
  border-bottom: 1px solid rgba(167, 139, 250, 0.1);
  pointer-events: none;
}
.pl-top-inner {
  pointer-events: auto;
  position: relative;
  /* Unified across /home, /laws, /rules, /shop-donate — no page overrides */
  max-width: min(1480px, calc(100% - 24px));
  margin: 0 auto;
  min-height: 52px;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 10px 18px;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.pl-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  /* Fixed brand column: diamond + INDIANA + subtitle — same width on all pages */
  width: 168px;
  min-width: 168px;
  margin-right: 24px;
  overflow: hidden;
  z-index: 1;
}
.pl-brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 0;
  display: grid;
  place-items: center;
  background: transparent;
  color: var(--auth-violet-bright);
  border: none;
  font-size: 0.86rem;
  flex: 0 0 auto;
  overflow: visible;
  box-shadow: none;
}
.pl-brand-mark-img {
  width: 34px;
  height: 34px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(139, 92, 246, 0.35));
}
.pl-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
  min-width: 0;
  flex: 1 1 auto;
}
.pl-brand-text strong {
  font-family: var(--auth-display);
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.pl-brand-text em {
  font-style: normal;
  font-size: 0.62rem;
  color: var(--auth-muted);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pl-menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  margin-left: auto;
  place-items: center;
  border-radius: 9px;
  border: 1px solid rgba(167, 139, 250, 0.2);
  background: rgba(255, 255, 255, 0.03);
  color: var(--auth-text);
  flex: 0 0 auto;
  order: 5;
  transition: background 0.15s var(--auth-ease), border-color 0.15s var(--auth-ease);
}
.pl-menu-toggle:hover {
  background: rgba(139, 92, 246, 0.12);
  border-color: rgba(139, 92, 246, 0.35);
}
.pl-menu-toggle[aria-expanded="true"] {
  background: rgba(139, 92, 246, 0.16);
  border-color: rgba(139, 92, 246, 0.4);
  color: var(--auth-violet-bright);
}

.pl-nav-panel {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1 1 auto;
  min-width: 0;
  /* Gap to brand owned by .pl-brand { margin-right: 24px } */
  margin-left: 0;
}
.pl-top-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  justify-content: flex-end;
  flex-wrap: nowrap;
  min-width: 0;
  margin-left: auto;
}
.pl-top-tools .pl-account,
.pl-top-tools .lw-menu,
.pl-top-tools .ia-search,
.pl-top-tools .lw-search {
  flex: 0 0 auto;
}
.pl-top-tools .ia-search,
.pl-top-tools .lw-search {
  flex: 0 0 220px;
  width: 220px;
  max-width: 220px;
  min-width: 220px;
}

/* When nav sits inside .pl-top-tools (docs/donate pages), keep end-aligned cluster */
.pl-top-tools .pl-nav-panel {
  flex: 0 1 auto;
  margin-left: 0;
  margin-right: auto;
}
.pl-top-tools:has(.pl-nav-panel) {
  flex: 1 1 auto;
}

/* Nav — uniform text links, active underline */
.pl-nav {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  flex: 0 1 auto;
  min-width: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
}
.pl-nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--auth-muted);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  padding: 10px 12px;
  border-radius: 0;
  white-space: nowrap;
  background: transparent;
  transition: color 0.18s var(--auth-ease);
}
.pl-nav-link i {
  font-size: 0.84rem;
  opacity: 0.85;
}
.pl-nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 28px;
  height: 1.5px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--auth-violet-deep), var(--auth-violet-bright));
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  opacity: 0;
  transition: transform 0.2s var(--auth-ease), opacity 0.2s var(--auth-ease);
}
.pl-nav-link:hover {
  color: var(--auth-text);
  background: transparent;
}
.pl-nav-link:hover i {
  opacity: 1;
}
.pl-nav-link.is-active {
  color: var(--auth-text);
  background: transparent;
  font-weight: 600;
}
.pl-nav-link.is-active i {
  color: var(--auth-violet-bright);
  opacity: 1;
}
.pl-nav-link.is-active::after,
.pl-nav-link:hover::after {
  transform: translateX(-50%) scaleX(1);
  opacity: 1;
}
.pl-nav-link:hover::after {
  opacity: 0.45;
}
.pl-nav-link.is-active:hover::after {
  opacity: 1;
}

/* Staff — shield in account cluster (far right) */
.pl-account .pl-admin-cta.pl-icon-btn,
.pl-account a.pl-admin-cta.pl-icon-btn {
  margin-left: 0;
  margin-right: 2px;
  color: var(--auth-violet-bright);
  border-color: rgba(167, 139, 250, 0.32);
  background: rgba(139, 92, 246, 0.08);
}
.pl-account .pl-admin-cta.pl-icon-btn:hover,
.pl-account a.pl-admin-cta.pl-icon-btn:hover {
  color: var(--auth-text);
  background: rgba(139, 92, 246, 0.16);
  border-color: rgba(167, 139, 250, 0.5);
  filter: none;
  transform: none;
  box-shadow: none;
}

/* Account / login — Majestic-style profile menu */
.pl-account {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  position: relative;
}
.pl-bell {
  position: relative;
  flex: 0 0 auto;
}
.pl-bell-btn {
  width: 40px;
  height: 40px;
}
.pl-bell-dot {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #a78bfa;
  box-shadow: 0 0 0 2px rgba(12, 8, 22, 0.95);
  pointer-events: none;
}
.pl-bell-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: min(340px, 82vw);
  border-radius: 14px;
  border: 1px solid rgba(167, 139, 250, 0.22);
  background: rgba(18, 12, 30, 0.98);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  z-index: 95;
}
.pl-bell-panel[hidden] { display: none !important; }
.pl-bell-panel-h {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  font-weight: 800;
}
.pl-bell-list { max-height: 320px; overflow: auto; }
.pl-bell-item {
  display: block;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: inherit;
  text-decoration: none;
}
.pl-bell-item:hover { background: rgba(255, 255, 255, 0.04); }
.pl-bell-item strong { display: block; font-size: 0.86rem; margin-bottom: 2px; }
.pl-bell-item span,
.pl-bell-empty {
  color: var(--auth-muted);
  font-size: 0.74rem;
  font-weight: 600;
}
.pl-bell-empty { padding: 16px 14px; }
.pl-account-menu {
  position: relative;
  flex: 0 0 auto;
}
.pl-account-trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px 10px 4px 4px;
  margin: 0;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--auth-text);
  cursor: pointer;
  font: inherit;
  -webkit-tap-highlight-color: transparent;
  transition:
    background 0.15s var(--auth-ease),
    border-color 0.15s var(--auth-ease);
}
.pl-account-trigger:hover,
.pl-account-trigger[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.06);
}
.pl-account-trigger:focus-visible {
  outline: 2px solid rgba(167, 139, 250, 0.55);
  outline-offset: 2px;
}
.pl-account-name {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pl-account-chevron {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.72);
  transition: transform 0.18s var(--auth-ease);
}
.pl-account-trigger[aria-expanded="false"] .pl-account-chevron {
  transform: rotate(180deg);
}
.pl-account-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 200px;
  padding: 8px;
  border-radius: 12px;
  background: var(--ia-surface, rgba(24, 16, 40, 0.96));
  border: 1px solid var(--ia-line, rgba(167, 139, 250, 0.16));
  box-shadow:
    0 18px 40px rgba(8, 6, 15, 0.55),
    0 0 0 1px rgba(139, 92, 246, 0.06);
  backdrop-filter: blur(12px);
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pl-account-dropdown[hidden] {
  display: none !important;
}
.pl-account-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 8px;
  color: var(--ia-text, #f4f1ec) !important;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: background 0.12s var(--auth-ease, ease), color 0.12s;
}
.pl-account-item i {
  width: 1.1em;
  text-align: center;
  font-size: 0.95rem;
  color: var(--ia-text-2, #cfc4e8);
}
.pl-account-item:hover,
.pl-account-item.is-active {
  background: var(--ia-accent-soft, rgba(139, 92, 246, 0.16));
  color: var(--ia-text, #f4f1ec) !important;
}
.pl-account-item:hover i,
.pl-account-item.is-active i {
  color: var(--auth-violet-bright, #a78bfa);
}
.pl-account-item--logout {
  margin-top: 2px;
}
.pl-user-ava {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #2a2a2a;
  color: #e8e8e8;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.pl-user-ava img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pl-user-initial {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  color: #d0d0d0;
}

/* Shared glass icon buttons — 36×36, touch-friendly */
.pl-icon-btn {
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(167, 139, 250, 0.2);
  background: rgba(255, 255, 255, 0.03);
  color: var(--auth-muted);
  flex: 0 0 auto;
  -webkit-tap-highlight-color: transparent;
  transition:
    color 0.15s var(--auth-ease),
    background 0.15s var(--auth-ease),
    border-color 0.15s var(--auth-ease);
}
.pl-icon-btn i {
  font-size: 0.9rem;
  line-height: 1;
}
.pl-icon-btn:hover {
  color: var(--auth-text);
  background: rgba(139, 92, 246, 0.14);
  border-color: rgba(167, 139, 250, 0.4);
}
.pl-icon-btn:focus-visible {
  outline: 2px solid rgba(167, 139, 250, 0.55);
  outline-offset: 2px;
}
.pl-icon-btn:active {
  background: rgba(139, 92, 246, 0.2);
}

.pl-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 36px;
  margin: 0;
  padding: 0 14px;
  border-radius: 9px;
  background: #7c3aed;
  color: #fff !important;
  font-family: var(--auth-font);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid rgba(196, 181, 253, 0.22);
  box-shadow: none;
  transition: background 0.15s var(--auth-ease), border-color 0.15s var(--auth-ease), filter 0.15s ease;
}
.pl-login i {
  font-size: 0.95rem;
  line-height: 1;
  width: 1em;
  text-align: center;
}
.pl-login span {
  line-height: 1;
  transform: translateY(0.5px);
}
.pl-login:hover {
  background: #8b5cf6;
  border-color: rgba(221, 214, 254, 0.35);
  color: #fff !important;
  filter: none;
}
.pl-login.is-auth-loading {
  opacity: 0.72;
  pointer-events: none;
}
.pl-login:active {
  background: #6d28d9;
}
.pl-login:focus-visible {
  outline: 2px solid rgba(167, 139, 250, 0.65);
  outline-offset: 2px;
}
/* Home landing uses auth sections under player chrome */
body.player-home .pl-stage {
  display: none;
}
body.player-home .auth-stage {
  z-index: 0;
}
body.player-home .auth-page {
  z-index: 1;
}
body.player-home .auth-hero {
  min-height: calc(100vh - 64px);
  padding-top: clamp(16px, 3vh, 36px);
}


.pl-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 9px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.86rem;
  white-space: nowrap;
  background: transparent;
  color: inherit;
}
.pl-btn--ghost {
  border-color: rgba(167, 139, 250, 0.22);
  color: var(--auth-muted);
}
.pl-btn--ghost:hover {
  color: var(--auth-text);
  background: rgba(139, 92, 246, 0.1);
}
.pl-btn--accent {
  background: linear-gradient(135deg, var(--auth-violet), var(--auth-violet-deep));
  color: #fff !important;
  border-color: transparent;
}
.pl-btn--accent:hover { filter: brightness(1.08); }

/* Legacy ia-btn used by donate / laws content (without ia-nav.css) */
body.player-body .ia-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: 11px;
  border: 1px solid rgba(167, 139, 250, 0.22);
  background: rgba(255, 255, 255, 0.03);
  color: var(--auth-text);
  font-weight: 700;
  font-size: 0.86rem;
  white-space: nowrap;
  transition:
    background 0.15s var(--auth-ease),
    border-color 0.15s var(--auth-ease),
    filter 0.15s var(--auth-ease),
    box-shadow 0.15s var(--auth-ease);
}
body.player-body .ia-btn:hover {
  background: rgba(139, 92, 246, 0.12);
  border-color: rgba(139, 92, 246, 0.35);
}
body.player-body .ia-btn--ghost {
  background: rgba(255, 255, 255, 0.03);
}
body.player-body .ia-btn--accent,
body.player-body .sd-main .ia-btn--accent,
body.player-body .sd-modal .ia-btn--accent {
  background: linear-gradient(135deg, var(--auth-violet), var(--auth-violet-deep)) !important;
  border-color: transparent !important;
  color: #fff !important;
  box-shadow: 0 8px 22px rgba(109, 40, 217, 0.28);
}
body.player-body .sd-main .ia-btn--accent:hover,
body.player-body .sd-modal .ia-btn--accent:hover {
  background: var(--auth-violet-bright) !important;
  filter: none;
}
body.player-body .sd-steam-cta.pl-btn--accent {
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.28);
}
body.player-body .sd-modal__panel {
  background:
    radial-gradient(ellipse 90% 70% at 18% -10%, rgba(139, 92, 246, 0.22), transparent 58%),
    linear-gradient(180deg, rgba(22, 14, 38, 0.92), rgba(10, 7, 18, 0.9));
  border-color: rgba(167, 139, 250, 0.18);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
}
body.player-body .sd-steam-row input {
  background: rgba(12, 8, 22, 0.72);
  border-color: rgba(167, 139, 250, 0.22);
}
body.player-body .sd-card {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), transparent 50%), rgba(255, 255, 255, 0.025);
}
body.player-body .sd-steam-row input:focus,
body.player-body .sd-admin-form input:focus,
body.player-body .sd-admin-form textarea:focus {
  border-color: rgba(139, 92, 246, 0.55);
}
body.player-body .sd-toast.is-err { border-color: rgba(139, 92, 246, 0.5); }

/* Main / hero tweaks */
body.player-body .ia-main,
body.player-body .sd-main,
body.player-body .pl-main {
  position: relative;
  z-index: 1;
}
body.player-body .ia-eyebrow {
  color: var(--auth-violet-bright);
  letter-spacing: 0.14em;
}
body.player-body .ia-hero-title {
  font-family: var(--auth-display);
  letter-spacing: -0.01em;
}
body.player-body .sd-hero-copy .ia-hero-title {
  font-family: "Unbounded", var(--auth-display), sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #faf7ff 0%, #e9e0ff 40%, #c4b5fd 72%, #a78bfa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
body.player-body .ia-hero-sub {
  margin: 10px 0 0;
  color: var(--auth-muted);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  max-width: 38ch;
  line-height: 1.4;
}
body.player-body .sd-hero-copy .ia-hero-sub {
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  color: #b7a8d4;
}
body.player-body .sd-hero-copy .ia-eyebrow,
body.player-body .sd-hero-copy .ia-hero-title,
body.player-body .sd-hero-copy .ia-hero-sub {
  animation: sd-hero-in 0.7s var(--auth-ease) both;
}
body.player-body .sd-hero-copy .ia-hero-title { animation-delay: 0.07s; }
body.player-body .sd-hero-copy .ia-hero-sub { animation-delay: 0.14s; }
@keyframes sd-hero-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  body.player-body .sd-hero-copy .ia-eyebrow,
  body.player-body .sd-hero-copy .ia-hero-title,
  body.player-body .sd-hero-copy .ia-hero-sub {
    animation: none;
  }
}

/* Search field on docs */
body.player-body .ia-search,
body.player-body .lw-search {
  border-color: rgba(167, 139, 250, 0.2);
  background: rgba(18, 12, 32, 0.85);
}
body.player-body .lw-btn--discord {
  border-color: rgba(139, 92, 246, 0.35);
  background: rgba(139, 92, 246, 0.12);
}

/* Footer — full-bleed band, flush to viewport bottom */
.pl-footer {
  position: relative;
  z-index: 1;
  margin-top: auto;
  margin-bottom: 0;
  padding: 40px 20px max(16px, env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(167, 139, 250, 0.1);
  background: linear-gradient(180deg, transparent, rgba(5, 3, 12, 0.55) 28%);
}
.pl-footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px 32px;
  align-items: start;
}
.pl-footer-logo {
  font-family: var(--auth-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  color: var(--auth-text);
}
.pl-footer-logo span {
  color: var(--auth-violet-bright);
  margin-left: 4px;
}
.pl-footer-copy {
  margin: 10px 0 0;
  color: var(--auth-muted);
  font-size: 0.78rem;
}
.pl-footer-col h4 {
  margin: 0 0 12px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--auth-muted);
  font-weight: 700;
}
.pl-footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.pl-footer-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: var(--auth-text);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  padding: 5px 2px 8px;
  opacity: 0.86;
  transition: color 0.18s var(--auth-ease), opacity 0.18s var(--auth-ease);
}
.pl-footer-link::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 2px;
  height: 1.5px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--auth-violet-deep), var(--auth-violet-bright));
  transform: scaleX(0);
  transform-origin: center;
  opacity: 0;
  transition: transform 0.2s var(--auth-ease), opacity 0.2s var(--auth-ease);
}
.pl-footer-link:hover {
  color: var(--auth-violet-bright);
  opacity: 1;
}
.pl-footer-link:hover::after {
  transform: scaleX(1);
  opacity: 0.45;
}

/* Player home hub */
.pl-hub {
  max-width: 960px;
  margin: 0 auto;
  padding: 56px 20px 80px;
  position: relative;
  z-index: 1;
}
.pl-hub-kicker {
  margin: 0 0 12px;
  color: var(--auth-violet-bright);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.pl-hub-title {
  margin: 0 0 14px;
  font-family: var(--auth-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.pl-hub-lead {
  margin: 0 0 40px;
  max-width: 32rem;
  color: var(--auth-muted);
  font-size: 1.05rem;
  line-height: 1.55;
}
.pl-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.pl-hub-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 20px;
  border-radius: 16px;
  border: 1px solid rgba(167, 139, 250, 0.16);
  background: linear-gradient(160deg, rgba(139, 92, 246, 0.12), transparent 55%), rgba(255, 255, 255, 0.03);
  transition: border-color 0.2s var(--auth-ease), transform 0.2s var(--auth-ease);
}
.pl-hub-card:hover {
  border-color: rgba(167, 139, 250, 0.4);
  transform: translateY(-2px);
}
.pl-hub-card-ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--auth-violet-soft);
  color: var(--auth-violet-bright);
}
.pl-hub-card strong {
  font-family: var(--auth-display);
  font-size: 1.15rem;
  font-weight: 750;
}
.pl-hub-card p {
  margin: 0;
  color: var(--auth-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

/* Docs / donate heroes — flush under header */
body.player-body .ia-main,
body.player-body .sd-main,
body.player-body .lw-main {
  padding-top: 4px;
}

@media (max-width: 900px) {
  .pl-hub-grid { grid-template-columns: 1fr; }
  .pl-footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }

  .pl-menu-toggle {
    display: grid;
    order: 20;
    margin-left: 0;
  }

  .pl-top-inner {
    flex-wrap: wrap;
    min-height: 52px;
    padding: 0;
    gap: 8px;
  }

  .pl-nav-panel,
  .pl-top-tools .pl-nav-panel {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    margin: 0;
    flex: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 10px;
    border-radius: 12px;
    background: rgba(12, 8, 22, 0.96);
    border: 1px solid rgba(167, 139, 250, 0.16);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    z-index: 50;
  }
  .pl-nav-panel.is-open { display: flex; }

  .pl-nav {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 2px;
  }
  .pl-nav-link {
    justify-content: flex-start;
    padding: 11px 12px;
    border-radius: 8px;
    font-size: 0.92rem;
  }
  .pl-nav-link::after { display: none; }
  .pl-nav-link.is-active,
  .pl-nav-link:hover {
    background: rgba(139, 92, 246, 0.12);
    color: var(--auth-text);
  }
  .pl-nav-link.is-active {
    box-shadow: inset 2px 0 0 var(--auth-violet-bright);
  }

  .pl-admin-cta.pl-icon-btn,
  .pl-account .pl-admin-cta.pl-icon-btn {
    margin: 0;
    align-self: center;
    width: 36px;
  }

  .pl-top-tools {
    margin-left: 0;
    gap: 8px;
    order: 4;
  }
  .pl-top-tools:has(.pl-nav-panel) {
    flex: 1 1 auto;
    justify-content: flex-end;
  }
  .pl-top-tools .ia-search,
  .pl-top-tools .lw-search {
    flex: 0 0 160px;
    width: 160px;
    max-width: 160px;
    min-width: 140px;
  }
  .pl-account,
  .pl-login {
    order: 15;
  }
  .pl-top-tools .lw-menu {
    order: 12;
  }
}
@media (max-width: 720px) {
  .pl-top { padding: 0 12px; }
  .pl-brand-text em { display: none; }
  .pl-footer { padding-left: 16px; padding-right: 16px; }
  .pl-footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .pl-hub { padding: 40px 18px 64px; }
  .pl-login span { display: none; }
  .pl-login { width: 36px; padding: 0; gap: 0; }
  .pl-top-tools .ia-search,
  .pl-top-tools .lw-search {
    max-width: none;
    flex: 1 1 100%;
    order: 8;
  }
  .pl-top-tools {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}
@media (max-width: 560px) {
  .pl-brand-text strong { font-size: 0.9rem; }
  .pl-brand-mark { width: 30px; height: 30px; border-radius: 8px; font-size: 0.8rem; }
  .pl-account-name { display: none; }
  .pl-account-trigger { padding: 2px; gap: 6px; }
  .pl-account-dropdown { min-width: 184px; }
}

/* Account pages — settings / details */
.pl-account-page {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 48px 24px 80px;
}
.pl-flash {
  margin: 0 0 18px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(248, 113, 113, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.28);
  color: #fecaca;
  font-size: 0.9rem;
  font-weight: 600;
}
.pl-flash--ok {
  background: rgba(52, 211, 153, 0.1);
  border-color: rgba(52, 211, 153, 0.28);
  color: #a7f3d0;
}
.pl-card {
  margin: 0 0 16px;
  padding: 20px 22px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(167, 139, 250, 0.14);
}
.pl-card-head {
  margin: 0 0 16px;
}
.pl-card-head h2 {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--auth-display);
  font-size: 1.05rem;
  font-weight: 700;
}
.pl-card-head i { color: var(--auth-violet-bright); }
.pl-card-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.pl-user-ava--lg {
  width: 56px;
  height: 56px;
  background:
    radial-gradient(circle at 30% 25%, rgba(232, 121, 249, 0.28), transparent 55%),
    rgba(139, 92, 246, 0.18);
  border: 1.5px solid rgba(196, 181, 253, 0.42);
}
.pl-user-ava--lg .pl-user-initial { font-size: 1.25rem; }
.pl-card-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.pl-card-meta strong {
  font-size: 1.05rem;
  font-weight: 750;
}
.pl-card-meta span,
.pl-card-hint {
  color: var(--auth-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}
.pl-card-hint { margin: 14px 0 0; }
.pl-steam-bound,
.pl-steam-empty {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px 16px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(167, 139, 250, 0.18);
  background:
    linear-gradient(145deg, rgba(139, 92, 246, 0.12), transparent 55%),
    rgba(0, 0, 0, 0.22);
}
.pl-steam-mark {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e8e4f5;
  font-size: 1.35rem;
}
.pl-steam-meta {
  min-width: 0;
  display: grid;
  gap: 3px;
}
.pl-steam-label {
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--auth-muted);
}
.pl-steam-id {
  font-family: ui-monospace, "SF Mono", Consolas, monospace;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #f4f0ff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pl-steam-meta em {
  font-style: normal;
  color: var(--auth-muted);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.35;
}
.pl-steam-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86rem;
  font-weight: 600;
}
.pl-tx-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pl-tx {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(167, 139, 250, 0.12);
  color: inherit !important;
  text-decoration: none !important;
  transition: background 0.15s var(--auth-ease), border-color 0.15s var(--auth-ease);
}
.pl-tx:hover {
  background: rgba(139, 92, 246, 0.1);
  border-color: rgba(167, 139, 250, 0.28);
}
.pl-tx-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.pl-tx-main strong {
  font-size: 0.98rem;
  font-weight: 700;
}
.pl-tx-meta {
  color: var(--auth-muted);
  font-size: 0.82rem;
}
.pl-tx-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex: 0 0 auto;
}
.pl-tx-amount {
  font-weight: 800;
  font-size: 0.98rem;
}
.pl-tx-status {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--auth-muted);
}
.pl-tx-status--ok {
  background: rgba(52, 211, 153, 0.14);
  color: #6ee7b7;
}
.pl-tx-status--wait {
  background: rgba(251, 191, 36, 0.14);
  color: #fcd34d;
}
.pl-tx-status--fail {
  background: rgba(248, 113, 113, 0.14);
  color: #fca5a5;
}
.pl-empty {
  text-align: center;
  padding: 48px 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px dashed rgba(167, 139, 250, 0.2);
}
.pl-empty-ico {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(139, 92, 246, 0.12);
  color: var(--auth-violet-bright);
  font-size: 1.35rem;
}
.pl-empty h2 {
  margin: 0 0 8px;
  font-family: var(--auth-display);
  font-size: 1.25rem;
}
.pl-empty p {
  margin: 0 0 18px;
  color: var(--auth-muted);
}
.pl-empty .pl-btn { margin: 0 auto; }

/* Account hub — privacy module */
.pl-hub-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pl-privacy-lead {
  margin: 0 0 16px;
  color: var(--auth-muted);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.45;
}
.pl-pref-list {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}
.pl-toggle {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(167, 139, 250, 0.16);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.pl-toggle:hover {
  border-color: rgba(167, 139, 250, 0.35);
  background: rgba(139, 92, 246, 0.08);
}
.pl-toggle-input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.pl-toggle-track {
  width: 46px;
  height: 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  flex-shrink: 0;
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.pl-toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  transition: transform 0.18s ease;
}
.pl-toggle-input:checked + .pl-toggle-track {
  background: linear-gradient(135deg, #8b5cf6, #a78bfa);
  border-color: rgba(167, 139, 250, 0.55);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.18);
}
.pl-toggle-input:checked + .pl-toggle-track .pl-toggle-thumb {
  transform: translateX(18px);
}
.pl-toggle-input:focus-visible + .pl-toggle-track {
  outline: 2px solid rgba(167, 139, 250, 0.7);
  outline-offset: 2px;
}
.pl-toggle-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.pl-toggle-copy strong {
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.pl-toggle-copy em {
  font-style: normal;
  color: var(--auth-muted);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
}

.pl-seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 4px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.pl-seg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--auth-muted);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 750;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.pl-seg-btn i { font-size: 0.85rem; opacity: 0.85; }
.pl-seg-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}
.pl-seg-btn.is-active {
  color: #fff;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.95), rgba(167, 139, 250, 0.85));
  box-shadow: 0 8px 22px rgba(139, 92, 246, 0.28);
}
.pl-seg-btn:focus-visible {
  outline: 2px solid rgba(167, 139, 250, 0.7);
  outline-offset: 2px;
}

.pl-privacy-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.pl-privacy-status {
  color: #a78bfa;
  font-size: 0.84rem;
  font-weight: 750;
}

@media (max-width: 560px) {
  .pl-toggle {
    grid-template-columns: 1fr auto;
    grid-template-areas: "copy track";
  }
  .pl-toggle-track { grid-area: track; }
  .pl-toggle-copy { grid-area: copy; }
  .pl-seg { grid-template-columns: 1fr; }
}

/* Account — appeal / punishments module */
.pl-card-head--row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.pl-btn--sm {
  min-height: 36px;
  padding: 0 12px;
  font-size: 0.8rem;
}
.pl-punish-list {
  display: grid;
  gap: 10px;
}
.pl-punish-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(167, 139, 250, 0.14);
  background: rgba(255, 255, 255, 0.03);
}
.pl-punish-ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(248, 113, 113, 0.12);
  color: #f87171;
  flex-shrink: 0;
}
.pl-punish-ico--soft {
  background: rgba(139, 92, 246, 0.14);
  color: #a78bfa;
}
.pl-punish-body {
  min-width: 0;
  display: grid;
  gap: 4px;
}
.pl-punish-body strong {
  font-size: 0.92rem;
  font-weight: 800;
}
.pl-punish-body p {
  margin: 0;
  color: var(--auth-muted);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.4;
}
.pl-punish-meta {
  color: rgba(167, 139, 250, 0.75);
  font-size: 0.74rem;
  font-weight: 650;
}
.pl-punish-steam {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: ui-monospace, "SF Mono", Consolas, monospace;
  font-weight: 700;
  color: #d8d0f0;
}
.pl-mod-steam {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(167, 139, 250, 0.22);
  background: rgba(139, 92, 246, 0.1);
  font-family: ui-monospace, "SF Mono", Consolas, monospace;
  font-size: 0.86rem;
  font-weight: 700;
  color: #efeaff;
}
.pl-mod-steam i { color: #a78bfa; }
.pl-mod-steam--warn {
  font-family: inherit;
  font-weight: 650;
  border-color: rgba(240, 193, 77, 0.35);
  background: rgba(240, 193, 77, 0.1);
  color: #f0c14d;
}
.pl-mod-steam--warn a { color: #fde68a; font-weight: 800; }
.pl-mod-steam--warn i { color: #f0c14d; }
.pl-punish-reply {
  display: block;
  margin-top: 4px;
  color: #c4b5fd;
  font-size: 0.8rem;
  font-weight: 700;
}
.pl-punish-evid {
  display: inline-block;
  margin-top: 8px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(167, 139, 250, 0.28);
  max-width: 160px;
}
.pl-punish-evid img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}
.pl-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  justify-self: end;
  min-width: 118px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
  text-align: center;
}
.pl-pill--bad {
  background: rgba(248, 113, 113, 0.14);
  color: #fca5a5;
  border: 1px solid rgba(248, 113, 113, 0.28);
}
.pl-pill--ok {
  background: rgba(52, 211, 153, 0.12);
  color: #6ee7b7;
  border: 1px solid rgba(52, 211, 153, 0.28);
}
.pl-pill--warn {
  background: rgba(251, 191, 36, 0.12);
  color: #fcd34d;
  border: 1px solid rgba(251, 191, 36, 0.28);
}
.pl-empty--compact {
  padding: 28px 16px;
}
.pl-empty--compact p { margin: 0; }

.pl-mod {
  position: fixed;
  inset: 0;
  z-index: 100030;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(8, 4, 18, 0.78);
  backdrop-filter: blur(10px);
}
.pl-mod[hidden] { display: none !important; }
.pl-mod-box {
  width: min(520px, 100%);
  max-height: min(92vh, 780px);
  overflow: auto;
  border-radius: 18px;
  border: 1px solid rgba(167, 139, 250, 0.22);
  background: linear-gradient(180deg, #161022 0%, #120e1c 100%);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
}
.pl-mod-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px 12px;
  border-bottom: 1px solid rgba(167, 139, 250, 0.14);
}
.pl-mod-kicker {
  margin: 0 0 4px;
  color: var(--auth-violet-bright);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pl-mod-head h2 {
  margin: 0;
  font-family: var(--auth-display);
  font-size: 1.2rem;
  font-weight: 800;
}
.pl-mod-body { padding: 14px 18px 8px; }
.pl-mod-note {
  margin: 0 0 14px;
  color: var(--auth-muted);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.45;
}
.pl-mod-foot {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 18px 16px;
  border-top: 1px solid rgba(167, 139, 250, 0.14);
}
.pl-mod-foot .pl-privacy-status { margin-right: auto; }

.pl-field { display: grid; gap: 8px; margin-bottom: 14px; }
.pl-field-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--auth-muted);
}
.pl-field-hint {
  margin: 0;
  color: var(--auth-muted);
  font-size: 0.76rem;
  font-weight: 600;
}
.pl-input {
  width: 100%;
  box-sizing: border-box;
  min-height: 46px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(167, 139, 250, 0.2);
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
  font: inherit;
  font-weight: 650;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  resize: none;
}
.pl-textarea { min-height: 120px; line-height: 1.45; }
.pl-input::placeholder { color: rgba(196, 181, 253, 0.45); font-weight: 600; }
.pl-input:focus {
  border-color: rgba(167, 139, 250, 0.55);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.18);
}
.pl-seg--3 { grid-template-columns: repeat(3, 1fr); }
.pl-drop {
  border: 1px dashed rgba(167, 139, 250, 0.35);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.22);
  padding: 18px 14px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
  outline: none;
}
.pl-drop:hover,
.pl-drop:focus-visible,
.pl-drop.is-drag {
  border-color: rgba(167, 139, 250, 0.7);
  background: rgba(139, 92, 246, 0.1);
}
.pl-drop-idle {
  display: grid;
  gap: 4px;
  place-items: center;
  text-align: center;
  color: var(--auth-muted);
}
.pl-drop-idle i { font-size: 1.4rem; color: #a78bfa; margin-bottom: 4px; }
.pl-drop-idle strong {
  color: #efeaff;
  font-size: 0.9rem;
  font-weight: 750;
}
.pl-drop-idle em {
  font-style: normal;
  font-size: 0.76rem;
  font-weight: 600;
}
.pl-drop-preview {
  display: grid;
  gap: 10px;
  justify-items: center;
}
.pl-drop-preview img {
  max-width: 100%;
  max-height: 180px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 640px) {
  .pl-punish-item {
    grid-template-columns: auto 1fr;
  }
  .pl-punish-item .pl-pill {
    grid-column: 2;
    justify-self: end;
  }
  .pl-seg--3 { grid-template-columns: 1fr; }
  .pl-steam-bound,
  .pl-steam-empty {
    grid-template-columns: auto 1fr;
  }
  .pl-steam-bound .pl-btn,
  .pl-steam-empty .pl-btn {
    grid-column: 1 / -1;
    justify-self: stretch;
  }
}



