/* =====================================================================================================
 * recompensas.css — visual da página Recompensas (redesign 16/11/2026). Só aparência: nenhuma regra de prêmio mora aqui.
 *
 * Regra da casa (white label): NENHUMA cor de marca escrita aqui. Tudo sai das cores da dash › Aparência › Cores:
 *   --kp-*  Principal   --kd-* / --eg-gold  Botão de depositar (o dinheiro)   --kv-*  VIP e dourado
 *   --kg-*  Ganho       --kf-* / --kc-* / --kb-* / --kt-* / --ks-*  fundo, cartões, bordas e textos
 * As nuances (brilho, sombra, luz) saem dessas cores com color-mix(). Os únicos valores fixos são neutros puros
 * (branco e preto em transparência, para luz e sombra). Bordas seguem o botão "Bordas arredondadas" (--ui-r*).
 * Escopo: #rw (a página) e .eg-modal (as janelas que a página abre).
 * ===================================================================================================== */

#rw, .eg-modal {
  --rw-pri: rgb(var(--kp-dc2626, 220, 38, 38));
  --rw-pri-d: rgb(var(--kp-b91c1c, 185, 28, 28));
  --rw-on-pri: var(--fb-on-accent, #fff);
  --rw-cash: var(--eg-gold);                                  /* nesta página = cor do botão Depositar */
  --rw-cash-hi: color-mix(in srgb, var(--rw-cash) 70%, #fff);
  --rw-cash-lo: color-mix(in srgb, var(--rw-cash) 72%, #000);
  --rw-cash-ink: rgb(var(--kf-1a1406, 26, 20, 6));
  --rw-vip: rgb(var(--kv-f3c14a, 243, 193, 74));
  --rw-vip-d: rgb(var(--kv-c99a2f, 201, 154, 47));
  --rw-ok: rgb(var(--kg-22c55e, 34, 197, 94));
  --rw-ok-d: rgb(var(--kg-16a34a, 22, 163, 74));
  --rw-r: var(--ui-r, 12px);
  --rw-r-lg: var(--ui-r-lg, 16px);
  --rw-r-sm: var(--ui-r-sm, 8px);
  /* luz e profundidade: filete claro no topo do cartão + sombra de chão */
  --rw-top: color-mix(in srgb, var(--eg-s2) 84%, var(--eg-text));
  --rw-card: linear-gradient(180deg, color-mix(in srgb, var(--eg-s1) 90%, var(--eg-text)) 0, var(--eg-s1) 72px);
  --rw-edge: inset 0 1px 0 color-mix(in srgb, var(--eg-text) 8%, transparent);
  --rw-depth: 0 1px 0 rgba(0, 0, 0, .45), 0 16px 34px -18px rgba(0, 0, 0, .75);
  --rw-line: color-mix(in srgb, var(--eg-line) 80%, var(--eg-text) 6%);
  --rw-art-shadow: drop-shadow(0 10px 12px rgba(0, 0, 0, .55));
}

/* ---------------- base: cartões e títulos ---------------- */
#rw .eg-card { background: var(--rw-card); border-color: var(--rw-line); box-shadow: var(--rw-edge), var(--rw-depth); border-radius: var(--rw-r); }
#rw .eg-sec { margin-top: 34px; }
#rw .eg-sec-h { margin-bottom: 14px; align-items: baseline; }
#rw .eg-sec-h .eg-h { font-size: 28px; letter-spacing: 0; }
#rw .eg-sec-h small { font-size: 12.5px; }
/* arte 3D: sombra de chão (o OpenMoji continua chapado, sem sombra) */
#rw img[src*="/rw3d/"], .eg-modal img[src*="/rw3d/"] { filter: var(--rw-art-shadow); }

/* título da página */
#rw .rw-title { gap: 16px; margin: 10px 0 20px; }
#rw .rw-title > .eg-ico { width: 64px; height: 64px; }
#rw .rw-title .eg-h { font-size: clamp(34px, 5.4vw, 46px); }

/* navegação das seções (fica presa no topo) */
#rw .rw-nav { background: color-mix(in srgb, var(--eg-bg) 86%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid color-mix(in srgb, var(--eg-line) 60%, transparent); margin-bottom: 4px; }
#rw .eg-tabs { margin-bottom: 4px; gap: 8px; }
#rw .eg-tabs button { height: 40px; padding: 0 15px 0 9px; gap: 7px; border-radius: var(--ui-r-pill, 999px); color: var(--eg-text);
  background: linear-gradient(180deg, var(--rw-top), var(--eg-s1)); border-color: var(--rw-line); box-shadow: var(--rw-edge); }
#rw .eg-tabs button img { width: 22px; height: 22px; }
#rw .eg-tabs button:hover { border-color: color-mix(in srgb, var(--rw-cash) 55%, var(--eg-line)); }
#rw .eg-tabs button:focus-visible { outline: 2px solid var(--rw-cash); outline-offset: 2px; }

/* ---------------- botões ---------------- */
#rw .eg-btn, .eg-modal .eg-btn { border-radius: var(--rw-r-sm); }
#rw .eg-btn.gold, .eg-modal .eg-btn.gold {
  background: linear-gradient(180deg, var(--rw-cash-hi) 0, var(--rw-cash) 46%, var(--rw-cash-lo) 100%); color: var(--rw-cash-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 -2px 0 rgba(0, 0, 0, .2), 0 8px 18px -8px color-mix(in srgb, var(--rw-cash) 70%, transparent);
  text-shadow: 0 1px 0 rgba(255, 255, 255, .25); }
#rw .eg-btn.red, .eg-modal .eg-btn.red {
  background: linear-gradient(180deg, color-mix(in srgb, var(--rw-pri) 82%, #fff) 0, var(--rw-pri) 45%, var(--rw-pri-d) 100%); color: var(--rw-on-pri);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), inset 0 -2px 0 rgba(0, 0, 0, .22), 0 8px 18px -8px color-mix(in srgb, var(--rw-pri) 70%, transparent); }
#rw .eg-btn.ghost { background: color-mix(in srgb, var(--eg-s2) 70%, transparent); border-color: var(--rw-line); }
#rw .eg-btn:active:not(:disabled) { transform: translateY(1px); }
/* botão de resgatar: um brilho atravessa de tempos em tempos + anel que pulsa (só nos que pagam alguma coisa agora) */
#rw #ckBtn, #rw [data-claim], #rw [data-cb], #rw .rw-tb-go { position: relative; overflow: hidden; isolation: isolate; }
#rw #ckBtn::after, #rw [data-claim]::after, #rw [data-cb]::after, #rw .rw-tb-go::after {
  content: ""; position: absolute; inset: -2px; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .6) 50%, transparent 62%);
  transform: translateX(-130%); animation: rwShine 3.8s var(--eg-ease) 1.2s infinite; }
