:root {
  --bg: #0a0a0c;
  --bg-2: #141414;
  --bg-deep: #08080a;
  --card: #1a1a1a;
  --line: #1c1c1c;
  --orange: #e10600;
  --orange-2: #ff2a2a;
  --text: #fff;
  --muted: #9a9a9a;
  --ok: #3ddc84;
  --radius: 6px;
  --ui-inflate: 1.02;
  --font: 'Manrope', 'Segoe UI', sans-serif;
  --font-display: 'Space Grotesk', 'Manrope', sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; min-height: 100%; background: var(--bg); color: var(--text); font-family: var(--font); overflow-x: hidden; }
body.is-app { overflow: hidden; }
button, input, select, textarea { font: inherit; color: inherit; font-family: var(--font); }
select { background: var(--card); color: var(--text); border: 1px solid var(--line); border-radius: 6px; padding: 6px 10px; }
select option { background: var(--card); color: var(--text); }
button { cursor: pointer; border: 0; background: none; }
h1, h2, h3, h4, .block-title, .modal-title, .store-title, .vl-title, .vl-kicker,
.top-brand, .top-brand-name, .top-brand b, .top-link, .top-view-label,
.side-nav > button, .side-nav > a, .nav-dc-wrap > a, .owner-menu button, .side-foot button,
.gate-left h1, .gate-card-head h2, .product h3, #pdTitle, .btn-orange, .product-buy,
.wallet, .nav-kicker, .admin-panel-head .block-title {
  font-family: var(--font-display);
}
/* Remove setas/rolagem de input number em todo o site */
input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
a { color: inherit; text-decoration: none; }
.hidden { display: none !important; }
.muted { color: var(--muted); font-size: .9rem; }
.ok { color: var(--ok); }

#adminParticles,
#siteBg,
.site-bg {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
.site-bg__gradient {
  position: absolute;
  inset: 0;
  background: #070708;
}
.site-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: #070708;
  display: none !important;
}
.site-bg .login-sky,
.login-sky.site-sky {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.login-sky,
.moon { display: none !important; }

#adminParticles {
  display: none !important;
  visibility: hidden !important;
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
}
.cursor-trail-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 99999;
  mix-blend-mode: screen;
  opacity: 0.95;
}

/* MÃºsica de fundo removida */
.bg-music-control,
#bgMusicControl,
#raelBgMusicAudio,
.bg-music-topline,
.bg-music-track,
.bg-music-timebox,
.bg-music-seek-line,
.bg-music-bar,
.bg-music-transport,
.bg-music-vol-wrap {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.bg-music-control {
  position: fixed;
  right: 0.65rem;
  bottom: 0.65rem;
  z-index: 99990;
  display: none !important;
  flex-direction: column;
  align-items: stretch;
  gap: 0.18rem;
  width: min(17.5rem, calc(100vw - 1.1rem));
  padding: 0.12rem 0.08rem;
  border: 0;
  background: transparent;
  box-shadow: none;
  pointer-events: auto;
}
.bg-music-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  min-width: 0;
}
.bg-music-track {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.7rem;
  font-weight: 650;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.01em;
  text-align: left;
  line-height: 1.25;
  padding: 0;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
}
.bg-music-timebox {
  flex-shrink: 0;
  font-size: 0.65rem;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0.01em;
  white-space: nowrap;
  line-height: 1;
  text-align: right;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.55);
}
.bg-music-time-sep { margin: 0 0.08rem; opacity: 0.55; }
.bg-music-seek-line {
  --seek-pct: 0%;
  position: relative;
  width: 100%;
  height: 14px;
  display: flex;
  align-items: center;
  touch-action: none;
  overflow: hidden;
  z-index: 0;
  isolation: isolate;
}
.bg-music-seek-line::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 3px;
  transform: translateY(-50%);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.28);
  pointer-events: none;
}
.bg-music-seek-fill {
  position: absolute;
  left: 0; top: 50%;
  height: 3px;
  width: var(--seek-pct);
  transform: translateY(-50%);
  border-radius: 99px;
  background: #e11d2e;
  box-shadow: 0 0 8px rgba(225, 29, 46, 0.55);
  pointer-events: none;
  z-index: 1;
}
.bg-music-seek-knob {
  position: absolute;
  top: 50%;
  left: var(--seek-pct);
  width: 11px; height: 11px;
  margin: 0; padding: 0; border: 0;
  border-radius: 50%;
  background: #e11d2e;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.22), 0 0 10px rgba(225, 29, 46, 0.55);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 2;
}
.bg-music-seek-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: 14px;
  margin: 0; padding: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 3;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  border: 0;
}
.bg-music-seek-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px; height: 14px;
  background: transparent;
  border: 0;
}
.bg-music-seek-input::-moz-range-thumb {
  width: 14px; height: 14px;
  background: transparent;
  border: 0;
}
.bg-music-bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
  width: 100%;
  min-height: 1.75rem;
  pointer-events: auto;
}
.bg-music-transport {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.1rem;
  flex-shrink: 0;
}
#bgMusicControl .bg-music-nav,
.bg-music-control .bg-music-nav,
button.bg-music-nav {
  position: relative;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 1.7rem !important;
  height: 1.7rem !important;
  min-width: 1.7rem !important;
  min-height: 1.7rem !important;
  max-width: 1.7rem !important;
  max-height: 1.7rem !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 7px !important;
  background: transparent !important;
  color: rgba(255, 255, 255, 0.95) !important;
  cursor: pointer !important;
  box-shadow: none !important;
  line-height: 0 !important;
  flex: 0 0 auto !important;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5));
}
#bgMusicControl .bg-music-nav::after,
.bg-music-control .bg-music-nav::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 7px;
}
#bgMusicControl .bg-music-nav svg,
.bg-music-control .bg-music-nav svg {
  position: relative;
  z-index: 1;
  width: 0.95rem !important;
  height: 0.95rem !important;
  display: block !important;
  pointer-events: none !important;
}
#bgMusicControl .bg-music-nav:hover,
.bg-music-control .bg-music-nav:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.12) !important;
}
#bgMusicControl .bg-music-nav--play,
.bg-music-control .bg-music-nav--play,
button.bg-music-nav--play {
  width: 1.85rem !important;
  height: 1.85rem !important;
  min-width: 1.85rem !important;
  min-height: 1.85rem !important;
  max-width: 1.85rem !important;
  max-height: 1.85rem !important;
}
#bgMusicControl .bg-music-nav--play svg,
.bg-music-control .bg-music-nav--play svg {
  width: 1.05rem !important;
  height: 1.05rem !important;
}
.bg-music-vol-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.3rem;
  flex-shrink: 0;
  margin-left: auto;
  min-width: 0;
}
.bg-music-vol-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.92);
  line-height: 0;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5));
}
.bg-music-vol-ico svg { width: 0.95rem !important; height: 0.95rem !important; display: block !important; }
.bg-music-vol {
  --vol-pct: 50%;
  -webkit-appearance: none;
  appearance: none;
  width: 5.2rem;
  height: 4px;
  border-radius: 99px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(255, 255, 255, 0.92) var(--vol-pct),
    rgba(255, 255, 255, 0.22) var(--vol-pct),
    rgba(255, 255, 255, 0.22) 100%
  );
  outline: none;
  cursor: pointer;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}
.bg-music-vol::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: #fff;
  border: 0;
  cursor: pointer;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.35);
}
.bg-music-vol::-moz-range-thumb {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: #fff;
  border: 0;
  cursor: pointer;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.35);
}
.bg-music-toggle,
.bg-music-icon,
.bg-music-row,
.bg-music-progress-wrap,
.bg-music-vol-btn,
.bg-music-vol-panel,
.bg-music-power { display: none !important; }
@media (max-width: 520px) {
  .bg-music-control { right: 0.4rem; bottom: 0.4rem; width: min(15rem, calc(100vw - 0.75rem)); }
  .bg-music-vol { width: 4.2rem; }
}

.toasts { position: fixed; right: 16px; top: 16px; z-index: 1400; display: grid; gap: 8px; justify-items: end; pointer-events: none; }
.toast {
  pointer-events: auto;
  background: linear-gradient(180deg, #1f1f1f, #161616);
  border: 1px solid var(--line);
  padding: 11px 14px;
  border-radius: 12px;
  min-width: 220px;
  max-width: min(360px, calc(100vw - 32px));
  box-shadow: 0 12px 28px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.05);
}
.toast.ok { border-color: rgba(225,6,0,.45); box-shadow: 0 12px 28px rgba(0,0,0,.4), 0 0 0 1px rgba(225,6,0,.12); }

