/* =============================================================
   Se Beber, Não Jogue — estilos
   Tema: pôster de balada. Preto arroxeado, magenta neon,
   roxo elétrico e dourado. Mobile-first.
   ============================================================= */

:root {
  --bg:        #0b0710;
  --bg-2:      #150a1f;
  --surface:   #1b1029;
  --surface-2: #241636;
  --line:      #3a2352;

  --magenta:   #ff2e9a;
  --purple:    #9b46ff;
  --purple-hi: #c07bff;
  --gold:      #ffc24b;
  --gold-deep: #f5a623;

  --ink:       #f7ecff;
  --ink-soft:  #c9b6de;
  --ink-mute:  #8a769f;

  --glow-mag: 0 0 24px rgba(255, 46, 154, .55);
  --glow-pur: 0 0 28px rgba(155, 70, 255, .5);
  --radius:   20px;

  --font-display: 'Anton', 'Arial Narrow', 'Impact', sans-serif;
  --font-body: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;      /* fallback p/ navegadores sem dvh */
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Fundo com brilhos ambiente ---------------------------------- */
.ambient {
  position: fixed;
  inset: -20%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(42% 40% at 15% 10%, rgba(155, 70, 255, .35), transparent 70%),
    radial-gradient(45% 42% at 88% 18%, rgba(255, 46, 154, .30), transparent 70%),
    radial-gradient(55% 50% at 50% 108%, rgba(255, 194, 75, .16), transparent 70%);
  filter: saturate(1.15);
  animation: drift 18s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translate3d(-2%, -1%, 0) scale(1);   }
  to   { transform: translate3d(2%, 2%, 0)  scale(1.08); }
}

/* Layout base ------------------------------------------------- */
.app {
  position: relative;
  z-index: 1;
  min-height: 100vh;      /* fallback */
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  max-width: 560px;
  margin: 0 auto;
  padding: clamp(16px, 5vw, 28px);
  /* respeita notch / barra inferior (viewport-fit=cover) */
  padding-top: max(clamp(16px, 5vw, 28px), env(safe-area-inset-top));
  padding-bottom: max(clamp(16px, 5vw, 28px), env(safe-area-inset-bottom));
  padding-left: max(clamp(16px, 5vw, 28px), env(safe-area-inset-left));
  padding-right: max(clamp(16px, 5vw, 28px), env(safe-area-inset-right));
}

/* Telas com transição ----------------------------------------- */
.screen {
  display: none;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
}
.screen.is-active {
  display: flex;
  animation: screen-in .45s cubic-bezier(.22, 1, .36, 1);
}
@keyframes screen-in {
  from { opacity: 0; transform: translateY(18px) scale(.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.stack {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 4vw, 22px);
}
.stack--center { align-items: center; text-align: center; }

/* ============ MARCA / CABEÇALHO ============ */
.brand { text-align: center; }
.brand__sign {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-align: left;
}
.brand__warn {
  font-size: clamp(38px, 12vw, 56px);
  line-height: 1;
  color: var(--gold);
  filter: drop-shadow(0 0 14px rgba(255, 194, 75, .6));
  animation: buzz 3.5s steps(1) infinite;
}
@keyframes buzz { 0%, 92%, 100% { opacity: 1; } 94%, 98% { opacity: .35; } }

.brand__kicker {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: .32em;
  font-size: 11px;
  color: var(--magenta);
  text-transform: uppercase;
  margin-bottom: 2px;
}
.brand__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 13vw, 62px);
  line-height: .92;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--ink);
}
.brand__title em {
  font-style: normal;
  color: transparent;
  background: linear-gradient(100deg, var(--magenta), var(--purple-hi) 60%, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 18px rgba(255, 46, 154, .45));
}
.brand__tag {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 15px;
}

/* ============ CARD ============ */
.card {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(18px, 5vw, 26px);
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .04);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Campos ------------------------------------------------------ */
.field { display: flex; flex-direction: column; gap: 10px; }
.field__label {
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .04em;
  color: var(--ink-soft);
  text-transform: uppercase;
}
.field__row { display: flex; gap: 10px; }