#rw #ckBtn { animation: rwClaim 2.2s ease-in-out infinite; }
@keyframes rwShine { 0% { transform: translateX(-130%); } 34%, 100% { transform: translateX(130%); } }
@keyframes rwClaim { 0%, 100% { box-shadow: inset 0 1px 0 rgba(255,255,255,.5), inset 0 -2px 0 rgba(0,0,0,.2), 0 0 0 0 color-mix(in srgb, var(--rw-cash) 55%, transparent); }
  60% { box-shadow: inset 0 1px 0 rgba(255,255,255,.5), inset 0 -2px 0 rgba(0,0,0,.2), 0 0 0 10px color-mix(in srgb, var(--rw-cash) 0%, transparent); } }

/* ---------------- barras de progresso ---------------- */
#rw .eg-bar { height: 10px; background: color-mix(in srgb, var(--eg-bg) 80%, #000); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .6), 0 1px 0 color-mix(in srgb, var(--eg-text) 6%, transparent); }
#rw .eg-bar > i { position: relative; background: linear-gradient(90deg, var(--rw-pri-d), var(--rw-pri) 45%, var(--rw-cash));
  box-shadow: 0 0 12px -2px color-mix(in srgb, var(--rw-cash) 60%, transparent); transform-origin: left; animation: rwFill 1.1s var(--eg-ease) .1s both; }
