/* assets/css/rifa_aba.css — 🎟 aba "Rifas" do site (mesmo desenho da aba Loterias; tema claro, laranja-coral e dourado). */
.main.rf-on > .thread, .main.rf-on > .hero, .main.rf-on > .composer, .main.rf-on > .foot-note, .main.rf-on > .topbar .private { display: none !important; }
.rifapub[hidden] { display: none !important; }
.rifapub { --rf-ink: #241f3a; --rf-mut: #6b6880; --rf-acc: #5b3fd1; --rf-acc2: #8a6bff; --rf-gold: #c9962e; --rf-line: #e6e1f3; --rf-card: #fcfbff; color-scheme: light;
  flex: 1; min-height: 0; overflow-y: auto; background: #fff; color: var(--rf-ink); }
.rf-in { max-width: 1000px; margin: 0 auto; padding: 22px 18px 60px; }
.rf-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.rf-head h1 { margin: 0; font-size: 26px; } .rf-head p { margin: 4px 0 0; color: var(--rf-mut); font-size: 14px; }
.rf-share { border: 1px solid var(--rf-line); background: #fff; border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; color: var(--rf-acc); }
.rf-share:hover { border-color: var(--rf-acc); }
.rf-empty { color: var(--rf-mut); text-align: center; padding: 28px 8px; }
.rf-note { margin: 12px 0; padding: 12px 14px; border-radius: 14px; font-size: 14px; line-height: 1.5; border: 1px solid var(--rf-line); background: var(--rf-card); }
.rf-note.ok { background: #ecfaf1; border-color: #b9e7c9; } .rf-note.err { background: #fff1f0; border-color: #f3c4c0; } .rf-note.wait { background: #fff8e6; border-color: #f0dca0; }
.rf-block { border: 1px solid var(--rf-line); background: var(--rf-card); border-radius: 16px; padding: 14px; margin: 14px 0; } .rf-block h3 { margin: 0 0 8px; font-size: 15px; }
.rf-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; margin-top: 12px; }
.rf-card { border: 1px solid var(--rf-line); background: var(--rf-card); border-radius: 18px; overflow: hidden; cursor: pointer; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.rf-card:hover, .rf-card:focus-visible { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(91,63,209,.16); border-color: #cfc3f7; outline: none; }
.rf-card-b { padding: 13px 14px 15px; display: flex; flex-direction: column; gap: 7px; } .rf-card-b h2 { margin: 0; font-size: 18px; line-height: 1.25; }
.rf-st { align-self: flex-start; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #e8f7ee; color: #15733c; }
.rf-st.encerrada { background: #fff4de; color: #8a5a00; } .rf-st.sorteada { background: #f1ecff; color: #5b3bb8; }
.rf-price b { font-size: 20px; color: var(--rf-acc); } .rf-price small { color: var(--rf-mut); } .rf-price.big b { font-size: 28px; }
.rf-when { font-size: 13px; color: var(--rf-mut); } .rf-when em { font-style: normal; color: var(--rf-acc); font-weight: 600; }
.rf-win-mini { font-size: 13.5px; background: #f6f1ff; border-radius: 10px; padding: 6px 10px; }
.rf-prog { position: relative; height: 9px; border-radius: 99px; background: #ebe6f7; overflow: hidden; } .rf-prog i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 99px; }
.rf-prog .rs { background: #d9cffb; } .rf-prog .pg { background: linear-gradient(90deg, var(--rf-acc2), var(--rf-acc)); } .rf-prog-t { color: var(--rf-mut); font-size: 12px; }
.rf-go, .rf-pay { border: 0; border-radius: 999px; padding: 11px 18px; font: inherit; font-weight: 700; font-size: 14.5px; cursor: pointer; background: linear-gradient(135deg, var(--rf-acc2), var(--rf-acc)); color: #fff; text-decoration: none; text-align: center; display: inline-block; }
.rf-go.sm { padding: 7px 14px; font-size: 13px; } .rf-go:hover, .rf-pay:hover { filter: brightness(1.05); } .rf-pay { width: 100%; padding: 14px; font-size: 16px; } .rf-pay:disabled { opacity: .45; cursor: not-allowed; }
/* carrossel */
.rf-car { position: relative; overflow: hidden; background: #f1edfa; aspect-ratio: 4 / 3; touch-action: pan-y; } .rf-car.big { border-radius: 18px; aspect-ratio: 1 / 1; max-height: 560px; width: 100%; }
.rf-nofoto { display: grid; place-items: center; font-size: 54px; }
.rf-track { display: flex; height: 100%; transition: transform .45s cubic-bezier(.4, 0, .2, 1); } .rf-slide { flex: 0 0 100%; height: 100%; } .rf-slide img { width: 100%; height: 100%; object-fit: cover; display: block; user-select: none; }
.rf-car.big .rf-slide img { object-fit: contain; background: #f6f3fd; }
.rf-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255,255,255,.88); color: #241f3a; font-size: 22px; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.2); opacity: 0; transition: opacity .2s; padding: 0 0 3px; }
.rf-car:hover .rf-nav, .rf-car:focus-within .rf-nav { opacity: 1; } .rf-nav.prev { left: 8px; } .rf-nav.next { right: 8px; } @media (hover: none) { .rf-nav { opacity: .85; } }
.rf-dots { position: absolute; left: 0; right: 0; bottom: 8px; display: flex; justify-content: center; gap: 6px; } .rf-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.6); box-shadow: 0 0 0 1px rgba(0,0,0,.2); cursor: pointer; } .rf-dots button.on { background: #fff; width: 20px; border-radius: 99px; }
/* detalhe */
.rf-back { margin: 14px 0 6px; border: 0; background: none; color: var(--rf-acc); font: inherit; font-weight: 600; cursor: pointer; padding: 4px 0; }
.rf-det { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 22px; align-items: start; } @media (max-width: 760px) { .rf-det { grid-template-columns: 1fr; } }
.rf-det-r { display: flex; flex-direction: column; gap: 10px; } .rf-det-r h2 { margin: 0; font-size: 24px; line-height: 1.2; } .rf-premio { margin: 0; font-weight: 600; } .rf-desc { margin: 0; color: #44405a; line-height: 1.55; font-size: 14.5px; }
.rf-modes { display: flex; gap: 8px; margin-bottom: 10px; } .rf-mode { border: 1px solid var(--rf-line); background: #fff; border-radius: 999px; padding: 8px 14px; font: inherit; font-size: 14px; cursor: pointer; } .rf-mode.on { background: var(--rf-acc); border-color: var(--rf-acc); color: #fff; font-weight: 600; }
.rf-legend { display: flex; gap: 14px; font-size: 12.5px; color: var(--rf-mut); margin-bottom: 8px; } .rf-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: 5px; vertical-align: -1px; border: 1px solid #d9d2ee; }
.rf-legend .free { background: #fff; } .rf-legend .sel { background: var(--rf-acc); border-color: var(--rf-acc); } .rf-legend .busy { background: #e3e1ea; }
.rf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 6px; max-height: 360px; overflow-y: auto; padding: 4px; }
.rf-n { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 0 8px; border-radius: 10px; border: 1px solid #d9d2ee; background: #fff; color: inherit; font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.rf-n:hover:not(:disabled) { border-color: var(--rf-acc); color: var(--rf-acc); } .rf-n.sel { background: var(--rf-acc); border-color: var(--rf-acc); color: #fff; } .rf-n.busy { background: #ecebf0; color: #a9a6b8; border-color: #ecebf0; cursor: not-allowed; text-decoration: line-through; }
.rf-n.mine { background: #efeaff; border-color: #cfc3f7; color: #4a2fb3; cursor: default; } .rf-n.big { min-height: 42px; font-size: 20px; padding: 0 14px; background: #fff; border-color: var(--rf-gold); color: #7a5a00; cursor: default; }
.rf-nums, #rf-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0; }
.rf-qtd { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; } .rf-qtd button { min-width: 38px; height: 38px; border-radius: 12px; border: 1px solid var(--rf-line); background: #fff; font: inherit; font-size: 18px; cursor: pointer; } .rf-qtd .rf-q { font-size: 13.5px; padding: 0 12px; }
.rf-qtd input, .rf-ask input { width: 90px; border: 1px solid var(--rf-line); border-radius: 12px; padding: 9px 10px; font: inherit; text-align: center; background: #fff; color: inherit; } .rf-ask { display: flex; gap: 8px; align-items: center; }
.rf-selbox { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--rf-line); display: flex; flex-direction: column; gap: 10px; }
.rf-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; } .rf-total b { font-size: 24px; color: var(--rf-acc); } .rf-18 { font-size: 14px; display: flex; gap: 8px; align-items: center; cursor: pointer; }
.rf-sub { color: var(--rf-mut); font-size: 12.5px; margin: 6px 0 0; line-height: 1.5; } .rf-sub code { word-break: break-all; font-size: 11.5px; background: #f1edfa; padding: 1px 4px; border-radius: 5px; }
.rf-winner { border-color: #e8d49a; background: linear-gradient(180deg, #fffaf0, #fff); } .rf-winner summary { cursor: pointer; color: var(--rf-acc); font-weight: 600; font-size: 13.5px; }
.rf-my { padding: 8px 0; border-top: 1px dashed var(--rf-line); } .rf-my:first-of-type { border-top: 0; } .rf-tag { font-size: 11.5px; padding: 2px 8px; border-radius: 99px; font-weight: 700; } .rf-tag.ok { background: #e8f7ee; color: #15733c; } .rf-tag.pend { background: #fff4de; color: #8a5a00; }
/* 💭 balão de pensamento (mesmo desenho do da aba Loterias) */
.rf-bal { position: relative; display: flex; gap: 14px; align-items: flex-start; text-align: left; max-width: 620px; min-height: 92px; margin: 18px auto 10px; padding: 16px 18px; box-sizing: border-box; border-radius: 20px; cursor: default;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, #c9962e, #8a6bff 55%, #c9962e) border-box; border: 2px solid transparent; box-shadow: 0 10px 30px rgba(91,63,209,.13), 0 0 0 6px rgba(138,107,255,.06); transition: transform .2s, box-shadow .2s; }
.rf-bal.rf-bal-go { cursor: pointer; } .rf-bal.rf-bal-go:hover, .rf-bal:focus-visible { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(91,63,209,.2), 0 0 0 6px rgba(138,107,255,.1); outline: none; }
.rf-bal::before { content: ""; position: absolute; left: 34px; top: -9px; width: 16px; height: 16px; background: #fff; border-left: 2px solid #c9962e; border-top: 2px solid #b58f5a; transform: rotate(45deg); border-radius: 3px 0 0 0; }
.rf-bal-ic { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; background: radial-gradient(circle at 35% 30%, #b9a6ff, #5b3fd1); box-shadow: 0 0 0 4px #efeaff, 0 4px 14px rgba(91,63,209,.35); animation: rfPulse 2.6s ease-in-out infinite; }
@keyframes rfPulse { 50% { box-shadow: 0 0 0 7px #efeaff, 0 4px 20px rgba(201,150,46,.45); } }
.rf-bal-b { flex: 1; min-width: 0; } .rf-bal-b small { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #b07d1c; margin-bottom: 3px; }
.rf-bal-t { margin: 0; min-height: 2.9em; font-size: 17.5px; line-height: 1.45; font-weight: 600; color: #241f3a; font-style: italic; }
.rf-bal-t::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 3px; vertical-align: -.12em; background: #5b3fd1; animation: rfBlink 1s steps(1) infinite; } @keyframes rfBlink { 50% { opacity: 0; } }
.rf-bal-more { display: none; font-style: normal; font-size: 12.5px; color: #5b3fd1; font-weight: 600; margin-top: 4px; } .rf-bal.rf-bal-go .rf-bal-more { display: inline-block; }
@media (max-width: 640px) { .rf-bal { padding: 13px 14px; gap: 11px; } .rf-bal-ic { width: 38px; height: 38px; font-size: 17px; } .rf-bal-t { font-size: 15.5px; } .rf-in { padding: 16px 14px 60px; } }
@media (prefers-reduced-motion: reduce) { .rf-bal-ic, .rf-bal-t::after { animation: none; } .rf-track { transition: none; } }

/* ===== v128: botões padronizados, volante em tabela, abas e Minhas apostas ===== */
.rifapub button { font-family: inherit; box-sizing: border-box; letter-spacing: 0; text-transform: none; -webkit-appearance: none; appearance: none; }
.rifapub .rf-go, .rifapub .rf-pay, .rifapub .rf-mode, .rifapub .rf-mini, .rifapub .rf-share, .rifapub .rf-tab, .rifapub .rf-back { line-height: 1.2; margin: 0; }
.rifapub .rf-go { min-height: 42px; width: auto; border-radius: 12px; padding: 0 18px; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.rifapub .rf-go.sm { min-height: 34px; padding: 0 14px; font-size: 13px; border-radius: 10px; }
.rifapub .rf-card .rf-go { width: 100%; }
.rifapub .rf-pay { width: 100%; min-height: 48px; padding: 0 16px; font-size: 15.5px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.rifapub .rf-mini { min-height: 34px; padding: 0 12px; border: 1px solid var(--rf-line); background: #fff; color: var(--rf-acc); border-radius: 10px; font-size: 13px; font-weight: 600; cursor: pointer; }
.rifapub .rf-mini:hover { border-color: var(--rf-acc); background: #f6f3ff; }
.rifapub .rf-share { min-height: 34px; padding: 0 14px; }
.rifapub .rf-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 0; max-width: 360px; border: 1px solid var(--rf-line); border-radius: 12px; padding: 3px; background: #f6f3ff; margin-bottom: 12px; }
.rifapub .rf-mode { min-height: 38px; border: 0; background: transparent; border-radius: 9px; font-size: 13.5px; font-weight: 600; color: var(--rf-mut); cursor: pointer; padding: 0 10px; }
.rifapub .rf-mode.on { background: #fff; color: var(--rf-acc); box-shadow: 0 1px 6px rgba(91,63,209,.2); }
.rifapub .rf-qtd button { width: 40px; min-width: 40px; height: 40px; padding: 0; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-size: 18px; cursor: pointer; border: 1px solid var(--rf-line); background: #fff; color: inherit; }
.rifapub .rf-qtd .rf-q { width: auto; min-width: 44px; padding: 0 12px; font-size: 13.5px; }
.rifapub .rf-qtd input, .rifapub .rf-ir input, .rifapub .rf-ask input { height: 36px; box-sizing: border-box; }
.rifapub .rf-block { padding: 16px; }
.rifapub .rf-card .rf-st, .rifapub .rf-det-r .rf-st { font-size: 12px; }
/* abas */
.rf-tabs { display: flex; gap: 6px; margin: 14px 0 4px; border-bottom: 1px solid var(--rf-line); }
.rifapub .rf-tab { border: 0; background: none; padding: 10px 16px; font-size: 14.5px; font-weight: 600; color: var(--rf-mut); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -1px; display: inline-flex; align-items: center; gap: 7px; }
.rifapub .rf-tab.on { color: var(--rf-acc); border-bottom-color: var(--rf-acc); }
.rf-badge { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--rf-acc); color: #fff; font-size: 11.5px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.rf-badge[hidden] { display: none; }
/* volante: tabela de 10 colunas, de 100 em 100 */
.rf-pags { display: flex; gap: 6px; overflow-x: auto; padding: 2px 0 10px; scrollbar-width: thin; }
.rifapub .rf-pg { flex: none; min-height: 32px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--rf-line); background: #fff; font-size: 12.5px; font-weight: 600; color: var(--rf-mut); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.rifapub .rf-pg.on { background: var(--rf-acc); border-color: var(--rf-acc); color: #fff; }
.rf-pg b { min-width: 18px; height: 18px; border-radius: 99px; background: var(--rf-gold); color: #fff; font-size: 11px; display: inline-flex; align-items: center; justify-content: center; padding: 0 4px; }
.rf-grid { display: grid !important; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 0; max-height: none; overflow: visible; padding: 0; border: 1px solid var(--rf-line); border-radius: 12px; overflow: hidden; background: #fff; }
.rifapub .rf-grid .rf-n { min-height: 0; height: auto; aspect-ratio: 1 / 1; min-width: 0; padding: 0; border: 0; border-right: 1px solid var(--rf-line); border-bottom: 1px solid var(--rf-line); border-radius: 0; background: #fff; font-size: clamp(11px, 1.7vw, 15px); font-weight: 700; color: #3b3560; transition: background .12s, color .12s; }
.rifapub .rf-grid .rf-n:nth-child(10n) { border-right: 0; }
.rifapub .rf-grid .rf-n:hover:not(:disabled):not(.sel) { background: #efeaff; color: var(--rf-acc); }
.rifapub .rf-grid .rf-n.sel { background: var(--rf-acc); color: #fff; box-shadow: inset 0 0 0 2px #fff; }
.rifapub .rf-grid .rf-n.busy { background: repeating-linear-gradient(45deg, #f1f0f5, #f1f0f5 5px, #e8e6ef 5px, #e8e6ef 10px); color: #b4b1c4; text-decoration: none; }
.rf-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-top: 10px; }
.rf-ir { display: inline-flex; gap: 6px; align-items: center; font-size: 13px; color: var(--rf-mut); } .rf-ir input { width: 84px; border: 1px solid var(--rf-line); border-radius: 10px; padding: 0 8px; text-align: center; font: inherit; background: #fff; color: inherit; }
.rf-legend .sel { background: var(--rf-acc); border-color: var(--rf-acc); }
.rf-nums .rf-n { min-height: 32px; padding: 0 10px; border-radius: 9px; font-size: 13px; }
.rf-nums .rf-n.chip { cursor: pointer; }
.rf-n.mine.champ { background: var(--rf-gold); border-color: var(--rf-gold); color: #fff; }
/* Minhas apostas */
.rf-minhas { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; margin-top: 16px; }
.rf-ap { border: 1px solid var(--rf-line); background: var(--rf-card); border-radius: 18px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.rf-ap.win { border-color: #e8d49a; background: linear-gradient(180deg, #fffaf0, #fff); }
.rf-ap-h { display: flex; gap: 12px; align-items: center; } .rf-ap-h img, .rf-ap-ph { width: 60px; height: 60px; border-radius: 12px; object-fit: cover; flex: none; background: #f1edfa; display: grid; place-items: center; font-size: 26px; }
.rf-ap-h h3 { margin: 0; font-size: 16px; line-height: 1.25; } .rf-ap-s { font-size: 12.5px; color: var(--rf-mut); }
.rf-ap .rf-mini { align-self: flex-start; }
.rf-cd { border-radius: 14px; padding: 12px; text-align: center; background: linear-gradient(135deg, #2b1f6b, #5b3fd1); color: #fff; }
.rf-cd-t { font-size: 12.5px; opacity: .85; font-weight: 600; letter-spacing: .03em; }
.rf-cd-n { display: flex; justify-content: center; gap: 8px; margin: 8px 0 6px; }
.rf-cd-u { min-width: 56px; padding: 8px 4px; border-radius: 10px; background: rgba(255,255,255,.14); display: flex; flex-direction: column; align-items: center; }
.rf-cd-u b { font-size: 24px; line-height: 1.1; font-variant-numeric: tabular-nums; } .rf-cd-u small { font-size: 10.5px; opacity: .8; text-transform: uppercase; letter-spacing: .06em; }
.rf-cd-d { font-size: 12.5px; opacity: .9; }
.rf-ap-res { padding: 10px 12px; border-radius: 12px; background: #f6f3ff; font-size: 14px; line-height: 1.45; } .rf-ap-res.ok { background: #fff4d6; }
@media (max-width: 640px) { .rf-minhas { grid-template-columns: 1fr; } .rf-cd-u { min-width: 50px; } .rf-cd-u b { font-size: 21px; } .rf-tab { padding: 10px 12px !important; font-size: 14px !important; } }

/* ===== v129: números já pagos em roxo + painel do ganhador ===== */
.rifapub .rf-grid .rf-n.sold { background: var(--rf-acc); color: #fff; cursor: not-allowed; opacity: 1; box-shadow: inset 0 0 0 2px rgba(255,255,255,.35); }
.rifapub .rf-grid .rf-n.sold:disabled { color: #fff; }
.rifapub .rf-grid .rf-n.sel { background: var(--rf-gold); color: #fff; box-shadow: inset 0 0 0 2px #fff; }
.rifapub .rf-grid .rf-n.champ { background: linear-gradient(135deg, #f2c14e, #c9962e); font-size: clamp(14px, 2.4vw, 22px); animation: rfGlow 1.6s ease-in-out infinite; position: relative; z-index: 1; }
@keyframes rfGlow { 50% { box-shadow: inset 0 0 0 2px #fff, 0 0 18px 4px rgba(242,193,78,.8); } }
.rifapub .rf-grid.ro .rf-n { cursor: default; }
.rf-legend { flex-wrap: wrap; } .rf-legend .sold { background: var(--rf-acc); border-color: var(--rf-acc); } .rf-legend .sel { background: var(--rf-gold); border-color: var(--rf-gold); } .rf-legend .champ { background: linear-gradient(135deg, #f2c14e, #c9962e); border-color: #c9962e; }
.rf-nums .rf-n.sel.chip { background: var(--rf-gold); border-color: var(--rf-gold); color: #fff; }
.rf-pop { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 16px; background: radial-gradient(circle at 50% 40%, rgba(60,38,150,.78), rgba(15,10,45,.9)); backdrop-filter: blur(3px); animation: rfFade .35s ease-out; overflow: hidden; }
@keyframes rfFade { from { opacity: 0; } }
.rf-pop-cf { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.rf-pop-cf i { position: absolute; top: -24px; border-radius: 2px; opacity: .95; animation: rfFall linear infinite; }
@keyframes rfFall { to { transform: translateY(110vh) rotate(720deg); } }
.rf-pop-card { position: relative; width: min(440px, 100%); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-x: hidden; overflow-y: auto; text-align: center; color: #fff; border-radius: 26px; background: linear-gradient(160deg, #5b3fd1 0%, #3a2696 55%, #22175f 100%); border: 1.5px solid rgba(242,193,78,.85); box-shadow: 0 0 0 6px rgba(242,193,78,.12), 0 30px 80px rgba(0,0,0,.55), 0 0 70px rgba(138,107,255,.45); animation: rfPop .6s cubic-bezier(.2, 1.4, .4, 1); scrollbar-width: thin; }
@keyframes rfPop { from { transform: scale(.7) translateY(30px); opacity: 0; } }
.rf-pop-hero { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 34px 20px 22px; background: radial-gradient(circle at 50% 42%, rgba(242,193,78,.28), transparent 62%); }
.rf-pop-rays { position: absolute; left: 50%; top: 42%; width: 560px; height: 560px; margin: -280px 0 0 -280px; background: repeating-conic-gradient(from 0deg, rgba(242,193,78,.2) 0 9deg, transparent 9deg 18deg); border-radius: 50%; animation: rfSpin 18s linear infinite; -webkit-mask-image: radial-gradient(circle, #000 12%, transparent 60%); mask-image: radial-gradient(circle, #000 12%, transparent 60%); pointer-events: none; }
@keyframes rfSpin { to { transform: rotate(360deg); } }
.rf-pop-hero > *:not(.rf-pop-rays), .rf-pop-info > * { position: relative; }
.rf-pop-x { position: absolute; right: 12px; top: 12px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(20,12,60,.45); color: #fff; font-size: 15px; cursor: pointer; z-index: 5; transition: background .2s, transform .2s; }
.rf-pop-x:hover { background: rgba(255,255,255,.22); transform: rotate(90deg); }
.rf-pop-trophy { font-size: 78px; line-height: 1; animation: rfBob 2.4s ease-in-out infinite; filter: drop-shadow(0 8px 18px rgba(242,193,78,.65)); }
@keyframes rfBob { 50% { transform: translateY(-10px) scale(1.05); } }
.rf-pop-num { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.rf-pop-num span { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: #ffe39a; opacity: .9; }
.rf-pop-num b { box-sizing: border-box; display: grid; place-items: center; min-width: 74px; height: 74px; padding: 0 14px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff3c4, #f2c14e 45%, #c9962e); color: #2b1f6b; font-size: 30px; font-weight: 800; box-shadow: 0 0 0 4px rgba(255,255,255,.18), 0 10px 26px rgba(201,150,46,.55), inset 0 -4px 8px rgba(120,80,10,.35); }
.rf-pop-info { padding: 8px 26px 26px; }
.rf-pop-kick { display: inline-block; padding: 5px 12px; border-radius: 999px; background: rgba(242,193,78,.16); border: 1px solid rgba(242,193,78,.4); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #f2c14e; font-weight: 700; }
.rf-pop-lab { margin-top: 14px; font-size: 16px; font-weight: 700; color: #ffe39a; }
.rf-pop-name { margin: 4px 0 16px; animation: rfFloat 3s ease-in-out infinite; }
.rf-pop-name span { display: inline-block; max-width: 100%; font-size: clamp(30px, 7vw, 46px); font-weight: 800; line-height: 1.12; background: linear-gradient(100deg, #fff 20%, #f2c14e 45%, #fff 60%, #f2c14e 85%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; animation: rfShine 3s linear infinite; filter: drop-shadow(0 0 14px rgba(242,193,78,.55)); overflow-wrap: anywhere; }
@keyframes rfFloat { 50% { transform: translateY(-6px); } } @keyframes rfShine { to { background-position: -220% 0; } }
.rf-pop-meta { display: grid; gap: 8px; margin: 0 0 20px; padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); text-align: left; font-size: 14px; line-height: 1.4; }
.rf-pop-tit { font-weight: 600; } .rf-pop-prem, .rf-pop-data { opacity: .85; font-size: 13.5px; }
.rf-pop .rf-go { background: #fff; color: var(--rf-acc); min-width: 160px; box-shadow: 0 8px 22px rgba(0,0,0,.25); }
.rf-pop .rf-go:hover { background: #ffe39a; color: #2b1f6b; }
/* 💻 computador: cartão largo em duas colunas (troféu e número à esquerda, ganhador à direita), sem cortar na tela */
@media (min-width: 760px) {
  .rf-pop-card { width: min(780px, 100%); display: grid; grid-template-columns: 300px 1fr; text-align: left; }
  .rf-pop-hero { padding: 40px 24px; border-right: 1px solid rgba(242,193,78,.25); background: radial-gradient(circle at 50% 45%, rgba(242,193,78,.3), rgba(20,12,60,.35) 70%); }
  .rf-pop-trophy { font-size: 96px; }
  .rf-pop-num b { min-width: 96px; height: 96px; font-size: 38px; }
  .rf-pop-info { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 44px 40px 36px; }
  .rf-pop-kick { align-self: flex-start; }
  .rf-pop-lab { margin-top: 18px; font-size: 18px; }
  .rf-pop-name span { font-size: clamp(40px, 4.6vw, 56px); }
  .rf-pop-meta { width: 100%; }
}
@media (min-width: 760px) and (max-height: 520px) { .rf-pop-hero { padding: 24px; } .rf-pop-trophy { font-size: 64px; } .rf-pop-info { padding: 28px 32px 24px; } }
@media (max-width: 759px) and (max-height: 700px) { .rf-pop-hero { padding: 26px 16px 16px; } .rf-pop-trophy { font-size: 60px; } .rf-pop-num b { min-width: 60px; height: 60px; font-size: 24px; } }
/* 🎁 botão Reivindicar prêmio, formulário e recibo */
.rf-pop-acts { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.rf-pop-st { margin-top: 2px; padding-top: 8px; border-top: 1px dashed rgba(255,255,255,.18); font-size: 13px; line-height: 1.45; }
.rf-go.gold, .rf-pop .rf-go.gold { background: linear-gradient(135deg, #ffe39a, #f2c14e 55%, #c9962e); color: #2b1f6b; border: 0; box-shadow: 0 8px 22px rgba(201,150,46,.45); font-weight: 800; }
.rf-go.gold:hover, .rf-pop .rf-go.gold:hover { filter: brightness(1.06); transform: translateY(-1px); }
.rf-mini.gold { background: #fff6d8; border-color: #e7c35c; color: #6a4b00; font-weight: 700; }
.rf-prem { margin: 10px 0 0; padding: 10px 12px; border-radius: 12px; background: #fff8e6; border: 1px solid #f0d78a; color: #4a3a10; font-size: 13.5px; line-height: 1.5; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.rf-modal-card > .rf-rec { margin-top: 30px; }
.rf-prem.ok { background: #e9f8ef; border-color: #9bd8b2; color: #145a32; }
.rf-modal { position: fixed; inset: 0; z-index: 2100; display: grid; place-items: center; padding: 16px; background: rgba(15,10,45,.72); backdrop-filter: blur(4px); animation: rfFade .25s ease-out; }
.rf-modal-card { position: relative; width: min(640px, 100%); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-y: auto; padding: 26px 26px 22px; border-radius: 22px; background: #fff; color: #231a4d; box-shadow: 0 30px 80px rgba(0,0,0,.45); animation: rfPop .45s cubic-bezier(.2, 1.3, .4, 1); }
.rf-modal-card .rf-pop-x { background: #f1edff; color: #5b3fd1; border-color: #e2dbff; }
.rf-m-h { display: flex; gap: 14px; align-items: center; margin: 0 40px 14px 0; }
.rf-m-ic { flex: none; width: 54px; height: 54px; display: grid; place-items: center; font-size: 28px; border-radius: 16px; background: linear-gradient(135deg, #5b3fd1, #8a6bff); box-shadow: 0 8px 20px rgba(91,63,209,.35); }
.rf-m-h small { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #c9962e; font-weight: 800; }
.rf-m-h h2 { margin: 2px 0; font-size: 19px; line-height: 1.25; } .rf-m-h p { margin: 0; font-size: 13.5px; color: #5d567a; }
.rf-m-n { display: inline-block; padding: 0 9px; border-radius: 8px; background: #f2c14e; color: #2b1f6b; }
.rf-modal fieldset { margin: 0 0 14px; padding: 12px 14px 14px; border: 1px solid #e6e1f7; border-radius: 14px; }
.rf-modal legend { padding: 0 6px; font-weight: 700; font-size: 14px; color: #3a2696; }
.rf-fg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; }
.rf-f { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; font-weight: 600; color: #4b4468; min-width: 0; }
.rf-f.w2 { grid-column: 1 / -1; } .rf-modal-card > form > .rf-f.w2 { margin-bottom: 10px; }
.rf-f input, .rf-f select, .rf-f textarea { width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1.5px solid #ddd6f3; border-radius: 10px; font: inherit; font-weight: 400; font-size: 14.5px; color: #231a4d; background: #fbfaff; }
.rf-f input:focus, .rf-f select:focus, .rf-f textarea:focus { outline: none; border-color: #5b3fd1; box-shadow: 0 0 0 3px rgba(91,63,209,.15); background: #fff; }
.rf-modal .rf-18 { display: flex; gap: 8px; align-items: flex-start; margin: 6px 0; font-size: 13.5px; }
.rf-m-acts { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; align-items: center; margin-top: 14px; }
.rf-rec { border: 1px solid #e6e1f7; border-radius: 16px; overflow: hidden; color: #231a4d; background: #fff; }
.rf-rec-h { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; padding: 16px 18px; background: linear-gradient(135deg, #5b3fd1, #3a2696); color: #fff; }
.rf-rec-h small { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; opacity: .8; } .rf-rec-h h2 { margin: 2px 0 0; font-size: 20px; }
.rf-rec-ok { padding: 6px 12px; border-radius: 999px; background: #e9f8ef; color: #145a32; font-weight: 700; font-size: 13px; }
.rf-rec dl { margin: 0; padding: 6px 18px; }
.rf-rec dl > div { display: grid; grid-template-columns: 170px 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px dashed #e6e1f7; font-size: 14px; }
.rf-rec dl > div:last-child { border-bottom: 0; } .rf-rec dt { color: #6d6690; } .rf-rec dd { margin: 0; overflow-wrap: anywhere; }
.rf-rec-f { margin: 0; padding: 10px 18px 14px; font-size: 12px; color: #6d6690; }
.rf-print .rf-rec-h { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
@media (min-width: 760px) { .rf-pop-acts { justify-content: flex-start; } }
@media (max-width: 560px) { .rf-fg { grid-template-columns: 1fr; } .rf-rec dl > div { grid-template-columns: 1fr; gap: 2px; } .rf-modal-card { padding: 22px 16px 18px; } .rf-m-acts > * { flex: 1; } }
@media (prefers-reduced-motion: reduce) { .rf-pop *, .rf-pop { animation: none !important; } .rifapub .rf-grid .rf-n.champ { animation: none; } }
