/* Quina member flow, pop-lucky style (owner 29/11/2026). Compact + calm for small phones:
   neutral card, colour only on the status badge, one-line meter, form folds after a check. */
.qf {
  --qf-ink: #1e1b3a; --qf-ink-2: #5b5874; --qf-line: #ebe7f6; --qf-soft: #f7f5fc;
  --qf-brand: #6d28d9; --qf-brand-2: #8b5cf6; --qf-gold: #f5b70a;
  --qf-green: #15803d; --qf-amber: #b45309; --qf-red: #b42318;
  margin: 0 0 12px; padding: 0 0 12px; border-bottom: 1px solid var(--qf-line);
  text-align: left; color: var(--qf-ink); font-size: 14px;
}
.qf-step { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 14.5px; line-height: 1.2; color: var(--qf-ink); }
.qf-step b { font-weight: 800; }
.qf-step2 { margin: 12px 0 0; }
.qf-num { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: var(--qf-brand); color: #fff; font-size: 11.5px; font-weight: 800; flex: 0 0 20px; }

.qf-form { display: grid; gap: 6px; }
.qf-form[hidden] { display: none; }
.qf-sel, .qf-in {
  width: 100%; height: 44px; padding: 0 12px; border: 1px solid #d9d2f0; border-radius: 11px;
  font-weight: 600; font-size: 16px; line-height: 1; font-family: inherit; color: var(--qf-ink); background: #fff; box-sizing: border-box; min-width: 0;
}
.qf-in::placeholder { color: #8b86a3; font-weight: 500; }
.qf-sel:focus, .qf-in:focus { outline: none; border-color: var(--qf-brand-2); box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.18); }
.qf-idrow { display: flex; gap: 6px; }
.qf-idrow .qf-in { flex: 1 1 auto; letter-spacing: 0.02em; }
.qf-btn {
  flex: 0 0 auto; height: 44px; padding: 0 14px; border: 0; border-radius: 11px;
  background: var(--qf-brand); color: #fff; font-weight: 700; font-size: 14.5px; line-height: 1; font-family: inherit; cursor: pointer; white-space: nowrap;
  box-shadow: 0 2px 6px rgba(109, 40, 217, 0.25);
}
.qf-btn:active { transform: translateY(1px); }
.qf-btn:disabled { opacity: 0.7; cursor: default; }
.qf-btn:focus-visible, .qf-bulk:focus-visible, .qf-tbl:focus-visible, .qf-change:focus-visible { outline: 2px solid var(--qf-brand-2); outline-offset: 2px; }
.qf-full { width: 100%; margin-top: 12px; }
.qf-msg { margin: 6px 0 0; font-size: 12.5px; font-weight: 600; color: var(--qf-red); }
.qf-msg:empty { display: none; }
.qf-hide { display: none !important; }
input.qf-locked { background: #f7f5fc !important; color: #4c1d95 !important; }

.qf-who { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 12px; border-radius: 11px; background: var(--qf-soft); font-size: 13.5px; color: var(--qf-ink-2); }
.qf-who[hidden] { display: none; }
.qf-who b { color: var(--qf-ink); font-weight: 700; letter-spacing: 0.02em; }
.qf-change { padding: 0; border: 0; background: none; color: var(--qf-brand); font-weight: 700; font-size: 13px; line-height: 1; font-family: inherit; cursor: pointer; }

/* quota card */
.qf-card { margin-top: 8px; padding: 12px; border-radius: 14px; background: #fff; border: 1px solid var(--qf-line); box-shadow: 0 1px 2px rgba(30, 27, 58, 0.04), 0 6px 16px -12px rgba(76, 29, 149, 0.35); }
.qf-card.qf-loading, .qf-card.qf-err { display: flex; gap: 8px; font-size: 13.5px; line-height: 1.35; }
.qf-card.qf-loading { align-items: center; color: var(--qf-ink-2); }
.qf-card.qf-err { flex-direction: column; gap: 2px; border-color: #f6d0cc; background: #fffafa; color: var(--qf-red); }
.qf-card.qf-err span { color: #7a2e26; }
.qf-spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #e4dcf8; border-top-color: var(--qf-brand); animation: qfSpin 0.8s linear infinite; flex: 0 0 16px; }
@keyframes qfSpin { to { transform: rotate(360deg); } }

.qf-top { display: flex; align-items: center; gap: 10px; }
.qf-n {
  flex: 0 0 auto; min-width: 44px; height: 44px; padding: 3px 6px 0; border-radius: 12px; box-sizing: border-box;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: "Luckiest Guy", "Space Grotesk", Inter, sans-serif; font-size: 26px; line-height: 1;
  color: #fff; background: var(--qf-green);
}
.qf-n.qf-zero { background: var(--qf-brand); }
.qf-n.qf-ok { background: var(--qf-gold); color: #3b2300; padding-top: 0; }
.qf-l { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.qf-l b { font-size: 15px; font-weight: 800; line-height: 1.25; color: var(--qf-ink); }
.qf-l small { font-size: 12.5px; color: var(--qf-ink-2); line-height: 1.3; }

.qf-xp { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 1px; font-size: 13px; color: var(--qf-ink-2); }
.qf-xp b { color: var(--qf-green); font-weight: 800; }
.qf-xp .qf-soon, .qf-xp .qf-soon b { color: var(--qf-amber); }

.qf-meter { margin-top: 10px; }
.qf-bar { height: 6px; border-radius: 6px; background: #efebf9; overflow: hidden; }
.qf-bar i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--qf-brand-2), var(--qf-gold)); transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.qf-mline { display: flex; justify-content: space-between; gap: 8px; margin-top: 5px; font-size: 12.5px; color: var(--qf-ink-2); }
.qf-mline b { color: var(--qf-ink); font-weight: 700; }
.qf-mline span:last-child { text-align: right; }

.qf-actions { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--qf-line); }
.qf-bulk, .qf-my {
  display: inline-flex; align-items: center; gap: 5px; height: 34px; padding: 0 12px; border: 0; border-radius: 10px;
  background: #fff4cc; color: #5b3a00; font-weight: 800; font-size: 13px; line-height: 1; font-family: inherit; cursor: pointer; text-decoration: none; white-space: nowrap;
  box-shadow: inset 0 0 0 1px #f3dc8a;
}
.qf-my { background: var(--qf-soft); color: var(--qf-brand); box-shadow: inset 0 0 0 1px #ddd3f5; }
.qf-ic { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.qf-bulk .qf-ic { fill: #f5b70a; stroke: #8a5a00; stroke-width: 1.4; }
.qf-ic-lg { width: 24px; height: 24px; stroke-width: 3; }
.qf-upd { margin-left: auto; font-size: 11.5px; color: #8b86a3; white-space: nowrap; }
.qf-tbl { padding: 0; border: 0; background: none; color: var(--qf-brand); font-weight: 700; font-size: 12.5px; line-height: 1; font-family: inherit; cursor: pointer; }

/* sheets (tier table, quick-pick) */
.qf-sheet-bg { position: fixed; inset: 0; z-index: 10070; display: flex; align-items: flex-end; justify-content: center; background: rgba(20, 14, 40, 0.5); animation: qfFade 0.18s ease-out; }
.qf-sheet { width: 100%; max-width: 440px; max-height: 86vh; overflow-y: auto; padding: 8px 16px 18px; border-radius: 18px 18px 0 0; background: #fff; color: #1e1b3a; text-align: left; box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.18); animation: qfUp 0.22s cubic-bezier(0.16, 1, 0.3, 1); box-sizing: border-box; font-size: 14px; }
.qf-grip { width: 36px; height: 4px; margin: 0 auto 10px; border-radius: 4px; background: #e5e3ee; }
.qf-sheet h3 { margin: 0 0 4px; font-size: 17px; font-weight: 800; color: #1e1b3a; }
.qf-sheet p { margin: 0 0 10px; font-size: 13.5px; line-height: 1.45; color: #5b5874; }
.qf-sheet .qf-lbl { display: block; margin: 4px 0; font-size: 12px; font-weight: 700; color: #5b5874; }
.qf-sheet .qf-in { height: 44px; padding: 0 12px; border: 1px solid #d9d2f0; border-radius: 11px; font-weight: 600; font-size: 16px; line-height: 1; font-family: inherit; color: #1e1b3a; box-sizing: border-box; min-width: 0; }
.qf-sheet .qf-idrow { display: flex; gap: 6px; }
.qf-sheet .qf-idrow .qf-in { flex: 1; }
.qf-sheet .qf-btn { height: 46px; border: 0; border-radius: 11px; background: #6d28d9; color: #fff; font-weight: 700; font-size: 15px; line-height: 1; font-family: inherit; cursor: pointer; }
.qf-sheet .qf-msg { margin: 6px 0 0; font-size: 12.5px; font-weight: 600; color: #b42318; }
.qf-sheet .qf-msg:empty { display: none; }
.qf-pre { display: inline-flex; align-items: center; padding: 0 10px; height: 44px; border-radius: 11px; background: #f7f5fc; font-weight: 700; color: #4c1d95; box-sizing: border-box; }
.qf-tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 12px; }
.qf-tiers div { display: flex; justify-content: space-between; align-items: baseline; padding: 7px 8px; border-radius: 8px; font-size: 13px; font-variant-numeric: tabular-nums; border-bottom: 1px solid #f1eef8; }
.qf-tiers div b { font-weight: 700; color: #1e1b3a; white-space: nowrap; }
.qf-tiers div span { color: #6d28d9; font-weight: 700; white-space: nowrap; }
.qf-tiers div.on { background: #f3edff; border-bottom-color: transparent; }
.qf-tiers em { margin-left: 6px; font-style: normal; font-size: 10.5px; font-weight: 800; color: #6d28d9; }
.qf-note { margin-top: 10px !important; padding: 8px 10px; border-radius: 10px; background: #f7f5fc; font-size: 12.5px !important; }
.qf-link { display: block; width: 100%; margin-top: 4px; padding: 10px; border: 0; background: none; color: #6d28d9; font-weight: 700; font-size: 14px; line-height: 1; font-family: inherit; cursor: pointer; }
.qf-sheet .qf-go { background: #15803d; box-shadow: 0 2px 6px rgba(21, 128, 61, 0.3); }
.qf-done-ic { width: 48px; height: 48px; margin: 4px auto 6px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #15803d; color: #fff; }
.qf-done-ic .qf-ic { width: 26px; height: 26px; stroke-width: 3; }
.qf-sheet .qf-done-ic ~ h3, .qf-sheet .qf-done-ic ~ p { text-align: center; }
@keyframes qfFade { from { opacity: 0; } }
@keyframes qfUp { from { transform: translateY(24px); opacity: 0; } }
@media (max-width: 340px) {
  .qf-upd { display: none; }
  .qf-tiers { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .qf-bar i, .qf-sheet, .qf-sheet-bg, .qf-spin { animation: none; transition: none; } }
.qf [hidden] { display: none !important; }

/* ==== v3: the quota card is a premium TICKET in the site's own world (deep purple, gold, Luckiest Guy) ==== */
.qf .qf-card {
  position: relative; margin-top: 8px; padding: 12px 14px 10px; border-radius: 16px; color: #efeaff;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(250, 204, 21, 0.16), transparent 55%),
    linear-gradient(160deg, #3b1488 0%, #2a0f63 55%, #1d0a47 100%);
  border: 1px solid rgba(250, 204, 21, 0.45);
  box-shadow: 0 10px 22px -14px rgba(46, 16, 101, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
/* ticket notches */
.qf .qf-card::before, .qf .qf-card::after {
  content: ""; position: absolute; top: 58px; width: 14px; height: 14px; border-radius: 50%;
  background: #fff; border: 1px solid rgba(250, 204, 21, 0.45);
}
.qf .qf-card::before { left: -8px; clip-path: inset(0 0 0 50%); }
.qf .qf-card::after { right: -8px; clip-path: inset(0 50% 0 0); }
.qf .qf-card.qf-loading, .qf .qf-card.qf-err { color: #efeaff; }
.qf .qf-card.qf-loading::before, .qf .qf-card.qf-loading::after, .qf .qf-card.qf-err::before, .qf .qf-card.qf-err::after { display: none; }
.qf .qf-card.qf-err { background: #fff7f6; border-color: #f2c8c2; color: #9f1d14; box-shadow: none; }
.qf .qf-card.qf-err span { color: #7a2e26; }
.qf .qf-spin { border-color: rgba(255, 255, 255, 0.25); border-top-color: #facc15; }

.qf .qf-top { align-items: stretch; gap: 12px; }
.qf .qf-n {
  flex: 0 0 74px; min-width: 74px; height: auto; padding: 6px 4px 5px; border-radius: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  background: none; color: #facc15; font-size: 40px; line-height: 0.9;
  text-shadow: 0 2px 0 #7a4a00, 0 4px 10px rgba(0, 0, 0, 0.35);
  border-right: 2px dashed rgba(250, 204, 21, 0.35);
}
.qf .qf-n em { font-family: Inter, "Segoe UI", system-ui, sans-serif; font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #d9cdfb; text-shadow: none; }
.qf .qf-n.qf-zero { color: #c4b5fd; text-shadow: 0 2px 0 #4c1d95; }
.qf .qf-n.qf-ok { background: none; color: #facc15; padding-top: 6px; }
.qf .qf-n.qf-ok .qf-ic-lg { width: 36px; height: 36px; stroke-width: 3.2; filter: drop-shadow(0 2px 0 #7a4a00); }
.qf .qf-l { justify-content: center; gap: 2px; }
.qf .qf-l b { font-size: 15px; font-weight: 800; color: #fff; }
.qf .qf-l small { font-size: 12.5px; color: #cfc4f5; }
.qf .qf-xp { margin: 4px 0 0; font-size: 12.5px; color: #cfc4f5; }
.qf .qf-xp b, .qf .qf-xp li { color: #e6defe; }
.qf .qf-xp b { color: #facc15; }
.qf .qf-xp .qf-soon, .qf .qf-xp .qf-soon b { color: #fdba74; }

.qf .qf-meter { margin-top: 10px; }
.qf .qf-bar { height: 6px; background: rgba(255, 255, 255, 0.14); }
.qf .qf-bar i { background: linear-gradient(90deg, #fde68a, #facc15); box-shadow: 0 0 8px rgba(250, 204, 21, 0.45); }
.qf .qf-mline { color: #cfc4f5; }
.qf .qf-mline b { color: #fff; }

.qf .qf-actions { border-top: 1px dashed rgba(250, 204, 21, 0.3); }
.qf .qf-bulk { background: linear-gradient(180deg, #fde047, #f59e0b); color: #2e1065; box-shadow: 0 3px 0 #a16207, 0 6px 12px -6px rgba(0, 0, 0, 0.5); }
.qf .qf-bulk .qf-ic { fill: #2e1065; stroke: #2e1065; stroke-width: 1; }
.qf .qf-bulk:active { transform: translateY(2px); box-shadow: 0 1px 0 #a16207; }
.qf .qf-my { background: rgba(255, 255, 255, 0.12); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25); }
.qf .qf-upd { color: #a99bd6; }
.qf .qf-tbl { color: #facc15; }

/* step 1 row after the check: compact identity line */
.qf .qf-who { background: #f4f1fb; }
.qf-step2 small { margin-left: 4px; font-size: 12px; font-weight: 600; color: #8b86a3; }
.qf-step2[hidden] { display: none !important; }
.qf .qf-actions { flex-wrap: wrap; row-gap: 6px; }
.qf .qf-upd { font-size: 11px; }
/* step 2 sits outside .qf: no CSS variables there */
.qf-step2 { color: #1e1b3a; }
.qf-step2 .qf-num { background: #6d28d9; color: #fff; }

/* visual platform picker (home page) */
.qf-sel-hidden { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.qf-pick {
  display: flex; align-items: center; justify-content: space-between; width: 100%; height: 48px; padding: 0 12px 0 14px;
  border: 1.5px dashed #c4b5fd; border-radius: 12px; background: #faf8ff; color: #5b21b6; font-weight: 700; font-size: 15px; line-height: 1; font-family: inherit; cursor: pointer; box-sizing: border-box;
}
.qf-pick.is-set { border-style: solid; border-color: #d9d2f0; background: #fff; }
.qf-pick-in { display: inline-flex; align-items: center; gap: 8px; }
.qf-pick-head { width: 28px; height: 28px; border-radius: 50%; background: #f1ecff; object-fit: cover; }
.qf-pick-logo { height: 18px; width: auto; }
.qf-chev { width: 18px; height: 18px; color: #8b5cf6; }
.qf-pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 8px; }
.qf-pt {
  display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 2px 7px; border: 1px solid #ece7f8; border-radius: 12px;
  background: #fff; cursor: pointer; box-shadow: 0 2px 6px -3px rgba(76, 29, 149, 0.25);
}
.qf-pt img:first-child { width: 44px; height: 44px; border-radius: 50%; background: #f5f1ff; object-fit: cover; }
.qf-pt-logo { height: 15px; width: auto; max-width: 100%; }
.qf-pt.on { border-color: #8b5cf6; box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.35); }
.qf-pt:active { transform: scale(0.97); }
@media (max-width: 340px) { .qf-pgrid { gap: 6px; } .qf-pt img:first-child { width: 38px; height: 38px; } }
.qf .qf-meta { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.qf .qf-meta .qf-upd { margin-left: 0; }
@media (max-width: 420px) { .qf-tiers { grid-template-columns: 1fr; } }
/* bar fill animates with transform (no layout work) */
.qf .qf-bar i, .qf-bar i { width: 100%; transform-origin: left center; transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }

/* Desktop (owner 29/11): platform pages keep the form in one centred column; menu never covers text */
@media (min-width: 768px) {
  body:not(.home-compact) .selection-section > .container { max-width: 760px; margin-left: auto; margin-right: auto; }
  body:not(.home-compact) .selection-section .selection-card { max-width: none; width: 100%; margin-left: 0; margin-right: 0; box-sizing: border-box; }
  body:not(.home-compact) .selection-section { padding-bottom: 110px; }
}

/* ticket origin lines (owner 29/11): "5 da recarga de ontem (28/11)" + "↳ vencem amanhã 20h45" */
.qf .qf-xp { gap: 0; }
.qf .qf-xp .qf-src { font-size: 12.5px; line-height: 1.35; }
.qf .qf-xp .qf-end { font-size: 11.5px; line-height: 1.3; color: #b9acea; margin: 0 0 4px 1px; }
.qf .qf-xp .qf-end::before { content: "↳ "; color: #8f7fd0; }
.qf .qf-xp .qf-end:last-child { margin-bottom: 0; }
.qf .qf-xp .qf-end.qf-soon { color: #fdba74; font-weight: 700; }

/* ==== "Nova regra" sheet v2 (owner 29/11): steps, dark ticket board, 2-draw timeline, prize strip ==== */
.nova-regra .nr-body.nr2 { padding: 12px 10px 12px; display: grid; gap: 10px; background: linear-gradient(180deg, #f6f1ff 0%, #fff 70%); }
.nr2 p { margin: 0; }
/* 1. three steps */
.nr2-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; counter-reset: nr2; }
.nr2-flow li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px;
  padding: 8px 4px 8px; border-radius: 12px; background: #fff; border: 1px solid #e6dcfb; box-shadow: 0 2px 6px rgba(76, 29, 149, 0.06); }
.nr2-flow li + li::before { content: ""; position: absolute; left: -7px; top: 26px; width: 8px; height: 8px; border-top: 2px solid #c4b5fd; border-right: 2px solid #c4b5fd; transform: rotate(45deg); }
.nr2-flow .ic3d { width: 30px; height: 30px; }
.nr2-flow b { font-size: 12px; line-height: 1.15; color: #3b0764; font-weight: 900; }
.nr2-flow span { font-size: 10.5px; line-height: 1.25; color: #6b5a8a; }
/* 2. ticket board */
.nr2-board { border-radius: 14px; padding: 10px 10px 9px; color: #e6defe;
  background: radial-gradient(120% 100% at 100% 0%, rgba(168, 85, 247, 0.28), transparent 55%), linear-gradient(180deg, #2a0f52, #1f0a40);
  border: 1.5px solid #e9b949; box-shadow: 0 6px 16px rgba(42, 15, 82, 0.25); }
.nr2-h { font-size: 11px; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; color: #fcd34d; text-align: center; margin-bottom: 8px !important; }
.nr2-h i { font-style: normal; color: #fff; }
.nr2-tiers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; }
.nr2-tiers li { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 5px 2px 4px; border-radius: 9px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(233, 185, 73, 0.28); }
.nr2-tiers span { font-size: 9.5px; font-weight: 800; color: #cfc4f5; white-space: nowrap; letter-spacing: -0.02em; }
.nr2-tiers b { font: 400 19px/1 "Luckiest Guy", "Inter", sans-serif; color: #ffd23f; text-shadow: 0 1px 0 #c47a00, 0 2px 0 #8f5200; padding-top: 2px; }
.nr2-tiers .nr2-max { background: linear-gradient(180deg, #ffe680, #f5b70a); border-color: #fff3b0; }
.nr2-tiers .nr2-max span { color: #4a1d00; }
.nr2-tiers .nr2-max b { color: #3b0a6b; text-shadow: none; }
.nr2-note { margin-top: 8px !important; font-size: 11px; line-height: 1.35; color: #b9acea; text-align: center; }
/* 3. two draws */
.nr2-time { border-radius: 14px; padding: 10px; background: #fff; border: 1px solid #e6dcfb; }
.nr2-h2 { font-size: 13px; font-weight: 800; color: #3b0764; text-align: center; margin-bottom: 8px !important; }
.nr2-h2 b { color: #7c3aed; }
.nr2-draws { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 6px; }
.nr2-d { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1px; padding: 8px 6px 7px;
  border-radius: 11px; background: #f6f1ff; border: 1.5px dashed #b79cf5; }
.nr2-d small { font: 400 15px/1 "Luckiest Guy", "Inter", sans-serif; color: #7c3aed; }
.nr2-d b { font-size: 12px; font-weight: 900; color: #2e1065; line-height: 1.2; }
.nr2-d span { font-size: 10.5px; color: #6b5a8a; }
.nr2-plus { font: 400 20px/1 "Luckiest Guy", "Inter", sans-serif; color: #e9a400; }
.nr2-facts { list-style: none; margin: 9px 0 0; padding: 0; display: grid; gap: 5px; }
.nr2-facts li { position: relative; padding-left: 15px; font-size: 11.5px; line-height: 1.4; color: #4c3a6b; }
.nr2-facts li::before { content: ""; position: absolute; left: 3px; top: 6px; width: 6px; height: 6px; border-radius: 50%; background: #a78bfa; }
.nr2-facts b { color: #3b0764; }
/* 4. prize strip */
.nr2-prize { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 12px;
  background: linear-gradient(180deg, #fff7d1, #ffe9a3); border: 1px solid #f3cf63; color: #4a2a00; font-size: 12px; line-height: 1.35; }
.nr2-prize .ic3d { width: 30px; height: 30px; flex: none; }
.nr2-prize b { color: #7c2d12; }
@media (max-width: 350px) {
  .nr2-flow b { font-size: 11px; } .nr2-flow span { font-size: 9.5px; }
  .nr2-tiers { gap: 4px; } .nr2-tiers span { font-size: 8.5px; } .nr2-tiers b { font-size: 17px; }
  .nr2-d b { font-size: 11px; }
}
@media (min-width: 768px) {
  .nr2-flow .ic3d { width: 38px; height: 38px; } .nr2-flow b { font-size: 14px; } .nr2-flow span { font-size: 12px; }
  .nr2-tiers span { font-size: 12px; } .nr2-tiers b { font-size: 26px; }
  .nr2-h2 { font-size: 15px; } .nr2-d b { font-size: 14px; } .nr2-d span { font-size: 12px; } .nr2-facts li { font-size: 13px; }
  .nr2-prize { font-size: 14px; }
}

/* recharge button on the quota card when there are no tickets (owner 29/11) */
.qf .qf-rc { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 10px 0 0; height: 44px; border-radius: 12px;
  background: linear-gradient(180deg, #fde047, #f5b70a); color: #2e1065; font-weight: 900; font-size: 14.5px; text-decoration: none;
  box-shadow: 0 3px 0 #b07800, 0 8px 16px rgba(245, 183, 10, 0.3); }
.qf .qf-rc img { height: 18px; width: auto; background: #fff; border-radius: 6px; padding: 2px 5px; box-sizing: content-box; }
.qf .qf-rc .qf-ic { width: 16px; height: 16px; stroke-width: 2.8; }
.qf .qf-rc:active { transform: translateY(2px); box-shadow: 0 1px 0 #b07800; }
.nova-regra .nr2 .nr2-flow .ic3d { width: 30px; height: 30px; flex: none; }
.nova-regra .nr2 .nr2-prize .ic3d { width: 28px; height: 28px; flex: none; }
@media (max-width: 350px) {
  .nr2-h { font-size: 10px; letter-spacing: 0.02em; }
  .nr2-tiers li { padding-left: 1px; padding-right: 1px; }
  .nr2-tiers span { font-size: 7.6px; letter-spacing: -0.03em; }
  .nr2-d span { font-size: 9.5px; }
}

/* Buscar ID cards: the draw gets its own line (was cut off as "Nº … · C…") */
.vc-draw { align-self: stretch; margin-top: 4px; padding: 3px 0 0; border-top: 1px dashed rgba(0, 0, 0, 0.1);
  font-size: 11px; font-weight: 800; color: #6d28d9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vc-draw + .vc-ticket { border-top: 0 !important; padding-top: 0 !important; }

/* Surpresinha: loading cover while the batch is generated (owner 30/11) */
.qf-sheet { position: relative; }
.qf-loading { position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  padding: 20px; text-align: center; border-radius: inherit; background: rgba(255, 255, 255, 0.96); }
.qf-loading b { font-size: 17px; color: #2e1065; }
.qf-loading span { font-size: 13px; color: #5e5478; }
.qf-balls { display: flex; gap: 6px; }
.qf-balls i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 800 13px Inter, sans-serif; font-style: normal; color: #fff;
  background: radial-gradient(circle at 35% 30%, #c4b5fd, #6d28d9 70%); box-shadow: 0 3px 6px rgba(76, 29, 149, 0.3); animation: qfBounce 0.9s ease-in-out infinite; }
.qf-balls i:nth-child(2) { animation-delay: 0.12s; background: radial-gradient(circle at 35% 30%, #fde68a, #d97706 70%); }
.qf-balls i:nth-child(3) { animation-delay: 0.24s; background: radial-gradient(circle at 35% 30%, #f9a8d4, #db2777 70%); }
.qf-balls i:nth-child(4) { animation-delay: 0.36s; background: radial-gradient(circle at 35% 30%, #86efac, #16a34a 70%); }
.qf-balls i:nth-child(5) { animation-delay: 0.48s; background: radial-gradient(circle at 35% 30%, #fca5a5, #dc2626 70%); }
@keyframes qfBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .qf-balls i { animation: none; } }
