.center {
  text-align: center;
}
.brand {
  color: var(--text);
  text-decoration: none;
  font-size: 20px;
}

/* login */
.auth {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px 16px;
}
.auth-card {
  width: min(420px, 100%);
}
.auth-card .brand {
  font-size: 26px;
  display: block;
  text-align: center;
  margin-bottom: 4px;
}
.auth-card > p {
  text-align: center;
}

.seg {
  display: flex;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 4px;
  gap: 4px;
}
.seg button {
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: 800 14px 'Rubik', sans-serif;
  padding: 10px;
  border-radius: 10px;
  cursor: pointer;
}
.seg button.on {
  background: var(--yellow);
  color: #111;
}
.seg.mini button {
  padding: 6px 12px;
  flex: none;
}

/* topo */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 9, 18, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}
.main {
  padding-top: 14px;
  padding-bottom: 110px;
}

/* placar */
.score {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: center;
  padding: 12px;
  margin-bottom: 14px;
  position: sticky;
  top: 58px;
  z-index: 10;
}
.score .team {
  border-radius: 14px;
  padding: 10px 12px;
  min-width: 0;
}
.score .team.a {
  background: linear-gradient(135deg, var(--ca, var(--red)), rgba(0, 0, 0, 0.3));
}
.score .team.b {
  background: linear-gradient(225deg, var(--cb, var(--green)), rgba(0, 0, 0, 0.3));
  text-align: right;
}
.tname {
  font-family: 'Bungee', Impact, sans-serif;
  font-size: clamp(11px, 3.2vw, 15px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tbig {
  font-family: 'Bungee', Impact, sans-serif;
  font-size: 30px;
  line-height: 1.1;
}
.tbig small {
  font-family: 'Rubik', sans-serif;
  font-size: 12px;
  margin-left: 4px;
  opacity: 0.85;
}
.tsub {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 12px;
  opacity: 0.9;
  font-weight: 700;
}
.mid {
  text-align: center;
}
.phase {
  font-weight: 900;
  font-size: 13px;
  color: var(--yellow);
}

.status-box {
  margin-top: 12px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 700;
  font-size: 14px;
}

details.how {
  margin-top: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 14px;
}
details.how summary {
  cursor: pointer;
  font-weight: 800;
}
details.how ol {
  margin: 10px 0 4px;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.6;
}

.donors {
  margin: 0;
  padding-left: 20px;
}
.donors li {
  padding: 4px 0;
  font-weight: 700;
}
.donors li span {
  color: var(--yellow);
  float: right;
}
.feed {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 260px;
  overflow: auto;
}
.feed li {
  padding: 8px 10px;
  border-left: 4px solid var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  margin-bottom: 6px;
  font-size: 14px;
}

/* teste */
.sim-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 8px;
}
.sim-btn {
  border: 2px solid transparent;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  padding: 10px 6px;
  cursor: pointer;
  font: 700 12px 'Rubik', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: transform 0.08s;
}
.sim-btn:active {
  transform: scale(0.95);
}
.sim-btn .ic {
  font-size: 28px;
  height: 34px;
  display: grid;
  place-items: center;
}
.sim-btn .ic img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}
.sim-btn.a {
  border-color: var(--ca, var(--red));
}
.sim-btn.b {
  border-color: var(--cb, var(--green));
}
.sim-btn.fan {
  border-color: var(--yellow);
}
.sim-btn small {
  color: var(--muted);
  font-weight: 600;
}

/* presentes */
.gift-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.gift-row {
  display: grid;
  grid-template-columns: 52px 1.4fr 1.2fr 1.3fr 80px 40px;
  gap: 8px;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-left: 5px solid var(--muted);
  border-radius: 12px;
  padding: 8px;
}
.gift-row.a {
  border-left-color: var(--ca, var(--red));
}
.gift-row.b {
  border-left-color: var(--cb, var(--green));
}
.gift-row.fan {
  border-left-color: var(--yellow);
}
.gift-row input,
.gift-row select {
  padding: 8px 10px;
  font-size: 14px;
}
.gift-row .ic {
  font-size: 26px;
  text-align: center;
}
.gift-row .ic input {
  text-align: center;
  padding: 6px 2px;
  font-size: 22px;
}
.gift-row .ic img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.gift-row .del {
  background: transparent;
  border: 0;
  color: var(--bad);
  font-size: 20px;
  cursor: pointer;
}
@media (max-width: 760px) {
  .gift-row {
    grid-template-columns: 48px 1fr 40px;
  }
  .gift-row .c-team,
  .gift-row .c-eff,
  .gift-row .c-pow {
    grid-column: 1 / -1;
  }
  .gift-row .c-label {
    grid-column: 2;
  }
  .gift-row .del {
    grid-column: 3;
    grid-row: 1;
  }
  .gift-row .c-team,
  .gift-row .c-eff {
    grid-column: span 3;
  }
}
.gift-pick {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 8px;
  max-height: 460px;
  overflow: auto;
}
.gift-pick .gp {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
}
.gift-pick .gp img {
  width: 44px;
  height: 44px;
  flex: none;
  object-fit: contain;
}
.gift-pick .gp .grow small {
  display: block;
  color: var(--yellow);
}
.gift-pick .gp.inlist {
  opacity: 0.45;
}

.team-edit {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
}
.team-edit .preview {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--line);
  background: #222;
}
.checks {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}
.checks label,
.checkline {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}
.sep {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 18px 0;
}

/* admin */
.users {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.user-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}
.user-row .who {
  flex: 1;
  min-width: 180px;
}
.user-row .who b {
  display: block;
}
.user-row select {
  width: auto;
  padding: 6px 8px;
}

/* planos */
.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}
@media (max-width: 560px) {
  .plans {
    grid-template-columns: 1fr;
  }
}
.plan {
  border: 2px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.04);
}
.plan.best {
  border-color: var(--yellow);
}
.plan .price {
  font-family: 'Bungee', Impact, sans-serif;
  font-size: 32px;
}
.pix {
  margin-top: 18px;
  text-align: center;
}
.qr {
  display: inline-block;
  padding: 12px;
  background: #fff;
  border-radius: 14px;
  margin-bottom: 12px;
}

