:root {
  color-scheme: dark;
  --bg: #060016;
  --bg-alt: #0e0324;
  --surface: #0f0529;
  --surface-strong: #150a33;
  --border: rgba(122, 75, 255, 0.45);
  --text: #f7f8ff;
  --muted: #c6ccff;
  --primary: #2be7ff;
  --primary-soft: rgba(43, 231, 255, 0.12);
  --accent: #7a4bff;
  --accent-soft: rgba(122, 75, 255, 0.12);
  --heading-font: "Bebas Neue", "Trebuchet MS", sans-serif;
  --body-font: "Space Grotesk", "Segoe UI", sans-serif;
  --readable-font: "Atkinson Hyperlegible", "Space Grotesk", "Segoe UI", sans-serif;
  scrollbar-width: thin;
  scrollbar-color: rgba(122, 75, 255, 0.5) transparent;
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body-font);
  letter-spacing: 0.01em;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(122, 75, 255, 0.5) transparent;
}

#spark-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--primary);
}

select,
option {
  background-color: #0f0529;
  color: var(--text);
}

input,
textarea,
select {
  background-color: transparent;
  border: none !important;
  border-bottom: 2px solid rgba(122, 75, 255, 0.35) !important;
  color: var(--text);
  border-radius: 0;
  padding: 10px 4px 8px;
  transition: border-bottom-color 0.2s ease, box-shadow 0.2s ease;
}

input::placeholder,
textarea::placeholder {
  color: rgba(199, 205, 255, 0.55);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-bottom-color: rgba(43, 231, 255, 0.45) !important;
  box-shadow: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--heading-font);
  letter-spacing: 0.04em;
}

.page {
  padding: 70px 16px 40px;
  max-width: 980px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.has-bottom-nav .page {
  padding-bottom: 108px;
}

.top-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 45;
  background: rgba(6, 0, 20, 0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(6px);
}

.top-header-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 10px 16px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.header-left {
  display: flex;
  align-items: center;
}

.header-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.header-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 12px;
  background: rgba(10, 4, 26, 0.7);
  border: 1px solid rgba(122, 75, 255, 0.35);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.header-nav-btn:hover {
  color: var(--primary);
  border-color: rgba(43, 231, 255, 0.5);
  transform: translateY(-1px);
}

.header-nav-btn .bi {
  font-size: 18px;
  line-height: 1;
}

.header-right {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 10px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.brand-logo {
  width: 32px;
  height: 32px;
}

.brand-logo-boost {
  transform: scale(1.5);
}

.brand-text {
  display: none;
  font-weight: 700;
  color: var(--text);
}

.brand-text-short {
  font-size: 0.95rem;
}

.brand-text-full {
  font-size: 1.05rem;
}

.coin-pill {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.85rem;
}

.coin-label {
  color: var(--muted);
}

.coin-value {
  color: var(--primary);
  font-weight: 700;
}

.coin-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 3px;
}

.top-header-landing {
  background: rgba(6, 1, 18, 0.86);
  border-bottom: 1px solid rgba(122, 75, 255, 0.3);
}

.top-header-landing .top-header-inner {
  max-width: 1140px;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  padding: 9px 16px;
}

.top-header-landing .brand {
  justify-self: center;
}

.top-header-landing .brand-link {
  gap: 6px;
}

.top-header-landing .brand-logo {
  width: 28px;
  height: 28px;
  transform: scale(1.5);
}

.top-header-landing .brand-text-short {
  display: inline;
  font-size: 0.88rem;
}

.top-header-landing .brand-text-full {
  display: none;
}

.landing-head-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.landing-head-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(43, 231, 255, 0.25);
  background: rgba(10, 18, 34, 0.54);
  color: rgba(206, 244, 255, 0.9);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.landing-head-link:hover {
  color: #deffff;
  border-color: rgba(43, 231, 255, 0.56);
  transform: translateY(-1px);
}

.landing-head-link i {
  font-size: 13px;
  line-height: 1;
}

.landing-head-link-muted {
  border-color: rgba(122, 75, 255, 0.32);
  background: rgba(16, 8, 35, 0.68);
  color: rgba(220, 227, 255, 0.9);
}

.landing-head-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2be7ff, #84b8ff);
  color: #041323;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(43, 231, 255, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.landing-head-cta:hover {
  color: #041323;
  transform: translateY(-1px);
  box-shadow: 0 11px 22px rgba(43, 231, 255, 0.35);
}

.contest-list {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  justify-items: center;
}

.contest-card {
  display: block;
  background: linear-gradient(180deg, rgba(16, 6, 38, 0.92), rgba(9, 2, 22, 0.95));
  border: 1px solid rgba(122, 75, 255, 0.35);
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  box-shadow: 0 14px 28px rgba(6, 0, 20, 0.35);
  width: 100%;
  max-width: 420px;
}

.contest-card.contest-card-static {
  cursor: default;
  max-width: 520px;
  margin: 0 auto;
  width: 100%;
}

.contest-card.contest-card-static:hover {
  border-color: rgba(122, 75, 255, 0.35);
  box-shadow: 0 14px 28px rgba(6, 0, 20, 0.35);
}

.contest-meta-line {
  margin-top: 0;
  margin-bottom: 6px;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text);
}

.contest-tabs {
  margin-top: 6px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.contest-tabs .contest-tab {
  padding: 8px 6px;
}

.contest-tab {
  border: 1px solid rgba(122, 75, 255, 0.25);
  border-radius: 14px;
  padding: 10px 8px;
  background: rgba(10, 4, 26, 0.7);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  font-size: 0.7rem;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.contest-tab.is-active {
  background: linear-gradient(135deg, var(--primary), #68f1ff);
  color: #06101c;
  border-color: rgba(43, 231, 255, 0.6);
  box-shadow: 0 10px 22px rgba(43, 231, 255, 0.2);
}

.contest-panel {
  display: none;
}

.contest-panel.is-active {
  display: block;
}

.contest-card:hover {
  border-color: rgba(43, 231, 255, 0.5);
  box-shadow: 0 18px 32px rgba(6, 0, 20, 0.45);
}

.contest-banner {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.contest-body {
  padding: 10px 12px 12px;
  display: grid;
  gap: 10px;
}

.contest-title-row {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: center;
  position: relative;
}

.contest-title-text {
  /* padding-right: 42px; */
  min-width: 0;
}

.contest-card-static .contest-title-line,
.contest-card-static .contest-slot-line {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* @media (max-width: 520px) {
  .contest-card-static .contest-title-text {
    padding-right: 34px;
  }

  .contest-card-static .contest-share {
    width: 28px;
    height: 28px;
  }

  .contest-card-static .contest-share-icon {
    width: 14px;
    height: 14px;
  }
} */

.contest-share {
  width: 32px;
  height: 32px;
  /* border-radius: 10px;
  border: 1px solid rgba(122, 75, 255, 0.35);
  background: rgba(10, 4, 26, 0.65); */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  right: 0;
  transition: border-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.contest-share:hover {
  /* border-color: rgba(43, 231, 255, 0.5); */
  transform: translateY(-1px);
}

.contest-share-icon {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
  color: var(--primary);
}

.contest-share-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  background: rgba(10, 4, 24, 0.92);
  border: 1px solid rgba(122, 75, 255, 0.45);
  color: var(--primary);
  font-size: 0.7rem;
  padding: 6px 10px;
  border-radius: 10px;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(4px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 2;
}

.contest-share-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 12px;
  width: 8px;
  height: 8px;
  background: rgba(10, 4, 24, 0.92);
  border-right: 1px solid rgba(122, 75, 255, 0.45);
  border-bottom: 1px solid rgba(122, 75, 255, 0.45);
  transform: translateY(-4px) rotate(45deg);
}

.contest-share-tooltip.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.contest-game-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 5px;
}

.contest-title-line {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.contest-slot-line {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 2px;
}

.contest-divider {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent, rgba(122, 75, 255, 0.35), rgba(43, 231, 255, 0.35), transparent);
  opacity: 0.5;
}

.contest-card-prize {
  position: relative;
  overflow: hidden;
}

.contest-prize-toggle {
  border: none;
  background: transparent;
  color: var(--text);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  min-height: var(--prize-handle);
  padding: 4px 6px;
  cursor: pointer;
}

.contest-prize-arrow {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  animation: prize-arrow-bounce 1.6s ease-in-out infinite;
  transition: transform 0.2s ease;
}

.contest-prize-arrow svg {
  width: 100%;
  height: 100%;
}

.contest-prize-arrow i {
  font-size: 18px;
  line-height: 1;
}

@keyframes prize-arrow-bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

.contest-card-prize.is-prize-open .contest-prize-arrow {
  animation: none;
  transform: rotate(180deg);
}

.contest-prize-sheet {
  --prize-handle: 30px;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 85%;
  background: rgba(6, 2, 18, 0.96);
  border-top: 1px solid rgba(122, 75, 255, 0.4);
  transform: translateY(calc(100% - var(--prize-handle)));
  transition: transform 0.35s ease;
  padding: 0;
  pointer-events: auto;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

.contest-card-prize.is-prize-open .contest-prize-sheet {
  transform: translateY(0);
}

.contest-card-prize.is-prize-open .contest-prize-toggle {
  background: transparent;
  border-bottom: none;
}

.contest-prize-sheet-body {
  display: grid;
  gap: 8px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 8px 12px 10px;
  flex: 1 1 auto;
  min-height: 0;
  align-content: start;
}

.contest-prize-sheet-body .section-title {
  margin-bottom: 6px;
}

.contest-card-prize:not(.is-prize-open) .contest-prize-sheet-body {
  pointer-events: none;
}

.prize-details {
  display: grid;
  gap: 12px;
  scrollbar-width: thin;
  scrollbar-color: rgba(122, 75, 255, 0.5) transparent;
}

.prize-type-line {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.prize-type-line span {
  color: var(--text);
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0.02em;
  margin-left: 6px;
}

.prize-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.prize-item {
  background: rgba(12, 4, 28, 0.6);
  border: 1px solid rgba(122, 75, 255, 0.25);
  border-radius: 12px;
  padding: 10px 12px;
  display: grid;
  gap: 4px;
}

.prize-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.prize-value {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.prize-ranks {
  display: grid;
  border: 1px solid rgba(122, 75, 255, 0.28);
  border-radius: 12px;
}

.prize-rank-title {
  margin: 0;
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.prize-rank {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(9, 4, 22, 0.45);
  border-bottom: 1px solid rgba(122, 75, 255, 0.18);
  transition: background 0.2s ease, transform 0.2s ease;
}

.prize-rank:nth-child(even) {
  background: rgba(16, 6, 34, 0.55);
}

.prize-rank:hover {
  background: rgba(20, 10, 44, 0.65);
  transform: translateY(-1px);
}

.prize-rank:last-child {
  border-bottom: none;
}

.prize-rank-label {
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.prize-rank-value {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.prize-note {
  margin: 0;
  font-size: 0.8rem;
}

.contest-money {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  text-align: center;
}

.contest-metric-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(199, 205, 255, 0.8);
}

.contest-metric-value {
  margin-top: 4px;
  font-size: 0.85rem;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.contest-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  text-align: center;
}

.contest-meta-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(199, 205, 255, 0.8);
}

.contest-meta-value {
  margin-top: 4px;
  font-size: 0.82rem;
  color: var(--text);
}

.contest-meta-value.is-scroll {
  overflow: hidden;
  white-space: nowrap;
}

.contest-meta-value.is-scroll span {
  display: inline-block;
  padding-left: 50%;
  animation: contest-marquee 12s linear infinite;
}

@keyframes contest-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .contest-meta-value.is-scroll span {
    animation: none;
    padding-left: 0;
  }
}

.contest-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.contest-footer.is-full-width {
  grid-template-columns: 1fr;
}

.contest-progress-bar {
  height: 6px;
  background: rgba(7, 2, 22, 0.7);
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(122, 75, 255, 0.35);
}

.contest-progress-fill {
  height: 100%;
  width: 0;
  background: rgba(34, 197, 94, 0.85);
  transition: width 0.3s ease;
}

.contest-progress-fill.is-full {
  background: rgba(239, 68, 68, 0.85);
}

.contest-progress-text {
  margin-top: 6px;
  font-size: 0.78rem;
  color: var(--muted);
}

.participants-table {
  width: 100%;
  border: 1px solid rgba(122, 75, 255, 0.28);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(8, 3, 20, 0.6);
  box-sizing: border-box;
  border-collapse: collapse;
}

.participants-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.participants-table.table {
  --bs-table-bg: rgba(8, 3, 20, 0.6);
  --bs-table-striped-bg: rgba(12, 5, 28, 0.6);
  --bs-table-hover-bg: rgba(20, 10, 44, 0.65);
  --bs-table-color: var(--text);
  --bs-table-border-color: rgba(122, 75, 255, 0.18);
  margin-bottom: 0;
}

.participants-table.table > :not(caption) > * > * {
  background-color: inherit;
}

.participants-table-your-team {
  background: rgba(10, 4, 26, 0.65);
}

.participants-row {
  color: inherit;
}

.participants-table-inner {
  min-width: 100%;
  width: 100%;
}

.participants-row.is-header {
  background: rgba(16, 6, 34, 0.8);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
}

.participants-table.table-striped tbody tr {
  background-color: var(--bs-table-bg);
}

.participants-table.table-striped tbody tr:nth-of-type(even) {
  background-color: var(--bs-table-striped-bg);
}

.participants-table.table-striped > tbody > tr > * {
  background-color: var(--bs-table-bg) !important;
}

.participants-table.table-striped > tbody > tr:nth-of-type(even) > * {
  background-color: var(--bs-table-striped-bg) !important;
}

.participants-table-body > .participants-row:nth-child(even) {
  background: rgba(12, 5, 28, 0.6);
}

.participants-table-body > .participants-row:nth-child(odd) > * {
  background-color: rgba(8, 3, 20, 0.72) !important;
}

.participants-table-body > .participants-row:nth-child(even) > * {
  background-color: rgba(18, 8, 36, 0.72) !important;
}

.participants-table-body > .participants-row:hover,
.participants-team-row:hover {
  background: rgba(20, 10, 44, 0.65);
}

.participants-cell {
  min-width: 0;
  padding: 10px 12px;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  vertical-align: middle;
  border-bottom: 1px solid rgba(122, 75, 255, 0.18);
}

.participants-team-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 8px;
  flex: 0 0 auto;
  border: 1px solid rgba(43, 231, 255, 0.25);
}

.participants-cell:has(.participants-team-avatar) {
  display: table-cell;
  vertical-align: middle;
  white-space: normal;
}

.participants-cell:has(.participants-team-avatar) .participants-team-avatar,
.participants-cell:has(.participants-team-avatar) span {
  vertical-align: middle;
}

.participants-cell:has(.participants-team-avatar) .participants-team-avatar {
  display: inline-block;
}

.participants-cell:has(.participants-team-avatar) span {
  display: inline-block;
  max-width: calc(100% - 34px);
  white-space: normal;
  word-break: break-word;
}

.participants-player-name {
  display: block;
  font-weight: 700;
  line-height: 1.2;
}

.participants-player-meta {
  display: block;
  margin-top: 2px;
  font-size: 0.72rem;
  color: rgba(180, 230, 255, 0.75);
  letter-spacing: 0.02em;
}

.participants-edit-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--primary);
  text-decoration: none;
  line-height: 1;
}

.participants-edit-link .bi {
  font-size: 1rem;
  line-height: 1;
}

.participants-edit-link:hover {
  color: #dffbff;
}

.participants-select-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.participants-select-btn input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.participants-select-btn span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), #68f1ff);
  color: #06101c;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(43, 231, 255, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.participants-select-btn input:checked + span {
  background: linear-gradient(135deg, #6cffc4, #2be7ff);
  box-shadow: 0 10px 22px rgba(108, 255, 196, 0.28);
}

.participants-select-btn.is-selected span {
  background: linear-gradient(135deg, #6cffc4, #2be7ff);
  box-shadow: 0 10px 22px rgba(108, 255, 196, 0.28);
}

.participants-select-btn.is-disabled {
  cursor: not-allowed;
}

.participants-select-btn.is-disabled span,
.participants-select-btn input:disabled + span {
  opacity: 0.55;
  box-shadow: none;
  transform: none;
}

.participants-select-btn span:hover {
  transform: translateY(-1px);
}

.free-match-gate {
  border: 1px solid rgba(43, 231, 255, 0.28);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(11, 5, 28, 0.92), rgba(8, 3, 20, 0.95));
}

.free-match-gate-list {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 6px;
}

.free-match-gate-btn {
  margin-top: 14px;
  width: 100%;
}

.contest-rules {
  border: 1px solid rgba(122, 75, 255, 0.26);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(11, 5, 28, 0.92), rgba(8, 3, 20, 0.95));
}

.contest-rules-specific {
  border-color: rgba(43, 231, 255, 0.34);
  background: linear-gradient(180deg, rgba(7, 16, 30, 0.86), rgba(5, 8, 20, 0.96));
}

.contest-rules-mode-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(43, 231, 255, 0.35);
  background: rgba(24, 63, 93, 0.32);
  color: rgba(206, 245, 255, 0.96);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contest-mode-rules-body {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.56;
}

.contest-mode-rules-body > *:first-child {
  margin-top: 0;
}

.contest-mode-rules-body > *:last-child {
  margin-bottom: 0;
}

.contest-mode-rules-body h1,
.contest-mode-rules-body h2,
.contest-mode-rules-body h3,
.contest-mode-rules-body h4,
.contest-mode-rules-body h5,
.contest-mode-rules-body h6 {
  margin: 0 0 8px;
  color: var(--text);
  font-family: var(--body-font);
  font-size: 0.93rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.contest-mode-rules-body p {
  margin: 0 0 8px;
}

.contest-mode-rules-body ul,
.contest-mode-rules-body ol {
  margin: 0 0 10px;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}

.contest-mode-rules-body a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contest-mode-rules-body .contest-rules-block,
.mode-rules-preview .contest-rules-block {
  border: 1px solid rgba(43, 231, 255, 0.22);
  border-radius: 12px;
  background: rgba(8, 16, 34, 0.62);
  padding: 10px 11px;
  margin-bottom: 10px;
}

.contest-mode-rules-body .contest-rules-block:last-child,
.mode-rules-preview .contest-rules-block:last-child {
  margin-bottom: 0;
}

.contest-rules-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.contest-rules-head .section-title {
  margin: 0;
}

.contest-rules-video {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.contest-rules-video i {
  color: currentColor;
}

.contest-rules-grid {
  margin-top: 12px;
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}

.contest-rules-block {
  border: 1px solid rgba(122, 75, 255, 0.22);
  border-radius: 12px;
  background: rgba(9, 4, 22, 0.65);
  padding: 11px 12px;
}

.contest-rules-block h3 {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--body-font);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}

.contest-rules-block h3 i {
  color: var(--primary);
  font-size: 0.95rem;
  line-height: 1;
}

.contest-rules-block ul {
  margin: 8px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

@media (min-width: 900px) {
  .contest-rules-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.free-task-hero,
.free-task-rules,
.free-task-shell,
.free-task-redirect {
  border: 1px solid rgba(122, 75, 255, 0.26);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(13, 6, 32, 0.94), rgba(7, 2, 20, 0.94));
}

.free-task-meta-line {
  margin: 10px 0 0;
  font-size: 0.82rem;
  color: rgba(189, 213, 255, 0.85);
  letter-spacing: 0.03em;
}

.free-task-rule-list {
  margin: 8px 0 0;
  padding-left: 20px;
  color: rgba(211, 222, 255, 0.85);
  display: grid;
  gap: 6px;
}

.free-task-help-link {
  margin-top: 12px;
}

.free-task-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

.free-task-card {
  border: 1px solid rgba(122, 75, 255, 0.24);
  border-radius: 12px;
  background: rgba(10, 4, 24, 0.9);
  padding: 14px;
}

.free-task-title {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 700;
  color: #eef2ff;
}

.free-task-player-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(122, 75, 255, 0.28);
  background: #000;
}

.free-task-player-frame > * {
  position: absolute;
  inset: 0;
}

#ffTaskPlaylistPlayer {
  width: 100%;
  height: 100%;
}

#ffTaskPlaylistPlayer iframe,
.free-task-player-frame iframe {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  display: block;
  border: 0;
}

.free-task-watch-meta {
  margin-top: 10px;
  border: 1px solid rgba(122, 75, 255, 0.24);
  border-radius: 10px;
  background: rgba(7, 2, 20, 0.75);
  padding: 12px;
  display: grid;
  gap: 10px;
}

.free-task-watch-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--muted);
}