.gate-particles-fx {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.gate-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 1;
}
body.is-app .gate-particles {
  opacity: 0.85;
}
.gate {
  position: relative; z-index: 2; min-height: 100vh;
  display: grid; grid-template-columns: minmax(280px, 1fr) minmax(390px, 450px);
  gap: 56px; align-items: center; justify-content: center;
  width: min(1220px, calc(100% - 80px));
  margin: 0 auto; padding: 48px 0;
}
.gate-left { max-width: 560px; margin-left: -36px; }
.brand-row { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.brand-kicker {
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: #c9c9c9; font-weight: 600;
}
.brand-mark {
  width: 78px; height: 78px; border-radius: 50%;
  display: grid; place-items: center; color: #ff1a1a;
  background: radial-gradient(circle at 35% 30%, #3a1010, #140808 70%);
  border: 1px solid rgba(255,40,40,.45);
  box-shadow: 0 0 0 6px rgba(225,6,0,.08), 0 0 32px rgba(225,6,0,.28);
  animation: logoPulse 2.4s ease-in-out .7s infinite;
  transition: transform .22s cubic-bezier(.22,.82,.24,1), box-shadow .22s ease, filter .22s ease;
  cursor: default;
}
.brand-mark:hover {
  animation-play-state: paused;
  transform: scale(1.18);
  filter: none;
  box-shadow: 0 0 0 6px rgba(225,6,0,.08), 0 0 32px rgba(225,6,0,.28);
}
.brand-mark svg { width: 40px; height: 40px; }
.brand-mark img, .brand-logo-img {
  width: 100%; height: 100%; object-fit: contain;
  border-radius: 50%;
}
.gate-left h1 {
  font-size: clamp(44px, 6vw, 68px); letter-spacing: .02em; line-height: .95;
  font-weight: 800; margin: 0 0 16px;
}
.gate-left h1 span {
  color: var(--orange);
  text-shadow: 0 0 28px rgba(225,6,0,.45);
}
.slogan { color: #cfcfcf; max-width: 460px; line-height: 1.55; font-size: 16px; }
.pills { display: flex; flex-wrap: nowrap; gap: 8px; margin: 28px 0 0; align-items: center; }
.pills span {
  display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; white-space: nowrap;
  background: rgba(18,18,18,.8); border: 1px solid #2f2f2f;
  border-radius: 999px; padding: 7px 12px 7px 7px; font-size: 12px; color: #eee;
  transition: transform .22s cubic-bezier(.22,.82,.24,1), box-shadow .22s ease;
  cursor: default;
}
.pills span:hover {
  transform: scale(1.14);
  border-color: #2f2f2f;
  background: rgba(18,18,18,.8);
  box-shadow: 0 10px 24px rgba(0,0,0,.4);
  filter: none;
}
.pills .pi {
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; font-style: normal; font-size: 13px;
  background: rgba(225,6,0,.15); border: 1px solid rgba(225,6,0,.35);
  transition: transform .2s ease;
}
.pills span:hover .pi {
  transform: scale(1.06);
}
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.stat {
  background: linear-gradient(180deg, rgba(27,27,27,.82), rgba(20,20,20,.78));
  border: 1px solid var(--line); border-radius: 14px; padding: 14px 12px;
  backdrop-filter: blur(8px);
}
.stat strong { display: block; font-size: 28px; color: var(--orange); letter-spacing: .02em; }
.stat small { color: #9b9b9b; font-size: 12px; }

.gate-card {
  background: linear-gradient(180deg, rgba(28,28,28,.88), rgba(16,16,16,.86));
  border: 1px solid var(--line); border-radius: 20px;
  padding: 28px 26px 26px; backdrop-filter: blur(14px);
  box-shadow: 0 24px 60px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.03) inset;
  transition: transform .28s cubic-bezier(.22,.82,.24,1), box-shadow .28s ease;
  will-change: transform;
}
.gate-card:hover {
  transform: scale(1.06);
  border-color: var(--line);
  box-shadow: 0 34px 76px rgba(0,0,0,.58), 0 0 0 1px rgba(255,255,255,.03) inset;
  filter: none;
}
.gate-left {
  overflow: visible;
}
.gate-anim .anim-item {
  animation: riseIn .85s cubic-bezier(.16,1,.3,1) both;
  animation-delay: var(--d, 0s);
}
.gate-anim .stat.anim-item {
  animation-name: riseInDeep;
  animation-duration: .95s;
}
.gate-anim .anim-card {
  animation: cardFromRight .5s cubic-bezier(.22,.82,.24,1) both;
}
@keyframes riseIn {
  from { opacity: 0; transform: translateY(72px); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: none; }
}
@keyframes riseInDeep {
  from { opacity: 0; transform: translateY(110px); filter: blur(8px); }
  to { opacity: 1; transform: none; filter: none; }
}
@keyframes cardFromRight {
  from { opacity: 0; transform: translateX(56px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes logoIn {
  0% { opacity: 0; transform: scale(.55) rotate(-14deg); }
  65% { transform: scale(1.08) rotate(3deg); }
  100% { opacity: 1; transform: none; }
}
@keyframes logoPulse {
  0%, 100% { box-shadow: 0 0 0 6px rgba(225,6,0,.08), 0 0 32px rgba(225,6,0,.28); }
  50% { box-shadow: 0 0 0 10px rgba(225,6,0,.16), 0 0 46px rgba(225,6,0,.55); }
}
@keyframes popIn {
  from { opacity: 0; transform: translateY(18px) scale(.96); }
  to { opacity: 1; transform: none; }
}
.anim-pop {
  animation: popIn .55s cubic-bezier(.2,.8,.2,1) both;
}
@media (prefers-reduced-motion: reduce) {
  .gate-anim .anim-item,
  .gate-anim .stat.anim-item,
  .gate-anim .anim-card,
  .brand-mark,
  .anim-pop { animation: none !important; }
  .brand-mark:hover,
  .pills span:hover,
  .gate-card:hover { transform: none !important; }
}
.gate-card-head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 18px; }
.secure-ico {
  width: 38px; height: 38px; border-radius: 10px; color: var(--orange);
  display: grid; place-items: center; flex: none;
  background: rgba(225,6,0,.12); border: 1px solid rgba(225,6,0,.35);
}
.secure-ico svg { width: 18px; height: 18px; }
.gate-card-head h2 { color: var(--orange); font-size: 24px; line-height: 1.1; }
.gate-card-head p { color: var(--muted); margin-top: 4px; font-size: .9rem; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 18px; }
.auth-tabs button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px; border-radius: 10px; background: #141414; border: 1px solid var(--line); font-weight: 600;
}
.auth-tabs button svg { width: 16px; height: 16px; }
.auth-tabs button.is-on { border-color: var(--orange); color: var(--orange); background: rgba(225,6,0,.1); }
.auth-form { display: grid; gap: 14px; }
.turnstile-box {
  display: flex;
  justify-content: center;
  min-height: 65px;
}
.turnstile-buy-host {
  position: fixed;
  left: -9999px;
  top: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.auth-form label span, .full { display: block; font-size: 13px; color: #d2d2d2; margin-bottom: 6px; font-weight: 500; }
.field { position: relative; }
.field > svg { position: absolute; left: 12px; top: 50%; width: 16px; height: 16px; fill: #8a8a8a; transform: translateY(-50%); }
.field input, .card input, .toolbar input, .toolbar select, .search-inline, .full input {
  width: 100%; background: #101010; border: 1px solid var(--line); border-radius: 10px; padding: 12px 42px 12px 38px;
  color: #f2f2f2;
}
.field input:focus { outline: none; border-color: #6a1515; box-shadow: 0 0 0 3px rgba(225,6,0,.15); }
/* Chrome/Edge autofill pinta o input de branco/azul â€” forÃ§a o fundo escuro do gate */
.auth-form .field input:-webkit-autofill,
.auth-form .field input:-webkit-autofill:hover,
.auth-form .field input:-webkit-autofill:focus,
.auth-form .field input:-webkit-autofill:active {
  -webkit-text-fill-color: #f2f2f2 !important;
  caret-color: #f2f2f2;
  color: #f2f2f2 !important;
  background-color: #101010 !important;
  box-shadow: inset 0 0 0 1000px #101010 !important;
  transition: background-color 99999s ease-out 0s;
  border-color: var(--line);
}
.card input, .full input { padding-left: 12px; }
.eye {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; color: #888; display: grid; place-items: center;
}
.eye svg { width: 16px; height: 16px; }
.link-btn { color: var(--orange); text-align: right; font-size: 13px; width: 100%; }
.btn-orange, .btn-dark, .btn-google {
  width: 100%; border-radius: 10px; padding: 13px 14px; font-weight: 700;
}
.btn-orange { background: var(--orange); color: #fff; box-shadow: 0 8px 22px rgba(225,6,0,.28); }
.btn-orange:hover { background: var(--orange-2); }
.btn-dark { background: #222; border: 1px solid var(--line); }
.btn-google {
  display: flex; gap: 10px; align-items: center; justify-content: center;
  background: #151515; border: 1px solid var(--line); color: #fff; font-weight: 600;
}
.btn-google svg { width: 18px; height: 18px; flex: none; }
.btn-google:hover { background: #1c1c1c; border-color: #555; }
.or {
  display: flex; align-items: center; gap: 12px;
  color: #888; margin: 2px 0 0; font-size: 12px;
}
.or::before, .or::after {
  content: ''; flex: 1; height: 1px; background: #2c2c2c;
}
.or span { white-space: nowrap; }
.google-card { display: grid; gap: 12px; }
.google-card .full input { margin-top: 6px; }
.auth-error { color: #ff6b6b; min-height: 18px; font-size: 13px; }

.app {
  --side-w: 252px;
  --brand-h: 62px;
  --brand-cut: 28px;
  --rail: 3px;
  --rail-slant-len: 68px;
  --rail-slant-deg: 24.23deg;
  --top-rail: rgba(225, 6, 0, 0.55);
  --top-rail-strong: rgba(225, 6, 0, 0.72);
  --top-rail-border: rgba(225, 6, 0, 0.42);
  --top-rail-glow: rgba(225, 6, 0, 0.22);
  position: relative; z-index: 1;
  height: 100vh;
  height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  overflow: hidden;
  display: grid; grid-template-columns: var(--side-w) 1fr; grid-template-rows: var(--brand-h) minmax(0, 1fr);
  background: transparent;
  isolation: isolate;
}
.app::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 100% 75% at 72% -8%, rgba(225, 6, 0, 0.06) 0%, transparent 48%),
    radial-gradient(ellipse 58% 48% at 96% 58%, rgba(38, 38, 46, 0.22) 0%, transparent 58%),
    radial-gradient(ellipse 52% 42% at 4% 88%, rgba(30, 30, 38, 0.18) 0%, transparent 52%),
    radial-gradient(ellipse 80% 55% at 50% 110%, rgba(0, 0, 0, 0.28) 0%, transparent 62%),
    linear-gradient(175deg, rgba(13, 13, 16, 0.55) 0%, rgba(10, 10, 12, 0.42) 38%, rgba(8, 8, 10, 0.58) 100%);
}
.app > * {
  position: relative;
  z-index: 1;
}
/* sem trilho vermelho na lateral */
.topbar {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: var(--side-w) auto 1fr;
  align-items: center;
  height: var(--brand-h);
  padding: 0 18px 0 0;
  background: #161616;
  border-bottom: 1px solid #2a2a2a;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  position: relative;
  overflow: visible;
  z-index: 5;
  isolation: isolate;
}
.topbar::after {
  content: none;
  display: none;
}
.top-brand {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--side-w);
  min-width: var(--side-w);
  max-width: var(--side-w);
  height: var(--brand-h);
  flex: none;
  justify-self: start;
  align-self: stretch;
  gap: 10px;
  padding: 0 16px;
  font-weight: 800;
  letter-spacing: .06em;
  white-space: nowrap;
  font-style: italic;
  z-index: 6;
  filter: none;
  transform: translateZ(0);
}
.top-brand::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #161616;
  clip-path: none;
  z-index: -1;
  box-shadow: none;
}
.top-brand::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--top-rail), var(--top-rail-strong) 55%, var(--top-rail));
  box-shadow: 0 0 8px var(--top-rail-glow);
  pointer-events: none;
  z-index: 2;
  opacity: 0.9;
}
.top-brand-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 100%;
}
.top-brand-inner::after {
  content: none;
  display: none;
}
.top-brand-slant,
.top-right-slant {
  position: absolute;
  bottom: 0;
  width: 1px;
  height: 42px;
  background: linear-gradient(180deg, var(--top-rail-strong), var(--top-rail) 55%, rgba(225, 6, 0, 0.35));
  box-shadow: 0 0 6px var(--top-rail-glow);
  pointer-events: none;
  z-index: 3;
  opacity: 0.9;
}
.top-brand-slant {
  right: 0;
  transform: rotate(var(--rail-slant-deg));
  transform-origin: bottom center;
}
.top-right-slant {
  left: calc(var(--right-cut, var(--brand-cut)) - 1px);
  transform: rotate(calc(-1 * var(--rail-slant-deg)));
  transform-origin: bottom center;
}
.top-logo {
  width: 38px; height: 38px; object-fit: contain;
  border-radius: 8px; flex: none;
  filter: none;
  position: relative;
  z-index: 1;
}
.top-brand-name {
  color: #fff;
  position: relative;
  z-index: 1;
  font-size: 18px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: .06em;
  text-shadow: none;
}
.top-brand b {
  color: var(--orange);
  border: 0;
  padding: 0;
  border-radius: 0;
  font-size: 18px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: .06em;
  box-shadow: none;
  position: relative;
  z-index: 1;
}
.top-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  align-self: center;
  gap: 8px;
  position: relative;
  z-index: 3;
  justify-self: start;
  padding-left: 28px;
  margin-left: 0;
}
.top-nav::before {
  content: "";
  position: absolute;
  left: -24px;
  bottom: 0;
  width: 24px;
  height: 1px;
  background: linear-gradient(90deg, var(--top-rail), var(--top-rail-strong));
  box-shadow: 0 0 8px var(--top-rail-glow);
  pointer-events: none;
  opacity: 0.9;
}
.top-nav::after {
  content: none;
  display: none;
}
.top-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  color: #d8d8d8;
  font-size: 12px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: .07em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: skewX(-12deg);
  overflow: visible;
}
.top-link > svg,
.top-link > span {
  position: relative;
  z-index: 1;
  transform: skewX(12deg);
}
.top-link svg {
  width: 16px;
  height: 16px;
  flex: none;
}
.top-link-frame {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--top-rail-border);
  box-shadow: 0 0 8px var(--top-rail-glow);
  opacity: 1;
  z-index: 0;
  transition: background .28s ease, border-color .28s ease, box-shadow .28s ease;
  clip-path: none;
}
.top-link-frame::before,
.top-link-frame::after {
  content: "";
  position: absolute;
  top: 8%;
  bottom: 8%;
  width: 2px;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(225, 6, 0, 0.55) 14%,
    var(--orange) 50%,
    rgba(225, 6, 0, 0.55) 86%,
    transparent 100%
  );
  box-shadow: 0 0 6px var(--top-rail-glow);
  transition: background .28s ease, box-shadow .28s ease;
}
.top-link-frame::before {
  left: -1px;
}
.top-link-frame::after {
  right: -1px;
  left: auto;
  top: 8%;
  bottom: 8%;
  width: 2px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(225, 6, 0, 0.55) 14%,
    var(--orange) 50%,
    rgba(225, 6, 0, 0.55) 86%,
    transparent 100%
  );
  box-shadow: 0 0 6px var(--top-rail-glow);
}
.top-link-mark {
  display: none !important;
}
.top-link:hover,
.top-nav .top-link.is-on {
  color: #fff;
  z-index: 1;
  text-shadow: 0 0 12px rgba(225,6,0,.35);
}
.top-link:hover .top-link-frame,
.top-nav .top-link.is-on .top-link-frame {
  background: rgba(225, 6, 0, 0.07);
  border-color: var(--top-rail-strong);
  box-shadow: 0 0 14px rgba(225, 6, 0, 0.28);
  filter: none;
}
.top-link:hover .top-link-frame::before,
.top-link:hover .top-link-frame::after,
.top-nav .top-link.is-on .top-link-frame::before,
.top-nav .top-link.is-on .top-link-frame::after {
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(225, 6, 0, 0.75) 12%,
    var(--orange-2) 50%,
    rgba(225, 6, 0, 0.75) 88%,
    transparent 100%
  );
  box-shadow: 0 0 10px rgba(225, 6, 0, 0.35);
}
.top-link--store { color: #eee; padding: 0 10px; transform: none; }
.top-link--store > svg, .top-link--store > span { transform: none; }
.top-link--store.is-on { color: #fff; }
.top-view-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 18px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: .07em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: skewX(-12deg);
  position: relative;
  z-index: 1;
  text-shadow: 0 0 12px rgba(225,6,0,.35);
  background: linear-gradient(180deg, rgba(225,6,0,.22), rgba(225,6,0,.08));
  border: 1px solid rgba(225,6,0,.45);
  box-shadow: 0 0 14px rgba(225,6,0,.28);
  clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%, 0 8px);
}
.top-view-label.hidden { display: none !important; }
.top-right {
  --right-cut: 28px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  justify-self: end;
  align-self: stretch;
  width: auto;
  min-width: 0;
  gap: 10px;
  position: relative;
  padding: 0 14px 0 34px;
  height: var(--brand-h);
  z-index: 6;
  filter: none;
}
.top-right::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #161616;
  clip-path: polygon(var(--right-cut) 0, 100% 0, 100% 100%, 0 100%);
  z-index: -1;
  box-shadow: none;
}
/* sem risco vertical na quina â€” sÃ³ traÃ§o deitado */
.top-right::after {
  content: none;
  display: none;
}
.top-right-edge {
  position: absolute;
  left: var(--right-cut);
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--top-rail), var(--top-rail-strong) 45%, var(--top-rail));
  box-shadow: 0 0 8px var(--top-rail-glow);
  pointer-events: none;
  z-index: 2;
  opacity: 0.9;
}
.top-right-edge::before,
.top-right-edge::after {
  content: none;
  display: none;
}
.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #161616;
  border: 1px solid var(--line);
}
.bell-btn svg { width: 16px; height: 16px; }
.bell-ico { font-size: 15px; line-height: 1; filter: grayscale(0) sepia(1) saturate(8) hue-rotate(6deg); }
.notice-wrap { position: relative; z-index: 40; }
.bell-btn {
  position: relative;
  display: grid;
  place-items: center;
  color: #f5d76e;
  border-color: rgba(245, 215, 110, 0.35);
  background: linear-gradient(180deg, #1c1a14 0%, #141210 100%);
  box-shadow: inset 0 1px 0 rgba(255, 230, 150, 0.08);
}
.bell-btn:hover {
  color: #ffe9a0;
  border-color: rgba(245, 215, 110, 0.55);
  background: #1f1c15;
}
.notice-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 17px;
  height: 17px;
  padding: 0 5px;
  border-radius: 99px;
  background: #e10600;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  display: grid;
  place-items: center;
  line-height: 1;
  box-shadow: 0 0 0 2px #111;
  z-index: 2;
}
.notice-badge.hidden { display: none !important; }
.notice-panel {
  position: absolute;
  right: 0;
  left: auto;
  top: 48px;
  width: min(380px, 92vw);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(225, 6, 0, 0.12), transparent 55%),
    linear-gradient(180deg, #1a1a1a 0%, #121212 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 0;
  display: grid;
  gap: 0;
  z-index: 40;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
}
.notice-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 14px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.notice-head-text {
  display: grid;
  gap: 2px;
}
.notice-head-text strong {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.notice-head-sub {
  font-size: 11px;
  color: #888;
}
.notice-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-sizing: border-box;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #aaa;
  font-size: 0;
  line-height: 0;
  cursor: pointer;
}
.notice-close:hover { color: #fff; background: #222; }
.notice-owner {
  display: grid;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.18);
}
.notice-owner-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #ddd;
  font-weight: 600;
}
.notice-owner-pill {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #ffb4b0;
  background: rgba(225, 6, 0, 0.18);
  border: 1px solid rgba(225, 6, 0, 0.35);
  border-radius: 999px;
  padding: 3px 8px;
}
.notice-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 8px;
}
.notice-field {
  display: grid;
  gap: 5px;
  font-size: 11px;
  color: #9a9a9a;
  font-weight: 600;
}
.notice-field--full { grid-column: 1 / -1; }
.notice-owner input,
.notice-select {
  width: 100%;
  background: #0e0e0e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px 11px;
  color: #fff;
  font: inherit;
  font-size: 13px;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.notice-owner input:focus,
.notice-select:focus {
  border-color: rgba(225, 6, 0, 0.45);
  box-shadow: 0 0 0 3px rgba(225, 6, 0, 0.12);
}
.notice-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%888' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}
.notice-preview {
  border-radius: 10px;
  padding: 10px 12px;
  background: linear-gradient(90deg, rgba(34, 197, 94, 0.12), rgba(225, 6, 0, 0.08));
  border: 1px solid rgba(34, 197, 94, 0.25);
  color: #b7f7c8;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}
.notice-send-btn {
  width: 100%;
  border: 0;
  border-radius: 11px;
  padding: 12px 14px;
  background: linear-gradient(180deg, #e10600 0%, #b10500 100%);
  color: #fff;
  font: inherit;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(225, 6, 0, 0.28);
}
.notice-send-btn:hover { filter: brightness(1.06); }
.notice-section-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 14px 0;
}
.notice-section-label {
  padding: 0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #666;
}
.notice-clear-btn {
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: #bdbdbd;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .02em;
  cursor: pointer;
  white-space: nowrap;
}
.notice-clear-btn:hover {
  color: #fff;
  border-color: rgba(255,255,255,.22);
  background: rgba(255,255,255,.08);
}
.notice-list {
  display: grid;
  gap: 8px;
  max-height: 260px;
  overflow: auto;
  padding: 8px 14px 14px;
}
.notice-empty {
  margin: 0;
  padding: 8px 14px 16px;
  font-size: 12px;
  color: #777;
  text-align: center;
}
.notice-item {
  display: grid;
  gap: 6px;
  padding: 11px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.notice-item.is-new {
  border-color: rgba(225, 6, 0, 0.4);
  background: rgba(225, 6, 0, 0.06);
}
.notice-item.is-expired { opacity: 0.55; }
.notice-item .code {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fff;
}
.notice-item.is-credit .code {
  font-family: inherit;
  letter-spacing: -.01em;
  font-size: 13px;
  color: #9be7b8;
}
.notice-item .muted {
  font-size: 13px;
  color: #c8c8c8;
  margin: 0;
  line-height: 1.45;
}
.notice-item .notice-chip--credit {
  color: #9be7b8;
  border-color: rgba(61, 220, 132, .3);
  background: rgba(61, 220, 132, .1);
  font-weight: 700;
}
.notice-item .notice-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 10px;
  color: #777;
}
.notice-item .notice-chip {
  border-radius: 999px;
  padding: 2px 7px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.notice-item button {
  justify-self: start;
  margin-top: 2px;
  border: 0;
  border-radius: 8px;
  padding: 7px 10px;
  background: #222;
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.notice-item button:hover { background: #2c2c2c; }
.notice-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}
.notice-item button.notice-del {
  background: rgba(225, 6, 0, 0.15);
  color: #ffb4b0;
  border: 1px solid rgba(225, 6, 0, 0.35);
}
.notice-item button.notice-del:hover {
  background: rgba(225, 6, 0, 0.28);
  color: #fff;
}
@media (max-width: 480px) {
  .notice-grid { grid-template-columns: 1fr; }
}
.lang-bar {
  position: fixed;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
}
body.is-app .lang-bar { display: none; }
.lang-switch { position: relative; display: flex; justify-content: center; }
.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 148px;
  height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  background: #161616;
  border: 1px solid var(--line);
  box-shadow: none;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
}
.lang-btn:hover {
  border-color: #2a2a2a;
  background: #1a1a1a;
}
.top-right .lang-btn {
  min-width: 36px;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 8px;
  border-color: var(--line);
  background: #161616;
  box-shadow: none;
}
.lang-btn strong { font-size: 13px; letter-spacing: .02em; }
.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 168px;
  padding: 6px;
  display: grid;
  gap: 4px;
  background: #171717;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0,0,0,.45);
  z-index: 30;
}
.lang-menu button {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  color: #ddd;
  font-weight: 600;
  text-align: left;
}
.lang-menu button:hover { background: #222; }
.lang-menu button.is-on { background: rgba(225,6,0,.12); color: #fff; }
.ifi {
  width: 22px;
  height: 16px;
  border-radius: 3px;
  display: inline-block;
  flex: none;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 0 0 1px rgba(255,255,255,.14);
}
.ifi-br {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 20'%3E%3Crect width='28' height='20' fill='%23009B3A'/%3E%3Cpolygon points='14,2 26,10 14,18 2,10' fill='%23FEDF00'/%3E%3Ccircle cx='14' cy='10' r='4.2' fill='%23002776'/%3E%3C/svg%3E");
}
.ifi-us {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 20'%3E%3Crect width='28' height='20' fill='%23BF0A30'/%3E%3Crect y='1.54' width='28' height='1.54' fill='%23fff'/%3E%3Crect y='4.62' width='28' height='1.54' fill='%23fff'/%3E%3Crect y='7.7' width='28' height='1.54' fill='%23fff'/%3E%3Crect y='10.77' width='28' height='1.54' fill='%23fff'/%3E%3Crect y='13.85' width='28' height='1.54' fill='%23fff'/%3E%3Crect y='16.92' width='28' height='1.54' fill='%23fff'/%3E%3Crect width='11.2' height='10.8' fill='%23002868'/%3E%3C/svg%3E");
}
.wallet {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  background: #161616;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--orange);
  font-weight: 800;
  box-shadow: none;
}
.wallet:hover {
  border-color: #2a2a2a;
  background: #1a1a1a;
}
.wallet-coin {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  flex: none;
  background:
    radial-gradient(circle at 32% 28%, #ffe9a8, #d4af37 52%, #8a6a12);
  box-shadow: 0 0 8px rgba(212,175,55,.45);
}
.avatar-wrap {
  position: relative;
  display: inline-flex;
  flex: none;
}
.avatar {
  width: 34px; height: 34px; border-radius: 50%; background: #2a2a2a;
  display: grid; place-items: center; font-weight: 700; overflow: hidden; flex: none;
}
.topbar .avatar {
  width: 38px;
  height: 38px;
  background: var(--orange);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 0 12px rgba(225,6,0,.4);
}
.avatar-online {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--ok);
  border: 2px solid #101010;
  box-shadow: 0 0 8px var(--ok);
}
.avatar.lg {
  width: 46px;
  height: 46px;
  margin: 0 auto 12px;
  background: #1a1a1a;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .02em;
  border: 1px solid rgba(225, 6, 0, 0.55);
  box-shadow: none;
  cursor: pointer;
  transition: transform .28s cubic-bezier(.22,1,.36,1), box-shadow .28s ease, border-color .2s ease, color .2s ease;
}
.avatar.lg:hover {
  transform: scale(var(--ui-inflate));
  color: #fff;
  border-color: rgba(255, 42, 42, 0.75);
  box-shadow: 0 0 8px rgba(225, 6, 0, 0.18);
}
.avatar.has-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.user-menu {
  position: absolute; right: 0; top: 44px; width: 220px; background: #171717; border: 1px solid var(--line);
  border-radius: 12px; padding: 12px; display: grid; gap: 6px; z-index: 20;
}
.user-menu small { color: var(--muted); margin-bottom: 6px; }
.user-menu button { text-align: left; padding: 8px; border-radius: 8px; }
.user-menu button:hover { background: #222; }

.side {
  position: relative;
  background: #161616;
  border-right: 1px solid #2a2a2a;
  padding: 6px 6px 5px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  box-shadow: 8px 0 32px rgba(0, 0, 0, 0.28);
  z-index: 2;
}
.side::before {
  content: none;
  display: none;
}
.side::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 1px;
  pointer-events: none;
  z-index: 3;
  background: linear-gradient(180deg, var(--top-rail-strong), var(--top-rail) 55%, rgba(225, 6, 0, 0.35));
  box-shadow: 0 0 6px var(--top-rail-glow);
  opacity: 0.9;
}
.side-user {
  position: relative;
  text-align: center;
  margin: 0 0 10px;
  padding: 10px 12px 12px;
  display: grid;
  justify-items: center;
  gap: 0;
  flex: none;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0;
  box-shadow: none;
}
.side-user::before,
.side-user::after {
  content: none;
  display: none;
}
.side-user strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  max-width: 100%;
  margin-top: 2px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.3;
  word-break: break-word;
  cursor: pointer;
  transition: color .2s ease;
}
.side-user strong:hover {
  color: #fff;
  text-shadow: 0 0 10px rgba(225, 6, 0, 0.35);
  transform: none;
}
.side-user .crown { color: var(--orange); font-style: normal; font-size: 12px; filter: drop-shadow(0 0 4px rgba(225,6,0,.35)); }
.side .avatar.lg {
  width: 52px;
  height: 52px;
  margin: 0 auto 8px;
  font-size: 18px;
  border-width: 2px;
}
.online {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: max-content;
  margin: 6px auto 12px;
  color: #d4d4d4;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  font-style: normal;
  letter-spacing: .05em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  padding: 4px 10px;
  cursor: default;
}
.online:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
  transform: none;
}
.online i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3ddc84;
  box-shadow: 0 0 6px rgba(61, 220, 132, 0.75);
  flex: none;
}
.online em { font-style: normal; font-weight: 700; color: inherit; }
.online-sep { color: #666; font-size: 9px; }
.online b { font-weight: 800; font-style: italic; letter-spacing: .06em; }
.online b.role-owner,
#sideRoleLabel.role-owner {
  color: #ff1a1a;
  text-shadow:
    0 0 6px rgba(255, 26, 26, .95),
    0 0 14px rgba(225, 6, 0, .75),
    0 0 28px rgba(225, 6, 0, .45);
}
.online b.role-user,
#sideRoleLabel.role-user {
  color: #22c55e;
  text-shadow:
    0 0 6px rgba(34, 197, 94, .95),
    0 0 14px rgba(34, 197, 94, .7),
    0 0 26px rgba(34, 197, 94, .4);
}
.online b.role-staff,
#sideRoleLabel.role-staff {
  color: #c084fc;
  text-shadow:
    0 0 6px rgba(192, 132, 252, .95),
    0 0 14px rgba(168, 85, 247, .7),
    0 0 26px rgba(168, 85, 247, .4);
}
.side-xp {
  width: 100%;
  max-width: none;
  padding: 0 2px;
}
.side-xp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  margin-bottom: 7px;
}
.side-xp-rank {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--orange);
  line-height: 1.2;
}
.badge-rael {
  color: #ffd700;
  text-shadow: 0 0 6px rgba(255,215,0,.6);
  animation: badgePulse 2.5s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% { text-shadow: 0 0 4px rgba(255,215,0,.3); }
  50% { text-shadow: 0 0 12px rgba(255,215,0,.7), 0 0 20px rgba(255,26,26,.4); }
}
.side-xp-level {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #a8a8a8;
  white-space: nowrap;
}
.side-xp-bar {
  height: 7px;
  background: #242424;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 99px;
  overflow: hidden;
}
.side-xp-bar i {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #b80500 0%, var(--orange) 100%);
  border-radius: inherit;
  box-shadow: 0 0 10px rgba(225, 6, 0, 0.35);
  transition: width .35s cubic-bezier(.22, 1, .36, 1);
}
.side-xp-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  margin-top: 6px;
  font-family: var(--font);
  font-size: 10px;
  line-height: 1.3;
  color: #9a9a9a;
}
.side-xp-foot span:last-child {
  text-align: right;
  color: #777;
  font-size: 9px;
}
.side-nav {
  display: grid;
  gap: 2px;
  flex: 1 1 auto;
  align-content: start;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 2px 6px;
  scroll-padding-top: 6px;
  scroll-padding-bottom: 6px;
}
.nav-dc-wrap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px;
}
.nav-dc-wrap > a {
  min-width: 0;
}
.nav-dc-edit {
  position: relative;
  top: auto;
  right: auto;
  transform: none;
  z-index: 5;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.12);
  background: #1a1a1a;
  color: #ddd;
  font-size: 12px;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
  pointer-events: auto;
}
.nav-dc-edit:hover {
  color: #fff;
  border-color: rgba(88, 101, 242, .55);
  background: #222;
}
.nav-dc-edit.hidden { display: none !important; }
.nav-dc-wrap:has(.nav-dc-edit:not(.hidden)) > a .nav-chev {
  opacity: .35;
}
.side-nav::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}
.side-nav > button,
.side-nav > a,
.nav-dc-wrap > a,
.owner-menu button {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) 12px;
  align-items: center;
  gap: 8px;
  width: 100%;
  text-align: left;
  padding: 6px 8px;
  border-radius: 9px;
  color: #f0f0f0;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1.15;
  border: 1px solid transparent;
  position: relative;
  overflow: visible;
  isolation: isolate;
  z-index: 0;
  background: transparent;
  transform: scale(1);
  transform-origin: center center;
  will-change: transform;
  transition:
    transform .2s ease,
    background .2s ease,
    box-shadow .22s ease,
    color .2s ease,
    border-color .2s ease,
    filter .2s ease;
}
.side-nav > button > *,
.side-nav > a > *,
.nav-dc-wrap > a > *,
.owner-menu button > * {
  position: relative;
  z-index: 2;
}
/* moldura animada (aberta â†’ fecha â†’ abre) */
.side-nav > button::before,
.side-nav > a::before,
.nav-dc-wrap > a::before,
.owner-menu button::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: transparent;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
}
/* onda / risco branco */
.side-nav > button::after,
.side-nav > a::after,
.nav-dc-wrap > a::after,
.owner-menu button::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 42%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255,255,255,.0) 20%,
    rgba(255,255,255,.35) 42%,
    rgba(255,255,255,.95) 50%,
    rgba(255,255,255,.35) 58%,
    rgba(255,255,255,.0) 80%,
    transparent 100%
  );
  box-shadow: 0 0 18px rgba(255,255,255,.25);
  transform: translateX(-130%) skewX(-18deg);
  opacity: 0;
  pointer-events: none;
  z-index: 4;
  mix-blend-mode: screen;
}
.side-nav > button:hover,
.side-nav > a:hover,
.nav-dc-wrap > a:hover,
.owner-menu button:hover {
  z-index: 4;
  color: #fff;
  transform: scale(var(--ui-inflate));
  filter: brightness(1.04);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(225, 6, 0, 0.22);
  box-shadow: none;
}
.side-nav > button:hover::after,
.side-nav > a:hover::after,
.nav-dc-wrap > a:hover::after,
.owner-menu button:hover::after {
  animation: sideNavShine .75s cubic-bezier(.22, .8, .28, 1) forwards;
}
.side-nav > button:hover::before,
.side-nav > a:hover::before,
.nav-dc-wrap > a:hover::before,
.owner-menu button:hover::before,
.side-nav > button.is-on::before,
.side-nav > a.is-on::before,
.nav-dc-wrap > a.is-on::before,
.owner-menu button.is-on::before {
  opacity: 0;
  animation: none;
  box-shadow: none;
}
.side-nav > button:hover .nav-ico,
.side-nav > a:hover .nav-ico,
.nav-dc-wrap > a:hover .nav-ico,
.owner-menu button:hover .nav-ico {
  color: #fff;
  border-color: rgba(225, 6, 0, 0.28);
  background: rgba(225, 6, 0, 0.08);
}
@property --nav-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
@keyframes sideNavBorderSpin {
  from { --nav-angle: 0deg; }
  to { --nav-angle: 360deg; }
}
@keyframes sideNavShine {
  0% {
    transform: translateX(-130%) skewX(-18deg);
    opacity: 0;
  }
  8% {
    opacity: 1;
  }
  70% {
    opacity: 1;
  }
  100% {
    transform: translateX(280%) skewX(-18deg);
    opacity: 0;
  }
}
.side-nav > button.is-on,
.side-nav > a.is-on,
.owner-menu button.is-on {
  background: rgba(225, 6, 0, 0.08);
  color: #fff;
  border-color: rgba(225, 6, 0, 0.28);
  box-shadow: inset 1px 0 0 rgba(225, 6, 0, 0.75);
}
.side-nav > button.is-on:hover,
.side-nav > a.is-on:hover,
.owner-menu button.is-on:hover {
  transform: scale(var(--ui-inflate));
}
.side-nav > button.is-on .nav-ico,
.side-nav > a.is-on .nav-ico,
.owner-menu button.is-on .nav-ico {
  color: var(--orange);
  border-color: rgba(225, 6, 0, 0.28);
  background: rgba(225, 6, 0, 0.1);
}
.nav-ico {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  color: #cfcfcf;
  background: #171717;
  border: 1px solid #2a2a2a;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}
.nav-ico svg { width: 14px; height: 14px; display: block; }
.nav-hist-badge {
  --hist-badge-scale: 1;
  position: relative;
  z-index: 2;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  margin-left: auto;
  margin-right: 2px;
  border-radius: 99px;
  display: inline-grid;
  place-items: center;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1;
  color: #fff;
  background: linear-gradient(160deg, #ff3b30 0%, #e10600 55%, #b00000 100%);
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow:
    0 0 0 2px rgba(18, 18, 18, .92),
    0 4px 12px rgba(225, 6, 0, .35);
  transform: scale(var(--hist-badge-scale));
  animation: histBadgePulse 2.2s ease-in-out infinite;
}
.nav-hist-badge::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  border: 1.5px solid rgba(225, 6, 0, .55);
  opacity: .85;
  animation: histBadgeRing 2.2s ease-out infinite;
  pointer-events: none;
}
.nav-hist-badge.is-pop {
  animation: histBadgePop .55s cubic-bezier(.22, 1.4, .36, 1), histBadgePulse 2.2s ease-in-out .55s infinite;
}
.nav-hist-badge.hidden { display: none !important; }
.side-nav > button[data-view="historico"] {
  position: relative;
}
.side-nav > button[data-view="historico"].has-hist-ping .nav-ico {
  color: #fff;
  border-color: rgba(225, 6, 0, .45);
  background: rgba(225, 6, 0, .16);
  animation: histNavIcoPulse 2.2s ease-in-out infinite;
}
.side-nav > button[data-view="historico"].has-hist-ping > span:not(.nav-ico):not(.nav-hist-badge):not(.nav-chev):not(.hist-nav-tip) {
  color: #fff;
}
.side-nav > button[data-view="historico"].is-hist-flash .nav-ico {
  animation: histNavFlash .75s cubic-bezier(.22, 1, .36, 1);
}
@keyframes histNavFlash {
  0% { transform: scale(1); }
  35% { transform: scale(1.12); box-shadow: 0 0 0 6px rgba(225, 6, 0, .18); }
  100% { transform: scale(1); }
}
.hist-nav-tip {
  position: fixed;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 230px;
  padding: 8px 11px;
  border-radius: 10px;
  border: 1px solid rgba(225, 6, 0, .4);
  background: linear-gradient(180deg, #1a1212 0%, #120c0c 100%);
  color: #f2f2f2;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.25;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .03);
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  transform: translateY(-50%) translateX(8px);
}
.hist-nav-tip.is-on {
  animation: histTipIn .42s cubic-bezier(.22, 1, .36, 1) forwards;
}
.hist-nav-tip.is-out {
  animation: histTipOut .28s ease forwards;
}
.hist-nav-tip b {
  color: #ff6b63;
  font-weight: 800;
}
.hist-nav-tip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange, #e10600);
  box-shadow: 0 0 0 3px rgba(225, 6, 0, .2);
  flex: none;
  animation: histTipDot 1.2s ease-in-out infinite;
}
@keyframes histBadgePulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(18, 18, 18, .92), 0 4px 12px rgba(225, 6, 0, .32); }
  50% { box-shadow: 0 0 0 2px rgba(18, 18, 18, .92), 0 6px 18px rgba(225, 6, 0, .55); }
}
@keyframes histBadgeRing {
  0% { transform: scale(.92); opacity: .75; }
  70% { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}
@keyframes histBadgePop {
  0% { transform: scale(.2); opacity: 0; }
  55% { transform: scale(1.22); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes histNavIcoPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(225, 6, 0, 0); }
  50% { box-shadow: 0 0 0 5px rgba(225, 6, 0, .12); }
}
@keyframes histTipIn {
  from { opacity: 0; transform: translateY(-50%) translateX(14px) scale(.96); }
  to { opacity: 1; transform: translateY(-50%) translateX(0) scale(1); }
}
@keyframes histTipOut {
  from { opacity: 1; transform: translateY(-50%) translateX(0) scale(1); }
  to { opacity: 0; transform: translateY(-50%) translateX(8px) scale(.97); }
}
@keyframes histTipDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: .7; }
}
@media (prefers-reduced-motion: reduce) {
  .nav-hist-badge,
  .nav-hist-badge.is-pop,
  .nav-hist-badge::before,
  .hist-tab-badge,
  .hist-tab-badge.is-pop,
  .side-nav > button[data-view="historico"].has-hist-ping .nav-ico,
  .side-nav > button[data-view="historico"].is-hist-flash .nav-ico,
  .hist-nav-tip-dot {
    animation: none !important;
  }
  .hist-nav-tip.is-on,
  .hist-nav-tip.is-out {
    animation: none !important;
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }
}
.nav-chev {
  color: #777;
  font-size: 13px;
  line-height: 1;
  text-align: right;
  transition: color .2s ease, transform .2s ease;
}
.side-nav > button:hover .nav-chev,
.side-nav > a:hover .nav-chev,
.owner-menu button:hover .nav-chev {
  color: #fff;
  transform: translateX(2px);
}
.nav-shop { margin-top: 4px; padding-top: 10px; border-top: 1px solid #222 !important; border-radius: 0 0 11px 11px; }
.owner-menu button.nav-client,
.owner-menu button.nav-client span[data-i18n="users"],
.owner-menu button.nav-client > span:not(.nav-ico):not(.nav-chev) {
  color: #f5d76e;
}
.owner-menu button.nav-client .nav-ico {
  color: #f5d76e;
}
.owner-menu button.nav-client.is-on,
.owner-menu button.nav-client.is-on > span:not(.nav-ico):not(.nav-chev) {
  color: #ffe566;
}
.owner-menu button.nav-client.is-on .nav-ico {
  color: #ffe566;
}
.sub { display: grid; gap: 1px; padding: 2px 0 4px 44px; }
.sub button {
  font-size: 13px;
  color: #bbb;
  text-align: left;
  padding: 7px 8px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  transition: color .2s ease, transform .2s ease, background .2s ease, border-color .2s ease;
  transform-origin: left center;
}
.sub button:hover {
  color: #fff;
  transform: scale(var(--ui-inflate));
  background: rgba(255, 255, 255, .04);
}
.sub button.is-on {
  color: var(--orange);
  background: rgba(225, 6, 0, .08);
  border-color: rgba(225, 6, 0, .22);
}
.sub button.is-on:hover {
  color: var(--orange);
  transform: scale(var(--ui-inflate));
}
.nav-kicker { display: block; margin: 6px 6px 2px; color: #777; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.owner-menu {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
}
.side-foot {
  display: flex; align-items: center; justify-content: center;
  gap: 0; padding-top: 6px; margin-top: 2px; border-top: 1px solid #222;
  flex: none;
}
.side-foot button {
  flex: 1; background: transparent; border-radius: 0; padding: 7px 6px; font-size: 12px;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; color: #ddd;
}
.side-foot .nav-exit { color: #ff4d4d; }
.side-foot .nav-ico {
  width: 26px;
  height: 26px;
  border-radius: 8px;
}
.side-foot .nav-ico svg { width: 14px; height: 14px; }
@media (prefers-reduced-motion: reduce) {
  .side-nav > button:hover::after,
  .side-nav > a:hover::after,
  .owner-menu button:hover::after {
    animation: none;
    opacity: 0;
  }
}

@keyframes cardIn {
  from { opacity: 0; transform: translateY(10px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.card, .feature-card, .product, .total-card, .admin-card, .cat, .pay-tile {
  animation: cardIn .38s ease backwards;
  transform-origin: center center;
  transition: transform .28s cubic-bezier(.22,1,.36,1), border-color .25s ease, box-shadow .28s ease, filter .2s ease;
}
.card:hover, .feature-card:hover, .product:hover, .total-card:hover, .admin-card:hover,
.cat:hover, .pay-tile:hover, .tfa-step:hover, .hwid-cell:hover,
#view-dll .dll-row:hover, .quick button:hover {
  transform: scale(var(--ui-inflate)) !important;
  z-index: 3;
}
.card:hover, .feature-card:hover, .product:hover, .total-card:hover, .admin-card:hover {
  border-color: #3a2222;
  box-shadow: 0 20px 44px rgba(0,0,0,.42), 0 0 26px rgba(225,6,0,.2);
}
.cat:hover, .pay-tile:hover, #view-dll .dll-row:hover, .tfa-step:hover {
  border-color: rgba(225,6,0,.35);
  box-shadow: 0 14px 28px rgba(0,0,0,.35), 0 0 16px rgba(225,6,0,.16);
}
.view {
  display: grid;
  gap: 12px;
  padding: 2px 2px 6px;
  overflow: visible;
}
.main {
  padding: 14px 18px 10px;
  overflow: auto;
  min-height: 0;
  min-width: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
  display: flex;
  flex-direction: column;
}
.main:has(#view-revenda:not(.hidden)),
.main:has(#view-precos:not(.hidden)) {
  padding-top: 8px;
}
.main > .view:not(.hidden) {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  align-content: start;
}
.main::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}
.block-title { font-size: 20px; }
.card { background: var(--card); border: 1px solid #2a2a2a; border-radius: var(--radius); padding: 16px; }
.btn-orange, .btn-dark, .btn-google, .btn-green, .feature-btn, .how-btn, .quick button, .pay-tile, .top-link, .icon-btn, .wallet, .lang-btn, .admin-tool, .admin-card-menu-btn, .cat, .dl-split-btn, .product-buy, .pd-upload, .dll-pick-btn, .dll-copy-btn, .admin-page-num, .admin-card-menu-btn, .admin-card-menu button, .user-menu button, .lang-menu button, .side-foot button, .dlg-x, .promo-close {
  transition: transform .18s cubic-bezier(.22,1,.36,1), box-shadow .18s ease, filter .18s ease, background .16s ease, border-color .16s ease, color .16s ease;
  transform-origin: center center;
}
.btn-orange:hover, .feature-btn.btn-orange:hover,
.btn-dark:hover, .feature-btn.btn-dark:hover, .how-btn:hover, .quick button:hover,
.icon-btn:hover, .wallet:hover, .btn-google:hover, .btn-green:hover,
.pay-tile:hover, .top-link:hover, .lang-btn:hover, .admin-tool:hover,
.cat:hover, .dl-split-btn:hover, .product-buy:hover, .pd-upload:hover,
.dll-pick-btn:hover, .dll-copy-btn:hover, .admin-page-num:hover,
.admin-card-menu-btn:hover, .admin-card-menu button:hover,
.user-menu button:hover, .lang-menu button:hover, .side-foot button:hover,
.dlg-x:hover, .promo-close:hover, .hwid-cell:hover {
  transform: scale(var(--ui-inflate));
}
.btn-orange:hover, .feature-btn.btn-orange:hover {
  filter: brightness(1.08);
  box-shadow: 0 10px 22px rgba(225,6,0,.38);
}
.btn-dark:hover, .feature-btn.btn-dark:hover, .how-btn:hover, .quick button:hover, .icon-btn:hover, .wallet:hover {
  border-color: #3a2222;
  box-shadow: 0 8px 18px rgba(0,0,0,.28);
}
.btn-orange:active, .btn-dark:active, .feature-btn:active, .how-btn:active, .quick button:active, .pay-tile:active, .icon-btn:active, .wallet:active,
.btn-google:active, .cat:active, .product-buy:active, .dl-split-btn:active {
  transform: scale(.97);
}
.hwid-cell {
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.hwid-cell:hover {
  border-color: #3a2222;
  background: #1a1a1a;
}
.key-boxes input {
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.key-boxes input:hover {
  border-color: #3a2222;
  transform: scale(var(--ui-inflate));
}
@media (prefers-reduced-motion: reduce) {
  .card, .feature-card, .product, .total-card, .admin-card { animation: none; }
  .card:hover, .feature-card:hover, .product:hover, .total-card:hover, .admin-card:hover, .hwid-cell:hover,
  .btn-orange:hover, .btn-dark:hover, .feature-btn:hover, .how-btn:hover, .quick button:hover,
  .icon-btn:hover, .wallet:hover, .btn-google:hover, .pay-tile:hover, .top-link:hover,
  .cat:hover, .product-buy:hover, .dl-split-btn:hover { transform: none; }
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-2.slim { margin-top: 14px; }
.kv { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #262626; }
.banner-warn { border: 1px solid var(--orange); color: var(--orange); border-radius: 10px; padding: 10px 12px; background: rgba(225,6,0,.08); }
.key-boxes { display: flex; justify-content: center; align-items: center; gap: 8px; margin: 16px 0 10px; flex-wrap: wrap; }
.key-prefix {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid rgba(225,6,0,.35);
  background: rgba(225,6,0,.1);
  color: var(--orange);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .06em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  user-select: none;
}
.key-boxes input {
  width: 42px;
  height: 48px;
  text-align: center;
  padding: 0;
  background: #121212;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
}
.key-boxes input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(225,6,0,.16); outline: 0; }
.key-boxes input:hover {
  border-color: #3a2222;
  transform: scale(var(--ui-inflate, 1.02));
}

.feature-card {
  background: #161616;
  border: 1px solid #2a2a2a;
  border-radius: 6px;
  padding: 18px;
  display: grid;
  gap: 14px;
  box-shadow: 0 16px 40px rgba(0,0,0,.28), 0 10px 28px rgba(225,6,0,.08);
}
.feature-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.feature-title { display: flex; align-items: center; gap: 12px; min-width: 0; }
.feature-title h3 { font-size: 18px; color: var(--orange); line-height: 1.1; }
.feature-title p { color: #9a9a9a; font-size: 12px; margin-top: 3px; }
.feature-ico {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex: none;
  background: var(--orange);
  color: #fff;
  box-shadow: 0 0 16px rgba(225,6,0,.4);
}
.feature-ico svg { width: 20px; height: 20px; }
.feature-ico--sm {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #222;
  color: #ddd;
  box-shadow: none;
}
.hwid-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 10px;
  border-radius: 99px;
  background: rgba(61,220,132,.1);
  border: 1px solid rgba(61,220,132,.28);
  color: var(--ok);
  font-size: 11px;
  font-weight: 800;
}
.hwid-live svg { width: 13px; height: 13px; }
.hwid-device {
  background: #101010;
  border: 1px solid #2a2a2a;
  border-radius: 6px;
  padding: 14px;
}
.hwid-device-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}
.hwid-device-top strong { display: block; font-size: 16px; }
.hwid-device-top small { color: #8a8a8a; font-size: 12px; }
.hwid-online {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ok);
  font-size: 12px;
  font-weight: 700;
}
.hwid-online i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.hwid-online.is-off { color: #888; }
.hwid-online.is-off i { background: #666; box-shadow: none; }
.hwid-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hwid-cell {
  background: #161616;
  border: 1px solid #2a2a2a;
  border-radius: 6px;
  padding: 10px;
  display: grid;
  gap: 4px;
}
.hwid-cell span { color: #8a8a8a; font-size: 11px; }
.hwid-cell b { font-size: 13px; }
.hwid-cell .accent { color: var(--orange); }
.hwid-code {
  display: grid;
  grid-template-columns: 36px 1fr 28px;
  align-items: center;
  gap: 8px;
  background: #101010;
  border: 1px solid #2a2a2a;
  border-radius: 6px;
  padding: 7px 10px;
  min-height: 0;
}
.hwid-print {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #141414;
  display: grid;
  place-items: center;
  color: var(--orange);
  flex: none;
}
.hwid-print svg { width: 22px; height: 22px; display: block; margin: 0; }
.hwid-code > div span { display: block; color: #8a8a8a; font-size: 10px; line-height: 1.1; }
.hwid-code em {
  display: block;
  color: #eee;
  font-style: italic;
  font-size: 13px;
  line-height: 1.2;
  word-break: break-all;
}
.hwid-code .icon-btn {
  width: 26px;
  height: 26px;
  color: #bbb;
  border-color: #333;
  background: #161616;
}
.hwid-code .icon-btn svg { width: 13px; height: 13px; }
.feature-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 34px;
  height: 34px;
  padding: 0 14px !important;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.feature-btn svg { width: 14px; height: 14px; }
.feature-btn:disabled { opacity: .72; cursor: default; }
.feature-foot { display: block; text-align: center; color: #7a7a7a; font-size: 11px; line-height: 1.4; min-height: 2.8em; }

/* Perfil: cards da mesma altura e botÃµes alinhados na base */
#view-perfil {
  display: grid;
  gap: 12px;
  align-content: start;
}
#view-perfil .grid-2 {
  align-items: stretch;
  gap: 12px;
  margin: 0;
}
#view-perfil .profile-top {
  margin-bottom: 0;
  padding: 0;
}
#view-perfil .feature-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}
#view-perfil .profile-card > .feature-btn,
#view-perfil .hwid-card > .feature-btn,
#view-perfil .redeem-card > .feature-btn {
  margin-top: auto;
}
#view-perfil .tfa-card > #tfaIdle,
#view-perfil .tfa-card > #tfaSetup,
#view-perfil .tfa-card > #tfaVerify,
#view-perfil .tfa-card > #tfaOn {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
}
#view-perfil .tfa-card #tfaIdle > .feature-btn,
#view-perfil .tfa-card #tfaOn > .feature-btn,
#view-perfil .tfa-card .tfa-actions {
  margin-top: auto;
}
/* Todos os CTAs do perfil = mesmo tamanho/cor do ATUALIZAR SENHA */
#view-perfil .feature-card > .feature-btn,
#view-perfil .tfa-card .tfa-main-btn,
#view-perfil .tfa-card #tfaIdle > .feature-btn,
#view-perfil .tfa-card #tfaOn > .feature-btn,
#view-perfil .redeem-card > .feature-btn,
#view-perfil .hwid-card > .feature-btn,
#view-perfil .profile-card > .feature-btn {
  width: 100%;
  align-self: stretch;
  min-height: 46px;
  height: 46px;
  padding: 0 16px !important;
  font-size: 13px;
  letter-spacing: .06em;
  justify-content: center;
  background: #e10600 !important;
  color: #fff !important;
  border: 0 !important;
  box-shadow: 0 8px 22px rgba(225,6,0,.28);
  opacity: 1 !important;
  filter: none !important;
}
#view-perfil .feature-card > .feature-btn:hover,
#view-perfil .tfa-card .tfa-main-btn:hover,
#view-perfil .redeem-card > .feature-btn:hover,
#view-perfil .hwid-card > .feature-btn:hover,
#view-perfil .profile-card > .feature-btn:hover {
  background: #ff2a2a !important;
  filter: none !important;
}
#view-perfil .redeem-card > .feature-btn:disabled,
#view-perfil .redeem-card > .feature-btn:disabled:hover {
  background: #e10600 !important;
  color: #fff !important;
  opacity: 1 !important;
  filter: none !important;
  box-shadow: 0 8px 22px rgba(225,6,0,.28);
  cursor: default;
}
/* Alinha botões entre cards da mesma linha (espaço do rodapé igual) */
#view-perfil .feature-card > .feature-foot,
#view-perfil .tfa-card .feature-foot {
  display: block;
  min-height: 2.8em;
  margin-top: 0;
  flex: none;
}
#view-perfil .tfa-card #tfaIdle > .feature-btn,
#view-perfil .tfa-card #tfaOn > .feature-btn {
  margin-top: auto;
  flex: none;
}
#view-perfil .tfa-card #tfaOn {
  align-items: stretch;
  text-align: center;
  justify-content: flex-start;
}
#view-perfil .tfa-card #tfaOn > .tfa-hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 0;
  padding: 12px 8px;
}
#view-perfil .tfa-card #tfaOn .tfa-hero-ico.is-on {
  width: 118px;
  height: 118px;
  margin: 0 auto;
}
#view-perfil .tfa-card #tfaOn .tfa-hero-ico.is-on svg {
  width: 58px;
  height: 58px;
}
.profile-card { gap: 16px; }
.profile-ico { position: relative; }
.profile-ico::after {
  content: "";
  position: absolute;
  top: -3px;
  right: -3px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #3b82f6;
  border: 2px solid #161616;
}
.premium-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 10px;
  border-radius: 99px;
  background: #1a2744;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.premium-pill span { color: #f5d76e; }
