/* Ajustes das telas em React: nick compartilhado, navbar e resgate semanal. */

/* ---------- Tipos de recompensa ---------- */

.reward-type {
  min-width: 0;
}

/* `.reward-type span` (do CSS base) tem especificidade maior e transformava
   o quadrado em bloco, deslocando o ícone para baixo. */
.reward-type .reward-type__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  color: var(--accent, var(--gold));
  font-size: initial;
  line-height: 0;
}

.reward-type__icon .icon,
.reward-type__icon svg {
  display: block;
  flex: none;
  width: 1rem;
  height: 1rem;
  margin: 0;
}

/* ---------- Nick na navbar ---------- */

.nav-player {
  appearance: none;
  border: 1px solid #ffffff24;
  background: #ffffff0a;
  color: #fff;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  height: 2.55rem;
  padding: 0 0.72rem 0 0.38rem;
  font: inherit;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s;
}

.nav-player:hover,
.nav-player:focus-visible {
  background: #4ade801a;
  border-color: #4ade8073;
  outline: none;
  transform: translateY(-1px);
}

.nav-player--selected {
  background: #4ade800f;
  border-color: #4ade8047;
}

.nav-player__icon {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 0.5rem;
  background: #ffffff0d;
  color: var(--mint-bright);
  display: grid;
  place-items: center;
  flex: none;
}

.nav-player__icon svg {
  width: 1rem;
  height: 1rem;
}

.nav-player__name {
  color: #f1f5f9;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  max-width: 7.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-player .player-badge {
  font-size: 0.44rem;
  padding: 0.1rem 0.3rem;
}

.player-head-wrap--nav {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 0.45rem;
}

.player-head-wrap--menu {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.6rem;
}

@media (max-width: 1180px) {
  .nav-player {
    width: 2.55rem;
    padding: 0;
    justify-content: center;
  }

  .nav-player__name,
  .nav-player .player-badge {
    display: none;
  }
}

/* ---------- Nick no menu móvel ---------- */

.mobile-menu__player {
  appearance: none;
  width: 100%;
  border: 1px solid var(--line);
  background: #ffffff06;
  color: #fff;
  border-radius: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.68rem 0.72rem;
  margin-bottom: 0.7rem;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.mobile-menu__player:hover,
.mobile-menu__player:focus-visible {
  border-color: #4ade8052;
  background: #4ade800f;
  outline: none;
}

.mobile-menu__player--selected {
  border-color: #4ade8047;
  background: #4ade800f;
}

.mobile-menu__player-icon,
.mobile-menu__player-info {
  flex: none;
}

.mobile-menu__player-icon {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.6rem;
  background: #ffffff0d;
  color: var(--mint-bright);
  display: grid;
  place-items: center;
}

.mobile-menu__player-icon svg {
  width: 1.1rem;
  height: 1.1rem;
}

.mobile-menu__player-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.16rem;
}