.input {
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 15px 16px;
  transition: border-color .18s, box-shadow .18s;
}
.input::placeholder { color: var(--ink-mute); }
.input:focus {
  outline: none;
  border-color: var(--magenta);
  box-shadow: 0 0 0 3px rgba(255, 46, 154, .22);
}

/* Lista de jogadores ------------------------------------------ */
.players { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.players:empty { display: none; }
.player {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  animation: pop-in .28s cubic-bezier(.22, 1, .36, 1);
}
@keyframes pop-in {
  from { opacity: 0; transform: translateX(-8px); }
  to   { opacity: 1; transform: translateX(0); }
}
.player__dot {
  width: 12px; height: 12px; border-radius: 50%;
  flex: 0 0 auto;
  box-shadow: 0 0 10px currentColor;
}
.player__name { flex: 1 1 auto; font-weight: 600; font-size: 16px; overflow-wrap: anywhere; }
.player__remove {
  flex: 0 0 auto;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border: none;
  background: transparent;
  color: var(--ink-mute);
  font-size: 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: color .15s, background .15s;
}
.player__remove:hover { color: var(--magenta); background: rgba(255, 46, 154, .1); }

.hint { font-size: 13px; color: var(--ink-mute); text-align: center; }
.hint strong { color: var(--ink-soft); }

/* ============ BOTÕES ============ */
.btn {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .02em;
  color: var(--ink);
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 15px 20px;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .2s ease, background .2s, opacity .2s;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.btn:active { transform: translateY(2px) scale(.99); }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.btn--block { width: 100%; }
.btn--sm { padding: 9px 12px; font-size: 13px; border-radius: 11px; }

.btn--primary {
  background: linear-gradient(105deg, var(--magenta), var(--purple));
  color: #fff;
  box-shadow: var(--glow-mag), 0 12px 30px -12px rgba(255, 46, 154, .6);
  text-transform: uppercase;
  font-size: 18px;
  letter-spacing: .06em;
}
.btn--primary:not(:disabled):hover { box-shadow: 0 0 34px rgba(255, 46, 154, .75), 0 16px 36px -12px rgba(155, 70, 255, .7); }

.btn--gold {
  background: linear-gradient(160deg, var(--gold), var(--gold-deep));
  color: #2a1400;
  width: 54px;
  font-size: 24px;
  flex: 0 0 auto;
  box-shadow: 0 8px 22px -10px rgba(255, 194, 75, .8);
}

.btn--ghost {
  background: rgba(255, 255, 255, .04);
  border-color: var(--line);
  color: var(--ink-soft);
}
.btn--ghost:hover { border-color: var(--purple-hi); color: var(--ink); }

/* Topbar da roleta -------------------------------------------- */
.topbar { display: flex; justify-content: space-between; gap: 10px; }

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(26px, 8vw, 38px);
  line-height: 1;
  text-align: center;
  letter-spacing: .01em;
}
.section-sub { text-align: center; color: var(--ink-soft); margin-top: -6px; }
.chosen-name {
  color: transparent;
  background: linear-gradient(100deg, var(--gold), var(--magenta));
  -webkit-background-clip: text; background-clip: text;
}

/* ============ ROLETA ============ */
.wheel-wrap {
  position: relative;
  width: min(78vw, 340px);
  aspect-ratio: 1;
  margin: 4px auto 0;
  display: grid;
  place-items: center;
}
#wheel {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow:
    0 0 0 6px var(--bg-2),
    0 0 0 9px var(--gold),
    0 0 40px rgba(155, 70, 255, .5),
    0 30px 60px -20px rgba(0, 0, 0, .8);
}
.wheel-hub {
  position: absolute;
  width: 20%; height: 20%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, var(--gold) 45%, var(--gold-deep));
  box-shadow: 0 0 18px rgba(255, 194, 75, .8), inset 0 -3px 8px rgba(0,0,0,.3);
  pointer-events: none;
}
.wheel-pointer {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 16px solid transparent;
  border-right: 16px solid transparent;
  border-top: 30px solid var(--gold);
  filter: drop-shadow(0 4px 6px rgba(0,0,0,.5)) drop-shadow(0 0 8px rgba(255,194,75,.8));
  z-index: 3;
}
.wheel-result {
  min-height: 30px;
  text-align: center;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(22px, 7vw, 30px);
  color: var(--gold);
  text-shadow: 0 0 20px rgba(255, 194, 75, .5);
  transition: transform .3s;
}
.wheel-result.pop { animation: result-pop .5s cubic-bezier(.22, 1.4, .36, 1); }
@keyframes result-pop {
  0% { transform: scale(.4); opacity: 0; }
  60% { transform: scale(1.12); }
  100% { transform: scale(1); opacity: 1; }
}

