:root {
  --p: #b7ff00;
  --bg: #080b07;
  --g: rgba(14, 20, 10, 0.75);
  --gb: rgba(59, 83, 0, 0.67);
  --gh: rgba(18, 24, 12, 0.81);
  --td: #c4d2aa;
  --tm: #e4e4e7;
  --gr: #60dc82;
  --out: #f1b646;
  --det: #f15a5a;
  --soon: #dcaa46;
  --nosub: #7ab7fa;
  --maint: #bf92f6;
  --fm: 'Inter', sans-serif;
  --mn: 'JetBrains Mono', monospace;
  --rad: 10px;
}

/* Daily Supply final overrides */
#daily-supply-layer {
  z-index: 2147483000 !important;
}

#daily-supply-layer[data-ds-theme="easter"] .ds-trigger {
  position: relative;
  width: auto;
  height: auto;
  min-width: 0;
  min-height: 0;
  border: none;
  border-radius: 0;
  background: none;
  box-shadow: none;
  backdrop-filter: none;
  overflow: visible;
}

#daily-supply-layer[data-ds-theme="easter"] .ds-trigger:hover {
  transform: scale(1.1) translateY(-5px);
  border-color: transparent;
  box-shadow: none;
}

#daily-supply-layer .ds-trigger-icon,
#daily-supply-layer .ds-trigger-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

#daily-supply-layer .ds-trigger-icon {
  position: relative;
}

#daily-supply-layer .ds-trigger-lock {
  position: absolute;
  right: -6px;
  bottom: -6px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 8, 12, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
  font-size: 13px;
  line-height: 1;
  z-index: 30;
}

#daily-supply-layer[data-ds-theme="easter"] .ds-trigger .ds-theme-image {
  width: 80px;
  max-height: none;
}

#daily-supply-layer[data-ds-theme="easter"] .ds-pulse {
  display: none;
}

#daily-supply-layer .ds-card {
  width: 100%;
  max-width: 480px;
  padding: 40px;
  text-align: center;
  position: relative;
  overflow: visible;
  border-radius: 30px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
}

#daily-supply-layer .ds-close {
  z-index: 30;
}

#daily-supply-layer .ds-kicker,
#daily-supply-layer .ds-header .hl {
  color: var(--ds-accent) !important;
  background: none !important;
  box-shadow: none !important;
}

#daily-supply-layer .ds-line {
  background: var(--ds-accent) !important;
  box-shadow: 0 0 15px var(--ds-accent), 0 0 5px var(--ds-accent) !important;
}

#daily-supply-layer .ds-main-shell,
#daily-supply-layer .ds-header,
#daily-supply-layer .ds-kicker,
#daily-supply-layer .ds-title,
#daily-supply-layer .ds-sub,
#daily-supply-layer .ds-case-area,
#daily-supply-layer .ds-open-btn,
#daily-supply-layer .ds-luck-banner {
  position: relative;
  z-index: 20;
}

#daily-supply-layer .ds-header {
  margin-bottom: 0;
}

#daily-supply-layer .ds-kicker {
  margin: 0 0 8px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: uppercase;
}

#daily-supply-layer .ds-title,
#daily-supply-layer .sup-h2 {
  margin: 0;
  color: #fff;
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -1px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  line-height: 1.05;
}

#daily-supply-layer .ds-sub,
#daily-supply-layer .sup-p {
  margin: 8px auto 0;
  max-width: 360px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.6;
}

#daily-supply-layer .sup-p {
  text-transform: uppercase;
  letter-spacing: 2px;
}

#daily-supply-layer .ds-luck-banner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin: 0 auto 14px;
  min-height: 42px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(241, 182, 70, 0.18);
  border: 1px solid rgba(241, 182, 70, 0.38);
  color: #ffe79a;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

#daily-supply-layer .ds-luck-banner.is-customer {
  background: rgba(22, 163, 74, 0.16);
  border-color: rgba(22, 163, 74, 0.34);
  color: #d7ffe0;
}

#daily-supply-layer .ds-case-area,
#daily-supply-layer .sup-case-area {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 25px 0;
  overflow: hidden;
  position: relative;
}

#daily-supply-layer .ds-box .ds-theme-image,
#daily-supply-layer .ds-box-visual.ds-theme-image {
  width: 80px;
  max-height: none;
  filter: drop-shadow(0 10px 20px rgba(183, 255, 0, 0.4));
}

#daily-supply-layer .ds-spinner {
  position: relative;
  width: 100%;
  height: 110px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 5px 15px rgba(0, 0, 0, 0.5);
}

#daily-supply-layer .ds-item {
  width: 130px;
  text-align: center;
  padding: 10px;
  position: relative;
}

#daily-supply-layer .ds-item::after {
  content: "";
  position: absolute;
  top: 18px;
  right: 0;
  width: 1px;
  height: calc(100% - 36px);
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.14), transparent);
}

#daily-supply-layer .ds-item:last-child::after {
  display: none;
}

#daily-supply-layer .ds-item span {
  font-size: 1.8rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

#daily-supply-layer .ds-item b {
  margin-top: 8px;
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
}

#daily-supply-layer .ds-open-btn,
#daily-supply-layer .sup-btn {
  width: 100%;
  min-height: 52px;
  border: none;
  border-radius: 15px;
  background: var(--ds-button-bg);
  color: var(--ds-button-text);
  box-shadow: 0 5px 15px rgba(183, 255, 0, 0.3);
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

#daily-supply-layer .ds-view-rewards {
  position: relative;
  z-index: 29;
  width: auto;
  min-height: 30px;
  margin-top: 10px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

#daily-supply-layer .ds-view-rewards:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.1);
}

#daily-supply-layer .ds-open-btn:hover,
#daily-supply-layer .sup-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(183, 255, 0, 0.5);
}

#daily-supply-layer .easter-corner-eggs,
#daily-supply-layer .easter-bunny-right,
#daily-supply-layer .easter-weed-left {
  position: absolute;
  pointer-events: none;
  z-index: 5;
}

#daily-supply-layer .easter-corner-eggs {
  top: -52px;
  left: -52px;
  width: 112px;
  animation: easter-bounce 4s infinite ease-in-out;
}

#daily-supply-layer .easter-bunny-right {
  right: -68px;
  bottom: -58px;
  width: 120px;
  z-index: 28;
  animation: easter-peek 5s infinite ease-in-out;
  filter: drop-shadow(0 10px 10px rgba(0, 0, 0, 0.3));
}

#daily-supply-layer .easter-weed-left {
  left: -46px;
  bottom: -42px;
  width: 132px;
  z-index: 28;
  animation: easter-weed-anim 6s infinite ease-in-out;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.4));
}

#daily-supply-layer .easter-anim-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 30px;
  z-index: 1;
  pointer-events: none;
}

#daily-supply-layer .css-egg {
  position: absolute;
  width: 22px;
  height: 30px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  opacity: 0;
  box-shadow: inset -3px -3px 10px rgba(0, 0, 0, 0.1);
}

#daily-supply-layer .egg1 {
  background: #caff9a;
  left: 10%;
  animation: float-up 6s infinite linear, wobble 2s infinite ease-in-out;
}

#daily-supply-layer .egg2 {
  background: #e2f0cb;
  left: 25%;
  animation: float-up 8s infinite linear 1s, wobble 3s infinite ease-in-out;
}

#daily-supply-layer .egg3 {
  background: #b5ead7;
  left: 45%;
  animation: float-up 5s infinite linear 2s, wobble 2.5s infinite ease-in-out;
}

#daily-supply-layer .egg4 {
  background: #c7ceea;
  left: 65%;
  animation: float-up 7s infinite linear 0.5s, wobble 2.2s infinite ease-in-out;
}

#daily-supply-layer .egg5 {
  background: #e3ffc2;
  left: 85%;
  animation: float-up 6.5s infinite linear 1.5s, wobble 2.8s infinite ease-in-out;
}

#daily-supply-layer .egg6 {
  background: #d8ffad;
  left: 55%;
  animation: float-up 5.5s infinite linear 3s, wobble 2.4s infinite ease-in-out;
}

@keyframes float-up {
  0% {
    top: 110%;
    opacity: 0;
    transform: scale(0.8);
  }

  15% {
    opacity: 0.6;
    transform: scale(1);
  }

  85% {
    opacity: 0.6;
  }

  100% {
    top: -20%;
    opacity: 0;
  }
}

@keyframes wobble {
  0%,
  100% {
    transform: rotate(-12deg);
  }

  50% {
    transform: rotate(12deg);
  }
}

@keyframes easter-bounce {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes easter-peek {
  0%,
  100% {
    transform: translateX(0) rotate(0deg);
  }

  50% {
    transform: translateX(-8px) rotate(-4deg);
  }
}

@keyframes easter-weed-anim {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 0.9;
  }

  50% {
    transform: scale(1.05) rotate(3deg);
    opacity: 1;
  }
}

.ds-admin-shell {
  display: grid;
  gap: 18px;
}

.ds-admin-panel {
  display: grid;
  gap: 16px;
}

.ds-admin-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.ds-admin-desc {
  margin: 0;
  color: var(--td);
  line-height: 1.6;
}

.ds-admin-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ds-active-theme-select {
  min-width: 180px;
}

.ds-admin-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 0;
}

.ds-admin-mini {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.ds-admin-mini p,
.ds-profile-head p {
  margin: 0;
  color: var(--td);
  line-height: 1.55;
  font-size: 13px;
}

.ds-admin-mini-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ds-day-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ds-day-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--tm);
  font-size: 13px;
  cursor: pointer;
}

.ds-theme-list {
  display: grid;
  gap: 14px;
}

#modal.ds-rewards-modal {
  z-index: 2147483600;
  background: var(--dsr-overlay-bg, rgba(0, 0, 0, 0.82));
}

#modal.ds-rewards-modal .mb {
  width: min(560px, 92vw);
  max-width: 560px;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: visible;
}

.dsr-sheet {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border-radius: 28px;
  background: var(--dsr-card-bg, linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)));
  border: 1px solid var(--dsr-card-border, rgba(255, 255, 255, 0.08));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.46);
  max-height: min(78vh, 620px);
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.dsr-sheet::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

html,
body {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.dsr-corner,
.dsr-bunny {
  position: absolute;
  pointer-events: none;
}

.dsr-corner {
  top: -18px;
  left: -14px;
  width: 68px;
}

.dsr-bunny {
  right: -14px;
  bottom: -14px;
  width: 68px;
}

.dsr-head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.dsr-kicker {
  margin: 0 0 8px;
  color: var(--dsr-accent, var(--p));
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 11px;
  font-weight: 800;
}

.dsr-head h3 {
  margin: 0;
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.dsr-sub {
  margin: 10px 0 0;
  color: var(--td);
  line-height: 1.6;
  font-size: 13px;
}

.dsr-close {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dsr-list {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 10px;
}

.dsr-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.dsr-icon {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  color: var(--dsr-accent, var(--p));
  font-size: 18px;
  font-weight: 800;
}

.dsr-row strong {
  display: block;
  color: #fff;
  font-size: 14px;
}

.dsr-row p {
  margin: 4px 0 0;
  color: var(--td);
  font-size: 12px;
  line-height: 1.6;
}

.ds-theme-card {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.ds-theme-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ds-reward-profiles {
  display: grid;
  gap: 14px;
}

.ds-profile-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.ds-profile-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.ds-profile-head h4 {
  margin: 0 0 4px;
  font-size: 16px;
}

.ds-profile-total {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(183, 255, 0, 0.12);
  border: 1px solid rgba(183, 255, 0, 0.22);
  color: var(--p);
  font-size: 12px;
  font-weight: 700;
}

.ds-admin-reward-list {
  display: grid;
  gap: 10px;
}

.ds-admin-row {
  display: grid;
  grid-template-columns: minmax(200px, 1.6fr) 90px 110px 130px;
  gap: 10px;
  align-items: center;
}

@media (max-width: 980px) {
  .ds-admin-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  #daily-supply-layer .ds-card {
    padding: 28px 20px;
    max-width: 100%;
  }

  #daily-supply-layer .ds-title,
  #daily-supply-layer .sup-h2 {
    font-size: 1.9rem;
  }

  #daily-supply-layer .easter-corner-eggs {
    width: 82px;
    top: -28px;
    left: -24px;
  }

  #daily-supply-layer .easter-bunny-right {
    width: 88px;
    right: -28px;
    bottom: -24px;
  }

  #daily-supply-layer .easter-weed-left {
    width: 98px;
    left: -18px;
    bottom: -18px;
  }

  .ds-admin-grid,
  .ds-theme-grid,
  .ds-admin-row {
    grid-template-columns: 1fr;
  }

  .ds-admin-top,
  .ds-profile-head,
  .ds-theme-head {
    flex-direction: column;
    align-items: stretch;
  }

  .ds-admin-actions {
    width: 100%;
  }

  .ds-active-theme-select {
    width: 100%;
  }
}

html {
  width: 100%;
  overflow-x: clip;
}

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

body {
  background: var(--bg);
  color: #fff;
  font-family: var(--fm);
  -webkit-font-smoothing: antialiased;
  color-scheme: dark;
  position: relative;
  width: 100%;
  overflow-x: clip;
  min-height: 100vh;
  min-height: 100dvh;
}

img {
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

body::before,
body::after {
  content: "";
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.18;
}

body::before {
  top: -10%;
  left: -5%;
  background: var(--p);
}

body::after {
  bottom: -10%;
  right: -5%;
  background: var(--p);
}

a {
  color: var(--p);
  text-decoration: none;
  transition: .2s;
}

a:hover {
  opacity: .8;
  text-decoration: none;
}

.tf {
  font-family: var(--mn);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
}

.hl {
  color: var(--p);
}

.mono {
  font-family: var(--mn);
  font-size: 13px;
  word-break: break-all;
}

.blob-bg {
  display: none;
}

.auth-screen {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.auth-box {
  width: 100%;
  max-width: 400px;
  padding: 20px;
}

.ac {
  background: rgba(18, 18, 20, 0.55);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--rad);
  padding: 40px;
  animation: fu .5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.alogo {
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.dot {
  width: 8px;
  height: 8px;
  background: var(--p);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--p);
}

.ac h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}

.asub {
  color: var(--td);
  font-size: 14px;
  margin-bottom: 26px;
}

.ig {
  position: relative;
  margin-bottom: 14px;
}

.ig i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--td);
  font-size: 15px;
  pointer-events: none;
  z-index: 2;
}

.ig input,
.ig select,
.ki {
  width: 100%;
  height: 42px;
  background: var(--g);
  border: 1px solid rgba(183, 255, 0, 0.3);
  border-radius: 8px;
  padding: 0 16px 0 44px;
  color: #fff;
  font-family: var(--fm);
  font-size: 14px;
  font-weight: 500;
  outline: none;
  transition: all .3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.ki::-webkit-calendar-picker-indicator {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.ig select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c4d2aa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
  cursor: pointer;
}

.ki {
  padding-left: 14px;
}

.ig input:focus,
.ig select:focus,
.ki:focus {
  border-color: var(--p);
  background: rgba(17, 24, 10, 0.85);
  box-shadow: 0 0 0 3px rgba(183, 255, 0, 0.2), 0 4px 12px rgba(0, 0, 0, 0.3);
  transform: translateY(-1px);
}

.ig input::placeholder,
.ki::placeholder {
  color: #788371;
  font-weight: 400;
}

select option {
  background: #0a0608;
  color: #fff;
  padding: 12px;
  font-weight: 500;
}

.ae {
  color: #ef4444;
  font-size: 13px;
  min-height: 20px;
  text-align: center;
  padding-top: 4px;
}

.ae.ok {
  color: var(--gr);
}

.af {
  text-align: center;
  margin-top: 16px;
  font-size: 13px;
  color: var(--td);
}

.af a {
  color: #fff;
  font-weight: 500;
}

.af b {
  color: var(--p);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  height: 42px;
  padding: 0 20px;
  border-radius: 10px;
  font-weight: 600;
  font-family: var(--fm);
  font-size: 14px;
  cursor: pointer;
  transition: .2s;
}

.bp {
  background: var(--p);
  color: #fff;
}

.bp:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(183, 255, 0, 0.3)
}

.bf {
  width: 100%;
}

.bs {
  background: var(--gb);
  color: #fff;
}

.bs:hover {
  background: rgba(255, 255, 255, 0.12);
}

.bsm {
  height: 38px;
  padding: 0 16px;
  font-size: 13px;
  border-radius: 8px;
}

.bd {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.bd:hover {
  background: rgba(239, 68, 68, 0.2);
}

.bcopy {
  background: transparent;
  color: var(--gr);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.bcopy:hover {
  background: rgba(16, 185, 129, 0.15);
}

.dw {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 40px 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.dg {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 40px;
  min-width: 0;
}

.sb {
  background: rgba(18, 18, 20, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--rad);
  padding: 24px;
  position: sticky;
  top: 40px;
  height: fit-content;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.mn {
  background: rgba(18, 18, 20, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--rad);
  padding: 36px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  min-height: 85vh;
  min-width: 0;
}

.sbl {
  font-weight: 800;
  font-size: 1.4rem;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 4px;
}

.sbh {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--gb);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  transition: .2s;
  position: relative;
  z-index: 8;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
}

.sbh {
  position: relative;
  z-index: 3;
}

.sbn {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nl {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--td);
  padding: 12px 14px;
  border-radius: 10px;
  transition: .2s;
  font-size: 14px;
  font-weight: 500;
  min-width: 0;
  touch-action: manipulation;
}

.nl i {
  font-size: 16px;
  width: 18px;
  text-align: center;
  opacity: .8;
}

.nl:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.03);
}

.nl.active {
  color: #fff;
  background: var(--g);
  box-shadow: inset 3px 0 0 var(--p);
  border-radius: 8px;
  font-weight: 600;
}

.nl.active i {
  color: var(--p);
  opacity: 1;
}

.sbu {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 4px 0;
  border-top: 1px solid var(--gb);
}

.sbu img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.sbu div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sbn2 {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
}

.sbr {
  font-size: 11px;
  color: var(--td);
  font-weight: 500;
}

.sbo {
  margin-left: auto;
  background: none;
  border: none;
  color: var(--td);
  cursor: pointer;
  font-size: 16px;
  transition: .2s;
  padding: 6px;
  border-radius: 6px;
}

.sbo:hover {
  color: #fff;
  background: var(--gb);
}

.mh {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gb);
  min-width: 0;
}

.mh h1 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.mh p {
  color: var(--td);
  font-size: 14px;
  margin-top: 6px;
}

.sp {
  background: var(--g);
  border: 1px solid var(--gb);
  padding: 8px 16px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  min-width: 0;
}