.profile-sec { display: grid; gap: 10px; }
.profile-sec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.profile-sec-head strong { font-size: 14px; }
.sec-ico { width: 18px; height: 18px; display: grid; place-items: center; }
.sec-ico svg { width: 16px; height: 16px; }
.sec-ico.ok { color: var(--ok); }
.sec-ico.warn { color: var(--orange); }
.profile-field { display: grid; gap: 6px; }
.profile-lab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #bbb;
  font-size: 12px;
}
.profile-lab svg { width: 14px; height: 14px; }
.profile-lab em { font-style: normal; }
.profile-input {
  position: relative;
  display: flex;
  align-items: center;
}
.profile-input input {
  width: 100%;
  height: 42px;
  padding: 0 96px 0 12px;
  background: #101010;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.profile-input input:not([readonly]) { padding-right: 88px; }
.profile-input input.is-locked,
.profile-input input[readonly] { color: #cfcfcf; }
.profile-input input:focus { outline: 0; border-color: #3a2222; }
.verified-pill {
  position: absolute;
  right: 10px;
  height: 22px;
  padding: 0 8px;
  max-width: 52%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border-radius: 99px;
  background: #1c1c1c;
  color: #ddd;
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.verified-pill.hidden { display: none !important; }
.verified-pill.is-locked {
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, .35);
  background: rgba(127, 29, 29, .25);
}
.profile-user-save {
  position: absolute;
  right: 8px;
  height: 28px;
  padding: 0 12px;
  border-radius: 8px;
  border: 0;
  background: #e10600;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  cursor: pointer;
  z-index: 1;
}
.profile-user-save:hover { filter: brightness(1.08); }
.profile-user-save.hidden { display: none !important; }
.profile-user-hint {
  margin: 6px 2px 0;
  font-size: 11px;
  color: #888;
}
.mail-ok {
  position: absolute;
  right: 10px;
  width: 22px;
  height: 22px;
  color: var(--ok);
  display: grid;
  place-items: center;
}
.mail-ok svg { width: 18px; height: 18px; }
.eye-btn {
  position: absolute;
  right: 8px;
  width: 28px;
  height: 28px;
  color: #999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.eye-btn svg { width: 18px; height: 18px; display: block; }
.premium-pill svg { width: 14px; height: 14px; display: inline-block; vertical-align: -2px; }
.pills .pi svg { width: 14px; height: 14px; display: block; }
#view-revenda .rv-icon-btn svg { width: 16px; height: 16px; display: block; }
.notice-close svg,
.modal-x svg,
.dlg-x svg,
.promo-close svg {
  width: 14px;
  height: 14px;
  display: block;
  flex-shrink: 0;
  margin: 0;
  pointer-events: none;
}

.profile-input:has(.eye-btn) input { padding-right: 40px; }
.profile-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.how-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 10px;
  border: 1px solid var(--orange);
  border-radius: 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.how-btn span {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--orange);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}
.how-btn em { font-style: normal; }
.redeem-center { text-align: center; padding: 8px 0 0; }
.redeem-center h4 { color: var(--orange); font-size: 18px; margin-bottom: 6px; }
.redeem-center > p { color: #ddd; font-size: 13px; }
#view-perfil .redeem-card .redeem-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  min-height: 0;
  padding: 12px 0;
}
#view-perfil .redeem-card .redeem-center h4,
#view-perfil .redeem-card .redeem-center > p,
#view-perfil .redeem-card .redeem-center .key-help {
  width: 100%;
  text-align: center;
}
#view-perfil .redeem-card .key-boxes {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.key-help { color: #8a8a8a !important; font-size: 12px !important; }

.cats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 260px));
  gap: 14px;
  padding: 8px 4px 12px;
  overflow: visible;
}
.cat {
  position: relative;
  width: 100%;
  max-width: 260px;
  height: 280px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #3a3a3a;
  background: #0d0d0d;
  padding: 0;
  text-align: left;
  display: grid;
  grid-template-rows: 1fr auto;
  will-change: transform;
}
.cat.is-on { border-color: #fff; box-shadow: 0 0 0 1px rgba(255,255,255,.18), 0 12px 28px rgba(0,0,0,.35); }
.cat-cover {
  min-height: 0;
  background: #111 center/cover no-repeat;
  position: relative;
}
.cat-cover::after { display: none; }
.cat-meta { padding: 12px 14px 14px; display: grid; gap: 4px; background: #0d0d0d; }
.cat b {
  display: block;
  font-size: 16px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 800;
}
.cat small { color: #fff; font-size: 12px; }
.store-sec-head {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  text-align: center;
  width: 100%;
}
#view-loja {
  display: flex;
  justify-content: center;
  padding: 4px 16px 28px;
}
.store-shell {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
#view-loja .store-products {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  padding: 8px 4px 12px;
  overflow: visible;
}
#view-loja .store-products .product {
  width: 100%;
  max-width: 320px;
  flex: 0 1 320px;
}
.store-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
}
.store-title svg { width: 20px; height: 20px; color: var(--orange); flex: none; }
.store-avail {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 99px;
  border: 1px solid rgba(225,6,0,.45);
  color: var(--orange);
  font-size: 11px;
  font-weight: 700;
  background: rgba(225,6,0,.08);
}
.store-toolbar { align-items: center; }
.store-search {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
}
.store-search svg {
  position: absolute;
  left: 12px;
  width: 16px;
  height: 16px;
  color: #888;
  pointer-events: none;
}
.store-search input { padding-left: 38px !important; }
.toolbar { display: flex; gap: 10px; }
.toolbar input { flex: 1; padding-left: 12px; }
.toolbar select { width: 180px; padding-left: 12px; }
.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  padding: 8px 4px 12px;
  overflow: visible;
}
.product {
  background: #141414;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  cursor: pointer;
  will-change: transform;
}
.product-cover {
  position: relative;
  height: 168px;
  background: #1a1a1a center/cover no-repeat;
}
.product-cover .badge {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(0,0,0,.55);
  color: var(--orange);
  border: 1px solid rgba(225,6,0,.55);
  font-size: 11px;
  font-weight: 700;
  border-radius: 6px;
  padding: 3px 8px;
}
.product-body {
  padding: 14px;
  display: grid;
  gap: 8px;
  align-content: start;
  align-items: stretch;
}
.badge { width: max-content; background: var(--orange); color: #111; font-size: 11px; font-weight: 800; border-radius: 99px; padding: 2px 8px; }
.product h3 { font-size: 15px; letter-spacing: .02em; text-transform: uppercase; }
.product .muted { font-size: 12px; line-height: 1.45; color: #9a9a9a; }
.stars { color: var(--orange); font-size: 12px; display: flex; gap: 6px; align-items: center; }
.stars em { color: #8a8a8a; font-style: normal; }
.tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
  align-self: start;
}
.tags span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  line-height: 1.2;
  background: transparent;
  border: 1px solid #333;
  border-radius: 99px;
  padding: 4px 10px;
  font-size: 11px;
  color: #bbb;
  white-space: nowrap;
}
.tags span.tag-revenda {
  border-color: rgba(245, 215, 110, .35);
  color: #f5d76e;
}
.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #8a8a8a;
  font-size: 12px;
}
.product-meta span { display: inline-flex; align-items: center; gap: 5px; }
.product-meta svg { width: 13px; height: 13px; }
.product-offer {
  position: relative;
  border: 0;
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(225,6,0,.1) 0%, transparent 42%),
    linear-gradient(180deg, #1a1214 0%, #101010 100%);
  padding: 12px 12px 11px;
  display: grid;
  gap: 4px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.04),
    0 0 0 1px rgba(225,6,0,.12);
  overflow: hidden;
}
.product-offer::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 2px;
  border-radius: 0 2px 2px 0;
  background: linear-gradient(180deg, rgba(225,6,0,.85), rgba(225,6,0,.15));
  pointer-events: none;
}
.product-offer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  padding-left: 6px;
}
.product-offer-top b { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: #b8b8b8; }
.product-offer-top i {
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(225,6,0,.2); color: #ff6b6b;
  display: grid; place-items: center; font-style: normal; font-size: 11px;
  box-shadow: 0 0 10px rgba(225,6,0,.25);
}
.product-offer-top em {
  font-style: normal;
  border: 0;
  background: rgba(225,6,0,.12);
  color: #ff8a8a;
  border-radius: 99px;
  padding: 3px 9px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .02em;
}
.product-offer strong {
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.01em;
  padding-left: 6px;
  text-shadow: 0 0 18px rgba(225,6,0,.28);
}
.dl-products .product.is-locked .product-offer {
  background:
    linear-gradient(135deg, rgba(225,6,0,.08) 0%, transparent 42%),
    linear-gradient(180deg, #161212 0%, #0e0e0e 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.03),
    0 0 0 1px rgba(225,6,0,.1);
}
.dl-products .product.is-locked .product-offer strong {
  color: #ff6b6b;
  font-size: 16px;
  font-weight: 700;
}
.dl-products .product.is-locked .product-offer-top em {
  background: rgba(225,6,0,.12);
  color: #ff8a8a;
}
.product-buy {
  width: 100%;
  height: 40px;
  border-radius: 8px;
  background: var(--orange);
  color: #fff;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  letter-spacing: .04em;
}
.product-buy svg { width: 16px; height: 16px; }
.product footer { display: flex; justify-content: space-between; color: #aaa; font-size: 12px; }

.pd-back {
  width: max-content;
  color: #bbb;
  font-size: 13px;
  margin-bottom: 4px;
  transition: color .2s ease, transform .2s ease;
}
.pd-back:hover { color: var(--orange); transform: translateX(-2px); }
.pd-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 22px;
  align-items: start;
}
.pd-left, .pd-right { display: grid; gap: 14px; }
.pd-left {
  display: grid;
  gap: 14px;
  justify-items: center;
  align-content: start;
  padding-top: 8px;
}
.pd-hero, .pd-thumbs { display: none !important; }
.pd-video {
  width: min(100%, 460px);
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  background: #121212;
  padding: 12px;
  display: grid;
  gap: 10px;
  justify-self: center;
  margin: 0 auto;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.pd-video:hover {
  border-color: #3a2222;
  box-shadow: 0 16px 36px rgba(0,0,0,.35), 0 0 24px rgba(225,6,0,.1);
}
.pd-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  min-height: 0;
  max-height: none;
  height: auto;
  border-radius: 10px;
  background: #0b0b0b center/cover no-repeat;
  border: 1px solid #222;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.pd-video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  background: #000;
}
.pd-upload-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  background: rgba(6, 6, 6, .78);
  backdrop-filter: blur(2px);
}
.pd-upload-overlay.hidden { display: none; }
.pd-upload-card {
  width: min(88%, 260px);
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
  color: #f2f2f2;
}
.pd-upload-card b {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
}
.pd-upload-card small {
  font-size: 12px;
  color: #cfcfcf;
  font-variant-numeric: tabular-nums;
}
.pd-upload-spin {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,.18);
  border-top-color: #e10600;
  animation: pdSpin .8s linear infinite;
}
.pd-upload-bar {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  overflow: hidden;
}
.pd-upload-bar i {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #e10600, #ff4d45);
  transition: width .15s ease-out;
}
@keyframes pdSpin {
  to { transform: rotate(360deg); }
}
.pd-upload.is-busy {
  opacity: .55;
  pointer-events: none;
}
.pd-owner-media {
  border: 1px dashed rgba(225,6,0,.4);
  border-radius: 10px;
  background: rgba(225,6,0,.06);
  padding: 12px 14px;
  display: grid;
  gap: 8px;
  margin-bottom: 8px;
}
.pd-owner-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pd-upload {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid var(--orange);
  color: #fff;
  background: rgba(225,6,0,.15);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.pd-upload:hover { background: rgba(225,6,0,.28); }
.pd-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 8px;
  z-index: 1;
}
.pd-badge {
  height: 24px;
  padding: 0 10px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
}
.pd-badge--hot { background: var(--orange); color: #fff; }
.pd-badge--pop { background: linear-gradient(90deg, #7c3aed, #db2777); color: #fff; }
.pd-video header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #eee;
  font-size: 13px;
}
.pd-video header svg { width: 14px; height: 14px; color: var(--orange); }
.pd-play {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(225,6,0,.92);
  color: #fff;
  font-size: 16px;
  box-shadow: 0 0 24px rgba(225,6,0,.45);
  position: relative;
  z-index: 2;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
  animation: pdPlayPulse 2.4s ease-in-out infinite;
}
.pd-play:hover {
  transform: scale(1.1);
  filter: brightness(1.08);
  box-shadow: 0 0 32px rgba(225,6,0,.6);
  animation-play-state: paused;
}
@keyframes pdPlayPulse {
  0%, 100% { box-shadow: 0 0 18px rgba(225,6,0,.35); }
  50% { box-shadow: 0 0 32px rgba(225,6,0,.65), 0 0 0 10px rgba(225,6,0,.08); }
}
.pd-video-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}
.pd-video-meta b { display: block; font-size: 13px; }
.pd-video-meta small { color: #8a8a8a; font-size: 12px; }
.pd-video-meta > span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #9a9a9a;
  font-size: 12px;
  white-space: nowrap;
}
.pd-video-meta svg { width: 13px; height: 13px; }
.pd-right h1 {
  color: var(--orange);
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.15;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.pd-sub { color: #cfcfcf; font-size: 14px; }
.pd-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
  font-size: 13px;
}
.pd-stars { color: #f5c542; }
.pd-stars b { color: #fff; margin-left: 4px; }
.pd-stars em { color: #8a8a8a; font-style: normal; }
.pd-buys {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #bbb;
}
.pd-buys svg { width: 14px; height: 14px; }
.pd-feats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.pd-feat {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border-radius: 8px;
  background: #121212;
  border: 1px solid #2a2a2a;
  transition: transform .22s cubic-bezier(.22,.82,.24,1), border-color .22s ease, box-shadow .22s ease, background .22s ease;
}
.pd-feat:hover {
  transform: translateY(-3px);
  background: #161616;
}
.pd-feat-ico {
  display: inline-grid;
  place-items: center;
  transition: transform .25s ease;
}
.pd-feat:hover .pd-feat-ico { transform: scale(1.12) rotate(-6deg); }
.pd-feat b { display: block; font-size: 12px; }
.pd-feat em { font-style: normal; font-size: 12px; font-weight: 700; }
.pd-feat.is-safe { border-color: rgba(34,197,94,.45); }
.pd-feat.is-safe:hover { box-shadow: 0 10px 22px rgba(34,197,94,.12); }
.pd-feat.is-safe em { color: #4ade80; }
.pd-feat.is-upd { border-color: rgba(59,130,246,.45); }
.pd-feat.is-upd:hover { box-shadow: 0 10px 22px rgba(59,130,246,.12); }
.pd-feat.is-upd em { color: #60a5fa; }
.pd-feat.is-sup { border-color: rgba(168,85,247,.45); }
.pd-feat.is-sup:hover { box-shadow: 0 10px 22px rgba(168,85,247,.12); }
.pd-feat.is-sup em { color: #c084fc; }
.pd-plan-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.pd-ccy { display: inline-flex; gap: 6px; }
.pd-ccy button {
  height: 28px;
  padding: 0 10px;
  border-radius: 6px;
  border: 1px solid #2a2a2a;
  background: #151515;
  color: #bbb;
  font-size: 11px;
  font-weight: 700;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}
.pd-ccy button:hover { transform: scale(1.04); }
.pd-ccy button.is-on {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}
.pd-plans { display: grid; gap: 8px; }
.pd-plan {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #2a2a2a;
  background: #121212;
  text-align: left;
  transition: transform .2s cubic-bezier(.22,.82,.24,1), border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.pd-plan:hover {
  transform: translateX(3px);
  border-color: #3a2222;
  background: #161212;
}
.pd-plan.is-on {
  border-color: rgba(225,6,0,.55);
  box-shadow: inset 3px 0 0 var(--orange), 0 0 18px rgba(225,6,0,.12);
  background: #171212;
  animation: pdPlanSelect .35s ease;
}
@keyframes pdPlanSelect {
  0% { transform: scale(.985); }
  60% { transform: scale(1.015); }
  100% { transform: scale(1); }
}
.pd-plan b { display: block; font-size: 13px; }
.pd-plan small { color: #8a8a8a; font-size: 12px; }
.pd-plan strong {
  color: #fff;
  font-size: 14px;
  white-space: nowrap;
  transition: color .2s ease, text-shadow .2s ease;
}
.pd-plan.is-on strong {
  color: #ff8a8a;
  text-shadow: 0 0 14px rgba(225,6,0,.35);
}
.pd-plan-price-wrap {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #cfcfcf;
  font-size: 13px;
  font-weight: 700;
}
.pd-plan-price-wrap input.pd-plan-price {
  width: 88px;
  height: 32px;
  border-radius: 6px;
  border: 1px solid #333;
  background: #0b0b0b;
  color: #fff;
  padding: 0 8px;
  font-size: 13px;
  font-weight: 700;
  text-align: right;
}
.pd-plan.is-on .pd-plan-price-wrap input.pd-plan-price {
  border-color: rgba(225,6,0,.55);
}
.pd-plan-price-wrap input.pd-plan-price:focus {
  outline: none;
  border-color: #e10600;
}
button.pd-upload {
  cursor: pointer;
  border: 0;
  font: inherit;
}
.pd-buy {
  position: relative;
  width: 100%;
  height: 48px;
  border-radius: 8px;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
  transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
}
.pd-promo-hint {
  margin: 0 0 8px;
  text-align: center;
  font-size: 13px;
  color: #86efac !important;
}
.pd-price-old {
  color: #777;
  font-weight: 500;
  margin-right: 6px;
}
.pd-price-new {
  color: #86efac;
  font-weight: 800;
}
.pd-buy::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.22) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: pdBuyShine 3s ease-in-out infinite;
  pointer-events: none;
}
.pd-buy:hover {
  transform: translateY(-2px) scale(1.01);
  filter: brightness(1.06);
  box-shadow: 0 14px 28px rgba(225,6,0,.4);
}
.pd-buy:active { transform: translateY(0) scale(.99); }
@keyframes pdBuyShine {
  0%, 68% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}
.pd-buy svg { width: 16px; height: 16px; position: relative; z-index: 1; }
.pd-buy > span { position: relative; z-index: 1; }
.pd-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  justify-content: space-between;
  color: #8a8a8a;
  font-size: 12px;
}
.pd-foot span {
  transition: color .2s ease, transform .2s ease;
}
.pd-foot span:hover {
  color: #ddd;
  transform: translateY(-1px);
}

/* entrada da pÃ¡gina do produto */
@keyframes pdInUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pdInLeft {
  from { opacity: 0; transform: translateX(-16px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes pdInRight {
  from { opacity: 0; transform: translateX(16px); }
  to { opacity: 1; transform: translateX(0); }
}
#view-produto.pd-anim .pd-back {
  animation: pdInLeft .4s ease both;
}
#view-produto.pd-anim .pd-video {
  animation: pdInLeft .5s .06s ease both;
}
#view-produto.pd-anim .pd-right > #pdTitle {
  animation: pdInRight .42s .08s ease both;
}
#view-produto.pd-anim .pd-right > .pd-sub {
  animation: pdInRight .42s .14s ease both;
}
#view-produto.pd-anim .pd-feats {
  animation: pdInUp .45s .18s ease both;
}
#view-produto.pd-anim .pd-feat:nth-child(1) { animation: pdInUp .4s .2s ease both; }
#view-produto.pd-anim .pd-feat:nth-child(2) { animation: pdInUp .4s .28s ease both; }
#view-produto.pd-anim .pd-feat:nth-child(3) { animation: pdInUp .4s .36s ease both; }
#view-produto.pd-anim .pd-plan-head {
  animation: pdInUp .4s .32s ease both;
}
#view-produto.pd-anim .pd-plan {
  animation: pdInUp .4s ease both;
  animation-delay: calc(.38s + (var(--pd-i, 0) * .06s));
}
#view-produto.pd-anim .pd-buy {
  animation: pdInUp .45s .55s ease both;
}
#view-produto.pd-anim .pd-foot {
  animation: pdInUp .4s .62s ease both;
}
#view-produto.pd-anim .pd-owner-media {
  animation: pdInUp .4s ease both;
}