/* abas de baixo */
.tabs {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: flex;
  justify-content: center;
  gap: 2px;
  background: rgba(7, 9, 18, 0.94);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
}
.tabs button {
  flex: 1;
  max-width: 120px;
  background: transparent;
  border: 0;
  color: var(--muted);
  font: 700 11px 'Rubik', sans-serif;
  padding: 6px 2px;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.tabs button span {
  font-size: 20px;
}
.tabs button.on {
  color: #111;
  background: var(--yellow);
}

.icon-btn {
  padding: 8px 10px;
  margin-left: 8px;
}
.tabs button span {
  display: grid;
  place-items: center;
  height: 24px;
}
.sim-btn .ic .ico {
  color: var(--text);
}
.gift-row .ic {
  display: grid;
  place-items: center;
  color: var(--muted);
}
.gift-row .del {
  display: grid;
  place-items: center;
}

/* ganhos */
.chart {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 150px;
  margin-top: 16px;
  padding: 8px 4px 0;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
}
.chart .bar {
  flex: 1 0 8px;
  min-width: 8px;
  background: linear-gradient(180deg, var(--yellow), #ff8a00);
  border-radius: 6px 6px 2px 2px;
  position: relative;
  min-height: 2px;
}
.chart .bar.zero {
  background: rgba(255, 255, 255, 0.1);
}
.chart .bar.today {
  background: linear-gradient(180deg, #7dffab, var(--ok));
}
.table {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.trow {
  display: grid;
  grid-template-columns: 40px 1fr auto auto;
  gap: 10px;
  align-items: center;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 14px;
}
.trow.click {
  cursor: pointer;
}
.trow.click:hover,
.trow.sel {
  border-color: var(--yellow);
}
.trow img,
.trow .ph {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
}
.trow .av {
  border-radius: 50%;
}
.trow .n {
  font-weight: 800;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.trow .n small {
  display: block;
  font-weight: 500;
  color: var(--muted);
}
.trow .q {
  color: var(--muted);
  font-weight: 700;
  text-align: right;
}
.trow .m {
  color: #7dffab;
  font-weight: 900;
  text-align: right;
  min-width: 80px;
}
.trow .m small {
  display: block;
  color: var(--yellow);
  font-weight: 700;
}

/* passo a passo */
.steps {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.steps li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}
.steps li .st {
  color: var(--muted);
  flex: none;
  display: grid;
}
.steps li b {
  display: block;
}
.steps li small {
  color: var(--muted);
}
.steps li.ok {
  border-color: rgba(34, 197, 94, 0.5);
  background: rgba(34, 197, 94, 0.08);
}
.steps li.ok .st {
  color: var(--ok);
}

/* modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.7);
  display: grid;
  place-items: center;
  padding: 16px;
}
.modal-card {
  width: min(440px, 100%);
}
.modal-card ol {
  line-height: 1.8;
  padding-left: 20px;
  color: #cdd3f0;
}

/* escolha do jogo */
.games {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (max-width: 560px) {
  .games {
    grid-template-columns: 1fr;
  }
}
.games button {
  border: 2px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-radius: 16px;
  padding: 14px;
  text-align: left;
  cursor: pointer;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 2px 12px;
  align-items: center;
  font-family: inherit;
}
.games button .ico {
  grid-row: span 2;
  color: var(--muted);
}
.games button b {
  font-size: 16px;
}
.games button small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}
.games button.on {
  border-color: var(--yellow);
  background: rgba(255, 212, 0, 0.08);
}
.games button.on .ico {
  color: var(--yellow);
}
.games button.live::after {
  content: 'NO AR';
  grid-column: 2;
  justify-self: start;
  font-size: 10px;
  font-weight: 900;
  color: #111;
  background: var(--ok);
  padding: 2px 8px;
  border-radius: 999px;
  margin-top: 4px;
}
.game-opts {
  margin-top: 6px;
}

.summary {
  white-space: pre-wrap;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  font: 500 13px/1.6 'Rubik', sans-serif;
  margin: 10px 0 0;
  color: #dfe4ff;
}
.heat {
  display: grid;
  grid-template-columns: 34px repeat(24, 1fr);
  gap: 2px;
  margin-top: 10px;
  font-size: 10px;
  color: var(--muted);
}
.heat .c {
  aspect-ratio: 1;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.06);
}
.heat .d {
  display: flex;
  align-items: center;
  font-weight: 700;
}
.heat .h {
  text-align: center;
}
h3.sub {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  margin: 18px 0 4px;
}
.cmd-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
.cmd-row {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr 0.7fr 0.8fr 1.6fr auto;
  gap: 8px;
  align-items: end;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}
.cmd-row .f {
  margin-top: 0;
}
.btn.icon-only {
  padding: 10px;
  justify-content: center;
}
@media (max-width: 720px) {
  .cmd-row {
    grid-template-columns: 1fr 1fr;
  }
  .cmd-row .cmd-label {
    grid-column: 1 / -1;
  }
  .cmd-row .btn.icon-only {
    grid-column: 1 / -1;
  }
}
.perf {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
}
.perf-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 13px;
  border: 1px solid var(--line);
}
.perf-row.ok svg {
  color: #22c55e;
}
.perf-row.bad {
  border-color: rgba(255, 176, 32, 0.6);
}
.perf-row.bad svg {
  color: #ffb020;
}

/* ---------- hub de jogos (estilo console) ---------- */
.hub-hero {
  display: grid;
  grid-template-columns: minmax(200px, 300px) 1fr;
  gap: 22px;
  padding: 18px;
  border-radius: 24px;
  background: radial-gradient(120% 140% at 0% 0%, rgba(255, 212, 0, 0.14), transparent 55%), linear-gradient(160deg, #161c36, #0a0d1c);
  border: 1px solid rgba(255, 212, 0, 0.25);
  box-shadow: var(--shadow);
  margin-bottom: 18px;
}
.hero-cover canvas {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  display: block;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55), 0 0 0 3px rgba(255, 212, 0, 0.6);
}
.hero-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
}
.tag.live {
  background: #ff2d55;
}
.hero-title {
  margin: 0;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.05;
  color: var(--yellow);
}
.hero-desc {
  margin: 0;
  color: #cfd6f3;
  line-height: 1.5;
}
.hero-how {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: how;
  display: grid;
  gap: 6px;
}
.hero-how li {
  counter-increment: how;
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 700;
}
.hero-how li::before {
  content: counter(how);
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--yellow);
  color: #111;
  font-family: 'Bungee', Impact, sans-serif;
  font-size: 14px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.btn.big {
  font-size: 17px;
  padding: 14px 22px;
}
.hero-gifts summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  color: var(--yellow);
}
.gift-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  font-size: 13px;
}
.gift-table th {
  text-align: left;
  color: var(--muted);
  font-weight: 700;
  padding: 6px;
  border-bottom: 1px solid var(--line);
}
.gift-table td {
  padding: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: middle;
}
.gt-ic img,
.gt-ic svg {
  width: 26px;
  height: 26px;
  display: block;
}
.gt-c {
  white-space: nowrap;
  color: var(--yellow);
  font-weight: 800;
}
.gt-eff {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 8px;
  background: rgba(139, 92, 246, 0.25);
  font-weight: 800;
}
.hub-row h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 18px 4px 10px;
  font-size: 17px;
}
.hub-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 6px 4px 14px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.gcard {
  position: relative;
  flex: none;
  width: 160px;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: none;
  cursor: pointer;
  scroll-snap-align: start;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
}
.gcard canvas {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  display: block;
}
.gcard:hover,
.gcard:focus-visible {
  transform: translateY(-4px) scale(1.04);
  outline: none;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.6), 0 0 0 3px var(--yellow);
}
.gcard.sel {
  box-shadow: 0 0 0 3px var(--yellow), 0 14px 30px rgba(0, 0, 0, 0.6);
}
.gcard-live {
  position: absolute;
  left: 8px;
  bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #ff2d55;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}
@media (min-width: 900px) {
  .gcard {
    width: 190px;
  }
}
@media (max-width: 640px) {
  .hub-hero {
    grid-template-columns: 1fr;
  }
  .hero-cover {
    max-width: 240px;
    margin: 0 auto;
  }
  .gift-table th:last-child,
  .gift-table td:last-child {
    display: none;
  }
}

/* ---------- teste grátis ---------- */
.trial-card {
  border-color: rgba(255, 212, 0, 0.35);
  background: linear-gradient(135deg, rgba(255, 212, 0, 0.1), transparent 60%), var(--card);
}
.trial-card .row {
  gap: 10px;
  align-items: center;
}
.trial-bar {
  height: 10px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  margin: 12px 0 8px;
  overflow: hidden;
}
.trial-bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--yellow), #ff8a00);
  transition: width 0.6s ease;
}
.trial-done {
  text-align: center;
  padding: 22px 16px 26px;
  margin-bottom: 18px;
  border-radius: 20px;
  background: radial-gradient(120% 120% at 50% 0%, rgba(255, 212, 0, 0.25), transparent 60%), #10142a;
  border: 1px solid rgba(255, 212, 0, 0.4);
  animation: tdIn 0.6s cubic-bezier(0.2, 1.4, 0.4, 1) both;
}
.td-kicker {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--yellow);
  font-size: 13px;
}
.td-big {
  font-family: 'Bungee', Impact, sans-serif;
  font-size: clamp(40px, 9vw, 64px);
  color: #fff;
  margin: 8px 0 4px;
  text-shadow: 0 6px 30px rgba(255, 212, 0, 0.45);
}
.td-sub {
  margin: 0;
  color: #cfd6f3;
}
@keyframes tdIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(10px);
  }
}