.pd {
  width: 8px;
  height: 8px;
  background: var(--gr);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.on {
  color: var(--gr);
}

.gc {
  background: linear-gradient(160deg, rgba(28, 28, 32, 0.5) 0%, rgba(18, 18, 20, 0.4) 100%);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--rad);
  padding: 28px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.05);
  min-width: 0;
  position: relative;
  overflow: hidden;
}

html.sp-booting #auth,
html.sp-booting #verify-screen,
html.sp-booting #dash {
  visibility: hidden !important;
}

.gc::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
  transform: skewX(-20deg);
  transition: 0.7s;
  pointer-events: none;
}

.gc:hover::after {
  left: 150%;
}

.gc:hover {
  border-color: var(--p);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.g3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.g2s {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.cl {
  font-size: 11px;
  color: var(--ts);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
}

.cv {
  font-size: 30px;
  font-weight: 700;
  margin: 10px 0 16px;
  letter-spacing: -1px;
}

.prog {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 100px;
  height: 6px;
  overflow: hidden;
}

.pb {
  height: 100%;
  background: var(--p);
  border-radius: 100px;
  transition: width 1s;
  width: 0;
}

.al {
  background: none;
  border: none;
  color: var(--td);
  font-size: 12px;
  cursor: pointer;
  transition: .2s;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 6px;
}

.al:hover {
  color: var(--p);
  background: rgba(183, 255, 0, 0.1);
}

.btn-premium {
  background: rgba(183, 255, 0, 0.05) !important;
  color: var(--p) !important;
  border: 1px solid rgba(183, 255, 0, 0.2) !important;
  box-shadow: none !important;
  transition: all 0.3s ease !important;
}

.btn-premium:hover {
  background: var(--p) !important;
  color: #fff !important;
  border-color: var(--p) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 8px 25px rgba(183, 255, 0, 0.3) !important;
}

@keyframes pulse-status {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 10px currentColor; }
  100% { transform: scale(1); opacity: 0.8; }
}

.ba, .bl2 {
  background: rgba(255, 255, 255, 0.05) !important;
  border-radius: 6px !important;
  color: var(--td) !important;
  padding: 4px 10px !important;
  font-weight: 700 !important;
  font-size: 10px !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  animation: pulse-status 2s infinite ease-in-out;
}

/* UPDATE HISTORY (CHANGELOGS) */
.cl-timeline {
  position: relative;
  padding: 10px 0 20px 30px;
}
.cl-timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--p) 0%, rgba(255,255,255,0.02) 100%);
  border-radius: 2px;
  opacity: 0.4;
}

.cl-t-item {
  position: relative;
  margin-bottom: 25px;
  opacity: 0;
  transform: translateY(15px);
  animation: clFadeIn 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes clFadeIn {
  to { opacity: 1; transform: translateY(0); }
}

.cl-t-item::before {
  content: "";
  position: absolute;
  left: -31px;
  top: 15px;
  width: 10px;
  height: 10px;
  background: var(--bg);
  border: 2px solid var(--p);
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 0 8px var(--p);
}

.cl-t-content {
  background: transparent;
  border: none;
  padding: 0;
  transition: 0.3s ease;
}
.cl-t-content:hover {
  transform: translateX(5px);
}

.cl-t-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
  gap: 15px;
  flex-wrap: wrap;
}

.cl-t-hl {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cl-t-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.2px;
}
.cl-t-ver {
  font-family: var(--mn);
  font-size: 0.75rem;
  color: var(--ts);
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 8px;
  border-radius: 4px;
}

.cl-t-type {
  font-size: 9px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 2px 8px;
  border-radius: 100px;
}
.cl-t-type.update { background: rgba(59, 130, 246, 0.1); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.2); }
.cl-t-type.fix { background: rgba(245, 158, 11, 0.1); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.2); }
.cl-t-type.new { background: rgba(16, 185, 129, 0.1); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.2); }

.cl-t-hr {
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--ts);
  font-size: 0.75rem;
}
.cl-t-game {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.cl-t-date i { margin-right: 4px; opacity: 0.7; }

.cl-t-body {
  color: var(--td);
  font-size: 0.88rem;
  line-height: 1.6;
  white-space: pre-line;
}

/* Filter Styles */
.cl-filters {
  display: flex;
  gap: 8px;
}
.clf-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 6px 14px;
  border-radius: 8px;
  color: var(--ts);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: 0.2s;
}
.clf-btn:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.clf-btn.active { background: var(--p); color: #fff; border-color: var(--p); box-shadow: 0 4px 12px rgba(var(--p-rgb), 0.3); }

/* LOADER DOWNLOAD CARD */
.loader-card {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 24px 32px !important;
  background: rgba(255, 255, 255, 0.02) !important;
  backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-radius: 14px !important;
  transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  grid-column: 1 / -1 !important;
  margin-bottom: 24px !important;
}
.loader-card:hover {
  background: rgba(255, 255, 255, 0.04) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 15px 35px rgba(0,0,0,0.4), 0 0 30px rgba(183, 255, 0, 0.05) !important;
  transform: translateY(-2px) !important;
}

.loader-card-main {
  display: flex !important;
  align-items: center !important;
  gap: 24px !important;
}

.loader-card .dl-icon {
  font-size: 2.8rem !important;
  color: var(--p) !important;
  filter: drop-shadow(0 0 10px rgba(183, 255, 0, 0.2)) !important;
}

.loader-card h3 {
  font-size: 1.15rem !important;
  margin-bottom: 4px !important;
  font-weight: 700 !important;
  color: #fff !important;
  letter-spacing: -0.2px !important;
}

.loader-card-meta {
  font-family: var(--mn) !important;
  font-size: 0.78rem !important;
  color: var(--td) !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.status-indicator {
  padding: 1px 6px !important;
  border-radius: 4px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  font-size: 9px !important;
  letter-spacing: 0.5px !important;
}

.loader-card .btn-download {
  padding: 12px 32px !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
}

.il {
  list-style: none;
}

.il li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px dashed var(--gb);
  font-size: 14px;
}

.il li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.il-l {
  color: var(--td);
}

.il-v {
  font-weight: 500;
  text-align: right;
  color: #fff;
}

.tab {
  display: none;
  animation: fi .3s ease;
}

.tab.active {
  display: block;
}

.sg {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.sc {
  text-align: center;
  padding: 36px 24px;
  display: flex;
  flex-direction: column;
}

.sc .scg {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--td);
  margin-bottom: 12px;
  font-weight: 700;
}

.sc h3 {
  font-size: 20px;
  margin-bottom: 10px;
  font-weight: 600;
}

.sc .scp {
  font-size: 36px;
  font-weight: 700;
  margin: auto 0 16px;
  letter-spacing: -1px;
}

.sc .scp small {
  font-size: 18px;
  color: var(--td);
}

.sc .scd {
  color: var(--tm);
  font-size: 14px;
  margin-bottom: 24px;
}

.kr {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.kr>* {
  min-width: 0;
}

.sub-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  margin-bottom: 12px;
  transition: .2s;
}

.sub-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.sub-n {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 6px;
}

.sub-d {
  color: var(--td);
  font-size: 13px;
  font-family: var(--mn);
}

.badge {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ba {
  background: rgba(16, 185, 129, 0.1);
  color: var(--gr);
}

.bl2 {
  background: rgba(183, 255, 0, 0.1);
  color: var(--p);
}

.be {
  background: rgba(255, 255, 255, 0.05);
  color: var(--td);
}

.empty {
  color: var(--td);
  font-size: 14px;
  text-align: center;
  padding: 40px 0;
}

.bt {
  font-size: 12px;
  color: #fff;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
}

.as {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}

.atb {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--gb);
  padding-bottom: 20px;
}

.atb .ab {
  padding: 8px 16px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--td);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: .2s;
  min-height: 40px;
  touch-action: manipulation;
}

.atb .ab.active,
.atb .ab:hover {
  background: var(--gb);
  color: #fff;
}

.ap {
  display: none;
  animation: fi .3s;
}

.ap.active {
  display: block;
}

/* Admin workspace */
/* Media Creator workspace */
.media-creator-workspace {
  display: grid;
  gap: 14px;
}

.media-creator-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: 26px;
  padding: 28px;
  border-color: rgba(183, 255, 0, .14);
  background:
    radial-gradient(circle at 78% 0, rgba(183, 255, 0, .13), transparent 34%),
    linear-gradient(140deg, rgba(27, 10, 14, .9), rgba(10, 8, 9, .88));
}

.media-creator-hero::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--p), transparent);
}

.media-hero-copy {
  position: relative;
  min-width: 0;
}

.media-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #b7ff00;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.25px;
  text-transform: uppercase;
}

.media-hero-copy h2 {
  margin: 8px 0 7px;
  color: #fff;
  font-size: clamp(1.65rem, 4vw, 2.4rem);
  letter-spacing: -1.1px;
  line-height: 1.08;
}

.media-hero-copy h2 span {
  color: var(--p);
}

.media-hero-copy > p {
  max-width: 600px;
  margin: 0;
  color: var(--td);
  font-size: 12px;
  line-height: 1.65;
}

.media-current-tier {
  display: flex;
  align-items: baseline;
  gap: 8px;
  width: fit-content;
  margin-top: 18px;
  padding: 8px 11px;
  border: 1px solid rgba(183, 255, 0, .14);
  border-radius: 10px;
  background: rgba(183, 255, 0, .055);
}

.media-current-tier span,
.media-current-tier small {
  color: var(--td);
  font-size: 9px;
}

.media-current-tier strong {
  color: #fff;
  font-family: var(--mn);
  font-size: 18px;
}

.media-coupon-card {
  align-self: stretch;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .075);
  border-radius: 13px;
  background: rgba(6, 5, 6, .42);
}

.media-coupon-card h3 {
  overflow: hidden;
  margin: 6px 0 5px;
  color: #fff;
  font-size: 20px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.media-coupon-card > p {
  margin: 0 0 13px;
  color: var(--td);
  font-size: 10px;
  line-height: 1.5;
}

.media-coupon-controls {
  display: flex;
  gap: 7px;
}

.media-coupon-controls .ki {
  min-width: 0;
  margin: 0;
  text-transform: uppercase;
}

.media-stats-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 10px;
}

.media-earning-card,
.media-stat-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  min-height: 112px;
  padding: 17px;
}

.media-earning-card::before,
.media-stat-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, var(--p), transparent 76%);
}

.media-stat-icon {
  position: absolute;
  top: 13px;
  right: 13px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(183, 255, 0, .18);
  border-radius: 9px;
  color: #b7ff00;
  background: rgba(183, 255, 0, .08);
  font-size: 11px;
}

.media-earning-card .cl,
.media-stat-card .cl {
  max-width: calc(100% - 38px);
}

.media-earning-card > strong,
.media-stat-card > strong {
  display: block;
  overflow: hidden;
  margin-top: 8px;
  color: #fff;
  font-family: var(--mn);
  font-size: clamp(19px, 2vw, 27px);
  font-variant-numeric: tabular-nums;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.media-earning-card > strong {
  color: var(--gr);
}

.media-earning-card .btn {
  margin-top: 11px;
}

.media-stat-card > small {
  display: block;
  margin-top: 6px;
  color: var(--ts);
  font-size: 9px;
}

.media-tier-section,
.media-submission-section {
  padding: 22px;
}

.media-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

.media-section-heading h3 {
  margin: 4px 0 0;
  color: #fff;
  font-size: 17px;
}

.media-section-heading > p {
  max-width: 450px;
  margin: 0;
  color: var(--td);
  font-size: 10px;
  line-height: 1.5;
  text-align: right;
}

.media-tier-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 8px;
}

.media-tier-card {
  position: relative;
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, .065);
  border-radius: 11px;
  background: rgba(255, 255, 255, .018);
}

.media-tier-card.current {
  border-color: rgba(183, 255, 0, .36);
  background: linear-gradient(135deg, rgba(183, 255, 0, .14), rgba(183, 255, 0, .035));
  box-shadow: inset 2px 0 0 var(--p);
}

.media-tier-card > span,
.media-tier-card > small {
  overflow: hidden;
  color: var(--td);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.media-tier-card > strong {
  color: #fff;
  font-family: var(--mn);
  font-size: 20px;
}

.media-tier-card.current > span {
  color: #b7ff00;
}

.media-submission-section {
  border-color: rgba(183, 255, 0, .11);
}

.media-submission-grid {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(360px, 1.2fr);
  gap: 12px;
}

.media-rules-card,
.media-submit-card {
  min-width: 0;
  padding: 17px;
  border: 1px solid rgba(255, 255, 255, .065);
  border-radius: 13px;
  background: rgba(4, 4, 5, .25);
}

.media-rules-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.media-rules-title > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(96, 220, 130, .18);
  border-radius: 10px;
  color: var(--gr);
  background: rgba(96, 220, 130, .07);
}

.media-rules-title strong,
.media-rules-title small {
  display: block;
}

.media-rules-title strong {
  color: #fff;
  font-size: 13px;
}

.media-rules-title small {
  margin-top: 2px;
  color: var(--td);
  font-size: 9px;
}

.media-accepted-list {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.media-accepted-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.media-accepted-list li > i {
  display: grid;
  flex: 0 0 19px;
  width: 19px;
  height: 19px;
  margin-top: 1px;
  place-items: center;
  border-radius: 50%;
  color: var(--gr);
  background: rgba(96, 220, 130, .09);
  font-size: 8px;
}

.media-accepted-list b,
.media-accepted-list small {
  display: block;
}

.media-accepted-list b {
  color: #fff;
  font-size: 10px;
}

.media-accepted-list small {
  margin-top: 3px;
  color: var(--td);
  font-size: 9px;
  line-height: 1.4;
}

.media-rejected-box {
  display: grid;
  gap: 4px;
  margin-top: 15px;
  padding: 10px 11px;
  border: 1px solid rgba(241, 90, 90, .17);
  border-radius: 9px;
  color: var(--td);
  background: rgba(241, 90, 90, .055);
  font-size: 9px;
  line-height: 1.45;
}

.media-rejected-box strong {
  color: #ff8585;
  font-size: 9px;
  text-transform: uppercase;
}

.media-platform-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 12px;
}

.media-platform-list span {
  padding: 4px 6px;
  border: 1px solid rgba(255, 255, 255, .065);
  border-radius: 6px;
  color: var(--td);
  background: rgba(255, 255, 255, .02);
  font-size: 8px;
}

.media-submit-warning {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 14px;
  padding: 10px 11px;
  border: 1px solid rgba(183, 255, 0, .18);
  border-radius: 10px;
  color: #b7ff00;
  background: rgba(183, 255, 0, .065);
}

.media-submit-warning strong,
.media-submit-warning span {
  display: block;
}

.media-submit-warning strong {
  color: #fff;
  font-size: 10px;
}

.media-submit-warning span {
  margin-top: 2px;
  color: var(--td);
  font-size: 9px;
}

.media-field-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 11px 2px 6px;
  color: rgba(255, 255, 255, .72);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.media-field-label b {
  color: #b7ff00;
  font-size: 8px;
}

.media-field-label span {
  color: var(--ts);
  font-size: 8px;
}

.media-submit-card .ig {
  margin: 0;
}

.media-url-input {
  border-color: rgba(183, 255, 0, .2);
}

.media-notes-input {
  width: 100%;
  margin: 0;
  resize: vertical;
}

.media-confirm-box {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 13px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .065);
  border-radius: 10px;
  cursor: pointer;
  background: rgba(255, 255, 255, .018);
}

.media-confirm-box > input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.media-confirm-box > span {
  display: grid;
  flex: 0 0 19px;
  width: 19px;
  height: 19px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 6px;
  color: transparent;
  background: rgba(0, 0, 0, .2);
  font-size: 8px;
}

.media-confirm-box > input:checked + span {
  border-color: var(--p);
  color: #fff;
  background: var(--p);
}

.media-confirm-box > input:focus-visible + span {
  outline: 2px solid rgba(183, 255, 0, .32);
  outline-offset: 2px;
}

.media-confirm-box > strong {
  color: rgba(255, 255, 255, .72);
  font-size: 9px;
  line-height: 1.5;
}

.media-subscription-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 10px;
  color: #f1b646;
  font-size: 9px;
  line-height: 1.45;
}

.media-submit-button {
  width: 100%;
  margin-top: 13px;
}

.media-history-section {
  margin-top: 18px;
  padding-top: 17px;
  border-top: 1px solid rgba(255, 255, 255, .065);
}

.media-history-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 11px;
}

.media-history-heading h4 {
  margin: 3px 0 0;
  color: #fff;
  font-size: 14px;
}

.media-history-heading > span {
  color: var(--ts);
  font-size: 9px;
}

.media-history-list {
  display: grid;
  gap: 8px;
}

.media-history-card {
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, .065);
  border-radius: 11px;
  background: rgba(255, 255, 255, .018);
}

.media-history-top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
}

.media-platform-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(183, 255, 0, .14);
  border-radius: 9px;
  color: #b7ff00;
  background: rgba(183, 255, 0, .065);
  font-size: 10px;
}

.media-history-top strong,
.media-history-top small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.media-history-top strong {
  color: #fff;
  font-size: 11px;
}

.media-history-top small {
  margin-top: 3px;
  color: var(--td);
  font-size: 8px;
}

.media-history-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 9px;
  padding: 8px 9px;
  border-radius: 8px;
  background: rgba(0, 0, 0, .18);
}