#rw .eg-bar > i::after { content: ""; position: absolute; inset: 0 0 50% 0; border-radius: inherit; background: linear-gradient(180deg, rgba(255,255,255,.35), transparent); }
#rw .eg-bar.green > i { background: linear-gradient(90deg, var(--rw-ok-d), var(--rw-ok)); box-shadow: 0 0 12px -2px color-mix(in srgb, var(--rw-ok) 60%, transparent); }
@keyframes rwFill { from { transform: scaleX(0); } }

/* ---------------- check-in ---------------- */
#rw .rw-ck { padding: 20px; gap: 16px; border-radius: var(--rw-r-lg); }
#rw .rw-ck-h .eg-h { font-size: 28px; }
#rw .rw-ck-prize { position: relative; overflow: hidden; padding: 18px 20px; gap: 18px; border-radius: var(--rw-r);
  background: radial-gradient(55% 150% at 0% 50%, color-mix(in srgb, var(--rw-cash) 30%, transparent), transparent 70%),
              linear-gradient(180deg, var(--rw-top), var(--eg-s1));
  border: 1px solid color-mix(in srgb, var(--rw-cash) 48%, var(--eg-line));
  box-shadow: var(--rw-edge), 0 20px 40px -26px color-mix(in srgb, var(--rw-cash) 80%, transparent); }
#rw .rw-ck-prize > img, #rw .rw-ck-ic > img { width: 84px; height: 84px; }
#rw .rw-ck-prize small { font-size: 12px; color: var(--rw-cash); }
#rw .rw-ck-prize b { font-size: 36px; margin-top: 6px; }
#rw .rw-ck-prize .eg-btn { min-height: 52px; padding: 0 30px; font-size: 16px; }
#rw .rw-ck-prize.done { background: linear-gradient(180deg, var(--rw-top), var(--eg-s1)); border-color: var(--rw-line); box-shadow: var(--rw-edge); }
#rw .rw-ck-prize.done small { color: var(--rw-ok); }
#rw .rw-ck-prize.done b { color: color-mix(in srgb, var(--eg-text) 80%, var(--eg-muted)); }

/* check-in ao lado da ofensiva: o check-in fica com mais espaço (a régua tem 7 dias) */
@media (min-width: 960px) { #rw .rw-hero.two { grid-template-columns: 1.45fr 1fr; } }
/* régua dos 7 dias. Sozinha na linha (sem ofensiva), o 7º ocupa duas colunas; no celular também (fecha a 2ª linha: 4 + 2 + o dia 7) */
#rw .eg-days { gap: 8px; }
#rw .rw-hero:not(.two) .eg-days { grid-template-columns: repeat(8, minmax(0, 1fr)); }
#rw .rw-hero:not(.two) .eg-day.big { grid-column: span 2; }
#rw .eg-day > span:last-child { overflow-wrap: anywhere; }
#rw .eg-day { padding: 13px 6px 11px; gap: 6px; border-radius: var(--rw-r); border-color: var(--rw-line);
  background: linear-gradient(180deg, var(--rw-top), var(--eg-s2)); box-shadow: var(--rw-edge), 0 6px 14px -10px rgba(0, 0, 0, .8); }
#rw .eg-day .eg-ico { width: 42px; height: 42px; }
#rw .eg-day.done { background: linear-gradient(180deg, color-mix(in srgb, var(--rw-ok-d) 18%, var(--rw-top)), color-mix(in srgb, var(--rw-ok-d) 8%, var(--eg-s2)));
  border-color: color-mix(in srgb, var(--rw-ok-d) 50%, transparent); }
#rw .eg-day.done .eg-ico { opacity: .55; filter: saturate(.5); }
#rw .eg-day.today { border-color: var(--rw-cash); transform: translateY(-3px);
  background: radial-gradient(90% 70% at 50% 35%, color-mix(in srgb, var(--rw-cash) 26%, transparent), transparent 75%), linear-gradient(180deg, var(--rw-top), var(--eg-s2));
  box-shadow: 0 0 0 1px var(--rw-cash), 0 14px 28px -12px color-mix(in srgb, var(--rw-cash) 75%, transparent); animation: rwBreath 2.6s ease-in-out infinite; }