.mobile-menu__player-info small {
  color: var(--muted-2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.54rem;
  font-weight: 700;
}

.mobile-menu__player-info strong {
  color: #fff;
  font-size: 0.88rem;
  font-weight: 800;
  max-width: 12rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-menu__player .player-badge {
  flex: none;
}

.mobile-menu__player-action {
  color: var(--muted-2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.56rem;
  font-weight: 800;
  margin-left: auto;
  flex: none;
}

/* ---------- Diálogo de escolha do nick ---------- */

.player-picker-modal__body {
  display: grid;
  gap: 0.85rem;
}

.player-picker-modal__body .checkout-help {
  margin: 0;
}

.player-picker-modal__note,
.chest-claim-note {
  color: var(--muted-2);
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  margin: 0;
  font-size: 0.64rem;
  line-height: 1.5;
}

.player-picker-modal__note svg,
.chest-claim-note svg {
  width: 0.9rem;
  height: 0.9rem;
  flex: none;
  color: var(--mint-bright);
  margin-top: 0.04rem;
}

/* ---------- Resgate da chave semanal ---------- */

/* O corpo herdava o grid de duas colunas do modal de produto, espremendo
   cada item em metade da largura. */
dialog.chest-claim-modal {
  width: min(35rem, 100vw - 2rem);
}

.chest-claim-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  gap: 0.9rem;
  max-height: min(80vh, 42rem);
}

.chest-claim-body .checkout-label {
  margin-bottom: -0.4rem;
}

.chest-claim-intro {
  border: 1px solid #facc1533;
  background: #facc150f;
  border-radius: 0.85rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.8rem 0.9rem;
}

.chest-claim-intro__icon {
  width: 2rem;
  height: 2rem;
  border: 1px solid #facc1566;
  background: #facc1514;
  color: var(--gold);
  border-radius: 0.55rem;
  display: grid;
  place-items: center;
  flex: none;
}

.chest-claim-intro__icon svg {
  width: 1rem;
  height: 1rem;
}

.chest-claim-intro p {
  color: var(--muted);
  margin: 0;
  font-size: 0.74rem;
  line-height: 1.6;
}

.chest-claim-success {
  text-align: center;
  display: grid;
  gap: 0.8rem;
  justify-items: center;
  width: 100%;
  padding: 0.9rem 0 0.2rem;
}

.chest-claim-success__icon {
  width: 4rem;
  height: 4rem;
  border: 1px solid #facc1566;
  background: radial-gradient(circle, #facc1529 0%, #facc150a 70%);
  color: var(--gold);
  border-radius: 999px;
  display: grid;
  place-items: center;
  box-shadow: 0 0 28px #facc152e;
}

.chest-claim-success__icon svg {
  width: 1.8rem;
  height: 1.8rem;
}

.chest-claim-success h3 {
  color: #fff;
  font-size: 1.18rem;
  font-weight: 900;
  line-height: 1.25;
  margin: 0;
}

.chest-claim-success > p {
  color: var(--muted);
  margin: 0;
  max-width: 30rem;
  font-size: 0.8rem;
  line-height: 1.65;
}

.chest-claim-success__player {
  width: 100%;
  border: 1px solid #4ade8047;
  background: #4ade800f;
  border-radius: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.8rem;
  text-align: left;
}

.chest-claim-success__player .player-selected__info {
  min-width: 0;
}

.chest-claim-note {
  font-size: 0.68rem;
}

.chest-claim-success__next {
  color: var(--muted-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin: 0;
  font-size: 0.68rem;
  line-height: 1.5;
}

.chest-claim-success__next svg {
  width: 0.9rem;
  height: 0.9rem;
  flex: none;
  color: var(--gold);
}

.chest-claim-success .btn {
  margin-top: 0.15rem;
}

@media (max-width: 479px) {
  .mobile-menu__player-info strong {
    max-width: 8.5rem;
  }

  .nav-player {
    display: none;
  }

  dialog.chest-claim-modal {
    width: calc(100vw - 1rem);
    border-radius: 1rem;
  }

  .chest-claim-body {
    gap: 0.8rem;
    padding: 1rem;
    max-height: 82vh;
  }

  .chest-claim-intro {
    padding: 0.72rem 0.78rem;
  }

  .chest-claim-success {
    gap: 0.7rem;
    padding-top: 0.5rem;
  }

  .chest-claim-success h3 {
    font-size: 1.08rem;
  }

  .chest-claim-success > p {
    font-size: 0.76rem;
  }
}

/* ---------- Top Money (RankUP) ---------- */

.topmoney-section {
  position: relative;
  overflow: hidden;
}

.topmoney-section .shell {
  position: relative;
  z-index: 1;
}

.topmoney-glow {
  position: absolute;
  z-index: 0;
  top: 6rem;
  left: 50%;
  width: min(72rem, 92vw);
  height: 44rem;
  transform: translateX(-50%);
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 42%, #facc1514 0%, transparent 58%),
    radial-gradient(ellipse at 50% 72%, #4ade800d 0%, transparent 62%);
}

.topmoney-head {
  align-items: flex-end;
}

.topmoney-stamp {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid #facc1533;
  border-radius: 1rem;
  background: linear-gradient(140deg, #facc1514, #facc1504);
  box-shadow: inset 0 1px #ffffff12;
  flex: none;
}

.topmoney-stamp__icon {
  width: 2.2rem;
  height: 2.2rem;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid #facc1533;
  border-radius: 0.65rem;
  background: #facc1514;
  color: var(--gold);
}

.topmoney-stamp__icon svg {
  width: 1.1rem;
  height: 1.1rem;
}

.topmoney-stamp small {
  display: block;
  color: var(--muted-2);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.topmoney-stamp strong {
  display: block;
  margin-top: 0.12rem;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
}

.topmoney-podium {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: clamp(0.75rem, 1.6vw, 1.2rem);
}

.topmoney-card--1 {
  grid-column: 2;
  grid-row: 1;
  --topmoney-stage: 20rem;
}

.topmoney-card--2 {
  grid-column: 1;
  grid-row: 1;
  --topmoney-stage: 16.5rem;
}

.topmoney-card--3 {
  grid-column: 3;
  grid-row: 1;
  --topmoney-stage: 15rem;
}

.topmoney-card {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--accent, var(--gold));
  border-color: color-mix(in srgb, var(--accent, var(--gold)) 26%, var(--line));
  border-radius: 1.25rem;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--accent, var(--gold)) 7%, transparent), transparent 42%),
    linear-gradient(180deg, #111a2e 0%, #090e1d 100%);
  box-shadow:
    0 30px 70px -38px #000,
    inset 0 1px #ffffff10;
  transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.topmoney-card--1 {
  background:
    linear-gradient(180deg, #facc1514, transparent 46%),
    linear-gradient(180deg, #14203a 0%, #090e1d 100%);
  box-shadow:
    0 34px 80px -36px #000,
    0 0 44px -18px #facc1547,
    inset 0 1px #ffffff14;
}

.topmoney-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  height: 2px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent, var(--gold)) 72%, transparent), transparent);
  opacity: 0.8;
  pointer-events: none;
}

.topmoney-card:hover {
  border-color: color-mix(in srgb, var(--accent, var(--gold)) 48%, var(--line));
  box-shadow:
    0 34px 80px -36px #000,
    0 0 38px -14px color-mix(in srgb, var(--accent, var(--gold)) 42%, transparent),
    inset 0 1px #ffffff16;
}

.topmoney-card__rank {
  position: absolute;
  z-index: 3;
  top: 0.8rem;
  left: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.6rem 0.3rem 0.45rem;
  border: 1px solid color-mix(in srgb, var(--accent, var(--gold)) 42%, transparent);
  border-radius: 999px;
  background: #040814d9;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--accent, var(--gold));
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  box-shadow: 0 6px 18px -10px #000;
}

.topmoney-card__rank svg {
  width: 0.9rem;
  height: 0.9rem;
}

.topmoney-card--1 .topmoney-card__rank {
  border-color: #fde68a99;
  background: linear-gradient(135deg, #fde047, #facc15 55%, #eab308);
  color: #241a02;
  box-shadow: 0 8px 22px -10px #facc15a6;
}

.topmoney-card__stage {
  position: relative;
  height: var(--topmoney-stage, 16rem);
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid #ffffff0d;
  background:
    radial-gradient(ellipse at 50% 82%, color-mix(in srgb, var(--accent, var(--gold)) 16%, transparent) 0%, transparent 58%),
    linear-gradient(180deg, #0b1222 0%, #060a15 100%);
}

.topmoney-card__stage::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(#ffffff05 1px, transparent 1px),
    linear-gradient(90deg, #ffffff05 1px, transparent 1px);
  background-size: 2rem 2rem;
  -webkit-mask-image: radial-gradient(ellipse at 50% 62%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse at 50% 62%, #000 0%, transparent 72%);
}

.topmoney-card__halo {
  position: absolute;
  top: 46%;
  left: 50%;
  width: 72%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent, var(--gold)) 20%, transparent) 0%, transparent 66%);
  filter: blur(4px);
  pointer-events: none;
}

.topmoney-card__pedestal {
  position: absolute;
  bottom: 8%;
  left: 50%;
  width: 56%;
  height: 1rem;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse, color-mix(in srgb, var(--accent, var(--gold)) 42%, transparent) 0%, transparent 70%);
  filter: blur(2px);
  pointer-events: none;
}

.topmoney-card__pedestal::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent, var(--gold)) 68%, transparent), transparent);
}