.media-history-link > span {
  overflow: hidden;
  color: var(--ts);
  font-family: var(--mn);
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.media-history-open {
  flex: 0 0 auto;
  color: var(--p);
  font-size: 9px;
  text-decoration: none;
}

.media-history-invalid {
  color: var(--det);
  font-size: 9px;
}

.media-history-notes,
.media-history-review,
.media-history-reward {
  margin-top: 8px;
  color: var(--td);
  font-size: 9px;
  line-height: 1.5;
  white-space: pre-wrap;
}

.media-history-reward {
  color: var(--gr);
}

.media-history-empty {
  display: grid;
  justify-items: center;
  gap: 5px;
  min-height: 110px;
  place-content: center;
  color: var(--td);
  text-align: center;
}

.media-history-empty i {
  color: rgba(183, 255, 0, .45);
  font-size: 22px;
}

.media-history-empty strong {
  color: #fff;
  font-size: 11px;
}

.media-history-empty span {
  font-size: 9px;
}

@media (max-width: 1050px) {
  .media-creator-hero {
    grid-template-columns: 1fr 1fr;
  }

  .media-stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .media-submission-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .media-creator-hero {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .media-tier-section,
  .media-submission-section {
    padding: 17px;
  }

  .media-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .media-section-heading > p {
    text-align: left;
  }

  .media-tier-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 460px) {
  .media-stats-grid {
    grid-template-columns: 1fr;
  }

  .media-coupon-controls {
    flex-direction: column;
  }

  .media-coupon-controls .btn {
    width: 100%;
  }

  .media-history-top {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .media-history-top .badge {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .media-history-link {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Reseller workspace */
.reseller-workspace {
  display: grid;
  gap: 14px;
}

.reseller-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.res-metric {
  position: relative;
  overflow: hidden;
  min-width: 0;
  min-height: 86px;
  padding: 16px 17px;
}

.res-metric::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, var(--p), transparent 80%);
}

.res-metric-icon {
  position: absolute;
  top: 13px;
  right: 13px;
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 1px solid rgba(183, 255, 0, .2);
  border-radius: 9px;
  color: #b7ff00;
  background: rgba(183, 255, 0, .09);
  font-size: 12px;
}

.res-metric .cl {
  padding-right: 38px;
}

.res-metric-value {
  display: flex;
  align-items: baseline;
  gap: 6px;
  max-width: calc(100% - 34px);
  margin: 7px 0 0;
  color: #fff;
  font-size: clamp(20px, 2vw, 27px);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  white-space: nowrap;
}

.res-metric-value small {
  color: var(--td);
  font-family: var(--fm);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
}

.res-metric-balance .res-metric-value {
  color: #70e196;
}

.reseller-builder {
  padding: 24px;
  border-color: rgba(183, 255, 0, .13);
  background:
    radial-gradient(circle at 90% 0, rgba(183, 255, 0, .08), transparent 34%),
    linear-gradient(145deg, rgba(24, 10, 14, .88), rgba(10, 8, 9, .86));
}

.res-builder-head,
.res-config-heading,
.res-quote,
.res-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.res-builder-head {
  margin-bottom: 22px;
}

.res-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #b7ff00;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.25px;
  text-transform: uppercase;
}

.res-builder-head h2 {
  margin: 5px 0 4px;
  color: #fff;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  letter-spacing: -.6px;
}

.res-builder-head p,
.res-topup-card p,
.res-help-card p,
.res-application > p {
  margin: 0;
  color: var(--td);
  font-size: 12px;
  line-height: 1.6;
}

.res-discount-badge {
  flex: 0 0 auto;
  padding: 10px 13px;
  border: 1px solid rgba(183, 255, 0, .18);
  border-radius: 11px;
  color: var(--td);
  background: rgba(183, 255, 0, .065);
  font-size: 10px;
  white-space: nowrap;
}

.res-discount-badge strong {
  margin-right: 4px;
  color: #fff;
  font-size: 16px;
}

.res-step {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: #fff;
  font-size: 11px;
  letter-spacing: .3px;
}

.res-step > span {
  padding: 3px 6px;
  border-radius: 5px;
  color: #b7ff00;
  background: rgba(183, 255, 0, .1);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .8px;
  text-transform: uppercase;
}

.res-game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.res-game-card {
  position: relative;
  overflow: hidden;
  min-height: 142px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 13px;
  color: #fff;
  background: #0c090a;
  cursor: pointer;
  text-align: left;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}

.res-game-card:hover {
  transform: translateY(-2px);
  border-color: rgba(183, 255, 0, .28);
}

.res-game-card.selected {
  border-color: var(--p);
  box-shadow: 0 0 0 1px rgba(183, 255, 0, .14), 0 12px 30px rgba(0, 0, 0, .25);
}

.res-game-card > img,
.res-game-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.res-game-card > img {
  object-fit: cover;
  opacity: .58;
}

.res-game-fallback {
  display: grid;
  place-items: center;
  color: rgba(183, 255, 0, .16);
  background:
    radial-gradient(circle at 25% 20%, rgba(183, 255, 0, .2), transparent 34%),
    linear-gradient(135deg, #1c0c10, #0b090a);
  font-size: 54px;
}

.res-game-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 5, 6, .08), rgba(5, 5, 6, .93));
}

.res-game-copy {
  position: absolute;
  right: 16px;
  bottom: 14px;
  left: 16px;
  display: grid;
  gap: 4px;
}

.res-game-copy strong {
  font-size: 17px;
}

.res-game-copy small {
  overflow: hidden;
  color: rgba(255, 255, 255, .68);
  font-size: 10px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.res-game-selected {
  position: absolute;
  top: 10px;
  right: 10px;
  display: none;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  color: #fff;
  background: rgba(183, 255, 0, .8);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .55px;
  text-transform: uppercase;
}

.res-game-card.selected .res-game-selected {
  display: flex;
}

.res-config-panel {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .075);
  border-radius: 13px;
  background: rgba(6, 5, 6, .38);
}

.res-config-heading .res-step {
  margin: 0;
}

.res-config-heading > small {
  color: var(--td);
  font-size: 9px;
  letter-spacing: .6px;
  text-transform: uppercase;
}

.res-plan-list,
.res-quantity-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.res-plan-list {
  margin: 11px 0 18px;
}

.res-plan-card {
  position: relative;
  display: grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  gap: 2px 7px;
  min-width: 145px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 10px;
  color: var(--td);
  background: rgba(255, 255, 255, .025);
  cursor: pointer;
  text-align: left;
  transition: .2s;
}

.res-plan-card:hover,
.res-plan-card.selected {
  border-color: rgba(183, 255, 0, .55);
  color: #fff;
  background: rgba(183, 255, 0, .1);
}

.res-plan-card > span {
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.res-plan-card > strong {
  color: #fff;
  font-size: 12px;
}

.res-plan-card > del {
  color: rgba(255, 255, 255, .32);
  font-size: 9px;
}

.res-plan-card > small {
  grid-column: 1 / -1;
  overflow: hidden;
  max-width: 170px;
  color: var(--ts);
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.res-qty-step {
  margin-top: 4px;
}

.res-qty-button {
  min-width: 43px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 9px;
  color: var(--td);
  background: rgba(255, 255, 255, .025);
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
  transition: .2s;
}

.res-qty-button:hover,
.res-qty-button.selected {
  border-color: rgba(183, 255, 0, .55);
  color: #fff;
  background: rgba(183, 255, 0, .12);
}

.res-quote {
  margin-top: 16px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, .075);
  border-radius: 11px;
  background: rgba(255, 255, 255, .02);
}

.res-quote-total,
.res-quote-balance {
  display: grid;
  gap: 2px;
}

.res-quote-total > span,
.res-quote-balance > span {
  color: var(--ts);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .8px;
  text-transform: uppercase;
}

.res-quote-total > strong {
  color: #fff;
  font-size: 21px;
}

.res-quote-total > small,
.res-quote-balance > strong {
  color: var(--td);
  font-size: 9px;
}

.res-generate-button {
  min-width: 190px;
}

.res-generate-button:disabled {
  opacity: .38;
  cursor: not-allowed;
  filter: saturate(.2);
}

.res-shortfall {
  margin-top: 9px;
  color: #ff8994;
  font-size: 10px;
  text-align: center;
}

.res-shortfall button {
  padding: 0;
  border: 0;
  color: #fff;
  background: none;
  cursor: pointer;
  text-decoration: underline;
}

.res-generated-output:empty {
  display: none;
}

.res-generated-card {
  margin-top: 14px;
  padding: 12px;
  border: 1px solid rgba(96, 220, 130, .18);
  border-radius: 11px;
  background: rgba(96, 220, 130, .045);
}

.res-generated-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  color: var(--gr);
  font-size: 11px;
  font-weight: 700;
}

.reseller-lower-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 10px;
}

.res-topup-card,
.res-help-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding: 18px;
}

.res-card-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(183, 255, 0, .18);
  border-radius: 10px;
  color: #b7ff00;
  background: rgba(183, 255, 0, .08);
}

.res-topup-card h3,
.res-help-card h3,
.res-keys-card h3,
.res-application h3 {
  margin: 4px 0 5px;
  color: #fff;
  font-size: 15px;
}

.res-topup-controls {
  grid-column: 1 / -1;
  display: flex;
  gap: 8px;
  margin-top: 2px;
}

.res-topup-input {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  min-width: 0;
  height: 42px;
  border: 1px solid var(--gb);
  border-radius: 9px;
  background: rgba(0, 0, 0, .2);
}

.res-topup-input > span {
  padding-left: 13px;
  color: var(--td);
  font-size: 12px;
}

.res-topup-input input {
  min-width: 0;
  width: 100%;
  height: 100%;
  padding: 0 12px 0 5px;
  border: 0;
  outline: 0;
  color: #fff;
  background: transparent;
  font: inherit;
}

.res-keys-card {
  padding: 18px;
}

.res-section-head {
  margin-bottom: 10px;
}

.res-section-head > span {
  color: var(--ts);
  font-size: 9px;
}

.res-key-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, .055);
  border-radius: 10px;
}

.res-key-code {
  font-size: .7rem;
  white-space: nowrap;
}

.res-empty-state,
.res-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 120px;
  color: var(--td);
  font-size: 11px;
  text-align: center;
}

.res-empty-state {
  flex-direction: column;
}

.res-empty-state i {
  color: var(--p);
  font-size: 22px;
}

.res-empty-state.compact {
  min-height: 90px;
}

.res-application {
  max-width: 720px;
}

.res-application > p {
  margin-bottom: 18px;
}

@media (max-width: 900px) {
  .reseller-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .reseller-lower-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .reseller-builder {
    padding: 16px;
  }

  .res-builder-head,
  .res-quote {
    align-items: stretch;
    flex-direction: column;
  }

  .res-discount-badge {
    align-self: flex-start;
  }

  .res-game-grid {
    grid-template-columns: 1fr;
  }

  .res-game-card {
    min-height: 126px;
  }

  .res-config-panel {
    padding: 13px;
  }

  .res-plan-card {
    flex: 1 1 calc(50% - 8px);
    min-width: 130px;
  }

  .res-quote-balance {
    padding: 8px 0;
    border-top: 1px solid rgba(255, 255, 255, .06);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
  }

  .res-generate-button {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 420px) {
  .reseller-metrics {
    grid-template-columns: 1fr 1fr;
    gap: 7px;
  }

  .res-metric {
    min-height: 78px;
    padding: 13px;
  }

  .res-metric-icon {
    top: 10px;
    right: 10px;
    width: 26px;
    height: 26px;
  }

  .res-metric-value {
    font-size: 20px;
  }

  .res-config-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .res-plan-card {
    flex-basis: 100%;
  }

  .res-topup-controls {
    flex-direction: column;
  }

  .res-topup-controls .btn {
    width: 100%;
  }
}

.security-shell {
  --security-border: rgba(255, 255, 255, .08);
  --security-soft: rgba(255, 255, 255, .035);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.security-banner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 84px;
  padding: 16px 18px;
  overflow: hidden;
  border: 1px solid rgba(183, 255, 0, .18);
  border-radius: 14px;
  background:
    radial-gradient(circle at 8% 0%, rgba(183, 255, 0, .16), transparent 34%),
    linear-gradient(135deg, rgba(29, 14, 18, .94), rgba(15, 12, 14, .9));
  box-shadow: 0 14px 34px rgba(0, 0, 0, .22);
}

.security-banner::after {
  content: "";
  position: absolute;
  right: -54px;
  top: -90px;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(183, 255, 0, .12);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(183, 255, 0, .025), 0 0 0 58px rgba(183, 255, 0, .018);
  pointer-events: none;
}

.security-banner-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border: 1px solid rgba(183, 255, 0, .32);
  border-radius: 13px;
  color: #fff;
  font-size: 18px;
  background: linear-gradient(145deg, rgba(183, 255, 0, .26), rgba(183, 255, 0, .08));
  box-shadow: inset 0 1px rgba(255, 255, 255, .08), 0 8px 22px rgba(183, 255, 0, .12);
}

.security-banner-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.security-eyebrow,
.security-card-title>div>span {
  display: block;
  margin-bottom: 3px;
  color: var(--p);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.35px;
  line-height: 1.2;
  text-transform: uppercase;
}

.security-banner h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(18px, 2vw, 22px);
  letter-spacing: -.45px;
}

.security-banner p {
  margin: 4px 0 0;
  color: var(--td);
  font-size: 12px;
  line-height: 1.45;
}

.security-banner-tip {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 210px;
  margin-left: auto;
  padding: 9px 12px;
  border: 1px solid rgba(96, 220, 130, .16);
  border-radius: 10px;
  color: #b6eec5;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.35;
  background: rgba(96, 220, 130, .055);
}

.security-banner-tip i {
  color: var(--gr);
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
}

.security-card {
  position: relative;
  min-width: 0;
  padding: 19px;
  overflow: hidden;
  border: 1px solid var(--security-border);
  border-radius: 13px;
  background:
    linear-gradient(145deg, rgba(27, 23, 25, .88), rgba(15, 13, 15, .84));
  box-shadow: 0 10px 28px rgba(0, 0, 0, .16), inset 0 1px rgba(255, 255, 255, .025);
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.security-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  opacity: .7;
  background: linear-gradient(180deg, transparent 4%, var(--p) 34%, transparent 92%);
}

.security-card:hover {
  transform: translateY(-1px);
  border-color: rgba(183, 255, 0, .23);
  box-shadow: 0 14px 32px rgba(0, 0, 0, .22), inset 0 1px rgba(255, 255, 255, .035);
}

.security-profile-card,
.security-password-card {
  grid-column: span 7;
}

.security-device-card,
.security-tfa-card {
  grid-column: span 5;
}

.security-email-card,
.security-discord-card {
  grid-column: span 6;
}

.security-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.security-card-title {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
}

.security-card-icon {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  flex: 0 0 35px;
  border: 1px solid rgba(183, 255, 0, .2);
  border-radius: 10px;
  color: #b7ff00;
  font-size: 14px;
  background: rgba(183, 255, 0, .09);
}

.security-card-icon.discord {
  border-color: rgba(88, 101, 242, .24);
  color: #8f98ff;
  background: rgba(88, 101, 242, .1);
}

.security-card-title h3 {
  margin: 0;
  color: #fff;
  font-size: 14px;
  font-weight: 720;
  letter-spacing: -.15px;
}

.security-state {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 24px;
  padding: 4px 8px;
  flex: 0 0 auto;
  border: 1px solid rgba(183, 255, 0, .18);
  border-radius: 999px;
  color: #b7ff00;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .45px;
  line-height: 1;
  text-transform: uppercase;
  background: rgba(183, 255, 0, .07);
}

.security-state.active {
  border-color: rgba(96, 220, 130, .2);
  color: #8ceaa5;
  background: rgba(96, 220, 130, .07);
}

.security-state.warning {
  border-color: rgba(241, 182, 70, .2);
  color: #f4ca79;
  background: rgba(241, 182, 70, .07);
}

.security-state.neutral {
  border-color: rgba(255, 255, 255, .08);
  color: #bcaeb3;
  background: rgba(255, 255, 255, .035);
}

.security-profile-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.security-avatar-wrap {
  position: relative;
  width: 74px;
  height: 74px;
  flex: 0 0 74px;
}

.security-avatar-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border: 1px solid rgba(183, 255, 0, .28);
  border-radius: 17px;
  background: #130d10;
  box-shadow: 0 9px 24px rgba(0, 0, 0, .28);
}

.security-avatar-status {
  position: absolute;
  right: -5px;
  bottom: -5px;
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 3px solid #171215;
  border-radius: 50%;
  color: #fff;
  font-size: 9px;
  background: var(--p);
}

.security-profile-actions {
  min-width: 0;
}

.security-profile-actions h4,
.security-form-copy h4,
.security-setting-row h4 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.security-profile-actions p,
.security-form-copy p,
.security-setting-row p,
.security-card-description,
.security-discord-connect p {
  margin: 0;
  color: var(--td);
  font-size: 11px;
  line-height: 1.55;
}

.security-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.security-button-row input[type="file"] {
  display: none;
}

.security-divider {
  height: 1px;
  margin: 17px 0;
  background: linear-gradient(90deg, rgba(183, 255, 0, .24), rgba(255, 255, 255, .055), transparent);
}

.security-form-block {
  min-width: 0;
}

.security-form-copy {
  margin-bottom: 10px;
}

.security-inline-form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.security-inline-form .ig {
  flex: 1;
  min-width: 0;
  margin: 0;
}

.security-inline-form .btn {
  flex: 0 0 auto;
}

.security-form-block .ae,
.security-password-card .ae {
  min-height: 0;
  margin-top: 7px;
  padding: 0;
  text-align: left;
}

.security-card-description {
  min-height: 34px;
  margin: -3px 0 14px;
}

.security-hwid-value {
  padding: 12px;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, .065);
  border-radius: 10px;
  background: rgba(7, 7, 9, .44);
}

.security-hwid-value span {
  display: block;
  margin-bottom: 6px;
  color: #89797f;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.security-hwid-value strong {
  display: block;
  overflow: hidden;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.security-outline-btn {
  width: 100%;
  height: 38px;
  border: 1px solid rgba(255, 124, 137, .2);
  color: #ff7c89;
  background: rgba(255, 124, 137, .055);
}

.security-outline-btn:hover {
  border-color: rgba(255, 124, 137, .4);
  color: #fff;
  background: rgba(255, 124, 137, .13);
}

.security-password-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.security-field label {
  display: block;
  margin: 0 0 6px;
  color: #bbaeb3;
  font-size: 10px;
  font-weight: 650;
}

.security-field .ig {
  margin: 0;
}

.security-submit-btn {
  width: 100%;
  height: 39px;
  margin-top: 12px;
}

.security-benefit {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  margin: -2px 0 12px;
  padding: 9px 10px;
  border: 1px solid rgba(96, 220, 130, .1);
  border-radius: 9px;
  color: #a7caae;
  font-size: 10px;
  line-height: 1.4;
  background: rgba(96, 220, 130, .035);
}

.security-benefit i {
  color: var(--gr);
}

.security-setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 58px;
  padding: 12px 13px;
  border: 1px solid rgba(255, 255, 255, .055);
  border-radius: 10px;
  background: rgba(7, 7, 9, .28);
}

.security-setting-row>div {
  min-width: 0;
}

.security-toggle {
  width: 50px;
  height: 26px;
}

.security-toggle .dt-slider {
  border-radius: 26px;
}

.security-toggle .dt-slider::before {
  width: 20px;
  height: 20px;
}

.security-toggle input:checked+.dt-slider::before {
  transform: translateX(24px);
}

.security-discord-state {
  min-height: 58px;
}

.security-loading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 58px;
  color: var(--td);
  font-size: 11px;
}

.security-discord-account,
.security-discord-connect {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 10px 12px;
  border: 1px solid rgba(88, 101, 242, .13);
  border-radius: 10px;
  background: rgba(88, 101, 242, .04);
}

