/* SkyCrash user area — dark betting-platform skin (SportPesa-inspired) */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --scu-bg: #0a0e17;
  --scu-panel: #121a2b;
  --scu-panel-2: #182236;
  --scu-border: #243049;
  --scu-text: #eef1f6;
  --scu-muted: #8b95a8;
  --scu-accent: #2563eb;
  --scu-accent-hover: #1d4ed8;
  --scu-brand: #e30613;
  --scu-brand-hover: #c00510;
  --scu-blue: var(--scu-brand);
  --scu-blue-hover: var(--scu-brand-hover);
  --scu-yellow: var(--scu-brand);
  --scu-yellow-dark: var(--scu-brand-hover);
  --scu-green: #22c55e;
  --scu-red: #e30613;
  --scu-radius: 12px;
  --scu-radius-lg: 16px;
}

body.skycrash-user-shell {
  font-family: 'Inter', system-ui, sans-serif !important;
  background: var(--scu-bg) !important;
  color: var(--scu-text) !important;
  -webkit-font-smoothing: antialiased;
}

body.skycrash-user-shell .page-wrapper {
  background: var(--scu-bg);
}

body.skycrash-user-shell .inner-hero {
  display: none !important;
}

/* Minimal user header */
.sc-user-header {
  background: #0d1220;
  border-bottom: 1px solid var(--scu-border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.sc-user-header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 64px;
  padding: 10px 0;
}

.fendybet-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--scu-text);
}

.fendybet-logo__plane {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.fendybet-logo__text {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  color: #fff;
}

.fendybet-logo__accent {
  color: var(--scu-brand);
}

.sc-user-header__logo.fendybet-logo {
  flex-shrink: 0;
}

.sc-user-header__toggle {
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--scu-border);
  border-radius: 8px;
  color: var(--scu-text);
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  cursor: pointer;
}

.sc-user-header__collapse {
  flex: 1;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

@media (max-width: 1199px) {
  .sc-user-header__collapse {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding: 16px 0 8px;
    gap: 16px;
  }
}

.sc-user-header__nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

@media (max-width: 1199px) {
  .sc-user-header__nav {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
}

.sc-user-header__link {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--scu-muted) !important;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}

.sc-user-header__link:hover {
  color: var(--scu-text) !important;
  background: var(--scu-panel);
}

.sc-user-header__link.is-active {
  color: var(--scu-text) !important;
  background: rgba(37, 99, 235, 0.15);
  font-weight: 600;
}

.sc-user-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

@media (max-width: 1199px) {
  .sc-user-header__actions {
    justify-content: space-between;
    padding-top: 8px;
    border-top: 1px solid var(--scu-border);
  }
}

.sc-user-header__balance {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--scu-red);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
}

.sc-user-header__logout {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid var(--scu-border);
  color: var(--scu-muted) !important;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
  transition: border-color 0.15s, color 0.15s;
}

.sc-user-header__logout:hover {
  color: var(--scu-text) !important;
  border-color: #475569;
}

.sc-user-header__cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 8px;
  background: var(--scu-brand);
  color: #fff !important;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.15s;
}

.sc-user-header__cta:hover {
  background: var(--scu-brand-hover);
  color: #fff !important;
}

.sc-user-header__cta.is-active {
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.35);
}

.sc-user-header__logout.is-active {
  color: var(--scu-text) !important;
  border-color: #475569;
  background: var(--scu-panel);
}

body.skycrash-user-shell .footer {
  background: #0d1220 !important;
  border-top: 1px solid var(--scu-border);
}

body.skycrash-user-shell .footer,
body.skycrash-user-shell .footer a,
body.skycrash-user-shell .footer p {
  color: var(--scu-muted) !important;
}

body.skycrash-user-shell .sc-user-header .container,
body.skycrash-user-shell .sc-user-page > .container {
  width: 100%;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

@media (max-width: 575px) {
  body.skycrash-user-shell .sc-user-header .container,
  body.skycrash-user-shell .sc-user-page > .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

.sc-user-page {
  padding: 28px 0 48px;
}

.sc-user-page .pt-120,
.sc-user-page.pb-120 {
  padding-top: 28px !important;
  padding-bottom: 48px !important;
}

.sc-play-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  background: linear-gradient(135deg, #121a2b 0%, #1a2744 100%);
  border: 1px solid var(--scu-border);
  border-radius: var(--scu-radius-lg);
  padding: 28px 32px;
  margin-bottom: 24px;
}

.sc-play-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.15);
  color: #93c5fd;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.sc-play-hero h1 {
  font-size: 1.75rem;
  font-weight: 800;
  margin: 0 0 10px;
  color: var(--scu-text);
}

.sc-play-hero p {
  margin: 0;
  color: var(--scu-muted);
  max-width: 520px;
  line-height: 1.55;
  font-size: 0.95rem;
}

.sc-balance-pill {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
}