@media (prefers-reduced-motion: reduce) {
  #view-produto.pd-anim .pd-back,
  #view-produto.pd-anim .pd-video,
  #view-produto.pd-anim .pd-right > #pdTitle,
  #view-produto.pd-anim .pd-right > .pd-sub,
  #view-produto.pd-anim .pd-feats,
  #view-produto.pd-anim .pd-feat,
  #view-produto.pd-anim .pd-plan-head,
  #view-produto.pd-anim .pd-plan,
  #view-produto.pd-anim .pd-buy,
  #view-produto.pd-anim .pd-foot,
  #view-produto.pd-anim .pd-owner-media {
    animation: none !important;
  }
  .pd-play { animation: none; }
  .pd-buy::after { animation: none; display: none; }
  .pd-plan.is-on { animation: none; }
  .pd-feat:hover, .pd-plan:hover, .pd-buy:hover { transform: none; }
}

@media (max-width: 980px) {
  .pd-grid, .pd-feats { grid-template-columns: 1fr; }
}

.pay-methods { display: flex; gap: 10px; margin: 14px 0 16px; }
.pay-tile {
  position: relative;
  display: grid;
  border: 1px solid #2a2a2a;
  border-radius: 6px;
  background: #121212;
}
.pay-tile.is-on {
  border-color: var(--orange);
  box-shadow: 0 0 0 1px rgba(225,6,0,.25);
}
.pay-tile-dot {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 8px rgba(225,6,0,.55);
  opacity: 0;
}
.pay-tile.is-on .pay-tile-dot { opacity: 1; }
.pay-pix-ico {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #4ae08c 0%, #00b85c 48%, #007a3d 100%);
  box-shadow: 0 8px 18px rgba(0, 166, 81, .28);
  flex: none;
}
.pay-pix-ico svg { width: 28px; height: 28px; }
.pay-pix-ico--sm {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 166, 81, .22);
}
.pay-pix-ico--sm svg { width: 14px; height: 14px; }
.pay-tile strong { font-size: 15px; color: #fff; line-height: 1.15; }
.pay-tile small { font-size: 12px; color: #9a9a9a; font-weight: 500; }

/* â€”â€” Adicionar crÃ©dito â€” premium checkout â€”â€” */
#view-saldo {
  display: flex;
  justify-content: center;
  align-items: stretch;
  padding: 0 4px 0;
  overflow: hidden;
}
.credit-shell {
  width: 100%;
  max-width: 980px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 10px;
  min-height: 0;
  height: 100%;
  align-content: start;
}
.credit-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(225,6,0,.22);
  background:
    radial-gradient(ellipse 80% 120% at 0% 0%, rgba(225,6,0,.16), transparent 55%),
    radial-gradient(ellipse 60% 80% at 100% 100%, rgba(0,184,92,.08), transparent 50%),
    linear-gradient(145deg, #161618 0%, #0e0e10 52%, #0a0a0c 100%);
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0,0,0,.32);
  flex: none;
}
.credit-hero-glow {
  position: absolute;
  inset: auto -20% -60% 20%;
  height: 90px;
  background: radial-gradient(ellipse, rgba(225,6,0,.28), transparent 70%);
  pointer-events: none;
}
.credit-kicker {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 9px;
  border-radius: 99px;
  border: 1px solid rgba(225,6,0,.35);
  background: rgba(225,6,0,.1);
  color: var(--orange);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.credit-hero-title {
  margin: 0;
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.15;
}
.credit-hero-sub {
  margin: 4px 0 0;
  max-width: 520px;
  color: #9a9a9a;
  font-size: 12px;
  line-height: 1.4;
}
.credit-wallet-chip {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2px;
  min-width: 140px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(8px);
  text-align: right;
}
.credit-wallet-chip-label {
  color: #888;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.credit-wallet-chip strong {
  color: var(--orange);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.02em;
  text-shadow: 0 0 20px rgba(225,6,0,.35);
}
.credit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 12px;
  align-items: stretch;
  min-height: 0;
  overflow: hidden;
}
.credit-col-main {
  display: grid;
  grid-template-rows: auto auto;
  gap: 10px;
  min-height: 0;
  overflow: hidden;
}
.credit-panel {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid #242428;
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), transparent 28%),
    linear-gradient(160deg, #141416 0%, #101012 100%);
  box-shadow: 0 10px 22px rgba(0,0,0,.24);
  min-height: 0;
}
.credit-panel-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.credit-panel-num {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid rgba(225,6,0,.35);
  background: rgba(225,6,0,.1);
  color: var(--orange);
  font-size: 11px;
  font-weight: 800;
  flex: none;
}
.credit-panel-head h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
}
.credit-panel-head p {
  margin: 2px 0 0;
  color: #888;
  font-size: 11px;
}
.credit-pay-methods { margin: 0; }
.credit-pix-tile {
  width: 100%;
  min-height: 0;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(0,184,92,.25);
  background:
    radial-gradient(ellipse 80% 100% at 0% 50%, rgba(0,184,92,.12), transparent 60%),
    #101012;
  text-align: left;
  transition: border-color .25s ease, box-shadow .25s ease, transform .2s ease;
}
.credit-pix-tile.is-on {
  border-color: rgba(0,184,92,.55);
  box-shadow:
    0 0 0 1px rgba(0,184,92,.2),
    0 12px 28px rgba(0,166,81,.12);
}
.credit-pix-tile:hover { transform: translateY(-1px); }
.credit-pix-copy { display: grid; gap: 2px; }
.credit-pix-badge {
  height: 22px;
  padding: 0 9px;
  border-radius: 99px;
  background: rgba(0,184,92,.14);
  border: 1px solid rgba(0,184,92,.35);
  color: #4ae08c;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
}
.credit-amount-block { display: grid; gap: 8px; }
.credit-amount-lab { display: grid; gap: 6px; }
.credit-amount-lab > span {
  color: #aaa;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.credit-amount-field {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid #2a2a2a;
  background: #0a0a0c;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.credit-amount-field:focus-within {
  border-color: rgba(225,6,0,.5);
  box-shadow: 0 0 0 3px rgba(225,6,0,.12);
}
.credit-amount-prefix {
  color: #666;
  font-size: 16px;
  font-weight: 700;
  flex: none;
}
.credit-amount-lab input {
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.02em;
  outline: none;
  -moz-appearance: textfield;
}
.credit-amount-lab input::-webkit-outer-spin-button,
.credit-amount-lab input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.credit-quick-head span {
  color: #777;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.credit-quick {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
  padding: 0;
}
.credit-quick button {
  height: 34px;
  border-radius: 9px;
  border: 1px solid #2a2a2a;
  background: #121214;
  color: #ddd;
  font-size: 12px;
  font-weight: 700;
  transition: border-color .2s ease, color .2s ease, background .2s ease, box-shadow .2s ease;
}
.credit-quick button:hover {
  border-color: rgba(225,6,0,.35);
  color: #fff;
}
.credit-quick button.is-on {
  border-color: var(--orange);
  color: var(--orange);
  background: rgba(225,6,0,.1);
  box-shadow: 0 0 16px rgba(225,6,0,.18);
}
.credit-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.credit-field { display: grid; gap: 6px; }
.credit-field span {
  color: #aaa;
  font-size: 11px;
  font-weight: 700;
}
.credit-field input,
.credit-info-grid input {
  height: 40px;
  border-radius: 10px;
  border: 1px solid #2a2a2a;
  background: #0a0a0c;
  padding: 0 12px;
  color: #fff;
  color-scheme: dark;
  caret-color: #fff;
  box-shadow: inset 0 0 0 1000px #0a0a0c;
  -webkit-text-fill-color: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.credit-field input:focus,
.credit-info-grid input:focus {
  outline: none;
  border-color: rgba(225,6,0,.55);
  box-shadow: inset 0 0 0 1000px #0a0a0c, 0 0 0 3px rgba(225,6,0,.12);
}
.credit-field input:-webkit-autofill,
.credit-info-grid input:-webkit-autofill,
.credit-amount-lab input:-webkit-autofill {
  -webkit-text-fill-color: #fff !important;
  caret-color: #fff;
  box-shadow: inset 0 0 0 1000px #0a0a0c !important;
  transition: background-color 99999s ease-out;
}
.credit-trust-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 0;
  padding: 10px 0 0;
  border-top: 1px solid #222;
}
.credit-trust-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #888;
  font-size: 11px;
  line-height: 1.35;
  flex: 1 1 220px;
}
.credit-trust-list svg {
  width: 14px;
  height: 14px;
  flex: none;
  color: var(--ok);
}
.credit-col-aside {
  min-height: 0;
  display: flex;
}
.credit-checkout {
  position: sticky;
  top: 0;
  display: grid;
  gap: 10px;
  padding: 18px 16px;
  border-radius: 16px;
  border: 1px solid rgba(225,6,0,.28);
  background:
    radial-gradient(ellipse 100% 80% at 50% 0%, rgba(225,6,0,.18), transparent 60%),
    linear-gradient(180deg, #161214 0%, #0f0f11 100%);
  box-shadow:
    0 16px 36px rgba(0,0,0,.36),
    0 0 40px rgba(225,6,0,.08);
  overflow: hidden;
  text-align: center;
  align-content: start;
  width: 100%;
  height: fit-content;
}
.credit-checkout-glow {
  position: absolute;
  inset: -40% -20% auto;
  height: 120px;
  background: radial-gradient(ellipse, rgba(225,6,0,.25), transparent 70%);
  pointer-events: none;
}
.credit-checkout-label {
  position: relative;
  color: #888;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.credit-checkout-total {
  position: relative;
  font-size: clamp(30px, 4vw, 38px);
  font-weight: 800;
  color: var(--orange);
  letter-spacing: -.03em;
  line-height: 1;
  text-shadow: 0 0 28px rgba(225,6,0,.4);
}
.credit-checkout-note {
  position: relative;
  margin: 0;
  color: #777;
  font-size: 11px;
  line-height: 1.4;
}
.credit-pay-btn {
  position: relative;
  width: 100%;
  height: 46px;
  margin-top: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 11px;
  background: linear-gradient(180deg, #ff2a2a 0%, var(--orange) 45%, #b10500 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  overflow: hidden;
  box-shadow:
    0 10px 24px rgba(225,6,0,.35),
    inset 0 1px 0 rgba(255,255,255,.18);
  transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
}
.credit-pay-btn:hover {
  filter: brightness(1.06);
  box-shadow: 0 14px 30px rgba(225,6,0,.45);
  transform: translateY(-1px);
}
.credit-pay-btn:active { transform: translateY(0); }
.credit-pay-btn svg { width: 15px; height: 15px; flex: none; }
.credit-pay-btn-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.22) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: creditPayShine 3.2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes creditPayShine {
  0%, 70% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}
.credit-pay-arrow {
  font-size: 15px;
  opacity: .9;
}
.credit-checkout-pix {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 auto;
  padding: 7px 11px;
  border-radius: 99px;
  border: 1px solid rgba(0,184,92,.25);
  background: rgba(0,184,92,.08);
  color: #9a9a9a;
  font-size: 11px;
  font-weight: 700;
}
.grid-pay { display: grid; grid-template-columns: 1.4fr .6fr; gap: 16px; padding: 4px; overflow: visible; }
.total-card {
  text-align: center;
  display: grid;
  place-content: center;
  gap: 8px;
  min-height: 160px;
}
.total-card span { color: #9a9a9a; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.total-card strong { font-size: 40px; color: var(--orange); letter-spacing: -.02em; }
.pix-modal-card { width: min(420px, 94vw); }
.pix-qr-wrap {
  position: relative;
  width: 220px;
  height: 220px;
  margin: 8px auto;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  display: grid;
  place-items: center;
}
.pix-qr-img { width: 220px; height: 220px; display: block; }
.pix-expired {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 8px;
  padding: 16px;
  text-align: center;
  background: rgba(8,8,8,.92);
  color: #fff;
}
.pix-expired.hidden { display: none !important; }
.pix-expired p { margin: 0; color: #bbb; font-size: 13px; }
.pix-timer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  color: #9a9a9a;
  font-size: 13px;
}
.pix-timer strong { color: var(--orange); font-size: 18px; letter-spacing: .06em; }
.pix-timer.is-expired strong { color: #ff6b6b; }
.pix-copy-lab { font-size: 12px; color: #9a9a9a; }
.pix-copy-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: stretch; }
.pix-copy-field {
  width: 100%;
  min-height: 72px;
  resize: none;
  border-radius: 10px;
  border: 1px solid #2a2a2a;
  background: #101010;
  color: #ddd;
  padding: 10px;
  font-size: 12px;
  font-family: ui-monospace, Consolas, monospace;
}
.pix-modal-foot { display: none !important; }
@media (max-width: 900px) {
  #view-saldo { overflow: auto; }
  .credit-shell { height: auto; }
  .credit-grid { grid-template-columns: 1fr; overflow: visible; }
  .credit-checkout { position: static; }
  .credit-info-grid { grid-template-columns: 1fr; }
  .credit-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .credit-hero { flex-direction: column; align-items: flex-start; }
  .credit-wallet-chip { width: 100%; text-align: left; }
}
@media (min-width: 901px) and (max-height: 820px) {
  .credit-hero { padding: 10px 14px; }
  .credit-panel { padding: 12px 14px; gap: 10px; }
  .credit-amount-field { height: 42px; }
  .credit-quick button { height: 32px; }
  .credit-trust-list { padding-top: 8px; }
}
.milestones { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0; }
.milestones div { background: #151515; border: 1px solid var(--line); border-radius: 10px; padding: 10px; }
.center-card { text-align: center; }
.gift { font-size: 48px; margin: 12px 0; }
.list { display: grid; gap: 8px; }
.row { display: flex; justify-content: space-between; gap: 10px; background: #171717; border: 1px solid #2a2a2a; border-radius: 6px; padding: 12px; }

/* Histórico — dashboard layout */
#view-historico {
  display: flex;
  justify-content: center;
  padding: 0 8px 12px;
  overflow-x: hidden;
  overflow-y: auto;
  min-height: 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(225, 6, 0, .45) transparent;
}
#view-historico::-webkit-scrollbar {
  width: 8px;
}
#view-historico::-webkit-scrollbar-thumb {
  background: rgba(225, 6, 0, .4);
  border-radius: 99px;
}
.hist-shell {
  display: grid;
  gap: 12px;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  align-content: start;
  min-height: 0;
  padding-bottom: 24px;
}
.hist-hero-text {
  display: grid;
  gap: 4px;
  text-align: left;
  justify-items: start;
}
.hist-hero-text .block-title {
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  margin: 0;
}
.hist-sub {
  margin: 0;
  font-size: 13px;
  color: #8f8f8f;
  line-height: 1.4;
  max-width: 520px;
  text-align: left;
}
.hist-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .06);
}
.hist-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1 1 auto;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: #8a8a8a;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .01em;
  transition: color .18s ease, background .18s ease, border-color .18s ease;
}
.hist-tab-ico {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
  color: #777;
  flex-shrink: 0;
}
.hist-tab-ico svg { width: 13px; height: 13px; }
.hist-tab:hover {
  color: #fff;
}
.hist-tab.is-on {
  color: #fff;
  background: rgba(225, 6, 0, .12);
  border-color: rgba(225, 6, 0, .35);
  box-shadow: none;
}
.hist-tab.is-on .hist-tab-ico {
  color: var(--orange);
  border-color: transparent;
  background: transparent;
}
.hist-tab-badge {
  position: relative;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 99px;
  display: inline-grid;
  place-items: center;
  font-size: 10px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(160deg, #ff3b30 0%, #e10600 60%, #b00000 100%);
  border: 1px solid rgba(255, 255, 255, .16);
  line-height: 1;
  box-shadow: 0 2px 8px rgba(225, 6, 0, .35);
  animation: histBadgePulse 2.2s ease-in-out infinite;
}
.hist-tab-badge.is-pop {
  animation: histBadgePop .55s cubic-bezier(.22, 1.4, .36, 1), histBadgePulse 2.2s ease-in-out .55s infinite;
}
.hist-tab-badge.hidden { display: none !important; }
.hist-tab[data-hist-tab="cash"].has-hist-ping {
  color: #fff;
  border-color: rgba(225, 6, 0, .35);
  background: rgba(225, 6, 0, .1);
}
.hist-tab[data-hist-tab="cash"].has-hist-ping .hist-tab-ico {
  color: var(--orange);
}
.hist-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hist-stat {
  flex: 1 1 120px;
  padding: 8px 12px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .07);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}