#rw .eg-day.today small { color: var(--rw-cash) !important; }
#rw .eg-day.big { align-content: center;
  background: radial-gradient(80% 90% at 50% 40%, color-mix(in srgb, var(--rw-vip) 26%, transparent), transparent 75%), linear-gradient(160deg, color-mix(in srgb, var(--rw-vip) 14%, var(--rw-top)), var(--eg-s2));
  border-color: color-mix(in srgb, var(--rw-vip) 55%, var(--eg-line)); }
#rw .eg-day.big .eg-ico { width: 64px; height: 64px; }
#rw .eg-day.big.today { border-color: var(--rw-cash); }
@keyframes rwBreath { 0%, 100% { box-shadow: 0 0 0 1px var(--rw-cash), 0 14px 28px -12px color-mix(in srgb, var(--rw-cash) 75%, transparent); }
  50% { box-shadow: 0 0 0 1px var(--rw-cash), 0 14px 34px -8px color-mix(in srgb, var(--rw-cash) 95%, transparent); } }
@media (max-width: 560px) {
  #rw .eg-days { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  #rw .eg-day .eg-ico { width: 40px; height: 40px; }
  #rw .eg-day.big { grid-column: span 2; }
  #rw .eg-day.big .eg-ico { width: 52px; height: 52px; }
}
@media (max-width: 520px) {
  #rw .rw-ck { padding: 16px 14px; }
  #rw .rw-ck-prize { grid-template-columns: 64px minmax(0, 1fr); padding: 14px; column-gap: 14px; }
  #rw .rw-ck-prize > img, #rw .rw-ck-ic > img { width: 64px; height: 64px; }
  #rw .rw-ck-prize b { font-size: clamp(20px, 6.2vw, 26px); white-space: normal; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
}

/* ---------------- ofensiva ---------------- */
#rw .rw-of { padding: 20px; border-radius: var(--rw-r-lg);
  background: radial-gradient(70% 90% at 0% 0%, color-mix(in srgb, var(--rw-cash) 13%, transparent), transparent 70%), var(--rw-card); }
#rw .rw-of-fire { width: 82px; height: 82px; }
#rw .rw-of-fire::before { content: ""; position: absolute; inset: 6px 4px 0; border-radius: 50%; background: radial-gradient(circle at 50% 70%, color-mix(in srgb, var(--rw-cash) 40%, transparent), transparent 68%); }
#rw .rw-of-fire img { position: relative; width: 76px; height: 76px; }
#rw .rw-of-fire b { min-width: 36px; height: 36px; line-height: 36px; font-size: 21px; right: -10px; bottom: -6px; color: var(--rw-cash-ink);
  background: linear-gradient(180deg, var(--rw-cash-hi), var(--rw-cash) 50%, var(--rw-cash-lo)); box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 0 0 3px var(--eg-s1), 0 6px 12px rgba(0,0,0,.5); }
#rw .rw-of-txt .eg-h { font-size: 28px; }
#rw .rw-of-mark { border-radius: var(--rw-r); background: linear-gradient(180deg, var(--rw-top), var(--eg-s2)); border-color: var(--rw-line); box-shadow: var(--rw-edge); padding: 12px 6px; }
#rw .rw-of-mark .eg-ico { width: 42px; height: 42px; }
#rw .rw-of-mark.done { border-color: color-mix(in srgb, var(--rw-cash) 70%, transparent); background: linear-gradient(180deg, color-mix(in srgb, var(--rw-cash) 14%, var(--rw-top)), var(--eg-s2)); }

/* ---------------- missões ---------------- */
#rw .eg-quests { gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); }
#rw .eg-quest { padding: 16px; gap: 12px; }
#rw .eg-quest-top { gap: 14px; }
#rw .eg-quest-top .eg-art { width: 64px; height: 64px; border-radius: var(--rw-r);
  background: radial-gradient(circle at 50% 62%, color-mix(in srgb, var(--rw-pri) 26%, transparent), transparent 70%), color-mix(in srgb, var(--eg-bg) 70%, var(--eg-s2));
  box-shadow: inset 0 0 0 1px var(--rw-line), inset 0 -10px 18px rgba(0,0,0,.35); overflow: visible; }
