:root {
  --bg: #050505;
  --surface: #0d0d0d;
  --surface-2: #151515;
  --card-bg: rgba(255, 255, 255, 0.045);
  --card-border: rgba(255, 255, 255, 0.13);
  --text: #f5f5f5;
  --text-dim: rgba(255, 255, 255, 0.58);
  --accent: #ffffff;
  --accent-light: #f2f2f2;
  --accent2: #d8d8d8;
  --accent3: #b6b6b6;
  --blue: #d0d0d0;
  --cyan: #eeeeee;
  --gold: #ffffff;
  --danger: #f87171;
  --success: #e7e7e7;
  --radius: 8px;
  --shadow-soft: 0 18px 60px rgba(0, 0, 0, 0.36);
  --shadow-card: 0 12px 42px rgba(0, 0, 0, 0.28);
  --auth-glow: rgba(255, 255, 255, 0.12);
  --yk-ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --yk-ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

* {
  letter-spacing: 0 !important;
}

html {
  color-scheme: dark;
  background: #050505;
  scroll-behavior: smooth;
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 320px),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.055), transparent 420px),
    #050505 !important;
  color: var(--text) !important;
  text-rendering: geometricPrecision;
  max-width: 100vw;
  overflow-x: hidden;
  transition: background 420ms ease, color 420ms ease;
}

html.yk-theme-animating,
html.yk-theme-animating body,
html.yk-theme-animating header,
html.yk-theme-animating nav,
html.yk-theme-animating .nav,
html.yk-theme-animating .topbar,
html.yk-theme-animating .auth-screen,
html.yk-theme-animating .yk-auth-visual,
html.yk-theme-animating .auth-box,
html.yk-theme-animating .card,
html.yk-theme-animating .stat-card,
html.yk-theme-animating .feature-card,
html.yk-theme-animating .pricing-card,
html.yk-theme-animating .product-card,
html.yk-theme-animating .hub-mini-stat,
html.yk-theme-animating .dash-section,
html.yk-theme-animating .shop-item,
html.yk-theme-animating .store-card,
html.yk-theme-animating .modal-box,
html.yk-theme-animating .form-input,
html.yk-theme-animating .search-input,
html.yk-theme-animating .sort-select,
html.yk-theme-animating .yk-theme-toggle,
html.yk-theme-animating .yk-window-panel,
html.yk-theme-animating h1,
html.yk-theme-animating h2,
html.yk-theme-animating h3,
html.yk-theme-animating p,
html.yk-theme-animating span,
html.yk-theme-animating strong,
html.yk-theme-animating label,
html.yk-theme-animating a,
html.yk-theme-animating button,
html.yk-theme-animating input,
html.yk-theme-animating select,
html.yk-theme-animating textarea {
  transition:
    background-color 420ms ease,
    background 420ms ease,
    border-color 420ms ease,
    color 420ms ease,
    box-shadow 420ms ease,
    filter 420ms ease,
    opacity 420ms ease !important;
}

.yk-theme-flash {
  position: fixed;
  inset: 0;
  z-index: 4999;
  pointer-events: none;
  background: var(--yk-flash-bg);
  opacity: 0.16;
  clip-path: circle(0 at var(--yk-flash-x) var(--yk-flash-y));
}

.yk-theme-flash.active {
  animation: yk-theme-wipe 700ms cubic-bezier(.16, 1, .3, 1) forwards;
}

@keyframes yk-theme-wipe {
  0% {
    opacity: 0.22;
    clip-path: circle(0 at var(--yk-flash-x) var(--yk-flash-y));
  }
  55% {
    opacity: 0.16;
    clip-path: circle(150vmax at var(--yk-flash-x) var(--yk-flash-y));
  }
  100% {
    opacity: 0;
    clip-path: circle(150vmax at var(--yk-flash-x) var(--yk-flash-y));
  }
}

body::before,
body::after {
  display: none !important;
}

.glow-orbs,
.glow-orb {
  display: none !important;
}

#scene {
  filter: grayscale(1) contrast(0.95) !important;
  opacity: 0.72;
}

::selection {
  background: #ffffff;
  color: #000000;
}

a {
  color: #ffffff;
  text-underline-offset: 3px;
}

.container,
.content,
.dashboard,
main,
section {
  position: relative;
  max-width: 100vw;
}

.hero h1 {
  font-size: 5rem !important;
}

@media (min-width: 1120px) {
  .hero h1 {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-desc {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
  }

  .floating-card {
    width: 250px !important;
    right: 32px !important;
  }
}

header,
nav,
.nav,
.topbar,
.sidebar,
.auth-box,
.modal-box,
.preview-modal-header,
.stat-card,
.card,
.feature-card,
.pricing-card,
.dashboard-card,
.landing-section,
.visits-section,
.shop-item,
.store-card,
.script-options-box,
.action-status,
.deposit-modal-box,
.chain-card,
.form-input,
.search-input,
.sort-select,
.filter-pill,
.btn,
.nav-cta,
.action-btn,
.shop-btn,
.shop-filter-btn,
.deposit-amount-btn {
  border-radius: var(--radius) !important;
}

header,
nav,
.nav,
.topbar {
  background: rgba(11, 11, 11, 0.88) !important;
  border: 1px solid rgba(255, 255, 255, 0.11) !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset, var(--shadow-soft) !important;
  backdrop-filter: blur(18px) saturate(1.1) !important;
}

nav {
  gap: 26px !important;
}

nav .logo,
nav .nav-logo {
  flex: 0 0 auto;
  margin-right: 10px;
}

nav .nav-right,
nav .nav-buttons {
  margin-left: auto;
}

.logo-icon,
.nav-logo-icon,
.auth-logo-icon {
  background: #ffffff !important;
  color: #050505 !important;
  box-shadow: none !important;
}

.yk-brand-logo {
  width: 38px !important;
  height: 38px !important;
  display: block !important;
  flex: 0 0 auto;
  object-fit: contain;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.auth-logo .yk-brand-logo {
  margin-right: 2px;
}

.fc-avatar {
  color: #050505 !important;
  font-size: 0.7rem !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
}

.auth-screen {
  --yk-auth-panel: min(760px, calc((100vw - 130px) * 0.56));
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
  min-height: 100svh;
  align-items: center !important;
  justify-content: center !important;
  gap: 42px;
  padding: 34px !important;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.09), transparent 260px),
    radial-gradient(circle at 84% 78%, rgba(255, 255, 255, 0.07), transparent 320px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.025), transparent 42%),
    #050505 !important;
}

.yk-auth-visual {
  position: relative;
  z-index: 1;
  width: var(--yk-auth-panel);
  max-width: var(--yk-auth-panel);
  min-height: 720px;
  border-radius: 32px;
  overflow: hidden;
  padding: 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background:
    radial-gradient(circle at var(--yk-mx, 50%) var(--yk-my, 40%), rgba(255, 255, 255, 0.16), transparent 30%),
    radial-gradient(circle at 52% 24%, rgba(255, 255, 255, 0.1), transparent 250px),
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025));
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    0 34px 120px rgba(0, 0, 0, 0.52),
    0 0 62px rgba(255, 255, 255, 0.08) inset;
  backdrop-filter: blur(24px) saturate(1.08);
  contain: paint;
  transform: perspective(1200px) rotateX(var(--yk-tilt-x, 0deg)) rotateY(var(--yk-tilt-y, 0deg)) translate3d(0, 0, 0);
  transition: transform 180ms ease, border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
  will-change: transform;
}

.yk-auth-visual:hover {
  border-color: rgba(255, 255, 255, 0.38);
  box-shadow:
    0 42px 140px rgba(0, 0, 0, 0.62),
    0 0 86px rgba(255, 255, 255, 0.16) inset,
    0 0 42px rgba(255, 255, 255, 0.1);
}

.yk-auth-visual::before {
  content: "";
  position: absolute;
  inset: -42%;
  background:
    repeating-linear-gradient(90deg, transparent 0 28px, rgba(255,255,255,0.09) 29px, transparent 31px),
    repeating-linear-gradient(0deg, transparent 0 34px, rgba(255,255,255,0.06) 35px, transparent 37px),
    linear-gradient(125deg, transparent 0 43%, rgba(255,255,255,0.14) 47%, rgba(255,255,255,0.04) 51%, transparent 56%),
    linear-gradient(55deg, transparent 0 48%, rgba(220,240,255,0.1) 50%, transparent 54%);
  background-size: auto, auto, 180px 180px, 240px 240px;
  animation: yk-auth-grid 16s linear infinite;
  opacity: 0.74;
  filter: drop-shadow(0 0 10px rgba(255,255,255,0.24));
  mix-blend-mode: screen;
  mask-image: radial-gradient(ellipse at 50% 42%, #000 0 66%, transparent 100%);
  transition: opacity 220ms ease, filter 220ms ease;
}

.yk-auth-visual:hover::before {
  opacity: 0.96;
  filter: drop-shadow(0 0 18px rgba(255,255,255,0.36));
}

@keyframes yk-auth-grid {
  to { transform: translate3d(48px, 48px, 0); }
}

/* Line animation canvas — fills full panel */
.yk-auth-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 1;
  mix-blend-mode: screen;
}

/* Cursor-follow radial glow */
.yk-auth-cursor-glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle 220px at var(--yk-mx, 50%) var(--yk-my, 50%), rgba(255, 255, 255, 0.3), rgba(210, 235, 255, 0.14) 32%, transparent 66%);
  opacity: 0;
  transition: opacity 0.35s;
  mix-blend-mode: screen;
}