.sc-balance-pill__label {
  font-size: 0.75rem;
  color: var(--scu-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sc-balance-pill__amount {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--scu-red);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
}

.sc-play-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

@media (max-width: 767px) {
  .sc-play-grid {
    grid-template-columns: 1fr;
  }
}

.sc-action-card {
  background: var(--scu-panel);
  border: 1px solid var(--scu-border);
  border-radius: var(--scu-radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s, transform 0.2s;
}

.sc-action-card:hover {
  border-color: #334155;
  transform: translateY(-2px);
}

.sc-action-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
}

.sc-action-card--deposit .sc-action-card__icon {
  background: rgba(37, 99, 235, 0.15);
  color: #60a5fa;
}

.sc-action-card--play .sc-action-card__icon {
  background: rgba(245, 197, 24, 0.15);
  color: var(--scu-yellow);
}

.sc-action-card__step {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--scu-muted);
}

.sc-action-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
  color: var(--scu-text);
}

.sc-action-card p {
  margin: 0;
  color: var(--scu-muted);
  font-size: 0.88rem;
  line-height: 1.5;
  flex: 1;
}

.sc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  width: fit-content;
}

.sc-btn:hover {
  transform: translateY(-1px);
  color: inherit;
}

.sc-btn--primary {
  background: var(--scu-blue);
  color: #fff !important;
}

.sc-btn--primary:hover {
  background: var(--scu-blue-hover);
  color: #fff !important;
}

.sc-btn--launch {
  background: var(--scu-yellow);
  color: #111827 !important;
}

.sc-btn--launch:hover {
  background: var(--scu-yellow-dark);
  color: #111827 !important;
}

.sc-btn--ghost {
  background: transparent;
  color: var(--scu-muted) !important;
  border: 1px solid var(--scu-border);
}

.sc-btn--ghost:hover {
  color: var(--scu-text) !important;
  border-color: #475569;
}

.sc-panel {
  background: var(--scu-panel);
  border: 1px solid var(--scu-border);
  border-radius: var(--scu-radius-lg);
  padding: 24px 28px;
}

.sc-panel h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--scu-text);
}

.sc-steps {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  counter-reset: sc-step;
}

.sc-steps li {
  counter-increment: sc-step;
  position: relative;
  padding-left: 36px;
  margin-bottom: 12px;
  color: var(--scu-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.sc-steps li::before {
  content: counter(sc-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--scu-panel-2);
  border: 1px solid var(--scu-border);
  color: var(--scu-text);
  font-size: 0.75rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.sc-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Dashboard overrides */
body.skycrash-user-shell .d-widget,
body.skycrash-user-shell .dashbaord-widget-card,
body.skycrash-user-shell .card {
  background: var(--scu-panel) !important;
  border: 1px solid var(--scu-border) !important;
  border-radius: var(--scu-radius-lg) !important;
  box-shadow: none !important;
}

body.skycrash-user-shell .d-widget .title,
body.skycrash-user-shell .d-widget h2,
body.skycrash-user-shell .d-widget h4,
body.skycrash-user-shell .card h5,
body.skycrash-user-shell .game-name {
  color: var(--scu-text) !important;
}

body.skycrash-user-shell .d-widget p,
body.skycrash-user-shell .text-muted {
  color: var(--scu-muted) !important;
}

body.skycrash-user-shell .d-widget-icon {
  background: var(--scu-panel-2) !important;
  color: var(--scu-yellow) !important;
}

body.skycrash-user-shell .cmn-btn,
body.skycrash-user-shell .btn--base,
body.skycrash-user-shell .btn--capsule {
  background: var(--scu-blue) !important;
  border-color: var(--scu-blue) !important;
  color: #fff !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
}

body.skycrash-user-shell .btn-outline--base {
  background: transparent !important;
  border: 1px solid var(--scu-border) !important;
  color: var(--scu-muted) !important;
}

body.skycrash-user-shell .btn-outline--base:hover {
  color: var(--scu-text) !important;
  border-color: #475569 !important;
}

body.skycrash-user-shell .game-card {
  background: var(--scu-panel) !important;
  border: 1px solid var(--scu-border) !important;
  border-radius: var(--scu-radius-lg) !important;
  overflow: hidden;
}

body.skycrash-user-shell section.pt-120 {
  padding-top: 32px !important;
}

body.skycrash-user-shell section.pb-120 {
  padding-bottom: 48px !important;
}

.sc-dash-quick {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}

@media (max-width: 767px) {
  .sc-dash-quick {
    grid-template-columns: 1fr;
  }
}

.sc-dash-quick .sc-action-card {
  margin-bottom: 0;
}

.sc-dash-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

@media (max-width: 991px) {
  .sc-dash-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

.sc-stat-card {
  background: var(--scu-panel);
  border: 1px solid var(--scu-border);
  border-radius: var(--scu-radius);
  padding: 20px;
}

.sc-stat-card p {
  margin: 0 0 6px;
  font-size: 0.78rem;
  color: var(--scu-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sc-stat-card h2 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--scu-text);
}

.sc-stat-card--balance h2 {
  color: var(--scu-yellow);
}

/* Wallet layout — sidebar + center panel */
.sc-wallet-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

@media (max-width: 991px) {
  .sc-wallet-layout {
    grid-template-columns: 1fr;
  }
}

.sc-wallet-sidebar {
  background: var(--scu-panel);
  border: 1px solid var(--scu-border);
  border-radius: var(--scu-radius-lg);
  padding: 20px;
  position: sticky;
  top: 88px;
}

@media (max-width: 991px) {
  .sc-wallet-sidebar {
    position: static;
  }
}

.sc-wallet-sidebar__account {
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--scu-border);
}

.sc-wallet-sidebar__label {
  margin: 0 0 4px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--scu-muted);
}

.sc-wallet-sidebar__user {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--scu-text);
}

.sc-wallet-sidebar__meta {
  margin: 4px 0 0;
  font-size: 0.82rem;
  color: var(--scu-muted);
}

.sc-wallet-sidebar__balance {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--scu-border);
}