.player-skin3d {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
}

.player-skin3d__canvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: pan-y;
  outline: none;
}

.player-skin3d__canvas:active {
  cursor: grabbing;
}

.player-skin3d__fallback {
  position: absolute;
  top: 48%;
  left: 50%;
  width: clamp(4.5rem, 34%, 7rem);
  height: auto;
  transform: translate(-50%, -50%);
  padding: 0.25rem;
  border: 1px solid color-mix(in srgb, var(--accent, var(--gold)) 40%, transparent);
  border-radius: 0.9rem;
  background: #05070f;
  box-shadow: 0 18px 40px -20px #000;
  image-rendering: pixelated;
}

.player-skin3d__preview {
  position: absolute;
  top: 46%;
  left: 50%;
  width: 3.2rem;
  height: 3.2rem;
  transform: translate(-50%, -50%);
  border-radius: 0.8rem;
  opacity: 0.45;
  filter: blur(1px) saturate(0.9);
  image-rendering: pixelated;
  pointer-events: none;
  transition: opacity 0.35s ease, filter 0.35s ease;
}

.player-skin3d__preview.is-hidden {
  opacity: 0;
  filter: blur(6px);
}

.topmoney-card__info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1rem 1.15rem;
  text-align: center;
}

.topmoney-card__name {
  max-width: 100%;
  overflow: hidden;
  color: #fff;
  font-size: clamp(0.95rem, 1.1vw, 1.08rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topmoney-card--1 .topmoney-card__name {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
}

.topmoney-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.topmoney-card__value {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.26rem 0.58rem;
  border: 1px solid color-mix(in srgb, var(--accent, var(--gold)) 30%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent, var(--gold)) 10%, transparent);
  color: var(--accent, var(--gold));
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1;
}

.topmoney-card__value .icon {
  width: 0.85rem;
  height: 0.85rem;
}

.topmoney-card__value span {
  color: var(--muted-2);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.topmoney-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin: 1.35rem 0 0;
  color: var(--muted-2);
  font-size: 0.66rem;
}

.topmoney-hint svg {
  width: 0.9rem;
  height: 0.9rem;
  color: var(--gold);
}

.topmoney-card--skeleton {
  border-color: var(--line);
  background: #0b1020;
  pointer-events: none;
}

.topmoney-skeleton {
  display: block;
  background: linear-gradient(90deg, #ffffff06 25%, #ffffff12 37%, #ffffff06 63%);
  background-size: 400% 100%;
  animation: topmoneyShimmer 1.5s ease infinite;
}

.topmoney-skeleton--stage {
  height: var(--topmoney-stage, 16rem);
}

.topmoney-skeleton--line {
  width: 58%;
  height: 0.85rem;
  margin: 1rem auto 0.55rem;
  border-radius: 999px;
}

.topmoney-skeleton--pill {
  width: 38%;
  height: 0.7rem;
  margin: 0 auto 1.2rem;
  border-radius: 999px;
}

@keyframes topmoneyShimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

.topmoney-state {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem;
  border: 1px dashed var(--line-strong);
  border-radius: 1.2rem;
  background: #ffffff05;
  text-align: left;
}

.topmoney-state__icon {
  width: 2.8rem;
  height: 2.8rem;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid #facc1533;
  border-radius: 0.8rem;
  background: #facc150f;
  color: var(--gold);
}

.topmoney-state__icon svg {
  width: 1.3rem;
  height: 1.3rem;
}

.topmoney-state__copy strong {
  display: block;
  color: #fff;
  font-size: 0.9rem;
}

.topmoney-state__copy p {
  margin: 0.2rem 0 0;
  color: var(--muted-2);
  font-size: 0.75rem;
  line-height: 1.5;
}

.topmoney-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 860px) {
  .topmoney-head {
    align-items: flex-start;
  }

  .topmoney-stamp {
    display: none;
  }

  .topmoney-podium {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .topmoney-card--1 {
    grid-column: 1 / -1;
    grid-row: 1;
    --topmoney-stage: 18rem;
  }

  .topmoney-card--2 {
    grid-column: 1;
    grid-row: 2;
    --topmoney-stage: 15rem;
  }

  .topmoney-card--3 {
    grid-column: 2;
    grid-row: 2;
    --topmoney-stage: 15rem;
  }
}

@media (max-width: 560px) {
  .topmoney-podium {
    grid-template-columns: minmax(0, 1fr);
  }

  .topmoney-card--1,
  .topmoney-card--2,
  .topmoney-card--3 {
    grid-column: 1;
  }

  .topmoney-card--1 {
    grid-row: 1;
    --topmoney-stage: 17rem;
  }

  .topmoney-card--2 {
    grid-row: 2;
    --topmoney-stage: 15rem;
  }

  .topmoney-card--3 {
    grid-row: 3;
    --topmoney-stage: 15rem;
  }

  .topmoney-card__name {
    font-size: 0.98rem;
  }

  .topmoney-state {
    text-align: center;
    justify-content: center;
  }
}

/* ---------- Duração do produto e CTA do modal ---------- */

.product-modal__durations {
  margin: 0 0 0.25rem;
}

.product-modal__durations-label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--muted-2);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.duration-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(6.5rem, 1fr));
  gap: 0.5rem;
}