.yk-auth-visual.yk-spotlight-target .yk-auth-cursor-glow {
  opacity: 1;
}

/* Headline block — frosted card floating over the lines */
.yk-auth-headline {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: center;
  text-align: center;
  padding: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  border: 0;
  transform: none;
  transition: transform 220ms ease;
  pointer-events: none;
}

.yk-auth-visual:hover .yk-auth-headline {
  transform: scale(1.01);
}

.yk-auth-kicker {
  display: inline-flex;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.7rem;
  font-weight: 900;
}

.yk-lock-title {
  margin: 0;
  color: #ffffff;
  font-size: clamp(4.4rem, 7.2vw, 6.25rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.95;
  text-align: center;
  text-shadow: none;
}

/* Rotating tagline — smooth blur/fade swap */
.yk-rotating {
  transition:
    opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    filter 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform, filter;
}
.yk-rotating.is-swapping {
  opacity: 0;
  transform: translateY(-16px);
  filter: blur(8px);
}

.yk-lock-sub {
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.875rem;
  letter-spacing: 0.025em;
}

/* Floating translucent chips */
.yk-auth-chip {
  position: absolute;
  z-index: 3;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px) saturate(1.3);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.76);
  white-space: nowrap;
  pointer-events: none;
}

.yk-chip-1 { top: 13%;    left: 8%;  animation: yk-chip-float 5.4s ease-in-out infinite; }
.yk-chip-2 { top: 16%;    right: 8%; animation: yk-chip-float 6.8s ease-in-out -2.1s infinite; }
.yk-chip-3 { bottom: 14%; left: 7%;  animation: yk-chip-float 7.2s ease-in-out -4.1s infinite; }
.yk-chip-4 { bottom: 10%; right: 7%; animation: yk-chip-float 5.8s ease-in-out -1.2s infinite; }

@keyframes yk-chip-float {
  0%, 100% { transform: translateY(0);     }
  50%       { transform: translateY(-10px); }
}

.auth-screen::before {
  content: "";
  position: absolute;
  inset: -20%;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 50% 42%, black, transparent 68%);
  animation: yk-grid-drift 18s linear infinite;
  z-index: 0;
}

.auth-screen::after {
  content: "";
  position: absolute;
  width: min(620px, 78vw);
  aspect-ratio: 1;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 0 80px rgba(255, 255, 255, 0.035),
    0 0 90px rgba(255, 255, 255, 0.035);
  z-index: 0;
}

@keyframes yk-grid-drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(42px, 42px, 0); }
}

.auth-box {
  position: relative;
  z-index: 1;
  width: var(--yk-auth-panel) !important;
  max-width: var(--yk-auth-panel) !important;
  min-height: 720px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 54px !important;
  border-radius: 28px !important;
  background:
    radial-gradient(circle at var(--yk-mx, 50%) var(--yk-my, 0%), rgba(255, 255, 255, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.098), rgba(255, 255, 255, 0.036)) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  box-shadow:
    0 30px 110px rgba(0, 0, 0, 0.62),
    0 1px 0 rgba(255, 255, 255, 0.1) inset !important;
  backdrop-filter: blur(28px) saturate(1.15) !important;
  contain: paint;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-box::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,0.38), transparent 28%, rgba(255,255,255,0.16) 62%, transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.auth-logo {
  margin-bottom: 34px !important;
}

.auth-logo-icon {
  width: 42px !important;
  height: 42px !important;
  border-radius: 14px !important;
}

.auth-title {
  font-size: 2rem !important;
  letter-spacing: 0 !important;
}

.auth-sub {
  font-size: 0.95rem !important;
  line-height: 1.55;
}

.auth-box .form-label {
  color: var(--text-dim) !important;
  font-size: 0.75rem !important;
  text-transform: uppercase;
  font-weight: 900 !important;
}

.auth-box .form-input {
  min-height: 52px;
  border-radius: 18px !important;
  background: rgba(255, 255, 255, 0.07) !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
  font-size: 0.95rem;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.auth-box .form-input:hover {
  background: rgba(255, 255, 255, 0.095) !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
}

.auth-box .form-input:focus {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.62) !important;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.12), 0 16px 42px rgba(0, 0, 0, 0.28) !important;
}

textarea.form-input {
  min-height: 96px;
  resize: vertical;
  line-height: 1.45;
}

.auth-box .btn,
.auth-box .btn-primary {
  width: 100%;
  min-height: 54px;
  margin-top: 6px;
  font-size: 0.94rem;
}

.auth-toggle {
  line-height: 1.7;
}

.auth-toggle a {
  color: var(--text) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.32);
  transition: color 160ms ease, border-color 160ms ease;
}

.auth-toggle a:hover {
  color: #ffffff !important;
  border-color: #ffffff;
}

.card,
.stat-card,
.feature-card,
.pricing-card,
.dashboard-card,
.landing-section,
.visits-section,
.auth-box,
.modal-box,
.shop-item,
.store-card,
.script-options-box {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.062), rgba(255, 255, 255, 0.026)) !important;
  border: 1px solid var(--card-border) !important;
  box-shadow: var(--shadow-card) !important;
}

.yk-spotlight-target {
  position: relative;
  overflow: hidden;
}

.yk-spotlight-target::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  background:
    radial-gradient(circle at var(--yk-mx, 50%) var(--yk-my, 50%),
      rgba(255, 255, 255, 0.18),
      rgba(255, 255, 255, 0.07) 18%,
      transparent 42%);
  transition: opacity 180ms ease;
  will-change: opacity;
}

.yk-spotlight-target:hover::after {
  opacity: 1;
}

.yk-spotlight-target > :not(.yk-auth-shape):not(.yk-auth-orbit):not(.yk-auth-canvas):not(.yk-auth-cursor-glow):not(.yk-auth-chip) {
  position: relative;
  z-index: 2;
}

.card:hover,
.feature-card:hover,
.pricing-card:hover,
.shop-item:hover,
.store-card:hover,
.chain-card:hover,
.hub-mini-stat:hover,
.product-card:hover,
.dash-section:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.28) !important;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.42) !important;
}

.card,
.feature-card,
.pricing-card,
.shop-item,
.store-card,
.chain-card,
.hub-mini-stat,
.product-card,
.dash-section,
.btn,
.nav-cta,
.nav-login,
.cta-btn,
.modal-btn,
.payment-method,
.action-btn,
.product-card-cta,
.pricing-cta-btn,
.store-browse-btn,
.store-cta-pill,
.yk-window-link,
.shop-btn,
.shop-filter-btn,
.deposit-amount-btn,
.filter-pill {
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease, color 180ms ease !important;
}

.auth-box,
.modal-box,
.deposit-modal-box,
.yk-window-panel {
  animation: yk-panel-in 360ms ease both;
}

.stat-card,
.yk-auth-shape,
.yk-auth-orbit,
.yk-theme-glyph {
  will-change: transform;
}

.yk-ui-icon {
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

/* Icones Lucide (https://lucide.dev) — rendues via lucide.createIcons() */
[data-lucide],
.lucide {
  width: 18px;
  height: 18px;
  stroke-width: 2px;
  vertical-align: -3px;
  flex-shrink: 0;
}

.action-icon {
  width: 18px;
  height: 18px;
  color: var(--accent2, #57f287);
}

.action-icon-sm {
  width: 14px;
  height: 14px;
  vertical-align: -2px;
}

button:hover .yk-ui-icon,
.btn:hover .yk-ui-icon,
.shop-filter-btn:hover .yk-ui-icon,
.product-card:hover .yk-ui-icon,
.hub-mini-stat:hover .yk-ui-icon {
  transform: scale(1.08) rotate(-2deg);
  border-color: rgba(255, 255, 255, 0.38);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.24);
}

@keyframes yk-panel-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.auth-box {
  animation: yk-auth-fade 520ms ease both !important;
  transform: perspective(1100px) rotateX(var(--yk-tilt-x, 0deg)) rotateY(var(--yk-tilt-y, 0deg)) translateZ(0);
  transition: transform 180ms ease, box-shadow 220ms ease, border-color 220ms ease !important;
}

.auth-box:hover {
  border-color: rgba(255, 255, 255, 0.3) !important;
  box-shadow:
    0 34px 120px rgba(0, 0, 0, 0.68),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset !important;
}

@keyframes yk-auth-fade {
  from {
    opacity: 0.72;
    filter: blur(4px);
  }
  to {
    opacity: 1;
    filter: blur(0);
  }
}

.btn,
.nav-cta,
.nav-login,
.cta-btn,
.modal-btn,
.payment-method,
.action-btn,
.product-card-cta,
.pricing-cta-btn,
.store-browse-btn,
.store-cta-pill,
.yk-window-link,
.shop-btn,
.shop-filter-btn,
.deposit-amount-btn,
.filter-pill,
button {
  position: relative;
  overflow: hidden;
  border-radius: 999px !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  background: rgba(255, 255, 255, 0.055) !important;
  color: #f5f5f5 !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18) !important;
  isolation: isolate;
}

.btn::before,
.nav-cta::before,
.nav-login::before,
.cta-btn::before,
.modal-btn::before,
.payment-method::before,
.action-btn::before,
.product-card-cta::before,
.pricing-cta-btn::before,
.store-browse-btn::before,
.store-cta-pill::before,
.yk-window-link::before,
.shop-btn::before,
.shop-filter-btn::before,
.deposit-amount-btn::before,
.filter-pill::before,
button::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.2) 42%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 460ms var(--yk-ease-out);
  z-index: -1;
}

