/* ============ JOMBASTIC — neon public theme ============
   Calibrated against the 1672×941 reference screenshots.
   --u is one "reference pixel": 1px at 1672 wide, scaling down with the viewport. */

:root {
  --bg: #0c0218;
  --panel: #16051e;
  --magenta: #ed00ff;
  --pink: #ff009d;
  --white: #fff7ff;
  --gold: #ffc400;
  --muted: #d9c6e6;
  --dim: #8f7f9c;
  --font-body: 'Inter', Arial, Helvetica, sans-serif;
  --font-display: 'Exo 2', 'Rajdhani', Arial, sans-serif;
  --u: min(calc(100vw / 1672), 1px);
  --header-h: 78px;
  --cut: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 200; background: #1b0a2a; color: #fff; padding: 8px 12px; border: 1px solid var(--magenta); }
.skip-link:focus { top: 8px; }
.hidden { display: none !important; }
main { flex: 1; }

.display {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.container { width: min(calc(1210 * var(--u)), 100% - 32px); margin-inline: auto; }

/* ---------- generic icons ---------- */
.ico { display: inline-flex; width: 1em; height: 1em; flex: none; vertical-align: middle; }
.ico svg { width: 100%; height: 100%; }

/* =====================================================================
   SiteHeader
   ===================================================================== */
.sh {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(12, 2, 24, 0.94);
  border-bottom: 1px solid var(--magenta);
  box-shadow: 0 1px 12px rgba(237, 0, 255, 0.45), 0 1px 0 rgba(255, 150, 255, 0.35);
}
.sh-inner {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 calc(83 * var(--u)) 0 calc(80 * var(--u));
}
.sh-brand { display: inline-flex; align-items: center; height: 100%; }
.sh-brand img { width: calc(275 * var(--u)); height: auto; }
.sh-nav {
  position: absolute;
  left: 50%;
  top: 0;
  height: 100%;
  transform: translateX(-50%);
}
.sh-nav ul { display: flex; height: 100%; gap: calc(52 * var(--u)); }
.sh-nav li { display: flex; }
.sh-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 100%;
  padding: 0 4px;
  color: var(--white);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.18s;
}
.sh-nav a:hover { color: #ff7dff; }
.sh-nav a.active { color: var(--magenta); }
.sh-nav a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 6px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--magenta) 20%, #ff9dff 50%, var(--magenta) 80%, transparent);
  box-shadow: 0 0 8px var(--magenta), 0 0 18px rgba(237, 0, 255, 0.6);
}
.sh-nav a.admin-only { color: var(--gold); }
.sh-right { display: flex; align-items: center; gap: 14px; }
.sh-user { font-weight: 500; color: var(--muted); }
.btn-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  height: 44px;
  padding: 0 22px;
  color: var(--white);
  font-weight: 500;
  text-decoration: none;
  border: 1.5px solid var(--magenta);
  border-radius: 6px;
  background: rgba(20, 3, 32, 0.6);
  box-shadow: 0 0 8px rgba(237, 0, 255, 0.55), inset 0 0 8px rgba(237, 0, 255, 0.2);
  transition: box-shadow 0.18s, background-color 0.18s;
}
.btn-login:hover { background: rgba(237, 0, 255, 0.14); box-shadow: 0 0 14px rgba(237, 0, 255, 0.8), inset 0 0 10px rgba(237, 0, 255, 0.3); }
.sh-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border: 1px solid rgba(237, 0, 255, 0.6);
  border-radius: 6px;
}
.sh-toggle span { display: block; width: 22px; height: 2px; background: var(--white); position: relative; }
.sh-toggle span::before, .sh-toggle span::after { content: ''; position: absolute; left: 0; width: 22px; height: 2px; background: var(--white); }
.sh-toggle span::before { top: -7px; }
.sh-toggle span::after { top: 7px; }

/* =====================================================================
   NeonFrame — chamfered panel; outline drawn by js/neon.js as inline SVG
   ===================================================================== */
.nf {
  position: relative;
  isolation: isolate;
  --nf-fill: linear-gradient(150deg, rgba(34, 5, 40, 0.86), rgba(16, 2, 24, 0.9));
}
.nf::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--nf-fill);
  clip-path: polygon(
    var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut),
    100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut) 100%,
    0 calc(100% - var(--cut)), 0 var(--cut)
  );
}
.nf-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
  z-index: 2;
  filter: drop-shadow(0 0 3px rgba(237, 0, 255, 0.9)) drop-shadow(0 0 10px rgba(237, 0, 255, 0.45));
}
.nf-glow-strong .nf-svg {
  filter: drop-shadow(0 0 3px rgba(255, 120, 255, 0.95)) drop-shadow(0 0 10px rgba(237, 0, 255, 0.8)) drop-shadow(0 0 24px rgba(237, 0, 255, 0.45));
}
.nf-solid { --nf-fill: #0d0214; }

/* =====================================================================
   NeonButton
   ===================================================================== */
.nb {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 48px;
  padding: 0 28px;
  color: #fff;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.35);
  white-space: nowrap;
  transition: box-shadow 0.18s, filter 0.18s, background-color 0.18s;
}
.nb .ico { width: 18px; height: 18px; }
.nb .ico svg { stroke-width: 2.2; }
.nb[aria-disabled="true"], .nb:disabled { opacity: 0.5; cursor: not-allowed; filter: grayscale(0.4); }
.nb-round {
  border: 1.5px solid #ffc5ff;
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(62, 5, 66, 0.55), rgba(19, 1, 25, 0.8));
  box-shadow: 0 0 2px #fff, 0 0 8px #ed00ff, 0 0 20px rgba(237, 0, 255, 0.55), inset 0 0 12px rgba(237, 0, 255, 0.35);
}
.nb-round:hover:not([aria-disabled="true"]):not(:disabled) {
  filter: brightness(1.12);
  box-shadow: 0 0 3px #fff, 0 0 12px #ed00ff, 0 0 30px rgba(237, 0, 255, 0.75), inset 0 0 16px rgba(237, 0, 255, 0.45);
}
.nb-cut { --nf-fill: linear-gradient(180deg, rgba(40, 4, 48, 0.75), rgba(14, 1, 22, 0.9)); }
.nb-cut:hover .nf-svg { filter: drop-shadow(0 0 4px rgba(255, 140, 255, 1)) drop-shadow(0 0 14px rgba(237, 0, 255, 0.8)); }
.nb-block { width: 100%; }
.nb-sm { font-size: 17px; min-height: 44px; padding: 0 22px; }

/* =====================================================================
   PromoCodeRow
   ===================================================================== */
.code-row {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: stretch;
  min-height: 52px;
  border: 1.5px solid var(--magenta);
  border-radius: 8px;
  background: rgba(9, 1, 18, 0.85);
  box-shadow: 0 0 8px rgba(237, 0, 255, 0.55), 0 0 18px rgba(237, 0, 255, 0.25), inset 0 0 14px rgba(237, 0, 255, 0.12);
}
.code-row > * { display: flex; align-items: center; justify-content: center; }
.code-row > * + * { border-left: 1px solid rgba(237, 0, 255, 0.55); }
.code-label { padding: 0 18px; font-weight: 500; white-space: nowrap; }
.code-value {
  padding: 0 12px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 34px;
  line-height: 1;
  color: var(--magenta);
  text-shadow: 0 0 10px rgba(237, 0, 255, 0.7);
  letter-spacing: 0.02em;
}
.code-copy {
  width: 48px;
  min-height: 44px;
  color: #fff;
  transition: background-color 0.18s, color 0.18s;
}
.code-copy .ico { width: 24px; height: 24px; }
.code-copy:hover { background: rgba(237, 0, 255, 0.16); }
.code-copy.copied { color: var(--gold); }
.code-row-lg { min-height: 79px; border-radius: 10px; }
.code-row-lg .code-label { padding: 0 20px; font-size: 24px; font-weight: 500; }
.code-row-lg .code-value { font-size: 52px; }
.code-row-lg .code-copy { width: 76px; }
.code-row-lg .code-copy .ico { width: 36px; height: 36px; border: 1.5px solid var(--magenta); border-radius: 8px; padding: 5px; }
.code-live { position: absolute; left: 0; right: 0; margin-top: 2px; font-size: 13px; line-height: 1.2; color: var(--gold); text-align: center; pointer-events: none; }
.pc, .gc { position: relative; }

/* =====================================================================
   PageTitle — decorative transparent heading image + accessible h1
   ===================================================================== */
.pt { position: relative; display: flex; justify-content: center; margin: calc(49 * var(--u)) auto 0; height: calc(var(--vis) * var(--w) * var(--u)); }
.pt img { position: absolute; top: calc(-1 * var(--top) * var(--w) * var(--u)); width: calc(var(--w) * var(--u)); height: auto; max-width: none; }
.pt-sub { margin-top: 17px; text-align: center; font-size: 18px; color: var(--white); }

/* =====================================================================
   Page backgrounds
   ===================================================================== */
.page-inner {
  position: relative;
  margin-top: calc(-1 * var(--header-h));
  padding-top: var(--header-h);
  background: var(--bg) url('../assets/neon/bg-inner.webp') center top / 100% auto no-repeat;
  padding-bottom: 80px;
}