.duration-option {
  display: grid;
  gap: 0.18rem;
  padding: 0.65rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}

.duration-option strong {
  color: #f1f5f9;
  font-size: 0.8rem;
  font-weight: 800;
}

.duration-option span {
  color: var(--mint-bright);
  font-size: 0.72rem;
  font-weight: 800;
}

.duration-option:hover {
  border-color: var(--line-strong);
}

.duration-option:focus-visible {
  outline: 2px solid var(--mint-bright);
  outline-offset: 2px;
}

.duration-option.is-active {
  border-color: rgba(52, 211, 153, 0.65);
  background: rgba(16, 185, 129, 0.12);
}

.duration-option.is-active strong {
  color: #fff;
}

.product-modal__actions {
  margin-top: 1.25rem;
}

/* ---------- Select de duração no card ---------- */

.product-card__duration {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.9rem;
}

.product-card__duration-label {
  color: var(--muted-2);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.duration-select {
  width: 100%;
  min-height: 2.4rem;
  padding: 0.5rem 2rem 0.5rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background-color: rgba(255, 255, 255, 0.035);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' 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 0.65rem center;
  background-size: 0.8rem;
  color: #f1f5f9;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  appearance: none;
  transition: border-color 0.2s, background-color 0.2s;
}

.duration-select:hover {
  border-color: var(--line-strong);
  background-color: rgba(255, 255, 255, 0.055);
}

.duration-select:focus-visible {
  outline: 2px solid var(--mint-bright);
  outline-offset: 2px;
}

.duration-select option {
  background: #0d0f1f;
  color: #f1f5f9;
}

/* ---------- Carregamento e estados do catálogo ---------- */

.product-card--skeleton {
  pointer-events: none;
}

.skeleton-block {
  display: block;
  border-radius: 0.45rem;
  background: linear-gradient(90deg, #ffffff06 25%, #ffffff12 37%, #ffffff06 63%);
  background-size: 400% 100%;
  animation: catalogShimmer 1.5s ease infinite;
}

.product-skeleton__title {
  width: 4.5rem;
  height: 1.05rem;
}

.product-skeleton__eyebrow {
  width: 6.5rem;
  height: 0.55rem;
  margin-top: 0.6rem;
}

.product-skeleton__tag {
  width: 4rem;
  height: 1.35rem;
  border-radius: 999px;
}

.product-card__visual.product-skeleton__visual {
  background: linear-gradient(90deg, #ffffff06 25%, #ffffff12 37%, #ffffff06 63%);
  background-size: 400% 100%;
  animation: catalogShimmer 1.5s ease infinite;
}

.product-skeleton__visual::before,
.product-skeleton__visual::after {
  content: none;
}

.product-skeleton__line {
  height: 0.7rem;
  margin-top: 0.5rem;
}

.product-skeleton__line--short {
  width: 72%;
}

.product-skeleton__chip {
  width: 5.75rem;
  height: 1.4rem;
  border-radius: 999px;
}

.product-skeleton__price {
  width: 6rem;
  height: 1.45rem;
  margin-top: 1.1rem;
}

.product-skeleton__button {
  width: 100%;
  height: 2.85rem;
  border-radius: 999px;
}

@keyframes catalogShimmer {
  0% {
    background-position: 100% 0;
  }

  100% {
    background-position: -100% 0;
  }
}

.catalog-loading {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  color: var(--muted-2);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.catalog-loading__spinner {
  width: 0.95rem;
  height: 0.95rem;
  flex: none;
  border: 2px solid rgba(255, 255, 255, 0.14);
  border-top-color: var(--mint-bright);
  border-radius: 50%;
  animation: catalogSpin 0.8s linear infinite;
}

@keyframes catalogSpin {
  to {
    transform: rotate(360deg);
  }
}

.catalog-state {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.15rem 1.25rem;
  border: 1px dashed var(--line-strong);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.02);
}

.catalog-state__icon {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  flex: none;
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--mint-bright);
}

.catalog-state__icon svg {
  width: 1.2rem;
  height: 1.2rem;
}

.catalog-state__copy {
  display: grid;
  gap: 0.2rem;
}

.catalog-state__copy strong {
  color: #fff;
  font-size: 0.86rem;
  font-weight: 800;
}

.catalog-state__copy p {
  margin: 0;
  color: var(--muted-2);
  font-size: 0.74rem;
  line-height: 1.5;
}

.catalog-state .btn {
  min-height: 2.4rem;
  margin-left: auto;
  flex: none;
}

@media (max-width: 600px) {
  .catalog-state {
    flex-wrap: wrap;
  }

  .catalog-state .btn {
    width: 100%;
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .skeleton-block,
  .product-card__visual.product-skeleton__visual,
  .catalog-loading__spinner {
    animation: none;
  }
}

/* ---------- Loja em breve (VITE_STORE_ENABLED=false) ---------- */

.nav-soon {
  margin-left: 0.4rem;
  padding: 0.12rem 0.4rem;
  border: 1px solid rgba(250, 204, 21, 0.32);
  border-radius: 999px;
  background: rgba(250, 204, 21, 0.08);
  color: var(--gold);
  font-size: 0.48rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  white-space: nowrap;
}

.mobile-menu__link .mobile-menu__label {
  display: inline-flex;
  align-items: center;
  color: inherit;
  font-size: inherit;
  letter-spacing: inherit;
}

.mobile-menu__label .nav-soon {
  margin-left: 0.5rem;
}

.mobile-menu__link .nav-soon {
  color: var(--gold);
  font-size: 0.52rem;
  letter-spacing: 0.12em;
}

.store-soon__shell {
  display: grid;
  place-items: center;
}

.store-soon {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 0.85rem;
  width: 100%;
  max-width: 46rem;
  padding: clamp(2rem, 5vw, 3.5rem);
  border: 1px dashed var(--line-strong);
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at 50% 0%, rgba(34, 197, 94, 0.14), transparent 62%),
    rgba(255, 255, 255, 0.02);
  text-align: center;
}

.store-soon__icon {
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--mint-bright);
}

.store-soon__icon svg {
  width: 1.7rem;
  height: 1.7rem;
}

.store-soon__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  border: 1px solid rgba(250, 204, 21, 0.38);
  border-radius: 999px;
  background: rgba(250, 204, 21, 0.08);
  color: var(--gold);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.store-soon__badge svg {
  width: 0.8rem;
  height: 0.8rem;
}

.store-soon .section-title {
  margin-top: 0.15rem;
}

.store-soon .lede {
  max-width: 34rem;
  margin-top: 0;
}

.store-soon__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.store-soon__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.store-soon__chip svg {
  width: 0.95rem;
  height: 0.95rem;
  color: var(--mint-bright);
}

.store-soon__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 0.5rem;
}