/* Toggle ------------------------------------------------------ */
.toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  color: var(--ink-soft);
  font-size: 14px;
  justify-content: center;
}
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle__track {
  flex: 0 0 auto;
  width: 46px; height: 26px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  position: relative;
  transition: background .2s, border-color .2s;
}
.toggle__thumb {
  position: absolute;
  top: 2px; left: 2px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--ink-mute);
  transition: transform .2s cubic-bezier(.22,1,.36,1), background .2s;
}
.toggle input:checked + .toggle__track {
  background: linear-gradient(100deg, var(--magenta), var(--purple));
  border-color: transparent;
}
.toggle input:checked + .toggle__track .toggle__thumb { transform: translateX(20px); background: #fff; }
.toggle input:focus-visible + .toggle__track { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ============ NÚMERO ============ */
.numberpad {
  display: flex;
  align-items: stretch;
  gap: 14px;
  justify-content: center;
}
.stepper {
  width: 64px;
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  cursor: pointer;
  transition: transform .1s, border-color .18s, box-shadow .18s;
}
.stepper:hover { border-color: var(--purple-hi); box-shadow: var(--glow-pur); }
.stepper:active { transform: scale(.94); }
.numberpad__display {
  flex: 1 1 auto;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: 18px;
  display: grid;
  place-items: center;
  padding: 10px;
  box-shadow: inset 0 0 30px rgba(155, 70, 255, .18);
}
.numberpad__value {
  width: 100%;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(60px, 22vw, 92px);
  line-height: 1;
  color: var(--gold);
  background: transparent;
  border: none;
  text-shadow: 0 0 26px rgba(255, 194, 75, .45);
  -moz-appearance: textfield;
  appearance: textfield;
}
.numberpad__value:focus { outline: none; }
.numberpad__value::-webkit-outer-spin-button,
.numberpad__value::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ============ DESAFIO ============ */
#screen-desafio { position: relative; }
.confetti {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
}
.challenge-eyebrow {
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: 12px;
  font-weight: 700;
  color: var(--magenta);
}
.challenge-eyebrow span { color: var(--gold); }

.challenge-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--font-display);
  line-height: .85;
  color: transparent;
  background: linear-gradient(120deg, var(--magenta), var(--purple-hi) 55%, var(--gold));
  -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(0 0 26px rgba(255, 46, 154, .45));
  animation: badge-in .55s cubic-bezier(.22, 1.4, .36, 1);
}
@keyframes badge-in {
  0% { transform: scale(.3) rotate(-8deg); opacity: 0; }
  70% { transform: scale(1.08) rotate(2deg); }
  100% { transform: scale(1) rotate(0); opacity: 1; }
}
.challenge-badge__hash { font-size: clamp(48px, 16vw, 84px); opacity: .85; }
.challenge-badge__num { font-size: clamp(96px, 34vw, 176px); }

.challenge-text {
  font-size: clamp(22px, 6.5vw, 32px);
  font-weight: 600;
  line-height: 1.28;
  max-width: 30ch;
  color: var(--ink);
  text-wrap: balance;
}
.challenge-text.is-fallback { color: var(--ink-soft); font-style: italic; font-weight: 500; }

