* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  background: #0a0a0a;
  color: #e5e7eb;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 100px;
  overflow-x: hidden;
  max-width: 100vw;
}
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%,100%{opacity:.5} 50%{opacity:1} }
@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes fadeInModal { from { opacity: 0; } to { opacity: 1; } }

svg.feather { width: 20px; height: 20px; stroke-width: 2; }

.loading-screen {
  position: fixed; inset: 0; z-index: 99999;
  display: none;
  align-items: center; justify-content: center;
  overflow: hidden;
  transition: opacity .5s ease, visibility .5s ease;
}
html.show-loading-on-start .loading-screen,
body.show-loading .loading-screen { display: flex; }
.loading-screen__bg {
  position: absolute; inset: 0;
  background-image: url('../img/loodingsec.gif');
  background-size: cover; background-position: center;
  filter: brightness(.7);
}
.loading-screen__overlay {
  position: absolute; inset: 0;
  background: rgba(10,10,10,.5);
}
.loading-screen__content {
  position: relative; z-index: 3;
  display: flex; flex-direction: column;
  align-items: center; gap: 18px;
}
.loading-screen__spinner {
  width: 46px; height: 46px;
  border: 3px solid rgba(74,222,128,.15);
  border-top-color: #4ade80;
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
.loading-screen__text {
  font-size: 13px; color: #9ca3af;
  letter-spacing: 2px; text-transform: uppercase;
  font-weight: 600;
  animation: pulse 1.8s ease-in-out infinite;
}
.loading-screen.fade-out { opacity: 0; visibility: hidden; pointer-events: none; }

.sidebar { display: none !important; }
.sidebar__profile { display: none !important; }

.app-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,10,.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 14px 14px 12px;
}
.app-header__inner { max-width: 1400px; margin: 0 auto; }
.app-header__top {
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 10px; margin-bottom: 12px; min-height: 44px;
}
.app-header__logo {
  height: 80px; width: auto; max-width: 200px;
  object-fit: contain; flex-shrink: 0; margin: -18px 0;
}
.app-header__actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.search-box { position: relative; }
.search-box input {
  width: 100%; height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.08);
  background: #141414;
  color: #fff;
  padding: 0 14px 0 44px;
  font-size: 14px; outline: none;
  transition: all .2s;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 14px center;
}
.search-box input:focus {
  border-color: rgba(255,255,255,.15);
  background-color: #181818;
  outline: none !important;
  box-shadow: none !important;
}
.search-box input::placeholder { color: #6b7280; }

.header-home-only { transition: opacity .15s ease; }
.header-home-only.hidden { display: none; }
.app-header__info { margin-top: 14px; }
.app-header__title {
  font-size: 20px; font-weight: 700;
  line-height: 1.2; margin-bottom: 3px; color: #fff;
}
.app-header__title span { color: #4ade80; }
.app-header__subtitle { color: #9ca3af; font-size: 13px; min-height: 18px; }
.search-status { font-size: 12px; color: #9ca3af; margin-top: 4px; min-height: 16px; }
.search-status strong { color: #4ade80; }

.progress-info { max-width: 1400px; margin: 12px auto 0; padding: 0 14px; }
.progress-info__stats {
  display: flex; justify-content: space-between;
  gap: 10px; color: #9ca3af;
  font-size: 12px; margin-bottom: 6px;
}
.progress-info__stats strong { color: #4ade80; }
.progress-bar {
  height: 3px; width: 100%;
  background: rgba(255,255,255,.05);
  border-radius: 10px; overflow: hidden;
}
.progress-bar__fill {
  width: 100%; height: 100%;
  background: linear-gradient(90deg,#22c55e,#4ade80);
}

.app-main { max-width: 1400px; margin: 0 auto; padding: 14px 14px 30px; }
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}

.card {
  background: #111111;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: all .25s cubic-bezier(.4,0,.2,1);
  position: relative;
  will-change: transform;
  contain: layout paint;
  min-width: 0;
  max-width: 100%;
}
.card:hover {
  border-color: rgba(74,222,128,.35);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px -8px rgba(0,0,0,.6);
}
.card__image {
  width: 100%; aspect-ratio: 1/1;
  background: #181818;
  overflow: hidden; position: relative;
}
.card__image img {
  width: 100%; height: 100%; max-width: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.card:hover .card__image img { transform: scale(1.05); }
.card__placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: #181818;
  color: #4ade80; font-size: 28px;
}
.card__fav {
  position: absolute; top: 8px; right: 8px;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s; z-index: 5;
  border: 1px solid rgba(255,255,255,.08);
}
.card__fav:hover { transform: scale(1.08); background: rgba(0,0,0,.8); }
.card__fav.active { color: #fbbf24; }
.card__fav.active svg.feather { fill: #fbbf24; stroke: #fbbf24; }

.card__content {
  padding: 12px;
  min-width: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.card__title {
  font-size: 13px; font-weight: 600;
  line-height: 1.35; margin-bottom: 8px;
  min-height: 36px; color: #fff;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
  max-width: 100%;
}
.tag {
  display: inline-block; font-size: 10px;
  color: #9ca3af;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  padding: 3px 8px; border-radius: 6px;
  margin: 2px 2px 0 0;
  font-weight: 500;
}

.end-message { text-align: center; padding: 30px 10px; color: #9ca3af; font-size: 12px; }
.end-message strong { color: #4ade80; }
.empty-state { grid-column: 1/-1; text-align: center; padding: 50px 15px; color: #9ca3af; }
.empty-state-full { text-align: center; padding: 60px 20px; color: #9ca3af; }
.empty-state-full svg.feather { width: 48px; height: 48px; margin-bottom: 16px; color: #4b5563; stroke-width: 1.5; }
.empty-state-full p { margin-bottom: 6px; font-size: 15px; }
.empty-state-full p.small { font-size: 13px; color: #4b5563; }

.view { display: none; }
.view.active { display: block; }

.favorites-page { max-width: 1400px; margin: 0 auto; padding: 20px 16px 80px; }
.favorites-page__header {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px; padding: 16px 0 20px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  margin-bottom: 20px;
}
.favorites-page__title { font-size: 22px; font-weight: 700; color: #fff; }
.favorites-page__count { color: #9ca3af; font-size: 13px; }

.integration-wrap { max-width: 800px; margin: 0 auto; padding: 8px 14px 60px; }
.integration-hero { text-align: center; padding: 8px 20px 12px; }
.integration-hero__subtitle { color: #9ca3af; font-size: 14px; line-height: 1.5; }
.integration-card {
  background: #111111;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 16px; padding: 18px;
  margin-bottom: 12px;
  transition: border-color .2s;
}
.integration-card:hover { border-color: rgba(255,255,255,.1); }
.integration-card__head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.integration-card__icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(74,222,128,.1);
  border: 1px solid rgba(74,222,128,.2);
  display: flex; align-items: center; justify-content: center;
  color: #4ade80; flex-shrink: 0;
}
.integration-card__title { font-size: 15px; font-weight: 600; color: #fff; }
.integration-card__text { color: #9ca3af; font-size: 13px; line-height: 1.55; margin-bottom: 12px; }

.api-key-box {
  display: flex; align-items: center; gap: 8px;
  background: #0a0a0a;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px; padding: 12px;
  margin-top: 12px;
}
.api-key-box code {
  flex: 1; font-family: 'SF Mono', Monaco, monospace;
  font-size: 12px; color: #4ade80;
  word-break: break-all;
}
.api-key-box button {
  padding: 8px 10px; border-radius: 8px;
  background: #4ade80; color: #0a0a0a;
  border: none; cursor: pointer;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.api-key-box button:hover { background: #22c55e; transform: scale(1.05); }
.api-key-box button svg.feather { width: 14px; height: 14px; stroke: #0a0a0a; }

.api-loading {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 60px 20px; gap: 14px;
}
.api-loading .spinner {
  width: 32px; height: 32px;
  border: 3px solid rgba(255,255,255,.08);
  border-top-color: #4ade80;
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
.api-loading__text { color: #9ca3af; font-size: 13px; }

.btn-docs, .btn-upgrade {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; width: 100%;
  padding: 13px; margin-top: 4px;
  background: #4ade80; color: #0a0a0a;
  border: none; border-radius: 10px;
  font-size: 14px; font-weight: 600;
  cursor: pointer; text-decoration: none;
  transition: all .2s;
  font-family: inherit;
}
.btn-docs:hover, .btn-upgrade:hover {
  background: #22c55e;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(74,222,128,.25);
}
.btn-docs svg.feather, .btn-upgrade svg.feather { width: 16px; height: 16px; stroke: #0a0a0a; }

.btn-regenerate {
  width: 100%; padding: 12px; margin-top: 12px;
  background: transparent; color: #f87171;
  border: 1px solid rgba(248,113,113,.25);
  border-radius: 10px; font-size: 13px;
  font-weight: 600; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  gap: 8px; transition: all .2s;
  font-family: inherit;
}
.btn-regenerate:hover {
  background: rgba(248,113,113,.08);
  border-color: rgba(248,113,113,.5);
}
.btn-regenerate svg.feather { width: 14px; height: 14px; }

.api-doc-code {
  background: #0a0a0a;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px; overflow: hidden;
  margin-top: 10px;
}
.api-doc-code__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px;
  background: rgba(255,255,255,.02);
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: 11px; color: #9ca3af;
  font-weight: 600; text-transform: uppercase;
  letter-spacing: .5px;
}
.api-doc-code__header button {
  background: transparent; border: none;
  color: #9ca3af; cursor: pointer; padding: 4px;
  display: flex; align-items: center;
  transition: color .2s;
}
.api-doc-code__header button:hover { color: #4ade80; }
.api-doc-code__header svg.feather { width: 14px; height: 14px; }
.api-doc-code pre {
  margin: 0; padding: 14px;
  overflow-x: auto;
  font-family: 'SF Mono', Monaco, monospace;
  font-size: 12px; color: #4ade80;
  line-height: 1.6;
}

.profile-wrap { max-width: 600px; margin: 0 auto; padding: 20px 14px 60px; }
.profile-header { text-align: center; padding: 20px 0; }
.profile-avatar-wrapper {
  position: relative; width: 110px; height: 110px;
  margin: 0 auto 12px; cursor: pointer;
}
.profile-avatar {
  width: 100%; height: 100%; border-radius: 50%;
  background: #181818;
  border: 3px solid rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  color: #4ade80; overflow: hidden;
  transition: border-color .2s;
}
.profile-avatar-wrapper:hover .profile-avatar { border-color: rgba(74,222,128,.5); }
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-avatar-edit {
  position: absolute; bottom: 0; right: 0;
  width: 34px; height: 34px; border-radius: 50%;
  background: #4ade80; color: #0a0a0a;
  border: 3px solid #0a0a0a;
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s;
  pointer-events: none;
}
.profile-avatar-wrapper:hover .profile-avatar-edit { transform: scale(1.1); }
.profile-avatar-edit svg.feather { stroke: #0a0a0a; width: 14px; height: 14px; }
.profile-name { font-size: 20px; font-weight: 700; margin-bottom: 4px; color: #fff; }
.profile-subtitle { color: #9ca3af; font-size: 13px; }
.profile-stats { display: flex; gap: 10px; margin: 20px 0; }
.profile-stat {
  flex: 1; background: #111111;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 14px;
  padding: 16px 10px; text-align: center;
}
.profile-stat__value { font-size: 22px; font-weight: 700; color: #4ade80; margin-bottom: 4px; }
.profile-stat__label { font-size: 11px; color: #9ca3af; font-weight: 500; }
.profile-menu-btn {
  width: 100%; background: #111111;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 14px;
  padding: 16px;
  color: #e5e7eb;
  font-size: 14px; font-weight: 500;
  text-align: left;
  display: flex; align-items: center;
  gap: 12px; margin-bottom: 8px;
  transition: all .2s;
}
.profile-menu-btn:hover { background: #181818; border-color: rgba(255,255,255,.1); }
.profile-menu-btn__icon {
  color: #4ade80; display: flex;
  align-items: center; justify-content: center;
  width: 22px; height: 22px; flex-shrink: 0;
}
.profile-menu-btn__icon svg.feather { width: 18px; height: 18px; }
.profile-menu-btn__label { flex: 1; }
.profile-menu-btn__arrow { color: #4b5563; display: flex; align-items: center; }
.profile-menu-btn__arrow svg.feather { width: 14px; height: 14px; }

.bottom-nav {
  position: fixed;
  bottom: 12px; left: 12px; right: 12px;
  z-index: 200;
  background: rgba(17,17,17,.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  display: flex; justify-content: space-around; align-items: center;
  padding: 8px 6px;
  box-shadow: 0 8px 32px rgba(0,0,0,.5);
  max-width: 600px;
  margin: 0 auto;
}
.bottom-nav__item {
  flex: 1;
  display: flex; flex-direction: column; align-items: center;
  gap: 3px;
  color: #6b7280;
  font-size: 10px; font-weight: 500;
  padding: 8px 4px;
  border-radius: 14px;
  transition: all .2s ease;
  cursor: pointer;
}
.bottom-nav__item.active { color: #4ade80; background: rgba(74,222,128,.08); }
.bottom-nav__icon {
  width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
}
.bottom-nav__icon svg.feather { width: 20px; height: 20px; }
.bottom-nav__item.active .bottom-nav__icon svg.feather {
  stroke-width: 2.2;
  filter: drop-shadow(0 0 8px rgba(74,222,128,.4));
}

.drawer-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(4px);
  z-index: 300;
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
}
.drawer-overlay.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 82%; max-width: 340px;
  background: #111111;
  z-index: 310;
  transform: translateX(100%);
  transition: transform .28s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column;
  border-left: 1px solid rgba(255,255,255,.06);
}
.drawer.open { transform: translateX(0); }
.drawer__header {
  padding: 20px 18px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  display: flex; align-items: center; justify-content: space-between;
}
.drawer__brand { font-size: 18px; font-weight: 700; color: #fff; }
.drawer__brand span { color: #4ade80; }
.drawer__close {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.04);
  display: flex; align-items: center; justify-content: center;
  color: #9ca3af;
  transition: all .2s;
}
.drawer__close:hover { color: #4ade80; background: rgba(74,222,128,.08); }
.drawer__close svg.feather { width: 16px; height: 16px; }
.drawer__menu { flex: 1; overflow-y: auto; padding: 10px 0; }
.drawer__item {
  width: 100%; padding: 14px 20px;
  color: #e5e7eb; font-size: 14px;
  text-align: left;
  display: flex; align-items: center;
  gap: 14px;
  transition: background .15s;
}
.drawer__item:hover { background: rgba(255,255,255,.03); }
.drawer__item__icon {
  color: #4ade80; width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.drawer__item__icon svg.feather { width: 18px; height: 18px; }
.drawer__item__label { flex: 1; }
.drawer__item__arrow { color: #4b5563; display: flex; align-items: center; }
.drawer__item__arrow svg.feather { width: 14px; height: 14px; }
.drawer__item--danger .drawer__item__icon { color: #f87171; }
.drawer__footer {
  padding: 16px 20px;
  border-top: 1px solid rgba(255,255,255,.06);
  color: #4b5563; font-size: 11px;
  text-align: center; line-height: 1.5;
}

.doc-page { max-width: 760px; margin: 0 auto; padding: 20px 16px 100px; }
.doc-page__body { color: #c9cdd3; font-size: 14px; line-height: 1.7; }
.doc-page__body h3 { color: #4ade80; font-size: 15px; margin: 20px 0 8px; font-weight: 600; }
.doc-page__body h3:first-child { margin-top: 0; }
.doc-page__body p { margin-bottom: 10px; }
.doc-page__body strong { color: #fff; }
.doc-page__body a { color: #4ade80; }
.doc-page__body a:hover { text-decoration: underline; }
.doc-page__body ul { list-style: none; padding-left: 0; margin: 0 0 16px 0; }
.doc-page__body ul li { margin-bottom: 8px; color: #c9cdd3; line-height: 1.6; }

.plans-hero { text-align: center; padding: 8px 4px 24px; }
.plans-hero__title { font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.plans-hero__subtitle { font-size: 13px; color: #9ca3af; line-height: 1.5; max-width: 340px; margin: 0 auto; }
.plans-grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin-bottom: 20px; }
.plan-card {
  position: relative;
  background: #111111;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 16px;
  padding: 22px 18px 18px;
  display: flex; flex-direction: column;
  transition: border-color .2s;
}
.plan-card:hover { border-color: rgba(255,255,255,.12); }
.plan-card__ribbon {
  position: absolute; top: 14px; right: 14px;
  background: #4ade80; color: #0a0a0a;
  font-size: 10px; font-weight: 700;
  padding: 3px 9px; border-radius: 999px;
  letter-spacing: .3px; text-transform: uppercase;
}
.plan-card__ribbon--hot, .plan-card__ribbon--best {
  background: rgba(255,255,255,.08); color: #9ca3af;
}
.plan-card__head { margin-bottom: 12px; }
.plan-card__name { font-size: 17px; font-weight: 700; color: #fff; letter-spacing: -.3px; }
.plan-card__tag {
  font-size: 11px; color: #6b7280;
  margin-top: 2px; text-transform: uppercase;
  letter-spacing: .5px; font-weight: 600;
}
.plan-card__price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 4px; }
.plan-card__price-value { font-size: 28px; font-weight: 800; color: #fff; letter-spacing: -1px; }
.plan-card__price-per { font-size: 13px; color: #6b7280; font-weight: 500; }
.plan-card__equiv { font-size: 11px; color: #4ade80; font-weight: 600; margin-bottom: 10px; }
.plan-card__desc {
  font-size: 12.5px; color: #9ca3af;
  line-height: 1.55; margin-bottom: 16px; padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.plan-card__features { list-style: none; padding: 0; margin: 0 0 18px 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.plan-feat { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; line-height: 1.45; color: #d1d5db; }
.plan-feat i { width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px; }
.plan-feat--ok i { color: #4ade80; }
.plan-feat--no { color: #4b5563; }
.plan-feat--no i { color: #4b5563; }
.plan-feat--no span { text-decoration: line-through; opacity: .7; }
.plan-feat strong { color: #fff; font-weight: 600; }
.plan-btn {
  width: 100%; padding: 12px;
  border-radius: 10px;
  font-size: 13.5px; font-weight: 700;
  cursor: pointer; border: none;
  transition: all .2s;
}
.plan-btn--primary { background: #4ade80; color: #0a0a0a; }
.plan-btn--primary:hover { background: #22c55e; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(74,222,128,.25); }
.plan-btn--secondary { background: rgba(255,255,255,.04); color: #6b7280; cursor: not-allowed; }
.plans-footer {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; padding: 14px; font-size: 11.5px;
  color: #6b7280; text-align: center;
}
.plans-footer i { width: 14px; height: 14px; color: #4ade80; flex-shrink: 0; }

.integration-card--plan.plan-free { border-color: rgba(255,255,255,.06); }
.integration-card--plan.plan-vip { border-color: rgba(74,222,128,.3); }
.integration-card--plan.plan-anual { border-color: rgba(251,191,36,.3); }
.integration-card--plan .integration-card__icon { color: #4ade80; }
.integration-card--plan.plan-vip .integration-card__icon {
  color: #4ade80; background: rgba(74,222,128,.12); border-color: rgba(74,222,128,.3);
}
.integration-card--plan.plan-anual .integration-card__icon {
  color: #fbbf24; background: rgba(251,191,36,.12); border-color: rgba(251,191,36,.3);
}

.plan-badge-vip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  margin-top: 8px;
  background: rgba(74,222,128,.1);
  border: 1px solid rgba(74,222,128,.3);
  border-radius: 10px;
  color: #4ade80;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.plan-badge-vip svg.feather {
  width: 16px;
  height: 16px;
  stroke: #4ade80;
}


.plan-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-top: 8px;
  line-height: 1;
}

.plan-badge svg.feather {
  width: 18px !important;
height: 18px !important;
  stroke-width: 2;
  flex-shrink: 0;
}

.plan-badge--free {
  background: transparent;
  color: #9ca3af;
  border: none;
}

.plan-badge--vip {
  background: transparent;
  color: #fbbf24;
  border: none;
}

.plan-badge--vip svg.feather {
  fill: #fbbf24;
  stroke: #fbbf24;
}

.plan-badge--anual {
  background: transparent;
  color: #fbbf24;
  border: none;
}

.plan-badge--anual svg.feather {
  fill: #fbbf24;
  stroke: #fbbf24;
}

.modal, .sp-modal, .upgrade-modal, .modal-confirmar, .modal-chave {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center; justify-content: center;
  padding: 16px;
}
.modal.active, .sp-modal.active, .upgrade-modal.active { display: flex; }
.modal-confirmar, .modal-chave { display: flex; }

.modal__box, .sp-modal-box, .upgrade-modal__box, .modal-confirmar__box, .modal-chave__box {
  background: #111111;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  width: 100%; max-width: 460px;
  max-height: 92vh; overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 24px 80px rgba(0,0,0,.6);
  animation: modalIn .35s cubic-bezier(.34,1.56,.64,1);
}
.modal__box { max-width: 650px; overflow-y: auto; display: block; }
.sp-modal-header {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  display: flex; align-items: center; justify-content: space-between;
  flex-shrink: 0;
}
.sp-modal-title { color: #fff; font-size: 17px; font-weight: 700; }
.sp-modal-close, .modal__close {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.04);
  color: #9ca3af; border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.sp-modal-close:hover, .modal__close:hover {
  color: #4ade80; background: rgba(74,222,128,.08);
}
.sp-modal-close svg.feather, .modal__close svg.feather { width: 18px; height: 18px; }
.modal__close { position: absolute; top: 12px; right: 12px; z-index: 5; }
.sp-modal-body { padding: 20px; overflow-y: auto; flex: 1; }

.modal { padding: 15px; }
.modal__box { position: relative; }
.modal__image {
  width: 100%; background: #181818;
  min-height: 200px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.modal__image img { width: 100%; max-height: 430px; object-fit: contain; }
.modal__content { padding: 18px; }
.modal__content h2 {
  font-size: 19px; margin-bottom: 12px;
  padding-right: 35px; line-height: 1.3;
  color: #fff; font-weight: 700;
}
.modal__details { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.detail {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  color: #d1d5db;
  padding: 6px 10px; border-radius: 8px; font-size: 11px;
}
.modal__instructions-title { color: #4ade80; font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.modal__instructions { color: #c9cdd3; font-size: 13px; line-height: 1.6; }
.instruction-item { margin-bottom: 7px; }

.upgrade-modal__box { padding: 32px 24px; text-align: center; position: relative; display: block; }
.upgrade-modal__close {
  position: absolute; top: 12px; right: 12px;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,.04);
  color: #9ca3af;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: color .2s;
}
.upgrade-modal__close:hover { color: #4ade80; }
.upgrade-modal__icon {
  width: 64px; height: 64px;
  margin: 0 auto 16px; border-radius: 50%;
  background: rgba(74,222,128,.1);
  border: 1px solid rgba(74,222,128,.2);
  display: flex; align-items: center; justify-content: center;
  color: #4ade80;
}
.upgrade-modal__icon svg.feather { width: 32px; height: 32px; }
.upgrade-modal__title { color: #fff; font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.upgrade-modal__text { color: #9ca3af; font-size: 14px; line-height: 1.6; margin-bottom: 22px; }
.upgrade-modal__btn {
  width: 100%; padding: 14px; border-radius: 12px;
  background: #4ade80; color: #0a0a0a;
  font-size: 14px; font-weight: 700;
  border: none; cursor: pointer;
  margin-bottom: 8px; transition: all .2s;
}
.upgrade-modal__btn:hover { background: #22c55e; }
.upgrade-modal__btn-secondary {
  background: transparent; color: #9ca3af;
  border: 1px solid rgba(255,255,255,.08);
}
.upgrade-modal__btn-secondary:hover { background: rgba(255,255,255,.04); color: #fff; }

.modal-confirmar { z-index: 99998; animation: fadeInModal .2s ease; }
.modal-confirmar__box { padding: 28px 24px 22px; text-align: center; display: block; }
.modal-confirmar__icon {
  width: 64px; height: 64px;
  margin: 0 auto 18px; border-radius: 50%;
  background: rgba(74,222,128,.1);
  display: flex; align-items: center; justify-content: center;
  color: #4ade80;
}
.modal-confirmar__icon svg.feather { width: 32px; height: 32px; stroke-width: 2.5; }
.modal-confirmar__title { color: #fff; font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.modal-confirmar__text { color: #9ca3af; font-size: 14px; line-height: 1.6; margin-bottom: 22px; }
.modal-confirmar__text strong { color: #4ade80; }
.modal-confirmar__actions { display: flex; gap: 10px; }
.modal-confirmar__btn {
  flex: 1; padding: 13px; border-radius: 12px;
  font-size: 14px; font-weight: 700;
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  transition: all .2s;
}
.modal-confirmar__btn svg.feather { width: 15px; height: 15px; }
.modal-confirmar__btn--cancel {
  background: transparent; color: #9ca3af;
  border: 1px solid rgba(255,255,255,.08);
}
.modal-confirmar__btn--cancel:hover { color: #fff; border-color: rgba(255,255,255,.2); }
.modal-confirmar__btn--danger { background: #ef4444; color: #fff; }
.modal-confirmar__btn--danger:hover { background: #dc2626; transform: translateY(-1px); }

.modal-chave { z-index: 99999; animation: fadeInModal .2s ease; }
.modal-chave__box { padding: 32px 24px 24px; text-align: center; display: block; position: relative; max-width: 440px; }
.modal-chave__close {
  position: absolute; top: 14px; right: 14px;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.04);
  color: #9ca3af;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .2s;
}
.modal-chave__close:hover { color: #4ade80; background: rgba(74,222,128,.08); }
.modal-chave__icon {
  width: 72px; height: 72px;
  margin: 0 auto 20px; border-radius: 50%;
  background: rgba(74,222,128,.1);
  display: flex; align-items: center; justify-content: center;
  color: #4ade80;
}
.modal-chave__icon svg.feather { width: 36px; height: 36px; stroke-width: 2.5; }
.modal-chave__title { color: #fff; font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.modal-chave__text { color: #9ca3af; font-size: 14px; line-height: 1.6; margin-bottom: 20px; }
.modal-chave__text strong { color: #4ade80; }
.modal-chave__key-box {
  display: flex; align-items: center; gap: 8px;
  background: #0a0a0a;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  padding: 14px; margin-bottom: 14px;
}
.modal-chave__key-box code {
  flex: 1;
  font-family: 'SF Mono', Monaco, monospace;
  font-size: 12px; color: #4ade80;
  word-break: break-all; text-align: left;
}
.modal-chave__key-box button {
  padding: 10px; border-radius: 8px;
  background: #4ade80; color: #0a0a0a;
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.modal-chave__key-box button:hover { background: #22c55e; transform: scale(1.08); }
.modal-chave__key-box button svg.feather { width: 16px; height: 16px; stroke: #0a0a0a; }
.modal-chave__warning {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px;
  background: rgba(251,191,36,.08);
  border: 1px solid rgba(251,191,36,.15);
  border-radius: 10px;
  margin-bottom: 18px; text-align: left;
}
.modal-chave__warning svg.feather {
  width: 18px; height: 18px;
  color: #fbbf24; flex-shrink: 0; margin-top: 1px;
}
.modal-chave__warning span { color: #fbbf24; font-size: 12px; line-height: 1.5; }
.modal-chave__btn {
  width: 100%; padding: 14px; border-radius: 12px;
  background: #4ade80; color: #0a0a0a;
  font-size: 14px; font-weight: 700;
  border: none; cursor: pointer; transition: all .2s;
}
.modal-chave__btn:hover { background: #22c55e; }

.sp-avatar-section { text-align: center; margin-bottom: 20px; }
.sp-avatar-wrapper { position: relative; width: 110px; height: 110px; margin: 0 auto 12px; }
.sp-avatar {
  width: 100%; height: 100%; border-radius: 50%;
  background: #181818;
  border: 3px solid rgba(255,255,255,.08);
  object-fit: cover; display: block;
}
.sp-avatar-placeholder {
  width: 100%; height: 100%; border-radius: 50%;
  background: #181818;
  border: 3px solid rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  color: #4ade80;
}
.sp-avatar-edit {
  position: absolute; bottom: 0; right: 0;
  width: 34px; height: 34px; border-radius: 50%;
  background: #4ade80; color: #0a0a0a;
  border: 3px solid #111111;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s;
}
.sp-avatar-edit:hover { transform: scale(1.1); }
.sp-avatar-edit svg.feather { stroke: #0a0a0a; }
.sp-username { color: #fff; font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.sp-email { color: #9ca3af; font-size: 13px; }

.sp-field { margin-bottom: 14px; }
.sp-field label {
  display: block; color: #9ca3af;
  font-size: 12px; font-weight: 600;
  margin-bottom: 6px;
  text-transform: uppercase; letter-spacing: .5px;
}
.sp-field input {
  width: 100%; padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.08);
  background: #0a0a0a; color: #fff;
  font-size: 15px; outline: none;
  transition: all .2s;
}
.sp-field input:focus { border-color: rgba(74,222,128,.5); box-shadow: 0 0 0 3px rgba(74,222,128,.08); }
.sp-field input::placeholder { color: #4b5563; }

.sp-btn {
  width: 100%; padding: 13px;
  border: none; border-radius: 10px;
  background: #4ade80; color: #0a0a0a;
  font-size: 14px; font-weight: 700;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  gap: 8px; margin-bottom: 8px;
  transition: all .2s;
}
.sp-btn:hover:not(:disabled) { background: #22c55e; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(74,222,128,.25); }
.sp-btn:disabled { opacity: .5; cursor: not-allowed; }

.sp-msg { padding: 11px 14px; border-radius: 10px; font-size: 13px; margin-bottom: 14px; line-height: 1.4; display: none; }
.sp-msg.show { display: block; }
.sp-msg.error { background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.3); color: #fca5a5; }
.sp-msg.success { background: rgba(74,222,128,.1); border: 1px solid rgba(74,222,128,.3); color: #86efac; }

.sp-tabs {
  display: flex; gap: 4px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px;
  padding: 4px; margin-bottom: 18px;
}
.sp-tab {
  flex: 1; padding: 9px; border-radius: 8px;
  font-size: 13px; font-weight: 600;
  color: #9ca3af; background: transparent;
  border: none; cursor: pointer;
  transition: all .2s;
}
.sp-tab.active { background: #4ade80; color: #0a0a0a; }

.card--locked { position: relative; }
.card--locked .card__image img { filter: blur(16px) brightness(.5); transform: scale(1.1); }
.card--locked .card__lock {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 8px;
  background: rgba(10,10,10,.4);
  color: #4ade80; z-index: 3;
  pointer-events: none;
}
.card--locked .card__lock svg.feather { width: 32px; height: 32px; stroke-width: 2; }
.card--locked .card__lock-text {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .5px;
  color: #fff;
}

.toast {
  position: fixed;
  bottom: 110px; left: 50%;
  transform: translateX(-50%) translateY(20px) scale(.9);
  background: #1a1a1a; color: #fff;
  padding: 14px 20px; border-radius: 14px;
  font-size: 13.5px; font-weight: 600;
  z-index: 3000;
  opacity: 0;
  transition: all .3s cubic-bezier(.34,1.56,.64,1);
  box-shadow: 0 12px 40px rgba(0,0,0,.6);
  pointer-events: none;
  display: flex; align-items: center; gap: 10px;
  max-width: 90vw;
  border: 1px solid rgba(255,255,255,.08);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
.toast::before {
  content: '';
  width: 8px; height: 8px; border-radius: 50%;
  background: #4ade80; flex-shrink: 0;
  box-shadow: 0 0 12px rgba(74,222,128,.6);
}
.toast.erro::before { background: #f87171; box-shadow: 0 0 12px rgba(248,113,113,.6); }

.card__image::after {
  content: 'FitAssets';
  position: absolute;
  bottom: 8px; right: 8px;
  background: rgba(0,0,0,.7);
  color: #4ade80;
  padding: 4px 9px; border-radius: 6px;
  font-size: 10px; font-weight: 700;
  pointer-events: none;
  opacity: .7; z-index: 3;
}
.modal__image::after {
  content: 'FitAssets';
  position: absolute;
  bottom: 12px; right: 12px;
  background: rgba(0,0,0,.7);
  color: #4ade80;
  padding: 6px 12px; border-radius: 8px;
  font-size: 11px; font-weight: 700;
  pointer-events: none;
  opacity: .75; z-index: 3;
}
.credit { display: none; }

.lang-picker { position: relative; display: inline-block; }
.lang-picker__btn {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px;
  background: #141414;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  color: #e5e7eb;
  font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all .2s;
  font-family: inherit;
  min-width: 90px; justify-content: space-between;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}
.lang-picker__btn:hover { background: #181818; border-color: rgba(255,255,255,.15); }
.lang-picker__btn:focus, .lang-picker__btn:focus-visible, .lang-picker__btn:active {
  outline: none !important;
  box-shadow: none !important;
  border-color: rgba(255,255,255,.15);
}
.lang-picker__flag { font-size: 16px; line-height: 1; }
.lang-picker__code {
  flex: 1; text-align: left;
  font-family: 'SF Mono', Monaco, monospace;
  font-size: 12px; letter-spacing: .5px;
}
.lang-picker__arrow { width: 14px; height: 14px; color: #9ca3af; transition: transform .2s; }
.lang-picker__btn.active .lang-picker__arrow { transform: rotate(180deg); color: #4ade80; }
.lang-picker__dropdown {
  position: absolute;
  top: calc(100% + 8px); right: 0;
  background: #111111;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px; padding: 6px;
  min-width: 200px;
  max-height: 400px; overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
  z-index: 200;
  opacity: 0; visibility: hidden;
  transform: translateY(-8px);
  transition: all .2s ease;
}
.lang-picker__dropdown.open { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-picker__option {
  display: flex; align-items: center; gap: 10px;
  width: 100%; padding: 10px 12px;
  background: transparent; border: none;
  border-radius: 8px;
  color: #e5e7eb;
  font-size: 13.5px; font-weight: 500;
  text-align: left; cursor: pointer;
  transition: all .15s;
  font-family: inherit; outline: none;
}
.lang-picker__option:hover { background: rgba(255,255,255,.04); color: #fff; }
.lang-picker__option.active { background: rgba(74,222,128,.12); color: #4ade80; }
.lang-picker__option.active::after { content: '✓'; margin-left: auto; color: #4ade80; font-weight: 700; }
.lang-picker__option .lang-picker__flag { font-size: 18px; }
.lang-picker__option .lang-picker__name { flex: 1; }
.lang-picker__dropdown::-webkit-scrollbar { width: 6px; }
.lang-picker__dropdown::-webkit-scrollbar-track { background: transparent; }
.lang-picker__dropdown::-webkit-scrollbar-thumb { background: rgba(255,255,255,.08); border-radius: 3px; }

.pix-modal {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center; justify-content: center;
  z-index: 9999;
  padding: 16px;
}
.pix-modal.active { display: flex; }
.pix-modal__box {
  background: #111111; border-radius: 20px;
  border: 1px solid rgba(255,255,255,.08);
  max-width: 440px; width: 100%;
  padding: 24px; position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,.6);
  animation: modalIn .35s cubic-bezier(.34,1.56,.64,1);
  max-height: 92vh; overflow-y: auto;
}
.pix-modal__close {
  position: absolute; top: 14px; right: 14px;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.04);
  color: #9ca3af;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .2s; border: none;
}
.pix-modal__close:hover { color: #4ade80; background: rgba(74,222,128,.08); }
.pix-modal__close svg.feather { width: 18px; height: 18px; }
.pix-modal__title {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; font-size: 1.15rem; font-weight: 700;
  color: #fff; margin-bottom: 6px; padding-right: 30px;
}
.pix-modal__title svg.feather { color: #4ade80; width: 22px; height: 22px; }
.pix-modal__plan {
  font-size: .85rem; color: #9ca3af;
  margin-bottom: 20px; text-align: center; font-weight: 500;
}
.pix-modal__plan strong { color: #4ade80; font-weight: 700; }
.pix-modal__qr { display: flex; justify-content: center; margin-bottom: 20px; }
.pix-modal__qr img {
  width: 220px; height: 220px;
  background: #fff; padding: 10px; border-radius: 16px;
  border: 3px solid rgba(74,222,128,.4);
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
}
.pix-modal__label {
  font-size: .8rem; color: #9ca3af;
  margin-bottom: 8px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .5px;
}
.pix-modal__code-box {
  display: flex; background: #0a0a0a;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px; padding: 10px;
  margin-bottom: 16px; gap: 8px; align-items: center;
}
.pix-modal__code-box code {
  flex: 1; color: #4ade80;
  font-family: 'SF Mono', Monaco, 'Courier New', monospace;
  font-size: .7rem; word-break: break-all;
  max-height: 60px; overflow-y: auto;
  padding: 8px; border-radius: 8px;
  text-align: left; line-height: 1.5;
}
.pix-modal__code-box button {
  background: #4ade80; border: none;
  color: #0a0a0a; padding: 10px; border-radius: 8px;
  cursor: pointer; transition: all .2s;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.pix-modal__code-box button:hover { background: #22c55e; transform: scale(1.05); }
.pix-modal__code-box button svg.feather { width: 16px; height: 16px; stroke: #0a0a0a; stroke-width: 2.5; }
.pix-modal__status {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; font-size: .85rem; color: #fbbf24;
  margin-bottom: 16px; padding: 11px;
  background: rgba(251,191,36,.08);
  border: 1px solid rgba(251,191,36,.15);
  border-radius: 10px; font-weight: 600;
}
.pix-modal__status svg.feather { width: 16px; height: 16px; stroke: #fbbf24; }
.pix-modal__check-btn {
  width: 100%; background: #4ade80; border: none;
  color: #0a0a0a; padding: 14px; border-radius: 12px;
  font-weight: 700; font-size: .95rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  gap: 8px; transition: all .2s;
  margin-bottom: 12px; font-family: inherit;
}
.pix-modal__check-btn:hover { background: #22c55e; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(74,222,128,.25); }
.pix-modal__check-btn svg.feather { width: 16px; height: 16px; stroke: #0a0a0a; stroke-width: 2.5; }
.pix-modal__timer {
  display: flex; align-items: center; justify-content: center;
  gap: 6px; font-size: .75rem; color: #6b7280;
}
.pix-modal__timer svg.feather { width: 14px; height: 14px; stroke: #6b7280; }
.pix-modal__loading {
  display: flex; flex-direction: column;
  align-items: center; gap: 18px; padding: 44px 20px;
}
.pix-modal__loading-text { color: #fff; font-size: .95rem; font-weight: 600; }
.pix-modal .spinner {
  width: 40px; height: 40px;
  border: 3px solid rgba(74,222,128,.15);
  border-top-color: #4ade80;
  border-radius: 50%;
  animation: spin .8s linear infinite;
}

.onboarding {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #0a0a0a;
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}
.onboarding.active { display: flex; }

.onboarding__box {
  background: #111111;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 24px;
  max-width: 520px;
  width: 100%;
  padding: 28px 24px 24px;
  box-shadow: 0 24px 80px rgba(0,0,0,.6);
  animation: modalIn .4s cubic-bezier(.34,1.56,.64,1);
  max-height: 95vh;
  overflow-y: auto;
  margin: auto;
}
.onboarding__box::-webkit-scrollbar { width: 6px; }
.onboarding__box::-webkit-scrollbar-track { background: transparent; }
.onboarding__box::-webkit-scrollbar-thumb { background: rgba(255,255,255,.08); border-radius: 3px; }

.onboarding__header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 28px; padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.onboarding__brand { font-size: 18px; font-weight: 800; color: #fff; letter-spacing: -.5px; }
.onboarding__brand .green { color: #4ade80; }
.onboarding__steps { display: flex; gap: 6px; align-items: center; }
.onboarding__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.1);
  transition: all .3s;
}
.onboarding__dot.active { background: #4ade80; width: 24px; border-radius: 4px; }
.onboarding__dot.done { background: #22c55e; }
.onboarding__step { animation: fadeInModal .3s ease; }
.onboarding__title { font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 6px; letter-spacing: -.5px; }
.onboarding__subtitle { font-size: 13.5px; color: #9ca3af; line-height: 1.5; margin-bottom: 24px; }
.onboarding__question { margin-bottom: 20px; }
.onboarding__question label {
  display: block; font-size: 12px; font-weight: 700;
  color: #9ca3af; text-transform: uppercase;
  letter-spacing: .5px; margin-bottom: 8px;
}

.onboarding__options { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.onboarding__option {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 12px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  color: #e5e7eb; font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all .2s;
  text-align: left; font-family: inherit;
}
.onboarding__option:hover { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.15); }
.onboarding__option.selected {
  background: rgba(74,222,128,.1);
  border-color: rgba(74,222,128,.5);
  color: #4ade80;
}
.onboarding__option svg {
  width: 18px; height: 18px; flex-shrink: 0;
  stroke: currentColor; stroke-width: 2; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
}
.onboarding__option.selected svg { stroke: #4ade80; }
.onboarding__option span { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.onboarding__actions { display: flex; gap: 10px; margin-top: 12px; }
.onboarding__btn {
  width: 100%; padding: 14px;
  background: #4ade80; color: #0a0a0a;
  border: none; border-radius: 12px;
  font-size: 14px; font-weight: 700;
  cursor: pointer; transition: all .2s;
  display: flex; align-items: center; justify-content: center;
  gap: 8px; font-family: inherit; margin-top: 12px;
}
.onboarding__btn:hover:not(:disabled) {
  background: #22c55e; transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(74,222,128,.25);
}
.onboarding__btn:disabled { opacity: .4; cursor: not-allowed; }
.onboarding__btn svg {
  width: 16px; height: 16px;
  stroke: #0a0a0a; stroke-width: 2.5;
  fill: none; stroke-linecap: round; stroke-linejoin: round;
}
.onboarding__btn--ghost {
  background: transparent; color: #9ca3af;
  border: 1px solid rgba(255,255,255,.08);
}
.onboarding__btn--ghost:hover { background: rgba(255,255,255,.04); color: #fff; }
.onboarding__btn--ghost svg { stroke: currentColor; }
.onboarding__actions .onboarding__btn { margin-top: 0; }

.onboarding__input-wrapper { position: relative; display: flex; align-items: center; }
.onboarding__input-wrapper > svg {
  position: absolute; left: 14px; top: 50%;
  transform: translateY(-50%);
  color: #6b7280; pointer-events: none;
  width: 16px; height: 16px;
  stroke: currentColor; stroke-width: 2; fill: none;
  z-index: 2;
}
.onboarding__input-wrapper input,
.onboarding__input-wrapper select {
  width: 100%; height: 50px;
  padding: 0 40px 0 42px;
  background: #0a0a0a;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  color: #fff; font-size: 14px; font-family: inherit;
  outline: none; transition: all .2s;
}
.onboarding__input-wrapper input:focus,
.onboarding__input-wrapper select:focus {
  border-color: rgba(74,222,128,.5);
  background: rgba(74,222,128,.03);
}
.onboarding__input-wrapper input::placeholder { color: #4b5563; }
.onboarding__input-wrapper select {
  appearance: none; -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-color: #0a0a0a;
}
.onboarding__input-wrapper select option { background: #111111; color: #fff; }

.onboarding__custom { margin-top: 10px; animation: fadeInModal .25s ease; }
.onboarding__custom input {
  width: 100%; height: 50px;
  padding: 0 14px;
  background: #0a0a0a;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  color: #fff; font-size: 14px; font-family: inherit;
  outline: none; transition: all .2s;
}
.onboarding__custom input:focus { border-color: rgba(74,222,128,.5); background: rgba(74,222,128,.03); }
.onboarding__custom input::placeholder { color: #4b5563; }

.onboarding__select-wrapper { position: relative; width: 100%; }
.onboarding__select-btn {
  width: 100%; height: 50px;
  padding: 0 16px 0 14px;
  background: #0a0a0a;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  color: #fff; font-size: 14px; font-family: inherit; font-weight: 500;
  display: flex; align-items: center; gap: 12px;
  cursor: pointer; transition: all .2s;
  text-align: left;
}
.onboarding__select-btn:hover { border-color: rgba(255,255,255,.15); background: #181818; }
.onboarding__select-btn.active { border-color: rgba(74,222,128,.5); background: rgba(74,222,128,.03); }
.onboarding__select-flag { font-size: 20px; line-height: 1; flex-shrink: 0; }
.onboarding__select-name {
  flex: 1; white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis; color: #fff;
}
.onboarding__select-arrow { width: 14px; height: 14px; color: #9ca3af; transition: transform .2s; flex-shrink: 0; }
.onboarding__select-btn.active .onboarding__select-arrow { transform: rotate(180deg); color: #4ade80; }

.onboarding__select-dropdown {
  position: absolute;
  top: calc(100% + 6px); left: 0; right: 0;
  background: #111111;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
  z-index: 500;
  opacity: 0; visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  max-height: 300px;
  overflow: hidden;
}
.onboarding__select-dropdown.open { opacity: 1; visibility: visible; transform: translateY(0); }
.onboarding__select-list {
  display: flex; flex-direction: column; gap: 2px;
  overflow-y: auto;
  overscroll-behavior: contain;
  max-height: 288px;
  padding-right: 4px;
}
.onboarding__select-list::-webkit-scrollbar { width: 6px; }
.onboarding__select-list::-webkit-scrollbar-track { background: transparent; }
.onboarding__select-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 3px; }
.onboarding__select-option {
  width: 100%; padding: 10px 12px;
  background: transparent; border: none;
  border-radius: 8px;
  color: #e5e7eb; font-size: 13px; font-weight: 500;
  text-align: left; cursor: pointer;
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0; transition: background .15s;
}
.onboarding__select-option:hover { background: rgba(255,255,255,.04); color: #fff; }
.onboarding__select-option.active { background: rgba(74,222,128,.12); color: #4ade80; }
.onboarding__select-option.active::after { content: '✓'; margin-left: auto; color: #4ade80; font-weight: 700; }
.onboarding__select-option .onboarding__select-flag { font-size: 17px; }
.onboarding__select-empty {
  padding: 16px; text-align: center;
  font-size: 13px; opacity: .6; color: #e5e7eb;
}

@media (min-width: 900px) {
  body { padding-left: 240px; padding-bottom: 40px; }

  .sidebar {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; bottom: 0;
    width: 240px;
    background: #111111;
    border-right: 1px solid rgba(255,255,255,.06);
    z-index: 150;
    padding: 16px 12px;
  }
  .sidebar__menu {
    display: flex; flex-direction: column; gap: 4px;
    overflow-y: auto; scrollbar-width: none;
    padding-bottom: 12px; flex: 1;
  }
  .sidebar__menu::-webkit-scrollbar { display: none; }
  .sidebar__item {
    position: relative; height: 44px; padding: 0 12px;
    border-radius: 10px;
    display: flex; align-items: center; gap: 12px;
    color: #9ca3af; cursor: pointer;
    transition: all .15s ease;
    flex-shrink: 0; font-size: 13.5px; font-weight: 500;
  }
  .sidebar__item::before {
    content: attr(data-label);
    flex: 1; white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis;
  }
  .sidebar__item:hover { background: rgba(255,255,255,.04); color: #e5e7eb; }
  .sidebar__item.active { background: rgba(74,222,128,.12); color: #4ade80; }
  .sidebar__item.active::after {
    content: ''; position: absolute;
    left: 0; top: 50%; transform: translateY(-50%);
    width: 3px; height: 20px;
    background: #4ade80; border-radius: 0 3px 3px 0;
  }
  .sidebar__item svg.feather { width: 18px; height: 18px; flex-shrink: 0; }
  .sidebar__item--danger { color: #f87171; }
  .sidebar__item--danger:hover { background: rgba(248,113,113,.08); color: #fca5a5; }
  .sidebar__divider { height: 1px; background: rgba(255,255,255,.06); margin: 8px 0; }
  .sidebar__profile {
    display: flex !important;
    align-items: center; gap: 12px;
    padding: 12px; margin-top: 12px;
    border-top: 1px solid rgba(255,255,255,.06);
    border-radius: 12px;
    cursor: pointer; transition: all .15s;
  }
  .sidebar__profile:hover { background: rgba(255,255,255,.04); }
  .sidebar__avatar {
    width: 40px; height: 40px; border-radius: 50%;
    background: #181818;
    border: 2px solid rgba(255,255,255,.08);
    display: flex; align-items: center; justify-content: center;
    color: #4ade80; overflow: hidden; flex-shrink: 0;
  }
  .sidebar__avatar img { width: 100%; height: 100%; object-fit: cover; }
  .sidebar__user-info { flex: 1; min-width: 0; }
  .sidebar__user-name {
    font-size: 13.5px; font-weight: 600; color: #fff;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .sidebar__user-role {
    font-size: 11px; font-weight: 600; color: #6b7280;
    text-transform: uppercase;
  }
  .sidebar__user-role.is-vip { color: #4ade80; }
  .sidebar__user-role.is-anual { color: #fbbf24; }

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

  .app-header { padding: 20px 40px 22px; }
  .app-header__logo { height: 70px; max-width: 220px; margin: -8px 0; }
  .app-header__top { margin-bottom: 20px; min-height: auto; }

  .header-home-only {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px; align-items: center;
  }
  .header-home-only .search-box { grid-column: 1; grid-row: 1; }
  .header-home-only .search-box input {
    height: 52px; font-size: 15px;
    padding: 0 18px 0 48px;
    background-position: 18px center;
  }
  .app-header__info {
    grid-column: 2; grid-row: 1;
    margin-top: 0; text-align: right;
    min-width: 280px;
  }
  .app-header__title { font-size: 24px; margin-bottom: 4px; }
  .app-header__subtitle { font-size: 14px; }

  .progress-info { padding: 0 40px; margin-top: 8px; }
  .app-main { padding: 32px 40px 60px; }
  .grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }

  .card { border-radius: 18px; }
  .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 48px -12px rgba(0,0,0,.7);
  }
  .card__content { padding: 16px; }
  .card__title { font-size: 14px; min-height: 40px; margin-bottom: 10px; }
  .card__fav { width: 38px; height: 38px; top: 10px; right: 10px; }
  .tag { font-size: 11px; padding: 4px 10px; }

  .favorites-page { padding: 32px 40px 60px; }
  .favorites-page__title { font-size: 28px; }
  .favorites-page__header { padding: 20px 0 24px; margin-bottom: 28px; }

  .integration-wrap { max-width: 1000px; padding: 32px 40px 80px; }
  .integration-hero { padding: 16px 20px 32px; }
  .integration-hero__subtitle { font-size: 16px; }
  .integration-card { padding: 24px; border-radius: 18px; margin-bottom: 16px; }
  .integration-card__title { font-size: 17px; }
  .integration-card__text { font-size: 14px; }
  .api-key-box { padding: 16px; }
  .api-key-box code { font-size: 14px; }

  .profile-wrap { max-width: 720px; padding: 40px; }
  .profile-avatar-wrapper { width: 140px; height: 140px; }
  .profile-name { font-size: 26px; }
  .profile-subtitle { font-size: 15px; }
  .profile-stat__value { font-size: 28px; }
  .profile-stat__label { font-size: 12px; }
  .profile-menu-btn { padding: 18px 20px; font-size: 15px; }

  .drawer { width: 380px; max-width: 380px; }
  .drawer__item { padding: 16px 24px; font-size: 15px; }
  .drawer__brand { font-size: 20px; }

  .doc-page { max-width: 900px; padding: 40px 40px 100px; }

  .plans-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
  .plan-card { padding: 28px 24px 24px; border-radius: 18px; }
  .plan-card__name { font-size: 20px; }
  .plan-card__price-value { font-size: 34px; }
  .plan-card__desc { font-size: 13.5px; }
  .plan-feat { font-size: 13.5px; }
  .plan-btn { padding: 14px; font-size: 14.5px; }
}

@media (min-width: 1280px) {
  .app-header { padding: 24px 60px 26px; }
  .app-main { padding: 40px 60px 80px; }
  .grid { gap: 24px; }
  .progress-info { padding: 0 60px; }
  .favorites-page { padding: 40px 60px 80px; }
  .integration-wrap { padding: 40px 60px 100px; }
}

@media (max-width: 480px) {
  .app-header { padding: 12px 12px 10px; }
  .app-header__logo { height: 70px; margin: -14px 0; }
  .app-main { padding: 12px 12px 30px; }
  .grid { gap: 10px; }
  .bottom-nav { bottom: 8px; left: 8px; right: 8px; padding: 6px 4px; }
  .bottom-nav__item { font-size: 9px; padding: 6px 2px; gap: 2px; }
  .bottom-nav__icon svg.feather { width: 18px; height: 18px; }
}

.icon-version-pc, .icon-version-mobile { display: none; }
.icon-version-mobile { display: block; }
@media (min-width: 900px) {
  .icon-version-pc { display: block; }
  .icon-version-mobile { display: none; }
}

.wizard {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: rgba(0,0,0,.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}
.wizard.aberto { display: flex; }

.wizard__box {
  background: #111111;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 24px;
  max-width: 520px;
  width: 100%;
  padding: 28px 24px 24px;
  box-shadow: 0 24px 80px rgba(0,0,0,.6);
  max-height: 95vh;
  overflow-y: auto;
  margin: auto;
}
.wizard__box::-webkit-scrollbar { width: 6px; }
.wizard__box::-webkit-scrollbar-thumb { background: rgba(255,255,255,.08); border-radius: 3px; }

.wizard__header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 28px; padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.wizard__brand { font-size: 18px; font-weight: 800; color: #fff; letter-spacing: -.5px; }
.wizard__brand span { color: #4ade80; }
.wizard__steps { display: flex; gap: 6px; align-items: center; }
.wizard__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.1);
  transition: all .3s;
}
.wizard__dot.active { background: #4ade80; width: 24px; border-radius: 4px; }
.wizard__dot.done { background: #22c55e; }

.wizard__step { animation: fadeInModal .3s ease; }
.wizard__title { font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 6px; letter-spacing: -.5px; }
.wizard__subtitle { font-size: 13.5px; color: #9ca3af; line-height: 1.5; margin-bottom: 24px; }
.wizard__question { margin-bottom: 20px; }
.wizard__question label {
  display: block; font-size: 12px; font-weight: 700;
  color: #9ca3af; text-transform: uppercase;
  letter-spacing: .5px; margin-bottom: 8px;
}

.wizard__options { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.wizard__option {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 12px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  color: #e5e7eb; font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all .2s;
  text-align: left; font-family: inherit;
}
.wizard__option:hover { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.15); }
.wizard__option.selected {
  background: rgba(74,222,128,.1);
  border-color: rgba(74,222,128,.5);
  color: #4ade80;
}
.wizard__option svg {
  width: 18px; height: 18px; flex-shrink: 0;
  stroke: currentColor; stroke-width: 2; fill: none;
}
.wizard__option span { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.wizard__custom { margin-top: 10px; }
.wizard__custom input {
  width: 100%; height: 50px;
  padding: 0 14px;
  background: #0a0a0a;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  color: #fff; font-size: 14px; font-family: inherit;
  outline: none; transition: all .2s;
}
.wizard__custom input:focus { border-color: rgba(74,222,128,.5); }
.wizard__custom input::placeholder { color: #4b5563; }

.wizard__actions { display: flex; gap: 10px; margin-top: 12px; }
.wizard__btn {
  width: 100%; padding: 14px;
  background: #4ade80; color: #0a0a0a;
  border: none; border-radius: 12px;
  font-size: 14px; font-weight: 700;
  cursor: pointer; transition: all .2s;
  display: flex; align-items: center; justify-content: center;
  gap: 8px; font-family: inherit; margin-top: 12px;
}
.wizard__btn:hover:not(:disabled) {
  background: #22c55e; transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(74,222,128,.25);
}
.wizard__btn:disabled { opacity: .4; cursor: not-allowed; }
.wizard__btn svg { width: 16px; height: 16px; stroke: #0a0a0a; stroke-width: 2.5; fill: none; }
.wizard__btn--ghost {
  background: transparent; color: #9ca3af;
  border: 1px solid rgba(255,255,255,.08);
}
.wizard__btn--ghost:hover { background: rgba(255,255,255,.04); color: #fff; }
.wizard__btn--ghost svg { stroke: currentColor; }
.wizard__actions .wizard__btn { margin-top: 0; }

.wizard__question input,
.wizard__question select {
  width: 100%; height: 50px;
  padding: 0 14px;
  background: #0a0a0a;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  color: #fff; font-size: 14px; font-family: inherit;
  outline: none; transition: all .2s;
}
.wizard__question input:focus,
.wizard__question select:focus { border-color: rgba(74,222,128,.5); }
.wizard__question input::placeholder { color: #4b5563; }
.wizard__question select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-color: #0a0a0a;
}
.wizard__question select option { background: #111111; color: #fff; }

.wizard__select { position: relative; width: 100%; }
.wizard__select-btn {
  width: 100%; height: 50px;
  padding: 0 16px 0 14px;
  background: #0a0a0a;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  color: #fff; font-size: 14px; font-family: inherit; font-weight: 500;
  display: flex; align-items: center; gap: 12px;
  cursor: pointer; transition: all .2s;
  text-align: left;
}
.wizard__select-btn:hover { border-color: rgba(255,255,255,.15); background: #181818; }
.wizard__select-btn.active { border-color: rgba(74,222,128,.5); }
.wizard__select-flag { font-size: 20px; line-height: 1; flex-shrink: 0; }
.wizard__select-name {
  flex: 1; white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis; color: #fff;
}
.wizard__select-btn svg { width: 14px; height: 14px; color: #9ca3af; transition: transform .2s; flex-shrink: 0; }
.wizard__select-btn.active svg { transform: rotate(180deg); color: #4ade80; }

.wizard__select-dropdown {
  position: absolute;
  top: calc(100% + 6px); left: 0; right: 0;
  background: #111111;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
  z-index: 10;
  opacity: 0; visibility: hidden;
  transform: translateY(-8px);
  transition: all .18s ease;
  max-height: 300px;
  overflow: hidden;
}
.wizard__select-dropdown.open { opacity: 1; visibility: visible; transform: translateY(0); }
.wizard__select-list {
  display: flex; flex-direction: column; gap: 2px;
  overflow-y: auto; max-height: 288px;
  padding-right: 4px;
}
.wizard__select-list::-webkit-scrollbar { width: 6px; }
.wizard__select-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 3px; }
.wizard__select-option {
  width: 100%; padding: 10px 12px;
  background: transparent; border: none;
  border-radius: 8px;
  color: #e5e7eb; font-size: 13px; font-weight: 500;
  text-align: left; cursor: pointer;
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0; transition: background .15s;
}
.wizard__select-option:hover { background: rgba(255,255,255,.04); color: #fff; }
.wizard__select-option.active { background: rgba(74,222,128,.12); color: #4ade80; }
.wizard__select-option.active::after { content: '✓'; margin-left: auto; color: #4ade80; font-weight: 700; }
.wizard__select-option .wizard__select-flag { font-size: 17px; }

@media (max-width: 520px) {
  .wizard__options { grid-template-columns: 1fr; }
  .wizard__title { font-size: 19px; }
  .wizard__box { padding: 22px 18px 20px; }
}

html.show-wizard-instant .loading-screen {
  display: none !important;
}

html.show-wizard-instant .sidebar,
html.show-wizard-instant .app-header,
html.show-wizard-instant .view,
html.show-wizard-instant .bottom-nav,
html.show-wizard-instant .drawer,
html.show-wizard-instant .drawer-overlay {
  visibility: hidden !important;
}

html.show-wizard-instant .wizard {
  display: flex !important;
  visibility: visible !important;
}

.card__cover {
  transition: opacity 0.3s ease;
}

.card__cover.gif-carregado {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0.8; }
  to { opacity: 1; }
}

.view:not(.active) {
  display: none !important;
}

.card__image {
  position: relative !important;
  overflow: hidden !important;
}

.card__lock {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  background: rgba(10,10,10,.4) !important;
  color: #4ade80 !important;
  z-index: 10 !important;
  pointer-events: none !important;
}

.card--locked .card__image img {
  filter: blur(16px) brightness(.5) !important;
  transform: scale(1.1) !important;
}

.card--locked .card__lock svg.feather {
  width: 32px !important;
  height: 32px !important;
  stroke-width: 2 !important;
}

.card--locked .card__lock-text {
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: .5px !important;
  color: #fff !important;
}