.store-soon__note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.2rem;
  color: var(--muted-2);
  font-size: 0.7rem;
  line-height: 1.5;
}

.store-soon__note svg {
  width: 0.9rem;
  height: 0.9rem;
  flex: none;
  color: var(--mint-bright);
}

@media (max-width: 600px) {
  .store-soon {
    padding: 1.75rem 1.25rem;
  }

  .store-soon__actions {
    width: 100%;
  }

  .store-soon__actions .btn {
    width: 100%;
  }
}

/* ---------- Documentos legais ---------- */

.legal-hero {
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.legal-shell {
  position: relative;
  z-index: 1;
}

.legal-hero__head {
  max-width: 860px;
}

.legal-hero__head .lede {
  max-width: 720px;
}

.legal-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.1rem;
  color: var(--muted-2);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-meta svg {
  width: 0.95rem;
  height: 0.95rem;
  color: var(--mint-bright);
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
  margin-top: clamp(2rem, 5vw, 3.5rem);
}

.legal-toc {
  padding: 1.1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.025);
}

.legal-toc__label {
  color: var(--muted-2);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.legal-toc nav {
  margin-top: 0.85rem;
}

.legal-toc ol {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal-toc a {
  display: block;
  margin-inline: -0.45rem;
  padding: 0.3rem 0.45rem;
  border-radius: 0.45rem;
  color: var(--muted-2);
  font-size: 0.74rem;
  line-height: 1.45;
  text-decoration: none;
  transition: color 0.2s, background-color 0.2s;
}

.legal-toc a:hover,
.legal-toc a:focus-visible {
  background: rgba(74, 222, 128, 0.08);
  color: #fff;
  outline: none;
}

.legal-toc__other {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--mint-bright);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.legal-toc__other svg {
  width: 0.95rem;
  height: 0.95rem;
}

.legal-toc__other:hover {
  color: #86efac;
}

.legal-content {
  max-width: 820px;
  min-width: 0;
}

.legal-content > section {
  scroll-margin-top: calc(var(--header-h) + 1.5rem);
}

.legal-content > section + section {
  margin-top: 2.25rem;
  padding-top: 2.25rem;
  border-top: 1px solid var(--line);
}

.legal-content h2 {
  color: var(--text);
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.legal-content h3 {
  margin-top: 1.45rem;
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.35;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.8;
}

.legal-content p {
  margin-top: 0.85rem;
}

.legal-content ul {
  margin-top: 0.9rem;
  padding-left: 1.2rem;
  list-style: disc;
}

.legal-content li + li {
  margin-top: 0.45rem;
}

.legal-content strong {
  color: var(--text);
  font-weight: 700;
}

.legal-content code {
  padding: 0.12rem 0.35rem;
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  background: rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
  font-family: var(--font-mono);
  font-size: 0.84em;
  overflow-wrap: anywhere;
}

.legal-content a:not(.legal-doc-footer__link) {
  color: var(--mint-bright);
  text-decoration: underline;
  text-decoration-color: rgba(74, 222, 128, 0.35);
  text-underline-offset: 3px;
}

.legal-content a:not(.legal-doc-footer__link):hover {
  color: #86efac;
}

.legal-callout {
  margin-top: 1.1rem;
  padding: 0.95rem 1.05rem;
  border: 1px solid rgba(74, 222, 128, 0.24);
  border-left-width: 3px;
  border-radius: 0.75rem;
  background: rgba(74, 222, 128, 0.06);
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

.legal-callout strong {
  color: var(--mint-bright);
}

.legal-doc-footer {
  margin-top: 2.5rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted-2);
  font-size: 0.8rem;
  line-height: 1.7;
}

.legal-doc-footer p + p {
  margin-top: 0.35rem;
}

.legal-doc-footer a {
  color: var(--mint-bright);
}

.legal-doc-footer__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.8rem;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.legal-doc-footer__link svg {
  width: 0.95rem;
  height: 0.95rem;
}

.legal-doc-footer__link:hover {
  color: #fde68a;
}

@media (min-width: 960px) {
  .legal-layout {
    grid-template-columns: 250px minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 4rem);
  }

  .legal-toc {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
  }
}

@media (max-width: 600px) {
  .legal-content p,
  .legal-content li {
    font-size: 0.88rem;
  }

  .legal-toc {
    padding: 0.9rem 1rem;
  }
}

/* Aceite dos documentos legais no checkout. */
.checkout-terms {
  margin-top: 0.55rem;
  color: var(--muted-2);
  font-size: 0.63rem;
  line-height: 1.55;
  text-align: center;
}

.checkout-terms a {
  color: var(--mint-bright);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.checkout-terms a:hover,
.checkout-terms a:focus-visible {
  color: #fff;
  outline: none;
}

/* ---------- Planos, cupons e conflitos de rank ---------- */

.store-plan {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(74, 222, 128, 0.24);
  border-radius: 0.8rem;
  background: rgba(74, 222, 128, 0.06);
}

.store-plan__icon {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  color: var(--mint-bright);
}

.store-plan__icon .icon {
  width: 1.1rem;
  height: 1.1rem;
}

.store-plan__info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 0.1rem;
}

.store-plan__info strong {
  color: var(--text);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.store-plan__info span {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.store-plan__loading {
  margin-left: auto;
  color: var(--muted-2);
  font-size: 0.68rem;
  white-space: nowrap;
}

.cart-conflict {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0.65rem 0 0;
  padding: 0.6rem 0.7rem;
  border: 1px solid rgba(248, 113, 113, 0.35);
  border-left-width: 3px;
  border-radius: 0.6rem;
  background: rgba(248, 113, 113, 0.08);
  color: #fecaca;
  font-size: 0.72rem;
  line-height: 1.5;
}

.cart-conflict .icon {
  flex: none;
  width: 1rem;
  height: 1rem;
  margin-top: 0.08rem;
}

.cart-total-row--discount strong {
  color: var(--mint-bright);
}

.cart-total-row--total strong {
  color: var(--text);
}

.checkout-coupon {
  margin-top: 0.9rem;
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.02);
}

.checkout-coupon__row {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.4rem;
}

.checkout-coupon__input {
  flex: 1 1 auto;
  min-width: 0;
  text-transform: uppercase;
}

.checkout-coupon__row .btn {
  flex: none;
}

.checkout-coupon__feedback {
  margin-top: 0.4rem;
  color: var(--muted-2);
  font-size: 0.72rem;
  line-height: 1.5;
}

.checkout-coupon__feedback--success {
  color: var(--mint-bright);
}

.checkout-coupon__feedback--error {
  color: #fca5a5;
}

.checkout-plan {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.6rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(74, 222, 128, 0.2);
  border-radius: 0.6rem;
  background: rgba(74, 222, 128, 0.05);
  color: var(--mint-bright);
  font-size: 0.74rem;
  line-height: 1.5;
}

.checkout-plan .icon {
  flex: none;
  width: 0.95rem;
  height: 0.95rem;
}

.checkout-error--rank {
  margin-top: 0.55rem;
}

.product-card__locked {
  opacity: 0.8;
  cursor: not-allowed;
}

.product-card__lock-note {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  margin-top: 0.55rem;
  color: #fca5a5;
  font-size: 0.7rem;
  line-height: 1.45;
}

.product-card__lock-note .icon {
  flex: none;
  width: 0.95rem;
  height: 0.95rem;
  margin-top: 0.08rem;
}