/* ---------- animações do painel ---------- */
.tab:not(.hidden) {
  animation: tabIn 0.35s cubic-bezier(0.2, 1, 0.3, 1);
}
.tab:not(.hidden) > .card {
  animation: cardIn 0.45s cubic-bezier(0.2, 1, 0.3, 1) both;
}
.tab:not(.hidden) > .card:nth-child(2) {
  animation-delay: 0.05s;
}
.tab:not(.hidden) > .card:nth-child(3) {
  animation-delay: 0.1s;
}
.tab:not(.hidden) > .card:nth-child(4) {
  animation-delay: 0.15s;
}
.tab:not(.hidden) > .card:nth-child(n + 5) {
  animation-delay: 0.2s;
}
@keyframes tabIn {
  from {
    opacity: 0;
  }
}
@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}
.tabs button {
  transition: transform 0.15s ease, background 0.2s, color 0.2s;
}
.tabs button:active {
  transform: scale(0.94);
}
.hub-row {
  animation: cardIn 0.5s cubic-bezier(0.2, 1, 0.3, 1) both;
}
.hub-row:nth-of-type(2) {
  animation-delay: 0.06s;
}
.hub-row:nth-of-type(3) {
  animation-delay: 0.12s;
}
.hub-row:nth-of-type(n + 4) {
  animation-delay: 0.18s;
}
@media (prefers-reduced-motion: reduce) {
  .tab:not(.hidden),
  .tab:not(.hidden) > .card,
  .hub-row {
    animation: none;
  }
}

/* ---------- perfis (estilo Netflix) ---------- */
.profiles {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
  text-align: center;
  background: radial-gradient(60% 50% at 50% 0%, rgba(255, 212, 0, 0.1), transparent 70%), var(--bg);
}
.profiles .brand {
  position: absolute;
  top: 20px;
  left: 24px;
  font-size: 20px;
  color: var(--text);
  text-decoration: none;
}
.pf-title {
  font-size: clamp(28px, 5vw, 48px);
  margin: 0 0 34px;
  animation: cardIn 0.5s cubic-bezier(0.2, 1, 0.3, 1) both;
}
.pf-grid {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(14px, 3vw, 30px);
  justify-content: center;
}
.pf-card {
  appearance: none;
  border: 0;
  background: none;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font: inherit;
  animation: pfIn 0.5s cubic-bezier(0.2, 1.3, 0.4, 1) both;
}
.pf-avatar {
  position: relative;
  width: clamp(110px, 18vw, 150px);
  aspect-ratio: 1;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-family: 'Bungee', Impact, sans-serif;
  font-size: clamp(48px, 8vw, 64px);
  color: #fff;
  background: linear-gradient(145deg, color-mix(in srgb, var(--c, #2a2f45) 100%, #fff 20%), color-mix(in srgb, var(--c, #2a2f45) 70%, #000 30%));
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5);
  outline: 4px solid transparent;
  transition: transform 0.2s ease, outline-color 0.2s ease;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}
.pf-card.add .pf-avatar {
  background: rgba(255, 255, 255, 0.05);
  border: 2px dashed rgba(255, 255, 255, 0.25);
  color: var(--muted);
}
.pf-card:hover .pf-avatar,
.pf-card:focus-visible .pf-avatar {
  transform: scale(1.06);
  outline-color: #fff;
}
.pf-card:hover,
.pf-card:focus-visible {
  color: #fff;
  outline: none;
}
.pf-card.picked .pf-avatar {
  transform: scale(1.18);
  outline-color: var(--yellow);
  transition-duration: 0.25s;
}
.pf-name {
  font-weight: 800;
  font-size: 18px;
}
.pf-sub {
  font-size: 13px;
  margin-top: -6px;
  opacity: 0.8;
}
.pf-del {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
}
.pf-new {
  width: min(380px, 100%);
  padding: 22px;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  text-align: left;
  animation: cardIn 0.35s ease both;
}
.pf-new h3 {
  margin: 0 0 12px;
}
.pf-colors {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.pf-color {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 3px solid transparent;
  cursor: pointer;
}
.pf-color.on {
  border-color: #fff;
}
.pf-actions {
  display: flex;
  gap: 10px;
  margin-top: 40px;
}
.pf-switch {
  gap: 8px;
}
.pf-dot {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
  color: #fff;
}
@keyframes pfIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.9);
  }
}