.free-task-progress {
  width: 100%;
  height: 9px;
  border-radius: 999px;
  border: 1px solid rgba(122, 75, 255, 0.24);
  background: rgba(5, 2, 14, 0.9);
  overflow: hidden;
}

.free-task-progress-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), #6cf2ff);
  transition: width 0.25s ease;
}

.free-task-watch-status {
  font-size: 0.85rem;
  color: rgba(197, 214, 255, 0.85);
}

.free-task-watch-controls {
  min-height: 30px;
}

.watch-toggle {
  border: 1px solid rgba(122, 75, 255, 0.35);
  border-radius: 999px;
  background: rgba(13, 7, 33, 0.9);
  color: var(--text);
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 700;
}

.free-task-ads-steps {
  display: grid;
  gap: 10px;
}

.free-task-ads-step {
  border: 1px solid rgba(122, 75, 255, 0.24);
  border-radius: 10px;
  background: rgba(8, 3, 20, 0.78);
  padding: 10px;
}

.free-task-ads-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.85rem;
  color: var(--muted);
}

.free-task-ads-step button {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(43, 231, 255, 0.45);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(43, 231, 255, 0.95), rgba(104, 241, 255, 0.95));
  color: #06101c;
  font-weight: 800;
  font-size: 0.83rem;
  letter-spacing: 0.01em;
  padding: 10px;
  box-shadow: 0 8px 18px rgba(43, 231, 255, 0.2);
  transition: filter 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.free-task-ads-step button:hover:not(:disabled) {
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow: 0 12px 22px rgba(43, 231, 255, 0.26);
}

.free-task-ads-step button.completed {
  border-color: rgba(72, 255, 166, 0.55);
  background: linear-gradient(135deg, rgba(72, 255, 166, 0.95), rgba(43, 231, 255, 0.95));
  box-shadow: 0 12px 24px rgba(72, 255, 166, 0.22);
}

.free-task-ads-step button:disabled {
  opacity: 0.55;
  transform: none;
  filter: saturate(0.6);
}

.free-task-ads-feedback {
  min-height: 20px;
  margin: 8px 0 0;
  font-size: 0.84rem;
  color: var(--muted);
}

.free-task-ads-feedback[data-variant='success'] {
  color: #6bffbf;
}

.free-task-ads-feedback[data-variant='warning'] {
  color: #ffd27d;
}

.free-social-lock {
  overflow: hidden;
}

.free-social-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(4, 2, 12, 0.78);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.free-social-modal.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.free-social-modal-card {
  width: min(96vw, 560px);
  border: 1px solid rgba(43, 231, 255, 0.28);
  border-radius: 16px;
  background: linear-gradient(175deg, rgba(14, 8, 36, 0.98), rgba(6, 10, 24, 0.98));
  box-shadow: 0 20px 40px rgba(3, 0, 10, 0.58);
  padding: 16px;
  display: grid;
  gap: 12px;
}

.free-social-head h3 {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #eef4ff;
  font-size: 1rem;
  font-family: var(--body-font);
}

.free-social-head h3 i {
  color: #6ff7d0;
}

.free-social-head p {
  margin: 8px 0 0;
  color: rgba(202, 213, 255, 0.9);
  font-size: 0.84rem;
  line-height: 1.5;
}

.free-social-help {
  width: fit-content;
}

.free-social-help i {
  color: currentColor;
}

.free-social-list {
  display: grid;
  gap: 9px;
}

.free-social-row {
  border: 1px solid rgba(122, 75, 255, 0.28);
  border-radius: 12px;
  background: rgba(10, 5, 25, 0.82);
  padding: 10px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.free-social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(227, 236, 255, 0.95);
  font-size: 0.84rem;
  font-weight: 600;
  min-width: 0;
}

.free-social-link i {
  color: var(--primary);
  font-size: 0.98rem;
  flex-shrink: 0;
}

.free-social-link span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.free-social-action {
  min-width: 126px;
  min-height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(43, 231, 255, 0.45);
  background: linear-gradient(135deg, rgba(43, 231, 255, 0.95), rgba(104, 241, 255, 0.95));
  color: #041422;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  box-shadow: 0 10px 20px rgba(43, 231, 255, 0.2);
}

.free-social-action:disabled {
  cursor: not-allowed;
}

.free-social-action.is-verifying {
  border-color: rgba(245, 196, 87, 0.46);
  background: linear-gradient(135deg, rgba(245, 196, 87, 0.95), rgba(255, 225, 130, 0.95));
}

.free-social-action.is-verifying .bi-arrow-repeat {
  animation: instant-spin 0.9s linear infinite;
}

.free-social-action.is-verified {
  border-color: rgba(108, 255, 196, 0.52);
  background: linear-gradient(135deg, rgba(108, 255, 196, 0.95), rgba(55, 243, 191, 0.95));
  box-shadow: 0 10px 20px rgba(108, 255, 196, 0.2);
}

.free-social-foot {
  display: grid;
  gap: 6px;
}

.free-social-note {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(190, 205, 255, 0.86);
  font-size: 0.78rem;
}

.free-social-countdown {
  margin: 0;
  color: #81ffd1;
  font-size: 0.84rem;
  font-weight: 700;
}

@media (max-width: 560px) {
  .free-social-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .free-social-action {
    width: auto;
    min-width: 108px;
    min-height: 34px;
    padding: 0 12px;
    font-size: 0.69rem;
  }

  .free-social-link span {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
  }
}