.hist-stat span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #6f6f6f;
}
.hist-stat strong {
  font-size: 15px;
  font-weight: 750;
  letter-spacing: -.01em;
  color: #fff;
  white-space: nowrap;
}
.hist-stat.is-in strong { color: #4ade80; }
.hist-stat.is-out strong { color: #f87171; }
.hist-stat.is-neutral strong { color: #d4d4d4; }
.hist-panel {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .07);
  background: rgba(255, 255, 255, .02);
  overflow: visible;
  box-shadow: none;
  min-height: 0;
}
.hist-feed {
  display: grid;
  gap: 0;
}
.hist-feed.hidden { display: none; }
.hist-item {
  display: grid;
  grid-template-columns: 3px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  transition: background .15s ease;
}
.hist-item:last-child { border-bottom: 0; }
.hist-item:hover { background: rgba(255, 255, 255, .025); }
.hist-item-accent {
  align-self: stretch;
  border-radius: 99px;
  min-height: 28px;
  opacity: .9;
}
.hist-item.is-in .hist-item-accent { background: linear-gradient(180deg, #4ade80, #22c55e); }
.hist-item.is-out .hist-item-accent { background: linear-gradient(180deg, #f87171, #ef4444); }
.hist-item.is-free .hist-item-accent { background: linear-gradient(180deg, #4ade80, #16a34a); }
.hist-item.is-used .hist-item-accent { background: linear-gradient(180deg, #fb923c, var(--orange)); }
.hist-item-main { min-width: 0; display: grid; gap: 3px; }
.hist-item-head {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.hist-item-title {
  font-size: 13px;
  font-weight: 700;
  color: #f2f2f2;
  line-height: 1.25;
}
.hist-item-keycode {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .04em;
  color: #fff;
  background: rgba(0, 0, 0, .35);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 6px;
  padding: 3px 8px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hist-item.is-used .hist-item-keycode {
  color: #fdba74;
  border-color: rgba(225, 6, 0, .35);
}
.hist-item.is-free .hist-item-keycode {
  border-color: rgba(34, 197, 94, .35);
}
.hist-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1.2;
}
.hist-badge.is-in { color: #4ade80; background: rgba(34, 197, 94, .12); border: 1px solid rgba(34, 197, 94, .28); }
.hist-badge.is-out { color: #fca5a5; background: rgba(248, 113, 113, .1); border: 1px solid rgba(248, 113, 113, .28); }
.hist-badge.is-info { color: #93c5fd; background: rgba(59, 130, 246, .1); border: 1px solid rgba(59, 130, 246, .28); }
.hist-badge.is-free { color: #4ade80; background: rgba(34, 197, 94, .12); border: 1px solid rgba(34, 197, 94, .28); }
.hist-badge.is-used { color: #fdba74; background: rgba(225, 6, 0, .1); border: 1px solid rgba(225, 6, 0, .3); }
.hist-badge.is-neutral { color: #999; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.hist-item-meta {
  font-size: 11px;
  color: #7a7a7a;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hist-item-side {
  display: grid;
  justify-items: end;
  gap: 6px;
  text-align: right;
}
.hist-item-amount {
  font-size: 13px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}
.hist-item-amount.is-in { color: #4ade80; }
.hist-item-amount.is-out { color: #f87171; }
.hist-item-date {
  font-size: 10px;
  color: #666;
  white-space: nowrap;
}
.hist-item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: flex-end;
}
.hist-item-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .03);
  color: #ddd;
  font-size: 11px;
  font-weight: 650;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.hist-item-btn svg { width: 12px; height: 12px; }
.hist-item-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .06);
}
.hist-item-btn.is-primary {
  color: #fff;
  border-color: rgba(225, 6, 0, .45);
  background: rgba(225, 6, 0, .18);
}
.hist-item-btn.is-primary:hover {
  background: rgba(225, 6, 0, .28);
  border-color: rgba(225, 6, 0, .65);
}
.hist-item-btn.is-activate {
  color: #bbf7d0;
  border-color: rgba(34, 197, 94, .55);
  background: rgba(34, 197, 94, .16);
  box-shadow: 0 0 12px rgba(34, 197, 94, .18);
}
.hist-item-btn.is-activate:hover {
  color: #fff;
  background: rgba(34, 197, 94, .28);
  border-color: rgba(34, 197, 94, .75);
}
.hist-item-btn.is-danger {
  color: #fecaca;
  border-color: rgba(225, 6, 0, .55);
  background: rgba(225, 6, 0, .16);
}
.hist-item-btn.is-danger:hover {
  color: #fff;
  background: rgba(225, 6, 0, .3);
  border-color: rgba(225, 6, 0, .8);
}
.hist-item-btn:disabled {
  opacity: .55;
  cursor: wait;
}
.hist-empty-state {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 28px 16px;
  text-align: center;
}
.hist-empty-state.hidden { display: none; }
.hist-empty-ico {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #666;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .06);
  margin-bottom: 2px;
}
.hist-empty-ico svg { width: 18px; height: 18px; }
.hist-empty-state strong {
  font-size: 13px;
  color: #ccc;
}
.hist-empty-state p {
  margin: 0;
  font-size: 12px;
  color: #6f6f6f;
  max-width: 280px;
}
@media (max-width: 720px) {
  .hist-tabs {
    border-radius: 12px;
  }
  .hist-tab {
    flex: 1 1 calc(50% - 4px);
    justify-content: flex-start;
    padding: 0 10px;
  }
  .hist-item {
    grid-template-columns: 3px minmax(0, 1fr);
    grid-template-rows: auto auto;
  }
  .hist-item-side {
    grid-column: 2;
    justify-items: start;
    text-align: left;
    flex-direction: row;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
  }
  .hist-item-actions {
    justify-content: flex-start;
  }
}
.license-count {
  margin-top: 6px;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--orange);
}
.license-count.is-paused { color: #eab308; }
.license-count.is-expired { color: #ff6b6b; }
.key-boxes.is-used .key-prefix,
.key-boxes.is-used input {
  border-color: rgba(225, 6, 0, .7) !important;
  color: var(--orange) !important;
  -webkit-text-fill-color: var(--orange);
  background: rgba(225, 6, 0, .12) !important;
  box-shadow: 0 0 0 1px rgba(225, 6, 0, .2);
}
.redeem-status {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
}
.redeem-status.hidden { display: none; }
.redeem-status.is-used {
  color: var(--orange);
}
.redeem-status.is-ok {
  color: #4ade80;
}
.empty { color: var(--muted); padding: 16px 0; }
.search-inline { padding-left: 12px; max-width: 360px; }
.owner-view { gap: 0; }
.admin-panel {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  display: grid;
  gap: 16px;
  width: min(1280px, 100%);
  margin: 0 auto;
}
.admin-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}
.admin-panel-head .block-title { margin: 0; font-size: 18px; font-weight: 700; }
.admin-panel-head .muted { margin: 4px 0 0; font-size: 13px; }
.admin-search {
  min-width: 220px;
  max-width: 20rem;
  height: 40px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  padding: 0 12px;
  font-size: 14px;
  color: #eee;
}
.admin-filter { min-width: 140px; max-width: 11rem; }
.panel-app-active {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 168px;
  margin: 0;
}
.panel-app-active-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  line-height: 1;
}
.panel-app-active-select {
  height: 40px;
  min-width: 168px;
  max-width: 14rem;
  padding: 0 34px 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.14);
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)),
    #12151c;
  color: #f3f4f6;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  appearance: none;
  -webkit-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255,255,255,.55) 50%),
    linear-gradient(135deg, rgba(255,255,255,.55) 50%, transparent 50%),
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)),
    #12151c;
  background-position:
    calc(100% - 16px) calc(50% - 2px),
    calc(100% - 11px) calc(50% - 2px),
    0 0,
    0 0;
  background-size: 5px 5px, 5px 5px, 100% 100%, 100% 100%;
  background-repeat: no-repeat;
  cursor: pointer;
}
.panel-app-active-select:focus {
  outline: none;
  border-color: rgba(255,255,255,.28);
}
.panel-app-active-select option {
  background: #12151c;
  color: #f3f4f6;
}
.gen-keys-plan-select {
  cursor: pointer;
}
.gen-keys-plan-price {
  margin: 6px 0 0;
  font-size: 12px;
}
.admin-panel-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.admin-card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.admin-upload-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--orange);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.admin-upload-btn input { display: none; }
.admin-url {
  font-size: 11px !important;
  word-break: break-all;
  font-weight: 500 !important;
  color: #bbb !important;
}

/* â€”â€” Host DLL (list rows) â€”â€” */
#view-dll .dll-panel {
  display: grid;
  gap: 14px;
  max-width: 920px;
}
#view-dll .dll-row {
  display: grid;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, #171717 0%, #121212 100%);
  transition: transform .28s cubic-bezier(.22,1,.36,1), border-color .18s ease, background .18s ease, box-shadow .28s ease;
  transform-origin: center center;
}
#view-dll .dll-list {
  display: grid;
  gap: 10px;
  padding: 6px 2px 10px;
  overflow: visible;
}
#view-dll .dll-row-main {
  display: grid;
  grid-template-columns: minmax(160px, 1.1fr) auto minmax(240px, 1.4fr);
  gap: 14px;
  align-items: center;
}
#view-dll .dll-row-id {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
#view-dll .dll-code {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  color: #fff;
  background: rgba(225,6,0,.14);
  border: 1px solid rgba(225,6,0,.32);
}
#view-dll .dll-row-meta {
  min-width: 0;
  display: grid;
  gap: 2px;
}
#view-dll .dll-row-meta strong {
  font-size: 14px;
  font-weight: 700;
  color: #f2f2f2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#view-dll .dll-row-meta span {
  font-size: 12px;
  color: #808080;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#view-dll .dll-status {
  justify-self: start;
  font-size: 12px;
  font-weight: 700;
  color: #888;
  white-space: nowrap;
}
#view-dll .dll-status.is-ready { color: #4ade80; }
#view-dll .dll-status.is-wait { color: #d4a017; }
#view-dll .dll-row-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}
#view-dll .dll-pick {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
  max-width: 260px;
  height: 40px;
  padding: 0 8px 0 6px;
  border-radius: 10px;
  border: 1px solid #2c2c2c;
  background: #0f0f0f;
}
#view-dll .dll-pick.has-file {
  border-color: rgba(225,6,0,.35);
  background: rgba(225,6,0,.06);
}
#view-dll .dll-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
#view-dll .dll-pick-btn {
  flex: none;
  height: 28px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid #333;
  background: #1d1d1d;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