#rw .eg-quest-top .eg-art .eg-ico { width: 48px; height: 48px; }
#rw .eg-quest-top .eg-art img:not(.eg-ico) { border-radius: var(--rw-r); }
#rw .eg-quest-top b { font-size: 15px; }
#rw .eg-quest-top span { color: var(--rw-cash); font-size: 12.5px; }
#rw .eg-quest.done { border-color: color-mix(in srgb, var(--rw-cash) 65%, transparent);
  background: radial-gradient(80% 60% at 100% 0%, color-mix(in srgb, var(--rw-cash) 16%, transparent), transparent 70%), var(--rw-card);
  box-shadow: var(--rw-edge), var(--rw-depth), 0 0 0 1px color-mix(in srgb, var(--rw-cash) 30%, transparent); }
#rw .eg-quest.claimed { opacity: .55; filter: saturate(.6); }

/* ---------------- baús: cada um num palco com a luz do tier ---------------- */
#rw .eg-chests { gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(46%, 170px), 1fr)); }
#rw .eg-chest { --tc: var(--rw-vip); position: relative; overflow: hidden; padding: 18px 10px 16px; gap: 8px;
  background: radial-gradient(60% 46% at 50% 64%, color-mix(in srgb, var(--tc) 24%, transparent), transparent 72%), var(--rw-card); }
#rw .eg-chest::before { content: ""; position: absolute; left: 22%; right: 22%; top: 104px; height: 16px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .65), transparent); pointer-events: none; }
#rw .eg-chest.t-bronze { --tc: rgb(var(--kv-b45309, 180, 83, 9)); }
#rw .eg-chest.t-prata { --tc: color-mix(in srgb, var(--eg-text) 82%, var(--eg-muted)); }
#rw .eg-chest.t-ouro { --tc: var(--rw-vip); }
#rw .eg-chest.t-diamante { --tc: color-mix(in srgb, var(--eg-text) 92%, var(--rw-vip) 8%); }
#rw .eg-chest > img, #rw .eg-chest .rw-cimg, #rw .eg-chest.locked .rw-cimg > img { position: relative; width: 104px; height: 104px; }
#rw .eg-chest b { font-size: 18px; }
#rw .eg-chest.ready { cursor: pointer; border-color: color-mix(in srgb, var(--tc) 70%, transparent); animation: rwChestGlow 2.4s ease-in-out infinite; }
#rw .eg-chest.ready:focus-visible, #rw .eg-chest.locked:focus-visible { outline: 2px solid var(--rw-cash); outline-offset: 2px; }
#rw .eg-chest.ready .eg-gold { color: var(--rw-cash); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: 11.5px; }
#rw .eg-chest.opened, #rw .eg-chest.gone { background: var(--rw-card); }
#rw .eg-chest.opened > img { opacity: .8; }
#rw .eg-chest.gone > img { opacity: .45; filter: grayscale(1); }
#rw .eg-chest.locked .rw-cimg i { width: 36px; height: 36px; right: -4px; bottom: -2px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--rw-pri) 82%, #fff), var(--rw-pri-d)); box-shadow: 0 0 0 3px var(--eg-s1), 0 6px 12px rgba(0,0,0,.5); border: 0; }
#rw .eg-chest.locked .rw-cimg i img { width: 20px; height: 20px; filter: none; }
@keyframes rwChestGlow { 0%, 100% { box-shadow: var(--rw-edge), var(--rw-depth), 0 0 0 0 color-mix(in srgb, var(--tc) 0%, transparent); }
  50% { box-shadow: var(--rw-edge), var(--rw-depth), 0 0 26px -4px color-mix(in srgb, var(--tc) 55%, transparent); } }