.completion-modal {
  position: fixed;
  inset: 0;
  background: rgba(4, 2, 10, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
  z-index: 1900;
}

.completion-modal.visible {
  opacity: 1;
  pointer-events: auto;
}

.completion-modal__card {
  width: min(92vw, 360px);
  border: 1px solid rgba(122, 75, 255, 0.35);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(18, 8, 44, 0.98), rgba(9, 3, 24, 0.98));
  box-shadow: 0 18px 36px rgba(4, 0, 12, 0.5);
  padding: 22px;
  text-align: center;
}

.completion-modal__card h3 {
  margin: 0 0 8px;
  color: #eff5ff;
}

.completion-modal__card p {
  margin: 0;
  color: var(--muted);
}

@media (min-width: 900px) {
  .free-task-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .free-task-watch-row {
    flex-direction: column;
  }
}

.participants-username {
  color: rgba(180, 230, 255, 0.85);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.participants-team {
  display: grid;
}

.participants-team-row {
  width: 100%;
  background: rgba(9, 4, 22, 0.45);
  border: none;
  text-align: left;
  cursor: pointer;
}

.participants-team:nth-child(even) .participants-team-row {
  background: rgba(16, 6, 34, 0.55);
}

.participants-team.is-open .participants-team-row,
.participants-team-row[aria-expanded='true'] {
  background: rgba(10, 22, 40, 0.9);
  border-bottom: 1px solid rgba(43, 231, 255, 0.25);
}

.participants-team-row .participants-caret {
  text-align: right;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.04em;
  vertical-align: middle;
  white-space: nowrap;
}

.participants-cell[data-label=''] {
  text-align: right;
  vertical-align: middle;
  white-space: nowrap;
}

.participants-cell[data-label=''] > span {
  display: inline-flex;
  align-items: center;
}

.participants-cell[data-label=''] .participants-caret-icon {
  margin-left: 6px;
}

.participants-caret-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border: 1px solid rgba(122, 75, 255, 0.4);
  border-radius: 999px;
  font-size: 0.75rem;
  line-height: 1;
  transition: transform 0.2s ease, background 0.2s ease;
}

.participants-team.is-open .participants-caret-icon,
.participants-team-row[aria-expanded='true'] .participants-caret-icon {
  transform: rotate(180deg);
  background: rgba(122, 75, 255, 0.15);
}

.participants-team-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: rgba(6, 2, 18, 0.75);
}

.participants-team-details.is-open {
  border-top: 1px solid rgba(122, 75, 255, 0.2);
}

/* .participants-team-details .participants-table {
  margin: 8px 0px 12px;
  background: rgba(6, 10, 24, 0.78);
  border-color: rgba(43, 231, 255, 0.28);
} */

.participants-team-details .participants-row.is-header {
  background: rgba(10, 22, 40, 0.9);
  color: rgba(180, 230, 255, 0.9);
}

.participants-team-details .participants-table-body > .participants-row:nth-child(even) {
  background: rgba(8, 18, 36, 0.7);
}

.participants-team-details .participants-table-body > .participants-row:hover {
  background: rgba(12, 26, 48, 0.85);
}

.participants-team-title {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(20, 10, 44, 0.9), rgba(6, 14, 28, 0.9));
  border: 1px solid rgba(43, 231, 255, 0.2);
  box-shadow: 0 10px 20px rgba(6, 0, 20, 0.25);
  justify-content: space-between;
}

.participants-team-title.is-open .participants-caret-icon {
  transform: rotate(180deg);
  background: rgba(122, 75, 255, 0.15);
}

.participants-team-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(10, 4, 26, 0.6);
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  margin-left: auto;
}

.participants-team-media {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, rgba(43, 231, 255, 0.5), rgba(122, 75, 255, 0.5));
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.participants-team-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(6, 2, 18, 0.6);
}

.participants-team-text {
  display: grid;
  gap: 2px;
}

.participants-team-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(180, 230, 255, 0.8);
}

.participants-team-name {
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
  font-size: 1rem;
}

.participants-player-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #06101c;
  background: linear-gradient(135deg, rgba(43, 231, 255, 0.85), rgba(122, 75, 255, 0.75));
  white-space: nowrap;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #0b111a;
  background: rgba(148, 163, 184, 0.85);
  white-space: nowrap;
}

.status-badge.is-success {
  color: #03140a;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.9), rgba(16, 185, 129, 0.9));
}

.status-badge.is-pending {
  color: #1a1103;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.92), rgba(245, 158, 11, 0.92));
}

.status-badge.is-danger {
  color: #220506;
  background: linear-gradient(135deg, rgba(248, 113, 113, 0.92), rgba(239, 68, 68, 0.92));
}

.participants-table-your-team {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px);
  transition: max-height 0.3s ease, opacity 0.2s ease, transform 0.2s ease;
}

.participants-table-your-team.is-open {
  max-height: 2000px;
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 640px) {
  .participants-table {
    font-size: 0.75rem;
  }

  .participants-team-toggle {
    padding: 6px 8px;
  }

  .participants-team-toggle > span:not(.participants-caret-icon) {
    display: none;
  }

  .participants-cell[data-label=''] {
    text-align: right;
  }

  .participants-cell[data-label=''] > span:not(.participants-caret-icon) {
    display: none;
  }

  .participants-table-your-team.is-open {
    max-height: 2600px;
  }

  .participants-row.is-header {
    font-size: 0.65rem;
  }

  .participants-team-row .participants-caret {
    text-align: right;
    justify-content: flex-end;
  }

  .participants-cell .participants-team-avatar{
    width: 25px;
   height: 25px;
    }
}

.avatar-modal {
  position: fixed;
  inset: 0;
  background: rgba(6, 0, 20, 0.75);
  backdrop-filter: blur(6px);
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
}

.avatar-modal-card {
  width: min(980px, 96vw);
  max-height: 80vh;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(16, 6, 38, 0.96), rgba(8, 3, 20, 0.98));
  border: 1px solid rgba(122, 75, 255, 0.35);
  border-radius: 18px;
  box-shadow: 0 18px 32px rgba(6, 0, 20, 0.45);
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 10px;
  padding: 14px;
}

.avatar-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.avatar-filters {
  display: grid;
  gap: 8px;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid rgba(122, 75, 255, 0.25);
  background: rgba(10, 4, 26, 0.65);
}

.avatar-filters-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.avatar-filter-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(180, 230, 255, 0.85);
}

.avatar-filter-group {
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: center;
  gap: 8px;
}

.avatar-filter-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(180, 230, 255, 0.8);
}

.avatar-filter-options {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: thin;
}

.avatar-chip {
  border: 1px solid rgba(122, 75, 255, 0.4);
  background: rgba(10, 4, 26, 0.7);
  color: var(--text);
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.avatar-chip.is-active {
  background: linear-gradient(135deg, var(--primary), #68f1ff);
  color: #06101c;
  border-color: rgba(43, 231, 255, 0.6);
}

.avatar-list {
  overflow-y: auto;
  display: grid;
  gap: 14px;
  padding-right: 4px;
  min-height: 260px;
}

.avatar-category-title {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.avatar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, 110px);
  gap: 10px;
  justify-content: center;
}

.avatar-card {
  border: 1px solid rgba(122, 75, 255, 0.25);
  background: rgba(10, 4, 26, 0.8);
  border-radius: 12px;
  padding: 8px;
  text-align: left;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  display: grid;
  gap: 6px;
  width: 110px;
  box-sizing: border-box;
  overflow: hidden;
}

.avatar-card:hover {
  transform: translateY(-2px);
  border-color: rgba(43, 231, 255, 0.5);
  box-shadow: 0 12px 18px rgba(6, 0, 20, 0.35);
}

.avatar-card.is-selected {
  border-color: rgba(43, 231, 255, 0.8);
  box-shadow: 0 0 0 2px rgba(43, 231, 255, 0.35);
}

.avatar-img {
  width: 94px;
  height: 94px;
  object-fit: cover;
  /* border-radius: 12px;
  background: rgba(6, 2, 18, 0.6);
  border: 1px solid rgba(122, 75, 255, 0.2); */
  justify-self: center;
}

.avatar-meta {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}

.avatar-name {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text);
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.avatar-badge {
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(122, 75, 255, 0.25);
  color: var(--text);
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (max-width: 640px) {
  .avatar-modal-card {
    max-height: 92vh;
    padding: 12px;
  }

  .avatar-filter-group {
    grid-template-columns: 1fr;
  }

  .avatar-filter-label {
    font-size: 0.68rem;
  }

  .avatar-list {
    min-height: 220px;
  }

  .avatar-grid {
    grid-template-columns: repeat(auto-fill, 92px);
    justify-content: center;
  }

  .avatar-card {
    width: 92px;
    box-sizing: border-box;
    overflow: hidden;
  }

  .avatar-img {
    width: 76px;
    height: 76px;
  }
}

.avatar-badge-common { background: rgba(148, 163, 184, 0.25); }
.avatar-badge-rare { background: rgba(59, 130, 246, 0.35); }
.avatar-badge-epic { background: rgba(168, 85, 247, 0.35); }
.avatar-badge-legendary { background: rgba(234, 179, 8, 0.35); }

.contest-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--primary), #68f1ff);
  color: #06101c;
  box-shadow: 0 8px 18px rgba(43, 231, 255, 0.25);
}

.contest-cta.is-full {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.85), rgba(248, 113, 113, 0.9));
  color: #1b0505;
  box-shadow: 0 8px 18px rgba(239, 68, 68, 0.25);
}

.room-access-header {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 12px;
}

.room-access-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.room-access-tabs {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 6px;
  flex: 1;
  flex-wrap: wrap;
}

.room-tab {
  width: 34px;
  height: 30px;
  border-radius: 10px;
  border: 1px solid rgba(122, 75, 255, 0.35);
  background: rgba(10, 4, 26, 0.65);
  color: var(--muted);
  font-weight: 700;
  font-size: 0.8rem;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.room-tab.is-active {
  background: linear-gradient(135deg, var(--primary), #68f1ff);
  color: #06101c;
  border-color: rgba(43, 231, 255, 0.6);
  box-shadow: 0 6px 16px rgba(43, 231, 255, 0.2);
}

.room-reload {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  padding: 0;
}

.room-loader {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  --room-loader-active: var(--primary);
  --room-loader-track: rgba(43, 231, 255, 0.2);
  --room-loader-duration: 8s;
}

.room-loader-active {
  stroke: var(--room-loader-active);
  stroke-linecap: round;
  stroke-dasharray: 260 360;
  stroke-dashoffset: 70;
}

.room-loader-track {
  stroke: var(--room-loader-track);
  stroke-linecap: round;
  stroke-dasharray: 330 360;
  stroke-dashoffset: 70;
}

.room-card-back .room-reload:disabled .room-loader {
  opacity: 0;
}

.room-reload.is-loading .room-loader {
  animation: room-loader-spin 2s linear infinite;
}

.room-reload.is-loading .room-loader-active {
  animation: room-loader-active var(--room-loader-duration) ease-in-out infinite;
}

.room-reload.is-loading .room-loader-track {
  animation: room-loader-track var(--room-loader-duration) ease-in-out infinite;
}

@keyframes room-loader-spin {
  to {
    transform: rotate(270deg);
  }
}

@keyframes room-loader-active {
  0% {
    stroke-dasharray: 0 0 0 360 0 360;
  }
  12.5% {
    stroke-dasharray: 0 0 270 90 270 90;
  }
  25% {
    stroke-dasharray: 0 270 0 360 0 360;
  }
  37.5% {
    stroke-dasharray: 0 270 270 90 270 90;
  }
  50% {
    stroke-dasharray: 0 540 0 360 0 360;
  }
  50.001% {
    stroke-dasharray: 0 180 0 360 0 360;
  }
  62.5% {
    stroke-dasharray: 0 180 270 90 270 90;
  }
  75% {
    stroke-dasharray: 0 450 0 360 0 360;
  }
  87.5% {
    stroke-dasharray: 0 450 270 90 270 90;
  }
  87.501% {
    stroke-dasharray: 0 90 270 90 270 90;
  }
  100% {
    stroke-dasharray: 0 360 1 360 0 360;
  }
}

@keyframes room-loader-track {
  0% {
    stroke-dasharray: 0 20 320 40 320 40;
  }
  12.5% {
    stroke-dasharray: 0 290 50 310 50 310;
  }
  25% {
    stroke-dasharray: 0 290 320 40 320 40;
  }
  37.5% {
    stroke-dasharray: 0 560 50 310 50 310;
  }
  37.501% {
    stroke-dasharray: 0 200 50 310 50 310;
  }
  50% {
    stroke-dasharray: 0 200 320 40 320 40;
  }
  62.5% {
    stroke-dasharray: 0 470 50 310 50 310;
  }
  62.501% {
    stroke-dasharray: 0 110 50 310 50 310;
  }
  75% {
    stroke-dasharray: 0 110 320 40 320 40;
  }
  87.5% {
    stroke-dasharray: 0 380 50 310 50 310;
  }
  100% {
    stroke-dasharray: 0 380 320 40 320 40;
  }
}

.room-access {
  display: flex;
  justify-content: center;
}

.room-card {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 16 / 9;
  perspective: 1200px;
}

.room-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.65s ease;
  transform-style: preserve-3d;
}

.room-card.is-flipped .room-card-inner {
  transform: rotateY(180deg);
}

.room-card-face {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  padding: 18px;
  background: linear-gradient(160deg, rgba(18, 6, 40, 0.96), rgba(8, 2, 20, 0.95));
  border: 1px solid rgba(122, 75, 255, 0.4);
  box-shadow: 0 16px 32px rgba(6, 0, 20, 0.45);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 12px;
  backface-visibility: hidden;
}


.room-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.room-card-title {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.room-card-divider {
  height: 1px;
  width: 100%;
  background: rgba(122, 75, 255, 0.35);
}

.room-card-front {
  text-align: center;
}

.room-card-back {
  transform: rotateY(180deg);
  text-align: left;
}

.room-front-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.room-back-tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.room-tabs-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.room-countdown {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--primary);
}

.room-front-note {
  font-size: 0.85rem;
  color: var(--muted);
}

.room-details {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  z-index: 2;
}

.room-details-panel {
  position: absolute;
  inset: 0;
  display: grid;
  gap: 10px;
  opacity: 0;
  transform: translateX(40px);
  pointer-events: none;
}

.room-details-panel.is-active {
  position: relative;
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.room-details.is-sliding .room-details-panel.is-active {
  animation: room-slide-out-left 0.35s ease both;
}

.room-details.is-sliding [data-room-panel="next"] {
  opacity: 1;
  animation: room-slide-in-left 0.35s ease both;
  pointer-events: auto;
}

@keyframes room-slide-in-left {
  from {
    transform: translateX(40px);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes room-slide-out-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-40px);
  }
}

.room-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(12, 4, 28, 0.7);
  border: 1px solid rgba(122, 75, 255, 0.25);
}