.btn:hover,
.nav-cta:hover,
.nav-login:hover,
.cta-btn:hover,
.modal-btn:hover,
.payment-method:hover,
.action-btn:hover,
.product-card-cta:hover,
.pricing-cta-btn:hover,
.store-browse-btn:hover,
.store-cta-pill:hover,
.yk-window-link:hover,
.shop-btn:hover,
.shop-filter-btn:hover,
.deposit-amount-btn:hover,
.filter-pill:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.14) !important;
  border-color: rgba(255, 255, 255, 0.44) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28), 0 0 0 3px rgba(255, 255, 255, 0.045) !important;
}

.btn:hover::before,
.nav-cta:hover::before,
.nav-login:hover::before,
.cta-btn:hover::before,
.modal-btn:hover::before,
.payment-method:hover::before,
.action-btn:hover::before,
.product-card-cta:hover::before,
.pricing-cta-btn:hover::before,
.store-browse-btn:hover::before,
.store-cta-pill:hover::before,
.yk-window-link:hover::before,
.shop-btn:hover::before,
.shop-filter-btn:hover::before,
.deposit-amount-btn:hover::before,
.filter-pill:hover::before,
button:hover::before {
  transform: translateX(120%);
}

.btn:active,
.nav-cta:active,
.nav-login:active,
.cta-btn:active,
.modal-btn:active,
.payment-method:active,
.action-btn:active,
.product-card-cta:active,
.pricing-cta-btn:active,
.store-browse-btn:active,
.store-cta-pill:active,
.yk-window-link:active,
.shop-btn:active,
.shop-filter-btn:active,
.deposit-amount-btn:active,
.filter-pill:active,
button:active {
  transform: translateY(0) scale(0.975);
  transition-duration: 120ms !important;
}

.btn:focus-visible,
.nav-cta:focus-visible,
.nav-login:focus-visible,
.cta-btn:focus-visible,
.modal-btn:focus-visible,
.payment-method:focus-visible,
.action-btn:focus-visible,
.product-card-cta:focus-visible,
.pricing-cta-btn:focus-visible,
.store-browse-btn:focus-visible,
.store-cta-pill:focus-visible,
.yk-window-link:focus-visible,
.shop-btn:focus-visible,
.shop-filter-btn:focus-visible,
.deposit-amount-btn:focus-visible,
.filter-pill:focus-visible,
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.18), 0 10px 28px rgba(0, 0, 0, 0.24) !important;
}

.btn-primary,
.btn-success,
.action-btn.primary,
.shop-btn-buy,
.nav-cta,
.filter-pill.active,
.shop-filter-btn.active,
.deposit-amount-btn.selected,
.chain-card.selected {
  background: #ffffff !important;
  border-color: #ffffff !important;
  color: #050505 !important;
}

.btn-danger,
.action-btn.sold-toggle.active {
  background: rgba(248, 113, 113, 0.16) !important;
  border-color: rgba(248, 113, 113, 0.36) !important;
  color: #fecaca !important;
}

.form-input,
.search-input,
.sort-select,
textarea,
input,
select {
  background: rgba(255, 255, 255, 0.055) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: #ffffff !important;
  outline: none !important;
}

.form-input:focus,
.search-input:focus,
.sort-select:focus,
textarea:focus,
input:focus,
select:focus {
  border-color: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.13) !important;
}

option {
  background: #111111;
  color: #ffffff;
}

.hero-section,
.page-header,
.header {
  text-align: left !important;
}

.hero-badge,
.count-pill,
.type-badge,
.template-tag,
.mode-pill,
.status-badge,
.badge,
.landing-pill,
.preview-modal-price,
.card-price {
  background: rgba(255, 255, 255, 0.075) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: currentColor !important;
  box-shadow: none !important;
}

.gradient-text,
.stat-value.purple,
.stat-value.green,
.stat-value.gold,
.stat-value.pink {
  background: none !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.text-dim,
.hero-section p,
.page-header p,
.header p,
.card-slug,
.card-price-suffix,
.form-hint,
.select-label-hint,
.script-option-hint,
.landing-meta,
.empty-state {
  color: var(--text-dim) !important;
}

.card-thumb,
.shop-item-thumb,
.store-thumb,
.preview-iframe-wrap {
  background: #111111 !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}

.card-thumb img,
.shop-item-thumb img,
.store-thumb img {
  transition: transform 220ms ease, filter 220ms ease !important;
}

.card:hover .card-thumb img,
.shop-item:hover .shop-item-thumb img,
.store-card:hover .store-thumb img {
  transform: scale(1.035);
  filter: saturate(0.8) contrast(1.08);
}

.card-overlay {
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.9)) !important;
}

.visits-bar {
  background: linear-gradient(180deg, #ffffff, #7d7d7d) !important;
}

.visits-bar.today {
  background: linear-gradient(180deg, #ffffff, #bfbfbf) !important;
}

.status-dot.active,
.badge-dot.active,
.hero-badge-dot {
  background: #ffffff !important;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.12) !important;
}

.status-dot.inactive,
.badge-dot.inactive {
  background: #6b6b6b !important;
}

.status-dot.error,
.badge-dot.error {
  background: var(--danger) !important;
}

.yk-ui-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 0;
  position: relative;
}

.yk-ui-icon::before,
.yk-ui-icon::after {
  content: "";
  position: absolute;
  box-sizing: border-box;
}

.yk-ui-icon-home::before {
  width: 14px;
  height: 12px;
  border: 2px solid currentColor;
  border-top: 0;
  bottom: 9px;
}

.yk-ui-icon-home::after {
  width: 14px;
  height: 14px;
  border-left: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
  top: 8px;
}

.yk-ui-icon-bot::before {
  width: 18px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 5px;
}

.yk-ui-icon-bot::after {
  width: 3px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 8px 0 0 currentColor, 4px 9px 0 -1px currentColor;
}

.yk-ui-icon-shop::before {
  width: 16px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 3px;
  bottom: 8px;
}

.yk-ui-icon-shop::after {
  width: 10px;
  height: 7px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  top: 8px;
}

.yk-ui-icon-wallet::before {
  width: 18px;
  height: 13px;
  border: 2px solid currentColor;
  border-radius: 4px;
}

.yk-ui-icon-wallet::after {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: currentColor;
  right: 8px;
}

.yk-ui-icon-calendar::before {
  width: 17px;
  height: 17px;
  border: 2px solid currentColor;
  border-radius: 4px;
}

.yk-ui-icon-calendar::after {
  width: 13px;
  height: 2px;
  background: currentColor;
  top: 13px;
}

.yk-ui-icon-plus::before,
.yk-ui-icon-plus::after {
  background: currentColor;
  border-radius: 2px;
}

.yk-ui-icon-plus::before {
  width: 14px;
  height: 2px;
}

.yk-ui-icon-plus::after {
  width: 2px;
  height: 14px;
}

.yk-ui-icon-star::before {
  width: 16px;
  height: 16px;
  background: currentColor;
  clip-path: polygon(50% 0, 62% 34%, 98% 35%, 69% 56%, 79% 91%, 50% 70%, 21% 91%, 31% 56%, 2% 35%, 38% 34%);
}

.yk-ui-icon-alert::before {
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-bottom: 18px solid currentColor;
}

.yk-ui-icon-alert::after {
  width: 2px;
  height: 7px;
  background: #050505;
  top: 12px;
  box-shadow: 0 9px 0 #050505;
}

.yk-ui-icon-check::before {
  width: 14px;
  height: 8px;
  border-left: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: rotate(-45deg);
}

.lucide.yk-lucide-badge,
[data-lucide].yk-lucide-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  padding: 8px;
  border-radius: 999px;
  color: var(--text);
  stroke-width: 2.15px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background:
    radial-gradient(circle at 35% 20%, rgba(255, 255, 255, 0.18), transparent 42%),
    linear-gradient(135deg, rgba(124, 58, 237, 0.24), rgba(76, 201, 240, 0.12));
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.dash-tab .lucide.yk-lucide-badge,
.dash-tab [data-lucide].yk-lucide-badge,
.shop-filter-btn .lucide.yk-lucide-badge,
.btn .lucide.yk-lucide-badge,
.product-card-cta .lucide.yk-lucide-badge {
  width: 22px !important;
  height: 22px !important;
  flex: 0 0 22px !important;
  padding: 5px;
  margin: 0 !important;
}

.product-card-heading .lucide.yk-lucide-badge,
.product-card-heading [data-lucide].yk-lucide-badge {
  width: 30px !important;
  height: 30px !important;
  flex: 0 0 30px !important;
  padding: 7px;
  margin: 0 !important;
}

.hub-mini-stat > .lucide.yk-lucide-badge,
.hub-mini-stat > [data-lucide].yk-lucide-badge {
  width: 30px !important;
  height: 30px !important;
  flex-basis: 30px !important;
  padding: 7px;
}

button:hover .yk-lucide-badge,
.btn:hover .yk-lucide-badge,
.shop-filter-btn:hover .yk-lucide-badge,
.product-card:hover .yk-lucide-badge,
.hub-mini-stat:hover .yk-lucide-badge {
  transform: scale(1.08) rotate(-2deg);
  border-color: rgba(255, 255, 255, 0.42);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.product-card-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  margin: 10px 0 10px;
}

.product-card-heading .product-card-icon {
  width: 26px !important;
  height: 26px !important;
  flex: 0 0 26px !important;
  margin: 0 !important;
}

.dash-tab .yk-ui-icon,
.shop-filter-btn .yk-ui-icon,
.btn .yk-ui-icon,
.product-card-cta .yk-ui-icon {
  width: 20px !important;
  height: 20px !important;
  flex: 0 0 20px !important;
  margin: 0 !important;
}

.product-card-heading .product-card-title {
  margin: 0 !important;
  line-height: 1.12;
}

.dash-tab,
.shop-filter-btn,
.btn,
.product-card-cta {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Utilitaire de masquage : la règle ci-dessus force `display: inline-flex !important`
   sur .btn/.dash-tab/etc., ce qui écrasait le `style="display:none"` posé par le JS
   (lien Admin visible pour tout le monde, boutons Restart/Deactivate toujours affichés).
   `.btn.yk-hidden` a une spécificité supérieure (2 classes) et regagne donc la priorité. */
.yk-hidden,
.btn.yk-hidden,
.dash-tab.yk-hidden,
.shop-filter-btn.yk-hidden,
.product-card-cta.yk-hidden {
  display: none !important;
}

.dash-tab {
  min-height: 46px;
  white-space: nowrap;
}

.hub-mini-stat > .yk-ui-icon {
  width: 28px !important;
  height: 28px !important;
  flex-basis: 28px !important;
}

.product-card-glow {
  background: rgba(255, 255, 255, 0.72) !important;
  filter: blur(44px) !important;
  opacity: 0.12 !important;
}

.product-card.featured,
.product-card.shop-card-featured {
  border-color: rgba(255, 255, 255, 0.18) !important;
  background: linear-gradient(145deg, rgba(255,255,255,0.074), rgba(255,255,255,0.026)) !important;
}

.product-card.featured::before {
  background: linear-gradient(135deg, rgba(255,255,255,0.28), transparent 32%, rgba(255,255,255,0.1)) !important;
}

.badge-popular,
.badge-hot,
.badge-new,
.badge-soon {
  background: rgba(255, 255, 255, 0.085) !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
  color: #ffffff !important;
}

.ycs-label,
.ycs-item.selected {
  background: rgba(255, 255, 255, 0.09) !important;
  color: #ffffff !important;
}

.ycs-trigger,
.ycs-menu {
  border-color: rgba(255, 255, 255, 0.14) !important;
}

.yk-bot-showcase {
  display: grid;
  grid-template-columns: minmax(180px, 34%) 1fr;
  gap: 16px;
  margin: 12px 0 22px;
  padding: 14px;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.064), rgba(255, 255, 255, 0.025));
  box-shadow: var(--shadow-card);
}

