:root {
  --bg: #07100c; --painel: #13201a; --painel2: #1a2a22; --linha: #2a3d33;
  --texto: #eef6f0; --fraco: #93ab9e; --ouro: #f4c542; --ouro2: #ffe89a; --verde: #2bd67b; --vermelho: #ff5d5d;
  --pix: #32bcad; --display: 'Russo One', Archivo, system-ui, sans-serif;
  --placa: linear-gradient(180deg, #1e3128 0%, #101a15 100%);
  --hud: 56px; --gl: 64px; --gr: 76px;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--texto); font-family: Archivo, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; font-weight: 500; overscroll-behavior: none; }
body { overflow: hidden; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
h2 { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 400; font-size: 17px; letter-spacing: .04em; text-transform: uppercase; margin: 24px 0 12px; }
h2 span { background: linear-gradient(180deg, #fff3b0, var(--ouro) 60%, #c8951a); -webkit-background-clip: text; background-clip: text; color: transparent; }
h2::after { content: ''; flex: 1; height: 2px; border-radius: 2px; background: linear-gradient(90deg, rgba(244,197,66,.55), rgba(244,197,66,0)); }
small { font-size: 12px; color: var(--fraco); }
.oculto { display: none !important; }
.miudo { font-size: 13px; color: var(--fraco); line-height: 1.45; }
.ic { width: 22px; height: 22px; fill: currentColor; flex: none; }

.tela { position: fixed; inset: 0; display: none; }
.tela.ativa { display: block; }
.placa { background: var(--placa); border: 1px solid rgba(244,197,66,.26); border-radius: 18px; box-shadow: inset 0 1px 0 rgba(255,255,255,.09), 0 10px 28px rgba(0,0,0,.4); }

/* BOTÕES */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 14px; font-family: var(--display); font-size: 15px; letter-spacing: .03em; transition: transform .08s, filter .15s; text-decoration: none; overflow: hidden; }
.btn::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 52%; background: linear-gradient(180deg, rgba(255,255,255,.34), rgba(255,255,255,0)); pointer-events: none; }
.btn:active { transform: translateY(2px) scale(.98); }
.btn.ouro { background: linear-gradient(180deg, #ffd95e, #e9a914); color: #2a1c00; border: 1px solid #fff0b0; box-shadow: 0 4px 0 #9a6b05, 0 10px 22px rgba(244,197,66,.22); text-shadow: 0 1px 0 rgba(255,255,255,.4); }
.btn.verde { background: linear-gradient(180deg, #4ff09b, #18ad5f); color: #032513; border: 1px solid #b6ffd7; box-shadow: 0 4px 0 #0c6e3b; }
.btn.fantasma { background: linear-gradient(180deg, #24372d, #17251e); border: 1px solid #3a5245; color: var(--texto); box-shadow: 0 3px 0 #0b1410; }
.btn.fantasma::before, .btn.usando::before, .btn.perigo::before { opacity: .25; }
.btn.perigo { background: linear-gradient(180deg, #4d1c1f, #2c1012); border: 1px solid #7a3034; color: #ffb0b0; box-shadow: 0 3px 0 #170708; }
.btn.usando { background: rgba(244,197,66,.12); border: 1px solid var(--ouro); color: var(--ouro); pointer-events: none; box-shadow: none; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn.cheio { width: 100%; }

.avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font-family: var(--display); font-size: 18px; color: #fff; background-color: var(--c, #456); background-size: cover; background-position: center; text-shadow: 0 1px 2px rgba(0,0,0,.4); flex: none; }

/* MOLDURAS: ficam mais bonitas a cada faixa de nível */
.mold { --esp: calc(var(--t) * .17); position: relative; display: inline-grid; place-items: center; width: var(--t); height: var(--t); border-radius: 50%; flex: none; }
.mold::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--aro, #55635b); box-shadow: var(--luz, 0 2px 6px rgba(0,0,0,.45)); }
.mold .avatar { position: relative; z-index: 1; width: calc(var(--t) - var(--esp)); height: calc(var(--t) - var(--esp)); font-size: calc(var(--t) * .38); box-shadow: 0 0 0 calc(var(--t) * .028) rgba(0,0,0,.6); }
.mold .nv { position: absolute; z-index: 3; right: -5px; bottom: -4px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; display: grid; place-items: center; font-style: normal; font-family: var(--display); font-size: 10px; line-height: 1; color: #fff; background: #0c1411; border: 1.5px solid var(--borda, #6c7a72); }
.m1 { --aro: linear-gradient(145deg, #7b8a81, #3d4842); --borda: #7b8a81; }
.m2 { --aro: conic-gradient(from 20deg, #8a4b1f, #e8a468, #a05a25, #f0b784, #8a4b1f); --borda: #d18a52; }
.m3 { --aro: conic-gradient(from 20deg, #7d8791, #f3f6f9, #98a2ad, #ffffff, #7d8791); --borda: #d5dbe1; --luz: 0 0 calc(var(--t) * .12) rgba(220,230,240,.35); }
.m4 { --aro: conic-gradient(from 20deg, #a97a09, #fff0a8, #d9a514, #fff6c9, #a97a09); --borda: #f4c542; --luz: 0 0 calc(var(--t) * .24) rgba(244,197,66,.55); }
.m5 { --aro: conic-gradient(#0f7a4a, #7dffc0, #f4c542, #19b56f, #7dffc0, #f4c542, #0f7a4a); --borda: #2bd67b; --gema: #b9ffdc; --luz: 0 0 calc(var(--t) * .28) rgba(43,214,123,.6); }
.m6 { --aro: conic-gradient(#8c0f22, #ff7a8a, #f4c542, #d91f3c, #ff7a8a, #f4c542, #8c0f22); --borda: #ff4d5e; --gema: #ffd0d5; --luz: 0 0 calc(var(--t) * .3) rgba(255,77,94,.65); }
.m7 { --aro: conic-gradient(#5fd3ff, #ffffff, #9be7ff, #3aa0ff, #ffffff, #b9f1ff, #5fd3ff); --borda: #9be7ff; --gema: #ffffff; --luz: 0 0 calc(var(--t) * .34) rgba(120,210,255,.8); }
.m8 { --aro: conic-gradient(#f4c542, #ff5de0, #7df9ff, #f4c542, #b56bff, #7df9ff, #f4c542); --borda: #f4c542; --gema: #ffffff; --luz: 0 0 calc(var(--t) * .4) rgba(244,197,66,.85), 0 0 calc(var(--t) * .75) rgba(181,107,255,.5); }
.m5::after, .m6::after, .m7::after, .m8::after { content: ''; position: absolute; z-index: 2; inset: calc(var(--t) * -.04); border-radius: 50%; pointer-events: none;
  --g: var(--gema) 0, var(--gema) calc(var(--t) * .05), rgba(0,0,0,.5) calc(var(--t) * .055), transparent calc(var(--t) * .075);
  background: radial-gradient(circle at 50% 5%, var(--g)), radial-gradient(circle at 50% 95%, var(--g)), radial-gradient(circle at 5% 50%, var(--g)), radial-gradient(circle at 95% 50%, var(--g)); }
.m7::before { animation: gira 9s linear infinite; }
.m8::before { animation: gira 4s linear infinite; }
@keyframes gira { to { transform: rotate(360deg); } }
@keyframes surge { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes brilha { 0% { transform: translateX(-140%) skewX(-20deg); } 55%, 100% { transform: translateX(260%) skewX(-20deg); } }
@keyframes flutua { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

/* ENTRADA */
#tela-entrada { background: linear-gradient(180deg, rgba(7,16,12,.5) 0%, rgba(7,16,12,.82) 55%, #07100c 100%), url(/img/cena.jpg) center 70% / cover no-repeat #07100c; }
#tela-entrada.ativa { display: grid; place-items: center; padding: 20px; overflow: auto; }
.entrada-caixa { width: min(440px, 100%); text-align: center; animation: surge .5s ease-out; }
.logo-grande { width: min(400px, 82%); height: auto; filter: drop-shadow(0 14px 30px rgba(0,0,0,.65)); animation: flutua 5s ease-in-out infinite; }
.chamada { font-size: 17px; line-height: 1.45; color: #dcebe1; margin: 6px 0 18px; text-shadow: 0 2px 8px rgba(0,0,0,.7); }
#form-nome { display: grid; gap: 10px; text-align: left; padding: 16px; }
#form-nome label { font-size: 13px; color: var(--fraco); font-weight: 700; }
input { height: 50px; border-radius: 14px; border: 1px solid var(--linha); background: #0b1410; padding: 0 16px; font-size: 17px; font-weight: 700; outline: none; width: 100%; }
input:focus { border-color: var(--ouro); box-shadow: 0 0 0 3px rgba(244,197,66,.15); }
.entrada-caixa .miudo { margin-top: 16px; text-shadow: 0 1px 4px rgba(0,0,0,.8); }

/* LOBBY */
#tela-lobby { background: radial-gradient(900px 480px at 50% -8%, rgba(34,110,74,.55) 0%, transparent 62%), radial-gradient(700px 420px at 100% 100%, rgba(244,197,66,.08), transparent 60%), linear-gradient(180deg, #0a1611, #07100c); }
#tela-lobby.ativa { display: flex; flex-direction: column; }
.topo { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: calc(8px + env(safe-area-inset-top)) 12px 8px; border-bottom: 1px solid rgba(244,197,66,.22); background: linear-gradient(180deg, rgba(20,34,27,.96), rgba(10,18,14,.94)); box-shadow: 0 6px 20px rgba(0,0,0,.35); }
.logo-topo { display: none; height: 46px; width: auto; filter: drop-shadow(0 3px 6px rgba(0,0,0,.5)); }
.perfil { display: flex; align-items: center; gap: 12px; text-align: left; min-width: 0; padding: 3px 14px 3px 3px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.07); }
.perfil-txt { display: grid; min-width: 0; }
.perfil-txt b { display: flex; align-items: center; gap: 6px; font-family: var(--display); font-weight: 400; font-size: 15px; white-space: nowrap; overflow: hidden; max-width: 34vw; }
.perfil-txt b span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.vip { display: inline-block; flex: none; padding: 0 6px; border-radius: 6px; font-family: Archivo, system-ui, sans-serif; font-size: 9px; font-weight: 900; letter-spacing: .08em; line-height: 15px; vertical-align: middle; color: #2a1c00; background: linear-gradient(180deg, #fff0a8, #e9a914); box-shadow: 0 0 8px rgba(244,197,66,.45); text-shadow: none; }
.vip.grande { padding: 9px 11px; border-radius: 12px; font-size: 20px; line-height: 1; }
.perfil-txt small { font-size: 11px; white-space: nowrap; }
.xp { display: block; width: 96px; height: 6px; border-radius: 4px; background: #0a120e; margin-top: 3px; overflow: hidden; box-shadow: inset 0 1px 2px rgba(0,0,0,.6); }
.xp i { display: block; height: 100%; width: 0; border-radius: 4px; background: linear-gradient(90deg, #e9a914, #fff0a8); transition: width .5s; }
.saldo { flex: none; display: flex; align-items: center; gap: 8px; padding: 5px 5px 5px 11px; border-radius: 999px; background: linear-gradient(180deg, #1b3327, #0d1a14); border: 1px solid rgba(43,214,123,.4); text-align: right; box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }
/* duas linhas: moedas em cima (dourado) e saldo de prêmios embaixo (verde) */
.saldo-linhas { display: grid; gap: 2px; min-width: 0; text-align: left; }
.saldo-linha { display: flex; align-items: center; gap: 5px; line-height: 1.1; }
.saldo-linha .ic { width: 14px; height: 14px; filter: drop-shadow(0 1px 1px rgba(0,0,0,.5)); }
.saldo-linha.moedas { color: var(--ouro); }
.saldo-linha.premios { color: var(--verde); }
.saldo b { font-family: var(--display); font-weight: 400; font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.saldo-linha.moedas b { color: var(--ouro2); }
.saldo-linha.premios b { font-size: 13px; }
.mais { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(180deg, #4ff09b, #18ad5f); color: #032513; font-weight: 900; font-size: 22px; line-height: 1; box-shadow: 0 2px 0 #0c6e3b; }
.lobby { flex: 1; overflow: auto; padding: 14px 14px 26px; width: 100%; max-width: 960px; margin: 0 auto; -webkit-overflow-scrolling: touch; }
.aba { display: none; }
.aba.ativa { display: block; animation: surge .25s ease-out; }
.abas { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid rgba(244,197,66,.25); background: linear-gradient(180deg, #14221b, #0a120e); padding: 0 6px env(safe-area-inset-bottom); box-shadow: 0 -8px 22px rgba(0,0,0,.4); }
.abas button { position: relative; display: grid; justify-items: center; gap: 3px; min-width: 0; padding: 9px 2px 9px; font-size: 11px; font-weight: 700; color: var(--fraco); transition: color .15s; }
.abas button span { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.abas .ic { width: 25px; height: 25px; transition: transform .18s; }
.abas button.ativa { color: var(--ouro); }
.abas button.ativa .ic { transform: translateY(-3px) scale(1.15); filter: drop-shadow(0 0 8px rgba(244,197,66,.55)); }
.abas button.ativa::before { content: ''; position: absolute; top: -1px; left: 22%; right: 22%; height: 3px; border-radius: 0 0 4px 4px; background: var(--ouro); box-shadow: 0 0 12px var(--ouro); }
.selo { position: absolute; top: 3px; left: calc(50% + 8px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--vermelho); color: #fff; font-style: normal; font-weight: 900; font-size: 10px; line-height: 18px; box-shadow: 0 0 0 2px #0a120e; }
.aviso-teste { font-size: 12px; line-height: 1.4; padding: 9px 12px; margin-top: 16px; border-radius: 12px; background: rgba(50,188,173,.08); border: 1px solid rgba(50,188,173,.3); color: #bfeee7; }
.aviso-teste b { color: #7fe6d9; }

/* vitrine com a cena 3D */
.vitrine { position: relative; display: flex; align-items: center; gap: 14px; min-height: 168px; padding: 14px 18px; border-radius: 22px; overflow: hidden; border: 1px solid rgba(244,197,66,.4); background: linear-gradient(90deg, rgba(7,16,12,.5) 0%, rgba(7,16,12,.2) 45%, rgba(7,16,12,.82) 100%), url(/img/cena.jpg) center 58% / cover no-repeat; box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 14px 34px rgba(0,0,0,.5); }
.vitrine::after { content: ''; position: absolute; top: 0; bottom: 0; width: 34%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.14), transparent); animation: brilha 6s ease-in-out infinite; pointer-events: none; }
.vitrine-logo { width: min(250px, 46%); height: auto; filter: drop-shadow(0 10px 22px rgba(0,0,0,.7)); animation: flutua 5s ease-in-out infinite; }
.vitrine-txt { position: relative; z-index: 1; margin-left: auto; display: grid; gap: 8px; justify-items: start; max-width: 300px; }
.vitrine-txt b { font-family: var(--display); font-weight: 400; font-size: 22px; line-height: 1.1; text-shadow: 0 2px 10px rgba(0,0,0,.8); }
.vitrine-txt span { font-size: 13px; color: #dcebe1; text-shadow: 0 1px 6px rgba(0,0,0,.9); }
.atalhos { display: flex; gap: 6px; margin: 14px -14px 0; padding: 4px 14px 6px; overflow-x: auto; scrollbar-width: none; }
.atalhos::-webkit-scrollbar { display: none; }
.atalho { flex: 1 0 78px; display: grid; justify-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: #cfe0d5; text-align: center; }
.atalho b { font-weight: 700; line-height: 1.15; }
.bolha { position: relative; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 20px; color: #fff; background: linear-gradient(160deg, var(--b1), var(--b2)); border: 1px solid rgba(255,255,255,.28); box-shadow: inset 0 2px 0 rgba(255,255,255,.3), 0 5px 0 var(--b3), 0 12px 18px rgba(0,0,0,.4); transition: transform .1s; }
.atalho:active .bolha { transform: translateY(3px); }
.bolha .ic { width: 28px; height: 28px; filter: drop-shadow(0 2px 2px rgba(0,0,0,.35)); }
.bolha .selo { top: -6px; left: auto; right: -6px; }
.bolha.roxo { --b1: #a06bff; --b2: #5a2ad0; --b3: #2f1280; }
.bolha.ambar { --b1: #ffcf5a; --b2: #e08a10; --b3: #8a4a00; }
.bolha.azul { --b1: #5fc0ff; --b2: #1f6fd0; --b3: #0c3a80; }
.bolha.verde { --b1: #5ff0a0; --b2: #169a58; --b3: #085a30; }
.bolha.cinza { --b1: #8fa3b0; --b2: #4a5c68; --b3: #26323a; }
.pulsa { animation: pulsa 1.6s ease-in-out infinite; }
@keyframes pulsa { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); } }

/* regra do jogo: bola 8 ou par ou ímpar */
.seletor-regra { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; border-radius: 18px; background: rgba(0,0,0,.3); border: 1px solid var(--linha); }
.seletor-regra button { display: grid; gap: 2px; justify-items: center; align-content: center; padding: 9px 8px; border-radius: 13px; color: var(--fraco); transition: background .15s, color .15s; }
.seletor-regra button b { font-family: var(--display); font-weight: 400; font-size: 15px; letter-spacing: .02em; }
.seletor-regra button small { font-size: 11px; color: inherit; opacity: .85; }
.seletor-regra button.sel { color: #2a1c00; background: linear-gradient(180deg, #ffd95e, #e9a914); box-shadow: 0 3px 0 #9a6b05, inset 0 1px 0 rgba(255,255,255,.5); }
.seletor-regra.fino button { padding: 10px 8px; }
.regra-nota { margin: 8px 2px 12px; font-size: 12px; }

/* desafio do dia */
.desafio-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; margin-top: 14px; padding: 12px 14px; border-radius: 20px; background: linear-gradient(120deg, rgba(22,154,88,.3), rgba(16,26,21,.96) 62%), #101a15; border: 1px solid rgba(43,214,123,.45); box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 10px 26px rgba(0,0,0,.4); }
.desafio-txt { display: grid; gap: 3px; min-width: 0; }
.desafio-txt .tag { --rar: var(--verde); white-space: normal; }
.desafio-txt > b { font-family: var(--display); font-weight: 400; font-size: 16px; line-height: 1.2; }
.desafio-txt small { line-height: 1.35; }
.desafio-txt small b { color: var(--texto); }
.desafio-acoes { display: grid; gap: 8px; }
.desafio-acoes .btn { min-height: 38px; font-size: 13px; padding: 0 14px; white-space: nowrap; }

/* cartões das mesas */
.mesas { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.mesa-card { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 12px; align-items: center; min-height: 128px; padding: 14px; border-radius: 20px; overflow: hidden; text-align: left; background: linear-gradient(120deg, color-mix(in srgb, var(--f) 55%, #0c1711) 0%, #0e1913 70%); border: 1px solid color-mix(in srgb, var(--f) 65%, #2a3d33); box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 10px 24px rgba(0,0,0,.4); animation: surge .35s ease-out backwards; }
.mesa-card::after { content: ''; position: absolute; top: 0; bottom: 0; width: 30%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.1), transparent); animation: brilha 7s ease-in-out infinite; pointer-events: none; }
.mesa-arte { position: absolute; right: -46px; top: 50%; width: 230px; height: auto; transform: translateY(-50%) rotate(-9deg); opacity: .9; filter: drop-shadow(0 8px 14px rgba(0,0,0,.6)); -webkit-mask-image: linear-gradient(90deg, transparent, #000 38%); mask-image: linear-gradient(90deg, transparent, #000 38%); pointer-events: none; }
.ficha-mesa { grid-row: 1 / span 2; position: relative; z-index: 1; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-size: 15px; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.6); background: radial-gradient(circle, var(--f) 0 54%, #fff 55% 62%, var(--f) 63%); border: 4px dashed rgba(255,255,255,.85); box-shadow: 0 5px 12px rgba(0,0,0,.5), inset 0 0 0 2px rgba(0,0,0,.15); }
.mesa-card b.nome { position: relative; z-index: 1; font-family: var(--display); font-weight: 400; font-size: 18px; text-shadow: 0 2px 6px rgba(0,0,0,.6); }
.mesa-card .valores { position: relative; z-index: 1; display: flex; gap: 14px; align-items: flex-end; }
.mesa-card .valores span { display: grid; }
.mesa-card .valores small { font-size: 9px; text-transform: uppercase; letter-spacing: .08em; color: #c4dccf; }
.mesa-card .valores b { font-family: var(--display); font-weight: 400; font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mesa-card .valores .premio-v b { font-size: 24px; line-height: 1; background: linear-gradient(180deg, #fff6c0, var(--ouro) 55%, #d39a12); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 2px 3px rgba(0,0,0,.5)); }
.mesa-card .rodape { grid-column: 1 / -1; position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.mesa-card .det { font-size: 11px; color: #c4dccf; text-shadow: 0 1px 3px rgba(0,0,0,.7); }
.mesa-card .jogar { min-height: 40px; padding: 0 22px; flex: none; }

/* LOJA E COLEÇÃO */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 9px 16px; border-radius: 999px; font-family: var(--display); font-size: 13px; color: var(--fraco); background: linear-gradient(180deg, #1e3128, #121d17); border: 1px solid var(--linha); white-space: nowrap; }
.chip.sel { color: #2a1c00; background: linear-gradient(180deg, #ffd95e, #e9a914); border-color: #fff0b0; box-shadow: 0 3px 0 #9a6b05; }
.chips.finos .chip { padding: 6px 12px; font-size: 11px; --rar: var(--fraco); color: var(--rar); }
.chips.finos .chip.sel { color: #07100c; background: var(--rar); border-color: #fff; box-shadow: none; }
.itens { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); }
.item { --rar: #9fb0a6; position: relative; display: flex; flex-direction: column; gap: 6px; padding: 10px; border-radius: 18px; overflow: hidden; text-align: left; background: linear-gradient(180deg, color-mix(in srgb, var(--rar) 22%, #13201a), #0d1612); border: 1px solid color-mix(in srgb, var(--rar) 60%, #2a3d33); box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 6px 16px rgba(0,0,0,.3); }
.item img { width: 100%; height: auto; display: block; border-radius: 12px; background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--rar) 26%, transparent), rgba(0,0,0,.35)); cursor: pointer; }
.item .nome-item { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; }
.item .nome-item b { font-family: var(--display); font-weight: 400; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tag { font-size: 9px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; color: var(--rar); white-space: nowrap; }
.item .acoes { display: flex; gap: 6px; margin-top: auto; }
.item .btn { min-height: 36px; font-size: 12px; padding: 0 6px; flex: 1; min-width: 0; border-radius: 11px; box-shadow: none; white-space: nowrap; }
.item.uso { box-shadow: 0 0 0 2px var(--ouro), 0 0 20px rgba(244,197,66,.3); }
.item.trancado img { filter: grayscale(.75) brightness(.5); }
.item.lendario::after, .item.epico::after { content: ''; position: absolute; top: 0; bottom: 0; width: 40%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.13), transparent); animation: brilha 5s ease-in-out infinite; pointer-events: none; }
.item.lendario { box-shadow: 0 0 20px rgba(244,197,66,.22), inset 0 1px 0 rgba(255,255,255,.12); }
.attrs { display: grid; grid-template-columns: auto 1fr auto; gap: 2px 6px; align-items: center; font-size: 10px; color: var(--fraco); }
.attrs i { display: block; height: 5px; border-radius: 3px; background: rgba(255,255,255,.1); overflow: hidden; }
.attrs i b { display: block; height: 100%; border-radius: 3px; background: var(--rar); }
.attrs em { font-style: normal; font-weight: 900; color: var(--texto); }
.detalhe { display: grid; gap: 12px; --rar: #9fb0a6; }
.detalhe img { width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--rar); background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--rar) 30%, transparent), rgba(0,0,0,.45)); }
.detalhe h3 { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-right: 34px; font-family: var(--display); font-weight: 400; }
.detalhe .attrs { font-size: 13px; gap: 6px 10px; }
.detalhe .attrs i { height: 9px; border-radius: 5px; }
.evo { display: grid; grid-template-columns: auto 1fr auto; gap: 6px; align-items: center; font-size: 10px; color: var(--fraco); }
.evo span { font-weight: 900; color: var(--texto); }
.evo i { display: block; height: 7px; border-radius: 4px; background: rgba(255,255,255,.1); overflow: hidden; }
.evo i b { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #e9a914, #fff0a8); }
.evo em { font-style: normal; font-weight: 900; color: var(--texto); font-variant-numeric: tabular-nums; }
.evo.cheia em { color: var(--ouro); }
.detalhe .evo { font-size: 13px; gap: 10px; }
.detalhe .evo i { height: 10px; border-radius: 5px; }
.detalhe small { line-height: 1.4; }
.destaques { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); margin-bottom: 14px; }
.destaque { --rar: var(--ouro); display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px; border-radius: 18px; background: var(--placa); border: 1px solid color-mix(in srgb, var(--rar) 55%, transparent); box-shadow: inset 0 1px 0 rgba(255,255,255,.09), 0 8px 20px rgba(0,0,0,.35); }
.destaque > img { width: 84px; height: auto; border-radius: 10px; cursor: pointer; background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--rar) 26%, transparent), rgba(0,0,0,.35)); }
.destaque > .bau, .destaque > .vip { justify-self: center; }
.destaque > div { display: grid; gap: 3px; justify-items: start; min-width: 0; }
.destaque b { font-family: var(--display); font-weight: 400; font-size: 16px; }
.destaque .tag { white-space: normal; line-height: 1.3; }
.junto { white-space: nowrap; }
.destaque small { line-height: 1.35; }
.destaque s { opacity: .7; }
.destaque [data-ate] { color: var(--texto); font-weight: 700; font-variant-numeric: tabular-nums; }
.destaque .btn { min-height: 38px; font-size: 13px; padding: 0 12px; margin-top: 4px; white-space: nowrap; }
.coringas { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 10px 14px; border-radius: 14px; background: var(--placa); border: 1px solid rgba(244,197,66,.26); }
.coringas > b { flex: none; min-width: 36px; text-align: center; font-family: var(--display); font-weight: 400; font-size: 26px; color: var(--ouro); }
.coringas span b { font-size: 14px; }
.baus { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.bau-card { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: center; padding: 14px; border-radius: 18px; background: var(--placa); border: 1px solid rgba(244,197,66,.26); box-shadow: inset 0 1px 0 rgba(255,255,255,.09), 0 8px 20px rgba(0,0,0,.35); }
.bau-card .bau { grid-row: 1 / span 3; animation: flutua 4s ease-in-out infinite; }
.bau-card b { font-family: var(--display); font-weight: 400; font-size: 16px; }
.bau-card small { line-height: 1.35; }
.bau-card .btn { min-height: 38px; font-size: 13px; padding: 0 12px; justify-self: start; }
.cofres { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.cofre { display: grid; justify-items: center; align-content: center; gap: 6px; padding: 10px 6px; min-height: 132px; border-radius: 16px; background: rgba(255,255,255,.03); border: 1px dashed var(--linha); text-align: center; font-size: 11px; color: var(--fraco); }
.cofre.cheio { border: 1px solid rgba(244,197,66,.35); background: var(--placa); }
.cofre b { color: var(--texto); font-size: 12px; font-variant-numeric: tabular-nums; }
.cofre .btn { min-height: 30px; font-size: 11px; padding: 0 8px; border-radius: 9px; box-shadow: none; width: 100%; }
.em-uso { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.em-uso .nome-item { flex-direction: column; align-items: flex-start; gap: 1px; }
.em-uso .nome-item b { max-width: 100%; white-space: normal; line-height: 1.15; }
.tipo-item { font-size: 9px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; color: var(--fraco); }
.na-partida { flex: 1; display: flex; align-items: center; justify-content: center; gap: 5px; min-height: 36px; padding: 2px 6px; border-radius: 11px; font-size: 11px; font-weight: 700; line-height: 1.15; text-align: center; color: var(--verde); background: rgba(43,214,123,.08); border: 1px solid rgba(43,214,123,.35); }
.na-partida .ic { width: 15px; height: 15px; }
.detalhe .na-partida { min-height: 46px; font-size: 14px; border-radius: 14px; }
.detalhe canvas { display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--rar); background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--rar) 30%, transparent), rgba(0,0,0,.45)); }
.detalhe h3 { flex-wrap: wrap; }
.carta .tag { white-space: normal; text-align: center; line-height: 1.2; }
.molduras { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 6px; justify-items: center; padding: 6px 0; }
.molduras div { display: grid; justify-items: center; gap: 6px; font-size: 10px; color: var(--fraco); text-align: center; }
.molduras b { color: var(--texto); font-size: 11px; }
.molduras .bloq b { color: var(--fraco); }
.molduras .atual b { color: var(--ouro); }

/* BAÚ (desenho) */
.bau { position: relative; font-size: 8px; width: 9.2em; height: 7.4em; flex: none; filter: drop-shadow(0 .6em .7em rgba(0,0,0,.5)); }
.bau i { position: absolute; display: block; }
.bau .corpo { left: 0; right: 0; bottom: 0; height: 56%; border-radius: .5em .5em 1em 1em; background: linear-gradient(180deg, var(--b1), var(--b2)); box-shadow: inset 0 0 0 .32em var(--b3), inset 0 -.8em 0 rgba(0,0,0,.18); }
.bau .corpo::before, .bau .corpo::after { content: ''; position: absolute; top: 0; bottom: 0; width: .9em; background: var(--b3); opacity: .85; }
.bau .corpo::before { left: 1.3em; }
.bau .corpo::after { right: 1.3em; }
.bau .tampa { left: -.2em; right: -.2em; top: 0; height: 48%; border-radius: 3em 3em .5em .5em / 2.4em 2.4em .5em .5em; background: linear-gradient(180deg, var(--b0), var(--b1)); box-shadow: inset 0 0 0 .32em var(--b3), inset 0 .5em 0 rgba(255,255,255,.25); transform-origin: 50% 100%; transition: transform .45s cubic-bezier(.3,1.6,.5,1); z-index: 1; }
.bau .fecho { left: 50%; top: 36%; width: 1.8em; height: 2.2em; margin-left: -.9em; border-radius: .4em; background: var(--b4); box-shadow: 0 0 0 .25em rgba(0,0,0,.35), inset 0 -.5em 0 rgba(0,0,0,.2); z-index: 2; transition: opacity .2s; }
.bau.aberto .tampa { transform: translateY(-1.8em) rotate(-13deg); }
.bau.aberto .fecho { opacity: 0; }
.bau.tremendo { animation: treme .45s ease-in-out infinite; }
.bau.grande { font-size: 19px; }
.b-madeira { --b0: #c58a4c; --b1: #94602f; --b2: #5e3a1a; --b3: #3a2310; --b4: #f4c542; }
.b-prata { --b0: #f1f5f8; --b1: #b3bec9; --b2: #7d8894; --b3: #4b5560; --b4: #5fb4ff; }
.b-ouro { --b0: #fff3b8; --b1: #f4c542; --b2: #b8860b; --b3: #7a5606; --b4: #ff5d6e; }
@keyframes treme { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-5deg) translateY(-3px); } 75% { transform: rotate(5deg) translateY(-3px); } }

/* ABERTURA DE BAÚ E GIRO */
.cortina { position: fixed; inset: 0; z-index: 70; display: grid; align-content: center; justify-items: center; gap: 14px; padding: 16px; overflow: auto; text-align: center; background: radial-gradient(circle at 50% 38%, #1d3329, #050807 72%); }
.cortina h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 26px; position: relative; color: var(--ouro); }
.raios { position: fixed; inset: 0; overflow: hidden; opacity: 0; transition: opacity .7s; pointer-events: none; }
.raios::before { content: ''; position: absolute; left: 50%; top: 36%; width: 150vmax; height: 150vmax; margin: -75vmax; background: repeating-conic-gradient(rgba(244,197,66,.11) 0 8deg, transparent 8deg 16deg); animation: gira 40s linear infinite; }
.cortina.abriu .raios { opacity: 1; }
.bau-palco { position: relative; height: 170px; display: grid; place-items: center; }
.cartas { position: relative; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; perspective: 900px; min-height: 196px; }
.carta { --rar: #9fb0a6; width: 134px; height: 190px; position: relative; transform-style: preserve-3d; transition: transform .6s, opacity .3s; transform: rotateY(180deg) scale(.5); opacity: 0; }
.carta.surgiu { opacity: 1; transform: rotateY(180deg) scale(1); }
.carta.virada { transform: rotateY(0) scale(1); }
.carta > div { position: absolute; inset: 0; border-radius: 14px; backface-visibility: hidden; -webkit-backface-visibility: hidden; display: grid; align-content: center; justify-items: center; gap: 5px; padding: 8px; }
.carta .verso { transform: rotateY(180deg); background: repeating-linear-gradient(45deg, #1b2a23 0 10px, #14201b 10px 20px); border: 2px solid var(--ouro); }
.carta .verso img { width: 76px; height: 76px; }
.carta .frente { background: linear-gradient(180deg, color-mix(in srgb, var(--rar) 30%, #14201b), #0d1512); border: 2px solid var(--rar); box-shadow: 0 0 24px color-mix(in srgb, var(--rar) 60%, transparent); }
.carta .frente img { width: 100%; height: auto; border-radius: 8px; }
.carta b { font-family: var(--display); font-weight: 400; font-size: 14px; }
.carta .novo { font-size: 11px; font-weight: 900; padding: 3px 8px; border-radius: 99px; background: var(--verde); color: #032513; }
.carta .rep { font-size: 11px; color: var(--fraco); }
.bau-aviso { position: relative; margin: 0; font-weight: 700; color: #d5e4da; min-height: 20px; }
.cortina .btn, .cortina small { position: relative; }
.cortina .btn { white-space: nowrap; flex: none; min-width: 130px; }
.roleta-caixa { position: relative; width: min(300px, 72vw, 52vh); aspect-ratio: 1; }
.roleta { position: absolute; inset: 0; border-radius: 50%; border: 7px solid var(--ouro); box-shadow: 0 0 40px rgba(244,197,66,.3), inset 0 0 0 3px rgba(0,0,0,.4); transition: transform 4.4s cubic-bezier(.12,.62,.1,1); }
.roleta span { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
.roleta span b { position: absolute; left: -44px; width: 88px; top: calc(min(300px, 72vw, 52vh) * -.4); font-size: 11px; font-weight: 900; line-height: 1.1; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.8); text-align: center; }
.roleta-seta { position: absolute; z-index: 2; left: 50%; top: -12px; margin-left: -13px; border: 13px solid transparent; border-top: 24px solid #fff; filter: drop-shadow(0 3px 4px rgba(0,0,0,.6)); }
.roleta-miolo { position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px; border-radius: 50%; background: url(/img/emblema.png) center / 118% no-repeat #07100c; box-shadow: 0 0 0 4px #050807, 0 0 0 6px var(--ouro); }
.chances { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; font-size: 12px; text-align: left; color: #cfe0d5; }
.chances b { text-align: right; font-variant-numeric: tabular-nums; }

/* FILA */
#tela-fila { background: linear-gradient(180deg, rgba(7,16,12,.72), #07100c 85%), url(/img/cena.jpg) center / cover no-repeat #07100c; }
#tela-fila.ativa { display: grid; place-items: center; padding: 20px; }
.fila-caixa { text-align: center; display: grid; gap: 14px; justify-items: center; max-width: 380px; }
.fila-caixa h2 { font-size: 20px; margin: 0; }
.fila-caixa h2::after { display: none; }
.fila-emblema { width: 96px; height: 96px; animation: gira 6s linear infinite; filter: drop-shadow(0 8px 18px rgba(0,0,0,.6)); }
.girando { display: flex; gap: 10px; height: 34px; align-items: center; }
.girando i { width: 22px; height: 22px; border-radius: 50%; animation: pula 1s infinite ease-in-out; box-shadow: inset -3px -3px 5px rgba(0,0,0,.35), inset 3px 3px 4px rgba(255,255,255,.4); }
.girando i:nth-child(1) { background: #f7c613; }
.girando i:nth-child(2) { background: #d92b2b; animation-delay: .15s; }
.girando i:nth-child(3) { background: #1e56c8; animation-delay: .3s; }
@keyframes pula { 0%, 100% { transform: translateY(6px); } 50% { transform: translateY(-8px); } }

/* MODAL */
.modal { position: fixed; inset: 0; z-index: 50; background: rgba(3,7,5,.76); display: grid; place-items: center; padding: 14px; backdrop-filter: blur(4px); }
.modal-caixa { position: relative; width: min(470px, 100%); max-height: 92%; overflow: auto; background: var(--placa); border: 1px solid rgba(244,197,66,.38); border-radius: 22px; padding: 22px 18px 18px; box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 24px 60px rgba(0,0,0,.6); animation: surge .22s ease-out; }
.modal-caixa, .lobby { scrollbar-width: thin; scrollbar-color: #3a5245 transparent; }
.modal-caixa h3 { margin: 0 0 12px; font-family: var(--display); font-weight: 400; font-size: 21px; color: var(--ouro); }
.fechar { position: absolute; right: 8px; top: 6px; width: 40px; height: 40px; font-size: 26px; color: var(--fraco); z-index: 2; }
.grade { display: grid; gap: 10px; }
.linha { display: flex; gap: 10px; flex-wrap: wrap; }
.linha > * { flex: 1; }
.fichas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ficha { padding: 10px 6px; border-radius: 12px; background: var(--painel2); border: 1px solid var(--linha); font-family: var(--display); text-align: center; }
.ficha small { display: block; font-family: Archivo, sans-serif; font-size: 11px; }
.ficha.sel { border-color: var(--ouro); background: #3a2f0e; color: var(--ouro); }
.codigo { font-family: var(--display); font-size: 44px; letter-spacing: .25em; text-align: center; padding: 14px 0 10px 12px; border-radius: 16px; background: #0c1411; border: 1px dashed var(--ouro); color: var(--ouro); }
.extrato { display: grid; gap: 1px; margin-top: 4px; border-radius: 12px; overflow: hidden; border: 1px solid var(--linha); }
.extrato div { display: flex; justify-content: space-between; gap: 10px; padding: 9px 12px; background: var(--painel2); font-size: 13px; }
.extrato .pos { color: var(--verde); font-weight: 900; white-space: nowrap; }
.extrato .neg { color: #ff9a9a; font-weight: 900; white-space: nowrap; }
.estat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.estat div { padding: 10px; border-radius: 12px; background: rgba(0,0,0,.25); border: 1px solid var(--linha); text-align: center; }
.estat b { display: block; font-family: var(--display); font-weight: 400; font-size: 20px; }
.perfil-topo { display: grid; justify-items: center; gap: 8px; text-align: center; padding-top: 6px; }
.perfil-topo b { font-family: var(--display); font-weight: 400; font-size: 21px; }
.rank { display: grid; gap: 6px; }
.rank > div { display: grid; grid-template-columns: 22px auto 1fr auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 12px; background: rgba(0,0,0,.25); border: 1px solid var(--linha); }
.rank .eu { border-color: var(--ouro); }
.rank b.pos { color: var(--ouro); font-family: var(--display); font-weight: 400; text-align: center; }
.regras { font-size: 14px; line-height: 1.5; color: #d5e4da; }
.regras h4 { margin: 14px 0 4px; font-family: var(--display); font-weight: 400; color: var(--ouro); font-size: 14px; }
.regras ul { margin: 0; padding-left: 18px; }

#toast { position: fixed; left: 50%; bottom: 82px; transform: translate(-50%, 30px); z-index: 90; padding: 12px 18px; border-radius: 14px; background: linear-gradient(180deg, #fffbe8, #f1e2a8); color: #2a1c00; font-weight: 700; font-size: 14px; opacity: 0; pointer-events: none; transition: all .25s; max-width: 92vw; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,.5); }
#toast.ver { opacity: 1; transform: translate(-50%, 0); }

/* JOGO */
#tela-jogo { background: #050a08; }
#palco { position: absolute; left: 0; top: 0; transform-origin: 0 0; overflow: hidden; background: radial-gradient(120% 90% at 50% 40%, #16261f 0%, #070c0a 75%); touch-action: none; user-select: none; -webkit-user-select: none; }
#mesa { position: absolute; left: 0; top: 0; touch-action: none; will-change: transform; }
#hud { position: absolute; left: 0; right: 0; top: 0; height: var(--hud); display: flex; align-items: center; gap: 8px; padding: 0 8px; background: linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,0)); }
.hud-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; color: #e6f1ea; background: linear-gradient(180deg, #2a4035, #16241d); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 3px 0 #0a120e, inset 0 1px 0 rgba(255,255,255,.14); flex: none; }
.hud-btn:active { transform: translateY(2px); }
.jog { position: relative; flex: 1; display: flex; align-items: center; gap: 8px; min-width: 0; padding: 4px 14px 4px 4px; border-radius: 999px; background: linear-gradient(180deg, rgba(40,58,49,.9), rgba(16,26,21,.9)); border: 1px solid rgba(255,255,255,.1); box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 4px 12px rgba(0,0,0,.35); transition: all .25s; opacity: .74; }
.jog.dir { flex-direction: row-reverse; padding: 4px 4px 4px 14px; }
.jog.dir .jog-info { align-items: flex-end; }
.jog.vez { opacity: 1; background: linear-gradient(90deg, rgba(120,92,18,.95), rgba(34,44,30,.92)); border-color: var(--ouro); box-shadow: 0 0 22px rgba(244,197,66,.3), inset 0 1px 0 rgba(255,255,255,.2); }
.jog.dir.vez { background: linear-gradient(270deg, rgba(120,92,18,.95), rgba(34,44,30,.92)); }
.jog-av { position: relative; width: 44px; height: 44px; flex: none; }
.jog-av svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.jog-av circle { fill: none; stroke-width: 3.5; }
.jog-av .trilho { stroke: rgba(255,255,255,.12); }
.jog-av .arco { stroke: var(--verde); stroke-linecap: round; stroke-dasharray: 125.7; stroke-dashoffset: 125.7; filter: drop-shadow(0 0 3px currentColor); }
.jog-av .arco.medio { stroke: var(--ouro); }
.jog-av .arco.pouco { stroke: var(--vermelho); }
.jog-av .hud-foto { position: absolute; left: 5px; top: 5px; display: grid; }
.jog-av .nv { transform: scale(.85); right: -8px; bottom: -7px; }
.jog-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.jog-nome { font-family: var(--display); font-weight: 400; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; text-shadow: 0 1px 2px rgba(0,0,0,.6); }
.jog-nome .vip { margin-right: 5px; }
.jog-bolas { display: flex; gap: 3px; height: 15px; align-items: center; }
.jog-bolas small { font-size: 10px; white-space: nowrap; }
.bolinha { width: 15px; height: 15px; border-radius: 50%; background: var(--c); flex: none; box-shadow: inset -2px -2px 3px rgba(0,0,0,.4), inset 2px 2px 2px rgba(255,255,255,.45); }
.bolinha.listra { background: linear-gradient(#f4f1e8 0 24%, var(--c) 24% 76%, #f4f1e8 76%); }
.bolinha.fora { opacity: .16; }
.bolinha.oito { background: #151515; outline: 2px solid var(--ouro); }
#hud.solo #jog1, #hud.solo #btn-chat { visibility: hidden; }
.jog-bolas.bar { gap: 2px; }
.jog-bolas.bar .bolinha { width: 12px; height: 12px; }
.jog-bolas.bar small { font-size: 9px; font-weight: 900; color: #d9c98a; margin-right: 2px; }
#pote { flex: none; text-align: center; padding: 4px 16px; border-radius: 14px; background: linear-gradient(180deg, #2a2208, #120e03); border: 1px solid var(--ouro); box-shadow: 0 0 16px rgba(244,197,66,.22), inset 0 1px 0 rgba(255,255,255,.14); }
#pote small { display: block; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: #d9c98a; }
#pote b { font-family: var(--display); font-weight: 400; font-size: 16px; color: var(--ouro); font-variant-numeric: tabular-nums; white-space: nowrap; text-shadow: 0 0 10px rgba(244,197,66,.4); }

#forca { position: absolute; left: 0; top: var(--hud); bottom: 0; width: var(--gl); display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 0 8px; touch-action: none; }
#forca small, #lado-dir small { font-family: var(--display); font-size: 8px; letter-spacing: .1em; color: #7f978a; }
.forca-trilho { position: relative; flex: 1; width: 34px; border-radius: 17px; background: linear-gradient(90deg, #060b09, #101a15 50%, #060b09); border: 1px solid rgba(244,197,66,.35); overflow: hidden; box-shadow: inset 0 0 12px rgba(0,0,0,.8), 0 0 0 3px rgba(0,0,0,.35); }
.forca-nivel { position: absolute; left: 0; right: 0; top: 0; height: 0; background: linear-gradient(180deg, #2bd67b, #f4c542 55%, #ff5d5d); opacity: .9; box-shadow: 0 0 14px rgba(244,197,66,.5); }
.forca-marcas { position: absolute; inset: 0; background: repeating-linear-gradient(180deg, transparent 0 9.4%, rgba(255,255,255,.22) 9.4% 10%); pointer-events: none; }
.forca-taco { position: absolute; left: 50%; top: 0; width: 10px; height: 100%; margin-left: -5px; border-radius: 6px; background: linear-gradient(180deg, #4a8fd9 0 3%, #f3f0e6 3% 7%, #e3c189 7% 62%, #2b1a12 62% 100%); box-shadow: 0 0 0 1px rgba(0,0,0,.4), 2px 0 4px rgba(0,0,0,.4); transform: translateY(-6%); }
.inativo { opacity: .28; pointer-events: none; }

#lado-dir { position: absolute; right: 0; top: var(--hud); bottom: 0; width: var(--gr); display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto minmax(0, 1fr) auto; justify-items: center; gap: 4px 0; padding: 6px 2px 8px; }
#btn-efeito, #lado-dir .largo { grid-column: 1 / -1; }
#btn-efeito { position: relative; width: 46px; height: 46px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #e9e5d8 60%, #b9b4a4); box-shadow: 0 3px 8px rgba(0,0,0,.5), 0 0 0 3px rgba(244,197,66,.55); }
#efeito-ponto { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px; border-radius: 50%; background: #e02b2b; box-shadow: 0 0 6px rgba(224,43,43,.7); }
#ajuste { width: 28px; height: 100%; border-radius: 14px; background: linear-gradient(90deg, #060b09, #131f19 50%, #060b09); border: 1px solid rgba(244,197,66,.35); overflow: hidden; touch-action: none; position: relative; box-shadow: inset 0 0 10px rgba(0,0,0,.7); }
#ajuste i { position: absolute; inset: -40px 0; background: repeating-linear-gradient(180deg, rgba(255,255,255,.3) 0 2px, transparent 2px 10px); }
#tubo-vao { width: 100%; height: 100%; pointer-events: none; }

#faixa { position: absolute; left: 50%; top: calc(var(--hud) + 12px); transform: translate(-50%, -18px) scale(.9); padding: 9px 24px; border-radius: 999px; background: linear-gradient(180deg, #24372d, #0c1410); border: 1px solid var(--ouro); font-family: var(--display); font-size: 15px; letter-spacing: .03em; white-space: nowrap; opacity: 0; transition: all .28s cubic-bezier(.3,1.5,.5,1); pointer-events: none; z-index: 5; max-width: 86%; overflow: hidden; text-overflow: ellipsis; box-shadow: 0 8px 24px rgba(0,0,0,.5), 0 0 18px rgba(244,197,66,.22); }
#faixa.ver { opacity: 1; transform: translate(-50%, 0) scale(1); }
#faixa.falta { border-color: var(--vermelho); color: #ffc2c2; box-shadow: 0 8px 24px rgba(0,0,0,.5), 0 0 18px rgba(255,93,93,.3); }
#dica { position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%); font-size: 12px; font-weight: 700; color: #cfe0d5; padding: 4px 12px; border-radius: 999px; background: rgba(8,14,11,.75); pointer-events: none; white-space: nowrap; opacity: 0; transition: opacity .2s; }
#dica.ver { opacity: 1; }
/* guia do tutorial jogável e o comando que ele destaca */
/* fica na metade direita do placar, que na partida solo está vazia: assim não cobre a mesa nem as caçapas */
#guia { position: absolute; top: 4px; right: 8px; width: calc(50% - 64px); min-height: calc(var(--hud) - 8px); z-index: 6; display: grid; gap: 1px; align-content: center; justify-items: center; text-align: center; padding: 3px 14px; border-radius: 16px; background: linear-gradient(180deg, #2a4035, #101a15); border: 1px solid var(--ouro); box-shadow: 0 8px 20px rgba(0,0,0,.5), 0 0 18px rgba(244,197,66,.25); pointer-events: none; animation: surge .25s ease-out; }
#guia small { font-size: 9px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--ouro); }
#guia b { font-size: 13px; line-height: 1.2; }
#guia[data-lado="esq"] b::before { content: '◀ '; color: var(--ouro); }
#forca.chama .forca-trilho, #btn-efeito.chama { animation: chama 1s ease-in-out infinite; }
@keyframes chama { 0%, 100% { box-shadow: 0 0 0 3px rgba(244,197,66,.6), 0 0 0 0 rgba(244,197,66,.7); } 50% { box-shadow: 0 0 0 3px rgba(244,197,66,1), 0 0 0 14px rgba(244,197,66,0); } }
.balao { position: absolute; top: calc(var(--hud) + 4px); left: 60px; max-width: 46%; padding: 8px 14px; border-radius: 14px 14px 14px 4px; background: #f6f9f4; color: #102018; font-weight: 900; font-size: 15px; opacity: 0; transform: scale(.8); transform-origin: top left; transition: all .2s; pointer-events: none; z-index: 6; box-shadow: 0 6px 16px rgba(0,0,0,.4); }
.balao.dir { left: auto; right: 60px; border-radius: 14px 14px 4px 14px; transform-origin: top right; }
.balao.ver { opacity: 1; transform: scale(1); }
#aviso-rede { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 12px 20px; border-radius: 14px; background: rgba(8,14,11,.94); border: 1px solid var(--ouro); font-weight: 900; z-index: 30; text-align: center; }

.sobre { position: absolute; inset: 0; z-index: 20; display: grid; place-items: center; background: rgba(3,7,5,.68); backdrop-filter: blur(3px); padding: 10px; }
.efeito-caixa, .menu-caixa, .fim-caixa, .intro-caixa { background: var(--placa); border: 1px solid rgba(244,197,66,.4); border-radius: 22px; padding: 16px; display: grid; gap: 10px; justify-items: center; text-align: center; max-height: 100%; overflow: auto; box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 24px 60px rgba(0,0,0,.6); }
.efeito-caixa b { font-family: var(--display); font-weight: 400; }
.efeito-caixa small { max-width: 260px; }
#efeito-bola { position: relative; width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #ece8db 60%, #bdb8a8); touch-action: none; box-shadow: inset 0 0 0 1px rgba(0,0,0,.2), 0 8px 20px rgba(0,0,0,.5); }
#efeito-bola::before { content: ''; position: absolute; inset: 22%; border-radius: 50%; border: 1px dashed rgba(0,0,0,.25); }
#efeito-alvo { position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px; border-radius: 50%; background: #e02b2b; box-shadow: 0 2px 6px rgba(0,0,0,.4); pointer-events: none; }
.menu-caixa { width: min(290px, 100%); justify-items: stretch; }
.chat-caixa { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; background: var(--placa); border: 1px solid rgba(244,197,66,.4); border-radius: 20px; padding: 12px; width: min(520px, 100%); }
.chat-caixa button { padding: 10px 6px; border-radius: 12px; background: rgba(0,0,0,.25); border: 1px solid var(--linha); font-weight: 700; font-size: 13px; }
.intro-caixa { background: none; border: 0; box-shadow: none; gap: 14px; animation: surge .35s ease-out; }
.versus { display: flex; align-items: center; gap: 18px; }
.versus .lado { display: grid; justify-items: center; gap: 8px; width: 124px; }
.versus .lado:first-child { animation: entraE .45s cubic-bezier(.2,1.4,.5,1) backwards; }
.versus .lado:last-child { animation: entraD .45s cubic-bezier(.2,1.4,.5,1) backwards; }
@keyframes entraE { from { transform: translateX(-120px); opacity: 0; } }
@keyframes entraD { from { transform: translateX(120px); opacity: 0; } }
.versus small { text-align: center; line-height: 1.35; }
.versus b { font-family: var(--display); font-weight: 400; font-size: 15px; max-width: 124px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.versus .x { font-family: var(--display); font-size: 40px; color: var(--ouro); text-shadow: 0 0 22px rgba(244,197,66,.6); animation: pulsa 1s ease-in-out infinite; }
.intro-pote { padding: 8px 18px; border-radius: 999px; background: linear-gradient(180deg, #2a2208, #120e03); border: 1px solid var(--ouro); font-weight: 900; }
.intro-pote b { color: var(--ouro); }
.intro-regra { font-family: var(--display); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ouro); text-shadow: 0 0 14px rgba(244,197,66,.45); }
.fim-caixa { width: min(400px, 100%); animation: surge .3s ease-out; position: relative; }
.fim-caixa h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 30px; }
.fim-caixa.ganhou h3 { background: linear-gradient(180deg, #fff6c0, var(--ouro) 55%, #d39a12); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 16px rgba(244,197,66,.45)); }
.fim-caixa .motivo { color: var(--fraco); font-size: 14px; margin: -4px 0 0; }
.conta { width: 100%; display: grid; gap: 1px; border-radius: 12px; overflow: hidden; border: 1px solid var(--linha); font-size: 14px; }
.conta div { display: flex; justify-content: space-between; padding: 8px 12px; background: rgba(0,0,0,.3); font-variant-numeric: tabular-nums; }
.conta .total { background: linear-gradient(180deg, #4a3a0c, #2a2006); color: var(--ouro); font-family: var(--display); font-size: 17px; }
.conta .perda { background: #3a1719; color: #ffb0b0; font-weight: 900; }
.premio { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 12px; background: rgba(244,197,66,.1); border: 1px solid rgba(244,197,66,.38); font-size: 13px; text-align: left; }
.premio b { color: var(--ouro); white-space: nowrap; }
.premio span { color: #d5e4da; text-align: right; }
.fim-caixa .linha { width: 100%; }
.fim-rank { width: 100%; display: grid; gap: 4px; text-align: left; }
.fim-rank > small { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.rank.mini { max-height: 132px; overflow: auto; gap: 4px; }
.rank.mini > div { grid-template-columns: 22px minmax(0, 1fr) auto; padding: 5px 10px; font-size: 13px; }
.rank.mini span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank.mini b:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.fim-caixa .btn { padding: 0 12px; font-size: 14px; white-space: nowrap; }
.confete { position: absolute; top: -10px; width: 8px; height: 14px; border-radius: 2px; animation: cai 2.2s linear forwards; pointer-events: none; z-index: 40; }
@keyframes cai { to { transform: translateY(110vh) rotate(720deg); opacity: .6; } }

/* MISSÕES, PASSE E LIGA */
.barra { display: block; height: 7px; border-radius: 4px; background: rgba(255,255,255,.1); overflow: hidden; }
.barra > i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #e9a914, #fff0a8); transition: width .4s; }
.premium { display: inline-block; padding: 0 6px; border-radius: 6px; font-family: Archivo, system-ui, sans-serif; font-size: 9px; font-weight: 900; letter-spacing: .08em; line-height: 15px; text-transform: uppercase; vertical-align: middle; color: #2a1c00; background: linear-gradient(180deg, #fff0a8, #e9a914); }

/* entradas na aba Jogar */
.progresso { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.prog { --cor: var(--ouro); position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px; border-radius: 20px; text-align: left; background: linear-gradient(135deg, color-mix(in srgb, var(--cor) 26%, #101a15), #101a15 74%); border: 1px solid color-mix(in srgb, var(--cor) 55%, #2a3d33); box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 8px 20px rgba(0,0,0,.35); transition: transform .08s; }
.prog:active { transform: translateY(2px); }
.prog.tem { box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 0 0 1px var(--cor), 0 0 22px color-mix(in srgb, var(--cor) 35%, transparent); }
.prog .bolha { width: 48px; height: 48px; border-radius: 16px; box-shadow: inset 0 2px 0 rgba(255,255,255,.3), 0 4px 0 var(--b3); }
.prog .bolha .ic { width: 25px; height: 25px; }
.bolha.divisao { --b1: #2f4539; --b2: #16251d; --b3: #070d0a; color: var(--cor); }
.prog.tem .bolha { animation: pulsa 1.6s ease-in-out infinite; }
.prog-txt { display: grid; gap: 3px; min-width: 0; }
.prog-txt b { display: flex; align-items: center; gap: 6px; font-family: var(--display); font-weight: 400; font-size: 15px; white-space: nowrap; overflow: hidden; }
.prog-txt small { font-size: 11px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prog-txt small.aviso { color: var(--ouro); font-weight: 700; }
.prog-txt [data-falta] { color: var(--texto); font-variant-numeric: tabular-nums; }
.prog-txt .barra { margin-top: 2px; }

/* janela de missões */
.mis-cab { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 16px 0 8px; }
.mis-cab b { font-family: var(--display); font-weight: 400; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }
.mis-cab [data-falta], .passe-info [data-falta], .liga-topo [data-falta] { color: var(--texto); font-weight: 700; font-variant-numeric: tabular-nums; }
.missoes { display: grid; gap: 8px; }
.missao { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 16px; background: rgba(0,0,0,.25); border: 1px solid var(--linha); }
.missao.pronta { border-color: var(--ouro); background: linear-gradient(120deg, rgba(244,197,66,.18), rgba(0,0,0,.25) 72%); box-shadow: 0 0 16px rgba(244,197,66,.14); }
.missao.paga { opacity: .6; }
.mis-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; color: var(--verde); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); }
.missao.pronta .mis-ic { color: var(--ouro); }
.mis-txt { display: grid; gap: 5px; min-width: 0; }
.mis-txt > b { font-size: 14px; font-weight: 700; line-height: 1.2; }
.mis-txt small { line-height: 1.3; }
.mis-txt small b { color: var(--ouro2); font-weight: 700; }
.mis-acao { display: grid; justify-items: end; }
.mis-acao em { font-style: normal; font-family: var(--display); font-size: 15px; color: var(--fraco); font-variant-numeric: tabular-nums; }
.mis-acao .btn { min-height: 38px; font-size: 13px; padding: 0 14px; }
.feito { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 900; color: var(--verde); white-space: nowrap; }
.feito .ic { width: 15px; height: 15px; }

/* janela do passe */
.modal-caixa.larga { width: min(660px, 100%); }
.passe-topo { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center; padding: 12px 14px; border-radius: 16px; background: linear-gradient(120deg, rgba(244,197,66,.2), rgba(0,0,0,.28) 72%); border: 1px solid rgba(244,197,66,.4); }
.passe-nivel { display: grid; justify-items: center; align-content: center; gap: 1px; width: 66px; height: 66px; border-radius: 50%; color: #2a1c00; background: radial-gradient(circle at 50% 28%, #fff6c9, var(--ouro) 58%, #b8860b); box-shadow: 0 4px 0 #7a5606, 0 0 22px rgba(244,197,66,.35); }
.passe-nivel small { font-size: 9px; font-weight: 900; letter-spacing: .08em; line-height: 1; text-transform: uppercase; color: #6a4a00; }
.passe-nivel b { font-family: var(--display); font-weight: 400; font-size: 27px; line-height: 1; }
.passe-info { display: grid; gap: 5px; min-width: 0; }
.passe-info > b { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-family: var(--display); font-weight: 400; font-size: 17px; }
.passe-info .barra { height: 9px; border-radius: 5px; }
.passe-info small { line-height: 1.35; }
.passe-info small b { color: var(--ouro); }
.trilha-caixa { margin: 12px 0; overflow-x: auto; border-radius: 16px; background: rgba(0,0,0,.26); border: 1px solid var(--linha); scrollbar-width: thin; scrollbar-color: #3a5245 transparent; -webkit-overflow-scrolling: touch; }
.trilha { display: grid; grid-template-rows: 124px 30px 124px; grid-template-columns: 26px; grid-auto-flow: column; grid-auto-columns: 94px; gap: 6px; width: max-content; padding: 8px 8px 8px 0; }
.trilha-rot { position: sticky; left: 0; z-index: 3; display: flex; align-items: center; justify-content: center; gap: 4px; writing-mode: vertical-rl; transform: rotate(180deg); font-size: 9px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: #cfe0d5; background: #16261e; border-radius: 8px 0 0 8px; box-shadow: -6px 0 10px rgba(0,0,0,.35); }
.trilha-rot.pago { color: #2a1c00; background: linear-gradient(90deg, #e9a914, #ffe89a); }
.trilha-rot.meio { background: none; box-shadow: none; }
.trilha-rot .ic { width: 12px; height: 12px; transform: rotate(90deg); }
.pc { display: grid; grid-template-rows: minmax(0, 1fr) auto 30px; justify-items: center; align-items: center; gap: 4px; padding: 8px 5px 6px; border-radius: 14px; text-align: center; background: rgba(255,255,255,.045); border: 1px solid var(--linha); }
.pc.pago { background: linear-gradient(180deg, rgba(244,197,66,.16), rgba(244,197,66,.04)); border-color: rgba(244,197,66,.34); }
.pc.vazio { background: none; border: 1px dashed rgba(255,255,255,.07); }
.pc.liberado { border-color: var(--verde); box-shadow: 0 0 14px rgba(43,214,123,.3); }
.pc.pego { opacity: .55; }
.pc.fechado .pc-arte { filter: grayscale(.55) brightness(.72); }
.pc > small { font-size: 10px; line-height: 1.15; color: #d5e4da; }
.pc .btn { min-height: 28px; font-size: 11px; padding: 0 12px; border-radius: 9px; box-shadow: none; }
.pc-arte { position: relative; display: grid; place-items: center; }
.pc-arte img { width: 80px; height: auto; border-radius: 8px; cursor: pointer; background: radial-gradient(circle at 50% 40%, rgba(244,197,66,.3), rgba(0,0,0,.35)); }
.pc-estado { display: inline-flex; align-items: center; gap: 3px; font-size: 10px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; color: var(--fraco); white-space: nowrap; }
.pc-estado .ic { width: 13px; height: 13px; }
.pc-estado.feito { color: var(--verde); }
.pn { position: relative; display: grid; place-items: center; }
.pn::before { content: ''; position: absolute; left: -3px; right: -3px; top: 50%; height: 6px; margin-top: -3px; background: linear-gradient(90deg, var(--ouro) 0 var(--x, 0%), rgba(255,255,255,.12) var(--x, 0%) 100%); }
.pn b { position: relative; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-family: var(--display); font-weight: 400; font-size: 13px; color: var(--fraco); background: #14221b; border: 2px solid #3a5245; }
.pn.feito b { color: #2a1c00; background: linear-gradient(180deg, #ffd95e, #e9a914); border-color: #fff0b0; box-shadow: 0 0 10px rgba(244,197,66,.5); }
.bau.mini { font-size: 4.8px; }
.vezes { position: absolute; right: -8px; bottom: -4px; font-family: var(--display); font-weight: 400; font-size: 13px; color: #fff; text-shadow: 0 1px 3px #000; }
.arte-peca, .arte-xp { display: inline-flex; align-items: center; gap: 3px; font-family: var(--display); font-size: 16px; color: #fff; }
.arte-peca .ic { width: 32px; height: 32px; color: #6fd6ff; filter: drop-shadow(0 3px 4px rgba(0,0,0,.5)); }
.arte-xp .ic { width: 32px; height: 32px; color: var(--ouro); filter: drop-shadow(0 3px 4px rgba(0,0,0,.5)); }
.passe-pontos { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 5px 12px; padding: 12px 14px; border-radius: 14px; background: rgba(0,0,0,.25); border: 1px solid var(--linha); font-size: 13px; color: #d5e4da; }
.passe-pontos b { grid-column: 1 / -1; font-family: var(--display); font-weight: 400; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--ouro); }
.passe-pontos em { font-style: normal; font-weight: 900; color: var(--ouro2); font-variant-numeric: tabular-nums; }

/* janela do ranking: liga da semana e ranking geral */
#ranking-abas { margin-bottom: 12px; }
#ranking-abas .chip { flex: 1; text-align: center; }
.escudo { width: 56px; height: 56px; fill: var(--cor); flex: none; filter: drop-shadow(0 4px 6px rgba(0,0,0,.5)) drop-shadow(0 0 10px color-mix(in srgb, var(--cor) 45%, transparent)); }
.liga-topo { --cor: #c98a55; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 16px; background: linear-gradient(120deg, color-mix(in srgb, var(--cor) 32%, #101a15), rgba(0,0,0,.28) 76%); border: 1px solid color-mix(in srgb, var(--cor) 60%, #2a3d33); }
.liga-topo > div { display: grid; gap: 2px; min-width: 0; }
.liga-topo > div > b { font-family: var(--display); font-weight: 400; font-size: 22px; line-height: 1.1; color: var(--cor); }
.liga-meu { justify-items: center; text-align: center; }
.liga-meu b { color: var(--texto) !important; font-size: 26px !important; font-variant-numeric: tabular-nums; }
.divisoes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; margin: 10px 0; }
.divisoes span { display: grid; justify-items: center; gap: 3px; padding: 6px 2px; border-radius: 12px; font-size: 9px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; color: var(--fraco); opacity: .5; }
.divisoes span .ic { fill: var(--cor); }
.divisoes span.atual { opacity: 1; color: var(--cor); background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--cor) 60%, transparent); }
.liga-tabela > div { grid-template-columns: 22px auto minmax(0, 1fr) auto auto 16px; }
.liga-bau { display: grid; place-items: center; }
.bau.micro { font-size: 3.2px; }
.liga-tabela > div > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.liga-tabela > div.sobe { box-shadow: inset 4px 0 0 var(--verde); }
.liga-tabela > div.desce { box-shadow: inset 4px 0 0 var(--vermelho); }
.liga-tabela .pts { font-family: var(--display); font-weight: 400; font-size: 16px; color: var(--ouro); font-variant-numeric: tabular-nums; white-space: nowrap; }
.liga-tabela .pts small { font-family: Archivo, system-ui, sans-serif; font-size: 10px; }
.marca { width: 16px; height: 16px; }
.marca.sobe { fill: var(--verde); }
.marca.desce { fill: var(--vermelho); transform: rotate(180deg); }
.zona { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 2px 0; font-size: 10px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.zona::before, .zona::after { content: ''; flex: 1; height: 1px; background: currentColor; opacity: .45; }
.zona .ic { width: 12px; height: 12px; }
.zona.subida { color: var(--verde); }
.zona.queda { color: var(--vermelho); }
.zona.queda .ic { transform: rotate(180deg); }
.liga-vazia { margin: 0; padding: 18px 14px; border-radius: 14px; text-align: center; font-size: 14px; line-height: 1.5; color: #d5e4da; background: rgba(0,0,0,.25); border: 1px dashed var(--linha); }
.liga-vazia b { color: var(--ouro); }
.liga-premios { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.liga-premios > div { position: relative; display: grid; justify-items: center; gap: 5px; padding: 12px 4px 10px; border-radius: 14px; text-align: center; background: rgba(0,0,0,.25); border: 1px solid var(--linha); }
.liga-premios b { font-family: var(--display); font-weight: 400; font-size: 14px; color: var(--ouro); }
.liga-premios small { font-size: 11px; line-height: 1.2; }
.liga-resultado { --cor: #c98a55; display: grid; justify-items: center; gap: 10px; text-align: center; padding-top: 6px; }
.liga-resultado > small { font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.liga-resultado .escudo { width: 96px; height: 96px; animation: flutua 4s ease-in-out infinite; }
.liga-resultado h3 { margin: 0; font-size: 22px; line-height: 1.2; color: var(--cor); }
.liga-resultado.desceu h3 { color: #ffb0b0; }
.liga-resultado p { margin: 0; font-size: 14px; line-height: 1.45; color: #d5e4da; }
.liga-resultado p b { color: var(--texto); }

@media (min-width: 720px) {
  .logo-topo { display: block; }
  .perfil-txt b { max-width: 220px; }
  .vitrine { min-height: 200px; padding: 18px 28px; }
  .vitrine-txt b { font-size: 28px; }
}
@media (max-width: 900px) {
  /* destaques da loja em uma fileira só, que rola para o lado */
  .destaques { display: flex; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; margin-right: -14px; padding-right: 14px; }
  .destaques::-webkit-scrollbar { display: none; }
  .destaque { flex: 1 0 min(310px, 84%); scroll-snap-align: start; }
}
@media (max-width: 520px) {
  .vitrine { min-height: 150px; padding: 12px; }
  .vitrine-txt span { display: none; }
  .vitrine-txt b { font-size: 18px; }
  .cofres { grid-template-columns: repeat(2, 1fr); }
  .carta { width: 104px; height: 160px; }
  .mesa-arte { width: 190px; right: -60px; opacity: .7; }
  .desafio-card { grid-template-columns: auto minmax(0, 1fr); }
  .desafio-acoes { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .seletor-regra button small { font-size: 10px; }
  .missao { padding: 10px; gap: 8px; }
  .mis-ic { width: 34px; height: 34px; border-radius: 11px; }
  .passe-topo { padding: 10px; gap: 10px; }
  .liga-topo { padding: 10px; gap: 10px; }
  .liga-topo .escudo { width: 46px; height: 46px; }
  .abas button { font-size: 10.5px; }
}
@media (max-width: 680px) {
  /* missões, passe e liga: três cartões estreitos, com o desenho em cima */
  .progresso { gap: 6px; }
  .prog { grid-template-columns: minmax(0, 1fr); justify-items: center; align-content: start; gap: 7px; padding: 12px 6px 10px; border-radius: 18px; text-align: center; }
  .prog-txt { justify-items: center; width: 100%; }
  .prog-txt b { font-size: 14px; max-width: 100%; }
  .prog-txt small { max-width: 100%; white-space: normal; }
  .prog-txt .prazo, .prog-txt .premium { display: none; }
  .prog-txt .barra { width: 86%; }
}
@media (max-height: 430px) {
  .cortina { gap: 8px; align-content: start; }
  .bau-palco { height: 96px; }
  .bau.grande { font-size: 11px; }
  .carta { width: 112px; height: 150px; }
  .cartas { min-height: 150px; }
}
@media (max-height: 400px) {
  .efeito-caixa small { display: none; }
  #efeito-bola { width: 120px; height: 120px; }
  .fim-caixa { padding: 10px 14px; gap: 6px; }
  .fim-caixa h3 { font-size: 22px; }
  .conta div { padding: 5px 12px; }
  .premio { padding: 5px 12px; }
  .rank.mini { max-height: 66px; }
  #guia b { font-size: 12px; }
  .btn { min-height: 40px; }
  .menu-caixa img { display: none; }
}

/* ---------- CELULAR (o jogo é pensado primeiro para o telefone) ---------- */
/* sem selecionar texto nem menu de toque longo nos botões e cartões; os campos de texto continuam normais */
body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
input, textarea { -webkit-user-select: text; user-select: text; }
button, .btn, .chip, .atalho, .item img, a { touch-action: manipulation; }
img { -webkit-user-drag: none; }
/* a tela ocupa a altura que sobra de verdade quando a barra do navegador aparece ou some */
@supports (height: 100dvh) { .tela { height: 100dvh; bottom: auto; } }
@keyframes sobe { from { transform: translateY(46px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 560px) {
  /* janelas sobem de baixo e ocupam a largura toda: tudo ao alcance do polegar */
  .modal { padding: 0; place-items: end center; }
  .modal-caixa, .modal-caixa.larga { width: 100%; max-height: 92%; border-radius: 24px 24px 0 0; border-bottom: 0; padding: 28px 16px calc(18px + env(safe-area-inset-bottom)); animation: sobe .24s cubic-bezier(.2, .8, .3, 1); overscroll-behavior: contain; }
  .modal-caixa::before { content: ''; position: absolute; top: 9px; left: 50%; width: 44px; height: 5px; margin-left: -22px; border-radius: 3px; background: rgba(255,255,255,.22); }
  .fechar { width: 48px; height: 48px; right: 2px; top: 2px; }
  /* alvos de toque maiores */
  .chip { padding: 12px 16px; }
  .chips.finos .chip { padding: 12px 15px; font-size: 12px; }
  .item .btn { min-height: 42px; font-size: 13px; }
  .desafio-acoes .btn { min-height: 44px; }
  /* a vitrine encolhe e o desafio do dia fica mais curto, para as mesas aparecerem logo */
  .vitrine { min-height: 108px; padding: 10px 12px; border-radius: 18px; }
  .vitrine-logo { width: min(150px, 42%); }
  .vitrine-txt b { font-size: 17px; }
  .vitrine-txt .btn { min-height: 42px; }
  .desafio-txt small:first-of-type { display: none; }
  h2 { margin: 18px 0 10px; }
  /* desafio do dia em uma faixa só: texto à esquerda, botões à direita */
  .desafio-card { grid-template-columns: minmax(0, 1fr) auto; gap: 10px; padding: 10px 12px; margin-top: 10px; }
  .desafio-card > .bolha { display: none; }
  .desafio-txt > b { font-size: 15px; }
  .desafio-txt small { font-size: 11px; }
  .desafio-acoes { grid-column: auto; grid-template-columns: 1fr; gap: 6px; }
  .desafio-acoes .btn { min-height: 40px; padding: 0 12px; font-size: 12px; }
  /* missões, passe e liga mais baixos */
  .progresso { margin-top: 10px; }
  .prog { padding: 9px 5px 8px; gap: 5px; border-radius: 16px; }
  .prog .bolha { width: 38px; height: 38px; border-radius: 13px; }
  .prog .bolha .ic { width: 21px; height: 21px; }
  .prog-txt b { font-size: 13px; }
  .atalhos { margin-top: 10px; }
  .regra-nota { display: none; }
  .seletor-regra { margin-bottom: 10px; }
}

/* ---------- PARTIDA COM O CELULAR EM PÉ ---------- */
/* A mesa fica na vertical, com a saída embaixo. Só o canvas da mesa gira; placar, comandos e janelas ficam
   de frente: placar em cima, força na borda esquerda, régua da mira na direita e, embaixo, a dica, o tubo
   das bolas encaçapadas e os botões (menu, efeito e mensagens), ao alcance do polegar. */
#mesa { transform-origin: 0 0; }
#palco.em-pe {
  --hud: calc(76px + env(safe-area-inset-top));
  --base: calc(118px + env(safe-area-inset-bottom));
  --gl: 42px; --gr: 36px;
}
#palco.em-pe #hud { height: var(--hud); padding: calc(env(safe-area-inset-top) + 5px) 6px 0; gap: 5px; align-items: flex-start; }
#palco.em-pe .jog, #palco.em-pe #pote { height: 48px; }
#palco.em-pe #pote { display: grid; align-content: center; }
/* as bolas de cada jogador ficam numa linha própria, embaixo do nome: cabem as 7 sem apertar o placar */
#palco.em-pe .jog-info { justify-content: center; }
#palco.em-pe .jog-bolas { position: absolute; top: calc(100% + 5px); left: 8px; }
#palco.em-pe .jog.dir .jog-bolas { left: auto; right: 8px; flex-direction: row-reverse; }
#palco.em-pe .jog { gap: 5px; padding: 3px 8px 3px 3px; }
#palco.em-pe .jog.dir { padding: 3px 3px 3px 8px; }
#palco.em-pe .jog-nome { font-size: 13px; }
#palco.em-pe .jog-bolas { gap: 3px; height: 13px; }
#palco.em-pe .bolinha, #palco.em-pe .jog-bolas.bar .bolinha { width: 12px; height: 12px; }
#palco.em-pe .jog-bolas small { font-size: 10px; }
#palco.em-pe #pote { padding: 3px 8px; border-radius: 12px; max-width: 30%; }
#palco.em-pe #pote small { font-size: 7.5px; letter-spacing: .04em; line-height: 1.15; }
#palco.em-pe #pote b { font-size: 14px; }
/* menu e mensagens descem para a faixa de baixo */
#palco.em-pe #btn-menu, #palco.em-pe #btn-chat { position: fixed; bottom: calc(env(safe-area-inset-bottom) + 10px); z-index: 8; width: 50px; height: 50px; border-radius: 16px; }
#palco.em-pe #btn-menu { left: 10px; }
#palco.em-pe #btn-chat { right: 10px; }
/* força e régua ficam na metade de baixo das bordas: o polegar alcança sem esticar */
#palco.em-pe #forca { top: auto; bottom: var(--base); height: min(46%, 360px); width: var(--gl); padding: 6px 0 6px; }
#palco.em-pe .forca-trilho { width: 30px; border-radius: 15px; }
#palco.em-pe #forca small, #palco.em-pe #lado-dir small { display: none; }
#palco.em-pe #lado-dir { display: contents; }
#palco.em-pe #ajuste { position: absolute; right: 4px; top: auto; bottom: calc(var(--base) + 6px); width: 28px; height: calc(min(46%, 360px) - 12px); }
#palco.em-pe #btn-efeito { position: absolute; left: 50%; bottom: calc(env(safe-area-inset-bottom) + 9px); margin-left: -26px; width: 52px; height: 52px; z-index: 8; }
#palco.em-pe #tubo-vao { position: absolute; left: 10px; right: 10px; bottom: calc(env(safe-area-inset-bottom) + 68px); width: auto; height: 26px; }
#palco.em-pe #dica { bottom: calc(env(safe-area-inset-bottom) + 97px); font-size: 11px; padding: 3px 10px; max-width: 94%; overflow: hidden; text-overflow: ellipsis; }
#palco.em-pe #faixa { max-width: 94%; font-size: 14px; padding: 9px 18px; white-space: normal; text-align: center; border-radius: 18px; }
#palco.em-pe #guia { top: calc(var(--hud) + 6px); left: 8px; right: 8px; width: auto; min-height: 0; padding: 7px 12px; }
#palco.em-pe .balao { left: 12px; max-width: 72%; }
#palco.em-pe .balao.dir { left: auto; right: 12px; }
#palco.em-pe #assistindo { bottom: calc(env(safe-area-inset-bottom) + 14px); padding: 5px 6px 5px 14px; }
#palco.em-pe #assistindo button { min-height: 40px; padding: 0 18px; font-size: 12px; }
#palco.em-pe .sobre { padding: calc(10px + env(safe-area-inset-top)) 10px calc(10px + env(safe-area-inset-bottom)); }
#palco.em-pe .chat-caixa { grid-template-columns: repeat(3, 1fr); width: 100%; }
#palco.em-pe .chat-caixa button { min-height: 44px; }
#palco.em-pe .versus { gap: 10px; }
#palco.em-pe .versus .lado { width: 112px; }

/* ---------- INDIQUE E GANHE ---------- */
.bolha.rosa { --b1: #ff8ac0; --b2: #d6337f; --b3: #7a1245; }
.indic-meta { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center; padding: 12px 14px; border-radius: 16px; background: linear-gradient(180deg, #2a2208, #120e03); border: 1px solid var(--ouro); box-shadow: 0 0 18px rgba(244,197,66,.18); }
.indic-num { display: grid; justify-items: center; line-height: 1; }
.indic-num b { font-family: var(--display); font-weight: 400; font-size: 40px; color: var(--ouro); text-shadow: 0 0 14px rgba(244,197,66,.4); }
.indic-num small { font-size: 12px; color: #d9c98a; }
.indic-barra { display: grid; gap: 7px; }
.indic-barra .barra { height: 10px; border-radius: 5px; }
.indic-barra small { color: var(--texto); }
.indic-link { display: grid; gap: 4px; padding: 10px 12px; border-radius: 14px; background: #0b1410; border: 1px dashed rgba(244,197,66,.45); }
.indic-link b { font-size: 14px; word-break: break-all; -webkit-user-select: all; user-select: all; }
.indic-lista { display: grid; gap: 6px; }
.indic-lista h4 { margin: 4px 0 2px; font-family: var(--display); font-weight: 400; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--ouro); }
.indic-linha { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 12px; background: rgba(0,0,0,.25); border: 1px solid var(--linha); }
.indic-linha b { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.indic-linha .tag.ok { --rar: var(--verde); }
.indic-linha .tag.espera { --rar: var(--fraco); }
.entrada-indicacao { margin: 0 0 10px; padding: 9px 14px; border-radius: 14px; background: rgba(43,214,123,.12); border: 1px solid rgba(43,214,123,.5); color: #d6ffe7; font-size: 13px; font-weight: 700; text-align: center; }

/* ---------- CARTEIRA (MOEDAS E PRÊMIOS), LOJINHA DE MOEDAS E RESGATE DE PRÊMIO ---------- */
/* carteira: os dois saldos lado a lado */
.cart-saldos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cart-saldo { display: grid; justify-items: center; align-content: center; gap: 4px; padding: 12px 6px; border-radius: 16px; background: #0b1410; border: 1px solid var(--linha); text-align: center; }
.cart-saldo small { display: flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.cart-saldo small .ic { width: 16px; height: 16px; }
.cart-saldo b { font-family: var(--display); font-weight: 400; font-size: clamp(19px, 6.2vw, 27px); line-height: 1.1; font-variant-numeric: tabular-nums; }
.cart-saldo.moedas { border-color: rgba(244,197,66,.45); }
.cart-saldo.moedas small { color: var(--ouro); }
.cart-saldo.moedas b { color: var(--ouro2); }
.cart-saldo.premios { border-color: rgba(43,214,123,.45); }
.cart-saldo.premios small, .cart-saldo.premios b { color: var(--verde); }
.cart-nota { margin: 0; text-align: center; }
.cart-acoes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cart-acoes .btn { min-width: 0; padding: 6px 8px; font-size: 14px; line-height: 1.15; text-align: center; }
.cart-teste { margin: 0; padding: 9px 12px; border-radius: 12px; font-size: 13px; line-height: 1.4; background: rgba(50,188,173,.08); border: 1px solid rgba(50,188,173,.3); color: #bfeee7; }
.cart-teste b { color: #7fe6d9; }
/* links pequenos para o regulamento e os termos de uso (entrada, carteira e lojinha) */
.links-legais { display: flex; justify-content: center; flex-wrap: wrap; gap: 2px 18px; margin: 2px 0 0; font-size: 13px; }
.links-legais a { padding: 6px 2px; color: var(--ouro2); text-decoration: underline; text-underline-offset: 3px; }
.entrada-caixa .links-legais { margin-top: 8px; text-shadow: 0 1px 4px rgba(0,0,0,.8); }
.regras a { color: var(--ouro2); text-underline-offset: 3px; }
/* cartão do desafio: a taxa de organização fica em uma linha pequena, embaixo */
.mesa-card .taxa-org { grid-column: 1 / -1; position: relative; z-index: 1; margin-top: 5px; font-size: 10.5px; line-height: 1.3; color: #b9d2c4; text-shadow: 0 1px 3px rgba(0,0,0,.7); }
/* lojinha de moedas: os pacotes em duas colunas */
.loj-tem { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0; font-size: 14px; color: var(--fraco); }
.loj-tem .ic { width: 18px; height: 18px; color: var(--ouro); }
.loj-tem b { font-family: var(--display); font-weight: 400; font-size: 16px; color: var(--ouro2); }
.loj-pacotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.loj-pacote { display: grid; justify-items: center; gap: 4px; padding: 14px 8px 12px; border-radius: 16px; background: linear-gradient(180deg, #2a2208, #120e03); border: 1px solid rgba(244,197,66,.55); box-shadow: 0 4px 0 #0b0902, 0 0 14px rgba(244,197,66,.12); color: var(--texto); transition: transform .08s; }
.loj-pacote:last-child:nth-child(odd) { grid-column: 1 / -1; }
.loj-pacote:active { transform: translateY(2px) scale(.98); }
.loj-pacote .ic { width: 30px; height: 30px; color: var(--ouro); filter: drop-shadow(0 2px 3px rgba(0,0,0,.5)); }
.loj-pacote b { font-family: var(--display); font-weight: 400; font-size: 17px; color: var(--ouro2); }
.loj-pacote small { font-size: 13px; font-weight: 700; color: #d9c98a; }
.loj-pacote[disabled] { opacity: .5; pointer-events: none; }
.loj-pacotes .miudo { grid-column: 1 / -1; margin: 0; }
/* resgate de prêmio */
.resg-aviso { margin: 0; padding: 10px 12px; border-radius: 12px; font-size: 14px; font-weight: 700; line-height: 1.4; }
.resg-aviso.ok { color: #d6ffe7; background: rgba(43,214,123,.12); border: 1px solid rgba(43,214,123,.5); }
.resg-aviso.espera { color: #ffe89a; background: rgba(244,197,66,.1); border: 1px solid rgba(244,197,66,.5); }
.resg-aviso.erro { color: #ffb0b0; background: rgba(255,93,93,.1); border: 1px solid rgba(255,93,93,.4); }
.resg-saldo { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 2px 10px; padding: 12px 14px; border-radius: 16px; background: #0b1410; border: 1px solid rgba(43,214,123,.45); }
.resg-saldo span { font-size: 13px; font-weight: 700; color: var(--fraco); }
.resg-saldo b { font-family: var(--display); font-weight: 400; font-size: 24px; color: var(--verde); font-variant-numeric: tabular-nums; white-space: nowrap; }
.resg-nota, .resg-limites { margin: 0; }
.resg-cadastro-feito { margin: 0; padding: 8px 12px; border-radius: 12px; font-size: 13px; font-weight: 700; background: rgba(0,0,0,.25); border: 1px solid var(--linha); overflow-wrap: anywhere; }
.resg-bloqueio { display: grid; gap: 8px; padding: 14px; border-radius: 16px; background: linear-gradient(180deg, rgba(244,197,66,.1), rgba(0,0,0,.25)); border: 1px solid rgba(244,197,66,.55); }
.resg-bloqueio b { font-size: 15px; line-height: 1.4; }
.resg-bloqueio small { font-size: 13px; line-height: 1.4; }
.resg-bloqueio [data-falta] { color: var(--texto); font-weight: 700; font-variant-numeric: tabular-nums; }
.resg-rotulo { margin-top: 2px; font-size: 13px; font-weight: 700; color: var(--fraco); }
.resg-campo { position: relative; }
.resg-campo span { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-family: var(--display); font-size: 18px; color: var(--fraco); pointer-events: none; }
.resg-campo input { height: 56px; padding-left: 56px; font-family: var(--display); font-weight: 400; font-size: 24px; font-variant-numeric: tabular-nums; }
.resg-atalhos { display: flex; flex-wrap: wrap; gap: 8px; }
.resg-atalhos .chip { flex: 1 1 auto; text-align: center; }
.resg-conta { margin: 0; min-height: 20px; font-size: 14px; font-weight: 700; line-height: 1.4; color: #cdeee9; }
.resg-conta.erro { color: #ffb0b0; }
.resgate form small { line-height: 1.4; }
.resg-lista { display: grid; gap: 6px; }
.resg-linha { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 12px; border-radius: 12px; background: rgba(0,0,0,.25); border: 1px solid var(--linha); }
.resg-txt { display: grid; gap: 2px; min-width: 0; }
.resg-txt b { font-family: var(--display); font-weight: 400; font-size: 16px; font-variant-numeric: tabular-nums; }
.resg-txt small { line-height: 1.35; }
.resg-lado { display: grid; justify-items: end; gap: 6px; }
.resg-estado { padding: 3px 8px; border-radius: 99px; font-style: normal; font-size: 10px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; background: rgba(255,255,255,.08); color: var(--fraco); }
.resg-estado.analise { background: rgba(244,197,66,.15); color: var(--ouro); }
.resg-estado.pago { background: rgba(43,214,123,.15); color: var(--verde); }
.resg-estado.recusado, .resg-estado.falhou { background: rgba(255,93,93,.14); color: #ffb0b0; }
.resg-lado .btn { min-height: 38px; padding: 0 14px; font-size: 13px; }

/* ---------- REVANCHE COM O VALOR DA INSCRIÇÃO ---------- */
/* o valor vai numa segunda linha, para o botão caber inteiro no celular em pé */
.fim-revanche { display: grid; justify-items: center; align-content: center; gap: 1px; line-height: 1.1; padding-top: 8px; padding-bottom: 8px; }
.fim-revanche small { font-family: Archivo, system-ui, sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0; opacity: .8; text-transform: none; }