.room-label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.room-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.room-copy {
  width: 34px;
  height: 34px;
  background: rgba(10, 4, 26, 0.75);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.room-copy-icon {
  width: 80%;
  height: 80%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  color: var(--primary);
}

.room-copy-icon.is-success {
  color: #22c55e;
}

.room-copy-tooltip {
  position: absolute;
  bottom: calc(100% + 6px);
  right: 0;
  background: rgba(10, 4, 24, 0.92);
  border: 1px solid rgba(122, 75, 255, 0.45);
  color: var(--primary);
  font-size: 0.65rem;
  padding: 4px 8px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(4px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 2;
}

.room-copy-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 10px;
  width: 6px;
  height: 6px;
  background: rgba(10, 4, 24, 0.92);
  border-right: 1px solid rgba(122, 75, 255, 0.45);
  border-bottom: 1px solid rgba(122, 75, 255, 0.45);
  transform: translateY(-3px) rotate(45deg);
}

.room-copy-tooltip.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.room-start {
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

.room-start-center {
  margin-top: auto;
  width: 100%;
}

@media (max-width: 520px) {
  .room-card {
    max-width: 100%;
  }

  .room-card-face {
    padding: 10px;
    gap: 5px;
  }

  .room-card-title {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
  }

  .room-tab {
    width: 30px;
    height: 26px;
    font-size: 0.72rem;
  }

  .room-countdown {
    font-size: 1.7rem;
  }

  .room-front-note {
    font-size: 0.78rem;
  }

  .room-details-panel {
    gap: 6px;
  }

  .room-row {
    padding: 6px 8px;
  }

  .room-label {
    font-size: 0.74rem;
  }

  .room-value {
    font-size: 0.92rem;
  }

  .room-copy {
    width: 25px;
    height: 25px;
  }

  .room-start {
    font-size: 0.75rem;
  }
  .room-reload {
    width: 25px;
    height: 25px;
  }
}

@media (max-width: 380px) {
  .room-card-face {
    padding: 8px;
    gap: 6px;
  }

  .room-card-title {
    font-size: 0.62rem;
    letter-spacing: 0.12em;
  }

  .room-tab {
    width: 28px;
    height: 24px;
    font-size: 0.68rem;
  }

  .room-countdown {
    font-size: 1.45rem;
  }

  .room-front-note {
    font-size: 0.72rem;
  }

  .room-details-panel {
    gap: 5px;
  }

  .room-row {
    padding: 5px 6px;
    border-radius: 10px;
  }

  .room-label {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
  }

  .room-value {
    font-size: 0.86rem;
  }

  .room-copy {
    width: 20px;
    height: 20px;
  }

  .room-start {
    font-size: 0.7rem;
  }
  .room-reload {
    width: 18px;
    height: 18px;
  }
}

.contest-chat {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: calc(100vh - 200px);
  height: calc(100dvh - 200px);
  max-height: calc(100vh - 200px);
  max-height: calc(100dvh - 200px);
}

.chat-panel {
  background: linear-gradient(180deg, rgba(16, 6, 38, 0.88), rgba(9, 2, 22, 0.95));
  border: 1px solid rgba(122, 75, 255, 0.35);
  border-radius: 16px;
  padding: 12px;
  display: flex;
  gap: 5px;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  position: relative;
}

.chat-list {
  height: auto;
  min-height: 0;
  flex: 1;
  overflow-y: auto;
  display: grid;
  gap: 6px;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(122, 75, 255, 0.5) transparent;
}


.chat-list::-webkit-scrollbar {
  width: 6px;
}

.chat-list::-webkit-scrollbar-thumb {
  background: rgba(122, 75, 255, 0.45);
  border-radius: 999px;
}

.chat-jump {
  position: absolute;
  left: 50%;
  bottom: 70px;
  transform: translate(-50%, 12px);
  opacity: 0;
  pointer-events: none;
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(10, 4, 26, 0.85);
  border: 1px solid rgba(43, 231, 255, 0.45);
  color: var(--primary);
  box-shadow: 0 10px 24px rgba(6, 0, 20, 0.35);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 5;
}

.chat-jump.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.chat-jump-icon {
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
}

.chat-jump svg {
  width: 100%;
  height: 100%;
}

.chat-item {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  animation: chat-fade-in 0.2s ease;
  --chat-accent: var(--primary);
  --chat-accent-soft: rgba(43, 231, 255, 0.55);
  --chat-accent-strong: rgba(43, 231, 255, 0.9);
  --bubble-border: var(--chat-accent-strong);
}

.chat-item.is-self {
  flex-direction: row-reverse;
}

.chat-item.is-grouped {
  margin-top: -4px;
}

.chat-item.is-first {
  margin-top: 10px;
}

.chat-item.is-first:first-child {
  margin-top: 0;
}

.chat-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--chat-accent-strong);
  box-shadow: 0 6px 14px rgba(6, 0, 20, 0.35);
}

.chat-avatar.is-profile-link,
.participants-team-avatar.is-profile-link {
  cursor: pointer;
  box-shadow:
    0 6px 14px rgba(6, 0, 20, 0.35),
    0 0 0 1px rgba(43, 231, 255, 0.14);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.chat-avatar.is-profile-link:hover,
.participants-team-avatar.is-profile-link:hover {
  transform: translateY(-1px) scale(1.02);
  border-color: var(--chat-accent, var(--primary));
  box-shadow:
    0 7px 15px rgba(6, 0, 20, 0.38),
    0 0 0 2px rgba(43, 231, 255, 0.24);
}

.chat-avatar.is-profile-link:focus-visible,
.participants-team-avatar.is-profile-link:focus-visible {
  outline: 2px solid var(--chat-accent, var(--primary));
  outline-offset: 2px;
}

.chat-bubble {
  max-width: 78%;
  padding: 5px 10px;
  border-radius: 16px;
  --bubble-bg: rgba(10, 4, 24, 0.85);
  --bubble-border: var(--chat-accent-strong);
  background: var(--bubble-bg);
  border: 1px solid var(--bubble-border);
  box-shadow: 0 10px 20px rgba(6, 0, 20, 0.25);
  position: relative;
}

.chat-item.is-self .chat-bubble {
  --bubble-bg: rgba(12, 8, 30, 0.92);
  background: var(--bubble-bg);
  box-shadow: 0 10px 20px rgba(6, 0, 20, 0.25);
}

.chat-item.is-last:not(.is-self) .chat-bubble {
  border-bottom-left-radius: 6px;
}

.chat-item.is-last.is-self .chat-bubble {
  border-bottom-right-radius: 6px;
}

.chat-item.is-grouped:not(.is-self) .chat-bubble {
  border-top-left-radius: 0;
}

.chat-item.is-cont:not(.is-self) .chat-bubble {
  border-bottom-left-radius: 0;
}

.chat-item.is-grouped.is-self .chat-bubble {
  border-top-right-radius: 0;
}

.chat-item.is-cont:not(.is-self) .chat-bubble {
  border-bottom-left-radius: 0;
}

.chat-item.is-grouped.is-self .chat-bubble {
  border-top-right-radius: 0;
}

.chat-item.is-cont.is-self .chat-bubble {
  border-bottom-right-radius: 0;
}

.chat-item.is-last:not(.is-self) .chat-bubble::after,
.chat-item.is-last.is-self .chat-bubble::after {
  content: "";
  position: absolute;
  bottom: 8px;
  width: 12px;
  height: 12px;
  background: var(--bubble-bg);
  border: 1px solid var(--bubble-border);
  transform: rotate(45deg);
  border-radius: 2px;
}

.chat-item.is-last.is-self .chat-bubble::after {
  transform: rotate(-45deg);
}

.chat-item.is-last:not(.is-self) .chat-bubble::after {
  left: -6px;
  border-right: none;
  border-top: none;
}

.chat-item.is-last.is-self .chat-bubble::after {
  right: -6px;
  z-index: 1;
  border-left: none;
  border-top: none;
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.72rem;
  color: rgba(199, 205, 255, 0.75);
}

.chat-username {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--chat-accent-soft);
}

.chat-username.is-profile-link,
.participants-username.is-profile-link {
  position: relative;
  display: inline-block;
  cursor: pointer;
  color: var(--chat-accent-soft, rgba(180, 230, 255, 0.9));
  text-decoration: none;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.chat-username.is-profile-link::after,
.participants-username.is-profile-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--chat-accent-soft, rgba(180, 230, 255, 0.9)), var(--chat-accent, var(--primary)));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.24s ease;
}

.chat-username.is-profile-link:hover,
.participants-username.is-profile-link:hover {
  color: var(--chat-accent, var(--primary));
  text-shadow: 0 0 8px rgba(43, 231, 255, 0.4);
}

.chat-username.is-profile-link:hover::after,
.chat-username.is-profile-link:focus-visible::after,
.participants-username.is-profile-link:hover::after,
.participants-username.is-profile-link:focus-visible::after {
  transform: scaleX(1);
}

.chat-username.is-profile-link:focus-visible,
.participants-username.is-profile-link:focus-visible {
  outline: 2px solid var(--chat-accent, var(--primary));
  outline-offset: 2px;
  border-radius: 4px;
}

.chat-text {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.4;
  white-space: pre-wrap;
  word-break: break-word;
}

.chat-text a {
  color: #4fd1ff;
  text-decoration: underline;
}

.chat-info {
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(43, 231, 255, 0.08);
  border-left: 3px solid rgba(122, 75, 255, 0.6);
}

.chat-info-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
}

.chat-info-sub {
  font-size: 0.75rem;
  color: rgba(199, 205, 255, 0.75);
}

.chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.chat-input {
  background: rgba(8, 2, 22, 0.6);
  border: 1px solid rgba(122, 75, 255, 0.45);
  border-radius: 12px;
  padding: 10px 12px;
  color: var(--text);
}

.chat-send {
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), #68f1ff);
  color: #06101c;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.chat-send.is-waiting,
.chat-send:disabled {
  opacity: 0.65;
  transform: none;
  cursor: not-allowed;
}

.chat-status {
  min-height: 1.1rem;
  font-size: 0.78rem;
  color: var(--muted);
  padding: 6px 8px;
  border-radius: 10px;
  background: rgba(10, 4, 24, 0.6);
  border: 1px solid rgba(122, 75, 255, 0.25);
  margin-top: 6px;
}

.chat-status:empty {
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  height: 0;
  min-height: 0;
  overflow: hidden;
}

.chat-status.is-error {
  color: #ffb4b4;
  border-color: rgba(255, 92, 92, 0.45);
  background: rgba(255, 92, 92, 0.12);
}

.chat-status.is-info {
  color: #b6dbff;
  border-color: rgba(79, 209, 255, 0.35);
  background: rgba(79, 209, 255, 0.08);
}

.chat-item:hover .chat-bubble {
  --bubble-border: var(--chat-accent-soft);
  border-color: var(--chat-accent-soft);
}

.chat-item:hover .chat-bubble::after {
  border-color: var(--chat-accent-soft);
}

@keyframes chat-fade-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.coin-plus {
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
}

.coin-minus {
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 92, 92, 0.2);
  color: #ff7a7a;
  font-weight: 700;
  font-size: 0.85rem;
}

.admin-panel-label {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mode-rules-mode-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(172px, 1fr));
}