#view-dll .dll-pick-btn:hover {
  background: #262626;
  border-color: #484848;
}
#view-dll .dll-pick-name {
  min-width: 0;
  flex: 1;
  font-size: 12px;
  color: #888;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#view-dll .dll-pick.has-file .dll-pick-name {
  color: #e8e8e8;
}
#view-dll .dll-btn-send {
  width: auto !important;
  flex: none;
  height: 40px;
  min-width: 88px;
  padding: 0 16px !important;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 750;
  box-shadow: 0 8px 18px rgba(225,6,0,.22);
}
#view-dll .dll-host-msg {
  min-height: 0;
  margin: 0;
  font-size: 12px;
  color: #777;
}
#view-dll .dll-host-msg:empty { display: none; }
#view-dll .dll-host-msg.is-ok { color: #4ade80; }
#view-dll .dll-host-msg.is-error { color: #f87171; }
#view-dll .dll-link-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}
#view-dll .dll-link-input {
  width: 100%;
  min-width: 0;
  height: 38px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid #2a2a2a;
  background: #0c0c0c;
  color: #b0b0b0;
  font-size: 11px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
#view-dll .dll-copy-btn {
  height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid #303030;
  background: #1a1a1a;
  color: #eee;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s ease, border-color .15s ease;
}
#view-dll .dll-copy-btn:hover {
  background: #222;
  border-color: #444;
}
#view-dll .dll-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  background: #131313;
}
#view-dll .dll-footer-copy {
  display: grid;
  gap: 2px;
  margin-right: auto;
}
#view-dll .dll-footer-copy strong {
  font-size: 13px;
  color: #fff;
}
#view-dll .dll-footer-copy .muted {
  font-size: 12px;
}
#view-dll .loader-flags-buttons {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
}
#view-dll .loader-flags-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #2f2f2f;
  background: #181818;
  color: #bbb;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
#view-dll .loader-flag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #555;
  transition: background .18s ease, box-shadow .18s ease;
}
#view-dll .loader-flags-toggle.is-on {
  color: #fff;
  border-color: rgba(34,197,94,.4);
  background: rgba(34,197,94,.12);
}
#view-dll .loader-flags-toggle.is-on .loader-flag-dot {
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34,197,94,.16);
}
#view-dll .dll-footer .dll-host-msg {
  flex: 1 1 100%;
}
@media (max-width: 860px) {
  #view-dll .dll-row-main {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  #view-dll .dll-row-actions {
    justify-content: stretch;
  }
  #view-dll .dll-pick {
    max-width: none;
  }
  #view-dll .dll-btn-send {
    margin-left: auto;
  }
  #view-dll .dll-link-section {
    grid-template-columns: 1fr;
  }
}

#view-uploads.dll-panel,
#view-uploads .dll-panel {
  display: grid;
  gap: 14px;
  max-width: 920px;
}
#view-uploads .upl-send {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
#view-uploads .dll-pick {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
  max-width: 420px;
  height: 40px;
  padding: 0 8px 0 6px;
  border-radius: 10px;
  border: 1px solid #2c2c2c;
  background: #0f0f0f;
}
#view-uploads .dll-pick.has-file {
  border-color: rgba(225,6,0,.35);
  background: rgba(225,6,0,.06);
}
#view-uploads .dll-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
#view-uploads .dll-pick-btn {
  flex: none;
  height: 28px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid #333;
  background: #1d1d1d;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
#view-uploads .dll-pick-name {
  min-width: 0;
  flex: 1;
  font-size: 12px;
  color: #888;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#view-uploads .dll-pick.has-file .dll-pick-name { color: #e8e8e8; }
#view-uploads .dll-btn-send {
  width: auto !important;
  height: 40px;
  min-width: 88px;
  padding: 0 16px !important;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 750;
}
#view-uploads .dll-host-msg:empty { display: none; }
#view-uploads .dll-host-msg.is-ok { color: #4ade80; }
#view-uploads .dll-host-msg.is-error { color: #f87171; }
#view-uploads .upl-progress {
  display: flex;
  align-items: center;
  gap: 10px;
}
#view-uploads .upl-progress.hidden { display: none; }
#view-uploads .upl-bar {
  flex: 1;
  height: 6px;
  border-radius: 99px;
  background: #1a1a1a;
  overflow: hidden;
}
#view-uploads .upl-bar i {
  display: block;
  height: 100%;
  width: 0;
  background: #e10600;
}
#view-uploads #uploadsPct {
  font-size: 12px;
  color: #aaa;
  min-width: 36px;
}
#view-uploads .dll-list { display: grid; gap: 10px; }
#view-uploads .dll-row {
  display: grid;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, #171717 0%, #121212 100%);
}
#view-uploads .dll-row-meta strong {
  display: block;
  font-size: 14px;
  color: #fff;
}
#view-uploads .dll-row-meta span {
  font-size: 12px;
  color: #888;
}
#view-uploads .dll-link-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: center;
}
#view-uploads .dll-link-input {
  width: 100%;
  min-width: 0;
  height: 38px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid #2a2a2a;
  background: #0c0c0c;
  color: #b0b0b0;
  font-size: 11px;
}
#view-uploads .dll-copy-btn,
#view-uploads .upl-del {
  height: 38px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid #333;
  background: #1d1d1d;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
#view-uploads .upl-del {
  border-color: rgba(225,6,0,.35);
  color: #f87171;
}
#view-uploads .upl-use {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
#view-uploads .upl-use select {
  height: 34px;
  border-radius: 8px;
  border: 1px solid #2c2c2c;
  background: #0f0f0f;
  color: #ddd;
  font-size: 12px;
  padding: 0 8px;
}
#view-uploads .upl-use button {
  height: 34px;
  padding: 0 10px;
  border-radius: 8px;
  border: 0;
  background: #e10600;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
@media (max-width: 860px) {
  #view-uploads .dll-link-section {
    grid-template-columns: 1fr;
  }
}