/* ---------- admin ---------- */
.adm-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 2px 14px;
}
.adm-head > div {
  flex: 1;
}
.adm-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 24px;
}
.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  color: #22c55e;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
}
.live-dot span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  50% {
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
    opacity: 0.6;
  }
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
  }
}
.kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}
@media (max-width: 900px) {
  .kpis {
    grid-template-columns: repeat(2, 1fr);
  }
}
.kpi {
  position: relative;
  overflow: hidden;
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(160deg, color-mix(in srgb, var(--k) 16%, var(--card)), var(--card) 60%);
  border: 1px solid color-mix(in srgb, var(--k) 30%, transparent);
  animation: kpiIn 0.6s cubic-bezier(0.2, 1.2, 0.4, 1) both;
  transition: transform 0.2s;
}
.kpi:hover {
  transform: translateY(-3px);
}
.kpi::after {
  content: '';
  position: absolute;
  right: -30px;
  top: -30px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--k) 35%, transparent), transparent 70%);
}
.kpi-ic {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--k);
  background: color-mix(in srgb, var(--k) 16%, transparent);
  margin-bottom: 10px;
}
.kpi-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.kpi-num {
  font-family: 'Bungee', Impact, sans-serif;
  font-size: clamp(22px, 3.2vw, 30px);
  margin: 4px 0 2px;
  color: #fff;
  white-space: nowrap;
}
.kpi-sub {
  font-size: 12px;
  color: var(--muted);
}
@keyframes kpiIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.96);
  }
}
.bars30 {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 180px;
  margin-top: 14px;
}
.bars30 .b {
  position: relative;
  flex: 1;
  height: 100%;
  display: flex;
  align-items: flex-end;
}
.bars30 .b span {
  width: 100%;
  height: 0;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, #ffe066, #ff9d00);
  transition: height 0.9s cubic-bezier(0.2, 1, 0.3, 1);
}
.bars30 .b.zero span {
  background: rgba(255, 255, 255, 0.08);
}
.bars30 .b em {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  padding: 5px 8px;
  border-radius: 8px;
  background: #000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s;
  z-index: 2;
}
.bars30 .b:hover em {
  opacity: 1;
}
.bars30 .b:hover span {
  filter: brightness(1.2);
}
.bars-legend {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
}
.bars-legend #b30total {
  color: var(--yellow);
  font-weight: 800;
}
.pager {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  color: var(--muted);
}
.pager .pg {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}
.pager .pg:hover:not(:disabled) {
  background: rgba(255, 212, 0, 0.18);
}
.pager .pg:active:not(:disabled) {
  transform: scale(0.92);
}
.pager .pg:disabled {
  opacity: 0.3;
  cursor: default;
}
.pay-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}
.pay-row {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  animation: cardIn 0.35s ease both;
}
.pay-who {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.pay-plan {
  color: var(--muted);
  font-size: 13px;
}
.chip {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.08);
}
.chip.pago {
  background: rgba(34, 197, 94, 0.18);
  color: #4ade80;
}
.chip.pendente {
  background: rgba(255, 212, 0, 0.16);
  color: var(--yellow);
}
.chip.falhou,
.chip.expirado {
  background: rgba(239, 68, 68, 0.16);
  color: #f87171;
}
@media (max-width: 560px) {
  .pay-row {
    grid-template-columns: 1fr auto;
  }
  .pay-plan {
    display: none;
  }
}
.aviso-preview {
  padding: 12px 14px;
  border-radius: 12px;
  margin: 8px 0 12px;
  font-weight: 800;
  text-align: center;
}
.adm-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  justify-content: center;
  padding: 10px 0 24px;
  font-size: 13px;
  color: var(--muted);
}
.adm-foot span {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
body[data-tab='admin'] .score {
  display: none;
}

/* ---------- controle: cabeçalho do jogo ---------- */
.cfg-head {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.cfg-head canvas {
  width: 104px;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  flex: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45), 0 0 0 2px rgba(255, 212, 0, 0.5);
}
.cfg-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-width: 0;
}
.cfg-kicker {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: var(--yellow);
}
.cfg-info h2 {
  margin: 0;
  font-family: 'Bungee', Impact, sans-serif;
  font-weight: 400;
  font-size: clamp(20px, 3vw, 28px);
}
.cfg-btns {
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.g-kpis {
  margin-top: 14px;
}
@media (max-width: 560px) {
  .kpis {
    gap: 8px;
  }
  .kpi {
    padding: 12px;
  }
}

/* ---------- ganhos: pódio e cartões ---------- */
.podium {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 12px;
  margin: 14px 0 10px;
}
.pod {
  position: relative;
  flex: 1;
  max-width: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  animation: kpiIn 0.6s cubic-bezier(0.2, 1.2, 0.4, 1) both;
  min-width: 0;
}
.pod b {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pod-av {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--line);
  display: grid;
  place-items: center;
  font-family: 'Bungee', Impact, sans-serif;
  font-size: 26px;
  background: #2a2f45;
}
.p1 .pod-av {
  width: 82px;
  height: 82px;
  border-color: var(--yellow);
  box-shadow: 0 0 30px rgba(255, 212, 0, 0.35);
}
.p2 .pod-av {
  border-color: #cfd6e6;
}
.p3 .pod-av {
  border-color: #cd7f32;
}
.crown {
  color: var(--yellow);
  margin-bottom: -6px;
  animation: floaty 3s ease-in-out infinite;
}
@keyframes floaty {
  50% {
    transform: translateY(-5px);
  }
}
.pod-m {
  font-weight: 900;
  color: #7dffab;
  font-size: 14px;
}
.pod-step {
  width: 100%;
  border-radius: 12px 12px 4px 4px;
  display: grid;
  place-items: center;
  font-family: 'Bungee', Impact, sans-serif;
  font-size: 22px;
  color: #111;
  margin-top: 6px;
}
.p1 .pod-step {
  height: 90px;
  background: linear-gradient(180deg, #fff38a, #ffd400);
}
.p2 .pod-step {
  height: 64px;
  background: linear-gradient(180deg, #f1f5f9, #cbd5e1);
}
.p3 .pod-step {
  height: 46px;
  background: linear-gradient(180deg, #f3b37a, #cd7f32);
}
.gift-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  margin-top: 10px;
}
.gcard2 {
  appearance: none;
  font: inherit;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  transition: transform 0.15s, border-color 0.15s;
  animation: cardIn 0.4s ease both;
}
.gcard2:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 212, 0, 0.45);
}
.gcard2.sel {
  border-color: var(--yellow);
  background: rgba(255, 212, 0, 0.08);
}
.gc-ic img,
.gc-ic .ph {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  object-fit: contain;
}
.gc-n {
  font-size: 15px;
}
.gc-q {
  font-size: 12px;
  color: var(--muted);
}
.gc-m {
  font-weight: 900;
  color: #7dffab;
  font-size: 17px;
}
.gc-bar {
  height: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-top: 4px;
}
.gc-bar i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--yellow), #ff8a00);
}

/* ---------- compra: planos, cupom e Pix ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(3, 4, 10, 0.75);
  backdrop-filter: blur(6px);
  animation: tabIn 0.2s ease;
}
.modal-card {
  position: relative;
  width: min(760px, 100%);
  max-height: calc(100vh - 32px);
  overflow: auto;
  padding: 24px;
  border-radius: 24px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  animation: cardIn 0.35s cubic-bezier(0.2, 1.2, 0.4, 1);
}
.modal-x {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 0;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.buy-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  margin-top: 14px;
}
@media (max-width: 600px) {
  .buy-plans {
    grid-template-columns: 1fr;
  }
}
.buy-plan {
  position: relative;
  padding: 22px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  transition: transform 0.2s, border-color 0.2s;
}
.buy-plan:hover {
  transform: translateY(-4px);
}
.buy-plan.best {
  border-color: rgba(255, 212, 0, 0.6);
  background: linear-gradient(180deg, rgba(255, 212, 0, 0.12), transparent 55%), rgba(255, 255, 255, 0.03);
}
.buy-plan h3 {
  margin: 4px 0 0;
}
.buy-plan .price {
  font-family: 'Bungee', Impact, sans-serif;
  font-size: 32px;
  margin: 8px 0 2px;
}
.buy-plan .price s,
.buy-sum s {
  font-family: 'Rubik', sans-serif;
  font-size: 15px;
  color: var(--muted);
  margin-right: 8px;
  font-weight: 700;
}
.tag-best {
  position: absolute;
  top: -11px;
  left: 18px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--yellow);
  color: #111;
  font-size: 11px;
  font-weight: 900;
}
.plan-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 16px;
  display: grid;
  gap: 6px;
  font-size: 14px;
  color: #cfd6f3;
}
.plan-list li {
  display: flex;
  gap: 8px;
  align-items: center;
}
.plan-list li::before {
  content: '';
  width: 16px;
  height: 16px;
  flex: none;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322c55e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat;
}
/* a janela de compra só aparece quando é colocada na tela */
body > #buyBox {
  display: none;
}
.coupon {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 8px 8px 8px 14px;
  border-radius: 14px;
  border: 1px dashed rgba(255, 212, 0, 0.45);
  background: rgba(255, 212, 0, 0.05);
}
.coupon svg {
  color: var(--yellow);
  flex: none;
}
.coupon input {
  border: 0;
  background: none;
  text-transform: uppercase;
  font-weight: 800;
  padding: 6px 0;
}
.coupon input:focus {
  outline: none;
}
#cpMsg.ok {
  color: #4ade80;
  display: flex;
  gap: 6px;
  align-items: center;
}
#cpMsg.bad {
  color: #f87171;
}
.buy-sum {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  margin: 10px 0 14px;
  border-radius: 14px;
  background: rgba(255, 212, 0, 0.08);
  border: 1px solid rgba(255, 212, 0, 0.3);
}
.sum-v {
  font-family: 'Bungee', Impact, sans-serif;
  font-size: 22px;
  white-space: nowrap;
}
.pix {
  text-align: center;
}
.pix .qr {
  display: inline-block;
  padding: 12px;
  border-radius: 16px;
  background: #fff;
  margin: 6px 0 12px;
}
.pix-wait {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 14px;
}
.spin {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.15);
  border-top-color: var(--yellow);
  animation: spin 0.9s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.buy-ok {
  text-align: center;
  padding: 18px 0 8px;
}
.ok-badge {
  width: 96px;
  height: 96px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: radial-gradient(circle at 30% 30%, #4ade80, #16a34a);
  box-shadow: 0 0 0 10px rgba(34, 197, 94, 0.15), 0 20px 50px rgba(34, 197, 94, 0.35);
  animation: okPop 0.6s cubic-bezier(0.2, 1.6, 0.4, 1);
}
@keyframes okPop {
  from {
    transform: scale(0.3);
    opacity: 0;
  }
}
.my-plan {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  margin: 10px 0 14px;
  border-radius: 16px;
  background: rgba(255, 212, 0, 0.06);
  border: 1px solid rgba(255, 212, 0, 0.25);
}
.my-plan > div {
  display: flex;
  flex-direction: column;
}

/* ===== pedidos de jogos ===== */
.req-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 22px 0 8px;
  padding: 16px 18px;
  border-radius: 18px;
  background: linear-gradient(120deg, rgba(168, 85, 247, 0.16), rgba(255, 61, 119, 0.12));
  border: 1px solid rgba(168, 85, 247, 0.35);
}
.req-cta p {
  margin: 2px 0 0;
}
.req-ic {
  width: 48px;
  height: 48px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 212, 0, 0.14);
  color: var(--yellow);
}
@media (max-width: 560px) {
  .req-cta {
    flex-wrap: wrap;
  }
  .req-cta .btn {
    width: 100%;
    justify-content: center;
  }
}
.req-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}
.req-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-left: 3px solid var(--yellow);
  animation: cardIn 0.35s ease both;
}
.req-row.feito {
  border-left-color: #22c55e;
}
.req-row.recusado {
  border-left-color: #64748b;
  opacity: 0.75;
}
.req-main {
  flex: 1;
  min-width: 0;
}
.req-top {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.req-desc {
  margin: 6px 0;
  color: #cdd3f0;
  font-size: 14px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.req-acts {
  display: flex;
  gap: 6px;
  flex: none;
}
@media (max-width: 560px) {
  .req-row {
    flex-direction: column;
  }
}
.chip.aberto {
  background: rgba(255, 212, 0, 0.16);
  color: var(--yellow);
}
.chip.feito {
  background: rgba(34, 197, 94, 0.18);
  color: #4ade80;
}
.chip.recusado {
  background: rgba(100, 116, 139, 0.25);
  color: #cbd5e1;
}
.count-pill {
  margin-left: 6px;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  vertical-align: middle;
  background: #ff3d77;
  color: #fff;
}
.count-pill:empty {
  display: none;
}
.pay-cp {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: #c084fc;
}
#reqModal .modal-card {
  position: relative;
}
#reqModal textarea,
#reqModal input {
  width: 100%;
}
.linklike {
  background: none;
  border: 0;
  padding: 0;
  color: #c084fc;
  font: inherit;
  font-weight: 800;
  text-decoration: underline;
  cursor: pointer;
}