.security-discord-avatar {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  flex: 0 0 39px;
  border-radius: 11px;
  color: #fff;
  font-size: 16px;
  background: linear-gradient(145deg, #6975f4, #4d59d9);
  box-shadow: 0 7px 18px rgba(88, 101, 242, .2);
}

.security-discord-user {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}

.security-discord-user strong {
  max-width: 100%;
  overflow: hidden;
  color: #fff;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.security-discord-user small {
  max-width: 100%;
  overflow: hidden;
  color: #8e8388;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.security-discord-connect {
  justify-content: space-between;
}

.security-discord-connect>div {
  min-width: 0;
}

.security-discord-connect .security-state {
  margin-bottom: 7px;
}

.security-discord-btn {
  flex: 0 0 auto;
  height: 38px;
  color: #fff;
  background: #5865f2;
}

.security-discord-btn:hover {
  transform: translateY(-1px);
  background: #6975f4;
  box-shadow: 0 8px 18px rgba(88, 101, 242, .2);
}

@media (max-width: 1000px) {
  .security-profile-card,
  .security-password-card,
  .security-device-card,
  .security-tfa-card,
  .security-email-card,
  .security-discord-card {
    grid-column: span 6;
  }

  .security-profile-card {
    grid-column: span 12;
  }
}

@media (max-width: 700px) {
  .security-banner-tip {
    display: none;
  }

  .security-profile-card,
  .security-password-card,
  .security-device-card,
  .security-tfa-card,
  .security-email-card,
  .security-discord-card {
    grid-column: span 12;
  }
}

@media (max-width: 480px) {
  .security-banner {
    min-height: 76px;
    padding: 14px;
  }

  .security-banner-icon {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .security-card {
    padding: 15px;
  }

  .security-card-head {
    margin-bottom: 14px;
  }

  .security-card-title>div>span {
    font-size: 8px;
  }

  .security-profile-row,
  .security-inline-form,
  .security-discord-connect {
    align-items: stretch;
    flex-direction: column;
  }

  .security-profile-row {
    align-items: flex-start;
  }

  .security-inline-form .btn,
  .security-discord-connect .btn {
    width: 100%;
  }

  .security-password-fields {
    grid-template-columns: 1fr;
  }

  .security-setting-row {
    align-items: flex-start;
  }

  .security-discord-account {
    flex-wrap: wrap;
  }

  .security-discord-account .btn {
    width: 100%;
  }
}

.admin-stats {
  gap: 10px;
  margin-bottom: 12px;
}

.admin-stat {
  position: relative;
  overflow: hidden;
  min-width: 0;
  min-height: 74px;
  padding: 13px 14px;
}

.admin-stat::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  opacity: .75;
  background: linear-gradient(90deg, var(--p), transparent 78%);
}

.admin-stat .cl {
  padding-right: 38px;
}

.admin-stat:hover {
  transform: translateY(-2px);
  border-color: rgba(183, 255, 0, .28);
}

.admin-stat .cv {
  max-width: 100%;
  margin: 3px 0 0;
  font-size: clamp(17px, 1.55vw, 23px);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.45px;
  line-height: 1.1;
  white-space: nowrap;
}

.admin-stat-icon {
  position: absolute;
  top: 10px;
  right: 11px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(183, 255, 0, .2);
  border-radius: 8px;
  color: #b7ff00;
  background: rgba(183, 255, 0, .1);
  box-shadow: inset 0 1px rgba(255, 255, 255, .04);
  font-size: 11px;
}

.admin-nav.atb {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  width: 100%;
  gap: 6px;
  margin-bottom: 12px;
  padding: 6px;
  border: 1px solid rgba(183, 255, 0, .12);
  border-radius: 14px;
  background: rgba(18, 7, 10, .72);
}

.admin-nav-group {
  flex: 1 1 145px;
  min-width: 0;
  padding: 5px;
  border: 1px solid rgba(183, 255, 0, .08);
  border-radius: 12px;
  background: rgba(183, 255, 0, .025);
}

.admin-nav-label {
  display: block;
  padding: 1px 6px 4px;
  color: rgba(255, 255, 255, .34);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1.15px;
  text-transform: uppercase;
}

.admin-nav-items {
  display: grid;
  gap: 1px;
}

.admin-nav.atb .ab {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 29px;
  padding: 4px 6px;
  border: 1px solid transparent;
  border-radius: 7px;
  color: rgba(255, 255, 255, .6);
  font-size: 10px;
  text-align: left;
}

.admin-nav.atb .ab i {
  display: grid;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-right: 5px;
  place-items: center;
  border-radius: 6px;
  color: rgba(255, 255, 255, .45);
  background: rgba(255, 255, 255, .04);
}

.admin-nav.atb .ab:hover {
  color: #fff;
  background: rgba(255, 255, 255, .045);
}

.admin-nav.atb .ab.active {
  border-color: rgba(183, 255, 0, .32);
  color: #fff;
  background: linear-gradient(120deg, rgba(183, 255, 0, .2), rgba(183, 255, 0, .07));
  box-shadow: inset 3px 0 0 var(--p);
}

.admin-nav.atb .ab.active i {
  color: #b7ff00;
  background: rgba(183, 255, 0, .17);
}

.admin-panel {
  min-height: 240px;
  padding: 18px;
  border: 1px solid rgba(183, 255, 0, .1);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(25, 9, 13, .72), rgba(12, 8, 9, .62));
  box-shadow: 0 18px 45px rgba(0, 0, 0, .16);
}

.admin-filterbar {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  gap: 8px;
  align-items: end;
  margin-bottom: 16px;
  padding: 12px;
  border: 1px solid rgba(183, 255, 0, .11);
  border-radius: 12px;
  background: rgba(10, 4, 6, .34);
}

.admin-filterbar > * {
  min-width: 0;
}

.admin-search-field {
  flex: 1 1 320px;
}

.admin-filter-field {
  flex: 0 1 190px;
}

.admin-filter-field.compact {
  flex-basis: 150px;
}

.admin-search-field label,
.admin-filter-field label {
  display: block;
  margin: 0 0 7px 2px;
  color: rgba(255, 255, 255, .55);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
}

.admin-search-field .ig,
.admin-filter-field .custom-select {
  width: 100%;
  margin: 0;
}

.admin-search-field input {
  min-width: 0;
}

.admin-search-priority {
  flex: 1 1 100%;
  width: 100%;
  margin: -2px 0 0 2px;
  color: rgba(183, 255, 0, .72);
  font-size: 10px;
}

.admin-search-priority i {
  margin-right: 5px;
}

.admin-search-button {
  flex: 0 0 auto;
  align-self: flex-end;
  height: 46px;
  min-height: 46px;
  padding: 0 18px;
  white-space: nowrap;
}

.admin-results-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin: 2px 2px 10px;
}

.admin-results-head h3 {
  margin: 2px 0 0;
  color: #fff;
  font-size: 16px;
}

.admin-results-kicker {
  color: var(--p);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.admin-results-note {
  color: var(--ts);
  font-size: 10px;
}

@media (max-width: 1180px) {
  .admin-nav-group {
    flex-basis: calc(33.333% - 10px);
  }

  .admin-search-field {
    flex-basis: 100%;
  }
}

@media (max-width: 760px) {
  .admin-nav-group {
    flex-basis: calc(50% - 8px);
  }

  .admin-filter-field,
  .admin-filter-field.compact {
    flex: 1 1 calc(50% - 8px);
  }

  .admin-search-button {
    flex: 1 1 100%;
  }
}

@media (max-width: 480px) {
  .admin-nav-group,
  .admin-filter-field,
  .admin-filter-field.compact {
    flex-basis: 100%;
  }

  .admin-nav.atb,
  .admin-filterbar {
    padding: 8px;
  }

  .admin-panel {
    padding: 14px;
  }

  .admin-results-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

.at {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.at th {
  text-align: left;
  padding: 14px 16px;
  color: var(--td);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid var(--gb);
  font-weight: 600;
}

.at td {
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
  color: var(--tm);
}

.at tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.asr {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.rb {
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.rb-a {
  background: rgba(183, 255, 0, 0.1);
  color: var(--p);
}

.rb-r {
  background: rgba(16, 185, 129, 0.1);
  color: var(--gr);
}

.rb-u {
  background: rgba(255, 255, 255, 0.05);
  color: var(--td);
}

.tc {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toast {
  padding: 14px 24px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  animation: fu .3s ease, fi .3s ease;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--gb);
  background: #18181b;
}

.t-ok {
  border-left: 3px solid var(--gr);
}

.t-err {
  border-left: 3px solid #ef4444;
}

.t-info {
  border-left: 3px solid #3b82f6;
}

.mo {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fi .2s;
}

.mb {
  background: rgba(14, 14, 16, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 40px;
  max-width: 600px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

body.modal-open {
  overflow: hidden;
}

.mb h3 {
  margin-bottom: 24px;
  font-size: 22px;
  font-weight: 600;
}

.mh-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.key-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  margin-bottom: 6px;
  font-family: var(--mn);
  font-size: 13px;
  color: var(--tm);
  border: 1px solid var(--gb);
}

.key-row .copy-btn {
  background: none;
  border: none;
  color: var(--td);
  cursor: pointer;
  font-size: 14px;
  transition: .2s;
  padding: 4px 8px;
  border-radius: 6px;
}

.key-row .copy-btn:hover {
  color: #fff;
  background: var(--gb);
}

.cl-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.clf-btn {
  background: transparent;
  border: 1px solid var(--gb);
  color: var(--td);
  padding: 6px 16px;
  border-radius: 100px;
  font-family: var(--fm);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: .2s;
}

.clf-btn:hover {
  background: var(--gb);
  color: #fff;
}

.clf-btn.active {
  background: #fff;
  color: #000;
  border-color: #fff;
  font-weight: 600;
}

.cl-timeline {
  position: relative;
  margin-top: 10px;
}

.cl-t-item {
  margin-bottom: 16px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: .2s;
}

.cl-t-item:hover {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(255, 255, 255, 0.08);
}

.cl-t-item:last-child {
  margin-bottom: 0;
}

.cl-t-content {
  background: transparent;
  transition: .3s;
  position: relative;
}

.cl-t-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 10px;
}

.cl-t-hl {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cl-t-hr {
  display: flex;
  gap: 12px;
  align-items: center;
}

.cl-t-type {
  font-size: 10px;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 1px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--td);
}

.cl-t-type.update {
  color: var(--gr);
  background: rgba(96, 220, 130, 0.15);
}

.cl-t-type.hotfix {
  color: var(--maint);
  background: rgba(191, 146, 246, 0.15);
}

.cl-t-type.feature {
  color: var(--nosub);
  background: rgba(122, 183, 250, 0.15);
}

.cl-t-type.breaking {
  color: var(--det);
  background: rgba(241, 90, 90, 0.15);
}

.cl-t-title {
  font-size: 17px;
  font-weight: 600;
  color: #fff;
}

.cl-t-ver {
  font-family: var(--mn);
  font-size: 13px;
  color: var(--tm);
  padding: 2px 8px;
  background: var(--gb);
  border-radius: 6px;
}

.cl-t-game {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--td);
  font-weight: 600;
}

.cl-t-date {
  font-size: 13px;
  color: var(--td);
}

.cl-t-body {
  font-size: 15px;
  color: var(--tm);
  line-height: 1.7;
  white-space: pre-wrap;
}

.cl-copy-btn {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--td);
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: .18s ease;
}

.cl-copy-btn:hover {
  color: #fff;
  border-color: rgba(183, 255, 0, 0.26);
  background: rgba(183, 255, 0, 0.08);
}

.cl-t-item.is-focused {
  border-color: rgba(183, 255, 0, 0.3);
  box-shadow: 0 0 0 1px rgba(183, 255, 0, 0.16), 0 18px 40px rgba(0, 0, 0, 0.24);
}

.dl-card {
  border: 1px solid var(--gb);
  background: rgba(0, 0, 0, 0.15) !important;
  box-shadow: none !important;
}

.support-shell {
  display: flex;
  gap: 20px;
  height: min(72vh, 820px);
  min-height: min(72vh, 820px);
  min-width: 0;
}

.support-sidebar {
  flex: 0 0 320px;
  display: flex;
  flex-direction: column;
  padding: 20px;
  min-width: 0;
  min-height: 0;
}

.support-view {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
  overflow: hidden;
  min-width: 0;
  min-height: 0;
}

#ticket-view {
  width: 100%;
  min-width: 0;
}

#tickets-list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding-right: 6px;
  scrollbar-gutter: stable;
}

#tickets-list,
.tic-v-body {
  scrollbar-width: thin;
  scrollbar-color: rgba(183, 255, 0, 0.75) rgba(255, 255, 255, 0.06);
}

#tickets-list::-webkit-scrollbar,
.tic-v-body::-webkit-scrollbar {
  width: 10px;
}

#tickets-list::-webkit-scrollbar-track,
.tic-v-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
}

#tickets-list::-webkit-scrollbar-thumb,
.tic-v-body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(183, 255, 0, 0.95), rgba(112, 37, 255, 0.8));
  border-radius: 999px;
  border: 2px solid rgba(8, 8, 12, 0.35);
}

#tickets-list::-webkit-scrollbar-thumb:hover,
.tic-v-body::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(183, 255, 0, 1), rgba(141, 71, 255, 0.92));
}

.support-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--tm);
  font-size: 1.1rem;
  flex-direction: column;
  gap: 12px;
  padding: 32px 20px;
  text-align: center;
}

.shop-option-row,
.loader-card,
.loader-card-main,
.loader-card-side,
.sub-actions,
.ticket-head-actions {
  min-width: 0;
}

@keyframes pulse {
  0% {
    opacity: .5;
    transform: scale(.9);
  }

  50% {
    opacity: 1;
    transform: scale(1);
  }

  100% {
    opacity: .5;
    transform: scale(.9);
  }
}

@keyframes fu {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fi {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Tickets / Support UI */
.tic-card {
  padding: 14px;
  background: var(--gh);
  border: 1px solid var(--gb);
  border-radius: 12px;
  cursor: pointer;
  transition: 0.2s;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.tic-card:hover,
.tic-card.act {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--p);
}

.tic-card.act::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--p);
}

.tic-sub {
  margin: 0;
  font-size: 15px;
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 10px;
}

.tic-meta {
  font-size: 12px;
  color: var(--td);
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex-wrap: wrap;
}

.tb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
}

.tbo {
  background: rgba(96, 220, 130, 0.1);
  color: var(--gr);
  border: 1px solid rgba(96, 220, 130, 0.2);
}

.tba {
  background: rgba(241, 182, 70, 0.1);
  color: var(--out);
  border: 1px solid rgba(241, 182, 70, 0.2);
}

.tbc {
  background: rgba(241, 90, 90, 0.1);
  color: var(--det);
  border: 1px solid rgba(241, 90, 90, 0.2);
}

.tic-v-foot.closed {
  background: rgba(241, 90, 90, 0.05);
  color: var(--det);
  justify-content: center;
  align-items: center;
  font-weight: 600;
  border-top: 1px solid rgba(241, 90, 90, 0.15);
  font-size: 14px;
  letter-spacing: 0.5px;
}

.tic-card.closed-tic {
  opacity: 0.65;
  border-color: rgba(241, 90, 90, 0.15);
  background: rgba(241, 90, 90, 0.02);
}

.tic-card.closed-tic:hover {
  opacity: 1;
  border-color: rgba(241, 90, 90, 0.3);
  background: rgba(241, 90, 90, 0.05);
}

.tic-v-head {
  padding: 24px;
  border-bottom: 1px solid var(--gb);
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-radius: 24px 24px 0 0;
}

.tic-v-head > div:first-child {
  flex: 1;
  min-width: 0;
}

.tic-v-head h2,
.tic-v-head h2 span {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.ticket-head-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  align-items: center;
  max-width: 100%;
}

.ticket-head-actions > * {
  max-width: 100%;
}

.tic-v-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  scrollbar-gutter: stable;
  overscroll-behavior: contain;
}

.tic-v-foot {
  padding: 24px;
  border-top: 1px solid var(--gb);
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  border-radius: 0 0 24px 24px;
}

.tic-v-foot .ki {
  min-height: 94px;
  max-height: 180px;
  padding: 14px 16px;
}

.tic-v-foot .btn {
  max-width: 100%;
}

.msg-b {
  max-width: 65%;
  padding: 12px 18px;
  position: relative;
  line-height: 1.5;
  font-size: 13px;
  white-space: pre-wrap;
  word-break: break-word;
}

.msg-right {
  align-self: flex-end;
  border-radius: 18px 18px 4px 18px;
}

.msg-left {
  align-self: flex-start;
  border-radius: 18px 18px 18px 4px;
}

.theme-user {
  background: var(--gh);
  border: 1px solid var(--gb);
  color: #fff;
}

.theme-staff {
  background: var(--p);
  color: #fff;
}

.theme-ai {
  background: rgba(8, 47, 73, 0.36);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #e0f2fe;
}

.msg-meta {
  font-size: 11px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.85;
  font-weight: 500;
}

.theme-user .msg-meta {
  color: var(--tm);
}

.theme-ai .msg-meta {
  color: #7dd3fc;
}