.dlg-fields select {
  width: 100%;
  min-height: 44px;
  height: auto;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #0e0e0e;
  color: #fff;
  padding: 10px 36px 10px 12px;
  font-size: 14px;
  line-height: 1.35;
  color-scheme: dark;
  cursor: pointer;
  appearance: auto;
  -webkit-appearance: menulist;
}
.admin-search:focus {
  outline: none;
  border-color: rgba(255,255,255,.2);
  background: rgba(255,255,255,.06);
}
.admin-grid,
.admin-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  justify-content: center;
  justify-items: stretch;
  align-content: start;
  gap: 18px;
}
.admin-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.admin-page-nav {
  min-width: 110px;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.14);
  background: #0f0f12;
  color: #f2f2f2;
  font-size: 13px;
  font-weight: 600;
}
.admin-page-nav:hover:not(:disabled) {
  background: #1a1a1f;
  border-color: rgba(255,255,255,.28);
}
.admin-page-nav:disabled { opacity: .38; cursor: not-allowed; }
.admin-page-nums { display: flex; align-items: center; gap: 6px; }
.admin-page-num {
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.14);
  background: #0a0a0c;
  color: #e8e8e8;
  font-size: 13px;
  font-weight: 600;
}
.admin-page-num:hover { background: #16161a; border-color: rgba(255,255,255,.26); }
.admin-page-num.is-on {
  border-color: var(--orange);
  color: #fff;
  background: rgba(225,6,0,.16);
}
@media (max-width: 900px) {
  .admin-grid,
  .admin-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .admin-grid,
  .admin-grid-3 { grid-template-columns: 1fr; }
}
.admin-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  min-width: 0;
  overflow: visible;
  padding: 16px 18px 14px;
  border-radius: 6px;
  color: #e8e8e8;
  background: linear-gradient(180deg, #1b1b1b 0%, #121212 100%);
  border: 1px solid #2a2a2a;
  box-shadow: 0 10px 28px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.04);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.admin-card::before {
  content: '';
  display: block;
  position: absolute;
  left: 16px;
  right: 16px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(225,6,0,.55), transparent);
  pointer-events: none;
}
.admin-card:hover {
  border-color: #3a3a3a;
  transform: scale(var(--ui-inflate));
  box-shadow: 0 18px 40px rgba(0,0,0,.4), 0 0 0 1px rgba(225,6,0,.12), inset 0 1px 0 rgba(255,255,255,.06);
  z-index: 2;
}
.admin-card.is-ok { border-color: #2a2a2a; }
.admin-card.is-banned {
  background: linear-gradient(180deg, #1d1515 0%, #141010 100%);
  border-color: #3a2222;
}
.admin-card.is-banned:hover {
  border-color: rgba(225,6,0,.35);
  box-shadow: 0 16px 36px rgba(0,0,0,.4), 0 0 0 1px rgba(225,6,0,.18);
}
.admin-card-head {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.admin-identity {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.admin-avatar {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  background: radial-gradient(circle at 30% 25%, #2a2a2a, #161616 70%);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.admin-card.is-ok .admin-avatar {
  color: #fff;
  background: radial-gradient(circle at 30% 25%, #2a2a2a, #161616 70%);
  border-color: #333;
}
.admin-card.is-banned .admin-avatar {
  color: #ffd6d6;
  background: radial-gradient(circle at 30% 25%, #3a1a1a, #1a1010 70%);
  border-color: #4a2424;
}
.admin-avatar-dot {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8a8a8a;
  border: 2px solid #141414;
}
.admin-id { min-width: 0; display: grid; gap: 2px; }
.admin-id strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.admin-tag,
.admin-tag.ok,
.admin-tag.warn {
  display: inline;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: #888;
  background: none;
}
.admin-status,
.admin-status.is-ok,
.admin-status.is-banned {
  flex: none;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #888;
  background: none;
}
.admin-status.is-banned {
  color: #ff8a8a;
  background: rgba(225,6,0,.12);
  border: 1px solid rgba(225,6,0,.25);
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 11px;
}
.admin-card-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: 8px;
}
.admin-stat {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 6px 0;
  border: 0;
  border-radius: 0;
  background: none;
  font-size: 12px;
  color: #777;
}
.admin-stat:last-child { border: 0; }
.admin-stat span {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .02em;
  text-transform: none;
  color: #777;
}
.admin-stat b {
  color: #d6d6d6;
  font-weight: 500;
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 62%;
}
.admin-panel-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.admin-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
}
.admin-tool {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: 1px solid transparent;
}
.admin-tool svg { width: 16px; height: 16px; display: block; }
.admin-tool--create { background: #14532d; }
.admin-tool--renew { background: #172554; }
.admin-tool--hwid { background: #5c4a1a; }
.admin-tool--pause { background: #7c2d12; }
.admin-tool--pause.is-resume-all,
.admin-tool.is-resume-all {
  background: #14532d;
  color: #86efac;
  border-color: rgba(74, 222, 128, 0.35);
}
.admin-tool--danger { background: #7f1d1d; }
.admin-tool--sos {
  width: auto;
  min-width: 36px;
  padding: 0 8px;
  background: #7f1d1d;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: lowercase;
}
.admin-tool:hover { filter: brightness(1.12); }
.admin-card-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}
.admin-card-menu-wrap { position: relative; }
.admin-card-menu-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #1a1a1a;
  color: #bbb;
  font-size: 16px;
  line-height: 1;
}
.admin-card-menu-btn:hover { background: #222; color: #fff; }
.admin-card-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 30;
  min-width: 168px;
  padding: 6px;
  display: grid;
  gap: 2px;
  background: linear-gradient(180deg, #1c1c1c, #141414);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 16px 32px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.05);
}
.admin-card-menu button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 8px 10px;
  border-radius: 8px;
  color: #eee;
  font-size: 13px;
  font-weight: 500;
  background: none;
}
.admin-card-menu button:hover { background: #1c1c1c; }
.admin-card-menu button.is-danger { color: #c45c5c; }
.admin-card-menu button.is-danger:hover { background: rgba(127,29,29,.25); }

/* Modal base visual: pro-modal.css (não redefinir display/background aqui). */
@keyframes dlgIn {
  from { opacity: 0; transform: translateY(10px) scale(.98); }
  to { opacity: 1; transform: none; }
}
.dlg-card { width: min(400px, 92vw); position: relative; }
.dlg-card::before {
  content: '';
  position: absolute;
  left: 18px; right: 18px; top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(225,6,0,.5), transparent);
}
.dlg-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.dlg-card h3 { font-size: 18px; font-weight: 700; }
.dlg-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-sizing: border-box;
  width: 32px; height: 32px; border-radius: 8px;
  color: #aaa; font-size: 0; line-height: 0;
  background: #1a1a1a; border: 1px solid var(--line);
}
.dlg-x:hover { color: #fff; background: #222; }
.dlg-fields { display: grid; gap: 10px; }
.dlg-fields label { display: grid; gap: 6px; font-size: 13px; color: #cfcfcf; }
.dlg-fields input {
  width: 100%;
  background: #0e0e0e;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 12px;
  color: #fff;
  color-scheme: dark;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.dlg-fields input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}
.dlg-fields input[type="number"]::-webkit-outer-spin-button,
.dlg-fields input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.dlg-fields input:focus {
  outline: none;
  border-color: rgba(225,6,0,.45);
  box-shadow: 0 0 0 3px rgba(225,6,0,.12);
}
.dlg-fields input[type="date"] {
  min-height: 42px;
  padding-right: 12px;
}
.dlg-fields label.is-off input[type="date"] { opacity: .4; pointer-events: none; }
.dlg-check {
  display: flex !important;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #ddd;
}
.dlg-check input {
  width: 18px;
  height: 18px;
  padding: 0;
  accent-color: #d4d4d4;
  border-radius: 4px;
}
.dlg-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 4px; }
.dlg-actions .btn-dark, .dlg-actions .btn-orange { width: auto; padding: 10px 16px; }
.dlg-card.is-danger #dlgOk { background: #7f1d1d; }
.dlg-card.is-create .dlg-actions { display: block; }
.dlg-card.is-create #dlgOk {
  width: 100%;
  border-radius: 10px;
  padding: 13px 16px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  background: var(--orange);
  color: #fff;
  box-shadow: 0 8px 22px rgba(225,6,0,.28);
}
.dlg-card.is-create #dlgOk:hover { background: var(--orange-2); }

/* Modal Gerar keys (layout igual painel admin) */
.modal-card.gen-keys-card,
.gen-keys-card {
  width: min(440px, 94vw);
  gap: 14px;
  overflow: visible;
}
.gen-keys-app-hint {
  margin: 0;
  font-size: 13px;
  color: #9a9a9a;
}
.gen-keys-app-hint strong { color: #fff; font-weight: 700; }
.gen-keys-app-hint-sub { opacity: .75; }
.gen-keys-body {
  display: grid;
  gap: 14px;
}
.gen-keys-field {
  display: grid;
  gap: 6px;
  min-width: 0;
}
.gen-keys-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255,255,255,.72);
  font-weight: 600;
}
.required-mark { color: var(--orange); font-weight: 800; }
.gen-keys-input {
  box-sizing: border-box;
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  color: #fff;
  font-size: 14px;
}
.gen-keys-input:focus {
  outline: 0;
  border-color: rgba(225,6,0,.55);
  box-shadow: 0 0 0 3px rgba(225,6,0,.14);
  background: rgba(255,255,255,.06);
}
.gen-keys-mask {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .04em;
}
select.gen-keys-input {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 34px;
  cursor: pointer;
  background-color: #121214;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23e8e8e8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  color-scheme: dark;
  accent-color: #e10600;
}
select.gen-keys-input option {
  background: #141414;
  color: #f5f5f5;
}
select.gen-keys-input option:checked {
  background: rgba(225,6,0,.25);
  color: #fff;
}
.gen-keys-expiry {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.gen-keys-hint {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: #aaa;
  font-size: 10px;
  font-weight: 800;
  font-style: normal;
  cursor: help;
}
.gen-keys-card {
  overflow: visible;
}
.gen-keys-body,
.gen-keys-expiry,
.gen-keys-field {
  overflow: visible;
}
.gen-keys-select.dlg-select {
  width: 100%;
  z-index: 30;
}
.gen-keys-select.is-open {
  z-index: 80;
}
.gen-keys-select .dlg-select-btn {
  min-height: 42px;
  border-radius: 10px;
  background: #121214;
  border-color: rgba(255,255,255,.1);
}
.gen-keys-select .dlg-select-menu {
  top: auto;
  bottom: calc(100% + 6px);
  max-height: min(280px, 50vh);
  overflow-y: auto;
  background: #141414;
  border-color: rgba(255,255,255,.12);
  z-index: 90;
}
.gen-keys-select .dlg-select-opt {
  background: #141414;
}
.gen-keys-select .dlg-select-opt:hover,
.gen-keys-select .dlg-select-opt.is-on {
  background: rgba(225,6,0,.18);
  color: #fff;
}
.gen-keys-hint i {
  font-style: normal;
  line-height: 1;
}
.gen-keys-hint em {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  width: min(240px, 70vw);
  padding: 8px 10px;
  border-radius: 8px;
  background: #101012;
  border: 1px solid #333;
  color: #ddd;
  font-style: normal;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  box-shadow: 0 10px 24px rgba(0,0,0,.45);
  opacity: 0;
  pointer-events: none;
  z-index: 5;
}
.gen-keys-hint em strong,
.gen-keys-hint em code { color: #fff; }
.gen-keys-hint:hover em,
.gen-keys-hint:focus-visible em { opacity: 1; }
.gen-keys-msg {
  margin: 0;
  font-size: 13px;
  color: #f87171;
}
.gen-keys-msg.is-ok { color: var(--ok); }
.gen-keys-submit {
  width: 100%;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 10px;
  font-weight: 800;
  letter-spacing: .02em;
}
.gen-keys-submit svg { width: 16px; height: 16px; }
@media (max-width: 560px) {
  .gen-keys-expiry { grid-template-columns: 1fr; }
}
.promo-card {
  position: relative;
  width: min(460px, 94vw);
  background: #1c1c1c;
  border-radius: 4px;
  border-top: 3px solid var(--orange);
  padding: 36px 32px 28px;
  text-align: center;
  box-shadow: 0 24px 70px rgba(0,0,0,.55);
}
.promo-close {
  position: absolute; top: 10px; right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-sizing: border-box;
  width: 32px; height: 32px; color: #bbb; font-size: 0; line-height: 0;
}
.promo-close:hover { color: #fff; }
.promo-ico { color: var(--orange); margin: 0 auto 12px; }
.promo-ico svg { width: 52px; height: 52px; }
.promo-card h3 { font-size: 26px; line-height: 1.2; margin-bottom: 10px; }
.promo-card h3 span { color: var(--orange); }
.promo-card p { color: #9a9a9a; font-size: 14px; line-height: 1.5; }
.promo-ask { color: #eee !important; margin: 18px 0 10px; }
.promo-ask b { color: var(--orange); font-weight: 700; }
.promo-card input {
  width: 100%; background: #141414; border: 1px solid var(--line); border-radius: 4px;
  padding: 13px 14px; text-align: center; margin-bottom: 14px;
}
.promo-card input:focus { outline: none; border-color: #6a1515; }
.promo-card .btn-orange { text-transform: none; }
.buy-plans { display: grid; gap: 8px; }
.buy-plans button { display: flex; justify-content: space-between; background: #121212; border: 1px solid var(--line); border-radius: 10px; padding: 12px; }
.key-result .key-code {
  font-family: ui-monospace, Consolas, monospace;
  letter-spacing: .18em;
  font-size: 1.35rem;
  text-align: center;
  padding: 14px 10px;
  border-radius: 12px;
  background: #101010;
  border: 1px solid var(--line);
  color: #fff;
}
.licenses { display: grid; gap: 10px; }
.license-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid #2a2a2a;
  border-radius: 14px;
  background: linear-gradient(180deg, #171717 0%, #121212 100%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
  transition: border-color .2s ease, transform .2s ease;
}
.license-row:hover {
  border-color: #3a3a3a;
  transform: scale(var(--ui-inflate));
}
.license-row .license-main { min-width: 0; display: grid; gap: 6px; }
.license-row .key-mini {
  font-family: ui-monospace, Consolas, monospace;
  letter-spacing: .08em;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  background: #0f0f0f;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  padding: 6px 10px;
  width: fit-content;
}
.license-row .muted { font-size: 12px; color: #888; }
.license-row.is-off { opacity: .55; }
.license-row.is-paused {
  border-color: rgba(234, 179, 8, .35);
  background: linear-gradient(180deg, #1a1810 0%, #141414 100%);
}
.license-side {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  justify-self: end;
  gap: 10px;
  flex: none;
  flex-wrap: nowrap;
  width: auto;
  margin-left: auto;
}
.license-row .tag { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; font-weight: 800; }
.license-row .tag.ok { color: var(--ok); }
.license-row .tag.exp { color: #ff6b6b; }
.license-row .tag.paused { color: #eab308; }
.license-row .tag.online { color: #22c55e; }
.license-row.is-online {
  border-color: rgba(34, 197, 94, 0.35);
}
.license-pause-btn {
  height: 30px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.14);
  background: #1c1c1c;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.license-pause-btn:hover:not(:disabled) {
  border-color: rgba(225,6,0,.45);
  background: #242424;
}
.license-pause-btn.is-resume {
  border-color: rgba(61,220,132,.35);
  color: var(--ok);
}
.license-pause-btn.is-cooldown,
.license-pause-btn:disabled {
  opacity: .45;
  cursor: not-allowed;
}
.license-del-btn {
  height: 30px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid rgba(225, 6, 0, .55);
  background: rgba(225, 6, 0, .16);
  color: #fecaca;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  white-space: nowrap;
}
.license-del-btn:hover {
  color: #fff;
  border-color: rgba(225, 6, 0, .85);
  background: rgba(225, 6, 0, .32);
  box-shadow: 0 0 14px rgba(225, 6, 0, .25);
}

.top-link--cart {
  position: relative;
  color: #eee;
  padding: 0 10px;
  min-width: 42px;
  justify-content: center;
  transition: transform .2s ease, color .2s ease;
}
.top-link--cart.has-items { color: #fff; }
.top-link--cart.cart-bump {
  animation: cartBump .42s cubic-bezier(.22,1.4,.36,1);
}
@keyframes cartBump {
  0% { transform: scale(1); }
  35% { transform: scale(1.22); }
  100% { transform: scale(1); }
}
.cart-badge {
  position: absolute;
  top: 6px;
  right: 4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 99px;
  background: #e10600;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 16px;
  text-align: center;
  box-shadow: 0 0 10px rgba(225, 6, 0, .45);
}
.cart-badge.hidden { display: none !important; }

.cart-fly {
  position: fixed;
  z-index: 1600;
  border-radius: 14px;
  background: #111 center/cover no-repeat;
  border: 1px solid rgba(225, 6, 0, .45);
  box-shadow: 0 12px 30px rgba(0,0,0,.45), 0 0 18px rgba(225, 6, 0, .35);
  pointer-events: none;
  opacity: 1;
  transform: scale(1) translate(0, 0);
  transition: transform .65s cubic-bezier(.2,.8,.2,1), opacity .65s ease;
  will-change: transform, opacity;
}

.qty-stepper {
  display: grid;
  grid-template-columns: 40px minmax(48px, 1fr) 40px;
  align-items: center;
  gap: 0;
  width: 100%;
  border: 1px solid rgba(225, 6, 0, .35);
  border-radius: 12px;
  overflow: hidden;
  background: #0a0a0a;
  box-shadow: 0 0 0 1px rgba(225, 6, 0, .08), 0 0 18px rgba(225, 6, 0, .12);
}
.qty-stepper input {
  width: 100%;
  border: 0 !important;
  border-radius: 0 !important;
  text-align: center;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  padding: 12px 6px !important;
}
.qty-stepper-btn {
  height: 44px;
  border: 0;
  background: #151515;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
}
.qty-stepper-btn:hover { background: #1f1f1f; color: #fff; }
.qty-stepper.cart-qty {
  display: inline-grid;
  grid-template-columns: 30px 34px 30px;
  align-items: center;
  justify-items: center;
  width: auto;
  height: 30px;
  box-shadow: none;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  overflow: hidden;
  background: #0e0e0e;
}
.qty-stepper.cart-qty .qty-stepper-btn {
  width: 30px;
  height: 30px;
  min-height: 30px;
  display: grid;
  place-items: center;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #f3f3f3;
  line-height: 0;
  font-size: 0;
}
.qty-stepper.cart-qty .qty-stepper-btn:hover {
  background: rgba(255,255,255,.06);
  color: #fff;
}
.qty-stepper.cart-qty .qty-stepper-btn svg {
  display: block;
  width: 12px;
  height: 12px;
  margin: 0;
  flex: none;
  pointer-events: none;
}
.cart-qty-val {
  display: grid;
  place-items: center;
  width: 34px;
  height: 30px;
  margin: 0;
  padding: 0;
  border-left: 1px solid rgba(255,255,255,.1);
  border-right: 1px solid rgba(255,255,255,.1);
  background: rgba(0,0,0,.35);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  text-align: center;
  box-sizing: border-box;
  font-variant-numeric: tabular-nums;
}

html.cart-drawer-open,
body.cart-drawer-open {
  overflow: hidden;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 1300;
  pointer-events: none;
}
.cart-drawer.hidden { display: none !important; }
.cart-drawer.is-open,
.cart-drawer.is-closing { display: block; pointer-events: auto; }

.cart-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .28s ease;
}
.cart-drawer.is-open .cart-drawer-backdrop { opacity: 1; }
.cart-drawer.is-closing .cart-drawer-backdrop { opacity: 0; }

.cart-panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  height: 100dvh;
  width: min(400px, 100vw);
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #141416 0%, #0c0c0e 100%);
  border-left: 1px solid rgba(255,255,255,.08);
  box-shadow: -24px 0 60px rgba(0,0,0,.55);
  transform: translateX(104%);
  transition: transform .32s cubic-bezier(.22, 1, .36, 1);
  overflow: hidden;
}
.cart-drawer.is-open .cart-panel { transform: translateX(0); }
.cart-drawer.is-closing .cart-panel { transform: translateX(104%); }

.cart-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 18px 12px;
  flex: none;
}
.cart-head-text { display: grid; gap: 4px; min-width: 0; }
.cart-title {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #fff;
}
.cart-sub { margin: 0; font-size: 12px; color: #8a8a8a; }
.cart-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 4px 16px 12px;
  display: grid;
  align-content: start;
  gap: 10px;
}
.cart-list { display: grid; gap: 10px; }
.cart-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(22,22,24,.96) 0%, rgba(10,10,12,.96) 100%);
}
.cart-thumb {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #141414 center/cover no-repeat;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: inset 0 0 0 1px rgba(225,6,0,.08);
}
.cart-row-body,
.cart-row-main {
  display: grid;
  gap: 8px;
  min-width: 0;
  overflow: visible;
}
.cart-row-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.cart-copy {
  flex: 1 1 auto;
  min-width: 0;
  display: grid;
  gap: 3px;
}
.cart-name {
  flex: 1 1 auto;
  min-width: 0;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: .01em;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  word-break: break-word;
  overflow-wrap: anywhere;
  display: block;
}
.cart-line-price {
  flex: 0 0 auto;
  font-weight: 900;
  color: #4ade80;
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.cart-row-bottom {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}
.cart-row-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}
.cart-plan {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #b0b0b0;
  white-space: nowrap;
}
.cart-plan.is-empty {
  opacity: .45;
}
.cart-row-controls {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.cart-row-side {
  display: none;
}
.cart-x {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(239, 68, 68, .22);
  background: rgba(239, 68, 68, .08);
  color: #f87171;
  font-size: 0;
  line-height: 0;
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  padding: 0;
}
.cart-x svg {
  display: block;
  width: 12px;
  height: 12px;
}
.cart-x:hover {
  background: rgba(239, 68, 68, .16);
  color: #fecaca;
  border-color: rgba(239, 68, 68, .4);
}
.cart-empty { text-align: center; padding: 40px 8px; }
.cart-footer {
  flex: none;
  display: grid;
  gap: 12px;
  margin-top: auto;
  padding: 14px 16px 18px;
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.25);
}
.cart-footer.hidden { display: none !important; }
.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #9a9a9a;
}
.cart-total-row strong {
  color: #4ade80;
  font-size: 20px;
  font-weight: 900;
}
.cart-checkout-btn {
  width: 100%;
  background: linear-gradient(180deg, #ff1a1a 0%, #c40000 100%) !important;
  border: 0 !important;
  box-shadow: 0 10px 28px rgba(225, 6, 0, .35);
}
.cart-checkout-btn:disabled,
.cart-checkout-btn.is-broke {
  background: #2a2a2a !important;
  color: #9a9a9a !important;
  box-shadow: none !important;
  cursor: not-allowed;
  opacity: 1;
}
.cart-flash {
  margin-top: 2px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(74, 222, 128, .35);
  background: rgba(12, 18, 14, .95);
  color: #d1fae5;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}
.cart-flash.hidden { display: none !important; }

.profile-top {
  margin-bottom: 0;
  align-items: stretch;
  padding: 0;
  overflow: visible;
}
.tfa-card {
  position: relative;
  gap: 12px;
  overflow: visible;
  background-image: radial-gradient(rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 14px 14px;
}
.tfa-card > .feature-head { margin-bottom: 0; }
.tfa-idle { display: flex; flex-direction: column; gap: 12px; flex: 1; min-height: 0; }
.tfa-frame {
  border: 1px dashed rgba(255,255,255,.16);
  border-radius: 6px;
  padding: 16px 14px 14px;
  display: grid;
  gap: 16px;
}
.tfa-head-right { display: inline-flex; align-items: center; gap: 8px; flex: none; }
.tfa-badge {
  display: inline-flex; align-items: center; gap: 6px;
  height: 26px; padding: 0 10px; border-radius: 99px;
  font-size: 11px; font-weight: 700;
  border: 1px solid #8a6a12; color: #f5c542; background: rgba(245,197,66,.08);
}
.tfa-badge em { font-style: normal; }
.tfa-badge svg { width: 12px; height: 12px; }
.tfa-badge.is-on { border-color: #1f6b3a; color: #4ade80; background: rgba(34,197,94,.1); }
.tfa-info {
  width: 18px; height: 18px; border-radius: 50%;
  border: 1px solid #5a5a5a; color: #9a9a9a; font-size: 11px; font-weight: 700;
  display: grid; place-items: center; background: transparent;
}
.tfa-float {
  position: absolute; right: 14px; top: 46%;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--orange); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 0 16px rgba(225,6,0,.45);
  z-index: 2;
}
.tfa-float svg { width: 16px; height: 16px; }
.tfa-hero { text-align: center; display: grid; gap: 10px; justify-items: center; padding: 0 8px 2px; }
.tfa-hero strong { font-size: 20px; line-height: 1.2; }
.tfa-hero p { color: #8d8d8d; font-size: 14px; line-height: 1.45; max-width: 420px; }
.tfa-hero-ico, .tfa-mail-ico, .tfa-key-ico {
  width: 92px; height: 92px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  background: #1a1a1a; border: 1px solid var(--line);
}
.tfa-hero-ico svg, .tfa-mail-ico svg, .tfa-key-ico svg { width: 40px; height: 40px; }
.tfa-hero-ico.is-on { color: #4ade80; box-shadow: 0 0 24px rgba(34,197,94,.25); }
.tfa-key-ico {
  background: #16a34a; border: 0;
  box-shadow: 0 0 28px rgba(22,163,74,.45);
}
.tfa-mail-ico {
  background: linear-gradient(135deg, #1d4ed8, #e10600);
  border: 0; box-shadow: 0 8px 24px rgba(225,6,0,.28);
}
.tfa-paste { display: block; text-align: center; color: #7a7a7a; font-size: 11px; font-style: italic; }
.tfa-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.otp-resend .link-btn { display: inline-flex; align-items: center; gap: 6px; }
.otp-resend .link-btn svg { width: 14px; height: 14px; }
.tfa-how { display: grid; gap: 12px; padding-top: 4px; border-top: 1px solid rgba(255,255,255,.08); }
.tfa-how > small { color: #9a9a9a; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-align: center; }
.tfa-steps { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.tfa-step {
  background: #121212; border: 1px solid #2e2e2e; border-radius: 6px;
  padding: 10px 8px; display: grid; gap: 6px; justify-items: start;
  transition: transform .28s cubic-bezier(.22,1,.36,1), border-color .2s ease, box-shadow .28s ease;
  transform-origin: center center;
}
.tfa-step b { font-size: 12px; }
.tfa-step p { color: #8a8a8a; font-size: 11px; line-height: 1.35; }
.tfa-step-ico {
  width: 28px; height: 28px; border-radius: 6px;
  display: grid; place-items: center; color: #fff;
  background: var(--orange);
}
.tfa-step-ico.is-ok { background: #166534; }
.tfa-step-ico svg { width: 14px; height: 14px; }
.btn-green {
  background: linear-gradient(180deg, #22c55e, #15803d);
  color: #fff; border: 0;
  box-shadow: 0 8px 16px rgba(225,6,0,.18);
}
.btn-green:hover { filter: brightness(1.08); }
.tfa-progress { display: grid; gap: 8px; margin-top: 8px; }
.tfa-progress-lab { display: flex; justify-content: space-between; font-size: 13px; }
.tfa-bar { height: 8px; border-radius: 99px; background: #1c1c1c; overflow: hidden; }
.tfa-bar i { display: block; height: 100%; width: 0; background: var(--orange); transition: width .45s ease; }
.otp-panel { display: grid; gap: 14px; animation: popIn .45s ease both; }
.otp-panel.hidden { display: none; }
.otp-back { text-align: left; width: auto; padding: 0; }
.otp-step { display: flex; justify-content: space-between; align-items: center; }
.otp-step small { color: #8a8a8a; font-size: 12px; }
.otp-hero { text-align: center; display: grid; gap: 6px; justify-items: center; }
.otp-hero h3 { font-size: 18px; }
.otp-hero p { color: #8d8d8d; font-size: 13px; }
.otp-shield {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; color: var(--orange);
  background: rgba(225,6,0,.12); box-shadow: 0 0 0 6px rgba(225,6,0,.08), 0 0 22px rgba(225,6,0,.28);
}
.otp-shield svg { width: 24px; height: 24px; }
.otp-boxes { display: flex; justify-content: center; gap: 8px; }
.otp-boxes input {
  width: 42px; height: 48px; text-align: center;
  font-size: 18px; font-weight: 800; letter-spacing: 0;
  background: #101010; border: 1px solid var(--line); border-radius: 10px; color: #fff;
  padding: 0; text-transform: uppercase;
}
.otp-boxes input:focus { outline: 0; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(225,6,0,.18); }
.otp-dev-box {
  display: grid;
  gap: 6px;
  justify-items: center;
  padding: 12px;
  border-radius: 10px;
  border: 1px dashed rgba(225,6,0,.45);
  background: rgba(225,6,0,.08);
  color: #ddd;
  font-size: 13px;
  text-align: center;
}
.otp-dev-box.hidden { display: none !important; }
.otp-dev-box strong {
  font-size: 22px;
  letter-spacing: .28em;
  color: #fff;
  font-family: ui-monospace, Consolas, monospace;
}
.otp-resend { text-align: center; color: #8a8a8a; font-size: 13px; }
.otp-resend .link-btn { width: auto; display: inline; }

/* —— Revenda: limpo, denso, sem cards —— */
#view-revenda.view,
#view-revenda {
  gap: 8px;
  padding: 0;
  align-content: start;
  justify-content: flex-start;
}
#view-revenda .rv-shell {
  width: min(1200px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 8px;
  align-content: start;
}
#view-revenda,
#view-revenda * {
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.15) transparent;
}
#view-revenda .rv-person,
#view-revenda .rv-ticket,
#view-revenda .rv-ticket-btn,
#view-revenda .rv-key-filter,
#view-revenda .rv-mode,
#view-revenda .rv-metric,
#view-revenda .rv-stat,
#view-revenda .rv-icon-btn,
#view-revenda .rv-int-chip,
#view-revenda .rv-int-cta {
  transform: none !important;
}

#view-revenda .rv-hero-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(225,6,0,.2);
  background:
    radial-gradient(ellipse 80% 120% at 0% 0%, rgba(225,6,0,.12), transparent 55%),
    linear-gradient(145deg, #151517 0%, #0e0e10 100%);
  overflow: hidden;
}
#view-revenda .rv-hero-top { display: contents; }
#view-revenda .rv-hero-head-copy {
  display: grid;
  gap: 0;
  min-width: 0;
  flex: 1;
}
#view-revenda .rv-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  height: 20px;
  padding: 0 8px;
  margin: 0 0 4px;
  border-radius: 99px;
  border: 1px solid rgba(225,6,0,.35);
  background: rgba(225,6,0,.1);
  color: #e10600;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
#view-revenda .rv-title {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.1;
}
#view-revenda .rv-hero-desc {
  margin: 3px 0 0;
  max-width: 420px;
  color: #8f8f8f;
  font-size: 12px;
  line-height: 1.35;
}
#view-revenda .rv-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
#view-revenda .rv-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 2px;
  height: 52px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(16,16,18,.95);
}
#view-revenda .rv-stat span {
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #888;
  font-weight: 700;
}
#view-revenda .rv-stat b {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
}
#view-revenda .rv-modes {
  display: inline-flex;
  gap: 2px;
  padding: 2px;
  border-radius: 10px;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.1);
  margin-left: 0;
}
#view-revenda .rv-mode {
  height: 30px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #a3a3a3;
  border: 0;
  background: transparent;
  cursor: pointer;
}
#view-revenda .rv-mode.is-active {
  color: #fff;
  background: #e10600;
}
#view-revenda .rv-pane { display: grid; gap: 10px; }
#view-revenda .rv-pane.hidden { display: none !important; }

#view-revenda .rv-workspace {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  min-height: 0;
}
#view-revenda .rv-sidebar {
  display: grid;
  gap: 8px;
  align-content: start;
}
#view-revenda .rv-side-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
#view-revenda .rv-side-head h3 {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
}
#view-revenda .rv-roster-actions { display: inline-flex; gap: 4px; }
#view-revenda .rv-icon-btn {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: #ddd;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
#view-revenda .rv-icon-btn:hover { background: rgba(255,255,255,.08); color: #fff; }
#view-revenda .rv-icon-btn--danger { color: #f87171; border-color: rgba(248,113,113,.35); }
#view-revenda .rv-search-wrap {
  position: relative;
  display: grid;
}
#view-revenda .rv-search-wrap > svg {
  position: absolute;
  left: 10px;
  top: 50%;
  width: 14px;
  height: 14px;
  transform: translateY(-50%);
  opacity: .45;
  pointer-events: none;
}
#view-revenda .rv-search {
  width: 100%;
  height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(0,0,0,.28);
  color: #fff;
  padding: 0 10px 0 30px;
  font-size: 13px;
}
#view-revenda .rv-search--sm {
  width: min(210px, 100%);
  height: 30px;
  padding: 0 10px;
}
#view-revenda .rv-roster {
  display: grid;
  gap: 2px;
  max-height: 540px;
  overflow: auto;
  padding-right: 2px;
}
#view-revenda .rv-person {
  display: grid;
  grid-template-columns: 26px 1fr;
  grid-template-rows: auto auto;
  column-gap: 8px;
  row-gap: 0;
  align-items: center;
  text-align: left;
  padding: 7px 8px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: #eee;
  cursor: pointer;
}
#view-revenda .rv-person:hover { background: rgba(255,255,255,.04); }
#view-revenda .rv-person.is-selected {
  border-color: rgba(225,6,0,.4);
  background: rgba(225,6,0,.1);
}
#view-revenda .rv-person-mark {
  grid-row: 1 / span 2;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 800;
  background: rgba(225,6,0,.2);
  color: #ffb4b0;
}
#view-revenda .rv-person-name {
  font-size: 12.5px;
  font-weight: 650;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#view-revenda .rv-person-sub {
  font-size: 11px;
  color: #8f8f8f;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#view-revenda .rv-empty-inline { margin: 0; color: #8f8f8f; font-size: 12px; }
#view-revenda .rv-goto-int {
  display: none !important;
}
#view-revenda .rv-goto-int:hover {
  display: none !important;
}

#view-revenda .rv-stage {
  min-width: 0;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.02);
  padding: 8px 10px;
  min-height: 0;
  display: grid;
  gap: 8px;
  align-content: start;
}
#view-revenda .rv-stage-empty {
  min-height: 160px;
  display: grid;
  place-content: center;
  gap: 4px;
  text-align: center;
  color: #8f8f8f;
}
#view-revenda .rv-stage-empty strong { color: #ddd; font-size: 14px; }
#view-revenda .rv-stage-empty p { margin: 0; font-size: 12px; }