.mode-rules-mode-pill {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(122, 75, 255, 0.28);
  border-radius: 12px;
  background: rgba(12, 6, 30, 0.78);
  padding: 10px 11px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.mode-rules-mode-pill:hover {
  border-color: rgba(43, 231, 255, 0.5);
  transform: translateY(-1px);
}

.mode-rules-mode-pill.is-selected {
  border-color: rgba(43, 231, 255, 0.6);
  box-shadow: 0 10px 22px rgba(43, 231, 255, 0.12);
}

.mode-rules-mode-name {
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.3;
}

.mode-rules-mode-state {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  width: fit-content;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mode-rules-mode-state.is-enabled {
  background: rgba(30, 151, 110, 0.28);
  border: 1px solid rgba(90, 255, 194, 0.35);
  color: #b8ffe7;
}

.mode-rules-mode-state.is-disabled {
  background: rgba(104, 43, 43, 0.3);
  border: 1px solid rgba(255, 118, 118, 0.32);
  color: #ffd5d5;
}

.mode-rules-preview {
  border: 1px solid rgba(122, 75, 255, 0.24);
  border-radius: 12px;
  background: rgba(10, 4, 24, 0.66);
  padding: 12px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.54;
}

.mode-rules-preview > *:first-child {
  margin-top: 0;
}

.mode-rules-preview > *:last-child {
  margin-bottom: 0;
}

.notif-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  color: var(--text);
}

.notif-dot {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 999px;
}

.notif-icon {
  font-size: 0.9rem;
}

.notif-icon .bi {
  font-size: 18px;
  line-height: 1;
}

.support-button {
  position: fixed;
  right: 15px;
  bottom: 70px;
  z-index: 50;
  padding: 0;
}

.support-icon {
  width: 56px;
  height: 56px;
  display: block;
}


.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(180deg, rgba(8, 2, 24, 0.92), rgba(5, 1, 16, 0.98));
  border-top: 1px solid rgba(122, 75, 255, 0.35);
  backdrop-filter: blur(8px);
  z-index: 40;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -10px 24px rgba(6, 0, 20, 0.45);
}

.nav-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  text-align: center;
}

.nav-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 6px 6px;
  border-radius: 16px;
  color: var(--muted);
  transition: color 0.22s ease, transform 0.22s ease;
  border: none;
  position: relative;
  overflow: hidden;
}

.nav-link::before {
  content: "";
  position: absolute;
  inset: 20% 12%;
  border-radius: 999px;
  background: radial-gradient(circle at 50% 50%, rgba(43, 231, 255, 0.42), rgba(43, 231, 255, 0) 70%);
  opacity: 0;
  transform: scale(0.82);
  filter: blur(7px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  pointer-events: none;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--primary);
  transform: translateY(-1px);
}

.nav-link:hover::before,
.nav-link.is-active::before {
  opacity: 1;
  transform: scale(1);
}

.nav-link.is-active::after {
  content: "";
  position: absolute;
  bottom: 4px;
  width: 26px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(43, 231, 255, 0), rgba(43, 231, 255, 0.9), rgba(43, 231, 255, 0));
  box-shadow: 0 0 8px rgba(43, 231, 255, 0.6);
}

.nav-icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  filter: drop-shadow(0 0 6px rgba(43, 231, 255, 0.2));
}

.nav-icon svg {
  width: 100%;
  height: 100%;
}

.nav-icon i {
  font-size: 18px;
  line-height: 1;
}

.nav-label {
  font-size: 0.64rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-item {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 10px 8px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(15, 5, 35, 0.85), rgba(9, 2, 22, 0.9));
  border: 1px solid rgba(122, 75, 255, 0.35);
  color: var(--text);
  font-weight: 600;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.nav-item:hover {
  transform: translateY(-2px);
  border-color: rgba(43, 231, 255, 0.45);
  box-shadow: 0 8px 18px rgba(43, 231, 255, 0.15);
}

.nav-item .bi {
  font-size: 17px;
  line-height: 1;
}

.ff-mode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  max-width: 520px;
  margin: 0 auto;
  width: 100%;
}

.ff-mode-card-full {
  grid-column: 1 / -1;
}

.ff-mode-card {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 12px 12px 3px 3px;
  border: 1px solid rgba(122, 75, 255, 0.35);
  background: rgba(7, 2, 20, 0.9);
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(3, 0, 10, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ff-mode-card:hover,
.ff-mode-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(43, 231, 255, 0.55);
  box-shadow: 0 14px 26px rgba(43, 231, 255, 0.18);
}

.ff-mode-banner {
  display: block;
  width: 100%;
  height: auto;
}

.ff-mode-live-badge {
  position: absolute;
  top: 9px;
  right: 9px;
  z-index: 2;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid rgba(43, 231, 255, 0.45);
  background: rgba(9, 20, 43, 0.82);
  color: #dff7ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.63rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  backdrop-filter: blur(3px);
  pointer-events: none;
}

.ff-mode-live-badge.is-loading {
  border-color: rgba(122, 75, 255, 0.48);
  background: rgba(26, 10, 58, 0.86);
  color: #e2d9ff;
}

.ff-mode-live-badge.is-live {
  border-color: rgba(92, 255, 166, 0.5);
  background: rgba(7, 46, 24, 0.84);
  color: #d8ffe8;
}

.ff-mode-live-badge.is-hot {
  border-color: rgba(255, 140, 140, 0.54);
  background: rgba(74, 17, 17, 0.88);
  color: #ffe4e4;
}

.ff-mode-live-badge.is-zero,
.ff-mode-live-badge.is-error {
  border-color: rgba(157, 174, 220, 0.44);
  background: rgba(30, 36, 55, 0.88);
  color: #e1e8ff;
}

.ff-mode-live-badge.is-soon {
  border-color: rgba(255, 206, 111, 0.58);
  background: rgba(65, 44, 5, 0.86);
  color: #ffe9bb;
}

.ff-mode-name {
  display: block;
  margin: 0;
  padding: 0;
  line-height: 1.5;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #f8fbff;
  /* color: #68f1ff; */
  background: linear-gradient(180deg, rgba(18, 7, 44, 0.98), rgba(8, 2, 24, 0.98));
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
}

@media (min-width: 768px) {
  .ff-mode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

.nav-btn {
  justify-content: center;
  align-items: center;
  display: flex;
  padding: 8px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), #68f1ff);
  color: #06101c;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(43, 231, 255, 0.25);
}

.nav-btn:hover,
.nav-btn:focus,
.nav-btn:active {
  color: #06101c;
}

.help-video-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  width: fit-content;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 78, 78, 0.4);
  background: rgba(68, 17, 17, 0.45);
  color: #ffd6d6;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.help-video-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 109, 109, 0.62);
  color: #ffe9e9;
}

.help-video-btn .bi {
  color: #ff5252;
  font-size: 0.92rem;
  line-height: 1;
}

.card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 14px;
  box-shadow: none;
  position: relative;
}

.card::before,
.card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(122, 75, 255, 0.45), rgba(43, 231, 255, 0.45), transparent);
  opacity: 0.35;
}

.card::before {
  top: 0;
}

.card::after {
  bottom: 0;
}

.section-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text);
}

.instant-spinner {
  width: 52px;
  height: 52px;
  margin: 8px auto 0;
  border-radius: 999px;
  border: 4px solid rgba(122, 75, 255, 0.25);
  border-top-color: var(--primary);
  animation: instant-spin 0.9s linear infinite;
}

.instant-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.instant-check {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: rgba(43, 231, 255, 0.18);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  letter-spacing: 0.08em;
  animation: instant-pop 0.6s ease-out;
}

.instant-redirect {
  animation: instant-pulse 1.4s ease-in-out infinite;
}

.mini-spinner {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid rgba(122, 75, 255, 0.25);
  border-top-color: var(--primary);
  animation: instant-spin 0.9s linear infinite;
}

@keyframes instant-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes instant-pop {
  0% {
    transform: scale(0.7);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes instant-pulse {
  0% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.6;
  }
}

.banner-slider {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(16, 6, 38, 0.85), rgba(9, 2, 22, 0.9));
  /* padding: 8px; */
  box-shadow: 0 14px 28px rgba(6, 0, 20, 0.35);
}

.banner-slider::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  /* border: 1px solid rgba(122, 75, 255, 0.35); */
  box-shadow: inset 0 0 20px rgba(43, 231, 255, 0.12);
  pointer-events: none;
}

.banner-section {
  padding: 12px 0 10px;
}

.banner-section .banner-dots {
  margin-top: 6px;
}

.banner-track {
  display: flex;
  gap: 12px;
  scroll-snap-type: x mandatory;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  /* padding-bottom: 4px; */
}

.banner-track::-webkit-scrollbar {
  display: none;
}

.banner-link {
  flex: 0 0 100%;
  display: block;
  scroll-snap-align: start;
}

.banner-item {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border-radius: 14px;
  box-shadow: 0 12px 26px rgba(6, 0, 20, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.banner-item:hover {
  transform: scale(1.01);
  box-shadow: 0 16px 32px rgba(6, 0, 20, 0.5);
}

@media (min-width: 500px) {
  .banner-link {
    flex: 0 0 auto;
    max-width: 720px;
    margin: 0 auto;
  }

  .banner-item {
    max-height: 250px;
  }
}

.banner-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(180deg, rgba(14, 6, 34, 0.9), rgba(8, 2, 24, 0.95));
  border: 0;
  color: #ddf9ff;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 8px 18px rgba(2, 0, 10, 0.5);
  transition: transform 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.banner-btn .bi {
  font-size: 1rem;
  line-height: 1;
}

.banner-btn:hover {
  transform: translateY(-50%) scale(1.05);
  color: var(--primary);
  box-shadow: 0 10px 22px rgba(43, 231, 255, 0.22);
}

.banner-btn:focus-visible {
  outline: 2px solid rgba(43, 231, 255, 0.6);
  outline-offset: 2px;
}

.banner-btn-left {
  left: 8px;
}

.banner-btn-right {
  right: 8px;
}

.banner-dots {
  margin-top: 6px;
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
}

.banner-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(185, 193, 255, 0.35);
  transform: scale(1);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.banner-dot.is-active {
  background: var(--primary);
  transform: scale(1.6);
  box-shadow: 0 0 12px rgba(43, 231, 255, 0.7);
}

.announcement-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.announcement-shell {
  display: flex;
  align-items: center;
  gap: 6px;
}

.announcement-section {
  padding: 6px 0;
}

.announcement-section .banner-dots {
  margin-top: 4px;
}

.announcement-static-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex: 0 0 auto;
}

.announcement-track {
  display: flex;
  gap: 12px;
  flex-wrap: nowrap;
  scroll-snap-type: x mandatory;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 0;
  scrollbar-width: none;
}

.announcement-track::-webkit-scrollbar {
  display: none;
}

.announcement-card {
  flex: 0 0 100%;
  min-width: 100%;
  scroll-snap-align: start;
  background: rgba(15, 5, 35, 0.45);
  border: none;
  border-radius: 12px;
  padding: 6px 8px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.announcement-content {
  text-align: left;
  font-family: var(--readable-font);
  margin-left: 0;
}

.announcement-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
}

.announcement-body {
  margin-top: 1px;
  font-size: 0.7rem;
  color: var(--muted);
}


.deposit-modal {
  position: fixed;
  inset: 0;
  background: rgba(8, 3, 20, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 60;
  padding: 16px;
}

.deposit-modal-card {
  width: 100%;
  max-width: 420px;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  position: relative;
  max-height: 85vh;
  overflow-y: auto;
  scrollbar-width: thin;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--text);
}

.qr-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.switch-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin-left: 2px;
  color: var(--muted);
  transform: rotate(0deg);
  transition: transform 0.25s ease, color 0.25s ease;
}

.switch-arrow i {
  font-size: 13px;
  line-height: 1;
}

.game-switch[open] .switch-arrow {
  transform: rotate(180deg);
  color: var(--primary);
}

.game-switch {
  position: relative;
}

.game-switch-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  color: var(--muted);
}

.game-switch-trigger::-webkit-details-marker {
  display: none;
}

.switch-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.switch-logo-small {
  width: 22px;
  height: 22px;
  border-radius: 6px;
}

.game-switch-menu {
  position: absolute;
  left: 0;
  top: 44px;
  width: 170px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface-strong);
  padding: 8px;
  z-index: 10;
}

.game-switch-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 10px;
}

.game-switch-item:hover {
  background: var(--accent-soft);
}

.switch-name {
  font-size: 0.85rem;
  font-weight: 600;
}

@media (min-width: 640px) {
  .brand-text-short {
    display: inline;
  }
}

@media (max-width: 900px) {
  .top-header-landing .top-header-inner {
    grid-template-columns: 1fr auto;
  }

  .top-header-landing .header-left {
    display: none;
  }

  .top-header-landing .brand {
    justify-self: start;
  }

  .top-header-landing .landing-head-link-muted {
    display: none;
  }
}

@media (max-width: 460px) {
  .top-header-landing .brand-text-short {
    font-size: 0.8rem;
  }

  .top-header-landing .landing-head-cta {
    min-height: 32px;
    padding: 0 10px;
    font-size: 0.66rem;
  }
}

@media (min-width: 1024px) {
  .brand-text-short {
    display: none;
  }

  .brand-text-full {
    display: inline;
  }
}