.yk-bot-preview-media {
  min-height: 180px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #050505;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.yk-bot-preview-media img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  display: block;
  filter: grayscale(0.15) contrast(1.05);
}

.yk-bot-showcase.text-only {
  grid-template-columns: 1fr;
}

.yk-bot-preview-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  min-width: 0;
}

.yk-bot-preview-top,
.yk-bot-preview-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--text-dim);
  font-size: 0.82rem;
}

.yk-bot-preview-top strong {
  color: var(--text);
  font-size: 1rem;
}

.yk-bot-preview-copy h3 {
  margin: 0;
  color: var(--text);
  font-size: 1.65rem;
}

.yk-bot-preview-copy p {
  margin: 0;
  color: var(--text-dim);
  line-height: 1.55;
}

.yk-bot-tier {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text);
  font-weight: 800;
}

.yk-quality-meter {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.yk-quality-meter span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #7d7d7d, #ffffff);
}

.bot-catalog-block {
  margin: 0 0 24px;
}

.bot-catalog-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.bot-catalog-head p {
  margin: 4px 0 0;
  color: var(--text-dim);
  font-size: 0.85rem;
  line-height: 1.45;
}

.bot-catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.bot-catalog-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.07), transparent 170px),
    rgba(255, 255, 255, 0.026);
  box-shadow: var(--shadow-card);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.bot-catalog-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.38);
}

.bot-catalog-card:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 3px;
}

.bot-catalog-card.active {
  border-color: rgba(87, 242, 135, 0.45);
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.36),
    0 0 0 1px rgba(87, 242, 135, 0.12) inset;
}

.bot-catalog-card.active .bot-command-hint {
  color: var(--accent2);
}

.bot-catalog-card.active .shop-btn-preview {
  background: rgba(87, 242, 135, 0.14);
  color: #c8ffd9;
  border: 1px solid rgba(87, 242, 135, 0.22);
}

.bot-catalog-card.expanded {
  border-color: rgba(255, 255, 255, 0.25);
}

.bot-catalog-card.missing {
  opacity: 0.58;
}

.bot-catalog-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 15px 0;
}

.bot-catalog-top strong {
  color: var(--accent2);
  font-size: 0.88rem;
  white-space: nowrap;
}

.bot-catalog-tier {
  min-height: 28px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 900;
}

.bot-catalog-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  padding: 12px 15px 15px;
}

.bot-catalog-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.bot-catalog-title-row h3 {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.18;
}

.bot-catalog-title-row strong {
  flex: 0 0 auto;
  color: var(--accent2);
  font-size: 0.88rem;
  white-space: nowrap;
}

.bot-catalog-body p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.82rem;
  line-height: 1.48;
}

.bot-catalog-body h3 {
  margin: 0;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.18;
}

.bot-catalog-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  margin-top: auto;
}

.bot-command-hint {
  color: var(--text-dim);
  font-size: 0.72rem;
  font-weight: 700;
}

.bot-command-panel {
  margin-top: 2px;
  padding: 10px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.18);
}

.bot-command-title {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.bot-command-list {
  display: grid;
  gap: 6px;
}

.bot-command-row {
  display: grid;
  grid-template-columns: minmax(88px, 0.62fr) minmax(0, 1fr);
  gap: 8px;
  align-items: baseline;
  min-width: 0;
}

.bot-command-row code {
  overflow: hidden;
  text-overflow: ellipsis;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  white-space: nowrap;
}

.bot-command-row span,
.bot-command-empty {
  min-width: 0;
  color: var(--text-dim);
  font-size: 0.72rem;
  line-height: 1.35;
}

.bot-catalog-card .shop-btn {
  width: auto;
  min-width: 96px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.yk-bot-slot-grid {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
  margin: 0 0 24px;
}

.yk-bot-slot-card {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.028);
  padding: 14px;
  display: grid;
  gap: 12px;
}

.yk-bot-slot-card.active {
  border-color: rgba(87, 242, 135, 0.34);
  background: rgba(87, 242, 135, 0.055);
}

.yk-bot-slot-card-top,
.yk-bot-slot-actions,
.yk-wizard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.yk-bot-slot-card h3 {
  margin: 0 0 3px;
  color: var(--text);
  font-size: 0.95rem;
}

.yk-bot-slot-card p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.76rem;
  line-height: 1.45;
}

.yk-bot-slot-actions {
  justify-content: flex-start;
  flex-wrap: wrap;
}

.yk-bot-slot-actions .btn {
  padding: 6px 10px;
  font-size: 0.74rem;
}

.yk-product-badges {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin: 2px 0 0;
}