/* ---------------- clube VIP ---------------- */
#rw .eg-vip { padding: 22px; gap: 16px; border-radius: var(--rw-r-lg);
  background: radial-gradient(80% 120% at 0% 0%, color-mix(in srgb, var(--rw-vip) 17%, transparent), transparent 62%),
              radial-gradient(70% 100% at 100% 100%, color-mix(in srgb, var(--rw-pri) 16%, transparent), transparent 60%), var(--rw-card);
  border-color: color-mix(in srgb, var(--rw-vip) 30%, var(--eg-line)); }
#rw .eg-vip-row { gap: 18px; flex-wrap: nowrap; }
#rw .rw-vip-em { position: relative; flex-shrink: 0; width: 112px; height: 112px; display: grid; place-items: center; border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, color-mix(in srgb, var(--rw-vip) 30%, transparent), transparent 66%); }
#rw .rw-vip-em::before { content: ""; position: absolute; inset: 0; border-radius: 50%; padding: 2px;
  background: conic-gradient(from 210deg, transparent, color-mix(in srgb, var(--rw-vip) 85%, #fff), transparent 30%, transparent 60%, var(--rw-vip-d), transparent 90%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
#rw .eg-vip-row .rw-vip-em img { width: 92px; height: 92px; }
#rw .eg-vip-row .info .eg-h { font-size: 38px; color: var(--rw-vip); }
#rw .eg-vip-row .info span { font-size: 13.5px; }
#rw .eg-vip-row .info .eg-gold { color: var(--rw-vip); }
#rw .eg-vip-next { opacity: 1; }
#rw .eg-vip-next img { width: 58px; height: 58px; filter: grayscale(.65) brightness(.75); }
#rw .eg-vip .eg-bar > i { background: linear-gradient(90deg, var(--rw-vip-d), var(--rw-vip) 70%, color-mix(in srgb, var(--rw-vip) 60%, #fff)); box-shadow: 0 0 14px -2px color-mix(in srgb, var(--rw-vip) 70%, transparent); }
#rw .eg-perk { background: color-mix(in srgb, var(--eg-bg) 75%, transparent); border-color: var(--rw-line); border-radius: var(--rw-r); padding: 12px 13px; }
#rw .eg-perk b { color: var(--rw-vip); font-size: 24px; }
#rw .eg-levels td img { width: 30px; height: 30px; vertical-align: middle; margin-right: 8px; }
#rw .eg-levels tr.me td { background: color-mix(in srgb, var(--rw-vip) 10%, transparent); }
#rw .eg-levels .eg-badge.gold { background: var(--rw-vip); }
#rw .rw-link { color: var(--rw-vip); }
#rw .rw-hh.on { border-color: color-mix(in srgb, var(--rw-vip) 70%, transparent); }
@media (max-width: 520px) {
  #rw .eg-vip { padding: 18px 14px; }
  #rw .eg-vip-row { gap: 12px; }
  #rw .rw-vip-em { width: 84px; height: 84px; }
  #rw .eg-vip-row .rw-vip-em img { width: 70px; height: 70px; }
  #rw .eg-vip-row .info { min-width: 0; }
  #rw .eg-vip-row .info .eg-h { font-size: 30px; }
  #rw .eg-vip-next img { width: 44px; height: 44px; }
}

/* ---------------- cashback ---------------- */
#rw .rw-cb { padding: 20px; border-radius: var(--rw-r-lg);
  background: radial-gradient(60% 120% at 100% 0%, color-mix(in srgb, var(--rw-cash) 14%, transparent), transparent 65%), var(--rw-card); }
#rw .rw-cb-est b { font-size: 48px; color: var(--rw-cash); text-shadow: 0 6px 24px color-mix(in srgb, var(--rw-cash) 35%, transparent); }
#rw .rw-row { padding: 12px 16px; gap: 14px; }
#rw .rw-row .eg-ico { width: 40px; height: 40px; }

/* ---------------- conquistas ---------------- */
#rw .rw-ac { gap: 12px; }
#rw .rw-ac-f { padding: 16px; gap: 12px; }
#rw .rw-ac-top > .eg-ico { width: 54px; height: 54px; }
#rw .rw-ac-med { gap: 4px; }
#rw .rw-ac-med img { width: 28px; height: 28px; }
#rw .rw-ac-f.rw-ac-full { border-color: color-mix(in srgb, var(--rw-vip) 70%, transparent);
  background: radial-gradient(80% 70% at 0% 0%, color-mix(in srgb, var(--rw-vip) 14%, transparent), transparent 70%), var(--rw-card); }