/* ============ MODOS DE JOGO ============ */
.modes { display: flex; flex-direction: column; gap: 14px; }
.mode-card {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  text-align: left;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  cursor: pointer;
  color: var(--ink);
  box-shadow: 0 20px 50px -30px rgba(0, 0, 0, .9);
  transition: transform .14s ease, border-color .2s, box-shadow .2s;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.mode-card:hover { border-color: var(--purple-hi); box-shadow: var(--glow-pur), 0 20px 50px -26px rgba(0, 0, 0, .9); }
.mode-card:active { transform: translateY(2px) scale(.99); }
.mode-card:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.mode-card__emoji {
  flex: 0 0 auto;
  font-size: 34px;
  line-height: 1;
  filter: drop-shadow(0 0 12px rgba(255, 46, 154, .4));
}
.mode-card__body { flex: 1 1 auto; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.mode-card__title {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: 21px;
  line-height: 1.02;
  letter-spacing: .01em;
}
.mode-card__desc { font-size: 13px; color: var(--ink-soft); line-height: 1.35; }
.mode-card__arrow { flex: 0 0 auto; font-size: 22px; color: var(--magenta); }

/* ============ ELEIÇÃO ALCOÓLICA ============ */
.election-rule {
  text-align: center;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.4;
  max-width: 34ch;
  margin: 0 auto;
  text-wrap: balance;
}
.election-card {
  background: linear-gradient(155deg, var(--surface-2), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(28px, 8vw, 44px) 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  min-height: 40vh;
  justify-content: center;
  box-shadow: inset 0 0 44px rgba(155, 70, 255, .18), 0 24px 60px -30px rgba(0, 0, 0, .9);
}
.election-card__eyebrow {
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: 12px;
  font-weight: 700;
  color: var(--magenta);
}
.election-card__topic {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(34px, 11vw, 60px);
  line-height: 1.02;
  color: transparent;
  background: linear-gradient(120deg, var(--gold), var(--magenta) 55%, var(--purple-hi));
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 24px rgba(255, 46, 154, .4));
  text-wrap: balance;
}
.election-card__topic.pop { animation: result-pop .45s cubic-bezier(.22, 1.4, .36, 1); }

/* ============ PERGUNTAS RÁPIDAS ============ */
.quiz-who {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(26px, 8vw, 38px);
  line-height: 1.02;
  letter-spacing: .01em;
}
.quiz-who span {
  color: transparent;
  background: linear-gradient(100deg, var(--gold), var(--magenta));
  -webkit-background-clip: text;
  background-clip: text;
}
.quiz-obs {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  margin: -6px auto 0;
  max-width: 34ch;
  line-height: 1.4;
}
.quiz-card {
  background: linear-gradient(155deg, var(--surface-2), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(22px, 6vw, 34px) 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  min-height: 42vh;
  justify-content: center;
  box-shadow: inset 0 0 44px rgba(155, 70, 255, .18), 0 24px 60px -30px rgba(0, 0, 0, .9);
  transition: box-shadow .2s, border-color .2s;
}
.quiz-card.timeout {
  border-color: var(--magenta);
  box-shadow: inset 0 0 44px rgba(255, 46, 154, .3), 0 0 32px rgba(255, 46, 154, .45);
  animation: shake .4s ease;
}
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}
.quiz-timer__num {
  font-family: var(--font-display);
  font-size: clamp(52px, 17vw, 88px);
  line-height: 1;
  color: var(--gold);
  text-shadow: 0 0 26px rgba(255, 194, 75, .5);
}
.quiz-card.timeout .quiz-timer__num { color: var(--magenta); text-shadow: 0 0 26px rgba(255, 46, 154, .6); }
.quiz-bar {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  overflow: hidden;
}
.quiz-bar__fill {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--magenta));
}
.quiz-question {
  font-size: clamp(21px, 5.8vw, 29px);
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  max-width: 26ch;
  text-wrap: balance;
  color: var(--ink);
}
.quiz-question.pop { animation: result-pop .4s cubic-bezier(.22, 1.4, .36, 1); }
.quiz-status {
  min-height: 22px;
  text-align: center;
  font-weight: 700;
  color: var(--magenta);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .2s, transform .2s;
}
.quiz-status.show { opacity: 1; transform: translateY(0); }