@media (min-width: 768px) {
  .bottom-nav {
    background: transparent;
    border-top: none;
    padding: 0;
    border-radius: 0;
    bottom: 0px;
    display: flex;
    justify-content: center;
  }

  .nav-inner {
    display: inline-flex;
    justify-content: center;
    gap: 18px;
    background: transparent;
  }

  .nav-link {
    background: transparent;
    padding: 6px 8px;
  }

  .support-button {
    bottom: 96px;
    right: 18px;
  }

}

.ourpage-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(122, 75, 255, 0.28);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(19, 8, 46, 0.96), rgba(8, 14, 34, 0.94));
}

.ourpage-hero::before {
  content: "";
  position: absolute;
  inset: auto -90px -90px auto;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(43, 231, 255, 0.25), rgba(43, 231, 255, 0));
  pointer-events: none;
}

.ourpage-eyebrow {
  margin: 0;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(180, 230, 255, 0.84);
}

.ourpage-heading {
  margin-top: 6px;
}

.ourpage-slogan {
  margin-top: -2px;
  font-size: 1rem;
  font-weight: 700;
  color: #d8f7ff;
  letter-spacing: 0.03em;
}

.ourpage-intro {
  margin: 8px 0 0;
  max-width: 72ch;
  color: rgba(224, 233, 255, 0.9);
  line-height: 1.62;
}

.ourpage-badges {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ourpage-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(122, 75, 255, 0.35);
  background: rgba(11, 5, 30, 0.72);
  color: #dff7ff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.ourpage-badge i {
  color: var(--primary);
  font-size: 0.9rem;
}

.ourpage-notice {
  margin: 12px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.8rem;
  color: #ffe3a3;
  border: 1px solid rgba(255, 207, 112, 0.4);
  background: rgba(68, 37, 4, 0.45);
}

.ourpage-shell {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(122, 75, 255, 0.24);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(10, 4, 24, 0.94), rgba(5, 8, 20, 0.94));
}

.ourpage-nav {
  border: 1px solid rgba(122, 75, 255, 0.2);
  border-radius: 12px;
  background: rgba(8, 3, 20, 0.8);
  padding: 12px;
}

.ourpage-nav .section-title {
  margin-bottom: 10px;
}

.ourpage-nav-list {
  display: grid;
  gap: 8px;
}

.ourpage-nav-link {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(122, 75, 255, 0.25);
  border-radius: 10px;
  background: rgba(12, 4, 30, 0.74);
  padding: 9px 10px;
  color: rgba(219, 226, 255, 0.88);
  font-size: 0.86rem;
  font-weight: 600;
  transition: border-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.ourpage-nav-link:hover {
  transform: translateY(-1px);
  border-color: rgba(43, 231, 255, 0.5);
  color: var(--primary);
}

.ourpage-nav-link.is-active {
  border-color: rgba(43, 231, 255, 0.58);
  background: linear-gradient(135deg, rgba(43, 231, 255, 0.2), rgba(122, 75, 255, 0.22));
  color: #dbfbff;
  box-shadow: 0 8px 20px rgba(43, 231, 255, 0.14);
}

.ourpage-nav-icon {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
}

.ourpage-nav-icon i {
  font-size: 1rem;
}

.ourpage-content {
  display: grid;
  gap: 12px;
}

.ourpage-block {
  border: 1px solid rgba(122, 75, 255, 0.23);
  border-radius: 12px;
  background: rgba(10, 4, 25, 0.86);
  padding: 14px;
}

.ourpage-block h3 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
  font-size: 1rem;
  color: #eef4ff;
}

.ourpage-block h3 i {
  color: var(--primary);
  font-size: 0.95rem;
}

.ourpage-block p {
  margin: 0;
  color: rgba(214, 225, 255, 0.9);
  line-height: 1.62;
}

.ourpage-block p + p {
  margin-top: 10px;
}

.ourpage-bullets {
  margin: 8px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 7px;
  color: rgba(214, 225, 255, 0.9);
}

.ourpage-links {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.ourpage-link {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(43, 231, 255, 0.3);
  border-radius: 10px;
  background: rgba(5, 16, 26, 0.64);
  padding: 10px 12px;
  font-size: 0.86rem;
  color: #b6f8ff;
  word-break: break-word;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.ourpage-link-main {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.ourpage-link-main i {
  color: var(--primary);
  font-size: 0.95rem;
  flex: 0 0 auto;
}

.ourpage-link-main span {
  overflow-wrap: anywhere;
}

.ourpage-link:hover {
  transform: translateY(-1px);
  border-color: rgba(43, 231, 255, 0.62);
}

.ourpage-link > .bi {
  font-size: 0.92rem;
  flex: 0 0 auto;
}

.ourpage-cta {
  border: 1px solid rgba(122, 75, 255, 0.25);
  border-radius: 14px;
  background: linear-gradient(150deg, rgba(11, 22, 38, 0.92), rgba(16, 7, 33, 0.94));
  display: grid;
  gap: 12px;
}

.ourpage-cta p {
  margin: 8px 0 0;
  color: rgba(218, 226, 255, 0.9);
}

.ourpage-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  text-align: center;
}

@media (min-width: 920px) {
  .ourpage-shell {
    grid-template-columns: minmax(250px, 0.9fr) minmax(0, 1.6fr);
    align-items: start;
  }

  .ourpage-nav {
    position: sticky;
    top: 86px;
  }

  .ourpage-cta {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .ourpage-cta-btn {
    width: auto;
  }
}

/* Landing page: conversion-first esports homepage */
.landing-root {
  display: grid;
  gap: 22px;
  padding-bottom: 88px;
  font-family: "Poppins", var(--body-font);
}

.landing-root h1,
.landing-root h2,
.landing-root h3,
.landing-root h4 {
  font-family: "Poppins", var(--body-font);
  letter-spacing: 0.01em;
}

.landing-sticky-header {
  position: sticky;
  top: 55px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(122, 75, 255, 0.38);
  background: rgba(7, 4, 20, 0.82);
  backdrop-filter: blur(8px);
}

.landing-sticky-copy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(214, 223, 255, 0.9);
  font-weight: 600;
}

.landing-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #1efcc7;
  box-shadow: 0 0 10px rgba(30, 252, 199, 0.7);
}

.landing-hero {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(122, 75, 255, 0.34);
  background:
    radial-gradient(circle at 12% 18%, rgba(43, 231, 255, 0.18), transparent 42%),
    radial-gradient(circle at 86% 0%, rgba(122, 75, 255, 0.26), transparent 40%),
    linear-gradient(165deg, rgba(18, 8, 43, 0.95), rgba(5, 9, 23, 0.96));
  padding: 20px;
  display: grid;
  gap: 16px;
}

.landing-hero::after {
  content: "";
  position: absolute;
  inset: auto -50px -90px auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(43, 231, 255, 0.24), rgba(43, 231, 255, 0));
  pointer-events: none;
}

.landing-eyebrow {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(172, 233, 255, 0.9);
}

.landing-hero-title {
  margin-top: 8px;
  font-size: clamp(2rem, 7vw, 3.25rem);
  line-height: 0.95;
  color: #f7f9ff;
}

.landing-hero-subtext {
  margin-top: 10px;
  max-width: 62ch;
  font-size: 0.95rem;
  line-height: 1.66;
  color: rgba(225, 233, 255, 0.9);
}

.landing-hero-actions {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.landing-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.landing-btn:focus-visible,
.landing-faq-item summary:focus-visible,
.landing-community-card:focus-visible {
  outline: 2px solid rgba(43, 231, 255, 0.92);
  outline-offset: 2px;
}

.landing-btn-primary {
  color: #041323;
  background: linear-gradient(135deg, #2be7ff, #7aa9ff);
  box-shadow: 0 12px 24px rgba(43, 231, 255, 0.25);
}

.landing-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(43, 231, 255, 0.33);
}

.landing-btn-primary:active {
  transform: translateY(0);
}

.landing-btn-secondary {
  color: #d8deff;
  border-color: rgba(122, 75, 255, 0.55);
  background: rgba(18, 10, 44, 0.86);
}

.landing-btn-secondary:hover {
  transform: translateY(-1px);
  border-color: rgba(43, 231, 255, 0.62);
  color: #dfffff;
}

.landing-stats {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.landing-stat-card {
  border: 1px solid rgba(122, 75, 255, 0.25);
  border-radius: 14px;
  background: rgba(8, 4, 23, 0.72);
  padding: 12px;
}

.landing-stat-number {
  margin: 0;
  font-size: 1.4rem;
  line-height: 1;
  color: #e7ffff;
  font-weight: 700;
}

.landing-stat-label {
  margin: 4px 0 0;
  font-size: 0.78rem;
  color: rgba(199, 208, 255, 0.92);
}

.landing-hero-proof {
  border: 1px solid rgba(122, 75, 255, 0.26);
  border-radius: 16px;
  background: rgba(9, 4, 23, 0.72);
  padding: 14px;
}

.landing-hero-proof h2 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.2;
  color: #ebefff;
}

.landing-proof-list {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.landing-proof-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: rgba(217, 226, 255, 0.9);
  font-size: 0.82rem;
  line-height: 1.5;
}

.landing-proof-list i {
  color: var(--primary);
  margin-top: 2px;
}

.landing-proof-chip {
  margin-top: 12px;
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  border-radius: 12px;
  border: 1px solid rgba(43, 231, 255, 0.35);
  background: rgba(14, 41, 48, 0.36);
  padding: 9px 10px;
}

.landing-chip-label {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(175, 245, 255, 0.9);
}

.landing-proof-chip strong {
  font-size: 0.9rem;
  color: #d8faff;
}

.landing-section {
  border: 1px solid rgba(122, 75, 255, 0.26);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(15, 7, 36, 0.92), rgba(8, 3, 19, 0.95));
  padding: 18px;
  display: grid;
  gap: 14px;
}

.landing-section-head {
  display: grid;
  gap: 5px;
}

.landing-kicker {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(168, 234, 255, 0.92);
}

.landing-section-head h2 {
  margin: 0;
  font-size: clamp(1.45rem, 4vw, 2.1rem);
  line-height: 1;
}

.landing-badge-grid {
  display: grid;
  gap: 10px;
}

.landing-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 12px;
  border: 1px solid rgba(43, 231, 255, 0.26);
  background: rgba(10, 20, 34, 0.45);
  padding: 11px 12px;
  font-size: 0.86rem;
  font-weight: 700;
  color: rgba(225, 248, 255, 0.95);
}

.landing-badge i {
  color: #34f0df;
}

.landing-proof-grid {
  display: grid;
  gap: 10px;
}

.landing-proof-card {
  border-radius: 14px;
  border: 1px solid rgba(122, 75, 255, 0.25);
  background: rgba(9, 4, 22, 0.76);
  padding: 12px;
  box-shadow: inset 0 0 24px rgba(43, 231, 255, 0.05);
}

.landing-proof-title {
  margin: 0;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(174, 181, 255, 0.9);
}

.landing-proof-amount {
  margin: 6px 0 0;
  font-size: 1rem;
  font-weight: 700;
  color: #f4f7ff;
}

.landing-proof-meta {
  margin: 3px 0 0;
  font-size: 0.8rem;
  color: rgba(198, 206, 255, 0.88);
}

.landing-steps-grid,
.landing-winners-grid,
.landing-benefits-grid,
.landing-community-grid {
  display: grid;
  gap: 10px;
}

.landing-step-card,
.landing-winner-card,
.landing-benefit-card,
.landing-community-card {
  border-radius: 14px;
  border: 1px solid rgba(122, 75, 255, 0.24);
  background: rgba(11, 4, 27, 0.78);
  padding: 12px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.landing-step-card:hover,
.landing-winner-card:hover,
.landing-benefit-card:hover,
.landing-community-card:hover {
  transform: translateY(-2px);
  border-color: rgba(43, 231, 255, 0.38);
  box-shadow: 0 14px 24px rgba(6, 0, 20, 0.38);
}

.landing-step-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(43, 231, 255, 0.17);
  color: #88f8ff;
}

.landing-step-card h3,
.landing-benefit-card h3 {
  margin: 10px 0 0;
  font-family: var(--body-font);
  font-size: 1rem;
  line-height: 1.3;
  color: #f2f6ff;
}

.landing-step-card p,
.landing-benefit-card p,
.landing-community-meta {
  margin: 6px 0 0;
  font-size: 0.84rem;
  line-height: 1.58;
  color: rgba(199, 207, 255, 0.9);
}

.landing-section-live {
  border-color: rgba(43, 231, 255, 0.34);
}

.landing-section-head-live {
  gap: 10px;
}

.landing-tournament-skeleton {
  display: grid;
  gap: 10px;
  opacity: 1;
  transition: opacity 0.2s ease;
}

.landing-tournament-skeleton.is-hidden {
  opacity: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.landing-tour-skeleton-card {
  border-radius: 14px;
  border: 1px solid rgba(122, 75, 255, 0.2);
  background: rgba(9, 4, 22, 0.76);
  padding: 12px;
}

.landing-skeleton-line,
.landing-skeleton-chip {
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(122, 75, 255, 0.22), rgba(43, 231, 255, 0.24), rgba(122, 75, 255, 0.22));
  background-size: 180% 100%;
  animation: landing-skeleton 1.1s linear infinite;
}