/* ===== checkout: dados mínimos, segurança e termos ===== */
.ck-fields {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}
.ck-f {
  display: block;
}
.ck-f .f {
  display: block;
  margin-bottom: 6px;
}
.ck-in {
  position: relative;
  display: block;
}
.ck-in .ico {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}
.ck-in input {
  width: 100%;
  padding-left: 42px;
}
.ck-more {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px dashed var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.ck-more summary {
  cursor: pointer;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}
.ck-more summary::-webkit-details-marker {
  display: none;
}
.ck-more p {
  margin: 8px 0 10px;
}
.ck-more.need {
  border-style: solid;
  border-color: rgba(255, 212, 0, 0.5);
  background: rgba(255, 212, 0, 0.06);
}
.need-tag {
  margin-left: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  background: var(--yellow);
  color: #111;
}
.ck-f.need input {
  border-color: var(--yellow);
}
.ck-safe {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.28);
}
.ck-safe-ic {
  flex: none;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(34, 197, 94, 0.16);
  color: #4ade80;
}
.ck-safe b {
  display: block;
  font-size: 14px;
}
.ck-safe span {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}
.ck-terms {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  cursor: pointer;
  font-size: 14px;
  line-height: 1.45;
  transition: border-color 0.2s, background 0.2s;
}
.ck-terms input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.ck-box {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  border: 2px solid var(--muted);
  color: transparent;
  transition: all 0.15s;
}
.ck-terms input:checked + .ck-box {
  background: #22c55e;
  border-color: #22c55e;
  color: #fff;
}
.ck-terms input:focus-visible + .ck-box {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}
.ck-terms.bad {
  border-color: #f87171;
  background: rgba(239, 68, 68, 0.08);
}
.shake {
  animation: shake 0.4s;
}
@keyframes shake {
  20%,
  60% {
    transform: translateX(-6px);
  }
  40%,
  80% {
    transform: translateX(6px);
  }
}
.btn.loading {
  pointer-events: none;
  opacity: 0.75;
}
.terms-card {
  position: relative;
  width: min(560px, 100%);
  display: flex;
  flex-direction: column;
  max-height: 88vh;
}
.terms-body {
  flex: 1;
  overflow-y: auto;
  margin: 10px -6px 0;
  padding: 4px 6px 4px;
  min-height: 160px;
  max-height: 56vh;
  font-size: 14px;
  line-height: 1.6;
  color: #cdd3f0;
}
.terms-body h4 {
  margin: 16px 0 4px;
  color: var(--text);
  font-size: 15px;
}
.terms-body p {
  margin: 0 0 8px;
}
.terms-end {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  margin-top: 16px !important;
  color: #4ade80;
  font-weight: 800;
}
.terms-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.terms-foot span {
  flex: 1;
}
#termsModal {
  z-index: 60;
}

/* ===== pagamentos do admin: filtros, busca e totais ===== */
.pay-search {
  width: min(280px, 100%);
}
.pay-search input {
  padding-top: 9px;
  padding-bottom: 9px;
  font-size: 14px;
}
.pay-filters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 14px;
}
.pay-filters button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s;
}
.pay-filters button b {
  font-size: 22px;
  color: var(--text);
}
.pay-filters button:hover {
  background: rgba(255, 255, 255, 0.06);
}
.pay-filters button.on {
  border-color: var(--yellow);
  background: rgba(255, 212, 0, 0.1);
  color: var(--yellow);
}
.pay-filters button[data-f='pago'].on {
  border-color: #22c55e;
  background: rgba(34, 197, 94, 0.1);
  color: #4ade80;
}
.pay-filters button[data-f='falhou'].on {
  border-color: #f87171;
  background: rgba(239, 68, 68, 0.1);
  color: #f87171;
}
@media (max-width: 560px) {
  .pay-filters {
    grid-template-columns: repeat(2, 1fr);
  }
}
.pay-total {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
}
.pay-total b {
  color: var(--text);
  font-size: 16px;
}
.pay-row.s-pago {
  border-left: 3px solid #22c55e;
}
.pay-row.s-pendente {
  border-left: 3px solid var(--yellow);
}
.pay-row.s-falhou {
  border-left: 3px solid #64748b;
}
.pay-empty {
  padding: 18px 0;
  text-align: center;
}
.center-pager {
  display: flex;
  justify-content: center;
  margin-top: 12px;
}

/* ===== tela do Pix ===== */
.pix-how {
  margin: 14px auto 12px;
  padding: 0;
  list-style: none;
  counter-reset: pix;
  display: grid;
  gap: 6px;
  text-align: left;
  max-width: 340px;
  font-size: 14px;
  color: #cdd3f0;
}
.pix-how li {
  counter-increment: pix;
  display: flex;
  gap: 10px;
  align-items: center;
}
.pix-how li::before {
  content: counter(pix);
  flex: none;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 212, 0, 0.16);
  color: var(--yellow);
  font-weight: 900;
  font-size: 12px;
}
#qr {
  width: min(260px, 72vw);
  aspect-ratio: 1;
  padding: 10px;
}
#qr svg {
  display: block;
  width: 100%;
  height: 100%;
}
#qr.loading {
  background: rgba(255, 255, 255, 0.08);
  animation: pulse 1s ease-in-out infinite alternate;
}
@keyframes pulse {
  to {
    opacity: 0.5;
  }
}
#pixCopy.copied {
  background: #22c55e;
}
.pix-code {
  width: 100%;
  margin: 10px 0 12px;
  font-size: 12px;
  color: var(--muted);
  text-overflow: ellipsis;
}
.pix-meta {
  margin: 6px 0 0;
}
.pix-cancel {
  margin-top: 10px;
}

