html, body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
}

main {
  flex: 1; /* this expands to fill space between header and footer */
}

@keyframes pulse-soft {
  0%, 100% { text-shadow: 0 0 6px rgba(255,215,0,0.6), 0 0 12px rgba(255,215,0,0.4); }
  50% { text-shadow: 0 0 12px rgba(255,215,0,0.8), 0 0 20px rgba(255,215,0,0.6); }
}
.animate-pulse-soft { animation: pulse-soft 5s ease-in-out infinite; }

body {
  min-height: 120vh;
  background: #0f172a;
  background-image:
    radial-gradient(at 20% 30%, rgba(56,189,248,0.25) 0%, transparent 60%),
    radial-gradient(at 80% 20%, rgba(250,204,21,0.15) 0%, transparent 50%),
    radial-gradient(at 50% 80%, rgba(147,51,234,0.25) 0%, transparent 50%);
  background-attachment: fixed;
  background-size: cover;
  position: relative;
  overflow-x: hidden;
}

.star {
  position: absolute;
  border-radius: 50%;
  opacity: 0.8;
  will-change: transform, opacity;
}
@keyframes twinkle { from { opacity: 0.4; } to { opacity: 1; } }
@keyframes drift-up-right   { from {transform: translate(0,0);} to {transform: translate(30vw,-60vh);} }
@keyframes drift-down-left  { from {transform: translate(0,0);} to {transform: translate(-30vw,60vh);} }
@keyframes drift-up-left    { from {transform: translate(0,0);} to {transform: translate(-40vw,-70vh);} }
@keyframes drift-down-right { from {transform: translate(0,0);} to {transform: translate(40vw,70vh);} }

.card {
  background-color: rgba(17, 24, 39, 0.8);
  backdrop-filter: blur(6px);
  border-radius: 0.75rem;
  border: 1px solid rgba(250, 204, 21, 0.15);
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  padding: 1.5rem;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.3s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(56,189,248,0.35);
  border-color: rgba(56,189,248,0.4);
}

.rank-card img {
  object-fit: contain;
  width: 60px;
  height: 60px;
  image-rendering: pixelated;
  filter: drop-shadow(0 0 5px rgba(250,204,21,0.6));
}