@media(max-width:992px) {
  .dg {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .sb {
    position: relative;
    top: 0;
    padding: 16px;
  }

  .sbl {
    margin-bottom: 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .sbn,
  .sbu {
    display: none;
  }

  .sb.open .sbn,
  .sb.open .sbu {
    display: flex;
  }

  .sb.open .sbn {
    margin-top: 14px;
    flex-direction: column;
    gap: 8px;
  }

  .sb.open .sbu {
    margin-top: 18px;
  }

  .g3,
  .as {
    grid-template-columns: 1fr 1fr;
  }

  .g2s,
  .sg {
    grid-template-columns: 1fr;
  }

  .support-shell {
    flex-direction: column;
    height: auto;
    min-height: auto;
    gap: 16px;
  }

  .support-sidebar,
  .support-view {
    flex: 1 1 auto;
  }

  .support-sidebar {
    max-height: none;
  }

  .support-view {
    height: min(68vh, 640px);
    min-height: 520px;
  }

  #tickets-list {
    min-height: 240px;
    max-height: 38vh;
  }
}

@media(max-width:600px) {
  html,
  body {
    overflow-x: hidden;
  }

  .mh {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 10px;
    border: none;
  }

  .ac {
    padding: 30px 20px;
  }

  .auth-screen {
    padding: 20px 14px;
  }

  .mn {
    padding: 24px 20px;
  }

  .container {
    padding: 0 14px;
  }

  .dw {
    padding: 18px 0 28px;
  }

  .sb {
    padding: 16px;
  }

  .sb {
    padding: 12px 14px;
  }

  .g3,
  .as {
    grid-template-columns: 1fr;
  }

  .kr,
  .tic-v-foot,
  .sub-item,
  .il li {
    flex-direction: column;
    align-items: flex-start;
  }

  .mh-actions {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    padding: 12px;
    border-radius: 18px;
  }

  .sp {
    width: 100%;
  }

  #top-wallet {
    width: 100%;
    justify-content: center;
  }

  #top-wallet .wallet-btn {
    width: 100%;
  }

  .notif-box {
    margin-left: auto;
  }

  .notif-dd {
    width: min(calc(100vw - 28px), 340px);
    right: 0;
  }

  .wallet-dd {
    width: min(calc(100vw - 28px), 360px);
  }

  .wallet-summary {
    grid-template-columns: 1fr;
  }

  .wallet-actions {
    grid-template-columns: 1fr;
  }

  .support-view {
    height: min(68vh, 640px);
    min-height: 460px;
  }

  .support-sidebar {
    padding: 16px;
    max-height: none;
  }

  #tickets-list {
    min-height: 260px;
    max-height: 42vh;
    padding-right: 2px;
  }

  .tic-card {
    padding: 12px;
  }

  .tic-sub {
    font-size: 14px;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    overflow-wrap: anywhere;
    padding-right: 0;
  }

  .support-empty {
    font-size: 1rem;
    padding: 24px 16px;
  }

  .tic-v-head,
  .tic-meta,
  .cl-t-head,
  .cl-t-hr,
  .cl-t-hl {
    flex-direction: column;
    align-items: flex-start;
  }

  .ticket-head-actions,
  .sub-actions,
  .shop-option-row,
  .loader-card,
  .loader-card-main,
  .loader-card-side,
  .sbu {
    flex-direction: column;
    align-items: stretch !important;
    gap: 12px !important;
  }

  .ticket-head-actions {
    width: 100%;
  }

  .ticket-head-actions .live-indicator {
    align-self: flex-start;
  }

  .loader-card .btn,
  .shop-option-row .btn,
  .ticket-head-actions .btn,
  .sub-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .tic-v-head {
    padding: 18px;
  }

  .tic-v-body {
    padding: 18px;
    gap: 14px;
  }

  .tic-v-foot {
    padding: 18px;
  }

  .tic-v-foot .ki,
  .tic-v-foot textarea {
    width: 100%;
    min-width: 0;
  }

  .verify-code-wrap {
    flex-wrap: wrap;
  }

  .vc-dash {
    display: none;
  }

  .mh h1 {
    font-size: 1.6rem;
  }

  .cv {
    font-size: 24px;
  }

  .sc .scp {
    font-size: 30px;
  }

  .cl-t-title {
    font-size: 15px;
  }

  .msg-b {
    max-width: 100%;
  }

  .il-v {
    text-align: left;
  }

  .tc {
    right: 14px;
    left: 14px;
    bottom: 14px;
  }

  .toast {
    width: 100%;
  }

  .mb {
    width: calc(100vw - 24px);
    max-width: none;
    max-height: min(88dvh, 760px);
    padding: 22px 16px;
    border-radius: 18px;
  }

  .mb h3 {
    font-size: 18px;
    margin-bottom: 18px;
  }

  .mb [style*="display:flex"] {
    flex-wrap: wrap !important;
  }

  .mb [style*="flex:1"] {
    min-width: 0 !important;
  }

  .mb .btn {
    min-height: 44px;
  }

  .nl {
    min-width: 0;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    text-align: left;
  }

  .nl span {
    display: block;
    font-size: 13px;
    line-height: 1.3;
    text-align: left;
  }

  .nl i {
    margin: 0;
    width: 18px;
  }
}

@media(max-width:420px) {
  .container {
    padding: 0 10px;
  }

  .mn,
  .ac,
  .gc {
    padding-left: 16px;
    padding-right: 16px;
  }

  .mh-actions {
    padding: 10px;
  }
}

/* LIVE INDICATOR */
.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mn);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--gr);
  background: rgba(96, 220, 130, 0.1);
  border: 1px solid rgba(96, 220, 130, 0.25);
  padding: 4px 12px;
  border-radius: 100px;
  text-transform: uppercase;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gr);
  animation: live-pulse 1.5s ease-in-out infinite;
  box-shadow: 0 0 6px var(--gr);
}

@keyframes live-pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.7);
  }
}

/* NEW MESSAGE ANIMATION */
.msg-new {
  animation: msg-slide-in 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes msg-slide-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* DOWNTIME OVERLAY */
#downtime-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: radial-gradient(ellipse at 50% 40%, #1a0a0e 0%, #0a0608 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
}

.dt-content {
  text-align: center;
  z-index: 2;
  position: relative;
  animation: dt-fade-in 0.8s ease-out;
  max-width: 600px;
  padding: 40px;
}

@keyframes dt-fade-in {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dt-icon-wrap {
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dt-icon-ring {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(183, 255, 0, 0.08);
  border: 2px solid rgba(183, 255, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  color: var(--p);
  animation: dt-ring-pulse 3s ease-in-out infinite;
  box-shadow: 0 0 60px rgba(183, 255, 0, 0.15), inset 0 0 30px rgba(183, 255, 0, 0.05);
}

@keyframes dt-ring-pulse {

  0%,
  100% {
    box-shadow: 0 0 60px rgba(183, 255, 0, 0.15), inset 0 0 30px rgba(183, 255, 0, 0.05);
    border-color: rgba(183, 255, 0, 0.3);
  }

  50% {
    box-shadow: 0 0 80px rgba(183, 255, 0, 0.25), inset 0 0 40px rgba(183, 255, 0, 0.1);
    border-color: rgba(183, 255, 0, 0.5);
  }
}

.dt-title {
  font-size: 4rem;
  font-weight: 900;
  letter-spacing: 16px;
  text-transform: uppercase;
  background: linear-gradient(135deg, #b7ff00 0%, #72ff00 50%, #b7ff00 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: dt-gradient 4s linear infinite;
  margin-bottom: 16px;
  line-height: 1.1;
  text-shadow: none;
}

@keyframes dt-gradient {
  to {
    background-position: 200% center;
  }
}

.dt-bar {
  width: 80px;
  height: 3px;
  margin: 0 auto 30px;
  background: linear-gradient(90deg, transparent, var(--p), transparent);
  border-radius: 2px;
  animation: dt-bar-glow 2s ease-in-out infinite;
}

@keyframes dt-bar-glow {

  0%,
  100% {
    opacity: 0.5;
    width: 60px;
  }

  50% {
    opacity: 1;
    width: 100px;
  }
}

#daily-supply-layer {
  --ds-accent: #b7ff00;
  --ds-accent-soft: #72ff00;
  --ds-overlay-bg: rgba(0, 0, 0, 0.8);
  --ds-card-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
  --ds-card-border: rgba(255, 255, 255, 0.08);
  --ds-button-bg: #b7ff00;
  --ds-button-text: #071000;
}

.ds-overlay {
  background: var(--ds-overlay-bg) !important;
}

.ds-card {
  background: var(--ds-card-bg) !important;
  border-color: var(--ds-card-border) !important;
  overflow: visible;
}

.ds-kicker,
.ds-header .hl,
.ds-line {
  color: var(--ds-accent) !important;
  background-color: var(--ds-accent);
  box-shadow: 0 0 15px var(--ds-accent);
}

.ds-trigger-visual,
.ds-box-visual {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.ds-theme-image {
  width: 80px;
  height: auto;
  max-height: 88px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.25));
}

.ds-trigger .ds-theme-image {
  width: 72px;
  max-height: 72px;
}

.ds-box .ds-theme-image {
  width: 84px;
  max-height: 84px;
}

.ds-theme-corner,
.ds-theme-bunny,
.ds-theme-weeds {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.ds-theme-corner {
  top: -26px;
  left: -18px;
  width: 90px;
}

.ds-theme-bunny {
  right: -36px;
  bottom: -20px;
  width: 110px;
}

.ds-theme-weeds {
  left: -28px;
  bottom: -18px;
  width: 120px;
}

.ds-main {
  position: relative;
  z-index: 1;
}

.ds-theme-eggs {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.ds-theme-egg {
  position: absolute;
  width: 22px;
  height: 30px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  opacity: 0;
  box-shadow: inset -3px -3px 10px rgba(0,0,0,0.12);
  animation: ds-float-up 7s infinite linear;
}

.ds-theme-egg:nth-child(1) { left: 10%; background:#caff9a; animation-delay:0s; }
.ds-theme-egg:nth-child(2) { left: 25%; background:#e2f0cb; animation-delay:1s; }
.ds-theme-egg:nth-child(3) { left: 45%; background:#b5ead7; animation-delay:2s; }
.ds-theme-egg:nth-child(4) { left: 65%; background:#c7ceea; animation-delay:3s; }
.ds-theme-egg:nth-child(5) { left: 82%; background:#e3ffc2; animation-delay:1.5s; }
.ds-theme-egg:nth-child(6) { left: 55%; background:#d8ffad; animation-delay:2.4s; }

@keyframes ds-float-up {
  0% { top: 110%; opacity: 0; transform: scale(.8) rotate(-12deg); }
  15% { opacity: .6; transform: scale(1) rotate(0deg); }
  85% { opacity: .6; }
  100% { top: -20%; opacity: 0; transform: scale(1.05) rotate(12deg); }
}

.ds-luck-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(241, 182, 70, 0.14);
  border: 1px solid rgba(241, 182, 70, 0.3);
  color: #ffd777;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .03em;
}

.ds-cooldown-card {
  margin: 22px 0 18px;
  text-align: left;
}

.ds-admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.ds-admin-reward-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.6fr) 110px 100px 110px;
  gap: 10px;
  align-items: center;
}

.ds-admin-reward-grid-head {
  margin-bottom: 10px;
  color: var(--td);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.ds-theme-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.ds-theme-head h4 {
  margin: 0 0 4px;
  font-size: 16px;
}

.ds-theme-head p {
  margin: 0;
  color: var(--td);
  font-size: 12px;
}

.ds-theme-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ds-theme-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ds-span-2 {
  grid-column: 1 / -1;
}

@media (max-width: 700px) {
  .ds-admin-reward-grid {
    grid-template-columns: 1fr;
  }

  .ds-admin-reward-grid-head {
    display: none;
  }

  .ds-theme-grid {
    grid-template-columns: 1fr;
  }

  .ds-theme-corner {
    width: 72px;
    top: -18px;
    left: -10px;
  }

  .ds-theme-bunny {
    width: 84px;
    right: -18px;
    bottom: -10px;
  }

  .ds-theme-weeds {
    width: 92px;
    left: -12px;
    bottom: -10px;
  }
}

.dt-reason {
  font-size: 1.15rem;
  color: var(--td);
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}

.dt-eta {
  font-size: 14px;
  color: var(--tm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
  backdrop-filter: blur(10px);
}

.dt-eta strong {
  color: var(--p);
}

.dt-pulse-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  color: var(--td);
  font-family: var(--mn);
  letter-spacing: 1px;
}

.dt-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--p);
  animation: dt-dot-pulse 1.5s ease-in-out infinite;
}

@keyframes dt-dot-pulse {

  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(183, 255, 0, 0.5);
  }

  50% {
    opacity: 0.5;
    box-shadow: 0 0 0 8px rgba(183, 255, 0, 0);
  }
}

/* Floating particles */
.dt-particles {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.dt-particle {
  position: absolute;
  bottom: -20px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--p);
  opacity: 0.2;
  animation: dt-float linear infinite;
}

@keyframes dt-float {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }

  10% {
    opacity: 0.3;
  }

  90% {
    opacity: 0.1;
  }

  100% {
    transform: translateY(-100vh) rotate(360deg);
    opacity: 0;
  }
}

/* TOGGLE SWITCH (Admin Downtime) */
.dt-switch {
  position: relative;
  display: inline-block;
  width: 56px;
  height: 28px;
  flex-shrink: 0;
}

.dt-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.dt-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: var(--gb);
  border-radius: 28px;
  transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dt-slider::before {
  content: "";
  position: absolute;
  height: 22px;
  width: 22px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.dt-switch input:checked+.dt-slider {
  background: var(--det);
  box-shadow: 0 0 12px rgba(241, 90, 90, 0.3);
}

.dt-switch input:checked+.dt-slider::before {
  transform: translateX(28px);
}

/* Responsive downtime */
@media(max-width:600px) {
  .dt-title {
    font-size: 2.4rem;
    letter-spacing: 8px;
  }

  .dt-icon-ring {
    width: 80px;
    height: 80px;
    font-size: 28px;
  }

  .dt-reason {
    font-size: 1rem;
  }
}

/* CUSTOM CHECKBOX */
.custom-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  font-size: 13px;
  color: var(--ts);
  line-height: normal;
  margin: 4px 0;
  cursor: pointer;
}

.custom-checkbox input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background: var(--gc);
  border: 2px solid var(--gb);
  border-radius: 6px;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  margin-top: 1px;
  outline: none;
}

.custom-checkbox input[type="checkbox"]:checked {
  background: var(--p);
  border-color: var(--p);
}

.custom-checkbox input[type="checkbox"]:checked::after {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: white;
  font-size: 11px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.custom-checkbox input[type="checkbox"]:focus {
  box-shadow: 0 0 0 3px rgba(183, 255, 0, 0.15);
}

.custom-checkbox label {
  cursor: pointer;
  user-select: none;
}

.custom-checkbox label a {
  color: var(--p);
  text-decoration: none;
  font-weight: 600;
}

.custom-checkbox label a:hover {
  text-decoration: underline;
}

/* VERIFICATION CODE INPUT */
.vc-stage {
  background: linear-gradient(180deg, rgba(18, 18, 20, 0.4) 0%, rgba(12, 12, 14, 0.6) 100%);
  border: 1px solid var(--gb);
  border-radius: 16px;
  padding: 36px 24px;
  margin: 16px 0 28px;
  box-shadow: inset 0 2px 20px rgba(0, 0, 0, 0.5), 0 8px 30px rgba(0, 0, 0, 0.3);
}

.verify-code-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
}

.vc-input {
  width: 46px;
  height: 56px;
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 26px;
  font-weight: 700;
  background: rgba(18, 18, 20, 0.8);
  border: 2px solid var(--gb);
  border-radius: 10px;
  color: var(--tp);
  outline: none;
  caret-color: var(--p);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.vc-input:focus {
  background: rgba(40, 14, 20, 0.9);
  border-color: var(--p);
  box-shadow: 0 0 0 4px rgba(183, 255, 0, 0.15), 0 6px 12px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.vc-input:not(:placeholder-shown) {
  border-color: var(--p);
  color: #fff;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.15);
}

.vc-input::placeholder {
  color: rgba(255, 255, 255, 0.1);
  font-size: 18px;
  font-weight: normal;
}

.vc-dash {
  font-size: 18px;
  color: var(--ts);
  margin: 0 2px;
  user-select: none;
  opacity: 0.5;
}

.vc-resend a,
.vc-logout a {
  transition: color 0.15s, opacity 0.15s;
}

.vc-resend a:hover {
  color: #b7ff00 !important;
  opacity: 1;
}

.vc-logout a:hover {
  color: var(--p) !important;
  opacity: 1;
}

@media(max-width:520px) {
  .auth-box[style*="max-width: 520px"] {
    padding: 16px;
  }

  .vc-stage {
    padding: 24px 12px;
    margin: 12px 0 20px;
  }

  .vc-input {
    width: 38px;
    height: 48px;
    font-size: 20px;
    border-radius: 8px;
    border-width: 1px;
  }

  .verify-code-wrap {
    gap: 4px;
  }

  .vc-dash {
    margin: 0;
  }
}

/* PREMIUM NOTIFICATIONS DROPDOWN */
.notif-dd {
  display: none;
  position: absolute;
  top: 56px;
  right: 0;
  width: 340px;
  background: rgba(18, 18, 20, 0.5);
  backdrop-filter: blur(34px);
  -webkit-backdrop-filter: blur(34px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  z-index: 999;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
  transform-origin: top right;
}

.notif-dd.show {
  display: flex;
  flex-direction: column;
  animation: dropIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes dropIn {
  0% {
    opacity: 0;
    transform: scale(0.95) translateY(-10px);
  }

  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.notif-header {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
}

.notif-header h4 {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin: 0;
}

.notif-header button {
  background: none;
  border: none;
  color: var(--p);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
  padding: 4px 8px;
  border-radius: 6px;
}

.notif-header button:hover {
  background: rgba(183, 255, 0, 0.1);
}

.notif-list {
  max-height: 380px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

.notif-list::-webkit-scrollbar {
  width: 6px;
}

.notif-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
}

.notif-item {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  transition: 0.2s background;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  text-decoration: none;
}

.notif-item:last-child {
  border-bottom: none;
}

.notif-item:hover {
  background: rgba(255, 255, 255, 0.03);
}

.notif-item.unread {
  background: rgba(183, 255, 0, 0.04);
}

.notif-item.unread::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--p);
  box-shadow: 0 0 10px var(--p);
}

.notif-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.notif-type {
  color: var(--p);
}

.notif-time {
  color: var(--td);
  font-weight: 500;
}

.notif-msg {
  font-size: 13px;
  color: var(--tm);
  line-height: 1.4;
}

.bell-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--td);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: 0.2s all;
  position: relative;
}

.bell-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transform: translateY(-1px);
}

.bell-btn.active {
  background: rgba(183, 255, 0, 0.1);
  color: var(--p);
  border-color: rgba(183, 255, 0, 0.3);
}

.bell-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--p);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(183, 255, 0, 0.6), 0 0 0 2px var(--bg);
}

.wallet-btn {
  min-width: 132px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.24), rgba(16, 185, 129, 0.16));
  border: 1px solid rgba(16, 185, 129, 0.34);
  color: #e9fff5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s all;
  position: relative;
}

.wallet-btn:hover {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.32), rgba(16, 185, 129, 0.22));
  border-color: rgba(16, 185, 129, 0.44);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(16, 185, 129, 0.18);
}

.wallet-btn.active {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.36), rgba(16, 185, 129, 0.24));
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 12px 28px rgba(16, 185, 129, 0.22);
}

.wallet-dd {
  width: 380px;
  background:
    linear-gradient(180deg, rgba(18, 54, 40, 0.96), rgba(10, 28, 22, 0.94)),
    rgba(12, 24, 20, 0.94);
  border: 1px solid rgba(16, 185, 129, 0.26);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.54), 0 0 0 1px rgba(16, 185, 129, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.wallet-header {
  background: rgba(16, 185, 129, 0.12);
  border-bottom: 1px solid rgba(16, 185, 129, 0.16);
}

.wallet-header h4 {
  color: #ecfff5;
}

.wallet-header button {
  color: #9af0c9;
}

.wallet-header button:hover {
  background: rgba(16, 185, 129, 0.14);
}

.wallet-panel-body {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0));
}