/* =====================================================================
   Home — hero
   ===================================================================== */
.hero {
  position: relative;
  margin-top: calc(-1 * var(--header-h));
  padding-top: var(--header-h);
  height: calc(941 * var(--u));
  background: #0c0218 url('../assets/neon/bg-home.webp') center top / cover no-repeat;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: calc(220 * var(--u));
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(12, 2, 24, 0) 0%, rgba(12, 2, 24, 0.55) 55%, var(--bg) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: calc(976 * var(--u));
  margin: 0 auto;
  padding-top: calc(79 * var(--u));
  text-align: center;
}
.hero-logo { position: relative; }
.hero-logo img { width: 100%; height: auto; }
.hero-tagline {
  position: absolute;
  left: 26.5%;
  top: 73.5%;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: calc(23 * var(--u));
  letter-spacing: 0.06em;
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 120, 255, 0.5);
  white-space: nowrap;
}
.hero-tagline .spark { color: #ffe9ff; font-size: 0.8em; letter-spacing: -0.1em; text-shadow: 0 0 8px #ff8dff; }
.hero-streak {
  width: calc(1010 * var(--u));
  margin: calc(-27 * var(--u)) auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(237, 0, 255, 0.7) 30%, #ffa8ff 50%, rgba(237, 0, 255, 0.7) 70%, transparent);
  box-shadow: 0 0 10px #ed00ff, 0 0 26px rgba(237, 0, 255, 0.6);
}
.hero-desc { margin-top: calc(34 * var(--u)); font-size: 18px; color: var(--white); }
.hero-cta { margin-top: calc(28 * var(--u)); font-size: 38px; line-height: 1.1; color: #fff; text-shadow: 0 0 14px rgba(255, 255, 255, 0.3); }
.hero-cta .accent { color: var(--pink); text-shadow: 0 0 14px rgba(255, 0, 157, 0.6); }
.hero-actions {
  display: flex;
  justify-content: center;
  gap: calc(39 * var(--u));
  width: calc(968 * var(--u));
  margin: calc(26 * var(--u)) auto 0;
}
.ac {
  flex: 1 1 0;
}
.ac:nth-child(2) { flex-grow: 1.16; }
.ac {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0;
  height: calc(80 * var(--u));
  min-height: 56px;
  padding: 0 calc(22 * var(--u)) 0 calc(26 * var(--u));
  color: #fff;
  text-decoration: none;
  --nf-fill: rgba(10, 1, 16, 0.92);
}
.ac .ac-icon { width: clamp(28px, calc(36 * var(--u)), 36px); height: clamp(28px, calc(36 * var(--u)), 36px); color: var(--pink); filter: drop-shadow(0 0 6px rgba(255, 0, 157, 0.7)); }
.ac .ac-icon svg { stroke: var(--pink); }
.ac .ac-div { width: 1.5px; height: calc(40 * var(--u)); margin: 0 calc(16 * var(--u)) 0 calc(20 * var(--u)); background: var(--pink); box-shadow: 0 0 6px var(--pink); }
.ac .ac-label { font-size: clamp(15px, calc(20 * var(--u)), 20px); text-align: left; white-space: nowrap; padding-right: 14px; }
.ac .ac-chev { width: 22px; height: 22px; margin-left: auto; color: var(--pink); }
.ac .ac-chev svg { stroke: var(--pink); stroke-width: 2.2; }
.ac:hover .nf-svg { filter: drop-shadow(0 0 4px rgba(255, 80, 200, 1)) drop-shadow(0 0 16px rgba(255, 0, 157, 0.8)); }

/* =====================================================================
   Home — section headings, videos, socials
   ===================================================================== */
.home-lower { position: relative; padding-top: 25px; background: var(--bg); }
.sec-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.sec-title-wrap { display: flex; align-items: center; gap: 20px; }
.sec-icon {
  width: 48px; height: 48px; flex: none;
  display: grid; place-items: center;
  border: 2px solid var(--magenta);
  border-radius: 8px;
  color: var(--magenta);
  box-shadow: 0 0 8px rgba(237, 0, 255, 0.6), inset 0 0 8px rgba(237, 0, 255, 0.25);
}
.sec-icon .ico { width: 30px; height: 30px; }
.sec-icon svg { stroke: var(--magenta); }
.sec-title { font-size: 34px; line-height: 1.05; color: #fff; text-shadow: 0 0 12px rgba(255, 255, 255, 0.25); }
.sec-title .accent { color: var(--magenta); text-shadow: 0 0 12px rgba(237, 0, 255, 0.6); }
.sec-sub { margin-top: 2px; font-size: 18px; color: var(--white); }
.sec-head .nb-cut { min-width: 182px; min-height: 52px; }

.videos { padding-bottom: 36px; }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 26px; }
.vc { display: block; color: inherit; text-decoration: none; }
.vc-frame { padding: 8px; --cut: 10px; }
.vc-thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #1a0624; }
.vc-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.2s; }
.vc:hover .vc-thumb img { transform: scale(1.03); }
.vc-dur {
  position: absolute; right: 10px; bottom: 10px;
  padding: 2px 8px; border-radius: 4px;
  background: rgba(0, 0, 0, 0.75); color: #fff; font-size: 14px; font-weight: 600;
}
.vc-title { margin-top: 14px; font-size: 16px; font-weight: 700; text-transform: uppercase; line-height: 1.25; color: #fff; }
.vc-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 6px; font-size: 15px; color: var(--muted); }
.vc:hover .nf-svg { filter: drop-shadow(0 0 4px rgba(255, 120, 255, 1)) drop-shadow(0 0 14px rgba(237, 0, 255, 0.7)); }
.videos-empty {
  margin-top: 26px;
  padding: 36px 24px;
  text-align: center;
  color: var(--muted);
  --cut: 10px;
}
.videos-empty p { max-width: 560px; margin: 0 auto; }
.videos-empty .nb { margin-top: 18px; }

.glow-line {
  position: relative;
  height: 2px;
  background: linear-gradient(90deg, rgba(237, 0, 255, 0.15), rgba(237, 0, 255, 0.8) 35%, #ffb3ff 50%, rgba(237, 0, 255, 0.8) 65%, rgba(237, 0, 255, 0.15));
  box-shadow: 0 0 10px #ed00ff, 0 0 30px rgba(237, 0, 255, 0.7), 0 0 60px rgba(237, 0, 255, 0.35);
}

.socials { padding: 40px 0 46px; }
.social-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 28px; }
.sl { display: flex; flex-direction: column; align-items: center; }
.sl-orb-wrap { position: relative; display: grid; place-items: center; width: 100%; height: 100px; }
.sl-orb-wrap::before, .sl-orb-wrap::after {
  content: '';
  position: absolute;
  top: 50%;
  width: calc(50% - 60px);
  height: 2px;
  background: linear-gradient(90deg, transparent, #ff8dff 40%, #ff5cff);
  box-shadow: 0 0 8px #ed00ff, 0 0 20px rgba(237, 0, 255, 0.6);
}
.sl-orb-wrap::before { left: 4px; }
.sl-orb-wrap::after { right: 4px; transform: scaleX(-1); }
.sl-orb {
  position: relative;
  z-index: 1;
  width: 96px; height: 96px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 42% 32%, #ff4dff, #e300f4 70%, #c400d6);
  border: 3px solid #b215c6;
  box-shadow: 0 0 6px #ed00ff, 0 0 26px rgba(237, 0, 255, 0.75), 0 0 60px rgba(237, 0, 255, 0.35);
  color: #060008;
  text-decoration: none;
  transition: box-shadow 0.18s, transform 0.18s;
}
.sl-orb:hover { box-shadow: 0 0 8px #ff6bff, 0 0 34px rgba(237, 0, 255, 0.95), 0 0 70px rgba(237, 0, 255, 0.45); }
.sl-orb .ico { width: 46px; height: 46px; }
.sl-orb svg { fill: #060008; }
.sl { min-width: 0; }
.sl .nb-cut { width: min(235px, 100%); min-height: 52px; margin-top: 14px; padding: 0 16px; }

/* =====================================================================
   SiteFooter
   ===================================================================== */
.sf {
  position: relative;
  border-top: 1px solid var(--magenta);
  box-shadow: 0 -1px 12px rgba(237, 0, 255, 0.45);
  background: #0c0218;
  padding: 10px 0 30px;
}
.sf-inner {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 0 40px;
}
.sf-brand img { width: 268px; height: auto; }
.sf-copy { margin-top: -6px; font-size: 16px; color: var(--white); white-space: nowrap; }
.sf-div { width: 1px; height: 60px; background: var(--magenta); box-shadow: 0 0 8px var(--magenta); margin-left: 30px; }
.sf-nav ul { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 0; }
.sf-nav li { display: flex; align-items: center; }
.sf-nav li + li::before { content: ''; width: 1.5px; height: 18px; margin: 0 34px; background: var(--magenta); box-shadow: 0 0 6px var(--magenta); }
.sf-nav a { color: var(--white); text-decoration: none; font-weight: 500; white-space: nowrap; transition: color 0.18s; }
.sf-nav a:hover { color: var(--magenta); }
.sf-social { display: flex; gap: 22px; }
.sf-social a { color: var(--magenta); display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; margin: -8px; filter: drop-shadow(0 0 6px rgba(237, 0, 255, 0.6)); transition: color 0.18s; }
.sf-social a:hover { color: #ff7dff; }
.sf-social .ico { width: 26px; height: 26px; }
.sf-social svg { fill: currentColor; }
.sf-credit { position: absolute; right: 22px; bottom: 8px; margin: 0; font-size: 12px; letter-spacing: 0.02em; color: #8f7f9c; white-space: nowrap; }
.sf-credit a { color: #c9a7d6; text-decoration: none; transition: color 0.18s, text-shadow 0.18s; }
.sf-credit a:hover { color: #ff7dff; text-shadow: 0 0 8px rgba(255, 43, 255, 0.6); }

/* =====================================================================
   Rewards
   ===================================================================== */
.rewards-grid {
  display: grid;
  grid-template-columns: repeat(2, calc(418 * var(--u)));
  gap: calc(18 * var(--u));
  justify-content: center;
  margin-top: 29px;
}
.pc { padding: 22px 22px 16px; display: flex; flex-direction: column; align-items: center; }
.plogo { position: relative; display: block; overflow: visible; max-width: 100%; min-height: 0; }
.gc-head { width: 100%; }
.gc-head .plogo { margin: 0 auto 26px; }
.plogo img { max-width: none; height: auto; pointer-events: none; }
.plogo-clash { display: flex; align-items: center; }
.plogo-clash .clash-gem { position: relative; flex: none; aspect-ratio: 1; }
.plogo-clash .clash-gem video { display: block; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.plogo-clash .clash-word { flex: none; display: block; }
.pc .plogo { margin-bottom: 18px; }
.pc .code-row { width: calc(350 * var(--u)); max-width: 100%; }
.pc-offer { margin-top: 16px; font-size: 18px; text-align: center; color: var(--white); }
.pc .nb { width: calc(372 * var(--u)); max-width: 100%; margin-top: 16px; min-height: 49px; }
.pc .nb-note { margin-top: 6px; font-size: 12px; color: var(--dim); }

/* =====================================================================
   Leaderboards
   ===================================================================== */
.lb-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: calc(24 * var(--u));
  width: calc(1004 * var(--u));
  margin: 12px auto 0;
  align-items: start;
}
.lb-tab { display: flex; flex-direction: column; align-items: center; }
.lb-tab-btn {
  position: relative;
  width: 100%;
  min-height: 57px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #fff;
  font-size: 19px;
  --cut: 10px;
  --nf-fill: linear-gradient(180deg, rgba(237, 0, 255, 0.18), rgba(30, 3, 36, 0.9));
  transition: filter 0.18s;
}
.lb-tab-btn .ico { width: 28px; height: 28px; }
.lb-tab-btn .ico svg { fill: #ff2bff; }
.lb-tab-btn .plogo { width: min(150px, 72%) !important; transition: filter 0.18s, opacity 0.18s; }
.lb-tab-btn[aria-selected="false"]:not(:disabled) .plogo { opacity: 0.7; }
.lb-tab-btn:not(:disabled):hover .plogo { opacity: 1; filter: drop-shadow(0 0 8px rgba(255, 43, 255, 0.55)); }
.lb-tab-btn[aria-selected="false"]:not(:disabled) { --nf-fill: rgba(20, 4, 30, 0.7); }
.lb-tab-btn[aria-selected="false"]:not(:disabled) .nf-svg { filter: none; opacity: 0.6; }
.lb-tab-btn:disabled {
  cursor: not-allowed;
  color: #a593b0;
  border: 1px solid #4a3a55;
  border-radius: 4px;
  background: rgba(20, 8, 30, 0.65);
}
.lb-tab-btn:disabled .ico svg { fill: #8f7f9c; }
.lb-tab-btn:disabled .plogo { opacity: 0.4; filter: grayscale(1); }
.lb-tab-soon { margin-top: 12px; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #9a8aa7; }

.lb-subhead {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: calc(14 * var(--u));
  font-size: 30px;
  color: #fff;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.25);
}
.lb-subhead .accent { color: var(--magenta); text-shadow: 0 0 12px rgba(237, 0, 255, 0.6); }
.lb-subhead::before, .lb-subhead::after { content: ''; width: 24px; height: 2px; background: var(--magenta); box-shadow: 0 0 6px var(--magenta); }
.lb-live { margin-top: 8px; text-align: center; font-size: 13px; color: var(--muted); }
.lb-live .dot { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: #9dff8a; box-shadow: 0 0 6px #9dff8a; vertical-align: middle; }
.lb-demo { display: inline-block; margin-left: 10px; padding: 2px 8px; font: 700 11px/1.4 var(--font-body); letter-spacing: 0.1em; color: #000; background: var(--gold); border-radius: 3px; vertical-align: middle; font-style: normal; }

.podium {
  display: grid;
  grid-template-columns: calc(247 * var(--u)) calc(286 * var(--u)) calc(246 * var(--u));
  gap: calc(25 * var(--u));
  justify-content: center;
  align-items: end;
  margin-top: calc(28 * var(--u));
}
.pod { display: flex; flex-direction: column; align-items: center; padding: 22px 14px 14px; min-height: calc(287 * var(--u)); --cut: 10px; }
.pod-1 { min-height: calc(323 * var(--u)); padding-top: 40px; }
.pod-rank {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 150px;
  height: 32px;
  display: grid;
  place-items: center;
  background: var(--magenta);
  clip-path: polygon(0 0, 100% 0, 86% 100%, 14% 100%);
  filter: drop-shadow(0 0 6px rgba(237, 0, 255, 0.8));
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
}
.pod-rank::before { content: ''; position: absolute; inset: 2px; background: #19031d; clip-path: polygon(0 0, 100% 0, 86% 100%, 14% 100%); z-index: -1; }
.pod-1 .pod-rank { width: 190px; height: 34px; background: var(--gold); color: var(--gold); font-size: 15px; filter: drop-shadow(0 0 6px rgba(255, 196, 0, 0.7)); }
.pod-avatar-wrap { position: relative; display: grid; place-items: center; width: 100%; height: 96px; }
.pod-1 .pod-avatar-wrap { height: 116px; }
.pod-wings { position: absolute; left: 50%; top: 54%; width: 180px; max-width: none; transform: translate(-50%, -50%); opacity: 0.9; pointer-events: none; }
.pod-1 .pod-wings { width: 250px; top: 64%; }
.pod-laurel { position: absolute; left: 50%; top: 52%; width: 232px; max-width: none; transform: translate(-50%, -50%); pointer-events: none; }
.pod-avatar {
  position: relative;
  z-index: 1;
  width: 80px; height: 80px;
  border-radius: 50%;
  border: 2px solid var(--magenta);
  box-shadow: 0 0 10px rgba(237, 0, 255, 0.7);
  background: #e9e4ee;
  overflow: hidden;
}
.pod-1 .pod-avatar { width: 92px; height: 92px; }
.pod-avatar img { width: 100%; height: 100%; object-fit: cover; }
.pod-name {
  position: relative;
  width: 92%;
  margin-top: 6px;
  padding: 5px 16px;
  background: var(--magenta);
  clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 10px 100%, 0 50%);
  text-align: center;
  font-size: 18px;
  color: #fff;
  filter: drop-shadow(0 0 6px rgba(237, 0, 255, 0.6));
}
.pod-name::before { content: ''; position: absolute; inset: 1.5px; z-index: -1; background: linear-gradient(90deg, #2a0532, #170220 50%, #2a0532); clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 10px 100%, 0 50%); }
.pod-name { isolation: isolate; }
.pod-label { margin-top: 10px; font-size: 12px; letter-spacing: 0.08em; color: #efe2f8; }
.pod-val { display: inline-flex; align-items: center; gap: 6px; margin-top: 2px; font-weight: 700; font-size: 17px; }
.pod-val .coin { width: 18px; height: 18px; }
.pod-prize { margin-top: 6px; }
.pod-prize-val { display: inline-flex; align-items: center; gap: 8px; margin-top: 2px; font-weight: 800; font-size: 30px; line-height: 1; color: var(--gold); text-shadow: 0 0 12px rgba(255, 196, 0, 0.5); }
.pod-prize-val .coin { width: 32px; height: 32px; }
.pod-empty { opacity: 0.75; }
.lb-empty { margin: calc(36 * var(--u)) auto 0; max-width: 620px; padding: 32px 28px; text-align: center; color: var(--muted); --cut: 10px; }
.lb-empty strong { display: block; margin-bottom: 6px; color: #fff; font-size: 18px; }

.countdown { width: calc(393 * var(--u)); min-width: 300px; margin: calc(27 * var(--u)) auto 0; padding: 10px 20px 12px; --cut: 10px; }
.cd-label { text-align: center; font-size: 13px; letter-spacing: 0.14em; color: #fff; }
.cd-cols { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 4px; }
.cd-col { display: flex; flex-direction: column; align-items: center; }
.cd-col + .cd-col { border-left: 1px solid rgba(237, 0, 255, 0.55); }
.cd-num { font-weight: 700; font-size: 28px; line-height: 1.1; color: #fff; font-variant-numeric: tabular-nums; }
.cd-unit { font-size: 12px; letter-spacing: 0.08em; color: var(--magenta); }
.cd-note { margin-top: 6px; text-align: center; font-size: 13px; color: var(--dim); }

/* =====================================================================
   Giveaways
   ===================================================================== */
.ga-list { display: flex; flex-direction: column; gap: 40px; align-items: center; margin-top: 32px; }
.gc { width: calc(785 * var(--u)); max-width: 100%; padding: 24px 24px 22px; display: flex; flex-direction: column; align-items: center; --nf-fill: linear-gradient(180deg, rgba(34, 5, 40, 0.9), rgba(12, 1, 20, 0.92)); }
.gc-artwrap { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut)); }
.gc-art { width: 100%; height: auto; max-width: none; opacity: 0.95; }
.gc > *:not(.nf-svg):not(.gc-artwrap) { position: relative; z-index: 1; }
.gc-head { text-align: center; }
.gc-title { font-size: 34px; color: #fff; text-shadow: 0 0 12px rgba(255, 255, 255, 0.25); }
.gc-sub { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 2px; }
.gc-prize { font-size: 17px; color: var(--muted); }
.gc-badge { display: inline-block; padding: 2px 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--magenta); border: 1px solid rgba(237, 0, 255, 0.6); border-radius: 4px; }
.gc .code-row { width: calc(517 * var(--u)); max-width: 100%; margin-top: 12px; }
.gc-skins { display: grid; grid-template-columns: 1fr 1fr; gap: calc(25 * var(--u)); width: 100%; margin-top: 18px; }
.slot { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; min-height: calc(210 * var(--u)); padding: 14px 16px 16px; --cut: 10px; --nf-fill: rgba(16, 2, 24, 0.55); }
.slot-art { position: absolute; left: 50%; top: 44%; width: 72%; transform: translate(-50%, -50%); pointer-events: none; }
.slot-art.silhouette { opacity: 0.38; filter: brightness(0.5) sepia(1) hue-rotate(245deg) saturate(4); }
.slot-art.real { width: 80%; top: 42%; filter: drop-shadow(0 6px 14px rgba(237, 0, 255, 0.35)); }
.slot-add {
  position: absolute; left: 50%; top: 44%; transform: translate(-50%, -50%);
  width: 60px; height: 60px;
  display: grid; place-items: center;
  border: 1.5px solid var(--magenta);
  border-radius: 8px;
  background: rgba(20, 3, 32, 0.7);
  color: #fff;
  box-shadow: 0 0 8px rgba(237, 0, 255, 0.6), inset 0 0 8px rgba(237, 0, 255, 0.2);
  transition: box-shadow 0.18s, background-color 0.18s;
}
.slot-add:hover { background: rgba(237, 0, 255, 0.18); box-shadow: 0 0 14px rgba(237, 0, 255, 0.9); }
.slot-add .ico { width: 30px; height: 30px; }
.slot-add svg { stroke: #fff; stroke-width: 2; }
.slot-name { position: relative; font-size: 20px; font-weight: 500; color: #fff; }
.slot-sub { position: relative; margin-top: 2px; font-size: 14px; color: var(--muted); }
.slot-tools { position: relative; display: flex; gap: 10px; margin-top: 8px; }
.slot-tools button { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--magenta); padding: 6px 10px; border: 1px solid rgba(237, 0, 255, 0.5); border-radius: 4px; }
.slot-tools button:hover { background: rgba(237, 0, 255, 0.15); }
.gc .nb-join { width: calc(735 * var(--u)); max-width: 100%; min-height: calc(70 * var(--u)); margin-top: 22px; font-size: 30px; }
.gc-status { margin-top: 8px; font-size: 15px; color: var(--muted); text-align: center; }
.gc-status:empty { display: none; }
.gc-status.ok { color: #9dff8a; }
.gc-status.err { color: #ff6b8e; }
.gc-meta { display: flex; justify-content: center; gap: 28px; margin-top: 10px; font-size: 14px; color: var(--muted); }
.gc-meta { margin-top: 8px; }
.gc-meta strong { color: #fff; }
.gc-winner { margin-top: 8px; font-size: 18px; color: var(--gold); font-weight: 700; }
.ga-empty { width: calc(785 * var(--u)); max-width: 100%; padding: 40px 28px; text-align: center; color: var(--muted); --cut: 10px; }
.ga-empty strong { display: block; margin-bottom: 6px; color: #fff; font-size: 20px; }
.ga-ended-head { margin: 56px auto 0; text-align: center; font-size: 26px; color: #fff; }
.ga-ended { display: flex; flex-direction: column; gap: 18px; align-items: center; margin-top: 20px; }
.ge { width: calc(785 * var(--u)); max-width: 100%; display: grid; grid-template-columns: 1fr auto; gap: 8px 20px; align-items: center; padding: 16px 22px; --cut: 10px; opacity: 0.85; }
.ge-title { font-size: 18px; font-weight: 700; color: #fff; }
.ge-sub { font-size: 14px; color: var(--muted); }
.ge-win { font-weight: 700; color: var(--gold); text-align: right; }

/* =====================================================================
   Auth
   ===================================================================== */
.auth-wrap { display: flex; justify-content: center; padding: 40px 16px 60px; }
.auth-panel { width: 460px; max-width: 100%; padding: 32px 30px 28px; --cut: 10px; }
.auth-logo { display: block; width: 300px; max-width: 100%; margin: -10px auto 10px; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 22px; }
.auth-tab { padding: 10px; font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 18px; text-transform: uppercase; color: var(--muted); border: 1px solid rgba(237, 0, 255, 0.4); border-radius: 6px; transition: color 0.18s, box-shadow 0.18s, background-color 0.18s; }
.auth-tab.active { color: #fff; border-color: var(--magenta); background: rgba(237, 0, 255, 0.14); box-shadow: 0 0 10px rgba(237, 0, 255, 0.5); }
.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; letter-spacing: 0.04em; color: var(--muted); }
.field small { display: block; margin-top: 5px; font-size: 12px; color: var(--dim); }
.field input { width: 100%; height: 46px; padding: 0 14px; color: #fff; font: inherit; background: rgba(9, 1, 18, 0.85); border: 1px solid rgba(237, 0, 255, 0.5); border-radius: 6px; transition: border-color 0.18s, box-shadow 0.18s; }
.field input:focus { outline: none; border-color: var(--magenta); box-shadow: 0 0 10px rgba(237, 0, 255, 0.5); }
.form-msg { min-height: 1.4em; margin: 0 0 12px; font-size: 14px; }
.form-msg.error { color: #ff6b8e; }
.form-msg.success { color: #9dff8a; }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1300px) {
  /* keep the three action cards readable: let the row use the viewport, not the scaled hero column */
  .hero-actions { width: min(968px, 94vw); gap: 20px; }
  .ac { height: 64px; }
}

@media (max-width: 1100px) {
  :root { --u: max(min(calc(100vw / 1672), 1px), 0.66px); }
  .sh-nav ul { gap: 32px; }
  .social-grid { gap: 20px 12px; }
}

@media (max-width: 900px) {
  .sh-inner { padding: 0 16px; }
  .sh-brand img { width: 190px; }
  .sh-toggle { display: inline-flex; }
  .sh-nav { position: absolute; left: 0; right: 0; top: var(--header-h); height: auto; transform: none; display: none; background: rgba(12, 2, 24, 0.98); border-bottom: 1px solid var(--magenta); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6); }
  .sh-nav.open { display: block; }
  .sh-nav ul { flex-direction: column; gap: 0; padding: 6px 0; }
  .sh-nav a { height: 50px; padding: 0 20px; width: 100%; font-size: 18px; }
  .sh-nav a.active::after { left: 20px; right: auto; width: 60px; bottom: 4px; }
  .sh-user { display: none; }

  .hero { height: auto; min-height: 0; padding-bottom: 36px; background-position: 50% 62%; }
  .hero-inner { width: min(92vw, 640px); padding-top: 28px; }
  .hero-tagline { position: static; margin-top: -8px; justify-content: center; font-size: clamp(14px, 3.4vw, 20px); white-space: normal; }
  .hero-streak { width: 100%; margin-top: 14px; }
  .hero-desc { font-size: 16px; }
  .hero-cta { font-size: 30px; }
  .hero-actions { flex-direction: column; width: 100%; gap: 14px; }
  .ac { height: 64px; padding: 0 20px 0 22px; }
  .ac .ac-label { font-size: 18px; }
  .ac .ac-icon { width: 32px; height: 32px; }
  .ac .ac-div { height: 36px; margin: 0 16px 0 18px; }

  .video-grid { grid-template-columns: 1fr; }
  .sec-head { flex-wrap: wrap; }
  .social-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 12px; }
  .sl .nb-cut { width: 100%; max-width: 235px; }
  .sf-inner { grid-template-columns: 1fr; gap: 18px; justify-items: center; text-align: center; }
  .sf-div { display: none; }
  .sf-credit { position: static; margin-top: 22px; text-align: center; }
  .sf-nav li + li::before { margin: 0 14px; }

  .rewards-grid { grid-template-columns: min(100%, 420px); gap: 18px; }
  .pc .code-row, .pc .nb { width: 100%; }

  .lb-tabs { width: 100%; grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .lb-subhead { font-size: 24px; flex-wrap: wrap; text-align: center; }
  .podium { grid-template-columns: min(100%, 300px); gap: 32px; justify-items: center; }
  .podium .pod { width: 100%; }
  .podium .pod-1 { order: -1; }
  .countdown { width: min(100%, 393px); }

  .gc { padding: 18px 14px 18px; }
  .page-inner { background-size: auto 100svh; background-position: center top; }
  .gc-skins { grid-template-columns: 1fr; gap: 16px; }
  .slot { min-height: 190px; }
  .gc .nb-join { min-height: 60px; font-size: 24px; }
  .ge { grid-template-columns: 1fr; }
  .ge-win { text-align: left; }
}

@media (max-width: 480px) {
  .sh-brand img { width: 150px; }
  .sf-nav li + li::before { margin: 0 10px; }
  .btn-login { min-width: 0; padding: 0 14px; height: 40px; }
  .pt { height: calc(var(--vis) * min(92vw, 560px)); }
  .pt img { width: min(92vw, 560px); top: calc(-1 * var(--top) * min(92vw, 560px)); }
  .pt-sub { font-size: 16px; padding: 0 16px; }
  .code-row { grid-template-columns: auto 1fr auto; }
  .code-label { padding: 0 12px; font-size: 14px; }
  .code-value { font-size: 28px; }
  .code-row-lg .code-label { font-size: 16px; padding: 0 12px; }
  .code-row-lg .code-value { font-size: 36px; }
  .code-row-lg .code-copy { width: 56px; }
  .sec-title { font-size: 26px; }
  .sec-sub { font-size: 15px; }
  .social-grid { grid-template-columns: 1fr; }
  .gc-title { font-size: 26px; }
  .cd-num { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* =====================================================================
   Admin (same neon shell; functional layout)
   ===================================================================== */
.admin-main .container { padding-top: 24px; }
.admin-head { text-align: center; }
.admin-head h1 { font-size: 40px; color: #fff; text-shadow: 0 0 14px rgba(255, 255, 255, 0.25); }
.admin-head h1 .accent, .panel-title .accent { color: var(--magenta); text-shadow: 0 0 12px rgba(237, 0, 255, 0.6); }
.admin-head p { margin-top: 6px; color: var(--muted); }
.admin-stats { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin: 24px 0 28px; }
.stat-chip { display: flex; flex-direction: column; align-items: center; min-width: 150px; padding: 12px 20px; }
.stat-num { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 28px; color: var(--gold); text-shadow: 0 0 12px rgba(255, 196, 0, 0.45); }
.stat-label { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.admin-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; align-items: start; }
.panel { padding: 24px 24px 22px; }
.panel-title { font-size: 24px; color: #fff; margin-bottom: 14px; }
.panel-note { margin: -6px 0 14px; font-size: 14px; color: var(--muted); }
.admin-lb { margin-top: 24px; }
.field select, .field textarea { width: 100%; padding: 10px 14px; color: #fff; font: inherit; background: rgba(9, 1, 18, 0.85); border: 1px solid rgba(237, 0, 255, 0.5); border-radius: 6px; }
.field select { height: 46px; }
.field textarea { resize: vertical; }
.field select:focus, .field textarea:focus { outline: none; border-color: var(--magenta); box-shadow: 0 0 10px rgba(237, 0, 255, 0.5); }
.field input::placeholder, .field textarea::placeholder { color: rgba(217, 198, 230, 0.4); }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0 14px; }
.field.check label { display: flex; align-items: center; gap: 10px; height: 46px; margin-top: 24px; color: #fff; font-size: 15px; }
.field.check input { width: 20px; height: 20px; accent-color: var(--magenta); }
.field code { font-family: ui-monospace, Menlo, monospace; color: var(--magenta); }
.manage-list { display: flex; flex-direction: column; gap: 12px; }
.manage-item { display: flex; gap: 16px; flex-wrap: wrap; justify-content: space-between; padding: 14px 16px; background: rgba(9, 1, 18, 0.6); border: 1px solid rgba(237, 0, 255, 0.35); border-radius: 6px; }
.manage-info { flex: 1; min-width: 220px; }
.manage-title { font-size: 16px; color: #fff; }
.manage-sub { margin-top: 4px; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--muted); }
.manage-winner { margin-top: 6px; font-weight: 700; color: var(--gold); }
.manage-side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.manage-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.btn-mini { padding: 8px 12px; min-height: 36px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; border: 1px solid var(--magenta); border-radius: 4px; background: rgba(237, 0, 255, 0.12); transition: background-color 0.18s, box-shadow 0.18s; }
.btn-mini:hover:not(:disabled) { background: rgba(237, 0, 255, 0.28); box-shadow: 0 0 10px rgba(237, 0, 255, 0.5); }
.btn-mini:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-mini.btn-danger { border-color: #ff4d6d; background: rgba(255, 77, 109, 0.12); }
.btn-mini.btn-danger:hover:not(:disabled) { background: rgba(255, 77, 109, 0.3); box-shadow: 0 0 10px rgba(255, 77, 109, 0.5); }
.pill { padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.pill-active { color: #9dff8a; border: 1px solid rgba(157, 255, 138, 0.6); }
.pill-ended { color: var(--muted); border: 1px solid rgba(217, 198, 230, 0.4); }
.pill-drawn { color: var(--gold); border: 1px solid rgba(255, 196, 0, 0.6); }
.skin-minis { display: flex; gap: 14px; margin-top: 10px; flex-wrap: wrap; }
.skin-mini { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.skin-mini-thumb { width: 64px; height: 40px; display: grid; place-items: center; background: rgba(237, 0, 255, 0.08); border: 1px dashed rgba(237, 0, 255, 0.5); border-radius: 4px; overflow: hidden; }
.skin-mini-thumb img { width: 100%; height: 100%; object-fit: contain; }
.skin-mini-empty { font-size: 11px; color: var(--dim); }
.skin-mini-label { font-size: 12px; color: var(--muted); }
.lb-admin-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.lb-admin-tab { padding: 8px 16px; min-height: 40px; font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 16px; text-transform: uppercase; color: var(--muted); border: 1px solid rgba(237, 0, 255, 0.4); border-radius: 6px; display: inline-flex; align-items: center; gap: 8px; }
.lb-admin-tab.active { color: #fff; border-color: var(--magenta); background: rgba(237, 0, 255, 0.14); box-shadow: 0 0 10px rgba(237, 0, 255, 0.5); }
.lb-live-note { margin: -4px 0 14px; padding: 10px 14px; font-size: 14px; color: #9dff8a; border: 1px solid rgba(157, 255, 138, 0.4); border-radius: 6px; background: rgba(157, 255, 138, 0.06); }
.lb-live-note.err { color: #ff6b8e; border-color: rgba(255, 107, 142, 0.5); background: rgba(255, 107, 142, 0.06); }
.lb-admin-tab .dot { width: 8px; height: 8px; border-radius: 50%; background: #9dff8a; box-shadow: 0 0 6px #9dff8a; }
@media (max-width: 900px) { .admin-grid { grid-template-columns: 1fr; } .admin-head h1 { font-size: 30px; } }

/* =====================================================================
   Kick Live (kick-live.html) — calibrated against reference-kick-live.png
   ===================================================================== */
:root { --green: #53fc18; }
.kl-page {
  overflow: hidden;
  background: var(--bg) url('../assets/neon/bg-kick.webp') center top / 100% auto no-repeat;
  padding-bottom: 60px;
}
.kl-page::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(180deg, transparent, var(--bg)); pointer-events: none; }
.kl-page > * { position: relative; z-index: 1; }
.kl-page > .hero-particles { position: absolute; inset: 0; z-index: 0; display: block; }

/* -- main panel -- */
.kl-main {
  display: grid;
  grid-template-columns: minmax(0, 456fr) minmax(0, 604fr);
  gap: 24px;
  width: min(1140px, 100% - 64px);
  min-height: 450px;
  margin: 12px auto 0;
  padding: 28px;
  --cut: 14px;
  --nf-fill: linear-gradient(160deg, rgba(22, 3, 30, 0.86), rgba(9, 1, 16, 0.9));
}
.kl-left { display: flex; flex-direction: column; min-width: 0; }
.kl-right { display: flex; flex-direction: column; min-width: 0; padding-top: 15px; }

/* category pill */
.kl-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  height: 32px;
  padding: 0 14px 0 12px;
  border: 1.5px solid var(--green);
  border-radius: 6px;
  background: rgba(10, 20, 8, 0.6);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 0 8px rgba(83, 252, 24, 0.55), inset 0 0 8px rgba(83, 252, 24, 0.18);
}
.kl-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); flex: none; }
.kl-dot.off { background: #8f7f9c; box-shadow: none; }
.kl-dot.live { animation: klPulse 1.4s ease-in-out infinite; }
@keyframes klPulse { 0%, 100% { box-shadow: 0 0 6px var(--green); } 50% { box-shadow: 0 0 16px var(--green), 0 0 26px rgba(83, 252, 24, 0.6); } }

/* display headline — real text with gradient fill */
.kl-head {
  margin-top: 8px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(34px, calc(56 * var(--u)), 56px);
  line-height: 0.96;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  filter: drop-shadow(0 0 10px rgba(255, 0, 200, 0.32)) drop-shadow(0 2px 2px rgba(0, 0, 0, 0.6));
}
.kl-head span {
  display: inline-block;
  padding-right: 0.06em;
  -webkit-text-stroke: 0.6px rgba(255, 255, 255, 0.28);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.kl-head .w { background-image: linear-gradient(180deg, #ffffff 0%, #ffe9ff 42%, #ff8dff 58%, #ff2bd6 100%); }
.kl-head .g { background-image: linear-gradient(180deg, #e8ffdf 0%, #9cff6e 42%, #53fc18 60%, #2ecb00 100%); filter: drop-shadow(0 0 8px rgba(83, 252, 24, 0.35)); }
.kl-support { margin-top: 6px; font-size: clamp(18px, calc(24 * var(--u)), 24px); line-height: 1.3; color: var(--white); }

/* schedule + countdown tiles */
.kl-tiles { display: grid; grid-template-columns: minmax(0, 1.54fr) minmax(0, 1fr); gap: 14px; margin-top: 18px; }
.kl-tile {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 67px;
  padding: 8px 10px 8px 14px;
  border: 1.5px solid var(--magenta);
  border-radius: 8px;
  background: rgba(9, 1, 18, 0.82);
  box-shadow: 0 0 8px rgba(237, 0, 255, 0.5), 0 0 18px rgba(237, 0, 255, 0.2), inset 0 0 14px rgba(237, 0, 255, 0.1);
  min-width: 0;
}
.kl-tile .ico { width: 30px; height: 30px; color: var(--magenta); filter: drop-shadow(0 0 6px rgba(237, 0, 255, 0.6)); }
.kl-tile .ico svg { stroke: var(--magenta); }
.kl-tile-div { width: 1px; height: 38px; background: var(--magenta); box-shadow: 0 0 6px var(--magenta); flex: none; }
.kl-tile-body { display: flex; flex-direction: column; min-width: 0; }
.kl-tile-label { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--magenta); white-space: nowrap; }
.kl-tile-value { font-size: 18px; font-weight: 700; line-height: 1.2; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kl-tile-value.tight { font-size: 15px; }
.kl-tile-value.wrap { white-space: normal; line-height: 1.15; }
.kl-tile-value.soon { font-size: 16px; white-space: normal; }
.kl-cd .kl-tile-label { font-size: 14px; font-weight: 400; letter-spacing: 0; text-transform: none; color: #fff; }
.kl-cd-value {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(22px, calc(26 * var(--u)), 26px);
  line-height: 1;
  color: var(--magenta);
  text-shadow: 0 0 10px rgba(237, 0, 255, 0.6);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.kl-cd-value.soon { font-size: 18px; }
.kl-cd-value.tight { font-size: 19px; }

/* giveaway strip */
.kl-giveaway {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 58px;
  margin-top: 20px;
  padding: 0 18px 0 22px;
  --cut: 6px;
  --nf-fill: linear-gradient(135deg, rgba(60, 5, 70, 0.55), rgba(14, 1, 22, 0.85)), repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.04) 0 6px, transparent 6px 14px);
}
.kl-giveaway .ico { width: 32px; height: 32px; color: var(--magenta); filter: drop-shadow(0 0 6px rgba(237, 0, 255, 0.6)); }
.kl-giveaway .ico svg { stroke: var(--magenta); }
.kl-giveaway-text { display: inline-flex; align-items: baseline; gap: 10px; flex-wrap: wrap; font-family: var(--font-display); font-style: italic; text-transform: uppercase; }
.kl-giveaway-amt { font-weight: 900; font-size: 26px; color: var(--green); text-shadow: 0 0 10px rgba(83, 252, 24, 0.55); }
.kl-giveaway-lbl { font-weight: 800; font-size: 22px; color: #fff; text-shadow: 0 0 8px rgba(255, 255, 255, 0.25); }

/* benefits row */
.kl-benefits { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 0; margin-top: auto; padding-top: 20px; }
.kl-benefit { display: inline-flex; align-items: center; gap: 9px; font-size: 16px; color: #fff; white-space: nowrap; }
.kl-benefit .ico { width: 26px; height: 26px; color: var(--magenta); filter: drop-shadow(0 0 5px rgba(237, 0, 255, 0.55)); }
.kl-benefit .ico svg { stroke: var(--magenta); }
.kl-benefit + .kl-benefit::before { content: ''; width: 1px; height: 28px; margin: 0 15px; background: var(--magenta); box-shadow: 0 0 6px var(--magenta); }

/* stream preview */
.kl-preview {
  position: relative;
  aspect-ratio: 604 / 292;
  min-height: 180px;
  overflow: hidden;
  border: 1.5px solid var(--magenta);
  background: #06010b;
  box-shadow: 0 0 10px rgba(237, 0, 255, 0.55), 0 0 26px rgba(237, 0, 255, 0.25), inset 0 0 30px rgba(0, 0, 0, 0.5);
  clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px), 0 8px);
}
.kl-tunnel { position: absolute; inset: 0; z-index: 1; background: url('../assets/neon/tunnel-kick.webp') center / cover no-repeat; }
.kl-corner { position: absolute; width: 22px; height: 22px; pointer-events: none; z-index: 3; }
.kl-corner::before, .kl-corner::after { content: ''; position: absolute; background: var(--c); box-shadow: 0 0 6px var(--c); }
.kl-corner::before { width: 100%; height: 2px; }
.kl-corner::after { width: 2px; height: 100%; }
.kl-corner.tl { left: 0; top: 0; --c: var(--green); }
.kl-corner.tr { right: 0; top: 0; --c: var(--magenta); }
.kl-corner.tr::before, .kl-corner.br::before { right: 0; }
.kl-corner.tr::after, .kl-corner.br::after { right: 0; }
.kl-corner.bl { left: 0; bottom: 0; --c: var(--magenta); }
.kl-corner.bl::before, .kl-corner.br::before { bottom: 0; }
.kl-corner.br { right: 0; bottom: 0; --c: var(--green); }
.kl-poster { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; z-index: 2; text-align: center; }
.kl-liveon { font-size: 15px; font-weight: 600; letter-spacing: 0.32em; text-transform: uppercase; color: #fff; text-shadow: 0 0 8px rgba(255, 255, 255, 0.4); }
.kl-wordmark { width: clamp(140px, 34%, 206px); color: var(--green); filter: drop-shadow(0 0 6px rgba(83, 252, 24, 0.9)) drop-shadow(0 0 18px rgba(83, 252, 24, 0.45)); }
.kl-wordmark svg { width: 100%; height: auto; fill: currentColor; display: block; }
.kl-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 32px;
  padding: 0 14px 0 12px;
  border: 1.5px solid var(--green);
  border-radius: 6px;
  background: rgba(4, 12, 2, 0.7);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 0 8px rgba(83, 252, 24, 0.55), inset 0 0 8px rgba(83, 252, 24, 0.18);
}
.kl-badge.off { border-color: rgba(217, 198, 230, 0.6); box-shadow: none; color: var(--muted); }
.kl-badge.unknown { border-color: var(--magenta); box-shadow: 0 0 8px rgba(237, 0, 255, 0.5); }
.kl-badge small { font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--muted); }
.kl-player { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; border: 0; background: #000; }
.kl-live-title { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; padding: 6px 12px; font-size: 13px; color: #fff; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.75)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none; }

/* watch / chat buttons */
.kl-btns { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; margin-top: 20px; }
.kl-btn {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 70px;
  padding: 0 18px 0 22px;
  color: #fff;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(17px, calc(22 * var(--u)), 22px);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.35);
  --cut: 10px;
  --nf-fill: linear-gradient(180deg, rgba(10, 30, 6, 0.75), rgba(5, 12, 3, 0.9));
  transition: filter 0.18s;
}
.kl-btn span { text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kl-btn .ico { width: 26px; height: 26px; }
.kl-btn .kl-btn-chev { width: 22px; height: 22px; }
.kl-btn .ico svg { fill: currentColor; }
.kl-btn .ico.stroke svg { fill: none; stroke: currentColor; stroke-width: 2; }
.kl-btn-chev { width: 22px; height: 22px; }
.kl-btn-chev svg { fill: none !important; stroke: currentColor; stroke-width: 2.4; }
.kl-btn-green { color: #fff; }
.kl-btn-green .ico, .kl-btn-green .kl-btn-chev { color: var(--green); filter: drop-shadow(0 0 6px rgba(83, 252, 24, 0.6)); }
.kl-btn-pink { --nf-fill: linear-gradient(180deg, rgba(40, 4, 48, 0.75), rgba(14, 1, 22, 0.9)); }
.kl-btn-pink .ico, .kl-btn-pink .kl-btn-chev { color: var(--magenta); filter: drop-shadow(0 0 6px rgba(237, 0, 255, 0.6)); }
.kl-btn:hover { filter: brightness(1.12); }
.nf-green .nf-svg { filter: drop-shadow(0 0 3px rgba(83, 252, 24, 0.95)) drop-shadow(0 0 10px rgba(83, 252, 24, 0.5)); }
.nf-green:hover .nf-svg { filter: drop-shadow(0 0 4px rgba(170, 255, 130, 1)) drop-shadow(0 0 16px rgba(83, 252, 24, 0.8)); }
.kl-btn-pink:hover .nf-svg { filter: drop-shadow(0 0 4px rgba(255, 140, 255, 1)) drop-shadow(0 0 16px rgba(237, 0, 255, 0.8)); }

/* bottom feature cards */
.kl-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; width: min(1140px, 100% - 64px); margin: 23px auto 0; }
.kl-card {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  align-items: center;
  min-height: 94px;
  padding: 10px 16px 10px 22px;
  color: #fff;
  text-decoration: none;
  text-align: left;
  width: 100%;
  --cut: 12px;
  --nf-fill: rgba(11, 1, 18, 0.9);
}
.kl-card .ico { width: 48px; height: 48px; color: var(--magenta); filter: drop-shadow(0 0 7px rgba(237, 0, 255, 0.6)); }
.kl-card .ico svg { stroke: var(--magenta); stroke-width: 1.6; }
.kl-card .kl-card-chev { width: 24px; height: 24px; }
.kl-card .kl-card-chev svg { stroke-width: 2.2; }
.kl-card-div { width: 1.5px; height: 48px; margin: 0 16px 0 18px; background: var(--magenta); box-shadow: 0 0 6px var(--magenta); }
.kl-card-title { display: block; font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: clamp(16px, calc(18 * var(--u)), 18px); line-height: 1.2; text-transform: uppercase; color: #fff; text-shadow: 0 0 8px rgba(255, 255, 255, 0.25); }
.kl-card-sub { display: block; margin-top: 3px; font-size: clamp(14px, calc(16 * var(--u)), 16px); color: var(--white); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kl-card-chev { width: 24px; height: 24px; margin-left: 8px; color: var(--magenta); }
.kl-card-chev svg { stroke: var(--magenta); stroke-width: 2.2; }
.kl-card:hover .nf-svg { filter: drop-shadow(0 0 4px rgba(255, 120, 255, 1)) drop-shadow(0 0 16px rgba(237, 0, 255, 0.8)); }

/* schedule dialog */
.kl-modal { width: min(520px, calc(100% - 32px)); padding: 0; color: #fff; border: 0; background: transparent; }
.kl-modal::backdrop { background: rgba(5, 0, 10, 0.78); backdrop-filter: blur(3px); }
.kl-modal-inner { padding: 28px 28px 24px; --cut: 12px; --nf-fill: linear-gradient(160deg, rgba(28, 4, 38, 0.98), rgba(10, 1, 18, 0.99)); }
.kl-modal h2 { font-size: 28px; color: #fff; }
.kl-modal h2 .accent { color: var(--magenta); text-shadow: 0 0 12px rgba(237, 0, 255, 0.6); }
.kl-modal-list { margin-top: 16px; display: grid; gap: 12px; }
.kl-modal-list div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; font-size: 15px; padding-bottom: 10px; border-bottom: 1px solid rgba(237, 0, 255, 0.3); }
.kl-modal-list dt { color: var(--magenta); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; font-size: 12px; align-self: center; }
.kl-modal-list dd { margin: 0; color: #fff; }
.kl-modal-note { margin-top: 14px; font-size: 14px; color: var(--muted); }
.kl-modal-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.kl-modal-actions .nb { flex: 1; min-height: 46px; font-size: 17px; }
.kl-modal-close { color: var(--muted); border: 1px solid rgba(237, 0, 255, 0.4); border-radius: 6px; }

/* responsive */
@media (max-width: 1300px) {
  .kl-benefit { font-size: 15px; gap: 8px; }
  .kl-benefit .ico { width: 22px; height: 22px; }
  .kl-benefit + .kl-benefit::before { margin: 0 11px; }
  .kl-tiles { gap: 10px; }
  .kl-tile { gap: 10px; padding: 8px 8px 8px 12px; }
  .kl-tile .ico { width: 26px; height: 26px; }
  .kl-card-div { margin: 0 14px 0 16px; }
}
@media (max-width: 1100px) {
  .kl-main { grid-template-columns: 1fr; width: min(100% - 32px, 760px); min-height: 0; padding: 22px; }
  .kl-right { padding-top: 0; }
  .kl-tiles { grid-template-columns: 1fr 1fr; }
  .kl-benefits { margin-top: 4px; }
  .kl-cards { grid-template-columns: 1fr; width: min(100% - 32px, 760px); gap: 14px; }
  .kl-card { min-height: 78px; }
}
@media (max-width: 560px) {
  .kl-page { background-size: auto 100svh; }
  .kl-main { padding: 18px 16px; }
  .kl-tiles { grid-template-columns: 1fr; gap: 12px; }
  .kl-btns { grid-template-columns: 1fr; gap: 14px; }
  .kl-btn { min-height: 58px; }
  .kl-benefits { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 8px; }
  .kl-benefit { font-size: 14px; gap: 7px; }
  .kl-benefit .ico { width: 22px; height: 22px; }
  .kl-benefit + .kl-benefit::before { display: none; }
  .kl-giveaway { padding: 0 14px 0 16px; gap: 12px; }
  .kl-giveaway-amt { font-size: 20px; }
  .kl-giveaway-lbl { font-size: 16px; }
  .kl-modal-list div { grid-template-columns: 1fr; gap: 2px; }
  .kl-card { padding: 10px 16px 10px 18px; }
  .kl-card .ico { width: 40px; height: 40px; }
  .kl-card-div { margin: 0 14px 0 16px; }
}

/* ---------- admin: tabs, groups, status ---------- */
.admin-stats { gap: 14px; }
.stat-chip { min-width: 160px; }
.stat-kick { font-size: 20px; text-transform: uppercase; }
.stat-kick.live { color: var(--green); text-shadow: 0 0 12px rgba(83, 252, 24, 0.6); }
.stat-kick.offline { color: var(--muted); text-shadow: none; }
.admin-tabs { position: sticky; top: var(--header-h); z-index: 20; display: flex; gap: 6px; padding: 8px; margin: 0 auto 22px; width: max-content; max-width: 100%; border: 1px solid rgba(237, 0, 255, 0.4); border-radius: 10px; background: rgba(12, 2, 24, 0.92); backdrop-filter: blur(6px); box-shadow: 0 0 14px rgba(237, 0, 255, 0.25); }
.admin-tab { padding: 10px 22px; min-height: 44px; font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 17px; text-transform: uppercase; letter-spacing: 0.02em; color: var(--muted); border-radius: 7px; white-space: nowrap; }
.admin-tab:hover { color: #fff; background: rgba(237, 0, 255, 0.1); }
.admin-tab[aria-selected="true"] { color: #fff; background: rgba(237, 0, 255, 0.2); box-shadow: 0 0 10px rgba(237, 0, 255, 0.55), inset 0 0 10px rgba(237, 0, 255, 0.2); }
.admin-panel { position: relative; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.panel-head .panel-title { margin-bottom: 0; }
.panel-tools { display: flex; gap: 8px; flex-wrap: wrap; }
a.btn-mini { display: inline-flex; align-items: center; text-decoration: none; }
.admin-group { margin: 0 0 18px; padding: 14px 16px 4px; border: 1px solid rgba(237, 0, 255, 0.3); border-radius: 8px; background: rgba(9, 1, 18, 0.45); }
.admin-group legend { padding: 0 8px; font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 15px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--magenta); }
.legend-note { font: 500 12px/1 var(--font-body); font-style: normal; text-transform: none; letter-spacing: 0; color: var(--dim); }
.quick-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: -4px 0 14px; }
.quick-label { font-size: 13px; color: var(--muted); }
.kl-status-card { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; padding: 14px 16px; border: 1px solid rgba(237, 0, 255, 0.4); border-radius: 8px; background: rgba(9, 1, 18, 0.6); }
.kl-status-card strong { display: block; font-size: 16px; color: #fff; }
.kl-status-card p { margin-top: 2px; font-size: 13px; color: var(--muted); }
.kl-status-dot { width: 14px; height: 14px; flex: none; border-radius: 50%; background: #8f7f9c; }
.kl-status-card.live { border-color: rgba(83, 252, 24, 0.6); box-shadow: 0 0 12px rgba(83, 252, 24, 0.3); }
.kl-status-card.live .kl-status-dot { background: var(--green); box-shadow: 0 0 10px var(--green); animation: klPulse 1.4s ease-in-out infinite; }
.kl-status-card.unknown { border-color: rgba(255, 107, 142, 0.5); }
.kl-status-card.unknown .kl-status-dot { background: #ff6b8e; }
.form-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.save-hint { font-size: 13px; color: var(--dim); }
.field.check label { margin-top: 24px; }
.admin-group .field.check label { margin-top: 26px; }
@media (max-width: 900px) {
  .admin-tabs { width: auto; overflow-x: auto; }
  .admin-tab { padding: 10px 14px; font-size: 15px; }
  .admin-group .field.check label { margin-top: 0; }
  .field.check label { margin-top: 0; }
}

/* ---------- push notifications: header bell + toast ---------- */
.sh-bell { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: 2px; color: var(--white); border: 1.5px solid rgba(237, 0, 255, 0.45); border-radius: 6px; background: rgba(20, 3, 32, 0.4); transition: color 0.18s, border-color 0.18s, box-shadow 0.18s, background-color 0.18s; }
.sh-bell .ico { width: 22px; height: 22px; }
.sh-bell svg { stroke-width: 1.8; }
.sh-bell:hover { border-color: var(--magenta); box-shadow: 0 0 10px rgba(237, 0, 255, 0.5); }
.sh-bell.on { color: var(--magenta); border-color: var(--magenta); background: rgba(237, 0, 255, 0.14); box-shadow: 0 0 10px rgba(237, 0, 255, 0.6), inset 0 0 8px rgba(237, 0, 255, 0.25); }
.sh-bell-dot { position: absolute; top: 7px; right: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 6px var(--green); opacity: 0; transform: scale(0.5); transition: opacity 0.18s, transform 0.18s; }
.sh-bell.on .sh-bell-dot { opacity: 1; transform: scale(1); }
.sh-bell:disabled { opacity: 0.6; cursor: wait; }
.sh-sound { margin-right: 0; }
.sh-sound .snd-on, .sh-sound .snd-off { display: inline-flex; align-items: center; }
.sh-sound .snd-off, .sh-sound.off .snd-on { display: none; }
.sh-sound.off .snd-off { display: inline-flex; }
.sh-sound.off { color: #9a8aa7; border-color: rgba(154, 138, 167, 0.4); }
.sh-sound:not(.off) { color: var(--magenta); }
.push-toast { position: fixed; right: 20px; bottom: 20px; z-index: 300; display: flex; align-items: center; gap: 14px; width: min(420px, calc(100% - 32px)); padding: 14px 16px; color: #fff; font-size: 15px; line-height: 1.4; border: 1.5px solid var(--magenta); border-radius: 10px; background: rgba(14, 2, 24, 0.96); box-shadow: 0 0 14px rgba(237, 0, 255, 0.5), 0 10px 30px rgba(0, 0, 0, 0.6); opacity: 0; transform: translateY(16px); transition: opacity 0.3s, transform 0.3s cubic-bezier(0.2, 0.9, 0.2, 1); }
.push-toast.on { opacity: 1; transform: none; }
.push-toast.ok { border-color: var(--green); box-shadow: 0 0 14px rgba(83, 252, 24, 0.45), 0 10px 30px rgba(0, 0, 0, 0.6); }
.push-toast.ok .push-toast-ico { color: var(--green); }
.push-toast.warn { border-color: #ffb347; }
.push-toast-ico { display: grid; place-items: center; width: 40px; height: 40px; flex: none; color: var(--magenta); border: 1px solid rgba(237, 0, 255, 0.5); border-radius: 8px; }
.push-toast-ico .ico { width: 22px; height: 22px; }
.push-toast-text { flex: 1; min-width: 0; }
.push-toast-text strong { color: #fff; }
.push-toast-actions { display: flex; flex-direction: column; gap: 6px; flex: none; }
.push-toast-actions:empty { display: none; }
.push-btn { padding: 8px 14px; min-height: 36px; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); border: 1px solid rgba(237, 0, 255, 0.4); border-radius: 6px; white-space: nowrap; transition: background-color 0.18s, color 0.18s; }
.push-btn:hover { color: #fff; background: rgba(237, 0, 255, 0.14); }
.push-btn-primary { color: #fff; border-color: var(--magenta); background: rgba(237, 0, 255, 0.22); box-shadow: 0 0 8px rgba(237, 0, 255, 0.5); }
@media (max-width: 560px) { .push-toast { right: 16px; left: 16px; bottom: 16px; width: auto; flex-wrap: wrap; } .push-toast-actions { flex-direction: row; width: 100%; } .push-btn { flex: 1; } }
@media (max-width: 480px) { .sh-bell { width: 40px; height: 40px; } .sh-right { gap: 8px; } .sh-brand { margin-right: 8px; } .sh-brand img { width: 128px; } .btn-login { padding: 0 12px; } }

/* admin: notifications tab */
.push-presets { display: flex; gap: 8px; flex-wrap: wrap; margin: -4px 0 14px; }
.push-log { display: flex; flex-direction: column; gap: 8px; }
.push-log-item { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 10px 14px; background: rgba(9, 1, 18, 0.6); border: 1px solid rgba(237, 0, 255, 0.3); border-radius: 6px; font-size: 14px; }
.push-log-item strong { color: #fff; }
.push-log-item .meta { color: var(--muted); font-size: 13px; }
.push-log-item .res { text-align: right; color: var(--muted); font-size: 13px; white-space: nowrap; }
.push-log-item .res b { color: #9dff8a; }
.push-counter { font-size: 12px; color: var(--dim); text-align: right; margin-top: -10px; margin-bottom: 10px; }
.push-counter.over { color: #ff6b8e; }
.push-preview { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; margin-bottom: 14px; background: #1b1b1f; border-radius: 10px; color: #eee; font-family: -apple-system, 'Segoe UI', Roboto, sans-serif; max-width: 420px; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5); }
.push-preview img { width: 40px; height: 40px; border-radius: 8px; flex: none; }
.push-preview .pp-site { font-size: 11px; color: #9a9a9a; }
.push-preview .pp-title { font-size: 14px; font-weight: 700; color: #fff; overflow-wrap: anywhere; }
.push-preview .pp-body { font-size: 13px; color: #d0d0d0; overflow-wrap: anywhere; }

/* ---------- skin slots: details + editors ---------- */
.slot-name { max-width: 100%; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.slot-named .slot-name { font-weight: 700; }
.slot-sub { text-align: center; }
.skin-dialog .kl-modal-inner { width: min(560px, 100%); }
.skin-dialog .field label { color: var(--muted); }
.skin-dialog .kl-modal-actions .nb { flex: 1 1 140px; }
.skin-preview { display: grid; place-items: center; min-height: 120px; margin: 14px 0 16px; padding: 10px; border: 1px dashed rgba(237, 0, 255, 0.5); border-radius: 8px; background: rgba(9, 1, 18, 0.6); color: var(--dim); font-size: 13px; text-align: center; }
.skin-preview img { max-height: 150px; width: auto; max-width: 100%; filter: drop-shadow(0 6px 14px rgba(237, 0, 255, 0.35)); }
.skin-editor { display: grid; grid-template-columns: 96px 1fr; gap: 12px; width: 100%; margin-top: 10px; padding: 10px; border: 1px solid rgba(237, 0, 255, 0.25); border-radius: 6px; background: rgba(9, 1, 18, 0.45); }
.skin-editor-thumb { width: 96px; height: 72px; }
.skin-editor-head { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 8px; font-size: 13px; color: #fff; }
.skin-editor-state { color: var(--dim); font-size: 12px; }
.skin-editor-grid { display: grid; grid-template-columns: 1.4fr 1fr 0.8fr; gap: 8px; }
.skin-editor-grid label { display: flex; flex-direction: column; gap: 4px; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.skin-editor-grid label.wide { grid-column: 1 / -1; }
.skin-editor-grid input, .skin-editor-grid select { height: 36px; padding: 0 10px; color: #fff; font: inherit; font-size: 14px; letter-spacing: 0; text-transform: none; background: rgba(9, 1, 18, 0.85); border: 1px solid rgba(237, 0, 255, 0.4); border-radius: 5px; }
.skin-editor-grid input:focus, .skin-editor-grid select:focus { outline: none; border-color: var(--magenta); box-shadow: 0 0 8px rgba(237, 0, 255, 0.5); }
.skin-editor-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.skin-editor-msg { font-size: 12px; color: var(--gold); }
.skin-minis { flex-direction: column; gap: 0; }
@media (max-width: 600px) { .skin-editor { grid-template-columns: 1fr; } .skin-editor-grid { grid-template-columns: 1fr 1fr; } }

/* header: five nav items (Live Giveaway added Oct 2026) must not wrap at tablet/laptop widths */
.sh-nav a { white-space: nowrap; }
@media (max-width: 1300px) { .sh-nav ul { gap: 22px; } .sh-nav a { font-size: 15px; } .sh-user { display: none; } }
@media (max-width: 1100px) { .sh-nav ul { gap: 14px; } .sh-nav a { font-size: 14px; } .sh-right { gap: 10px; } }
@media (max-width: 1600px) { .sh-user { display: none; } } /* admin sees 6 nav items; the @name would collide */