.yk-product-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  font-size: 0.64rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.yk-product-badge.best { color: #fde68a; border-color: rgba(253, 230, 138, 0.28); background: rgba(253, 230, 138, 0.1); }
.yk-product-badge.easy { color: #bbf7d0; border-color: rgba(187, 247, 208, 0.24); background: rgba(34, 197, 94, 0.1); }
.yk-product-badge.advanced { color: #bfdbfe; border-color: rgba(147, 197, 253, 0.25); background: rgba(59, 130, 246, 0.1); }
.yk-product-badge.new { color: #fbcfe8; border-color: rgba(244, 114, 182, 0.25); background: rgba(236, 72, 153, 0.1); }

.yk-setup-wizard {
  margin: 0 0 18px;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.028);
}

.yk-wizard-head {
  margin-bottom: 12px;
}

.yk-wizard-kicker {
  color: var(--text-dim);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.yk-wizard-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.yk-wizard-step {
  min-width: 0;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.13);
  color: var(--text-dim);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.yk-wizard-step span {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 7px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 900;
}

.yk-wizard-step strong,
.yk-wizard-step small {
  display: block;
}

.yk-wizard-step strong {
  color: var(--text);
  font-size: 0.78rem;
}

.yk-wizard-step small {
  margin-top: 2px;
  font-size: 0.68rem;
  line-height: 1.25;
}

.yk-wizard-step.done {
  border-color: rgba(87, 242, 135, 0.26);
  background: rgba(87, 242, 135, 0.08);
}

.yk-wizard-step.current {
  border-color: rgba(88, 101, 242, 0.45);
  box-shadow: 0 0 0 1px rgba(88, 101, 242, 0.18) inset;
}

.yk-id-validator {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 18px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
}

.yk-id-validator strong,
.yk-id-validator span {
  display: block;
}

.yk-id-validator strong {
  color: var(--text);
  font-size: 0.84rem;
  margin-bottom: 2px;
}

.yk-id-validator span {
  color: var(--text-dim);
  font-size: 0.76rem;
  line-height: 1.45;
}

.yk-pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 10px 0 14px;
}

.yk-price-option {
  padding: 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.026);
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.yk-price-option:hover,
.yk-price-option.active {
  border-color: rgba(87, 242, 135, 0.34);
  background: rgba(87, 242, 135, 0.08);
}

.yk-price-option strong,
.yk-price-option span,
.yk-price-option small {
  display: block;
}

.yk-price-option strong {
  font-size: 0.82rem;
}

.yk-price-option span {
  margin-top: 4px;
  color: var(--accent2);
  font-weight: 900;
}

.yk-price-option small {
  margin-top: 3px;
  color: var(--text-dim);
  font-size: 0.68rem;
  line-height: 1.25;
}

.yk-theme-toggle {
  position: fixed;
  right: 18px;
  top: 18px;
  z-index: 5000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 92px;
  height: 46px;
  padding: 0 16px;
  border-radius: 999px !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  background: rgba(12, 12, 12, 0.88) !important;
  color: #ffffff !important;
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.42) !important;
  font-weight: 900;
  font-size: 0.78rem;
}

.yk-theme-glyph {
  width: 17px;
  height: 17px;
  border-radius: 999px;
  display: inline-block;
  position: relative;
  border: 2px solid currentColor;
  transition: transform 300ms ease, background 300ms ease, box-shadow 300ms ease;
}

.yk-theme-toggle[data-current-theme="dark"] .yk-theme-glyph {
  background: currentColor;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.08);
}

.yk-theme-toggle[data-current-theme="light"] .yk-theme-glyph {
  background: transparent;
  box-shadow: inset -5px -2px 0 currentColor;
}

.yk-theme-toggle:hover .yk-theme-glyph {
  transform: rotate(28deg) scale(1.08);
}

.yk-theme-toggle-inline {
  position: static;
  right: auto;
  top: auto;
  bottom: auto;
  z-index: auto;
  min-width: 98px;
  height: 38px;
  padding: 0 12px;
  box-shadow: none !important;
  flex: 0 0 auto;
}

/* Sur les pages avec une barre de nav en haut (dashboard, admin), le bouton de
   thème flottant (top-right, z-index élevé) chevauchait le bouton "Logout" situé
   dans le même coin et le rendait inaccessible : on le déplace en bas à droite,
   un emplacement libre sur ces pages. */
body:has(.dash-nav) .yk-theme-toggle,
body:has(.nav-logo-icon) .yk-theme-toggle {
  top: auto;
  bottom: 18px;
}

body:has(.dash-nav) .yk-theme-toggle-inline,
body:has(.nav-logo-icon) .yk-theme-toggle-inline {
  top: auto;
  bottom: auto;
}

.yk-brand-credit {
  position: fixed;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  z-index: 10;
  font-size: 0.68rem;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.26);
  pointer-events: none;
  white-space: nowrap;
}

html[data-yk-theme="light"] .yk-brand-credit {
  color: rgba(5, 5, 5, 0.26);
}

.yk-window-system {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 4900;
  pointer-events: none;
}

.yk-window-dock {
  display: flex;
  gap: 8px;
  padding: 8px;
  width: fit-content;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(12, 12, 12, 0.84);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(18px);
  pointer-events: auto;
}

.yk-window-dock button {
  width: 42px;
  height: 42px;
  border-radius: 999px !important;
  font-size: 0.78rem;
  font-weight: 900;
}

.yk-floating-windows {
  pointer-events: none;
}

.yk-window-panel {
  position: fixed;
  left: var(--yk-left, 18px);
  bottom: var(--yk-bottom, 82px);
  display: grid;
  grid-template-columns: 150px minmax(190px, 280px);
  width: min(470px, calc(100vw - 36px));
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(14, 14, 14, 0.92);
  color: var(--text);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(22px) saturate(1.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.98);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  pointer-events: auto;
}

.yk-window-panel.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.yk-window-image {
  min-height: 190px;
  background: #060606;
}

.yk-window-image img {
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
  display: block;
  filter: grayscale(0.18) contrast(1.08);
}

.yk-window-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

.yk-window-titlebar strong {
  font-size: 0.94rem;
}

.yk-window-close {
  width: 30px;
  height: 30px;
  border-radius: 999px !important;
  padding: 0 !important;
}

.yk-window-body p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.82rem;
  line-height: 1.45;
}

.yk-window-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.yk-window-metric {
  padding: 10px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.yk-window-metric span {
  display: block;
  color: var(--text-dim);
  font-size: 0.68rem;
  text-transform: uppercase;
  font-weight: 800;
}

.yk-window-metric strong {
  display: block;
  margin-top: 4px;
  color: var(--text);
  font-size: 1rem;
}

.yk-window-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 12px;
  border-radius: var(--radius);
  background: #ffffff;
  color: #050505 !important;
  text-decoration: none;
  font-weight: 900;
}

html[data-yk-theme="light"] {
  color-scheme: light;
  --bg: #f4f4f2;
  --surface: #ffffff;
  --surface-2: #eeeeec;
  --card-bg: rgba(0, 0, 0, 0.035);
  --card-border: rgba(0, 0, 0, 0.12);
  --text: #101010;
  --text-dim: rgba(0, 0, 0, 0.58);
  --accent: #111111;
  --accent-light: #2a2a2a;
  --accent2: #2b2b2b;
  --accent3: #555555;
  --blue: #3b3b3b;
  --cyan: #262626;
  --gold: #111111;
  --success: #1c1c1c;
  --shadow-soft: 0 18px 54px rgba(0, 0, 0, 0.12);
  --shadow-card: 0 14px 42px rgba(0, 0, 0, 0.1);
  background: #f4f4f2;
}

html[data-yk-theme="light"] body {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.045), transparent 340px),
    #f4f4f2 !important;
  color: #101010 !important;
}

html[data-yk-theme="light"] .auth-screen {
  background:
    radial-gradient(circle at 18% 18%, rgba(0, 0, 0, 0.09), transparent 260px),
    radial-gradient(circle at 84% 78%, rgba(0, 0, 0, 0.055), transparent 320px),
    linear-gradient(135deg, rgba(0, 0, 0, 0.025), transparent 42%),
    #f4f4f2 !important;
}

html[data-yk-theme="light"] .auth-screen::before {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.045) 1px, transparent 1px);
}

html[data-yk-theme="light"] .auth-screen::after {
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow:
    inset 0 0 80px rgba(0, 0, 0, 0.035),
    0 0 90px rgba(0, 0, 0, 0.035);
}

html[data-yk-theme="light"] .yk-auth-visual {
  background:
    radial-gradient(circle at var(--yk-mx, 50%) var(--yk-my, 40%), rgba(255, 255, 255, 0.16), transparent 30%),
    radial-gradient(circle at 52% 24%, rgba(255, 255, 255, 0.1), transparent 250px),
    linear-gradient(145deg, rgba(16, 16, 18, 0.96), rgba(5, 5, 5, 0.9));
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow:
    0 34px 100px rgba(0, 0, 0, 0.18),
    0 0 62px rgba(255, 255, 255, 0.08) inset;
  color: #ffffff;
}

html[data-yk-theme="light"] .yk-auth-visual::before {
  background:
    repeating-linear-gradient(90deg, transparent 0 28px, rgba(255,255,255,0.09) 29px, transparent 31px),
    repeating-linear-gradient(0deg, transparent 0 34px, rgba(255,255,255,0.06) 35px, transparent 37px),
    linear-gradient(125deg, transparent 0 43%, rgba(255,255,255,0.14) 47%, rgba(255,255,255,0.04) 51%, transparent 56%),
    linear-gradient(55deg, transparent 0 48%, rgba(220,240,255,0.1) 50%, transparent 54%);
  opacity: 0.74;
}

html[data-yk-theme="light"] .yk-auth-kicker {
  background: rgba(0, 0, 0, 0.055);
  border-color: rgba(0, 0, 0, 0.13);
  color: rgba(0, 0, 0, 0.68);
}

html[data-yk-theme="light"] .yk-lock-title {
  color: #ffffff;
}

html[data-yk-theme="light"] .yk-lock-sub {
  color: rgba(0, 0, 0, 0.5);
}

html[data-yk-theme="light"] .yk-auth-chip {
  background: rgba(0, 0, 0, 0.055);
  border-color: rgba(0, 0, 0, 0.11);
  color: rgba(0, 0, 0, 0.65);
}


html[data-yk-theme="light"] .auth-box {
  background:
    radial-gradient(circle at var(--yk-mx, 50%) var(--yk-my, 0%), rgba(0, 0, 0, 0.09), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 248, 246, 0.88)) !important;
  border-color: rgba(0, 0, 0, 0.14) !important;
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.13),
    0 1px 0 rgba(255, 255, 255, 0.9) inset !important;
}

html[data-yk-theme="light"] .auth-box::before {
  background: linear-gradient(135deg, rgba(0,0,0,0.2), transparent 28%, rgba(0,0,0,0.08) 62%, transparent);
}

html[data-yk-theme="light"] .auth-box:hover {
  border-color: rgba(0, 0, 0, 0.2) !important;
  box-shadow:
    0 34px 100px rgba(0, 0, 0, 0.16),
    0 0 0 1px rgba(255, 255, 255, 0.9) inset !important;
}

html[data-yk-theme="light"] a {
  color: #111111;
}

html[data-yk-theme="light"] .logo-icon,
html[data-yk-theme="light"] .nav-logo-icon,
html[data-yk-theme="light"] .auth-logo-icon {
  background: #111111 !important;
  color: #ffffff !important;
}

html[data-yk-theme="light"] .yk-brand-logo {
  background: transparent !important;
  color: inherit !important;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.08));
}

html[data-yk-theme="light"] .floating-card {
  background: rgba(255, 255, 255, 0.88) !important;
  border-color: rgba(0, 0, 0, 0.14) !important;
  color: #101010 !important;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.16) !important;
}