.wallet-panel-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.wallet-summary-card {
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.085);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.wallet-summary-card.main {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.34), rgba(16, 185, 129, 0.2));
  border-color: rgba(16, 185, 129, 0.38);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.wallet-summary-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(235, 255, 245, 0.72);
}

.wallet-summary-card strong {
  font-size: 18px;
  color: #fff;
}

.wallet-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.wallet-action-btn {
  width: 100%;
}

.wallet-note {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 12px;
  color: rgba(235, 255, 245, 0.78);
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(16, 185, 129, 0.24);
}

.wallet-note i {
  margin-right: 6px;
}

.wallet-history {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wallet-history-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.wallet-history-head h5 {
  margin: 0;
  font-size: 13px;
  color: #fff;
}

.wallet-history-head span {
  font-size: 11px;
  color: var(--td);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.wallet-history-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 320px;
  overflow-y: auto;
  padding-right: 2px;
  scrollbar-width: thin;
  scrollbar-color: rgba(34, 197, 94, 0.75) rgba(12, 33, 25, 0.85);
}

.wallet-history-list::-webkit-scrollbar {
  width: 8px;
}

.wallet-history-list::-webkit-scrollbar-track {
  background: rgba(12, 33, 25, 0.85);
  border-radius: 999px;
}

.wallet-history-list::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(74, 222, 128, 0.95), rgba(22, 163, 74, 0.95));
  border-radius: 999px;
  border: 1px solid rgba(187, 247, 208, 0.22);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.wallet-history-list::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(134, 239, 172, 0.98), rgba(34, 197, 94, 0.98));
}

.wallet-history-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.wallet-history-icon {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  background: rgba(255, 255, 255, 0.05);
  color: var(--td);
}

.wallet-history-icon.pos {
  background: rgba(16, 185, 129, 0.14);
  color: #4ade80;
}

.wallet-history-icon.neg {
  background: rgba(251, 113, 133, 0.12);
  color: #fb7185;
}

.wallet-history-copy {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.wallet-history-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.wallet-history-top strong {
  font-size: 13px;
  color: #fff;
  line-height: 1.35;
}

.wallet-history-amount {
  font-family: var(--mn);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.wallet-history-amount.pos {
  color: #4ade80;
}

.wallet-history-amount.neg {
  color: #fb7185;
}

.wallet-history-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 11px;
  color: var(--td);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* CUSTOM DROPDOWN (SELECT) */
.custom-select {
  position: relative;
  width: 100%;
}

.custom-select select {
  width: 100%;
  height: 42px;
  appearance: none;
  -webkit-appearance: none;
  background: var(--g);
  border: 1px solid rgba(183, 255, 0, 0.25);
  border-radius: 8px;
  padding: 0 40px 0 16px;
  color: #fff;
  font-family: var(--fm);
  font-size: 14px;
  font-weight: 500;
  outline: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.custom-select::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--p);
  font-size: 11px;
  pointer-events: none;
  transition: transform 0.3s ease;
}

.custom-select select:focus {
  border-color: var(--p);
  background: rgba(17, 24, 10, 0.85);
  box-shadow: 0 0 0 3px rgba(183, 255, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.3);
}

.custom-select select:focus + ::after {
  transform: translateY(-50%) rotate(180deg);
}

.custom-select select option {
  background: #121214;
  color: #fff;
  padding: 12px;
}

.asr .custom-select select {
  height: 42px;
  padding: 0 40px 0 16px;
  font-size: 14px;
}

.custom-select:hover select {
  border-color: rgba(183, 255, 0, 0.5);
  background: rgba(30, 12, 14, 1);
}

.mb.mb-wide {
  max-width: 980px;
  width: min(980px, 94vw);
  padding: 22px;
}

.cl-gallery-strip {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.cl-gallery-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.cl-gallery-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--td);
}

.cl-gallery-count {
  font-size: 12px;
  color: var(--td);
}

.cl-gallery-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cl-gallery-thumb,
.cl-gallery-viewer-thumb {
  border: 0;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.cl-gallery-thumb {
  position: relative;
  width: 74px;
  height: 74px;
  border-radius: 12px;
}

.cl-gallery-thumb:hover,
.cl-gallery-viewer-thumb:hover {
  transform: translateY(-1px);
  box-shadow: inset 0 0 0 1px rgba(183, 255, 0, 0.28), 0 10px 20px rgba(0, 0, 0, 0.22);
}

.cl-gallery-thumb img,
.cl-gallery-viewer-thumb img,
.cl-gallery-stage img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.cl-gallery-thumb-badge {
  position: absolute;
  right: 7px;
  bottom: 7px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 14, 0.72);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
}

.cl-gallery-viewer {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cl-gallery-viewer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.cl-gallery-stage {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  min-height: 320px;
}

.cl-gallery-stage img {
  max-height: 72vh;
  object-fit: contain;
  background: rgba(8, 8, 10, 0.55);
}

.cl-gallery-viewer-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cl-gallery-viewer-thumb {
  width: 78px;
  height: 78px;
  border-radius: 12px;
}

.cl-gallery-viewer-thumb.active {
  box-shadow: inset 0 0 0 2px rgba(183, 255, 0, 0.55), 0 12px 24px rgba(0, 0, 0, 0.28);
}

.ki-modal {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ki-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.ki-modal-sub {
  margin: 0;
  color: var(--td);
  font-size: 13px;
  line-height: 1.5;
}

.ki-list {
  display: grid;
  gap: 12px;
}

.ki-card {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
}

.ki-problem-row,
.ki-fix-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.ki-problem-row h4 {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  flex: 1;
}

.ki-problem-badge,
.ki-fix-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ki-problem-badge {
  background: rgba(183, 255, 0, 0.12);
  color: var(--p);
  border: 1px solid rgba(183, 255, 0, 0.2);
}

.ki-fix-badge {
  background: rgba(16, 185, 129, 0.12);
  color: var(--gr);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.ki-fix-count,
.ki-problem-text {
  color: var(--td);
  font-size: 13px;
  line-height: 1.6;
}

.ki-problem-text {
  margin: 10px 0 0;
}

.ki-fix-head {
  margin-top: 14px;
}

.ki-fix-list {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.ki-fix-list li,
.ki-admin-fix {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--tm);
  line-height: 1.55;
  font-size: 13px;
}

.ki-fix-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 6px;
  border-radius: 999px;
  background: var(--gr);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
  flex-shrink: 0;
}

.ki-admin-fix-index {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(183, 255, 0, 0.12);
  color: var(--p);
  font-size: 11px;
  font-weight: 800;
}

.ki-empty {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 4px 4px;
  color: var(--tm);
}

.ki-empty i {
  font-size: 20px;
  color: var(--gr);
}

.ki-empty strong,
.ki-empty p {
  display: block;
  margin: 0;
}

.ki-empty p {
  margin-top: 4px;
  color: var(--td);
  font-size: 13px;
}

@media (max-width: 700px) {
  .mb.mb-wide {
    width: calc(100vw - 20px);
    padding: 16px;
  }

  .cl-gallery-thumb {
    width: 66px;
    height: 66px;
  }

  .cl-gallery-viewer-top {
    flex-direction: column;
    align-items: stretch;
  }

  .cl-gallery-stage {
    min-height: 220px;
  }

  .cl-gallery-viewer-thumb {
    width: 64px;
    height: 64px;
  }

  .ki-modal-head {
    flex-direction: column;
    align-items: stretch;
  }
}

.ds-layer {
  position: fixed;
  left: 28px;
  bottom: 28px;
  z-index: 1200;
}

.ds-trigger {
  position: relative;
  width: 66px;
  height: 66px;
  border-radius: 20px;
  border: 1px solid rgba(183, 255, 0, 0.35);
  background: rgba(15, 15, 19, 0.84);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(14px);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.ds-trigger:hover {
  transform: translateY(-2px);
  border-color: rgba(183, 255, 0, 0.65);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.44);
}

.ds-trigger-icon {
  position: relative;
  z-index: 2;
  font-size: 30px;
  line-height: 1;
}

.ds-pulse {
  position: absolute;
  inset: -1px;
  border-radius: 20px;
  border: 1px solid rgba(183, 255, 0, 0.9);
  animation: ds-pulse 2s infinite;
}

@keyframes ds-pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

.ds-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(3, 4, 8, 0.82);
  backdrop-filter: blur(12px);
  z-index: 1250;
}

.ds-hidden {
  display: none !important;
}

.ds-card {
  width: min(100%, 460px);
  padding: 34px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.46);
  position: relative;
  text-align: center;
}

.ds-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.ds-header h2 {
  margin: 0;
  color: #fff;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.ds-kicker {
  margin: 0 0 10px;
  color: var(--p);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 11px;
  font-weight: 800;
}

.ds-sub {
  margin: 10px 0 0;
  color: var(--td);
  line-height: 1.6;
  font-size: 14px;
}

.ds-case-area {
  height: 168px;
  margin: 24px 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.ds-box {
  font-size: 76px;
  line-height: 1;
  transition: transform 0.35s ease, opacity 0.35s ease, filter 0.35s ease;
}

.ds-spinner {
  position: relative;
  width: 100%;
  height: 112px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.ds-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: var(--p);
  box-shadow: 0 0 16px rgba(183, 255, 0, 0.85);
  z-index: 2;
}

.ds-track {
  display: flex;
  align-items: center;
  width: max-content;
  height: 100%;
  transition: transform 8.9s cubic-bezier(0.1, 0, 0.1, 1);
}

.ds-item {
  width: 130px;
  padding: 10px;
  text-align: center;
}

.ds-item span {
  display: block;
  font-size: 30px;
  line-height: 1;
}

.ds-item b {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ds-result-card {
  width: min(100%, 420px);
}

.ds-result-visual {
  padding: 18px 0 26px;
}

.ds-result-icon {
  font-size: 84px;
  line-height: 1;
  margin-bottom: 12px;
}

.ds-shake {
  animation: ds-shake 0.11s infinite;
}

@keyframes ds-shake {
  0% {
    transform: translate(1px, 1px);
  }

  50% {
    transform: translate(-1px, -1px);
  }
}

.ds-implode {
  transform: scale(0);
  opacity: 0;
  filter: blur(15px);
}

@media (max-width: 700px) {
  .ds-layer {
    left: 16px;
    bottom: 16px;
  }

  .ds-trigger {
    width: 60px;
    height: 60px;
    border-radius: 18px;
  }

  .ds-trigger-icon {
    font-size: 27px;
  }

  .ds-card {
    padding: 24px 18px;
    border-radius: 22px;
  }

  .ds-header h2 {
    font-size: 28px;
  }

  .ds-case-area {
    height: 150px;
  }

  .ds-item {
    width: 118px;
  }
}






/* Blackjack test event */
body.bj-open { overflow: hidden; }
.bj-layer {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 2147483001;
}

.bj-trigger {
  position: relative;
  width: 66px;
  height: 66px;
  padding: 0;
  border: 1px solid rgba(183, 255, 0, 0.46);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(28, 10, 15, 0.96), rgba(9, 10, 14, 0.94));
  color: #fff;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  transition: transform .25s cubic-bezier(.16, 1, .3, 1), border-color .25s ease, box-shadow .25s ease;
}

.bj-trigger:hover {
  transform: translateY(-4px) rotate(-2deg);
  border-color: rgba(183, 255, 0, 0.8);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.56), 0 0 28px rgba(183, 255, 0, 0.2);
}

.bj-trigger-pulse {
  position: absolute;
  inset: -1px;
  z-index: -1;
  border: 1px solid rgba(183, 255, 0, 0.85);
  border-radius: 20px;
  animation: bj-trigger-pulse 2.2s ease-out infinite;
}

.bj-trigger-cards {
  position: relative;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  font-family: var(--mn);
  font-weight: 900;
}

.bj-trigger-cards::before,
.bj-trigger-cards i {
  content: "";
  position: absolute;
  width: 27px;
  height: 38px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(150deg, #22242b, #0d0e12);
}

.bj-trigger-cards::before { transform: translateX(-8px) rotate(-14deg); }
.bj-trigger-cards i { transform: translateX(8px) rotate(14deg); }
.bj-trigger-cards b {
  position: relative;
  z-index: 2;
  color: #fff;
  font-size: 15px;
  text-shadow: 0 0 14px rgba(183, 255, 0, 0.9);
}

.bj-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483002;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: radial-gradient(circle at 50% 35%, rgba(59, 8, 18, 0.26), transparent 42%), rgba(2, 3, 6, 0.86);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  animation: bj-overlay-in .25s ease both;
}

.bj-hidden { display: none !important; }

.bj-shell {
  position: relative;
  width: min(920px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(20, 20, 25, 0.98), rgba(8, 9, 12, 0.99));
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  animation: bj-shell-in .46s cubic-bezier(.16, 1, .3, 1) both;
}

.bj-shell::-webkit-scrollbar { width: 5px; }
.bj-shell::-webkit-scrollbar-thumb { background: rgba(183, 255, 0, 0.4); border-radius: 99px; }

.bj-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 5;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.72);
  font-size: 24px;
  cursor: pointer;
  transition: .2s ease;
}

.bj-close:hover { color: #fff; border-color: rgba(183, 255, 0, 0.42); background: rgba(183, 255, 0, 0.12); }
.bj-sound-toggle {
  position: absolute;
  top: 18px;
  right: 62px;
  z-index: 5;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  transition: .2s ease;
}

.bj-sound-toggle:hover { color: #fff; border-color: rgba(96, 220, 130, 0.34); background: rgba(96, 220, 130, 0.1); }
.bj-sound-toggle.is-muted { color: rgba(255, 255, 255, 0.34); }

.bj-head { text-align: center; padding: 0 48px 20px; }
.bj-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 9px;
  padding: 6px 10px;
  border: 1px solid rgba(183, 255, 0, 0.28);
  border-radius: 999px;
  background: rgba(183, 255, 0, 0.09);
  color: #b7ff00;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
}

.bj-head h2 { margin: 0; color: #fff; font-size: clamp(28px, 4vw, 42px); line-height: 1; letter-spacing: -1.6px; }
.bj-head h2 span { color: var(--p); text-shadow: 0 0 28px rgba(183, 255, 0, 0.28); }
.bj-head p { max-width: 560px; margin: 10px auto 0; color: var(--td); font-size: 13px; line-height: 1.55; }

.bj-table {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  padding: 24px clamp(18px, 5vw, 54px);
  border: 1px solid rgba(147, 255, 194, 0.12);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 50%, rgba(29, 128, 77, 0.25), transparent 56%),
    linear-gradient(145deg, #071b14, #07110f 68%, #13080c);
  box-shadow: inset 0 0 70px rgba(0, 0, 0, 0.62), 0 18px 42px rgba(0, 0, 0, 0.32);
}

.bj-table::before {
  content: "BLACKJACK PAYS 3 TO 2";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: rgba(255, 255, 255, 0.035);
  font-family: var(--mn);
  font-size: clamp(18px, 4vw, 38px);
  font-weight: 900;
  letter-spacing: .18em;
  white-space: nowrap;
}

.bj-table-glow {
  position: absolute;
  inset: -55% 20%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.035), transparent);
  transform: rotate(18deg);
  animation: bj-table-sheen 7s linear infinite;
  pointer-events: none;
}

.bj-hand-head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.67);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.bj-hand-head span { display: inline-flex; align-items: center; gap: 7px; }
.bj-hand-head strong {
  min-width: 34px;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 9px;
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  font-family: var(--mn);
  text-align: center;
}

.bj-hand {
  position: relative;
  z-index: 2;
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 6px 0 10px;
}

.bj-playing-card {
  --card-tilt: 0deg;
  position: relative;
  width: 76px;
  height: 106px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 11px;
  background: linear-gradient(145deg, #fff, #e9e9e9);
  color: #111218;
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.34), inset 0 0 0 1px rgba(0, 0, 0, 0.05);
  transform: rotate(var(--card-tilt));
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform, opacity;
}

.bj-playing-card:nth-child(odd) { --card-tilt: -1.8deg; }
.bj-playing-card:nth-child(even) { --card-tilt: 1.8deg; }
.bj-playing-card.is-red { color: #d51f3c; }
.bj-playing-card.is-new { animation: bj-card-deal .44s cubic-bezier(.16, 1, .3, 1) both; }
.bj-playing-card.is-reveal { animation: bj-card-flip .48s cubic-bezier(.16, 1, .3, 1) both; }
.bj-card-corner { position: absolute; top: 7px; left: 8px; display: grid; justify-items: center; font-family: var(--mn); font-size: 14px; font-weight: 900; line-height: 1; }
.bj-card-corner small { margin-top: 2px; font-size: 13px; }
.bj-card-corner.is-bottom { inset: auto 8px 7px auto; transform: rotate(180deg); }
.bj-card-suit { position: absolute; inset: 0; display: grid; place-items: center; font-size: 35px; filter: drop-shadow(0 2px 1px rgba(0, 0, 0, 0.08)); }

.bj-playing-card.is-back {
  border: 4px solid #f0e8e9;
  background:
    linear-gradient(45deg, rgba(255,255,255,.08) 25%, transparent 25%, transparent 75%, rgba(255,255,255,.08) 75%),
    linear-gradient(45deg, rgba(255,255,255,.08) 25%, #395900 25%, #395900 75%, rgba(255,255,255,.08) 75%);
  background-position: 0 0, 6px 6px;
  background-size: 12px 12px;
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.38), inset 0 0 0 2px rgba(255, 255, 255, 0.18);
}

.bj-playing-card.is-back::after {
  content: "S";
  position: absolute;
  inset: 8px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 5px;
  background: rgba(8, 8, 12, 0.28);
  color: #fff;
  font-size: 28px;
  font-weight: 900;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.45);
}

.bj-score-pill {
  position: relative;
  z-index: 4;
  width: fit-content;
  min-width: 116px;
  margin: -2px auto 10px;
  padding: 6px 15px 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(241, 182, 70, 0.3);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.46);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.bj-score-pill span {
  color: rgba(255, 255, 255, 0.52);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.bj-score-pill strong {
  color: #ffe39e;
  font-family: var(--mn);
  font-size: 22px;
  line-height: 1;
  text-shadow: 0 0 18px rgba(241, 182, 70, 0.32);
}

.bj-score-pill.is-player {
  border-color: rgba(183, 255, 0, 0.42);
  background: rgba(70, 7, 18, 0.48);
}

.bj-score-pill.is-player strong {
  color: #b7ff00;
  text-shadow: 0 0 18px rgba(183, 255, 0, 0.42);
}
.bj-center-status {
  position: relative;
  z-index: 3;
  width: fit-content;
  max-width: 90%;
  min-height: 34px;
  margin: 0 auto 8px;
  padding: 8px 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.32);
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  transition: .25s ease;
}