/* ============ CRÉDITO ============ */
.credit {
  margin-top: auto;
  padding-top: 22px;
  text-align: center;
  font-size: 12px;
  color: var(--ink-mute);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.credit strong { color: var(--ink-soft); font-weight: 600; }
.credit__dot { color: var(--purple); }

/* ============ MODAL HISTÓRICO ============ */
.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: end center; }
.modal[hidden] { display: none; }
.modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(5, 2, 10, .7);
  backdrop-filter: blur(4px);
  animation: fade-in .25s ease;
}
.modal__panel {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: 78vh;
  max-height: 78dvh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: 24px 24px 0 0;
  padding: 22px;
  padding-bottom: max(22px, env(safe-area-inset-bottom));
  animation: sheet-up .32s cubic-bezier(.22, 1, .36, 1);
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes sheet-up { from { transform: translateY(100%); } to { transform: translateY(0); } }
.modal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.modal__head h3 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: 24px;
}
.history { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.history__empty { color: var(--ink-mute); text-align: center; padding: 24px 0; }
.history__item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
}
.history__num {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--gold);
  min-width: 52px;
  text-align: center;
}
.history__meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.history__who { font-weight: 700; }
.history__what { font-size: 13px; color: var(--ink-mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ============ ACESSIBILIDADE / MOVIMENTO ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .ambient { animation: none; }
}

/* Telas mais altas: respira melhor no desktop */
@media (min-height: 780px) {
  .app { padding-top: max(28px, 4vh); }
}

/* ============ VERSÃO PAGA ============ */
[hidden] { display: none !important; }

.mode-card__lock { display: none; flex: 0 0 auto; font-size: 20px; }
.mode-card.is-locked { opacity: .78; }
.mode-card.is-locked .mode-card__lock { display: inline; }
.mode-card.is-locked .mode-card__arrow { display: none; }

.upsell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  border: 1px dashed var(--gold);
  border-radius: 14px;
  color: var(--ink-soft);
  font-size: 14px;
  text-align: center;
}
.upsell strong { color: var(--gold); }

.topbar--end { justify-content: flex-end; }

.btn--unlock {
  background: linear-gradient(160deg, var(--gold), var(--gold-deep));
  color: #2a1400;
  text-transform: uppercase;
  letter-spacing: .05em;
  box-shadow: 0 10px 26px -12px rgba(255, 194, 75, .8);
}

.conta-aviso { font-size: 12px; color: var(--ink-mute); text-align: center; }
.credit a { color: var(--ink-soft); }

.loja-view { display: flex; flex-direction: column; gap: 12px; }
.loja-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.loja-titulo {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: 24px;
}
.loja-texto { color: var(--ink-soft); line-height: 1.45; overflow-wrap: anywhere; }
.loja-destaque { font-weight: 700; color: var(--gold); }
.loja-nota { font-size: 12px; color: var(--ink-mute); text-align: center; }
.loja-nota a { color: var(--purple-hi); }
.loja-lista { list-style: none; display: flex; flex-direction: column; gap: 8px; color: var(--ink-soft); }
.loja-lista strong { color: var(--ink); }
.loja-link {
  background: none;
  border: 0;
  color: var(--purple-hi);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  padding: 4px;
  text-decoration: underline;
}
.loja-msg { font-size: 14px; color: #ff6b8a; text-align: center; }
.loja-msg[data-tipo="ok"] { color: #6be3a4; }
.loja-msg[data-tipo="info"] { color: var(--gold); }
.loja-msg:empty { display: none; }