.sc-wallet-sidebar__balance-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--scu-muted);
}

.sc-wallet-sidebar__balance-amount {
  width: fit-content;
  font-size: 1rem !important;
  padding: 8px 14px !important;
}

.sc-wallet-sidebar__nav {
  margin-bottom: 16px;
}

.sc-wallet-sidebar__nav:last-child {
  margin-bottom: 0;
}

.sc-wallet-sidebar__nav-title {
  margin: 0 0 8px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--scu-muted);
}

.sc-wallet-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--scu-muted) !important;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
}

.sc-wallet-nav-item i {
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
}

.sc-wallet-nav-item:hover {
  background: var(--scu-panel-2);
  color: var(--scu-text) !important;
}

.sc-wallet-nav-item.is-active {
  background: rgba(37, 99, 235, 0.15);
  color: #93c5fd !important;
  font-weight: 600;
}

.sc-wallet-main {
  min-width: 0;
}

.sc-wallet-panel {
  background: var(--scu-panel);
  border: 1px solid var(--scu-border);
  border-radius: var(--scu-radius-lg);
  padding: 28px 32px;
}

.sc-wallet-panel__header {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--scu-border);
}

.sc-wallet-panel__title {
  margin: 0 0 8px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--scu-text);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.sc-wallet-panel__subtitle {
  margin: 0;
  font-size: 0.9rem;
  color: var(--scu-muted);
  line-height: 1.5;
}

/* Payment / withdraw form overrides */
body.skycrash-user-shell .sc-wallet-panel .gateway-card {
  padding: 0;
}

body.skycrash-user-shell .sc-wallet-panel .card {
  background: var(--scu-panel-2) !important;
  border: 1px solid var(--scu-border) !important;
  border-radius: var(--scu-radius) !important;
  overflow: hidden;
}

body.skycrash-user-shell .sc-wallet-panel .card-header {
  background: var(--scu-panel-2) !important;
  border-bottom: 1px solid var(--scu-border) !important;
  color: var(--scu-text) !important;
}

body.skycrash-user-shell .sc-wallet-panel .card-title {
  color: var(--scu-text) !important;
}

body.skycrash-user-shell .sc-wallet-panel .payment-system-list {
  --border-color: var(--scu-border);
  --hover-border-color: var(--scu-blue);
}

body.skycrash-user-shell .sc-wallet-panel .payment-item {
  border-color: var(--scu-border) !important;
  background: var(--scu-panel);
  cursor: pointer;
}

body.skycrash-user-shell .sc-wallet-panel .payment-item:first-child {
  border-top-color: var(--scu-border) !important;
}

body.skycrash-user-shell .sc-wallet-panel .payment-item:hover {
  background: var(--scu-panel-2);
  border-color: #334155 !important;
}

body.skycrash-user-shell .sc-wallet-panel .payment-item:has(.payment-item__radio:checked) {
  border-left: 3px solid var(--scu-blue) !important;
  background: rgba(37, 99, 235, 0.12);
}

body.skycrash-user-shell .sc-wallet-panel .payment-item__check {
  border-color: var(--scu-muted) !important;
}

body.skycrash-user-shell .sc-wallet-panel .payment-item:has(.payment-item__radio:checked) .payment-item__check {
  border-color: var(--scu-blue) !important;
  background: var(--scu-blue);
  box-shadow: inset 0 0 0 2px var(--scu-panel);
}

body.skycrash-user-shell .sc-wallet-panel .payment-item__name {
  color: var(--scu-text) !important;
}

body.skycrash-user-shell .sc-wallet-panel .payment-item__thumb {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

body.skycrash-user-shell .sc-wallet-panel .payment-item__thumb-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  background: #fff;
  border-radius: 5px;
  padding: 2px 6px;
}