#rw .rw-ac-f .eg-gold { color: var(--rw-vip); }
#rw .rw-ac-held { border-color: color-mix(in srgb, var(--rw-cash) 65%, transparent); }
#rw .rw-ac-held .eg-ico { width: 40px; height: 40px; }
#rw .rw-ac-prev .rw-of-mark .eg-ico { width: 46px; height: 46px; }

/* ---------------- histórico ---------------- */
#rw #historico .rw-list { gap: 6px; }
#rw #historico .rw-row { box-shadow: var(--rw-edge); }

/* ---------------- faixa do turbo (o verde é a cor de Ganho da dash) ---------------- */
#rw .rw-tb { border-radius: var(--rw-r-lg); box-shadow: var(--rw-edge), 0 18px 40px -20px rgba(0, 0, 0, .8), 0 0 0 1px color-mix(in srgb, var(--g) 20%, transparent); }
#rw .rw-tb-medal { box-shadow: inset 0 2px 0 rgba(255,255,255,.4), inset 0 -6px 14px rgba(0,0,0,.25), 0 0 0 6px color-mix(in srgb, var(--g) 18%, transparent), 0 0 38px color-mix(in srgb, var(--g) 50%, transparent); }

/* ---------------- visitante ---------------- */
#rw .rw-lock { border-radius: var(--rw-r-lg); padding: 34px 20px;
  background: radial-gradient(70% 80% at 50% 0%, color-mix(in srgb, var(--rw-pri) 20%, transparent), transparent 70%), var(--rw-card); }
#rw .rw-lock > .eg-ico { width: 88px; height: 88px; }

/* ---------------- janelas: revelar o prêmio e abrir o baú (o momento da página) ---------------- */
.eg-modal .rw-rv-art { position: relative; display: grid; place-items: center; width: 200px; height: 200px; margin: -6px auto 2px; isolation: isolate; }
.eg-modal .rw-rv-art::before { content: ""; position: absolute; inset: -10px; z-index: -2; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, color-mix(in srgb, var(--rw-cash) 34%, transparent) 0 7deg, transparent 7deg 22deg);
  -webkit-mask: radial-gradient(closest-side, #000 30%, transparent 100%); mask: radial-gradient(closest-side, #000 30%, transparent 100%);
  animation: rwRays 14s linear infinite, egBurst .6s var(--eg-ease) both; }
.eg-modal .rw-rv-art::after { content: ""; position: absolute; inset: 30px; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--rw-cash) 55%, transparent), transparent); animation: rwFlash .9s var(--eg-ease) both; }
.eg-modal .rw-reveal .big { width: 136px; height: 136px; }
.eg-modal .rw-reveal .eg-h { font-size: 34px; color: var(--rw-cash); }
.eg-modal .eg-open .eg-chestbig { width: 160px; height: 160px; }
.eg-modal .eg-open .eg-prize { color: var(--rw-cash); font-size: 38px; }
@keyframes rwRays { to { transform: rotate(360deg); } }
@keyframes rwFlash { 0% { transform: scale(.3); opacity: 0; } 40% { transform: scale(1.25); opacity: 1; } 100% { transform: scale(1); opacity: .85; } }

/* ---------------- ícones 3D pequenos e cadeados (16/11, 2ª passada) ----------------
   Regra: arte 3D só de 24 px para cima. Abaixo disso (chips, texto, selos de 14-20 px) o JS usa o OpenMoji, que lê melhor. */
#rw .eg-tabs button img { width: 24px; height: 24px; margin: -2px 0; }
#rw .eg-day.done .eg-ico { opacity: .92; filter: saturate(.8) brightness(.88); }
#rw .eg-day .rw-dlock { top: -13px; left: 2px; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 0; background: none;
  filter: drop-shadow(0 3px 4px rgba(0,0,0,.6)); }