.accordion-header { cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: color 0.3s ease, text-shadow 0.3s ease; }
.accordion-header:hover { color: #fde047; text-shadow: 0 0 6px rgba(250,204,21,0.7); }
.accordion-toggle { cursor: pointer; transition: transform 0.3s ease; }
.accordion-toggle.rotate-180 { transform: rotate(180deg); }

.card-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 1.5rem;

  /* use theme variables for color + underline */
  color: var(--title-color, #e5e7eb);
  border-bottom: 1px solid var(--title-border, rgba(148,163,184,0.3));

  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.card-title:hover {
  color: var(--title-hover, #facc15);
  text-shadow: 0 0 6px var(--title-glow, rgba(250,204,21,0.7));
  cursor: default;
}

/* gold theme */
.stat-header--gold.card-title {
  --title-color: #facc15;
  --title-hover: #fde047;
  --title-glow: rgba(250,204,21,0.7);
  --title-border: rgba(250,204,21,0.25);
}

/* cyan theme */
.stat-header--cyan.card-title {
  --title-color: #38bdf8;
  --title-hover: #22d3ee;
  --title-glow: rgba(56,189,248,0.7);
  --title-border: rgba(56,189,248,0.25);
}

.shrink-on-scroll { height: 40vh; transition: height 0.6s ease; }
.shrink-on-scroll.shrunk { height: 24vh; }
.shrink-on-scroll.shrunk .hero-title { font-size: 2.25rem; transform: translateY(-6px); }
.shrink-on-scroll.shrunk .hero-subtitle { opacity: 0; }
.hero-title { font-size: 3rem; transition: font-size 0.6s ease, transform 0.6s ease; cursor: default; user-select: none; }
.hero-subtitle { opacity: 1; transition: opacity 0.6s ease 0.1s; cursor: default; user-select: none; }

.fade-list, .fade-chart, .fade-table { opacity: 0; transition: opacity 0.4s ease, transform 0.4s ease; }
.fade-list { transform: translateY(6px); }
.fade-list.show, .fade-chart.show, .fade-table.show { opacity: 1; transform: translateY(0); }

.active-btn {
  background: linear-gradient(145deg, #0ea5e9, #06b6d4);
  color: #ffffff !important;
  font-weight: 700 !important;
  border-radius: 0.375rem;
  border: 1px solid #38bdf8;
  text-shadow: 0 0 3px #38bdf8;
  box-shadow: 0 0 6px rgba(56, 189, 248, 0.6), 0 0 10px rgba(14, 165, 233, 0.35);
  animation: subtlePulse 3s ease-in-out infinite;
  transition: all 0.25s ease-in-out;
}
@keyframes subtlePulse {
  0%, 100% { box-shadow: 0 0 6px rgba(56, 189, 248, 0.6), 0 0 10px rgba(14, 165, 233, 0.35); }
  50% { box-shadow: 0 0 8px rgba(56, 189, 248, 0.8), 0 0 14px rgba(14, 165, 233, 0.45); }
}

button:not(.active-btn) {
  background: rgba(17, 24, 39, 0.9);
  color: #d1d5db;
  border-radius: 0.375rem;
  border: 1px solid rgba(56, 189, 248, 0.25);
  transition: all 0.25s ease-in-out;
}
button:not(.active-btn):hover {
  background: rgba(14, 165, 233, 0.12);
  color: #38bdf8;
  box-shadow: 0 0 4px rgba(56, 189, 248, 0.5), 0 0 8px rgba(14, 165, 233, 0.35);
  transform: scale(1.02);
}

/* === Points Table === */
.points-table { width: 100%; border-collapse: collapse; border-radius: 0.75rem; overflow: hidden; background: rgba(15,23,42,0.85); backdrop-filter: blur(2px); margin-bottom: 1.25rem; font-size: 0.925rem; transition: all 0.3s ease-in-out; box-shadow: 0 0 12px rgba(0,0,0,0.3); }
.points-table thead { background: rgba(30,41,59,0.8); transition: background 0.3s ease; }
.points-table th { padding: 0.75rem 1.25rem; font-weight: 600; color: #cbd5e1; text-align: left; font-size: 0.875rem; border-bottom: 1px solid rgba(100,116,139,0.25); }
.points-table td { padding: 0.75rem 1.25rem; border-bottom: 1px solid rgba(148,163,184,0.15); color: #e2e8f0; vertical-align: top; line-height: 1.45rem; }
.points-table tr:last-child td { border-bottom: none; }
.points-table td .desc { display: block; font-size: 0.75rem; font-style: italic; color: #94a3b8; margin-top: 0.25rem; }
.points-table tbody tr:hover { background-color: rgba(255,255,255,0.025); transition: background 0.2s ease-in-out; }
.points-table td.text-center, .points-table td:last-child { text-align: center; font-weight: 600; color: #facc15; }

/* Zebra rows */
.points-table tbody tr:nth-child(odd) { background-color: rgba(255, 255, 255, 0.015); }
.points-table tbody tr:nth-child(even) { background-color: rgba(255, 255, 255, 0.03); }

/* Stronger first column */
.points-table td:first-child { font-size: 1rem; font-weight: 600; color: #e2e8f0; }

/* Accordion & toggle */
.card-toggle { position: absolute; top: 20px; right: 20px; width: 28px; height: 28px; background: linear-gradient(145deg, #1e293b, #0f172a); border: 2px solid rgba(255,255,255,0.05); border-radius: 6px; box-shadow: 0 0 6px rgba(0,0,0,0.3); cursor: pointer; transition: transform 0.3s ease, background 0.3s ease; display: flex; align-items: center; justify-content: center; }
.card-toggle:hover { background: #334155; transform: scale(1.1); }
.card-toggle i { color: #facc15; font-size: 16px; transition: transform 0.3s ease; }
.card.collapsed .card-toggle i { transform: rotate(180deg); }

/* === DataTables integration bits (#droplog & #members styling) === */
#droplog thead th {
  background-color: #1e293b;
  font-size: 0.85rem;
  font-weight: 700;
  color: #38bdf8;
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 2px solid rgba(250,204,21,0.25);
  padding: 0.75rem;
  text-align: center;
  white-space: nowrap;
}
#droplog thead th.has-active { color: #facc15 !important; text-shadow: 0 0 6px rgba(250,204,21,0.8); }

.header-content { display: flex; align-items: center; justify-content: center; gap: 0.4rem; }
.sort-toggle button { background-color: #1f2937; border: 1px solid #334155; color: #94a3b8; padding: 0.15rem 0.4rem; font-size: 0.7rem; border-radius: 4px; transition: all 0.2s ease; }
.sort-toggle button:hover { color: #facc15; border-color: #facc15; background-color: #334155; }
.sort-toggle button.active { background-color: #facc15; color: #1e2937; font-weight: bold; }

.dataTables_paginate { display: flex; justify-content: center; gap: 0.5rem; flex-wrap: wrap; margin-top: 1rem; }
.dataTables_paginate .paginate_button { background-color: #1e293b; color: #cbd5e1 !important; border: 1px solid #334155; padding: 6px 12px; font-size: 0.85rem; border-radius: 6px; transition: all 0.2s ease; }
.dataTables_paginate .paginate_button:hover { background-color: #334155; border-color: #facc15; color: #facc15 !important; }
.dataTables_paginate .paginate_button.current { background-color: #facc15; color: #1e2937 !important; font-weight: bold; }

.dataTables_info { font-size: 1rem; font-weight: 600; color: #facc15; text-shadow: 0 0 6px rgba(250,204,21,0.7); margin-top: 1rem; text-align: center; }

#leaderboard_wrapper { overflow: visible !important; }
#leaderboard_wrapper::-webkit-scrollbar { display: none; }

#members th, #members td { padding: 0.75rem 1rem; text-align: center; vertical-align: middle; box-sizing: border-box; }
#members th:first-child, #members td:first-child { text-align: left; }

.card-title-mini {
  display: flex; justify-content: space-between; align-items: center;
  color: #facc15;
  border-bottom: 1px solid rgba(250,204,21,0.2);
  padding-bottom: 0.5rem; margin-bottom: 0.3rem;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}
.card-title-mini-blue {
  display: flex; justify-content: space-between; align-items: center;
  color: #facc15;
  border-bottom: 1px solid rgba(56,189,248,0.25);  /* neon cyan */
  padding-bottom: 0.5rem; margin-bottom: 0.3rem;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}
.card-title .title-text {
  color: var(--title-color);
  transition: color 0.3s ease, text-shadow 0.3s ease;
}
.card-title:hover .title-text {
  color: var(--title-hover);
  text-shadow: 0 0 6px var(--title-glow);
}
.card-title--noline {
  border-bottom: 0 !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}
/* --- Starfield container (sits behind content) --- */
#starfield {
  position: fixed;
  inset: 0;
  z-index: -1;            /* behind your cards/hero */
  overflow: hidden;       /* keep comets from showing scrollbars */
  pointer-events: none;   /* never blocks clicks */
}

/* Base star node — JS sets size/color/blur per star */
.star {
  position: absolute;     /* keep */
  border-radius: 50%;     /* keep */
  opacity: 0.85;          /* a touch brighter by default */
  will-change: transform, opacity, filter;
}

/* Comets: the JS builds gradient tails; these are just safe defaults */
.comet {
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  will-change: transform, opacity, filter;
  /* Prevent subpixel gaps on some GPUs */
  transform: translateZ(0);
}

/* Respect users who prefer less motion */
@media (prefers-reduced-motion: reduce) {
  #starfield .star,
  #starfield .comet {
    animation: none !important;
  }
}

/* === Global Scrollbar Fix (transparent tracks + themed page thumb) === */

/* Keep layout from shifting when scrollbars appear */
html { scrollbar-gutter: stable; }

/* Size (WebKit/Blink) */
::-webkit-scrollbar { width: 10px; height: 10px; }
@media (max-width: 768px) {
  ::-webkit-scrollbar { width: 8px; height: 8px; }
}

/* Transparent tracks & corners EVERYWHERE (page + nested) */
::-webkit-scrollbar-track,
::-webkit-scrollbar-track-piece,
::-webkit-scrollbar-corner {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}

/* Hide default arrow buttons everywhere */
::-webkit-scrollbar-button,
::-webkit-scrollbar-button:single-button,
::-webkit-scrollbar-button:vertical:increment,
::-webkit-scrollbar-button:vertical:decrement,
::-webkit-scrollbar-button:horizontal:increment,
::-webkit-scrollbar-button:horizontal:decrement,
::-webkit-scrollbar-button:start:decrement,
::-webkit-scrollbar-button:end:increment {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
}

/* ---- PAGE SCROLLBAR (html/body) — neon thumb, transparent track ---- */

/* Firefox */
html, body {
  scrollbar-width: thin;
  scrollbar-color: #facc15 transparent;   /* thumb | track */
}

/* WebKit/Blink */
html::-webkit-scrollbar-thumb {
  background: linear-gradient(145deg, #fde047 0%, #facc15 40%, #38bdf8 100%);
  border-radius: 999px;
  border: 2px solid rgba(15,23,42,0.95);
  box-shadow:
    0 0 6px #facc15,
    0 0 12px #38bdf8,
    0 0 20px rgba(250,204,21,0.65);
}
html::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(145deg, #fff176 0%, #fde047 50%, #22d3ee 100%);
  box-shadow:
    0 0 10px #fde047,
    0 0 16px #22d3ee,
    0 0 24px rgba(56,189,248,0.9);
}
html::-webkit-scrollbar-thumb:active {
  background: linear-gradient(145deg, #fffba0 0%, #fde047 50%, #38bdf8 100%);
  box-shadow:
    0 0 12px #fde047,
    0 0 20px #38bdf8,
    inset 0 0 12px rgba(250,204,21,0.85);
}

/* ---- NESTED SCROLL AREAS (lists, tables, panels) ---- */
/* Transparent track is already enforced above; give a subtle neutral thumb */

:where(*):not(html, body) {
  scrollbar-width: thin;                               /* Firefox */
  scrollbar-color: rgba(148,163,184,0.45) transparent; /* thumb | track */
}
:where(*):not(html, body)::-webkit-scrollbar-thumb {
  background: rgba(148,163,184,0.35) !important;       /* neutral thumb */
  border-radius: 999px !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Optional: let Blink overlay the bar so content width doesn't squeeze */
@supports (-webkit-appearance: none) {
  html { overflow-y: overlay; }  /* Chrome/Edge; ignored elsewhere */
}

/* === Inner Scrollbars (tables, lists, panels) === */
/* Transparent track, neon thumb (same as page) */

:where(*):not(html, body)::-webkit-scrollbar-track,
:where(*):not(html, body)::-webkit-scrollbar-track-piece,
:where(*):not(html, body)::-webkit-scrollbar-corner {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

:where(*):not(html, body)::-webkit-scrollbar-thumb {
  background: linear-gradient(
    145deg,
    #fde047 0%,   /* neon yellow */
    #facc15 40%,  /* gold */
    #38bdf8 100%  /* cyan */
  ) !important;
  border-radius: 999px !important;
  border: 2px solid rgba(15,23,42,0.85) !important; /* blends into panel bg */
  box-shadow:
    0 0 6px #facc15,
    0 0 12px #38bdf8,
    0 0 20px rgba(250,204,21,0.65);
}

:where(*):not(html, body)::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(
    145deg,
    #fff176 0%,
    #fde047 50%,
    #22d3ee 100%
  ) !important;
  box-shadow:
    0 0 10px #fde047,
    0 0 16px #22d3ee,
    0 0 24px rgba(56,189,248,0.9);
}

:where(*):not(html, body)::-webkit-scrollbar-thumb:active {
  background: linear-gradient(
    145deg,
    #fffba0 0%,
    #fde047 50%,
    #38bdf8 100%
  ) !important;
  box-shadow:
    0 0 12px #fde047,
    0 0 20px #38bdf8,
    inset 0 0 12px rgba(250,204,21,0.85);
}

/* Firefox fallback */
:where(*):not(html, body) {
  scrollbar-width: thin;
  scrollbar-color: #facc15 transparent;
}


/* Keyframes (reused for page + inner scrollbars) */
@keyframes thumbPulse {
  0%, 100% {
    box-shadow:
      0 0 6px   #facc15,
      0 0 12px  #38bdf8,
      0 0 18px  rgba(250,204,21,0.50);
    filter: saturate(1);
  }
  50% {
    box-shadow:
      0 0 10px  #fde047,
      0 0 18px  #22d3ee,
      0 0 28px  rgba(56,189,248,0.90);
    filter: saturate(1.08);
  }
}

/* Page scrollbar (WebKit/Blink) */
html::-webkit-scrollbar-thumb {
  animation: thumbPulse 4.8s ease-in-out infinite;
  transition: animation-duration .2s ease, filter .2s ease;
}

/* Speed up pulse a bit on hover/drag */
html::-webkit-scrollbar-thumb:hover    { animation-duration: 2.6s; }
html::-webkit-scrollbar-thumb:active   { animation-duration: 1.9s; filter: saturate(1.12); }

/* Inner scroll areas match the pulse (tables, lists, panels) */
:where(*):not(html, body)::-webkit-scrollbar-thumb {
  animation: thumbPulse 5.2s ease-in-out infinite;
  transition: animation-duration .2s ease, filter .2s ease;
}
:where(*):not(html, body)::-webkit-scrollbar-thumb:hover  { animation-duration: 2.8s; }
:where(*):not(html, body)::-webkit-scrollbar-thumb:active { animation-duration: 2.1s; filter: saturate(1.12); }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  html::-webkit-scrollbar-thumb,
  :where(*):not(html, body)::-webkit-scrollbar-thumb {
    animation: none !important;
  }
}

/* --- Discord card lede + neon accents --- */
.lede {
  color: #e5e7eb;
  line-height: 1.6;
}

/* cyan accent (PvM, splits) */
.accent-cyan {
  color: #38bdf8;
  font-weight: 700;
  text-shadow:
    0 0 4px rgba(56,189,248,.65),
    0 0 10px rgba(56,189,248,.35);
}

/* gold accent (115+, clan-rank) */
.accent-gold {
  color: #facc15;
  font-weight: 800;
  text-shadow:
    0 0 4px rgba(250,204,21,.7),
    0 0 12px rgba(250,204,21,.45);
}

/* pink accent (RNG) – subtle pop so it doesn’t overpower the cyan/gold */
.accent-pink {
  color: #f472b6;
  font-weight: 700;
  text-shadow:
    0 0 4px rgba(244,114,182,.65),
    0 0 10px rgba(244,114,182,.35);
}
.header-brand{
  font-weight: 800;
  letter-spacing: .4px;
  text-transform: uppercase;
  /* 20px on phones → ~36px on desktops */
  font-size: clamp(1.25rem, 1rem + 1.4vw, 2.25rem);
  line-height: 1.1;
  color: #e5e7eb;
  text-decoration: none;
  text-shadow: 0 0 6px rgba(56,189,248,.45);
}

/* Optional: a touch larger on very wide screens */
@media (min-width: 1536px){
  .header-brand{ font-size: 2.5rem; }
}
/* Base */
.header-brand{
  position: relative;                 /* for the underline */
  font-weight: 900;
  letter-spacing: -0.2px;             /* tighter */
  text-transform: uppercase;
  color:#e5e7eb;
  text-decoration:none;
  text-shadow:
    0 1px 0 rgba(15,23,42,.35),
    0 0 4px rgba(56,189,248,.35),
    0 0 10px rgba(56,189,248,.25);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: text-shadow .2s ease, color .2s ease;
}

/* Subtle neon underline that animates in on hover */
.header-brand::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:-6px;
  height:2px;
  opacity:0;
  transform:scaleX(0.4);
  transform-origin:center;
  border-radius:2px;
  background:linear-gradient(90deg,#22d3ee, #fde047, #22d3ee);
  box-shadow:
    0 0 6px rgba(250,204,21,.35),
    0 0 10px rgba(56,189,248,.30);
  transition: transform .22s ease, opacity .22s ease;
}

/* Hover: keep white text, crisp cyan glow, show underline */
.header-brand:hover{
  color:#f7f7ed; /* gold */
  text-shadow:
    0 1px 0 rgba(15,23,42,.35),
    0 0 6px rgba(56,189,248,.5),
    0 0 12px rgba(56,189,248,.35);
}

.header-brand:hover::after{
  opacity:1;
  transform:scaleX(1);
}

/* Respect reduced-motion */
@media (prefers-reduced-motion: reduce){
  .header-brand, .header-brand::after{
    transition:none;
  }
}

/*
===============================
KEEP AT THE BOTTOM OF THE PAGE SO MOBILE
UI'S DON'T GET THE CRAZY BACKGROUND
================================
*/

@media (max-width: 768px), (hover: none) and (pointer: coarse) {
  /* lighter background behavior on mobile GPUs */
  body {
    background-attachment: scroll !important;
  }

  /* keep stars, but stop all star/comet animations */
  #starfield .star,
  #starfield .comet {
    animation: none !important;
    transition: none !important;
    filter: none !important;
  }

  /* hide the comets entirely (stars stay) */
  #starfield .comet {
    display: none !important;
  }

  /* kill any pulsing/glow animations */
  .animate-pulse-soft,
  .active-btn {
    animation: none !important;
  }

  /* stop fancy hover transforms (touch devices don’t really hover) */
  .card:hover {
    transform: none !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4) !important;
  }

  /* tone down hero shrink/transition effects */
  .shrink-on-scroll {
    transition: none !important;
  }
  .hero-title,
  .hero-subtitle {
    transition: none !important;
  }

  /* turn off animated scrollbars on mobile */
  html::-webkit-scrollbar-thumb,
  :where(*):not(html, body)::-webkit-scrollbar-thumb {
    animation: none !important;
  }
}
  /* Subtle border + inner glow on the donut card */
  .card.neon-panel {
    position: relative;
    border: 1px solid rgba(147,197,253,.18);
    box-shadow: inset 0 0 0 1px rgba(56,189,248,.08), 0 12px 40px rgba(0,0,0,.35);
    border-radius: 14px;
  }
  .card.neon-panel:before {
    content: "";
    position: absolute; inset: -1px;
    border-radius: inherit;
    pointer-events: none;
    background: radial-gradient(80% 60% at 50% 40%, rgba(56,189,248,.06), transparent 60%),
                radial-gradient(60% 50% at 50% 80%, rgba(250,204,21,.05), transparent 70%);
    filter: saturate(120%);
  }
  .admin-chip {
    display:inline-flex; align-items:center; gap:.35rem;
    padding:.15rem .45rem; border-radius:.5rem;
    font-size:.75rem; font-weight:700; letter-spacing:.02em;
    color:#fbbf24;
    border:1px solid rgba(251,191,36,.45);
    background: rgba(251,191,36,.10);
    box-shadow: 0 0 12px rgba(251,191,36,.25), inset 0 0 12px rgba(251,191,36,.08);
  }
  .admin-chip svg { width:14px; height:14px; }

  .admin-chip {
  display:inline-flex; align-items:center; gap:.35rem;
  padding:.15rem .45rem; border-radius:.5rem;
  font-size:.75rem; font-weight:700; letter-spacing:.02em;
  color:#fbbf24;
  border:1px solid rgba(251,191,36,.45);
  background: rgba(251,191,36,.10);
  box-shadow: 0 0 12px rgba(251,191,36,.25), inset 0 0 12px rgba(251,191,36,.08);
}
.admin-chip svg { width:14px; height:14px; }

.admin-chip--owner     { color:#60a5fa; border-color:rgba(96,165,250,.45); background:rgba(96,165,250,.10); box-shadow:0 0 12px rgba(96,165,250,.25), inset 0 0 12px rgba(96,165,250,.08); }
.admin-chip {
  display:inline-flex; align-items:center; gap:.35rem;
  padding:.15rem .45rem; border-radius:.5rem;
  font-size:.75rem; font-weight:700; letter-spacing:.02em;
  color:#fbbf24;
  border:1px solid rgba(251,191,36,.45);
  background: rgba(251,191,36,.10);
  box-shadow: 0 0 12px rgba(251,191,36,.25), inset 0 0 12px rgba(251,191,36,.08);
}
.admin-chip svg { width:14px; height:14px; }

.admin-chip--owner     { color:#60a5fa; border-color:rgba(96,165,250,.45); background:rgba(96,165,250,.10); box-shadow:0 0 12px rgba(96,165,250,.25), inset 0 0 12px rgba(96,165,250,.08); }
.admin-chip--deputy { color:#a78bfa; border-color:rgba(167,139,250,.45); background:rgba(167,139,250,.10); box-shadow:0 0 12px rgba(167,139,250,.25), inset 0 0 12px rgba(167,139,250,.08); }
.admin-chip--staff { color:#a78bfa; border-color:rgba(167,139,250,.45); background:rgba(167,139,250,.10); box-shadow:0 0 12px rgba(167,139,250,.25), inset 0 0 12px rgba(167,139,250,.08); }.admin-chip--staff { color:#a78bfa; border-color:rgba(167,139,250,.45); background:rgba(167,139,250,.10); box-shadow:0 0 12px rgba(167,139,250,.25), inset 0 0 12px rgba(167,139,250,.08); }
.icon-glow-subtle {
  filter: drop-shadow(0 0 1px currentColor) !important;
}

/* balanced glow (slightly brighter, still soft) */
.icon-glow-balanced {
  filter: drop-shadow(0 0 1px currentColor)
          drop-shadow(0 0 2px currentColor) !important;
}

/* stronger (if you ever want more) */
.icon-glow-strong {
  filter: drop-shadow(0 0 2px currentColor)
          drop-shadow(0 0 4px currentColor) !important;
}
.icon-glow-none {
  filter: none !important;
}

/* --- Short cyan underline just under the title text --- */
.title-underline{
  position: relative;
  font-weight: 800;
  font-size: clamp(1.1rem, 0.9rem + 0.8vw, 1.5rem);
  color: #38bdf8;
  letter-spacing: .4px;
  padding-bottom: .35rem; /* space for the underline */
  margin: 0;              /* no extra gap below the header row */
}
.title-underline::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;               /* underline only as wide as the text */
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg,#22d3ee, #fde047, #22d3ee);
  box-shadow: 0 0 6px rgba(56,189,248,.35), 0 0 10px rgba(56,189,248,.25);
}

/* --- Pager buttons (match other neon buttons, no overlap issues) --- */
.pager-btn{
  height: 36px; width: 36px;
  display: grid; place-items: center;
  border-radius: .5rem;
  background: rgba(17,24,39,.9);
  color: #d1d5db;
  border: 1px solid rgba(56,189,248,.25);
  box-shadow: 0 0 0 1px rgba(0,0,0,.2) inset;
  transition: all .2s ease;
}
.pager-btn:hover{
  background: rgba(14,165,233,.12);
  color: #38bdf8;
  box-shadow: 0 0 4px rgba(56,189,248,.5), 0 0 8px rgba(14,165,233,.35);
  transform: translateY(-1px);
}

/* --- Compact stat tiles (~15% shorter) --- */
.tile-compact{
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(0,0,0,.4);
  border-radius: .75rem;
  padding: 1.05rem 1rem;          /* was p-5 (~1.25rem) → ~15% less */
}
.tile-compact .stat-number{
  font-weight: 800;
  /* was text-3xl → slightly smaller but still bold */
  font-size: clamp(1.35rem, 1rem + 1.4vw, 1.75rem);
  color: #e5e7eb;
  line-height: 1.1;
}

/* slightly tighter gaps between the two rows of tiles */
#stats-grid{ row-gap: .9rem; }