body.skycrash-user-shell .sc-wallet-panel .payment-item__btn {
  border-color: var(--scu-border) !important;
  color: var(--scu-muted) !important;
}

body.skycrash-user-shell .sc-wallet-panel .payment-item__btn:hover {
  color: var(--scu-text) !important;
  background: var(--scu-panel-2);
}

body.skycrash-user-shell .sc-wallet-panel .payment-system-list.is-scrollable::-webkit-scrollbar-thumb {
  background-color: var(--scu-blue);
}

body.skycrash-user-shell .sc-wallet-panel .deposit-info__title .text,
body.skycrash-user-shell .sc-wallet-panel .deposit-info__input .text,
body.skycrash-user-shell .sc-wallet-panel .info-text .text {
  color: var(--scu-muted) !important;
}

body.skycrash-user-shell .sc-wallet-panel .total-amount .deposit-info__title .text {
  color: var(--scu-text) !important;
  font-weight: 600;
}

body.skycrash-user-shell .sc-wallet-panel .total-amount {
  border-top-color: var(--scu-border) !important;
}

body.skycrash-user-shell .sc-wallet-panel .deposit-info__input-group {
  border-color: var(--scu-border) !important;
  background: var(--scu-bg);
  border-radius: 8px;
}

body.skycrash-user-shell .sc-wallet-panel .deposit-info__input-group-text {
  background: transparent !important;
  border: none !important;
  color: var(--scu-muted) !important;
}

body.skycrash-user-shell .sc-wallet-panel .form--control {
  background: transparent !important;
  color: var(--scu-text) !important;
  border: none !important;
}

body.skycrash-user-shell .sc-wallet-panel .form--control:focus {
  box-shadow: none !important;
}

body.skycrash-user-shell .sc-wallet-panel hr {
  border-color: var(--scu-border);
  opacity: 1;
}

body.skycrash-user-shell .sc-wallet-panel .alert-info {
  background: rgba(37, 99, 235, 0.12) !important;
  border: 1px solid rgba(37, 99, 235, 0.3) !important;
  color: var(--scu-text) !important;
  border-radius: var(--scu-radius);
}

body.skycrash-user-shell .sc-wallet-panel .alert-info b,
body.skycrash-user-shell .sc-wallet-panel .text--success {
  color: var(--scu-green) !important;
}

body.skycrash-user-shell .sc-wallet-panel label {
  color: var(--scu-muted);
}

body.skycrash-user-shell .sc-wallet-panel .btn:disabled,
body.skycrash-user-shell .sc-wallet-panel .cmn-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Withdraw — screenshot-style single column */
.sc-withdraw-form {
  max-width: 520px;
  margin: 0 auto;
}

.sc-withdraw-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 8px;
}

@media (max-width: 480px) {
  .sc-withdraw-methods {
    grid-template-columns: 1fr;
  }
}

.sc-withdraw-method {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 72px;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid var(--scu-border);
  background: var(--scu-panel-2);
  color: var(--scu-text);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  text-align: center;
}

.sc-withdraw-method input {
  display: none;
}

.sc-withdraw-method:hover {
  border-color: #334155;
}

.sc-withdraw-method.is-active {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
}

.sc-withdraw-method.is-active .sc-withdraw-method__name {
  color: #fff;
}

.sc-withdraw-method__logo {
  max-height: 28px;
  max-width: 100px;
  width: auto;
  object-fit: contain;
}

.sc-withdraw-method.is-active .sc-withdraw-method__logo {
  filter: brightness(0) invert(1);
}

.sc-withdraw-method__name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--scu-text);
}

.sc-withdraw-divider {
  display: flex;
  justify-content: center;
  padding: 10px 0 18px;
  color: var(--scu-muted);
  font-size: 1.1rem;
}

.sc-withdraw-fields {
  border-top: 1px solid var(--scu-border);
  padding-top: 20px;
  margin-bottom: 8px;
}

.sc-withdraw-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--scu-text) !important;
}

.sc-withdraw-input {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  background: #fff !important;
  border: 1px solid #d1d5db !important;
  border-radius: 6px !important;
  color: #111827 !important;
  font-size: 0.95rem;
}

.sc-withdraw-input:focus {
  border-color: #2563eb !important;
  box-shadow: none !important;
  outline: none;
}

.sc-withdraw-input::placeholder {
  color: #9ca3af;
}

.sc-withdraw-amount {
  display: flex;
  align-items: stretch;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

.sc-withdraw-amount__prefix {
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  background: #f3f4f6;
  color: #6b7280;
  font-size: 0.88rem;
  font-weight: 600;
  border-right: 1px solid #d1d5db;
  flex-shrink: 0;
}

.sc-withdraw-input--amount {
  border: none !important;
  border-radius: 0 !important;
  flex: 1;
}

.sc-withdraw-hint {
  margin: 8px 0 0;
  font-size: 0.82rem;
  color: var(--scu-muted);
}

.sc-withdraw-fees {
  border-top: 1px solid var(--scu-border);
  padding-top: 16px;
  margin-bottom: 20px;
}

.sc-withdraw-fee {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(36, 48, 73, 0.6);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--scu-muted);
}