/* ===== entrar / criar conta ===== */
.g-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
  background: #fff;
  color: #1f1f1f;
  border: 1px solid #dadce0;
  font-weight: 800;
}
.g-btn:hover {
  background: #f3f4f6;
}
.g-btn.off {
  opacity: 0.55;
  cursor: not-allowed;
}
.soon-tag {
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  background: #e5e7eb;
  color: #374151;
  text-transform: uppercase;
}
.or {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 4px;
  color: var(--muted);
  font-size: 12px;
}
.or::before,
.or::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}
.pw-wrap {
  position: relative;
}
.pw-wrap input {
  width: 100%;
  padding-right: 46px;
}
.pw-eye {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.pw-eye:hover {
  color: var(--text);
}
.pw-meter {
  margin-top: 8px;
}
.pw-bars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}
.pw-bars span {
  height: 5px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.2s;
}
.pw-meter p {
  margin: 6px 0 0;
  color: var(--muted);
}
.pw-meter[data-lv='curta'] .pw-bars span.on,
.pw-meter[data-lv='fraca'] .pw-bars span.on {
  background: #ef4444;
}
.pw-meter[data-lv='media'] .pw-bars span.on {
  background: #f59e0b;
}
.pw-meter[data-lv='boa'] .pw-bars span.on {
  background: #a3e635;
}
.pw-meter[data-lv='forte'] .pw-bars span.on {
  background: #22c55e;
}
.pw-meter[data-lv='curta'] p,
.pw-meter[data-lv='fraca'] p {
  color: #f87171;
}
.pw-meter[data-lv='forte'] p {
  color: #4ade80;
}

/* ===== som da live ===== */
.sound-card {
  border-color: rgba(34, 197, 94, 0.35);
  background: linear-gradient(160deg, rgba(34, 197, 94, 0.08), transparent 45%), var(--card);
}
.sound-card.off .sound-grid,
.sound-card.off .checks,
.sound-card.off #sdTestLive {
  opacity: 0.45;
  pointer-events: none;
}
.sound-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
  margin-top: 12px;
}
.sound-grid input[type='range'] {
  width: 100%;
  margin-top: 8px;
  accent-color: #22c55e;
}
.sound-grid select {
  width: 100%;
}
@media (max-width: 640px) {
  .sound-grid {
    grid-template-columns: 1fr;
  }
}
.mini-num {
  width: 70px !important;
  display: inline-block;
  padding: 4px 8px !important;
  margin: 0 4px;
}
.sound-help {
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}
.sound-help summary {
  cursor: pointer;
  font-weight: 800;
  display: flex;
  gap: 8px;
  align-items: center;
}
.sound-help ol {
  margin: 10px 0 6px;
  padding-left: 20px;
  line-height: 1.6;
  color: #cdd3f0;
}
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 28px;
  flex: none;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.switch span {
  position: absolute;
  inset: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: background 0.2s;
}
.switch span::after {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s;
}
.switch input:checked + span {
  background: #22c55e;
}
.switch input:checked + span::after {
  transform: translateX(22px);
}
.switch input:focus-visible + span {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

/* ===== Comece aqui ===== */
.start-card {
  border-color: rgba(255, 212, 0, 0.35);
  background: radial-gradient(120% 90% at 100% 0%, rgba(255, 212, 0, 0.1), transparent 55%), var(--card);
}
.start-head {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: space-between;
}
.start-head h2 {
  margin: 2px 0 0;
}
.kicker-sm {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: var(--yellow);
}
.start-ring {
  position: relative;
  width: 58px;
  height: 58px;
  flex: none;
}
.start-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.start-ring circle {
  fill: none;
  stroke-width: 3.4;
}
.start-ring .bg {
  stroke: rgba(255, 255, 255, 0.1);
}
.start-ring .fg {
  stroke: var(--yellow);
  stroke-linecap: round;
  stroke-dasharray: 0 97.4;
  transition: stroke-dasharray 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}
.start-ring b {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 13px;
}
.start-steps {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.start-steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.2s;
}
.start-steps li b {
  display: block;
  font-size: 15px;
}
.start-steps li small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  line-height: 1.4;
}
.start-steps li .st {
  flex: none;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-weight: 900;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
}
.start-steps li.now {
  border-color: rgba(255, 212, 0, 0.55);
  background: rgba(255, 212, 0, 0.06);
}
.start-steps li.now .st {
  background: var(--yellow);
  color: #111;
}
.start-steps li.ok {
  opacity: 0.7;
}
.start-steps li.ok .st {
  background: #22c55e;
  color: #fff;
}
.start-steps li.ok b {
  text-decoration: line-through;
  text-decoration-color: rgba(255, 255, 255, 0.3);
}
.start-steps li .btn {
  flex: none;
}
@media (max-width: 560px) {
  .start-steps li {
    flex-wrap: wrap;
  }
  .start-steps li .btn {
    width: 100%;
    justify-content: center;
  }
}
.start-done {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #4ade80;
}
.start-done b {
  display: block;
  color: var(--text);
}
.start-show {
  margin-bottom: 12px;
}

/* ===== joinha nos jogos ===== */
.like-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(10, 12, 24, 0.72);
  color: #e5e7f5;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: transform 0.12s, background 0.15s, color 0.15s;
}
.like-btn.big {
  padding: 6px 14px;
  font-size: 14px;
}
.like-btn:hover {
  background: rgba(59, 130, 246, 0.25);
}
.like-btn.on {
  background: #2563eb;
  border-color: #3b82f6;
  color: #fff;
}
.like-btn.pulse {
  animation: likePop 0.35s ease;
}
@keyframes likePop {
  50% {
    transform: scale(1.25);
  }
}
.gcard {
  position: relative;
}
.gcard-likes {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 2;
}
.tag.hot {
  background: rgba(255, 61, 119, 0.18);
  color: #ff6b9a;
}