.landing-skeleton-line {
  height: 10px;
}

.landing-skeleton-line + .landing-skeleton-line {
  margin-top: 10px;
}

.landing-skeleton-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.landing-skeleton-chip {
  height: 34px;
}

.landing-w-40 { width: 40%; }
.landing-w-45 { width: 45%; }
.landing-w-48 { width: 48%; }
.landing-w-68 { width: 68%; }
.landing-w-70 { width: 70%; }
.landing-w-72 { width: 72%; }
.landing-w-100 { width: 100%; }

.landing-tournament-grid {
  display: grid;
  gap: 10px;
  opacity: 0;
  transform: translateY(4px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.landing-tournament-grid.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.landing-tour-card {
  border-radius: 16px;
  border: 1px solid rgba(122, 75, 255, 0.28);
  background: linear-gradient(180deg, rgba(13, 5, 33, 0.9), rgba(8, 3, 21, 0.95));
  padding: 14px;
  display: grid;
  gap: 12px;
}

.landing-tour-card-empty {
  border-style: dashed;
  place-items: center;
  text-align: center;
}

.landing-tour-empty-copy {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.56;
  color: rgba(198, 206, 255, 0.9);
}

.landing-tour-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.landing-tour-game {
  margin: 0;
  font-size: 0.94rem;
  font-weight: 700;
  color: #f4f8ff;
}

.landing-tour-urgency {
  border-radius: 999px;
  border: 1px solid rgba(255, 162, 100, 0.5);
  background: rgba(83, 35, 0, 0.45);
  color: #ffd7b0;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 8px;
  white-space: nowrap;
}

.landing-tour-urgency.is-critical {
  border-color: rgba(248, 113, 113, 0.62);
  background: rgba(127, 29, 29, 0.45);
  color: #ffe0e0;
}

.landing-tour-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.landing-tour-meta div {
  border-radius: 10px;
  border: 1px solid rgba(122, 75, 255, 0.22);
  background: rgba(9, 4, 24, 0.84);
  padding: 9px 8px;
  display: grid;
  gap: 3px;
}

.landing-tour-meta span {
  font-size: 0.68rem;
  color: rgba(178, 187, 255, 0.88);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.landing-tour-meta strong {
  font-size: 0.92rem;
  color: #eff4ff;
}

.landing-tour-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.landing-tour-timer span {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: rgba(163, 172, 255, 0.88);
}

.landing-tour-timer strong {
  font-size: 1rem;
  color: #c9f9ff;
}

.landing-winner-name {
  margin: 0;
  font-size: 0.84rem;
  color: rgba(178, 237, 255, 0.9);
}

.landing-winner-prize {
  margin: 4px 0 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #f5faff;
}

.landing-winner-meta {
  margin: 3px 0 0;
  font-size: 0.78rem;
  color: rgba(194, 202, 255, 0.88);
}

.landing-leaderboard-wrap {
  border-radius: 14px;
  border: 1px solid rgba(122, 75, 255, 0.24);
  overflow: hidden;
}

.landing-leaderboard {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.landing-leaderboard thead {
  background: rgba(19, 8, 45, 0.92);
}

.landing-leaderboard th,
.landing-leaderboard td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(122, 75, 255, 0.2);
}

.landing-leaderboard th {
  color: rgba(174, 238, 255, 0.95);
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.landing-leaderboard tbody tr {
  background: rgba(8, 3, 21, 0.86);
}

.landing-faq-list {
  display: grid;
  gap: 8px;
}

.landing-faq-item {
  border-radius: 12px;
  border: 1px solid rgba(122, 75, 255, 0.28);
  background: rgba(11, 4, 26, 0.78);
  padding: 10px 12px;
}

.landing-faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: #f1f6ff;
  list-style: none;
}

.landing-faq-item summary::-webkit-details-marker {
  display: none;
}

.landing-faq-item summary::after {
  content: "+";
  float: right;
  color: rgba(43, 231, 255, 0.92);
}

.landing-faq-item[open] summary::after {
  content: "-";
}

.landing-faq-item p {
  margin: 10px 0 0;
  color: rgba(203, 212, 255, 0.9);
  font-size: 0.84rem;
  line-height: 1.58;
}

.landing-community-card {
  display: grid;
  gap: 4px;
}

.landing-community-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(43, 231, 255, 0.16);
  color: #8df9ff;
}

.landing-community-title {
  margin-top: 6px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #f2f7ff;
}

.landing-footer {
  border: 1px solid rgba(122, 75, 255, 0.25);
  border-radius: 16px;
  padding: 16px;
  background: rgba(8, 3, 21, 0.88);
}

.landing-footer-title {
  margin: 0;
  font-size: 1.3rem;
}

.landing-footer-grid {
  margin-top: 14px;
  display: grid;
  gap: 14px;
}

.landing-footer-label {
  margin: 0;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(164, 172, 255, 0.9);
}

.landing-footer-grid a {
  display: block;
  margin-top: 7px;
  font-size: 0.9rem;
  color: #e7f2ff;
}

.landing-footer-note {
  margin: 8px 0 0;
  font-size: 0.78rem;
  color: rgba(182, 191, 255, 0.88);
}

.landing-mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 48;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(122, 75, 255, 0.4);
  background: rgba(6, 1, 19, 0.95);
  backdrop-filter: blur(8px);
  border-radius: 22px 22px 0 0;
}

@media (max-width: 640px) {
  .landing-sticky-header > .landing-btn {
    display: none;
  }
}

@keyframes landing-skeleton {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

@media (min-width: 640px) {
  .landing-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .landing-badge-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing-proof-grid,
  .landing-steps-grid,
  .landing-winners-grid,
  .landing-benefits-grid,
  .landing-community-grid,
  .landing-tournament-skeleton,
  .landing-tournament-grid,
  .landing-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .landing-root {
    gap: 24px;
  }

  .landing-hero {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: stretch;
  }

  .landing-proof-grid,
  .landing-steps-grid,
  .landing-winners-grid,
  .landing-benefits-grid,
  .landing-community-grid,
  .landing-tournament-skeleton,
  .landing-tournament-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .landing-footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .landing-mobile-cta {
    display: none;
  }
}

@media (max-width: 420px) {
  .landing-tour-meta {
    grid-template-columns: 1fr;
  }

  .landing-tour-bottom {
    flex-direction: column;
    align-items: stretch;
  }

  .landing-tour-bottom .landing-btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-btn,
  .landing-step-card,
  .landing-winner-card,
  .landing-benefit-card,
  .landing-community-card,
  .landing-tournament-grid,
  .landing-tournament-skeleton,
  .landing-skeleton-line,
  .landing-skeleton-chip {
    transition: none !important;
    animation: none !important;
  }
}

@media (prefers-contrast: more) {
  .landing-btn-secondary,
  .landing-step-card,
  .landing-winner-card,
  .landing-benefit-card,
  .landing-community-card,
  .landing-proof-card,
  .landing-faq-item,
  .landing-tour-card {
    border-color: rgba(220, 228, 255, 0.82);
  }

  .landing-tour-urgency {
    border-color: rgba(255, 219, 181, 0.92);
  }
}

.admin-image-field {
  display: grid;
  gap: 9px;
}

.admin-image-path {
  font-size: 0.8rem;
  line-height: 1.4;
  color: rgba(198, 207, 255, 0.88);
  word-break: break-all;
}

.admin-image-preview {
  width: 100%;
  max-width: 320px;
  border-radius: 10px;
  border: 1px solid rgba(122, 75, 255, 0.38);
  background: rgba(9, 4, 22, 0.72);
}

.admin-image-picker-open {
  overflow: hidden;
}

.admin-image-picker-modal {
  position: fixed;
  inset: 0;
  z-index: 140;
}

.admin-image-picker-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 1, 8, 0.74);
  backdrop-filter: blur(3px);
}

.admin-image-picker-dialog {
  position: relative;
  margin: min(4vh, 22px) auto;
  width: min(1100px, calc(100vw - 18px));
  max-height: calc(100vh - min(8vh, 46px));
  border-radius: 16px;
  border: 1px solid rgba(122, 75, 255, 0.42);
  background: linear-gradient(180deg, rgba(13, 5, 33, 0.98), rgba(6, 2, 17, 0.98));
  display: grid;
  grid-template-rows: auto auto auto auto minmax(0, 1fr);
  overflow: hidden;
}

.admin-image-picker-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(122, 75, 255, 0.3);
}

.admin-image-picker-head .section-title {
  margin: 0;
}

.admin-image-picker-close {
  border: 1px solid rgba(122, 75, 255, 0.44);
  background: rgba(17, 8, 40, 0.86);
  color: #eaf2ff;
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.admin-image-picker-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(122, 75, 255, 0.28);
}

.admin-image-picker-nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.admin-image-picker-icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(122, 75, 255, 0.42);
  background: rgba(17, 8, 40, 0.78);
  color: #e6eeff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.admin-image-picker-icon-btn .bi {
  font-size: 1rem;
  line-height: 1;
}

.admin-image-picker-icon-btn.is-spinning .bi {
  animation: admin-picker-spin 0.75s linear infinite;
}

.admin-image-picker-breadcrumb {
  display: flex;
  align-items: center;
  gap: 5px;
  overflow-x: auto;
  white-space: nowrap;
  padding-bottom: 2px;
}

.admin-image-picker-crumb {
  border: 1px solid rgba(122, 75, 255, 0.34);
  background: rgba(17, 8, 40, 0.66);
  color: #deebff;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 0.74rem;
  line-height: 1;
}

.admin-image-picker-sep {
  color: rgba(167, 180, 255, 0.7);
  font-size: 0.75rem;
}

.admin-image-picker-ratio {
  font-size: 0.74rem;
  color: rgba(199, 207, 255, 0.9);
}

.admin-image-picker-upload {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(122, 75, 255, 0.28);
}

.admin-image-picker-path-row {
  padding: 10px 14px 6px;
}

.admin-image-picker-upload input[type="file"] {
  font-size: 0.82rem;
}

.admin-image-picker-status {
  margin: 0;
  padding: 0 14px 6px;
  font-size: 0.78rem;
  color: rgba(198, 206, 255, 0.9);
}

.admin-image-picker-status.is-error {
  color: #ffb7b7;
}

.admin-image-picker-grid {
  padding: 10px 14px 14px;
  display: grid;
  align-content: start;
  gap: 10px;
  overflow: auto;
}

.admin-image-picker-empty {
  border: 1px dashed rgba(122, 75, 255, 0.36);
  border-radius: 12px;
  padding: 16px;
  color: rgba(199, 209, 255, 0.86);
  text-align: center;
}

.admin-image-picker-item {
  border: 1px solid rgba(122, 75, 255, 0.28);
  border-radius: 12px;
  background: rgba(10, 5, 25, 0.84);
}

.admin-image-picker-item.is-dir {
  width: 100%;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px 11px;
  text-align: left;
}

.admin-image-picker-item.is-file {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 9px;
}

.admin-image-picker-item-icon {
  font-size: 1.15rem;
  color: #96b4ff;
}

.admin-image-picker-thumb-wrap {
  width: 100%;
  height: 62px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(7, 3, 18, 0.9);
  border: 1px solid rgba(122, 75, 255, 0.3);
  display: grid;
  place-items: center;
}

.admin-image-picker-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-image-picker-thumb-fallback {
  color: rgba(184, 195, 255, 0.78);
  font-size: 1.1rem;
}

.admin-image-picker-item-main {
  min-width: 0;
}