.bj-center-status.is-thinking { color: #ffe19a; border-color: rgba(241, 182, 70, 0.32); }
.bj-center-status.is-win { color: #b8ffd0; border-color: rgba(96, 220, 130, 0.38); background: rgba(24, 110, 55, 0.22); box-shadow: 0 0 28px rgba(96, 220, 130, 0.12); }
.bj-center-status.is-loss { color: #ffbec5; border-color: rgba(255, 126, 140, 0.4); background: rgba(128, 17, 35, 0.22); }
.bj-center-status.is-push { color: #cfe4ff; border-color: rgba(122, 183, 250, 0.38); background: rgba(36, 82, 130, 0.2); }

.bj-session-stats {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 15px 0 12px;
}

.bj-session-stats span {
  min-width: 94px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--td);
  font-size: 10px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.bj-session-stats b { margin-right: 4px; color: #fff; font-family: var(--mn); font-size: 13px; }
.bj-actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.bj-actions .btn { min-width: 120px; }
.bj-actions .btn:disabled { opacity: .38; pointer-events: none; transform: none; }
.bj-shortcuts { margin: 12px 0 0; color: rgba(255, 255, 255, 0.35); font-size: 10px; text-align: center; }
.bj-shortcuts kbd { padding: 2px 5px; border: 1px solid rgba(255,255,255,.11); border-radius: 4px; background: rgba(255,255,255,.04); color: rgba(255,255,255,.65); font: inherit; }

.bj-admin-panel { border-color: rgba(183, 255, 0, 0.16); }
.bj-admin-preview {
  min-height: 132px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed rgba(183, 255, 0, 0.28);
  border-radius: 18px;
  background: radial-gradient(circle, rgba(183, 255, 0, 0.08), transparent 70%);
}

.bj-hand { flex-wrap: wrap; }

@keyframes bj-trigger-pulse { 0% { transform: scale(1); opacity: .85; } 75%,100% { transform: scale(1.34); opacity: 0; } }
@keyframes bj-overlay-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes bj-shell-in { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes bj-card-deal { from { opacity: 0; transform: translate(90px, -90px) rotate(18deg) scale(.72); } to { opacity: 1; transform: rotate(var(--card-tilt)) scale(1); } }
@keyframes bj-card-flip {
  0% { opacity: .65; transform: rotate(var(--card-tilt)) rotateY(88deg) scale(.92); }
  55% { opacity: 1; transform: rotate(var(--card-tilt)) rotateY(-8deg) scale(1.03); }
  100% { opacity: 1; transform: rotate(var(--card-tilt)) rotateY(0) scale(1); }
}
@keyframes bj-table-sheen { from { transform: translateX(-150%) rotate(18deg); } to { transform: translateX(150%) rotate(18deg); } }

@media (max-width: 700px) {
  .bj-layer { right: 16px; bottom: 18px; }
  .bj-trigger { width: 58px; height: 58px; border-radius: 17px; }
  .bj-overlay { padding: 10px; align-items: flex-end; }
  .bj-shell { max-height: 94vh; padding: 22px 14px 18px; border-radius: 24px 24px 18px 18px; }
  .bj-head { padding: 0 36px 14px; }
  .bj-head p { font-size: 11px; }
  .bj-table { min-height: 354px; padding: 16px 13px; border-radius: 20px; }
  .bj-hand { min-height: 91px; gap: 6px; }
  .bj-playing-card { width: 58px; height: 82px; border-radius: 8px; }
  .bj-card-corner { top: 5px; left: 6px; font-size: 11px; }
  .bj-card-corner small { font-size: 10px; }
  .bj-card-corner.is-bottom { right: 6px; bottom: 5px; }
  .bj-card-suit { font-size: 27px; }
  .bj-session-stats span { min-width: 0; flex: 1; padding: 7px 5px; }
  .bj-actions .btn { min-width: 92px; flex: 1; padding: 11px 12px; }
  .bj-shortcuts { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .bj-trigger-pulse, .bj-table-glow, .bj-playing-card, .bj-overlay, .bj-shell { animation: none !important; }
}
/* Analytics date filters */
.analytics-filter-card {
  padding: 18px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  contain: paint;
}

.analytics-shell,
.analytics-results {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.analytics-results {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .18s ease, transform .18s ease;
}

.analytics-is-loading .analytics-results {
  opacity: .5;
  transform: translateY(2px);
  pointer-events: none;
}

.analytics-results-updated {
  animation: analytics-results-in .24s ease both;
}

.analytics-range-status {
  display: inline-block;
  margin-left: 8px;
  color: var(--p);
  font-size: 10px;
  letter-spacing: .04em;
  text-transform: none;
  vertical-align: middle;
}

@keyframes analytics-results-in {
  from {
    opacity: .35;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.analytics-filter-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  flex-wrap: wrap;
  position: relative;
  z-index: 3;
}

.analytics-range-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  position: relative;
  z-index: 3;
}

.analytics-range-btn {
  padding: 10px 14px;
  min-height: 42px;
  touch-action: manipulation;
}

.analytics-custom-range {
  display: grid;
  grid-template-columns: minmax(155px, 210px) minmax(155px, 210px) auto;
  align-items: end;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--gb);
  position: relative;
  z-index: 1;
}

.analytics-date-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  position: relative;
  color: var(--td);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.analytics-date-field .ki {
  position: relative;
  z-index: 1;
  min-width: 0;
  width: 100%;
  padding-right: 12px;
  color-scheme: dark;
}

.analytics-date-field .ki::-webkit-calendar-picker-indicator {
  position: static;
  width: 20px;
  height: 20px;
  margin-left: auto;
  opacity: .85;
  cursor: pointer;
}

.analytics-apply-range {
  min-height: 42px;
  padding: 11px 16px;
  touch-action: manipulation;
}

@media (max-width: 700px) {
  .analytics-filter-card {
    padding: 14px;
  }

  .analytics-filter-head {
    gap: 12px;
  }

  .analytics-range-buttons {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }

  .analytics-range-btn {
    width: 100%;
    padding: 10px 8px;
  }

  .analytics-custom-range {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .analytics-apply-range {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 430px) {
  .analytics-custom-range {
    grid-template-columns: minmax(0, 1fr);
  }

  .analytics-apply-range {
    grid-column: auto;
  }
}

/* Professional announcement and email composer */
.email-composer-card {
  max-width: 760px;
  padding: 22px;
}

.email-composer-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.email-composer-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid rgba(183, 255, 0, .25);
  border-radius: 12px;
  color: #b7ff00;
  background: rgba(183, 255, 0, .09);
}

.email-composer-head>div:last-child {
  min-width: 0;
}

.email-composer-head span {
  display: block;
  margin-bottom: 3px;
  color: var(--p);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.email-composer-head h3 {
  margin: 0;
  color: #fff;
  font-size: 17px;
}

.email-composer-head p {
  margin: 4px 0 0;
  color: var(--td);
  font-size: 11px;
  line-height: 1.45;
}

.email-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.email-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 6px;
  color: #cfc3c7;
  font-size: 10px;
  font-weight: 700;
}

.email-label span {
  color: var(--p);
  font-size: 8px;
  letter-spacing: .55px;
  text-transform: uppercase;
}

.email-composer-card .ig {
  margin-bottom: 12px;
}

.email-textarea {
  width: 100%;
  height: auto;
  min-height: 92px;
  padding: 12px 14px;
  margin-bottom: 14px;
  resize: vertical;
  line-height: 1.55;
}

.email-send-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 13px;
  margin: 2px 0 14px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 11px;
  background: rgba(255, 255, 255, .025);
}

.email-send-toggle>div {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.email-send-toggle>div>i {
  color: var(--p);
}

.email-send-toggle span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.email-send-toggle strong {
  color: #fff;
  font-size: 11px;
}

.email-send-toggle small {
  color: var(--td);
  font-size: 9px;
}

.email-options {
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, .055);
  border-radius: 12px;
  opacity: .62;
  background: rgba(5, 5, 7, .22);
  transition: opacity .2s ease, border-color .2s ease;
}

.email-options.is-enabled {
  border-color: rgba(183, 255, 0, .18);
  opacity: 1;
}

.email-options .email-textarea {
  min-height: 120px;
}

.email-composer-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 15px;
}

.email-preview-card {
  max-width: 540px;
  padding: 18px;
}

.email-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 13px;
}

.email-preview-head span {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.email-preview-head span i {
  margin-right: 6px;
  color: var(--p);
}

.email-preview-head small {
  color: var(--td);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .8px;
}

.email-preview-window {
  overflow: hidden;
  border: 1px solid #2b2628;
  border-top: 3px solid var(--p);
  border-radius: 8px;
  color: #d1d5db;
  background: #121212;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .3);
}

.email-preview-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid #292526;
  background: #191719;
}

.email-preview-brand b {
  color: #fff;
  font-size: 10px;
  letter-spacing: .35px;
}

.email-preview-brand b i {
  color: var(--p);
  font-style: normal;
}

.email-preview-brand span {
  color: #6f686b;
  font-family: var(--mn);
  font-size: 7px;
}

.email-preview-content {
  padding: 22px 18px;
}

.email-preview-content>span {
  display: inline-flex;
  padding: 5px 8px;
  margin-bottom: 12px;
  border: 1px solid rgba(183, 255, 0, .28);
  color: var(--p);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .7px;
  text-transform: uppercase;
  background: rgba(183, 255, 0, .08);
}

.email-preview-content h3 {
  margin: 0 0 13px;
  color: #fff;
  font-size: 19px;
  line-height: 1.2;
}

.email-preview-content p,
.email-preview-content>div {
  margin: 0 0 12px;
  color: #b7b0b3;
  font-size: 10px;
  line-height: 1.65;
  white-space: pre-wrap;
}

.email-preview-content p b {
  color: #fff;
}

.email-preview-content a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 13px;
  margin-top: 5px;
  border-radius: 5px;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  background: var(--p);
}

.email-preview-footer {
  padding: 13px 16px;
  border-top: 1px solid #292526;
  color: #6f686b;
  font-size: 8px;
  background: #191719;
}

@media (max-width: 760px) {
  .email-field-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .email-composer-actions {
    flex-direction: column-reverse;
  }

  .email-composer-actions .btn {
    width: 100%;
  }
}

@media (max-width: 430px) {
  .email-composer-card {
    padding: 16px;
  }

  .email-options {
    padding: 12px;
  }
}
/* ===== Overview dashboard v2 ===== */
#t-overview {
  --ov-line: rgba(255, 255, 255, 0.075);
  --ov-soft: rgba(255, 255, 255, 0.035);
  --ov-copy: rgba(255, 255, 255, 0.48);
}

.overview-shell {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ov-welcome {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 224px;
  padding: 30px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border: 1px solid var(--ov-line);
  border-radius: 22px;
  background:
    linear-gradient(115deg, rgba(28, 26, 29, 0.96) 0%, rgba(18, 18, 21, 0.92) 55%, rgba(14, 14, 17, 0.96) 100%);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.24), inset 0 1px rgba(255, 255, 255, 0.045);
}

.ov-welcome::before {
  content: "";
  position: absolute;
  inset: -60% 42% -90% -12%;
  z-index: -1;
  background: radial-gradient(circle at center, rgba(183, 255, 0, 0.2), transparent 67%);
  filter: blur(6px);
  pointer-events: none;
}

.ov-welcome::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -80px;
  top: -110px;
  z-index: -1;
  border: 1px solid rgba(183, 255, 0, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 38px rgba(183, 255, 0, 0.025), 0 0 0 78px rgba(183, 255, 0, 0.018);
  pointer-events: none;
}

.ov-welcome-copy {
  min-width: 0;
  max-width: 680px;
}

.ov-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 13px;
  color: var(--p);
  font-size: 10px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 1.65px;
  text-transform: uppercase;
}

.ov-welcome h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(27px, 3vw, 42px);
  line-height: 1.06;
  letter-spacing: -1.65px;
}

.ov-welcome h2 span {
  color: #fff;
  text-shadow: 0 0 30px rgba(183, 255, 0, 0.22);
}

.ov-welcome-copy > p {
  max-width: 570px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  line-height: 1.65;
}

.ov-identity-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.ov-identity-chip {
  min-height: 32px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.032);
  color: rgba(255, 255, 255, 0.44);
  font-size: 10px;
  letter-spacing: 0.25px;
}

.ov-identity-chip i {
  color: var(--p);
  font-size: 10px;
}

.ov-identity-chip strong {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 700;
}

.ov-identity-state.is-ready {
  border-color: rgba(74, 222, 128, 0.16);
  background: rgba(74, 222, 128, 0.045);
}

.ov-identity-state.is-ready i,
.ov-identity-state.is-ready strong {
  color: #65d98b;
}

.ov-identity-state.is-warning {
  border-color: rgba(251, 191, 36, 0.18);
  background: rgba(251, 191, 36, 0.05);
}

.ov-identity-state.is-warning i,
.ov-identity-state.is-warning strong {
  color: #f7c957;
}

.ov-profile-summary {
  width: min(100%, 302px);
  flex: 0 0 302px;
  min-height: 98px;
  padding: 15px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.035);
}

.ov-avatar-wrap {
  width: 58px;
  height: 58px;
  padding: 2px;
  border: 1px solid rgba(183, 255, 0, 0.3);
  border-radius: 14px;
  background: rgba(183, 255, 0, 0.06);
  box-shadow: 0 9px 24px rgba(0, 0, 0, 0.3);
}

.ov-avatar-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 11px;
}

.ov-profile-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ov-profile-copy span,
.ov-profile-copy small {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.35);
  font-size: 9px;
  line-height: 1.3;
  letter-spacing: 0.65px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ov-profile-copy span {
  text-transform: uppercase;
}

.ov-profile-copy strong {
  overflow: hidden;
  color: #fff;
  font-size: 14px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ov-profile-link {
  width: 31px;
  height: 31px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.42);
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease;
}

.ov-profile-link:hover {
  border-color: rgba(183, 255, 0, 0.32);
  background: rgba(183, 255, 0, 0.08);
  color: var(--p);
  transform: translateY(-1px);
}

.ov-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(330px, .72fr);
  gap: 18px;
  align-items: stretch;
}

#t-overview .gc {
  border-radius: 18px;
  border-color: var(--ov-line);
  background: linear-gradient(155deg, rgba(27, 27, 31, 0.72), rgba(16, 16, 19, 0.64));
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.2), inset 0 1px rgba(255, 255, 255, 0.035);
}

#t-overview .gc:hover {
  border-color: rgba(183, 255, 0, 0.19);
  box-shadow: 0 17px 46px rgba(0, 0, 0, 0.24), inset 0 1px rgba(255, 255, 255, 0.045);
}

.ov-section-label {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 11px;
}

.ov-section-icon {
  width: 37px;
  height: 37px;
  flex: 0 0 37px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(183, 255, 0, 0.17);
  border-radius: 11px;
  background: rgba(183, 255, 0, 0.06);
  color: var(--p);
  font-size: 13px;
}

.ov-section-label > div {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ov-section-label > div > span {
  color: rgba(255, 255, 255, 0.84);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .15px;
}

.ov-section-label small {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.31);
  font-size: 9px;
  font-weight: 550;
  letter-spacing: .3px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ov-side-stack {
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 18px;
}

.ov-device-card,
.ov-quick-card,
.ov-account-card {
  padding: 21px;
}

.ov-card-heading,
.ov-account-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.ov-device-state {
  padding: 5px 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(74, 222, 128, 0.16);
  border-radius: 99px;
  background: rgba(74, 222, 128, 0.045);
  color: #65d98b;
  font-size: 8px;
  font-weight: 750;
  letter-spacing: .45px;
  text-transform: uppercase;
  white-space: nowrap;
}

.ov-device-state.is-unlinked {
  border-color: rgba(251, 191, 36, 0.18);
  background: rgba(251, 191, 36, 0.05);
  color: #f7c957;
}

.ov-device-value {
  overflow: hidden;
  margin: 24px 0 18px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(15px, 1.5vw, 20px);
  font-weight: 700;
  letter-spacing: -.35px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ov-device-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
}

.ov-device-foot > span {
  color: rgba(255, 255, 255, 0.27);
  font-size: 8px;
  line-height: 1.45;
}

.ov-text-btn {
  flex: 0 0 auto;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.4);
  font: inherit;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .3px;
  cursor: pointer;
  transition: color .2s ease;
}

.ov-text-btn:hover {
  color: var(--p);
}

.ov-quick-card {
  display: flex;
  flex-direction: column;
}

.ov-quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}

.ov-quick-grid button {
  min-width: 0;
  min-height: 72px;
  padding: 12px;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-content: center;
  column-gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.025);
  color: #fff;
  text-align: left;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.ov-quick-grid button:hover {
  border-color: rgba(183, 255, 0, 0.22);
  background: rgba(183, 255, 0, 0.055);
  transform: translateY(-1px);
}

.ov-quick-grid button > i {
  grid-row: 1 / 3;
  align-self: center;
  color: var(--p);
  font-size: 13px;
  text-align: center;
}

.ov-quick-grid button > span {
  overflow: hidden;
  font-size: 10px;
  font-weight: 730;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ov-quick-grid button > small {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.29);
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ov-account-card {
  padding: 22px;
}

.ov-account-head {
  margin-bottom: 18px;
}

.ov-account-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

.ov-account-item {
  min-width: 0;
  min-height: 82px;
  padding: 13px;
  display: grid;
  grid-template-columns: 31px minmax(0, 1fr);
  align-items: center;
  column-gap: 9px;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.022);
}

.ov-account-icon {
  width: 31px;
  height: 31px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 255, 255, 0.43);
  font-size: 11px;
}

.ov-account-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ov-account-copy > span {
  color: rgba(255, 255, 255, 0.29);
  font-size: 8px;
  font-weight: 650;
  letter-spacing: .65px;
  text-transform: uppercase;
}

.ov-account-copy > strong {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.78);
  font-size: 10px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ov-account-status {
  position: absolute;
  right: 8px;
  top: 7px;
  font-size: 7px;
  font-weight: 750;
  letter-spacing: .35px;
  text-transform: uppercase;
}