/* ===== ajuda / suporte ===== */
.help-fab {
  position: fixed;
  right: 16px;
  bottom: 96px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #8b5cf6, #ff3d77);
  color: #fff;
  font: inherit;
  font-weight: 900;
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.45);
  cursor: pointer;
  transition: transform 0.15s;
}
.help-fab:hover {
  transform: translateY(-2px);
}
.help-badge {
  position: absolute;
  top: -6px;
  right: -4px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  display: grid;
  place-items: center;
  border-radius: 99px;
  background: #ffd400;
  color: #111;
  font-size: 12px;
  animation: likePop 1.2s ease infinite;
}
@media (max-width: 560px) {
  .help-fab span {
    display: none;
  }
  .help-fab {
    padding: 14px;
  }
}
.sup-card {
  position: relative;
  width: min(520px, 100%);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
}
.sup-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 40px;
}
.sup-head h2 {
  margin: 0;
}
.sup-back {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  cursor: pointer;
}
.sup-online {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}
.sup-online span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #64748b;
}
.sup-online em {
  font-style: normal;
}
.sup-online.on span {
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
}
.sup-view {
  overflow-y: auto;
  min-height: 0;
}
.sup-kinds {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 12px;
}
.sup-kinds button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: all 0.15s;
}
.sup-kinds button:hover {
  border-color: rgba(139, 92, 246, 0.6);
  background: rgba(139, 92, 246, 0.1);
}
.sup-kinds button .ico {
  color: #c084fc;
}
.sup-kinds span {
  font-size: 12px;
  color: var(--muted);
}
.sup-sub {
  margin: 18px 0 8px;
  font-size: 15px;
}
.sup-list {
  display: grid;
  gap: 6px;
}
.sup-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.sup-item small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}
.sup-item:hover {
  background: rgba(255, 255, 255, 0.06);
}
.chip.andamento {
  background: rgba(59, 130, 246, 0.2);
  color: #93c5fd;
}
.chip.recebido {
  background: rgba(255, 212, 0, 0.16);
  color: var(--yellow);
}
.sup-view textarea,
.sup-view input {
  width: 100%;
  margin-top: 8px;
}
.sup-status {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin: 8px 0;
}
.sup-msgs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 46vh;
  min-height: 180px;
  overflow-y: auto;
  padding: 10px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.2);
  margin: 8px 0;
}
.sup-msg {
  max-width: 82%;
  padding: 8px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  align-self: flex-start;
}
.sup-msg.me {
  align-self: flex-end;
  background: #5b21b6;
}
.sup-msg.auto {
  opacity: 0.8;
  font-style: italic;
}
.sup-msg p {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.sup-msg small {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
}
.sup-sys {
  align-self: center;
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
  padding: 4px 10px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.05);
}
.sup-reply {
  display: flex;
  gap: 8px;
  align-items: flex-end;
}
.sup-reply textarea {
  flex: 1;
  resize: none;
  margin: 0;
}
.sup-states {
  margin: 10px 0 4px;
}
.sup-quick {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

/* ===== pesquisa depois da live ===== */
.sv-card {
  position: relative;
  width: min(520px, 100%);
  max-height: 90vh;
  overflow-y: auto;
}
.sv-card h2 {
  margin: 4px 0 6px;
}
.sv-sum {
  color: #cdd3f0;
  line-height: 1.5;
}
.sv-rate {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 14px 0;
}
.sv-rate button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 6px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s;
}
.sv-rate button:hover {
  transform: translateY(-2px);
}
.sv-rate button.on {
  color: #111;
  background: var(--yellow);
  border-color: var(--yellow);
}
.sv-rate button[data-v='ruim'].on {
  background: #f87171;
  border-color: #f87171;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 6px 0 12px;
}
.chips button {
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.chips button.on {
  background: rgba(139, 92, 246, 0.25);
  border-color: #a78bfa;
}
.sv-card textarea {
  width: 100%;
  margin-bottom: 8px;
}
.sv-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 8px;
  margin: 10px 0;
}
.sv-stats div {
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}
.sv-stats b {
  display: block;
  font-size: 24px;
}
.sv-stats span {
  font-size: 12px;
  color: var(--muted);
}
@media (max-width: 560px) {
  .sv-stats,
  .sv-rate {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== planos: 3 opções e aviso de renovação ===== */
.tag-best.alt {
  background: #22c55e;
  color: #fff;
}
.buy-plan h3 small {
  font-size: 13px;
  font-weight: 700;
}
.renew-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding: 12px 16px;
  border-radius: 16px;
  background: linear-gradient(120deg, rgba(255, 212, 0, 0.16), rgba(255, 61, 119, 0.12));
  border: 1px solid rgba(255, 212, 0, 0.45);
  color: var(--yellow);
}
.renew-bar span {
  color: var(--text);
  font-size: 14px;
}

/* ===== estilos prontos e configurações salvas ===== */
.style-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 12px;
}
.style-grid button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: all 0.15s;
}
.style-grid button .ico {
  color: var(--yellow);
}
.style-grid button span {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.35;
}
.style-grid button:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 212, 0, 0.5);
}
.style-grid button.on {
  border-color: var(--yellow);
  background: rgba(255, 212, 0, 0.1);
}
@media (max-width: 720px) {
  .style-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.saved-cfg {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.cfg-list {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}
.cfg-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}
.cfg-item small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.cfg-item code {
  color: var(--yellow);
  font-weight: 800;
}
.adv-toggle {
  margin: 4px 0 16px;
  justify-content: center;
}
.custom-sounds {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.custom-sounds select {
  display: block;
  margin-top: 4px;
  padding: 4px 8px;
  font-size: 13px;
}

/* ===== indique e ganhe ===== */
.ref-card {
  background: radial-gradient(120% 90% at 0% 0%, rgba(139, 92, 246, 0.14), transparent 55%), var(--card);
}
.ref-code {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px dashed rgba(167, 139, 250, 0.6);
}
.ref-code b {
  flex: 1;
  font-size: 22px;
  letter-spacing: 0.06em;
  color: #c4b5fd;
}
.ref-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}
.ref-stats div {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}
.ref-stats b {
  display: block;
  font-size: 22px;
}
.ref-stats span {
  font-size: 12px;
  color: var(--muted);
}

/* ===== vitrine do criador com IA ===== */
.ai-demo {
  width: 100%;
  margin-bottom: 10px;
}
.ai-prompt {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-top: 6px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.4);
  color: #e9d5ff;
  font-size: 14px;
  line-height: 1.45;
}
.ai-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.ai-steps span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  background: rgba(34, 197, 94, 0.14);
  color: #4ade80;
}

/* placar: nome do jogo, estado e modo "aguardando a live" */
.sc-game {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}
.score.solo {
  grid-template-columns: 1fr;
}
.score.solo .team {
  display: none;
}
.score.sleeping .phase {
  color: #f87171;
}
.score.sleeping .phase::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 6px;
  border-radius: 50%;
  background: #ef4444;
  animation: livePulse 1.4s infinite;
  vertical-align: middle;
}
@keyframes livePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
  }
}

/* ===== admin: usuários e avisos pessoais ===== */
.usr-filter {
  margin-top: 10px;
  flex-wrap: wrap;
}
.usr-item {
  gap: 12px;
}
.usr-dot {
  width: 10px;
  height: 10px;
  flex: none;
  border-radius: 50%;
  background: #475569;
}
.usr-dot.on {
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
}
.usr-paid {
  font-size: 13px;
  color: #4ade80;
}
.au-card {
  position: relative;
  width: min(640px, 100%);
  max-height: 90vh;
  overflow-y: auto;
}
.au-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 40px;
  margin-bottom: 12px;
}
.au-head > div {
  flex: 1;
}
.au-tabs {
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.au-view textarea,
.au-view input,
.au-view select {
  width: 100%;
}
.au-view textarea {
  margin-top: 8px;
}
.notice-card {
  position: relative;
  width: min(560px, 100%);
  text-align: center;
}
.nt-ic {
  width: 64px;
  height: 64px;
  margin: 0 auto 10px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: rgba(139, 92, 246, 0.18);
  color: #c4b5fd;
}
.nt-text {
  white-space: pre-wrap;
  line-height: 1.6;
  color: #e5e7f5;
  font-size: 16px;
}
#noticeModal {
  z-index: 70;
}
.offer-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding: 12px 16px;
  border-radius: 16px;
  background: linear-gradient(120deg, rgba(34, 197, 94, 0.18), rgba(255, 212, 0, 0.12));
  border: 1px solid rgba(34, 197, 94, 0.5);
  color: #4ade80;
}
.offer-bar span {
  color: var(--text);
  font-size: 14px;
}
.offer-plan {
  border-color: #22c55e !important;
}
.offer-note {
  color: #cdd3f0;
  font-style: italic;
}