.sc-withdraw-fee:last-child {
  border-bottom: none;
}

.sc-withdraw-fee--total {
  color: var(--scu-text);
  padding-top: 14px;
}

.sc-withdraw-fee__value {
  color: var(--scu-text);
  font-weight: 700;
  white-space: nowrap;
}

.sc-withdraw-submit {
  min-height: 48px;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: #2563eb !important;
  border-color: #2563eb !important;
  border-radius: 8px !important;
}

.sc-withdraw-submit:hover:not(:disabled) {
  background: #1d4ed8 !important;
  border-color: #1d4ed8 !important;
}

body.skycrash-user-shell .sc-wallet-panel__header {
  text-align: center;
}

body.skycrash-user-shell .sc-wallet-panel__title {
  font-size: 1.5rem;
}

/* Tables & data pages */
.sc-table-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 16px;
}

.sc-table-toolbar .input-group {
  max-width: 320px;
  border: 1px solid var(--scu-border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--scu-bg);
}

.sc-table-toolbar .form-control {
  background: transparent !important;
  border: none !important;
  color: var(--scu-text) !important;
  box-shadow: none !important;
}

.sc-table-toolbar .input-group-text {
  background: var(--scu-blue) !important;
  border: none !important;
  color: #fff !important;
  cursor: pointer;
}

.sc-table-wrap .card,
.sc-table-wrap {
  background: var(--scu-panel-2) !important;
  border: 1px solid var(--scu-border) !important;
  border-radius: var(--scu-radius) !important;
  overflow: hidden;
}

body.skycrash-user-shell .sc-table-wrap .table,
body.skycrash-user-shell .sc-table-wrap table {
  margin: 0;
  color: var(--scu-text);
}

body.skycrash-user-shell .sc-table-wrap thead th {
  background: var(--scu-panel) !important;
  color: var(--scu-muted) !important;
  border-color: var(--scu-border) !important;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 14px 16px;
  white-space: nowrap;
}

body.skycrash-user-shell .sc-table-wrap tbody td {
  background: transparent !important;
  border-color: var(--scu-border) !important;
  color: var(--scu-text) !important;
  padding: 14px 16px;
  vertical-align: middle;
}

body.skycrash-user-shell .sc-table-wrap tbody tr:hover td {
  background: rgba(255, 255, 255, 0.02) !important;
}

body.skycrash-user-shell .sc-table-wrap .text--base {
  color: #93c5fd !important;
}

body.skycrash-user-shell .sc-table-wrap .text--danger {
  color: var(--scu-red) !important;
}

body.skycrash-user-shell .sc-table-wrap .card-footer {
  background: var(--scu-panel) !important;
  border-top: 1px solid var(--scu-border) !important;
}

body.skycrash-user-shell .sc-table-wrap .pagination .page-link {
  background: var(--scu-panel) !important;
  border-color: var(--scu-border) !important;
  color: var(--scu-muted) !important;
}

body.skycrash-user-shell .sc-table-wrap .pagination .page-item.active .page-link {
  background: var(--scu-blue) !important;
  border-color: var(--scu-blue) !important;
  color: #fff !important;
}

body.skycrash-user-shell .sc-empty-row td {
  text-align: center !important;
  color: var(--scu-muted) !important;
  padding: 48px 16px !important;
}

/* Filter card */
body.skycrash-user-shell .responsive-filter-card,
body.skycrash-user-shell .sc-filter-card {
  background: var(--scu-panel-2) !important;
  border: 1px solid var(--scu-border) !important;
  border-radius: var(--scu-radius) !important;
}

body.skycrash-user-shell .responsive-filter-card .form-label,
body.skycrash-user-shell .sc-filter-card .form-label {
  color: var(--scu-muted) !important;
}

body.skycrash-user-shell .responsive-filter-card .form-control,
body.skycrash-user-shell .sc-filter-card .form-control,
body.skycrash-user-shell .sc-wallet-panel .form-control:not(.form--control) {
  background: var(--scu-bg) !important;
  border: 1px solid var(--scu-border) !important;
  color: var(--scu-text) !important;
  border-radius: 8px;
}

/* Modals */
body.skycrash-user-shell .modal-content.section--bg,
body.skycrash-user-shell .modal-content {
  background: var(--scu-panel) !important;
  border: 1px solid var(--scu-border) !important;
  color: var(--scu-text) !important;
}

body.skycrash-user-shell .modal-header {
  border-bottom-color: var(--scu-border) !important;
}

body.skycrash-user-shell .modal-header .modal-title {
  color: var(--scu-text) !important;
}

body.skycrash-user-shell .list-group-item {
  background: transparent !important;
  border-color: var(--scu-border) !important;
  color: var(--scu-text) !important;
}