html[data-yk-theme="light"] .floating-card-header,
html[data-yk-theme="light"] .floating-card-body {
  border-color: rgba(0, 0, 0, 0.08) !important;
}

html[data-yk-theme="light"] .fc-status,
html[data-yk-theme="light"] .fc-label,
html[data-yk-theme="light"] .fc-price-sub {
  color: rgba(0, 0, 0, 0.56) !important;
}

html[data-yk-theme="light"] .fc-value,
html[data-yk-theme="light"] .fc-name,
html[data-yk-theme="light"] .fc-price {
  color: #101010 !important;
}

html[data-yk-theme="light"] .fc-price-tag {
  background: rgba(0, 0, 0, 0.045) !important;
}

html[data-yk-theme="light"] .fc-avatar {
  background: #111111 !important;
  color: #ffffff !important;
}

html[data-yk-theme="light"] header,
html[data-yk-theme="light"] nav,
html[data-yk-theme="light"] .nav,
html[data-yk-theme="light"] .topbar {
  background: rgba(255, 255, 255, 0.88) !important;
  border-color: rgba(0, 0, 0, 0.12) !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, var(--shadow-soft) !important;
}

html[data-yk-theme="light"] .card,
html[data-yk-theme="light"] .stat-card,
html[data-yk-theme="light"] .feature-card,
html[data-yk-theme="light"] .pricing-card,
html[data-yk-theme="light"] .dashboard-card,
html[data-yk-theme="light"] .landing-section,
html[data-yk-theme="light"] .visits-section,
html[data-yk-theme="light"] .auth-box,
html[data-yk-theme="light"] .modal-box,
html[data-yk-theme="light"] .shop-item,
html[data-yk-theme="light"] .bot-catalog-card,
html[data-yk-theme="light"] .store-card,
html[data-yk-theme="light"] .script-options-box,
html[data-yk-theme="light"] .yk-bot-showcase {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 246, 244, 0.86)) !important;
  border-color: rgba(0, 0, 0, 0.12) !important;
  box-shadow: var(--shadow-card) !important;
}

html[data-yk-theme="light"] .bot-catalog-card:hover {
  border-color: rgba(0, 0, 0, 0.18) !important;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.13) !important;
}

html[data-yk-theme="light"] .bot-catalog-card.active {
  border-color: rgba(16, 185, 129, 0.5) !important;
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(16, 185, 129, 0.12) inset !important;
}

html[data-yk-theme="light"] .yk-bot-slot-card,
html[data-yk-theme="light"] .yk-setup-wizard,
html[data-yk-theme="light"] .yk-id-validator,
html[data-yk-theme="light"] .yk-wizard-step,
html[data-yk-theme="light"] .yk-price-option {
  background: rgba(255, 255, 255, 0.84);
  border-color: rgba(0, 0, 0, 0.12);
}

html[data-yk-theme="light"] .yk-bot-slot-card.active,
html[data-yk-theme="light"] .yk-wizard-step.done,
html[data-yk-theme="light"] .yk-price-option.active {
  background: rgba(22, 163, 74, 0.08);
  border-color: rgba(22, 163, 74, 0.24);
}

html[data-yk-theme="light"] .yk-product-badge {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.12);
  color: #101010;
}

html[data-yk-theme="light"] .bot-command-panel {
  border-color: rgba(0, 0, 0, 0.09);
}

html[data-yk-theme="light"] .bot-command-panel {
  background: rgba(0, 0, 0, 0.035);
}

html[data-yk-theme="light"] .bot-command-title {
  color: rgba(0, 0, 0, 0.5);
}

html[data-yk-theme="light"] .bot-command-row code {
  color: #101010;
}

html[data-yk-theme="light"] .product-card.featured,
html[data-yk-theme="light"] .product-card.shop-card-featured {
  border-color: rgba(0, 0, 0, 0.12) !important;
  background: linear-gradient(145deg, rgba(255,255,255,0.94), rgba(238,238,236,0.86)) !important;
}

html[data-yk-theme="light"] .product-card.featured::before {
  background: linear-gradient(135deg, rgba(0,0,0,0.12), transparent 32%, rgba(0,0,0,0.055)) !important;
}

html[data-yk-theme="light"] .product-card-glow {
  background: rgba(0, 0, 0, 0.22) !important;
  opacity: 0.08 !important;
}

html[data-yk-theme="light"] .badge-popular,
html[data-yk-theme="light"] .badge-hot,
html[data-yk-theme="light"] .badge-new,
html[data-yk-theme="light"] .badge-soon {
  background: rgba(0, 0, 0, 0.055) !important;
  border-color: rgba(0, 0, 0, 0.13) !important;
  color: #101010 !important;
}

html[data-yk-theme="light"] .ycs-label,
html[data-yk-theme="light"] .ycs-item.selected {
  background: rgba(0, 0, 0, 0.07) !important;
  color: #101010 !important;
}

html[data-yk-theme="light"] .ycs-trigger,
html[data-yk-theme="light"] .ycs-menu {
  background: rgba(255, 255, 255, 0.92) !important;
  border-color: rgba(0, 0, 0, 0.13) !important;
  color: #101010 !important;
}

html[data-yk-theme="light"] .ycs-caret,
html[data-yk-theme="light"] .ycs-item-name {
  color: rgba(0, 0, 0, 0.56) !important;
}

html[data-yk-theme="light"] .yk-spotlight-target::after {
  background:
    radial-gradient(circle at var(--yk-mx, 50%) var(--yk-my, 50%),
      rgba(0, 0, 0, 0.09),
      rgba(0, 0, 0, 0.035) 18%,
      transparent 42%);
}

html[data-yk-theme="light"] .btn,
html[data-yk-theme="light"] .nav-cta,
html[data-yk-theme="light"] .nav-login,
html[data-yk-theme="light"] .cta-btn,
html[data-yk-theme="light"] .modal-btn,
html[data-yk-theme="light"] .payment-method,
html[data-yk-theme="light"] .action-btn,
html[data-yk-theme="light"] .product-card-cta,
html[data-yk-theme="light"] .pricing-cta-btn,
html[data-yk-theme="light"] .store-browse-btn,
html[data-yk-theme="light"] .store-cta-pill,
html[data-yk-theme="light"] .shop-btn,
html[data-yk-theme="light"] .shop-filter-btn,
html[data-yk-theme="light"] .deposit-amount-btn,
html[data-yk-theme="light"] .filter-pill,
html[data-yk-theme="light"] button {
  background: rgba(0, 0, 0, 0.055) !important;
  border-color: rgba(0, 0, 0, 0.14) !important;
  color: #101010 !important;
}

html[data-yk-theme="light"] .btn-primary,
html[data-yk-theme="light"] .btn-success,
html[data-yk-theme="light"] .action-btn.primary,
html[data-yk-theme="light"] .shop-btn-buy,
html[data-yk-theme="light"] .nav-cta,
html[data-yk-theme="light"] .cta-btn.primary,
html[data-yk-theme="light"] .modal-btn.success,
html[data-yk-theme="light"] .product-card-cta.cta-primary,
html[data-yk-theme="light"] .pricing-cta-btn,
html[data-yk-theme="light"] .filter-pill.active,
html[data-yk-theme="light"] .shop-filter-btn.active,
html[data-yk-theme="light"] .deposit-amount-btn.selected,
html[data-yk-theme="light"] .chain-card.selected,
html[data-yk-theme="light"] .yk-window-link {
  background: #111111 !important;
  border-color: #111111 !important;
  color: #ffffff !important;
}

html[data-yk-theme="light"] .form-input,
html[data-yk-theme="light"] .search-input,
html[data-yk-theme="light"] .sort-select,
html[data-yk-theme="light"] textarea,
html[data-yk-theme="light"] input,
html[data-yk-theme="light"] select {
  background: rgba(255, 255, 255, 0.9) !important;
  border-color: rgba(0, 0, 0, 0.16) !important;
  color: #101010 !important;
}

html[data-yk-theme="light"] option {
  background: #ffffff;
  color: #101010;
}

html[data-yk-theme="light"] .hero-badge,
html[data-yk-theme="light"] .count-pill,
html[data-yk-theme="light"] .type-badge,
html[data-yk-theme="light"] .template-tag,
html[data-yk-theme="light"] .mode-pill,
html[data-yk-theme="light"] .status-badge,
html[data-yk-theme="light"] .badge,
html[data-yk-theme="light"] .landing-pill,
html[data-yk-theme="light"] .preview-modal-price,
html[data-yk-theme="light"] .card-price,
html[data-yk-theme="light"] .yk-bot-tier {
  background: rgba(0, 0, 0, 0.055) !important;
  border-color: rgba(0, 0, 0, 0.13) !important;
  color: #101010 !important;
}

html[data-yk-theme="light"] .gradient-text,
html[data-yk-theme="light"] .stat-value.purple,
html[data-yk-theme="light"] .stat-value.green,
html[data-yk-theme="light"] .stat-value.gold,
html[data-yk-theme="light"] .stat-value.pink {
  color: #101010 !important;
  -webkit-text-fill-color: #101010 !important;
}