.ov-account-status.ok { color: #65d98b; }
.ov-account-status.warn { color: #f7c957; }
.ov-account-status.muted { color: rgba(255, 255, 255, 0.25); }

#t-overview .inactive-glow {
  border-color: rgba(183, 255, 0, 0.13);
}

@media (max-width: 1100px) {
  .ov-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .ov-side-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }

  .ov-account-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .ov-welcome {
    min-height: 0;
    padding: 24px;
    align-items: stretch;
    flex-direction: column;
  }

  .ov-profile-summary {
    width: 100%;
    flex-basis: auto;
  }

  .ov-side-stack {
    grid-template-columns: 1fr;
  }

  .ov-account-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .overview-shell {
    gap: 13px;
  }

  .ov-welcome,
  .ov-device-card,
  .ov-quick-card,
  .ov-account-card {
    padding: 18px;
    border-radius: 15px;
  }

  .ov-welcome h2 {
    font-size: 27px;
    letter-spacing: -1px;
  }

  .ov-welcome-copy > p {
    font-size: 12px;
  }

  .ov-identity-row {
    align-items: stretch;
  }

  .ov-identity-chip {
    flex: 1 1 calc(50% - 4px);
    justify-content: center;
  }

  .ov-identity-state {
    flex-basis: 100%;
  }

  .ov-card-heading,
  .ov-account-head {
    align-items: flex-start;
  }

  .ov-device-foot,
  .ov-account-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .ov-quick-grid,
  .ov-account-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ov-account-item {
    grid-template-columns: 28px minmax(0, 1fr);
    padding: 11px;
  }

  .ov-account-icon {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 380px) {
  .ov-quick-grid,
  .ov-account-grid {
    grid-template-columns: 1fr;
  }
}
/* ===== Panel sidebar v2 ===== */
.dg {
  grid-template-columns: 268px minmax(0, 1fr);
  gap: 24px;
}

.sb {
  top: 28px;
  max-height: calc(100dvh - 56px);
  padding: 0;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.075);
  border-radius: 20px;
  background: linear-gradient(165deg, rgba(24, 24, 28, 0.84), rgba(14, 14, 17, 0.78));
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.25), inset 0 1px rgba(255, 255, 255, 0.04);
}

.sb::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  top: -112px;
  left: -76px;
  border-radius: 50%;
  background: rgba(183, 255, 0, 0.12);
  filter: blur(55px);
  pointer-events: none;
}

.sb-shell {
  min-height: min(760px, calc(100dvh - 56px));
  max-height: calc(100dvh - 56px);
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.sbh {
  flex: 0 0 auto;
  min-height: 82px;
  padding: 18px 17px 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}

.sb-brand {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sbl {
  min-width: 0;
  margin: 0;
  padding: 0;
  gap: 8px;
  color: #fff;
  font-size: 16px;
  line-height: 1;
  letter-spacing: -.35px;
}

.sbl img {
  width: auto !important;
  height: 27px !important;
  margin: 0 1px 0 0 !important;
  object-fit: contain;
}

.sb-brand-caption {
  padding-left: 36px;
  color: rgba(255, 255, 255, 0.27);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.25px;
  text-transform: uppercase;
}

.sb-online {
  margin-left: auto;
  padding: 5px 7px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(74, 222, 128, 0.13);
  border-radius: 99px;
  background: rgba(74, 222, 128, 0.04);
  color: rgba(112, 225, 143, 0.76);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .55px;
  text-transform: uppercase;
}

.sb-online i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #65d98b;
  box-shadow: 0 0 8px rgba(101, 217, 139, 0.55);
}

.sbn {
  flex: 1 1 auto;
  min-height: 0;
  padding: 14px 10px;
  gap: 17px;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.09) transparent;
}

.sbn::-webkit-scrollbar { width: 4px; }
.sbn::-webkit-scrollbar-track { background: transparent; }
.sbn::-webkit-scrollbar-thumb { border-radius: 99px; background: rgba(255, 255, 255, 0.09); }

.nav-section {
  min-width: 0;
}

.nav-section-title {
  padding: 0 9px;
  display: block;
  color: rgba(255, 255, 255, 0.22);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 1.45px;
  text-transform: uppercase;
}

.nav-section-links {
  margin-top: 7px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.nl {
  min-height: 49px;
  padding: 6px 8px;
  gap: 9px;
  position: relative;
  border: 1px solid transparent;
  border-radius: 11px;
  color: rgba(255, 255, 255, 0.48);
  font-size: inherit;
  font-weight: inherit;
  text-decoration: none;
  box-shadow: none;
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}

.nl::before {
  content: "";
  width: 2px;
  height: 20px;
  position: absolute;
  left: -1px;
  top: 50%;
  border-radius: 0 3px 3px 0;
  background: var(--p);
  opacity: 0;
  transform: translateY(-50%) scaleY(.45);
  transition: opacity .2s ease, transform .2s ease;
}

.nl .nav-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.025);
  color: rgba(255, 255, 255, 0.38);
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.nl .nav-icon i {
  width: auto;
  margin: 0;
  color: inherit;
  font-size: 12px;
  opacity: 1;
}

.nav-copy {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-copy strong,
.nav-copy small {
  overflow: hidden;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-copy strong {
  color: rgba(255, 255, 255, 0.66);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12px;
  transition: color .2s ease;
}

.nav-copy small {
  color: rgba(255, 255, 255, 0.22);
  font-size: 7px;
  font-weight: 550;
  letter-spacing: .28px;
}

.nav-caret {
  width: auto !important;
  flex: 0 0 auto;
  margin: 0 2px 0 0;
  color: rgba(255, 255, 255, 0.16);
  font-size: 8px !important;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .2s ease, transform .2s ease, color .2s ease;
}

.nl:hover {
  border-color: rgba(255, 255, 255, 0.055);
  background: rgba(255, 255, 255, 0.028);
  color: #fff;
  transform: translateX(1px);
}

.nl:hover .nav-icon {
  border-color: rgba(183, 255, 0, 0.13);
  background: rgba(183, 255, 0, 0.045);
  color: rgba(183, 255, 0, 0.85);
}

.nl:hover .nav-copy strong {
  color: rgba(255, 255, 255, 0.86);
}

.nl:hover .nav-caret {
  color: rgba(255, 255, 255, 0.35);
  opacity: 1;
  transform: translateX(0);
}

.nl.active {
  border-color: rgba(183, 255, 0, 0.16);
  border-radius: 11px;
  background: linear-gradient(90deg, rgba(183, 255, 0, 0.095), rgba(183, 255, 0, 0.025));
  color: #fff;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.025), 0 6px 18px rgba(0, 0, 0, 0.09);
  font-weight: inherit;
  transform: none;
}

.nl.active::before {
  opacity: 1;
  transform: translateY(-50%) scaleY(1);
}

.nl.active .nav-icon {
  border-color: rgba(183, 255, 0, 0.21);
  background: rgba(183, 255, 0, 0.085);
  color: var(--p);
  box-shadow: 0 5px 16px rgba(183, 255, 0, 0.08);
}

.nl.active .nav-copy strong {
  color: #fff;
}

.nl.active .nav-copy small {
  color: rgba(255, 255, 255, 0.37);
}

.nl.active .nav-caret {
  color: var(--p);
  opacity: .8;
  transform: translateX(0);
}

.nav-admin-link .nav-icon {
  color: rgba(255, 201, 90, 0.55);
}

.nav-admin-link.active .nav-icon,
.nav-admin-link:hover .nav-icon {
  border-color: rgba(255, 201, 90, 0.2);
  background: rgba(255, 201, 90, 0.07);
  color: #f5c75b;
}

.sbu {
  flex: 0 0 auto;
  min-height: 72px;
  margin: 0;
  padding: 12px 13px;
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
  background: rgba(255, 255, 255, 0.016);
}

.sbu-avatar {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: block !important;
  position: relative;
}

.sbu-avatar img,
.sbu img {
  width: 38px;
  height: 38px;
  display: block;
  border: 1px solid rgba(183, 255, 0, 0.2);
  border-radius: 11px;
  object-fit: cover;
}

.sbu-presence {
  width: 9px;
  height: 9px;
  position: absolute;
  right: -1px;
  bottom: -1px;
  border: 2px solid #151518;
  border-radius: 50%;
  background: #65d98b;
  box-shadow: 0 0 7px rgba(101, 217, 139, 0.42);
}

.sbu .sbu-copy {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.sbn2,
.sbr {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sbn2 {
  color: rgba(255, 255, 255, 0.84);
  font-size: 10px;
  font-weight: 700;
}

.sbr {
  color: rgba(255, 255, 255, 0.3) !important;
  font-size: 7px;
  font-weight: 650;
  letter-spacing: .65px;
  text-transform: uppercase;
}

.sbo {
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  margin-left: auto;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.025);
  color: rgba(255, 255, 255, 0.31);
  font-size: 10px;
}

.sbo:hover {
  border-color: rgba(183, 255, 0, 0.2);
  background: rgba(183, 255, 0, 0.07);
  color: var(--p);
}

.nav-toggle {
  width: auto;
  min-width: 74px;
  height: 38px;
  padding: 0 11px;
  gap: 8px;
  border-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 255, 255, 0.72);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .45px;
  text-transform: uppercase;
}

.nav-toggle i {
  font-size: 11px;
}

@media (max-width: 992px) {
  .dg {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .sb {
    top: 0;
    max-height: none;
    overflow: visible;
    border-radius: 17px;
  }

  .sb-shell {
    min-height: 0;
    max-height: none;
  }

  .sbh {
    min-height: 66px;
    padding: 13px 14px;
    border-bottom: 0;
  }

  .sb-online {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .sbn,
  .sbu {
    display: none;
  }

  .sb.open .sbn {
    margin: 0;
    padding: 8px 10px 13px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    overflow: visible;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
  }

  .sb.open .sbu {
    margin: 0;
    display: flex;
  }

  .nav-section-links {
    gap: 4px;
  }
}

@media (max-width: 680px) {
  .sb.open .sbn {
    grid-template-columns: 1fr;
  }

  .nav-section-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 470px) {
  .sb-brand-caption {
    display: none;
  }

  .sbl {
    font-size: 14px;
  }

  .sbl img {
    height: 24px !important;
  }

  .nav-section-links {
    grid-template-columns: 1fr;
  }

  .nl {
    min-height: 47px;
  }
}
/* Sidebar readability pass */
.dg {
  grid-template-columns: 272px minmax(0, 1fr);
}

.sbl {
  font-size: 17px;
}

.sb-brand-caption {
  color: rgba(255, 255, 255, 0.42);
  font-size: 9px;
  letter-spacing: 1.15px;
}

.sb-online {
  color: rgba(133, 235, 160, 0.9);
  font-size: 8px;
}

.nav-section-title {
  color: rgba(255, 255, 255, 0.42);
  font-size: 9px;
  letter-spacing: 1.35px;
}

.nav-section-links {
  margin-top: 8px;
  gap: 4px;
}

.nl {
  min-height: 56px;
  padding: 8px 9px;
  gap: 10px;
}

.nl .nav-icon {
  width: 38px;
  height: 38px;
  flex-basis: 38px;
}

.nl .nav-icon i {
  font-size: 14px;
}

.nav-copy {
  gap: 3px;
}

.nav-copy strong {
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  line-height: 1.25;
  font-weight: 720;
  letter-spacing: .08px;
}

.nav-copy small {
  color: rgba(255, 255, 255, 0.42);
  font-size: 9px;
  line-height: 1.3;
  font-weight: 550;
  letter-spacing: .18px;
}

.nl:hover .nav-copy strong,
.nl.active .nav-copy strong {
  color: #fff;
}

.nl:hover .nav-copy small,
.nl.active .nav-copy small {
  color: rgba(255, 255, 255, 0.58);
}

.nav-caret {
  font-size: 9px !important;
}

.sbu {
  min-height: 76px;
  padding: 13px;
}

.sbn2 {
  color: rgba(255, 255, 255, 0.94);
  font-size: 12px;
  line-height: 1.25;
}

.sbr {
  color: rgba(255, 255, 255, 0.48) !important;
  font-size: 9px;
  line-height: 1.25;
  letter-spacing: .55px;
}

.sbo {
  width: 34px;
  height: 34px;
  flex-basis: 34px;
  font-size: 12px;
}

.nav-toggle {
  min-width: 78px;
  font-size: 10px;
}

@media (max-width: 992px) {
  .dg {
    grid-template-columns: 1fr;
  }

  .nav-section-title {
    font-size: 10px;
  }

  .nav-copy strong {
    font-size: 13px;
  }

  .nav-copy small {
    font-size: 10px;
  }
}

@media (max-width: 470px) {
  .sbl {
    font-size: 15px;
  }

  .nl {
    min-height: 54px;
  }

  .nav-copy strong {
    font-size: 12.5px;
  }

  .nav-copy small {
    font-size: 9.5px;
  }
}
/* Product catalog admin + shop */
.catalog-admin-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.catalog-admin-head h3{margin:0 0 4px;font-size:16px}.catalog-admin-head p{margin:0;color:var(--td);font-size:11px}.catalog-game-pill{display:inline-flex;padding:5px 8px;border:1px solid rgba(183,255,0,.18);border-radius:99px;background:rgba(183,255,0,.055);color:var(--p);font-size:9px;font-weight:800;text-transform:uppercase}.catalog-row-note{display:block;margin-top:4px;color:var(--td);font-size:9px}.mb:has(.catalog-editor-head){width:min(920px,calc(100vw - 28px));max-width:920px}.catalog-editor-head{margin-bottom:18px}.catalog-editor-head>span{color:var(--p);font-size:9px;font-weight:800;letter-spacing:1.3px;text-transform:uppercase}.catalog-editor-head h3{margin:5px 0 7px}.catalog-editor-head p{margin:0;color:var(--td);font-size:11px;line-height:1.55}.catalog-editor-section{margin-bottom:14px;padding:16px;border:1px solid var(--gb);border-radius:15px;background:rgba(255,255,255,.018)}.catalog-editor-section h4{margin:0 0 13px;color:#fff;font-size:11px}.catalog-editor-section h4 i{width:18px;color:var(--p)}.catalog-editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.catalog-editor-grid label{min-width:0;display:flex;flex-direction:column;gap:6px}.catalog-editor-grid label>span{color:var(--td);font-size:9px;font-weight:700}.catalog-editor-grid .wide{grid-column:1/-1}.catalog-editor-grid .ki{margin:0;min-height:42px}.catalog-editor-textarea{height:86px!important;padding:12px!important;resize:vertical}.catalog-editor-textarea.features{height:112px!important}.catalog-editor-textarea.compact{height:68px!important}.catalog-featured-toggle{margin-top:12px;padding:11px;display:flex;align-items:center;gap:10px;border:1px solid rgba(255,255,255,.06);border-radius:11px;background:rgba(255,255,255,.02);cursor:pointer}.catalog-featured-toggle>input{position:absolute;opacity:0}.catalog-featured-toggle>span{width:30px;height:30px;display:grid;place-items:center;border-radius:9px;background:rgba(255,255,255,.04);color:var(--td)}.catalog-featured-toggle input:checked+span{background:rgba(183,255,0,.1);color:var(--p)}.catalog-featured-toggle div{display:flex;flex-direction:column;gap:2px}.catalog-featured-toggle strong{font-size:10px}.catalog-featured-toggle small{color:var(--td);font-size:8px}.catalog-editor-checks{display:flex;gap:16px;margin-top:12px;color:var(--tm);font-size:10px}.shop-product-card{padding:0!important;text-align:left!important}.shop-product-image{height:150px;overflow:hidden;border-bottom:1px solid var(--gb);background:rgba(255,255,255,.02)}.shop-product-image img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s ease}.shop-product-card:hover .shop-product-image img{transform:scale(1.035)}.shop-product-image.fallback{display:grid;place-items:center;color:var(--p);font-size:28px;background:radial-gradient(circle at 50% 40%,rgba(183,255,0,.12),transparent 58%),#111}.shop-product-card>.scg,.shop-product-card>h3,.shop-product-card>.shop-product-summary,.shop-product-card>.scp,.shop-product-card>.scd,.shop-product-card>.btn{margin-left:22px!important;margin-right:22px!important}.shop-product-card>.scg{margin-top:20px}.shop-product-card>h3{margin-top:11px!important;font-size:20px!important}.shop-product-summary{min-height:44px;margin-top:7px;color:var(--td);font-size:10px;line-height:1.5}.shop-product-card>.btn{width:calc(100% - 44px);margin-bottom:22px}.shop-public-badge{position:absolute;top:12px;right:12px;padding:6px 9px;border:1px solid rgba(183,255,0,.25);border-radius:99px;background:rgba(12,12,14,.82);color:#b7ff00;font-size:8px;font-weight:800;text-transform:uppercase}.shop-modal-head>span{color:var(--p);font-size:9px;font-weight:800;letter-spacing:1.2px;text-transform:uppercase}.shop-modal-head h3{margin:5px 0 7px}.shop-modal-head p{margin:0 0 15px;color:var(--td);font-size:11px;line-height:1.55}.shop-modal-features{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-bottom:16px}.shop-modal-features span{padding:8px 9px;border:1px solid var(--gb);border-radius:9px;background:rgba(255,255,255,.02);color:var(--tm);font-size:9px}.shop-modal-features i{margin-right:6px;color:var(--gr)}.shop-wallet-choice{margin-bottom:15px;padding:12px;border:1px solid rgba(183,255,0,.18);border-radius:11px;background:rgba(183,255,0,.045)}.shop-wallet-choice label{display:flex;flex-direction:column;gap:3px}.shop-wallet-choice strong{color:var(--p);font-size:10px}.shop-wallet-choice span{color:var(--td);font-size:9px}.shop-plan-list{display:grid;gap:8px}.shop-option-row{padding:13px;display:flex;align-items:center;justify-content:space-between;gap:15px;border:1px solid var(--gb);border-radius:12px;background:var(--gh)}.shop-option-row h4{margin:4px 0 0;color:#fff;font-size:11px}.shop-plan-duration{color:var(--p);font-size:8px;font-weight:800;text-transform:uppercase}.shop-option-row .loader-card-side{display:flex;align-items:center;gap:14px}.shop-option-row .loader-card-side>strong{color:#fff;font-family:var(--mn);font-size:12px}.shop-option-row .loader-card-side>div{display:flex;gap:6px}
@media(max-width:650px){.catalog-admin-head{align-items:flex-start;flex-direction:column}.catalog-editor-grid,.shop-modal-features{grid-template-columns:1fr}.catalog-editor-grid .wide{grid-column:auto}.shop-option-row{align-items:flex-start;flex-direction:column}.shop-option-row .loader-card-side{width:100%;justify-content:space-between}.shop-option-row .loader-card-side>div{flex-wrap:wrap;justify-content:flex-end}}