#rw .eg-chest.locked .rw-cimg i { width: 44px; height: 44px; right: -10px; bottom: -6px; background: none; border: 0; box-shadow: none; }
#rw .eg-chest.locked .rw-cimg i img { width: 44px; height: 44px; filter: drop-shadow(0 4px 6px rgba(0,0,0,.65)); }
#rw .eg-odds-grid b .eg-ico, #rw details b > .eg-ico { width: 30px; height: 30px; }
.eg-modal .rw-lk-lock img { width: 28px; height: 28px; }
@media (max-width: 620px) {
  #rw .rw-tb-medal { top: 14px; right: 14px; width: 64px; height: 64px; }
  #rw .rw-tb-medal b { font-size: 28px; }
  #rw .rw-tb-medal small { font-size: 7.5px; }
  #rw .rw-tb-h { padding-right: 72px; }
}

/* ---------------- 2ª passada de acabamento (16/11) ---------------- */
#rw .eg-chests { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }   /* a fileira de baús ocupa a largura toda, sem buraco no fim */
#rw .rw-of-marks { grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); }   /* 4 marcos na mesma linha no computador */
@media (max-width: 560px) { #rw .rw-of-marks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }   /* celular: 2 por linha, sem marco sozinho */
#rw .rw-of-mark.done .eg-ico { opacity: .9; filter: saturate(.8) brightness(.88); }
#rw .eg-vip-next img { filter: grayscale(.35) brightness(.85); opacity: .9; }
#rw .eg-levels td:first-child { white-space: nowrap; }
#rw .eg-levels td img { display: inline-block; }   /* emblema e nome do nível na mesma linha (o reset do site deixa img em bloco) */

/* ---------------- movimento reduzido: tudo parado ---------------- */
@media (prefers-reduced-motion: reduce) {
  #rw *, #rw *::before, #rw *::after, .eg-modal .rw-rv-art::before, .eg-modal .rw-rv-art::after { animation: none !important; transition: none !important; }
  #rw .eg-day.today { transform: none; }
}

/* ---------------- fase 1 (17/11): ajustes da fila da Recompensas ---------------- */
/* baú já aberto: apagado e com a etiqueta "Aberto" (não parece resgatável) */
#rw .eg-chest.opened { border-color: var(--eg-line); }
#rw .eg-chest.opened > img { opacity: .5; filter: saturate(.55); }
#rw .eg-chest.opened b { color: color-mix(in srgb, var(--eg-text) 70%, var(--eg-muted)); }
#rw .eg-chest.opened::before { opacity: .5; }
#rw .rw-ctag { position: absolute; top: 10px; right: 10px; z-index: 1; display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px 3px 6px;
  border-radius: var(--ui-r-pill, 999px); border: 1px solid var(--eg-line); background: var(--eg-s2); color: var(--eg-muted);
  font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; line-height: 1.2; }
#rw .rw-ctag svg { width: 12px; height: 12px; fill: none; stroke: var(--rw-ok, currentColor); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
/* check-in e ofensiva com a mesma altura no computador */
@media (min-width: 960px) { #rw .rw-hero.two { align-items: stretch; } #rw .rw-hero.two > * { height: 100%; box-sizing: border-box; } }
/* conquistas: cards da mesma linha com a mesma altura e as barras alinhadas embaixo */
#rw .rw-ac { align-items: stretch; }
#rw .rw-ac-f { display: flex; flex-direction: column; }
#rw .rw-ac-f > .eg-bar { margin-top: auto; }
/* VIP: os quadros de números ocupam a largura toda */
#rw .eg-vip .eg-perks { display: flex; flex-wrap: wrap; }
#rw .eg-vip .eg-perks > .eg-perk { flex: 1 1 150px; min-width: 0; }
#rw .eg-vip .eg-perks > .eg-perk[style*="grid-column"] { flex-basis: 100%; }
/* sem o prêmio na linha de baixo, o "Aberto" de sempre ganha o check (sem repetir a etiqueta em cima) */
#rw .rw-cdone { display: inline-flex; align-items: center; gap: 4px; }
#rw .rw-cdone svg { width: 12px; height: 12px; fill: none; stroke: var(--rw-ok, currentColor); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