html[data-yk-theme="light"] h1,
html[data-yk-theme="light"] h2,
html[data-yk-theme="light"] h3,
html[data-yk-theme="light"] .auth-title,
html[data-yk-theme="light"] .product-card-title,
html[data-yk-theme="light"] .hub-mini-stat-val,
html[data-yk-theme="light"] .dash-section-title,
html[data-yk-theme="light"] .shop-item-name,
html[data-yk-theme="light"] .store-title,
html[data-yk-theme="light"] .landing-name,
html[data-yk-theme="light"] .modal-title,
html[data-yk-theme="light"] .form-section-title {
  color: #101010 !important;
  -webkit-text-fill-color: #101010 !important;
}

html[data-yk-theme="light"] .product-card-features li,
html[data-yk-theme="light"] .hub-greeting-sub,
html[data-yk-theme="light"] .hub-mini-stat-label,
html[data-yk-theme="light"] .dash-section p,
html[data-yk-theme="light"] .stat-sub,
html[data-yk-theme="light"] .tx-table td,
html[data-yk-theme="light"] .shop-item-cat,
html[data-yk-theme="light"] .store-meta,
html[data-yk-theme="light"] .auth-sub,
html[data-yk-theme="light"] .modal-subtitle,
html[data-yk-theme="light"] .form-label,
html[data-yk-theme="light"] .modal-price-row span {
  color: rgba(0, 0, 0, 0.62) !important;
}

html[data-yk-theme="light"] .product-card-price,
html[data-yk-theme="light"] .product-card-price strong,
html[data-yk-theme="light"] .shop-item-price,
html[data-yk-theme="light"] .store-price,
html[data-yk-theme="light"] .tx-amount,
html[data-yk-theme="light"] .modal-price-row strong {
  color: #101010 !important;
}

html[data-yk-theme="light"] .text-dim,
html[data-yk-theme="light"] .hero-section p,
html[data-yk-theme="light"] .page-header p,
html[data-yk-theme="light"] .header p,
html[data-yk-theme="light"] .card-slug,
html[data-yk-theme="light"] .card-price-suffix,
html[data-yk-theme="light"] .form-hint,
html[data-yk-theme="light"] .select-label-hint,
html[data-yk-theme="light"] .script-option-hint,
html[data-yk-theme="light"] .landing-meta,
html[data-yk-theme="light"] .empty-state,
html[data-yk-theme="light"] .yk-window-body p,
html[data-yk-theme="light"] .yk-window-metric span,
html[data-yk-theme="light"] .yk-bot-preview-copy p,
html[data-yk-theme="light"] .yk-bot-preview-foot,
html[data-yk-theme="light"] .yk-bot-preview-top {
  color: var(--text-dim) !important;
}

html[data-yk-theme="light"] [style*="color:#fff"],
html[data-yk-theme="light"] [style*="color: #fff"],
html[data-yk-theme="light"] [style*="color:#ffffff"],
html[data-yk-theme="light"] [style*="color: #ffffff"] {
  color: #101010 !important;
}

html[data-yk-theme="light"] .card-thumb,
html[data-yk-theme="light"] .shop-item-thumb,
html[data-yk-theme="light"] .store-thumb,
html[data-yk-theme="light"] .preview-iframe-wrap,
html[data-yk-theme="light"] .yk-bot-preview-media {
  background: #ffffff !important;
  border-color: rgba(0, 0, 0, 0.12) !important;
}

html[data-yk-theme="light"] .yk-theme-toggle,
html[data-yk-theme="light"] .yk-window-dock,
html[data-yk-theme="light"] .yk-window-panel {
  background: rgba(255, 255, 255, 0.9) !important;
  border-color: rgba(0, 0, 0, 0.14) !important;
  color: #101010 !important;
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.14) !important;
}

html[data-yk-theme="light"] .yk-window-image {
  background: #eeeeec;
}

html[data-yk-theme="light"] .yk-window-metric,
html[data-yk-theme="light"] .yk-quality-meter {
  background: rgba(0, 0, 0, 0.055);
  border-color: rgba(0, 0, 0, 0.12);
}

html[data-yk-theme="light"] .yk-quality-meter span {
  background: linear-gradient(90deg, #101010, #777777);
}

.yk-ripple {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.38);
  transform: translate(-50%, -50%) scale(1);
  animation: yk-ripple 520ms ease-out forwards;
}

@keyframes yk-ripple {
  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(18);
  }
}

.yk-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 6200;
  width: 100%;
  height: 2px;
  pointer-events: none;
  transform: scaleX(var(--yk-scroll-progress, 0));
  transform-origin: left center;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.08));
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.14);
  opacity: 0.72;
}

.yk-cursor-aura,
.yk-cursor-dot {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 6100;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0);
  transition: opacity 180ms ease, width 220ms ease, height 220ms ease, background 220ms ease;
  will-change: transform, opacity;
}

.yk-cursor-aura {
  width: 168px;
  height: 168px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255,255,255,0.075), rgba(255,255,255,0.03) 36%, transparent 70%);
  filter: blur(12px);
  mix-blend-mode: screen;
}

.yk-cursor-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.55);
  box-shadow: 0 0 14px rgba(255,255,255,0.2);
}

html.yk-pointer-live .yk-cursor-aura,
html.yk-pointer-live .yk-cursor-dot {
  opacity: 1;
}

html.yk-pointer-active .yk-cursor-aura {
  width: 210px;
  height: 210px;
  background: radial-gradient(circle, rgba(255,255,255,0.105), rgba(255,255,255,0.04) 32%, transparent 72%);
}

html.yk-pointer-active .yk-cursor-dot {
  transform: translate3d(-50%, -50%, 0) scale(1.25);
}

html[data-yk-theme="light"] .yk-scroll-progress {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.05));
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
}

html[data-yk-theme="light"] .yk-cursor-aura {
  background: radial-gradient(circle, rgba(0,0,0,0.065), rgba(0,0,0,0.025) 36%, transparent 70%);
  mix-blend-mode: multiply;
}

html[data-yk-theme="light"] .yk-cursor-dot {
  background: rgba(0,0,0,0.48);
  box-shadow: 0 0 12px rgba(0,0,0,0.14);
}

.yk-pointer-reactive {
  transform:
    perspective(980px)
    rotateX(var(--yk-card-rx, 0deg))
    rotateY(var(--yk-card-ry, 0deg))
    translateY(var(--yk-card-lift, 0))
    translateZ(0) !important;
  transition:
    transform 220ms cubic-bezier(.16, 1, .3, 1),
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease !important;
  transform-style: preserve-3d;
  will-change: transform;
}

.yk-pointer-reactive:hover {
  --yk-card-lift: -2px;
}

.yk-pointer-reactive.yk-spotlight-target::after {
  background:
    radial-gradient(circle at var(--yk-mx, 50%) var(--yk-my, 50%),
      rgba(255, 255, 255, 0.2),
      rgba(255, 255, 255, 0.052) 18%,
      transparent 44%);
}

.yk-magnetic {
  transform:
    translate3d(var(--yk-magnet-x, 0px), var(--yk-magnet-y, 0px), 0)
    scale(var(--yk-magnet-scale, 1)) !important;
  transition:
    transform 180ms cubic-bezier(.16, 1, .3, 1),
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease !important;
  will-change: transform;
}

.yk-magnetic:hover {
  --yk-magnet-scale: 1.008;
}

.reveal,
.yk-reveal {
  opacity: 1;
  transform: translateY(0);
}

html.yk-modern:not(.yk-reduced-effects) .reveal,
html.yk-modern:not(.yk-reduced-effects) .yk-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 520ms cubic-bezier(.16, 1, .3, 1), transform 520ms cubic-bezier(.16, 1, .3, 1), filter 520ms cubic-bezier(.16, 1, .3, 1);
  filter: blur(2px);
}

html.yk-modern .reveal.visible,
html.yk-modern .yk-reveal.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

@media (max-width: 1100px) {
  .auth-screen {
    gap: 22px;
    padding: 24px !important;
  }

  .yk-auth-visual {
    width: var(--yk-auth-panel);
    max-width: var(--yk-auth-panel);
    min-height: 620px;
    padding: 28px;
  }

}

@media (max-width: 920px) {
  .auth-screen {
    min-height: 100svh;
    padding: 18px !important;
  }

  .yk-auth-visual {
    display: none;
  }

  .auth-box {
    width: min(500px, calc(100vw - 36px)) !important;
    max-width: min(500px, calc(100vw - 36px)) !important;
    min-height: auto;
    padding: 34px !important;
  }
}