/* presentes: cabeçalho, passo a passo e valor */
.how3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 6px 0 10px;
}
.how3 div {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  font-size: 13px;
}
.how3 > div > b {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--yellow);
  color: #111;
  font-size: 13px;
}
.gift-head {
  display: grid;
  grid-template-columns: 60px 1.4fr 1.2fr 1.3fr 80px 40px;
  gap: 8px;
  padding: 0 8px 0 13px;
  margin: 8px 0 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.gift-row {
  grid-template-columns: 60px 1.4fr 1.2fr 1.3fr 80px 40px;
}
.gift-row .ic small {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: var(--yellow);
  line-height: 1.1;
}
.img-fb {
  display: inline-grid;
  place-items: center;
  color: var(--muted);
}
@media (max-width: 760px) {
  .how3 {
    grid-template-columns: 1fr;
  }
  .gift-head {
    display: none;
  }
  .gift-row {
    grid-template-columns: 60px 1fr 40px;
  }
}

/* editor de tela (beta) */
.beta-tag {
  font-size: 10px;
  letter-spacing: 0.08em;
  background: linear-gradient(90deg, #7c3aed, #ff3d77);
  color: #fff;
  padding: 3px 8px;
  border-radius: 999px;
  vertical-align: middle;
  margin-left: 6px;
}
.ed-wrap {
  display: grid;
  grid-template-columns: minmax(220px, 300px) 1fr;
  gap: 18px;
  margin-top: 10px;
  align-items: start;
}
.ed-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  overflow: hidden;
  background: #0b0d18;
  border: 1px solid var(--line);
  touch-action: none;
  user-select: none;
}
.ed-stage iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}
.ed-boxes {
  position: absolute;
  inset: 0;
}
.ed-box {
  position: absolute;
  border: 1px dashed rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  cursor: grab;
  transition: background 0.15s;
}
.ed-box:hover {
  background: rgba(255, 212, 0, 0.1);
}
.ed-box:active {
  cursor: grabbing;
}
.ed-box span {
  position: absolute;
  left: 4px;
  top: 2px;
  font-size: 9px;
  font-weight: 800;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  padding: 1px 5px;
  border-radius: 4px;
  pointer-events: none;
  opacity: 0;
}
.ed-box:hover span,
.ed-box.on span {
  opacity: 1;
}
.ed-box.on {
  border: 2px solid var(--yellow);
  box-shadow: 0 0 0 2px rgba(255, 212, 0, 0.25);
}
.ed-box.off {
  background: repeating-linear-gradient(45deg, rgba(255, 70, 70, 0.18) 0 6px, transparent 6px 12px);
  border-color: rgba(255, 90, 90, 0.6);
}
.ed-els {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.ed-els button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border-radius: 999px;
  padding: 7px 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.ed-els button.on {
  background: var(--yellow);
  color: #111;
  border-color: var(--yellow);
}
.ed-els button.off {
  text-decoration: line-through;
  opacity: 0.6;
}
.ed-nudge {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}
.chk {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}
.chk input {
  width: auto;
}
@media (max-width: 760px) {
  .ed-wrap {
    grid-template-columns: 1fr;
  }
  .ed-stage {
    max-width: 280px;
    margin: 0 auto;
  }
}

/* celular: nada pode passar da largura da tela (antes dava pra arrastar a página pro lado) */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}
.top .wrap.row {
  min-width: 0;
  gap: 6px;
}
.top .pill,
.pf-switch {
  min-width: 0;
  max-width: 34vw;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
@media (max-width: 520px) {
  .top .brand {
    font-size: 0;
    gap: 0;
  }
  .top .brand .brand-logo {
    margin: 0;
  }
  #pfLabel {
    display: none;
  }
  .icon-btn {
    margin-left: 0;
  }
  .tname {
    font-size: clamp(9px, 2.9vw, 13px);
  }
  .tabs {
    gap: 0;
    padding-left: 2px;
    padding-right: 2px;
  }
  .tabs button {
    font-size: 10px;
    min-width: 0;
  }
}

@media (max-width: 520px) {
  .saved-cfg .row h3 {
    flex-basis: 100%;
  }
}
.dlg p { white-space: pre-line; }

/* saúde do Pix e defesa */
.hc-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
  margin: 12px 0;
}
.hc-stats > div {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hc-stats b {
  font-size: 22px;
}
.hc-stats span {
  font-size: 12px;
  color: var(--muted);
}
.hc-stats .bad b {
  color: #ff5a6e;
}
.hc-stats .warn b {
  color: var(--yellow);
}
.hc-stats .ok b {
  color: #3ddc84;
}
.pay-def {
  white-space: nowrap;
}
.def-card {
  max-width: 760px;
}
.def-facts {
  display: grid;
  gap: 4px;
  margin: 10px 0;
  max-height: 260px;
  overflow: auto;
}
.def-facts > div {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 10px;
  font-size: 13px;
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}
.def-facts span {
  color: var(--muted);
}
.def-tl {
  display: grid;
  gap: 4px;
  max-height: 240px;
  overflow: auto;
}
.def-tl > div {
  display: grid;
  grid-template-columns: 150px 220px 1fr;
  gap: 8px;
  font-size: 13px;
  padding: 5px 8px;
  border-bottom: 1px solid var(--line);
}
.ck-antimed {
  margin-top: 8px;
}
@media (max-width: 600px) {
  .def-facts > div,
  .def-tl > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}
.pay-row:has(.pay-def) {
  grid-template-columns: 1fr auto auto auto auto;
}
@media (max-width: 600px) {
  .pay-row:has(.pay-def) {
    grid-template-columns: 1fr auto;
  }
}

/* roblox: desfile de skins */
.rbx-card {
  max-width: 640px;
}
.rbx-status {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 10px;
  align-items: center;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  margin: 10px 0;
}
.rbx-status .dot {
  grid-row: span 2;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #f59e0b;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.2);
}
.rbx-status.on .dot {
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.25);
}
.rbx-steps {
  display: grid;
  gap: 10px;
  padding-left: 0;
  list-style: none;
  counter-reset: rbx;
}
.rbx-steps li {
  counter-increment: rbx;
  display: grid;
  gap: 6px;
  padding: 12px 12px 12px 52px;
  position: relative;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  font-size: 14px;
}
.rbx-steps li::before {
  content: counter(rbx);
  position: absolute;
  left: 12px;
  top: 12px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  color: #fff;
  font-weight: 900;
}
.rbx-steps li .btn {
  justify-self: start;
}
.rbx-how {
  display: grid;
  gap: 4px;
  font-size: 13px;
  padding: 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.18), rgba(236, 72, 153, 0.12));
  margin: 12px 0;
}

/* editor de tela v2 */
.ed-tpl {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-top: 10px;
}
.ed-tpl button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border-radius: 10px;
  padding: 6px 10px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.ed-tpl button:hover {
  border-color: var(--yellow);
}
.ed-safe {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.ed-safe i {
  position: absolute;
  background: repeating-linear-gradient(45deg, rgba(255, 61, 119, 0.28) 0 8px, rgba(255, 61, 119, 0.12) 8px 16px);
  color: #fff;
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
  display: grid;
  place-items: center;
  text-align: center;
  text-shadow: 0 1px 2px #000;
}
.ed-safe .z-top {
  left: 0;
  top: 0;
  width: 100%;
  height: 6.15%;
}
.ed-safe .z-right {
  left: 86.1%;
  top: 39.6%;
  width: 13.9%;
  height: 39.6%;
  writing-mode: vertical-rl;
}
.ed-safe .z-bottom {
  left: 0;
  top: 69.3%;
  width: 100%;
  height: 30.7%;
}
#edWarn {
  color: #ffb4c2;
}
.ed-logo {
  margin-top: 12px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}
.ed-logo summary {
  cursor: pointer;
  font-weight: 800;
  display: flex;
  gap: 8px;
  align-items: center;
}