#view-revenda .rv-dossier {
  display: grid;
  gap: 8px;
  align-content: start;
}
#view-revenda .rv-dossier.hidden { display: none !important; }

#view-revenda .rv-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
#view-revenda .rv-hero-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  width: 100%;
}
#view-revenda .rv-hero-id {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}
#view-revenda .rv-hero-mark {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  background: rgba(225,6,0,.22);
  color: #ffc7c4;
  flex: none;
}
#view-revenda .rv-hero-copy { min-width: 0; }
#view-revenda .rv-hero-copy h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#view-revenda .rv-hero-sub {
  margin: 1px 0 0;
  font-size: 11px;
  color: #8f8f8f;
}
#view-revenda .rv-hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
#view-revenda .rv-metric {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 26px;
  padding: 0 9px;
  border-radius: 6px;
  background: rgba(255,255,255,.04);
}
#view-revenda .rv-metric span {
  font-size: 10px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #7a7a7a;
}
#view-revenda .rv-metric b {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}

#view-revenda .rv-ledger-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0;
}
#view-revenda .rv-ledger-title {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
#view-revenda .rv-ledger-title strong { font-size: 13px; }
#view-revenda .rv-ledger-title .muted { font-size: 11px; }
#view-revenda .rv-ledger-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
#view-revenda .rv-key-filters {
  display: inline-flex;
  gap: 1px;
  padding: 2px;
  border-radius: 7px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
}
#view-revenda .rv-key-filter {
  height: 26px;
  padding: 0 9px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #9a9a9a;
  font-size: 11px;
  font-weight: 650;
  cursor: pointer;
}
#view-revenda .rv-key-filter.is-on {
  background: #e10600;
  color: #fff;
}

/* Keys: linhas de lista, não cards */
#view-revenda .rv-ledger {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.06);
}
#view-revenda .rv-ticket {
  --rail: #e10600;
  display: grid;
  grid-template-columns: 3px minmax(0, 1fr) auto;
  align-items: center;
  min-height: 36px;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
  border-radius: 0;
  background: transparent;
  overflow: hidden;
}
#view-revenda .rv-ticket:hover {
  background: rgba(255,255,255,.03);
}
#view-revenda .rv-ticket.is-free { --rail: #e10600; }
#view-revenda .rv-ticket.is-used { --rail: #22c55e; }
#view-revenda .rv-ticket.is-exp { --rail: #6b7280; }
#view-revenda .rv-ticket::before {
  content: "";
  align-self: stretch;
  width: 3px;
  background: var(--rail);
}
#view-revenda .rv-ticket-main {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(140px, 1.5fr) auto minmax(70px, .7fr) minmax(90px, .9fr) minmax(80px, .8fr);
  gap: 6px 12px;
  align-items: center;
  padding: 7px 10px;
}
#view-revenda .rv-ticket-code {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#view-revenda .rv-ticket-status {
  justify-self: start;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 4px;
  color: #fff;
  background: color-mix(in srgb, var(--rail) 26%, transparent);
}
#view-revenda .rv-ticket-cell {
  font-size: 11.5px;
  color: #b0b0b0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#view-revenda .rv-ticket-cell--user { color: #8a8a8a; }
#view-revenda .rv-ticket-acts {
  display: inline-flex;
  gap: 3px;
  padding: 0 6px 0 0;
  opacity: .55;
}
#view-revenda .rv-ticket:hover .rv-ticket-acts { opacity: 1; }
#view-revenda .rv-ticket-btn {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #cfcfcf;
  cursor: pointer;
}
#view-revenda .rv-ticket-btn:hover { background: rgba(34,197,94,.2); color: #fff; }
#view-revenda .rv-ticket-btn.is-danger:hover { background: rgba(225,6,0,.25); color: #fff; }
#view-revenda .rv-ledger-empty {
  padding: 32px 12px;
  text-align: center;
  color: #8f8f8f;
  font-size: 13px;
}
#view-revenda .rv-pager { margin-top: 8px; }
#view-revenda .rv-pager.hidden { display: none !important; }

/* Integrações */
#view-revenda .rv-int-layout {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}
#view-revenda .rv-int-rail {
  display: grid;
  gap: 2px;
}
#view-revenda .rv-int-chip {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  height: 40px;
  min-height: 40px;
  max-height: 40px;
  text-align: left;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: #bdbdbd;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  white-space: nowrap;
  transform: none !important;
}
#view-revenda .rv-int-chip span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#view-revenda .rv-int-chip:hover,
#view-revenda .rv-int-chip:focus,
#view-revenda .rv-int-chip:active,
#view-revenda .rv-int-chip.is-selected {
  transform: none !important;
}
#view-revenda .rv-int-chip:hover { background: rgba(255,255,255,.04); color: #fff; }
#view-revenda .rv-int-chip.is-selected {
  border-color: rgba(225,6,0,.35);
  background: rgba(225,6,0,.12);
  color: #fff;
  height: 40px;
  min-height: 40px;
  max-height: 40px;
  padding: 0 12px;
}
#view-revenda .rv-int-stage {
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.02);
  padding: 12px;
  min-height: 0;
  align-content: start;
}
#view-revenda .rv-int-panel {
  display: grid;
  gap: 8px;
  max-width: 520px;
  animation: none !important;
  transform: none !important;
}
#view-revenda .rv-int-panel.hidden { display: none !important; }
#view-revenda .rv-int-panel h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 750;
}
#view-revenda .rv-int-sub {
  margin: 0;
  font-size: 12.5px;
  color: #8f8f8f;
  line-height: 1.4;
}
#view-revenda .rv-int-form { display: grid; gap: 11px; }
#view-revenda .rv-field { display: grid; gap: 5px; font-size: 12px; color: #bdbdbd; }
#view-revenda .rv-field input {
  height: 38px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(0,0,0,.28);
  color: #fff;
  padding: 0 11px;
  font-size: 13px;
}
#view-revenda .rv-field input:focus {
  outline: 0;
  border-color: rgba(225,6,0,.5);
  box-shadow: 0 0 0 3px rgba(225,6,0,.1);
}
#view-revenda .rv-field--id input {
  font-family: ui-monospace, Consolas, monospace;
  letter-spacing: .02em;
}
#view-revenda .rv-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #bdbdbd;
}
#view-revenda .rv-int-actions { display: flex; gap: 8px; }
#view-revenda .rv-int-cta {
  height: 38px;
  min-width: 110px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  font-weight: 750;
  font-size: 13px;
  color: #fff;
  cursor: pointer;
  background: #e10600;
}
#view-revenda .rv-int-cta:hover { filter: brightness(1.08); }
#view-revenda .rv-int-msg {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
}
#view-revenda .rv-int-msg:empty { display: none; }
#view-revenda .rv-int-msg.is-ok {
  color: #4ade80;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(74,222,128,.08);
  border: 1px solid rgba(74,222,128,.2);
}
#view-revenda .rv-int-msg.is-error {
  color: #fca5a5;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(248,113,113,.08);
  border: 1px solid rgba(248,113,113,.2);
}
#view-revenda .rv-int-hint { margin: 0; font-size: 12px; color: #8f8f8f; }
#view-revenda .rv-refund-card {
  display: grid;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  transform: none !important;
}
#view-revenda .rv-refund-idrow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

@keyframes rvIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  #view-revenda .rv-workspace,
  #view-revenda .rv-int-layout { grid-template-columns: 1fr; }
  #view-revenda .rv-ticket-main {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  #view-revenda .rv-ticket-cell { display: none; }
  #view-revenda .rv-refund-idrow { grid-template-columns: 1fr; }
  #view-revenda .rv-refund-idrow .rv-int-cta { width: 100%; }
  #view-revenda .rv-modes { margin-left: 0; }
}

/* vault / legacy helpers keep working */
.rv-vault,
#view-revenda .rv-vault {
  position: fixed;
  inset: 0;
  z-index: 80;
}
#view-revenda .rv-vault.hidden,
.rv-vault.hidden { display: none !important; }

@media (max-width: 980px) {
  .app, .grid-2, .grid-pay, .cats, .hwid-grid, .profile-meta, .tfa-steps { grid-template-columns: 1fr; }
  .app { grid-template-rows: auto auto minmax(0, 1fr); }
  .top-nav { display: none; }
  .side { grid-row: 2; max-height: none; overflow: visible; }
  .key-boxes { flex-wrap: wrap; }
}
/* â€”â€” Downloads hub â€”â€” */
#view-downloads {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  align-content: start;
  padding: 0 12px 16px;
  overflow: auto;
}
.dl-shell {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
  align-content: start;
  align-self: start;
  padding-top: 10px;
}
.dl-head {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  text-align: left;
  margin: 0;
  padding: 0 2px 2px;
}
.dl-head-text {
  display: grid;
  gap: 2px;
  justify-items: start;
  min-width: 0;
}
.dl-head .block-title {
  margin: 0;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.2;
}
.dl-head .muted {
  max-width: 520px;
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
  color: #8a8a8a;
}
.dl-badge {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 99px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  border: 1px solid #444;
  color: #bbb;
  background: rgba(255,255,255,.04);
  flex: none;
}
.dl-badge.is-locked {
  border-color: rgba(225,6,0,.45);
  color: var(--orange);
  background: rgba(225,6,0,.08);
}
.dl-badge.is-open {
  border-color: rgba(61,220,132,.45);
  color: var(--ok);
  background: rgba(61,220,132,.08);
}
.dl-lock-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2px;
  padding: 8px 14px;
  border-radius: 12px;
  border: 1px solid rgba(225,6,0,.35);
  background:
    linear-gradient(180deg, rgba(225,6,0,.12), transparent 55%),
    #141414;
  max-width: 640px;
  margin: 0 auto;
  width: 100%;
}
.dl-lock-banner.hidden { display: none !important; }
.dl-lock-banner strong { display: block; margin-bottom: 0; }
.dl-lock-banner .muted { margin: 0; }
.dl-products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  justify-content: stretch;
  gap: 12px;
  padding: 8px 0 0;
  margin: 0;
  overflow: visible;
  align-content: start;
}
.dl-products .product {
  cursor: default;
  position: relative;
  isolation: isolate;
  overflow: visible !important;
  z-index: 0;
  transition:
    transform .28s cubic-bezier(.22, 1, .36, 1),
    border-color .2s ease,
    box-shadow .28s ease,
    filter .2s ease;
}
.dl-products .product > * {
  position: relative;
  z-index: 1;
}
.dl-products .product > .product-cover {
  border-radius: 8px 8px 0 0;
}
.dl-products .product > .product-body {
  border-radius: 0 0 8px 8px;
}
.dl-products .product > .dl-menu-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 12;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid transparent;
  background: rgba(0,0,0,.55);
  color: #ddd;
  display: grid;
  place-items: center;
  padding: 0;
  line-height: 0;
  isolation: isolate;
  overflow: visible;
  transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.dl-products .product > .dl-menu-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  pointer-events: none;
  z-index: 0;
  opacity: 1;
  background: conic-gradient(
    from var(--nav-angle, 0deg),
    transparent 0deg 145deg,
    rgba(225,6,0,.18) 165deg,
    rgba(225,6,0,1) 205deg,
    rgba(255,86,76,.95) 245deg,
    rgba(225,6,0,.4) 285deg,
    transparent 315deg 360deg
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  animation: sideNavBorderSpin 1.1s linear infinite;
  box-shadow: 0 0 10px rgba(225,6,0,.35);
}
.dl-products .product > .dl-menu-btn svg {
  position: relative;
  z-index: 1;
  width: 16px;
  height: 16px;
  display: block;
}
.dl-products .product > .dl-menu-btn:hover,
.dl-products .product > .dl-menu-btn.is-open {
  background: rgba(0,0,0,.78);
  color: #fff;
  transform: scale(var(--ui-inflate));
  box-shadow: 0 0 14px rgba(225,6,0,.4);
}
.dl-products .product > .dl-menu-pop {
  position: absolute;
  top: 42px;
  right: 8px;
  z-index: 13;
  width: min(268px, calc(100% - 16px));
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #333;
  background: #121214;
  box-shadow: 0 16px 34px rgba(0,0,0,.55);
  display: grid;
  gap: 8px;
}
.dl-products .product.is-menu-open {
  z-index: 20;
  transform: none !important;
  filter: none !important;
}
.dl-products .product-cover {
  overflow: hidden;
}
.dl-menu-pop.hidden { display: none !important; }
.dl-menu-pop label {
  display: grid;
  gap: 4px;
  font-size: 11px;
  color: #aaa;
  font-weight: 600;
}
.dl-menu-pop input {
  width: 100%;
  background: #0c0c0e;
  border: 1px solid #2a2a2a;
  border-radius: 7px;
  padding: 8px 10px;
  color: #fff;
  font-size: 12px;
}
.dl-menu-pop input:focus {
  outline: none;
  border-color: rgba(225,6,0,.55);
}
.dl-menu-pop .btn-orange,
.dl-menu-pop [data-dl-save] {
  display: block !important;
  width: 100%;
  margin-top: 4px;
  padding: 10px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  background: var(--orange);
  color: #fff;
}
.dl-products .product-body {
  border-radius: 0 0 8px 8px;
  background: #141414;
  display: grid;
  gap: 10px;
  padding: 14px 14px 16px;
  align-content: start;
  align-items: stretch;
}
.dl-products .product-body h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
}
.dl-products .product-body > .muted,
.dl-products .product-body .dl-desc {
  margin: 0;
  min-height: 36px;
  font-size: 12.5px;
  line-height: 1.45;
  color: #b0b0b0;
}
.dl-products .product-body .tags {
  margin: 0;
  align-self: start;
}
.dl-products .product-buy,
.dl-products .dl-split {
  align-self: stretch;
}
.dl-products .product.is-locked { opacity: .88; }
.dl-products .product.is-locked .product-buy,
.dl-products .product.is-locked .dl-split-btn {
  filter: none;
  opacity: .55;
  cursor: not-allowed;
  pointer-events: auto;
  background: #1a1a1a;
  color: #9a9a9a;
  box-shadow: none;
}
.dl-products .product.is-locked .product-buy:hover,
.dl-products .product.is-locked .dl-split-btn:hover {
  filter: none;
  opacity: .55;
  transform: none;
  box-shadow: none;
  background: #1a1a1a;
}
/* borda animada na moldura do card */
.dl-products .product::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  pointer-events: none;
  z-index: 3;
  opacity: 0;
  background: conic-gradient(
    from var(--nav-angle, 0deg),
    transparent 0deg 145deg,
    rgba(225,6,0,.18) 165deg,
    rgba(225,6,0,1) 205deg,
    rgba(255,86,76,.95) 245deg,
    rgba(225,6,0,.4) 285deg,
    transparent 315deg 360deg
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
}
.dl-products .product:hover {
  z-index: 5;
  transform: scale(var(--ui-inflate));
  filter: brightness(1.04);
  border-color: transparent;
  box-shadow:
    0 20px 44px rgba(0,0,0,.42),
    0 0 26px rgba(225,6,0,.2);
}
.dl-products .product.is-menu-open:hover {
  z-index: 20;
  transform: none;
  filter: none;
}
.dl-products .product:hover::before {
  opacity: 1;
  animation: sideNavBorderSpin 1.1s linear infinite;
}
.dl-products .product-buy,
.dl-split-btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
}
.dl-products .product-buy::after,
.dl-split-btn::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 42%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255,255,255,.0) 20%,
    rgba(255,255,255,.35) 42%,
    rgba(255,255,255,.95) 50%,
    rgba(255,255,255,.35) 58%,
    rgba(255,255,255,.0) 80%,
    transparent 100%
  );
  transform: translateX(-130%) skewX(-18deg);
  opacity: 0;
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: screen;
}
.dl-products .product:hover .product-buy,
.dl-products .product:hover .dl-split-btn {
  transform: none;
  box-shadow: 0 8px 18px rgba(225,6,0,.35);
}
.dl-products .product:hover .product-buy::after,
.dl-products .product:hover .dl-split-btn::after {
  animation: sideNavShine .75s cubic-bezier(.22, .8, .28, 1) forwards;
}
.dl-products .product-buy > *,
.dl-split-btn > * {
  position: relative;
  z-index: 3;
}
.dl-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.dl-split-btn {
  height: 40px;
  border-radius: 8px;
  background: var(--orange);
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .03em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.dl-split-btn:hover { filter: brightness(1.08); }
.dl-products .product-cover--painel {
  background-color: #000;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.dl-products .product-cover--ff {
  background-color: #0a0a0a;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.dl-products .product-cover--emu {
  background-color: #000;
  background-position: center;
  background-size: 58% auto;
  background-repeat: no-repeat;
}
.dl-products .product-cover--drv {
  background-color: #000;
  background-position: center;
  background-size: 58% auto;
  background-repeat: no-repeat;
}

@media (max-width: 860px) {
  .gate { grid-template-columns: 1fr; width: min(480px, calc(100% - 32px)); margin: 0 auto; gap: 28px; padding: 28px 0 40px; }
  .gate-left { text-align: left; margin-left: 0; }
  .pills { flex-wrap: wrap; }
  .dl-split { grid-template-columns: 1fr; }
}

/* Credenciais App — igual admin antigo (KeyAuth) */
.ac-panel { max-width: 1180px; }
.ac-layout {
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(0, 1.25fr);
  gap: 18px;
  align-items: start;
  margin-top: 6px;
}
@media (max-width: 900px) {
  .ac-layout { grid-template-columns: 1fr; }
}
.ac-kauth {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ac-kv {
  position: relative;
  padding: 14px 44px 14px 16px;
  min-height: 68px;
  background: #171717;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 10px;
}
.ac-kv-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  min-height: 22px;
}
.ac-kv-label {
  color: #9ca3af;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.ac-kv-copy {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #777;
  cursor: pointer;
  padding: 0;
}
.ac-kv-copy svg { width: 15px; height: 15px; }
.ac-kv-copy:hover {
  color: #fff;
  background: rgba(255,255,255,.06);
}
.ac-kv-value {
  color: #e5e7eb;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  word-break: break-all;
}
.ac-kv-value.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  font-weight: 600;
}
.ac-kv-value--secret { font-size: 12px; }
.ac-kv-value.is-blurred {
  filter: blur(6px);
  opacity: .72;
  cursor: pointer;
  user-select: none;
}
.ac-kv-value.is-blurred:hover,
.ac-kv-value.is-revealed {
  filter: none;
  opacity: 1;
  user-select: text;
}
.ac-footer { margin-top: 4px; }
.ac-btn {
  height: 36px;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.ac-btn--ghost {
  border: 1px solid rgba(255,255,255,.12);
  background: transparent;
  color: #bbb;
}
.ac-btn--ghost:hover {
  color: #fff;
  border-color: rgba(255,255,255,.28);
}
.ac-note {
  margin: 10px 0 0;
  font-size: 12px;
  color: #777;
  line-height: 1.4;
  min-height: 1.2em;
}
.ac-apps {
  padding: 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.02);
}
.ac-apps-head {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}
.ac-apps-title {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #aaa;
}
.ac-create {
  width: 100%;
  border: 0;
  border-radius: 10px;
  padding: 12px 14px;
  font-weight: 800;
  letter-spacing: .02em;
  color: #fff;
  cursor: pointer;
  background: var(--orange);
  box-shadow: 0 8px 22px rgba(225, 6, 0, .28);
}
.ac-create:hover { background: var(--orange-2); }
.ac-apps-list {
  display: grid;
  gap: 10px;
}
.ac-app-card {
  border: 1px solid rgba(255,255,255,.08);
  background: #141414;
  border-radius: 12px;
  padding: 12px;
  display: grid;
  gap: 12px;
}
.ac-app-card.is-on {
  border-color: rgba(225,6,0,.45);
  background: rgba(225,6,0,.08);
}
.ac-app-card.is-paused { opacity: .78; }
.ac-app-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.ac-app-card-copy { min-width: 0; }
.ac-app-card-copy strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
}
.ac-app-meta {
  margin: 4px 0 0;
  font-size: 12px;
  color: #8a8a8a;
  line-height: 1.4;
}
.ac-app-badge {
  flex: 0 0 auto;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  padding: 4px 8px;
  border-radius: 999px;
  color: #86efac;
  background: rgba(34,197,94,.16);
  border: 1px solid rgba(74,222,128,.28);
}
.ac-app-badge.is-off {
  color: #fca5a5;
  background: rgba(239,68,68,.14);
  border-color: rgba(239,68,68,.28);
}
.ac-app-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ac-mini {
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  cursor: pointer;
}
.ac-mini:hover { filter: brightness(1.12); }
.ac-mini:disabled {
  opacity: .4;
  cursor: not-allowed;
  filter: none;
}
.ac-mini--select { background: #14532d; }
.ac-mini--select.is-selected {
  color: #86efac;
  border-color: rgba(74, 222, 128, .35);
}
.ac-mini--rename {
  background: rgba(255, 255, 255, .04);
  border-color: rgba(255, 255, 255, .08);
  color: #ddd;
}
.ac-mini--pause { background: #7c2d12; }
.ac-mini--delete { background: #7f1d1d; }
.nav-appcreds { opacity: .95; }