@media (max-width: 760px) {
  .bot-catalog-grid {
    grid-template-columns: 1fr;
  }

  .bot-catalog-title-row {
    flex-direction: column;
    gap: 4px;
  }

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

  .bot-catalog-card .shop-btn {
    width: 100%;
  }

  .bot-command-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .yk-wizard-steps {
    grid-template-columns: 1fr;
  }

  .yk-wizard-head,
  .yk-id-validator {
    align-items: stretch;
    flex-direction: column;
  }

  .yk-id-validator .btn,
  .yk-wizard-head .btn {
    width: 100%;
  }

  .yk-pricing-grid {
    grid-template-columns: 1fr 1fr;
  }

  .container,
  .content {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  header,
  nav,
  .nav {
    gap: 12px;
  }

  .nav-buttons,
  .nav-right,
  .preview-modal-actions,
  .card-actions,
  .shop-item-actions {
    flex-wrap: wrap;
  }

  .hero h1 {
    font-size: 2.2rem !important;
    max-width: 310px;
    margin-left: auto;
    margin-right: auto;
    overflow-wrap: anywhere;
    line-height: 1.12 !important;
  }

  .hero-desc {
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
    font-size: 0.92rem !important;
  }

  .cta-row {
    display: grid !important;
    grid-template-columns: 1fr;
    justify-content: center !important;
    max-width: 240px;
    margin-left: auto;
    margin-right: auto;
  }

  .cta-btn {
    width: 100%;
    min-width: 0 !important;
    justify-content: center;
  }

  .hero {
    padding-top: 190px !important;
  }

  nav {
    align-items: center !important;
    flex-wrap: wrap !important;
    left: 10px !important;
    right: 10px !important;
    transform: none !important;
    width: calc(100% - 20px) !important;
  }

  nav .logo,
  nav .nav-logo {
    margin-right: 0;
  }

  nav .nav-right {
    display: grid !important;
    grid-template-columns: 106px 126px;
    justify-content: space-between;
    gap: 8px !important;
    width: 100%;
    max-width: 330px;
    margin-left: 0;
    margin-right: auto;
  }

  nav [data-currency-selector],
  nav .nav-login,
  nav .nav-cta,
  nav .yk-theme-toggle-inline {
    width: 100%;
    min-width: 0 !important;
  }

  nav .nav-cta {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: 150px;
  }

  nav .yk-theme-toggle-inline {
    position: fixed !important;
    right: 14px !important;
    top: auto !important;
    bottom: 14px !important;
    z-index: 5000 !important;
    width: 48px !important;
    min-width: 48px !important;
    height: 48px !important;
    padding: 0 !important;
    border-radius: 999px !important;
  }

  nav .yk-theme-toggle-inline span:last-child {
    display: none !important;
  }

  .yk-theme-toggle-mobile {
    position: fixed !important;
    right: 14px !important;
    top: auto !important;
    bottom: 14px !important;
    z-index: 5000 !important;
    width: 48px !important;
    min-width: 48px !important;
    height: 48px !important;
    padding: 0 !important;
    border-radius: 999px !important;
  }

  .yk-theme-toggle-mobile span:last-child {
    display: none !important;
  }

  nav .nav-login {
    padding-left: 8px !important;
    padding-right: 8px !important;
    font-size: 0.76rem !important;
    line-height: 1.1 !important;
    white-space: normal !important;
    text-align: center;
  }

  .stats-bar {
    transform: translateY(-22px);
    margin-bottom: 84px !important;
  }

  .yk-bot-showcase {
    grid-template-columns: 1fr;
  }

  .yk-bot-preview-media,
  .yk-bot-preview-media img {
    min-height: 160px;
  }

  .yk-bot-preview-copy h3 {
    font-size: 1.3rem;
  }

  .yk-window-system {
    left: 10px;
    right: 10px;
    bottom: 12px;
  }

  .yk-window-dock {
    max-width: calc(100vw - 74px);
    overflow-x: auto;
    gap: 4px;
    padding: 6px;
  }

  .yk-window-dock button {
    width: 36px;
    height: 36px;
    font-size: 0.68rem;
  }

  .yk-window-panel {
    left: 10px;
    bottom: 74px;
    grid-template-columns: 1fr;
    width: calc(100vw - 20px);
    max-height: calc(100vh - 120px);
    overflow-y: auto;
  }

  .yk-window-image,
  .yk-window-image img {
    min-height: 150px;
    max-height: 190px;
  }

  .yk-theme-toggle {
    right: 10px;
    top: 12px;
  }

  .auth-box {
    padding: 26px !important;
    border-radius: 22px !important;
  }

  .auth-title {
    font-size: 1.65rem !important;
  }

  .dash-tab .yk-ui-icon,
  .shop-filter-btn .yk-ui-icon,
  .btn .yk-ui-icon,
  .product-card-cta .yk-ui-icon {
    width: 18px !important;
    height: 18px !important;
    flex-basis: 18px !important;
  }
}

@supports (content-visibility: auto) {
  .feature-card,
  .pricing-card,
  .shop-item,
  .store-card,
  .dash-section,
  .landing-section,
  .visits-section {
    content-visibility: auto;
    contain-intrinsic-size: 1px 420px;
  }
}

html.yk-reduced-effects .reveal,
html.yk-reduced-effects .yk-reveal {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

html.yk-reduced-effects .yk-ripple,
html.yk-reduced-effects .yk-theme-flash,
html.yk-reduced-effects #scene {
  display: none !important;
}

html.yk-reduced-effects .feature-card,
html.yk-reduced-effects .pricing-card,
html.yk-reduced-effects .product-card,
html.yk-reduced-effects .shop-item,
html.yk-reduced-effects .store-card,
html.yk-reduced-effects .yk-auth-visual {
  transform: none !important;
  animation: none !important;
}

@media (max-width: 760px) {
  body {
    min-width: 0;
    text-rendering: optimizeLegibility;
  }

  #scene,
  .floating-card {
    display: none !important;
  }

  section {
    width: 100% !important;
    max-width: 100vw !important;
    padding: 72px 18px !important;
  }

  .hero {
    min-height: auto !important;
    padding: 190px 18px 64px !important;
  }

  .nav-links {
    display: none !important;
  }

  .features-grid,
  .commands-wrapper,
  .steps-grid,
  .dash-preview-wrap,
  .pricing-grid,
  .contact-grid,
  .hub-products,
  .stat-row,
  .script-options-grid,
  .chain-grid {
    grid-template-columns: 1fr !important;
  }

  .steps-grid::before {
    display: none !important;
  }

  .section-title {
    font-size: clamp(1.8rem, 9vw, 2.45rem) !important;
    margin-bottom: 28px !important;
  }

  .stats-bar {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px !important;
    width: 100%;
    max-width: 360px;
    transform: none !important;
    margin: 0 auto 40px !important;
  }

  .stat-divider {
    display: none !important;
  }

  .stat-value {
    font-size: clamp(1.1rem, 7vw, 1.55rem) !important;
  }

  .stat-label {
    font-size: 0.68rem !important;
  }

  .dash-content,
  .wrap {
    width: 100% !important;
    max-width: 100vw !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .dash-nav,
  .topbar,
  nav,
  .nav {
    width: calc(100vw - 20px) !important;
    max-width: calc(100vw - 20px) !important;
  }

  .modal-box,
  .deposit-modal-box {
    max-height: calc(100dvh - 28px) !important;
    overflow-y: auto !important;
    padding: 24px !important;
  }

  .modal-actions,
  .shop-item-footer,
  .shop-item-actions {
    flex-direction: column;
    align-items: stretch !important;
  }

  .modal-actions > *,
  .shop-item-actions > *,
  .shop-btn {
    width: 100%;
  }

  #txList,
  .table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .tx-table,
  table {
    min-width: 640px;
  }
}

@media (max-width: 480px) {
  .auth-box {
    width: calc(100vw - 24px) !important;
    padding: 22px !important;
  }

  .hero h1 {
    font-size: clamp(2rem, 13vw, 2.65rem) !important;
    max-width: 100% !important;
  }

  nav .nav-right {
    grid-template-columns: 1fr 1fr !important;
    max-width: 100% !important;
  }

  .deposit-amount-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

/* Polish pass: auth panel, shop sections and empty states */
.yk-auth-visual {
  border-radius: 18px !important;
  backdrop-filter: none !important;
  background:
    radial-gradient(circle at var(--yk-mx, 50%) var(--yk-my, 40%), rgba(255, 255, 255, 0.1), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.024)) !important;
}

.yk-auth-visual::before {
  inset: 24px !important;
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,0.06) 1px, transparent 1px) !important;
  background-size: 48px 48px !important;
  animation: none !important;
  opacity: 0.52 !important;
  filter: none !important;
  mix-blend-mode: normal !important;
  mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent) !important;
}

.yk-auth-canvas {
  opacity: 0.34 !important;
}

.yk-auth-panel-copy {
  width: min(100%, 380px);
  padding: 28px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(5,5,5,0.68);
  box-shadow: 0 18px 56px rgba(0,0,0,0.36);
}

.yk-auth-panel-copy .yk-lock-title {
  margin: 14px 0 20px;
  font-size: clamp(2.8rem, 5vw, 4.2rem);
}

.yk-auth-metrics {
  display: grid;
  gap: 9px;
  text-align: left;
}

.yk-auth-metrics span {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.045);
  color: rgba(255,255,255,0.58);
  font-size: 0.78rem;
}

.yk-auth-metrics strong {
  color: #fff;
}

.empty-state {
  display: grid !important;
  justify-items: center;
  gap: 6px;
  min-height: 132px;
  align-content: center;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.026);
}

.empty-state strong {
  color: var(--text);
  font-size: 0.94rem;
}

.empty-state span {
  max-width: 440px;
  color: var(--text-dim);
  line-height: 1.5;
}

.shop-grid.shop-grid-sectioned {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.shop-category-section {
  display: grid;
  gap: 12px;
}

.shop-category-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 0 2px;
}

.shop-category-head h2 {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
  font-weight: 850;
}

.shop-category-head span {
  color: var(--text-dim);
  font-size: 0.78rem;
}

.shop-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}

.shop-item {
  display: flex;
  flex-direction: column;
  min-height: 324px;
}

.shop-item-body {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.shop-item-footer {
  margin-top: auto;
}

.shop-item-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(5,5,5,0.76);
  color: #fff;
  font-size: 0.64rem;
  font-weight: 900;
}

.shop-item-badge.starter {
  color: rgba(255,255,255,0.72);
}

.shop-item-badge.popular,
.shop-item-badge.premium {
  background: rgba(255,255,255,0.88);
  color: #050505;
}