/* Sunfyre transaction table */
body.skycrash-user-shell .transection-table thead th {
  background: var(--scu-panel) !important;
  color: var(--scu-muted) !important;
  border-color: var(--scu-border) !important;
}

body.skycrash-user-shell .transection-table tbody td {
  border-color: var(--scu-border) !important;
  color: var(--scu-text) !important;
}

body.skycrash-user-shell .latest-transection {
  background: var(--scu-panel-2) !important;
  border: 1px solid var(--scu-border) !important;
  border-radius: var(--scu-radius) !important;
  overflow: hidden;
}

/* Wider column for sidebar layouts */
body.skycrash-user-shell .sc-user-page > .container:has(.sc-wallet-layout) {
  max-width: 1280px;
}

/* Panel pages without wallet sidebar */
.sc-panel--page {
  background: var(--scu-panel);
  border: 1px solid var(--scu-border);
  border-radius: var(--scu-radius-lg);
  padding: 28px 32px;
  margin-bottom: 0;
}

/* Neutralize legacy page spacing inside shell */
body.skycrash-user-shell .pt-120,
body.skycrash-user-shell .pb-120,
body.skycrash-user-shell .py-100 {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Global card/table fixes inside user shell */
body.skycrash-user-shell .sc-user-page .custom--card,
body.skycrash-user-shell .sc-user-page .card:not(.responsive-filter-card) {
  background: var(--scu-panel-2) !important;
  border: 1px solid var(--scu-border) !important;
  border-radius: var(--scu-radius) !important;
  color: var(--scu-text);
}

body.skycrash-user-shell .sc-user-page .card-header,
body.skycrash-user-shell .sc-user-page .card-header-bg {
  background: var(--scu-panel) !important;
  border-bottom: 1px solid var(--scu-border) !important;
  color: var(--scu-text) !important;
}

body.skycrash-user-shell .sc-user-page .table thead th,
body.skycrash-user-shell .sc-user-page .style--two thead th {
  background: var(--scu-panel) !important;
  color: var(--scu-muted) !important;
  border-color: var(--scu-border) !important;
}

body.skycrash-user-shell .sc-user-page .table tbody td,
body.skycrash-user-shell .sc-user-page .style--two tbody td {
  border-color: var(--scu-border) !important;
  color: var(--scu-text) !important;
}

body.skycrash-user-shell .sc-user-page .form--control,
body.skycrash-user-shell .sc-user-page .form-control {
  background: var(--scu-bg) !important;
  border: 1px solid var(--scu-border) !important;
  color: var(--scu-text) !important;
  border-radius: 8px;
}

body.skycrash-user-shell .sc-user-page label,
body.skycrash-user-shell .sc-user-page .form-label,
body.skycrash-user-shell .sc-user-page .form--label {
  color: var(--scu-muted) !important;
}

body.skycrash-user-shell .sc-user-page .alert-primary,
body.skycrash-user-shell .sc-user-page .alert-info {
  background: rgba(37, 99, 235, 0.12) !important;
  border: 1px solid rgba(37, 99, 235, 0.3) !important;
  color: var(--scu-text) !important;
}

body.skycrash-user-shell .sc-user-page .badge--success,
body.skycrash-user-shell .sc-user-page .text--success {
  color: var(--scu-green) !important;
}

body.skycrash-user-shell .sc-user-page .badge--danger,
body.skycrash-user-shell .sc-user-page .text--danger {
  color: var(--scu-red) !important;
}

body.skycrash-user-shell .sc-user-page .base--bg,
body.skycrash-user-shell .sc-user-page .btn.base--bg {
  background: var(--scu-blue) !important;
  border-color: var(--scu-blue) !important;
  color: #fff !important;
}

/* Dashboard game grid */
body.skycrash-user-shell .games-section.pt-100 {
  padding-top: 24px !important;
}

body.skycrash-user-shell .games-section .game-card {
  background: var(--scu-panel) !important;
  border: 1px solid var(--scu-border) !important;
  border-radius: var(--scu-radius-lg) !important;
}

/* Referral tree */
body.skycrash-user-shell .treeview li {
  color: var(--scu-text);
}

body.skycrash-user-shell .referralURL,
body.skycrash-user-shell .sc-user-page .input-group {
  border-radius: 8px;
  overflow: hidden;
}

body.skycrash-user-shell .sc-user-page .input-group .form-control {
  border-right: none !important;
}

body.skycrash-user-shell .sc-user-page .input-group-text {
  background: var(--scu-blue) !important;
  border: none !important;
  color: #fff !important;
}

/* Select2 dark theme */
body.skycrash-user-shell .select2-container--default .select2-selection--single {
  background: var(--scu-bg) !important;
  border: 1px solid var(--scu-border) !important;
  height: 44px !important;
}

body.skycrash-user-shell .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: var(--scu-text) !important;
  line-height: 42px !important;
}