.admin-image-picker-item-name {
  font-size: 0.84rem;
  color: #f0f5ff;
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.admin-image-picker-item-meta {
  font-size: 0.73rem;
  color: rgba(184, 196, 255, 0.86);
}

.admin-image-picker-item-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.admin-image-picker-choose {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(60, 174, 255, 0.52);
  background: linear-gradient(135deg, #2be7ff, #7ca6ff);
  color: #041322;
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  transition: transform 0.2s ease, filter 0.2s ease, border-color 0.2s ease;
}

.admin-image-picker-choose:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

.admin-image-picker-choose.is-not-recommended {
  border-color: rgba(255, 151, 97, 0.6);
  background: linear-gradient(135deg, #ffbf7d, #ff8f8f);
  color: #3a1202;
}

.admin-image-picker-note {
  font-size: 0.66rem;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 201, 160, 0.95);
}

@keyframes admin-picker-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 760px) {
  .admin-image-picker-upload {
    grid-template-columns: 1fr;
  }

  .admin-image-picker-item.is-file {
    grid-template-columns: 1fr;
  }

  .admin-image-picker-thumb-wrap {
    height: 130px;
  }

  .admin-image-picker-item-actions {
    justify-content: flex-start;
  }
}

/* User stats profile page */
.stats-profile-shell {
  border: 1px solid rgba(122, 75, 255, 0.3);
  border-radius: 18px;
  background:
    radial-gradient(circle at 12% 8%, rgba(43, 231, 255, 0.16), transparent 40%),
    radial-gradient(circle at 88% 0%, rgba(122, 75, 255, 0.2), transparent 36%),
    linear-gradient(165deg, rgba(14, 7, 34, 0.94), rgba(6, 10, 22, 0.95));
  padding: 16px;
}

.stats-profile-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.stats-avatar-wrap {
  width: 84px;
  height: 84px;
  border-radius: 999px;
  padding: 3px;
  background: linear-gradient(135deg, rgba(43, 231, 255, 0.72), rgba(122, 75, 255, 0.7));
}

.stats-avatar {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid rgba(7, 2, 19, 0.92);
}

.stats-profile-main {
  min-width: 0;
}

.stats-display-name {
  margin: 0;
  font-size: clamp(1.2rem, 4.2vw, 1.58rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #eff7ff;
}

.stats-username-row {
  margin-top: 5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.stats-username {
  margin: 0;
  color: rgba(168, 222, 255, 0.95);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  font-family: "Courier Prime", "Consolas", "Lucida Console", monospace;
  text-transform: lowercase;
  border: 1px solid rgba(43, 231, 255, 0.34);
  border-radius: 999px;
  background: rgba(6, 26, 43, 0.68);
  padding: 4px 10px;
}

.stats-share-btn {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(122, 75, 255, 0.45);
  border-radius: 9px;
  background: rgba(10, 4, 24, 0.74);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: border-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.stats-share-btn:hover {
  border-color: rgba(43, 231, 255, 0.56);
  color: #ddfbff;
  transform: translateY(-1px);
}

.stats-share-icon {
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1;
}

.stats-share-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  background: rgba(10, 4, 24, 0.94);
  border: 1px solid rgba(122, 75, 255, 0.45);
  color: var(--primary);
  font-size: 0.7rem;
  padding: 6px 10px;
  border-radius: 10px;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(4px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 3;
}

.stats-share-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 12px;
  width: 8px;
  height: 8px;
  background: rgba(10, 4, 24, 0.94);
  border-right: 1px solid rgba(122, 75, 255, 0.45);
  border-bottom: 1px solid rgba(122, 75, 255, 0.45);
  transform: translateY(-4px) rotate(45deg);
}

.stats-share-tooltip.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.stats-bio {
  margin: 6px 0 0;
  color: rgba(211, 223, 255, 0.92);
  line-height: 1.5;
}

.stats-count-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.stats-count-item {
  border: 1px solid rgba(122, 75, 255, 0.28);
  border-radius: 12px;
  background: rgba(9, 4, 24, 0.7);
  padding: 10px 8px;
  text-align: center;
}

.stats-count-value {
  display: block;
  font-size: 1.02rem;
  font-weight: 800;
  color: #e8fbff;
}

.stats-count-label {
  display: block;
  margin-top: 3px;
  font-size: 0.69rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(187, 201, 255, 0.86);
}

.stats-social-block {
  margin-top: 14px;
}

.stats-social-block .section-title {
  margin-bottom: 8px;
}

.stats-social-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stats-social-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(122, 75, 255, 0.34);
  background: rgba(12, 6, 30, 0.78);
  color: #dbe8ff;
  font-size: 0.73rem;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.stats-social-chip i {
  color: var(--primary);
  font-size: 0.9rem;
}

.stats-social-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(43, 231, 255, 0.58);
  color: #e9fdff;
}

.stats-game-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.stats-game-card {
  border: 1px solid rgba(122, 75, 255, 0.28);
  border-radius: 12px;
  background: rgba(10, 4, 25, 0.76);
  padding: 11px;
  color: #d9e6ff;
  display: grid;
  gap: 4px;
}

.stats-game-title {
  margin: 0 0 3px;
  font-size: 0.92rem;
  color: #f3f7ff;
}

.stats-game-card p {
  margin: 0;
}

.stats-earnings-line {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.stats-activity-list {
  display: grid;
  gap: 10px;
}

.stats-activity-item {
  border: 1px solid rgba(122, 75, 255, 0.25);
  border-radius: 12px;
  background: linear-gradient(150deg, rgba(12, 5, 31, 0.88), rgba(6, 10, 22, 0.9));
  padding: 11px;
  display: grid;
  gap: 8px;
}

.stats-activity-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.stats-activity-id {
  color: #dbf4ff;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.stats-activity-date {
  font-size: 0.71rem;
  color: rgba(177, 191, 242, 0.9);
}

.stats-activity-player {
  display: grid;
  gap: 2px;
  color: #e7eeff;
}

.stats-activity-player span {
  font-size: 0.74rem;
  color: rgba(188, 201, 242, 0.88);
}

.stats-activity-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}

.stats-activity-metrics > span {
  border: 1px solid rgba(122, 75, 255, 0.28);
  border-radius: 999px;
  background: rgba(13, 6, 32, 0.78);
  color: #d8e7ff;
  padding: 4px 8px;
  font-size: 0.7rem;
  letter-spacing: 0.03em;
}

.stats-win-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

@media (max-width: 760px) {
  .stats-profile-hero {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .stats-display-name,
  .stats-bio {
    text-align: center;
  }

  .stats-username-row {
    justify-content: center;
  }

  .stats-count-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats-game-grid {
    grid-template-columns: 1fr;
  }

  .stats-social-list {
    justify-content: center;
  }

  .stats-activity-top {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Admin user control page */
.user-control-summary-shell {
  border: 1px solid rgba(43, 231, 255, 0.24);
  background:
    radial-gradient(circle at 8% 8%, rgba(43, 231, 255, 0.14), transparent 38%),
    radial-gradient(circle at 92% 0%, rgba(122, 75, 255, 0.2), transparent 36%),
    linear-gradient(165deg, rgba(14, 7, 34, 0.94), rgba(6, 10, 22, 0.95));
}

.user-control-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.user-control-metric {
  border: 1px solid rgba(122, 75, 255, 0.28);
  border-radius: 12px;
  padding: 12px;
  background: rgba(10, 4, 25, 0.72);
}

.user-control-metric-label {
  font-size: 0.72rem;
  color: rgba(190, 205, 250, 0.82);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.user-control-metric-value {
  margin-top: 3px;
  font-size: 1.34rem;
  font-weight: 800;
  color: #e9fbff;
}

.user-control-search-form {
  display: grid;
  gap: 8px;
}

.user-control-search-label {
  font-size: 0.78rem;
  color: rgba(190, 205, 250, 0.88);
}

.user-control-search-row {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.user-control-search-input {
  flex: 1;
  min-width: 230px;
  border-radius: 10px;
  border: 1px solid rgba(122, 75, 255, 0.35);
  background: rgba(9, 4, 22, 0.85);
  color: var(--text);
  padding: 9px 10px;
}

.user-control-grid {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 12px;
}

.user-control-list-panel,
.user-control-detail-panel {
  border: 1px solid rgba(122, 75, 255, 0.25);
}

.user-control-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}

.user-control-user-list {
  display: grid;
  gap: 8px;
  max-height: 70vh;
  overflow: auto;
  padding-right: 2px;
}

.user-control-user-item {
  border: 1px solid rgba(122, 75, 255, 0.26);
  border-radius: 11px;
  padding: 9px;
  background: rgba(8, 3, 20, 0.7);
  display: grid;
  gap: 8px;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.user-control-user-item:hover,
.user-control-user-item.is-active {
  border-color: rgba(43, 231, 255, 0.45);
  background: rgba(8, 18, 32, 0.86);
  transform: translateY(-1px);
}

.user-control-user-main {
  display: grid;
  gap: 3px;
}

.user-control-user-name {
  font-weight: 700;
  color: #eef5ff;
}

.user-control-user-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.72rem;
  color: rgba(184, 199, 244, 0.88);
}

.user-control-user-side {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.user-control-status-chip {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #052113;
  background: linear-gradient(135deg, rgba(98, 255, 182, 0.92), rgba(43, 231, 255, 0.92));
}

.user-control-status-chip.is-blocked {
  color: #2d0808;
  background: linear-gradient(135deg, rgba(255, 122, 122, 0.9), rgba(255, 185, 96, 0.9));
}

.user-control-detail-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.user-control-user-identity {
  display: flex;
  gap: 10px;
  align-items: center;
}

.user-control-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 2px solid rgba(43, 231, 255, 0.4);
  object-fit: cover;
}

.user-control-mini-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.user-control-mini-stat {
  border: 1px solid rgba(122, 75, 255, 0.24);
  border-radius: 10px;
  background: rgba(10, 5, 24, 0.7);
  padding: 9px;
}

.user-control-mini-stat .label {
  font-size: 0.67rem;
  color: rgba(188, 202, 245, 0.84);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.user-control-mini-stat .value {
  margin-top: 2px;
  font-weight: 800;
  color: #ecf9ff;
}

.user-control-block {
  border: 1px solid rgba(122, 75, 255, 0.22);
  border-radius: 12px;
  background: rgba(7, 3, 20, 0.7);
  padding: 12px;
}

.user-control-block > h3 {
  margin: 0 0 10px;
  font-size: 0.98rem;
  color: #e9f4ff;
}

.user-control-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.user-control-form-grid .is-wide {
  grid-column: 1 / -1;
}

.user-control-form-grid label,
.user-control-form-card label {
  display: grid;
  gap: 4px;
}

.user-control-form-grid span,
.user-control-form-card span {
  font-size: 0.74rem;
  color: rgba(190, 205, 250, 0.9);
}

.user-control-form-grid input,
.user-control-form-grid select,
.user-control-form-grid textarea,
.user-control-form-card input,
.user-control-form-card select,
.user-control-form-card textarea,
.user-control-verify-form input,
.user-control-verify-form select {
  border-radius: 9px;
  border: 1px solid rgba(122, 75, 255, 0.32);
  background: rgba(10, 4, 24, 0.9);
  color: var(--text);
  padding: 8px 9px;
}

.user-control-two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.user-control-form-card {
  border: 1px solid rgba(122, 75, 255, 0.22);
  border-radius: 10px;
  background: rgba(11, 5, 27, 0.8);
  padding: 10px;
  display: grid;
  gap: 8px;
}

.user-control-form-card h4,
.user-control-history-box h4,
.user-control-snapshot-grid h4 {
  margin: 0;
  font-size: 0.88rem;
  color: #eff7ff;
}

.user-control-checkbox {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
}

.user-control-checkbox span {
  margin: 0;
}

.user-control-wallet-glance {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  color: rgba(196, 211, 248, 0.9);
}

.user-control-request-list {
  display: grid;
  gap: 8px;
}

.user-control-request-item {
  border: 1px solid rgba(122, 75, 255, 0.2);
  border-radius: 10px;
  background: rgba(6, 2, 18, 0.72);
  padding: 8px;
}

.user-control-request-item .line {
  font-size: 0.73rem;
  color: rgba(190, 203, 245, 0.9);
  margin-top: 2px;
}

.user-control-request-item .actions {
  margin-top: 7px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.user-control-verify-form {
  margin-top: 6px;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 6px;
}

.user-control-snapshot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.user-control-snapshot-grid p {
  margin: 4px 0 0;
  color: rgba(198, 211, 248, 0.92);
  font-size: 0.82rem;
}

.user-control-history-box {
  border: 1px solid rgba(122, 75, 255, 0.2);
  border-radius: 10px;
  background: rgba(9, 4, 22, 0.75);
  padding: 10px;
}

.user-control-history-list {
  margin-top: 7px;
  display: grid;
  gap: 7px;
}

.user-control-history-list .row-item {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  border: 1px solid rgba(122, 75, 255, 0.18);
  border-radius: 8px;
  background: rgba(6, 2, 18, 0.7);
  padding: 7px;
}

.user-control-history-list .row-item > div {
  display: grid;
  gap: 2px;
}

.user-control-history-list .row-item span {
  color: rgba(196, 210, 248, 0.9);
  font-size: 0.79rem;
}

.user-control-history-list .row-item small {
  color: rgba(161, 177, 223, 0.88);
  font-size: 0.7rem;
}

.user-control-player-list {
  display: grid;
  gap: 8px;
  max-height: 360px;
  overflow: auto;
  padding-right: 2px;
}

.user-control-player-item {
  border: 1px solid rgba(122, 75, 255, 0.2);
  border-radius: 9px;
  background: rgba(7, 3, 20, 0.7);
  padding: 8px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.user-control-player-item.is-active {
  border-color: rgba(43, 231, 255, 0.42);
  background: rgba(8, 18, 32, 0.82);
}

.user-control-player-item strong {
  color: #ebf7ff;
  font-size: 0.79rem;
}

.user-control-player-meta {
  margin-top: 2px;
  color: rgba(190, 203, 245, 0.9);
  font-size: 0.73rem;
}

@media (max-width: 980px) {
  .user-control-grid {
    grid-template-columns: 1fr;
  }

  .user-control-list-panel {
    order: 2;
  }

  .user-control-detail-panel {
    order: 1;
  }

  .user-control-mini-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .user-control-form-grid,
  .user-control-two-col,
  .user-control-snapshot-grid,
  .user-control-wallet-glance {
    grid-template-columns: 1fr;
  }

  .user-control-verify-form {
    grid-template-columns: 1fr;
  }
}