body.skycrash-user-shell .select2-dropdown {
  background: var(--scu-panel) !important;
  border-color: var(--scu-border) !important;
}

body.skycrash-user-shell .select2-results__option--highlighted.select2-results__option--selectable {
  background: var(--scu-blue) !important;
}

/* Nested sections inside wallet panel */
body.skycrash-user-shell .sc-wallet-panel > .sc-play-hero {
  background: transparent;
  border: none;
  padding: 0;
  margin-bottom: 20px;
}

body.skycrash-user-shell .sc-wallet-panel .games-section {
  padding-top: 0 !important;
}

/* Guest auth pages — deposit-style shell */
body.skycrash-guest-auth {
  font-family: 'Inter', system-ui, sans-serif !important;
  background: var(--scu-bg) !important;
  color: var(--scu-text) !important;
}

body.skycrash-guest-auth .preloader {
  background: var(--scu-bg) !important;
}

body.skycrash-guest-auth .sc-user-header .container,
body.skycrash-guest-auth .sc-auth-page .container {
  width: 100%;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.sc-auth-page {
  padding: 40px 0 56px;
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.sc-auth-card {
  max-width: 440px;
  margin: 0 auto;
  width: 100%;
}

.sc-auth-card:has(.sc-auth-register) {
  max-width: 560px;
}

.sc-auth-register {
  position: relative;
}

.sc-auth-register.is-disabled .sc-auth-form,
.sc-auth-register.is-disabled .social-login,
.sc-auth-register.is-disabled .sc-auth-form__footer {
  pointer-events: none;
  opacity: 0.45;
  filter: blur(1px);
}

.sc-auth-register__lock {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  color: var(--scu-text);
  font-weight: 600;
}

.sc-auth-register__lock i {
  font-size: 2.5rem;
  color: var(--scu-brand);
}

.sc-auth-register__lock p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--scu-muted);
}

.sc-auth-form .form--check,
.sc-auth-form .form-check-label {
  color: var(--scu-muted) !important;
  font-size: 0.86rem;
  line-height: 1.5;
}

.sc-auth-card__body {
  padding-top: 4px;
}

.sc-auth-form .form-group {
  margin-bottom: 18px;
}

.sc-auth-form .form--label,
.sc-auth-form .form-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--scu-muted) !important;
}

.sc-auth-form .form--control {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  background: var(--scu-bg) !important;
  border: 1px solid var(--scu-border) !important;
  border-radius: 8px !important;
  color: var(--scu-text) !important;
  font-size: 0.92rem;
}

.sc-auth-form .form--control::placeholder {
  color: #5c6778;
}

.sc-auth-form .form--control:focus {
  border-color: var(--scu-brand) !important;
  box-shadow: none !important;
  outline: none;
}

.sc-auth-form__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.sc-auth-form__row .form--check,
.sc-auth-form__row .form-check-label {
  color: var(--scu-muted) !important;
  font-size: 0.88rem;
}

.sc-auth-form__link {
  color: #93c5fd !important;
  font-size: 0.88rem;
  text-decoration: none;
}

.sc-auth-form__link:hover {
  color: var(--scu-text) !important;
}

.sc-auth-form__submit {
  min-height: 46px;
  font-weight: 600 !important;
  border-radius: 8px !important;
}

.sc-auth-form__footer {
  margin: 20px 0 0;
  text-align: center;
  font-size: 0.88rem;
  color: var(--scu-muted);
}

.sc-auth-form__footer a {
  color: #93c5fd !important;
  font-weight: 600;
  text-decoration: none;
}

.sc-auth-form__footer a:hover {
  color: var(--scu-text) !important;
}

.sc-auth-form__hint {
  margin: 0 0 16px;
  font-size: 0.88rem;
  color: var(--scu-muted);
  word-break: break-word;
}

body.skycrash-guest-auth .verification-code-wrapper,
body.skycrash-guest-auth .verification-area {
  width: 100%;
}

body.skycrash-guest-auth .verification-code-wrapper {
  background: transparent;
  border: 0;
  padding: 0;
}

body.skycrash-guest-auth .verification-code span {
  background: var(--scu-bg) !important;
  border: 1px solid var(--scu-border) !important;
  color: var(--scu-text) !important;
}

body.skycrash-guest-auth .verification-code::after {
  background: var(--scu-bg);
}

body.skycrash-guest-auth .sc-auth-form .try-again-link {
  color: #93c5fd !important;
  text-decoration: none;
  font-weight: 600;
}

body.skycrash-guest-auth .sc-auth-form .try-again-link:hover {
  color: var(--scu-text) !important;
}

body.skycrash-guest-auth .btn--gradient,
body.skycrash-guest-auth .btn--base {
  background: var(--scu-brand) !important;
  border-color: var(--scu-brand) !important;
  color: #fff !important;
}

body.skycrash-guest-auth .social-login {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--scu-border);
}

/* Support tickets */
.sc-ticket-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 16px;
}

.sc-ticket-link {
  color: var(--scu-text);
  text-decoration: none;
  font-weight: 500;
}

.sc-ticket-link:hover {
  color: #93c5fd;
}

.sc-ticket-link__id {
  color: var(--scu-muted);
  font-weight: 600;
  margin-right: 6px;
}

.sc-table-wrap__footer {
  padding: 16px;
  border-top: 1px solid var(--scu-border);
}

.sc-ticket-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
}

.sc-ticket-empty i {
  font-size: 2rem;
  color: var(--scu-muted);
}

.sc-ticket-empty p {
  margin: 0;
  color: var(--scu-muted);
}

.sc-ticket-form {
  padding: 24px;
}

.sc-ticket-form__hint {
  margin: 10px 0 0;
  font-size: 0.8rem;
  color: var(--scu-muted);
  line-height: 1.5;
}

.sc-ticket-file .input-group-text {
  background: rgba(227, 6, 19, 0.15) !important;
  border: 1px solid rgba(227, 6, 19, 0.35) !important;
  color: var(--scu-red) !important;
  cursor: pointer;
}

.sc-ticket-file .form--control[type="file"] {
  line-height: 1.4;
  padding-top: 10px;
}

.sc-ticket-view__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px 24px;
  margin-bottom: 16px;
}

.sc-ticket-view__subject {
  margin: 8px 0 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--scu-text);
}

.sc-ticket-reply {
  padding: 24px;
  margin-bottom: 20px;
}

.sc-ticket-thread__title {
  margin: 0 0 14px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--scu-text);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sc-ticket-messages {
  display: grid;
  gap: 12px;
}

.sc-support-card {
  background: var(--scu-panel-2);
  border: 1px solid var(--scu-border);
  border-radius: var(--scu-radius);
  overflow: hidden;
}

.sc-support-card.is-staff {
  border-color: rgba(37, 99, 235, 0.35);
}

.sc-support-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 18px;
  border-bottom: 1px solid var(--scu-border);
  background: var(--scu-panel);
}

.sc-support-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sc-support-card__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--scu-bg);
  border: 1px solid var(--scu-border);
  color: var(--scu-red);
  font-weight: 700;
  font-size: 0.9rem;
}

.sc-support-card.is-staff .sc-support-card__avatar {
  color: var(--scu-blue);
}

.sc-support-card__name {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--scu-text);
}

.sc-support-card__role {
  font-size: 0.75rem;
  color: var(--scu-muted);
}

.sc-support-card__date {
  font-size: 0.78rem;
  color: var(--scu-muted);
}

.sc-support-card__body {
  padding: 16px 18px;
}

.sc-support-card__text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--scu-muted);
  white-space: pre-wrap;
}

.sc-support-card__files {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}

.sc-support-card__files a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--scu-bg);
  border: 1px solid var(--scu-border);
  color: #93c5fd;
  font-size: 0.82rem;
  text-decoration: none;
}

.sc-support-card__files a:hover {
  color: var(--scu-text);
  border-color: #4a5568;
}

body.skycrash-user-shell .sc-table-wrap .badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 6px;
}

body.skycrash-user-shell .sc-wallet-panel .select2-container--default .select2-selection--single {
  background-color: var(--scu-bg) !important;
  border: 1px solid var(--scu-border) !important;
  border-radius: 8px !important;
  min-height: 46px !important;
  height: auto !important;
}

body.skycrash-user-shell .sc-wallet-panel .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: var(--scu-text) !important;
  line-height: 44px !important;
  padding-left: 14px;
}

body.skycrash-user-shell .sc-wallet-panel .select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 10px !important;
}

body.skycrash-user-shell .select2-dropdown {
  background-color: var(--scu-panel);
  border: 1px solid var(--scu-border);
}

body.skycrash-user-shell .select2-results__option {
  color: var(--scu-text);
}

body.skycrash-user-shell .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
  background-color: var(--scu-blue) !important;
}

/* Game history */
body.skycrash-user-shell .sc-game-log-table thead th {
  font-size: 0.72rem;
  padding: 11px 12px;
}

body.skycrash-user-shell .sc-game-log-table tbody td {
  font-size: 0.82rem;
  padding: 11px 12px;
}

body.skycrash-user-shell .sc-game-log-table tbody td:first-child,
body.skycrash-user-shell .sc-game-log-table tbody td:nth-child(4),
body.skycrash-user-shell .sc-game-log-table tbody td:nth-child(5) {
  white-space: nowrap;
}

body.skycrash-user-shell .sc-game-log-table .badge {
  font-size: 0.68rem;
  padding: 4px 8px;
}

.sc-game-log-table .sc-game-log-result {
  max-width: 220px;
  white-space: normal;
  line-height: 1.4;
  font-size: 0.78rem;
  color: var(--scu-muted);
  word-break: normal;
}

.sc-game-log-result__muted {
  color: var(--scu-muted);
}